]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix crossreference to nonexistent node BSD Handler
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3b679ab3
TV
12014-11-18 Tom de Vries <tom@codesoucery.com>
2
3 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5
62014-11-17 Richard Henderson <rth@redhat.com>
7
8 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9 (_FP_PACK_RAW_2): Remove.
10 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
15 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26
0781a777
RM
272014-11-14 Roland McGrath <roland@hack.frob.com>
28
29 * signal/signal.h [__USE_MISC]
30 (struct sigvec): Remove type.
31 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32 (sigvec): Remove declaration.
33 * sysdeps/posix/sigvec.c: Moved ...
34 * signal/sigvec.c: ... here, replacing old file.
35 (struct sigvec): New type, copied from old signal.h definition.
36 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37 (__sigvec): Convert definition to prototype.
38 (sigvec): Replace weak_alias with compat_symbol.
39 * signal/Versions (libc: GLIBC_2.21): New version set.
40 * include/signal.h: Remove __sigvec declaration.
41 * sysdeps/unix/bsd/sigvec.c: Remove file.
42 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43 * manual/signal.texi (BSD Handler): Remove subsection.
44 Move siginterrupt up to ...
45 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
46 (Blocking in BSD): Fold subsection into its parent.
47 * NEWS: Mention sigvec removal.
48
a4733812
JM
492014-11-14 Joseph Myers <joseph@codesourcery.com>
50
5ae4fe60
JM
51 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
52 (DLA_FMS): Make definition conditional only on [__FMA4__].
53 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
54 definition.
55
6a0dd472
JM
56 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
57 Make definition conditional only on [PROF].
58 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
59 definition.
60 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
61 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
62
a4733812
JM
63 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
64 !__GNUC__].
65 * include/signal.h (__sigpause): Move declaration above call to
66 libc_hidden_proto.
67 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
68 variable.
69 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
70 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
71
cf7246dd
DM
722014-11-14 David S. Miller <davem@davemloft.net>
73
74 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
75 Define before including <string/memcpy.c> and <string/mempcpy.c>.
76
c1b0aadc
JM
772014-11-14 Joseph Myers <joseph@codesourcery.com>
78
4863355a
JM
79 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
80 * configure: Regenerated.
81 * manual/install.texi (Tools for Compilation): Document a
82 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
83 compiler verified to work.
84 * INSTALL: Regenerated.
85
c1b0aadc
JM
86 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
87 redeclare with asm name.
88 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
89 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
90 including <string.h>.
91 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
92 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
93 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
94 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
95 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
96 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
97 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
98
2a1cfd94
JM
992014-11-13 Joseph Myers <joseph@codesourcery.com>
100
bf438382
JM
101 * stdlib/strtol.c (__strtol): Use prototype definition.
102
2a1cfd94
JM
103 [BZ #17594]
104 * stdlib/strtol.c (SYM__): New macro.
105 (SYM__1): Likewise.
106 (__strtol): Likewise.
107 (strtol): Rename to __strtol and define as weak alias of
108 __strtol. Use libc_hidden_weak.
109
20ed0d26
SL
1102014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
111
112 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
113 Use numbered labels in inline assembly.
114
53244a4e
SL
1152014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
116
117 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
118 Add setjmp LIBC_PROBE.
119 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
120 Likewise.
121 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
122 Add longjmp, longjmp_target LIBC_PROBE.
123 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
124 Likewise.
125
47df8251
SL
1262014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
127
128 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
129 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
130 to get rid of unused variable warning.
131
618cebef
SL
1322014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
133
134 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
135 Check for unwind_backtrace == NULL only in SHARED case.
136 (__backchain_backtrace): Compile only in SHARED case.
137 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
138 Likewise.
139 (__backchain_backtrace): Declare as static.
140
c6aab2cb
RM
1412014-11-12 Roland McGrath <roland@hack.frob.com>
142
143 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
144 (__libc_multiple_threads_ptr): Variable moved ...
145 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
146
5a6fa4d7
JM
1472014-11-12 Joseph Myers <joseph@codesourcery.com>
148
24f4f825
JM
149 * conform/GlibcConform.pm: New file.
150 * conform/conformtest.pl: Use GlibcConform module.
151 * conform/linknamespace.pl: New file.
152 * conform/list-header-symbols.pl: Likewise.
153 * conform/Makefile (linknamespace-symlists-base): New variable.
154 (linknamespace-symlists-tests): Likewise.
155 (linknamespace-header-base): Likewise.
156 (linknamespace-header-tests): Likewise.
157 (tests-special): Add new tests.
158 ($(linknamespace-symlists-tests)): New rule.
159 (linknamespace-libs): New variable.
160 ($(objpfx)symlist-stdlibs): New rule.
161 ($(linknamespace-header-tests)): Likewise.
162 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
163 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
164 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
165 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
166 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
167 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
168 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
169 (test-xfail-ISO/math.h/linknamespace): Likewise.
170 (test-xfail-ISO/signal.h/linknamespace): Likewise.
171 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
172 (test-xfail-ISO/time.h/linknamespace): Likewise.
173 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
174 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
175 (test-xfail-ISO99/math.h/linknamespace): Likewise.
176 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
177 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
178 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
179 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
180 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
181 (test-xfail-ISO11/math.h/linknamespace): Likewise.
182 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
183 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
184 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
185 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
186 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
187 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
188 (test-xfail-XPG3/math.h/linknamespace): Likewise.
189 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
190 (test-xfail-XPG3/search.h/linknamespace): Likewise.
191 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
192 (test-xfail-XPG3/time.h/linknamespace): Likewise.
193 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
194 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
195 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
196 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
197 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
198 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
199 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
200 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
201 (test-xfail-XPG4/math.h/linknamespace): Likewise.
202 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
203 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
204 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
205 (test-xfail-XPG4/search.h/linknamespace): Likewise.
206 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
207 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
208 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
209 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
210 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
211 (test-xfail-XPG4/time.h/linknamespace): Likewise.
212 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
213 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
214 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
215 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
216 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
217 (test-xfail-POSIX/math.h/linknamespace): Likewise.
218 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
219 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
220 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
221 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
222 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
223 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
224 (test-xfail-POSIX/time.h/linknamespace): Likewise.
225 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
226 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
227 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
228 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
229 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
230 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
231 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
232 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
233 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
234 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
235 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
236 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
237 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
238 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
239 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
240 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
241 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
242 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
243 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
244 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
245 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
246 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
247 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
248 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
249 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
250 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
251 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
253 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
254 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
255 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
256 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
257 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
258 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
259 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
260 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
261 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
262 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
263 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
264 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
265 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
266 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
267 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
268 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
269 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
270 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
271 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
272 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
273 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
274 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
275 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
276 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
277 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
278 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
279 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
280 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
281 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
282 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
283 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
284 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
285 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
286 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
287 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
288 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
289 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
290 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
291 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
292 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
293 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
294 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
295 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
296 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
297 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
298 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
299 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
300 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
301 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
302 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
303 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
304 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
305 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
306 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
307 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
308 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
309 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
310 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
311 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
312 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
313 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
314 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
315 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
316 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
317 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
318 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
319 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
320 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
321 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
322 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
323
cc67478e
JM
324 [BZ #17589]
325 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
326 of fgets_unlocked.
327
9975e3d3
JM
328 [BZ #17585]
329 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
330 (memmem): Rename to __memmem and define as weak alias of
331 __memmem. Use libc_hidden_weak.
332 (__memmem): Use libc_hidden_def.
333 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
334 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
335 memmem.
336
c4eae752
JM
337 [BZ #17582]
338 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
339 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
340 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
341 and define as weak alias of __fgets_unlocked. Use
342 libc_hidden_weak.
343 (__fgets_unlocked): Use libc_hidden_def.
344 * include/stdio.h (__fgets_unlocked): Declare. Use
345 libc_hidden_proto.
346 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
347 __fgets_unlocked instead of fgets_unlocked.
348 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
349 (GET_NPROCS_CONF_PARSER): Likewise.
350 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
351 (GET_NPROCS_CONF_PARSER): Likewise.
352
01cad84e
JM
353 [BZ #17574]
354 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
355 weak alias of __wmemset. Use libc_hidden_weak.
356 (__wmemset): Use libc_hidden_def.
357 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
358 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
359 of wmemset.
360
939da411
JM
361 [BZ #17573]
362 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
363 with asm name __mempcpy.
364 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
365
293d9a41
JM
366 [BZ #17572]
367 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
368 and define as weak alias of __rawmemchr.
369 (__rawmemchr): Do not define as strong alias of rawmemchr.
370
bef8fd60
JM
371 [BZ #17571]
372 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
373 alias of __qsort_r.
374 (qsort): Call __qsort_r instead of qsort_r.
375 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
376 (__qsort_r): Declare. Call libc_hidden_proto.
377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
378 instead of qsort_r.
379 * nscd/gai.c (__qsort_r): Define to qsort_r.
380 * posix/tst-rfc3484.c (__qsort_r): Likewise.
381 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
382 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
383
c52ff39e
JM
384 [BZ #17570]
385 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
386 define as weak alias of __malloc_info.
387
2f5c1b00
JM
388 [BZ #17584]
389 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
390 as weak alias of __rewinddir. Don't use libc_hidden_def.
391 (__rewinddir): Use libc_hidden_def.
392 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
393 as weak alias of __rewinddir. Don't use libc_hidden_def.
394 (__rewinddir): Use libc_hidden_def.
395 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
396 weak alias of __rewinddir. Don't use libc_hidden_def.
397 (__rewinddir): Use libc_hidden_def.
398 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
399 (__rewinddir): Use libc_hidden_proto.
400 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
401 rewinddir.
402 (__getcwd): Use __rewinddir instead of rewinddir.
403
5a6fa4d7
JM
404 [BZ #17583]
405 * libio/fileno.c (fileno): Rename to __fileno and define as weak
406 alias of __fileno. Use libc_hidden_weak.
407 (__fileno): Use libc_hidden_def.
408 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
409 * libio/ftello.c (ftello): Rename to __ftello and define as weak
410 alias of __ftello.
411 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
412 __ftello.
413 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
414 (__fread_unlocked): Define as strong alias of _IO_fread. Use
415 libc_hidden_def.
416 (fread_unlocked): Don't use libc_hidden_ver.
417 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
418 and define as weak alias of __fread_unlocked. Don't use
419 libc_hidden_def.
420 (__fread_unlocked): Use libc_hidden_def.
421 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
422 (ftello): Don't use libc_hidden_proto.
423 (__ftello): Declare. Use libc_hidden_proto.
424 (fread_unlocked): Don't use libc_hidden_proto.
425 (__fread_unlocked): Declare. Use libc_hidden_proto.
426 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
427 and __ftello instead of fileno, fread_unlocked and ftello.
428
2581b98e
SP
4292012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
430
431 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
432 GOT12.
433 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
434 Likewise.
435 (_dl_start_user): Likewise.
436 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
437
533bb7c2
SP
4382014-11-12 Carlos O'Donell <carlos@redhat.com>
439 Siddhesh Poyarekar <siddhesh@redhat.com>
440
441 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
442 Move argv and envp down instead of moving argc up.
443 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
444
fffa1cf8
LH
4452014-11-12 Leonhard Holz <leonhard.holz@web.de>
446
447 [BZ #17506]
448 * test-skeleton.c (main): Return successful if one of
449 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
450 * string/tst-strcoll-overflow.c: Define expected status.
451
fb89b46d
TU
4522014-11-12 Tatiana Udalova <t.udalova@samsung.com>
453
454 [BZ #17475]
455 * locale/iso-639.def: Define Bhili and Tulu language codes.
456
5c40c3ba
AH
4572014-11-11 Alan Hayward <alan.hayward@arm.com>
458
459 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
460
b17fe01b 4612014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
462
463 [BZ #17555]
464 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
465
bd805071
AS
4662014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
467
468 * configure.ac: Updated check of minimal required version to
469 2.22.
470 * manual/install.texi (Tools for Compilation): Updated version
471 number.
472 * configure: Regenerated.
473 * INSTALL: Likewise.
474
1400983e
AS
4752014-11-07 Andreas Schwab <schwab@linux-m68k.org>
476
477 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
478 __tls_get_addr.
479
2c46a66a
JM
4802014-11-07 Joseph Myers <joseph@codesourcery.com>
481
482 * include/sys/wait.h (__libc_waitpid): Remove declaration.
483 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
484 (__waitpid): Don't define as alias. Use libc_hidden_def not
485 libc_hidden_weak.
486 (waitpid): Define as alias of __waitpid.
487 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
488 __waitpid.
489 (__waitpid): Don't define as alias. Use libc_hidden_def not
490 libc_hidden_weak.
491 (waitpid): Define as alias of __waitpid.
492 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
493 __libc_waitpid alias.
494 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
495 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
496 Likewise.
497 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
498 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
499 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
500 alias.
501 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
502 __waitpid.
503 (__waitpid): Don't define as alias. Use libc_hidden_def not
504 libc_hidden_weak.
505 (waitpid): Define as alias of __waitpid.
506
da53d6db
CD
5072014-11-06 Carlos O'Donell <carlos@redhat.com>
508
a2887bdb
CD
509 * manual/llio.texi: Add comment that write safety has been
510 fixed in Linux.
511
da53d6db
CD
512 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
513 (localplt-build-dso): Add elf/ld.so.
514 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
515 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
516 and free for ld.so.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
518 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
520 Likewise.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
522 Likewise.
523 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
524 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
525 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
526 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
527 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
528 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
529 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
530 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
531 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
532 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
533 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
534
9cf27b8d
JM
5352014-11-05 Joseph Myers <joseph@codesourcery.com>
536
537 [BZ #14132]
538 * include/libc-symbols.h (INTUSE): Remove macro.
539 (INTDEF): Likewise.
540 (INTVARDEF): Likewise.
541 (_INTVARDEF): Likewise.
542 (INTDEF2): Likewise.
543 (INTVARDEF2): Likewise.
544 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
545 rtld_hidden_def instead of INTVARDEF.
546 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
547 (_dl_starting_up_internal): Remove declaration.
548 (_dl_starting_up): Use rtld_hidden_proto.
549 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
550 declaration.
551 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
552 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
553 _dl_starting_up.
554 * elf/dl-writev.h (_dl_writev): Likewise.
555 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
556 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
557 _dl_starting_up_internal.
558
af83568d
AZ
5592014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560
561 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
562 test-skeleton.c.
563
b01ee67c
WN
5642014-11-05 Will Newton <will.newton@linaro.org>
565
566 * benchtests/Makefile: (bench-malloc): Add malloc thread
567 scalability benchmark.
568 * benchtests/bench-malloc-threads.c: New file.
569
be9d4ccc
RE
5702014-11-05 Richard Earnshaw <rearnsha@arm.com>
571
572 * sysdeps/aarch64/strchrnul.S: New file.
573
7110166d
AZ
5742014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
576 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
577 definition.
578 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
579 Likwise.
580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
581 Likewise.
582 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
583 Likewise.
584 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
585 Likewise.
586 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
587 Likewise.
588
5892014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
590
591 * catgets/test-gencat.c: Use test-skeleton.c.
592 * catgets/tst-catgets.c: Likewise.
593 * csu/tst-empty.c: Likewise.
594 * elf/tst-audit2.c: Likewise.
595 * elf/tst-global1.c: Likewise.
596 * elf/tst-pathopt.c: Likewise.
597 * elf/tst-piemod1.c: Likewise.
598 * elf/tst-tls10.c: Likewise.
599 * elf/tst-tls11.c: Likewise.
600 * elf/tst-tls12.c: Likewise.
601 * gnulib/tst-gcc.c: Likewise.
602 * iconvdata/tst-e2big.c: Likewise.
603 * iconvdata/tst-loading.c: Likewise.
604 * iconv/tst-iconv1.c: Likewise.
605 * iconv/tst-iconv2.c: Likewise.
606 * inet/test-inet6_opt.c: Likewise.
607 * inet/tst-gethnm.c: Likewise.
608 * inet/tst-network.c: Likewise.
609 * inet/tst-ntoa.c: Likewise.
610 * intl/tst-codeset.c: Likewise.
611 * intl/tst-gettext2.c: Likewise.
612 * intl/tst-gettext3.c: Likewise.
613 * intl/tst-ngettext.c: Likewise.
614 * intl/tst-translit.c: Likewise.
615 * io/test-stat.c: Likewise.
616 * libio/test-fmemopen.c: Likewise.
617 * libio/tst-freopen.c: Likewise.
618 * libio/tst-sscanf.c: Likewise.
619 * libio/tst-ungetwc1.c: Likewise.
620 * libio/tst-ungetwc2.c: Likewise.
621 * libio/tst-widetext.c: Likewise.
622 * localedata/tst-ctype.c: Likewise.
623 * localedata/tst-digits.c: Likewise.
624 * localedata/tst-leaks.c: Likewise.
625 * localedata/tst-mbswcs1.c: Likewise.
626 * localedata/tst-mbswcs2.c: Likewise.
627 * localedata/tst-mbswcs3.c: Likewise.
628 * localedata/tst-mbswcs4.c: Likewise.
629 * localedata/tst-mbswcs5.c: Likewise.
630 * localedata/tst-setlocale.c: Likewise.
631 * localedata/tst-trans.c: Likewise.
632 * localedata/tst-wctype.c: Likewise.
633 * localedata/tst-xlocale1.c: Likewise.
634 * login/tst-grantpt.c: Likewise.
635 * malloc/tst-calloc.c: Likewise.
636 * malloc/tst-malloc.c: Likewise.
637 * malloc/tst-mallocstate.c: Likewise.
638 * malloc/tst-mcheck.c: Likewise.
639 * malloc/tst-mtrace.c: Likewise.
640 * malloc/tst-obstack.c: Likewise.
641 * math/atest-exp2.c: Likewise.
642 * math/atest-exp.c: Likewise.
643 * math/atest-sincos.c: Likewise.
644 * math/test-matherr.c: Likewise.
645 * math/test-misc.c: Likewise.
646 * math/test-powl.c: Likewise.
647 * math/tst-definitions.c: Likewise.
648 * misc/tst-dirname.c: Likewise.
649 * misc/tst-efgcvt.c: Likewise.
650 * misc/tst-fdset.c: Likewise.
651 * misc/tst-hsearch.c: Likewise.
652 * misc/tst-mntent2.c: Likewise.
653 * nptl/tst-sem7.c: Likewise.
654 * nptl/tst-sem8.c: Likewise.
655 * nptl/tst-sem9.c: Likewise.
656 * nss/test-netdb.c: Likewise.
657 * posix/tst-fnmatch.c: Likewise.
658 * posix/tst-getlogin.c: Likewise.
659 * posix/tst-gnuglob.c: Likewise.
660 * posix/tst-mmap.c: Likewise.
661 * pwd/tst-getpw.c: Likewise.
662 * resolv/tst-inet_ntop.c: Likewise.
663 * rt/tst-timer.c: Likewise.
664 * stdio-common/test-fseek.c: Likewise.
665 * stdio-common/test-popen.c: Likewise.
666 * stdio-common/test-vfprintf.c: Likewise.
667 * stdio-common/tst-cookie.c: Likewise.
668 * stdio-common/tst-fileno.c: Likewise.
669 * stdio-common/tst-gets.c: Likewise.
670 * stdio-common/tst-obprintf.c: Likewise.
671 * stdio-common/tst-perror.c: Likewise.
672 * stdio-common/tst-sprintf2.c: Likewise.
673 * stdio-common/tst-sprintf3.c: Likewise.
674 * stdio-common/tst-sprintf.c: Likewise.
675 * stdio-common/tst-swprintf.c: Likewise.
676 * stdio-common/tst-tmpnam.c: Likewise.
677 * stdio-common/tst-unbputc.c: Likewise.
678 * stdio-common/tst-wc-printf.c: Likewise.
679 * stdlib/tst-environ.c: Likewise.
680 * stdlib/tst-fmtmsg.c: Likewise.
681 * stdlib/tst-limits.c: Likewise.
682 * stdlib/tst-rand48-2.c: Likewise.
683 * stdlib/tst-rand48.c: Likewise.
684 * stdlib/tst-random2.c: Likewise.
685 * stdlib/tst-random.c: Likewise.
686 * stdlib/tst-strtol.c: Likewise.
687 * stdlib/tst-strtoll.c: Likewise.
688 * stdlib/tst-tls-atexit.c: Likewise.
689 * stdlib/tst-xpg-basename.c: Likewise.
690 * string/test-ffs.c: Likewise.
691 * string/tst-bswap.c: Likewise.
692 * string/tst-inlcall.c: Likewise.
693 * string/tst-strtok.c: Likewise.
694 * string/tst-strxfrm.c: Likewise.
695 * sysdeps/x86_64/tst-audit10.c: Likewise.
696 * sysdeps/x86_64/tst-audit3.c: Likewise.
697 * sysdeps/x86_64/tst-audit4.c: Likewise.
698 * sysdeps/x86_64/tst-audit5.c: Likewise.
699 * time/tst-ftime_l.c: Likewise.
700 * time/tst-getdate.c: Likewise.
701 * time/tst-mktime3.c: Likewise.
702 * time/tst-mktime.c: Likewise.
703 * time/tst-posixtz.c: Likewise.
704 * time/tst-strptime2.c: Likewise.
705 * time/tst-strptime3.c: Likewise.
706 * wcsmbs/tst-btowc.c: Likewise.
707 * wcsmbs/tst-mbrtowc.c: Likewise.
708 * wcsmbs/tst-mbsrtowcs.c: Likewise.
709 * wcsmbs/tst-wchar-h.c: Likewise.
710 * wcsmbs/tst-wcpncpy.c: Likewise.
711 * wcsmbs/tst-wcrtomb.c: Likewise.
712 * wcsmbs/tst-wcsnlen.c: Likewise.
713 * wcsmbs/tst-wcstof.c: Likewise.
714
2004e7fb
JM
7152014-11-04 Joseph Myers <joseph@codesourcery.com>
716
ab97ee8f
JM
717 [BZ #14132]
718 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
719 INTDEF.
720 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
721 declaration.
722 (_dl_mcount): Use rtld_hidden_proto.
723 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
724 _dl_mcount.
725 * elf/rtld.c (_rtld_global_ro): Likewise.
726
c5684fdb
JM
727 [BZ #14132]
728 * elf/dl-init.c (_dl_init): Don't use INTDEF.
729 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
730 of _dl_init_internal.
731 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
732 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
733 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
734 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
735 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
736 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
737 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
738 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
739 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
740 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
741 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
742 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
743 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
744 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
745 * sysdeps/tile/dl-start.S (_start): Likewise.
746 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
747 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
748
4243cbea
JM
749 [BZ #14132]
750 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
751 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
752 (rtld_progname): Make macro definition unconditional.
753 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
754 INTDEF.
755 (dlmopen_doit): Do not use INTUSE with _dl_argv.
756 (dl_main): Likewise.
757 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
758 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
759 instead of _dl_argv_internal.
760 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
761 __GI__dl_argv instead of INTUSE(_dl_argv).
762 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
763 __GI__dl_argv instead of _dl_argv_internal.
764
2004e7fb
JM
765 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
766 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
767 macro.
768 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
769 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
770 New macro.
771 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
772 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
773 macro.
774 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
775 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
776
97827bfc
AS
7772014-11-04 Andreas Schwab <schwab@suse.de>
778
779 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
780
5e4df284
AZ
7812014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
782
783 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
784 mtvsrd instruction in binary form.
785
04b76b5a
AS
7862014-11-03 Andreas Schwab <schwab@suse.de>
787
788 [BZ #17522]
789 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
790 for less than MB_LEN_MAX use a local buffer of that size.
791 * libio/tst-fputws.c: New file.
792 * libio/Makefile (tests): Add tst-fputws.
793
4c6da7da
JM
7942014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
795
796 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
797 the size of the fpu_fr.fpu_dregs[] array.
798
1679ba8e
JM
7992014-11-01 Joseph Myers <joseph@codesourcery.com>
800
801 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
802 (__nanosleep): Do not define as alias.
803 (nanosleep): Define as alias of __nanosleep.
804 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
805 __libc_nanosleep name.
806
2626c183
JM
8072014-10-31 Joseph Myers <joseph@codesourcery.com>
808
809 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
810 install.texi in comment.
811
7f981fc2
TR
8122014-10-31 Torvald Riegel <triegel@redhat.com>
813
814 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
815 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
816 ... add here and use lwsync or sync ...
817 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
818 ... and add here using lwsync.
819
d6f373d2
MF
8202014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
821
822 * elf/dl-machine-reject-phdr.h: New file.
823 * elf/dl-load.c: #include that.
824 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
825 if that returned true.
826
67c37987
RM
8272014-10-31 Roland McGrath <roland@hack.frob.com>
828
829 [BZ #17496]
830 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
831 gen-as-const-headers chunk. Add a big scare comment after the last
832 safe place to touch before-compile.
833
94a42455 8342014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 835
f3f5d895
JM
836 * manual/install.texi (Tools for Compilation): Update autoconf
837 version requirements.
838 * INSTALL: Regenerated.
839
f62ff286
JM
840 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
841 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
842 (__libc_pselect): Likewise.
94a42455
JM
843
844 [BZ #14138]
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
849
ff9dbdc0
TR
8502014-10-31 Torvald Riegel <triegel@redhat.com>
851
852 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
853 correct barrier instruction.
854 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
855 Likewise.
856 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
857 Likewise.
858
b4f66884
RM
8592014-10-30 Roland McGrath <roland@hack.frob.com>
860
861 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
862 after defining inlines. Instead, just use parens to defeat macro
863 expansion of __isctype in its declaration.
864
e19c95fd
JM
8652014-10-30 Joseph Myers <joseph@codesourcery.com>
866
867 * include/sys/uio.h (__libc_readv): Remove declaration.
868 (__libc_writev): Likewise.
869 * misc/readv.c (__libc_readv): Rename to __readv.
870 (__readv): Do not define as alias.
871 (readv): Define as alias of __readv.
872 * misc/writev.c (__libc_writev): Rename to __writev.
873 (__writev): Do not define as alias.
874 (writev): Define as alias of __writev.
875 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
876 (__readv): Do not define as alias.
877 (readv): Define unconditionally as alias of __readv.
878 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
879 (__writev): Do not define as alias.
880 (writev): Define unconditionally as alias of __writev.
881 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
882 name.
883 (writev): Do not define __libc_writev name.
884
65b00b6c
RM
8852014-10-30 Roland McGrath <roland@hack.frob.com>
886
887 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
888 (convert_charseq): New function, broken out of ...
889 (use_from_charmap): ... here. Call it.
890 (use_to_charmap): Use convert_charseq and free instead of duplicating
891 its code with a variable-length stack struct.
892
d4e157aa
JM
8932014-10-30 Joseph Myers <joseph@codesourcery.com>
894
895 * include/fcntl.h (__libc_creat): Remove declaration.
896 * io/creat.c (__libc_creat): Rename to creat.
897 (creat): Do not define as alias.
898 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
899 of creat instead of __libc_creat.
900 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
901 to creat.
902 (creat): Do not define as alias.
903 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
904 __libc_creat.
905 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
906 __libc_creat name.
907 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
908 Likewise.
909
0c6891a0
CD
9102014-10-29 Carlos O'Donell <carlos@redhat.com>
911
912 * manual/llio.texi: Add comments discussing why write() may be
913 considered MT-unsafe on Linux.
914
cc00cece
CD
9152014-10-28 Carlos O'Donell <carlos@redhat.com>
916
917 * dl-load.c (local_strdup): Remove.
918 (expand_dynamic_string_token): Use __strdup.
919 (decompose_rpath): Likewise.
920 (_dl_map_object): Likewise.
921
51e623f2
JM
9222014-10-28 Joseph Myers <joseph@codesourcery.com>
923
924 [BZ #14132]
925 * sysdeps/generic/unwind-dw2-fde.c
926 (__register_frame_info_bases_internal): Do not declare.
927 (__register_frame_info_table_bases_internal): Likewise.
928 (__deregister_frame_info_bases_internal): Likewise.
929 (__register_frame_info_bases): Declare and use hidden_proto before
930 definition. Use hidden_def instead of INTDEF.
931 (__register_frame_info_table_bases): Likewise.
932 (__deregister_frame_info_bases): Likewise.
933 (__register_frame_info): Do not use INTUSE.
934 (__register_frame): Likewise.
935 (__register_frame_info_table): Likewise.
936 (__register_frame_table): Likewise.
937 (__deregister_frame_info): Likewise.
938 (__deregister_frame): Likewise.
939
03d41216
GC
9402014-10-27 Gratian Crisan <gratian.crisan@ni.com>
941
942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
943 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
944 not undefine.
945 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
946 Likewise.
947 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
948 Likewise.
949
a4b3624d
JM
9502014-10-27 Joseph Myers <joseph@codesourcery.com>
951
952 [BZ #14138]
953 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
954 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
955 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
956 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
957 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
958 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
959 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
960 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
961 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
962 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
964 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
965 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
966 syscall.
967 (setfsuid): Likewise.
968 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
969 (setfsuid): Likewise.
970 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
971 (setfsuid): Likewise.
972 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
973 Likewise.
974 (setfsuid): Likewise.
975 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
976 (setfsuid): Likewise.
977 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
978 Likewise.
979 (setfsuid): Likewise.
980
3574f2fd
AS
9812014-10-27 Andreas Schwab <schwab@suse.de>
982
983 [BZ #17501]
984 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
985 check for Slow_SSE4_2 feature bit.
986 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
987 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
988 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
989 Likewise. Fix check for Fast_Unaligned_Load feature bit.
990
70996a37
RM
9912014-10-24 Roland McGrath <roland@hack.frob.com>
992
461a7b1e
RM
993 * configure.ac: Validate compiler version with a empirical test of
994 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
995 $CC -v output.
996 * configure: Regenerated.
997
70996a37
RM
998 * inet/htons.c (htons): Prototypify.
999 * inet/htonl.c (htonl): Likewise.
1000
e80514b5
WD
10012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1002
1003 * string/strncat.c (strncat): Improve performance by using strlen.
1004
6e46de42
WD
10052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1006
1007 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1008
6a9ad2fa
WD
10092014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1010
1011 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1012 Call libc_fetestexcept_aarch64.
1013
1c8810ed
WD
10142014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1015
1016 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1017 Call libc_feholdexcept_aarch64.
1018
8b1af712
WD
10192014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1020
1021 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1022 Call get_rounding_mode.
1023
a7b00c11
WD
10242014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1025
1026 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1027 Simplify logic.
1028
3a84f1a6
WD
10292014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1030
1031 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1032 Simplify logic.
1033
48eb7a94
JM
10342014-10-24 Joseph Myers <joseph@codesourcery.com>
1035
c8bc4038
JM
1036 [BZ #14138]
1037 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1038 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1039 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1040 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1041 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1042 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1043 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1044 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1045 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1046 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1047 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1048 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1049 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1050 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1051 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1052 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1053 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1054 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1055 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1056 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1057 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1061 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1062 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1063 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1064 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1065 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1066 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1067 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1068 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1069 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1070 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1071 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1076 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1077 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1078 syscall.
1079 (geteuid): Likewise.
1080 (getgid): Likewise.
1081 (getuid): Likewise.
1082 (getresgid): Likewise.
1083 (getresuid): Likewise.
1084 (getgroups): Likewise.
1085 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1086 (geteuid): Likewise.
1087 (getgid): Likewise.
1088 (getuid): Likewise.
1089 (getresgid): Likewise.
1090 (getresuid): Likewise.
1091 (getgroups): Likewise.
1092 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1093 (geteuid): Likewise.
1094 (getgid): Likewise.
1095 (getuid): Likewise.
1096 (getresgid): Likewise.
1097 (getresuid): Likewise.
1098 (getgroups): Likewise.
1099 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1100 Likewise.
1101 (geteuid): Likewise.
1102 (getgid): Likewise.
1103 (getuid): Likewise.
1104 (getresgid): Likewise.
1105 (getresuid): Likewise.
1106 (getgroups): Likewise.
1107 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1108 (geteuid): Likewise.
1109 (getgid): Likewise.
1110 (getuid): Likewise.
1111 (getresgid): Likewise.
1112 (getresuid): Likewise.
1113 (getgroups): Likewise.
1114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1115 Likewise.
1116 (geteuid): Likewise.
1117 (getgid): Likewise.
1118 (getuid): Likewise.
1119 (getgroups): Likewise.
1120
48eb7a94
JM
1121 [BZ #14138]
1122 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1123 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1124 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1125 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1126 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1127 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1128 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1129 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1130 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1132 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1135 __chown.
1136 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1137 (lchown): Likewise.
1138 (fchown): Likewise.
1139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1140 Likewise.
1141 (lchown): Likewise.
1142 (fchown): Likewise.
1143 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1144 (lchown): Likewise.
1145 (fchown): Likewise.
1146 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1147 Likewise.
1148 (lchown): Likewise.
1149 (fchown): Likewise.
1150
ea9a7c8b
WD
11512014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1152
1153 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1154 Simplify logic.
1155
e226de33
WD
11562014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1157
1158 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1159 Cleanup logic.
1160
6e3d8ed3
WD
11612014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1162
1163 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1164 Remove unused include.
1165
eb04247d
WD
11662014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1167
1168 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1169 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1170 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1171 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1172
13d84554
CD
11732014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1174 Helge Deller <deller@gmx.de>
1175
1176 [BZ #17508]
1177 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1178 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1179 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1180
15f9c5df
JM
11812014-10-23 Joseph Myers <joseph@codesourcery.com>
1182
1183 [BZ #14132]
1184 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1185 Remove macro definition.
1186 (__ashrdi3_v_glibc20): Likewise.
1187 (__lshrdi3_v_glibc20): Likewise.
1188 (__cmpdi2_v_glibc20): Likewise.
1189 (__ucmpdi2_v_glibc20): Likewise.
1190 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1191 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1192 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1193 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1194 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1195 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1196
c6dfed24
RM
11972014-10-22 Roland McGrath <roland@hack.frob.com>
1198
1199 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1200 old GNU extension [0] syntax.
1201 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1202 alloca rather than an array member with variable length.
1203 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1204 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1205 (parse_opt): ... here. Likewise use alloca there.
1206 Validate the -i argument before checking for rootness.
1207 (send_shutdown): New function, broken out of ...
1208 (parse_opt): ... here.
1209
8c2b1ed8
RM
12102014-10-22 Roland McGrath <roland@hack.frob.com>
1211
1212 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1213 macro to get at the _rt_local_ro field.
1214 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1215 ([PIC] case) or _dl_hwcap ([!PIC] case).
1216 * sysdeps/arm/setjmp.S: Likewise.
1217
1218 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1219 * sysdeps/arm/configure.ac: New check to define it.
1220 * sysdeps/arm/configure: Regenerated.
1221 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1222 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1223 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1224 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1225 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1226 Use move/movt pair instead of a load.
1227 (LDST_GLOBAL): Macro removed.
1228 (LDR_GLOBAL): New macro replaces it.
1229 (LDR_HIDDEN): New macro.
1230 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1231 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1232
1233 * setjmp/tst-setjmp-static.c: New file.
1234 * setjmp/Makefile (tests): Add it.
1235 (tests-static): New variable.
1236
b5af9297
MR
12372014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1238
1239 [BZ #17485]
1240 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1241
a13d0d74
JM
12422014-10-21 Joseph Myers <joseph@codesourcery.com>
1243
1244 [BZ #14132]
1245 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1246
f05e73f6
RM
12472014-10-21 Roland McGrath <roland@hack.frob.com>
1248
1249 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1250
6ab1d1ea
RM
12512014-10-20 Roland McGrath <roland@hack.frob.com>
1252
1253 * io/fts.c (dirent_not_directory): New function.
1254 (fts_build): Call it.
1255
ab49e763
RM
12562014-10-20 Roland McGrath <roland@hack.frob.com>
1257
e436eb79
RM
1258 * nptl/version.c (__nptl_main): Use normal __write rather than
1259 INTERNAL_SYSCALL.
1260 (banner): Update copyright years.
1261
6af246cf
RM
1262 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1263 gettimeofday.
1264 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1265 * nptl/pthread_cond_timedwait.c: Likewise.
1266 * nptl/pthread_mutex_timedlock.c: Likewise.
1267 * nptl/sem_timedwait.c: Likewise.
1268
ab49e763
RM
1269 * sysdeps/nptl/bits/libc-lock.h
1270 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1271 (__libc_lock_init_recursive): Return void, not 0.
1272 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1273 (__libc_rwlock_init): Likewise.
1274 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1275
f50277c1
TR
12762014-10-20 Torvald Riegel <triegel@redhat.com>
1277
1278 [BZ #15215]
1279 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1280 (__pthread_once_slow): ... here.
1281 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1282 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1283
63668b70
TR
12842014-10-20 Torvald Riegel <triegel@redhat.com>
1285
1286 [BZ #15215]
1287 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1288 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1289 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1290 * nptl/pthread_once.c (__pthread_once): Likewise.
1291 Update comments.
1292
42b7f5d4
JM
12932014-10-20 Joseph Myers <joseph@codesourcery.com>
1294
1295 [BZ #14138]
1296 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1297 name.
1298 (writev): Use __libc_writev as strong name.
1299 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1300 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1301
b0643088
RM
13022014-10-17 Roland McGrath <roland@hack.frob.com>
1303
114c4e09
RM
1304 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1305
674b8978
RM
1306 * sysdeps/i386/nptl/tls.h
1307 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1308 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1309 New macros.
1310 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1311 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1312 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1313 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1314 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1315 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1316
184ee940
RM
1317 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1318 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1319 on [__NR_futex].
1320 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1321 broken out of ...
1322 (__pthread_mutex_init): ... here. Call it.
1323 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1324 Conditionalize PI cases on [__NR_futex].
1325 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1326 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1327 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1328
327ae257
RM
1329 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1330 conditional on [SIGSETXID].
1331 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1332 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1333 is defined. Likewise for SIGSETXID.
1334 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1335 Conditionalize definitions on [SIGSETXID].
1336 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1337 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1338 unblocking on [SIGCANCEL].
1339
b0643088
RM
1340 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1341 [__NR_set_robust_list].
1342
33cc770b
SP
13432014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1344
1345 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1346 (do_compare): Likewise.
1347
0742aef6
LH
13482014-10-17 Leonhard Holz <leonhard.holz@web.de>
1349
1350 [BZ #15884]
1351 * string/strcoll_l.c: Don't include stdio.h.
1352 (coll_seq): Remove members idxarr and rulearr.
1353 (get_next_seq_cached): Remove function.
1354 (get_next_seq): Likewise.
1355 (get_next_seq_nocache): Rename to get_next_seq.
1356 (do_compare): Remove function.
1357 (do_compare_nocache): Rename to do_compare.
1358 (STRCOLL): Remove weight and rules cache.
1359
ee54ce44
RM
13602014-10-16 Roland McGrath <roland@hack.frob.com>
1361
1362 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1363 * sysdeps/arm/sfp-machine.h: ... to here.
1364 * sysdeps/arm/Implies: Remove arm/soft-fp.
1365
a75d3b02
JM
13662014-10-14 Joseph Myers <joseph@codesourcery.com>
1367
1368 * conform/data/sys/utsname.h-data (*_t): Allow.
1369 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1370 [POSIX] (WEXITED): Do not expect constant.
1371 [POSIX] (WSTOPPED): Likewise.
1372 [POSIX] (WNOHANG): Likewise.
1373 [POSIX] (WNOWAIT): Likewise.
1374 [POSIX] (siginfo_t): Do not expect type or elements.
1375 [POSIX] (pid_t): Do not expect type.
1376 [POSIX] (signal.h): Do not allow header.
1377 [POSIX] (sys/resource.h): Likewise.
1378 [POSIX] (si_*): Do not allow pattern.
1379 [POSIX] (W*): Likewise.
1380 [POSIX] (P_*): Likewise.
1381 [POSIX] (BUS_*): Likewise.
1382 [POSIX] (CLD_*): Likewise.
1383 [POSIX] (FPE_*): Likewise.
1384 [POSIX] (ILL_*): Likewise.
1385 [POSIX] (POLL_*): Likewise.
1386 [POSIX] (SEGV_*): Likewise.
1387 [POSIX] (SI_*): Likewise.
1388 [POSIX] (TRAP_*): Likewise.
1389 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1390 variable.
1391
fda389c8
SP
13922014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1393
1394 [BZ #12926]
1395 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1396 infinite loop when __recvmsg returns 0.
1397
6bc6bd3b
JM
13982014-10-10 Joseph Myers <joseph@codesourcery.com>
1399
fcb32af1
JM
1400 * CANCEL-FCT-WAIVE: Remove file.
1401 * CANCEL-FILE-WAIVE: Likewise.
1402
6bc6bd3b
JM
1403 [BZ #14132]
1404 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1405 instead of INTVARDEF.
1406 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1407 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1408 rtld_hidden_data_def instead of INTVARDEF.
1409 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1410 * elf/dl-deps.c (expand_dst): Likewise.
1411 * elf/dl-load.c (_dl_dst_count): Likewise.
1412 (_dl_dst_substitute): Likewise.
1413 (decompose_rpath): Likewise.
1414 (_dl_init_paths): Likewise.
1415 (open_path): Likewise.
1416 (_dl_map_object): Likewise.
1417 * elf/rtld.c (dl_main): Likewise.
1418 (process_dl_audit): Likewise.
1419 (process_envvars): Likewise.
1420 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1421 Remove declaration.
1422 (__libc_enable_secure): Use rtld_hidden_proto.
1423
b8c80a7e
KS
14242014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1425
1426 * elf/dl-load.c
1427 (add_path): New function broken out of _dl_rtld_di_serinfo.
1428 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1429
ff12c11f
JM
14302014-10-09 Joseph Myers <joseph@codesourcery.com>
1431
5c0508a3
JM
1432 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1433 parentheses around macro arguments.
1434 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1440 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1445 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1446 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1448 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1449 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1450 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1451 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1459 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1463 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1464 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1466 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1467 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1468 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1469 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1470 Likewise.
1471 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1472 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1473 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1475 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1476 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1477 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1478 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1479 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1480 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1481 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1482 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1483 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1484 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1485 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1486 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1487 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1488 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1489 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1490 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1491 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1492 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1493 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1494 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1495 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1496 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1497 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1498 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1499 (_FP_FRAC_SRS_1): Likewise.
1500 (_FP_FRAC_CLZ_1): Likewise.
1501 (_FP_MUL_MEAT_1_imm): Likewise.
1502 (_FP_MUL_MEAT_1_wide): Likewise.
1503 (_FP_MUL_MEAT_1_hard): Likewise.
1504 (_FP_SQRT_MEAT_1): Likewise.
1505 (_FP_FRAC_ASSEMBLE_1): Likewise.
1506 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1507 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1508 (__FP_CLZ_2): Likewise.
1509 (_FP_MUL_MEAT_2_wide): Likewise.
1510 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1511 (_FP_MUL_MEAT_2_gmp): Likewise.
1512 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1513 (_FP_SQRT_MEAT_2): Likewise.
1514 (_FP_FRAC_ASSEMBLE_2): Likewise.
1515 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1516 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1517 (_FP_FRAC_CLZ_4): Likewise.
1518 (_FP_MUL_MEAT_4_wide): Likewise.
1519 (_FP_MUL_MEAT_4_gmp): Likewise.
1520 (_FP_SQRT_MEAT_4): Likewise.
1521 (_FP_FRAC_ASSEMBLE_4): Likewise.
1522 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1523 * soft-fp/op-common.h (_FP_CMP): Likewise.
1524 (_FP_CMP_EQ): Likewise.
1525 (_FP_CMP_UNORD): Likewise.
1526 (_FP_TO_INT): Likewise.
1527 (_FP_FROM_INT): Likewise.
1528 [!__FP_CLZ] (__FP_CLZ): Likewise.
1529 (_FP_DIV_HELP_imm): Likewise.
1530 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1531 Likewise.
1532 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1534 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1535 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1536 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1538 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1542 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1543 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1544 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1546 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1547 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1548 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1550 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1551 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1552 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1554 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1555 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1556 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1559 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1560 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1561 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1562 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1563 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1564 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1565 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1566 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1567 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1568 (FP_UNPACK_RAW_SP): Likewise.
1569 (FP_PACK_RAW_S): Likewise.
1570 (FP_PACK_RAW_SP): Likewise.
1571 (FP_UNPACK_S): Likewise.
1572 (FP_UNPACK_SP): Likewise.
1573 (FP_UNPACK_SEMIRAW_S): Likewise.
1574 (FP_UNPACK_SEMIRAW_SP): Likewise.
1575 (FP_PACK_S): Likewise.
1576 (FP_PACK_SP): Likewise.
1577 (FP_PACK_SEMIRAW_S): Likewise.
1578 (FP_PACK_SEMIRAW_SP): Likewise.
1579 (_FP_SQRT_MEAT_S): Likewise.
1580 (FP_CMP_S): Likewise.
1581 (FP_CMP_EQ_S): Likewise.
1582 (FP_CMP_UNORD_S): Likewise.
1583 (FP_TO_INT_S): Likewise.
1584 (FP_FROM_INT_S): Likewise.
1585
a736ec37
JM
1586 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1587
ff12c11f
JM
1588 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1589 (FP_EX_INVALID_IMZ): Likewise.
1590 (FP_EX_INVALID_IMZ_FMA): Likewise.
1591 (FP_EX_INVALID_ISI): Likewise.
1592 (FP_EX_INVALID_ZDZ): Likewise.
1593 (FP_EX_INVALID_IDI): Likewise.
1594 (FP_EX_INVALID_SQRT): Likewise.
1595 (FP_EX_INVALID_CVI): Likewise.
1596 (FP_EX_INVALID_VC): Likewise.
1597 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1598 "invalid" exceptions.
1599 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1600 (_FP_ADD_INTERNAL): Likewise.
1601 (_FP_MUL): Likewise.
1602 (_FP_FMA): Likewise.
1603 (_FP_DIV): Likewise.
1604 (_FP_CMP_CHECK_NAN): Likewise.
1605 (_FP_SQRT): Likewise.
1606 (_FP_TO_INT): Likewise.
1607 (FP_EXTEND): Likewise.
1608
b6dcfe8c
AM
16092014-10-09 Allan McRae <allan@archlinux.org>
1610
1611 * po/fr.po: Update French translation from translation project.
1612
2d6a47ba
JM
16132014-10-09 Joseph Myers <joseph@codesourcery.com>
1614
cb831245
JM
1615 [BZ #14132]
1616 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1617 of INTDEF.
1618 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1619 (__cxa_atexit): Use libc_hidden_proto.
1620 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1621
5deeb190
JM
1622 [BZ #14132]
1623 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1624 declaration.
1625 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1626 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1627 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1628 [!_ISOMAC] (__iswctype_internal): Likewise.
1629 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1630 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1631 alias.
1632 (fcntl): Remove __fcntl_internal alias.
1633 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1634 __connect_internal alias.
1635 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1636 Likewise.
1637
454ac701
JM
1638 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1639 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1640 FP_DENORM_ZERO.
1641 (_FP_CHECK_FLUSH_ZERO): New macro.
1642 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1643 (_FP_CMP): Likewise.
1644 (_FP_CMP_EQ): Likewise.
1645 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1646 FP_DENORM_ZERO.
1647 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1648 (FP_TRUNC): Likewise.
1649
0022e688
JM
1650 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1651 treated as invalid conversion, not as normal exponent.
1652
73e28d9c
JM
1653 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1654 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1655 (_FP_CMP_EQ): Likewise.
1656 (_FP_CMP_UNORD): Likewise.
1657 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1658 (FP_CMP_EQ_D): Likewise.
1659 (FP_CMP_UNORD_D): Likewise.
1660 * soft-fp/extended.h (FP_CMP_E): Likewise.
1661 (FP_CMP_EQ_E): Likewise.
1662 (FP_CMP_UNORD_E): Likewise.
1663 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1664 (FP_CMP_EQ_Q): Likewise.
1665 (FP_CMP_UNORD_Q): Likewise.
1666 * soft-fp/single.h (FP_CMP_S): Likewise.
1667 (FP_CMP_EQ_S): Likewise.
1668 (FP_CMP_UNORD_S): Likewise.
1669 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1670 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1671 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1672 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1673 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1674 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1675 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1676 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1677 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1678 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1679 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1680 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1681 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1682 to FP_CMP_Q.
1683 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1684 FP_CMP_Q.
1685 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1686 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1687 FP_CMP_EQ_Q.
1688 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1689 FP_CMP_Q.
1690 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1691 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1692 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1693 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1694 FP_CMP_EQ_Q.
1695 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1696 FP_CMP_Q.
1697 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1698 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1699 FP_CMP_EQ_Q.
1700 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1701 FP_CMP_Q.
1702 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1703 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1704 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1705 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1706 FP_CMP_EQ_Q.
1707
43059f42
JM
1708 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1709 a subnormal result, set the underflow exception if trapping on
1710 underflow is enabled.
1711 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1712 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1713 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1714 redefine to 0.
1715 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1716 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1717 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1718 * soft-fp/extendxftf2.c (__extendxftf2): Use
1719 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1720
2d6a47ba
JM
1721 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1722 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1723 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1724 FP_HANDLE_EXCEPTIONS.
1725 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1726 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1727 FP_HANDLE_EXCEPTIONS.
1728 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1729 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1730 FP_HANDLE_EXCEPTIONS.
1731 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1732 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1733 FP_HANDLE_EXCEPTIONS.
1734
620f462e
JM
17352014-10-08 Joseph Myers <joseph@codesourcery.com>
1736
1737 [BZ #14132]
1738 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1739 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1740 use INTUSE.
1741 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1742 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1743 Remove alias.
1744 (__adjtimex): Define using libc_hidden_ver.
1745 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1746 Remove declaration.
1747 (ntp_gettime): Call __adjtimex directly.
1748 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1749 Remove declaration.
1750 (ntp_gettimex): Call __adjtimex directly.
1751 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1752 __adjtimex_internal alias.
1753
c763c5d2
RM
17542014-10-08 Roland McGrath <roland@hack.frob.com>
1755
1756 [BZ #17460]
1757 * nscd/nscd.c (more_help): Rewrite list of tables collection
1758 using xstrdup and asprintf.
1759
1760 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1761
7b8fb2b8
RM
17622014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1763 Roland McGrath <roland@hack.frob.com>
1764
1765 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1766 (do_lookup_unique): ... local function 'enter' here; update callers.
1767
abb280f7
JM
17682014-10-06 Joseph Myers <joseph@codesourcery.com>
1769
f7b42517
JM
1770 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1771 compat_symbol calls on [SHARED].
1772 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1773 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1774 Remove.
1775 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1776 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1777 (oldsetrlimit): Remove.
1778 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1780 (lchown): New syscall entry.
1781 (oldsetrlimit): Remove.
1782 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1783 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1784 (oldsetrlimit): Remove.
1785 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1786
abb280f7
JM
1787 [BZ #14138]
1788 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1789 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1790 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1791 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1792 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1793 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1794 (fchown): Likewise.
1795 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1796 (fchown): Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1798 Likewise.
1799
47d46237
AZ
18002014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801
1802 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1803 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1804 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1805 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1806 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1807 Likewise.
1808 (__old_sem_post): Likewise.
1809
18102014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1811
845a7343
CM
1812 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1813 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1814 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1815 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1816 Use INLINE_VSYSCALL macro.
1817 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1818 __vdso_clock_gettime.
1819 * sysdeps/unix/sysv/linux/tile/init-first.c
1820 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1821 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1822 __vdso_clock_gettime.
1823
83d641ef
CM
1824 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1825 to set up frame more cleanly.
1826
d9cd52e6
CM
1827 * sysdeps/tile/memcmp.c: New file.
1828
4b68ea11
CM
1829 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1830
c86f7b80
CM
1831 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1832 * sysdeps/tile/tilegx/strcasestr.c: New file.
1833 * sysdeps/tile/tilegx/strnlen.c: New file.
1834 * sysdeps/tile/tilegx/strstr.c: New file.
1835
1c4c1a6f
CM
1836 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1837
99d86ea3
AS
18382014-10-06 Arjun Shankar <arjun.is@lostca.se>
1839
1840 * nptl/tst-setuid3.c: Write errors to stdout.
1841
06210a44
KS
18422014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1843
1844 * elf/dl-deps.c
1845 (preload): New functions broken out of _dl_map_object_deps.
1846 (_dl_map_object_deps): Remove a nested function. Update call sites.
1847
6268f532
JM
18482014-10-01 Joseph Myers <joseph@codesourcery.com>
1849
1850 [BZ #14138]
1851 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1852 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1853
b925285f
SE
18542014-10-01 Steve Ellcey <sellcey@mips.com>
1855
1856 * sysdeps/mips/strcmp.S: New.
1857
754a15c6
JM
18582014-09-30 Joseph Myers <joseph@codesourcery.com>
1859
1860 [BZ #14138]
1861 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1862 (linkat): Likewise.
1863 (mkdirat): Likewise.
1864 (readlinkat): Likewise.
1865 (renameat): Likewise.
1866 (symlinkat): Likewise.
1867 (unlinkat): Likewise.
1868 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1869 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1870 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1871 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1872 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1873 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1874 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1875
85bb81c9
WN
18762014-09-30 Will Newton <will.newton@linaro.org>
1877
dc6fe23b
WN
1878 * math/math.h: Define long double math functions if
1879 _LIBC_TEST is defined.
1880 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1881
85bb81c9
WN
1882 * localedata/Makefile: Move assignment to tests-special
1883 into an ifdef testing run-built-tests.
1884 * timezone/Makefile: Likewise.
1885
b7e02da4
JM
18862014-09-29 Joseph Myers <joseph@codesourcery.com>
1887
1888 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1889 with $(BASH) not $(SHELL).
1890
62058ce6
CD
18912014-09-29 Carlos O'Donell <carlos@redhat.com>
1892 Matthew LeGendre <legendre1@llnl.gov>
1893
1894 [BZ #17411]
1895 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1896 l_reloc_result.
1897
8e257a29
KS
18982014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1899
1900 * stdio-common/printf_fp.c
1901 (hack_digit): New function, broken out of ...
1902 (__printf_fp): ... local function here. Update call sites.
1903 hack_digit now takes an additional parameter that is a pointer
1904 to a struct of the referenced locals. Those locals moved inside
1905 the struct and references updated.
1906
f4a58f0d
L
19072014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * aclocal.m4: Require autoconf 2.69.
1910 * configure: Regenerated.
1911 * sysdeps/aarch64/configure: Likewise.
1912 * sysdeps/alpha/configure: Likewise.
1913 * sysdeps/arm/armv7/configure: Likewise.
1914 * sysdeps/arm/configure: Likewise.
1915 * sysdeps/ia64/configure: Likewise.
1916 * sysdeps/mach/configure: Likewise.
1917 * sysdeps/mips/configure: Likewise.
1918 * sysdeps/s390/configure: Likewise.
1919 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1921
1922 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1923 file.
1924 * sysdeps/ia64/configure.ac: Likewise.
1925
93ae1eba
JM
19262014-09-26 Joseph Myers <joseph@codesourcery.com>
1927
1810d3ab
JM
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1929 specify symbol version for ld.so. Do not include entry for
1930 libpthread.
1931 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1934
93ae1eba
JM
1935 [BZ #14171]
1936 * Makeconfig [$(build-shared) = yes]
1937 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1938 makefiles.
1939 [$(build-shared) = yes && $(soversions.mk-done) = t]
1940 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1941 [$(build-shared) = yes && $(soversions.mk-done) = t]
1942 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1943 to Makerules.
1944 [$(build-shared) = yes && $(soversions.mk-done) = t]
1945 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1946 here.
1947 [$(build-shared) = yes && $(soversions.mk-done) = t]
1948 (common-generated): Don't append gnu/lib-names.h and
1949 gnu/lib-names.stmp here.
1950 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1951 (lib-names-h-abi): New variable.
1952 [$(build-shared) = yes && $(soversions.mk-done) = t]
1953 (lib-names-stmp-abi): Likewise.
1954 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1955 abi-variants] (before-compile): Append
1956 $(common-objpfx)$(lib-names-h-abi).
1957 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1958 abi-variants] (common-generated): Append gnu/lib-names.h.
1959 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1960 abi-variants] (install-others-nosubdir): Depend on
1961 $(inst_includedir)/$(lib-names-h-abi).
1962 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1963 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1964 [$(build-shared) = yes && $(soversions.mk-done) = t]
1965 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1966 [$(build-shared) = yes && $(soversions.mk-done) = t]
1967 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1968 [$(build-shared) = yes && $(soversions.mk-done) = t]
1969 (common-generated): Append $(lib-names-h-abi) and
1970 $(lib-names-stmp-abi).
1971 * scripts/lib-names.awk: Do not handle multi being set.
1972 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1973 Remove variable.
1974 (abi-lp64_be-ld-soname): Likewise.
1975 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1976 Likewise.
1977 (abi-hard-ld-soname): Likewise.
1978 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1979 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1980 Remove variable.
1981 (abi-o32_hard-ld-soname): Likewise.
1982 (abi-o32_soft_2008-ld-soname): Likewise.
1983 (abi-o32_hard_2008-ld-soname): Likewise.
1984 (abi-n32_soft-ld-soname): Likewise.
1985 (abi-n32_hard-ld-soname): Likewise.
1986 (abi-n32_soft_2008-ld-soname): Likewise.
1987 (abi-n32_hard_2008-ld-soname): Likewise.
1988 (abi-n64_soft-ld-soname): Likewise.
1989 (abi-n64_hard-ld-soname): Likewise.
1990 (abi-n64_soft_2008-ld-soname): Likewise.
1991 (abi-n64_hard_2008-ld-soname): Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1993 Likewise.
1994 (abi-64-v2-ld-soname): Likewise.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1996 ld.so entries.
1997 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1998 variable.
1999 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2000 entry.
2001 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2002 variable.
2003 (abi-64-ld-soname): Likewise.
2004 (abi-x32-ld-soname): Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2006 entry.
2007 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2008
68870f12
JM
20092014-09-23 Joseph Myers <joseph@codesourcery.com>
2010
2011 [BZ #14138]
2012 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2013 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2014 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2015 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2017 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2018 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2019 syscall entry for GLIBC_2.2 symbol version.
2020 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2021 Likewise.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2023 (setrlimit): Likewise.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2025 Likewise.
2026
ea58f202
WN
20272014-09-23 Will Newton <will.newton@linaro.org>
2028
2029 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2030 _LINUX_ARM_SYSDEP_H include guard too.
2031 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2032 define.
2033
69eb9a18
RV
20342014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2035
2036 * sysdeps/unix/sysv/linux/eventfd.c:
2037 Make first argument unsigned.
2038 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2039 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2040
20e5a5f7
OB
20412014-09-20 Ondřej Bílka <neleai@seznam.cz>
2042
2043 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2044 * socket/sys/socket.h: Likewise
2045 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2046
d3c827e7
AK
20472014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2048
2049 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2050
fe1cc35a
AS
20512014-09-17 Arjun Shankar <arjun.is@lostca.se>
2052
2053 * time/tst-ftime.c: New test.
2054 * time/Makefile (tests): Add tst-ftime.
2055
4e8afe69
JM
20562014-09-17 Joseph Myers <joseph@codesourcery.com>
2057
c4fe3ea7
JM
2058 * soft-fp/extended.h: Fix comment formatting.
2059 * soft-fp/op-1.h: Likewise.
2060 * soft-fp/op-2.h: Likewise.
2061 * soft-fp/op-4.h: Likewise.
2062 * soft-fp/op-8.h: Likewise.
2063 * soft-fp/op-common.h: Likewise.
2064 * soft-fp/soft-fp.h: Likewise.
2065
4e8afe69
JM
2066 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2067
af296fcd
JM
20682014-09-16 Joseph Myers <joseph@codesourcery.com>
2069
2070 [BZ #6652]
2071 * Makeconfig (soversions-default-setname): Remove variable.
2072 ($(common-objpfx)soversions.i): Don't pass default_setname to
2073 soversions.awk.
2074 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2075 oldest_abi to abi-versions.awk.
2076 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2077 * config.make.in (oldest-abi): Remove variable.
2078 * configure.ac (--enable-oldest-abi): Remove configure option.
2079 * configure: Regenerated.
2080 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2081 text.
2082 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2083 * scripts/soversions.awk: Do not handle default_setname variable.
2084 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2085 variable.
2086 * sysdeps/mach/hurd/configure: Regenerated.
2087 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2088 variable.
2089 * sysdeps/unix/sysv/linux/configure: Regenerated.
2090
545583d6
SP
20912014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2092
d330b980
SP
2093 * elf/Makefile (CFLAGS-interp.c): Remove.
2094 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2095 path string.
2096 * elf/interp.c: Include generated runtime-linker.h
2097
02657da2
SP
2098 * Makerules (lib%.so): Don't include $(+interp) in
2099 prerequisites.
2100 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2101 * dlfcn/eval.c: Remove file.
2102
653b1080
SP
2103 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2104 macros.
2105
602f80ec
SP
2106 [BZ #17266]
2107 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2108 4.2 and newer.
2109
545583d6
SP
2110 [BZ #17370]
2111 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2112
884ddc50
SP
21132014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2114 Jakub Jelinek <jakub@redhat.com>
2115
2116 [BZ #17266]
2117 * libio/stdio.h: Check definition of __fortify_function
2118 instead of __extern_always_inline to include bits/stdio2.h.
2119 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2120 check if __extern_always_inline is defined.
2121 [__USE_MISC || __USE_XOPEN]: Likewise.
2122 [__USE_ISOC99] Likewise.
2123 * misc/sys/cdefs.h (__fortify_function): Define only if
2124 __extern_always_inline is defined.
2125 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2126 __extern_always_inline and __extern_inline only for g++-4.3
2127 and newer or a compatible gcc.
2128
a7b87268
AS
21292014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2130
2131 [BZ #17371]
2132 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2133 last change to handle zero prefix length.
2134
3f41521d
SP
21352014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2136
61fe374a
SP
2137 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2138 _SC_REGEX_VERSION.
2139
3f41521d
SP
2140 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2141 _POSIX_RAW_SOCKETS.
2142
d8f879ee
AM
21432014-09-13 Allan McRae <allan@archlinux.org>
2144
2145 * po/ru.po: Update Russian translation from translation project.
2146
c079afb7
RM
21472014-09-12 Roland McGrath <roland@hack.frob.com>
2148
a62b3c15
RM
2149 * locale/programs/locale.c (show_locale_vars): Inline local function
2150 into its sole call site. Clean up some style nits.
2151 (print_item): New function, broken out of ...
2152 (show_info): ... local function here. Clean up style nits.
2153
d7e49b19
RM
2154 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2155 out of ...
2156 (set_class_defaults): ... local function set_default here.
2157 Define set_default as a macro locally to pass constant parameters.
2158 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2159 rather than a shared local.
2160
c079afb7
RM
2161 * stdlib/rpmatch.c (try): New function, broken out of ...
2162 (rpmatch): ... local function here. Also, prototypify definition.
2163
0bd72468
JM
21642014-09-12 Joseph Myers <joseph@codesourcery.com>
2165
ba90e050
JM
2166 * scripts/soversions.awk: Do not handle configuration names.
2167 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2168 vendor and os variables to soversions.awk.
2169 * configure.ac: Do not modify gnu-* host_os.
2170 * configure: Regenerated
2171 * shlib-versions: Remove first column with configuration names.
2172 * nptl/shlib-versions: Likewise.
2173 * nptl_db/shlib-versions: Likewise.
2174 * sysdeps/hppa/shlib-versions: Likewise.
2175 * sysdeps/m68k/shlib-versions: Likewise.
2176 * sysdeps/mach/hurd/shlib-versions: Likewise.
2177 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2178 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2179 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2180 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2181 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2182 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2183 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2184 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2186 Likewise.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2188 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2189 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2191 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2192 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2193 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2194 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2195
73a39112
JM
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2197 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2199 Regenerated.
2200 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2202 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2203
c729e7c1
JM
2204 * shlib-versions: Remove OS-specific entries. Moved to files in
2205 sysdeps.
2206 * sysdeps/mach/hurd/shlib-versions: New file.
2207 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2208
dc932a24
JM
2209 * nptl/shlib-versions: Remove architecture-specific entries.
2210 Moved to files in sysdeps.
2211 * shlib-versions: Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2213 file.
2214 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2215 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2218
0bd72468
JM
2219 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2220 (UDP_NO_CHECK6_RX): Likewise.
2221
920238e0
SP
22222014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2223
2224 * sysdeps/posix/sysconf.c (__sysconf): Spell
2225 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2226
ba7b4d29
FW
22272014-08-12 Florian Weimer <fweimer@redhat.com>
2228
2229 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2230 loading.
2231 * iconv/Versions (__gconv_transliterate): Export for use from
2232 gconv modules.
2233 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2234 (struct __gconv_trans_data, __gconv_trans_fct,
2235 __gconv_trans_context_fct, __gconv_trans_query_fct,
2236 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2237 definitions.
2238 (struct __gconv_step_data): Remove __trans member.
2239 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2240 longer hidden. Remove unused trans_data argument.
2241 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2242 (__gconv_translit_find): Remove declaration.
2243 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2244 prototype.
2245 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2246 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2247 trans_data argument. Add hidden definition.
2248 (__gconv_translit_find): Remove.
2249 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2250 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2251 * iconv/skeleton.c: Remove transliteration initialization.
2252 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2253 __gconv_step_data initialization.
2254 * libio/iofwide.c (__libio_translit_): Remove.
2255 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2256 * wcsmbs/btowc.c (__btowc): Likewise.
2257 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2258 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2259 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2260 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2261 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2262 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2263 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2264 * wcsmbs/wctob.c (wctob): Likewise.
2265
5379aebd
SP
22662014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2267
2268 [BZ #16194]
2269 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2270 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2271 register usage.
2272 * sysdeps/x86/Makefile: Adjust.
2273
8c0ab919
RM
22742014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2275 Roland McGrath <roland@hack.frob.com>
2276
2277 * locale/weight.h: Add include guard.
2278 (findidx): Make static rather than auto; take new parameters
2279 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2280 * locale/weightwc.h: Likewise.
2281 * posix/fnmatch_loop.c
2282 (FCT): Change type of EXTRA from int32_t to wint_t.
2283 Don't include either header inside the function.
2284 Call FINDIDX rather than findidx, and pass new arguments.
2285 #undef FINDIDX at the end of the file.
2286 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2287 FINDIDX before including fnmatch_loop.c for the non-wide version.
2288 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2289 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2290 for the wide version.
2291 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2292 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2293 Pass new arguments to findidx.
2294 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2295 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2296 Don't #include it inside the function. Pass new arguments to findidx.
2297 * posix/regex_internal.h
2298 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2299 (re_string_elem_size_at): Don't #include it inside the function.
2300 Pass new arguments to findidx.
2301 * string/strcoll_l.c: #include WEIGHT_H at top level.
2302 (get_next_seq): Don't #include it inside the function.
2303 Pass new arguments to findidx.
2304 (get_next_seq_nocache): Likewise.
2305 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2306 (STRXFRM): Don't #include it inside the function.
2307 Pass new arguments to findidx.
2308
52ffbdf2
FW
23092014-09-11 Florian Weimer <fweimer@redhat.com>
2310
2311 [BZ #17344]
2312 * malloc/malloc.c (unlink): Turn asserts into a call to
2313 malloc_printerr.
2314
984c0ea9
TL
23152014-09-11 Tim Lammens <tim.lammens@gmail.com>
2316
2317 [BZ #17370]
2318 * libio/wfileops (do_ftell_wide): Free OUT.
2319
3daee107
CM
23202014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2321
2322 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2323
58b930ae
SP
23242014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2325
2326 [BZ #17363]
2327 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2328 group if the current group is empty.
2329
3b473fec
AZ
23302014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331
71ae8647
AZ
2332 * benchtests/bench-memset.c (test_main): Add more test from size
2333 from 32 to 512 bytes.
2334 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2335 Add POWER8 memset object.
2336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2337 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2338 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2339 implementation.
2340 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2341 Likewise.
2342 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2343 multiarch POWER8 memset optimization.
2344 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2345 POWER8 memset optimization.
2346
3b473fec
AZ
2347 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2348 Remove bzero multiarch objects.
2349 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2350 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2351 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2352 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2353 Remove define.
2354 [__bzero]: Redefine to specific name.
2355 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2356 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2357 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2358 define.
2359 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2361
e6fb9587
FW
23622014-09-10 Florian Weimer <fweimer@redhat.com>
2363
2364 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2365 warnings into errors.
2366
2367 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2368 __cxa_thread_atexit_impl prototype.
2369
9d3a350b
SE
23702014-09-09 Steve Ellcey <sellcey@mips.com>
2371
2372 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2373 Fix capitalization of error message.
2374
0febba23
SE
23752014-09-09 Steve Ellcey <sellcey@mips.com>
2376
2377 * sysdeps/mips/preconfigure: Modify ABI tests.
2378
645a0e9c
CD
23792014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2380
2381 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2382
d83f0734
CD
23832014-09-07 Roland McGrath <roland@hack.frob.com>
2384 Carlos O'Donell <carlos@systemhalted.org>
2385
2386 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2387 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2388 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2389 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2390 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2391 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2392 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2393 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2394 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2395 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2396 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2397 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2398 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2399 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2400 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2401 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2402 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2403 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2404 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2405 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2406 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2407 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2408 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2409 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2410 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2411 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2412 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2413 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2414 Deconditionalize the code that was previously under [RESET_PID].
2415 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2416 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2417 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2418 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2419 include sysdep.h.
2420
21c83793
AM
24212014-09-08 Allan McRae <allan@archlinux.org>
2422
2423 * version.h (RELEASE): Set to "development".
2424 (VERSION): Set to "2.20.90"
2425
1cd9b65c
AM
24262014-09-07 Allan McRae <allan@archlinux.org
2427
b8079dd0
AM
2428 * version.h (RELEASE): Set to "stable".
2429 (VERSION): Set to "2.20"
2430 * include/features.h (__GLIBC_MINOR__): Set to 20.
2431
c46303ef
AM
2432 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2433 Liebler.
2434
1cd9b65c
AM
2435 * po/ko.po: Update Korean translation from translation project.
2436
8622092d
CM
24372014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2438
2439 [BZ #17354]
2440 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2441 macro for handling signed relocations.
2442
41488498
FW
24432014-09-03 Florian Weimer <fweimer@redhat.com>
2444
2445 [BZ #17325]
2446 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2447 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2448 assert.
2449 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2450 * iconvdata/ibm935.c (BODY): Likewise.
2451 * iconvdata/ibm937.c (BODY): Likewise.
2452 * iconvdata/ibm939.c (BODY): Likewise.
2453 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2454 assert.
2455 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2456 script.
2457 * iconvdata/run-iconv-test.sh: New test loop for checking for
2458 decoder crashers.
2459
a78b712d
KR
24602014-09-02 Khem Raj <raj.khem@gmail.com>
2461
2462 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2463 libm_hidden_ver.
2464
cb08abc6
AM
24652014-09-01 Allan McRae <allan@archlinux.org>
2466
2c31e102
AM
2467 * po/eo.po: Update Esperanto translation from translation project.
2468
cb08abc6
AM
2469 * po/ca.po: Update Catalan translation from translation project.
2470
17a62de1
ST
24712014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2472
2473 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2474 __proc_dostop call.
2475
9570bc53
MW
24762014-08-27 Mark Wielaard <mjw@redhat.com>
2477
2478 [BZ #17319]
2479 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2480 to call set_thread_area instead of hand written asm.
2481 (__NR_set_thread_area): Removed define.
2482 (TLS_FLAG_WRITABLE): Likewise.
2483 (__ASSUME_SET_THREAD_AREA): Remove check.
2484 (TLS_EBX_ARG): Remove define.
2485 (TLS_LOAD_EBX): Likewise.
2486
b0f955c9
ST
24872014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2488
2489 Simplify atomicity of socket creation in bind.
2490
2491 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2492 looking up the name after linking the file.
2493
529bf515
AM
24942014-08-27 Allan McRae <allan@archlinux.org>
2495
2496 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2497
a1a6a401
FW
24982014-08-26 Florian Weimer <fweimer@redhat.com>
2499
2500 [BZ #17187]
2501 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2502 trans_compare, open_translit, __gconv_translit_find):
2503 Remove module loading code.
2504
686ab290
AM
25052014-08-26 Allan McRae <allan@archlinux.org>
2506
e4e7cfd2
AM
2507 * po/vi.po: Update Vietnamese translation from translation project.
2508
6aa09f71
AM
2509 * po/uk.po: Update Ukrainian translation from translation project.
2510
edc0660e
AM
2511 * po/fr.po: Update French translation from translation project.
2512
7eea72ac
AM
2513 * po/ru.po: Update Russian translation from translation project.
2514
93c49eff
AM
2515 * po/pl.po: Update Polish translation from translation project.
2516
46acaf63
AM
2517 * po/cs.po: Update Czech translation from translation project.
2518
a9f5ce98
AM
2519 * po/de.po: Update German translation from translation project.
2520
373f2b78
AM
2521 * po/bg.po: Update Bulgarian translation from translation project.
2522
e7548bd8
AM
2523 * po/sv.po: Update Sweedish translation from translation project.
2524
c526bf4d
AM
2525 * po/nl.po: Update Dutch translation from translation project.
2526
686ab290
AM
2527 * po/es.po: Update Spanish translation from translation project.
2528
eb72478a
SP
25292014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2530
dd763fdb
SP
2531 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2532
318c7a58
SP
2533 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2534 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2535 (CPPFLAGS-iconvconfig): Likewise.
2536 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2537
eb72478a
SP
2538 * include/libc-symbols.h: Remove unnecessary check for
2539 NOT_IN_libc.
2540 * nptl/pthreadP.h: Likewise.
2541 * sysdeps/aarch64/setjmp.S: Likewise.
2542 * sysdeps/alpha/setjmp.S: Likewise.
2543 * sysdeps/arm/sysdep.h: Likewise.
2544 * sysdeps/i386/setjmp.S: Likewise.
2545 * sysdeps/m68k/setjmp.c: Likewise.
2546 * sysdeps/posix/getcwd.c: Likewise.
2547 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2548 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2549 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2550 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2551 * sysdeps/sh/sh3/setjmp.S: Likewise.
2552 * sysdeps/sh/sh4/setjmp.S: Likewise.
2553 * sysdeps/unix/alpha/sysdep.h: Likewise.
2554 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2556 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2557 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2562 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2565 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2567 * sysdeps/x86_64/setjmp.S: Likewise.
2568
d44a052c
JM
25692014-08-13 Joseph Myers <joseph@codesourcery.com>
2570
2571 [BZ #17263]
2572 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2573 <stdint.h>.
2574 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2575 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2576
508ce3ac
SP
25772014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
e44c8b0e
SP
2579 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2580
508ce3ac
SP
2581 [BZ #17262]
2582 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2583 and __x86_64__ when disabling x87 inline functions.
2584
b4acef1f
L
25852014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 [BZ #17259]
2588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2589 asm statement with __cpuid_count.
2590
61b1ef6e
MF
25912014-08-12 Mike Frysinger <vapier@gentoo.org>
2592
2593 * configure.ac: Change __ehdr_start code to dereference the struct.
2594 Run readelf on the output to look for relocations.
2595 * configure: Regenerated.
2596
898c62f4
JM
25972014-08-12 Joseph Myers <joseph@codesourcery.com>
2598
2599 [BZ #17261]
2600 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2601 value to 0.
2602 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2603
9a8a5720
RM
26042014-08-12 Roland McGrath <roland@hack.frob.com>
2605
2606 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2607
4e75751c
BO
26082014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2609
2610 [BZ #16892]
2611 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2612 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2613
bb2ce416
SA
26142014-08-12 Sean Anderson <seanga2@gmail.com>
2615
2616 * malloc/malloc.c: Fix typo in comment.
2617
7950a4ee
AM
26182014-08-09 Allan McRae <allan@archlinux.org>
2619
2620 * Regenerate libc.po.
2621
f469c49f
MF
26222014-08-08 Mike Frysinger <vapier@gentoo.org>
2623
2624 * intl/tst-gettext2.sh: Check every lang file for creation.
2625
656b84c2
WD
26262014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2627
2628 * sysdeps/aarch64/fpu/math_private.h
2629 (libc_feholdsetround_noex_aarch64_ctx): New function.
2630
538e9e45
W
26312014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2632
2633 * sysdeps/arm/armv6/strcpy.S (strcpy):
2634 Fix performance issue in misaligned cases.
2635
d4795e4a
AZ
26362014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2637
2638 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2639 Move definition from termios.h.
2640 (struct termio): Likewise.
2641 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2642 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2643 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2644 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2645 Likewise.
2646 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2647 Move definition to ioctl-types.h
2648 (struct termio): Likewise.
2649 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2650 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2651 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2652 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2653 Likewise.
2654
64accb62
RH
26552014-08-05 Richard Henderson <rth@redhat.com>
2656
27bb6dc0
RH
2657 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2658 exceptions.
2659 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2660 Add fraiseexcpt.
2661 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2662 Use __feraiseexcept.
2663 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2664 Protect libm symbols with IS_IN_libm.
2665
64accb62
RH
2666 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2667
e5292691
BO
26682014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2669
2670 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2671
5b4bd2d4
WN
26722014-08-04 Will Newton <will.newton@linaro.org>
2673
2674 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2675 file.
2676
fcadaeef
MF
26772014-08-04 Mike Frysinger <vapier@gentoo.org>
2678
2679 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2680 variants for each function.
2681
43a94c64
RM
26822014-08-04 Roland McGrath <roland@hack.frob.com>
2683
2684 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2685 appended ...
2686 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2687 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2688 appended ...
2689 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2690 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2691 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2692 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2693 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2694 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2695 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2696 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2697 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2698 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2707 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2709 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2713 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2715 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2717 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2719 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2721 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2725 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2726 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2727 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2728 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2729 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2730 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2731 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2732 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2733 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2735 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2737 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2739 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2740 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2741 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2742 Update #include.
2743 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2744 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2745
8f3c1fa4
RM
27462014-08-04 Roland McGrath <roland@hack.frob.com>
2747
2748 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2749 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2750 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2751 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2752 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2753 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2754
ca08746f
RM
27552014-08-04 Roland McGrath <roland@hack.frob.com>
2756
2757 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2758 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2759 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2760 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2761
9c925ff9
RM
27622014-08-04 Roland McGrath <roland@hack.frob.com>
2763
2764 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2765 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2766 (__libc_vfork): Define function under this name.
2767 (__vfork): Define as an alias.
2768 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2769 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2770
e641054c
RM
27712014-08-04 Roland McGrath <roland@hack.frob.com>
2772
2773 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2774 that was previously under [RESET_PID].
2775 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2776
dacdc867
AS
27772014-08-04 Andreas Schwab <schwab@suse.de>
2778
2779 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2780
41f725ff
MF
27812014-08-03 Mike Frysinger <vapier@gentoo.org>
2782
2783 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2784 (main): Likewise.
2785
277cfb31
RM
27862014-08-01 Roland McGrath <roland@hack.frob.com>
2787
2788 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2789
4896f049
RH
27902014-08-01 Richard Henderon <rth@redhat.com>
2791
2792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2793 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2794 typo in exact zero test.
2795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2796 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2798
6f64e7d7
RM
27992014-08-01 Roland McGrath <roland@hack.frob.com>
2800
2801 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2802 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2803 * sysdeps/arm/sysdep.h: ... here.
2804 [!__ASSEMBLER__]: Include <stdint.h>.
2805
3f3dd810
SP
28062014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2807
a476ac4b
SP
2808 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2809 (HAVE_WCTYPE_H): Likewise.
2810 (HAVE_ISWCTYPE): Likewise.
2811 (ENABLE_NLS): Likewise.
2812 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2813 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2814
78dd658a
SP
2815 * posix/regex_internal.c: Check if DEBUG is defined and is
2816 set.
2817
3f3dd810
SP
2818 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2819 (HAVE_MBSRTOWCS): Likewise.
2820 * posix/fnmatch.c: Include string.h unconditionally.
2821
95ee7fb1
SL
28222014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2823
2824 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2825 reversal.
2826
23fe486b
RM
28272014-07-31 Roland McGrath <roland@hack.frob.com>
2828
f61a113f
RM
2829 * sysdeps/generic/safe-fatal.h: New file.
2830 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2831 * nptl/forward.c: Include it.
2832 (__pthread_unwind): Use __safe_fatal as default action, rather
2833 than a bogus use of INTERNAL_SYSCALL that could never work.
2834
9fe7e787
RM
2835 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2836 * configure.ac (libc_cv_builtin_trap): New test.
2837 * configure: Regenerated.
2838 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2839 (ABORT_INSTRUCTION): Define using __builtin_trap.
2840
23fe486b
RM
2841 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2842 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2843 * sysdeps/nptl/nptl-signals.h: New file.
2844 * nptl/pthreadP.h: Include <nptl-signals.h>.
2845
f349489e
SL
28462014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2847
2848 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2849 (ONE_DIRECTION): Define.
2850 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2851 (ONE_DIRECTION): Define.
2852 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2853 (ONE_DIRECTION): Define.
2854
2f438e20
SL
28552014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2856
2857 * sysdeps/s390/Makefile: Delete file.
2858 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2859 * sysdeps/s390/__longjmp.c: Delete file.
2860 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2861 Remove fields __flags and __reserved.
2862 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2863 and add versioning.
2864 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2865 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2866 * sysdeps/s390/rtld-setjmp.S: Likewise.
2867 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2868 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2869 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2870 * sysdeps/s390/s390-32/setjmp.S: ... here.
2871 Add versioning.
2872 (__sigsetjmp): Remove setting __flags field.
2873 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2874 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2875 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2876 * sysdeps/s390/s390-64/setjmp.S: ... here.
2877 Add versioning.
2878 (__sigsetjmp): Remove setting __flags field.
2879 * sysdeps/s390/setjmp.S: Delete file.
2880 * sysdeps/s390/sigjmp.c: Likewise.
2881 * sysdeps/s390/v1-longjmp.c: Likewise.
2882 * sysdeps/s390/v1-setjmp.h: Likewise.
2883 * sysdeps/s390/v1-sigjmp.c: Likewise.
2884 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2885 Remove v1-longjmp_chk.
2886 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2887 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2888 Include debug/longjmp_chk.c and add versioning.
2889 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2890 Include nptl/pt-longjmp.c and add versioning.
2891 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2892 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2893 Include __longjmp.c.
2894 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2895 Move to ...
2896 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2897 (__getcontext): Remove setting __flags field.
2898 Add versioning.
2899 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2900 Don't restore upper high grps.
2901 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2902 Likewise.
2903 (__swapcontext): Remove setting uc_flags field.
2904 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2905 Delete file.
2906 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2907 Include __longjmp.c.
2908 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2909 Move to ...
2910 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2911 (__getcontext): Remove setting __flags field.
2912 Add versioning.
2913 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2914 (__swapcontext): Remove setting uc_flags field.
2915 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2916 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2917 Remove fields uc_high_gprs and __reserved.
2918 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2919 New file with reverted content.
2920 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2921 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2922 Regenerated.
2923 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2924 Regenerated.
2925
6c9578a2
AS
29262014-07-31 Andreas Schwab <schwab@suse.de>
2927
2928 * config.h.in (HAVE_IFUNC): Define to 0.
2929 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2930 definedness.
2931
05f3633d
LM
29322014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2933
2934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2935 memmove-avx-unaligned, memcpy-avx-unaligned and
2936 mempcpy-avx-unaligned.
2937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2938 Add tests for AVX memcpy functions.
2939 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2940 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2941 memcpy_chk.
2942 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2943 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2944 memmove_chk.
2945 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2946 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2947 mempcpy_chk.
2948 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2949 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2950 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2951
a53fbd8e
AZ
29522013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2953
2954 [BZ #17213]
2955 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2956 powerpc64le.
2957
0961f7e1
JL
29582014-07-29 Jeff Layton <jlayton@poochiereds.net>
2959
2960 [BZ #16839]
2961 * manual/llio.texi: Add section about open file description locks.
2962 * manual/examples/ofdlocks.c: Example of open file description
2963 lock usage.
2964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2965 F_OFD_SETLK, and F_OFD_SETLKW.
2966
cc5fb300
AM
29672014-07-23 Allan McRae <allan@archlinux.org>
2968
2969 * po/es.po: Update Spanish translation from translation project.
2970
23329dca
AS
29712014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2972
2973 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2974
9c82da17
MR
29752014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2976
2977 [BZ #17078]
2978 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2979 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2980 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2981
29c4f53e
JM
29822014-07-17 Joseph Myers <joseph@codesourcery.com>
2983
831b9896
JM
2984 [BZ #17088]
2985 * math/fesetenv.c (__fesetenv)
2986 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2987 * math/feupdateenv.c (__feupdateenv)
2988 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2989
b21c2d50
JM
2990 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2991 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2992 (__ASSUME_SOCKETCALL): Do not define.
2993
067764ef
JM
2994 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2995 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2996 (__ASSUME_SOCKETCALL): Do not define.
2997 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2998 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2999 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3000 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3001 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3002 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3003 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3004 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3005
642530c1
JM
3006 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3007 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3008 (__ASSUME_SOCKETCALL): Do not define.
3009 (__ASSUME_IPC64): Define unconditionally.
3010 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3011 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3012 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3013 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3014 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3015 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3016 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3017 Likewise.
3018
03f77315
JM
3019 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3020 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3021 (__ASSUME_SOCKETCALL): Do not define.
3022 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3023 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3024 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3025 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3026 (__ASSUME_REQUEUE_PI): Define unconditionally.
3027 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3028 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3029 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3030 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3031 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3032 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3033
083b1f7c
JM
3034 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3035 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3036 (__ASSUME_SOCKETCALL): Do not define.
3037 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3038 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3039 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3040 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3041 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3042 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3043
5be44ea6
JM
3044 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3045 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3046 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3047 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3048 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3049 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3050 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3051 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3052 (__ASSUME_GETCPU_SYSCALL): Likewise.
3053
d95ffd4c
JM
3054 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3055 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3056 cases for individual architectures.
3057 * sysdeps/gnu/configure: Regenerated.
3058 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3059 LIBC_SLIBDIR_RTLDDIR.
3060 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3061 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3062 LIBC_SLIBDIR_RTLDDIR.
3063 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3065 LIBC_SLIBDIR_RTLDDIR.
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3067 Regenerated.
3068 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3069 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3070 file.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3072 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3073 file.
3074 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3075 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3076 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3077 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3078
29c4f53e
JM
3079 * sysdeps/aarch64/shlib-versions: Move to ...
3080 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3081 * sysdeps/alpha/shlib-versions: Move to ...
3082 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3083 * sysdeps/arm/shlib-versions: Move to ...
3084 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3085 * sysdeps/hppa/shlib-versions: Move all contents except for
3086 libgcc_s entry to ...
3087 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3088 entry from ...
3089 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3090 * sysdeps/ia64/shlib-versions: Move to ...
3091 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3092 entry from ...
3093 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3094 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3095 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3096 * sysdeps/microblaze/shlib-versions: Move to ...
3097 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3098 * sysdeps/mips/shlib-versions: Move to ...
3099 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3100 entry from ...
3101 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3102 * sysdeps/tile/shlib-versions: Move to ...
3103 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3104 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3105 from ...
3106 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3107 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3108 entry from ...
3109 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3110
32bead5b
WN
31112014-07-17 Will Newton <will.newton@linaro.org>
3112
57977c4b
WN
3113 * sysdeps/arm/bits/atomic.h
3114 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3115 (__arch_compare_and_exchange_bool_16_int): Likewise.
3116 (__arch_compare_and_exchange_bool_64_int): Likewise.
3117
32bead5b
WN
3118 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3119 into an #else block.
3120
37fccd41
RM
31212014-07-16 Roland McGrath <roland@hack.frob.com>
3122
3123 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3124 just Linux configurations. Test empirically that the compiler sets
3125 __ARM_EABI__, rather than using the tuple to decide.
3126 * sysdeps/arm/preconfigure: Regenerated.
3127 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3128 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3129 contents appended ...
3130 * sysdeps/arm/configure.ac: ... here.
3131 * sysdeps/arm/configure: Regenerated.
3132
b365f3ec
RM
31332014-07-15 Roland McGrath <roland@hack.frob.com>
3134
8badf496
RM
3135 * nptl/pthread_kill.c: New file.
3136 * nptl/pthread_sigmask.c: New file.
3137 * nptl/pthread_sigqueue.c: New file.
3138
3df6f22e
RM
3139 * sysdeps/nptl/lowlevellock.h: New file.
3140 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3141 * sysdeps/nptl/lowlevellock-futex.h: New file.
3142
b365f3ec
RM
3143 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3144 Remove dead declarations.
3145
f2fef657
L
31462014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3147
3148 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3149 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3150 config-cflags-avx2.
3151 * sysdeps/x86_64/configure.ac: Likewise.
3152 * sysdeps/i386/configure: Regenerated.
3153 * sysdeps/x86_64/configure: Likewise.
3154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3155 memset-avx2 only if config-cflags-avx2 is yes.
3156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3157 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3158 defined.
3159 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3160 only if HAVE_AVX2_SUPPORT is defined.
3161 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3162
f6c44d47
AM
31632014-07-14 Alan Modra <amodra@gmail.com>
3164
3165 [BZ #17153]
3166 * elf/elf.h (DT_PPC64_NUM): Correct value.
3167 * NEWS: Add to fixed bug list.
3168
7ee03f00
JM
31692014-07-13 Jim Meyering <meyering@fb.com>
3170
3171 [BZ 17150]
3172 regex: don't deref NULL upon heap allocation failure
3173 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3174 failure in one more place.
3175 To trigger the segfault, configure grep -with-included-regex,
3176 build it, and run these commands:
3177 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3178
9d39d517
AS
31792014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3180
3181 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3182
a75b89b7
RH
31832014-07-11 Richard Henderson <rth@redhat.com>
3184
3185 * sysdeps/aarch64/libm-test-ulps: Update.
3186
771eb141
FW
31872014-07-10 Florian Weimer <fweimer@redhat.com>
3188
3189 [BZ #17135]
3190 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3191 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3192 (__nptl_setxid): Initialize error member. Call
3193 __nptl_setxid_error.
3194 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3195 * nptl/descr.h (struct xid_command): Add error member.
3196 * nptl/tst-setuid3.c: New file.
3197 * nptl/Makefile (tests): Add it.
3198
bc1da176
AZ
31992014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200
3201 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3202 New define.
3203 (__lll_trylock): Use __lll_base_trylock.
3204 (__lll_cond_trylock): Likewise.
3205
887865fc
RM
32062014-07-10 Roland McGrath <roland@hack.frob.com>
3207
c0c6bac9
RM
3208 * nptl/pthread_create.c (start_thread): Use atomic_or and
3209 lll_futex_wake directly rather than lll_robust_dead.
3210 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3211 (lll_robust_dead): Macro removed.
6a42be57 3212 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3213 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3214 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3215 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3216 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3217 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3218 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3219 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3220 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3222 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3223 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3225 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3227
887865fc
RM
3228 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3229 Use atomic_compare_and_exchange_val_acq directly rather than
3230 lll_robust_trylock.
3231 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3232 (__lll_robust_trylock, lll_robust_trylock): Removed.
3233 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3234 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3235 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3236 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3237 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3238 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3239 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3240 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3241 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3242 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3243 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3244 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3245 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3246 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3247
58536726
FW
32482014-07-02 Florian Weimer <fweimer@redhat.com>
3249
3250 * manual/locale.texi (Locale Names): New section documenting
3251 locale name syntax. Adjust menu and node chaining accordingly.
3252 (Choosing Locale): Reference Locale Names, Locale Categories.
3253 Mention setting LC_ALL=C. Reflect that name syntax is now
3254 documented.
3255 (Locale Categories): New section title. Reference Locale Names.
3256 LC_ALL is an environment variable, but not a category.
3257 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3258 description, now in Locale Name. Reference that section. Locale
3259 name syntax is now documented.
3260
4e8f95a0
FW
32612014-07-02 Florian Weimer <fweimer@redhat.com>
3262
3263 [BZ #17137]
3264 * locale/findlocale.c (name_present, valid_locale_name): New
3265 functions.
3266 (_nl_find_locale): Use the loc_name variable to store name
3267 candidates. Call name_present and valid_locale_name to check and
3268 validate locale names. Return an error if the locale is invalid.
3269
d1836456
FW
32702014-07-02 Florian Weimer <fweimer@redhat.com>
3271
3272 * locale/setlocale.c (setlocale): Use strdup for allocating
3273 composite name copy.
3274
d69b7f5a
SP
32752014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3276
888c679b
SP
3277 Sync up with gnulib.
3278 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3279 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3280 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3281 and _GL_ARG_NONNULL.
3282 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3283 [!_LIBC]: Include code for Windows and Cygwin.
3284 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3285 Include prototype for int strerror_r.
3286 [!_LIBC] (is_open): New function.
3287 (flush_stdout): New function.
3288 (print_errno_message): Use it.
3289 (error): Likewise.
3290 (error_at_line): Likewise.
3291 (error_tail) Add function attribute macros. Use
3292 __builtin_expect.
3293
180e0e4b
SP
3294 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3295
d22f1fe2
SP
3296 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3297
12f2254b
SP
3298 * io/ftw.c: Include sys/param.h unconditionally.
3299
c3c7c360
SP
3300 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3301
d62aa75a
SP
3302 [BZ #17125]
3303 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3304 libc_freeres_ptr.
3305 (freecache): New function to free CACHE on exit.
3306
d69b7f5a
SP
3307 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3308 initialization.
3309
5efe06a1
DM
33102014-07-09 David S. Miller <davem@davemloft.net>
3311
3312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3313
7000d82e
DM
3314 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3315 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3316 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3317 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3318 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3319 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3320 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3321 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3322 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3323 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3324 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3325 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3326 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3327
c213442d
AS
33282014-07-09 Andreas Schwab <schwab@suse.de>
3329
4a2552c3
AS
3330 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3331 output.
3332 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3333 (do_test): Likewise.
3334
c213442d
AS
3335 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3336
82374e65
WN
33372014-07-09 Will Newton <will.newton@linaro.org>
3338
3339 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3340 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3341 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3342 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3343 * sysdeps/hppa/start.S (_start): Likewise.
3344
6680738a
SP
33452014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3346
6ee3eab4
SP
3347 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3348
6680738a
SP
3349 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3350 defined.
3351
80b5c505
SP
33522014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3353
e35c53e3
SP
3354 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3355 after checking that it is non-NULL.
3356
80b5c505
SP
3357 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3358
91f4b564
AZ
33592014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360
27b75f56
AZ
3361 * sysdeps/powerpc/memmove.c: Remove file.
3362 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3363 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3364 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3365 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3366 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3367 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3368 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3369 string memmove instead of removed powerpc one.
3370
e7f95bb5
AZ
3371 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3372 [weak_alias]: Fix compiler warning due trailing data.
3373 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3374 [weak_alias]: Likewise.
3375 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3376 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3377
91f4b564
AZ
3378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3379 (__libc_ifunc_impl_list): Add memmove functions.
3380
7c33f1e5
SP
33812014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3382
3383 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3384 Remove code.
3385 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3386 Likewise
3387 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3388 Likewise
3389 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3390 Likewise
3391 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3392 Likewise
3393 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3394 Likewise
3395 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3396 Likewise
3397 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3398 Likewise
3399 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3400 Likewise
3401 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3402 Likewise
3403 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3404 Likewise
3405 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3406 Likewise
3407 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3408 Likewise
3409 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3410 Likewise
3411 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3412 Likewise
3413 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3414 Likewise
3415 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3416 Likewise
3417
3f17b03b
AZ
34182014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
87868c24
AZ
3420 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3421 to avoid alignment traps in non-cacheable memory.
3422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3423
07aedd78
AZ
3424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3425 multiarch objects.
3426 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3427 file: multiarch power7 memmove.
3428 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3429 multiarch default memmove.
3430 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3431 multiarch memove for powerpc32/power4.
3432
17762f66
AZ
3433 * string/bcopy.c: Use full path to include memmove.c.
3434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3435 multiarch objects.
3436 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3437 bcopy for powerpc64.
3438 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3439 bcopy for powerpc64.
3440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3441 and memmove implementations.
3442 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3443 optimized multiarch memmove for POWER7/powerpc64.
3444 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3445 default multiarch memmove for powerpc64.
3446 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3447 multiarch for powerpc64.
3448 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3449 for POWER7/powerpc64.
3450 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3451 memmove for POWER7/powerpc64.
3452
d6f68bbe
AZ
3453 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3454 glibc default one.
3455
3f17b03b
AZ
3456 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3457 __ELF_NATIVE_CLASS equal to 64.
3458
08192659
RM
34592014-07-07 Roland McGrath <roland@hack.frob.com>
3460
f4c4021b
RM
3461 * sysdeps/nptl/lowlevellock.h: File removed.
3462
f083450f
RM
3463 * NEWS: NPTL is no longer an add-on!
3464 * nptl/internaltypes.h: Moved ...
3465 * sysdeps/nptl/internaltypes.h: ... here.
3466 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3467 * sysdeps/nptl/fork.c: Likewise.
3468 * sysdeps/nptl/gai_misc.h: Likewise.
3469 * sysdeps/nptl/librt-cancellation.c: Likewise.
3470 * sysdeps/nptl/jmp-unwind.c: Likewise.
3471 * sysdeps/nptl/setxid.h: Likewise.
3472 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3473 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3474 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3475 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3476 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3477 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3478 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3479 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3480 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3481 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3482 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3483 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3484 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3485 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3486 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3487 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3488 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3489 * nptl/Makeconfig: Moved ...
3490 * sysdeps/nptl/Makeconfig: ... here.
3491 * nptl/configure: File removed.
3492 * nptl/ANNOUNCE: File removed.
3493 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3494 * sysdeps/unix/sysv/linux/configure: Regenerated.
3495
08192659
RM
3496 * nptl/Makefile (routines): Add libc_pthread_init,
3497 libc_multiple_threads, register-atfork and unregister-atfork.
3498 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3499 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3500 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3501 pthread-pi-defines.sym, structsem.sym.
3502 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3503 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3504 [$(subdir) = nptl] (tests): Add tst-setgetname.
3505 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3506 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3507 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3508 [!LIBC_SIGACTION]: Remove aliases.
3509 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3510 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3511 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3512 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3514 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3515 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3516 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3517 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3518 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3519 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3520 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3521 __libc_allocate_rtsig_private.
3522 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3523 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3524 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3525 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3526 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3527 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3528 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3529 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3530 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3531 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3532 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3533 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3534 * nptl/internaltypes.h: ... here.
3535 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3536 * sysdeps/nptl/jmp-unwind.c: ... here.
3537 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3538 * nptl/libc-lowlevellock.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3540 * nptl/libc_multiple_threads.c: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3542 * nptl/libc_pthread_init.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3544 * nptl/lowlevelbarrier.sym: ... here.
3545 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3546 * nptl/lowlevelcond.sym: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3548 * nptl/lowlevellock.c: ... here.
3549 * nptl/lowlevellock.h: Moved ...
3550 * sysdeps/nptl/lowlevellock.h: ... here.
3551 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3552 * nptl/lowlevelrobustlock.c: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3554 * nptl/lowlevelrobustlock.sym: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3556 * nptl/lowlevelrwlock.sym: ... here.
3557 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3558 * nptl/pt-fork.c: ... here.
3559 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3560 * nptl/pthread-pi-defines.sym: ... here.
3561 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3562 * nptl/pthread_attr_getaffinity.c: ... here.
3563 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3564 * nptl/pthread_attr_setaffinity.c: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3566 * nptl/pthread_mutex_cond_lock.c: ... here.
3567 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3568 Update #include.
3569 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3570 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3571 * nptl/pthread_once.c: ... here, replacing old file.
3572 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3573 * nptl/pthread_yield.c: ... here.
3574 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3575 * nptl/register-atfork.c: ... here.
3576 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3577 * nptl/sem_post.c: ... here.
3578 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3579 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3580 * nptl/sem_timedwait.c: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3582 * nptl/sem_trywait.c: ... here.
3583 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3584 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3585 * nptl/sem_wait.c: ... here.
3586 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3587 * nptl/structsem.sym: ... here.
3588 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3589 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3590 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3591 * nptl/unregister-atfork.c: ... here.
3592 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3593 * nptl/unwindbuf.sym: ... here.
3594 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3595 * sysdeps/nptl/fork.c: ... here.
3596 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3597 * sysdeps/nptl/fork.h: ... here.
3598 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3599 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3600 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3602 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3604 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3606 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3608 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3610 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3612 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3613 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3614 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3615 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3616 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3617 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3618 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3620 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3622 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3624 * sysdeps/unix/sysv/linux/raise.c: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3626 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3628 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3630 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3632 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3634 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3636 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3638 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3639 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3640
96baf6ff
SP
36412014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3642
3643 * sysdeps/generic/memcopy.h: Add comment for
3644 MEMCPY_OK_FOR_FWD_MEMMOVE.
3645
6b7b14b2
WN
36462014-07-04 Will Newton <will.newton@linaro.org>
3647
1570a72b
WN
3648 * string/memchr.c: Merge from gnulib.
3649 [_LIBC]: Remove conditionals.
3650 (__ptr_t): Remove define.
3651 (LONG_MAX_32_BITS): Likewise.
3652 (LONG_MAX): Likewise.
3653 (MEMCHR): Use ANSI prototype and optimize algorithm.
3654
6b7b14b2
WN
3655 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3656
38851324
SP
36572014-07-03 Roland McGrath <roland@hack.frob.com>
3658
3d9eb57c
RM
3659 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3660 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3661
78b984ae
RM
3662 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3663 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3664 in a bare environment with no <stdlib.h> installed.
3665 * sysdeps/nptl/configure: Regenerated.
3666
2d5976a5
RM
3667 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3668
c1f5acd4
RM
3669 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3670 AC_EGREP_CPP for kernel header checks, so they only succeed if
3671 including <linux/version.h> actually works right.
3672 * sysdeps/unix/sysv/linux/configure: Regenerated.
3673
4d614fe5
RM
3674 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3675 value so it's not diagnosed as unused.
3676
38851324
SP
3677 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3678 thing) with "ifeq ($(subdir),rt)".
3679
b3ec00e5
RH
36802014-07-03 Richard Henderson <rth@redhat.com>
3681
69862e25
RH
3682 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3683 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3684 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3685
d5e16ade
RH
3686 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3687 (math_force_eval): New.
3688
ca7b945c
RH
3689 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3690 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3691
cd1175a3
RH
3692 * sysdeps/alpha/fpu/s_round.c: Remove file.
3693 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3694
b3ec00e5
RH
3695 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3696 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3697 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3698 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3699 (_dl_start, print_statistics): Likewise.
3700 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3701 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3702
3703 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3704 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3705 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3706 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3708 (HP_SMALL_TIMING_AVAIL): Define.
3709 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3711 (HP_SMALL_TIMING_AVAIL): Define.
3712 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3713 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3714
3715 * sysdeps/aarch64/hp-timing.h: New file.
3716
3717 * sysdeps/generic/hp-timing.h: Remove dead comment.
3718 * sysdeps/generic/hp-timing-common.h: New file.
3719 * sysdeps/alpha/hp-timing.h: Include it.
3720 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3721 * sysdeps/i386/i686/hp-timing.h: Likewise.
3722 * sysdeps/ia64/hp-timing.h: Likewise.
3723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3724 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3725 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3726 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3727 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3728 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3729 (hp_timing_t): New.
3730
3731 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3732 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3733 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3734 * elf/rtld.c (_dl_start_final): Likewise.
3735 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3736 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3737 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3738 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3739 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3741 (HP_TIMING_DIFF_INIT): Remove.
3742 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3743 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3744 (HP_TIMING_DIFF_INIT): Remove.
3745 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3746 * sysdeps/i386/i686/hp-timing.c: Remove file.
3747 * sysdeps/x86_64/hp-timing.c: Remove file.
3748 * sysdeps/ia64/hp-timing.c: Remove file.
3749 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3750 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3751 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3752 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3753
3754 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3755 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3756 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3757 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3758 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3759 (HP_TIMING_ACCUM): Remove.
3760 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3761 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3762 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3763
3764 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3765 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3766 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3767 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3769 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3770 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3771 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3772
3773 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3774
225f410f
MR
37752014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3776
3777 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3778
3247f285
SP
37792014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3780
3781 Sync up with gettext.
3782 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3783 [_MSC_VER]: Include malloc.h
3784 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3785 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3786 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3787 TEMP_FAILURE_RETRY. Cast return of alloca.
3788 [!_LIBC] Call gl_rwlock_init.
3789 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3790
d12704c7
SP
37912014-07-02 Roland McGrath <roland@hack.frob.com>
3792
3793 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3794 before checking its value.
3795
99f8dc92
SP
37962014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3797
05fdac77
SP
3798 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3799
99f8dc92
SP
3800 * debug/memcpy_chk.c: Don't include pagecopy.h.
3801 * debug/mempcpy_chk.c: Likewise.
3802 * string/memcpy.c: Likewise.
3803 * string/memmove.c: Likewise.
3804 * sysdeps/powerpc/memmove.c: Likewise.
3805 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3806 definition of PAGE_COPY_FWD_MAYBE here...
3807 * sysdeps/generic/pagecopy.h: ... from here.
3808 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3809
bc8ea385
VR
38102014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3811 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3812
3813 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3815 optimizations.
3816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3817 (__libc_ifunc_impl_list): Likewise.
3818 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3819 multiarch strcat for PPC64.
3820 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3821 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3822
fe5f34e4
RM
38232014-07-02 Roland McGrath <roland@hack.frob.com>
3824
3825 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3826
256aa665
SP
38272014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3828
d4eb8195
SP
3829 * intl/loadmsgcat.c: Remove declaration of
3830 get_sysdep_segment_value.
3831 (get_sysdep_segment_value): Use ISO C style.
3832 (_nl_load_domain): Use ISO C style. Get rid of redundant
3833 semicolon. Fix typo and formatting in comment.
3834 (_nl_unload_domain): Use ISO C style.
3835
256aa665
SP
3836 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3837
b100f9aa
WN
38382014-07-02 Will Newton <will.newton@linaro.org>
3839
3840 * malloc/obstack.c: Merge from gnulib master.
3841 [HAVE_CONFIG_H]: Remove conditional code.
3842 [!_LIBC]: Include config.h.
3843 [!ELIDE_CODE]: Don't include inttypes.h, include
3844 stdint.h unconditionally.
3845 (print_and_abort): Mark as _Noreturn.
3846 (_obstack_allocated_p): Mark as __attribute_pure__.
3847 (obstack_free): Rename to __obstack_free.
3848 [!__attribute__]: Remove conditional code.
3849 * malloc/obstack.h: Merge from gnulib master.
3850 [__cplusplus]: Move conditional down.
3851 [!__attribute_pure__]: Define __attribute_pure__ here
3852 if it is not already defined.
3853 (_obstack_memory_used): Mark as __attribute_pure__.
3854 [!__obstack_free]: Define as obstack_free.
3855 [__GNUC__]: Remove check for ancient NeXT gcc.
3856
c4c41244
PE
38572014-07-02 Will Newton <will.newton@linaro.org>
3858 Paul Eggert <eggert@cs.ucla.edu>
3859
3860 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3861
e1e041c4
SP
38622014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3863
3864 * resolv/gethnamaddr.c: Add comment warning that the file is
3865 not maintained.
3866
ccf431ff
CD
38672014-07-01 Carlos O'Donell <carlos@redhat.com>
3868
d34570a6
CD
3869 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3870 entries.
3871
ccf431ff
CD
3872 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3873 entry for aio_cancel and aio_cancel64.
3874 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3875 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3876 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3877 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3878 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3879 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3880 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3881 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3882 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3883 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3884 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3885 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3886 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3887
ca06321d
RM
38882014-07-01 Roland McGrath <roland@hack.frob.com>
3889
3890 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3891 * nptl/pthread_mutex_lock.c: Likewise.
3892 * nptl/pthread_mutex_timedlock.c: Likewise.
3893 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3894
a1ac3184
RH
38952014-07-01 Richard henderson <rth@redhat.com>
3896
631021e0
RH
3897 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3898 (__isnan, __isnanl): Remove.
3899 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3900
a1ac3184
RH
3901 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3902
0c1d731f
SL
39032014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3904
3905 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3906
76985d3e
SP
39072014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3908
3909 * resolv/nss_dns/dns-host.c (getanswer_r)
3910 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3911
b0cb3096
JM
39122014-07-01 Joseph Myers <joseph@codesourcery.com>
3913
3914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3915 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3916 undefine.
3917 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3918 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3919
4d76cb39
RM
39202014-07-01 Roland McGrath <roland@hack.frob.com>
3921
3922 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3923 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3924
3925 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3926 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3927
3928 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3929 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3930 ... here.
3931 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3932 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3933
3934 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3935 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3936 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3937 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3938
3939 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3940 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3941 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3944 Moved ...
3945 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3946 ... here.
3947 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3948 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3950 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3951 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3952 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3953 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3954 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3955 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3956 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3957 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3958 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3960 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3961 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3962 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3963 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3964 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3966 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3967 ... here.
3968 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3969 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3970 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3971 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3972 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3973 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3974 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3975 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3976
0cdcad17
DH
39772014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3978
3979 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3980 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3981 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3982 Add sysdep.
3983
9b71d0e3
AZ
39842014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3985
3986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3987
665390c2
JM
39882014-06-30 Joseph Myers <joseph@codesourcery.com>
3989
ae05a9d7
JM
3990 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3991 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3992
a7672a2f
JM
3993 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3994
665390c2
JM
3995 * sysdeps/arm/libm-test-ulps: Regenerated.
3996
d7a05d07
MR
39972014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3998 Roland McGrath <roland@hack.frob.com>
3999
4000 * test-skeleton.c (signal_handler): Kill the whole process group
4001 before killing the child individually.
4002 (main): Report any failure on `setpgid'.
4003
46f1d8a6
RM
40042014-06-30 Roland McGrath <roland@hack.frob.com>
4005
4006 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4007 from _TLS_H to _ARM_NPTL_TLS_H.
4008 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4009 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4010
9c37ec0b
JM
40112014-06-30 Joseph Myers <joseph@codesourcery.com>
4012
ce9c5b3e
JM
4013 [BZ #16539]
4014 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4015 (__expm1l): Return argument unchanged when small but not
4016 subnormal.
4017
3a6e9887
JM
4018 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4019 include macro name.
4020 (_FP_UNPACK_RAW_1_P): Likewise.
4021 (_FP_PACK_RAW_1): Likewise.
4022 (_FP_PACK_RAW_1_P): Likewise.
4023 (_FP_MUL_MEAT_1_wide): Likewise.
4024 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4025 (_FP_MUL_MEAT_1_hard): Likewise.
4026 (_FP_DIV_MEAT_1_imm): Likewise.
4027 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4028 (_FP_DIV_MEAT_1_udiv): Likewise.
4029 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4030 (_FP_UNPACK_RAW_2): Likewise.
4031 (_FP_UNPACK_RAW_2_P): Likewise.
4032 (_FP_PACK_RAW_2): Likewise.
4033 (_FP_PACK_RAW_2_P): Likewise.
4034 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4035 (_FP_MUL_MEAT_2_wide): Likewise.
4036 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4037 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4038 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4039 (_FP_MUL_MEAT_2_gmp): Likewise.
4040 (_FP_DIV_MEAT_2_udiv): Likewise.
4041 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4042 (_FP_FRAC_SRL_4): Likewise.
4043 (_FP_FRAC_SRST_4): Likewise.
4044 (_FP_FRAC_SRS_4): Likewise.
4045 (_FP_UNPACK_RAW_4): Likewise.
4046 (_FP_UNPACK_RAW_4_P): Likewise.
4047 (_FP_PACK_RAW_4): Likewise.
4048 (_FP_PACK_RAW_4_P): Likewise.
4049 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4050 (_FP_MUL_MEAT_4_wide): Likewise.
4051 (_FP_MUL_MEAT_4_gmp): Likewise.
4052 (umul_ppppmnnn): Likewise.
4053 (_FP_DIV_MEAT_4_udiv): Likewise.
4054 (__FP_FRAC_ADD_4): Likewise.
4055 (__FP_FRAC_SUB_3): Likewise.
4056 (__FP_FRAC_SUB_4): Likewise.
4057 (__FP_FRAC_DEC_3): Likewise.
4058 (__FP_FRAC_DEC_4): Likewise.
4059 (__FP_FRAC_ADDI_4): Likewise.
4060 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4061 (_FP_FRAC_SRL_8): Likewise.
4062 (_FP_FRAC_SRS_8): Likewise.
4063
9c37ec0b
JM
4064 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4065 include macro name.
4066 (FP_UNPACK_RAW_EP): Likewise.
4067 (FP_PACK_RAW_E): Likewise.
4068 (FP_PACK_RAW_EP): Likewise.
4069 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4070 (_FP_ISSIGNAN): Likewise.
4071 (_FP_ADD_INTERNAL): Likewise.
4072 (_FP_FMA): Likewise.
4073 (_FP_CMP): Likewise.
4074 (_FP_SQRT): Likewise.
4075 (_FP_TO_INT): Likewise.
4076 (_FP_FROM_INT): Likewise.
4077 (FP_EXTEND): Likewise.
4078 (_FP_DIV_MEAT_N_loop): Likewise.
4079
2125f674
MR
40802014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4081
4082 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4083 throughout.
4084
edea4028
JM
40852014-06-29 Joseph Myers <joseph@codesourcery.com>
4086
4087 [BZ #17097]
4088 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4089 result with correct sign in case of exponents that produce
4090 overflow except for X very close to 1.
4091
dd0ba018
PE
40922014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4093
4094 mktime: merge #if/#ifdef usage from glibc
4095 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4096 as that works with both Glibc's and Gnulib's style.
4097 See thread starting at Siddhesh Poyarekar's bug report at:
4098 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4099
64df73c2
SP
41002014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4101
4102 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4103 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4104 * sysdeps/tile/tilegx/memmove.c: Remove file.
4105
f1eafb41
JM
41062014-06-27 Joseph Myers <joseph@codesourcery.com>
4107
4108 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4109 abi-name definition.
4110 * scripts/soversions.awk: Do not handle or generate ABI lines.
4111 * shlib-versions: Remove ABI entries.
4112 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4113 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4114
58eb0862
RM
41152014-06-27 Roland McGrath <roland@hack.frob.com>
4116
37caf178
RM
4117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4118 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4119 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4120 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4126 ... here.
4127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4130 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4132 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4140 Moved ...
4141 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4145 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4147 Moved ...
4148 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4150 Moved ...
4151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4155 Moved ...
4156 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4158 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4160 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4164 Moved ...
4165 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4169 Moved ...
4170 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4172 Moved ...
4173 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4177 Moved ...
4178 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4179 ... here.
4180 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4181 Identical file removed.
4182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4183 Moved ...
4184 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4186 Identical file removed.
4187 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4188 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4190 Moved ...
4191 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4192 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4193 Identical file removed.
4194 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4195 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4197 Identical file removed.
4198 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4199 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4200 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4201 Identical file removed.
4202 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4203 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4205 Identical file removed.
4206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4207 Moved ...
4208 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4210 Identical file removed.
4211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4212 Moved ...
4213 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4217 Identical file removed.
4218 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4219 Moved ...
4220 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4221 ... here.
4222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4223 Identical file removed.
4224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4225 Moved ...
4226 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4228 Identical file removed.
4229 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4230 Moved ...
4231 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4237 Moved ...
4238 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4240 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4241
58eb0862
RM
4242 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4243 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4244 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4245 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4246 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4247
6f12d062
AS
42482014-06-27 Arjun Shankar <arjun.is@lostca.se>
4249
4250 [BZ #17092]
4251 * nscd/nscd.c (monitor_child): Return exit status of child
4252 instead of return value from wait syscall.
4253
be254932
JM
42542014-06-27 Joseph Myers <joseph@codesourcery.com>
4255
cb403c34
JM
4256 * configure.ac (libc_commonpagesize): Remove variable.
4257 (libc_relro_required): Likewise.
4258 (libc_cv_z_relro): Remove configure test.
4259 * configure: Regenerated.
4260 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4261 variable.
4262 (libc_relro_required): Likewise.
4263 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4264 (libc_relro_required): Likewise.
4265 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4266 (libc_relro_required): Likewise.
4267 * sysdeps/arm/preconfigure: Regenerated.
4268 * sysdeps/ia64/preconfigure: Remove file.
4269 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4270 variable.
4271 (libc_relro_required): Likewise.
4272
be254932
JM
4273 [BZ #16561]
4274 [BZ #16562]
4275 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4276 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4277 recompute overflowing results in original rounding mode.
4278 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4279 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4280 recompute overflowing results in original rounding mode.
4281 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4282 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4283 recompute overflowing results in original rounding mode.
4284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4285 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4286 recompute overflowing results in original rounding mode.
4287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4288 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4289 recompute overflowing results in original rounding mode.
4290 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4291 (libc_feholdsetround_ctx): New macro.
4292 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4295
b351d85a
JM
42962014-06-26 Joseph Myers <joseph@codesourcery.com>
4297
4298 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4299 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4300 corresponding .cpsetup call.
4301
3cb4de47
RM
43022014-06-26 Roland McGrath <roland@hack.frob.com>
4303
4304 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4305 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4306 * sysdeps/arm/Makefile [$(subdir) = csu]
4307 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4308 (static-only-routines): Add aeabi_read_tp here.
4309 (shared-only-routines): Add libc-aeabi_read_tp here.
4310 (CFLAGS-libc-start.c): Add -fexceptions here.
4311 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4312 (sysdep_routines, static-only-routines, shared-only-routines):
4313 Don't add to these here.
4314 (CFLAGS-libc-start.c): Likewise.
4315
4316 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4317 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4318 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4319 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4320 * sysdeps/arm/Makefile [$(subdir) = rt]
4321 (librt-sysdep_routines, librt-shared-only-routines):
4322 Append rt-aeabi_unwind_cpp_pr1 here.
4323 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4324 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4325 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4326 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4327 Append nptl-aeabi_unwind_cpp_pr1 here.
4328 (tests): Filter out tst-cleanupx4 here.
4329 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4330 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4331 Don't do those here.
4332
354426bb
JM
43332014-06-26 Joseph Myers <joseph@codesourcery.com>
4334
4335 * scripts/list-sources.sh: Do not handle ports specially.
4336
28b0a8c9
RM
43372014-06-26 Roland McGrath <roland@hack.frob.com>
4338
a3dd035d
RM
4339 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4340 * sysdeps/arm/feupdateenv.c: Likewise.
4341
28b0a8c9
RM
4342 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4343
e66a8203
JM
43442014-06-26 Joseph Myers <joseph@codesourcery.com>
4345
4346 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4347 trailing whitespace removed.
4348 * scripts/config.guess: Update to version 2014-03-23.
4349 * scripts/config.sub: Update to version 2014-05-01
4350 * scripts/install-sh: Update to version 2013-12-25.23.
4351 * scripts/move-if-change: Update from gnulib.
4352
74171115
SP
43532014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4354
b97c9ce5
SP
4355 * debug/memmove_chk.c: Remove pagecopy.h include.
4356
4000f892
SP
43572014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4358
74171115
SP
4359 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4360 identical to gnulib mktime.
4361
a8779c28
JM
43622014-06-26 Joseph Myers <joseph@codesourcery.com>
4363
e64708de
JM
4364 * configure.ac: Do not test for machine being rs6000. Do not test
4365 for powerpc*-*soft.
4366 * configure: Regenerated.
4367
a8779c28
JM
4368 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4369 test.
4370 * configure: Regenerated.
4371 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4372 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4373 Remove configure test.
4374 * sysdeps/arm/configure: Regenerated.
4375 * sysdeps/nptl/configure.ac: Do not check
4376 libc_cv_asm_cfi_directives.
4377 * sysdeps/nptl/configure: Regenerated.
4378 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4379 * sysdeps/x86_64/nptl/configure: Remove generated file.
4380 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4381 unconditional.
4382 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4383
2aac0a86
SP
43842014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4385
059bf913
SP
4386 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4387 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4388 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4389 it is defined.
4390
4cf5b6d0
SP
4391 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4392 instead of whether it is defined.
4393 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4394 * sysdeps/hppa/dl-machine.h: Likewise.
4395 * sysdeps/ia64/dl-machine.h: Likewise.
4396 * sysdeps/m68k/dl-machine.h: Likewise.
4397 * sysdeps/microblaze/dl-machine.h: Likewise.
4398 * sysdeps/mips/dl-machine.: Likewise.
4399 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4400 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4401 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4402 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4403 * sysdeps/sh/dl-machine.h: Likewise.
4404 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4405 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4406 * sysdeps/tile/dl-machine.h: Likewise.
4407 * sysdeps/x86_64/dl-machine.h: Likewise.
4408
2aac0a86
SP
4409 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4410 code.
4411 (verify_persistent_db): Likewise.
4412
6ad2df0b
RM
44132014-06-26 Roland McGrath <roland@hack.frob.com>
4414
d8a483f3
RM
4415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4416 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4418 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4420 Moved ...
4421 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4422 ... here.
4423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4424 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4426 Identical file removed.
4427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4432 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4434 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4438 Moved ...
4439 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4441 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4445 Moved ...
4446 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4450 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4452 Identical file removed.
4453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4454 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4458 Moved ...
4459 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4460 ... here.
4461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4468 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4470 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4472 Moved ...
4473 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4475 Moved ...
4476 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4478 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4480 Moved ...
4481 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4483 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4484
52ae23b4
RM
4485 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4486 folded into ...
4487 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4488 * sysdeps/unix/sysv/linux/s390/Versions
4489 (libpthread: GLIBC_2.19): New version set.
4490 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4491 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4492 (librt: GLIBC_2.3.3): New version set.
4493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4494 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4495 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4496 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4497 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4499 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4501 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4502 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4503 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4504 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4505 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4506 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4507 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4509 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4510 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4511 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4512 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4513 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4514 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4515 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4516 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4517 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4518 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4519 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4521 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4523 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4524 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4529 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4530 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4531 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4533 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4535 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4537 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4538
39507e4a
RM
4539 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4540 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4541 (__libc_vfork): Define the function under this name.
4542 [!NOT_IN_libc] (__vfork): Make this an alias.
4543 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4545 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4546 (__libc_vfork): Define the function under this name.
4547 [!NOT_IN_libc] (__vfork): Make this an alias.
4548 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4549 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4552 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4553 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4554
e549ee56
RM
4555 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4556 code that was previously under [RESET_PID].
4557 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4558 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4560
6ad2df0b
RM
4561 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4562 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4563 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4564 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4565 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4566 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4567 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4568 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4569 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4572 Moved ...
4573 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4575 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4579 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4583 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4584 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4585 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4586 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4587 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4589 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4590 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4591 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4592 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4593 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4594 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4595 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4596 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4597 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4598 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4599 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4601 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4602
7c1c1d8e
RM
46032014-06-25 Roland McGrath <roland@hack.frob.com>
4604
4605 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4606 that was previously under [RESET_PID].
4607 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4608
3e239be6
JM
46092014-06-25 Joseph Myers <joseph@codesourcery.com>
4610
74385da5
JM
4611 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4612 not undefine and redefine.
4613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4614 [O_CLOEXEC]: Make code unconditional.
4615 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4616 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4617 <kernel-features.h>.
4618 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4619 conditional variable definition.
4620 (shm_open) [O_CLOEXEC]: Make code unconditional.
4621 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4622 code.
4623
c2570a0b
JM
4624 * configure.ac (USE_REGPARMS): Don't define here.
4625 * configure: Regenerated.
4626 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4627 * sysdeps/i386/configure: Regenerated.
4628
11b076bb
JM
4629 * nptl/createthread.c: Don't include kernel-features.h.
4630 * nptl/pthread_cancel.c: Likewise.
4631 * nptl/pthread_condattr_setclock.c: Likewise.
4632 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4633 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4634 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4635 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4636 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4637 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4638 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4641 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4642 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4643 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4644 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4645 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4646 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4647 * nscd/gai.c: Likewise.
4648 * nss/nss_db/db-open.c: Likewise.
4649 * sysdeps/generic/ldsodefs.h: Likewise.
4650 * sysdeps/sh/nptl/tls.h: Likewise.
4651 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4652 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4653 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4654 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4655 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4656 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4657 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4658 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4660 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4661 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4662 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4663 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4664 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4665 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4666 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4667 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4668 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4669 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4670 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4671 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4672 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4673 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4674 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4676 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4677 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4678 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4679 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4680 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4681 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4682 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4683 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4684 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4685 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4686 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4687 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4688 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4689 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4690 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4691 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4692 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4693 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4694 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4695 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4696 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4697 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4698 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4699 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4700 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4701 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4702 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4703 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4704 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4705 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4706 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4707 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4708 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4731 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4732 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4733 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4734 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4735 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4739 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4740 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4741 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4742 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4743 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4744 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4745 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4746 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4747 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4749 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4750 * sysdeps/unix/sysv/linux/system.c: Likewise.
4751 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4752 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4753 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4754 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4755 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4756 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4757 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4758
92072d57
JM
4759 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4760 * configure: Regenerated.
4761 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4762
3e239be6
JM
4763 * configure.ac (base_machine): Do not set specially for particular
4764 machines here.
4765 * configure: Regenerated.
4766 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4767 settings from configure.ac.
4768 * sysdeps/i386/preconfigure: New file.
4769 * sysdeps/s390/preconfigure: Likewise.
4770 * sysdeps/sh/preconfigure: Likewise.
4771 * sysdeps/sparc/preconfigure: Likewise.
4772
06d50baa
RM
47732014-06-25 Roland McGrath <roland@hack.frob.com>
4774
74836003
RM
4775 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4776 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4777 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4778 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4779 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4780 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4781 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4782 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4783 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4784 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4785 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4786 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4787 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4788 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4789 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4790 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4791 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4792 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4793 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4794
4795 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4796 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4797 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4798 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4799 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4800 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4801 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4802 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4803 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4804 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4805 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4806 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4807 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4808 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4809 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4810 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4811 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4812 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4813 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4814 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4815 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4816 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4818 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4819 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4820 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4821 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4822 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4823 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4824 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4825 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4826 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4827 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4828 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4829 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4830 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4831 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4832 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4833
06d50baa
RM
4834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4835 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4837 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4839 Moved ...
4840 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4841 ... here.
4842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4843 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4847 Moved ...
4848 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4852 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4854 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4856 Moved ...
4857 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4859 Moved ...
4860 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4864 Moved ...
4865 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4869 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4871 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4873 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4875 Moved ...
4876 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4877 ... here.
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4879 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4881 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4883 Moved ...
4884 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4886 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4888 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4890 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4892 Moved ...
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4895 Moved ...
4896 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4898 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4900 Moved ...
4901 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4903 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4906
a4ccbc9b
JM
49072014-06-25 Joseph Myers <joseph@codesourcery.com>
4908
0828edbf
JM
4909 * timezone/checktab.awk: Update from tzcode 2014e.
4910 * timezone/private.h: Likewise.
4911 * timezone/tzfile.h: Likewise.
4912 * timezone/zdump.c: Likewise.
4913 * timezone/zic.c: Likewise.
4914
a4ccbc9b
JM
4915 * sysdeps/unix/sysv/linux/kernel-features.h
4916 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4917 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4918 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4919 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4920 Remove conditional code.
4921
9aea0cb8
WN
49222014-06-25 Will Newton <will.newton@linaro.org>
4923
4924 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4925 (_dl_arm_cap_flags): Add HWCAP2 values.
4926 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4927 (_DL_HWCAP_COUNT): Increase to 37.
4928 (_DL_HWCAP_LAST): New define.
4929 (_DL_HWCAP2_LAST): New define.
4930 (_dl_procinfo): Add support for printing
4931 AT_HWCAP2 entries.
4932 (_dl_string_hwcap): Use _dl_hwcap_string.
4933
6eaa65ce
AZ
49342014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935
4936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4937
0f5b7185
JM
49382014-06-25 Joseph Myers <joseph@codesourcery.com>
4939
cfd2ea50
JM
4940 * README: Do not mention ports directory.
4941
cecf2ed4
JM
4942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4943 Remove macro.
4944 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4945 <kernel-features.h>.
4946 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4947 conditional variable definition.
4948 (__futimes): Update comment.
4949 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4950 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4951
a638de82
JM
4952 [BZ #16560]
4953 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4954 arguments close to 0.
4955 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4956 Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4958 Likewise.
4959 * math/auto-libm-test-in: Add more tests of exp10.
4960 * math/auto-libm-test-out: Regenerated.
4961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4962
0f5b7185
JM
4963 * sysdeps/unix/sysv/linux/kernel-features.h
4964 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4965 * sysdeps/unix/sysv/linux/readv.c: Do not include
4966 <kernel-features.h>.
4967 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4968 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4969 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4970 unconditional.
4971 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4972 conditional code.
4973 * sysdeps/unix/sysv/linux/writev.c: Do not include
4974 <kernel-features.h>.
4975 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4976 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4977 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4978 unconditional.
4979 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4980 conditional code.
4981
c7aec4be
WN
49822014-06-25 Will Newton <will.newton@linaro.org>
4983
4984 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4985 comment changes throughout the file. Remove checks
4986 for HAVE_*_H definitions that are not required.
4987 (__gen_tempname): Call abort if an unknown kind value is
4988 passed.
4989
c5241f95
AS
49902014-06-25 Andreas Schwab <schwab@suse.de>
4991
4992 [BZ #17086]
4993 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4994 scalbln, scalblnf, scalblnl in libc.
4995
911422da
SP
49962014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4997
4998 [BZ #17086]
4999 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5000 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5001 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5002
0d749bbe
RM
50032014-06-24 Roland McGrath <roland@hack.frob.com>
5004
5005 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5006 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5007 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5008 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5009 Update #include.
5010 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5011 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5012 Update #include.
5013 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5014 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5015 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5016 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5017 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5018 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5019 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5020 * sysdeps/x86/bits/semaphore.h: ... here.
5021 * sysdeps/x86/nptl/elide.h: Moved ...
5022 * sysdeps/x86/elide.h: ... here.
5023 * sysdeps/x86_64/nptl/Implies: File removed.
5024 * sysdeps/i386/nptl/Implies: File removed.
5025
0ea5d373
JM
50262014-06-24 Joseph Myers <joseph@codesourcery.com>
5027
4060283d
JM
5028 [BZ #16539]
5029 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5030 return the argument for normal arguments with exponent below -64.
5031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5032 Likewise.
5033 * math/auto-libm-test-in: Add another test of expm1.
5034 * math/auto-libm-test-out: Regenerated.
5035
e7dd3c8c
JM
5036 [BZ #16287]
5037 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5038 calling __erfcl for arguments at least 16.
5039 * math/auto-libm-test-in: Add more tests of erf.
5040 * math/auto-libm-test-out: Regenerated.
5041
0ea5d373
JM
5042 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5043 individual architectures.
5044 * sysdeps/unix/sysv/linux/configure: Regenerated.
5045 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5046 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5047 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5048 (ldd_rewrite_script): Define variable.
5049 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5051 file.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5053 generated file.
5054 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5055 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5056 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5057 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5058 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5059 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5060 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5061 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5062
2307e126
SP
50632014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5064
5065 [BZ #17084]
5066 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5067 Rename member __data.d to __data.__elision_data.
5068
c0a4ed77
W
50692014-06-24 Wilco <wdijkstr@arm.com>
5070
5071 * NEWS: Add 16918 to fixed bug list.
5072
b8c00573
W
50732014-06-24 Wilco <wdijkstr@arm.com>
5074
5075 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5076
b5570d92
W
50772014-06-24 Wilco <wdijkstr@arm.com>
5078
5079 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5080 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5081 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5082 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5083 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5084 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5085 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5086 Use _FPU_MASK_RM.
5087
947bdca2
W
50882014-06-24 Wilco <wdijkstr@arm.com>
5089
5090 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5091
00f669ed
W
50922014-06-24 Wilco <wdijkstr@arm.com>
5093
5094 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5095 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5096 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5097 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5098
db59bad3
W
50992014-06-24 Wilco <wdijkstr@arm.com>
5100
5101 [BZ #16918]
5102 * sysdeps/arm/feupdateenv.c (feupdateenv):
5103 Rewrite to reduce FPSCR accesses and fix return value.
5104
001f7b77
W
51052014-06-24 Wilco <wdijkstr@arm.com>
5106
5107 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5108 Optimize to avoid unnecessary FPSCR writes.
5109 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5110 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5111 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5112 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5113
4841e6a6
W
51142014-06-24 Wilco <wdijkstr@arm.com>
5115
5116 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5117 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5118 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5119 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5120 Call libc_fetestexcept_vfp.
5121 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5122 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5123 __SOFTFP__ ifdef so that they can be built for softfp.
5124
0813022c
SP
51252014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5126
08e5862f
SP
5127 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5128 argument type signed char.
5129
0813022c
SP
5130 * Makerules (check-abi): Dump diff of symlist if the test
5131 fails.
5132
3fc7236a
RM
51332014-06-23 Roland McGrath <roland@hack.frob.com>
5134
aba8ef95
RM
5135 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5136 using abort.
5137
3fc7236a
RM
5138 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5139 Remove unused variable ST.
5140
4da6db51
JM
51412014-06-23 Joseph Myers <joseph@codesourcery.com>
5142
4648909d
JM
5143 [BZ #16354]
5144 [BZ #17061]
5145 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5146 small arguments before calling __expm1.
5147 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5148 small arguments before calling __expm1f.
5149 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5150 small arguments before calling __expm1l.
5151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5152 Likewise.
5153 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5154 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5155 spurious underflow for some cosh tests.
5156 * math/auto-libm-test-out: Regenerated.
5157 * sysdeps/i386/fpu/libm-test-ulps: Update.
5158
46a3d3c7
JM
5159 [BZ #17050]
5160 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5161 (__ieee754_y1): Set errno if return value overflows.
5162 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5163 (__ieee754_y1f): Set errno if return value overflows.
5164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5165 (__ieee754_y1l): Set errno if return value overflows.
5166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5167 (__ieee754_y1l): Set errno if return value overflows.
5168 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5169 * math/auto-libm-test-out: Regenerated.
5170
863893ec
JM
5171 * math/gen-auto-libm-tests.c: Document use of
5172 ignore-zero-inf-sign.
5173 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5174 (input_flags): Add ignore-zero-inf-sign.
5175 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5176 * math/gen-libm-test.pl (generate_testfile): Handle
5177 ignore-zero-inf-sign.
5178 * math/auto-libm-test-in: Mark some cpow tests with
5179 ignore-zero-inf-sign and some with xfail-rounding.
5180 * math/auto-libm-test-out: Regenerated.
5181 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5182 * sysdeps/i386/fpu/libm-test-ulps: Update.
5183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5184
4da6db51
JM
5185 [BZ #16315]
5186 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5187 overflowing or underflowing operations take place with sign of
5188 result.
5189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5191 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5192 (__ieee754_pow): Recompute overflowing and underflowing results in
5193 original rounding mode.
5194 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5195 (__powl_helper): Allow negative argument X and scale negated value
5196 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5197 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5198 overflowing or underflowing operations take place with sign of
5199 result.
5200 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5201 Include <math.h>.
5202 * math/auto-libm-test-in: Add more tests of pow.
5203 * math/auto-libm-test-out: Regenerated.
5204 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5205 (pow_tonearest_test_data): Remove.
5206 (pow_test_tonearest): Likewise.
5207 (pow_towardzero_test_data): Likewise.
5208 (pow_test_towardzero): Likewise.
5209 (pow_downward_test_data): Likewise.
5210 (pow_test_downward): Likewise.
5211 (pow_upward_test_data): Likewise.
5212 (pow_test_upward): Likewise.
5213 (main): Don't call removed functions.
5214 * sysdeps/i386/fpu/libm-test-ulps: Update.
5215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5216
5686b236
RM
52172014-06-23 Roland McGrath <roland@hack.frob.com>
5218
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5220 Moved ...
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5223 Moved ...
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5226 Moved ...
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5229 Moved ...
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5232 File removed.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5234 File removed.
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5236 File removed.
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5238 File removed.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5240 File removed.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5242 File removed.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5244 File removed.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5246 File removed.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5248 File removed.
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5250 File removed.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5252 File removed.
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5254 File removed.
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5256 Moved ...
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5259 Moved ...
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5261 ... here.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5263 Moved ...
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5266 Moved ...
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5269 Moved ...
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5272 Moved ...
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5275 Moved ...
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5278 Moved ...
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5281 Moved ...
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5285 ... here.
5286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5287 Moved ...
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5290 Moved ...
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5292 ... here.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5294 Moved ...
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5296 ... here.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5298 Moved ...
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5300 ... here.
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5302 Moved ...
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5305 Moved ...
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5310 Moved ...
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5312 ... here.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5314 Moved ...
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5316 ... here.
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5318 Moved ...
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5321 Moved ...
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5324 Moved ...
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5327 Moved ...
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5330 Moved ...
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5332 ... here.
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5334 Moved ...
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5337 Moved ...
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5340 Moved ...
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5343 Moved ...
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5348 Moved ...
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5351 Moved ...
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5354 Moved ...
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5356 ... here.
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5358 Moved ...
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5360 ... here.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5362 Moved ...
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5364 ... here.
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5366 Moved ...
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5369 Moved ...
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5372 Moved ...
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5375 Moved ...
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5377 ... here.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5379 Moved ...
5380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5381 ... here.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5383 Moved ...
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5385 ... here.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5387 Moved ...
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5390 Moved ...
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5392
e6d90d67
WD
53932014-06-23 Will Newton <will.newton@linaro.org>
5394 Wilco <wdijkstr@arm.com>
5395
5396 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5397 implementation. Include get-rounding-mode.h.
5398 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5399 [!libc_feholdsetround_noex_ctx]: Define
5400 libc_feholdsetround_noex_ctx.
5401 [!libc_feholdsetround_noexf_ctx]: Define
5402 libc_feholdsetround_noexf_ctx.
5403 [!libc_feholdsetround_noexl_ctx]: Define
5404 libc_feholdsetround_noexl_ctx.
5405 (libc_feholdsetround_ctx): New function.
5406 (libc_feresetround_ctx): New function.
5407 (libc_feholdsetround_noex_ctx): New function.
5408 (libc_feresetround_noex_ctx): New function.
5409
d42df555
RM
54102014-06-23 Roland McGrath <roland@hack.frob.com>
5411
88a46474
RM
5412 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5413 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5414 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5415 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5416 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5417 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5418
15bed472
RM
5419 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5420 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5421 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5422 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5423 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5424 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5426 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5428 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5430 Moved ...
5431 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5432 ... here.
5433 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5434 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5438 Moved ...
5439 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5445 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5447 Moved ...
5448 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5450 Moved ...
5451 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5453 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5455 Moved ...
5456 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5458 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5460 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5461 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5462 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5466 Moved ...
5467 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5468 ... here.
5469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5474 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5482 Moved ...
5483 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5485 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5487 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5489 Moved ...
5490 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5492 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5493 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5494 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5495
d42df555
RM
5496 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5497 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5498 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5499 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5500 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5501 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5502 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5503 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5505 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5507 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5509 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5511 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5512 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5513 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5514 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5515 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5517 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5518 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5519 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5520 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5521 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5523 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5524
76e5216e
JM
55252014-06-23 Joseph Myers <joseph@codesourcery.com>
5526
5527 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5528 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5529 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5530 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5531 (IPV6_PMTUDISC_INTERFACE): Likewise.
5532 (IPV6_PMTUDISC_OMIT): Likewise.
5533
7a81cbcc
AS
55342014-06-23 Andreas Schwab <schwab@suse.de>
5535
5536 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5537 Remove unused errout label.
5538
db224009
AZ
55392014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540
5541 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5542 macro: hardware supports Vector Crypto instructions.
5543
f393b4aa
WN
55442014-06-23 Will Newton <will.newton@linaro.org>
5545
cc7d0447
WN
5546 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5547 rather than __builtin_expect.
5548
d6d06225
WN
5549 * elf/dl-lookup.c (undefined_msg): Remove variable.
5550 (_dl_lookup_symbol_x): Replace undefined_msg with string
5551 literal.
5552
f393b4aa
WN
5553 * elf/dl-lookup.c (do_lookup_unique): New function.
5554 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5555 to a separate function.
5556
ac60763e
AS
55572014-06-23 Andreas Schwab <schwab@suse.de>
5558
5559 [BZ #17079]
5560 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5561 before reading the next line.
5562
c5c13355
WN
55632014-06-23 Will Newton <will.newton@linaro.org>
5564
5565 * test-skeleton.c (signal_handler): Use printf and %m
5566 rather than perror. Use printf rather than fprintf to
5567 stderr. Use puts rather than fputs to stderr.
5568 (main): Likewise.
5569
bd3675f9
LC
55702014-06-22 Ludovic Courtès <ludo@gnu.org>
5571
5572 * nscd/nscd.c (thread_info_t): Remove typedef.
5573 (thread_info): Remove variable.
5574
d03efb2f
AM
55752014-06-21 Allan McRae <allan@archlinux.org>
5576
5577 * NEWS: Mention CVE-2014-4043.
5578
bc4a86fa
RM
55792014-06-20 Roland McGrath <roland@hack.frob.com>
5580
dc9a54f8
RM
5581 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5582 * nptl/smp.h: ... here.
5583
bd7022c4
RM
5584 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5585
26ffd5e6
RM
5586 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5587 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5588 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5589 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5590
93a6d082
RM
5591 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5592 * nptl/stack-aliasing.h: New file.
5593 * sysdeps/i386/i686/stack-aliasing.h: New file.
5594 * sysdeps/i386/i686/nptl/Makefile: File removed.
5595 * sysdeps/x86_64/stack-aliasing.h: New file.
5596 * sysdeps/x86_64/nptl/Makefile
5597 (CFLAGS-pthread_create.c): Variable removed.
5598
bc4a86fa
RM
5599 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5600 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5601 old file.
5602 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5603 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5604 old file.
5605
2272ffc1
JM
56062014-06-21 Joseph Myers <joseph@codesourcery.com>
5607
5608 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5609 (__ASSUME_SIGFRAME_V2): Remove macro.
5610 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5611 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5612 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5613 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5614 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5615 Declare as function. Remove conditional macro definitions.
5616 (__default_rt_sa_restorer): Likewise.
5617 (__default_sa_restorer_v1): Remove declaration.
5618 (__default_sa_restorer_v2): Likewise.
5619 (__default_rt_sa_restorer_v1): Likewise.
5620 (__default_rt_sa_restorer_v2): Likewise.
5621 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5622 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5623 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5624
4b88139b
RM
56252014-06-20 Roland McGrath <roland@hack.frob.com>
5626
5627 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5628 (libpthread-routines): Add sysdep.
5629 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5630 * sysdeps/unix/sysv/linux/sparc/Versions
5631 (libpthread: GLIBC_2.3.3): New version set.
5632 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5633 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5634 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5636 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5637 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5638 Moved ...
5639 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5640 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5641 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5642 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5643 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5645 * sysdeps/sparc/nptl/sem_init.c: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5647 * sysdeps/sparc/nptl/sem_post.c: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5649 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5651 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5653 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5654 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5655 (libpthread-routines): Add cpu_relax.
5656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5657 File removed.
5658 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5659 (librt: GLIBC_2.3.3): New version set.
5660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5661 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5662 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5663 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5666 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5668 Moved ...
5669 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5671 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5673 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5675 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5677 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5679 Moved ...
5680 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5681 Update #include.
5682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5683 Moved ...
5684 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5685 Update #include.
5686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5687 Moved ...
5688 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5689 Update #include.
5690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5691 Moved ...
5692 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5693 Update #include.
5694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5695 Moved ...
5696 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5697 Update #include.
5698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5699 Moved ...
5700 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5701 Update #include.
5702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5703 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5711 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5713 Moved ...
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5716 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5718 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5719
d7109027
JM
57202014-06-20 Joseph Myers <joseph@codesourcery.com>
5721
9bc6103d
JM
5722 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5723 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5724 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5725 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5726 * nscd/nscd.c: Likewise.
5727 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5728 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5729 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5730 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5731
d7109027
JM
5732 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5733 <kernel-features.h>.
5734 (init_mq_netlink): Remove conditional have_sock_cloexec
5735 definitions. Remove code conditional on have_sock_cloexec < 0.
5736 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5737 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5738 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5739 <kernel-features.h>.
5740 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5741 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5742
d92d8f8a
L
57432014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5744
5745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5746 Add tests for memset_chk and memset.
5747
5748 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5749 with AVX2_Usable.
5750
4e6d2347
MR
57512014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5752
257ce712
MR
5753 [BZ #16046]
5754 * elf/tst-dl-iter-static.c: New file.
5755 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5756
4e6d2347
MR
5757 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5758 error.
5759
a2a76afe
JM
57602014-06-20 Joseph Myers <joseph@codesourcery.com>
5761
7fd00f99
JM
5762 * sysdeps/unix/sysv/linux/kernel-features.h
5763 (__ASSUME_F_GETOWN_EX): Remove macro.
5764 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5765 <kernel-features.h>.
5766 (miss_F_GETOWN_EX): Remove variable or macro.
5767 (do_fcntl): Do not check miss_F_GETOWN_EX.
5768 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5769
4a103975
JM
5770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5771 Remove macro.
5772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5773 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5774 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5775
a2a76afe
JM
5776 * sysdeps/unix/sysv/linux/kernel-features.h
5777 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5778 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5779 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5780 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5781
90e5dd48
MR
57822014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5783
5784 [BZ #17075]
5785 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5786 Fix calculation of the symbol's value.
5787 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5788 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5789 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5790 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5791 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5792 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5793 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5794 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5795 (modules-names): Add `tst-armtlsdescmod',
5796 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5797 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5798 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5799 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5800 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5801 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5802 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5803 ($(objpfx)tst-armtlsdescloc): New dependency.
5804 ($(objpfx)tst-armtlsdescextnow): Likewise.
5805 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5806 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5807 TLS scheme support.
5808 * sysdeps/arm/configure: Regenerate.
5809
809fdf0d
JM
58102014-06-20 Joseph Myers <joseph@codesourcery.com>
5811
5812 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5813 (__atfct_seterrno_2): Likewise.
5814 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5815 <kernel-features.h>.
5816 (__ASSUME_ATFCTS): Do not undefine and redefine.
5817 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5818 (__have_atfcts): Remove conditional definition.
5819 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5820 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5821 unreachable if [__ASSUME_ATFCTS].
5822 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5823 not undefine and redefine.
5824 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5825 <kernel-features.h>.
5826 (faccessat) [__NR_faccessat]: Make code unconditional.
5827 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5828 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5829 <kernel-features.h>.
5830 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5831 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5832 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5833 <kernel-features.h>.
5834 (fchownat) [__NR_fchownat]: Make code unconditional.
5835 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5836 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5837 <kernel-features.h>.
5838 (futimesat) [__NR_futimesat]: Make code unconditional.
5839 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5840 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5841 <kernel-features.h>.
5842 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5843 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5844 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5845 <kernel-features.h>.
5846 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5847 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5848 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5849 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5850 <kernel-features.h>.
5851 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5852 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5853 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5854 <kernel-features.h>.
5855 (linkat) [__NR_linkat]: Make code unconditional.
5856 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5857 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5858 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5859 <kernel-features.h>.
5860 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5861 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5862 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5863 <kernel-features.h>.
5864 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5865 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5866 * sysdeps/unix/sysv/linux/openat.c: Do not include
5867 <kernel-features.h>.
5868 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5869 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5870 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5871 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5872 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5873 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5874 <kernel-features.h>.
5875 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5876 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5877 result of INLINE_SYSCALL directly, not via int variable.
5878 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5879 <kernel-features.h>.
5880 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5881 (renameat) [__NR_renameat]: Make code unconditional.
5882 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5883 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5884 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5885 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5887 (__ASSUME_ATFCTS): Do not undefine and redefine.
5888 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5889 <kernel-features.h>.
5890 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5891 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5892 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5893 <kernel-features.h>.
5894 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5895 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5896 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5897 (__ASSUME_ATFCTS): Do not undefine and redefine.
5898 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5899 <kernel-features.h>.
5900 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5901 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5902 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5903 <kernel-features.h>.
5904 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5905 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5906
224c6c51
L
59072014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5908
5909 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5910
aa6ec754
AS
59112014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5912
5913 [BZ #17069]
5914 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5915 constructed tree before returning error.
5916 * posix/bug-regexp36.c: Expand test case.
5917
d8c2869d
SL
59182014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5919
3ef6b850
SL
5920 [BZ #6803]
5921 * math/libm-test.inc (scalbln_test_date):
5922 Add errno expectations.
5923 * math/w_scalblnf.c: New File.
5924 Add wrapper which checks for setting errno to ERANGE.
5925 Add weak_alias for corresponding scalbln function.
5926 * math/w_scalbln.c: Likewise.
5927 * math/w_scalblnl.c: Likewise.
5928 * math/Makefile (libm-calls): Add w_scalbln.
5929 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5930 Remove weak_alias for corresponding scalbln function.
5931 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5933 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5935 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5936 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5937 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5938 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5939 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5940 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5941 Remove long_double_symbol for scalblnl function in libm, libc.
5942 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5943 Add wrapper which checks for setting errno to ERANGE.
5944 Add long_double_symbol for scalblnl function in libm, libc.
5945 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5946 Remove long_double_symbol for scalblnl in libm.
5947 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5948 Add wrapper which checks for setting errno to ERANGE.
5949 Add long_double_symbol for scalblnl function in libm.
5950 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5951 Do not use wrapper because of own implementation.
5952
c8daec5c
L
59532014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5956 3 bytes for __pad1 for x32.
5957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5958
5c74e47c
LM
59592014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5960 H.J. Lu <hongjiu.lu@intel.com>
5961
5962 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5963 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5964 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5965 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5966 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5967
4d43ef1e
AS
59682014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5969
5970 [BZ #17069]
5971 * posix/regcomp.c (parse_expression): Deallocate partially
5972 constructed tree before returning error.
5973 * posix/Makefile.c (tests): Add bug-regex36.
5974 (generated): Add bug-regex36.mtrace.
5975 (tests-special): Add $(objpfx)bug-regex36-mem.out
5976 (bug-regex36-ENV): New variable.
5977 ($(objpfx)bug-regex36-mem.out): New rule.
5978 * posix/bug-regex36.c: New file.
5979
51a7380b
WN
59802014-06-19 Will Newton <will.newton@linaro.org>
5981
5982 * malloc/malloc.c (systrim): If extra is zero then return
5983 early.
5984
91b84fe5
SP
59852014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5986
5987 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5988
f940b965
RE
59892014-06-19 Richard Earnshaw <rearnsha@arm.com>
5990
5991 * sysdeps/aarch64/strchr.S: New file.
5992
4ba7a00f
JM
59932014-06-18 Joseph Myers <joseph@codesourcery.com>
5994
5995 [BZ #17022]
5996 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5997 from arguments -2 or below.
5998 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5999 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6000
b3a9f56b
AS
60012014-06-18 Andreas Schwab <schwab@suse.de>
6002
6003 [BZ #17062]
6004 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6005 of a bracket expr not to run off the end of the string.
6006 * posix/Makefile (tests): Add tst-fnmatch3.
6007 * posix/tst-fnmatch3.c: New file.
6008
85d89278
JM
60092014-06-18 Joseph Myers <joseph@codesourcery.com>
6010
6011 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6012 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6013 [$(cross-compiling) = no]: Likewise.
6014 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6015 [$(cross-compiling) = no]: Likewise.
6016
754c5a08
RS
60172014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6018
6019 [BZ #17031]
6020 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6021 double, adjusted for any remainder from the high double.
6022 * math/libm-test.inc (nearbyint): Add tests.
6023 (rint): Likewise.
6024
556f529d
AZ
60252014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * nptl/sysdeps/powerpc/Makefile: Moved ...
6028 * sysdeps/powerpc/nptl/Makefile: ... here.
6029 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6030 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6031 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6032 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6033 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6034 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6035 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6036 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6037 * nptl/sysdeps/powerpc/tls.h: Moved ...
6038 * sysdeps/powerpc/nptl/tls.h: ... here.
6039
91c03c53
JM
60402014-06-16 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #16681]
6043 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6044 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6045 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6046 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6047 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6048 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6049 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6050 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6051 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6052
a76e63c5
AS
60532014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6054
6055 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6056
f2f6d82f
AS
60572014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6058
ea8a15f6
AS
6059 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6060 defined operator.
6061
f2f6d82f
AS
6062 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6063 $TIMEOUTFACTOR.
6064
a7291117
FW
60652014-06-16 Florian Weimer <fweimer@redhat.com>
6066
6067 [BZ #17058]
6068 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6069 non-executed part of the test.
6070
3d7c00e3
AS
60712014-06-16 Andreas Schwab <schwab@suse.de>
6072
6073 * string/bits/string2.h (strdup, strndup): Update feature guard.
6074
6957fb31
DM
60752014-06-14 David S. Miller <davem@davemloft.net>
6076
6077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6078
11b9e55b
AS
60792014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6080
1d2a0492
AS
6081 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6082 that was previously under [RESET_PID].
6083 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6084
11b9e55b
AS
6085 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6086 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6087 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6088 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6089 (__libc_vfork): New strong alias.
6090 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6091
0f6901d0
AK
60922014-06-14 Andi Kleen <ak@linux.intel.com>
6093
6094 * sysdeps/generic/elide.h: New file.
6095
38bbbb9f
SL
60962014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6097
6098 * Makefile (installed-headers): Adjust path of pthread.h header.
6099
45193bb8
RM
61002014-06-13 Roland McGrath <roland@hack.frob.com>
6101
9a25fd1e
RM
6102 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6103 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6104 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6105 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6106
4004f7e4
RM
6107 * nptl/sysdeps/s390/Makefile: Moved ...
6108 * sysdeps/s390/nptl/Makefile: ... here.
6109 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6110 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6111 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6112 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6113 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6114 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6115 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6116 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6117 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6118 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6119 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6120 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6121 * nptl/sysdeps/s390/tls.h: Moved ...
6122 * sysdeps/s390/nptl/tls.h: ... here.
6123
45193bb8
RM
6124 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6125 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6126
f6fdf533
DM
61272014-06-13 David S. Miller <davem@davemloft.net>
6128
6129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6132 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6136 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6137 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6138 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6140 Remove RESET_PID cpp guards.
6141 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6142 Remove RESET_PID cpp guards.
6143 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6144
f5d71e14
AS
61452014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6146
6147 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6148 __sp to uintptr_t.
6149
b7aa8caa
AK
61502014-06-13 Andi Kleen <ak@linux.intel.com>
6151
4b266200
AZ
6152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6153 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6154 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6155 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6156 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6157 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6158 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6159 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6160 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6161 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6162 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6163 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6165 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6166 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6168 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6169 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6170 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6171 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6172
6173 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6174 (pthread_rwlock_rdlock): Add elision.
6175 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6176 (pthread_rwlock_wrlock): Add elision.
6177 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6178 (pthread_rwlock_trywrlock): Add elision.
6179 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6180 (pthread_rwlock_tryrdlock): Add elision.
6181 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6182 (pthread_rwlock_tryrdlock): Add elision unlock.
6183 * nptl/sysdeps/pthread/pthread.h:
6184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6185 (PTHREAD_RWLOCK_INITIALIZER,
6186 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6187 Handle new elision field.
6188 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6189 * sysdeps/arm/nptl/bits/pthreadtypes.h
6190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6191 * sysdeps/sh/nptl/bits/pthreadtypes.h
6192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6193 * sysdeps/tile/nptl/bits/pthreadtypes.h
6194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6195 * sysdeps/a/nptl/bits/pthreadtypes.h
6196 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6197 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6199 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6201 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6203 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6205 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6207 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6209 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6211 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6213 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6214 (elision_init): Set try_xbegin to zero when no RTM.
6215 * sysdeps/x86/nptl/bits/pthreadtypes.h
6216 (pthread_rwlock_t): Change __pad1 to __rwelision.
6217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6218
a832bdd3
AK
62192014-06-13 Andi Kleen <ak@linux.intel.com>
6220
6221 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6222 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6223 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6224 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6225
995a46bb
MI
62262014-06-13 Meador Inge <meadori@codesourcery.com>
6227
6228 [BZ #16996]
03ed7738 6229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6230 that the cached result has been set before returning it.
6231
45262aee
RM
62322014-06-12 Roland McGrath <roland@hack.frob.com>
6233
febf6cc5
RM
6234 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6235 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6237 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6238 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6239 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6240
e2682246
RM
6241 * nptl/sysdeps/sparc/Makefile: Moved ...
6242 * sysdeps/sparc/nptl/Makefile: ... here.
6243 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6244 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6245 * nptl/sysdeps/sparc/tls.h: Moved ...
6246 * sysdeps/sparc/nptl/tls.h: ... here.
6247 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6248 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6249 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6250 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6251 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6252 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6253 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6254 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6255 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6256 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6257 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6258 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6259 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6260 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6261 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6262 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6263 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6264 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6265 Update #include.
6266 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6267 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6268 Update #include.
6269 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6270 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6271 Update #include.
6272 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6273 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6274 Update #include.
6275
b0725f43
RM
6276 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6277
b14368b8
RM
6278 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6279 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6280
c5620eb3
RM
6281 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6282 (struct list_links): Type removed.
6283 (struct thread_node, struct timer_node): Replace struct list_links
6284 with struct list_head.
6285 (list_unlink_ip): Likewise.
6286 * sysdeps/pthread/timer_routines.c
6287 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6288 (list_append, list_insbefore): Likewise.
6289 (list_init): Function removed.
6290 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6291 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6292 * sysdeps/pthread/Makefile: ... here, new file.
6293
6294 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6295 * sysdeps/nptl/Implies: ... here.
6296 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6297 * nptl/sysdeps/pthread/list.h: Moved ...
6298 * include/list.h: ... here.
6299 * nptl/sysdeps/pthread/createthread.c: Moved ...
6300 * nptl/createthread.c: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6302 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6303 * nptl/pt-longjmp.c: ... here.
6304 * nptl/sysdeps/pthread/Makefile: Moved ...
6305 * sysdeps/nptl/Makefile: ... here.
6306 * nptl/sysdeps/pthread/Subdirs: Moved ...
6307 * sysdeps/nptl/Subdirs: ... here.
6308 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6309 * sysdeps/nptl/aio_misc.h: ... here.
6310 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6311 * sysdeps/nptl/bits/libc-lock.h: ... here.
6312 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6313 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6314 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6315 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6316 * nptl/sysdeps/pthread/configure: Moved ...
6317 * sysdeps/nptl/configure: ... here.
6318 * nptl/sysdeps/pthread/configure.ac: Moved ...
6319 * sysdeps/nptl/configure.ac: ... here.
6320 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6321 * sysdeps/nptl/gai_misc.h: ... here.
6322 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6323 * sysdeps/nptl/librt-cancellation.c: ... here.
6324 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6325 * sysdeps/nptl/malloc-machine.h: ... here.
6326 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6327 * sysdeps/nptl/pthread-functions.h: ... here.
6328 * nptl/sysdeps/pthread/pthread.h: Moved ...
6329 * sysdeps/nptl/pthread.h: ... here.
6330 * nptl/sysdeps/pthread/setxid.h: Moved ...
6331 * sysdeps/nptl/setxid.h: ... here.
6332 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6333 * sysdeps/nptl/sigfillset.c: ... here.
6334 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6335 * sysdeps/nptl/tcb-offsets.h: ... here.
6336 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6337 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6338 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6339 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6340 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6341 * sysdeps/pthread/allocalim.h: ... here.
6342 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6343 * sysdeps/pthread/bits/sigthread.h: ... here.
6344 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6345 * sysdeps/pthread/flockfile.c: ... here.
6346 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6347 * sysdeps/pthread/ftrylockfile.c: ... here.
6348 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6349 * sysdeps/pthread/funlockfile.c: ... here.
6350 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6351 * sysdeps/pthread/posix-timer.h: ... here.
6352 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6353 * sysdeps/pthread/timer_create.c: ... here.
6354 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6355 * sysdeps/pthread/timer_delete.c: ... here.
6356 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6357 * sysdeps/pthread/timer_getoverr.c: ... here.
6358 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6359 * sysdeps/pthread/timer_gettime.c: ... here.
6360 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6361 * sysdeps/pthread/timer_routines.c: ... here.
6362 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6363 * sysdeps/pthread/timer_settime.c: ... here.
6364 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6365 * sysdeps/pthread/tst-timer.c: ... here.
6366 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6367 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6368
e876b090
RM
6369 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6370 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6371
f6b07b3d
RM
6372 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6373 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6374 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6375 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6376 Update #include target.
6377 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6378 * sysdeps/i386/i686/nptl/Makefile: ... here.
6379 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6380 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6381 Update #include target.
6382 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6383 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6384 * nptl/sysdeps/i386/Makefile: Moved ...
6385 * sysdeps/i386/nptl/Makefile: ... here.
6386 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6387 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6388 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6389 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6390 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6391 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6392 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6393 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6394 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6395 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6396 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6397 * nptl/sysdeps/i386/tls.h: Moved ...
6398 * sysdeps/i386/nptl/tls.h: ... here.
6399
45262aee
RM
6400 * sysdeps/sh/Makefile [$(subdir) = csu]
6401 (gen-as-const-headers): Add tcb-offsets.sym.
6402 * nptl/sysdeps/sh/Makefile: File removed.
6403 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6404 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6405 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6406 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6407 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6408 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6409 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6410 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6411 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6412 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6413 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6414 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6415 * nptl/sysdeps/sh/tls.h: Moved ...
6416 * sysdeps/sh/nptl/tls.h: ... here.
6417 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6418 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6419 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6420 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6421 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6422 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6423 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6424 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6425 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6426 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6428 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6429 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6430 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6431 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6432 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6433 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6434 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6435 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6436 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6438 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6440 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6442 Moved ...
6443 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6444 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6445 Moved ...
6446 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6448 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6449 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6450 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6451 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6452 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6453 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6454 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6455 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6456 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6457 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6458 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6459 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6460 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6461 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6462 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6463 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6464 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6465
35a5e3e3
SL
64662014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6467
6468 * posix/spawn_faction_addopen.c: Include string.h.
6469
14642b85
RM
64702014-06-11 Roland McGrath <roland@hack.frob.com>
6471
6472 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6473 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6474 * nptl/sysdeps/x86_64/Makefile: Moved ...
6475 * sysdeps/x86_64/nptl/Makefile: ... here.
6476 * nptl/sysdeps/x86_64/configure: Moved ...
6477 * sysdeps/x86_64/nptl/configure: ... here.
6478 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6479 * sysdeps/x86_64/nptl/configure.ac: ... here.
6480 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6481 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6482 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6483 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6484 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6485 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6486 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6487 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6488 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6489 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6490 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6491 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6492 * nptl/sysdeps/x86_64/tls.h: Moved ...
6493 * sysdeps/x86_64/nptl/tls.h: ... here.
6494 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6495 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6496 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6497 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6498
6499 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6500
31c44fea
AZ
65012014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6502
6503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6504
e81a4f9a
JM
65052014-06-11 Joseph Myers <joseph@codesourcery.com>
6506
6507 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6508 type.
6509 [POSIX] (off_t): Likewise.
6510 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6511 [POSIX] (S_ISBLK): Require macro.
6512 [POSIX] (S_ISCHR): Likewise.
6513 [POSIX] (S_ISDIR): Likewise.
6514 [POSIX] (S_ISFIFO): Likewise.
6515 [POSIX] (S_ISREG): Likewise.
6516 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6517 optional-macro.
6518 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6519 type.
6520 [POSIX] (time_t): Likewise.
6521 [POSIX] (timer_t): Likewise.
6522
89e435f3
FW
65232014-06-11 Florian Weimer <fweimer@redhat.com>
6524
6525 [BZ #17048]
6526 * posix/spawn_int.h (struct __spawn_action): Make the path string
6527 non-const to support deallocation.
6528 * posix/spawn_faction_addopen.c
6529 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6530 * posix/spawn_faction_destroy.c
6531 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6532 path in all spawn_do_open actions.
6533 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6534 posix_spawn_file_actions_addopen.
6535
c3a2ebe1
CM
65362014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6537
6538 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6539 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6540 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6541 conditional code always true.
6542 (__libc_vfork): New alias.
6543
9503784a
RM
65442014-06-11 Roland McGrath <roland@hack.frob.com>
6545
c9cab3d2
RM
6546 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6547 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6548
d3996c79
RM
6549 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6550
ba5ec611
RM
6551 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6552 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6553
f12b4814
RM
6554 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6555 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6556
9503784a
RM
6557 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6558 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6559
e23d3d26
VR
65602014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6561
6562 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6563 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6564 multiarch strcmp for PPC64.
6565 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6566 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6568 multiarch optimizations.
6569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6570 (__libc_ifunc_impl_list): Likewise.
6571
42b1161e
SP
65722014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6573
6574 * benchtests/scripts/validate_benchout.py: New script.
6575 * benchtests/Makefile (bench-func): Call it.
6576 * benchtests/scripts/benchout.schema.json: New file.
6577
2d0fc4dc
CM
65782014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6579
4a594c34
AZ
6580 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6581 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6582 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6583 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6584 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6585 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6586 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6587 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6588 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6589 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6590 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6591 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6592 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6593 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6594 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6595 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6597 Moved ...
4a594c34 6598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6599 ... here.
4a594c34 6600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6601 Moved ...
4a594c34
AZ
6602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6604 Moved ...
4a594c34 6605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6606 ... here.
4a594c34 6607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6608 Moved ...
4a594c34 6609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6610 ... here.
4a594c34 6611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6612 Moved ...
4a594c34
AZ
6613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6615 Moved ...
4a594c34 6616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6617 ... here.
4a594c34 6618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6619 Moved ...
4a594c34 6620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6621 ... here.
4a594c34 6622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6623 Moved ...
4a594c34
AZ
6624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6626 Moved ...
4a594c34 6627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6628 ... here.
4a594c34 6629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6630 Moved ...
4a594c34 6631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6632 ... here.
4a594c34 6633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6634 Moved ...
4a594c34 6635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6636 ... here.
4a594c34 6637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6638 Moved ...
4a594c34
AZ
6639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6641 Moved ...
4a594c34 6642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6643 ... here.
4a594c34 6644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6645 Moved ...
4a594c34 6646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6647 ... here.
4a594c34 6648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6649 Moved ...
4a594c34 6650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6651 ... here.
4a594c34 6652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6653 Moved ...
4a594c34
AZ
6654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6656 Moved ...
4a594c34 6657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6658 ... here.
4a594c34 6659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6660 Moved ...
4a594c34 6661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6662 ... here.
4a594c34 6663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6664 Moved ...
4a594c34
AZ
6665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6667 Moved ...
4a594c34 6668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6669 ... here.
4a594c34 6670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6671 Moved ...
4a594c34
AZ
6672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6674 Moved ...
4a594c34
AZ
6675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6677 Moved ...
4a594c34 6678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6679 ... here.
4a594c34 6680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6681 Moved ...
4a594c34 6682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6683 ... here.
4a594c34 6684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6685 Moved ...
4a594c34 6686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6687 ... here.
4a594c34 6688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6689 Moved ...
4a594c34
AZ
6690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6692 Moved ...
4a594c34 6693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6694 ... here.
4a594c34 6695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6696 Moved ...
4a594c34 6697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6698 ... here.
4a594c34
AZ
6699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6700 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6701 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6702 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6703 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6704 Moved ...
4a594c34 6705 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6706 ... here.
4a594c34
AZ
6707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6708 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6720 Moved ...
4a594c34
AZ
6721 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6723 Moved ...
4a594c34
AZ
6724 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6726 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6728 Moved ...
4a594c34
AZ
6729 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6730 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6731 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6732 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6733 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6734 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6735 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6736
0570cfed
W
67372014-06-10 Wilco <wdijkstr@arm.com>
6738
6739 * math/test-fenv-return.c: New file.
6740 * math/Makefile: Add new test test-fenv-return.
6741
f8ba1b56
JM
67422014-06-10 Joseph Myers <joseph@codesourcery.com>
6743
6744 [BZ #17042]
6745 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6746 when x - 1 is zero.
6747 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6748 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6749 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6750 0.0L for an argument of 1.0L.
6751 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6752 Likewise.
6753 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6754 value when x - 1 is zero.
6755 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6756 * sysdeps/i386/fpu/libm-test-ulps: Update.
6757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6758
2c3520d9
BO
67592014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6760
6761 [BZ #15119]
6762 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6763
acaa4d24
RM
67642014-06-09 Roland McGrath <roland@hack.frob.com>
6765
6766 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6767 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6768
962b744d
RM
67692014-06-09 Roland McGrath <roland@hack.frob.com>
6770
d752f0cc
RM
6771 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6772 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6773
34eda6d1
RM
6774 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6775 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6776
50f0a637
RM
6777 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6778 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6779
08f41f04
RM
6780 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6781 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6782
962b744d
RM
6783 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6784 if not already defined.
6785 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6786 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6787 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6788 (TLS_INIT_TP): Use it.
6789 (TLS_DEFINE_INIT_TP): New macro.
6790 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6791
09f19b05
JM
67922014-06-09 Joseph Myers <joseph@codesourcery.com>
6793
6794 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6795 constant.
6796 [POSIX] (IXANY): Likewise.
6797 [POSIX] (OLCUC): Likewise.
6798 [POSIX || POSIX2008] (CBAUD): Do not allow.
6799 [POSIX || POSIX2008] (DEFECHO): Likewise.
6800 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6801 [POSIX || POSIX2008] (ECHOKE): Likewise.
6802 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6803 [POSIX || POSIX2008] (EXTA): Likewise.
6804 [POSIX || POSIX2008] (EXTB): Likewise.
6805 [POSIX || POSIX2008] (FLUSHO): Likewise.
6806 [POSIX || POSIX2008] (LOBLK): Likewise.
6807 [POSIX || POSIX2008] (PENDIN): Likewise.
6808 [POSIX || POSIX2008] (SWTCH): Likewise.
6809 [POSIX || POSIX2008] (VDISCARD): Likewise.
6810 [POSIX || POSIX2008] (VDSUSP): Likewise.
6811 [POSIX || POSIX2008] (VLNEXT): Likewise.
6812 [POSIX || POSIX2008] (VREPRINT): Likewise.
6813 [POSIX || POSIX2008] (VSTATUS): Likewise.
6814 [POSIX || POSIX2008] (VWERASE): Likewise.
6815 (B*): Change to B[0123456789]*.
6816 * conform/data/time.h-data [POSIX || UNIX98]
6817 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6818 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6819 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6820 [POSIX] (tm_*): Do not allow.
6821
686554bf
JM
68222014-06-07 Joseph Myers <joseph@codesourcery.com>
6823
6824 * Makefile (install): Don't set LANGUAGE.
6825 * Makefile.in (install): Likewise.
6826 * assert/Makefile (test-assert-ENV): Remove variable.
6827 (test-assert-perr-ENV): Likewise.
6828 * elf/Makefile (neededtest4-ENV): Likewise.
6829 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6830 [$(cross-compiling) = no]: Don't set LANGUAGE.
6831 * io/ftwtest-sh (LANG): Remove variable.
6832 * libio/Makefile (tst-widetext-ENV): Likewise.
6833 * manual/install.texi (Running make install): Don't refer to
6834 environment settings for make install.
6835 * INSTALL: Regenerated.
6836 * nptl/tst-tls6.sh: Don't set LANG.
6837 * posix/globtest.sh (LANG): Remove variable.
6838 * string/Makefile (tester-ENV): Likewise.
6839 (inl-tester-ENV): Likewise.
6840 (noinl-tester-ENV): Likewise.
6841 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6842 [$(cross-compiling) = no]: Don't set LANGUAGE.
6843 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6844 without explicit environment settings.
6845
68e6b6b1
RM
68462014-06-06 Roland McGrath <roland@hack.frob.com>
6847
6848 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6849 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6851 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6852
4d3ae034
CM
68532014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6854
6855 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6856 other files in the crypt directory.
6857 * crypt/crypt.c: Remove duplicate includes.
6858 * crypt/crypt-entry.c: Likewise.
6859 * crypt/crypt_util.c: Likewise.
6860
8540f6d2
JM
68612014-06-06 Joseph Myers <joseph@codesourcery.com>
6862
6863 * Makeconfig (run-program-env): New variable.
6864 (run-program-prefix-before-env): Likewise.
6865 (run-program-prefix-after-env): Likewise.
6866 (run-program-prefix): Define in terms of new variables.
6867 (built-program-cmd-before-env): New variable.
6868 (built-program-cmd-after-env): Likewise.
6869 (built-program-cmd): Define in terms of new variables.
6870 (test-program-prefix-before-env): New variable.
6871 (test-program-prefix-after-env): Likewise.
6872 (test-program-prefix): Define in terms of new variables.
6873 (test-program-cmd-before-env): New variable.
6874 (test-program-cmd-after-env): Likewise.
6875 (test-program-cmd): Define in terms of new variables.
6876 * Rules (make-test-out): Use $(run-program-env).
6877 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6878 (help): Do not mention environment variables. Mention
6879 --timeoutfactor option.
6880 (timeoutfactor): New variable.
6881 (blacklist_exports): Remove function.
6882 (exports): Remove variable.
6883 (command): Do not include ${exports}.
6884 * manual/install.texi (Configuring and compiling): Do not mention
6885 test wrappers preserving environment variables. Mention that last
6886 assignment to a variable must take precedence.
6887 * INSTALL: Regenerated.
6888 * benchtests/Makefile (run-bench): Use $(run-program-env).
6889 * catgets/Makefile ($(objpfx)test1.cat): Use
6890 $(built-program-cmd-before-env), $(run-program-env) and
6891 $(built-program-cmd-after-env).
6892 ($(objpfx)test2.cat): Do not specify environment variables
6893 explicitly.
6894 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6895 $(run-program-env) and $(built-program-cmd-after-env).
6896 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6897 $(run-program-env) and $(test-program-cmd-after-env).
6898 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6899 explicitly.
6900 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6901 run_program_env and test_program_cmd_after_env arguments.
6902 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6903 * elf/tst-pathopt.sh: Use run_program_env argument.
6904 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6905 $(test-wrapper-env) and $(run-program-env).
6906 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6907 run_program_env arguments.
6908 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6909 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6910 $(test-program-prefix-before-env), $(run-program-env) and
6911 $(test-program-prefix-after-env).
6912 ($(objpfx)tst-gettext2.out): Likewise.
6913 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6914 run_program_env and test_program_prefix_after_env arguments.
6915 * intl/tst-gettext2.sh: Likewise.
6916 * intl/tst-gettext4.sh: Do not set environment variables
6917 explicitly.
6918 * intl/tst-gettext6.sh: Likewise.
6919 * intl/tst-translit.sh: Likewise.
6920 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6921 $(test-program-prefix-before-env), $(run-program-env) and
6922 $(test-program-prefix-after-env).
6923 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6924 run_program_env and test_program_prefix_after_env arguments.
6925 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6926 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6927 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6928 explicitly with each use of ${test_wrapper_env}.
6929 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6930 $(test-program-prefix-before-env), $(run-program-env) and
6931 $(test-program-prefix-after-env).
6932 * posix/tst-getconf.sh: Do not set environment variables
6933 explicitly.
6934 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6935 run_program_env and test_program_prefix_after_env arguments.
6936 * stdio-common/tst-printf.sh: Do not set environment variables
6937 explicitly.
6938 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6939 $(test-program-prefix-before-env), $(run-program-env) and
6940 $(test-program-prefix-after-env).
6941 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6942 run_program_env and test_program_prefix_after_env arguments.
6943 Split $test calls into $test_pre and $test.
6944 * timezone/Makefile (build-testdata): Use
6945 $(built-program-cmd-before-env), $(run-program-env) and
6946 $(built-program-cmd-after-env).
6947
ed36bfa1
AZ
69482014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949
6950 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6951 strlen for non SHARED builds.
6952
fc75bf46
SP
69532014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6954
6955 * nptl/allocatestack.c (check_list): Inlined function...
6956 (__reclaim_stacks): ... here.
6957
d89b3d80
OB
69582014-06-05 Ondřej Bílka <neleai@seznam.cz>
6959
6960 [BZ #15698]
6961 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6962 memory overrun.
6963
2bf18041
JM
69642014-06-05 Joseph Myers <joseph@codesourcery.com>
6965
6966 * Rules (make-test-out): Include
6967 LOCPATH=$(common-objpfx)localedata in default environment.
6968 * debug/Makefile (tst-chk1-ENV): Remove variable.
6969 (tst-chk2-ENV): Likewise.
6970 (tst-chk3-ENV): Likewise.
6971 (tst-chk4-ENV): Likewise.
6972 (tst-chk5-ENV): Likewise.
6973 (tst-chk6-ENV): Likewise.
6974 (tst-lfschk1-ENV): Likewise.
6975 (tst-lfschk2-ENV): Likewise.
6976 (tst-lfschk3-ENV): Likewise.
6977 (tst-lfschk4-ENV): Likewise.
6978 (tst-lfschk5-ENV): Likewise.
6979 (tst-lfschk6-ENV): Likewise.
6980 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6981 (tst-iconv7-ENV): Likewise.
6982 * intl/Makefile (LOCPATH-ENV): Likewise.
6983 (tst-codeset-ENV): Likewise.
6984 (tst-gettext3-ENV): Likewise.
6985 (tst-gettext5-ENV): Likewise.
6986 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6987 (tst-fopenloc-ENV): Likewise.
6988 (tst-fgetws-ENV): Remove variable.
6989 (tst-ungetwc1-ENV): Likewise.
6990 (tst-ungetwc2-ENV): Likewise.
6991 (bug-ungetwc2-ENV): Likewise.
6992 (tst-swscanf-ENV): Likewise.
6993 (bug-ftell-ENV): Likewise.
6994 (tst-fgetwc-ENV): Likewise.
6995 (tst-fseek-ENV): Likewise.
6996 (tst-ftell-partial-wide-ENV): Likewise.
6997 (tst-ftell-active-handler-ENV): Likewise.
6998 (tst-ftell-append-ENV): Likewise.
6999 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7000 (tst-regexloc-ENV): Likewise.
7001 (bug-regex1-ENV): Likewise.
7002 (tst-regex-ENV): Likewise.
7003 (tst-regex2-ENV): Likewise.
7004 (bug-regex5-ENV): Likewise.
7005 (bug-regex6-ENV): Likewise.
7006 (bug-regex17-ENV): Likewise.
7007 (bug-regex18-ENV): Likewise.
7008 (bug-regex19-ENV): Likewise.
7009 (bug-regex20-ENV): Likewise.
7010 (bug-regex22-ENV): Likewise.
7011 (bug-regex23-ENV): Likewise.
7012 (bug-regex25-ENV): Likewise.
7013 (bug-regex26-ENV): Likewise.
7014 (bug-regex30-ENV): Likewise.
7015 (bug-regex32-ENV): Likewise.
7016 (bug-regex33-ENV): Likewise.
7017 (bug-regex34-ENV): Likewise.
7018 (bug-regex35-ENV): Likewise.
7019 (tst-rxspencer-ENV): Likewise.
7020 (tst-rxspencer-no-utf8-ENV): Likewise.
7021 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7022 (tst-sscanf-ENV): Likewise.
7023 (tst-swprintf-ENV): Likewise.
7024 (tst-swscanf-ENV): Likewise.
7025 (test-vfprintf-ENV): Likewise.
7026 (scanf13-ENV): Likewise.
7027 (bug14-ENV): Likewise.
7028 (tst-grouping-ENV): Likewise.
7029 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7030 (tst-strtod3-ENV): Likewise.
7031 (tst-strtod4-ENV): Likewise.
7032 (tst-strtod5-ENV): Likewise.
7033 (testmb2-ENV): Likewise./
7034 * string/Makefile (tst-strxfrm-ENV): Likewise.
7035 (tst-strxfrm2-ENV): Likewise.
7036 (bug-strcoll1-ENV): Likewise.
7037 (test-strcasecmp-ENV): Likewise.
7038 (test-strncasecmp-ENV): Likewise.
7039 * time/Makefile (tst-strptime-ENV): Likewise.
7040 (tst-ftime_l-ENV): Likewise.
7041 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7042 (tst-mbrtowc-ENV): Likewise.
7043 (tst-wcrtomb-ENV): Likewise.
7044 (tst-mbrtowc2-ENV): Likewise.
7045 (tst-c16c32-1-ENV): Likewise.
7046 (tst-mbsnrtowcs-ENV): Likewise.
7047
cd1fb604
OB
70482014-06-05 Ondřej Bílka <neleai@seznam.cz>
7049
7050 * manual/resource.texi (How to get information about the memory
7051 subsystem?): Fix typo.
7052 Reported by Peon de la Parra Ivan <peon@keba.com>
7053
b42eca7d
GY
70542014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7055
7056 [BZ #16882]
7057 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7058 (pthread_spin_lock): Branch out of spin loop to proper location.
7059 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7060 (pthread_spin_lock): Likewise.
7061
902b71f9
DM
7062 * nptl/tst-spin4.c: New test.
7063 * nptl/Makefile (tests): Add tst-spin4.
7064
f9d2d032
AS
70652014-06-03 Andreas Schwab <schwab@suse.de>
7066
7067 [BZ #15946]
7068 * resolv/res_send.c (send_dg): Reload file descriptor after
7069 calling reopen.
7070
cf7bfd28
SL
70712014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7072
7073 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7074
111cc714
RH
70752014-06-03 Richard Henderson <rth@redhat.com>
7076
89b4bd6b
RH
7077 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7078 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7079 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7080 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7081 in the SAVE_PID block.
7082 (__libc_vfork): New alias.
71840409 7083 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7084
111cc714
RH
7085 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7086 child in registers, not on the stack. Remove RESET_PID conditionals.
7087 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7088
ccc39911
MS
70892014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7090
7091 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7092
693096cc
W
70932014-06-03 Wilco <wdijkstr@arm.com>
7094
7095 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7096 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7097 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7098 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7099 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7100 Likewise.
7101
0b4366bc
W
71022014-06-03 Wilco <wdijkstr@arm.com>
7103
7104 * sysdeps/aarch64/fpu/math_private.h
7105 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7106 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7107 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7108 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7109 Fix declarations.
7110
8747cd03
KS
71112014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7112
7113 * crypt/crypt-private.h: Include ufc-crypt.h.
7114 (__b64_from_24bit): Declare extern.
7115 * crypt/crypt_util.c(__b64_from_24bit): New function.
7116 (b64t): New static const variable.
7117 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7118 (b64t): Remove variable.
7119 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7120 * crypt/sha256-crypt.c: Include crypt-private.h.
7121 (b64t): Remove variable.
7122 (__sha256_crypt_r): Remove b64_from_24bit and replace
7123 with __b64_from_24bit.
7124 * crypt/sha512-crypt.c: Likewise.
7125
d936d379
RM
71262014-06-02 Roland McGrath <roland@hack.frob.com>
7127
7128 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7129 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7130 Label the code __libc_vfork rather than __vfork.
7131 [!NOT_IN_libc] (vfork): Define as weak alias.
7132 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7133 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7134 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7135
9fa76613
SP
71362014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
7138 * malloc/malloc.c (malloc_info): Fix format specifier for
7139 n_mmaps.
7140
a88dadbe
W
71412014-06-02 Wilco <wdijkstr@arm.com>
7142
7143 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7144 FPCR write.
7145
c95b3011
W
71462014-06-02 Wilco <wdijkstr@arm.com>
7147
7148 [BZ #17009]
7149 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7150 Rewrite to reduce FPCR/FPSR accesses.
7151
6b4d7a90
DM
71522014-06-01 David S. Miller <davem@davemloft.net>
7153
7154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7155
30f3d07c
DM
71562014-05-31 David S. Miller <davem@davemloft.net>
7157
7158 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7159 to occur in round to nearest mode when |x| >= 2.0
7160
74f31c18
RH
71612014-05-30 Richard Henderson <rth@twiddle.net>
7162
f0712b54
RH
7163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7164 (PSEUDO_RET_NOERRNO): Remove.
7165 (ret): Don't redefine.
7166 (ret_NOERRNO): Define in terms of ret.
7167 (ret_ERRVAL): Likewise.
7168
74f31c18
RH
7169 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7170 use of PSEUDO_RET; perform the error check directly.
7171
30477995
MM
71722014-05-30 Marko Myllynen <myllynen@redhat.com>
7173
7174 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7175 with __int128_t.
7176
62a58816
SP
71772014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7178
7179 * malloc/malloc (malloc_info): Fix formatting.
7180
4d653a59
SP
71812014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7182 Roland McGrath <roland@hack.frob.com>
7183
7184 * malloc/malloc (malloc_info): Also print mmapped statistics.
7185
5190c17f
RM
71862014-05-30 Roland McGrath <roland@hack.frob.com>
7187
7188 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7189 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7190
987c0269
OB
71912014-05-30 Ondřej Bílka <neleai@seznam.cz>
7192
7193 * malloc/malloc.c (malloc_info): Inline mi_arena.
7194
af4e8ef9
RH
71952014-05-29 Richard Henderson <rth@twiddle.net>
7196
1670e207
RH
7197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7198 Remove comma before expanding ASM_ARGS_##nr.
7199 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7200 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7201 of ASM_ARGS_##nr.
7202 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7203 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7204 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7205 (ASM_ARGS_1): Add leading comma.
7206
11a28aee
RH
7207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7208 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7209 to __errno_location.
7210 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7211 Remove the expected plt for __errno_location.
7212
a17e5ffb 7213 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7214 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7215 call to __read_tp.
7216
b5be4597
RH
7217 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7218 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7219 it and break it down.
7220 (DOCARGS_0, DOCARGS_1): Do nothing.
7221 (DOCARGS_2): Update to store into the new stack frame.
7222 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7223 (UNDOCARGS_1): Update to restore from the new stack frame.
7224 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7225 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7226
645d44ab
RH
7227 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7228 (SINGLE_THREAD_P): New parameter for result regno.
7229 (PSEUDO): Update to match; use cbz instead of beq.
7230
a8b4f04a
RH
7231 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7232 Use ENTRY to define the _nocancel entry point. Share the syscall
7233 and syscall error check paths with the cancel path.
7234 (PSEUDO_END): New.
7235
af4e8ef9
RH
7236 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7237 whitespace; tabs before and after asm mnemonics.
7238
26b0d2e1
EW
72392014-05-29 Eric Wong <normalperson@yhbt.net>
7240
7241 [BZ #15132]
7242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7243 Call fstat64 or stat64 internally, depending on arguments passed.
7244 Replace stat buffer argument with file descriptor argument.
7245 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7246 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7247 Pass fd to __internal_statvfs instead of calling fstat64.
7248 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7249 Pass fd to __internal_statvfs64 instead of calling fstat64.
7250 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7251 Pass -1 to __internal_statvfs instead of calling stat64.
7252 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7253 Pass -1 to __internal_statvfs64 instead of calling stat64.
7254
1efe2bd9
RM
72552014-05-28 Roland McGrath <roland@hack.frob.com>
7256
0d3b7a19
RM
7257 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7258 that was previously under [RESET_PID].
7259 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7260
1efe2bd9
RM
7261 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7262 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7263
a6bea3ca
RM
72642014-05-27 Roland McGrath <roland@hack.frob.com>
7265
30b6629e
RM
7266 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7267
a6bea3ca
RM
7268 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7269 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7270
3dfb9a5c
OB
72712014-05-27 Ondřej Bílka <neleai@seznam.cz>
7272
7273 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7274
774f9285
AS
72752014-05-27 Andreas Schwab <schwab@suse.de>
7276
7277 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7278 TLS_INIT_TP macro.
7279 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7280 * elf/rtld.c (init_tls, dl_main): Likewise.
7281 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7282 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7283 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7284 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7285 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7286 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7287 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7288 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7289 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7290 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7291 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7292 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7293 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7294 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7295 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7296 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7297 * sysdeps/generic/tls.h: Update description.
7298
36ffe739
WN
72992014-05-27 Will Newton <will.newton@linaro.org>
7300
7301 [BZ #16990]
7302 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7303 and restore r2 rather than just restoring.
7304
2482ae43
SP
73052014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
7307 [BZ #16724]
7308 * libio/tst-ftell-append.c: New test case.
7309 * libio/Makefile (tests): Add test case.
7310 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7311 append mode.
7312 * libio/wfileops.c (do_ftell_wide): Likewise.
7313
3d1024e8
AZ
73142014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7315
bab90016
AZ
7316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7317
c7a8d667
AZ
7318 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7319 ...
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7322 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7323 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7324 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7325 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7326 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7327 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7329 Moved ...
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7332 Moved ...
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7334 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7335 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7336 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7337 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7338 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7339 ...
7340 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7342 Moved ...
7343 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7344 here.
7345 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7346 ...
7347 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7349 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7350
daee7851
AZ
7351 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7352 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7353 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7354 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7355
50a40819
AZ
7356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7357 merge into ...
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7360 ...
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7363 ...
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7366 Moved ...
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7368 here.
7369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7370 Moved ...
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7373 Moved ...
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7375
8464c2a1
AZ
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7377 conditional [RESET_PID].
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7380 removed.
7381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7382 removed.
7383
3d1024e8
AZ
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7385 <tcb-offsets.h>.
7386 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7387 (__libc_vfork): New strong alias.
7388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7389 removed.
7390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7391 Removed.
7392
7393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7394 <tcb-offsets.h>.
7395 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7396 (__libc_vfork): New strong alias.
7397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7398 removed.
7399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7400 removed.
7401
fdfd175d
CD
74022014-05-26 Carlos O'Donell <carlos@redhat.com>
7403
7404 * malloc/malloc.c (mi_arena): New function.
7405 (malloc_info): Remove nested function mi_arena. Call non-nosted
7406 function mi_arena.
7407
d298c416
AZ
74082014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7409
7410 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7411 by insrwi.
7412 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7413 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7414 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7415 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7416 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7417 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7418 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7419
b60ea6ff
AS
74202014-05-26 Andreas Schwab <schwab@suse.de>
7421
7422 [BZ #16984]
7423 * locale/programs/repertoire.c (repertoire_read): Add slash
7424 between I18NPATH element and file name.
7425 * locale/programs/locfile.c (locfile_read): Likewise.
7426
67365926
SL
74272014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7428
7429 * nptl/pthread_mutexattr_settype.c
7430 (__pthread_mutexattr_settype):
7431 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7432
f8bdf1f0
SL
74332014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7434
7435 * nptl/tst-mutex5 (do_test):
7436 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7437
15eaf6ff
SP
74382014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7439
7440 * benchtests/README: Document 'init' directive.
7441 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7442 BENCH_INIT.
7443 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7444 (parse_file): Recognize 'init' directive.
7445
75f11331
KM
74462014-05-26 Kyle McMartin <kyle@redhat.com>
7447
7448 [BZ #16796]
7449 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7450 alignment of struct pthread.
7451
c3ec475c
SP
74522014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7453
7454 [BZ #16878]
7455 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7456 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7457 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7458 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7459
82aab97c
RH
74602014-05-25 Richard Henderson <rth@twiddle.net>
7461
aa2f176d
RH
7462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7463 (SINGLE_THREAD_P_PIC): Remove.
7464 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7465 (SINGLE_THREAD_P_PIC): Remove.
7466
ca3cfa40
RH
7467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7468 branch to syscall error ...
7469 (PSEUDO): ... here.
7470 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7471 from __local_syscall_error to .Lsyscall_error.
7472 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7473 (SYSCALL_ERROR): Update label name.
7474
6e6c2d01
RH
7475 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7476 Do not use DOARGS/UNDOARGS.
7477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7478 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7479 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7480 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7481 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7482
c69abcee
RH
7483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7484 block comment.
7485
82aab97c
RH
7486 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7487 define if !NOT_IN_libc.
7488 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7489 define with non-default symbol versions.
7490
8820e3ac
RH
74912014-05-23 Richard Henderson <rth@twiddle.net>
7492
900e445f
RH
7493 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7494 (vfork, __vfork): Define via compat_symbol.
7495
8820e3ac
RH
7496 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7497 [!HAVE_IFUNC] (vfork_compat): Remove.
7498 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7499
e59252a5
JM
75002014-05-23 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #16978]
7503 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7504 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7505 variable.
7506
132c7f5f
RH
75072014-05-23 Richard Henderson <rth@twiddle.net>
7508
bc89e962
RH
7509 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7510 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7511 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7512 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7513
7514 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7515 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7516 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7517 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7519 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7520 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7521 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7522 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7523 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7524 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7525 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7526 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7527 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7528 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7529 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7530 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7531 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7532 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7533 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7534 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7535 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7536 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7537 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7538 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7539 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7540 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7541 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7542 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7543 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7544 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7545 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7546 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7547 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7548 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7549 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7550 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7551 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7552 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7553 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7554 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7555 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7556 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7557 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7558 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7559 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7560 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7561 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7562 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7563 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7564 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7565 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7566 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7567 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7568 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7569 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7570
e2fa4bc2
RH
7571 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7572 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7573 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7574 before exiting on error.
7575 (__libc_vfork): New strong alias.
7576 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7577 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7578
279b24e2
RH
7579 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7580 that was previously under [RESET_PID].
7581 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7582
132c7f5f
RH
7583 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7584
b72592e7
JM
75852014-05-23 Joseph Myers <joseph@codesourcery.com>
7586
7587 [BZ #16977]
7588 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7589 value when x - 1 is zero.
7590 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7591 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7592 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7593 0.0L for an argument of 1.0L.
7594 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7595 Likewise.
7596 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7597 value when x - 1 is zero.
7598 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7599 * sysdeps/i386/fpu/libm-test-ulps: Update.
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7601
2302d679
RV
76022014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7603
7604 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7605 alphasort and versionsort.
7606
32999d63
AZ
76072014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7608
7609 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7610 macro.
7611 [copysignf]: Likewise.
7612
019324d0
SP
76132014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7614
7615 * crypt/md5-crypt.c: Fix formatting.
7616
34fff5c2
KS
76172014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7618
7619 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7620 (b64_from_24bit): New function.
7621
3d2badac
AZ
76222014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7623
7624 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7625 libc_hidden_builtin_def to ifunc.
7626 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7627 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7628
f7bb179f 76292014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7630
7631 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7632 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7633
4134b50d
JM
76342014-05-21 Joseph Myers <joseph@codesourcery.com>
7635
bb7d0337
JM
7636 * nscd/Depend (linuxthreads): Remove.
7637 (nptl): Add.
7638 * resolv/Depend (linuxthreads): Remove.
7639 * rt/Depend (linuxthreads): Remove.
7640
4134b50d
JM
7641 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7642 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7643 $(common-objpfx)elf/.
7644 (link-libc-before-gnulib): Likewise.
7645 (elfobjdir): Remove variable.
7646 * Makefile (install): Use $(elf-objpfx) instead of
7647 $(common-objpfx)elf/.
7648 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7649 $(elfobjdir)/.
7650 (link-libc-deps): Likewise.
7651 ($(common-objpfx)libc.so): Likewise.
7652 ($(common-objpfx)linkobj/libc.so): Likewise.
7653 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7654 instead of $(common-objpfx)elf/.
7655 (symbolic-link-list): Likewise.
7656 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7657 [$(cross-compiling) = no]: Likewise.
7658 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7659 $(elfobjdir)/.
7660 (static-gnulib-arch): Likewise.
7661 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7662 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7663 $(common-objpfx)elf/.
7664
3612eb8f
RH
76652014-05-21 Richard Henderson <rth@redhat.com>
7666
a6b3657b
RH
7667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7668 (SINGLE_THREAD_P): Use the correct width load. Fold
7669 into the ldr offset.
7670
3612eb8f
RH
7671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7672 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7673
175cef41
JM
76742014-05-20 Joseph Myers <joseph@codesourcery.com>
7675
7676 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7677 (libgcc_s_resume): Use __attribute_used__.
7678 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7679 Likewise.
7680
e13bccd3
AZ
76812014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682
7683 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7684 optimization when used with float constants.
7685
7c112a38
AZ
7686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7687
ae75a883
AJ
76882014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7689
7690 [BZ #16915]
7691 * locale/nl_langinfo_l.c: Make direct reference to every
7692 _nl_current_CATEGORY symbol.
7693 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7694 (tests-static): Add tst-langinfo-static.
7695 (tests-special): Add tst-langinfo-static.out.
7696 ($(objpfx)tst-langinfo.out): Redirect output.
7697 ($(objpfx)tst-langinfo-static.out): New.
7698 * localedata/tst-langinfo.sh: Send output to stdout.
7699 * localedata/tst-langinfo-static.c: New file.
7700
4406c41c
AJ
7701 [BZ #16965]
7702 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7703 when the shift amount is modulo the limb size.
7704
4c0a1e63
RH
77052014-05-20 Richard Henderson <rth@redhat.com>
7706
de9d8f20
RH
7707 [BZ #16967]
7708 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7709 Change type of sa_flags from unsigned int to int.
7710
4c0a1e63
RH
7711 [BZ #16966]
7712 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7713
7714 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7715
a60339aa
WN
77162014-05-20 Will Newton <will.newton@linaro.org>
7717
7718 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7719 Test the return value of the system call in the nocancel case.
7720
7d05a816
YR
77212014-05-20 Will Newton <will.newton@linaro.org>
7722 Yvan Roux <yvan.roux@linaro.org>
7723
7724 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7725 #include of asm/ptrace.h.
7726 (PTRACE_GET_THREAD_AREA): Remove #undef.
7727 (PTRACE_GETHBPREGS): Likewise.
7728 (PTRACE_SETHBPREGS): Likewise.
7729 (struct user_regs_struct): New structure.
7730 (struct user_fpsimd_struct): New structure.
7731 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7732 #include of asm/ptrace.h and second #include of sys/user.h.
7733 (PTRACE_GET_THREAD_AREA): Remove #undef.
7734 (PTRACE_GETHBPREGS): Likewise.
7735 (PTRACE_SETHBPREGS): Likewise.
7736 (ELF_NGREG): Use new struct user_regs_struct.
7737 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7738
af121e37
AZ
77392014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7740
7741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7743
834caf06
JM
77442014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7745
7746 [BZ #16958]
7747 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7748 membar to avoid block loads/stores to overlap previous stores.
7749
e184a918
RH
77502014-05-17 Richard Henderson <rth@redhat.com>
7751
7752 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7753 Create the __##syscall_name##_nocancel entry point.
7754 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7755 Remove; let the sysdep-cancel.h code create it.
7756
f56c7a6a
DM
77572014-05-17 David S. Miller <davem@davemloft.net>
7758
7759 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7760 Protect with __USE_GNU.
7761 (TIOCSET_TEMPT): Likewise.
7762 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7763 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7764 these are already provided in bits/ioctl-types.h
7765
f75616b2
RM
77662014-05-16 Roland McGrath <roland@hack.frob.com>
7767
3edeca86
RM
7768 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7769 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7770
f75616b2
RM
7771 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7772 Use wait4 regardless of [__NR_waitpid].
7773
deb0f7f6
MR
77742014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7775
7776 PR libgcc/60166
7777 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7778 (_FP_NANSIGN_Q): Set the quiet bit.
7779
79520f4b
JM
77802014-05-16 Joseph Myers <joseph@codesourcery.com>
7781
7782 * benchtests/Makefile
7783 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7784 not $(common-objpfx)math/libm.so.
7785 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7786 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7787 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7788 $(common-objpfx)dlfcn/libdl.so.
7789 ($(objpfx)tst-audit8): Depend on $(libm), not
7790 $(common-objpfx)math/libm.so.
7791 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7792 not $(common-objpfx)dlfcn/libdl.so.
7793 * math/Makefile
7794 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7795 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7796 [$(build-shared) = yes].
7797 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7798 $(common-objpfx)nptl/libpthread.so.
7799 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7800 $(common-objpfx)math/libm.so$(libm.so-version) or
7801 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7802 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7803 $(common-objpfx)dlfcn/libdl.so.
7804 * setjmp/Makefile (link-libm): Remove variable.
7805 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7806 * stdio-common/Makefile (link-libm): Remove variable.
7807 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7808 * stdlib/Makefile (link-libm): Remove variable.
7809 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7810 ($(objpfx)tst-strtod-round): Likewise.
7811 ($(objpfx)tst-tininess): Likewise.
7812 ($(objpfx)tst-strtod-underflow): Likewise.
7813 ($(objpfx)tst-strtod6): Likewise.
7814 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7815 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7816 $(common-objpfx)dlfcn/libdl.so.
7817
026b0fe4
AZ
78182014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7819
7820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7821 BSD terminal modes definitions.
7822
def4bcb2
RM
78232014-05-16 Roland McGrath <roland@hack.frob.com>
7824
fe39b021
RM
7825 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7826 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7827
1d1fc46e 7828 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7829 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7830 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7831 Don't do #include_next.
7832 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7833 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7834 Don't do #include_next.
7835 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7836 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7837 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7838 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7839
c72399fb
AM
78402014-05-16 Allan McRae <allan@archlinux.org>
7841
d51d659d
AM
7842 * po/sv.po: Update Swedish translation from translation project.
7843
c72399fb
AM
7844 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7845 in sed expression.
7846
d0583c40
AJ
78472014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7848
7849 [BZ #16917]
7850 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7851 errno if the TIOCGPTN ioctl fails with an error different than
7852 EINVAL.
7853 * login/tst-ptsname.c: New file.
7854 * login/Makefile (tests): Add tst-ptsname.
7855
d16e6ec7
AJ
7856 [BZ #16943]
7857 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7858 and prlimit64.
7859
cf26a0cb
SP
78602014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7861
7862 [BZ #16849]
7863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7864 herrno to return EAI_AGAIN.
7865
5675da1e
RM
78662014-05-14 Roland McGrath <roland@hack.frob.com>
7867
a5d87b3d
RM
7868 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7869 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7870 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7871 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7885 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7893 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7894 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7895 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7897 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7899 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7903 Moved ...
7904 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7906 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7908 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7912 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7916 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7918 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7920 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7922 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7924 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7926 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7928 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7932 Moved ...
7933 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7935 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7939 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7941 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7943 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7945 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7947 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7949 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7951 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7953 Moved ...
7954 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7956 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7957
039890a6
RM
7958 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7959 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7960 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7961 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7962 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7963 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7964 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7965 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7966 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7967 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7968 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7969 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7970 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7972 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7973 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7974 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7975 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7976 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7977 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7978 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7979 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7980 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7982 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7983 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7984 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7985 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7986 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7987 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7988 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7989
65c89320
RM
7990 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7991 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7992
348f8e8c
RM
7993 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7994 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7995 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7997 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7999 Moved ...
8000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8001 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8002 Moved ...
8003 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8005 Moved ...
8006 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8008 Moved ...
8009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8011 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8013 Moved ...
8014 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8016 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8018 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8019 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8020 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8021 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8022 Moved ...
8023 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8025 Moved ...
8026 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8027 ... here.
8028 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8029 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8030 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8031 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8032 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8033 Moved ...
8034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8035 ... here.
8036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8037 Moved ...
8038 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8039 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8040 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8041 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8042 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8044 Moved ...
8045 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8046 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8047 Moved ...
8048 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8049 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8050 Moved ...
8051 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8053 Moved ...
8054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8055 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8056 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8057 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8058 Moved ...
8059 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8061 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8063 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8064 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8065 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8066 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8067 Moved ...
8068 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8069 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8070 Moved ...
8071 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8072 ... here.
8073 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8074 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8076 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8078 Moved ...
8079 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8080 ... here.
8081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8082 Moved ...
8083 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8084 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8085 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8086 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8087 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8088 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8089 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8090 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8091 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8092 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8093 Moved ...
8094 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8096 Moved ...
8097 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8099 Moved ...
8100 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8102 Moved ...
8103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8104 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8105 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8106 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8107 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8108 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8109 Moved ...
8110 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8112 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8114 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8116 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8118 Moved ...
8119 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8120 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8121 Moved ...
8122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8123 ... here.
8124 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8125 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8127 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8128 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8129 Moved ...
8130 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8131 ... here.
8132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8133 Moved ...
8134 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8136 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8138 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8140 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8142 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8144 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8145
5085af05
RM
8146 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8147 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8148
708f0813
RM
8149 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8150 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8151
c96067bc
RM
8152 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8153 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8154 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8156 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8158 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8159 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8160 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8161 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8163 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8166 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8168 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8170 Moved ...
8171 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8173 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8175 Moved ...
8176 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8178 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8180 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8184 Moved ...
8185 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8187 Moved ...
8188 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8190 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8194 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8196 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8198 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8200 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8202 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8204 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8205
ec136444
RM
8206 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8207 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8208 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8209 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8210 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8211
2fbdf533
RM
8212 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8213 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8214 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8215 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8216 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8217 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8218 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8219 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8220 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8221 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8222
4c68138b
RM
8223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8225
4eaae765
RM
8226 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8227 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8228 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8229 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8230 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8231 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8232 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8233 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8234 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8235 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8236 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8237 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8238 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8239 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8241 Update #include.
8242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8243 Likewise.
8244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8245 Likewise.
8246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8247 Likewise.
8248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8249 Likewise.
8250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8251 Likewise.
8252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8253 Likewise.
8254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8255 Likewise.
8256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8257 Likewise.
8258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8259 Likewise.
4ef6befa
RM
8260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8266 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8267 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8268 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8269 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8270 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8271 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8272 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8273 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8274 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8275
941d7dfd
RM
8276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8277 that was previously under [RESET_PID].
8278 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8279 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8280 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8281
1b731c35
RM
8282 * sysdeps/i386/nptl/Implies: New file.
8283 * sysdeps/x86_64/nptl/Implies: New file.
8284 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8285 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8287 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8288
e2787137
RM
8289 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8290 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8291 (__libc_vfork): New strong alias.
8292 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8293 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8294
8295 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8296 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8297 (__libc_vfork): New strong alias.
8298 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8299 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8300
5675da1e
RM
8301 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8302 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8303 (__libc_vfork): New strong alias.
8304 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8305 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8306 * nptl/pt-vfork.c: New file.
8307 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8308 (libpthread: GLIBC_2.20): New version set (empty).
8309
4f02e2b8
WN
83102014-05-14 Will Newton <will.newton@linaro.org>
8311
8312 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8313 rather than #if.
8314
0bf061d3
JM
83152014-05-14 Joseph Myers <joseph@codesourcery.com>
8316
1a84c3d6
JM
8317 [BZ #16564]
8318 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8319 arguments with exponent 65 or above.
8320 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8321 arguments 0x1p113L or above.
8322 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8323 to arguments 0x1p107L or above.
8324 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8325 positive arguments with exponent 65 or above.
8326 * math/auto-libm-test-in: Add more tests of log1p.
8327 * math/auto-libm-test-out: Regenerated.
8328
01dbacd2
JM
8329 [BZ #16928]
8330 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8331 non-finite arguments is +0.
8332 * math/s_cacosf.c (__cacosf): Likewise.
8333 * math/s_cacosl.c (__cacosl): Likewise.
8334 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8335 * sysdeps/i386/fpu/libm-test-ulps: Update.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8337
913d03c8
JM
8338 [BZ #16927]
8339 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8340 value.
8341 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8342 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8343 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8344 for explicit high bit of mantissa when testing for argument equal
8345 to 1.
8346 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8347 * sysdeps/i386/fpu/libm-test-ulps: Update.
8348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8349
0bf061d3
JM
8350 [BZ #16516]
8351 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8352 (__erf): Scale by 16 instead of 8 in potentially underflowing
8353 case. Ensure exception if result actually underflows.
8354 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8355 (__erff): Scale by 16 instead of 8 in potentially underflowing
8356 case. Ensure exception if result actually underflows.
8357 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8358 (efx8): Remove variable.
8359 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8360 case. Ensure exception if result actually underflows.
8361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8362 (efx8): Remove variable.
8363 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8364 case. Ensure exception if result actually underflows.
8365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8366 (efx8): Remove variable.
8367 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8368 case. Ensure exception if result actually underflows.
8369 * math/auto-libm-test-in: Add more tests of erf.
8370 * math/auto-libm-test-out: Regenerated.
8371
73ba67cb
AS
83722014-05-14 Andreas Schwab <schwab@suse.de>
8373
3d8c8bff
AS
8374 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8375 Remove code conditionalized on USE___THREAD.
8376
73ba67cb
AS
8377 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8378 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8379 not definedness.
8380
5c521ecd
JM
83812014-05-14 Joseph Myers <joseph@codesourcery.com>
8382
5e7698c6
JM
8383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8384 Define unconditionally.
8385 (__ASSUME_O_CLOEXEC): Likewise.
8386 (__ASSUME_SOCK_CLOEXEC): Likewise.
8387 (__ASSUME_IN_NONBLOCK): Likewise.
8388 (__ASSUME_PIPE2): Likewise.
8389 (__ASSUME_EVENTFD2): Likewise.
8390 (__ASSUME_SIGNALFD4): Likewise.
8391 (__ASSUME_DUP3): Likewise.
8392 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8393 (__ASSUME_DUP3): Do not define.
8394 (__ASSUME_EVENTFD2): Likewise.
8395 (__ASSUME_IN_NONBLOCK): Likewise.
8396 (__ASSUME_O_CLOEXEC): Likewise.
8397 (__ASSUME_PIPE2): Likewise.
8398 (__ASSUME_SIGNALFD4): Likewise.
8399 (__ASSUME_SOCK_CLOEXEC): Likewise.
8400 (__ASSUME_UTIMES): Undefine.
8401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8402 (__ASSUME_UTIMES): Do not define.
8403 (__ASSUME_O_CLOEXEC): Likewise.
8404 (__ASSUME_SOCK_CLOEXEC): Likewise.
8405 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8406 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8407 0x020621].
8408 (__ASSUME_PIPE2): Likewise.
8409 (__ASSUME_EVENTFD2): Likewise.
8410 (__ASSUME_SIGNALFD4): Likewise.
8411 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8412 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8413 Do not define.
8414 (__ASSUME_EVENTFD2): Likewise.
8415 (__ASSUME_SIGNALFD4): Likewise.
8416 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8417 (__ASSUME_32BITUIDS): Likewise.
8418 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8419 (__ASSUME_IPC64): Likewise.
8420 (__ASSUME_ST_INO_64_BIT): Likewise.
8421 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8422 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8424 (__ASSUME_UTIMES): Do not define.
8425 (__ASSUME_PSELECT): Likewise.
8426 (__ASSUME_PPOLL): Likewise.
8427 (__ASSUME_O_CLOEXEC): Likewise.
8428 (__ASSUME_SOCK_CLOEXEC): Likewise.
8429 (__ASSUME_IN_NONBLOCK): Likewise.
8430 (__ASSUME_PIPE2): Likewise.
8431 (__ASSUME_EVENTFD2): Likewise.
8432 (__ASSUME_SIGNALFD4): Likewise.
8433 (__ASSUME_DUP3): Likewise.
8434 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8435 (__ASSUME_UTIMES): Likewise.
8436 (__ASSUME_O_CLOEXEC): Likewise.
8437 (__ASSUME_SOCK_CLOEXEC): Likewise.
8438 (__ASSUME_IN_NONBLOCK): Likewise.
8439 (__ASSUME_PIPE2): Likewise.
8440 (__ASSUME_EVENTFD2): Likewise.
8441 (__ASSUME_SIGNALFD4): Likewise.
8442 (__ASSUME_DUP3): Likewise.
8443 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8444 (__ASSUME_UTIMES): Likewise.
8445 (__ASSUME_O_CLOEXEC): Likewise.
8446 (__ASSUME_SOCK_CLOEXEC): Likewise.
8447 (__ASSUME_IN_NONBLOCK): Likewise.
8448 (__ASSUME_PIPE2): Likewise.
8449 (__ASSUME_EVENTFD2): Likewise.
8450 (__ASSUME_SIGNALFD4): Likewise.
8451 (__ASSUME_DUP3): Likewise.
8452 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8453 Likewise.
8454 (__ASSUME_UTIMES): Likewise.
8455 (__ASSUME_EVENTFD2): Likewise.
8456 (__ASSUME_SIGNALFD4): Likewise.
8457 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8458 (__ASSUME_O_CLOEXEC): Likewise.
8459 (__ASSUME_SOCK_CLOEXEC): Likewise.
8460 (__ASSUME_IN_NONBLOCK): Likewise.
8461 (__ASSUME_PIPE2): Likewise.
8462 (__ASSUME_EVENTFD2): Likewise.
8463 (__ASSUME_SIGNALFD4): Likewise.
8464 (__ASSUME_DUP3): Likewise.
8465 (__ASSUME_UTIMES): Undefine.
8466
5c521ecd
JM
8467 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8468 feclearexcept. Remove symbol versioning code.
8469 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8470 symbol versioning code.
8471 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8472 symbol versioning code.
8473 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8474 feupdateenv. Remove symbol versioning code.
8475 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8476 fegetexceptflag. Remove symbol versioning code.
8477 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8478 fesetexceptflag. Remove symbol versioning code.
8479 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8480 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8481 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8482 (__posix_fadvise64_l32): Remove prototype.
8483 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8484 code.
8485
5da9dfad
RM
84862014-05-13 Roland McGrath <roland@hack.frob.com>
8487
8488 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8489 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8490 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8491 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8492
893b4f37
SK
84932014-05-13 Sami Kerola <kerolasa@iki.fi>
8494
8495 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8496 current working directory
8497
e0db6517
RM
84982014-05-13 Roland McGrath <roland@hack.frob.com>
8499
58aa195d
RM
8500 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8501 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8502 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8503 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8504 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8505 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8506 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8511 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8513 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8514 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8515 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8517 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8518 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8519 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8520 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8521 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8523 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8525 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8527 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8529 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8533 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8534 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8535 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8536 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8537 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8538 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8539 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8540 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8541 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8542
8c6d01f0
RM
8543 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8544 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8545
8546 * sysdeps/unix/sysv/linux/arm/Makefile
8547 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8548 Add rt-aeabi_unwind_cpp_pr1.
8549 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8550 Add nptl-aeabi_unwind_cpp_pr1.
8551 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8552 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8553 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8554 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8555 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8556 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8557
8558 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8559 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8560 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8561 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8562
bba6da4e
RM
8563 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8564 Deconditionalize the code that was previously under [RESET_PID].
8565 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8566
e0db6517
RM
8567 * sysdeps/generic/exit-thread.h: New file.
8568 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8569 * include/unistd.h (__exit_thread): Remove declaration.
8570 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8571 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8572 * csu/libc-start.c: Include <exit-thread.h>.
8573 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8574 * nptl/pthread_create.c: Include <exit-thread.h>.
8575 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8576 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8577 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8578 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8579 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8580 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8581 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8582 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8583 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8584 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8585 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8586 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8587 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8588 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8589 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8590 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8591 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8592
01eb16fd
AS
85932014-05-13 Andreas Schwab <schwab@suse.de>
8594
8595 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8596
637461d9
JM
85972014-05-12 Joseph Myers <joseph@codesourcery.com>
8598
8599 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8600 (__ASSUME_UTIMES): Do not condition on kernel version.
8601 (__ASSUME_PSELECT): Define unconditionally.
8602 (__ASSUME_PPOLL): Likewise.
8603 (__ASSUME_ATFCTS): Likewise.
8604 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8605 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8606 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8607 (__ASSUME_UTIMENSAT): Define unconditionally.
8608 (__ASSUME_PRIVATE_FUTEX): Likewise.
8609 (__ASSUME_FALLOCATE): Likewise.
8610 (__ASSUME_O_CLOEXEC): Likewise.
8611 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8612 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8613 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8614 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8615 (__ASSUME_IN_NONBLOCK): Likewise.
8616 (__ASSUME_PIPE2): Likewise.
8617 (__ASSUME_EVENTFD2): Likewise.
8618 (__ASSUME_SIGNALFD4): Likewise.
8619 (__ASSUME_DUP3): Likewise.
8620 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8621 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8622 (__ASSUME_AT_RANDOM): Likewise.
8623 (__ASSUME_PREADV): Likewise.
8624 (__ASSUME_PWRITEV): Likewise.
8625 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8626 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8627 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8628 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8629 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8630 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8631 (__ASSUME_O_CLOEXEC): Define unconditionally.
8632 (__ASSUME_PSELECT): Do not undefine conditionally.
8633 (__ASSUME_PPOLL): Likewise.
8634 (__ASSUME_ATFCTS): Likewise.
8635 (__ASSUME_SET_ROBUST_LIST): Likewise.
8636 (__ASSUME_UTIMENSAT): Likewise.
8637 (__ASSUME_FDATASYNC): Define unconditionally.
8638 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8639 (__ASSUME_SIGFRAME_V2): Likewise.
8640 )__ASSUME_EVENTFD2): Likewise.
8641 (__ASSUME_SIGNALFD4): Likewise.
8642 (__ASSUME_PSELECT): Do not undefine conditionally.
8643 (__ASSUME_PPOLL): Likewise.
8644 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8645 (__ASSUME_PSELECT): Define unconditionally.
8646 (__ASSUME_PPOLL): Likewise.
8647 (__ASSUME_O_CLOEXEC): Likewise.
8648 (__ASSUME_SOCK_CLOEXEC): Likewise.
8649 (__ASSUME_IN_NONBLOCK): Likewise.
8650 (__ASSUME_PIPE2): Likewise.
8651 (__ASSUME_EVENTFD2): Likewise.
8652 (__ASSUME_SIGNALFD4): Likewise.
8653 (__ASSUME_DUP3): Likewise.
8654 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8655 (__ASSUME_O_CLOEXEC): Likewise.
8656 (__ASSUME_SOCK_CLOEXEC): Likewise.
8657 (__ASSUME_IN_NONBLOCK): Likewise.
8658 (__ASSUME_PIPE2): Likewise.
8659 (__ASSUME_EVENTFD2): Likewise.
8660 (__ASSUME_SIGNALFD4): Likewise.
8661 (__ASSUME_DUP3): Likewise.
8662 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8663 (__ASSUME_EVENTFD2): Likewise.
8664 (__ASSUME_SIGNALFD4): Likewise.
8665 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8666
315eb1d8
AS
86672014-05-12 Andreas Schwab <schwab@suse.de>
8668
8669 [BZ #16932]
8670 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8671 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8672 than maximum RPC packet size.
8673 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8674 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8675 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8676 (_nss_nis_getservbyport_r): Likewise.
8677
91df99f7
WN
86782014-05-12 Will Newton <will.newton@linaro.org>
8679
8680 * malloc/Makefile (tests): Add tst-mallopt.
8681 * malloc/tst-mallopt.c: New file.
8682
0a982a29
RM
86832014-05-09 Roland McGrath <roland@hack.frob.com>
8684
8685 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8686 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8687
0ded08a5
AZ
86882014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8689
8690 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8691 (tst-tlsmod6.so): Likewise.
8692
55d4d550
RM
86932014-05-09 Roland McGrath <roland@hack.frob.com>
8694
8695 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8696
77d08aca
JM
86972014-05-09 Joseph Myers <joseph@codesourcery.com>
8698
8699 [BZ #16064]
8700 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8701 and <dl-procinfo.h>.
8702 (__fegetenv): Save SSE state in envp->__eip if supported.
8703 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8704 envp->__eip if supported.
8705 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8706 and <dl-procinfo.h>.
8707 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8708 __data_offset and __data_selector in environment to 0. Set SSE
8709 state if supported.
8710 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8711 test-fenv-sse.
8712 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8713 -mfpmath=sse.
8714 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8715
28162f4d
WN
87162014-05-09 Will Newton <will.newton@linaro.org>
8717
8718 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8719 and libc_relro_required for ARM.
8720 * sysdeps/arm/preconfigure: Regenerate.
8721
5a414ff7
DV
87222014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8723 Stefan Liebler <stli@linux.vnet.ibm.com>
8724
8725 * config.make.in (enable-lock-elision): New Makefile variable.
8726 * configure.ac: Likewise.
8727 * configure: Regenerate.
8728 * sysdeps/s390/configure.ac:
8729 Add check for gcc transactions support.
8730 * sysdeps/s390/configure: Regenerate.
8731 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8732 Build elision files if enabled.
8733 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8734 Add lock elision support for s390.
8735 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8736 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8737 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8738 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8739 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8740 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8741 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8742 Likewise.
8743 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8744 Likewise.
8745 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8746 Likewise.
8747 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8748 Likewise.
8749 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8750 (__lll_timedlock_elision, __lll_lock_elision)
8751 (__lll_unlock_elision, __lll_trylock_elision)
8752 (lll_timedlock_elision, lll_lock_elision)
8753 (lll_unlock_elision, lll_trylock_elision): Add.
8754 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8755 (pthread_mutex_t): Add lock elision support for s390.
8756
1a2f40e5
W
87572014-05-14 Wilco <wdijkstr@arm.com>
8758
8759 * sysdeps/arm/fclrexcpt.c: Cleanup.
8760 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8761 * sysdeps/arm/feenablxcpt.c: Cleanup.
8762 * sysdeps/arm/fegetenv.c: Cleanup.
8763 * sysdeps/arm/fegetexcept.c: Cleanup.
8764 * sysdeps/arm/fegetround.c: Cleanup.
8765 * sysdeps/arm/feholdexcpt.c: Cleanup.
8766 * sysdeps/arm/fesetenv.c: Cleanup.
8767 * sysdeps/arm/fesetround.c: Cleanup.
8768 * sysdeps/arm/feupdateenv.c: Cleanup.
8769 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8770 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8771 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8772 * sysdeps/arm/ftestexcept.c: Cleanup.
8773 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8774 * sysdeps/arm/setfpucw.c: Cleanup.
8775
f63c86fe
WN
87762014-05-09 Will Newton <will.newton@linaro.org>
8777
8778 * sysdeps/arm/armv7/strcmp.S: New file.
8779 * NEWS: Mention addition of ARMv7 optimized strcmp.
8780
7a1a51b5
RM
87812014-05-08 Roland McGrath <roland@hack.frob.com>
8782
95afbbe5
RM
8783 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8784 look for %.ac rather than %.in.
8785
8786 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8787 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8788 * sysdeps/mach/hurd/configure: Regenerated.
8789 * sysdeps/unix/sysv/linux/configure: Regenerated.
8790
7a1a51b5
RM
8791 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8792
5057ad3b
SE
87932014-05-07 Steve Ellcey <sellcey@mips.com>
8794
8795 [BZ# 16922]
8796 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8797 (LONG_SUB): Ditto.
8798 (PTR_SUB): Ditto.
8799
8dc97517
AS
88002014-05-07 Andreas Schwab <schwab@suse.de>
8801
8802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8803 when skipping over non-matching result from nscd.
8804
ce0c5b8f
OB
88052014-05-07 Ondřej Bílka <neleai@seznam.cz>
8806
8807 [BZ #16876]
8808 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8809
a1189263
OB
8810 [BZ #16877]
8811 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8812 nscd security class.
ce0c5b8f 8813
0f58d252
RM
88142014-05-06 Roland McGrath <roland@hack.frob.com>
8815
8816 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8817 * sysdeps/arm/unwind.h: ... here.
8818
83df9ad0
AJ
88192014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8820
ce0c5b8f
OB
8821 [BZ# 16916]
8822 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8823 Define.
83df9ad0 8824
f360f94a
VR
88252014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8826
8827 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8828 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8829 multiarch strncpy for PPC64.
8830 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8831 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8833 multiarch optimizations.
8834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8835 (__libc_ifunc_impl_list): Likewise.
8836 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8837 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8838 multiarch stpncpy for PPC64.
8839 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8840 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8841
978a41c3
AS
88422014-05-06 Andreas Schwab <schwab@suse.de>
8843
8844 [BZ #16912]
8845 * gmon/mcount.c (_MCOUNT_DECL): Use
8846 atomic_compare_and_exchange_bool_acq instead of
8847 catomic_compare_and_exchange_bool_acq.
8848
eb1ed03d
RM
88492014-05-05 Roland McGrath <roland@hack.frob.com>
8850
fe658845
RM
8851 * elf/Makefile (others, install-bin): Remove pldd.
8852 (pldd-modules): Variable removed.
8853 ($(objpfx)pldd): Target removed.
8854 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8855 (others, install-bin): Append pldd here.
8856 ($(objpfx)pldd): New target.
8857
eb1ed03d
RM
8858 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8859 to 0, so the first #if test emitted later doesn't see it undefined.
8860 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8861 * sysdeps/gnu/errlist.c: Regenerated.
8862
19c4bec0
AZ
88632014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864
8865 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8866 [libc_hidden_builtin_def]: Define to empty value.
8867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8868 [libc_hidden_builtin_def]: Likewise.
8869 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8870 [libc_hidden_builtin_def]: Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8872 [libc_hidden_builtin_def]: Likewise.
8873 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8874 __redirect_memcpy and define ifunc as default hidden symbol.
8875 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8876 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8877
7776e669
AC
88782014-05-04 Adam Conrad <adconrad@0c3.net>
8879
8880 * locale/iso-4217.def: Reintroduce XDR currency.
8881
d69aeb12
AM
88822014-05-04 Allan McRae <allan@archlinux.org>
8883
8884 * po/eo.po: Update Esperanto translation from translation project.
8885
8f1df5cf
CD
88862014-05-02 Carlos O'Donell <carlos@redhat.com>
8887
8888 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8889 and FEATURE_INDEX_MAX to 1.
8890 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8891
13e402e7
SE
88922014-05-01 Steve Ellcey <sellcey@mips.com>
8893
8894 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8895 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8896 * iconvdata/big5.c (ONE_DIRECTION): Define.
8897 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8898 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8899 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8900 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8901 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8902 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8903 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8904 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8905 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8906 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8907 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8908 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8909 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8910 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8911 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8912 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8913 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8914 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8915 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8916 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8917 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8918 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8919 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8920 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8921 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8922 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8923 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8924 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8925 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8926 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8927 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8928 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8929 * iconvdata/johab.c (ONE_DIRECTION): Define.
8930 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8931 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8932 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8933 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8934 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8935 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8936 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8937 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8938 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8939 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8940
c727f032
RM
89412014-05-01 Roland McGrath <roland@hack.frob.com>
8942
8f2f08d0
RM
8943 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8944 (_IO_JUMPS_OFFSET): Define to 0.
8945
c727f032
RM
8946 * nptl/sysdeps/pthread/bits/libc-lock.h
8947 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8948 (__libc_lock_define_initialized_recursive): Always define using
8949 initializer. Modern compilers treat uninitialized (implicit zero) and
8950 explicit zero initializers the same (i.e. put the datum in bss).
8951
a849e800
AS
89522014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8953
8954 * nscd/nscd-client.h: Include <string.h>.
8955
5331255b
DM
89562014-05-01 David S. Miller <davem@davemloft.net>
8957
8958 [BZ #16885]
8959 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8960 multiple zero bytes exist at the end of a string.
8961 Reported by Aurelien Jarno <aurelien@aurel32.net>
8962
8963 * string/test-strcmp.c (check): Add explicit test for situations where
8964 there are multiple zero bytes after the first.
8965
4fdfe821
AS
89662014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8967
8968 [BZ #16890]
8969 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8970 when compiling wprintf.
8971 * stdio-common/tstdiomisc.c (t3): New function.
8972 (main): Call it.
8973
0cdddc25
SE
89742014-05-01 Steve Ellcey <sellcey@mips.com>
8975
8976 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8977 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8978 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8979 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8980
6426d77e
SE
89812014-05-01 Steve Ellcey <sellcey@mips.com>
8982
8983 * stdlib/longlong.h: Updated from GCC.
8984
6d96f5e4
WN
89852014-05-01 Will Newton <will.newton@linaro.org>
8986 Bernard Ogden <bernie.ogden@linaro.org>
8987
7470db0c
WN
8988 * NEWS: Update fixed bug list.
8989
6d96f5e4
WN
8990 [BZ #15119]
8991 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8992
211d653c
DM
89932014-04-30 David S. Miller <davem@davemloft.net>
8994
4fa262fa
DM
8995 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8996 (libc_feholdexcept_setround_sparc_ctx): New function.
8997 (libc_fesetenv_sparc_ctx): Likewise.
8998 (libc_feupdateenv_sparc_ctx): Likewise.
8999 (libc_feholdsetround_sparc_ctx): Likewise.
9000 (libc_feholdexcept_setround_ctx): Define.
9001 (libc_feholdexcept_setroundf_ctx): Likewise.
9002 (libc_feholdexcept_setroundl_ctx): Likewise.
9003 (libc_fesetenv_ctx): Likewise.
9004 (libc_fesetenvf_ctx): Likewise.
9005 (libc_fesetenvl_ctx): Likewise.
9006 (libc_feupdateenv_ctx): Likewise.
9007 (libc_feupdateenvf_ctx): Likewise.
9008 (libc_feupdateenvl_ctx): Likewise.
9009 (libc_feresetround_ctx): Likewise.
9010 (libc_feresetroundf_ctx): Likewise.
9011 (libc_feresetroundl_ctx): Likewise.
9012 (libc_feholdsetround_ctx): Likewise.
9013 (libc_feholdsetroundf_ctx): Likewise.
9014 (libc_feholdsetroundl_ctx): Likewise.
9015
1d3d93ef
DM
9016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9017 with __USE_GNU instead of XOPEN cpp guards.
9018
8aa583c3
DM
9019 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9020 0.
9021
211d653c
DM
9022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9023 with XOPEN cpp guards.
9024
60c8f1f6
JB
90252014-04-30 Julian Brown <julian@codesourcery.com>
9026
9027 [BZ #16888]
9028 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9029 handling.
9030
9a461d46
JM
90312014-04-30 Joseph Myers <joseph@codesourcery.com>
9032
d0f5b3f8
JM
9033 [BZ #9894]
9034 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9035 Change to 2.6.32.
9036 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9037 * sysdeps/unix/sysv/linux/configure: Regenerated.
9038 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9039 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9040 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9041 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9042 * README: Update reference to required Linux kernel version.
9043 * manual/install.texi (Linux): Update reference to required Linux
9044 kernel headers version.
9045 * INSTALL: Regenerated.
9046
9a461d46
JM
9047 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9048 header inclusion.
9049 [POSIX] (limits.h): Likewise.
9050 [POSIX] (math.h): Likewise.
9051 [POSIX] (sys/wait.h): Likewise.
9052 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9053 function.
9054 [POSIX] (stddef.h): Do not allow header inclusion.
9055
1775babf
AZ
90562014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9057
57f41c40 9058 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9059
8f630cca
YY
90602014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9061
9062 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9063 Return immediately after lll_futex_wake.
9064
1cdeb237
SP
90652014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9066
bc8f194c
SP
9067 [BZ #16791]
9068 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9069 structure.
9070 (datahead_init_pos): Call datahead_init_common early.
9071 (datahead_init_neg): Likewise.
9072
1cdeb237
SP
9073 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9074 datahead_init_neg): New functions.
9075 * nscd/aicache.c (addhstaiX): Use them.
9076 * nscd/grpcache.c (cache_addgr): Likewise.
9077 * nscd/hstcache.c (cache_addhst): Likewise.
9078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9079 * nscd/netgroupcache.c (do_notfound): Likewise.
9080 (addgetnetgrentX): Likewise.
9081 (addinnetgrX): Likewise.
9082 * nscd/pwdcache.c (cache_addpw): Likewise.
9083 * nscd/servicescache.c (cache_addserv): Likewise.
9084
16b293a7
SP
90852014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9086 Atsushi Onoe <atsushi@onoe.org>
9087
9088 [BZ #14308]
9089 [BZ #12994]
9090 [BZ #13651]
9091 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9092 one response is valid.
9093 * resolv/res_send.c (send_dg): Check for validity of other
9094 response if the current response is a referral.
9095
a28a9b94
SE
90962014-04-29 Steve Ellcey <sellcey@mips.com>
9097
9098 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9099
2ca180e9
SL
91002014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9101
9102 [BZ #16823]
9103 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9104 Always divide by positive zero when computing -Inf result.
9105 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9106 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9107
18f2945a
AZ
91082014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9109
9110 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9111 FPSCR if value do not change.
9112 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9113 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9114 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9115 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9116 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9117 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9118 function.
9119
5abebba4
CD
91202014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9121
9122 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9123 * sysdeps/unix/sysv/linux/hppa: Move directory from
9124 ports/systeps/unix/sysv/linux/hppa.
9125 * README: Update listing for hppa-*-linux-gnu.
9126
f7ed60c2
OB
91272014-04-28 Ondřej Bílka <neleai@seznam.cz>
9128
fff763a5
OB
9129 [BZ #16754]
9130 * manual/stdio.texi (Hook functions): Fix types of stream hook
9131 functions.
f7ed60c2
OB
9132 [BZ #16854]
9133 * socket/sys/socket.h: Fix typo in comment.
9134
df639d73
WD
91352014-04-28 Wilco <wdijkstr@arm.com>
9136
f7ed60c2 9137 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9138 * sysdeps/arm/math_private.h: New file.
9139 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9140
48332d82
L
91412014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9142
9143 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9144 with __int128_t.
9145 (La_x86_64_retval): Likewise.
9146
e5e0d9a4
IB
91472014-04-24 Ian Bolton <ian.bolton@arm.com>
9148
9149 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9150 fpsr if value didn't change.
9151 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9152 to fpcr if value didn't change.
9153 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9154 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9155 fpsr or fpcr if value didn't change.
9156 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9157 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9158 fpcr if value didn't change.
9159 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9160 to fpsr if value didn't change.
9161
bacc75f7
SP
91622014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9163
9164 * nptl/tst-sem3.c: Use test-skeleton.c
9165 (main): Rename to do_test. Use return instead of
9166 exit.
9167 * nptl/tst-sem4.c: Use test-skeleton.c
9168 (main): Rename to do_test.
9169
a059d359
DM
91702014-04-22 David S. Miller <davem@davemloft.net>
9171
9172 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9173 (struct sigaction): New struct member __glibc_reserved0, change
9174 type of sa_flags to int.
9175
ea6c92f3
YZ
91762014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9177
9178 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9179 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9180
766c4a36
SP
91812014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9182
9183 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9184 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9185
140cc7ab
VK
91862014-04-22 Will Newton <will.newton@linaro.org>
9187 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9188
9189 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9190 (__longjmp): Add longjmp and longjmp_target SystemTap
9191 probes.
9192 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9193 (__sigsetjmp): Add setjmp SystemTap probe.
9194
c54e5cf7
CD
91952014-04-17 Carlos O'Donell <carlos@redhat.com>
9196
9197 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9198 match manual order.
9199
75ffb047
AZ
92002014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9201
9202 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9203
2cd925f7
AZ
9204 * sysdeps/powerpc/fpu/fenv_private.h
9205 (libc_feholdexcept_setroundl_ctx): Define to
9206 libc_feholdexcept_setround_ppc_ctx.
9207 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9208 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9209 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9210 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9211
39e6cd8d
IB
92122014-04-17 Ian Bolton <ian.bolton@arm.com>
9213
9214 * sysdeps/aarch64/math-tests.h: New file.
9215
f9281df9
SY
92162014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9217
9218 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9219 New.
9220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9221 Check and set bit_AVX2_Usable.
9222 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9223 macro.
9224 (bit_AVX2): Likewise.
9225 (index_AVX2_Usable): Likewise.
9226 (CPUID_AVX2): Likewise.
9227 (HAS_AVX2): Likewise.
9228
37d35007
WN
92292014-04-17 Will Newton <will.newton@linaro.org>
9230
7c677662
WN
9231 * manual/setjmp.texi (System V contexts): Add note that
9232 calling setcontext on a context created by a call to a
9233 signal handler is undefined. Update text to note that
9234 setcontext from a signal handler is possible but not
9235 recommended.
9236
37d35007 9237 [BZ #16629]
e04a4e9d
WN
9238 * stdlib/tst-setcontext.c: Include signal.h.
9239 (main): Check that the signal stack before and
9240 after swapcontext is the same.
9241
37d35007
WN
9242 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9243 Re-implement to restore registers in user code and avoid
9244 rt_sigreturn system call.
9245
423a7160
W
92462014-04-17 Wilco <wdijkstr@arm.com>
9247
9248 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9249 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9250 * math/test-fenv.c: Skip exception trap tests on targets which only
9251 support non-stop mode.
9252
bc93ab29
IB
92532014-04-17 Ian Bolton <ian.bolton@arm.com>
9254 Wilco Dijkstra <wilco.dijkstra@arm.com>
9255
9256 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9257 (libc_feholdsetround_aarch64_ctx)
9258 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9259 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9260 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9261 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9262 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9263 (libc_feresetround_noexl_ctx): Define.
9264
95fc5fa3
RH
92652014-04-16 Richard Henderson <rth@redhat.com>
9266
ddb04724
RH
9267 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9268
d77c0899
RH
9269 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9270 unwind tables.
9271
a3df56fc
RH
9272 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9273 const from the non-libc, non-ldso copy.
9274
95fc5fa3
RH
9275 * sysdeps/alpha/libm-test-ulps: Regenerate.
9276
7e0b6763
IB
92772014-04-16 Ian Bolton <ian.bolton@arm.com>
9278 Wilco Dijkstra <wilco.dijkstra@arm.com>
9279
9280 * sysdeps/aarch64/fpu/math_private.h: New file.
9281
a9ea2e0c
MS
92822014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9283
9284 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9285
ea8ba7cd
IZ
92862014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9287
7e54fd04 9288 [BZ #16275]
ea8ba7cd
IZ
9289 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9290 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9292 Intel MPX bound registers before _dl_profile_fixup.
9293 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9294 registers after _dl_profile_fixup. Save and restore bound
9295 registers bnd0/bnd1 when calling _dl_call_pltexit.
9296 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9297 (LR_BND_OFFSET): Likewise.
9298 (LRV_BND0_OFFSET): Likewise.
9299 (LRV_BND1_OFFSET): Likewise.
9300
9f2a4fbc
ST
93012014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9302
9303 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9304 to...
9305 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9306 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9307 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9308 fields.
9f2a4fbc 9309
fd15a59b
ST
93102014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9311
9312 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9313
f19dfa0a
SL
93142014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9315
9316 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9317
4fa8bc3b
SL
93182014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9319
9320 [BZ #14770]
9321 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9322 * sysdeps/s390/configure: Regenerate.
9323
8ea587db
SL
9324 [BZ #16824]
9325 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9326 Set round-to-nearest internally to reduce error accumulation.
9327
aa5f0ff1
AM
93282014-04-16 Alan Modra <amodra@gmail.com>
9329
9330 [BZ #16740]
9331 [BZ #16619]
9332 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9333 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9334 * NEWS: Update fixed bug list.
aa5f0ff1 9335
bb9c256f
SP
93362014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9337
9338 * benchtests/Makefile: Depend on libraries in build directory.
9339 (bench-math): Separate out math tests.
9340 (bench-pthread): Separate out pthread tests.
9341 (bench): Include math and pthread tests.
9342
f737dfd0
CD
93432014-04-14 Carlos O'Donell <carlos@redhat.com>
9344
9345 [BZ #16831]
9346 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9347 _dl_debug_initialize.
9348
0699f766
CD
9349 * configure.ac: Remove SELinux header check.
9350 * configure: Regenerate.
9351 * nscd/selinux.c (perms): Array of const char* to permission names.
9352 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9353 default policy. Call string_to_security_class and string_to_av_perm to
9354 translate strings. Enforce default policy and call avs_has_perm with
9355 results of translated strings.
9356
809bd45f
DM
93572014-04-13 David S. Miller <davem@davemloft.net>
9358
9359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9360
89e691f2
AM
93612014-04-12 Allan McRae <allan@archlinux.org>
9362
9363 [BZ #16838]
9364 * manual/string.texi (Collation Functions): Fix qsort argument
9365 order in example.
9366 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9367
9c9daaeb
CM
93682014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9369
9370 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9371 Make the test a no-op if there are no exceptions defined.
9372
95561fb9
PP
93732014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9374
fe8d072c 9375 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9376 enable-hardcoded-path-in-tests
9377
970c602a
WN
93782014-04-11 Will Newton <will.newton@linaro.org>
9379
9380 * benchtests/Makefile (extra-objs): Add json-lib.o.
9381 (bench-func): Tidy up JSON output.
9382 * benchtests/bench-skeleton.c: Include json-lib.h.
9383 (main): Use JSON library functions to do output of
9384 benchmark results.
9385 * benchtests/bench-timing-type.c (main): Output the
9386 timing type simply, leaving formatting to the user.
9387 * benchtests/json-lib.c: New file.
9388 * benchtests/json-lib.h: Likewise.
9389
36875b06
TR
93902014-04-11 Torvald Riegel <triegel@redhat.com>
9391
9392 [BZ #15215]
9393 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9394 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9395 memory barriers. Add comments.
9396 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9397 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9398 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9399 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9400 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9401 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9402
579db35a
SL
94032014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9404
9405 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9406 * sysdeps/s390/s390-64/configure.ac: ... this ...
9407 * sysdeps/s390/configure.ac: ... to here.
9408 * sysdeps/s390/s390-32/configure: Delete file.
9409 * sysdeps/s390/s390-64/configure: Delete file.
9410 * sysdeps/s390/configure: Regenerate.
9411
c12e9f37
JAPH
94122014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9413
9414 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9415
439bda32
WN
94162014-04-11 Will Newton <will.newton@linaro.org>
9417
9418 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9419 to zero if it is not defined elsewhere. (mtrim): Test
9420 the value of MALLOC_DEBUG with #if rather than #ifdef.
9421
6a5d6ea1
TR
94222014-04-10 Torvald Riegel <triegel@redhat.com>
9423
9424 * benchtests/pthread_once-inputs: New file.
9425 * benchtests/pthread_once-source.c: New file.
9426 * benchtests/README: Update documentation.
9427
a4c75cfd
IZ
94282014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9429 H.J. Lu <hongjiu.lu@intel.com>
9430
7e54fd04 9431 [BZ #16275]
a4c75cfd
IZ
9432 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9433 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9434 * sysdeps/x86_64/configure: Regenerated.
9435 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9436 macro.
9437 (REGISTER_SAVE_RAX): Likewise.
9438 (REGISTER_SAVE_RCX): Likewise.
9439 (REGISTER_SAVE_RDX): Likewise.
9440 (REGISTER_SAVE_RSI): Likewise.
9441 (REGISTER_SAVE_RDI): Likewise.
9442 (REGISTER_SAVE_R8): Likewise.
9443 (REGISTER_SAVE_R9): Likewise.
9444 (REGISTER_SAVE_BND0): Likewise.
9445 (REGISTER_SAVE_BND1): Likewise.
9446 (REGISTER_SAVE_BND2): Likewise.
9447 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9448 bound registers when calling _dl_fixup.
9449
27822ce6
AZ
94502014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9451
9452 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9453 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9454 of its definition.
27822ce6
AZ
9455 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9456 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9457 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9458 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9459 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9460 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9461 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9462
a88ddc90
PTB
94632014-04-09 Peter Brett <peter@peter-b.co.uk>
9464
9465 [BZ #15514]
9466 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9467 pathconf(_PC_NAME_MAX).
9468
01f8eac2
AZ
94692014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9472 Remove macro usage.
9473 (__PTHREAD_SPINS): Move definition to ...
9474 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9475 (__PTHREAD_SPINS): ... here.
9476 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9477 (__PTHREAD_SPIN): Likewise.
9478 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9479 (__PTHREAD_SPIN): Likewise.
9480 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9481 (__PTHREAD_SPIN): Likewise.
9482 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9483 (__PTHREAD_SPIN): Likewise.
9484 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9485 (__PTHREAD_SPIN): Likewise.
9486 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9487 (__PTHREAD_SPIN): Likewise.
9488 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9489 (__PTHREAD_SPIN): Likewise.
9490 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9491 (__PTHREAD_SPIN): Likewise.
9492 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9493 (__PTHREAD_SPIN): Likewise.
9494 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9495 (__PTHREAD_SPIN): Likewise.
9496 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9497 (__PTHREAD_SPIN): Likewise.
9498 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9499 (__PTHREAD_SPIN): Likewise.
9500
de21c33c
AZ
9501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9502 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9503 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9505 imply folder.
9506 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9507 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9508 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9509 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9510 correct imply path.
9511 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9512 strlen symbol for non multi-arch builds.
9513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9514 missing hidden_def and weak_alias.
9515
862c472e
CD
95162014-04-08 Carlos O'Donell <carlos@redhat.com>
9517
9518 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9519
8667f90e
WN
95202014-04-07 Will Newton <will.newton@linaro.org>
9521
9522 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9523 and contents. [!_LIBC] Remove #ifndef and contents.
9524 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9525 * string/memccpy.c (__memccpy): Use ANSI prototype.
9526 * string/memfrob.c (memfrob): Likewise.
9527 * string/strcoll.c (STRCOLL): Likewise.
9528 * string/strlen.c (strlen): Likewise.
9529 * string/strtok.c (STRTOK): Likewise.
9530 * string/strcat.c: Remove unused #include of memcopy.h.
9531 (strcat): Use ANSI prototype.
9532 * string/strchr.c: Remove unused #include of memcopy.h.
9533 (strchr): Use ANSI prototype.
9534 * string/strcmp.c: Remove unused #include of memcopy.h.
9535 (strcmp): Use ANSI prototype.
9536 * string/strcpy.c: Remove unused #include of memcopy.h.
9537 (strcpy): Use ANSI prototype.
9538
7ffa9423
AZ
95392014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9540
9541 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9542 * config.make.in (config-extra-cppflags): Set it from
9543 libc_extra_cppflags.
9544 * configure.ac (libc_extra_cflags): Make it accumulate over
9545 configure fragments.
9546 (libc_extra_cppflags): New flag.
9547 * configure. Regenerate.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9549 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9550 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9552
8bd70862
AZ
9553 [BZ #16815]
9554 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9555 result for FE_DOWNWARD rounding mode.
9556 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9557 Likewise.
9558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9559
d42f3448
CM
95602014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9561
9562 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9563 in function argument name.
9564
1c21d115
DS
95652014-04-03 David Svoboda <svoboda@cert.org>
9566
9567 [BZ #5666]
9568 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9569 explicitly.
9570
fcccd512
RM
95712014-04-03 Roland McGrath <roland@hack.frob.com>
9572
9573 * elf/dl-unmap-segments.h: New file.
9574 * sysdeps/generic/ldsodefs.h
9575 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9576 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9577 * elf/dl-fptr.c: Likewise.
9578 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9579 * sysdeps/aarch64/tlsdesc.c: Likewise.
9580 * sysdeps/arm/tlsdesc.c: Likewise.
9581 * sysdeps/i386/tlsdesc.c: Likewise.
9582 * sysdeps/tile/dl-runtime.c: Likewise.
9583 * sysdeps/x86_64/tlsdesc.c: Likewise.
9584 * elf/dl-load.h: New file.
9585 * elf/dl-load.c: Include it.
9586 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9587 Macros moved to dl-load.h.
9588 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9589 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9590 Use _dl_unmap_segments in place of __munmap.
9591 Break out segment-mapping loop into ...
9592 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9593
f6488e2b
WN
95942014-04-03 Will Newton <will.newton@linaro.org>
9595
9596 * elf/dl-lookup.c (do_lookup_x): Remove comment
9597 referring to nested function and move variable
9598 declarations down to before first use.
9599
6f05bafe
JM
96002014-04-02 Joseph Myers <joseph@codesourcery.com>
9601
a84e78c8
JM
9602 [BZ #16799]
9603 [BZ #16800]
9604 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9605 with 0 numerator.
9606 * math/s_catanf.c (__catanf): Likewise.
9607 * math/s_catanh.c (__catanh): Likewise.
9608 * math/s_catanhf.c (__catanhf): Likewise.
9609 * math/s_catanhl.c (__catanhl): Likewise.
9610 * math/s_catanl.c (__catanl): Likewise.
9611 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9612 by positive zero when computing -Inf result.
9613 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9614 (catanh_test): Likewise.
9615 * sysdeps/i386/fpu/libm-test-ulps: Update.
9616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9617
6f05bafe
JM
9618 [BZ #16789]
9619 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9620 instead of using underflowing value in computing result.
9621 * math/s_clog10.c (__clog10): Likewise.
9622 * math/s_clog10f.c (__clog10f): Likewise.
9623 * math/s_clog10l.c (__clog10l): Likewise.
9624 * math/s_clogf.c (__clogf): Likewise.
9625 * math/s_clogl.c (__clogl): Likewise.
9626 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9627 (clog10_test): Likewise.
9628 * sysdeps/i386/fpu/libm-test-ulps: Update.
9629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630
b0abbc21
AM
96312014-04-02 Alan Modra <amodra@gmail.com>
9632
9633 [BZ #16739]
9634 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9635 output when value is near a power of two. Use int64_t for lx and
9636 remove casts. Use decimal rather than hex exponent constants.
9637 Don't use long double multiplication when double will suffice.
9638 * math/libm-test.inc (nextafter_test_data): Add tests.
9639 * NEWS: Add 16739 and 16786 to bug list.
9640
af6b1797
AM
9641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9642
483818d7
AM
9643 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9644
f6c55796
WN
96452014-04-01 Will Newton <will.newton@linaro.org>
9646
9647 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9648 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9649
13f7fe35
FW
96502014-04-01 Florian Weimer <fweimer@redhat.com>
9651
9652 [BZ #13347]
9653 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9654 * nptl/tst-setuid2.c: New file.
9655 * nptl/Makefile (xtests): Add tst-setuid2.
9656
c859b32e
AM
96572014-04-01 Alan Modra <amodra@gmail.com>
9658
9659 [BZ #16786]
9660 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9661
54fa2475
JM
96622014-03-31 Joseph Myers <joseph@codesourcery.com>
9663
8795b4a4
JM
9664 [BZ #6803]
9665 [BZ #6804]
9666 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9667 set errno as appropriate.
9668 * math/w_scalbf.c (__scalbf): Likewise.
9669 * math/w_scalbl.c (__scalbl): Likewise.
9670 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9671 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9672 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9673 Add more NaN tests.
9674
54fa2475
JM
9675 [BZ #16349]
9676 * math/w_atan2.c: Include <errno.h>.
9677 (__atan2): Set errno for result underflowing to zero.
9678 * math/w_atan2f.c: Include <errno.h>.
9679 (__atan2f): Set errno for result underflowing to zero.
9680 * math/w_atan2l.c: Include <errno.h>.
9681 (__atan2l): Set errno for result underflowing to zero.
9682 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9683 tests.
9684 * math/auto-libm-test-out: Regenerated.
9685
757d9dd5
AZ
96862014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9687
9688 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9689 Encode instruction correctly in little endian.
9690 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9691 Likewise.
9692 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9693 Likewise.
9694 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9695 Likewise.
9696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9697 Likewise.
9698
d7a68734
JM
96992014-03-31 Joseph Myers <joseph@codesourcery.com>
9700
47c5adeb
JM
9701 [BZ #9894]
9702 * sysdeps/unix/sysv/linux/kernel-features.h
9703 [__sparc__ && !__arch64__ && !__sparc_v9__]
9704 (__ASSUME_SET_ROBUST_LIST): Do not define.
9705 [__sparc__ && !__arch64__ && !__sparc_v9__]
9706 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9707 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9708 Likewise.
9709 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9710 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9711 (__ASSUME_REQUEUE_PI): Likewise.
9712 (__ASSUME_SET_ROBUST_LIST): Likewise.
9713 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9714 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9715 Undefine.
9716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9717 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9718 Likewise.
9719 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9720 Likewise.
9721 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9722 Likewise.
9723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9724 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9725 Undefine.
9726 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9727 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9728 Likewise.
9729
d7a68734
JM
9730 [BZ #16648]
9731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9732 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9733 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9734
c760f5c2
WN
97352014-03-31 Will Newton <will.newton@linaro.org>
9736
9737 * benchtests/Makefile (bench): Add ffs and ffsll to list
9738 of tests.
9739 * benchtests/ffs-inputs: New file.
9740 * benchtests/ffsll-inputs: Likewise.
9741
ea6029b1
JM
97422014-03-29 Joseph Myers <joseph@codesourcery.com>
9743
9744 [BZ #16770]
9745 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9746 too large before casting to int.
9747 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9748 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9749 * math/libm-test.inc (scalb_test_data): Add more tests.
9750
cf806aff
SP
97512014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9752
56737508
SP
9753 * benchtests/Makefile (DETAILED_OPT): New make option.
9754 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9755 set.
9756 * benchtests/bench-skeleton.c: Include stdbool.h.
9757 (main): Store and print timings per input.
9758 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9759 member to each argument value.
9760 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9761 (_print_arg_data): Initialize per-input timing to 0.
9762
cb5e4aad
SP
9763 * benchtests/Makefile (timing-type): New binary.
9764 (bench-clean): Also remove bench-timing-type.
9765 (bench): New target for timing-type.
9766 (bench-func): Print output in JSON format.
9767 * benchtests/bench-skeleton.c (main): Print output in JSON
9768 format.
9769 * benchtests/bench-timing-type.c: New file.
9770 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9771 (TIMING_PRINT_STATS): Remove.
9772 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9773 name separately.
9774
cf806aff
SP
9775 * benchtests/bench-modf.c: Remove.
9776 * benchtests/modf-inputs: New inputs file.
9777
289e0779
JM
97782014-03-28 Joseph Myers <joseph@codesourcery.com>
9779
9780 [BZ #16362]
9781 * math/s_clog10.c (M_PI_LOG10E): New macro.
9782 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9783 imaginary parts are 0.
9784 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9785 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9786 imaginary parts are 0.
9787 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9788 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9789 imaginary parts are 0.
9790 * math/libm-test.inc (clog10_test_data): Update expected results
9791 for when real and imaginary parts are 0.
9792
277ae3f1
PP
97932014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9794
9795 * elf/dl-load.c: Finish conversion of __builtin_expect into
9796 __glibc_{un}likely.
9797
03a7091f
JM
97982014-03-27 Joseph Myers <joseph@codesourcery.com>
9799
9800 [BZ #16348]
9801 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9802 1+x for argument with exponent below -67.
9803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9804 Likewise.
9805 * math/auto-libm-test-in: Add more tests of exp.
9806 * math/auto-libm-test-out: Regenerated.
9807
ea7d8b95
SP
98082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9809
dd3022d7
SP
9810 [BZ #16759]
9811 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9812 (nscd_getnetgrent): Use it.
9813
ea7d8b95
SP
9814 [BZ #16760]
9815 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9816 of stpcpy.
9817
df5b85da
AK
98182014-03-27 Andi Kleen <ak@linux.intel.com>
9819
57f41c40
AS
9820 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9821 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9822 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9823 (lll_robust_unlock): Remove out of line section. Use cfi
9824 intrinsics.
df5b85da 9825 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9826 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9827 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9828 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9829 (lll_robust_unlock): Remove out of line section. Use cfi
9830 intrinsics.
df5b85da
AK
9831 (LLL_STUB_UNWIND_INFO*): Remove.
9832
fbd6b5a4
SP
98332014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9834
9835 [BZ #16758]
9836 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9837 blank values.
9838
1b26b855
PP
98392014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9840
9841 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9842
9be36fb8
JM
98432014-03-26 Joseph Myers <joseph@codesourcery.com>
9844
9845 [BZ #16198]
9846 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9847 fnstenv.
9848 * math/test-fenv-preserve.c: New file.
9849 * math/Makefile (tests): Add test-fenv-preserve.
9850
60a2f3c1
WN
98512014-03-26 Will Newton <will.newton@linaro.org>
9852
9853 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9854
a5e5f1e2
RM
98552014-03-25 Roland McGrath <roland@hack.frob.com>
9856
9857 * scripts/versionlist.awk: Partition the version sets and emit all
9858 GLIBC_* (sorted) before all others (sorted).
9859
00f4012a
JM
98602014-03-25 Joseph Myers <joseph@codesourcery.com>
9861
9862 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9863 GLIBC_2.2.5 version.
9864
7bc5a741
AZ
98652014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9866
9867 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9868 calls.
9869
7578473b
AZ
9870 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9871 previous change.
9872
f3f1dab3
AZ
9873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9874
6da36183
AS
98752014-03-25 Andreas Schwab <schwab@suse.de>
9876
9877 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9878 label to be used after in6ailist is initialized.
9879
f3f1dab3 98802014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9881
7578473b 9882 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9883 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9884
046651c1
JM
98852014-03-25 Joseph Myers <joseph@codesourcery.com>
9886
9887 [BZ #16357]
9888 [BZ #16599]
9889 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9890 min_plus_half.
9891 (fp_formats): Update initializers.
9892 (init_fp_formats): Initialize new field.
9893 (output_for_one_input_case): Allow underflow for results up to
9894 min_plus_half.
9895 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9896 * math/auto-libm-test-in: Don't mark some underflows from asin and
9897 atanh as spurious.
9898 * math/auto-libm-test-out: Regenerated.
9899 * sysdeps/i386/fpu/libm-test-ulps: Update.
9900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9901
003e49ed
AS
99022014-03-25 Andreas Schwab <schwab@suse.de>
9903
9904 * libio/Makefile (tst-ftell-partial-wide-ENV)
9905 (tst-ftell-active-handler-ENV): Define.
9906
de031874
SL
99072014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9908
9909 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9910
55a81e3b
PP
99112014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9912
9913 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9914
f3426898
JM
99152014-03-24 Joseph Myers <joseph@codesourcery.com>
9916
9917 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9918 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9919 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9920
a42faf59
PP
99212014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9922
9923 [BZ #16634]
a42faf59 9924 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9925 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9926 (open_path): Change from boolean 'secure' to complete flag 'mode'
9927 (_dl_map_object): Adjust.
a42faf59
PP
9928 * elf/Makefile (tests): Add tst-dlopen-aout.
9929 * elf/tst-dlopen-aout.c: New test.
9930
50936127
SL
99312014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9932
9933 [BZ #16714]
9934 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9935 (struct stat): Rename member pad0 to __glibc_reserved0.
9936
26011b5c
SL
9937 [BZ #16712]
9938 * sysdeps/s390/s390-32/bits/wordsize.h
9939 (__WORDSIZE32_SIZE_ULONG): New define.
9940 * sysdeps/s390/s390-64/bits/wordsize.h
9941 (__WORDSIZE32_SIZE_ULONG): Likewise.
9942 * sysdeps/generic/stdint.h (SIZE_MAX):
9943 Define as UL if __WORDSIZE32_SIZE_ULONG.
9944
a2d86bf1
SL
9945 [BZ #16713]
9946 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9947 (__glibc_reserved0): New variable.
9948 (sa_flags): Change type to int.
9949
78b6eebc
SL
9950 * posix/Makefile (before-compile): Use += before-compile instead
9951 of a :=.
9952
f1399b5a
SL
9953 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9954 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9955
a071766e
AS
99562014-03-20 Andreas Schwab <schwab@suse.de>
9957
9958 [BZ #16743]
9959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9960 non-matching result from nscd.
9961
27c673b8
SP
99622014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9963
9964 * scripts/bench.py: Moved to ...
9965 * benchtests/scripts/bench.py: ... here.
9966 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9967
44152e4b
AS
99682014-03-24 Andreas Schwab <schwab@suse.de>
9969
9970 [BZ #16002]
9971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9972 alloca_account and account alloca use for struct in6ailist.
9973
b376a11a
JM
99742014-03-24 Joseph Myers <joseph@codesourcery.com>
9975
9976 [BZ #16284]
9977 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9978 rounding mode to recompute results that overflow to infinity or
9979 underflow to zero.
9980 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9981 bug 16284.
9982 * math/auto-libm-test-out: Regenerated.
9983 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9984 (ccosh_test): Likewise.
9985 (csin_test_data): Use plus_oflow.
9986 (csin_test): Use ALL_RM_TEST.
9987 (csinh_test_data): Use plus_oflow.
9988 (csinh_test): Use ALL_RM_TEST.
9989 * sysdeps/i386/fpu/libm-test-ulps: Update.
9990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9991
f7be7376
JM
99922014-03-21 Joseph Myers <joseph@codesourcery.com>
9993
1ca2d03e
JM
9994 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9995 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9996 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9997
f7be7376
JM
9998 [BZ #16731]
9999 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10000 when x - 1 is zero.
10001 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10002 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10003 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10004 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10005 argument is 1.
10006 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10007 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10008 zero.
10009 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10010 * sysdeps/i386/fpu/libm-test-ulps: Update.
10011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10012
fdf4534d
SP
100132014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
df26ea53
SP
10015 * scripts/bench.pl: Remove file.
10016 * scripts/bench.py: New benchmark script.
10017 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10018 * benchtests/README: Mention python dependency.
10019 * scripts/pylintrc: New file.
10020 * scripts/pylint: New file.
10021
fdf4534d
SP
10022 * bits/mathdef.h: Use #ifdef instead of #if.
10023 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10024 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10025 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10026 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10027 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10028 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10029
6f23d093
AZ
100302014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10031 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10032
10033 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10035 and strpbrk-ppc64 objects.
10036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10037 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10038 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10039 multiarch strpbrk for POWER7.
10040 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10041 multiarch strpbrk for PPC64.
10042 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10043 ifunc selector.
10044 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10045 strpbrk for POWER7.
10046
8c92dfff
JM
100472014-03-20 Joseph Myers <joseph@codesourcery.com>
10048
10049 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10050 (atan_test): Likewise.
10051 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10052 (atanh_test): Use ALL_RM_TEST.
10053 (atan2_test_data): Likewise.
10054 (cabs_test): Likewise.
10055 (cacosh_test): Likewise.
10056 (carg_test): Likewise.
10057 (casin_test): Likewise.
10058 (casinh_test): Likewise.
10059 (cbrt_test): Likewise.
10060 (csqrt_test): Likewise.
10061 (erf_test): Likewise.
10062 (erfc_test): Likewise.
10063 (pow10_test): Likewise.
10064 (exp2_test): Likewise.
10065 (hypot_test): Likewise.
10066 (j0_test): Likewise.
10067 (j1_test): Likewise.
10068 (lgamma_test): Likewise.
10069 (gamma_test): Likewise.
10070 (sincos_test): Likewise.
10071 (tanh_test): Likewise.
10072 (y0_test): Likewise.
10073 (y1_test): Likewise.
10074 * sysdeps/i386/fpu/libm-test-ulps: Update.
10075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10076
6eaf95cb
AZ
100772014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10078
a387428c
SP
10079 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10081 and strcspn-ppc64 objects.
10082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10083 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10084 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10085 multiarch strcspn for POWER7.
10086 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10087 multiarch strcspn for PPC64.
10088 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10089 ifunc selector.
10090 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10091 strcspn for POWER7.
10092
ae3a5dff
JM
100932014-03-20 Joseph Myers <joseph@codesourcery.com>
10094
10095 * math/gen-libm-test.pl (generate_testfile): Expect only function
10096 name as argument to AUTO_TESTS_* and pass results for all rounding
10097 modes to parse_args.
10098 (parse_auto_input): Separate inputs of automatic tests from
10099 outputs before storing in %auto_tests.
10100 * math/libm-test.inc (acos_test_data): Update call to
10101 AUTO_TESTS_f_f.
10102 (acos_test): Use ALL_RM_TEST.
10103 (acos_tonearest_test_data): Remove.
10104 (acos_test_tonearest): Likewise.
10105 (acos_towardzero_test_data): Likewise.
10106 (acos_test_towardzero): Likewise.
10107 (acos_downward_test_data): Likewise.
10108 (acos_test_downward): Likewise.
10109 (acos_upward_test_data): Likewise.
10110 (acos_test_upward): Likewise.
10111 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10112 (asin_test_data): Likewise.
10113 (asin_test): Use ALL_RM_TEST.
10114 (asin_tonearest_test_data): Remove.
10115 (asin_test_tonearest): Likewise.
10116 (asin_towardzero_test_data): Likewise.
10117 (asin_test_towardzero): Likewise.
10118 (asin_downward_test_data): Likewise.
10119 (asin_test_downward): Likewise.
10120 (asin_upward_test_data): Likewise.
10121 (asin_test_upward): Likewise.
10122 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10123 (atan_test_data): Likewise.
10124 (atanh_test_data): Likewise.
10125 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10126 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10127 (carg_test_data): Likewise.
10128 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10129 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10130 (ccosh_test_data): Likewise.
10131 (cexp_test_data): Likewise.
10132 (clog_test_data): Likewise.
10133 (clog10_test_data): Likewise.
10134 (cos_test_data): Update call to AUTO_TESTS_f_f.
10135 (cos_test): Use ALL_RM_TEST.
10136 (cos_tonearest_test_data): Remove.
10137 (cos_test_tonearest): Likewise.
10138 (cos_towardzero_test_data): Likewise.
10139 (cos_test_towardzero): Likewise.
10140 (cos_downward_test_data): Likewise.
10141 (cos_test_downward): Likewise.
10142 (cos_upward_test_data): Likewise.
10143 (cos_test_upward): Likewise.
10144 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10145 (cosh_test): Use ALL_RM_TEST.
10146 (cosh_tonearest_test_data): Remove.
10147 (cosh_test_tonearest): Likewise.
10148 (cosh_towardzero_test_data): Likewise.
10149 (cosh_test_towardzero): Likewise.
10150 (cosh_downward_test_data): Likewise.
10151 (cosh_test_downward): Likewise.
10152 (cosh_upward_test_data): Likewise.
10153 (cosh_test_upward): Likewise.
10154 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10155 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10156 (ctan_test_data): Likewise.
10157 (ctan_test): Use ALL_RM_TEST.
10158 (ctan_tonearest_test_data): Remove.
10159 (ctan_test_tonearest): Likewise.
10160 (ctan_towardzero_test_data): Likewise.
10161 (ctan_test_towardzero): Likewise.
10162 (ctan_downward_test_data): Likewise.
10163 (ctan_test_downward): Likewise.
10164 (ctan_upward_test_data): Likewise.
10165 (ctan_test_upward): Likewise.
10166 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10167 (ctanh_test): Use ALL_RM_TEST.
10168 (ctanh_tonearest_test_data): Remove.
10169 (ctanh_test_tonearest): Likewise.
10170 (ctanh_towardzero_test_data): Likewise.
10171 (ctanh_test_towardzero): Likewise.
10172 (ctanh_downward_test_data): Likewise.
10173 (ctanh_test_downward): Likewise.
10174 (ctanh_upward_test_data): Likewise.
10175 (ctanh_test_upward): Likewise.
10176 (erf_test_data): Update call to AUTO_TESTS_f_f.
10177 (erfc_test_data): Likewise.
10178 (exp_test_data): Likewise.
10179 (exp_test): Use ALL_RM_TEST.
10180 (exp_tonearest_test_data): Remove.
10181 (exp_test_tonearest): Likewise.
10182 (exp_towardzero_test_data): Likewise.
10183 (exp_test_towardzero): Likewise.
10184 (exp_downward_test_data): Likewise.
10185 (exp_test_downward): Likewise.
10186 (exp_upward_test_data): Likewise.
10187 (exp_test_upward): Likewise.
10188 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10189 (exp10_test): Use ALL_RM_TEST.
10190 (exp10_tonearest_test_data): Remove.
10191 (exp10_test_tonearest): Likewise.
10192 (exp10_towardzero_test_data): Likewise.
10193 (exp10_test_towardzero): Likewise.
10194 (exp10_downward_test_data): Likewise.
10195 (exp10_test_downward): Likewise.
10196 (exp10_upward_test_data): Likewise.
10197 (exp10_test_upward): Likewise.
10198 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10199 (expm1_test_data): Likewise.
10200 (expm1_test): Use ALL_RM_TEST.
10201 (expm1_tonearest_test_data): Remove.
10202 (expm1_test_tonearest): Likewise.
10203 (expm1_towardzero_test_data): Likewise.
10204 (expm1_test_towardzero): Likewise.
10205 (expm1_downward_test_data): Likewise.
10206 (expm1_test_downward): Likewise.
10207 (expm1_upward_test_data): Likewise.
10208 (expm1_test_upward): Likewise.
10209 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10210 (fma_test): Use ALL_RM_TEST.
10211 (fma_towardzero_test_data): Remove.
10212 (fma_test_towardzero): Likewise.
10213 (fma_downward_test_data): Likewise.
10214 (fma_test_downward): Likewise.
10215 (fma_upward_test_data): Likewise.
10216 (fma_test_upward): Likewise.
10217 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10218 (j0_test_data): Update call to AUTO_TESTS_f_f.
10219 (j1_test_data): Likewise.
10220 (jn_test_data): Update call to AUTO_TESTS_if_f.
10221 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10222 (log_test_data): Update call to AUTO_TESTS_f_f.
10223 (log10_test_data): Likewise.
10224 (log1p_test_data): Likewise.
10225 (log2_test_data): Likewise.
10226 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10227 (pow_tonearest_test_data): Likewise.
10228 (sin_test_data): Update call to AUTO_TESTS_f_f.
10229 (sin_test): Use ALL_RM_TEST.
10230 (sin_tonearest_test_data): Remove.
10231 (sin_test_tonearest): Likewise.
10232 (sin_towardzero_test_data): Likewise.
10233 (sin_test_towardzero): Likewise.
10234 (sin_downward_test_data): Likewise.
10235 (sin_test_downward): Likewise.
10236 (sin_upward_test_data): Likewise.
10237 (sin_test_upward): Likewise.
10238 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10239 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10240 (sinh_test): Use ALL_RM_TEST.
10241 (sinh_tonearest_test_data): Remove.
10242 (sinh_test_tonearest): Likewise.
10243 (sinh_towardzero_test_data): Likewise.
10244 (sinh_test_towardzero): Likewise.
10245 (sinh_downward_test_data): Likewise.
10246 (sinh_test_downward): Likewise.
10247 (sinh_upward_test_data): Likewise.
10248 (sinh_test_upward): Likewise.
10249 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10250 (sqrt_test): Use ALL_RM_TEST.
10251 (sqrt_tonearest_test_data): Remove.
10252 (sqrt_test_tonearest): Likewise.
10253 (sqrt_towardzero_test_data): Likewise.
10254 (sqrt_test_towardzero): Likewise.
10255 (sqrt_downward_test_data): Likewise.
10256 (sqrt_test_downward): Likewise.
10257 (sqrt_upward_test_data): Likewise.
10258 (sqrt_test_upward): Likewise.
10259 (tan_test_data): Update call to AUTO_TESTS_f_f.
10260 (tan_test): Use ALL_RM_TEST.
10261 (tan_tonearest_test_data): Remove.
10262 (tan_test_tonearest): Likewise.
10263 (tan_towardzero_test_data): Likewise.
10264 (tan_test_towardzero): Likewise.
10265 (tan_downward_test_data): Likewise.
10266 (tan_test_downward): Likewise.
10267 (tan_upward_test_data): Likewise.
10268 (tan_test_upward): Likewise.
10269 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10270 (tgamma_test_data): Likewise.
10271 (y0_test_data): Likewise.
10272 (y1_test_data): Likewise.
10273 (yn_test_data): Update call to AUTO_TESTS_if_f.
10274 (main): Do not call removed functions.
10275
d71aeee8
JM
102762014-03-19 Joseph Myers <joseph@codesourcery.com>
10277
10278 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10279 (ldexp_test_data): Remove.
10280 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10281 scalbn_test_data.
10282 (scalb_test): Use ALL_RM_TEST.
10283
baaf1ded
AS
102842014-03-19 Andreas Schwab <schwab@suse.de>
10285
10286 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10287
b1115e91
JM
102882014-03-19 Joseph Myers <joseph@codesourcery.com>
10289
10290 [BZ #16649]
10291 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10292 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10293 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10294 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10295 (__ASSUME_PREADV): Undefine.
10296 (__ASSUME_PWRITEV): Likewise.
10297
0283ecca
RM
102982014-03-18 Roland McGrath <roland@hack.frob.com>
10299
7d375303
RM
10300 * bits/mman-linux.h: Add comment about non-Linux use.
10301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10302 bits/mman-linux.h resting place.
10303
0283ecca
RM
10304 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10305 * bits/mman-linux.h: ... here.
10306
aebe1003
AZ
103072014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10308
10309 * conform/conformtest.pl: Add standard definition when calling C
10310 preprocessor on data files.
10311 (checknamespace): Remove unused variable.
10312
b29b6bb8
JM
103132014-03-18 Joseph Myers <joseph@codesourcery.com>
10314
10315 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10316 minus_oflow, plus_uflow and minus_uflow in expected results.
10317 * math/libm-test.inc (scalbn_test_data): Add more tests of
10318 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10319 minus_uflow.
10320 (scalbn_test): Use ALL_RM_TEST.
10321 (scalbln_test_data): Add more tests of negative arguments. Use
10322 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10323 (scalbln_test): Use ALL_RM_TEST.
10324
c8f8fa15
RM
103252014-03-18 Roland McGrath <roland@hack.frob.com>
10326
10327 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10328
fede7a5f
WN
103292014-03-18 Will Newton <will.newton@linaro.org>
10330
10331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10332 inaccurate comment.
10333
80cf0a58
JM
103342014-03-18 Joseph Myers <joseph@codesourcery.com>
10335
10336 * Makerules [!subdir] (check-abi): Exit with error status if a
10337 test failed.
10338
b3620862
JM
103392014-03-17 Joseph Myers <joseph@codesourcery.com>
10340
10341 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10342 for rint. Include results for all rounding modes.
10343 (nearbyint_test): Use ALL_RM_TEST.
10344 (rint_test_data): Include all tests used for nearbyint.
10345
788bba36
WN
103462014-03-17 Will Newton <will.newton@linaro.org>
10347
04ec140a
WN
10348 * nptl/sysdeps/pthread/pthread.h: Revert previous
10349 change.
10350
7579d8d5
WN
10351 * sysdeps/generic/ldsodefs.h: Revert previous
10352 change.
10353
c15cf13a
WN
10354 * libio/genops.c: Revert previous change.
10355 * libio/libioP.h: Likewise.
10356 * stdio-common/vfprintf.c: Likewise.
10357
d0ac1324
WN
10358 * sysdeps/generic/math_private.h: Revert previous
10359 change.
10360
9290130a
WN
10361 * sysdeps/generic/math_private.h: Check whether
10362 HAVE_RM_CTX is defined with #ifdef rather
10363 than #if.
10364
afb466fc
WN
10365 * argp/argp-fmtstream.h: Check whether
10366 __STRICT_ANSI__ is defined with #ifdef rather
10367 than #if.
10368 * argp/argp.h: Likewise.
10369
f7efd7c3
WN
10370 * libio/genops.c: Check whether
10371 _IO_JUMPS_OFFSET is defined with #ifdef rather
10372 than #if.
10373 * libio/libioP.h: Likewise.
10374 * stdio-common/vfprintf.c: Likewise.
10375
53f1bed3
WN
10376 * sysdeps/generic/ldsodefs.h: Check whether
10377 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10378 than #if.
10379
788bba36
WN
10380 * nptl/sysdeps/pthread/pthread.h: Check
10381 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10382 its value.
10383
fcd89ebe
SP
103842014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10385
ae42bbc5
SP
10386 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10387 setting O_APPEND.
10388 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10389 test case.
10390
ea33158c
SP
10391 [BZ #16680]
10392 * libio/fileops.c (_IO_file_open): Seek to end of file but
10393 don't cache the offset.
10394 (get_file_offset): Remove function.
10395 (do_ftell): Use cached offset when available.
10396 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10397 don't cache the offset.
10398 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10399 case.
10400 (do_one_test): Call it.
10401 (do_ftell_test): Fix up expected old offset for a+ mode.
10402 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10403 available.
10404
b1dbb426
SP
10405 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10406 up test status with function return status.
10407 (do_write_test): Likewise.
10408 (do_append_test): Likewise.
10409
fcd89ebe
SP
10410 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10411 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10412 Remove.
10413
9962a2d3
JM
104142014-03-17 Joseph Myers <joseph@codesourcery.com>
10415
10416 * math/gen-libm-test.pl (parse_args): Handle results specified for
10417 each rounding mode separately.
10418 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10419 tests and results from lrint_tonearest_test_data,
10420 lrint_towardzero_test_data, lrint_downward_test_data and
10421 lrint_upward_test_data.
10422 (lrint_test): Use ALL_RM_TEST.
10423 (lrint_tonearest_test_data): Remove.
10424 (lrint_test_tonearest): Likewise.
10425 (lrint_towardzero_test_data): Likewise.
10426 (lrint_test_towardzero): Likewise.
10427 (lrint_downward_test_data): Likewise.
10428 (lrint_test_downward): Likewise.
10429 (lrint_upward_test_data): Likewise.
10430 (lrint_test_upward): Likewise.
10431 (llrint_test_data): Merge in per-rounding-mode tests and results
10432 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10433 llrint_downward_test_data and llrint_upward_test_data.
10434 (llrint_test): Use ALL_RM_TEST.
10435 (llrint_tonearest_test_data): Remove.
10436 (llrint_test_tonearest): Likewise.
10437 (llrint_towardzero_test_data): Likewise.
10438 (llrint_test_towardzero): Likewise.
10439 (llrint_downward_test_data): Likewise.
10440 (llrint_test_downward): Likewise.
10441 (llrint_upward_test_data): Likewise.
10442 (llrint_test_upward): Likewise.
10443 (rint_test_data): Merge in per-rounding-mode tests and results
10444 from rint_tonearest_test_data, rint_towardzero_test_data,
10445 rint_downward_test_data and rint_upward_test_data. Add
10446 per-rounding-mode results for tests not in those arrays.
10447 (rint_test): Use ALL_RM_TEST.
10448 (rint_tonearest_test_data): Remove.
10449 (rint_test_tonearest): Likewise.
10450 (rint_towardzero_test_data): Likewise.
10451 (rint_test_towardzero): Likewise.
10452 (rint_downward_test_data): Likewise.
10453 (rint_test_downward): Likewise.
10454 (rint_upward_test_data): Likewise.
10455 (rint_test_upward): Likewise.
10456 (main): Don't call removed functions.
10457
5006148e
RM
104582014-03-14 Roland McGrath <roland@hack.frob.com>
10459
10460 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10461 "Compiled on ..." crapola. It is anti-useful.
10462
d6fe5e58
JM
104632014-03-14 Joseph Myers <joseph@codesourcery.com>
10464
10465 * scripts/evaluate-test.sh: Handle fourth argument to determine
10466 whether test run should stop on failure.
10467 * Makeconfig (stop-on-test-failure): New variable.
10468 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10469 $(stop-on-test-failure).
10470 * Makefile (tests): Give a summary of results from testing and
10471 exit with failure status if they include an ERROR or FAIL.
10472 (xtests): Likewise.
10473 * manual/install.texi (Configuring and compiling): Mention
10474 stop-on-test-failure=y.
10475 * INSTALL: Regenerated.
10476
498a2233
RM
104772014-03-14 Roland McGrath <roland@hack.frob.com>
10478
22dbc19d
RM
10479 * scripts/versionlist.awk: New file.
10480 * Makerules [$(build-shared) = yes]
10481 (postclean-generated): Add Versions.def, not Versions.def.v and
10482 Versions.def.v.i.
10483 ($(common-objpfx)Versions.def.v.i): Target removed.
10484 ($(common-objpfx)Versions.def): New target.
10485 ($(common-objpfx)Versions.all): Depend on that rather that
10486 $(common-objpfx)Versions.def.v.
10487 * Versions.def: File removed.
10488
498a2233
RM
10489 * Makeconfig (+gccwarn): Add -Wundef.
10490 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10491 a dl-sysdep.h breaking its contract.
10492 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10493 * include/stackinfo.h: New file.
10494 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10495 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10496 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10497 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10498 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10499 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10500 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10501 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10502 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10503 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10504 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10505 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10506 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10507 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10508 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10509
c7de5025
AZ
105102014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10511
10512 [BZ #16707]
10513 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10514 implementation.
10515 * math/libm-test.inc (round_test_data): Add more tests.
10516
98fb27a3
AZ
10517 [BZ #16706]
10518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10519 implementation.
10520 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10521
374f7f61
AZ
10522 [BZ #16701]
10523 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10524 implementation.
10525 * math/libm-test.inc (ceil_test_data): Add more tests.
10526
4655c291
AZ
10527 * math/libm-test.inc (trunc_test_data): Add more tests related to
10528 BZ#16414.
10529
d7329d4b
RM
105302014-03-14 Roland McGrath <roland@hack.frob.com>
10531
10532 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10533 with #if rather than #ifdef.
10534 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10535
aa4de9ce
L
105362014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10537
10538 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10539 first. Disable AVX-512 GCC support if assembler doesn't support
10540 it.
10541 * sysdeps/x86_64/configure: Regenerated.
10542
2e03fae7
CD
105432014-03-13 Carlos O'Donell <carlos@redhat.com>
10544
10545 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10546 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10547 (__old_pthread_attr_setstack): Likewise.
10548 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10549 [!_STACK_GROWS_DOWN]: Likewise.
10550
43ca83ec
MF
105512014-03-13 Mike Frysinger <vapier@gentoo.org>
10552
10553 * config.make.in (have-bash2): Delete.
10554 * configure.ac (libc_cv_have_bash2): Delete.
10555 * configure: Regenerate.
10556 * elf/Makefile (common-ldd-rewrite): Rename to ...
10557 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10558 (sh-ldd-rewrite): Delete.
10559 (bash-ldd-rewrite): Delete.
10560 (have-bash2): Delete checks.
57f41c40
AS
10561 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10562 ldd-rewrite.
c66e48b4
MF
10563
10564 * config.make.in (have-ksh): Delete.
10565 (KSH): Delete.
10566 * configure.ac (libc_cv_have_ksh): Delete.
10567 * configure: Regenerate.
10568
b93834ef
MF
10569 * elf/Makefile: Delete $(have-ksh) check.
10570 ($(objpfx)sotruss): Change KSH to BASH.
10571 * elf/sotruss.ksh: Rename to ...
10572 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10573 function style to match POSIX. Drop ksh vim mode setting.
10574
f3a4632a
MF
10575 * manual/time.texi (Specifying the Time Zone with TZ): Change
10576 Tuesday to Thursday.
10577
5896c8bd
MF
10578 * debug/tst-longjmp_chk2.c: Update header comment.
10579 (stackoverflow_handler): Add comment. Call assert on pass value.
10580
2d63a517
IZ
105812014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10582
7e54fd04 10583 [BZ #16194]
2d63a517
IZ
10584 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10585 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10586 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10587 (La_x86_64_vector): Add zmm.
10588 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10589 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10590 ($(objpfx)tst-audit10): New target.
10591 ($(objpfx)tst-audit10.out): Likewise.
10592 (tst-audit10-ENV): New.
10593 (AVX512-CFLAGS): Likewise.
10594 (CFLAGS-tst-audit10.c): Likewise.
10595 (CFLAGS-tst-auditmod10a.c): Likewise.
10596 (CFLAGS-tst-auditmod10b.c): Likewise.
10597 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10598 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10599 * sysdeps/x86_64/configure: Regenerated.
10600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10601 AVX-512 zmm register support.
10602 (_dl_x86_64_save_sse): Likewise.
10603 (_dl_x86_64_restore_sse): Likewise.
10604 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10605 size vector registers.
10606 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10607 (ZMM_SIZE): Likewise.
10608 * sysdeps/x86_64/tst-audit10.c: New file.
10609 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10610 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10611
44c4e5d5
RM
106122014-03-13 Roland McGrath <roland@hack.frob.com>
10613
10614 * configure.ac (HAVE_EHDR_START): New check.
10615 * configure: Regenerated.
10616 * config.h.in (HAVE_EHDR_START): New #undef.
10617 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10618 assuming the lowest-addressed segment maps the start of the file.
10619
acd6e389
JM
106202014-03-13 Joseph Myers <joseph@codesourcery.com>
10621
10622 * INSTALL: Regenerated.
10623
6f918f36
WN
106242014-03-13 Will Newton <will.newton@linaro.org>
10625
10626 * manual/setjmp.texi (System V contexts): Improve
10627 clarity and grammar of documentation.
10628
798212a0
PP
106292014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10630
10631 [BZ #16381]
798212a0 10632 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10633 (tests-pie): Add tst-pie2.
798212a0
PP
10634 * elf/tst-pie2.c: New file.
10635 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10636 for ET_EXEC.
10637 * elf/rtld.c (map_doit): Load executable as lt_executable.
10638 (dl_main): Likewise.
10639
abe6d90c
JM
106402014-03-12 Joseph Myers <joseph@codesourcery.com>
10641
10642 [BZ #16642]
10643 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10644 (__ASSUME_PSELECT): Undefine.
10645
dd3946c6
AZ
106462014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10647
10648 [BZ #16689]
10649 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10650 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10651 static build.
10652 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10653 selector for static builds.
10654
c44496df
SP
106552014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10656
10657 [BZ #16695]
10658 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10659 key in the buffer.
10660
27c7220a
AZ
106612014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10662
57f41c40
AS
10663 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10664 IFUNC selector for static builds.
27c7220a 10665
600fa361
JM
106662014-03-11 Joseph Myers <joseph@codesourcery.com>
10667
76c96cf7
JM
10668 * sysdeps/mips/math_private.h [__mips_hard_float]
10669 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10670 libc_feresetround_mips_ctx.
10671 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10672 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10673 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10674
600fa361
JM
10675 [BZ #16677]
10676 * math/s_nextafter.c (__nextafter): Do not return value from
10677 overflowing computation.
10678 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10679 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10681 Likewise.
10682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10683 Likewise.
10684 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10685 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10686
d7706c32
RM
106872014-03-11 Roland McGrath <roland@hack.frob.com>
10688
10689 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10690 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10691 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10692 the new mov targetting sp.
10693
4facea47
AZ
106942014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10695
10696 [BZ #16683]
10697 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10698 Define it for static builds as well.
10699 (NO_BZERO_IMPL): Likewise.
10700
e65caf1f
VR
107012014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10702
10703 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10704 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10705 multiarch strspn for PPC64.
10706 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10707 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10709 (__libc_ifunc_impl_list): Likewise.
10710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10711 multiarch optimizations
10712 * string/strspn.c (strspn): Using macro to redefine symbol name.
10713
ba9cc071
AZ
107142014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10715 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716
10717 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10718 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10719 multiarch strncat for PPC64.
10720 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10721 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10723 (__libc_ifunc_impl_list): Likewise.
10724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10725 multiarch optimizations
10726
8b4ff974
SP
107272014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10728
10729 [BZ #16639]
10730 * nscd/nscd.service: Make service type forking.
10731
54b46a4b
AZ
107322014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10733
10734 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10735 sign in non default rounding modes.
10736 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10737
e9996ef7
JM
107382014-03-08 Joseph Myers <joseph@codesourcery.com>
10739
10740 * math/libm-test.inc (ALL_RM_TEST): New macro.
10741 (ceil_test): Use ALL_RM_TEST.
10742 (cimag_test): Likewise.
10743 (conj_test): Likewise.
10744 (copysign_test): Likewise.
10745 (cproj_test): Likewise.
10746 (creal_test): Likewise.
10747 (fabs_test): Likewise.
10748 (floor_test): Likewise.
10749 (fmax_test): Likewise.
10750 (fmin_test): Likewise.
10751 (fmod_test): Likewise.
10752 (fpclassify_test): Likewise.
10753 (frexp_test): Likewise.
10754 (ilogb_test): Likewise.
10755 (isfinite_test): Likewise.
10756 (finite_test): Likewise.
10757 (isgreater_test): Likewise.
10758 (isgreaterequal_test): Likewise.
10759 (isinf_test): Likewise.
10760 (isless_test): Likewise.
10761 (islessequal_test): Likewise.
10762 (islessgreater_test): Likewise.
10763 (isnan_test): Likewise.
10764 (isnormal_test): Likewise.
10765 (issignaling_test): Likewise.
10766 (isunordered_test): Likewise.
10767 (logb_test): Likewise.
10768 (logb_downward_test_data): Remove.
10769 (logb_test_downward): Likewise.
10770 (lround_test): Use ALL_RM_TEST.
10771 (llround_test): Likewise.
10772 (modf_test): Likewise.
10773 (nexttoward_test): Likewise.
10774 (remainder_test): Likewise.
10775 (drem_test): Likewise.
10776 (remainder_tonearest_test_data): Likewise.
10777 (remainder_test_tonearest): Likewise.
10778 (drem_test_tonearest): Likewise.
10779 (remainder_towardzero_test_data): Likewise.
10780 (remainder_test_towardzero): Likewise.
10781 (drem_test_towardzero): Likewise.
10782 (remainder_downward_test_data): Likewise.
10783 (remainder_test_downward): Likewise.
10784 (drem_test_downward): Likewise.
10785 (remainder_upward_test_data): Likewise.
10786 (remainder_test_upward): Likewise.
10787 (drem_test_upward): Likewise.
10788 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10789 (round_test): Use ALL_RM_TEST.
10790 (signbit_test): Likewise.
10791 (trunc_test): Likewise.
10792 (significand_test): Likewise.
10793 (main): Don't call removed functions.
10794
bc61d27c
JM
107952014-03-07 Joseph Myers <joseph@codesourcery.com>
10796
5c780849
JM
10797 [BZ #16674]
10798 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10799 || __USE_XOPEN2K8].
10800 (ILL_ILLOPN): Likewise.
10801 (ILL_ILLADR): Likewise.
10802 (ILL_ILLTRP): Likewise.
10803 (ILL_PRVOPC): Likewise.
10804 (ILL_PRVREG): Likewise.
10805 (ILL_COPROC): Likewise.
10806 (ILL_BADSTK): Likewise.
10807 (FPE_INTDIV): Likewise.
10808 (FPE_INTOVF): Likewise.
10809 (FPE_FLTDIV): Likewise.
10810 (FPE_FLTOVF): Likewise.
10811 (FPE_FLTUND): Likewise.
10812 (FPE_FLTRES): Likewise.
10813 (FPE_FLTINV): Likewise.
10814 (FPE_FLTSUB): Likewise.
10815 (SEGV_MAPERR): Likewise.
10816 (SEGV_ACCERR): Likewise.
10817 (BUS_ADRALN): Likewise.
10818 (BUS_ADRERR): Likewise.
10819 (BUS_OBJERR): Likewise.
10820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10821 (TRAP_TRACE): Likewise.
10822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10823 __USE_XOPEN2K8].
10824 (CLD_KILLED): Likewise.
10825 (CLD_DUMPED): Likewise.
10826 (CLD_TRAPPED): Likewise.
10827 (CLD_STOPPED): Likewise.
10828 (CLD_CONTINUED): Likewise.
10829 (POLL_IN): Likewise.
10830 (POLL_OUT): Likewise.
10831 (POLL_MSG): Likewise.
10832 (POLL_ERR): Likewise.
10833 (POLL_PRI): Likewise.
10834 (POLL_HUP): Likewise.
10835 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10836 Likewise.
10837 (ILL_ILLOPN): Likewise.
10838 (ILL_ILLADR): Likewise.
10839 (ILL_ILLTRP): Likewise.
10840 (ILL_PRVOPC): Likewise.
10841 (ILL_PRVREG): Likewise.
10842 (ILL_COPROC): Likewise.
10843 (ILL_BADSTK): Likewise.
10844 (FPE_INTDIV): Likewise.
10845 (FPE_INTOVF): Likewise.
10846 (FPE_FLTDIV): Likewise.
10847 (FPE_FLTOVF): Likewise.
10848 (FPE_FLTUND): Likewise.
10849 (FPE_FLTRES): Likewise.
10850 (FPE_FLTINV): Likewise.
10851 (FPE_FLTSUB): Likewise.
10852 (SEGV_MAPERR): Likewise.
10853 (SEGV_ACCERR): Likewise.
10854 (BUS_ADRALN): Likewise.
10855 (BUS_ADRERR): Likewise.
10856 (BUS_OBJERR): Likewise.
10857 (BUS_MCEERR_AR): Likewise.
10858 (BUS_MCEERR_AO): Likewise.
10859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10860 (TRAP_TRACE): Likewise.
10861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10862 __USE_XOPEN2K8].
10863 (CLD_KILLED): Likewise.
10864 (CLD_DUMPED): Likewise.
10865 (CLD_TRAPPED): Likewise.
10866 (CLD_STOPPED): Likewise.
10867 (CLD_CONTINUED): Likewise.
10868 (POLL_IN): Likewise.
10869 (POLL_OUT): Likewise.
10870 (POLL_MSG): Likewise.
10871 (POLL_ERR): Likewise.
10872 (POLL_PRI): Likewise.
10873 (POLL_HUP): Likewise.
10874 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10875 (ILL_ILLOPN): Likewise.
10876 (ILL_ILLADR): Likewise.
10877 (ILL_ILLTRP): Likewise.
10878 (ILL_PRVOPC): Likewise.
10879 (ILL_PRVREG): Likewise.
10880 (ILL_COPROC): Likewise.
10881 (ILL_BADSTK): Likewise.
10882 (FPE_INTDIV): Likewise.
10883 (FPE_INTOVF): Likewise.
10884 (FPE_FLTDIV): Likewise.
10885 (FPE_FLTOVF): Likewise.
10886 (FPE_FLTUND): Likewise.
10887 (FPE_FLTRES): Likewise.
10888 (FPE_FLTINV): Likewise.
10889 (FPE_FLTSUB): Likewise.
10890 (SEGV_MAPERR): Likewise.
10891 (SEGV_ACCERR): Likewise.
10892 (BUS_ADRALN): Likewise.
10893 (BUS_ADRERR): Likewise.
10894 (BUS_OBJERR): Likewise.
10895 (BUS_MCEERR_AR): Likewise.
10896 (BUS_MCEERR_AO): Likewise.
10897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10898 (TRAP_TRACE): Likewise.
10899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10900 __USE_XOPEN2K8].
10901 (CLD_KILLED): Likewise.
10902 (CLD_DUMPED): Likewise.
10903 (CLD_TRAPPED): Likewise.
10904 (CLD_STOPPED): Likewise.
10905 (CLD_CONTINUED): Likewise.
10906 (POLL_IN): Likewise.
10907 (POLL_OUT): Likewise.
10908 (POLL_MSG): Likewise.
10909 (POLL_ERR): Likewise.
10910 (POLL_PRI): Likewise.
10911 (POLL_HUP): Likewise.
10912 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10913 Likewise.
10914 (ILL_ILLOPN): Likewise.
10915 (ILL_ILLADR): Likewise.
10916 (ILL_ILLTRP): Likewise.
10917 (ILL_PRVOPC): Likewise.
10918 (ILL_PRVREG): Likewise.
10919 (ILL_COPROC): Likewise.
10920 (ILL_BADSTK): Likewise.
10921 (ILL_BADIADDR): Likewise.
10922 (ILL_BREAK): Likewise.
10923 (FPE_INTDIV): Likewise.
10924 (FPE_INTOVF): Likewise.
10925 (FPE_FLTDIV): Likewise.
10926 (FPE_FLTOVF): Likewise.
10927 (FPE_FLTUND): Likewise.
10928 (FPE_FLTRES): Likewise.
10929 (FPE_FLTINV): Likewise.
10930 (FPE_FLTSUB): Likewise.
10931 (FPE_DECOVF): Likewise.
10932 (FPE_DECDIV): Likewise.
10933 (FPE_DECERR): Likewise.
10934 (FPE_INVASC): Likewise.
10935 (FPE_INVDEC): Likewise.
10936 (SEGV_MAPERR): Likewise.
10937 (SEGV_ACCERR): Likewise.
10938 (SEGV_PSTKOVF): Likewise.
10939 (BUS_ADRALN): Likewise.
10940 (BUS_ADRERR): Likewise.
10941 (BUS_OBJERR): Likewise.
10942 (BUS_MCEERR_AR): Likewise.
10943 (BUS_MCEERR_AO): Likewise.
10944 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10945 (TRAP_TRACE): Likewise.
10946 (TRAP_BRANCH): Likewise.
10947 (TRAP_HWBKPT): Likewise.
10948 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10949 __USE_XOPEN2K8].
10950 (CLD_KILLED): Likewise.
10951 (CLD_DUMPED): Likewise.
10952 (CLD_TRAPPED): Likewise.
10953 (CLD_STOPPED): Likewise.
10954 (CLD_CONTINUED): Likewise.
10955 (POLL_IN): Likewise.
10956 (POLL_OUT): Likewise.
10957 (POLL_MSG): Likewise.
10958 (POLL_ERR): Likewise.
10959 (POLL_PRI): Likewise.
10960 (POLL_HUP): Likewise.
10961 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10962 (ILL_ILLOPN): Likewise.
10963 (ILL_ILLADR): Likewise.
10964 (ILL_ILLTRP): Likewise.
10965 (ILL_PRVOPC): Likewise.
10966 (ILL_PRVREG): Likewise.
10967 (ILL_COPROC): Likewise.
10968 (ILL_BADSTK): Likewise.
10969 (FPE_INTDIV): Likewise.
10970 (FPE_INTOVF): Likewise.
10971 (FPE_FLTDIV): Likewise.
10972 (FPE_FLTOVF): Likewise.
10973 (FPE_FLTUND): Likewise.
10974 (FPE_FLTRES): Likewise.
10975 (FPE_FLTINV): Likewise.
10976 (FPE_FLTSUB): Likewise.
10977 (SEGV_MAPERR): Likewise.
10978 (SEGV_ACCERR): Likewise.
10979 (BUS_ADRALN): Likewise.
10980 (BUS_ADRERR): Likewise.
10981 (BUS_OBJERR): Likewise.
10982 (BUS_MCEERR_AR): Likewise.
10983 (BUS_MCEERR_AO): Likewise.
10984 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10985 (TRAP_TRACE): Likewise.
10986 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10987 __USE_XOPEN2K8].
10988 (CLD_KILLED): Likewise.
10989 (CLD_DUMPED): Likewise.
10990 (CLD_TRAPPED): Likewise.
10991 (CLD_STOPPED): Likewise.
10992 (CLD_CONTINUED): Likewise.
10993 (POLL_IN): Likewise.
10994 (POLL_OUT): Likewise.
10995 (POLL_MSG): Likewise.
10996 (POLL_ERR): Likewise.
10997 (POLL_PRI): Likewise.
10998 (POLL_HUP): Likewise.
10999 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11000 (ILL_ILLOPN): Likewise.
11001 (ILL_ILLADR): Likewise.
11002 (ILL_ILLTRP): Likewise.
11003 (ILL_PRVOPC): Likewise.
11004 (ILL_PRVREG): Likewise.
11005 (ILL_COPROC): Likewise.
11006 (ILL_BADSTK): Likewise.
11007 (FPE_INTDIV): Likewise.
11008 (FPE_INTOVF): Likewise.
11009 (FPE_FLTDIV): Likewise.
11010 (FPE_FLTOVF): Likewise.
11011 (FPE_FLTUND): Likewise.
11012 (FPE_FLTRES): Likewise.
11013 (FPE_FLTINV): Likewise.
11014 (FPE_FLTSUB): Likewise.
11015 (SEGV_MAPERR): Likewise.
11016 (SEGV_ACCERR): Likewise.
11017 (BUS_ADRALN): Likewise.
11018 (BUS_ADRERR): Likewise.
11019 (BUS_OBJERR): Likewise.
11020 (BUS_MCEERR_AR): Likewise.
11021 (BUS_MCEERR_AO): Likewise.
11022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11023 (TRAP_TRACE): Likewise.
11024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11025 __USE_XOPEN2K8].
11026 (CLD_KILLED): Likewise.
11027 (CLD_DUMPED): Likewise.
11028 (CLD_TRAPPED): Likewise.
11029 (CLD_STOPPED): Likewise.
11030 (CLD_CONTINUED): Likewise.
11031 (POLL_IN): Likewise.
11032 (POLL_OUT): Likewise.
11033 (POLL_MSG): Likewise.
11034 (POLL_ERR): Likewise.
11035 (POLL_PRI): Likewise.
11036 (POLL_HUP): Likewise.
11037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11038 (ILL_ILLOPN): Likewise.
11039 (ILL_ILLADR): Likewise.
11040 (ILL_ILLTRP): Likewise.
11041 (ILL_PRVOPC): Likewise.
11042 (ILL_PRVREG): Likewise.
11043 (ILL_COPROC): Likewise.
11044 (ILL_BADSTK): Likewise.
11045 (FPE_INTDIV): Likewise.
11046 (FPE_INTOVF): Likewise.
11047 (FPE_FLTDIV): Likewise.
11048 (FPE_FLTOVF): Likewise.
11049 (FPE_FLTUND): Likewise.
11050 (FPE_FLTRES): Likewise.
11051 (FPE_FLTINV): Likewise.
11052 (FPE_FLTSUB): Likewise.
11053 (SEGV_MAPERR): Likewise.
11054 (SEGV_ACCERR): Likewise.
11055 (BUS_ADRALN): Likewise.
11056 (BUS_ADRERR): Likewise.
11057 (BUS_OBJERR): Likewise.
11058 (BUS_MCEERR_AR): Likewise.
11059 (BUS_MCEERR_AO): Likewise.
11060 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11061 (TRAP_TRACE): Likewise.
11062 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11063 __USE_XOPEN2K8].
11064 (CLD_KILLED): Likewise.
11065 (CLD_DUMPED): Likewise.
11066 (CLD_TRAPPED): Likewise.
11067 (CLD_STOPPED): Likewise.
11068 (CLD_CONTINUED): Likewise.
11069 (POLL_IN): Likewise.
11070 (POLL_OUT): Likewise.
11071 (POLL_MSG): Likewise.
11072 (POLL_ERR): Likewise.
11073 (POLL_PRI): Likewise.
11074 (POLL_HUP): Likewise.
11075 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11076 (ILL_ILLOPN): Likewise.
11077 (ILL_ILLADR): Likewise.
11078 (ILL_ILLTRP): Likewise.
11079 (ILL_PRVOPC): Likewise.
11080 (ILL_PRVREG): Likewise.
11081 (ILL_COPROC): Likewise.
11082 (ILL_BADSTK): Likewise.
11083 (ILL_DBLFLT): Likewise.
11084 (ILL_HARDWALL): Likewise.
11085 (FPE_INTDIV): Likewise.
11086 (FPE_INTOVF): Likewise.
11087 (FPE_FLTDIV): Likewise.
11088 (FPE_FLTOVF): Likewise.
11089 (FPE_FLTUND): Likewise.
11090 (FPE_FLTRES): Likewise.
11091 (FPE_FLTINV): Likewise.
11092 (FPE_FLTSUB): Likewise.
11093 (SEGV_MAPERR): Likewise.
11094 (SEGV_ACCERR): Likewise.
11095 (BUS_ADRALN): Likewise.
11096 (BUS_ADRERR): Likewise.
11097 (BUS_OBJERR): Likewise.
11098 (BUS_MCEERR_AR): Likewise.
11099 (BUS_MCEERR_AO): Likewise.
11100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11101 (TRAP_TRACE): Likewise.
11102 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11103 __USE_XOPEN2K8].
11104 (CLD_KILLED): Likewise.
11105 (CLD_DUMPED): Likewise.
11106 (CLD_TRAPPED): Likewise.
11107 (CLD_STOPPED): Likewise.
11108 (CLD_CONTINUED): Likewise.
11109 (POLL_IN): Likewise.
11110 (POLL_OUT): Likewise.
11111 (POLL_MSG): Likewise.
11112 (POLL_ERR): Likewise.
11113 (POLL_PRI): Likewise.
11114 (POLL_HUP): Likewise.
11115 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11116 (ILL_ILLOPN): Likewise.
11117 (ILL_ILLADR): Likewise.
11118 (ILL_ILLTRP): Likewise.
11119 (ILL_PRVOPC): Likewise.
11120 (ILL_PRVREG): Likewise.
11121 (ILL_COPROC): Likewise.
11122 (ILL_BADSTK): Likewise.
11123 (FPE_INTDIV): Likewise.
11124 (FPE_INTOVF): Likewise.
11125 (FPE_FLTDIV): Likewise.
11126 (FPE_FLTOVF): Likewise.
11127 (FPE_FLTUND): Likewise.
11128 (FPE_FLTRES): Likewise.
11129 (FPE_FLTINV): Likewise.
11130 (FPE_FLTSUB): Likewise.
11131 (SEGV_MAPERR): Likewise.
11132 (SEGV_ACCERR): Likewise.
11133 (BUS_ADRALN): Likewise.
11134 (BUS_ADRERR): Likewise.
11135 (BUS_OBJERR): Likewise.
11136 (BUS_MCEERR_AR): Likewise.
11137 (BUS_MCEERR_AO): Likewise.
11138 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11139 (TRAP_TRACE): Likewise.
11140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11141 __USE_XOPEN2K8].
11142 (CLD_KILLED): Likewise.
11143 (CLD_DUMPED): Likewise.
11144 (CLD_TRAPPED): Likewise.
11145 (CLD_STOPPED): Likewise.
11146 (CLD_CONTINUED): Likewise.
11147 (POLL_IN): Likewise.
11148 (POLL_OUT): Likewise.
11149 (POLL_MSG): Likewise.
11150 (POLL_ERR): Likewise.
11151 (POLL_PRI): Likewise.
11152 (POLL_HUP): Likewise.
11153 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11154 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11155
bc61d27c
JM
11156 [BZ #16670]
11157 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11158 before #include of <time.h>.
11159 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11160 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11161 (test-xfail-UNIX98/sched.h/conform): Likewise.
11162
302949e2
MS
111632014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11164
11165 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11166 error absence of trapping exception support.
11167 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11168
a00f522a
JM
111692014-03-07 Joseph Myers <joseph@codesourcery.com>
11170
6f99f280
JM
11171 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11172 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11173 * timezone/Makefile (testdata): Move definition above include of
11174 Rules.
11175 (test-zones): New variable.
11176 (tests-special): Add zone files.
11177 (build-testdata): Use $(evaluate-test).
11178
0b20a9e8
JM
11179 * elf/Makefile (tests-special): Rename tests to end with .out.
11180 ($(objpfx)noload-mem): Likewise.
11181 ($(objpfx)tst-leaks1-mem): Likewise.
11182 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11183 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11184 $(objpfx)test-iconvconfig.out.
11185 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11186 set -e inside subshell and redirect output to file.
11187 * iconvdata/Makefile (generated): Rename tests to end with .out.
11188 Correct type.
11189 (tests-special): Rename tests to end with .out.
11190 ($(objpfx)mtrace-tst-loading): Likewise.
11191 * intl/Makefile (generated): Likewise.
11192 (tests-special): Likewise.
11193 ($(objpfx)mtrace-tst-gettext): Likewise.
11194 * misc/Makefile (generated): Likewise.
11195 (tests-special): Likewise.
11196 ($(objpfx)tst-error1-mem): Likewise.
11197 * nptl/Makefile (tests-special): Likewise.
11198 ($(objpfx)tst-stack3-mem): Likewise.
11199 (generated): Likewise.
11200 * posix/Makefile (generated): Likewise.
11201 (tests-special): Likewise.
11202 (xtests-special): Likewise.
11203 ($(objpfx)tst-fnmatch-mem): Likewise.
11204 ($(objpfx)bug-regex2-mem): Likewise.
11205 ($(objpfx)bug-regex14-mem): Likewise.
11206 ($(objpfx)bug-regex21-mem): Likewise.
11207 ($(objpfx)bug-regex31-mem): Likewise.
11208 ($(objpfx)tst-vfork3-mem): Likewise.
11209 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11210 ($(objpfx)tst-pcre-mem): Likewise.
11211 ($(objpfx)tst-boost-mem): Likewise.
11212 ($(objpfx)bug-ga2-mem): Likewise.
11213 ($(objpfx)bug-glob2-mem): Likewise.
11214 * resolv/Makefile (generate): Likewise.
11215 (tests-special): Likewise.
11216 (xtests-special): Likewise.
11217 (generated): Likewise.
11218 ($(objpfx)mtrace-tst-leaks): Likewise.
11219 ($(objpfx)mtrace-tst-leaks2): Likewise.
11220
265d52ab
JM
11221 * scripts/merge-test-results.sh: New file.
11222 * Makefile (tests-special-notdir): New variable.
11223 (tests): Run merge-test-results.sh.
11224 (xtests): Likewise.
11225 * Rules (tests-special-notdir): New variable.
11226 (xtests-special-notdir): Likewise.
11227 (tests): Run merge-test-results.sh
11228 (xtests): Likewise.
11229
54ee292d
JM
11230 * Makeconfig (test-xfail-name): New variable.
11231 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11232 compute variable name for expected failures.
11233 * conform/Makefile (conformtest-headers-data): New variable.
11234 (conformtest-standards): Likewise.
11235 (conformtest-headers-ISO): Likewise.
11236 (conformtest-headers-ISO99): Likewise.
11237 (conformtest-headers-ISO11): Likewise.
11238 (conformtest-headers-POSIX): Likewise.
11239 (conformtest-headers-XPG3): Likewise.
11240 (conformtest-headers-XPG4): Likewise.
11241 (conformtest-headers-UNIX98): Likewise.
11242 (conformtest-headers-XOPEN2K): Likewise.
11243 (conformtest-headers-POSIX2008): Likewise.
11244 (conformtest-headers-XOPEN2K8): Likewise.
11245 (conformtest-header-list-base): Likewise.
11246 (conformtest-header-list-tests): Likewise.
11247 (conformtest-header-base): Likewise.
11248 (conformtest-header-tests): Likewise.
11249 (tests-special): Add $(conformtest-header-list-tests). If
11250 [$(fast-check) && !$(cross-compiling)], add
11251 $(conformtest-header-tests) instead of
11252 $(objpfx)run-conformtest.out.
11253 (generated): Add $(conformtest-header-list-base). If
11254 [$(fast-check) && !$(cross-compiling)], add
11255 $(conformtest-header-base). Remove previous setting.
11256 ($(conformtest-header-list-tests)): New target.
11257 (test-xfail-run-conformtest): Remove variable.
11258 ($(objpfx)run-conformtest.out): Remove target.
11259 (test-xfail-ISO11/complex.h/conform): New variable.
11260 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11261 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11262 (test-xfail-XPG3/varargs.h/conform): Likewise.
11263 (test-xfail-XPG4/varargs.h/conform): Likewise.
11264 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11265 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11266 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11267 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11268 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11269 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11270 (test-xfail-XPG3/ftw.h/conform): Likewise.
11271 (test-xfail-XPG3/grp.h/conform): Likewise.
11272 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11273 (test-xfail-XPG3/limits.h/conform): Likewise.
11274 (test-xfail-XPG3/pwd.h/conform): Likewise.
11275 (test-xfail-XPG3/search.h/conform): Likewise.
11276 (test-xfail-XPG3/signal.h/conform): Likewise.
11277 (test-xfail-XPG3/stdio.h/conform): Likewise.
11278 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11279 (test-xfail-XPG3/string.h/conform): Likewise.
11280 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11281 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11282 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11283 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11284 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11285 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11286 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11287 (test-xfail-XPG3/termios.h/conform): Likewise.
11288 (test-xfail-XPG3/time.h/conform): Likewise.
11289 (test-xfail-XPG3/unistd.h/conform): Likewise.
11290 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11291 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11292 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11293 (test-xfail-XPG4/netdb.h/conform): Likewise.
11294 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11295 (test-xfail-XPG4/signal.h/conform): Likewise.
11296 (test-xfail-XPG4/stdio.h/conform): Likewise.
11297 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11298 (test-xfail-XPG4/stropts.h/conform): Likewise.
11299 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11300 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11301 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11302 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11303 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11304 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11305 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11306 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11307 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11308 (test-xfail-XPG4/termios.h/conform): Likewise.
11309 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11310 (test-xfail-XPG4/unistd.h/conform): Likewise.
11311 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11312 (test-xfail-POSIX/sched.h/conform): Likewise.
11313 (test-xfail-POSIX/signal.h/conform): Likewise.
11314 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11315 (test-xfail-POSIX/tar.h/conform): Likewise.
11316 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11317 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11318 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11319 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11320 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11321 (test-xfail-UNIX98/sched.h/conform): Likewise.
11322 (test-xfail-UNIX98/signal.h/conform): Likewise.
11323 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11324 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11325 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11326 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11327 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11328 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11329 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11330 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11331 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11332 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11333 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11334 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11335 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11336 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11337 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11338 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11339 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11340 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11341 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11342 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11343 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11344 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11345 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11346 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11347 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11348 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11349 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11350 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11351 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11352 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11353 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11354 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11355 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11356 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11357 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11358 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11359 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11360 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11361 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11362 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11363 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11364 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11365 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11366 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11367 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11368 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11369 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11370 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11371 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11372 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11373 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11374 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11375 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11376 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11377 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11378 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11379 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11380 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11381 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11382 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11383 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11384 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11385 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11386 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11387 (conformtest-cc-flags): Likewise.
11388 ($(conformtest-header-tests): New target.
11389 * conform/check-header-lists.sh: New file.
11390 * conform/run-conformtest.sh: Remove.
11391
a00f522a
JM
11392 * conform/conformtest.pl: Allow ' and \ in values given for
11393 constants.
11394 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11395 inclusion.
11396 [POSIX] (sys/types.h): Likewise.
11397 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11398 inclusion.
11399 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11400 inclusion.
11401 * conform/data/signal.h-data (SIGIO): Remove expectation.
11402 [XPG3] (SIGBUS): Do not expect.
11403 [POSIX || XPG3] (SIGPOLL): Likewise.
11404 [POSIX || XPG3] (SIGPROF): Likewise.
11405 [POSIX || XPG3] (SIGSYS): Likewise.
11406 [XPG3] (SIGTRAP): Likewise.
11407 [POSIX || XPG3] (SIGURG): Likewise.
11408 [POSIX || XPG3] (SIGVTALRM): Likewise.
11409 [POSIX || XPG3] (SIGXCPU): Likewise.
11410 [POSIX || XPG3] (SIGXFSZ): Likewise.
11411 [POSIX] (SA_SIGINFO): Expect.
11412 [XPG3] (siginfo_t): Do not expect type or contents.
11413 [POSIX] (si_pid): Do not expect element.
11414 [POSIX] (si_uid): Likewise.
11415 [POSIX] (si_addr): Likewise.
11416 [POSIX] (si_status): Likewise.
11417 [POSIX] (si_band): Likewise.
11418 [XPG4] (si_value): Likewise.
11419 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11420 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11421 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11422 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11423 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11424 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11425 [POSIX || XPG3] (ILL_COPROC): Likewise.
11426 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11427 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11428 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11429 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11430 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11431 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11432 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11433 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11434 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11435 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11436 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11437 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11438 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11439 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11440 [POSIX || XPG3] (CLD_EXITED): Likewise.
11441 [POSIX || XPG3] (CLD_KILLED): Likewise.
11442 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11443 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11444 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11445 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11446 [POSIX || XPG3] (POLL_IN): Likewise.
11447 [POSIX || XPG3] (POLL_OUT): Likewise.
11448 [POSIX || XPG3] (POLL_MSG): Likewise.
11449 [POSIX || XPG3] (POLL_ERR): Likewise.
11450 [POSIX || XPG3] (POLL_PRI): Likewise.
11451 [POSIX || XPG3] (POLL_HUP): Likewise.
11452 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11453 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11454 (SIG*): Do not allow.
11455 [XPG3] (si_*): Likewise.
11456 [XPG3] (SI_*): Likewise.
11457 [XPG3 || XPG4] (sigev_*): Likewise.
11458 [XPG3 || XPG4] (SIGEV_*): Likewise.
11459 [XPG3 || XPG4] (sival_*): Likewise.
11460 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11461 [POSIX || XPG3] (BUS_*): Likewise.
11462 [POSIX || XPG3] (CLD_*): Likewise.
11463 [POSIX || XPG3] (FPE_*): Likewise.
11464 [POSIX || XPG3] (ILL_*): Likewise.
11465 [POSIX || XPG3] (POLL_*): Likewise.
11466 [POSIX || XPG3] (SEGV_*): Likewise.
11467 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11468 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11469 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11470 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11471 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11472 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11473 Specify type and value.
11474 (TVERSLEN): Likewise.
11475 (REGTYPE): Likewise.
11476 (AREGTYPE): Likewise.
11477 (LNKTYPE): Likewise.
11478 (SYMTYPE): Likewise.
11479 (CHRTYPE): Likewise.
11480 (BLKTYPE): Likewise.
11481 (DIRTYPE): Likewise.
11482 (FIFOTYPE): Likewise.
11483 (CONTTYPE): Likewise.
11484 (TSUID): Likewise.
11485 (TSGID): Likewise.
11486 (TSVTX): Likewise.
11487 (TUREAD): Likewise.
11488 (TUWRITE): Likewise.
11489 (TUEXEC): Likewise.
11490 (TGREAD): Likewise.
11491 (TGWRITE): Likewise.
11492 (TGEXEC): Likewise.
11493 (TOREAD): Likewise.
11494 (TOWRITE): Likewise.
11495 (TOEXEC): Likewise.
11496 [POSIX] (TSVTX): Expect constant.
11497
aa97dee1
JM
114982014-03-06 Joseph Myers <joseph@codesourcery.com>
11499
f214606a
JM
11500 * Makefile (tests): Change dependencies to ....
11501 (tests-special): ... additions to this variable.
11502 (tests): Depend on $(tests-special).
11503 * Makerules (check-abi-list): New variable.
11504 (check-abi): Depend on $(check-abi-list).
11505 [$(subdir) = elf] (tests-special): Add
11506 $(objpfx)check-abi-libc.out.
11507 [$(build-shared) = yes && subdir] (tests-special): Add
11508 $(check-abi-list).
11509 [$(build-shared) = yes && subdir] (tests): Do not depend on
11510 check-abi.
11511 * Rules (tests): Depend on $(tests-special).
11512 (xtests): Depend on $(xtests-special).
11513 * catgets/Makefile (tests): Change dependencies to ....
11514 (tests-special): ... additions to this variable.
11515 * conform/Makefile (tests): Change dependencies to ....
11516 (tests-special): ... additions to this variable.
11517 * elf/Makefile (tests): Change dependencies to ....
11518 (tests-special): ... additions to this variable.
11519 * grp/Makefile (tests): Change dependencies to ....
11520 (tests-special): ... additions to this variable.
11521 * iconv/Makefile (xtests): Change dependencies to ....
11522 (xtests-special): ... additions to this variable.
11523 * iconvdata/Makefile (tests): Change dependencies to ....
11524 (tests-special): ... additions to this variable.
11525 * intl/Makefile (tests): Change dependencies to ....
11526 (tests-special): ... additions to this variable. Also add
11527 $(objpfx)tst-gettext.out.
11528 * io/Makefile (tests): Change dependencies to ....
11529 (tests-special): ... additions to this variable.
11530 * libio/Makefile (tests): Change dependencies to ....
11531 (tests-special): ... additions to this variable.
11532 * malloc/Makefile (tests): Change dependencies to ....
11533 (tests-special): ... additions to this variable.
11534 * misc/Makefile (tests): Change dependencies to ....
11535 (tests-special): ... additions to this variable.
11536 * nptl/Makefile (tests): Change dependencies to ....
11537 (tests-special): ... additions to this variable.
11538 * nptl_db/Makefile (tests): Change dependencies to ....
11539 (tests-special): ... additions to this variable.
11540 * posix/Makefile (tests): Change dependencies to ....
11541 (tests-special): ... additions to this variable.
11542 (xtests): Change dependencies to ....
11543 (xtests-special): ... additions to this variable.
11544 * resolv/Makefile (tests): Change dependencies to ....
11545 (tests-special): ... additions to this variable.
11546 (xtests): Change dependencies to ....
11547 (xtests-special): ... additions to this variable.
11548 * stdio-common/Makefile (tests): Change dependencies to ....
11549 (tests-special): ... additions to this variable.
11550 (do-tst-unbputc): Remove target.
11551 (do-tst-printf): Likewise.
11552 * stdlib/Makefile (tests): Change dependencies to ....
11553 (tests-special): ... additions to this variable.
11554 * string/Makefile (tests): Change dependencies to ....
11555 (tests-special): ... additions to this variable.
11556 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11557 (tests-special): ... additions to this variable.
11558
81700b53
JM
11559 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11560 whole file.
11561 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11562 whole file.
11563 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11564 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11565
2ea18461
JM
11566 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11567 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11568 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11569 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11570 * conform/data/libgen.h-data [XPG3]: Likewise.
11571 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11572 * conform/data/ndbm.h-data [XPG3]: Likewise.
11573 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11574 * conform/data/netdb.h-data [XPG3]: Likewise.
11575 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11576 * conform/data/poll.h-data [XPG3]: Likewise.
11577 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11578 * conform/data/strings.h-data [XPG3]: Likewise.
11579 * conform/data/stropts.h-data [XPG3]: Likewise.
11580 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11581 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11582 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11583 Likewise.
11584 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11585 * conform/data/sys/time.h-data [XPG3]: Likewise.
11586 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11587 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11588 * conform/data/sys/un.h-data [XPG3]: Likewise.
11589 * conform/data/syslog.h-data [XPG3]: Likewise.
11590 * conform/data/ucontext.h-data [XPG3]: Likewise.
11591 * conform/data/utmpx.h-data [XPG3]: Likewise.
11592 * conform/data/varargs.h-data [UNIX98]: Enable file.
11593
355bc986
JM
11594 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11595
215db402
JM
11596 * math/libm-test.inc (struct test_f_f_data): Move expected results
11597 into structure for each rounding mode.
11598 (struct test_ff_f_data): Likewise.
11599 (struct test_ff_f_data_nexttoward): Likewise.
11600 (struct test_fi_f_data): Likewise.
11601 (struct test_fl_f_data): Likewise.
11602 (struct test_if_f_data): Likewise.
11603 (struct test_fff_f_data): Likewise.
11604 (struct test_c_f_data): Likewise.
11605 (struct test_f_f1_data): Likewise.
11606 (struct test_fF_f1_data): Likewise.
11607 (struct test_ffI_f1_data): Likewise.
11608 (struct test_c_c_data): Likewise.
11609 (struct test_cc_c_data): Likewise.
11610 (struct test_f_i_data): Likewise.
11611 (struct test_ff_i_data): Likewise.
11612 (struct test_f_l_data): Likewise.
11613 (struct test_f_L_data): Likewise.
11614 (struct test_fFF_11_data): Likewise.
11615 (RM_): New macro.
11616 (RM_FE_DOWNWARD): Likewise.
11617 (RM_FE_TONEAREST): Likewise.
11618 (RM_FE_TOWARDZERO): Likewise.
11619 (RM_FE_UPWARD): Likewise.
11620 (RUN_TEST_LOOP_f_f): Update references to expected results.
11621 (RUN_TEST_LOOP_2_f): Likewise.
11622 (RUN_TEST_LOOP_fff_f): Likewise.
11623 (RUN_TEST_LOOP_c_f): Likewise.
11624 (RUN_TEST_LOOP_f_f1): Likewise.
11625 (RUN_TEST_LOOP_fF_f1): Likewise.
11626 (RUN_TEST_LOOP_fI_f1): Likewise.
11627 (RUN_TEST_LOOP_ffI_f1): Likewise.
11628 (RUN_TEST_LOOP_c_c): Likewise.
11629 (RUN_TEST_LOOP_cc_c): Likewise.
11630 (RUN_TEST_LOOP_f_i): Likewise.
11631 (RUN_TEST_LOOP_f_i_tg): Likewise.
11632 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11633 (RUN_TEST_LOOP_f_b): Likewise.
11634 (RUN_TEST_LOOP_f_b_tg): Likewise.
11635 (RUN_TEST_LOOP_f_l): Likewise.
11636 (RUN_TEST_LOOP_f_L): Likewise.
11637 (RUN_TEST_LOOP_fFF_11): Likewise.
11638 * math/gen-libm-test.pl (parse_args): Output four copies of
11639 expected results for each test.
11640
67737b8f
JM
11641 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11642 (__ASSUME_UTIMES): Remove.
11643 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11644 (__ASSUME_UTIMES): Likewise.
11645
aa97dee1
JM
11646 * math/gen-auto-libm-tests.c: Update comment on output format.
11647 (output_for_one_input_case): Generate before-rounding and
11648 after-rounding information as conditions on output flags not
11649 floating-point format.
11650 * math/auto-libm-test-out: Regenerated.
11651 * math/gen-libm-test.pl (cond_value): New function.
11652 (or_cond_value): Use cond_value.
11653 (generate_testfile): Handle conditional exceptions.
11654
e6b6a857
JM
116552014-03-05 Joseph Myers <joseph@codesourcery.com>
11656
2f0a0f44
JM
11657 * math/libm-test.inc (max_valid_error): New variable.
11658 (init_max_error): Take new argument specifying whether function
11659 results are exactly determined. Set max_valid_error and bound
11660 other variables for errors based on this argument.
11661 (set_max_error): Do not record results above max_valid_error.
11662 (check_float_internal): Only accept errors of up to 0.5ulps if
11663 also at most max_valid_error.
11664 (START): Take new argument EXACT and pass it to init_max_error.
11665 (acos_test): Update call to START.
11666 (acos_test_tonearest): Likewise.
11667 (acos_test_towardzero): Likewise.
11668 (acos_test_downward): Likewise.
11669 (acos_test_upward): Likewise.
11670 (acosh_test): Likewise.
11671 (asin_test): Likewise.
11672 (asin_test_tonearest): Likewise.
11673 (asin_test_towardzero): Likewise.
11674 (asin_test_downward): Likewise.
11675 (asin_test_upward): Likewise.
11676 (asinh_test): Likewise.
11677 (atan_test): Likewise.
11678 (atanh_test): Likewise.
11679 (atan2_test): Likewise.
11680 (cabs_test): Likewise.
11681 (cacos_test): Likewise.
11682 (cacosh_test): Likewise.
11683 (carg_test): Likewise.
11684 (casin_test): Likewise.
11685 (casinh_test): Likewise.
11686 (catan_test): Likewise.
11687 (catanh_test): Likewise.
11688 (cbrt_test): Likewise.
11689 (ccos_test): Likewise.
11690 (ccosh_test): Likewise.
11691 (ceil_test): Likewise.
11692 (cexp_test): Likewise.
11693 (cimag_test): Likewise.
11694 (clog_test): Likewise.
11695 (clog10_test): Likewise.
11696 (conj_test): Likewise.
11697 (copysign_test): Likewise.
11698 (cos_test): Likewise.
11699 (cos_test_tonearest): Likewise.
11700 (cos_test_towardzero): Likewise.
11701 (cos_test_downward): Likewise.
11702 (cos_test_upward): Likewise.
11703 (cosh_test): Likewise.
11704 (cosh_test_tonearest): Likewise.
11705 (cosh_test_towardzero): Likewise.
11706 (cosh_test_downward): Likewise.
11707 (cosh_test_upward): Likewise.
11708 (cpow_test): Likewise.
11709 (cproj_test): Likewise.
11710 (creal_test): Likewise.
11711 (csin_test): Likewise.
11712 (csinh_test): Likewise.
11713 (csqrt_test): Likewise.
11714 (ctan_test): Likewise.
11715 (ctan_test_tonearest): Likewise.
11716 (ctan_test_towardzero): Likewise.
11717 (ctan_test_downward): Likewise.
11718 (ctan_test_upward): Likewise.
11719 (ctanh_test): Likewise.
11720 (ctanh_test_tonearest): Likewise.
11721 (ctanh_test_towardzero): Likewise.
11722 (ctanh_test_downward): Likewise.
11723 (ctanh_test_upward): Likewise.
11724 (erf_test): Likewise.
11725 (erfc_test): Likewise.
11726 (exp_test): Likewise.
11727 (exp_test_tonearest): Likewise.
11728 (exp_test_towardzero): Likewise.
11729 (exp_test_downward): Likewise.
11730 (exp_test_upward): Likewise.
11731 (exp10_test): Likewise.
11732 (exp10_test_tonearest): Likewise.
11733 (exp10_test_towardzero): Likewise.
11734 (exp10_test_downward): Likewise.
11735 (exp10_test_upward): Likewise.
11736 (pow10_test): Likewise.
11737 (exp2_test): Likewise.
11738 (expm1_test): Likewise.
11739 (expm1_test_tonearest): Likewise.
11740 (expm1_test_towardzero): Likewise.
11741 (expm1_test_downward): Likewise.
11742 (expm1_test_upward): Likewise.
11743 (fabs_test): Likewise.
11744 (fdim_test): Likewise.
11745 (floor_test): Likewise.
11746 (fma_test): Likewise.
11747 (fma_test_towardzero): Likewise.
11748 (fma_test_downward): Likewise.
11749 (fma_test_upward): Likewise.
11750 (fmax_test): Likewise.
11751 (fmin_test): Likewise.
11752 (fmod_test): Likewise.
11753 (fpclassify_test): Likewise.
11754 (frexp_test): Likewise.
11755 (hypot_test): Likewise.
11756 (ilogb_test): Likewise.
11757 (isfinite_test): Likewise.
11758 (finite_test): Likewise.
11759 (isgreater_test): Likewise.
11760 (isgreaterequal_test): Likewise.
11761 (isinf_test): Likewise.
11762 (isless_test): Likewise.
11763 (islessequal_test): Likewise.
11764 (islessgreater_test): Likewise.
11765 (isnan_test): Likewise.
11766 (isnormal_test): Likewise.
11767 (issignaling_test): Likewise.
11768 (isunordered_test): Likewise.
11769 (j0_test): Likewise.
11770 (j1_test): Likewise.
11771 (jn_test): Likewise.
11772 (ldexp_test): Likewise.
11773 (lgamma_test): Likewise.
11774 (gamma_test): Likewise.
11775 (lrint_test): Likewise.
11776 (lrint_test_tonearest): Likewise.
11777 (lrint_test_towardzero): Likewise.
11778 (lrint_test_downward): Likewise.
11779 (lrint_test_upward): Likewise.
11780 (llrint_test): Likewise.
11781 (llrint_test_tonearest): Likewise.
11782 (llrint_test_towardzero): Likewise.
11783 (llrint_test_downward): Likewise.
11784 (llrint_test_upward): Likewise.
11785 (log_test): Likewise.
11786 (log10_test): Likewise.
11787 (log1p_test): Likewise.
11788 (log2_test): Likewise.
11789 (logb_test): Likewise.
11790 (logb_test_downward): Likewise.
11791 (lround_test): Likewise.
11792 (llround_test): Likewise.
11793 (modf_test): Likewise.
11794 (nearbyint_test): Likewise.
11795 (nextafter_test): Likewise.
11796 (nexttoward_test): Likewise.
11797 (pow_test): Likewise.
11798 (pow_test_tonearest): Likewise.
11799 (pow_test_towardzero): Likewise.
11800 (pow_test_downward): Likewise.
11801 (pow_test_upward): Likewise.
11802 (remainder_test): Likewise.
11803 (drem_test): Likewise.
11804 (remainder_test_tonearest): Likewise.
11805 (drem_test_tonearest): Likewise.
11806 (remainder_test_towardzero): Likewise.
11807 (drem_test_towardzero): Likewise.
11808 (remainder_test_downward): Likewise.
11809 (drem_test_downward): Likewise.
11810 (remainder_test_upward): Likewise.
11811 (drem_test_upward): Likewise.
11812 (remquo_test): Likewise.
11813 (rint_test): Likewise.
11814 (rint_test_tonearest): Likewise.
11815 (rint_test_towardzero): Likewise.
11816 (rint_test_downward): Likewise.
11817 (rint_test_upward): Likewise.
11818 (round_test): Likewise.
11819 (scalb_test): Likewise.
11820 (scalbn_test): Likewise.
11821 (scalbln_test): Likewise.
11822 (signbit_test): Likewise.
11823 (sin_test): Likewise.
11824 (sin_test_tonearest): Likewise.
11825 (sin_test_towardzero): Likewise.
11826 (sin_test_downward): Likewise.
11827 (sin_test_upward): Likewise.
11828 (sincos_test): Likewise.
11829 (sinh_test): Likewise.
11830 (sinh_test_tonearest): Likewise.
11831 (sinh_test_towardzero): Likewise.
11832 (sinh_test_downward): Likewise.
11833 (sinh_test_upward): Likewise.
11834 (sqrt_test): Likewise.
11835 (sqrt_test_tonearest): Likewise.
11836 (sqrt_test_towardzero): Likewise.
11837 (sqrt_test_downward): Likewise.
11838 (sqrt_test_upward): Likewise.
11839 (tan_test): Likewise.
11840 (tan_test_tonearest): Likewise.
11841 (tan_test_towardzero): Likewise.
11842 (tan_test_downward): Likewise.
11843 (tan_test_upward): Likewise.
11844 (tanh_test): Likewise.
11845 (tgamma_test): Likewise.
11846 (trunc_test): Likewise.
11847 (y0_test): Likewise.
11848 (y1_test): Likewise.
11849 (yn_test): Likewise.
11850 (significand_test): Likewise.
11851
e6b6a857
JM
11852 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11853 individual tests in comment.
11854 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11855 (prev_max_error): New variable.
11856 (prev_real_max_error): Likewise.
11857 (prev_imag_max_error): Likewise.
11858 (compare_ulp_data): Don't refer to test names in comment.
11859 (find_test_ulps): Remove function.
11860 (find_function_ulps): Likewise.
11861 (find_complex_function_ulps): Likewise.
11862 (init_max_error): Take function name as argument. Look up ulps
11863 for that function.
11864 (print_ulps): Remove function.
11865 (print_max_error): Use prev_max_error instead of calling
11866 find_function_ulps.
11867 (print_complex_max_error): Use prev_real_max_error and
11868 prev_imag_max_error instead of calling find_complex_function_ulps.
11869 (check_float_internal): Take max_ulp parameter instead of calling
11870 find_test_ulps. Don't call print_ulps.
11871 (check_float): Update call to check_float_internal.
11872 (check_complex): Update calls to check_float_internal.
11873 (START): Pass argument to init_max_error.
11874 * math/gen-libm-test.pl (%results): Don't include "kind"
11875 information.
11876 (parse_ulps): Don't handle ulps of individual tests.
11877 (print_ulps_file): Likewise.
11878 (output_ulps): Likewise.
11879 * math/README.libm-test: Update.
11880 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11881 individual tests.
11882 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11883 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11884 * sysdeps/arm/libm-test-ulps: Likewise.
11885 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11886 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11887 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11888 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11889 * sysdeps/microblaze/libm-test-ulps: Likewise.
11890 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11891 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11893 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11894 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11895 * sysdeps/sh/libm-test-ulps: Likewise.
11896 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11897 * sysdeps/tile/libm-test-ulps: Likewise.
11898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11899
45adef3c
JM
119002014-03-04 Joseph Myers <joseph@codesourcery.com>
11901
11902 * math/libm-test.inc (print_complex_max_error): Check separately
11903 whether real and imaginary errors are within allowed range and
11904 pass 0 to print_complex_function_ulps instead of value within
11905 allowed range.
11906
000232b9
SP
119072014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11908
d4b17258
SP
11909 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11910 formatting.
11911 (get_handles_fopen): Likewise.
11912 (do_write_test): Likewise.
11913
091eff71
SP
11914 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11915
fa3cd248
SP
11916 * libio/fileops.c (do_ftell): Use cached offset when
11917 available.
11918 * libio/iofwide.c (do_ftell_wide): Likewise.
11919 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11920 _IO_file_attach.
11921 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11922
000232b9
SP
11923 [BZ #16532]
11924 * libio/libioP.h (get_file_offset): New function.
11925 * libio/fileops.c (get_file_offset): Likewise.
11926 (do_ftell): Likewise.
11927 (_IO_new_file_seekoff): Split out ftell logic.
11928 * libio/wfileops.c (do_ftell_wide): Likewise.
11929 (_IO_wfile_seekoff): Split out ftell logic.
11930 * libio/tst-ftell-active-handler.c: New test case.
11931 * libio/Makefile (tests): Add it.
11932
116f4d1a
RM
119332014-03-03 Roland McGrath <roland@hack.frob.com>
11934
11935 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11936 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11937
532a6035
SP
119382014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 [BZ #16639]
11941 * nscd/connections.c (nscd_init): Call do_exit.
11942 (start_threads): Call do_exit and notify_parent.
11943 (begin_drop_privileges): Call do_exit.
11944 (finish_drop_privileges): Likewise.
11945 * nscd/selinux.c (preserve_capabilities): Likewise.
11946 (install_real_capabilities): Likewise.
11947 (nscd_selinux_enabled): Likewise.
11948 (avc_create_thread): Likewise.
11949 (avc_alloc_lock): Likewise.
11950 (nscd_avc_init): Likewise.
11951 * nscd/nscd.c (parent_fd): New static variable.
11952 (main): Create a pipe between parent and child processes.
11953 Skip closing parent_fd.
11954 (monitor_child): New function.
11955 (do_exit): Likewise.
11956 (notify_parent): Likewise.
11957 * nscd/nscd.h (notify_parent): Likewise.
11958 (do_exit): Likewise.
11959
d6285c9f
CD
119602014-03-03 Carlos O'Donell <carlos@redhat.com>
11961
11962 * malloc/malloc.c (__libc_calloc): Revert last change.
11963
2b85d2a0
AZ
119642014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11965
11966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11967
c7debbdf
RS
119682014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11969
11970 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11972 implementation.
11973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11974 (__libc_ifunc_impl_list): Likewise.
11975 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11976 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11977 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11978 * string/strrchr.c: Define STRRCHR.
11979
235eed86
OB
119802014-02-28 Ondřej Bílka <neleai@seznam.cz>
11981
11982 * benchtest/bench-strtok.c (simple_strtok): Delete.
11983 (strtok_string): Use as benchmark.
11984 * string/strtok (STRTOK): New macro.
11985
8e25d1e7
CD
119862014-02-28 Carlos O'Donell <carlos@redhat.com>
11987
ef563f92
CD
11988 * manual/threads.texi: Add header and standard comments to all
11989 functions.
11990
8e25d1e7
CD
11991 * elf/dl-lookup.c (check_match): New function.
11992 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11993 (do_lookup_x): Remove nested function check_match. Use non-nested
11994 function check_match.
11995
ff71cc37
RM
119962014-02-28 Roland McGrath <roland@hack.frob.com>
11997
f08e9a26
RM
11998 * csu/Makefile (generated, before-compile): Use += rather than =.
11999 * catgets/Makefile (generated, generated-dirs): Likewise.
12000 * debug/Makefile (generated): Likewise.
12001 * dlfcn/Makefile (generated): Likewise.
12002 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12003 * iconvdata/Makefile (before-compile, generated): Likewise.
12004 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12005 * libio/Makefile (generated): Likewise.
12006 * malloc/Makefile (generated): Likewise.
12007 * manual/Makefile (generated, generated-dirs): Likewise.
12008 * misc/Makefile (generated): Likewise.
12009 * posix/Makefile (generated): Likewise.
12010 * resolv/Makefile (generated): Likewise.
12011 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12012 * timezone/Makefile (generated, generated-dirs): Likewise.
12013
ff71cc37
RM
12014 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12015
fe13a20c
AZ
120162014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12017
57f41c40
AS
12018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12019 power8 implementation.
12020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12021 file: POWER8 llround ifunc implementation.
12022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12023 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12024 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12025 POWER8 llround implementation.
12026
57f41c40
AS
12027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12028 power8 implementation.
12029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12030 file: POWER8 llrint ifunc implementation.
12031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12032 Add POWER8 implementation.
1ad8950a
AZ
12033 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12034 POWER8 llrint implementation.
12035
57f41c40
AS
12036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12037 power8 implementation.
12038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12039 file: POWER8 finite ifunc implementation.
12040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12041 Add POWER8 implementation.
cac626d6
AZ
12042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12043 Likewise.
12044 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12045 POWER8 finite implementation.
12046 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12047
57f41c40
AS
12048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12049 power8 implementation.
12050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12051 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12053 POWER8 implementation.
12054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12055 Likewise.
57f41c40
AS
12056 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12057 isinf implementation.
4393fc11
AZ
12058 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12059
57f41c40
AS
12060 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12061 (INIT_ARCH): Add hwcap2 initialization.
12062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12063 power8 implementation.
12064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12065 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12067 POWER8 implementation.
12068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12069 Likewise.
57f41c40
AS
12070 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12071 isnan implementation.
487972ae
AZ
12072 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12073
7d92b787
JY
120742014-02-27 Joey Ye <joey.ye@arm.com>
12075
12076 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12077 (_FP_NANFRAC_Q): Set to zero.
12078
1cadc858
SP
120792014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12080
12081 [BZ #16623]
12082 * math/auto-libm-test-in: New test inputs.
12083 * math/auto-libm-test-out: Regenerate.
12084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12085 and DA.
12086 (__cos): Likewise.
12087 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12088
f8c17e79
JM
120892014-02-27 Joseph Myers <joseph@codesourcery.com>
12090
12091 * scripts/evaluate-test.sh: Take new argument indicating whether
12092 failure is expected.
12093 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12094 indicating whether failure is expected.
12095 * conform/Makefile (test-xfail-run-conformtest): New variable.
12096 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12097 level.
12098 * posix/Makefile (test-xfail-annexc): New variable.
12099 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12100
a5f891ac
JM
121012014-02-26 Joseph Myers <joseph@codesourcery.com>
12102
12103 * argp/Makefile: Include Makeconfig immediately after defining
12104 subdir.
12105 * assert/Makefile: Likewise.
12106 * benchtests/Makefile: Likewise.
12107 * catgets/Makefile: Likewise.
12108 * conform/Makefile: Likewise.
12109 * crypt/Makefile: Likewise.
12110 * csu/Makefile: Likewise.
12111 (all): Remove target.
12112 * ctype/Makefile: Include Makeconfig immediately after defining
12113 subdir.
12114 * debug/Makefile: Likewise.
12115 * dirent/Makefile: Likewise.
12116 * dlfcn/Makefile: Likewise.
12117 * gmon/Makefile: Likewise.
12118 * gnulib/Makefile: Likewise.
12119 * grp/Makefile: Likewise.
12120 * gshadow/Makefile: Likewise.
12121 * hesiod/Makefile: Likewise.
12122 * hurd/Makefile: Likewise.
12123 (all): Remove target.
12124 * iconvdata/Makefile: Include Makeconfig immediately after
12125 defining subdir.
12126 * inet/Makefile: Likewise.
12127 * intl/Makefile: Likewise.
12128 * io/Makefile: Likewise.
12129 * libio/Makefile: Likewise.
12130 (all): Remove target.
12131 * locale/Makefile: Include Makeconfig immediately after defining
12132 subdir.
12133 * login/Makefile: Likewise.
12134 * mach/Makefile: Likewise.
12135 (all): Remove target.
12136 * malloc/Makefile: Include Makeconfig immediately after defining
12137 subdir.
12138 (all): Remove target.
12139 * manual/Makefile: Include Makeconfig immediately after defining
12140 subdir.
12141 * math/Makefile: Likewise.
12142 * misc/Makefile: Likewise.
12143 * nis/Makefile: Likewise.
12144 * nss/Makefile: Likewise.
12145 * po/Makefile: Likewise.
12146 (all): Remove target.
12147 * posix/Makefile: Include Makeconfig immediately after defining
12148 subdir.
12149 * pwd/Makefile: Likewise.
12150 * resolv/Makefile: Likewise.
12151 * resource/Makefile: Likewise.
12152 * rt/Makefile: Likewise.
12153 * setjmp/Makefile: Likewise.
12154 * shadow/Makefile: Likewise.
12155 * signal/Makefile: Likewise.
12156 * socket/Makefile: Likewise.
12157 * soft-fp/Makefile: Likewise.
12158 * stdio-common/Makefile: Likewise.
12159 * stdlib/Makefile: Likewise.
12160 * streams/Makefile: Likewise.
12161 * string/Makefile: Likewise.
12162 * sunrpc/Makefile: Likewise.
12163 (all): Remove target.
12164 * sysvipc/Makefile: Include Makeconfig immediately after defining
12165 subdir.
12166 * termios/Makefile: Likewise.
12167 * time/Makefile: Likewise.
12168 * timezone/Makefile: Likewise.
12169 (all): Remove target.
12170 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12171 subdir.
12172 * wctype/Makefile: Likewise.
12173
5b456e9d
SE
121742014-02-26 Steve Ellcey <sellcey@mips.com>
12175
12176 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12177 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12178 (libc_feholdexcept_setround_mips): Ditto.
12179 (libc_feholdsetround): New.
12180 (libc_feholdsetroundf): New.
12181 (libc_feholdsetroundl): New.
12182 (libc_feupdateenv_test_mips): New.
12183 (libc_feupdateenv_test): New.
12184 (libc_feupdateenv_testf): New.
12185 (libc_feupdateenv_testl): New.
12186 (libc_feresetround): New.
12187 (libc_feresetroundf): New.
12188 (libc_feresetroundl): New.
12189 (libc_fetestexcept_mips): New.
12190 (libc_fetestexcept): New.
12191 (libc_fetestexceptf): New.
12192 (libc_fetestexceptl): New.
12193 (HAVE_RM_CTX): New.
12194 (libc_feholdexcept_setround_mips_ctx): New.
12195 (libc_feholdexcept_setround_ctx): New.
12196 (libc_feholdexcept_setroundf_ctx): New.
12197 (libc_feholdexcept_setroundl_ctx): New.
12198 (libc_fesetenv_mips_ctx): New.
12199 (libc_fesetenv_ctx): New.
12200 (libc_fesetenv_ctxf): New.
12201 (libc_fesetenv_ctxl): New.
12202 (libc_feupdateenv_mips_ctx): New.
12203 (libc_feupdateenv_ctx): New.
12204 (libc_feupdateenvf_ctx): New.
12205 (libc_feupdateenvl_ctx): New.
12206 (libc_feholdsetround_mips_ctx): New.
12207 (libc_feholdsetround_ctx): New.
12208 (libc_feholdsetroundf_ctx): New.
12209 (libc_feholdsetroundl_ctx): New.
12210 (libc_feresetround_mips_ctx): New.
12211 (libc_feresetround_ctx): New.
12212 (libc_feresetroundf_ctx): New.
12213 (libc_feresetroundl_ctx): New.
12214
085d0e35
CD
122152014-02-26 Carlos O'Donell <carlos@redhat.com>
12216
f067bf1f
CD
12217 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12218
085d0e35
CD
12219 * manual/ipc.texi: New file.
12220 * manual/Makefile (chapters): Add ipc.
12221 * manual/job.texi: Add "Inter-Process Communication" to next.
12222 * manual/process.texi: Add "Inter-Process Communication" to prev.
12223
86e58c08
AZ
122242014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12225
12226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12227
4248f0da
OB
122282014-02-26 Ondřej Bílka <neleai@seznam.cz>
12229
12230 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12231
cf822e3c
OB
12232 * manual/arith.texi: Fix spaces after sentences.
12233 * manual/charset.texi: Likewise.
12234 * manual/errno.texi: Likewise.
12235 * manual/install.texi: Likewise.
12236 * manual/llio.texi: Likewise.
12237 * manual/locale.texi: Likewise.
12238 * manual/maint.texi: Likewise.
12239 * manual/math.texi: Likewise.
12240 * manual/memory.texi: Likewise.
12241 * manual/message.texi: Likewise.
12242 * manual/probes.texi: Likewise.
12243 * manual/resource.texi: Likewise.
12244 * manual/signal.texi: Likewise.
12245 * manual/socket.texi: Likewise.
12246 * manual/stdio.texi: Likewise.
12247 * manual/string.texi: Likewise.
12248 * manual/time.texi: Likewise.
12249 * manual/users.texi: Likewise.
12250
ade40b10
CD
122512014-02-25 Carlos O'Donell <carlos@redhat.com>
12252
12253 [BZ #16632]
12254 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12255 _DEFAULT_SOURCE is defined.
12256
d0503676
CD
122572014-02-25 Ulrich Drepper <drepper@gmail.com>
12258 Carlos O'Donell <carlos@redhat.com>
12259
12260 [BZ #16613]
12261 * elf/dl-tls.c (_dl_count_modids): New function.
12262 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12263 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12264 audit library and increment generation counter.
12265 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12266 * elf/tst-audit9.c: New file.
12267 * elf/tst-auditmod9a.c: New file.
12268 * elf/tst-auditmod9b.c: New file.
12269 * elf/Makefile: Add rules to build and run tst-audit9.
12270
4cbf380c
FW
122712014-02-25 Florian Weimer <fweimer@redhat.com>
12272
12273 [BZ #15347]
12274 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12275
80a56cc3
WN
122762014-02-25 Will Newton <will.newton@linaro.org>
12277
12278 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12279 (__longjmp): Restore sp and lr before restoring callee
12280 saved registers. Add longjmp and longjmp_target
12281 SystemTap probe point.
12282 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12283 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12284 Define to zero to match jmpbuf layout.
12285 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12286 (__sigsetjmp): Save sp and lr before saving callee
12287 saved registers. Add setjmp SystemTap probe point.
12288
3ea0f74e
SL
122892014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12290
12291 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12292
b04acb26
AS
122932014-02-24 Andreas Schwab <schwab@suse.de>
12294
12295 [BZ #15804]
12296 * elf/pldd.c (wait_for_ptrace_stop): New function.
12297 (main): Call it after attaching.
12298
098ad55c
RM
122992014-02-22 Roland McGrath <roland@hack.frob.com>
12300
d4ec6ae1
RM
12301 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12302 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12303 Versions files is now verboten.
12304 * hurd/Versions (libc: GLIBC_2.0):
12305 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12306 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12307 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12308 * mach/Versions: Likewise.
12309
098ad55c
RM
12310 * csu/Versions: Remove unused %include.
12311 * resolv/Versions: Likewise.
12312
acd7f096
JM
123132014-02-21 Joseph Myers <joseph@codesourcery.com>
12314
f0881698
JM
12315 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12316 ($(objpfx)check-local-headers.out): Likewise.
12317 ($(objpfx)begin-end-check.out): Likewise.
12318 * Makerules (check-abi-%.out): Likewise.
12319 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12320 ($(objpfx)test2.cat): Likewise.
12321 ($(objpfx)de/libc.cat): Likewise.
12322 ($(objpfx)test-gencat.out): Likewise.
12323 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12324 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12325 ($(objpfx)noload-mem): Likewise.
12326 ($(objpfx)tst-pathopt.out): Likewise.
12327 ($(objpfx)tst-rtld-load-self.out): Likewise.
12328 ($(objpfx)tst-array1-cmp.out): Likewise.
12329 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12330 ($(objpfx)tst-array2-cmp.out): Likewise.
12331 ($(objpfx)tst-array3-cmp.out): Likewise.
12332 ($(objpfx)tst-array4-cmp.out): Likewise.
12333 ($(objpfx)tst-array5-cmp.out): Likewise.
12334 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12335 ($(objpfx)check-textrel.out): Likewise.
12336 ($(objpfx)check-execstack.out): Likewise.
12337 ($(objpfx)check-localplt.out): Likewise.
12338 ($(objpfx)order2-cmp.out): Likewise.
12339 ($(objpfx)tst-leaks1-mem): Likewise.
12340 ($(objpfx)tst-leaks1-static-mem): Likewise.
12341 ($(objpfx)tst-initorder-cmp.out): Likewise.
12342 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12343 ($(objpfx)tst-unused-dep.out): Likewise.
12344 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12345 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12346 * iconv/Makefile (test-iconvconfig): Likewise.
12347 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12348 ($(objpfx)iconv-test.out): Likewise.
12349 ($(objpfx)tst-tables.out): Likewise.
12350 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12351 ($(objpfx)tst-gettext.out): Likewise.
12352 ($(objpfx)tst-translit.out): Likewise.
12353 ($(objpfx)tst-gettext2.out): Likewise.
12354 ($(objpfx)tst-gettext4.out): Likewise.
12355 ($(objpfx)tst-gettext6.out): Likewise.
12356 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12357 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12358 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12359 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12360 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12361 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12362 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12363 ($(objpfx)wordexp-tst.out): Likewise.
12364 ($(objpfx)annexc.out): Likewise.
12365 ($(objpfx)tst-fnmatch-mem): Likewise.
12366 ($(objpfx)bug-regex2-mem): Likewise.
12367 ($(objpfx)bug-regex14-mem): Likewise.
12368 ($(objpfx)bug-regex21-mem): Likewise.
12369 ($(objpfx)bug-regex31-mem): Likewise.
12370 ($(objpfx)tst-vfork3-mem): Likewise.
12371 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12372 ($(objpfx)tst-pcre-mem): Likewise.
12373 ($(objpfx)tst-boost-mem): Likewise.
12374 ($(objpfx)tst-getconf.out): Likewise.
12375 ($(objpfx)bug-ga2-mem): Likewise.
12376 ($(objpfx)bug-glob2-mem): Likewise.
12377 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12378 ($(objpfx)mtrace-tst-leaks2): Likewise.
12379 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12380 ($(objpfx)tst-printf.out): Likewise.
12381 ($(objpfx)tst-setvbuf1.out): Likewise.
12382 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12383 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12384 ($(objpfx)tst-fmtmsg.out): Likewise.
12385 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12386 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12387
acd7f096
JM
12388 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12389 * bits/sigaction.h [__USE_MISC]: Likewise.
12390 * bits/waitstatus.h: Update #endif comments.
12391 * ctype/ctype.h: Likewise.
12392 * dirent/dirent.h: Likewise.
12393 [__USE_MISC]: Remove redundant conditionals.
12394 * grp/grp.h: Update #endif comments.
12395 [__USE_GNU]: Remove redundant conditionals.
12396 [__USE_MISC]: Likewise.
12397 * inet/netinet/in.h [__USE_GNU]: Likewise.
12398 * io/sys/stat.h [__USE_MISC]: Likewise.
12399 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12400 * libio/bits/stdio.h: Update #endif comments.
12401 [__USE_MISC]: Remove redundant conditionals.
12402 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12403 * libio/stdio.h: Update #endif comments.
12404 [__USE_MISC]: Remove redundant conditionals.
12405 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12406 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12407 * math/math.h: Update #else and #endif comments.
12408 [__USE_MISC]: Remove redundant conditionals.
12409 * misc/sys/uio.h: Update #endif comments.
12410 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12411 * posix/glob.h [__USE_MISC]: Likewise.
12412 * posix/sys/types.h: Update #endif comments.
12413 [__USE_MISC]: Remove redundant conditionals.
12414 * posix/sys/wait.h: Update #endif comments.
12415 [__USE_MISC]: Remove redundant conditionals.
12416 * posix/unistd.h: Update #endif comments.
12417 [__USE_MISC]: Remove redundant conditionals.
12418 * pwd/pwd.h [__USE_GNU]: Likewise.
12419 [__USE_MISC]: Likewise.
12420 * resolv/netdb.h [__USE_GNU]: Likewise.
12421 * signal/signal.h: Update #endif comments.
12422 [__USE_MISC]: Remove redundant conditionals.
12423 * stdlib/stdlib.h: Update #else and #endif comments.
12424 [__USE_MISC]: Remove redundant conditionals.
12425 [__USE_GNU]: Likewise.
12426 * string/bits/string2.h [__USE_MISC]: Likewise.
12427 * string/string.h: Update #endif comments.
12428 [__USE_MISC]: Remove redundant conditionals.
12429 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12430 Likewise.
12431 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12432 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12433 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12434 Likewise.
12435 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12436 Likewise.
12437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12438 comments.
12439 [__USE_MISC]: Remove redundant conditionals.
12440 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12441 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12442 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12443 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12444 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12445 Likewise.
12446 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12447 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12448 Likewise.
12449 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12450 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12451 Likewise.
12452 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12453 Likewise.
12454 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12455 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12456 Likewise.
12457 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12460 * sysdeps/x86/bits/string.h: Update #endif comments.
12461 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12462 conditionals.
12463 * time/sys/time.h: Update #endif comments.
12464 * time/time.h: Likewise.
12465 [__USE_MISC]: Remove redundant conditionals.
12466
a5d82e4e
YG
124672014-02-21 Yury Gribov <y.gribov@samsung.com>
12468
12469 [BZ #16600]
12470 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12471
9a80491d
AS
124722014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12473
12474 * Versions.def (librt): Add GLIBC_2.17.
12475
105fa381
AC
124762014-02-21 Adam Conrad <adconrad@0c3.net>
12477
12478 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12479 synonym for _SYS_AUXV_H to allow direct inclusion.
12480 * sysdeps/sparc/bits/hwcap.h: Likewise.
12481 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12482 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12483 * sysdeps/sparc/sysdep.h: Likewise.
12484
b8cd1c4e
SP
124852014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12486
12487 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12488
bd939d23
RS
124892014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12490
12491 * benchtests/bench-strrchr.c: Print length instead of position.
12492
5d7b57ca
JM
124932014-02-20 Joseph Myers <joseph@codesourcery.com>
12494
bc688c10
JM
12495 [BZ #16611]
12496 * sysdeps/unix/sysv/linux/kernel-features.h
12497 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12498 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12499 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12500 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12501 Likewise.
12502 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12503 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12504 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12505 (__ASSUME_SENDMMSG): Define instead of using previous
12506 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12508 (__ASSUME_SENDMMSG_SYSCALL): Define.
12509 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12510 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12511 Likewise.
12512 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12513 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12514 Likewise.
12515 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12516 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12517 Likewise.
12518 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12519 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12520 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12521 [__ASSUME_SENDMMSG]: Change conditionals to
12522 [__ASSUME_SENDMMSG_SOCKETCALL].
12523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12524 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12525 Define.
12526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12527 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12528 Likewise.
12529 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12530 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12531 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12532 [!__ASSUME_SENDMMSG]: Change conditional to
12533 [!__ASSUME_SENDMMSG_SOCKETCALL].
12534 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12535 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12536 Define.
12537
0e31b18c
JM
12538 [BZ #16610]
12539 * sysdeps/unix/sysv/linux/kernel-features.h
12540 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12541 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12542 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12543 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12544 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12545 [__i386__ || __sparc__]
12546 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12547 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12548 (__ASSUME_RECVMMSG): Define instead of using previous
12549 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12550 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12551 (__ASSUME_RECVMMSG_SYSCALL): Define.
12552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12553 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12554 Likewise.
12555 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12556 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12557 Likewise.
12558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12559 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12560 Likewise.
12561 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12562 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12563 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12564 [__ASSUME_RECVMMSG]: Change condition to
12565 [__ASSUME_RECVMMSG_SOCKETCALL].
12566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12568 Define.
12569 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12570 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12571 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12572 Likewise.
12573 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12574 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12575 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12576 [!__ASSUME_RECVMMSG]: Change condition to
12577 [!__ASSUME_RECVMMSG_SOCKETCALL].
12578 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12579 (__ASSUME_RECVMMSG_SYSCALL): Define.
12580
dd481ccf
JM
12581 [BZ #16609]
12582 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12583 __powerpc__ || __s390__ || __sh__ || __sparc__]
12584 (__ASSUME_SOCKETCALL): Define.
12585 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12586 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12587 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12588 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12589 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12590 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12591 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12592 (__ASSUME_ACCEPT4): Define instead of using previous
12593 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12594 __powerpc__ || __sparc__ || __s390__)] condition.
12595 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12596 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12597 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12598 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12599 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12600 [!__ASSUME_ACCEPT4]: Change condition to
12601 [!__ASSUME_ACCEPT4_SOCKETCALL].
12602 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12603 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12604 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12606 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12607 __ASSUME_ACCEPT4_SYSCALL.
12608 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12609 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12610 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12611 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12612 __ASSUME_ACCEPT4_SYSCALL.
12613 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12614 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12615 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12616 [__ASSUME_ACCEPT4]: Change condition to
12617 [__ASSUME_ACCEPT4_SOCKETCALL].
12618 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12619 (__ASSUME_SOCKETCALL): Define.
12620 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12622 (__ASSUME_SOCKETCALL): Define.
12623 (__ASSUME_ACCEPT4): Remove.
12624 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12625 Define.
12626 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12627 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12628 Likewise.
12629 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12630 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12631
5d7b57ca
JM
12632 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12633 macro.
12634 (HWCAP_ARM_LPAE): Likewise.
12635 (HWCAP_ARM_EVTSTRM): Likewise.
12636 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12637 Add vpfd32, lpae and evtstrm.
12638 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12639 Increase to 22.
12640
63689d61
JM
126412014-02-19 Joseph Myers <joseph@codesourcery.com>
12642
12643 * math/auto-libm-test-in: Add tests of clog10.
12644 * math/auto-libm-test-out: Regenerated.
12645 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12646 * sysdeps/i386/fpu/libm-test-ulps: Update.
12647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12648
ab09bf61
AS
126492014-02-18 Andreas Schwab <schwab@suse.de>
12650
12651 [BZ #16574]
12652 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12653 Store non-zero if the second buffer was newly allocated.
12654 (send_dg): Likewise.
12655 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12656 to send_vc and send_dg.
12657 (res_nsend): Pass NULL for ansp2_malloced.
12658 * resolv/res_query.c (__libc_res_nquery): Add parameter
12659 answerp2_malloced and pass it down to __libc_res_nsend.
12660 (res_nquery): Pass additional NULL to __libc_res_nquery.
12661 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12662 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12663 second answer buffer if answerp2_malloced was set.
12664 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12665 (__libc_res_nquerydomain): Add parameter
12666 answerp2_malloced and pass it down to __libc_res_nquery.
12667 (res_nquerydomain): Pass additional NULL to
12668 __libc_res_nquerydomain.
12669 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12670 additional NULL to __libc_res_nsend and __libc_res_nquery.
12671 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12672 additional NULL to __libc_res_nsearch.
12673 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12674 parameter of __libc_res_nsearch to check for separately allocated
12675 second buffer.
12676 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12677 __libc_res_nquery.
12678 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12679 additional NULL to __libc_res_nquery.
12680 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12681 __libc_res_nsearch.
12682 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12683 * include/resolv.h: Update prototypes of __libc_res_nquery,
12684 __libc_res_nsearch, __libc_res_nsend.
12685
a4fb7861
JM
126862014-02-18 Joseph Myers <joseph@codesourcery.com>
12687
c6af2d89
JM
12688 * math/auto-libm-test-in: Add tests of fma.
12689 * math/auto-libm-test-out: Regenerated.
12690 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12691 (fma_towardzero_test_data): Likewise.
12692 (fma_downward_test_data): Likewise.
12693 (fma_upward_test_data): Likewise.
12694 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12695 mpc_mode.
12696 (rounding_modes): Add values for new field.
12697 (func_calc_method): Add value mpfr_fff_f.
12698 (func_calc_desc): Add mpfr_fff_f union field.
12699 (test_function): Add field exact_args.
12700 (FUNC): Add macro argument EXACT_ARGS.
12701 (FUNC_mpfr_f_f): Update call to FUNC.
12702 (FUNC_mpfr_f_f): Likewise.
12703 (FUNC_mpfr_ff_f): Likewise.
12704 (FUNC_mpfr_if_f): Likewise.
12705 (FUNC_mpc_c_f): Likewise.
12706 (FUNC_mpc_c_c): Likewise.
12707 (test_functions): Add fma. Update calls to FUNC.
12708 (handle_input_arg): Add argument exact_args.
12709 (add_test): Update call to handle_input_arg.
12710 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12711 (output_for_one_input_case): Update call to calc_generic_results.
12712 Recalculate exact zero results in each rounding mode.
12713
a4fb7861
JM
12714 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12715 non-negative before setting low bit.
12716 * math/auto-libm-test-in: Mark one asin test possibly having
12717 spurious underflow.
12718 * math/auto-libm-test-out: Regenerated.
12719 * sysdeps/i386/fpu/libm-test-ulps: Update.
12720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12721
ef114eaf
DH
127222014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12723
2b7f4f2c
SP
12724 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12725 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12726 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12727 * README: Add missing listing for microblaze*-*-linux-gnu.
12728
8125aedc
AM
127292014-02-16 Ondřej Bílka <neleai@seznam.cz>
12730
12731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12732 duplicate code
12733
c70a4b1d
MF
127342014-02-16 Mike Frysinger <vapier@gentoo.org>
12735
12736 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12737 * sysdeps/unix/sysv/linux/ia64: Move directory from
12738 ports/sysdeps/unix/sysv/linux/ia64.
12739 * README: Update listing for ia64-*-linux-gnu.
12740
591aeaf7
TD
127412014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12742 Joseph Myers <joseph@codesourcery.com>
12743
12744 * Makeconfig (test-name): New variable.
12745 (evaluate-test): Likewise.
12746 * Makerules (do-test-clean): Remove .test-result files.
12747 (common-mostlyclean): Likewise.
12748 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12749 * scripts/evaluate-test.sh: New file.
12750
6e89caf1
JM
127512014-02-14 Joseph Myers <joseph@codesourcery.com>
12752
7f98f180
JM
12753 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12754 separate $(objpfx)tst-fopenloc-cmp.out and
12755 $(objpfx)tst-fopenloc-mem.out targets.
12756 (tests): Update dependencies.
12757 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12758 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12759 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12760 (tst-rxspencer-no-utf8-ARGS): New variable.
12761 (tst-rxspencer-no-utf8-ENV): Likewise.
12762 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12763 instead of $(objpfx)tst-rxspencer-mem.
12764 ($(objpfx)tst-rxspencer-mem): Change target to
12765 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12766 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12767 * posix/tst-rxspencer-no-utf8.c: New file.
12768
6e89caf1
JM
12769 * elf/Makefile ($(objpfx)order.out): Remove rule.
12770 [$(run-built-tests) = yes] (tests): Depend on
12771 $(objpfx)order-cmp.out.
12772 ($(objpfx)order-cmp.out): New rule.
12773 [$(run-built-tests) = yes] (tests): Depend on
12774 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12775 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12776 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12777 $(objpfx)tst-array5-static-cmp.out.
12778 ($(objpfx)tst-array1.out): Remove rule.
12779 ($(objpfx)tst-array1-cmp.out): New rule.
12780 ($(objpfx)tst-array1-static.out): Remove rule.
12781 ($(objpfx)tst-array1-static-cmp.out): New rule.
12782 ($(objpfx)tst-array2.out): Remove rule.
12783 ($(objpfx)tst-array2-cmp.out): New rule.
12784 ($(objpfx)tst-array3.out): Remove rule.
12785 ($(objpfx)tst-array3-cmp.out): New rule.
12786 ($(objpfx)tst-array4.out): Remove rule.
12787 ($(objpfx)tst-array4-cmp.out): New rule.
12788 ($(objpfx)tst-array5.out): Remove rule.
12789 ($(objpfx)tst-array5-cmp.out): New rule.
12790 ($(objpfx)tst-array5-static.out): Remove rule.
12791 ($(objpfx)tst-array5-static-cmp.out): New rule.
12792 [$(run-built-tests) = yes] (tests): Depend on
12793 $(objpfx)order2-cmp.out.
12794 ($(objpfx)order2.out): Remove rule.
12795 ($(objpfx)order2-cmp.out): New rule.
12796 ($(objpfx)tst-initorder.out): Remove rule.
12797 [$(run-built-tests) = yes] (tests): Depend on
12798 $(objpfx)tst-initorder-cmp.out.
12799 ($(objpfx)tst-initorder-cmp.out): New rule.
12800 ($(objpfx)tst-initorder2.out): Remove rule.
12801 [$(run-built-tests) = yes] (tests): Depend on
12802 $(objpfx)tst-initorder2-cmp.out.
12803 ($(objpfx)tst-initorder2-cmp.out): New rule.
12804 [$(run-built-tests) = yes] (tests): Depend on
12805 $(objpfx)tst-unused-dep-cmp.out.
12806 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12807 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12808 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12809 on $(objpfx)tst-setvbuf1-cmp.out.
12810 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12811 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12812 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12813 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12814 ($(objpfx)tst-svc.out): Remove rule.
12815 ($(objpfx)tst-svc-cmp.out): New rule.
12816
ed9a38e2
JM
128172014-02-13 Joseph Myers <joseph@codesourcery.com>
12818
12819 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12820 * ctype/ctype.h [__USE_MISC]: Likewise.
12821 * dirent/dirent.h [__USE_MISC]: Likewise.
12822 * grp/grp.h [__USE_MISC]: Likewise.
12823 * io/fcntl.h [__USE_MISC]: Likewise.
12824 * io/sys/stat.h [__USE_MISC]: Likewise.
12825 * libio/stdio.h [__USE_MISC]: Likewise.
12826 * posix/unistd.h [__USE_MISC]: Likewise.
12827 * pwd/pwd.h [__USE_MISC]: Likewise.
12828 * stdlib.h [__USE_MISC]: Likewise.
12829 * string/bits/string2.h [__USE_MISC]: Likewise.
12830 * string/string.h [__USE_MISC]: Likewise.
12831 * time/time.h [__USE_MISC]: Likewise.
12832
d6680619
AS
128332014-02-13 Andreas Schwab <schwab@suse.de>
12834
12835 [BZ #16574]
12836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12837 second answer buffer if it was separately allocated.
12838
ace614b8
JM
128392014-02-12 Joseph Myers <joseph@codesourcery.com>
12840
743151ae
JM
12841 * sysdeps/mips/math-tests.h: Include <features.h>.
12842 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12843 (ROUNDING_TESTS_long_double): Do not define.
12844 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12845 (EXCEPTION_TESTS_long_double): Likewise.
12846 * sysdeps/mips/mips64/libm-test-ulps: Update.
12847
498afc54
JM
12848 * include/features.h (__USE_BSD): Remove macro definitions.
12849 (__USE_SVID): Likewise.
12850 (_BSD_SOURCE): Likewise.
12851 (_SVID_SOURCE): Likewise.
12852 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12853 from definition of _DEFAULT_SOURCE.
12854 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12855 [_DEFAULT_SOURCE].
12856 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12857 * bits/mman.h [__USE_BSD]: Likewise.
12858 * bits/termios.h [__USE_BSD]: Likewise.
12859 * bits/waitstatus.h [__USE_BSD]: Likewise.
12860 * ctype/ctype.h [__USE_SVID]: Likewise.
12861 * dirent/dirent.h [__USE_BSD]: Likewise.
12862 * grp/grp.h [__USE_SVID]: Likewise.
12863 [__USE_BSD]: Likewise.
12864 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12865 * io/fcntl.h [__USE_BSD]: Likewise.
12866 * io/ftw.h [__USE_BSD]: Likewise.
12867 * io/sys/stat.h [__USE_BSD]: Likewise.
12868 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12869 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12870 * libio/stdio.h [__USE_SVID]: Likewise.
12871 [__USE_BSD]: Likewise.
12872 * math/math.h [__USE_SVID]: Likewise.
12873 [__USE_BSD]: Likewise.
12874 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12875 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12876 * misc/search.h [__USE_SVID]: Likewise.
12877 * misc/sys/mman.h [__USE_BSD]: Likewise.
12878 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12879 * misc/sys/uio.h [__USE_BSD]: Likewise.
12880 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12881 * posix/glob.h [__USE_BSD]: Likewise.
12882 * posix/regex.h [__USE_BSD]: Likewise.
12883 * posix/sys/types.h [__USE_BSD]: Likewise.
12884 [__USE_SVID]: Likewise.
12885 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12886 * posix/sys/wait.h [__USE_BSD]: Likewise.
12887 [__USE_SVID]: Likewise.
12888 * posix/unistd.h [__USE_BSD]: Likewise.
12889 [__USE_SVID]: Likewise.
12890 * pwd/pwd.h [__USE_SVID]: Likewise.
12891 * resolv/netdb.h [__USE_BSD]: Likewise.
12892 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12893 * signal/signal.h [__USE_BSD]: Likewise.
12894 [__USE_SVID]: Likewise.
12895 * socket/sys/socket.h [__USE_BSD]: Likewise.
12896 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12897 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12898 [__USE_SVID]: Likewise.
12899 * string/bits/string2.h [__USE_BSD]: Likewise.
12900 [__USE_SVID]: Likewise.
12901 * string/bits/string3.h [__USE_BSD]: Likewise.
12902 * string/endian.h [__USE_BSD]: Likewise.
12903 * string/string.h [__USE_SVID]: Likewise.
12904 [__USE_BSD]: Likewise.
12905 * string/strings.h [__USE_BSD]: Likewise.
12906 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12907 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12908 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12909 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12910 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12911 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12912 Likewise.
12913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12914 Likewise.
12915 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12916 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12917 Likewise.
12918 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12919 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12920 Likewise.
12921 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12922 Likewise.
12923 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12924 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12925 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12926 Likewise.
12927 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12928 Likewise.
12929 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12930 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12931 * termios/termios.h [__USE_BSD]: Likewise.
12932 * time/sys/time.h [__USE_BSD]: Likewise.
12933 * time/time.h [__USE_BSD]: Likewise.
12934 [__USE_SVID]: Likewise.
12935
dd7b064c
JM
12936 * Makefile (subdir_targets): Remove subdir_lint.out.
12937
a2c4c199
JM
12938 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12939 (do-tst-printf): Likewise.
12940 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12941 $(objpfx)tst-printf.out.
12942
8756f740
JM
12943 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12944
1b6dd3f1
JM
12945 * Makerules (check-abi-%): Change target to
12946 $(objpfx)check-abi-%.out.
12947 (check-abi target): Update dependencies.
12948 (check-abi-pattern variable): Redirect output of diff to $@.
12949 (check-abi variable): Likewise.
12950 * elf/Makefile (check-abi): Update dependencies.
12951
ace614b8
JM
12952 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12953 unused.
12954 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12955 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12956 subnormal range.
12957 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12958 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12959 value has largest subnormal exponent.
12960 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12961 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12962 * sysdeps/aarch64/soft-fp/sfp-machine.h
12963 (_FP_TININESS_AFTER_ROUNDING): New macro.
12964 * sysdeps/alpha/soft-fp/sfp-machine.h
12965 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12966 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12967 Likewise.
12968 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12969 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12970 * sysdeps/mips/soft-fp/sfp-machine.h
12971 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12972 * sysdeps/powerpc/soft-fp/sfp-machine.h
12973 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12974 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12975 Likewise.
12976 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12977 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12978 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12979 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12980 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12981 Likewise.
12982
fbfdf9cb
DAS
129832014-02-12 Dylan Alex Simon <dylan@dylex.net>
12984
12985 [BZ #16545]
12986 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12987 model 1.
12988
68b7efaa
RH
129892014-02-12 Richard Henderson <rth@redhat.com>
12990
c70a4b1d 12991 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12992 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12993 * sysdeps/unix/sysv/linux/alpha: Move directory from
12994 ports/sysdeps/unix/sysv/linux/alpha.
12995 * README: Update listing for alpha-*-linux-gnu.
12996
cb4a2928
JM
129972014-02-11 Joseph Myers <joseph@codesourcery.com>
12998
c941736c
JM
12999 * include/features.h: Update comment documenting feature test
13000 macros.
13001 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13002 _DEFAULT_SOURCE.
13003 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13004 (_SVID_SOURCE): Likewise.
13005 (_DEFAULT_SOURCE): Update description of default features.
13006 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13007 with _GNU_SOURCE.
13008 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13009 (S_ISVTX): Likewise.
13010 * manual/math.texi (Mathematical Constants): Likewise.
13011 * manual/signal.texi (Interrupted Primitives): Likewise.
13012 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13013 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13014 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13015 Don't refer to _SVID_SOURCE in warning text.
13016
e8d8d7ec
JM
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13018
cb4a2928
JM
13019 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13020 already defined.
13021 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13022 * sysdeps/mips/dl-lookup.c: Remove.
13023 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13024
7e6424e3
AK
130252014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13026
13027 [BZ #16447]
13028 * math/auto-libm-test-in: Add testcase for expl.
13029 * math/auto-libm-test-out: Regenerate.
13030 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13031 calculation of unsafe.
13032 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13033
75eff3fe
MS
130342014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13035
13036 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13037 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13038 ports/sysdeps/unix/sysv/linux/aarch64.
13039 * README: Update listing for aarch64*-*-linux-gnu.
13040
d35f1e80
WN
130412014-02-11 Will Newton <will.newton@linaro.org>
13042
13043 * manual/probes.texi (Mathematical Function Probes): Use
13044 "triggered" instead of "hit".
13045
7b3436d4
WN
13046 * manual/probes.texi (Internal Probes): Add documentation
13047 of setjmp, longjmp and longjmp_target probes.
13048
b4f12ca3
WN
13049 * include/stap-probe.h: Add comment about probe argument
13050 format.
13051
c13a72b7
WN
13052 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13053 definition. (tr_where, tr_freehook, tr_mallochook,
13054 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13055
195b8165
DM
130562014-02-11 David S. Miller <davem@davemloft.net>
13057
13058 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13059 processing int_tests.
13060
2ad7600b
JM
130612014-02-10 Joseph Myers <joseph@codesourcery.com>
13062
13063 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13064 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13065 * sysdeps/unix/sysv/linux/mips: Move directory from
13066 ports/sysdeps/unix/sysv/linux/mips.
13067 * README: Update listing for mips-*-linux-gnu and
13068 mips64-*-linux-gnu.
13069
73588a72
AS
130702014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13071
13072 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13073 * sysdeps/unix/sysv/linux/m68k: Move directory from
13074 ports/sysdeps/unix/sysv/linux/m68k.
13075 * README: Update listing for m68k-*-linux-gnu.
13076
4372980f
CM
130772014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13078
13079 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13080 * sysdeps/unix/sysv/linux/generic: Move directory from
13081 ports/sysdeps/unix/sysv/linux/generic.
13082 * sysdeps/unix/sysv/linux/tile: Move directory from
13083 ports/sysdeps/unix/sysv/linux/tile.
13084 * README: Update listing for tile*-*-linux-gnu.
13085
a1ffb40e
OB
130862014-02-10 Ondřej Bílka <neleai@seznam.cz>
13087
57f41c40
AS
13088 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13089 __builtin_expect.
a1ffb40e
OB
13090 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13091 * catgets/open_catalog.c (__open_catalog): Likewise.
13092 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13093 * debug/confstr_chk.c: Likewise.
13094 * debug/fread_chk.c (__fread_chk): Likewise.
13095 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13096 * debug/getgroups_chk.c: Likewise.
13097 * debug/mbsnrtowcs_chk.c: Likewise.
13098 * debug/mbsrtowcs_chk.c: Likewise.
13099 * debug/mbstowcs_chk.c: Likewise.
13100 * debug/memcpy_chk.c: Likewise.
13101 * debug/memmove_chk.c: Likewise.
13102 * debug/mempcpy_chk.c: Likewise.
13103 * debug/memset_chk.c: Likewise.
13104 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13105 * debug/strcat_chk.c (__strcat_chk): Likewise.
13106 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13107 * debug/strncat_chk.c (__strncat_chk): Likewise.
13108 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13109 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13110 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13111 * debug/wcpncpy_chk.c: Likewise.
13112 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13113 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13114 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13115 * debug/wcsncpy_chk.c: Likewise.
13116 * debug/wcsnrtombs_chk.c: Likewise.
13117 * debug/wcsrtombs_chk.c: Likewise.
13118 * debug/wcstombs_chk.c: Likewise.
13119 * debug/wmemcpy_chk.c: Likewise.
13120 * debug/wmemmove_chk.c: Likewise.
13121 * debug/wmempcpy_chk.c: Likewise.
13122 * debug/wmemset_chk.c: Likewise.
13123 * dirent/scandirat.c (SCANDIRAT): Likewise.
13124 * dlfcn/dladdr1.c (dladdr1): Likewise.
13125 * dlfcn/dladdr.c (dladdr): Likewise.
13126 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13127 * dlfcn/dlerror.c (__dlerror): Likewise.
13128 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13129 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13130 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13131 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13132 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13133 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13134 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13135 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13136 Likewise.
13137 * elf/dl-conflict.c: Likewise.
13138 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13139 * elf/dl-dst.h: Likewise.
13140 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13141 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13142 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13143 * elf/dl-init.c (call_init, _dl_init): Likewise.
13144 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13145 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13146 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13147 Likewise.
a1ffb40e
OB
13148 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13149 Likewise.
13150 * elf/dl-minimal.c (__libc_memalign): Likewise.
13151 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13152 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13153 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13154 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13155 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13156 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13157 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13158 * elf/dl-writev.h (_dl_writev): Likewise.
13159 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13160 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13161 (dl_main): Likewise.
a1ffb40e
OB
13162 * elf/setup-vdso.h (setup_vdso): Likewise.
13163 * grp/compat-initgroups.c (compat_call): Likewise.
13164 * grp/fgetgrent.c (fgetgrent): Likewise.
13165 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13166 * grp/putgrent.c (putgrent): Likewise.
13167 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13168 Likewise.
13169 * hurd/hurdinit.c: Likewise.
13170 * iconvdata/8bit-gap.c (struct): Likewise.
13171 * iconvdata/ansi_x3.110.c : Likewise.
13172 * iconvdata/big5.c : Likewise.
13173 * iconvdata/big5hkscs.c : Likewise.
13174 * iconvdata/cp1255.c: Likewise.
13175 * iconvdata/cp1258.c : Likewise.
13176 * iconvdata/cp932.c : Likewise.
13177 * iconvdata/euc-cn.c: Likewise.
13178 * iconvdata/euc-jisx0213.c : Likewise.
13179 * iconvdata/euc-jp.c: Likewise.
13180 * iconvdata/euc-jp-ms.c : Likewise.
13181 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13182 * iconvdata/gb18030.c : Likewise.
13183 * iconvdata/gbbig5.c (const): Likewise.
13184 * iconvdata/gbgbk.c: Likewise.
13185 * iconvdata/gbk.c : Likewise.
13186 * iconvdata/ibm1364.c : Likewise.
13187 * iconvdata/ibm930.c : Likewise.
13188 * iconvdata/ibm932.c: Likewise.
13189 * iconvdata/ibm933.c : Likewise.
13190 * iconvdata/ibm935.c : Likewise.
13191 * iconvdata/ibm937.c : Likewise.
13192 * iconvdata/ibm939.c : Likewise.
13193 * iconvdata/ibm943.c: Likewise.
13194 * iconvdata/iso_11548-1.c: Likewise.
13195 * iconvdata/iso-2022-cn.c : Likewise.
13196 * iconvdata/iso-2022-cn-ext.c : Likewise.
13197 * iconvdata/iso-2022-jp-3.c: Likewise.
13198 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13199 * iconvdata/iso-2022-kr.c : Likewise.
13200 * iconvdata/iso646.c (gconv_end): Likewise.
13201 * iconvdata/iso_6937-2.c : Likewise.
13202 * iconvdata/iso_6937.c : Likewise.
13203 * iconvdata/iso8859-1.c: Likewise.
13204 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13205 * iconvdata/shift_jisx0213.c : Likewise.
13206 * iconvdata/sjis.c : Likewise.
13207 * iconvdata/t.61.c : Likewise.
13208 * iconvdata/tcvn5712-1.c : Likewise.
13209 * iconvdata/tscii.c: Likewise.
13210 * iconvdata/uhc.c : Likewise.
13211 * iconvdata/unicode.c (gconv_end): Likewise.
13212 * iconvdata/utf-16.c (gconv_end): Likewise.
13213 * iconvdata/utf-32.c (gconv_end): Likewise.
13214 * iconvdata/utf-7.c (base64): Likewise.
13215 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13216 * iconv/gconv_close.c (__gconv_close): Likewise.
13217 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13218 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13219 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13220 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13221 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13222 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13223 * iconv/iconv.c (iconv): Likewise.
13224 * iconv/iconv_close.c: Likewise.
13225 * iconv/loop.c (SINGLE): Likewise.
13226 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13227 * include/atomic.h: Likewise.
13228 * inet/inet6_option.c (option_alloc): Likewise.
13229 * intl/bindtextdom.c (set_binding_values): Likewise.
13230 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13231 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13232 * intl/localealias.c (read_alias_file): Likewise.
13233 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13234 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13235 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13236 * libio/fmemopen.c (fmemopen): Likewise.
13237 * libio/iofgets.c (_IO_fgets): Likewise.
13238 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13239 * libio/iofgetws.c (fgetws): Likewise.
13240 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13241 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13242 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13243 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13244 * locale/findlocale.c (_nl_find_locale): Likewise.
13245 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13246 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13247 Likewise.
13248 * locale/setlocale.c (setlocale): Likewise.
13249 * login/programs/pt_chown.c (main): Likewise.
13250 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13251 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13252 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13253 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13254 * math/e_exp2l.c: Likewise.
13255 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13256 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13257 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13258 * math/s_catan.c (__catan): Likewise.
13259 * math/s_catanf.c (__catanf): Likewise.
13260 * math/s_catanh.c (__catanh): Likewise.
13261 * math/s_catanhf.c (__catanhf): Likewise.
13262 * math/s_catanhl.c (__catanhl): Likewise.
13263 * math/s_catanl.c (__catanl): Likewise.
13264 * math/s_ccosh.c (__ccosh): Likewise.
13265 * math/s_ccoshf.c (__ccoshf): Likewise.
13266 * math/s_ccoshl.c (__ccoshl): Likewise.
13267 * math/s_cexp.c (__cexp): Likewise.
13268 * math/s_cexpf.c (__cexpf): Likewise.
13269 * math/s_cexpl.c (__cexpl): Likewise.
13270 * math/s_clog10.c (__clog10): Likewise.
13271 * math/s_clog10f.c (__clog10f): Likewise.
13272 * math/s_clog10l.c (__clog10l): Likewise.
13273 * math/s_clog.c (__clog): Likewise.
13274 * math/s_clogf.c (__clogf): Likewise.
13275 * math/s_clogl.c (__clogl): Likewise.
13276 * math/s_csin.c (__csin): Likewise.
13277 * math/s_csinf.c (__csinf): Likewise.
13278 * math/s_csinh.c (__csinh): Likewise.
13279 * math/s_csinhf.c (__csinhf): Likewise.
13280 * math/s_csinhl.c (__csinhl): Likewise.
13281 * math/s_csinl.c (__csinl): Likewise.
13282 * math/s_csqrt.c (__csqrt): Likewise.
13283 * math/s_csqrtf.c (__csqrtf): Likewise.
13284 * math/s_csqrtl.c (__csqrtl): Likewise.
13285 * math/s_ctan.c (__ctan): Likewise.
13286 * math/s_ctanf.c (__ctanf): Likewise.
13287 * math/s_ctanh.c (__ctanh): Likewise.
13288 * math/s_ctanhf.c (__ctanhf): Likewise.
13289 * math/s_ctanhl.c (__ctanhl): Likewise.
13290 * math/s_ctanl.c (__ctanl): Likewise.
13291 * math/w_pow.c: Likewise.
13292 * math/w_powf.c: Likewise.
13293 * math/w_powl.c: Likewise.
13294 * math/w_scalb.c (sysv_scalb): Likewise.
13295 * math/w_scalbf.c (sysv_scalbf): Likewise.
13296 * math/w_scalbl.c (sysv_scalbl): Likewise.
13297 * misc/error.c (error_tail): Likewise.
13298 * misc/pselect.c (__pselect): Likewise.
13299 * nis/nis_callback.c (__nis_create_callback): Likewise.
13300 * nis/nis_call.c (__nisfind_server): Likewise.
13301 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13302 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13303 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13304 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13305 * nis/nis_lookup.c (nis_lookup): Likewise.
13306 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13307 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13308 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13309 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13310 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13311 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13312 * nis/nss_compat/compat-initgroups.c (add_group)
13313 (internal_getgrent_r): Likewise.
13314 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13315 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13316 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13317 (internal_getspnam_r): Likewise.
13318 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13319 (_nss_nis_getaliasbyname_r): Likewise.
13320 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13321 (_nss_nis_getntohost_r): Likewise.
13322 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13323 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13324 (_nss_nis_getgrgid_r): Likewise.
13325 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13326 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13327 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13328 (_nss_nis_gethostbyname4_r): Likewise.
13329 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13330 (initgroups_netid): Likewise.
a1ffb40e 13331 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13332 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13333 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13334 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13335 (_nss_nis_getprotobynumber_r): Likewise.
13336 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13337 (_nss_nis_getsecretkey): Likewise.
13338 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13339 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13340 (_nss_nis_getpwuid_r): Likewise.
13341 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13342 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13343 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13344 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13345 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13346 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13347 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13348 Likewise.
57f41c40
AS
13349 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13350 (_nss_nisplus_getntohost_r): Likewise.
13351 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13352 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13353 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13354 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13355 Likewise.
57f41c40
AS
13356 * nis/nss_nisplus/nisplus-initgroups.c
13357 (_nss_nisplus_initgroups_dyn): Likewise.
13358 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13359 (_nss_nisplus_getnetbyaddr_r): Likewise.
13360 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13361 (_nss_nisplus_getprotobynumber_r): Likewise.
13362 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13363 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13364 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13365 Likewise.
57f41c40
AS
13366 * nis/nss_nisplus/nisplus-service.c
13367 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13368 (_nss_nisplus_getservbyport_r): Likewise.
13369 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13370 (_nss_nisplus_getspnam_r): Likewise.
13371 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13372 Likewise.
a1ffb40e
OB
13373 * nscd/aicache.c (addhstaiX): Likewise.
13374 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13375 * nscd/connections.c (register_traced_file, send_ro_fd)
13376 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13377 (main_loop_epoll): Likewise.
a1ffb40e
OB
13378 * nscd/grpcache.c (addgrbyX): Likewise.
13379 * nscd/hstcache.c (addhstbyX): Likewise.
13380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13381 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13382 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13383 (addinnetgrX): Likewise.
13384 * nscd/nscd-client.h (__nscd_acquire_maplock)
13385 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13386 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13387 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13388 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13389 Likewise.
13390 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13392 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13393 (__nscd_get_map_ref): Likewise.
a1ffb40e 13394 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13395 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13396 Likewise.
a1ffb40e
OB
13397 * nscd/pwdcache.c (addpwbyX): Likewise.
13398 * nscd/selinux.c (preserve_capabilities): Likewise.
13399 * nscd/servicescache.c (addservbyX): Likewise.
13400 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13401 * posix/fnmatch.c (fnmatch): Likewise.
13402 * posix/getopt.c (_getopt_internal_r): Likewise.
13403 * posix/glob.c (glob, glob_in_dir): Likewise.
13404 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13405 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13406 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13407 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13408 * resolv/res_init.c: Likewise.
13409 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13410 * resolv/res_query.c (__libc_res_nquery): Likewise.
13411 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13412 Likewise.
13413 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13414 * stdio-common/perror.c (perror): Likewise.
13415 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13416 * stdio-common/tmpnam.c (tmpnam): Likewise.
13417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13418 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13419 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13420 Likewise.
a1ffb40e
OB
13421 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13422 * stdlib/putenv.c (putenv): Likewise.
13423 * stdlib/setenv.c (__add_to_environ): Likewise.
13424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13425 * stdlib/strtol_l.c (INTERNAL): Likewise.
13426 * string/memmem.c (memmem): Likewise.
13427 * string/strerror.c (strerror): Likewise.
13428 * string/strnlen.c (__strnlen): Likewise.
13429 * string/test-memmem.c (simple_memmem): Likewise.
13430 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13431 * sunrpc/pm_getport.c (__get_socket): Likewise.
13432 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13433 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13434 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13435 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13436 Likewise.
13437 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13438 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13439 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13440 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13441 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13442 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13443 Likewise.
13444 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13445 Likewise.
a1ffb40e
OB
13446 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13447 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13448 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13449 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13450 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13454 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13456 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13458 Likewise.
13459 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13460 Likewise.
13461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13462 Likewise.
13463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13467 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13468 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13469 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13475 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13476 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13478 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13479 Likewise.
a1ffb40e
OB
13480 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13481 Likewise.
13482 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13483 Likewise.
13484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13485 Likewise.
13486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13488 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13489 Likewise.
13490 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13491 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13492 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13493 * sysdeps/posix/sleep.c: Likewise.
13494 * sysdeps/posix/tempname.c: Likewise.
13495 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13496 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13497 Likewise.
57f41c40
AS
13498 * sysdeps/powerpc/powerpc32/dl-machine.h
13499 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13500 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13502 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13503 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13504 Likewise.
13505 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13507 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13509 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13510 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13511 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13512 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13513 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13514 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13516 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13517 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13519 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13520 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13521 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13522 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13523 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13524 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13525 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13526 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13528 Likewise.
13529 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13530 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13531 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13532 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13533 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13534 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13535 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13536 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13537 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13538 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13539 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13540 Likewise.
13541 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13542 (__posix_fallocate64_l64): Likewise.
13543 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13544 (posix_fallocate): Likewise.
57f41c40
AS
13545 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13546 Likewise.
a1ffb40e 13547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13548 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13549 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13550 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13552 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13553 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13554 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13555 (__posix_fallocate64_l64): Likewise.
13556 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13557 Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13560 (__get_clockfreq): Likewise.
a1ffb40e
OB
13561 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13562 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13563 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13564 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13565 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13566 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13567 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13568 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13569 Likewise.
13570 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13571 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13572 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13574 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13575 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13576 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13577 Likewise.
13578 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13579 (posix_fallocate): Likewise.
13580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13581 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13582 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13583 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13584 (elf_machine_rela, elf_machine_rela_relative)
13585 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13586 * time/asctime.c (asctime_internal): Likewise.
13587 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13588 * time/tzset.c (__tzset_parse_tz): Likewise.
13589 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13590 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13591 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13592 * wcsmbs/wcsmbsload.h: Likewise.
13593
f3d338c9
OB
13594 [BZ #15894]
13595 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13596
57f41c40
AS
13597 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13598 (arena_get2): Remove THREAD_STATS conditionals.
13599 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13600 (__malloc_stats, int): Likewise.
bdfe308a 13601
d674667c
MF
136022014-02-08 Mike Frysinger <vapier@gentoo.org>
13603
13604 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13605 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13606
6349768c
MF
13607 * manual/setjmp.texi: Fix typos/grammar errors.
13608
0b7c7473
MF
13609 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13610 Only return early when n is <= 0. Delete unused return statement.
13611
ac8cc9e3
MF
13612 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13613 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13614 * debug/tst-longjmp_chk3.c: New file.
13615
c5bb8e23
MF
13616 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13617 (test_main): Replace code with set_fortify_handler call.
13618 * debug/test-strcpy_chk.c: Likewise.
13619 * debug/tst-chk1.c: Likewise.
13620 * debug/tst-longjmp_chk.c: Likewise.
13621 * test-skeleton.c: Include fcntl.h & paths.h
13622 (set_fortify_handler): Define.
13623
10444e42
MF
13624 * debug/tst-longjmp_chk.c: Add header comment and include
13625 ../test-skeleton.c.
13626 (do_test): Mark static.
13627 (TEST_FUNCTION): Define.
13628
1e805e8d
MF
13629 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13630 (IP_PMTUDISC_INTERFACE): Likewise.
13631 (IP_MULTICAST_IF): Likewise.
13632 (IP_MULTICAST_TTL): Likewise.
13633 (IP_MULTICAST_LOOP): Likewise.
13634 (IP_ADD_MEMBERSHIP): Likewise.
13635 (IP_DROP_MEMBERSHIP): Likewise.
13636 (IP_UNBLOCK_SOURCE): Likewise.
13637 (IP_BLOCK_SOURCE): Likewise.
13638 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13639 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13640 (IP_MSFILTER): Likewise.
13641 (MCAST_JOIN_GROUP): Likewise.
13642 (MCAST_BLOCK_SOURCE): Likewise.
13643 (MCAST_UNBLOCK_SOURCE): Likewise.
13644 (MCAST_LEAVE_GROUP): Likewise.
13645 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13646 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13647 (MCAST_MSFILTER): Likewise.
13648 (IP_MULTICAST_ALL): Likewise.
13649 (IP_UNICAST_IF): Likewise.
13650
73f79bb7
MF
13651 * timezone/Makefile: Delete $(have-ksh) check.
13652 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13653 * timezone/tzselect.ksh: Add +x mode bits.
13654
8da79b60
MF
13655 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13656 (ANON_INODE_FS_MAGIC): Likewise.
13657 (BDEVFS_MAGIC): Likewise.
13658 (BINFMTFS_MAGIC): Likewise.
13659 (BTRFS_TEST_MAGIC): Likewise.
13660 (CRAMFS_MAGIC_WEND): Likewise.
13661 (DEBUGFS_MAGIC): Likewise.
13662 (ECRYPTFS_SUPER_MAGIC): Likewise.
13663 (EXT3_SUPER_MAGIC): Likewise.
13664 (EXT4_SUPER_MAGIC): Likewise.
13665 (FUTEXFS_SUPER_MAGIC): Likewise.
13666 (HOSTFS_SUPER_MAGIC): Likewise.
13667 (HUGETLBFS_MAGIC): Likewise.
13668 (MINIX3_SUPER_MAGIC): Likewise.
13669 (MTD_INODE_FS_MAGIC): Likewise.
13670 (NILFS_SUPER_MAGIC): Likewise.
13671 (OPENPROM_SUPER_MAGIC): Likewise.
13672 (PIPEFS_MAGIC): Likewise.
13673 (PSTOREFS_MAGIC): Likewise.
13674 (QNX6_SUPER_MAGIC): Likewise.
13675 (RAMFS_MAGIC): Likewise.
13676 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13677 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13678 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13679 (SECURITYFS_MAGIC): Likewise.
13680 (SELINUX_MAGIC): Likewise.
13681 (SMACK_MAGIC): Likewise.
13682 (SOCKFS_MAGIC): Likewise.
13683 (SQUASHFS_MAGIC): Likewise.
13684 (STACK_END_MAGIC): Likewise.
13685 (TMPFS_MAGIC): Likewise.
13686 (USBDEVICE_SUPER_MAGIC): Likewise.
13687 (V9FS_MAGIC): Likewise.
13688 (XENFS_SUPER_MAGIC): Likewise.
13689 (CRAMFS_MAGIC): Fix typo in comment.
13690 (EXT2_SUPER_MAGIC): Update comment.
13691 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13692
464263cc
JM
136932014-02-08 Joseph Myers <joseph@codesourcery.com>
13694
c6bfe5c4
JM
13695 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13696 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13697 * sysdeps/unix/sysv/linux/arm: Move directory from
13698 ports/sysdeps/unix/sysv/linux/arm.
13699 * README: Update listing for arm-*-linux-gnueabi.
13700
464263cc
JM
13701 * README: Remove mention of am33.
13702
32749f6c
RM
137032014-02-07 Roland McGrath <roland@hack.frob.com>
13704
13705 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13706 than the comma operator, to avoid "rhs of comma has no effect"
13707 compiler warnings.
13708 (__sigfillset, __sigandset, __sigorset): Likewise.
13709 * include/signal.h (__sigemptyset): Likewise.
13710 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13711
d5b396c1
AM
137122014-02-07 Allan McRae <allan@archlinux.org>
13713
13714 * version.h (RELEASE): Set to "development".
13715 (VERSION): Set to "2.19.90"
13716 * NEWS: Add 2.20 section.
13717
3bfff2ed
CD
137182014-02-06 Carlos O'Donell <carlos@redhat.com>
13719
13720 [BZ #16529]
13721 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13722
ee7cc385
SP
137232014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13724
13725 * manual/contrib.texi: Update entry for Carlos O'Donell,
13726 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13727
f877c4f2
CD
137282014-02-05 Carlos O'Donell <carlos@rehdat.com>
13729
27e839f6
CD
13730 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13731
f877c4f2
CD
13732 * sysdeps/unix/sysv/linux/kernel-features.h
13733 [__LINUX_KERNEL_VERSION >= 0x020621]
13734 (__ASSUME_PROC_PID_TASK_COMM): Define.
13735
68159946
SP
137362014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13737
ba17cdbd
SP
13738 [BZ #16398]
13739 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13740 conversion when destination buffer does not have enough space.
13741 * libio/tst-ftell-partial-wide.c: New test case.
13742 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13743
68159946
SP
13744 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13745 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13746 Leonard and Allan McRae.
13747
2b528732
DM
137482014-02-04 David S. Miller <davem@davemloft.net>
13749
13750 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13751 32-bit.
13752
0ff82463
AZ
137532014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13754
57f41c40
AS
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13756 New file
c01603f7
AZ
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13758 New file
57f41c40
AS
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13760 New file.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13762 New file.
c01603f7
AZ
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13764 New file.
57f41c40
AS
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13766 New file.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13768 New file.
c01603f7
AZ
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13770 New file.
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13772 New file.
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13774 New file.
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13776 New file.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13778 New file.
13779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13780 New file.
13781
137822014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13783
0ff82463
AZ
13784 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13785 * shlib-versions: Likewise.
13786
1695c773
AZ
137872014-02-04 Roland McGrath <roland@hack.frob.com>
13788 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13789
13790 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13791 (abilist-pattern): New variable, set to %-le.abilist.
13792
13793 * Makerules (abilist-pattern): New variable.
13794 (vpath): Use $(abilist-pattern) in place of %.abilist.
13795 (check-abi-% pattern rule): Likewise.
13796 (check-abi, update-abi): Likewise.
13797
6c0ce4b4
EW
137982014-02-04 Eric Wong <normalperson@yhbt.net>
13799
13800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13801
481e3524
CD
138022014-02-03 Carlos O'Donell <carlos@redhat.com>
13803
13804 * manual/startup.texi: Add next, previous, and top entries for
13805 the `Program Arguments' and `Environment Variables' nodes.
13806
375592d3
AO
138072014-02-03 Alexandre Oliva <aoliva@redhat.com>
13808
13809 * manual/macros.texi: Add comments before MTASC-safety macros.
13810
f54838ba
AO
13811 * manual/users.texi: Document MTASC-safety properties.
13812
57f41c40
AS
13813 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13814 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13815 @deftypefun, and add @safety note.
13816 * manual/signal.texi: Move comments that analyze the above
13817 functions to their home place.
13818
fd3daba4
AM
138192014-02-03 Allan McRae <allan@archlinux.org>
13820
13821 * po/sl.po: Update Slovenian translation from translation project.
13822
597636d7
AO
138232014-02-02 Alexandre Oliva <aoliva@redhat.com>
13824
13825 * manual/time.texi (timegm): Add missing blank after @c.
13826 Reported by Joseph Myers <joseph@codesourcery.com>.
13827
ee196e3c
AO
138282014-02-01 Alexandre Oliva <aoliva@redhat.com>
13829
13830 * manual/check-safety.sh: New.
13831 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13832
f8d529d5
AO
13833 * manual/terminal.texi: Document MTASC-safety properties.
13834
de55fdf4
AO
13835 * manual/filesys.texi: Document MTASC-safety properties.
13836
c3299c08
AO
13837 * manual/errno.texi: Document MTASC-safety properties.
13838
06e90b14
AO
13839 * manual/intro.texi: Document safety identifiers and
13840 conditionals.
13841
1acd4371
AO
13842 * manual/string.texi (wcstok): Fix prototype.
13843 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13844
23e5b8cb
AO
13845 * manual/time.texi: Document MTASC-safety properties.
13846
11087373
AO
13847 * manual/string.texi: Document MTASC-safety properties.
13848
5da2c93d
AO
13849 * manual/threads.texi: Document MTASC-safety properties.
13850
171e9210
AO
13851 * manual/stdio.texi: Document MTASC-safety properties.
13852
d9e02532
AO
13853 * manual/syslog.texi: Document MTASC-safety properties.
13854
6af8bab7
AO
13855 * manual/sysinfo.texi: Document MTASC-safety properties.
13856
663b02d7
AO
13857 * manual/startup.texi: Document MTASC-safety properties.
13858
973f180b
AO
13859 * manual/socket.texi: Document MTASC-safety properties.
13860
8f3c25c8
AO
13861 * manual/signal.texi: Document MTASC-safety properties.
13862
542210fb
AO
138632014-01-31 Alexandre Oliva <aoliva@redhat.com>
13864
13865 * manual/setjmp.texi: Document MTASC-safety properties.
13866
433c45a2
AO
13867 * manual/search.texi: Document MTASC-safety properties.
13868
c8ce789c
AO
13869 * manual/resource.texi: Document MTASC-safety properties.
13870
19f5d29c
AO
13871 * manual/process.texi: Document MTASC-safety properties.
13872
e2dfb7f4
AO
13873 * manual/platform.texi: Document MTASC-safety properties.
13874
8c1413f5
AO
13875 * manual/pipe.texi: Document MTASC-safety properties.
13876
03483ada
AO
13877 * manual/pattern.texi: Document MTASC-safety properties.
13878
29e7e2df
AO
13879 * manual/message.texi: Document MTASC-safety properties.
13880
9f529d7c
AO
13881 [BZ #12751]
13882 * manual/memory.texi: Document MTASC-safety properties.
13883
27aaa791
AO
13884 * manual/math.texi: Document MTASC-safety properties.
13885
f2d58726
AO
13886 * manual/locale.texi: Document MTASC-safety properties.
13887
2cc3615c
AO
13888 * manual/llio.texi: Document MTASC-safety properties.
13889
d9f0ec97
AO
13890 * manual/libdl.texi: New.
13891
e7c4409a
AO
13892 * manual/lang.texi: Document MTASC-safety properties.
13893
27bdc63c
AO
13894 * manual/job.texi: Document MTASC-safety properties.
13895
a7b90ea9
AO
13896 * manual/getopt.texi: Document MTASC-safety properties.
13897
c49130e3
AO
13898 * manual/ctype.texi: Document MTASC-safety properties.
13899
0d23a5c1
MR
139002014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13901
13902 [BZ #16046]
13903 * csu/libc-tls.c (static_map): Remove variable.
13904 (__libc_setup_tls): Use main executable's link map for TLS data.
13905 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13906 casing for LM_ID_BASE and GL(dl_nns).
13907 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13908 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13909 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13910 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13911 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13912 member.
13913 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13914 l_phnum members.
13915
0037bb60
AO
139162014-01-30 Alexandre Oliva <aoliva@redhat.com>
13917
13918 * manual/debug.texi: Document MTASC-safety properties.
13919
409e00bd
L
139202014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13921
13922 [BZ #16510]
13923 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13924 of __x86_64__ when disabling x87 inline functions.
13925
86e60666
AO
139262014-01-29 Alexandre Oliva <aoliva@redhat.com>
13927
13928 * manual/charset.texi: Document MTASC-safety properties.
13929
76167637
AO
13930 * manual/crypt.texi: Document MTASC-safety properties.
13931
e567f2a0
AO
13932 * manual/conf.texi: Document MTASC-safety properties.
13933
b719dafd
AO
13934 * manual/arith.texi: Document MTASC-safety properties.
13935
4a16c662
AO
13936 * manual/argp.texi: Document MTASC-safety properties.
13937
0a57b83e
AO
13938 * manual/macros.texi: Introduce macros to document multi
13939 thread, asynchronous signal and asynchronous cancellation
13940 safety properties.
13941 * manual/intro.texi: Introduce the properties themselves.
13942
feab2397
KK
139432014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13944
13945 * sysdeps/sh/sh4/Makefile: New file.
13946
1c0d11bc
AS
139472014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13948
13949 * math/gen-libm-test.pl ($srcdir): New variable.
13950 ($auto_input): Use it.
13951
af37a8a3
SP
139522014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13953
d7b00f98
SP
13954 [BZ #16506]
13955 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13956 access beyond array bounds when parsing netgroups file.
13957
af37a8a3
SP
13958 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13959 the old buffer before realloc.
13960
0c00f062
AM
139612014-01-27 Allan McRae <allan@archlinux.org>
13962
13963 * po/fr.po: Update French translation from translation project.
13964
7d69a1b0
KK
139652014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13966
13967 * sysdeps/sh/libm-test-ulps: Regenerate.
13968
6e697ff7
DM
139692014-01-24 David S. Miller <davem@davemloft.net>
13970
13971 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13972
9cadb35c
KK
139732014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13974
13975 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13976 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13977
5d41dadf
SP
139782013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13979
13980 [BZ #16474]
13981 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13982 string pointers after reallocation.
13983
0bad441c
KK
139842014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13985
13986 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13987 __SH4A__ instead of __SH_FPU_ANY__.
13988
7007c661
KK
139892014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13990
13991 * sysdeps/sh/fpu_control.h: New file.
13992 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13993 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13994 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13995 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13996 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13997 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13998 * sysdeps/sh/sys/ucontext.h: Remove.
13999 * sysdeps/sh/sys: Remove directory.
14000
0f0c35e4
AK
140012014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14002
14003 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14004 s390/sys/ucontext.h.
14005 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14006 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14007
4959e284
L
140082014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14009
14010 [BZ #15605]
14011 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14012
d98720e0
AZ
140132014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14014
14015 [BZ#16431]
14016 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14017 Adjust the vDSO correctly for internal calls.
14018 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14019
91cbd0bc
AM
140202014-01-20 Allan McRae <allan@archlinux.org>
14021
14022 * po/ca.po: Update Catalan translation from translation project.
14023
7a02cfad
MF
140242014-01-16 Mike Frysinger <vapier@gentoo.org>
14025
14026 * sysdeps/s390/sotruss-lib.c: New file.
14027
736c304a
AZ
140282014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14029
14030 [BZ#16430]
6e077ee5 14031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14032 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14033 local calls issues by not having a PLT stub required for IFUNC calls.
14034 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14035
94d0cea0
JM
140362014-01-16 Joseph Myers <joseph@codesourcery.com>
14037
14038 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14039 * math/test-fpucw-static.c: Likewise.
14040
980cb518
SP
140412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14042
14043 [BZ #16453]
14044 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14045
2393fc01
AZ
140462014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14047
14048 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14049 implementation for powerpc.
14050
d359bcc2
OB
140512014-01-15 Ondřej Bílka <neleai@seznam.cz>
14052
14053 [BZ #14782]
14054 * sysdeps/posix/system.c (__libc_system): Do not enable
14055 asynchronous cancellation.
14056
7beb48cb
AK
140572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14058
14059 [BZ #16427]
14060 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14061 handling only for numbers special also in the IEEE case.
14062
c20d5bf5
AK
140632014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14064
14065 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14066
e83bd4ee
AM
140672014-01-11 Allan McRae <allan@archlinux.org>
14068
76d0ea69
AM
14069 * po/bg.po: Update Bulgarian translation from translation project.
14070
e83bd4ee
AM
14071 * po/de.po: Update German translation from translation project.
14072
bc2ba20a
RM
140732014-01-10 Roland McGrath <roland@hack.frob.com>
14074
14075 * sysdeps/generic/gcc-compat.h: New file.
14076
649ecea2
SP
140772014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14078
14079 * benchtests/asin-inputs: Correct slow inputs.
14080 * benchtests/acos-inputs: Likewise.
14081
1b19c006
AM
140822014-01-10 Allan McRae <allan@archlinux.org>
14083
a46dab08
AM
14084 * po:sv.po: Update Swedish translation from translation project.
14085
421df74a
AM
14086 * po/vi.po: Update Vietnamese translation from translation project.
14087
d61c51a7
AM
14088 * po/eo.po: Update Esperanto translation from translation project.
14089
0339a319
AM
14090 * po/cs.po: Update Czech translation from translation project.
14091
94ad3e99
AM
14092 * po/nl.po: Update Dutch translation from translation project.
14093
e349ca71
AM
14094 * po/pl.po: Update Polish translation from translation project.
14095
ddf930c1
AM
14096 * po/ru.po: Update Russian translation from translation project.
14097
1b19c006
AM
14098 * po/uk.po: Update Ukrainian translation from translation project.
14099
9f236c49
BM
141002014-01-08 Brooks Moses <bmoses@google.com>
14101
14102 * elf/dl-load.c: Fix comment typo.
14103
cd6701cf
CD
141042014-01-08 Carlos O'Donell <carlos@redhat.com>
14105
14106 * po/header.pot: Rename to...
14107 * po/pot.header: ... this.
14108 * po/Makefile: Use pot.header.
14109
66671c84
YK
141102014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14111 Maxim Kuvyrkov <maxim@kugelworks.com>
14112
14113 [BZ #16394]
cd6701cf
CD
14114 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14115 SRC and DEST against LEN.
66671c84 14116
38f34581
AZ
141172014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14118
14119 [BZ #16414]
14120 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14121 implementation.
14122 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14123
141242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14125
14126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14127
4c327f2a
JM
141282014-01-08 Joseph Myers <joseph@codesourcery.com>
14129
14130 [BZ #16408]
14131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14132 for large positive arguments.
14133
b821f414
JM
141342014-01-07 Joseph Myers <joseph@codesourcery.com>
14135
1f0f2067
JM
14136 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14137
a5a326f6
JM
14138 * math/auto-libm-test-in: Mark various tests with
14139 xfail-rounding:ldbl-128ibm.
14140 * math/auto-libm-test-out: Regenerated.
14141
b821f414
JM
14142 [BZ #16407]
14143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14144 Increase overflow threshold.
14145
94c8a4bc
OB
141462014-01-07 Ondřej Bílka <neleai@seznam.cz>
14147
14148 [BZ #14286]
14149 * stdio-common/vfprintf.c: Check for integer overflow.
14150
87ded0c3
AK
141512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14152
14153 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14154 the first argument and return value of __tls_get_addr_internal.
14155
c5eebdd0
AK
141562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14157
14158 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14159 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14160
05d138ef
AK
141612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14162
14163 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14164 * sysdeps/s390/rtld-global-offsets.sym: New file.
14165 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14166 GLIBC_2.19 symbol.
14167 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14168 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14169 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14170 ... this.
14171 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14172 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14173 ... this.
14174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14175 Regenerate.
14176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14177 Regenerate.
14178 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14179 halfs of GPRs for high_gprs contexts.
14180 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14181 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14182 field.
14183 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14184 uc_flags field.
14185 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14186 64 bit versions:
14187 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14188 for high GPRs (uc_high_gprs) and for future extensions
14189 (__reserved).
14190 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14191 for future extensions (__reserved).
14192 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14193 64 bit versions:
14194 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14195 SC_HIGHGPRS offset definition.
14196 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14197 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14198
93a45ff1
AK
14199 * Versions.def: Add GLIBC_2.19 for libpthread.
14200 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14201 siglongjmp for libpthread with GLIBC_2.19 symver.
14202 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14203 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14204 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14205 * sysdeps/s390/__longjmp.c: New file.
14206 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14207 * sysdeps/s390/longjmp.c: New file.
14208 * sysdeps/s390/setjmp.S: New file.
14209 * sysdeps/s390/sigjmp.S: New file.
14210 * sysdeps/s390/v1-longjmp.c: New file.
14211 * sysdeps/s390/v1-setjmp.h: New file.
14212 * sysdeps/s390/v1-sigjmp.c: New file.
14213 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14214 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14215 GLIBC_2.19 version.
14216 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14217 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14218 versioned symbols for ____longjmp_chk.
14219 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14220 Likewise.
14221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14222 Regenerate.
14223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14224 Regenerate.
14225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14226 Regenerate.
14227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14228 Regenerate.
14229 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14230 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14231 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14232 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14233 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14234 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14235 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14236 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14237 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14238 * sysdeps/s390/rtld-__longjmp.c: New file.
14239 * sysdeps/s390/rtld-setjmp.S: New file.
14240
eb3fc44b
JM
142412014-01-06 Joseph Myers <joseph@codesourcery.com>
14242
14243 [BZ #16400]
14244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14245 Return -__logl (x) for small positive arguments without evaluating
14246 a polynomial.
14247
9341dde4
MF
142482014-01-06 Mike Frysinger <vapier@gentoo.org>
14249
14250 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14251 Rename to ...
14252 (__ptrace_peeksiginfo_args): ... this.
14253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14256
4cff0293
AM
142572014-01-06 Allan McRae <allan@archlinux.org>
14258
14259 * inet/netinet/in.h: Fix typo in comment.
14260
75595dcf
AJ
142612014-01-05 Andreas Jaeger <aj@suse.de>
14262
14263 * sysdeps/i386/fpu/libm-test-ulps: Update.
14264
79c1e109
AM
142652014-01-05 Allan McRae <allan@archlinux.org>
14266
dd804818
AM
14267 * po/libc.pot: Regenerated.
14268
79c1e109
AM
14269 * malloc/memusagestat.c: Fix gettext call formatting.
14270
0c813d1f
SK
142712014-01-04 Sami Kerola <kerolasa@iki.fi>
14272
14273 * nscd/nscd.c: Improve usage() output.
14274
20f4a8d9
MF
142752014-01-04 Mike Frysinger <vapier@gentoo.org>
14276
14277 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14278 * sysdeps/unix/sysv/linux/configure: Regenerated.
14279 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14280 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14281
22562bb2
JM
142822014-01-03 Joseph Myers <joseph@codesourcery.com>
14283
14284 [BZ #16390]
14285 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14286 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14287
d7ad2d9b
AZ
142882014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14289
14290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14291 extra tokens at end of #undef directive.
14292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14293 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14295
7dd009d8
JM
142962014-01-03 Joseph Myers <joseph@codesourcery.com>
14297
24db925a
JM
14298 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14299
7dd009d8
JM
14300 * math/auto-libm-test-in: Mark various tests with
14301 xfail-rounding:ldbl-128ibm.
14302 * math/auto-libm-test-out: Regenerated.
14303
396e3ecf
JM
143042014-01-02 Joseph Myers <joseph@codesourcery.com>
14305
819e5d50
JM
14306 [BZ #16386]
14307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14308 numbers with subnormal high part when calculating exponent.
14309
90b6a1e5
JM
14310 [BZ #16385]
14311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14312 fabs.
14313
396e3ecf
JM
14314 [BZ #16384]
14315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14316 M_LN2l.
14317 (__ieee754_acoshl): Use __log1pl not __log1p.
14318
6c8dbf00
OB
143192013-01-02 Ondřej Bílka <neleai@seznam.cz>
14320
57f41c40
AS
14321 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14322 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14323 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14324 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14325 (reused_arena, arena_get2): Convert to GNU style.
14326 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14327 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14328 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14329 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14330 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14331 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14332 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14333 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14334 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14335 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14336 * malloc/malloc.h: Likewise.
57f41c40
AS
14337 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14338 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14339 * malloc/mcheck.h: Likewise.
57f41c40
AS
14340 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14341 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14342 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14343 * malloc/morecore.c (__default_morecore): Likewise.
14344 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14345 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14346 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14347 (print_and_abort): Likewise.
6c8dbf00
OB
14348 * malloc/obstack.h: Likewise.
14349 * malloc/set-freeres.c (__libc_freeres): Likewise.
14350 * malloc/tst-mallocstate.c (main): Likewise.
14351 * malloc/tst-mtrace.c (main): Likewise.
14352 * malloc/tst-realloc.c (do_test): Likewise.
14353
d4124212
SP
143542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14355
9a3c6a6f
SP
14356 [BZ #16366]
14357 * nscd/netgroupcache.c (do_notfound): New function.
14358 (addgetnetgrentX): Use it.
14359
d4124212
SP
14360 [BZ # 16365]
14361 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14362 NSS_STATUS_NOTFOUND.
14363
97b9a009
JM
143642014-01-01 Joseph Myers <joseph@codesourcery.com>
14365
14366 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14368
d4697bc9
AM
143692014-01-01 Allan McRae <allan@archlinux.org>
14370
ddb3687f
AM
14371 * scripts/update-copyrights: Update configure input file suffix.
14372
88726d48
AM
14373 * NEWS: Update copyright year.
14374 * catgets/gencat.c: Likewise.
14375 * csu/version.c: Likewise.
14376 * debug/catchsegv.sh: Likewise.
14377 * debug/pcprofiledump.c: Likewise.
14378 * debug/xtrace.sh: Likewise.
14379 * elf/ldconfig.c: Likewise.
14380 * elf/ldd.bash.in: Likewise.
14381 * elf/pldd.c: Likewise.
14382 * elf/sotruss.ksh: Likewise.
14383 * elf/sprof.c: Likewise.
14384 * iconv/iconv_prog.c: Likewise.
14385 * iconv/iconvconfig.c: Likewise.
14386 * locale/programs/locale.c: Likewise.
14387 * locale/programs/localedef.c: Likewise.
14388 * login/programs/pt_chown.c: Likewise.
14389 * malloc/memusage.sh: Likewise.
14390 * malloc/memusagestat.c: Likewise.
14391 * malloc/mtrace.pl: Likewise.
14392 * manual/libc.texinfo: Likewise.
14393 * nscd/nscd.c: Likewise.
14394 * nss/getent.c: Likewise.
14395 * nss/makedb.c: Likewise.
14396 * posix/getconf.c: Likewise.
14397 * scripts/test-installation.pl: Likewise.
14398
d4697bc9
AM
14399 * All files with FSF copyright notices: Update copyright dates
14400 using scripts/update-copyrights.
14401 * intl/plural.c: Regenerated.
14402 * locale/programs/charmap-kw.h: Likewise.
14403 * locale/programs/locfile-kw.h: Likewise.
14404
c8590f9d
MF
144052013-12-31 Mike Frysinger <vapier@gentoo.org>
14406
14407 * sysdeps/unix/sysv/linux/configure: Regenerated.
14408 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14409 the linux/fanotify.h header.
14410 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14411 HAVE_LINUX_FANOTIFY_H is defined.
14412
b19221b9
SP
144132013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14414
dd1d85e5
SP
14415 * benchtests/cos-inputs: New inputs.
14416 * benchtests/sin-inputs: Likewise.
14417
1acbb90f
SP
14418 * benchtests/atan-inputs: New inputs. Fix name of multiple
14419 precision fallback inputs.
14420
4c012ed3
SP
14421 * benchtests/atanh-inputs: New inputs.
14422 * benchtests/tanh-inputs: Likewise.
14423
eff98324
SP
14424 * benchtests/acosh-inputs: New inputs.
14425 * benchtests/asinh-inputs: Likewise.
14426
ce641152
SP
14427 * benchtests/cosh-inputs: New inputs.
14428 * benchtests/sinh-inputs: Likewise.
14429
b19221b9
SP
14430 * benchtests/acos-inputs: Add more inputs.
14431 * benchtests/asin-inputs: Likewise.
14432
030a4976 144332013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14434
030a4976 14435 [BZ #16375]
9dcc8f11
VS
14436 * manual/arith.texi: Fix spelling.
14437 * manual/charset.texi: Likewise.
14438 * manual/errno.texi: Likewise.
14439 * manual/filesys.texi: Likewise.
14440 * manual/lang.texi: Likewise.
14441 * manual/llio.texi: Likewise.
14442 * manual/locale.texi: Likewise.
14443 * manual/message.texi: Likewise.
14444 * manual/resource.texi: Likewise.
14445 * manual/search.texi: Likewise.
14446 * manual/setjmp.texi: Likewise.
14447 * manual/stdio.texi: Likewise.
14448 * manual/string.texi: Likewise.
14449 * manual/sysinfo.texi: Likewise.
14450 * manual/time.texi: Likewise.
14451
11520a57
CD
144522013-12-27 Carlos O'Donell <carlos@redhat.com>
14453
14454 * po/sl.po: New file.
14455
471103ae
MF
144562013-12-27 Mike Frysinger <vapier@gentoo.org>
14457
14458 * .gitignore: Add core/.gdbinit/.gdb_history.
14459
6c9642ed
AM
144602013-12-27 Allan McRae <allan@archlinux.org>
14461
14462 [BZ #16369]
14463 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14464 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14465
3f637079
BM
144662013-12-24 Brooks Moses <bmoses@google.com>
14467
14468 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14469 all compilers that claim C++98 compliance, not just GCC.
14470 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14471 Likewise.
14472
abc26e99
MK
144732013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14474
14475 * NEWS: Restore accidentally deleted bug-fix entries.
14476
362b47fe
MK
144772013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14478 Ondřej Bílka <neleai@seznam.cz>
14479
14480 [BZ #15073]
14481 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14482 have_lock.
362b47fe 14483
b9bcbbcb
OB
144842013-12-23 Ondřej Bílka <neleai@seznam.cz>
14485
14486 [BZ #12986]
14487 * manual/stdio.texi (String Input Conversions): Clarify that character
14488 classes are not supported.
14489
fb55fcd2
AZ
144902013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14491
14492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14493
ef7344f0
JM
144942013-12-22 Joseph Myers <joseph@codesourcery.com>
14495
4f40e4b3
JM
14496 [BZ #16337]
14497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14498 Calculate results for small negative arguments directly rather
14499 than using reflection formula with special underflow handling.
14500
ef7344f0
JM
14501 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14502 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14503 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14504 (fchflags): Likewise.
14505 (revoke): Likewise.
14506 (setlogin): Likewise.
14507 (sigaltstack): Likewise.
14508 (wait4): Likewise.
14509 (sigblock): Remove.
14510 (sigsetmask): Likewise.
14511 (wait3): Likewise.
14512 (waitpid): Likewise.
14513 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14514 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14515 file.
14516 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14517 * sysdeps/unix/bsd/Makefile: ... here.
14518 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14519 * sysdeps/unix/bsd/Versions: ... here.
14520 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14521 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14522 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14523 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14524 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14525 * sysdeps/unix/bsd/sigblock.c: ... here.
14526 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14527 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14528 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14529 * sysdeps/unix/bsd/sigvec.c: ... here.
14530 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14531 * sysdeps/unix/bsd/tcdrain.c: ... here.
14532 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14533 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14534 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14535 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14536 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14537 * sysdeps/unix/bsd/wait.c: ... here.
14538 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14539 * sysdeps/unix/bsd/wait3.c: ... here.
14540 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14541 * sysdeps/unix/bsd/waitpid.c: ... here.
14542
5b0626b9
JM
145432013-12-21 Joseph Myers <joseph@codesourcery.com>
14544
14545 [BZ #16356]
14546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14547 round-to-nearest for [!USE_AS_EXPM1L].
14548 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14549 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14550 more tests of exp and exp10. Expect some exp10 tests to miss
14551 exceptions or fail in directed rounding modes.
14552 * math/auto-libm-test-out: Regenerated.
14553 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14554 (exp10_test_tonearest): New function.
14555 (exp10_towardzero_test_data): New array.
14556 (exp10_test_towardzero): New function.
14557 (exp10_downward_test_data): New array.
14558 (exp10_test_downward): New function.
14559 (exp10_upward_test_data): New array.
14560 (exp10_test_upward): New function.
14561 (main): Call the new functions.
14562 * sysdeps/i386/fpu/libm-test-ulps: Update.
14563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14564
7fda5682
JM
145652013-12-20 Joseph Myers <joseph@codesourcery.com>
14566
31e3a405
JM
14567 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14568 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14569 * math/auto-libm-test-out: Regenerated.
14570 * math/libm-test.inc (acosh_test_data): Add more tests.
14571 (atanh_test_data): Likewise.
14572 (ceil_test_data): Likewise.
14573 (copysign_test_data): Likewise.
14574 * sysdeps/i386/fpu/libm-test-ulps: Update.
14575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14576
85bff96a
JM
14577 * timezone/checktab.awk: Update from tzcode 2013i.
14578 * timezone/private.h: Likewise.
14579 * timezone/scheck.c: Likewise.
14580 * timezone/tzfile.h: Likewise.
14581 * timezone/tzselect.ksh: Likewise.
14582 * timezone/zdump.c: Likewise.
14583 * timezone/zic.c: Likewise.
14584
b7867a3b
JM
14585 * math/auto-libm-test-in: Add tests of cpow.
14586 * math/auto-libm-test-out: Regenerated.
14587 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14589 mpc_cc_c.
14590 (func_calc_desc): Add mpc_cc_c union field.
14591 (test_functions): Add cpow.
14592 (special_fill_2pi): New function.
14593 (special_real_inputs): Add 2pi.
14594 (calc_generic_results): Handle mpc_cc_c.
14595 * sysdeps/i386/fpu/libm-test-ulps: Update.
14596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14597
7fda5682
JM
14598 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14599 csqrt, ctan and ctanh.
14600 * math/auto-libm-test-out: Regenerated.
14601 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14602 (TEST_COND_x86): Likewise.
14603 (ccos_test_data): Use AUTO_TESTS_c_c.
14604 (ccosh_test_data): Likewise.
14605 (cexp_test_data): Likewise.
14606 (clog_test_data): Likewise.
14607 (csqrt_test_data): Likewise.
14608 (ctan_test_data): Likewise.
14609 (ctan_tonearest_test_data): Likewise.
14610 (ctan_towardzero_test_data): Likewise.
14611 (ctan_downward_test_data): Likewise.
14612 (ctan_upward_test_data): Likewise.
14613 (ctanh_test_data): Likewise.
14614 (ctanh_tonearest_test_data): Likewise.
14615 (ctanh_towardzero_test_data): Likewise.
14616 (ctanh_downward_test_data): Likewise.
14617 (ctanh_upward_test_data): Likewise.
14618 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14619 mpc_c_c.
14620 (func_calc_desc): Add mpc_c_c union field.
14621 (FUNC_mpc_c_c): New macro.
14622 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14623 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14624 ctanh.
14625 (special_fill_min_subnorm_p120): New function.
14626 (special_real_inputs): Add min_subnorm_p120.
14627 (calc_generic_results): Handle mpc_c_c.
14628 * sysdeps/i386/fpu/libm-test-ulps: Update.
14629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14630
5ff8d60e
SP
146312013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14632
57f41c40
AS
14633 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14634 (do_sin_slow): New functions.
14635 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14636 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14637
84ba214c
SP
14638 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14639 Use M to change sign of result instead of X. Assume X is
14640 positive.
14641 (csloww1): Likewise.
14642 (__sin): Adjust.
14643 (__cos): Adjust.
14644
975195e4
SP
14645 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14646 arguments A and DA.
14647 (__sin): Adjust.
14648 (__cos): Likewise.
14649
5ff8d60e
SP
14650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14651 (__cos): Likewise.
14652 (sloww1): Don't adjust sign of DX.
14653 (csloww1): Likewise.
14654 (sloww2): Use X directly and don't adjust sign of DX.
14655 (csloww2): Likewise.
14656
eb983568
JM
146572013-12-19 Joseph Myers <joseph@codesourcery.com>
14658
64a17f1a
JM
14659 * math/auto-libm-test-in: Add tests of cabs and carg.
14660 * math/auto-libm-test-out: Regenerated.
14661 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14662 (carg_test_data): Likewise.
14663 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14664 mpc_c_f.
14665 (func_calc_desc): Add mpc_c_f union field.
14666 (test_functions): Add cabs and carg.
14667 (calc_generic_results): Handle mpc_c_f.
14668
eb983568
JM
14669 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14670 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14671 as a macro and a compat symbol.
14672 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14673 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14674 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14675 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14676 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14677 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14678 not use .hidden.
14679 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14680 Likewise.
14681 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14682 Likewise.
14683 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14684 Likewise.
14685 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14686 Likewise.
14687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14688 Likewise.
14689 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14690 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14691 from GLIBC_2.3.2.
14692
6eeb678a
AZ
146932013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694
14695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14696
6f6fc482
JM
146972013-12-19 Joseph Myers <joseph@codesourcery.com>
14698
21fea2e2
JM
14699 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14700 trailing whitespace removed.
14701 * scripts/config.guess: Update to version 2013-11-29.
14702 * scripts/config.sub: Update to version 2013-10-01.
14703
6f6fc482
JM
14704 * math/auto-libm-test-in: Add tests of sincos.
14705 * math/auto-libm-test-out: Regenerated.
14706 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14707 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14708 mpfr_f_11.
14709 (func_calc_desc): Add mpfr_f_11 union field.
14710 (test_functions): Add sincos.
14711 (calc_generic_results): Handle mpfr_f_11.
14712 * sysdeps/i386/fpu/libm-test-ulps: Update.
14713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14714
83f5c32d
AS
147152013-12-19 Andreas Schwab <schwab@suse.de>
14716
14717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14718 CALL_MCOUNT.
14719 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14720 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14721 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14722
c688b419
JM
147232013-12-19 Joseph Myers <joseph@codesourcery.com>
14724
335ee092
JM
14725 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728
f88acd39
JM
14729 [BZ #16293]
14730 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14731 round-to-nearest mode when using frndint.
14732 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14733 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14734 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14735 Likewise.
14736 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14737 sinh test to fail.
14738 * math/auto-libm-test-out: Regenerated.
14739 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14740 (TEST_COND_x86): Likewise.
14741 (expm1_tonearest_test_data): New array.
14742 (expm1_test_tonearest): New function.
14743 (expm1_towardzero_test_data): New array.
14744 (expm1_test_towardzero): New function.
14745 (expm1_downward_test_data): New array.
14746 (expm1_test_downward): New function.
14747 (expm1_upward_test_data): New array.
14748 (expm1_test_upward): New function.
14749 (main): Run the new test functions.
14750 * sysdeps/i386/fpu/libm-test-ulps: Update.
14751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752
c688b419
JM
14753 * include/features.h: Update comment documenting feature test
14754 macros. Mention _DEFAULT_SOURCE in comment.
14755 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14756 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14757 _BSD_SOURCE and _SVID_SOURCE.
14758 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14759 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14760 !_SVID_SOURCE]: Likewise.
14761 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14762 (__USE_POSIX_IMPLICITLY): Define.
14763 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14764 (_POSIX_SOURCE): Undefine and redefine.
14765 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14766 (_POSIX_C_SOURCE): Likewise.
14767 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14768 (Feature Test Macros): Update documentation of default features.
14769
9f6e964c
RS
147702013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14771
14772 * benchtests/Makefile: Add bench-strtok.
14773 * benchtests/bench-strtok.c: New file: strtok benchtest.
14774
ee0a148a
AM
147752013-12-19 Allan McRae <allan@archlinux.org>
14776
14777 * manual/install.texi: Suppress menu for plain text output.
14778 * INSTALL: Regenerated.
14779
b9ab448f
BM
147802013-12-18 Brooks Moses <bmoses@google.com>
14781
14782 [BZ #15846]
14783 * misc/getauxval.c: Include errno.h.
14784 (__getauxval): Set errno to ENOENT if the requested type is not
14785 found.
14786 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14787 don't declare with __attribute_const__.
14788 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14789 * manual/startup.texi: Document that getauxval sets errno.
14790
23776487
JM
147912013-12-18 Joseph Myers <joseph@codesourcery.com>
14792
f889953b
JM
14793 * math/auto-libm-test-in: Add tests of jn and yn.
14794 * math/auto-libm-test-out: Regenerated.
14795 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14796 (yn_test_data): Likewise.
14797 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14798 mpfr_if_f.
14799 (func_calc_desc): Add mpfr_if_f union field.
14800 (FUNC_mpfr_if_f): New macro.
14801 (test_functions): Add jn and yn.
14802 (calc_generic_results): Assert type of second input for
14803 mpfr_ff_f. Handle mpfr_if_f.
14804 (output_for_one_input_case): Disable all checking for arguments
14805 fitting floating-point types in case of an integer argument.
14806 * sysdeps/i386/fpu/libm-test-ulps: Update.
14807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14808
23776487
JM
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14810 Don't expect fegetround reference in libm.so.
14811
cb756c6d
MS
148122013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14813
14814 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14815 $(config-cflags-nofma).
14816
2dec468f
JM
148172013-12-18 Joseph Myers <joseph@codesourcery.com>
14818
5953eb3a
JM
14819 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14820 * math/auto-libm-test-out: Regenerated.
14821
2dec468f
JM
14822 [BZ #16338]
14823 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14824 to determine exponent and adjust argument to have exponent of -1.
14825 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14826 log2.
14827 * math/auto-libm-test-out: Regenerated.
14828 * sysdeps/i386/fpu/libm-test-ulps: Update.
14829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830
4d84e6ad
OB
148312013-12-18 Ondřej Bílka <neleai@seznam.cz>
14832
14833 * manual/probes.texi: Remove cases when per-thread arenas are
14834 disabled.
14835
1818483b
AS
148362013-12-18 Andreas Schwab <schwab@suse.de>
14837
14838 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14839 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14840 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14841 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14842 * sysdeps/i386/i686/multiarch/Makefile: Update.
14843 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14844
25de95bf
JM
148452013-12-17 Joseph Myers <joseph@codesourcery.com>
14846
14847 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14848 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14849
674762d9
PE
148502013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14851
ed27ed83 14852 [BZ #15968]
0748546f
PE
14853 Support TZ transition times < 00:00:00.
14854 This is needed for version-3 tz-format files; it supports time
14855 stamps past 2037 for America/Godthab (the only entry in the tz
14856 database for which this change is relevant).
14857 * manual/time.texi (TZ Variable): Document transition times
14858 from -167:59:59 through -00:00:01.
14859 * time/tzset.c (tz_rule): Time of day is now signed.
14860 (__tzset_parse_tz): Parse negative time of day.
14861
4480e934
PE
14862 Document TZ transition times >= 25:00:00.
14863 * manual/time.texi (TZ Variable): Document transition times from
14864 25:00:00 through 167:59:59. These are already supported, and this
14865 support will help with version-3 tz-format files.
14866
69947401
PE
14867 * manual/time.texi (TZ Variable): Modernize North America example
14868 to reflect current (i.e., 2007-and-later) daylight saving rules.
14869
674762d9
PE
14870 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14871
7011c262
JM
148722013-12-17 Joseph Myers <joseph@codesourcery.com>
14873
2fc6557e
JM
14874 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14875 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14878 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14879 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14880 * sysdeps/unix/bsd/clock.c: Likewise.
14881 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14882 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14883 * sysdeps/unix/bsd/init-posix.c: Likewise.
14884 * sysdeps/unix/bsd/poll.c: Likewise.
14885 * sysdeps/unix/bsd/ptsname.c: Likewise.
14886 * sysdeps/unix/bsd/seekdir.c: Likewise.
14887 * sysdeps/unix/bsd/setegid.c: Likewise.
14888 * sysdeps/unix/bsd/seteuid.c: Likewise.
14889 * sysdeps/unix/bsd/setgid.c: Likewise.
14890 * sysdeps/unix/bsd/setrgid.c: Likewise.
14891 * sysdeps/unix/bsd/setruid.c: Likewise.
14892 * sysdeps/unix/bsd/setsid.c: Likewise.
14893 * sysdeps/unix/bsd/setuid.c: Likewise.
14894 * sysdeps/unix/bsd/sigaction.c: Likewise.
14895 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14896 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14897 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14898 * sysdeps/unix/bsd/telldir.c: Likewise.
14899 * sysdeps/unix/bsd/times.c: Likewise.
14900 * sysdeps/unix/bsd/usleep.c: Likewise.
14901
029c7b25
JM
14902 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14903 ($(objpfx)libbsd-compat.a): Remove rule.
14904
7011c262
JM
14905 * include/features.h (__FAVOR_BSD): Do not define.
14906 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14907 features conflicting with POSIX.
14908 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14909 (_BSD_SOURCE): Remove description of not being a subset of other
14910 feature test macros.
14911 * manual/job.texi (getpgrp): Do not document BSD version.
14912 (getpgid): Do not document by reference to BSD getpgrp.
14913 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14914 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14915 * signal/signal.h [__FAVOR_BSD]: Likewise.
14916 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14917 instead of making contents conditional on [__FAVOR_BSD].
14918 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14919
affb6f78
AZ
149202013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921
14922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14923
c88769dd
JM
149242013-12-17 Joseph Myers <joseph@codesourcery.com>
14925
6432a540
JM
14926 [BZ #16314]
14927 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14928 values below 2**-450, not 2**-500.
14929 * math/auto-libm-test-in: Don't allow spurious underflow from
14930 hypot.
14931 * math/auto-libm-test-out: Regenerated.
14932
c88769dd
JM
14933 [BZ #16316]
14934 [BZ #16330]
14935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14936 values of ha and hb and sort them after adjusting subnormal
14937 arguments.
14938 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14939 Likewise.
14940 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14941 values of ea and eb and sort them after adjusting subnormal
14942 arguments.
14943 * math/auto-libm-test-in: Do not expect some hypot tests of
14944 subnormals to fail. Add more hypot tests.
14945 * math/auto-libm-test-out: Regenerated.
14946
29618f6b
KK
149472013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14948
14949 [BZ #13304]
14950 * sysdeps/sh/s_fma.c: New file.
14951 * sysdeps/sh/s_fmaf.c: New file.
14952 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14953 version.
14954 * sysdeps/sh/Implies: Add sh/soft-fp.
14955
eacfdfbf
RM
149562013-12-16 Roland McGrath <roland@hack.frob.com>
14957
14958 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14959 level of indirection to members `objname', `errstring', `malloced'.
14960 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14961 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14962 it as the __longjmp argument (just pass 1 instead).
14963 (_dl_catch_error): Initialize C with argument pointers and address of
14964 volatile local ERRCODE rather than copying values out of C at return.
14965
ff362e5b
JM
149662013-12-16 Joseph Myers <joseph@codesourcery.com>
14967
14968 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14969 * math/auto-libm-test-out: Regenerated.
14970 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14971 (hypot_test_data): Likewise.
14972 (pow_test_data): Likewise.
14973 (pow_tonearest_test_data): Likewise.
14974 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14975 mpfr_ff_f.
14976 (func_calc_desc): Add mpfr_ff_f union field.
14977 (FUNC_mpfr_ff_f): New macro.
14978 (test_functions): Add atan2, hypot and pow.
14979 (special_fill_min): New function.
14980 (special_fill_minus_min): Likewise.
14981 (special_fill_min_subnorm): Likewise.
14982 (special_fill_minus_min_subnorm): Likewise.
14983 (special_real_inputs): Add min, -min, min_subnorm and
14984 -min_subnorm.
14985 (calc_generic_results): Handle mpfr_ff_f.
14986 * sysdeps/i386/fpu/libm-test-ulps: Update.
14987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14988
5764c27f
WN
149892013-12-16 Will Newton <will.newton@linaro.org>
14990
14991 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14992 (Aligned Memory Blocks): Add documentation for aligned_alloc
14993 and suggest it as an alternative to posix_memalign.
14994 (Hooks for Malloc): Document __memalign_hook is also called
14995 for aligned_alloc. (Summary of Malloc): Add summary for
14996 aligned alloc. Document __memalign_hook is also called
14997 for aligned_alloc.
14998
0a096e44
WN
149992013-12-16 Will Newton <will.newton@linaro.org>
15000
15001 * manual/memory.texi (Malloc Examples): Clarify default
15002 alignment documentation. Suggest posix_memalign rather
15003 than memalign or valloc.
15004 (Aligned Memory Blocks): Remove suggestion to use memalign
15005 or valloc. Remove obsolete comment about BSD.
15006 Document memalign errno values and mark the function obsolete.
15007 Document posix_memalign returned error codes. Mark valloc
15008 as obsolete. (Hooks for Malloc): __memalign_hook is also
15009 called for posix_memalign and valloc.
15010 (Summary of Malloc): Add posix_memalign to function summary.
15011 __memalign_hook is also called for posix_memalign and valloc.
15012
8d561986
SP
150132013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15014
15015 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15016 TAYLOR_SIN.
15017 (__sin): Adjust.
15018 (__cos): Likewise.
15019 (sloww): Use mynumber union. Expand ternary operator into
15020 if-else statements.
15021 (cslow): use mynumber union.
15022
73616a74
AM
150232013-12-16 Allan McRae <allan@archlinux.org>
15024
9e8ac24b
AM
15025 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15026 * configure: Regenerated.
15027
6f8e37eb
AM
15028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15029
8894bad3
AM
15030 [BZ #14120]
15031 * configure.ac: Added --enable-maintainer-mode. Check for
15032 autoconf when enabled.
15033 * configure: Regenerated.
15034
73616a74
AM
15035 * nscd/nscd.service: New file.
15036 * nscd/nscd.tmpfiles: New file.
15037
584b18eb
OB
150382013-12-14 Ondřej Bílka <neleai@seznam.cz>
15039
15040 [BZ #12100]
15041 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15042 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15043 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15044 (strstr): Add __strstr_sse2_unaligned ifunc.
15045 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15046 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15047 (strcasestr): Remove __strcasestr_sse42 ifunc.
15048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15051
8a5c7897
KK
150522013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15053
15054 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15055 * sysdeps/sh/bits/fenv.h: ... here.
15056 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15057
fd712ef3
AZ
150582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15059
15060 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15061
42fcb46c
AZ
15062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15063 hypotf multiarch implementations.
15064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15065 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15067 multiarch hypot for PPC64.
15068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15071 multiarch hypotf for PPC64.
15072
83efded4
AZ
15073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15074 modff multiarch implementations.
15075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15078 multiarch modf for PPC64.
15079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15082 multiarch modff for PPC64.
15083
43e246d2
AZ
15084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15085 and logl multiarch implementations.
15086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15089 multiarch logb for PPC64.
15090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15093 multiarch logb for PPC64.
15094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15097 multiarch logb for PPC64.
15098
8fdad123
AZ
15099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15100 isinff multiarch implementation.
15101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15102 file.
15103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15105 multiarch isinf for PPC64.
15106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15107 file.
15108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15109 multiarch isinff for PPC64.
15110
1481d706
AZ
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15112 finitef multiarch implementation.
15113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15114 file.
15115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15117 multiarch finite for PPC64.
15118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15119 file.
15120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15121 multiarch finitef for PPC64.
15122
5ccd5fc8
AZ
15123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15124 lrint multiarch implementation.
15125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15126 file.
15127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15129 multiarch llrint for PPC64.
15130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15131 multiarch lrint for PPC64.
15132
2568f3fa
AZ
15133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15134 copysignf multiarch implementation.
15135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15136 file.
15137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15138 file.
15139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15140 multiarch copysign for PPC64.
15141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15142 multiarch copysignf for PPC64.
15143
1cb341fd
AZ
15144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15145 multiarch implementation.
15146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15147 file.
15148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15149 file.
15150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15151 file.
15152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15153 file.
15154 multiarch llround for PPC64.
15155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15156 multiarch trunc for PPC64.
15157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15158 multiarch truncf for PPC64.
15159
59a3e194
AZ
15160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15161 multiarch implementation.
15162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15163 file.
15164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15165 file.
15166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15167 file.
15168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15169 file.
15170 multiarch llround for PPC64.
15171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15172 multiarch round for PPC64.
15173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15174 multiarch roundf for PPC64.
15175
357fd3b4
AZ
15176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15177 multiarch implementation.
15178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15179 file.
15180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15181 file.
15182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15183 file.
15184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15185 file.
15186 multiarch llround for PPC64.
15187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15188 multiarch floor for PPC64.
15189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15190 multiarch floorf for PPC64.
15191
96770f12
AZ
15192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15193 multiarch implementation.
15194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15195 file.
15196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15197 file.
15198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15199 file.
15200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15201 file.
15202 multiarch llround for PPC64.
15203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15204 multiarch ceil for PPC64.
15205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15206 multiarch ceilf for PPC64.
15207
c3627f6e
AZ
15208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15209 multiarch implementation.
15210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15211 file.
15212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15213 file.
15214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15215 file.
15216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15217 multiarch llround for PPC64.
15218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15219 multiarch lround for PPC64.
15220
b2284ad7
AZ
15221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15222 multiarch implementation.
15223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15226 file.
15227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15230 multiarch isnan for PPC64.
15231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15232 multiarch isnanf for PPC64.
15233
69bbc63d
AZ
15234 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15235 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15236 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15237 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15238 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15240
c24517c9
AZ
15241 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15242 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15245
a52374e8
AZ
15246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15247 multiarch implementations.
15248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15249 (__libc_ifunc_impl_list): Likewise.
15250 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15251 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15252 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15253 multiarch stpcpy for PPC64.
15254
7f5ec113
AZ
15255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15256 multiarch implementations.
15257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15258 (__libc_ifunc_impl_list): Likewise.
15259 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15260 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15261 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15262 multiarch strcpy for PPC64.
15263
e28bcd42
AZ
15264 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15265 redefine function name.
15266 (_wordcopy_fwd_dest_aligned): Likewise.
15267 (_wordcopy_bwd_aligned): Likewise.
15268 (_wordcopy_bwd_dest_aligned): Likewise.
15269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15270 multiarch implementations.
15271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15272 (__libc_ifunc_impl_list): Likewise.
15273 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15275 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15276 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15277 multiarch wcscpy for PPC64.
15278
92cacfce
AZ
15279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15280 multiarch implementations.
15281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15282 (__libc_ifunc_impl_list): Likewise.
15283 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15284 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15285 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15286 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15287 multiarch wcscpy for PPC64.
15288
7b714620
AZ
15289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15290 multiarch implementations.
15291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15292 (__libc_ifunc_impl_list): Likewise.
15293 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15294 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15295 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15296 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15297 multiarch wcsrchr for PPC64.
15298
16fd2ae3
AZ
15299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15300 multiarch implementations.
15301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15302 (__libc_ifunc_impl_list): Likewise.
15303 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15304 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15305 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15306 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15307 multiarch wcschr for PPC64.
15308
9ee2969b
AZ
15309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15310 multiarch implementations.
15311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15312 (__libc_ifunc_impl_list): Likewise.
15313 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15314 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15315 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15316 multiarch strchrnul for PPC64.
15317
372dc060
AZ
15318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15319 implementations.
15320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15321 (__libc_ifunc_impl_list): Likewise.
15322 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15323 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15324 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15325 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15326 strchr for PPC64.
15327
24c2c3b9
AZ
15328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15329 implementations.
15330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15331 (__libc_ifunc_impl_list): Likewise.
15332 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15334 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15335 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15336 strncmp for PPC64.
15337
1c92d9a0
AZ
15338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15339 multiarch implementations.
15340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15341 (__libc_ifunc_impl_list): Likewise.
15342 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15343 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15344 strncasecmp for PPC64.
15345 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15346 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15347 multiarch strncasecmp_l for PPC64.
15348
17de3ee3
AZ
15349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15350 multiarch implementations.
15351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15352 (__libc_ifunc_impl_list): Likewise.
15353 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15354 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15355 multiarch strcasecmp for PPC64.
15356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15357 file.
15358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15359 multiarch strcasecmp_l for PPC64.
15360
62982bf9
AZ
15361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15362 implementations.
15363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15364 (__libc_ifunc_impl_list): Likewise.
15365 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15366 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15367 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15368 strnlen for PPC64.
15369
a65f4904
AZ
15370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15371 implementations.
15372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15373 (__libc_ifunc_impl_list): Likewise.
15374 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15375 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15376 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15377 strlen for PPC64.
15378
1fd005ad
AZ
15379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15380 implementations.
15381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15382 (__libc_ifunc_impl_list): Likewise.
15383 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15384 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15385 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15386 rawmemrchr for PPC64.
15387
cd05ba91
AZ
15388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15389 implementation.
15390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15391 (__libc_ifunc_impl_list): Likewise.
15392 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15393 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15394 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15395 memrchr for PPC64.
15396
870f8676
AZ
15397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15398 implementation.
15399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15400 (__libc_ifunc_impl_list): Likewise.
15401 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15402 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15403 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15404 memchr for PPC64.
15405
f00be62b
AZ
15406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15407 implementation.
15408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15409 (__libc_ifunc_impl_list): Likewise.
15410 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15411 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15412 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15413 mempcpy for PPC64.
15414
8a29a3d0
AZ
15415 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15416 avoid cretion of __bzero symbol.
15417 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15418 Likewise.
15419 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15420 Likewise.
15421 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15422 Likewise.
15423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15424 multiarch implementations.
15425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15426 (__libc_ifunc_impl_list): Likewise.
15427 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15428 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15429 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15430 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15431 bzero for PPC32.
15432 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15433 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15434 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15435 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15436 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15437 memset for PPC64.
15438 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15439
07253fcf
AZ
15440 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15442 implementations.
15443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15444 (__libc_ifunc_impl_list): Likewise.
15445 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15446 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15447 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15448 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15449 memcmp for PPC64.
15450
b5beafbc
AZ
15451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15452 multiarch for POWER/PPC64.
15453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15454 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15461 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15462 memcpy for PPC64.
15463
5e6a4d4b
AZ
15464 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15465 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15466 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15467 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15468 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15469 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15470 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15471 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15472 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15473 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15474 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15475 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15476 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15477 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15478 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15486
ddfab6dc
KK
154872013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15488
15489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15490
19b5525e
SP
154912013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15492
15493 * benchtests/Makefile (bench): Add exp2 and log2.
15494 (LDLIBS-bench-exp2): Add -lm.
15495 (LDLIBS-bench-log2): Likewise.
15496 * benchtests/exp2-inputs: New inputs file.
15497 * benchtests/log2-inputs: New inputs file.
15498 * benchtests/log-inputs: Add new inputs.
15499 * benchtests/tan-inputs: Likewise.
15500
196f7f5d
SP
155012013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15502
7a74607f
SP
15503 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15504 definition...
57f41c40
AS
15505 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15506 (csloww2): ... from here.
7a74607f 15507
196f7f5d
SP
15508 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15509 instead of structures.
15510 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15511 (POLYNOMIAL): Likewise.
15512 (TAYLOR_SLOW): Likewise.
15513 (__sin): Likewise.
15514 (__cos): Likewise.
15515 (slow1): Likewise.
15516 (slow2): Likewise.
15517 (sloww): Likewise.
15518 (sloww1); Likewise.
15519 (sloww2): Likewise.
15520 (bsloww1): Likewise.
15521 (bsloww2): Likewise.
15522 (cslow2): Likewise.
15523 (csloww): Likewise.
15524 (csloww1): Likewise.
15525 (csloww2): Likewise.
15526
0dfa665c
OB
155272013-12-10 Ondřej Bílka <neleai@seznam.cz>
15528
15529 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15530 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15531 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15532 * malloc/hooks.c (realloc_check): Likewise.
15533
5782a80f
OB
15534 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15535 * malloc/arena.c: Remove PER_THREAD conditional.
15536 [!PER_THREAD]: Remove code.
15537 (ptmalloc_unlock_all2): Likewise.
15538 (ptmalloc_init): Likewise.
15539 (_int_new_arena): Likewise.
15540 (arena_get2): Likewise.
15541 * malloc/hooks.c (__malloc_get_state): Likewise.
15542 (__malloc_set_state): Likewise.
15543 * malloc/malloc.c: Likewise.
15544 (struct malloc_state): Likewise.
15545 (struct malloc_par): Likewise.
15546 (__libc_realloc): Likewise.
15547 (__libc_mallopt): Likewise.
15548
aeb95445
AZ
155492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15550
15551 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15552
e8349efd
OB
155532013-12-09 Ondřej Bílka <neleai@seznam.cz>
15554
15555 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15556 macro to a function. Check for zero perturb_byte.
15557 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15558
f3eeb3fc 15559 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15560 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15561 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15562 force_reg by atomic_forced_read.
15563 * malloc/arena.c (ptmalloc_init): Likewise.
15564 * malloc/hooks.c (top_check): Likewise.
15565
be2f9009
AZ
155662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567
15568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15569
e7b914bd
MT
155702013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15571
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15573
9f0be4f8
JM
155742013-12-08 Joseph Myers <joseph@codesourcery.com>
15575
15576 * math/auto-libm-test-in: Add tests of lgamma.
15577 * math/auto-libm-test-out: Regenerated.
15578 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15579 (M_LOG_2_SQRT_PIl): Likewise.
15580 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15581 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15582 mpfr_f_f1.
15583 (func_calc_desc): Add mpfr_f_f1 union field.
15584 (ARGS1): New macro.
15585 (ARGS2): Likewise.
15586 (ARGS3): Likewise.
15587 (ARGS4): Likewise.
15588 (RET1): Likewise.
15589 (RET2): Likewise.
15590 (CALC): Likewise.
15591 (FUNC): Likewise.
15592 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15593 (test_functions): Add lgamma.
15594 (calc_generic_results): Handle mpfr_f_f1.
15595 * sysdeps/i386/fpu/libm-test-ulps: Update.
15596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15597
24eeafdb
AZ
155982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15599
15600 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15601 __mpn_add_n for PowerPC64/POWER7.
15602 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15603 __mpn_sub_n for PowerPC64/POWER7.
15604
4a2c0fd4
AZ
15605 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15606 __mpn_addmul_1 for PowerPC64.
15607 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15608 __mpn_submul_1 for PowerPC64.
15609 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15610 for PowerPC64.
15611 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15612 for PowerPC64.
15613
4b5b548c
FS
156142013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15615
15616 [BZ #15089]
15617 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15618
0a3ac0aa
AZ
156192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15620
15621 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15622
ccdc8438
AZ
15623 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15624 add multiarch folders.
15625 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15626 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15627 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15628 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15629 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15630 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15631 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15632 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15633 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15634 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15635 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15642
2e973d99
AZ
15643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15644 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15646 New file.
15647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15648 New file.
15649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15650 multiarch __ieee754_hypot for PowerPC32.
15651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15652 New file.
15653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15654 New file.
15655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15656 multiarch __ieee754_hypotf for PowerPC32.
15657
2d9470b2
AZ
15658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15659 long_double_symbol only if __logbl is defined.
15660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15661 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15663 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15665 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15666 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15667 path for implementation.
15668 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15671 logb, and logbl multiarch implementations for PowerPC32.
15672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15673 file.
15674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15675 file.
15676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15677 multiarch logb for PowerPC32.
15678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15679 file.
15680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15681 file.
15682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15683 multiarch logbf for PowerPC32.
15684 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15686 file.
15687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15688 multiarch logbl implementation for PowerPC32.
15689
5212ffce
AZ
15690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15691 and modff multiarch implementations.
15692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15693 New file.
15694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15695 New file.
15696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15697 multiarch modf for PowerPC32.
15698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15699 New file.
15700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15701 New file.
15702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15703 multiarch modff for PowerPC32.
15704
79dccf31
AZ
15705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15706 and lrintf multiarch implementations.
15707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15708 New file.
15709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15710 New file.
15711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15712 multiarch lrint for PowerPC32.
15713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15714 file: multiarch lrintf for PowerPC32.
15715
deb66480
AZ
15716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15717 and lroundf multiarch implementations.
15718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15719 New file.
15720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15721 New file.
15722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15723 New file.
15724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15725 multiarch lround for PowerPC32.
15726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15727 file: multiarch lroundf for PowerPC32.
15728
264b036b
AZ
15729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15730 copysign and copysignf multiarch implementations.
15731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15732 New file.
15733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15734 New file.
15735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15736 file: multiarch copysign for PowerPC32.
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15738 file: multiarch copysignf for PowerPC32.
15739
d47db6c9
AZ
15740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15741 and truncf multiarch implementations.
15742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15743 New file.
15744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15745 file.
15746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15747 multiarch trunc for PowerPC32.
15748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15749 New file.
15750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15751 New file.
15752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15753 multiarch truncf for PowerPC32.
15754
ddb60b5a
AZ
15755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15756 and roundf multiarch implementations.
15757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15758 New file.
15759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15760 file.
15761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15762 multiarch round for PowerPC32.
15763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15764 New file.
15765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15766 New file.
15767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15768 multiarch roundf for PowerPC32.
15769
bedcf49b
AZ
15770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15771 and floorf multiarch implementations.
15772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15773 New file.
15774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15775 file.
15776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15777 multiarch floor for PowerPC32.
15778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15779 New file.
15780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15781 New file.
15782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15783 multiarch floorf for PowerPC32.
15784
35ae5b40
AZ
15785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15786 and ceilf multiarch implementations.
15787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15788 New file.
15789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15790 file.
15791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15792 multiarch ceil for PowerPC32.
15793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15794 New file.
15795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15796 file.
15797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15798 multiarch ceilf for PowerPC32.
15799
ae1a4cd9
AZ
15800 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15801 is defined.
15802 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15803 FINITEF is defined.
15804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15805 and finitef multiarch implementations.
15806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15807 New file.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15809 file.
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15811 multiarch finite for PowerPC32.
15812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15813 New file.
15814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15815 file: multiarch finitef for PowerPC32.
15816
64fffd65
AZ
15817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15818 and isinff multiarch implementations.
15819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15820 file.
15821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15822 file.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15824 multiarch isinf for PowerPC32.
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15826 New file.
15827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15828 multiarch isinff for PowerPC32.
15829
8e4e7ba2
AZ
15830 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15831 alias when __isnan is defined.
15832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15833 and isnanf multiarch implementations.
15834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15835 file.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15837 file.
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15839 file.
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15841 file.
15842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15843 multiarch isnan for PowerPC32.
15844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15845 New file.
15846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15847 New file.
15848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15849 multiarch isnanf for PowerPC32.
15850
ddba588e
AZ
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15852 and sqrtf multiarch implementations.
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15854 file.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15856 file.
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15858 multiarch sqrt for PowerPC32.
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15860 file.
15861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15862 file.
15863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15864 multiarch sqrtf for PowerPC32.
15865
0f96a2f0
AZ
15866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15867 and llroundf multiarch implementations.
15868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15869 New file.
15870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15871 New file.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15873 New file.
15874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15875 file: multiarch llround for PowerPC32.
15876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15877 file: multiarch llroundf for PowerPC32.
15878
c9b5d79e
AZ
15879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15880 multiarch PowerPC32 fpu implementations.
15881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15882 New file.
15883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15884 New file.
15885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15886 multiarch llrint for PowerPC32.
15887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15888 New file.
15889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15890 New file.
15891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15892 file.
15893
9cbb3aab
AZ
15894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15895
ea5a72f8
AZ
15896 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15897 file.
15898 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15899 file.
15900 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15901 file.
15902 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15903 multiarch wordcopy for PPC32.
15904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15905 wordcopy objects.
15906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15907 (__libc_ifunc_impl_list): Likewise.
15908 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15909 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15910 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15911 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15913 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15914
93be09e7
AZ
15915 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15917 file.
15918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15919 file.
15920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15921 file.
15922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15923 multiarch wcscpy for PPC32.
15924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15925 multiarch objects.
15926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15927 (__libc_ifunc_impl_list): Likewise.
15928 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15929 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15930 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15931 sysdeps/powerpc/power6/wcscpy.c.
15932
bb04e529
AZ
15933 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15935 file.
15936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15937 file.
15938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15939 file.
15940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15941 multiarch wcsrchr for PPC32.
15942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15943 multiarch objects.
15944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15945 (__libc_ifunc_impl_list): Likewise.
15946 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15947 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15948 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15949 sysdeps/powerpc/power6/wcsrchr.c.
15950
05b5cd1c
AZ
15951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15952 file.
15953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15954 file.
15955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15957 multiarch wcschr for PPc32.
15958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15959 multiarch objects.
15960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15961 (__libc_ifunc_impl_list): Likewise.
15962 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15963 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15964 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15965 sysdeps/powerpc/power6/wcschr.c.
15966
ba964147
AZ
15967 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15968 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15969 file.
15970 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15971 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15972 file: multiarch strchr for PPC32.
15973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15974 multiarch objects.
15975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15976 (__libc_ifunc_impl_list): Likewise.
15977
31c81aaa
AZ
15978 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15979 name.
15980 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15981 file.
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15983 file.
15984 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15985 multiarch strchrnul for PPC32.
15986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15987 multiarch objects.
15988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15989 (__libc_ifunc_impl_list): Likewise.
15990
0d0607d9
AZ
15991 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15992 file.
15993 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15994 multiarch strncasecmp for PPC32.
15995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15996 file.
15997 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15998 multiarch strncasecmp_l for PPC32.
15999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16000 strncasecmp multiarch objects.
16001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16002 (__libc_ifunc_impl_list): Likewise.
16003
4dfd5c86
AZ
16004 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16005 file.
16006 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16007 multiarch strncasecmp for PPC32.
16008 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16009 New file.
16010 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16011 multiarch strcasecmp_l for PPC32.
16012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16013 multiarch objects.
16014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16015 (__libc_ifunc_impl_list): Likewise.
16016
a19e01a3
AZ
16017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16018 file.
16019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16020 file.
16021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16022 multiarch strncmp for PPC32.
16023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16024 multiarch objects.
16025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16026 (__libc_ifunc_impl_list): Likewise.
16027
ae9cf7a2
AZ
16028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16029 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16030 file.
16031 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16032 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16034 multiarch objects.
16035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16036 (__libc_ifunc_impl_list): Likewise.
16037
3148bb7d
AZ
16038 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16039 file.
16040 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16041 file.
16042 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16044 multiarch objects.
16045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16046 (__libc_ifunc_impl_list): Likewise.
16047
7af8b946
AZ
16048 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16049 file.
16050 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16051 file.
16052 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16053 multiarch rawmemchr for PPC32.
16054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16055 multiarch objects.
16056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16057 (__libc_ifunc_impl_list): Likewise.
16058
03a6aa6a
AZ
16059 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16060 file.
16061 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16062 file.
16063 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16064 file: memrchr multiarch for PPC32.
16065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16066 multiarch objects.
16067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16068 (__libc_ifunc_impl_list): Likewise.
16069
1c62e6d9
AZ
16070 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16071 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16072 file.
16073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16074 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16075 multiarch memchr for PPC32.
16076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16077 multiarch objects.
16078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16079 (__libc_ifunc_impl_list): Likewise.
16080
87da8bdb
AZ
16081 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16082 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16083 file.
16084 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16085 file.
16086 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16087 file: multiarch mempcpy for PPC32.
16088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16089 multiarch objects.
16090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16091 (__libc_ifunc_impl_list): Likewise.
16092
20ed4714
AZ
16093 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16094 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16095 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16096 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16097 multiarch bzero for PPC32.
16098 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16099 file.
16100 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16101 file.
16102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16103 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16104 file: multiarch memset for PPC32.
16105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16107 memset multiarch objects.
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16109 (__libc_ifunc_impl_list): Likewise.
16110
ab3e3a46
AZ
16111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16112 file.
16113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16114 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16115 memcmp for PPC32.
16116 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16118 multiarch objects.
16119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16120 (__libc_ifunc_impl_list): Likewise.
16121
930de6f0
AZ
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16123 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16125 file.
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16127 file.
16128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16129 file.
16130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16131 multiarch memcpy for PPC32.
16132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16133 multiarch objects.
16134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16135 (__libc_ifunc_impl_list): Likewise.
16136
4c628e00
AZ
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16138 support multiarch for POWER/PPC32.
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16140 Likewise.
16141 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16143 Implies file to make multiarch folder appers before the fpu and
16144 default folder for power4 configuration.
16145
f4479220
SP
161462013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16147
16148 * scripts/bench.pl: Append volatile keyword to type.
16149
8517800f
KK
161502013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16151
16152 * sysdeps/sh/sotruss-lib.c: New file.
16153 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16154
180138f1
AZ
161552013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16156
16157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16158
bbf37bdc
JM
161592013-12-05 Joseph Myers <joseph@codesourcery.com>
16160
e47cc4e0
JM
16161 [BZ #6810]
16162 * math/w_tgamma.c: Include <errno.h>.
16163 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16164 * math/w_tgammaf.c: Include <errno.h>.
16165 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16166 * math/w_tgammal.c: Include <errno.h>.
16167 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16168 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16169 underflow. Add more tgamma tests.
16170 * math/auto-libm-test-out: Regenerated.
16171 * sysdeps/i386/fpu/libm-test-ulps: Update.
16172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16173
bbf37bdc
JM
16174 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16175 sin, sinh, tan, tanh, tgamma, y0 and y1.
16176 * math/auto-libm-test-out: Regenerated.
16177 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16178 (TEST_COND_x86): Likewise.
16179 (M_E2l): Remove macro.
16180 (M_E3l): Likewise.
16181 (M_2_SQRT_PIl): Likewise.
16182 (M_SQRT_PIl): Likewise.
16183 (M_1_DIV_El): Likewise.
16184 (log_test_data): Use AUTO_TESTS_f_f.
16185 (log10_test_data): Likewise.
16186 (log1p_test_data): Likewise.
16187 (log2_test_data): Likewise.
16188 (sin_test_data): Likewise.
16189 (sin_tonearest_test_data): Likewise.
16190 (sin_towardzero_test_data): Likewise.
16191 (sin_downward_test_data): Likewise.
16192 (sin_upward_test_data): Likewise.
16193 (sinh_test_data): Likewise.
16194 (sinh_tonearest_test_data): Likewise.
16195 (sinh_towardzero_test_data): Likewise.
16196 (sinh_downward_test_data): Likewise.
16197 (sinh_upward_test_data): Likewise.
16198 (tan_test_data): Likewise.
16199 (tan_tonearest_test_data): Likewise.
16200 (tan_towardzero_test_data): Likewise.
16201 (tan_downward_test_data): Likewise.
16202 (tan_upward_test_data): Likewise.
16203 (tanh_test_data): Likewise.
16204 (tgamma_test_data): Likewise.
16205 (y0_test_data): Likewise.
16206 (y1_test_data): Likewise.
16207 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16208 (special_real_inputs): Add pi/4.
16209 * sysdeps/i386/fpu/libm-test-ulps: Update.
16210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16211
eb5ad6b9
AZ
162122013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16213
16214 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16215 "longjmp_target" static probes.
16216 (__longjmp): Rename to __longjmp_symbol.
16217 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16218 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16219 on which longjmp to generate.
16220 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16221 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16222 probe.
16223 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16224 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16225 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16226 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16227 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16228 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16230 __longjmp_symbol based on which __longjmp to generate.
16231 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16232 probe.
16233 (setjmp): Rename to setjmp_symbol.
16234 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16235 (_setjmp): Rename to _setjmp_symbol.
16236 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16237 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16238 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16239 which setjmp to generate.
16240 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16241 "longjmp_target" static probes.
16242
d136c6dc
SP
162432013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16244
9298ecba
SP
16245 * benchtests/README: Add note about output arguments.
16246 * benchtests/bench-sincos.c: Remove file.
16247 * benchtests/sincos-inputs: New file.
16248 * scripts/bench.pl: Identify output arguments and define
16249 static variables for them.
16250
232983e9
SP
16251 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16252
d136c6dc
SP
16253 [BZ #15941]
16254 * Makefile (INSTALL): Add install-plain.texi as the primary
16255 dependency.
16256 * manual/install-plain.texi: New file.
16257 * manual/install.texi: Include node directive only for
16258 non-plaintext output.
16259
699ff837
JM
162602013-12-04 Joseph Myers <joseph@codesourcery.com>
16261
ab07cea8
JM
16262 * stdlib/longlong.h: Update from GCC.
16263
699ff837
JM
16264 [BZ #6807]
16265 [BZ #15901]
16266 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16267 * math/w_j0f.c (y0f): Likewise.
16268 * math/w_j0l.c (__y0l): Likewise.
16269 * math/w_j1.c (y1): Likewise.
16270 * math/w_j1f.c (y1f): Likewise.
16271 * math/w_j1l.c (__y1l): Likewise
16272 * math/w_jn.c (yn): Likewise.
16273 * math/w_jnf.c (ynf): Likewise.
16274 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16275 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16276 value for Bessel function domain errors outside _SVID_ mode.
16277 Adjust sign of return value for yn (negative integer, 0).
16278 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16279 by zero in return for negative x and set sign appropriately for
16280 negative n.
16281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16283 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16284 expectations in error cases.
16285 (y1_test_data): Likewise.
16286 (yn_test_data): Likewise.
16287 * sysdeps/i386/fpu/libm-test-ulps: Update.
16288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16289
5b118558
UW
162902013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16291
16292 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16293 "64" to "64-v1". Add "64-v2".
16294 (abi-64-options): Rename to ...
16295 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16296 (abi-64-condition): Rename to ...
16297 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16298 (abi-64-ld-soname): Rename to ...
16299 (abi-64-v1-ld-soname): ... this.
16300 (abi-64-v2-options): Define.
16301 (abi-64-v2-condition): Likewise.
16302 (abi-64-v2-ld-soname): Likewise.
16303 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16304 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16308
61cd8fe4
UW
163092013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16310 Alan Modra <amodra@gmail.com>
16311
16312 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16313 New versions for use with the ELFv2 ABI.
16314 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16315 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16316 declaration.
16317 (struct La_ppc64v2_retval): Likewise.
16318 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16319 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16320 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16321 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16322 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16324 Do not save or restore CR.
16325 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16326 (_dl_profile_resolve): Do no save or restore CR. Support extended
16327 return values for ELFv2 ABI. Fix location of FPR return registers.
16328 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16329 updated values for _CALL_ELF == 2.
16330 (La_regs, La_retval, int_retval): Likewise.
16331
8b8a692c
UW
163322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16333
16334 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16335 (FRAME_MIN_SIZE_PARM): Likewise.
16336 (FRAME_BACKCHAIN): Likewise.
16337 (FRAME_CR_SAVE): Likewise.
16338 (FRAME_LR_SAVE): Likewise.
16339 (FRAME_TOC_SAVE): Likewise.
16340 (FRAME_PARM_SAVE): Likewise.
16341 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16342 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16343 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16344 (call_mcount_parm_offset): New macro.
16345 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16346 (PROF): Use symbolic stack frame offsets.
16347 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16349 Redefine in terms of FRAME_MIN_SIZE.
16350 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16351 (_dl_profile_resolve): Likewise. Update comment.
16352 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16353 symbols stack frame offsets.
16354 (__sigsetjmp): Likewise.
16355 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16356 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16357 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16358 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16359
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16361 (FRAME_BACKCHAIN): Remove.
16362 (FRAME_CR_SAVE): Likewise.
16363 (FRAME_LR_SAVE): Likewise.
16364 (FRAME_COMPILER_DW): Likewise.
16365 (FRAME_LINKER_DW): Likewise.
16366 (FRAME_TOC_SAVE): Likewise.
16367 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16368 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16369 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16370 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16372 (CHECK_SP): Use symbolic stack frame offsets.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16374 zone" instead of caller's parameter save area for temp storage.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16376 Likewise. Also, use symbolic stack frame offsets.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16378 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16379 our own stack frame instead of the caller's.
16380 (__socket): Use symbolic stack frame offsets.
16381
122b66de
UW
163822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16383 Alan Modra <amodra@gmail.com>
16384
16385 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16386 Define.
57f41c40
AS
16387 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16388 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16389 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16390 New function.
16391 (elf_machine_fixup_plt): Call it.
16392 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16393 reloc arguments.
16394 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16395 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16396 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16397 r2 before calling target.
16398
696caf1d
UW
163992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16400 Alan Modra <amodra@gmail.com>
16401
16402 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16403 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16404 versions of macros to support ELFv2 ABI.
16405 (LOCALENTRY): New macro.
16406 (ENTRY, EALIGN): Use it.
16407 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16408 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16409 fall through into ENTRY entry point.
16410 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16411 Only define if _CALL_ELF != 2.
16412
16413 (elf_machine_matches_host): Verify ABI version matches.
16414 (RTLD_START): Use LOCALENTRY.
16415 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16416 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16417 (PLT_ENTRY_WORDS): New macro.
16418 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16419 (elf_machine_runtime_setup): Support ELFv2 ABI.
16420 (elf_machine_fixup_plt): Likewise.
16421 (elf_machine_plt_conflict): Likewise.
16422 (resolve_ifunc): Likewise.
16423 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16424 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16425 Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16427 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16429 (makecontext): Support ELFv2 ABI.
16430 * elf/elf.h (EF_PPC64_ABI): Define.
16431
d31beafa
UW
164322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16433
57f41c40
AS
16434 * sysdeps/powerpc/powerpc64/sysdep.h
16435 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16436 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16437 (ENTRY) [ASSEMBLER]: ... but instead here ...
16438 (EALIGN) [ASSEMBLER]: ... and here.
16439 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16440 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16441 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16442 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16443 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16444 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16445 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16446 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16448 Use PPC64_LOAD_FUNCPTR.
16449
b525166b
UW
16450 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16451
7ec07d9a
AM
164522013-12-04 Alan Modra <amodra@gmail.com>
16453
16454 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16455 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16456 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16457 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16458
16459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16460 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16461 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16462 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16463 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16464 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16465
5162e7dd
UW
164662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16467
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16469 (__makecontext): Fix incorrect CFI when backtracing out of
16470 context created via makecontext.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16472 (__setcontext): Fix incorrect CFI during switch to new context.
16473 (__novec_setcontext): Likewise.
16474
19e3372b
OB
164752013-12-04 Ondřej Bílka <neleai@seznam.cz>
16476
16477 [BZ #4772]
16478 * time/strptime_l.c (__strptime_internal): Allow modifiers
16479 in strptime.
16480 * time/tst-strptime.c (day_tests): Add testcase.
16481
ecaf142d
SP
164822013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16483
16484 * scripts/bench.pl: Skip over blank lines.
16485
fbf964ae
PE
164862013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16487
16488 [BZ #926]
16489 * manual/time.texi (Calendar Time): Clarify what timezone functions
16490 use.
16491
fa60a674
AZ
164922013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16493
16494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16495
d674f0ef
OB
164962013-12-04 Ondřej Bílka <neleai@seznam.cz>
16497
16498 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16499 implementation.
16500 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16501 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16502 * debug/memset_chk.c (__memset_chk): Likewise.
16503 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16504 * debug/strncpy_chk.c: Likewise.
16505
17dea188
JM
165062013-12-03 Joseph Myers <joseph@codesourcery.com>
16507
749008ff
JM
16508 [BZ #15268]
16509 [BZ #15425]
16510 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16511 (__ieee754_exp): For possibly underflowing results, check size of
16512 result and force underflow exception if required.
16513 * math/auto-libm-test-in: Add more tests of exp.
16514 * math/auto-libm-test-out: Regenerated.
16515 * sysdeps/i386/fpu/libm-test-ulps: Update.
16516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16517
17dea188
JM
16518 [BZ #16283]
16519 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16520 * math/w_exp2f.c (__exp2f): Likewise.
16521 * math/w_exp2l.c (__exp2l): Likewise.
16522 * math/auto-libm-test-in: Do not allow missing errno on exp2
16523 underflow.
16524 * math/auto-libm-test-out: Regenerated.
16525
b20de2c3
OB
165262013-12-03 Ondřej Bílka <neleai@seznam.cz>
16527
16528 [BZ #16274]
16529 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16530 handle filename validation.
16531 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16532 (do_open): Delete.
16533
d8e2dbe3
JM
165342013-12-03 Joseph Myers <joseph@codesourcery.com>
16535
34e16df5
JM
16536 [BZ #6786]
16537 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16538 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16539 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16540 <float.h>.
16541 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16543 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16545 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16547 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16548 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16549 Add more erfc tests.
16550 * math/auto-libm-test-out: Regenerated.
16551 * sysdeps/i386/fpu/libm-test-ulps: Update.
16552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16553
d8e2dbe3
JM
16554 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16555 exp2, expm1, j0 and j1.
16556 * math/auto-libm-test-out: Regenerated.
16557 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16558 (erfc_test_data): Likewise.
16559 (exp_test_data): Likewise.
16560 (exp_tonearest_test_data): Likewise.
16561 (exp_towardzero_test_data): Likewise.
16562 (exp_downward_test_data): Likewise.
16563 (exp_upward_test_data): Likewise.
16564 (exp10_test_data): Likewise.
16565 (exp2_test_data): Likewise.
16566 (expm1_test_data): Likewise.
16567 (j0_test_data): Likewise.
16568 (j1_test_data): Likewise.
16569 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16570 (input_flag_type): Add flag_xfail_rounding.
16571 (input_flags): Add xfail-rounding.
16572 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16573 (output_for_one_input_case): Handle flag_xfail_rounding.
16574 * sysdeps/i386/fpu/libm-test-ulps: Update.
16575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16576
18d14251
AJ
165772013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16578
3d2e6075 16579 [BZ #16289]
18d14251
AJ
16580 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16581 division by 0.
16582
520d437b
SP
165832013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16584
16585 [BZ #16195]
16586 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16587 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16588 (STAP_PROBE0): New macro.
16589 (STAP_PROBE1): Likewise.
16590 (STAP_PROBE2): Likewise.
16591 (STAP_PROBE3): Likewise.
16592 (STAP_PROBE4): Likewise.
16593
416e0145
OB
165942013-12-02 Ondřej Bílka <neleai@seznam.cz>
16595
16596 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16597
9d17796a
SE
165982013-12-02 Steve Ellcey <sellcey@mips.com>
16599
16600 * benchtests/Makefile (bench): Add sqrt.
16601 (LDLIBS-bench-sqrt): New.
16602 * benchtests/sqrt-input: New.
16603
f524d6a8
PS
166042013-12-02 Pavel Simerda <psimerda@redhat.com>
16605
639a0ef8
PS
16606 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16607 (GAIH_EAI): Likewise.
16608 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16609 (gaih_inet): Likewise.
16610 (getaddrinfo): Don't use GAIH_EAI.
16611
f524d6a8
PS
16612 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16613 (struct gaih): Remove definition.
16614
df3aedaf
SP
166152013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16618 Use HERRNOP directly.
16619
1ab19dec
AZ
166202013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16621
b42ad38d 16622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16623
176b0c79
JM
166242013-11-30 Joseph Myers <joseph@codesourcery.com>
16625
16626 * math/gen-auto-libm-tests.c (test_functions): Add more
16627 single-argument functions.
16628 (special_fill_pi_2): New function.
16629 (special_fill_minus_pi_2): Likewise.
16630 (special_fill_pi_6): Likewise.
16631 (special_fill_minus_pi_6): Likewise.
16632 (special_fill_pi_3): Likewise.
16633 (special_fill_2pi_3): Likewise.
16634 (special_fill_e): Likewise.
16635 (special_fill_1_e): Likewise.
16636 (special_fill_e_minus_1): Likewise.
16637 (special_real_inputs): Add more special inputs.
16638 (output_for_one_input_case): Do not require ERANGE on underflow to
16639 zero if round-to-nearest result does not underflow to zero, unless
16640 exact results required.
16641 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16642 atan, atanh, cbrt, cos and cosh.
16643 * math/auto-libm-test-out: Regenerated.
16644 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16645 (acos_tonearest_test_data): Likewise.
16646 (acos_towardzero_test_data): Likewise.
16647 (acos_downward_test_data): Likewise.
16648 (acos_upward_test_data): Likewise.
16649 (acosh_test_data): Likewise.
16650 (asin_test_data): Likewise.
16651 (asin_tonearest_test_data): Likewise.
16652 (asin_towardzero_test_data): Likewise.
16653 (asin_upward_test_data): Likewise.
16654 (asinh_test_data): Likewise.
16655 (atan_test_data): Likewise.
16656 (atanh_test_data): Likewise.
16657 (cbrt_test_data): Likewise.
16658 (cos_test_data): Likewise.
16659 (cos_tonearest_test_data): Likewise.
16660 (cos_towardzero_test_data): Likewise.
16661 (cos_downward_test_data): Likewise.
16662 (cos_upward_test_data): Likewise.
16663 (cosh_test_data): Likewise.
16664 (cosh_tonearest_test_data): Likewise.
16665 (cosh_towardzero_test_data): Likewise.
16666 (cosh_downward_test_data): Likewise.
16667 (cosh_upward_test_data): Likewise.
16668 * sysdeps/i386/fpu/libm-test-ulps: Update.
16669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16670
ffb536d0
JM
166712013-11-29 Joseph Myers <joseph@codesourcery.com>
16672
2a77a467
JM
16673 [BZ #6787]
16674 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16675 * math/w_exp10f.c (__exp10f): Likewise.
16676 * math/w_exp10l.c (__exp10l): Likewise.
16677 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16678 errno settings in existing tests.
16679
ea3bc4e8
JM
16680 [BZ #14032]
16681 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16682 precision control set to double precision.
16683 * sysdeps/i386/fpu/w_sqrt.c: New file.
16684 * math/auto-libm-test-in: Add more tests.
16685 * math/auto-libm-test-out: Update.
16686
0712c9d8
JM
16687 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16688 (sqrt_test_tonearest): New function.
16689 (sqrt_towardzero_test_data): New variable.
16690 (sqrt_test_towardzero): New function.
16691 (sqrt_downward_test_data): New variable.
16692 (sqrt_test_downward): New function.
16693 (sqrt_upward_test_data): New variable.
16694 (sqrt_test_upward): New function.
16695 (main): Call the new functions.
16696
ffb536d0
JM
16697 * math/gen-auto-libm-tests.c: New file.
16698 * math/auto-libm-test-in: Likewise.
16699 * math/auto-libm-test-out: New generated file.
16700 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16701 variables.
16702 (%beautify): Add generated representations of zero.
16703 (top level): Set $auto_input and call parse_auto_input.
16704 (beautify): Remove trailing "f" from hex float constants.
16705 (parse_args): Handle XFAIL_TEST.
16706 (convert_condition): New function.
16707 (or_value): Likewise.
16708 (or_cond_value): Likewise.
16709 (generate_testfile): Handle AUTO_TESTS_* lines.
16710 (parse_auto_input): New function.
16711 * math/libm-test.inc (XFAIL_TEST): New macro.
16712 (ERRNO_UNCHANGED): Update value.
16713 (ERRNO_EDOM): Likewise.
16714 (ERRNO_ERANGE): Likewise.
16715 (IGNORE_RESULT): Likewise.
16716 (TEST_COND_flt_32): New macro.
16717 (TEST_COND_dbl_64): Likewise.
16718 (TEST_COND_ldbl_96_intel): Likewise.
16719 (TEST_COND_ldbl_96_m68k): Likewise.
16720 (TEST_COND_ldbl_128): Likewise.
16721 (TEST_COND_ldbl_128ibm): Likewise.
16722 (TEST_COND_long32): Likewise.
16723 (TEST_COND_long64): Likewise.
16724 (TEST_COND_before_rounding): Likewise.
16725 (TEST_COND_after_rounding): Likewise.
16726 (enable_test): Handle XFAIL_TEST flag.
16727 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16728 with finite results.
16729 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16730 auto-libm-test-out.
16731
acd98a8e
AK
167322013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16733 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16734
16735 [BZ #16214]
16736 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16737 __tls_get_addr_internal instead of __tls_get_offset in order to
16738 avoid GOT pointer dependency. Make rtld export
16739 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16740 __tls_get_addr since we are a __tls_get_offset platform.
16741 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16742 GOT pointer being set up before.
16743 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16744
3c1c46a6
JM
167452013-11-28 Joseph Myers <joseph@codesourcery.com>
16746
7475aef5
JM
16747 * manual/math.texi (Errors in Math Functions): Document accuracy
16748 goals.
16749
8bca7cd8
JM
16750 [BZ #15004]
16751 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16752 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16767
91a1f3fe
JM
16768 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16769 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16770 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16771 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16772 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16773 Likewise.
16774 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16775 Likewise.
16776 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16777 Likewise.
16778 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16779 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16780 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16781 atomic-feupdateenv and flt-rounds.
16782 * sysdeps/powerpc/nofpu/Versions (libc): Add
16783 __atomic_feholdexcept, __atomic_feclearexcept,
16784 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16785 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16786 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16787 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16788 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16789 here.
16790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16791 Update.
16792
c5df7609
JM
16793 * manual/arith.texi (FP Exceptions): Document that exceptions may
16794 not be raised when matherr is used.
16795 (Math Error Reporting): Document overflow in directed rounding
16796 modes. Document that errno may not be set when finite values are
16797 returned on overflow. Document intent to set errno on underflow
16798 only for underflow to zero.
16799
3c1c46a6
JM
16800 [BZ #16271]
16801 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16802 round-to-nearest then adjust result for other rounding modes.
16803 * include/fenv.h (fegetround): Use libm_hidden_proto.
16804 * math/fegetround.c (fegetround): Use libm_hidden_def.
16805 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16806 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16807 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16808 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16809 Likewise.
16810 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16811 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16812 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16813 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16814
5a4c6d53
SP
168152013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16816
16817 [BZ #16077]
16818 * nss/Versions (libnss_files): Add
16819 _nss_files_gethostbyname3_r.
16820 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16821 New function.
16822 (HOST_DB_LOOKUP): Remove macro.
16823 (_nss_files_gethostbyname_r): Implement function without the
16824 HOST_DB_LOOKUP macro.
16825 (_nss_files_gethostbyname2_r): Likewise.
16826
897b98ba
OB
168272013-11-28 Ondřej Bílka <neleai@seznam.cz>
16828
16829 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16830
6f476861
UB
168312013-11-26 Uros Bizjak <ubizjak@gmail.com>
16832
16833 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16834 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16835 warning.
16836
bd12ab55
AZ
168372013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16838
16839 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16840 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16841 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16842 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16843 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16844 __fe_nomask_env_priv and attribute_hidden.
16845 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16846 (libc_feupdateenv_test_ppc): Likewise.
16847 (libc_feresetround_ppc): Likewise.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16849 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16850 compat_symbol macro.
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16852 (__fe_nomask_env): Likewise.
16853 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16854
52bb6543
OB
168552013-11-26 Ondřej Bílka <neleai@seznam.cz>
16856
16857 * string/Makefile: Remove ifunc tests.
16858 * string/test-string.h: Define TEST_IFUNC.
16859 * string/test-bcopy-ifunc.c: Remove.
16860 * string/test-bzero-ifunc.c: Likewise.
16861 * string/test-memccpy-ifunc.c: Likewise.
16862 * string/test-memchr-ifunc.c: Likewise.
16863 * string/test-memcmp-ifunc.c: Likewise.
16864 * string/test-memcpy-ifunc.c: Likewise.
16865 * string/test-memmem-ifunc.c: Likewise.
16866 * string/test-memmove-ifunc.c: Likewise.
16867 * string/test-mempcpy-ifunc.c: Likewise.
16868 * string/test-memrchr-ifunc.c: Likewise.
16869 * string/test-memset-ifunc.c: Likewise.
16870 * string/test-rawmemchr-ifunc.c: Likewise.
16871 * string/test-stpcpy-ifunc.c: Likewise.
16872 * string/test-stpncpy-ifunc.c: Likewise.
16873 * string/test-strcasecmp-ifunc.c: Likewise.
16874 * string/test-strcasestr-ifunc.c: Likewise.
16875 * string/test-strcat-ifunc.c: Likewise.
16876 * string/test-strchr-ifunc.c: Likewise.
16877 * string/test-strchrnul-ifunc.c: Likewise.
16878 * string/test-strcmp-ifunc.c: Likewise.
16879 * string/test-strcpy-ifunc.c: Likewise.
16880 * string/test-strcspn-ifunc.c: Likewise.
16881 * string/test-strlen-ifunc.c: Likewise.
16882 * string/test-strncasecmp-ifunc.c: Likewise.
16883 * string/test-strncat-ifunc.c: Likewise.
16884 * string/test-strncmp-ifunc.c: Likewise.
16885 * string/test-strncpy-ifunc.c: Likewise.
16886 * string/test-strnlen-ifunc.c: Likewise.
16887 * string/test-strpbrk-ifunc.c: Likewise.
16888 * string/test-strrchr-ifunc.c: Likewise.
16889 * string/test-strspn-ifunc.c: Likewise.
16890 * string/test-strstr-ifunc.c: Likewise.
16891
ab260039 168922013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16893
16894 * benchtests/Makefile: Remove ifunc tests.
16895 * benchtests/bench-string.h: Define TEST_IFUNC.
16896 * benchtests/bench-bcopy-ifunc.c: Remove.
16897 * benchtests/bench-bzero-ifunc.c: Likewise.
16898 * benchtests/bench-memccpy-ifunc.c: Likewise.
16899 * benchtests/bench-memchr-ifunc.c: Likewise.
16900 * benchtests/bench-memcmp-ifunc.c: Likewise.
16901 * benchtests/bench-memcpy-ifunc.c: Likewise.
16902 * benchtests/bench-memmem-ifunc.c: Likewise.
16903 * benchtests/bench-memmove-ifunc.c: Likewise.
16904 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16905 * benchtests/bench-memrchr-ifunc.c: Likewise.
16906 * benchtests/bench-memset-ifunc.c: Likewise.
16907 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16908 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16909 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16910 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16911 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16912 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16913 * benchtests/bench-strcat-ifunc.c: Likewise.
16914 * benchtests/bench-strchr-ifunc.c: Likewise.
16915 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16916 * benchtests/bench-strcmp-ifunc.c: Likewise.
16917 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16918 * benchtests/bench-strcpy-ifunc.c: Likewise.
16919 * benchtests/bench-strcspn-ifunc.c: Likewise.
16920 * benchtests/bench-strlen-ifunc.c: Likewise.
16921 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16922 * benchtests/bench-strncat-ifunc.c: Likewise.
16923 * benchtests/bench-strncmp-ifunc.c: Likewise.
16924 * benchtests/bench-strncpy-ifunc.c: Likewise.
16925 * benchtests/bench-strnlen-ifunc.c: Likewise.
16926 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16927 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16928 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16929 * benchtests/bench-strspn-ifunc.c: Likewise.
16930 * benchtests/bench-strstr-ifunc.c: Likewise.
16931
169322013-11-26 Ondřej Bílka <neleai@seznam.cz>
16933
ab260039
OB
16934 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16935
d1d9eaf4 169362013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16937
d1d9eaf4
OB
16938 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16939 * rt/aio.h: Likewise.
16940 * sysdeps/gnu/bits/utmp.h: Likewise.
16941 * sysdeps/gnu/bits/utmpx.h: Likewise.
16942 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16943 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16944 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16945 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16946 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16947 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16948 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16949 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16950 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16951 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16952 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16953 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16954 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16956 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16957 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16958 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16959 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16960 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16961 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16962 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16963 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16964 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16965 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16966 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16968 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16970 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16971 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16972 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16973 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16974 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16975 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16976 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16977 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16978 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16979 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16980 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16981 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16982 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16983 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16984
a7624ed9
CD
169852013-11-25 Carlos O'Donell <carlos@redhat.com>
16986
16987 [BZ #16245]
16988 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16989 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16990
63cfe52b
JM
169912013-11-25 Joseph Myers <joseph@codesourcery.com>
16992
16993 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16994 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16995 Likewise.
16996
41e8926a
AZ
169972013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16998
16999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17000 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17001 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17002 (__fesetround): Remove define.
17003 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17004 rounding and exceptions handling.
17005 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17006 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17007 (__fe_nomask_env): Likewise.
17008 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17009 __fegetround instead of fegetround.
17010 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17012
6851bd4d
RM
170132013-11-21 Roland McGrath <roland@hack.frob.com>
17014
070906ff
RM
17015 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17016 it's there.
17017
6851bd4d
RM
17018 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17019
84ae135d
MI
170202013-11-21 Meador Inge <meadori@codesourcery.com>
17021
17022 [BZ #11157]
17023 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17024 (encrypt_r): Likewise.
17025 * malloc/obstack.h (obstack_free): Likewise.
17026 * posix/unistd.h (encrypt): Likewise.
17027
daf75146
GM
170282013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17029
17030 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17031 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17032 DL_CALL_DT_FINI() that call the functions directly.
17033 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17034 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17035 * elf/dl-fini.c: Likewise.
17036
10ad46bc
OB
170372013-11-20 Ondřej Bílka <neleai@seznam.cz>
17038
17039 * malloc/hooks.c (memalign_check): Add alignment rounding.
17040 * malloc/malloc.c (_mid_memalign): New function.
17041 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17042 Implement by calling _mid_memalign.
17043 * manual/probes.texi (Memory Allocation Probes): Remove
17044 memory_valloc_retry and memory_pvalloc_retry.
17045
f3fd2628
SP
170462013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17047
4712799f
SP
17048 * locale/programs/locarchive.c (open_archive): Add const
17049 qualifier to ARCHIVEFNAME and copy default fname to
17050 DEFAULT_FNAME.
17051
0417b20f
SP
17052 [BZ #15601]
17053 * libio/tst-widetext.input: Rename Oriya to Odia.
17054 * locale/iso-639.def: Likewise.
17055
f3fd2628
SP
17056 * manual/probes.texi (Mathematical Function Probes): Add
17057 documentation for sin, cos, asin and acos probes.
17058 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17059 (__sin32): Add slowasin probe.
17060 (__cos32): Add slowacos probe.
17061 (__mpsin): Add slowsin probe.
17062 (__mpcos): Add slowcos probe.
17063
73c1ce4f
JM
170642013-11-19 Joseph Myers <joseph@codesourcery.com>
17065
17066 [BZ #15483]
17067 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17068 thread-local __sim_exceptions_thread and global
17069 __sim_exceptions_global.
17070 (__sim_disabled_exceptions): Change to thread-local
17071 __sim_disabled_exceptions_thread and global
17072 __sim_disabled_exceptions_global.
17073 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17074 and global __sim_round_mode_global.
17075 (__simulate_exceptions): Use thread-local floating-point state and
17076 set global state from it as needed.
17077 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17078 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17079 __sim_round_mode_thread.
17080 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17081 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17082 and global __sim_exceptions_global.
17083 (__sim_disabled_exceptions): Change to thread-local
17084 __sim_disabled_exceptions_thread and global
17085 __sim_disabled_exceptions_global.
17086 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17087 and global __sim_round_mode_global.
17088 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17089 (SIM_SET_GLOBAL): Likewise.
17090 * sysdeps/powerpc/soft-fp/sfp-machine.h
17091 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17092 __sim_round_mode_thread.
17093 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17094 __sim_disabled_exceptions_thread.
17095 (__sim_exceptions): Change to __sim_exceptions_thread.
17096 (__sim_disabled_exceptions): Change to
17097 __sim_disabled_exceptions_thread.
17098 (__sim_round_mode): Change to __sim_round_mode_thread.
17099 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17100 thread-local floating-point state and set global state from it as
17101 needed.
17102 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17103 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17104 (__sim_disabled_exceptions): Remove extern declaration.
17105 (feenableexcept): Use thread-local floating-point state and set
17106 global state from it as needed.
17107 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17108 extern declaration.
17109 (__sim_disabled_exceptions): Likewise.
17110 (__sim_round_mode): Likewise.
17111 (__fegetenv): Use thread-local floating-point state.
17112 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17113 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17114 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17115 floating-point state and set global state from it as needed.
17116 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17117 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17118 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17119 Likewise.
17120 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17121 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17122 Likewise.
17123 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17124 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17125 Use __sim_round_mode_thread.
17126 * math/test-fenv-tls.c: New file.
17127 * math/Makefile (tests): Add test-fenv-tls.
17128 ($(objpfx)test-fenv-tls): Depend on
17129 $(common-objpfx)nptl/libpthread.so.
17130
b5449b12
AS
171312013-11-19 Andreas Schwab <schwab@suse.de>
17132
17133 * locale/programs/locale.c (show_info): Decode wordarray elements.
17134 * locale/categories.def (LC_MONETARY): Add element for
17135 _NL_MONETARY_CRNCYSTR.
17136 * locale/C-monetary.c (conversion_rate): New variable.
17137 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17138 element.
17139
e186536b
CM
171402013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17141
17142 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17143 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17144
5c349950
PP
171452013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17146
17147 * elf/Makefile (tst-auxv): New test.
17148 * elf/tst-auxv.c: New
17149 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17150
699df45b
JM
171512013-11-18 Joseph Myers <joseph@codesourcery.com>
17152
17153 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17154 (hidden_proto): Caller changed.
17155 (hidden_tls_proto): New macro.
17156 (libc_hidden_tls_proto): Likewise.
17157 (rtld_hidden_tls_proto): Likewise.
17158 (libm_hidden_tls_proto): Likewise.
17159 (libresolv_hidden_tls_proto): Likewise.
17160 (librt_hidden_tls_proto): Likewise.
17161 (libdl_hidden_tls_proto): Likewise.
17162 (libnss_files_hidden_tls_proto): Likewise.
17163 (libnsl_hidden_tls_proto): Likewise.
17164 (libnss_nisplus_hidden_tls_proto): Likewise.
17165 (libutil_hidden_tls_proto): Likewise.
17166
b7589107
OB
171672013-11-18 Ondřej Bílka <neleai@seznam.cz>
17168
17169 [BZ #10253]
17170 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17171 (decompose_rpath): Defer expansion to fillin_rpath.
17172 (_dl_init_paths): Pass linkmap to fillin_rpath.
17173
250c23bd
RS
171742013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17175
17176 * benchtests/Makefile: Add strsep.
17177 * benchtests/bench-strsep.c: New file: strsep benchtest.
17178 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17179
a7931fcf
AS
171802013-11-18 Andreas Schwab <schwab@suse.de>
17181
17182 * locale/programs/locale.c (show_info) [case byte]: Check for
17183 '\377' instead of '\177'.
17184 * locale/C-monetary.c (not_available): Always use "\377".
17185 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17186 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17187 detect unavailable sign_posn locale elements.
17188 * locale/localeconv.c (__localeconv): For grouping and
17189 mon_grouping handle "\177" and "\377" like no grouping.
17190 (INT_ELEM): New macro. Use it to set all numeric members.
17191 * locale/programs/ld-monetary.c (monetary_read)
17192 <tok_mon_grouping>: Normalize single -1 to the empty string.
17193 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17194 Likewise.
17195
728dab0e
OB
171962013-11-07 Ondřej Bílka <neleai@seznam.cz>
17197
17198 [BZ #16055]
17199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17200 when we match (nil).
17201 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17202
66294491
JM
172032013-11-16 Joseph Myers <joseph@codesourcery.com>
17204
ce665817
JM
17205 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17206 (NO_TEST_INLINE): Update value.
17207 (ERRNO_UNCHANGED): Likewise.
17208 (ERRNO_EDOM): Likewise.
17209 (ERRNO_ERANGE): Likewise.
17210 (IGNORE_RESULT): Likewise.
17211 (check_float_internal): Check signs of NaN results if
17212 TEST_NAN_SIGN used.
17213 (check_complex): Pass TEST_NAN_SIGN flag through to second
17214 check_float_internal call.
17215 (copysign_test_data): Add tests with quiet NaNs as second
17216 argument. Use TEST_NAN_SIGN.
17217 (fabs_test_data): Add test of negative quiet NaN argument. Use
17218 TEST_NAN_SIGN.
17219 (signbit_test_data): Add tests of quiet NaN argument.
17220 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17221
ee1466a9
JM
17222 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17223 $ignore_result.
17224 (parse_args): Handle function results specified as IGNORE.
17225 * math/libm-test.inc (IGNORE_RESULT): New macro.
17226 (check_float_internal): Do not check numerical result if flag
17227 IGNORE_RESULT set.
17228 (check_complex): Pass through IGNORE_RESULT to second
17229 check_float_internal call.
17230 (check_int): Do not check numerical result if flag IGNORE_RESULT
17231 set.
17232 (check_long): Likewise.
17233 (check_bool): Likewise.
17234 (check_longlong): Likewise.
17235 (lrint_test_data): Add tests of infinite and NaN arguments.
17236 (lrint_tonearest_test_data): Likewise.
17237 (lrint_towardzero_test_data): Likewise.
17238 (lrint_downward_test_data): Likewise.
17239 (lrint_upward_test_data): Likewise.
17240 (llrint_test_data): Likewise.
17241 (llrint_tonearest_test_data): Likewise.
17242 (llrint_towardzero_test_data): Likewise.
17243 (llrint_downward_test_data): Likewise.
17244 (llrint_upward_test_data): Likewise.
17245 (lround_test_data): Likewise.
17246 (llround_test_data): Likewise.
17247
14407b7e
JM
17248 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17249 (ERRNO_UNCHANGED): Update value.
17250 (ERRNO_EDOM): Likewise.
17251 (ERRNO_ERANGE): Likewise.
17252 (NO_TEST_INLINE_FLOAT): New macro.
17253 (NO_TEST_INLINE_DOUBLE): Likewise.
17254 (enable_test): New function.
17255 (RUN_TEST_f_f): Check enable_test before running test.
17256 (RUN_TEST_2_f): Likewise.
17257 (RUN_TEST_fff_f): Likewise.
17258 (RUN_TEST_c_f): Likewise.
17259 (RUN_TEST_f_f1): Likewise.
17260 (RUN_TEST_fF_f1): Likewise.
17261 (RUN_TEST_fI_f1): Likewise.
17262 (RUN_TEST_ffI_f1): Likewise.
17263 (RUN_TEST_c_c): Likewise.
17264 (RUN_TEST_cc_c): Likewise.
17265 (RUN_TEST_f_i): Likewise.
17266 (RUN_TEST_f_i_tg): Likewise.
17267 (RUN_TEST_ff_i_tg): Likewise.
17268 (RUN_TEST_f_b): Likewise.
17269 (RUN_TEST_f_b_tg): Likewise.
17270 (RUN_TEST_f_l): Likewise.
17271 (RUN_TEST_f_L): Likewise.
17272 (RUN_TEST_fFF_11): Likewise.
17273 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17274 conditionals.
17275 (cosh_test_data): Likewise.
17276 (exp_test_data): Likewise.
17277 (expm1_test_data): Likewise.
17278 (hypot_test_data): Likewise.
17279 (pow_test_data): Likewise.
17280 (sinh_test_data): Likewise.
17281 (tanh_test_data): Likewise.
17282 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17283 flags argument.
17284
ca07f197
JM
17285 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17286 tests with quiet NaN input and output.
17287 (acosh_test_data): Likewise.
17288 (asin_test_data): Likewise.
17289 (asinh_test_data): Likewise.
17290 (atan_test_data): Likewise.
17291 (atanh_test_data): Likewise.
17292 (atan2_test_data): Likewise.
17293 (cbrt_test_data): Likewise.
17294 (cos_test_data): Likewise.
17295 (cosh_test_data): Likewise.
17296 (erf_test_data): Likewise.
17297 (erfc_test_data): Likewise.
17298 (exp_test_data): Likewise.
17299 (exp10_test_data): Likewise.
17300 (exp2_test_data): Likewise.
17301 (expm1_test_data): Likewise.
17302 (hypot_test_data): Likewise.
17303 (j0_test_data): Likewise.
17304 (j1_test_data): Likewise.
17305 (jn_test_data): Likewise.
17306 (lgamma_test_data): Likewise.
17307 (log_test_data): Likewise.
17308 (log10_test_data): Likewise.
17309 (log1p_test_data): Likewise.
17310 (log2_test_data): Likewise.
17311 (pow_test_data): Likewise.
17312 (scalb_test_data): Likewise.
17313 (sin_test_data): Likewise.
17314 (sincos_test_data): Likewise.
17315 (sinh_test_data): Likewise.
17316 (tan_test_data): Likewise.
17317 (tanh_test_data): Likewise.
17318 (tgamma_test_data): Likewise.
17319 (y0_test_data): Likewise.
17320 (y1_test_data): Likewise.
17321 (yn_test_data): Likewise.
17322
66294491
JM
17323 [BZ #16167]
17324 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17325 argument being NaN and avoid computations with second argument in
17326 that case.
17327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17329 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17330
1820b143
CL
173312013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17332
17333 * locale/iso-639.def: Add Chitwani Tharu (the).
17334
714bd261
AS
173352013-11-14 Andreas Schwab <schwab@suse.de>
17336
17337 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17338 word instead of empty string.
17339
7ab44563
AZ
173402013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17341
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17343 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17345 (__fe_nomask_env): Likewise.
17346
e8470ea2
SE
173472013-11-13 Steve Ellcey <sellcey@mips.com>
17348
17349 * benchtests/bench-timing.h: Include time.h.
17350
17c1d9f0
L
173512013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17352
17353 [BZ #15997]
17354 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17355 to 3.4.0 for x32.
17356 * sysdeps/unix/sysv/linux/configure: Regenerated.
17357
9310c284
JM
173582013-11-13 Joseph Myers <joseph@codesourcery.com>
17359
17360 [BZ #16151]
17361 * stdlib/strtod_l.c (round_and_return): Do not consider
17362 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17363 exponent one less than half the least subnormal exponent.
17364 * stdlib/test-strtod-round-data: Add more tests.
17365 * stdlib/tst-strtod-round.c (tests): Regenerated.
17366
7a2ad8cf
AZ
173672013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17368
17369 [BZ #14143]
17370 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17371 (__fe_mask_env): Likewise.
17372 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17373 libm_hidden_proto and add function prototype.
17374 (__fe_mask_env): Add function prototype.
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17376 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17378 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17380 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17381
50727aa7
MS
173822013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17383
b2f386c1 17384 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17385 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17386
a615be46
MS
173872013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17388
17389 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17390 of htab_find_slot().
17391
7ddace62
DM
173922013-11-11 David S. Miller <davem@davemloft.net>
17393
17394 [BZ #16150]
17395 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17396 symbol in the non-vis3 case in static builds.
17397 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17398 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17399 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17400 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17401
9182aa67
JK
174022013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17403
17404 [BZ #387]
17405 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17406 it is empty.
17407
450a2e2d
AZ
174082013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17409
b2f386c1
SP
17410 * benchtests/Makefile: Add bench-strtod.
17411 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17412
8ec3f656
AS
174132013-11-11 Andreas Schwab <schwab@suse.de>
17414
17415 [BZ #16153]
17416 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17417 terminating NUL in key length.
17418
76a9b998
AZ
174192013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17420
17421 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17422 Add artificial ODP entry for vDSO symbol for PPC64.
17423 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17424 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17425
e4368156
OB
174262013-11-07 Ondřej Bílka <neleai@seznam.cz>
17427
17428 [BZ #15374]
17429 * nss/getent.c (services_keys): Recognize services starting with digit.
17430
8d6bb57c
DM
174312013-11-06 David S. Miller <davem@davemloft.net>
17432
17433 [BZ #15985]
17434 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17435 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17436
e256c421
WN
174372013-11-06 Will Newton <will.newton@linaro.org>
17438
17439 * manual/memory.texi (Malloc Examples): Remove register
17440 keyword from examples.
17441
f6e12daa 174422013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17443
f6e12daa 17444 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17445
9d880655
AS
174462013-11-04 Joseph Myers <joseph@codesourcery.com>
17447
fd2f9486 17448 [BZ #6981]
9d880655
AS
17449 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17450 depending on [__GCC_IEC_559 > 0].
17451 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17452 depending on [__GCC_IEC_559_COMPLEX > 0].
17453
ae129d3c
CL
174542013-11-03 Chris Leonard <cjl@sugarlabs.org>
17455
17456 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17457 to iso-639.def.
17458
4a15c2a4 174592013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17460
17461 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17462
8b35e35d
OB
174632013-11-01 Ondřej Bílka <neleai@seznam.cz>
17464
17465 [BZ #16112]
17466 * malloc/malloc (malloc_info): Do not handle first bin as
17467 special case.
17468
1d70fd6c
CL
174692013-11-01 Chris Leonard <cjl@sugarlabs.org>
17470
17471 * locale/iso-639.def: Add Central Nahuatl (nhn).
17472
8c5c2600
BH
174732013-11-01 Bruno Haible <bruno@clisp.org>
17474
17475 [BZ #7003]
17476 * manual/math.texi (BSD Random): Specify range upper bound as
17477 in POSIX.
17478
da5579c2
CL
174792013-10-31 Chris Leonard <cjl@sugarlabs.org>
17480
17481 * locale/iso-639.def: Add Meadow Mari (mhr).
17482
5d30d853
OB
174832013-10-31 Ondřej Bílka <neleai@seznam.cz>
17484
17485 [BZ #14752], [BZ #15763]
17486 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17487 Validate name.
17488 * rt/tst_shm.c: Add test for escaping directory.
17489
a4966c61
AS
174902013-10-31 Andreas Schwab <schwab@suse.de>
17491
8a43e768 17492 [BZ #15917]
a4966c61
AS
17493 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17494 followed by 'x' as part of digit sequence.
17495 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17496
28d708c4
MAP
174972013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17498
17499 [BZ #16037]
17500 * configure.ac: allow GNU Make 4.0 and greater.
17501 * configure: Regenerated.
17502
a56ee40b
WN
175032013-10-30 Will Newton <will.newton@linaro.org>
17504
17505 [BZ #16038]
17506 * malloc/hooks.c (memalign_check): Limit alignment to the
17507 maximum representable power of two.
17508 * malloc/malloc.c (__libc_memalign): Likewise.
17509 * malloc/tst-memalign.c (do_test): Add test for very
17510 large alignment values.
17511 * malloc/tst-posix_memalign.c (do_test): Likewise.
17512
c6e4925d
OB
175132013-10-30 Ondřej Bílka <neleai@seznam.cz>
17514
17515 [BZ #11087]
17516 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17517 (munmap_chunk): Likewise.
17518 (mremap_chunk): Likewise.
17519
175202013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17521
8a43e768 17522 [BZ #15799]
bbea82f7
OB
17523 * stdlib/div.c (div): Remove obsolete code.
17524 * stdlib/ldiv.c (ldiv): Likewise.
17525 * stdlib/lldiv.c (lldiv): Likewise.
17526
977f4b31
SP
175272013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17528
17529 [BZ #16071]
17530 * nss/nss_files/files-XXX.c (get_contents_ret): New
17531 enumerator.
17532 (get_contents): New function.
17533 (internal_getent): Use it. Expand size of LINEBUFLEN.
17534
cb8a6dbd
MF
175352013-10-30 Mike Frysinger <vapier@gentoo.org>
17536
17537 * configure.in: Moved to ...
17538 * configure.ac: ... here. Change reference to configure.in
17539 to configure.ac.
17540 * sysdeps/arm/preconfigure.ac: ... here.
17541 configure.in to configure.ac.
17542 * sysdeps/gnu/configure.in: Moved to ...
17543 * sysdeps/gnu/configure.ac: ... here.
17544 * sysdeps/i386/configure.in: Moved to ...
17545 * sysdeps/i386/configure.ac: ... here.
17546 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17547 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17548 * sysdeps/mach/configure.in: Moved to ...
17549 * sysdeps/mach/configure.ac: ... here.
17550 * sysdeps/mach/hurd/configure.in: Moved to ...
17551 * sysdeps/mach/hurd/configure.ac: ... here.
17552 * sysdeps/powerpc/configure.in: Moved to ...
17553 * sysdeps/powerpc/configure.ac: ... here.
17554 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17555 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17556 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17557 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17558 * sysdeps/s390/s390-32/configure.in: Moved to ...
17559 * sysdeps/s390/s390-32/configure.ac: ... here.
17560 * sysdeps/s390/s390-64/configure.in: Moved to ...
17561 * sysdeps/s390/s390-64/configure.ac: ... here.
17562 * sysdeps/sh/configure.in: Moved to ...
17563 * sysdeps/sh/configure.ac: ... here.
17564 * sysdeps/sparc/configure.in: Moved to ...
17565 * sysdeps/sparc/configure.ac: ... here.
17566 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17567 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17568 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17569 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17570 * sysdeps/x86_64/configure.in: Moved to ...
17571 * sysdeps/x86_64/configure.ac: ... here.
17572 * sysdeps/x86_64/preconfigure.in: Moved to ...
17573 * sysdeps/x86_64/preconfigure.ac: ... here.
17574 * aclocal.m4: Change reference to configure.in to configure.ac.
17575 * config.h.in: Likewise.
17576 * manual/install.texi: Likewise.
17577 * manual/maint.texi: Likewise.
17578 * Makefile: Likewise.
17579 * malloc/Makefile: Likewise.
17580 * nscd/Makefile: Likewise.
17581 * Makeconfig: Change reference to configure.in and
17582 preconfigure.in to configure.ac and preconfigure.ac
17583 respectively.
17584 * INSTALL: Regenerated.
17585 * configure: Likewise.
17586 * sysdeps/gnu/configure: Likewise.
17587 * sysdeps/i386/configure: Likewise.
17588 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17589 * sysdeps/mach/configure: Likewise.
17590 * sysdeps/mach/hurd/configure: Likewise.
17591 * sysdeps/powerpc/configure: Likewise.
17592 * sysdeps/powerpc/powerpc32/configure: Likewise.
17593 * sysdeps/powerpc/powerpc64/configure: Likewise.
17594 * sysdeps/s390/s390-32/configure: Likewise.
17595 * sysdeps/s390/s390-64/configure: Likewise.
17596 * sysdeps/sh/configure: Likewise.
17597 * sysdeps/sparc/configure: Likewise.
17598 * sysdeps/unix/sysv/linux/configure: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17600 * sysdeps/x86_64/configure: Likewise.
17601 * sysdeps/x86_64/preconfigure: Likewise.
17602
36a4953a
AS
176032013-10-29 Andreas Schwab <schwab@suse.de>
17604
17605 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17606
c79a1204
SP
176072013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17608
dfa1b402
SP
17609 * benchtests/pow-inputs: Add new inputs.
17610
54f73d9c
SP
17611 * benchtests/exp-inputs: Add new inputs.
17612
c79a1204
SP
17613 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17614 conditional check for return value.
17615 (__cos32): Likewise.
17616
67beb545 176172013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17618
17619 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17620 to provide a boost for large inputs with word alignment.
17621 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17622 implementation based on optimized PPC64 strcpy.
17623 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17624 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17625 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17626 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17627
151659f6
OB
176282013-10-25 Ondřej Bílka <neleai@seznam.cz>
17629
482a077e 17630 [BZ #2801]
151659f6
OB
17631 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17632
10b0f26b
OB
176332013-10-25 Ondřej Bílka <neleai@seznam.cz>
17634
17635 [BZ #14876]
17636 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17637 * time/tst-strptime.c (day_tests): Add testcase.
17638
ca42d35e
OB
176392013-10-25 Ondřej Bílka <neleai@seznam.cz>
17640
482a077e 17641 [BZ #14029]
ca42d35e
OB
17642 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17643
52e6d801
FB
176442013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17645
17646 [BZ #16074]
17647 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17648 MAP_FAILED on error.
17649
7cbcdb36
SP
176502013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17651
17652 [BZ #16072]
17653 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17654 heap for large requests.
17655
894f3f10
AM
176562013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17657
17658 [BZ #9954]
17659 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17660 result if the result has no associated interface.
17661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17662 interface for all 127.X.Y.Z addresses.
17663
b85545a6
CL
176642013-10-24 Chris Leonard <cjl@sugarlabs.org>
17665
17666 * locale/iso-639.def: Add Ligurian (lij)
17667
d1f23d46
OB
176682013-10-21 Ondřej Bílka <neleai@seznam.cz>
17669
17670 [BZ #15825]
17671 * sunrpc/rpc_main.c: Document rpcgen -5.
17672
4db5b08f
MS
176732013-10-19 Michael Stahl <mstahl@redhat.com>
17674
17675 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17676
a471e96a
OB
176772013-10-19 Ondřej Bílka <neleai@seznam.cz>
17678
d1f23d46 17679 [BZ #10278]
a471e96a
OB
17680 * posix/glob.c: Match only directories when trailing slash is present.
17681 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17682 (main): Add testcase.
17683
45c30c61
OB
176842013-10-19 Ondřej Bílka <neleai@seznam.cz>
17685
17686 [BZ #15670]
17687 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17688
484c12fb
CD
176892013-10-18 Carlos O'Donell <carlos@redhat.com>
17690
3d7dc513
CD
17691 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17692 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17693 AUTH_DES and cindex for FIPS 140-2.
17694 (DES Encryption): Add cindex FIPS 46-3.
17695
484c12fb
CD
17696 * locale/locarchive.h (struct locarhandle): Add fname.
17697 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17698 if an optional argument was specified to --list-archive,
17699 otherwise NULL.
17700 * locale/programs/locarchive.c (show_archive_content): Take new
17701 argument fname and pass it via ah.fname to open_archive.
17702 * locale/programs/localedef.h: Update decl.
17703 (open_archive): If AH->fname is non-null, open that file
17704 rather than the default file name, and don't ignore ENOENT.
17705 (create_archive): Set AH.fname to NULL.
17706 (delete_locales_from_archive): Likewise.
17707 (add_locales_to_archive): Likewise.
17708 * locale/programs/locfile.c (write_all_categories): Likewise.
17709
3c8325fb
JM
177102013-10-18 Joseph Myers <joseph@codesourcery.com>
17711 Aldy Hernandez <aldyh@redhat.com>
17712
17713 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17714 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17715 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17716 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17717 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17718 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17719 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17721 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17722 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17723 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17724 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17725 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17726 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17727 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17728 Likewise.
17729 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17730 Likewise.
17731 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17732 Likewise.
17733 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17734 Likewise.
17735 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17736 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17737 Likewise.
17738 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17739 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17740 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17741 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17742 Likewise.
17743 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17744 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17745 * sysdeps/powerpc/preconfigure: Likewise.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17747 Likewise.
17748 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17749 Replace contents of file by #include of <fenv_libc.h>.
17750 * sysdeps/powerpc/soft-fp/sfp-machine.h
17751 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17752 and <sys/prctl.h>.
17753 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17754 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17755 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17756 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17757 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17758 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17760 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17761 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17766 Allow copysignl PLT reference to be missing.
17767
5abe0682
RS
177682013-10-18 Richard Sandiford <richard@codesourcery.com>
17769 Joseph Myers <joseph@codesourcery.com
17770
17771 [BZ #15948]
17772 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17773 single character.
17774 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17775
c7738d08
SP
177762013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17777
17778 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17779 * elf/tst-tls1.c: Likewise.
17780 * elf/tst-tls10.h: Likewise.
17781 * elf/tst-tls14.c: Likewise.
17782 * elf/tst-tls2.c: Likewise.
17783 * elf/tst-tls3.c: Likewise.
17784 * elf/tst-tls4.c: Likewise.
17785 * elf/tst-tls5.c: Likewise.
17786 * elf/tst-tls6.c: Likewise.
17787 * elf/tst-tls7.c: Likewise.
17788 * elf/tst-tls8.c: Likewise.
17789 * elf/tst-tls9.c: Likewise.
17790 * elf/tst-tlsmod1.c: Likewise.
17791 * elf/tst-tlsmod13.c: Likewise.
17792 * elf/tst-tlsmod13a.c: Likewise.
17793 * elf/tst-tlsmod14a.c: Likewise.
17794 * elf/tst-tlsmod16a.c: Likewise.
17795 * elf/tst-tlsmod16b.c: Likewise.
17796 * elf/tst-tlsmod2.c: Likewise.
17797 * elf/tst-tlsmod3.c: Likewise.
17798 * elf/tst-tlsmod4.c: Likewise.
17799 * elf/tst-tlsmod5.c: Likewise.
17800 * elf/tst-tlsmod6.c: Likewise.
17801
0bfcf2c7
OB
178022013-10-18 Ondřej Bílka <neleai@seznam.cz>
17803
17804 [BZ #12486]
17805 * malloc/malloc.c: remove checks for statistics.
17806
264aad1e
OB
178072013-10-17 Ondřej Bílka <neleai@seznam.cz>
17808
17809 [BZ #15277]
17810 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17811 * inet/tst-network.c: Add testcase.
17812
b957ced8
AS
178132013-10-17 Andreas Schwab <schwab@suse.de>
17814
17815 [BZ #15218]
17816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17817 to determine canonical name.
17818
c5d5d574
OB
178192013-10-17 Ondřej Bílka <neleai@seznam.cz>
17820
17821 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17822 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17845 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17846 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17851 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17860 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17879
e5c2c2d0
JM
178802013-10-17 Joseph Myers <joseph@codesourcery.com>
17881
17882 [BZ #16041]
17883 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17884 make result into a quiet NaN.
17885
51ca9e29
JM
178862013-10-16 Joseph Myers <joseph@codesourcery.com>
17887
17888 * soft-fp/adddf3.c: Fix horizontal whitespace.
17889 * soft-fp/addsf3.c: Likewise.
17890 * soft-fp/addtf3.c: Likewise.
17891 * soft-fp/divdf3.c: Likewise.
17892 * soft-fp/divsf3.c: Likewise.
17893 * soft-fp/divtf3.c: Likewise.
17894 * soft-fp/double.h: Likewise.
17895 * soft-fp/eqdf2.c: Likewise.
17896 * soft-fp/eqsf2.c: Likewise.
17897 * soft-fp/eqtf2.c: Likewise.
17898 * soft-fp/extenddftf2.c: Likewise.
17899 * soft-fp/extended.h: Likewise.
17900 * soft-fp/extendsfdf2.c: Likewise.
17901 * soft-fp/extendsftf2.c: Likewise.
17902 * soft-fp/extendxftf2.c: Likewise.
17903 * soft-fp/fixdfdi.c: Likewise.
17904 * soft-fp/fixdfsi.c: Likewise.
17905 * soft-fp/fixdfti.c: Likewise.
17906 * soft-fp/fixsfdi.c: Likewise.
17907 * soft-fp/fixsfsi.c: Likewise.
17908 * soft-fp/fixsfti.c: Likewise.
17909 * soft-fp/fixtfdi.c: Likewise.
17910 * soft-fp/fixtfsi.c: Likewise.
17911 * soft-fp/fixtfti.c: Likewise.
17912 * soft-fp/fixunsdfdi.c: Likewise.
17913 * soft-fp/fixunsdfsi.c: Likewise.
17914 * soft-fp/fixunsdfti.c: Likewise.
17915 * soft-fp/fixunssfdi.c: Likewise.
17916 * soft-fp/fixunssfsi.c: Likewise.
17917 * soft-fp/fixunssfti.c: Likewise.
17918 * soft-fp/fixunstfdi.c: Likewise.
17919 * soft-fp/fixunstfsi.c: Likewise.
17920 * soft-fp/fixunstfti.c: Likewise.
17921 * soft-fp/floatdidf.c: Likewise.
17922 * soft-fp/floatdisf.c: Likewise.
17923 * soft-fp/floatditf.c: Likewise.
17924 * soft-fp/floatsidf.c: Likewise.
17925 * soft-fp/floatsisf.c: Likewise.
17926 * soft-fp/floatsitf.c: Likewise.
17927 * soft-fp/floattidf.c: Likewise.
17928 * soft-fp/floattisf.c: Likewise.
17929 * soft-fp/floattitf.c: Likewise.
17930 * soft-fp/floatundidf.c: Likewise.
17931 * soft-fp/floatundisf.c: Likewise.
17932 * soft-fp/floatunditf.c: Likewise.
17933 * soft-fp/floatunsidf.c: Likewise.
17934 * soft-fp/floatunsisf.c: Likewise.
17935 * soft-fp/floatunsitf.c: Likewise.
17936 * soft-fp/floatuntidf.c: Likewise.
17937 * soft-fp/floatuntisf.c: Likewise.
17938 * soft-fp/floatuntitf.c: Likewise.
17939 * soft-fp/fmadf4.c: Likewise.
17940 * soft-fp/fmasf4.c: Likewise.
17941 * soft-fp/fmatf4.c: Likewise.
17942 * soft-fp/gedf2.c: Likewise.
17943 * soft-fp/gesf2.c: Likewise.
17944 * soft-fp/getf2.c: Likewise.
17945 * soft-fp/ledf2.c: Likewise.
17946 * soft-fp/lesf2.c: Likewise.
17947 * soft-fp/letf2.c: Likewise.
17948 * soft-fp/muldf3.c: Likewise.
17949 * soft-fp/mulsf3.c: Likewise.
17950 * soft-fp/multf3.c: Likewise.
17951 * soft-fp/negdf2.c: Likewise.
17952 * soft-fp/negsf2.c: Likewise.
17953 * soft-fp/negtf2.c: Likewise.
17954 * soft-fp/op-1.h: Likewise.
17955 * soft-fp/op-2.h: Likewise.
17956 * soft-fp/op-4.h: Likewise.
17957 * soft-fp/op-8.h: Likewise.
17958 * soft-fp/op-common.h: Likewise.
17959 * soft-fp/quad.h: Likewise.
17960 * soft-fp/single.h: Likewise.
17961 * soft-fp/soft-fp.h: Likewise.
17962 * soft-fp/sqrtdf2.c: Likewise.
17963 * soft-fp/sqrtsf2.c: Likewise.
17964 * soft-fp/sqrttf2.c: Likewise.
17965 * soft-fp/subdf3.c: Likewise.
17966 * soft-fp/subsf3.c: Likewise.
17967 * soft-fp/subtf3.c: Likewise.
17968 * soft-fp/truncdfsf2.c: Likewise.
17969 * soft-fp/trunctfdf2.c: Likewise.
17970 * soft-fp/trunctfsf2.c: Likewise.
17971 * soft-fp/trunctfxf2.c: Likewise.
17972 * soft-fp/unorddf2.c: Likewise.
17973 * soft-fp/unordsf2.c: Likewise.
17974 * soft-fp/unordtf2.c: Likewise.
17975
9ebb0332
JM
179762013-10-15 Joseph Myers <joseph@codesourcery.com>
17977
17978 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17979 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17980
4b1a6d8b
OB
179812013-10-15 Ondřej Bílka <neleai@seznam.cz>
17982
17983 * elf/dl-libc.c: Clear initfini list after freeing.
17984
1e145589
JM
179852013-10-14 Joseph Myers <joseph@codesourcery.com>
17986
17987 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17988 * soft-fp/addsf3.c: Likewise.
17989 * soft-fp/addtf3.c: Likewise.
17990 * soft-fp/divdf3.c: Likewise.
17991 * soft-fp/divsf3.c: Likewise.
17992 * soft-fp/divtf3.c: Likewise.
17993 * soft-fp/double.h: Likewise.
17994 * soft-fp/eqdf2.c: Likewise.
17995 * soft-fp/eqsf2.c: Likewise.
17996 * soft-fp/eqtf2.c: Likewise.
17997 * soft-fp/extenddftf2.c: Likewise.
17998 * soft-fp/extended.h: Likewise.
17999 * soft-fp/extendsfdf2.c: Likewise.
18000 * soft-fp/extendsftf2.c: Likewise.
18001 * soft-fp/extendxftf2.c: Likewise.
18002 * soft-fp/fixdfdi.c: Likewise.
18003 * soft-fp/fixdfsi.c: Likewise.
18004 * soft-fp/fixdfti.c: Likewise.
18005 * soft-fp/fixsfdi.c: Likewise.
18006 * soft-fp/fixsfsi.c: Likewise.
18007 * soft-fp/fixsfti.c: Likewise.
18008 * soft-fp/fixtfdi.c: Likewise.
18009 * soft-fp/fixtfsi.c: Likewise.
18010 * soft-fp/fixtfti.c: Likewise.
18011 * soft-fp/fixunsdfdi.c: Likewise.
18012 * soft-fp/fixunsdfsi.c: Likewise.
18013 * soft-fp/fixunsdfti.c: Likewise.
18014 * soft-fp/fixunssfdi.c: Likewise.
18015 * soft-fp/fixunssfsi.c: Likewise.
18016 * soft-fp/fixunssfti.c: Likewise.
18017 * soft-fp/fixunstfdi.c: Likewise.
18018 * soft-fp/fixunstfsi.c: Likewise.
18019 * soft-fp/fixunstfti.c: Likewise.
18020 * soft-fp/floatdidf.c: Likewise.
18021 * soft-fp/floatdisf.c: Likewise.
18022 * soft-fp/floatditf.c: Likewise.
18023 * soft-fp/floatsidf.c: Likewise.
18024 * soft-fp/floatsisf.c: Likewise.
18025 * soft-fp/floatsitf.c: Likewise.
18026 * soft-fp/floattidf.c: Likewise.
18027 * soft-fp/floattisf.c: Likewise.
18028 * soft-fp/floattitf.c: Likewise.
18029 * soft-fp/floatundidf.c: Likewise.
18030 * soft-fp/floatundisf.c: Likewise.
18031 * soft-fp/floatunsidf.c: Likewise.
18032 * soft-fp/floatunsisf.c: Likewise.
18033 * soft-fp/floatuntidf.c: Likewise.
18034 * soft-fp/floatuntisf.c: Likewise.
18035 * soft-fp/floatuntitf.c: Likewise.
18036 * soft-fp/fmadf4.c: Likewise.
18037 * soft-fp/fmasf4.c: Likewise.
18038 * soft-fp/fmatf4.c: Likewise.
18039 * soft-fp/gedf2.c: Likewise.
18040 * soft-fp/gesf2.c: Likewise.
18041 * soft-fp/getf2.c: Likewise.
18042 * soft-fp/ledf2.c: Likewise.
18043 * soft-fp/lesf2.c: Likewise.
18044 * soft-fp/letf2.c: Likewise.
18045 * soft-fp/muldf3.c: Likewise.
18046 * soft-fp/mulsf3.c: Likewise.
18047 * soft-fp/multf3.c: Likewise.
18048 * soft-fp/negdf2.c: Likewise.
18049 * soft-fp/negsf2.c: Likewise.
18050 * soft-fp/negtf2.c: Likewise.
18051 * soft-fp/op-1.h: Likewise.
18052 * soft-fp/op-2.h: Likewise.
18053 * soft-fp/op-4.h: Likewise.
18054 * soft-fp/op-8.h: Likewise.
18055 * soft-fp/op-common.h: Likewise.
18056 * soft-fp/quad.h: Likewise.
18057 * soft-fp/single.h: Likewise.
18058 * soft-fp/soft-fp.h: Likewise.
18059 * soft-fp/sqrtdf2.c: Likewise.
18060 * soft-fp/sqrtsf2.c: Likewise.
18061 * soft-fp/sqrttf2.c: Likewise.
18062 * soft-fp/subdf3.c: Likewise.
18063 * soft-fp/subsf3.c: Likewise.
18064 * soft-fp/subtf3.c: Likewise.
18065 * soft-fp/truncdfsf2.c: Likewise.
18066 * soft-fp/trunctfdf2.c: Likewise.
18067 * soft-fp/trunctfsf2.c: Likewise.
18068 * soft-fp/trunctfxf2.c: Likewise.
18069 * soft-fp/unorddf2.c: Likewise.
18070 * soft-fp/unordsf2.c: Likewise.
18071 * soft-fp/unordtf2.c: Likewise.
18072
17c48a60
OB
180732013-10-14 Ondřej Bílka <neleai@seznam.cz>
18074
18075 [BZ #15672]
18076 * misc/error.c (error_tail): Fix possible buffer overflow.
18077
cabba934
OB
180782013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18079
18080 [BZ #13028]
18081 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18082 address.
18083
94bf958a
PM
180842013-10-14 P. J. McDermott <pj@pehjota.net>
18085
18086 [BZ #832]
18087 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18088 testing pipefail option.
18089
71b4dea7
JM
180902013-10-12 Joseph Myers <joseph@codesourcery.com>
18091
18092 * soft-fp/double.h: Indent preprocessor directives inside #if.
18093 * soft-fp/extended.h: Likewise.
18094 * soft-fp/op-2.h: Likewise.
18095 * soft-fp/op-4.h: Likewise.
18096 * soft-fp/op-common.h: Likewise.
18097 * soft-fp/quad.h: Likewise.
18098 * soft-fp/single.h: Likewise.
18099 * soft-fp/soft-fp.h: Likewise.
18100
55602758
YC
181012013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18102
18103 * iconv/iconv_prog.c: Fix typos.
18104 * stdio-common/psiginfo-data.h: Likewise.
18105
9cd83302
RT
181062013-10-12 Reuben Thomas <rrt@sc3d.org>
18107
18108 [BZ #15764]
18109 * locale/setlocale.c: Fix typo.
18110
99fd9f47
JM
181112013-10-12 Joseph Myers <joseph@codesourcery.com>
18112
b7ea74f0
JM
18113 [BZ #16036]
18114 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18115 signaling NaN arguments.
18116 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18117 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18118
8a509447
JM
18119 [BZ #14910]
18120 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18121 unordered operands.
18122 * soft-fp/gesf2.c (__gesf2): Likewise.
18123 * soft-fp/getf2.c (__getf2): Likewise.
18124 * soft-fp/ledf2.c (__ledf2): Likewise.
18125 * soft-fp/lesf2.c (__lesf2): Likewise.
18126 * soft-fp/letf2.c (__letf2): Likewise.
18127
98998e9f
JM
18128 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18129 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18130 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18131 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18132 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18133 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18134 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18135 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18136 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18137 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18138 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18139 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18140 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18141 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18142 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18143 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18144 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18145 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18146 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18147 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18148 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18149 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18150 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18151 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18152 * soft-fp/floattidf.c (__floattidf): Likewise.
18153 * soft-fp/floattisf.c (__floattisf): Likewise.
18154 * soft-fp/floattitf.c (__floattitf): Likewise.
18155 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18156 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18157 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18158 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18159 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18160 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18161 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18162 * soft-fp/gesf2.c (__gesf2): Likewise.
18163 * soft-fp/getf2.c (__getf2): Likewise.
18164 * soft-fp/ledf2.c (__ledf2): Likewise.
18165 * soft-fp/lesf2.c (__lesf2): Likewise.
18166 * soft-fp/letf2.c (__letf2): Likewise.
18167
8edc4a11
JM
18168 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18169 Undefine and redefine.
18170 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18171 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18172 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18173 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18174 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18175 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18176 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18177 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18178 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18179 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18180 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18181 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18182 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18183 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18184 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18185
8399acaf
JM
18186 [BZ #16032]
18187 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18188 without decrementing exponent if mantissa >= that for the
18189 denominator, not >.
18190 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18191 denominator, not >. Decrement exponent in < case instead of
18192 incrementing in >= case.
18193 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18194 without decrementing exponent if mantissa >= that for the
18195 denominator, not >.
18196
99fd9f47
JM
18197 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18198 computing saturated result for unsigned overflow.
18199
10e1cf6b
SP
182002013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18201 Jeff Law <law@redhat.com>
18202
18203 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18204 (atan2Mp): Add systemtap probe marker.
18205 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18206 (__ieee754_log): Add systemtap probe marker.
18207 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18208 (atanMp): Add systemtap probe marker.
18209 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18210 (tanMp): Add systemtap probe marker.
18211 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18212 (__slowexp): Add systemtap probe marker.
18213 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18214 (__slowpow): Add systemtap probe marker.
18215 * manual/probes.texi: Document probes.
18216
3d110c7c
EB
182172013-10-11 Eric Biggers <ebiggers3@gmail.com>
18218
18219 [BZ #15362]
18220 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18221 written.
18222 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18223 written.
18224 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18225 written to buffer but not flushed.
18226 * libio/iofwrite_u.c: Likewise.
18227 * libio/iopadn.c: Return bytes returned even if EOF was
18228 encountered.
18229 * libio/iowpadn.c: Likewise.
18230 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18231 if _IO_padn does not write the whole buffer.
18232 [!COMPILE_WPRINTF] (PAD): Likewise.
18233
75b4202a
DM
182342013-10-10 David S. Miller <davem@davemloft.net>
18235
18236 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18237 directory block.
18238
6c6352e6
JM
182392013-10-10 Joseph Myers <joseph@codesourcery.com>
18240
33b853c3
JM
18241 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18242 instead of FSF address.
18243 * soft-fp/fixdfti.c: Likewise.
18244 * soft-fp/fixsfti.c: Likewise.
18245 * soft-fp/fixtfti.c: Likewise.
18246 * soft-fp/fixunsdfti.c: Likewise.
18247 * soft-fp/fixunssfti.c: Likewise.
18248 * soft-fp/fixunstfti.c: Likewise.
18249 * soft-fp/floattidf.c: Likewise.
18250 * soft-fp/floattisf.c: Likewise.
18251 * soft-fp/floattitf.c: Likewise.
18252 * soft-fp/floatuntidf.c: Likewise.
18253 * soft-fp/floatuntisf.c: Likewise.
18254 * soft-fp/floatuntitf.c: Likewise.
18255 * soft-fp/trunctfxf2.c: Likewise.
18256
6c6352e6
JM
18257 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18258 * soft-fp/fixdfti.c: Likewise.
18259 * soft-fp/fixsfti.c: Likewise.
18260 * soft-fp/fixtfti.c: Likewise.
18261 * soft-fp/fixunsdfti.c: Likewise.
18262 * soft-fp/fixunssfti.c: Likewise.
18263 * soft-fp/fixunstfti.c: Likewise.
18264 * soft-fp/floattidf.c: Likewise.
18265 * soft-fp/floattisf.c: Likewise.
18266 * soft-fp/floattitf.c: Likewise.
18267 * soft-fp/floatuntidf.c: Likewise.
18268 * soft-fp/floatuntisf.c: Likewise.
18269 * soft-fp/floatuntitf.c: Likewise.
18270 * soft-fp/trunctfxf2.c: Likewise.
18271
3bf78b71
DM
182722013-10-10 David S. Miller <davem@davemloft.net>
18273
18274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18275
6f10289e
JM
182762013-10-10 Joseph Myers <joseph@codsourcery.com>
18277
bd878fc0
JM
18278 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18279 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18280 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18281 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18282 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18283 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18284 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18285
6f10289e
JM
18286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18287 for NaNs before doing comparisons on argument.
18288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18289 Likewise.
18290
321e2684
WN
182912013-10-10 Will Newton <will.newton@linaro.org>
18292
18293 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18294 passed to _int_memalign does not overflow.
18295
40fefba1
TR
182962013-10-10 Torvald Riegel <triegel@redhat.com>
18297
18298 * scripts/bench.pl: Add include-sources directive.
18299 * benchtests/README: Update documentation.
18300
2ae21ed2
JM
183012013-10-10 Joseph Myers <joseph@codesourcery.com>
18302
dcc2dd3f
JM
18303 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18304 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18305 instead of FP_INIT_ROUNDMODE.
18306 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18307 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18308
2ae21ed2
JM
18309 [BZ #16034]
18310 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18311 copy class of input value.
18312 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18313 not handle exceptions.
18314 * soft-fp/negsf2.c (__negsf2): Likewise.
18315 * soft-fp/negtf2.c (__negtf2): Likewise.
18316 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18317
cb8f9562
JM
183182013-10-09 Joseph Myers <joseph@codesourcery.com>
18319
18320 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18321 semicolon. From Linux kernel.
18322
5b60c59d
AB
183232013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18324
18325 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18326
b86835ca
YC
183272013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18328
18329 [BZ #156]
18330 * manual/socket.texi: Added statement about buffer
18331 for gethostbyname2_r.
18332
e7044ea7
OB
183332013-10-08 Ondřej Bílka <neleai@seznam.cz>
18334
18335 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18336 Use .p2align directive instead, throughout.
18337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18338 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18339 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18342 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18343 * sysdeps/x86_64/strchr.S: Likewise.
18344 * sysdeps/x86_64/strrchr.S: Likewise.
18345
09544cbc
SP
183462013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18347
88576635
SP
18348 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18349
e7b2d1dd
SP
18350 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18351
09544cbc
SP
18352 * sysdeps/generic/math_private.h (__mpsin1): Remove
18353 declaration.
18354 (__mpcos1): Likewise.
18355 (__mpsin): New argument __range_reduce.
18356 (__mpcos): Likewise.
18357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18358 (slow): Use __mpsin and __mpcos.
18359 (slow1): Likewise.
18360 (slow2): Likewise.
18361 (sloww): Likewise.
18362 (sloww1): Likewise.
18363 (sloww2): Likewise.
18364 (bsloww): Likewise.
18365 (bsloww1): Likewise.
18366 (bsloww2): Likewise.
18367 (cslow2): Likewise.
18368 (csloww): Likewise.
18369 (csloww1): Likewise.
18370 (csloww2): Likewise.
18371 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18372 range_reduce. Merge in __mpsin1.
18373 (__mpcos): Likewise.
18374 (__mpsin1): Remove.
18375 (__mpcos1): Likewise.
18376
7602d070
JM
183772013-10-07 Joseph Myers <joseph@codesourcery.com>
18378
18379 * locale/loadlocale.c (_nl_intern_locale_data): Use
18380 LOCFILE_ALIGNED_P.
18381 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18382 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18383 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18384 obstack data is appropriately aligned.
18385 (obstack_int32_grow_fast): Likewise.
18386 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18387 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18388 (add_locale_uint32_array): Likewise.
18389
a357259b
SP
183902013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18391
18392 * benchtests/Makefile: Remove ARGLIST and RET variables.
18393 ($(objpfx)bench-%.c): Pass only function name to the script.
18394 * benchtests/README: Update documentation.
18395 * benchtests/acos-inputs: Add new directives.
18396 * benchtests/acosh-inputs: Likewise.
18397 * benchtests/asin-inputs: Likewise.
18398 * benchtests/asinh-inputs: Likewise.
18399 * benchtests/atan-inputs: Likewise.
18400 * benchtests/atanh-inputs: Likewise.
18401 * benchtests/cos-inputs: Likewise.
18402 * benchtests/cosh-inputs: Likewise.
18403 * benchtests/exp-inputs: Likewise.
18404 * benchtests/log-inputs: Likewise.
18405 * benchtests/pow-inputs: Likewise.
18406 * benchtests/rint-inputs: Likewise.
18407 * benchtests/sin-inputs: Likewise.
18408 * benchtests/sinh-inputs: Likewise.
18409 * benchtests/tan-inputs: Likewise.
18410 * benchtests/tanh-inputs: Likewise.
18411 * scripts/bench.pl: Add support for new directives.
18412
9ec1b13d
AM
184132013-10-07 Alan Modra <amodra@gmail.com>
18414
18415 * README: Fix careless merge.
18416
8b7d57cd
AM
184172013-10-05 Alan Modra <amodra@gmail.com>
18418
18419 * NEWS: Mention powerpc64le support and bugs fixed.
18420 * README: Both big-endian and little-endian powerpc64 supported.
18421
7b7bab13
ST
184222013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18423
57f41c40
AS
18424 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18425 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18426 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18427 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18428
d39baad1
RA
184292013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18430
18431 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18432 match prototype.
18433
cd78f7e7
JM
184342013-10-04 Joseph Myers <joseph@codesourcery.com>
18435
29d73d86
JM
18436 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18437 Move -mhard-float appending from
18438 ports/sysdeps/powerpc/powerpc32/Makefile.
18439 [$(with-fp) = yes] (ASFLAGS): Likewise.
18440 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18441 * sysdeps/powerpc/nofpu: Move directory from
18442 ports/sysdeps/powerpc/nofpu.
18443 * sysdeps/powerpc/soft-fp: Move directory from
18444 ports/sysdeps/powerpc/soft-fp.
18445 * sysdeps/powerpc/powerpc32/405: Move directory from
18446 ports/sysdeps/powerpc/powerpc32/405.
18447 * sysdeps/powerpc/powerpc32/440: Move directory from
18448 ports/sysdeps/powerpc/powerpc32/440.
18449 * sysdeps/powerpc/powerpc32/464: Move directory from
18450 ports/sysdeps/powerpc/powerpc32/464.
18451 * sysdeps/powerpc/powerpc32/476: Move directory from
18452 ports/sysdeps/powerpc/powerpc32/476.
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18454 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18456 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18458 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18460 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18462 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18463 * README: Update for powerpc-*-linux-gnu software floating point
18464 support in libc.
18465
e246b347
JM
18466 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18467 case to powerpc/powerpc32*.
18468 * sysdeps/unix/sysv/linux/configure: Regenerated.
18469
89c2003e
JM
18470 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18471 (_FPU_MASK_OM): Define as 0x04.
18472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18474 0x00c10080.
18475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18476 0x0000003c.
18477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18478
cd78f7e7
JM
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18480 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18481 getcontext_e500.
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18483 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18484 setcontext_e500.
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18486 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18487 and setcontext_e500.
18488
c755294d
CL
184892013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18490
18491 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18492
e16d221c
SP
184932013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18494
18495 * manual/threads.texi (Default Thread Attributes): Fix typo.
18496
215c7d43
WN
184972013-10-04 Will Newton <will.newton@linaro.org>
18498
18499 * malloc/Makefile: Add tst-memalign.
18500 * malloc/tst-memalign.c: New file.
18501
27d0461b
WN
18502 * malloc/tst-posix_memalign.c: Add comments.
18503 (do_test): Add comments and call free on all potentially
18504 allocated pointers. Add space after cast.
18505
1bc92709
WN
18506 * malloc/tst-pvalloc.c: Add comments.
18507 (do_test): Add comments and call free on all potentially
18508 allocated pointers. Remove duplicate check for NULL pointer.
18509 Add space after cast.
18510
66a9be9d
WN
18511 * malloc/tst-valloc.c: Add comments.
18512 (do_test): Add comments and call free on all potentially
18513 allocated pointers. Remove duplicate check for NULL pointer.
18514 Add space after cast.
18515
4cb81307
AM
185162013-10-04 Alan Modra <amodra@gmail.com>
18517
18518 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18519 Use stdint types in rather than __attribute__((mode())).
18520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18521
f8e3e9f3
AM
185222013-10-04 Alan Modra <amodra@gmail.com>
18523
18524 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18525 Correct handling of unaligned relocs for little-endian.
18526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18527
8f9ebb08
AM
185282013-10-04 Alan Modra <amodra@gmail.com>
18529
18530 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18531 * configure: Regenerate.
18532 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18533 * shlib-versions: Likewise.
18534
0edf96c2
AM
185352013-10-04 Alan Modra <amodra@gmail.com>
18536
18537 * string/tester.c (test_memrchr): Increment reported test cycle.
18538
e0f7a380
AM
185392013-10-04 Alan Modra <amodra@gmail.com>
18540
18541 * string/test-memcpy.c (do_one_test): When reporting errors, print
18542 string address and don't overrun end of string.
18543
466b0393
AM
185442013-10-04 Alan Modra <amodra@gmail.com>
18545
18546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18547 insrdi. Make better use of reg selection to speed exit slightly.
18548 Schedule entry path a little better. Remove useless "are we done"
18549 checks on entry to main loop. Handle wrapping around zero address.
18550 Correct main loop count. Handle single left-over word from main
18551 loop inline rather than by using loop_small. Remove extra word
18552 case in loop_small caused by wrong loop count. Add little-endian
18553 support.
18554 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18556 cache hint.
18557 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18558 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18559 support. Avoid rlwimi.
18560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18561
3be87c77
AM
185622013-10-04 Alan Modra <amodra@gmail.com>
18563
18564 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18565 insrdi. Formatting.
3be87c77
AM
18566 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18567 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18568 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18569 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18570 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18571 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18572
759cfef3
AM
185732013-10-04 Alan Modra <amodra@gmail.com>
18574
18575 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18578 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18579 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18580 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18581 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18582 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18583 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18584 use of regs. Use power7 mtocrf. Tidy function tails.
18585
fe6e95d7
AM
185862013-10-04 Alan Modra <amodra@gmail.com>
18587
18588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18589 Formatting. Consistently use rXXX register defines or rN defines.
18590 Use early exit labels that avoid restoring unused non-volatile regs.
18591 Make cr field use more consistent with rWORDn compares. Rename
18592 regs used as shift registers for unaligned loop, using rN defines
18593 for short lifetime/multiple use regs.
18594 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18596 addi 1,1,64 to pop stack frame. Simplify return value code.
18597 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18598
664318c3
AM
185992013-10-04 Alan Modra <amodra@gmail.com>
18600
18601 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18602 support. Correct typos, formatting. Optimize tail. Use insrdi
18603 rather than rlwimi.
18604 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18605 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18606 little-endian support. Correct typos.
18607 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18608 rather than rlwimi.
18609 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18610 in loop and entry code to keep "and." results.
18611 (strchr): Add little-endian support. Comment. Move cntlzd
18612 earlier in tail.
18613 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18614
43b84013
AM
186152013-10-04 Alan Modra <amodra@gmail.com>
18616
18617 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18618 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18619 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18620 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18621
8a7413f9
AM
186222013-10-04 Alan Modra <amodra@gmail.com>
18623
18624 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18625 (rTMP): Define as r11.
18626 (strcmp): Add little-endian support. Optimise tail.
18627 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18628 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18629 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18630 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18631 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18634
33ee81de
AM
186352013-10-04 Alan Modra <amodra@gmail.com>
18636
18637 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18638 little-endian support. Remove unnecessary "are we done" tests.
18639 Handle "s" wrapping around zero and extremely large "size".
18640 Correct main loop count. Handle single left-over word from main
18641 loop inline rather than by using small_loop. Correct comments.
18642 Delete "zero" tail, use "end_max" instead.
18643 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18644
db9b4570
AM
186452013-10-04 Alan Modra <amodra@gmail.com>
18646
18647 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18648 support. Don't branch over align.
18649 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18650 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18651 support. Rearrange tmp reg use to suit. Comment.
18652 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18653
f7c399cf
AM
186542013-10-04 Alan Modra <amodra@gmail.com>
18655
18656 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18657
0b2c2ace
AM
186582013-10-04 Alan Modra <amodra@gmail.com>
18659
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18661 conditional form of branch and link when obtaining pc.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18663
02f04a6c
AM
186642013-10-04 Alan Modra <amodra@gmail.com>
18665
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18667 HIWORD/LOWORD.
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18670
9b874b2f
AM
186712013-10-04 Alan Modra <amodra@gmail.com>
18672
18673 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18674 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18675 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18676 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18677 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18678 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18679 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18680 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18681 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18682 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18683
be1e5d31
AB
186842013-10-04 Anton Blanchard <anton@au1.ibm.com>
18685 Alistair Popple <alistair@ozlabs.au.ibm.com>
18686 Alan Modra <amodra@gmail.com>
18687
18688 [BZ #15723]
18689 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18690 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18691 _dl_hwcap access for little-endian.
18692 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18693 destroy vmx regs when saving unaligned.
18694 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18695 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18696 destroy vmx regs when saving unaligned.
18697
fef13a78
AM
186982013-10-04 Alan Modra <amodra@gmail.com>
18699
18700 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18701 Don't use a union to pack hi/low value.
18702
76a66d51
AB
187032013-10-04 Anton Blanchard <anton@au1.ibm.com>
18704
18705 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18706 for little-endian.
18707 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18709 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18710 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18711 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18712
6a31fe7f
AM
187132013-10-04 Alan Modra <amodra@gmail.com>
18714
18715 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18716 constants to usual value for .cst8 section, and remove redundant
18717 high address load.
18718 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18719 constant for 0x1p52. Load little-endian words of double from
18720 correct stack offsets.
18721
7b88401f
AM
187222013-10-04 Alan Modra <amodra@gmail.com>
18723
18724 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18725 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18726 words of double from correct stack offsets.
18727 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18728 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18729 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18730 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18732 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18734 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18735 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18739 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18740 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18741 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18742 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18743 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18744
9c008155
AM
187452013-10-04 Alan Modra <amodra@gmail.com>
18746
18747 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18748 64-bit int/double union.
18749 (_FPU_SETCW): Likewise.
18750 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18751 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18752
da13146d
AM
187532013-10-04 Alan Modra <amodra@gmail.com>
18754
18755 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18756 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18757
603e8410
AM
187582013-10-04 Alan Modra <amodra@gmail.com>
18759
18760 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18761 use vector int constants.
18762 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18763
4a28b3ca
AB
187642013-10-04 Anton Blanchard <anton@au1.ibm.com>
18765
18766 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18767 array with long long.
18768 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18769 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18770 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18771 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18772 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18773 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18774 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18775 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18776 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18777 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18778 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18779 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18780 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18781
2ca85d2b
AB
187822013-10-04 Anton Blanchard <anton@au1.ibm.com>
18783
18784 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18785 (__signbit): Likewise. Correct for little-endian.
18786 (__signbitl): Call __signbit.
18787 (lrint): Correct for little-endian.
18788 (lrintf): Call lrint.
18789
62a728ae
AM
187902013-10-04 Alan Modra <amodra@gmail.com>
18791
18792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18793 union 32-bit int array member with 64-bit int array.
18794 (t515, tm256): Double rather than long double.
18795 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18796
32c301df
AM
187972013-10-04 Alan Modra <amodra@gmail.com>
18798
18799 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18800 Delete.
18801 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18803 version of math_ldbl.h.
18804
650ef4bd
AM
188052013-10-04 Alan Modra <amodra@gmail.com>
18806
18807 [BZ #15734], [BZ #15735]
18808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18809 all uses of ieee875 long double macros and unions. Simplify test
18810 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18811 ldbl_extract_mantissa value for ix,iy exponents. Properly
18812 normalize after ldbl_extract_mantissa, and don't add hidden bit
18813 already handled. Don't treat low word of ieee854 mantissa like
18814 low word of IBM long double and mask off bit when testing for
18815 zero.
18816 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18817 all uses of ieee875 long double macros and unions. Simplify tests
18818 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18819 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18820 two1022, instead use their values. Recognise that tests for large
18821 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18823 Rewrite all uses of ieee875 long double macros and unions. Simplify
18824 test for 0.0L and nan. Correct negation.
18825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18826 ieee875 long double macros and unions. Correct output for large
18827 magnitude x. Correct absolute value calculation.
18828 (__erfcl): Likewise.
18829 * math/libm-test.inc: Add tests for errors discovered in IBM long
18830 double versions of fmodl, remainderl, erfl and erfcl.
18831
765714ca
AM
188322013-10-04 Alan Modra <amodra@gmail.com>
18833
18834 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18835 all uses of ieee854 long double macros and unions. Simplify tests
18836 for long doubles that are fully specified by the high double.
18837 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18838 Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18840 Remove dead code too.
18841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18842 (__ieee754_ynl): Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18846 Remove dead code too.
18847 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18851 Simplify.
18852 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18853 Simplify.
18854 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18857 Comment on variable precision.
18858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18860 Likewise.
18861 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18864 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18865 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18866
4ebd120c
AM
188672013-10-04 Alan Modra <amodra@gmail.com>
18868
18869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18870 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18871 all uses of ieee854 long double macros and unions.
18872 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18873 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18874 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18876 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18878 Likewise.
18879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18883 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18885 Simplify sign and nan test too.
18886 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18888 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18889 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18890 Likewise.
18891 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18892 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18893 Likewise.
18894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18895 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18896 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18897 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18898 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18900
1b6adf88
AM
189012013-10-04 Alan Modra <amodra@gmail.com>
18902
18903 * stdio-common/printf_size.c (__printf_size): Don't use
18904 union ieee854_long_double in fpnum union.
18905 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18906 signbit macro to retrieve sign from long double.
18907 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18908 retrieve sign from long double.
18909 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18910 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18911 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18912 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18913 * math/test-misc.c (main): Don't use union ieee854_long_double.
18914
4cf69995
AM
189152013-10-04 Alan Modra <amodra@gmail.com>
18916
18917 [BZ #15680]
18918 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18919 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18920 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18921 calculation. Remove unnecessary test for denormal exponent.
18922 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18923 Correct handling of denormals. Avoid undefined shift behaviour.
18924 Correct normalisation of low mantissa when low double is denormal.
18925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18926 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18927 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18928 Correct normalisation of low mantissa. Test for overflow of high
18929 mantissa and normalise.
18930 (ldbl_nearbyint): Use more readable constant for two52.
18931 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18932 (__mpn_construct_long_double): Fix test for overflow of high
18933 mantissa and correct normalisation. Avoid undefined shift.
18934
9605ca6c
AM
189352013-10-04 Alan Modra <amodra@gmail.com>
18936
18937 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18938 (union ibm_extended_long_double): Define as an array of ieee754_double.
18939 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18940 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18941 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18942 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18950
975569d0
JM
189512013-10-03 Joseph Myers <joseph@codesourcery.com>
18952
d3d23756
JM
18953 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18954 page size instead of calling getpagesize.
18955
975569d0
JM
18956 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18957 (LOCFILE_ALIGN_MASK): Likewise.
18958 (LOCFILE_ALIGN_UP): Likewise.
18959 (LOCFILE_ALIGNED_P): Likewise.
18960 * locale/programs/ld-collate.c (collate_output): Use the new
18961 macros instead of __alignof__ (int32_t).
18962 * locale/weight.h (findidx): Likewise.
18963
b1fe1f2b
OB
189642013-10-03 Ondřej Bílka <neleai@seznam.cz>
18965
18966 [BZ #431]
18967 * manual/string.texi: Fix strncat and wcsncat.
18968
5f855e35
BM
189692013-10-03 Brooks Moses <bmoses@google.com>
18970
18971 [BZ #15915]
18972 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18973 * Makerules: ...here, and adjust associated comments.
18974
3cef6009
WN
189752013-10-02 Will Newton <will.newton@linaro.org>
18976
18977 * malloc/Makefile: Add tst-pvalloc.
18978 * malloc/tst-pvalloc.c: New file.
18979
7815420b
WN
189802013-10-02 Will Newton <will.newton@linaro.org>
18981
18982 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18983 improve test coverage.
18984
4868b204
WN
189852013-10-02 Will Newton <will.newton@linaro.org>
18986
18987 * malloc/Makefile: Add tst-posix_memalign.
18988 * malloc/tst-posix_memalign.c: New file.
18989
29c793b3
EB
189902013-10-01 Eric Blake <eblake@redhat.com>
18991
18992 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18993 Use __THROWNL rather than __THROW on static functions.
18994
fd967522
PM
189952013-09-30 Petr Machata <pmachata@redhat.com>
18996
18997 * elf/elf.h (R_AARCH64_ABS16): New macro.
18998 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18999 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19000 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19001 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19002 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19003 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19004 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19005 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19006 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19007 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19008 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19009 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19010 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19011 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19012 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19013 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19014 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19015 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19016 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19017 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19018 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19019 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19020 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19021 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19022 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19023 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19024 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19025 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19026 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19027 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19028 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19029 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19030 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19031 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19032 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19033 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19034 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19035 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19036 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19037 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19038 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19039 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19040 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19041 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19042 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19043 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19044 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19045 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19046 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19047 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19048 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19049 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19050 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19051 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19052 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19053 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19054 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19055 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19056 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19057 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19058 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19059 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19060 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19061 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19062 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19063 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19064 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19065 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19066 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19067 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19068 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19069 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19070 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19071 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19072 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19073 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19074 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19075 (R_AARCH64_TLSDESC_LDR): Likewise.
19076 (R_AARCH64_TLSDESC_ADD): Likewise.
19077 (R_AARCH64_TLSDESC_CALL): Likewise.
19078
b2179107
AS
190792013-09-30 Andreas Schwab <schwab@suse.de>
19080
19081 [BZ #15048]
19082 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19083 the nss database lookup.
19084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19086
47f28d0a
MF
190872013-09-28 Mike Frysinger <vapier@gentoo.org>
19088
19089 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19090
190912013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19092
19093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19094 ${Bash-specific parameter/pattern/string} parameter expansion.
19095 * sysdeps/unix/make-syscalls.sh: Likewise.
19096
f4518a17
KK
190972013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19098
19099 * sysdeps/sh/stackguard-macros.h: New file.
19100
dc1a95c7
OB
191012013-09-26 Ondřej Bílka <neleai@seznam.cz>
19102
19103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19105 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19106 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19108 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19109
5ebbff8f
AZ
191102013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19111
19112 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19113 Fix thread ID register.
19114
4fd2cf9f
JM
191152013-09-25 Joseph Myers <joseph@codesourcery.com>
19116
19117 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19118 [POSIX || UNIX98]: Require rather than permitting all symbols from
19119 <time.h>.
19120 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19121 element of struct sched_param.
19122 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19123 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19124 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19125 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19126 constant.
19127
12c22bc4
OL
191282013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19129
19130 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19131 argument calculation.
19132
a03d8ea7
JM
191332013-09-24 Joseph Myers <joseph@codesourcery.com>
19134
19135 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19136 Expect macro.
19137 [POSIX] (pthread_attr_t): Do not require type.
19138 [POSIX] (pthread_cond_t): Likewise.
19139 [POSIX] (pthread_condattr_t): Likewise.
19140 [POSIX] (pthread_key_t): Likewise.
19141 [POSIX] (pthread_mutex_t): Likewise.
19142 [POSIX] (pthread_mutexattr_t): Likewise.
19143 [POSIX] (pthread_once_t): Likewise.
19144 [POSIX] (pthread_t): Likewise.
19145 [POSIX-based standards] (pthread_atfork): Expect function.
19146
6055173a
JM
191472013-09-24 Joseph Myers <joseph@codesourcery.com>
19148 Richard Sandiford <richard@codesourcery.com>
19149
19150 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19151 (swap_endianness_p): New extern variable.
19152 (set_big_endian): New inline function.
19153 (maybe_swap_uint32): Likewise.
19154 (maybe_swap_uint32_array): Likewise.
19155 (maybe_swap_uint32_obstack): Likewise.
19156 * locale/programs/locfile.c: Include <stdbool.h>.
19157 (swap_endianness_p): New variable.
19158 (add_locale_uint32): Call maybe_swap_uint32.
19159 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19160 (write_locale_data): Call maybe_swap_uint32_array.
19161 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19162 maybe_swap_uint32.
19163 (obstack_int32_grow_fast): Likewise.
19164 (output_weightwc): Call maybe_swap_uint32_obstack.
19165 (collate_output): Likewise.
19166 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19167 (OPT_LITTLE_ENDIAN): Likewise.
19168 (options): Add --little-endian and --big-endian options.
19169 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19170 * locale/programs/locarchive.c: Include "locfile.h".
19171 (GET): New macro.
19172 (SET): Likewise.
19173 (INC): Likewise.
19174 (create_archive): Use the new macros to access fields of
19175 structures directly mapped from or written to locale archives.
19176 (oldlocrecentcmp): Likewise.
19177 (enlarge_archive): Likewise.
19178 (insert_name): Likewise.
19179 (add_alias): Likewise.
19180 (add_locale): Likewise.
19181 (delete_locales_from_archive): Likewise.
19182 (show_archive_content): Likewise.
19183 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19184 locale data.
19185
39bf0bb4
RM
191862013-09-24 Roland McGrath <roland@hack.frob.com>
19187
19188 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19189 http://www.gnu.org/doc/freemanuals.texi.
19190 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19191
f02eed10
WN
191922013-09-24 Will Newton <will.newton@linaro.org>
19193
19194 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19195 macro.
19196
a3a6c312
JM
191972013-09-23 Joseph Myers <joseph@codesourcery.com>
19198
19199 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19200 unsigned char.
19201
107375ac
MR
192022013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19203
19204 * manual/threads.texi (POSIX Threads): Fix a typo.
19205
141f3a77
SP
192062013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19207
303e567a
SP
19208 [BZ #14547]
19209 * string/tst-strcoll-overflow.c: New test case.
19210 * string/Makefile (xtests): Add tst-strcoll-overflow.
19211 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19212 cache if string sizes may cause integer overflow.
19213
141f3a77
SP
19214 [BZ #14547]
19215 * string/strcoll_l.c (coll_seq): New members rule, idx,
19216 save_idx and back_us.
19217 (get_next_seq_nocache): New function.
19218 (do_compare_nocache): New function.
19219 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19220 when malloc fails.
19221
c61b4d41
CD
192222013-09-23 Carlos O'Donell <carlos@redhat.com>
19223
0b1f8e35
CD
19224 [BZ #15754]
19225 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19226 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19227 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19228
c61b4d41
CD
19229 [BZ #15754]
19230 * elf/Makefile (tests): Add tst-ptrguard1.
19231 (tests-static): Add tst-ptrguard1-static.
19232 (tst-ptrguard1-ARGS): Define.
19233 (tst-ptrguard1-static-ARGS): Define.
19234 * elf/tst-ptrguard1.c: New file.
19235 * elf/tst-ptrguard1-static.c: New file.
19236 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19237 * sysdeps/i386/stackguard-macros.h: Likewise.
19238 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19239 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19240 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19241 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19242 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19243 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19244
192452013-09-23 Hector Marco <hecmargi@upv.es>
19246 Ismael Ripoll <iripoll@disca.upv.es>
19247 Carlos O'Donell <carlos@redhat.com>
19248
19249 [BZ #15754]
19250 * sysdeps/generic/stackguard-macros.h: Define
19251 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19252 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19253 Define __pointer_chk_guard_local.
19254 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19255 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19256
f5f4e7b4
VV
192572013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19258
19259 [BZ #15859]
19260 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19261
5bb43a43
AS
192622013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19263
19264 * include/string.h (__ffs): Declare as hidden.
19265 * string/ffs.c (__ffs): Define as hidden.
19266 * sysdeps/i386/ffs.c (__ffs): Likewise.
19267 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19268 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19269 * sysdeps/s390/ffs.c (__ffs): Likewise.
19270 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19271
3ea5be54
AO
192722013-09-20 Alexandre Oliva <aoliva@redhat.com>
19273
ffb89e53
AO
19274 * NEWS: Mention malloc probes.
19275
322dea08
AO
19276 * malloc/arena.c (new_heap): New memory_heap_new probe.
19277 (grow_heap): New memory_heap_more probe.
19278 (shrink_heap): New memory_heap_less probe.
19279 (heap_trim): New memory_heap_free probe.
19280 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19281 (systrim): New memory_sbrk_less probe.
19282 * manual/probes.texi: Document them.
19283
655673f3
AO
19284 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19285 * manual/probes.texi: Document it.
19286
35fed6f1
AO
19287 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19288 (__libc_realloc): Add memory_realloc_retry probe.
19289 (__libc_memalign): Add memory_memalign_retry probe.
19290 (__libc_valloc): Add memory_valloc_retry probe.
19291 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19292 (__libc_calloc): Add memory_calloc_retry probe.
19293 * manual/probes.texi: Document them.
19294
6999d38c
AO
19295 * malloc/arena.c (get_free_list): Add probe
19296 memory_arena_reuse_free_list.
19297 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19298 and memory_arena_reuse.
19299 (arena_get2) [!PER_THREAD]: Likewise.
19300 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19301 memory_arena_reuse_realloc.
19302 * manual/probes.texi: Document them.
19303
0653427f
AO
19304 * malloc/malloc.c (__libc_free): Add
19305 memory_mallopt_free_dyn_thresholds probe.
19306 (__libc_mallopt): Add multiple memory_mallopt probes.
19307 * manual/probes.texi: Document them.
19308
3ea5be54
AO
19309 * malloc/malloc.c: Include stap-probe.h.
19310 (__libc_mallopt): Add memory_mallopt probe.
19311 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19312 * manual/probes.texi: New.
19313 * manual/Makefile (chapters): Add probes.
19314 * manual/threads.texi: Set next node.
19315
e35696c3 193162013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19317
e35696c3
CL
19318 [BZ #15963, #13985]
19319 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19320 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19321 Add `Chinese' to `nan' entry name.
19322
4aafb73c
SP
193232013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19324
19325 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19326 (POLYNOMIAL): Likewise.
19327 (TAYLOR_SINCOS): Likewise.
19328 (TAYLOR_SLOW): Likewise.
19329 (__sin): Use TAYLOR_SINCOS.
19330 (__cos): Likewise.
19331 (slow): Use TAYLOR_SLOW.
19332 (sloww): Likewise.
19333 (bsloww): Likewise.
19334 (csloww): Likewise.
19335
d84f25c7
LD
193362013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19337
19338 * stdlib/strtod_l.c: Fix buffer overrun.
19339
5eea0404
SP
193402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19341
7849ff93
SP
19342 * benchtests/Makefile (bench): Add sincos.
19343 * benchtests/bench-sincos.c: New file.
19344
cfa3c886
SP
19345 * math/libm-test.inc (cos_test_data): New test inputs.
19346 (sin_test_data): Likewise.
19347
b348e1e3
SP
19348 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19349 macro.
19350 (__sin): Use it.
19351 (__cos): Likewise.
19352 (slow1): Likewise.
19353 (slow2): Likewise.
19354 (sloww1): Likewise.
19355 (sloww2): Likewise.
19356 (bsloww1): Likewise.
19357 (bsloww2): Likewise.
19358 (cslow2): Likewise.
19359 (csloww1): Likewise.
19360 (csloww2): Likewise.
19361
6cce25f8
SP
19362 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19363 function.
19364 (__sin): Use it.
19365 (__cos): Likewise.
19366
5eea0404
SP
19367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19368 gotos.
19369 (__cos): Likewise.
19370
9c21573c
MR
193712013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19372
19373 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19374 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19375 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19376 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19377 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19378 * elf/cache.c (print_entry): Handle the new cache flags.
19379
24d22e65
JM
193802013-09-18 Joseph Myers <joseph@codesourcery.com>
19381 Aldy Hernandez <aldyh@redhat.com>
19382
19383 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19384 Change condition to [_SOFT_FLOAT].
19385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19397 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19400 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19401 declaration.
19402
d13ef066
JM
194032013-09-18 Joseph Myers <joseph@codesourcery.com>
19404
2e071de0
JM
19405 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19406 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19407 (__longjmp): Use LOAD_GP to load saved GPRs.
19408 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19409 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19410 (__sigsetjmp): Use SAVE_GP to save GPRs.
19411
d13ef066
JM
19412 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19413 Do not append -msoft-float.
19414 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19415
97a0650b
SP
194162013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19417
19418 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19419
11ca09e9
JM
194202013-09-17 Joseph Myers <joseph@codesourcery.com>
19421
19422 [BZ #15966]
19423 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19424 (_FPU_GETCW): Use initial "__" on variable and field names but not
19425 on macro parameter name.
19426 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19427 parentheses around reference to macro parameter.
19428
08ffcf34
RS
194292013-09-13 Richard Sandiford <richard@codesourcery.com>
19430
19431 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19432 prototype.
19433 (ctype_startup): Use uint32_t in cast and sizeof for
19434 ctype->charnames.
19435
ae7080d3
JL
194362013-09-11 Jia Liu <proljc@gmail.com>
19437
19438 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19439 __daddr_t_defined.
19440 [__FreeBSD__]: Likewise.
19441
5905e7b3
OB
194422013-09-11 Ondřej Bílka <neleai@seznam.cz>
19443
19444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19445 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19446 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19447 (strchr): Remove __strchr_sse42 ifunc selection.
19448 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19449 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19450
b987c776
WN
194512013-09-11 Will Newton <will.newton@linaro.org>
19452
19453 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19454 parameter to RES. Remove hardcoded 1000 value.
19455 * benchtests/bench-skeleton.c (main): Pass RES parameter
19456 to TIMING_INIT and multiply result by 1000.
19457
ddf985af
AZ
194582013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19459
19460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19461
ffdd3181
AS
194622013-09-11 Andreas Schwab <schwab@suse.de>
19463
19464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19465 if not defined.
19466 (O_TMPFILE) [__USE_GNU]: Define.
19467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19468 Define.
19469
b73ed247
WN
194702013-09-11 Will Newton <will.newton@linaro.org>
19471
19472 [BZ #15857]
19473 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19474 does not overflow.
19475
55e17aad
WN
194762013-09-11 Will Newton <will.newton@linaro.org>
19477
19478 [BZ #15856]
19479 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19480 does not overflow.
19481
1159a193
WN
194822013-09-11 Will Newton <will.newton@linaro.org>
19483
19484 [BZ #15855]
19485 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19486 does not overflow.
19487
5905e7b3 194882013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19489
19490 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19494 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19495
cdfc721b
AM
194962013-09-10 Allan McRae <allan@archlinux.org>
19497
aa04af00
AM
19498 [BZ #15748]
19499 * manual/arith.texi (Parsing of Floats): Clarify
19500 cross-reference.
19501
cdfc721b
AM
19502 [BZ #15849]
19503 * manual/install.texi (Running make install): Mention
19504 --enable-pt-chown.
19505 * INSTALL: Regenerated.
19506
95e7cf29
MR
195072013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19508
19509 * csu/init-first.c (_init): Remove the !SHARED condition around
19510 FPU control word initialization.
19511 * elf/dl-support.c (_dl_fpu_control): New variable.
19512 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19513 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19514 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19515 * math/test-fpucw-static.c: New file.
19516 * math/test-fpucw-ieee.c: New file.
19517 * math/test-fpucw-ieee-static.c: New file.
19518 * math/Makefile (tests): Add `test-fpucw-ieee' and
19519 `$(tests-static)'.
19520 (tests-static): New variable.
19521 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19522 dependency to...
19523 [($(build-shared),yes)]
19524 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19525 ... this.
19526 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19527 New dependency.
19528
83e43bf0
AM
195292013-09-09 Allan McRae <allan@archlinux.org>
19530
a9f5ce09
AM
19531 [BZ #15939]
19532 * manual/string.texi (Collation Functions): Fix typo in
19533 strcoll example.
19534 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19535
34829bc2
AM
19536 [BZ #15893]
19537 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19538
3932737d
AM
19539 [BZ #15892]
19540 * libio/memstream.c (open_memstream): Fix memory leak.
19541 * libio/wmemstream.c (open_wmemstream): Likewise.
19542
83e43bf0
AM
19543 [BZ #15895]
19544 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19545
0c66b8e9
WN
195462013-09-09 Will Newton <will.newton@linaro.org>
19547
19548 * malloc/Makefile: Add tst-realloc to tests.
19549 * malloc/tst-realloc.c: New file.
19550
f6b00fd1
AM
195512013-09-09 Allan McRae <allan@archlinux.org>
19552
19553 [BZ #15844]
19554 * COPYING: Update from GNU website to fix FSF address.
19555 * COPYING.LIB: Likewise.
19556
eec55e16
DM
195572013-09-06 David S. Miller <davem@davemloft.net>
19558
19559 * po/zh_TW.po: Update Chinese (traditional) translation from
19560 translation project.
19561
1ecbb381
RS
195622013-09-06 Richard Sandiford <richard@codesourcery.com>
19563 Joseph Myers <joseph@codesourcery.com>
19564
19565 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19566 "localeinfo.h".
19567 (obstack_chunk_alloc): New macro.
19568 (obstack_chunk_free): Likewise.
19569 (record_offset): New function.
19570 (init_locale_data): Likewise.
19571 (align_locale_data): Likewise.
19572 (add_locale_empty): Likewise.
19573 (add_locale_raw_data): Likewise.
19574 (add_locale_raw_obstack): Likewise.
19575 (add_locale_string): Likewise.
19576 (add_locale_wstring): Likewise.
19577 (add_locale_uint32): Likewise.
19578 (add_locale_uint32_array): Likewise.
19579 (add_locale_char): Likewise.
19580 (start_locale_structure): Likewise.
19581 (end_locale_structure): Likewise.
19582 (start_locale_prelude): Likewise.
19583 (end_locale_prelude): Likewise.
19584 (write_locale_data): Take locale_file structure rather than an
19585 iovec.
19586 * locale/programs/locfile.h: Include "obstack.h".
19587 (struct locale_file): Change to store locale file contents instead
19588 of header.
19589 (init_locale_data): New prototype.
19590 (align_locale_data): Likewise.
19591 (add_locale_empty): Likewise.
19592 (add_locale_raw_data): Likewise.
19593 (add_locale_raw_obstack): Likewise.
19594 (add_locale_string): Likewise.
19595 (add_locale_wstring): Likewise.
19596 (add_locale_uint32): Likewise.
19597 (add_locale_uint32_array): Likewise.
19598 (add_locale_char): Likewise.
19599 (start_locale_structure): Likewise.
19600 (end_locale_structure): Likewise.
19601 (start_locale_prelude): Likewise.
19602 (end_locale_prelude): Likewise.
19603 (write_locale_data): Update prototype.
19604 * locale/programs/3level.h (struct TABLE): Remove result field.
19605 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19606 Use new locale_file interface.
19607 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19608 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19609 * locale/programs/ld-address.c (address_output): Use new
19610 locale_file interface.
19611 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19612 NO_ADD_LOCALE.
19613 (collate_finish): Don't call collseq_table_finalize.
19614 (collate_output): Use new locale_file interface.
19615 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19616 in file.
19617 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19618 (TABLE): Move defines earlier in file.
19619 (ELEMENT): Likewise.
19620 (DEFAULT): Likewise.
19621 (wctrans_table_add): Move macro and inline function earlier in
19622 file.
19623 (struct wctype_table): Move type earlier in file.
19624 (add_locale_wctype_table): New static prototype.
19625 (struct locale_ctype_t): Use logical types instead of struct iovec
19626 pointers for members.
19627 (ctype_output): Use new locale_file interface.
19628 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19629 new locale_file interface.
19630 (allocate_arrays): Update for use of new locale_file interface.
19631 * locale/programs/ld-identification.c (identification_output): Use
19632 new locale_file interface.
19633 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19634 * locale/programs/ld-messages.c (messages_output): Likewise.
19635 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19636 * locale/programs/ld-name.c (name_output): Likewise.
19637 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19638 * locale/programs/ld-paper.c (paper_output): Likewise.
19639 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19640 * locale/programs/ld-time.c (time_output): Likewise.
19641
e029e2e5
AZ
196422013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19643
19644 * benchtests/Makefile: Add memrchr benchmark.
19645 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19646 benchmark as memrchr.
19647 * benchtests/bench-memrchr-ifunc.c: New file.
19648 * benchtests/bench-memrchr.c: New file.
19649
bbf6e8e4
WN
196502013-09-06 Will Newton <will.newton@linaro.org>
19651
19652 * benchtests/Makefile (string-bench): Add memcpy.
19653
6c82a2f8
CD
196542013-09-05 Carlos O'Donell <carlos@redhat.com>
19655 Cong Wang <amwang@redhat.com>
19656
e732c5f0 19657 [BZ #15850]
6c82a2f8
CD
19658 * sysdeps/unix/sysv/linux/bits/in.h
19659 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19660 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19661 before __USE_KERNEL_IPV6_DEFS uses.
19662 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19663 IPPROTO_BEETPH.
19664 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19665 sockaddr_in6, or ipv6_mreq.
19666
5430fc65
AZ
196672013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19668
19669 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19670 memory access for final bytes in some large inputs.
19671 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19672
4660856c
AZ
196732013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19674
19675 * string/test-memrchr.c: New file.
19676 * string/test-memrchr-ifunc.c: New file.
19677 * string/Makefile: Add new memrchr testcase.
19678
bb8ea713
MF
196792013-09-05 Mike Frysinger <vapier@gentoo.org>
19680
19681 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19682 fanotify_init returns EPERM.
19683
b92a20b5
JM
196842013-09-04 Joseph Myers <joseph@codesourcery.com>
19685
19686 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19687 errors.
19688 (top level): Treat second token from macro or constant entries for
19689 allowed headers as allowed.
19690 * include/complex.h: Condition internal declarations on
19691 [!_ISOMAC].
19692 * include/fenv.h: Condition include of <stdbool.h> and internal
19693 declarations on [!_ISOMAC].
7447ccd9
CL
19694
196952013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19696
3e181dda 19697 [BZ #15923]
7447ccd9
CL
19698 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19699
3f2e46a4
JM
197002013-09-04 Joseph Myers <joseph@codesourcery.com>
19701
19702 * configure.in (--enable-versioning): Remove configure option.
19703 (libc_cv_asm_symver_directive): Remove configure test.
19704 (libc_cv_ld_version_script_option): Likewise.
19705 (VERSIONING): Remove variable and AC_SUBST.
19706 (DO_VERSIONING): Remove AC_DEFINE.
19707 * configure: Regenerated.
19708 * config.h.in (DO_VERSIONING): Remove macro.
19709 * Makerules [$(versioning) = yes]: Change conditionals to
19710 [$(build-shared) = yes].
19711 * config.make.in (versioning): Remove variable.
19712 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19713 [$(build-shared) = yes].
19714 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19715 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19716 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19717 [$(build-shared) = yes].
19718 * extra-lib.mk [$(versioning) = yes]: Likewise.
19719 * hurd/Makefile [$(versioning) = yes]: Likewise.
19720 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19721 [SHARED].
19722 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19723 [SHARED].
19724 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19725 [SHARED && !NO_HIDDEN].
19726 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19727 [SHARED].
19728 [SHARED && DO_VERSIONING]: Likewise..
19729 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19730 [$(build-shared) = yes].
19731 * manual/install.texi (--disable-versioning): Remove
19732 documentation.
19733 * INSTALL: Regenerated.
19734 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19735 to [SHARED].
19736 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19737 [$(build-shared) = yes].
19738 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19739 * sysdeps/i386/i686/multiarch/strstr-c.c
19740 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19741 [SHARED && !NO_HIDDEN].
19742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19743 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19744 * sysdeps/powerpc/powerpc32/dl-machine.c
19745 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19746 * sysdeps/powerpc/powerpc32/sysdep.h
19747 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19748 to [SHARED && PIC && !NO_HIDDEN].
19749 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19750 conditional to [SHARED].
19751
44558701
WN
197522013-09-04 Will Newton <will.newton@linaro.org>
19753
19754 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19755 * benchtests/bench-string.h: Include bench-timing.h instead
19756 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19757 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19758 call to HP_TIMING_DIFF_INIT.
19759 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19760 instead of hp-timing.h macros.
19761 * benchtests/bench-memchr.c: Likewise.
19762 * benchtests/bench-memcmp.c: Likewise.
19763 * benchtests/bench-memcpy.c: Likewise.
19764 * benchtests/bench-memmem.c: Likewise.
19765 * benchtests/bench-memmove.c: Likewise.
19766 * benchtests/bench-memset.c: Likewise.
19767 * benchtests/bench-rawmemchr.c: Likewise.
19768 * benchtests/bench-strcasecmp.c: Likewise.
19769 * benchtests/bench-strcasestr.c: Likewise.
19770 * benchtests/bench-strcat.c: Likewise.
19771 * benchtests/bench-strchr.c: Likewise.
19772 * benchtests/bench-strcmp.c: Likewise.
19773 * benchtests/bench-strcpy.c: Likewise.
19774 * benchtests/bench-strcpy_chk.c: Likewise.
19775 * benchtests/bench-strlen.c: Likewise.
19776 * benchtests/bench-strncasecmp.c: Likewise.
19777 * benchtests/bench-strncat.c: Likewise.
19778 * benchtests/bench-strncmp.c: Likewise.
19779 * benchtests/bench-strncpy.c: Likewise.
19780 * benchtests/bench-strnlen.c: Likewise.
19781 * benchtests/bench-strpbrk.c: Likewise.
19782 * benchtests/bench-strrchr.c: Likewise.
19783 * benchtests/bench-strspn.c: Likewise.
19784 * benchtests/bench-strstr.c: Likewise.
19785
cae16d66
WN
197862013-09-04 Will Newton <will.newton@linaro.org>
19787
19788 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19789
ffa3cd7f
JM
197902013-09-03 Joseph Myers <joseph@codesourcery.com>
19791
19792 [BZ #15427]
19793 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19794 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19795 * math/libm-test.inc (lgamma_test_data): Add more tests.
19796 * sysdeps/i386/fpu/libm-test-ulps: Update.
19797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19798
8f02859f
OB
197992013-09-03 Ondřej Bílka <neleai@seznam.cz>
19800
19801 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19803 Add ifunc.
19804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19805 Add strcmp-sse2-unaligned
19806 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19807
18d43716
MF
198082013-09-02 Mike Frysinger <vapier@gentoo.org>
19809
19810 * Versions.def (libc): Add GLIBC_2.19.
19811
ac444012
MF
198122013-09-02 Mike Frysinger <vapier@gentoo.org>
19813
19814 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19815 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19816
b7835e32
JM
198172013-09-02 Joseph Myers <joseph@codesourcery.com>
19818
19819 [BZ #14155]
19820 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19821 intermediate calculations in recurrence.
19822 (__ieee754_ynf): Likewise.
19823 * math/libm-test.inc (jn_test_data): Do not allow spurious
19824 underflow exception. Add more tests.
19825 (yn_test_data): Add more tests.
19826 * sysdeps/i386/fpu/libm-test-ulps: Update.
19827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828
8220f4f0
OB
198292013-09-02 Ondřej Bílka <neleai@seznam.cz>
19830
19831 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19832
f24a6d08
OB
198332013-08-30 Ondřej Bílka <neleai@seznam.cz>
19834
19835 * csu/init-first.c: Fix then/than typos.
19836 * locale/programs/ld-collate.c: Likewise.
19837 * locale/programs/linereader.h: Likewise.
19838 * manual/charset.texi: Likewise.
19839 * manual/filesys.texi: Likewise.
19840 * manual/stdio.texi: Likewise.
19841 * manual/string.texi: Likewise.
19842 * stdlib/fmtmsg.c: Likewise.
19843 * sysdeps/i386/stpncpy.S: Likewise.
19844 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19845 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19847 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19848
382466e0
OB
198492013-08-30 Ondřej Bílka <neleai@seznam.cz>
19850
19851 * elf/dl-open.c: Fix typos.
19852 * iconvdata/gbbig5.c: Likewise.
19853 * iconvdata/iso-2022-jp.c: Likewise.
19854 * iconv/gconv_int.h: Likewise.
19855 * iconv/loop.c: Likewise.
19856 * nis/rpcsvc/nis.h: Likewise.
19857 * resolv/ns_name.c: Likewise.
19858 * stdio-common/vfscanf.c: Likewise.
19859 * streams/stropts.h: Likewise.
19860 * sunrpc/rpc_thread.c: Likewise.
19861 * sysdeps/i386/strpbrk.S: Likewise.
19862 * sysdeps/ieee754/k_standard.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19865 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19866 * sysdeps/mach/hurd/profil.c: Likewise.
19867 * sysdeps/s390/dl-procinfo.h: Likewise.
19868 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19869 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19870 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19871 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19873
0186c6e9
OB
198742013-08-30 Ondřej Bílka <neleai@seznam.cz>
19875
19876 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19878
d4e16af1
OB
198792013-08-29 Ondřej Bílka <neleai@seznam.cz>
19880
19881 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19882 aix specific files.
19883 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19884 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19885 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19886 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19887 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19888 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19889 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19890 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19891
88335980
TS
198922013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19893 Roland McGrath <roland@hack.frob.com>
19894
19895 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19896 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19897
ed479b02
ST
198982013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19899
19900 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19901 __executable_start symbol instead of _start.
19902
f1cc4c86
TS
199032013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19904
d821f07c
TS
19905 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19906 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19907 Move macros to...
19908 * sysdeps/gnu/ldsodefs.h: ... this new file.
19909
c54290cf
TS
19910 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19911 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19912 instead of ELFOSABI_LINUX.
19913
0007fc9b 19914 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19915 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19916 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19917 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19918 Likewise.
19919 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19920 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19921 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19922 Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19924 (ibm_extended_long_double): Add ieee_nan member.
19925 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19926 (do_test): New function.
19927
f1cc4c86
TS
19928 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19929 TEST_TRUNC.
19930 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19931 functions, renamed from truncdfsf_test, trunctfsf_test,
19932 trunctfdf_test.
19933 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19934 functions.
19935 (do_test): Run all these.
19936
6f65e668
OB
199372013-08-29 Ondřej Bílka <neleai@seznam.cz>
19938
19939 * argp/argp-help.c: Fix typos.
19940 * argp/argp-parse.c: Likewise.
19941 * debug/backtracesyms.c: Likewise.
19942 * elf/elf.h: Likewise.
19943 * malloc/malloc.c: Likewise.
19944 * nis/nis_print.c: Likewise.
19945 * resolv/res_comp.c: Likewise.
19946 * stdlib/stdlib.h: Likewise.
19947 * sunrpc/clnt_tcp.c: Likewise.
19948 * sunrpc/clnt_udp.c: Likewise.
19949 * sunrpc/clnt_unix.c: Likewise.
19950 * sysdeps/unix/bsd/ptsname.c: Likewise.
19951 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19952 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19954 Likewise.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19956 Likewise.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19958 Likewise.
6f65e668
OB
19959 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19960
3a309239
SP
199612013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19962
19963 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19965
3b813b29
MF
199662013-08-27 Mike Frysinger <vapier@gentoo.org>
19967
19968 [BZ #15897]
19969 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19970 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19971 ($(objpfx)bug-dl-leaf): New rule.
19972 ($(objpfx)bug-dl-leaf.so): Likewise.
19973 ($(objpfx)bug-dl-leaf.out): Likewise.
19974 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19975 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19976 * dlfcn/bug-dl-leaf.c: New test.
19977 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19978 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19979 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19980 (dlclose): Likewise.
19981 (dlmopen): Likewise.
19982
8cc3269f
RM
199832013-08-27 Roland McGrath <roland@hack.frob.com>
19984
7f9d0034
RM
19985 * include/netdb.h [!_ISOMAC]:
19986 Don't include <tls.h>.
19987 (h_errno, __libc_h_errno): Move declaration and macros out of
19988 [_LIBC_REENTRANT].
19989
fb431262
RM
19990 * include/resolv.h [_RESOLV_H_]:
19991 Don't include <tls.h>.
19992 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19993 * resolv/res_libc.c: Don't include <tls.h>.
19994 (_res): Use __attribute__ ((nocommon)) in place of
19995 __attribute__ ((section (".bss"))).
19996
bd81123a
RM
19997 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19998 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19999
c4e42566
RM
20000 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20001
f890a59b
RM
20002 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20003 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20004
20005 * resolv/res_mkquery.c: Include <sys/time.h>.
20006
5d1f0a09
RM
20007 * inet/ifreq.c: Moved to ...
20008 * sysdeps/unix/ifreq.c: ... here.
20009 * inet/ifreq.c: New file, true stub version.
20010
6fcf28b3
RM
20011 * socket/sa_len.c: New file.
20012 * socket/Makefile (aux): Add it.
20013 * sysdeps/unix/sysv/linux/Makefile
20014 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20015 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20016 and #include <socket/sa_len.c>.
20017 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20018 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20019
e041fb8b
RM
20020 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20021 * bits/socket.h: ... here.
20022
8cc3269f
RM
20023 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20024 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20025 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20026
5d228a43
AS
200272013-08-27 Andreas Schwab <schwab@suse.de>
20028
45b8accc
AS
20029 [BZ #15736]
20030 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20031 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20032 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20033 * string/test-strcasecmp.c (test_main): Run tests in several
20034 locales.
20035 * string/test-strncasecmp.c (test_main): Likewise.
20036
5d228a43
AS
20037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20038 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20039 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20041 (__strncasecmp_ssse3) [PIC]: Likewise.
20042
59d112a4
RM
200432013-08-26 Roland McGrath <roland@hack.frob.com>
20044
53234cc3
RM
20045 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20046
59d112a4
RM
20047 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20048 instead of explicitly declaring xdecrypt.
20049 * nis/nss_nis/nis-publickey.c: Likewise.
20050
595aba70
SP
200512013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20052
20053 [BZ #15890]
20054 * nscd/aicache.c: Include res_hconf.h.
20055 (addhstaiX): Initialize res_hconf.
20056
ffabd393
AS
200572013-08-26 Andreas Schwab <schwab@suse.de>
20058
20059 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20060 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20061
e0a69f5c
SP
200622013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20063
20064 * nscd/aicache.c (addhstaiX): Fix indentation.
20065
8c12f01d
MF
200662013-08-25 Mike Frysinger <vapier@gentoo.org>
20067
20068 * configure.ac: Quote $build_pt_chown test.
20069 * configure: Regenerated.
20070
8fe89494
JM
200712013-08-23 Joseph Myers <joseph@codesourcery.com>
20072
20073 [BZ #15532]
20074 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20075 * math/s_cexpf.c (__cexpf): Likewise.
20076 * math/s_cexpl.c (__cexpl): Likewise.
20077 * math/libm-test.inc (cexp_test_data): Correct expected return
20078 value for NaN + i0. Add another test.
20079
75b181d6
DM
200802013-08-22 David S. Miller <davem@davemloft.net>
20081
20082 * po/ca.po: Update Catalan translation from translation project.
936241e4 20083 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20084
acd06bb1
JM
200852013-08-21 Joseph Myers <joseph@codesourcery.com>
20086
20087 [BZ #15797]
20088 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20089 is infinite, not alongside NaN test.
20090 * math/s_fdimf.c (__fdimf): Likewise.
20091 * math/s_fdiml.c (__fdiml): Likewise.
20092 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20093 errno is unchanged.
20094
c0c3f78a
OB
200952013-08-21 Ondřej Bílka <neleai@seznam.cz>
20096
20097 * argp/argp-help.c: Fix typos.
20098 * crypt/speeds.c: Likewise.
20099 * csu/check_fds.c: Likewise.
20100 * elf/dl-load.c: Likewise.
20101 * elf/dl-open.c: Likewise.
20102 * elf/reldep3.c: Likewise.
20103 * elf/reldep.c: Likewise.
20104 * elf/sprof.c: Likewise.
20105 * iconv/iconv_charmap.c: Likewise.
20106 * iconv/skeleton.c: Likewise.
20107 * iconv/strtab.c: Likewise.
20108 * io/lockf64.c: Likewise.
20109 * libio/libioP.h: Likewise.
20110 * resolv/gai_notify.c: Likewise.
20111 * resolv/ns_name.c: Likewise.
20112 * resolv/ns_samedomain.c: Likewise.
20113 * resolv/res_send.c: Likewise.
20114 * stdlib/random.c: Likewise.
20115 * sunrpc/rpc/xdr.h: Likewise.
20116 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20118 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20119 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20120 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20124 * sysdeps/mach/hurd/check_fds.c: Likewise.
20125 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20126 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20128 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20129 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20130 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20131 * sysdeps/pthread/aio_notify.c: Likewise.
20132 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20133 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20134 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20136 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20137
46ed1038
LD
201382013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20139
20140 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20141 version if bit_Slow_SSE4_2 is set.
20142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20143 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20144
d400dcac
AZ
201452013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20146
20147 [BZ #15867]
20148 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20149 trampoline stack frame information.
20150 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20152 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20153 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20154 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20155 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20156 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20157 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20158 sa_flags value.
20159 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20160 interrupting a syscall and set with option SA_SIGINFO.
20161
42c8fdd8
JM
201622013-08-20 Joseph Myers <joseph@codesourcery.com>
20163
c980f2f4
JM
20164 [BZ #15531]
20165 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20166 argument is infinite.
20167 * math/s_cprojf.c (__cprojf): Likewise.
20168 * math/s_cprojl.c (__cprojl): Likewise.
20169 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20170 * math/libm-test.inc (cproj_test_data): Add more tests.
20171
0716c4fc
JM
20172 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20173
42c8fdd8
JM
20174 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20175 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20176 size. Use __ffs to determine corresponding shift.
20177
b31469d0
JM
201782013-08-20 Joseph Myers <joseph@codesourcery.com>
20179 Roland McGrath <roland@hack.frob.com>
20180
20181 * Makefile (INSTALL): Remove trailing blank lines from output of
20182 makeinfo.
20183
4e39af6e
AK
201842013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20185
20186 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20187 Align 32 bit compat elf_greg to 8 bytes.
20188
f315524e
AA
201892013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20190
20191 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20192
1326ba1a
SP
201932013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20194
20195 * string/strcoll_l.c (coll_seq): New structure.
20196 (get_next_seq_cached): New function.
20197 (get_next_seq): New function.
20198 (do_compare): New function.
20199 (STRCOLL): Use GNU style definition. Simplify implementation
20200 by using get_next_seq, get_next_seq_cached and do_compare.
20201
91ce4085
FW
202022013-08-16 Florian Weimer <fweimer@redhat.com>
20203
20204 [BZ #14699]
20205 CVE-2013-4237
20206 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20207 member.
20208 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20209 member.
20210 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20211 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20212 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20213 conditional.
20214 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20215 GETDENTS_64BIT_ALIGNED.
20216 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20217 * manual/filesys.texi (Reading/Closing Directory): Document
20218 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20219 strongly.
20220 * manual/conf.texi (Limits for Files): Add portability note to
20221 NAME_MAX, PATH_MAX.
20222 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20223
ca0a6bc4
AS
202242013-08-13 Andreas Schwab <schwab@suse.de>
20225
20226 [BZ #15749]
20227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20228 of fabs.
20229 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20230 LDBL_MAX_EXP >= 16384]: Add tests for it.
20231
6c1fd795
DM
202322013-08-12 David S. Miller <davem@davemloft.net>
20233
20234 * version.h (RELEASE): Set to "development".
20235 (VERSION): Set to "2.18.90".
20236 * NEWS: Add 2.19 section.
20237
31ad488d
DM
202382013-08-03 David S. Miller <davem@davemloft.net>
20239
20240 * po/ko.po: Update Korean translation from translation project.
20241
db24e684
DM
202422013-08-01 David S. Miller <davem@davemloft.net>
20243
20244 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20245 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20246 Bilka.
20247
f723285b
DM
202482013-07-30 David S. Miller <davem@davemloft.net>
20249
20250 * po/fr.po: Update French translation from translation project.
20251
3cbc52db
DM
202522013-07-28 David S. Miller <davem@davemloft.net>
20253
30bbc0cc
DM
20254 * po/cs.po: Update Czech translation from translation project.
20255
3cbc52db
DM
20256 * po/sv.po: Update Swedish translation from translation project.
20257
d492e6d0
DM
202582013-07-27 David S. Miller <davem@davemloft.net>
20259
f1a7f492
DM
20260 * po/eo.po: Update Esperanto translation from translation project.
20261
90e62a4a
DM
20262 * po/vi.po: Update Vietnamese translation from translation project.
20263
d492e6d0
DM
20264 * po/de.po: Update German translation from translation project.
20265
d4baa62d
DM
202662013-07-26 David S. Miller <davem@davemloft.net>
20267
641aa7b4
DM
20268 * po/bg.po: Update Bulgarian translation from translation project.
20269
d4baa62d
DM
20270 * po/nl.po: Update Dutch translation from translation project.
20271 * po/pl.po: Update Polish translation from translation project.
20272 * po/ru.po: Update Russian translation from translation project.
20273
61a9dcb9
DM
202742013-07-24 David S. Miller <davem@davemloft.net>
20275
20276 * po/libc.pot: Update.
20277
7b1f8b58
AZ
202782013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20279
20280 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20281 variable page size.
20282 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20283 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20284 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20285
a8fc7a03
AK
202862013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20287
20288 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20289
e4608715
CD
202902013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20291 Andreas Schwab <schwab@suse.de>
20292 Roland McGrath <roland@hack.frob.com>
20293 Joseph Myers <joseph@codesourcery.com>
20294 Carlos O'Donell <carlos@redhat.com>
20295
20296 [BZ #15755]
20297 * config.h.in: Define HAVE_PT_CHOWN.
20298 * config.make.in (build-pt-chown): New variable.
20299 * configure.in (--enable-pt_chown): New configure option.
20300 * configure: Regenerate.
20301 * login/Makefile: Include Makeconfig. Build pt_chown only if
20302 build-pt-chown is enabled.
20303 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20304 pt_chown to fix pty ownership.
20305 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20306 CLOSE_ALL_FDS.
20307 * manual/install.texi (Configuring and compiling): Mention
20308 --enable-pt_chown. Add @findex for grantpt.
20309 * INSTALL: Regenerate.
20310
da2d62df
DM
203112013-07-20 David S. Miller <davem@davemloft.net>
20312
20313 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20314 difference between 32-bit and 64-bit.
20315
d7e06450
CD
203162013-07-15 Carlos O'Donell <carlos@redhat.com>
20317
20318 [BZ #15711]
20319 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20320 Avoid system header dependency with -ffreestanding.
20321 ($(objpfx)bits/syscall%d): Likewise.
20322
f959cfd7
DM
203232013-07-13 David S. Miller <davem@davemloft.net>
20324
20325 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20326 underflows from atanl/atan2l due to bug 15319.
20327 (casinh_test_data): Likewise.
20328
c61f8513
DM
203292013-07-07 David S. Miller <davem@davemloft.net>
20330
20331 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20332
72c90ed0
JA
203332013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20334
20335 * sysdeps/i386/fpu/libm-test-ulps: Update.
20336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20337
52dfbe13
SP
203382013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20339
20340 * configure.in (--enable-lock-elision): Fix message text.
20341 * INSTALL: Regenerate.
20342 * configure: Regenerate.
20343
3f169543
AZ
203442013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20345
20346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20347
521c6785
AJ
203482013-07-03 Andreas Jaeger <aj@suse.de>
20349
20350 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20351 define.
20352 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20353 (ptrace_peeksiginfo_args): Add.
20354 (__ptrace_peeksiginfo_flags): Add.
20355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20356 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20357 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20358
d2cc15cb
AM
203592013-07-03 Allan McRae <allan@archlinux.org>
20360
20361 * sysdeps/i386/fpu/libm-test-ulps: Update.
20362
3aaeeca7
DM
203632013-07-02 David S. Miller <davem@davemloft.net>
20364
20365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20366
5314ed1a
MT
203672013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20368
20369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20370
67338156
JM
203712013-07-02 Joseph Myers <joseph@codesourcery.com>
20372
20373 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20375
1717da59
AK
203762013-07-02 Andi Kleen <ak@linux.intel.com>
20377
20378 * config.h.in (ENABLE_LOCK_ELISION): Add.
20379 * configure.in (--enable-lock-elision): Add option.
20380 * manual/install.texi: Document --enable lock elision.
20381 * configure: Regenerate
20382 * INSTALL: Regenerate.
20383
1c81621c
L
203842013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20385
20386 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20387 SSE4.2 strcasecmp for libc.a.
20388 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20389
77f01ab5
JM
203902013-07-02 Joseph Myers <joseph@codesourcery.com>
20391
20392 [BZ #13304]
20393 * soft-fp/op-common.h (_FP_FMA): New macro.
20394 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20395 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20396 (_FP_MUL_MEAT_1_imm): ... here.
20397 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20398 (_FP_MUL_MEAT_1_wide): ... here.
20399 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20400 (_FP_MUL_MEAT_1_hard): ... here.
20401 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20402 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20403 (_FP_MUL_MEAT_2_wide): ... here.
20404 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20405 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20406 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20407 (_FP_MUL_MEAT_2_gmp): ... here.
20408 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20409 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20410 (_FP_MUL_MEAT_4_wide): ... here.
20411 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20412 (_FP_MUL_MEAT_4_gmp): ... here.
20413 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20414 (_FP_WFRACBITS_DW_S): Likewise.
20415 (_FP_WFRACXBITS_DW_S): Likewise.
20416 (_FP_HIGHBIT_DW_S): Likewise.
20417 (FP_FMA_S): Likewise.
20418 (_FP_FRAC_HIGH_DW_S): Likewise.
20419 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20420 (_FP_WFRACBITS_DW_D): Likewise.
20421 (_FP_WFRACXBITS_DW_D): Likewise.
20422 (_FP_HIGHBIT_DW_D): Likewise.
20423 (FP_FMA_D): Likewise.
20424 (_FP_FRAC_HIGH_DW_D): Likewise.
20425 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20426 (_FP_WFRACBITS_DW_E): Likewise.
20427 (_FP_WFRACXBITS_DW_E): Likewise.
20428 (_FP_HIGHBIT_DW_E): Likewise.
20429 (FP_FMA_E): Likewise.
20430 (_FP_FRAC_HIGH_DW_E): Likewise.
20431 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20432 (_FP_WFRACBITS_DW_Q): Likewise.
20433 (_FP_WFRACXBITS_DW_Q): Likewise.
20434 (_FP_HIGHBIT_DW_Q): Likewise.
20435 (FP_FMA_Q): Likewise.
20436 (_FP_FRAC_HIGH_DW_Q): Likewise.
20437 * soft-fp/fmasf4.c: New file.
20438 * soft-fp/fmadf4.c: Likewise.
20439 * soft-fp/fmatf4.c: Likewise.
20440
6308fd9a
LD
204412013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20442
20443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20444 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20445 Silvermont.
20446 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20447 macro.
20448 (index_Slow_SSE4_2): Likewise.
20449 (index_Prefer_PMINUB_for_stringop): Likewise.
20450 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20451 bit_Slow_SSE4_2 is set.
20452 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20453 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20454
89cd9569
RA
204552013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20456
20457 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20458 rtld_global._dl_hwcap2.
20459 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20460 POWER8.
20461 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20462 POWER8 feature descriptions defined in _dl_hwcap2.
20463 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20464 string handling for POWER8 feature bits.
20465 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20466 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20467 _dl_powerpc_cap_flags.
20468 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20469 * sysdeps/powerpc/rtld-global-offsets.sym
20470 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20471 _dl_hwcap2 in the rtld_global_ro structure.
20472
1ae8bfe0
RA
204732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20474
20475 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20476 hardware capabilities in support of AT_HWCAP2.
20477 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20478 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20479 GLRO(dl_hwcap2).
20480 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20481 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20482 explicitly the unknown a_type display mechanism is used.
20483 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20484 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20485 struct member.
20486 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20487 to macro prototype for AT_HWCAP2 support.
20488 * sysdeps/i386/dl-procinfo.h: Likewise.
20489 * sysdeps/s390/dl-procinfo.h: Likewise.
20490 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20491 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20492 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20493 return -1 for unknown a_type display fallback.
20494 * sysdeps/sparc/dl-procinfo.h: Likewise.
20495 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20496 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20497
8fbec010
JM
204982013-06-28 Joseph Myers <joseph@codesourcery.com>
20499
20500 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20501 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20502
0432680e
PY
205032013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20504
20505 [BZ #12492]
20506 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20507 mprotect making __stack_prot writable.
20508
ce61a2ad
NF
205092013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20510 Joseph Myers <joseph@codesourcery.com>
20511
20512 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20513 as being properly aligned.
20514
f91f1c0f
MR
205152013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20516
3d0f5d0c
MR
20517 * dlfcn/modstatic5.c: New file.
20518 * dlfcn/tststatic5.c: New file.
20519 * dlfcn/Makefile (tests): Add tststatic5.
20520 (tests-static): Likewise.
20521 (modules-names): Add modstatic5.
20522 (tststatic5-ENV): New variable.
20523 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20524
f91f1c0f
MR
20525 [BZ #15022]
20526 * elf/dl-support.c (_dl_main_map): New variable.
20527 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20528 (_dl_nns, _dl_load_adds): Set to 1.
20529 (_dl_initial_searchlist): Refer to _dl_main_map.
20530 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20531 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20532 call to _dl_get_origin.
20533 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20534 around call_map.
20535 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20536 * dlfcn/modstatic3.c: New file.
20537 * dlfcn/tststatic3.c: New file.
20538 * dlfcn/tststatic4.c: New file.
20539 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20540 (tests-static): Likewise.
20541 (modules-names): Add modstatic3.
20542 (tststatic3-ENV, tststatic4-ENV): New variables.
20543 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20544 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20545
cbe7d24b
JM
205462013-06-26 Joseph Myers <joseph@codesourcery.com>
20547
20548 * configure.in (CC): Require GCC version 4.4 or later.
20549 * configure: Regenerated.
20550 * manual/install.texi (Tools for Compilation): Update GCC version
20551 requirement.
20552 * INSTALL: Regenerated.
20553
11b8a0e1
LD
205542013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20555
20556 [BZ #15674]
bb5bb87c
L
20557 * string/test-memcmp.c (check2): New.
20558 (main): Call check2.
20559
11b8a0e1
LD
20560 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20561
b0037103
MR
205622013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20563
20564 [BZ #15022]
20565 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20566 over to...
20567 (dl_open_worker) [!SHARED]: ... here.
20568
c18c701d
RA
205692013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20570
20571 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20572
1d17fa5f
RH
205732013-06-25 Richard Henderson <rth@redhat.com>
20574
20575 * locale/programs/locarchive.c: Include <libc-internal.h>
20576
8fcb833a
JM
205772013-06-25 Joseph Myers <joseph@codesourcery.com>
20578
20579 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20580 trailing whitespace removed.
20581
17db6e8d
MF
205822013-06-24 Mike Frysinger <vapier@gentoo.org>
20583
20584 [BZ #10283]
17db6e8d
MF
20585 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20586 * locale/programs/locarchive.c: Include libc-mmap.h.
20587 (prepare_address_space): Take two new outputs (the mmap base and len).
20588 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20589 values.
20590 (create_archive): Declare new mmap base and len values for
20591 prepare_address_space, and store the result in ah.
20592 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20593 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20594 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20595 Declare new mmap base and len values for
20596 prepare_address_space, and store the result in new_ah.
20597 (open_archive): Declare new mmap base and len values for
20598 prepare_address_space, and store the result in ah.
20599 (close_archive): If ah->mmap_base is not NULL, use that and
20600 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20601 * sysdeps/generic/libc-mmap.h: New file.
20602
d605071e
MF
206032013-06-24 Mike Frysinger <vapier@gentoo.org>
20604
20605 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20606 (ALIGN_UP): Likewise.
20607 (PTR_ALIGN_DOWN): Likewise.
20608 (PTR_ALIGN_UP): Likewise.
20609
2f063a6e
RA
206102013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20611
20612 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20613 entry mapped to PPC_PLATFORM_POWER8.
20614 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20615 POWER8.
20616 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20617 (_dl_string_platform): Add case for exporting platform position for
20618 POWER8.
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20620 search path to sysdeps/powerpc/powerpc32/power8 directory.
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20622 search path to sysdeps/powerpc/powerpc64/power8 directory.
20623 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20624 power7 directories.
20625 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20626 power7 directories.
20627
a31ee4b3
SP
206282013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20629
a74ca98f
SP
20630 * INSTALL: Regenerate.
20631
a31ee4b3
SP
20632 * nscd/connections.c (nscd_init): Fix comment.
20633
695c378f
JM
206342013-06-22 Joseph Myers <joseph@codesourcery.com>
20635
d8412221
JM
20636 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20637
695c378f
JM
20638 [BZ #15667]
20639 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20640 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20641
d1d54715
MR
206422013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20643
20644 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20645 DL_DST_REQ_STATIC.
20646 (DL_DST_REQ_STATIC): Remove macro.
20647
8fdda7af
JM
206482013-06-21 Joseph Myers <joseph@codesourcery.com>
20649
20650 [BZ #7006]
20651 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20652 with a shift of 0 bits.
20653
f3bc5e5a
MR
206542013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20655
20656 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20657 $(tststatic-ENV).
20658
be09e8c9
KK
206592013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20660
20661 [BZ #15655]
20662 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20663
85c2e611
AZ
206642013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20665
20666 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20667 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20668 accepts -fno-tree-loop-distribute-patterns.
20669 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20670 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20671 recursive call.
20672 * string/memset.c (memset): Likewise.
20673 * string/test-memmove.c (simple_memmove): Disable loop transformation
20674 to library calls.
20675 * string/test-memset.c (simple_memset): Likewise.
20676 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20677 * benchtests/bench-memset.c (simple_memset): Likewise.
20678 * configure: Regenerated.
20679
c91e0825
JM
206802013-06-20 Joseph Myers <joseph@codesourcery.com>
20681
b8c792af
JM
20682 * math/test-misc.c (main): Ignore fesetround failure when failures
20683 of subsequent rounding tests would be ignored.
20684
c91e0825
JM
20685 [BZ #15654]
20686 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20687 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20688 * math/fegetenv.c (__fegetenv): Return 0.
20689 * math/fegetexcept.c (fegetexcept): Return 0.
20690 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20691 FE_TONEAREST.
20692 * math/feholdexcpt.c (feholdexcept): Return 0.
20693 * math/fesetenv.c (__fesetenv): Return 0.
20694 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20695 argument FE_TONEAREST.
20696 * math/feupdateenv.c (__feupdateenv): Return 0.
20697 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20698
bfcacbde
RM
206992013-06-18 Roland McGrath <roland@hack.frob.com>
20700
20701 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20702 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20703 ($(objpfx)rtld-%.os rules): Use them.
20704
e55a9b25
AZ
207052013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20706
20707 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20708 fields.
20709
346d65b3
RM
207102013-06-17 Roland McGrath <roland@hack.frob.com>
20711
12086fb4
RM
20712 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20713 length of target pattern, then descending length of dependency pattern.
20714 * configure.in (AWK): Require gawk 3.1.2 or newer.
20715 * manual/install.texi (Tools for Compilation): Say that we do.
20716 * configure: Regenerated.
20717
346d65b3
RM
20718 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20719 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20720 * scripts/sysd-rules.awk: ... this new script.
20721 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20722 than a glob-style pattern.
20723
1a846317
JM
207242013-06-17 Joseph Myers <joseph@codesourcery.com>
20725
20726 * math/test-misc.c (main): Do not treat incorrectly rounded
20727 conversions as failure unless ROUNDING_TESTS passes.
20728
8fc75e6f
JM
207292013-06-15 Joseph Myers <joseph@codesourcery.com>
20730
3711a167
JM
20731 [BZ #15631]
20732 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20733 restore exception state around main square root computation, then
20734 check for inexactness explicitly.
20735
8fc75e6f
JM
20736 * math/libm-test.inc (fma_test_data): Add another test.
20737
61dd6208
SP
207382013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20739
adf23d2c
SP
20740 * manual/threads.texi (Non-POSIX Extensions): New document
20741 node. Document pthread_getattr_default_np and
20742 pthread_setattr_default_np.
20743
61dd6208
SP
20744 * Versions.def (libpthread): Add GLIBC_2.18.
20745 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20747 Likewise.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20749 Likewise.
20750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20751 Likewise.
20752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20753 Likewise.
20754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20755 Likewise.
20756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20757 Likewise.
20758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20759 Likewise.
20760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20761 Likewise.
20762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20763 Likewise.
20764
d086fc7b
LD
207652013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20766
20767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20768 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20769
747ef469
SP
207702013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20771 H.J. Lu <hjl.tools@gmail.com>
20772
20773 [BZ #15627]
20774 * sysdeps/x86_64/rtld-memset.c: Remove file.
20775 * sysdeps/x86_64/rtld-memset.S: New file.
20776
1b2feed2
JM
207772013-06-14 Joseph Myers <joseph@codesourcery.com>
20778
20779 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20780 (test_in_one_mode): Take arguments for whether the rounding mode
20781 is supported for each floating-point type.
20782 (do_test): Pass new arguments to test_in_one_mode using
20783 ROUNDING_TESTS.
20784
a58ad3f8
RM
207852013-06-13 Roland McGrath <roland@hack.frob.com>
20786
20787 * posix/tst-waitid.c (do_test): Distinguish different instances of
20788 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20789 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20790 before entering the kernel for waitpid.
20791
c204ab28
SP
207922013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20793
20794 * NEWS: Fix note on clock function precision. Text by Roland
20795 McGrath.
20796
f4a29fba
RM
207972013-06-13 Roland McGrath <roland@hack.frob.com>
20798
20799 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20800 it into place only when and if the sanity check passes.
20801
1f24b9ad
JM
208022013-06-13 Joseph Myers <joseph@codesourcery.com>
20803
20804 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20805 output for whether conversion result is exact. Take argument
20806 indicating whether type is IBM long double.
20807 (round_for_all): Change need_exact field to ibm_ld.
20808 * stdlib/tst-strtod-round.c (struct exactness): New type.
20809 (struct test): Change bool ld_ok field to struct exactness exact.
20810 (TEST): Update all definitions for change to field.
20811 (tests): Regenerate array contents.
20812 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20813 field value. Check for IBM long double here.
20814 (do_test): Update calls to test_in_one_mode.
20815
58206c68
SP
208162013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20817
20818 [BZ #12515]
20819 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20820 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20821
2d6f4c5b 208222013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20823
20824 [BZ #15605]
20825 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20826 generated by the compiler on loop optimizations.
20827 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20828 general definitions.
20829
94f2c076
JM
208302013-06-12 Joseph Myers <joseph@codesourcery.com>
20831
20832 * math/bug-nextafter.c: Include <math-tests.h>.
20833 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20834 the relevant type.
20835 * math/bug-nexttoward.c: Include <math-tests.h>.
20836 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20837 the relevant type.
20838 * math/test-misc.c: Include <math-tests.h>.
20839 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20840 the relevant type.
20841
e0e50a0a
AJ
208422013-06-12 Andreas Jaeger <aj@suse.de>
20843
20844 * po/ia.po: Update Interlingua translation from translation
20845 project.
20846
25061094
SP
208472013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20848
20849 * include/fenv.h: Include stdbool.h.
20850 (struct rm_ctx): New structure.
20851 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20852 Define macro.
20853 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20854 (SET_RESTORE_ROUNDF): Likewise.
20855 (SET_RESTORE_ROUNDL): Likewise.
20856 (SET_RESTORE_ROUND_NOEX): Likewise.
20857 (SET_RESTORE_ROUND_NOEXF): Likewise.
20858 (SET_RESTORE_ROUND_NOEXL): Likewise.
20859 (SET_RESTORE_ROUND_53BIT): Likewise.
20860 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20861 (libc_feresetround_noexf_ctx): Likewise.
20862 (libc_feresetround_noexl_ctx): Likewise.
20863 (libc_feholdsetround_53bit_ctx): Likewise.
20864 (libc_feresetround_53bit_ctx): Likewise.
20865 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20866 (libc_feholdexcept_setround_sse_ctx): New function.
20867 (libc_fesetenv_sse_ctx): Likewise.
20868 (libc_feupdateenv_sse_ctx): Likewise.
20869 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20870 (libc_feholdexcept_setround_387_ctx): Likewise.
20871 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20872 (libc_feholdsetround_387_prec_ctx): Likewise.
20873 (libc_feholdsetround_387_ctx): Likewise.
20874 (libc_feholdsetround_387_53bit_ctx): Likewise.
20875 (libc_feholdsetround_sse_ctx): Likewise.
20876 (libc_feresetround_sse_ctx): Likewise.
20877 (libc_feresetround_387_ctx): Likewise.
20878 (libc_feupdateenv_387_ctx): Likewise.
20879 (libc_feholdexcept_setroundf_ctx): Define macro.
20880 (libc_fesetenvf_ctx): Likewise.
20881 (libc_feupdateenvf_ctx): Likewise.
20882 (libc_feholdsetroundf_ctx): Likewise.
20883 (libc_feresetroundf_ctx): Likewise.
20884 (libc_feholdexcept_setround_ctx): Likewise.
20885 (libc_fesetenv_ctx): Likewise.
20886 (libc_feupdateenv_ctx): Likewise.
20887 (libc_feholdsetround_ctx): Likewise.
20888 (libc_feresetround_ctx): Likewise.
20889 (libc_feholdexcept_setroundl_ctx): Likewise.
20890 (libc_feupdateenvl_ctx): Likewise.
20891 (libc_feholdsetroundl_ctx): Likewise.
20892 (libc_feresetroundl_ctx): Likewise.
20893 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20894 (libc_feresetround_53bit_ctx): Likewise.
20895
59b30555
SP
208962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20897
20898 * locale/iso-639.def: Convert to UTF-8.
20899
f1d73d30
JM
209002013-06-11 Joseph Myers <joseph@codesourcery.com>
20901
20902 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20903 (EXCEPTION_TESTS_double): Likewise.
20904 (EXCEPTION_TESTS_long_double): Likewise.
20905 (EXCEPTION_TESTS): Likewise.
20906 * math/libm-test.inc (test_exceptions): Only test exceptions if
20907 EXCEPTION_TESTS (FLOAT).
20908
94aca5e7
SP
209092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20910
20911 * benchtests/Makefile (string-bench): Add strcpy_chk and
20912 stpcpy_chk.
20913 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20914 * benchtests/bench-stpcpy_chk.c: New file.
20915 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20916 * benchtests/bench-strcpy_chk.c: New file.
20917 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20918 code.
20919 (do_test): Likewise.
20920
fac0c5f2
RA
209212013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20922
20923 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20924 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20925 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20926 with tabs where appropriate.
20927 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20928 dl-procinfo.h.
20929 [PPC_PLATFORM_PPC440]: Likewise.
20930 [PPC_PLATFORM_PPC464]: Likewise.
20931 [PPC_PLATFORM_PPC476]: Likewise.
20932 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20933 ppc464, and ppc476 platform strings merging from ports/
20934 dl-procinfo.h.
20935
f22bc486
AS
209362013-06-11 Andreas Schwab <schwab@suse.de>
20937
20938 [BZ #14991]
20939 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20940 (from_ucs4_idx): Regenerate.
20941 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20942 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20943 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20944 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20945 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20946 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20947 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20948 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20949 from FROM_LOOP and TO_LOOP specific macros.
20950 (BODY): Handle combining characters.
20951 * iconvdata/BIG5HKSCS.irreversible: Update.
20952 * iconvdata/BIG5HKSCS.precomposed: New file.
20953 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20954 characters.
20955 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20956
c1f75dc3
SP
209572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20958
4eacded2
SP
20959 * include/sys/time.h: Fix indentation and add copyright header.
20960
fec799f8
SP
20961 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20962 (do_test): Likewise.
20963 * string/test-memchr.c (do_one_test): Likewise.
20964 (do_test): Likewise.
20965 * string/test-memcmp.c (do_one_test): Likewise.
20966 (do_test): Likewise.
20967 * string/test-memcpy.c (do_one_test): Likewise.
20968 (do_test): Likewise.
20969 * string/test-memmem.c (do_one_test): Likewise.
20970 (do_test): Likewise.
20971 (do_random_tests): Likewise.
20972 * string/test-memmove.c (do_one_test): Likewise.
20973 (do_test): Likewise.
20974 * string/test-memset.c (do_one_test): Likewise.
20975 (do_test): Likewise.
20976 * string/test-rawmemchr.c (do_one_test): Likewise.
20977 (do_test): Likewise.
20978 * string/test-strcasecmp.c (do_one_test): Likewise.
20979 (do_test): Likewise.
20980 * string/test-strcasestr.c (do_one_test): Likewise.
20981 (do_test): Likewise.
20982 * string/test-strcat.c (do_one_test): Likewise.
20983 (do_test): Likewise.
20984 * string/test-strchr.c (do_one_test): Likewise.
20985 (do_test): Likewise.
20986 * string/test-strcmp.c (do_one_test): Likewise.
20987 (do_test): Likewise.
20988 * string/test-strcpy.c (do_one_test): Likewise.
20989 (do_test): Likewise.
20990 * string/test-string.h: Likewise.
20991 (test_init): Likewise.
20992 * string/test-strlen.c (do_one_test): Likewise.
20993 (do_test): Likewise.
20994 * string/test-strncasecmp.c (do_one_test): Likewise.
20995 (do_test): Likewise.
20996 * string/test-strncat.c (do_one_test): Likewise.
20997 (do_test): Likewise.
20998 * string/test-strncmp.c (do_one_test): Likewise.
20999 (do_test_limit): Likewise.
21000 (do_test): Likewise.
21001 * string/test-strncpy.c (do_one_test): Likewise.
21002 (do_test): Likewise.
21003 * string/test-strnlen.c (do_one_test): Likewise.
21004 (do_test): Likewise.
21005 * string/test-strpbrk.c (do_one_test): Likewise.
21006 (do_test): Likewise.
21007 * string/test-strrchr.c (do_one_test): Likewise.
21008 (do_test): Likewise.
21009 * string/test-strspn.c (do_one_test): Likewise.
21010 (do_test): Likewise.
21011 * string/test-strstr.c (do_one_test): Likewise.
21012 (do_test): Likewise.
21013
97020474
SP
21014 * benchtests/Makefile (string-bench): Add string benchmarks.
21015 * benchtests/bench-bcopy-ifunc.c: New file.
21016 * benchtests/bench-bcopy.c: New file.
21017 * benchtests/bench-bzero-ifunc.c: New file.
21018 * benchtests/bench-bzero.c: New file.
21019 * benchtests/bench-memccpy-ifunc.c: New file.
21020 * benchtests/bench-memccpy.c: New file.
21021 * benchtests/bench-memchr-ifunc.c: New file.
21022 * benchtests/bench-memchr.c: New file.
21023 * benchtests/bench-memcmp-ifunc.c: New file.
21024 * benchtests/bench-memcmp.c: New file.
21025 * benchtests/bench-memmem-ifunc.c: New file.
21026 * benchtests/bench-memmem.c: New file.
21027 * benchtests/bench-memmove-ifunc.c: New file.
21028 * benchtests/bench-memmove.c: New file.
21029 * benchtests/bench-mempcpy-ifunc.c: New file.
21030 * benchtests/bench-mempcpy.c: New file.
21031 * benchtests/bench-memset-ifunc.c: New file.
21032 * benchtests/bench-memset.c: New file.
21033 * benchtests/bench-rawmemchr-ifunc.c: New file.
21034 * benchtests/bench-rawmemchr.c: New file.
21035 * benchtests/bench-stpcpy-ifunc.c: New file.
21036 * benchtests/bench-stpcpy.c: New file.
21037 * benchtests/bench-stpncpy-ifunc.c: New file.
21038 * benchtests/bench-stpncpy.c: New file.
21039 * benchtests/bench-strcasecmp-ifunc.c: New file.
21040 * benchtests/bench-strcasecmp.c: New file.
21041 * benchtests/bench-strcasestr-ifunc.c: New file.
21042 * benchtests/bench-strcasestr.c: New file.
21043 * benchtests/bench-strcat-ifunc.c: New file.
21044 * benchtests/bench-strcat.c: New file.
21045 * benchtests/bench-strchr-ifunc.c: New file.
21046 * benchtests/bench-strchr.c: New file.
21047 * benchtests/bench-strchrnul-ifunc.c: New file.
21048 * benchtests/bench-strchrnul.c: New file.
21049 * benchtests/bench-strcmp-ifunc.c: New file.
21050 * benchtests/bench-strcmp.c: New file.
21051 * benchtests/bench-strcpy-ifunc.c: New file.
21052 * benchtests/bench-strcpy.c: New file.
21053 * benchtests/bench-strcspn-ifunc.c: New file.
21054 * benchtests/bench-strcspn.c: New file.
21055 * benchtests/bench-strlen-ifunc.c: New file.
21056 * benchtests/bench-strlen.c: New file.
21057 * benchtests/bench-strncasecmp-ifunc.c: New file.
21058 * benchtests/bench-strncasecmp.c: New file.
21059 * benchtests/bench-strncat-ifunc.c: New file.
21060 * benchtests/bench-strncat.c: New file.
21061 * benchtests/bench-strncmp-ifunc.c: New file.
21062 * benchtests/bench-strncmp.c: New file.
21063 * benchtests/bench-strncpy-ifunc.c: New file.
21064 * benchtests/bench-strncpy.c: New file.
21065 * benchtests/bench-strnlen-ifunc.c: New file.
21066 * benchtests/bench-strnlen.c: New file.
21067 * benchtests/bench-strpbrk-ifunc.c: New file.
21068 * benchtests/bench-strpbrk.c: New file.
21069 * benchtests/bench-strrchr-ifunc.c: New file.
21070 * benchtests/bench-strrchr.c: New file.
21071 * benchtests/bench-strspn-ifunc.c: New file.
21072 * benchtests/bench-strspn.c: New file.
21073 * benchtests/bench-strstr-ifunc.c: New file.
21074 * benchtests/bench-strstr.c: New file.
21075
c1f75dc3
SP
21076 * benchtests/Makefile: Disable parallel execution of targets.
21077 (string-bench): Add memcpy.
21078 (benchset): New variable to store a list of benchmark sets.
21079 (bench-func): Renamed from bench.
21080 (bench-set): New target.
21081 (bench): Depend on bench-func and bench-set.
21082 * benchtests/README: Add section on benchmark sets.
21083 * benchtests/bench-memcpy-ifunc.c: New file.
21084 * benchtests/bench-memcpy.c: New file.
21085 * benchtests/bench-string.h: New file.
21086
50fd745b
AS
210872013-06-11 Andreas Schwab <schwab@suse.de>
21088
21089 [BZ #15577]
21090 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21091 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21092 values in the triple.
21093 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21094 terminator in the group key.
21095
3ee7e9fe
AJ
210962013-06-11 Andreas Jaeger <aj@suse.de>
21097
21098 * po/zh_TW.po: Update Chinese (traditional) translation from
21099 translation project.
21100
89fb6835
SP
211012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21102
21103 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21104 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21105 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21107 (clock_getcpuclockid): Likewise.
21108 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21109 Add weak_alias and libc_hidden_def.
21110 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21111 * rt/clock_gettime.c (clock_gettime): Rename to
21112 __clock_gettime. Add weak_alias and libc_hidden_def.
21113 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21114 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21115 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21116 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21117 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21118 Likewise.
21119 * rt/clock_settime.c (clock_settime): Rename to
21120 __clock_settime. Add weak_alias and libc_hidden_def.
21121 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21122
0efa6f8b
JM
211232013-06-10 Joseph Myers <joseph@codesourcery.com>
21124
b8c61b4b
JM
21125 * mach/err_boot.sub: Remove trailing whitespace.
21126 * mach/err_ipc.sub: Likewise.
21127 * mach/err_mach.sub: Likewise.
21128
0efa6f8b
JM
21129 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21130 (ROUNDING_TESTS_double): Likewise.
21131 (ROUNDING_TESTS_long_double): Likewise.
21132 (ROUNDING_TESTS): Likewise.
21133 * math/libm-test.inc: Include <math-tests.h>.
21134 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21135 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21136 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21137 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21138
50b818bf
SP
211392013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21140
21141 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21142 of assigning.
21143
60d2f8f3
JM
211442013-06-08 Joseph Myers <joseph@codesourcery.com>
21145
4902d2c3
JM
21146 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21147 otherwise empty TRANS lines.
21148 * sysdeps/gnu/errlist.c: Regenerated.
21149
60d2f8f3
JM
21150 * catgets/gencat.c (error_print): Use (void) in function
21151 definition.
21152 * crypt/crypt_util.c (__init_des): Likewise.
21153 * crypt/speeds.c (Stop): Likewise.
21154 (main): Likewise.
21155 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21156 * inet/ruserpass.c (token): Likewise.
21157 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21158 * intl/localealias.c (extend_alias_table): Likewise.
21159 * intl/plural-exp.c (init_germanic_plural): Likewise.
21160 * libio/fcloseall.c (__fcloseall): Likewise.
21161 * libio/genops.c (_IO_flush_all): Likewise.
21162 (_IO_flush_all_linebuffered): Likewise.
21163 (_IO_cleanup): Likewise.
21164 (_IO_iter_begin): Likewise.
21165 (_IO_iter_end): Likewise.
21166 (_IO_list_lock): Likewise.
21167 (_IO_list_unlock): Likewise.
21168 (_IO_list_resetlock): Likewise.
21169 * libio/getchar.c (getchar): Likewise.
21170 * libio/getchar_u.c (getchar_unlocked): Likewise.
21171 * libio/getwchar.c (getwchar): Likewise.
21172 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21173 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21174 * login/getpt.c (__getpt): Likewise.
21175 * login/tst-utmp.c (main): Likewise.
21176 * malloc/hooks.c (__malloc_check_init): Likewise.
21177 * malloc/malloc.c (__malloc_stats): Likewise.
21178 * malloc/mtrace.c (tr_break): Likewise.
21179 (mtrace): Likewise.
21180 (muntrace): Likewise.
21181 * misc/fstab.c (endfsent): Likewise.
21182 * misc/getclktck.c (__getclktck): Likewise.
21183 * misc/getdtsz.c (__getdtablesize): Likewise.
21184 * misc/gethostid.c (gethostid): Likewise.
21185 * misc/getpagesize.c (__getpagesize): Likewise.
21186 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21187 (__get_nprocs): Likewise.
21188 (__get_phys_pages): Likewise.
21189 (__get_avphys_pages): Likewise.
21190 * misc/getttyent.c (getttyent): Likewise.
21191 (setttyent): Likewise.
21192 (endttyent): Likewise.
21193 * misc/getusershell.c (getusershell): Likewise.
21194 (endusershell): Likewise.
21195 (setusershell): Likewise.
21196 (initshells): Likewise.
21197 * misc/hsearch.c (__hdestroy): Likewise.
21198 * misc/sync.c (sync): Likewise.
21199 * misc/syslog.c (closelog_internal): Likewise.
21200 (closelog): Likewise.
21201 * misc/ttyslot.c (ttyslot): Likewise.
21202 * misc/vhangup.c (vhangup): Likewise.
21203 * posix/fork.c (__fork): Likewise.
21204 * posix/getegid.c (__getegid): Likewise.
21205 * posix/geteuid.c (__geteuid): Likewise.
21206 * posix/getgid.c (__getgid): Likewise.
21207 * posix/getpid.c (__getpid): Likewise.
21208 * posix/getppid.c (__getppid): Likewise.
21209 * posix/getuid.c (__getuid): Likewise.
21210 * posix/pause.c (pause): Likewise.
21211 * posix/setpgrp.c (setpgrp): Likewise.
21212 * posix/setsid.c (__setsid): Likewise.
21213 * posix/test-vfork.c (noop): Likewise.
21214 * resolv/gethnamaddr.c (_endhtent): Likewise.
21215 (_gethtent): Likewise.
21216 (ht_endhostent): Likewise.
21217 (gethostent): Likewise.
21218 (dns_service): Likewise.
21219 * stdlib/drand48.c (drand48): Likewise.
21220 * stdlib/lrand48.c (lrand48): Likewise.
21221 * stdlib/mrand48.c (mrand48): Likewise.
21222 * stdlib/rand.c (rand): Likewise.
21223 * stdlib/random.c (__random): Likewise.
21224 * stdlib/setenv.c (clearenv): Likewise.
21225 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21226 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21227 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21228 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21229 (__get_nprocs): Likewise.
21230 (__get_phys_pages): Likewise.
21231 (__get_avphys_pages): Likewise.
21232 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21233 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21234 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21235 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21236 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21237 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21238 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21239 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21240 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21241 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21242 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21243 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21244 * sysdeps/posix/clock.c (clock): Likewise.
21245 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21246 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21247 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21248 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21249 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21251 (__get_nprocs_conf): Likewise.
21252 (__get_phys_pages): Likewise.
21253 (__get_avphys_pages): Likewise.
21254 * time/clock.c (clock): Likewise.
21255 * time/tzset.c (__tzname_max): Likewise.
21256
2e09a79a
JM
212572013-06-07 Joseph Myers <joseph@codesourcery.com>
21258
21259 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21260 (__bswap_32): Do not use "register".
21261 * crypt/crypt.c (_ufc_doit_r): Likewise.
21262 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21263 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21264 * gmon/gmon.c (__monstartup): Likewise.
21265 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21266 * hurd/hurdmalloc.c (more_memory): Likewise.
21267 (malloc): Likewise.
21268 (free): Likewise.
21269 (realloc): Likewise.
21270 (malloc_fork_prepare): Likewise.
21271 (malloc_fork_parent): Likewise.
21272 (malloc_fork_child): Likewise.
21273 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21274 (_svcauth_des): Likewise.
21275 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21276 * inet/inet_net.c (inet_network): Likewise.
21277 * inet/inet_netof.c (inet_netof): Likewise.
21278 * inet/rcmd.c (__validuser2_sa): Likewise.
21279 * io/fts.c (fts_open): Likewise.
21280 (fts_load): Likewise.
21281 (fts_close): Likewise.
21282 (fts_read): Likewise.
21283 (fts_children): Likewise.
21284 (fts_build): Likewise.
21285 (fts_stat): Likewise.
21286 (fts_sort): Likewise.
21287 (fts_alloc): Likewise.
21288 (fts_lfree): Likewise.
21289 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21290 (_IO_file_xsgetn): Likewise.
21291 (_IO_file_xsgetn_mmap): Likewise.
21292 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21293 (_IO_cookie_write): Likewise.
21294 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21295 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21296 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21297 * malloc/obstack.c (_obstack_begin): Likewise.
21298 (_obstack_begin_1): Likewise.
21299 (_obstack_newchunk): Likewise.
21300 (_obstack_allocated_p): Likewise.
21301 (obstack_free): Likewise.
21302 (_obstack_memory_used): Likewise.
21303 * misc/getttyent.c (getttynam): Likewise.
21304 (getttyent): Likewise.
21305 (skip): Likewise.
21306 (value): Likewise.
21307 * misc/getusershell.c (initshells): Likewise.
21308 * misc/syslog.c (__vsyslog_chk): Likewise.
21309 * misc/ttyslot.c (ttyslot): Likewise.
21310 * nis/nis_hash.c (__nis_hash): Likewise.
21311 * posix/fnmatch_loop.c (FCT): Likewise.
21312 * posix/getconf.c (print_all): Likewise.
21313 (main): Likewise.
21314 * posix/getopt.c (exchange): Likewise.
21315 * posix/glob.c (globfree): Likewise.
21316 (prefix_array): Likewise.
21317 (__glob_pattern_type): Likewise.
21318 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21319 (NS_GET32): Likewise.
21320 (NS_PUT16): Likewise.
21321 (NS_PUT32): Likewise.
21322 * resolv/gethnamaddr.c (getanswer): Likewise.
21323 (gethostbyname2): Likewise.
21324 (gethostbyaddr): Likewise.
21325 (_gethtent): Likewise.
21326 (_gethtbyname2): Likewise.
21327 (_gethtbyaddr): Likewise.
21328 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21329 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21330 * resolv/res_init.c (__res_vinit): Likewise.
21331 (net_mask): Likewise.
21332 * resolv/res_mkquery.c (outchar): Likewise.
21333 (PRINT): Likewise.
21334 * stdio-common/printf_fp.c (outchar): Likewise.
21335 (PRINT): Likewise.
21336 * stdio-common/printf_fphex.c (outchar): Likewise.
21337 (PRINT): Likewise.
21338 * stdio-common/printf_size.c (outchar): Likewise.
21339 (PRINT): Likewise.
21340 * stdio-common/test_rdwr.c (main): Likewise.
21341 * stdio-common/tfformat.c (matches): Likewise.
21342 * stdio-common/vfprintf.c (outchar): Likewise.
21343 (printf_unknown): Likewise.
21344 (buffered_vfprintf): Likewise.
21345 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21346 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21347 (ReadFile): Likewise.
21348 * stdlib/qsort.c (SWAP): Likewise.
21349 (_quicksort): Likewise.
21350 * stdlib/setenv.c (__add_to_environ): Likewise.
21351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21352 * stdlib/strtol_l.c (__strtol_l): Likewise.
21353 * stdlib/tst-strtod.c (main): Likewise.
21354 * stdlib/tst-strtol.c (main): Likewise.
21355 * stdlib/tst-strtoll.c (main): Likewise.
21356 * string/bits/string2.h (__strcmp_cc): Likewise.
21357 (__strcmp_cg): Likewise.
21358 (__strcspn_c1): Likewise.
21359 (__strcspn_c2): Likewise.
21360 (__strcspn_c3): Likewise.
21361 (__strspn_c1): Likewise.
21362 (__strspn_c2): Likewise.
21363 (__strspn_c3): Likewise.
21364 (__strsep_1c): Likewise.
21365 (__strsep_2c): Likewise.
21366 (__strsep_3c): Likewise.
21367 * string/memccpy.c (__memccpy): Likewise.
21368 * string/stpcpy.c (__stpcpy): Likewise.
21369 * string/strcmp.c (strcmp): Likewise.
21370 * string/strrchr.c (strrchr): Likewise.
21371 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21372 Likewise.
21373 * sysdeps/mach/hurd/getcwd.c
21374 (_hurd_canonicalize_directory_name_internal): Likewise.
21375 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21376 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21378 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21379 Likewise, in both definitions.
21380 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21381 definitions.
21382 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21383 64] (__bswap_64): Likewise.
21384 * time/test_time.c (main): Likewise.
21385 * time/tzfile.c (__tzfile_read): Likewise.
21386 (__tzfile_compute): Likewise.
21387 * time/tzset.c (__tzset_parse_tz): Likewise.
21388 (tzset_internal): Likewise.
21389 (compute_change): Likewise.
21390 * wcsmbs/wcscat.c (__wcscat): Likewise.
21391 * wcsmbs/wcschr.c (wcschr): Likewise.
21392 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21393 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21394 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21395 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21396 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21397 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21398 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21399 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21400 * wcsmbs/wmemset.c (wmemset): Likewise.
21401
9e54314b
JM
214022013-06-06 Joseph Myers <joseph@codesourcery.com>
21403
21404 * scripts/config.guess: Update to version 2013-05-16.
21405 * scripts/config.sub: Update to version 2013-04-24.
21406 * scripts/install-sh: Update to version 2011-11-20.07.
21407 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21408 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21409
350635a5
OB
214102013-06-06 Ondřej Bílka <neleai@seznam.cz>
21411
21412 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21413 * elf/sln.c: Likewise.
21414 * hurd/hurd/ioctl.h: Likewise.
21415 * hurd/hurdmalloc.c: Likewise.
21416 * hurd/xattr.c: Likewise.
21417 * include/shlib-compat.h: Likewise.
21418 * inet/ruserpass.c: Likewise.
21419 * libio/iofgets_u.c: Likewise.
21420 * libio/iofgetws_u.c: Likewise.
21421 * locale/programs/ld-identification.c: Likewise.
21422 * locale/programs/ld-time.c: Likewise.
21423 * mach/msg-destroy.c: Likewise.
21424 * nss/nss_files/files-netgrp.c: Likewise.
21425 * resolv/res_data.c: Likewise.
21426 * soft-fp/op-1.h: Likewise.
21427 * soft-fp/op-2.h: Likewise.
21428 * soft-fp/op-4.h: Likewise.
21429 * soft-fp/op-common.h: Likewise.
21430 * stdio-common/printf_fphex.c: Likewise.
21431 * stdlib/strtod_l.c: Likewise.
21432 * sunrpc/rpc/clnt.h: Likewise.
21433 * sysdeps/generic/framestate.c: Likewise.
21434 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21435 * sysdeps/i386/bsd-setjmp.S: Likewise.
21436 * sysdeps/i386/__longjmp.S: Likewise.
21437 * sysdeps/i386/setjmp.S: Likewise.
21438 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21439 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21444 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21445 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21446 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21447 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21448 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21449 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21450 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21452 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21453 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21455 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21456 * sysdeps/ieee754/support.c: Likewise.
21457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21458 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21459 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21460 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21461 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21462 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21463 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21464 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21465 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21466 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21467 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21468 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21469 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21470 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21471 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21472 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21473 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21475
44a988af
OB
214762013-06-05 Ondřej Bílka <neleai@seznam.cz>
21477
25506f09 21478 * posix/transbug.c: Remove executable mode.
44a988af 21479
9c84384c
JM
214802013-06-05 Joseph Myers <joseph@codesourcery.com>
21481
21482 * crypt/speeds.c: Remove trailing whitespace.
21483 * dlfcn/default.c: Likewise.
21484 * elf/ifuncdep2.c: Likewise.
21485 * elf/ifuncmain1.c: Likewise.
21486 * elf/ifuncmain1vis.c: Likewise.
21487 * elf/testobj.h: Likewise.
21488 * elf/tst-stackguard1.c: Likewise.
21489 * gmon/sys/gmon.h: Likewise.
21490 * hurd/hurdmsg.c: Likewise.
21491 * hurd/new-fd.c: Likewise.
21492 * hurd/ports-get.c: Likewise.
21493 * iconvdata/ibm1008_420.c: Likewise.
21494 * inet/tst-getni1.c: Likewise.
21495 * inet/tst-getni2.c: Likewise.
21496 * libio/ioungetc.c: Likewise.
21497 * libio/wfiledoalloc.c: Likewise.
21498 * manual/libm-err-tab.pl: Likewise.
21499 * math/w_dremf.c: Likewise.
21500 * misc/ftruncate.c: Likewise.
21501 * posix/bug-glob2.c: Likewise.
21502 * posix/tst-pcre.c: Likewise.
21503 * posix/wait4.c: Likewise.
21504 * resolv/README: Likewise.
21505 * resolv/res_debug.h: Likewise.
21506 * resolv/tst-inet_ntop.c: Likewise.
21507 * setjmp/bug269-setjmp.c: Likewise.
21508 * soft-fp/extended.h: Likewise.
21509 * soft-fp/op-1.h: Likewise.
21510 * soft-fp/op-2.h: Likewise.
21511 * soft-fp/op-4.h: Likewise.
21512 * soft-fp/op-8.h: Likewise.
21513 * soft-fp/testit.c: Likewise.
21514 * stdio-common/bug16.c: Likewise.
21515 * stdlib/random.c: Likewise.
21516 * sunrpc/rpcsvc/rquota.x: Likewise.
21517 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21518 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21520 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21521 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21522 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21523 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21524 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21525 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21526 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21527 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21529 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21546 * sysdeps/ieee754/s_lib_version.c: Likewise.
21547 * sysdeps/mach/hurd/check_fds.c: Likewise.
21548 * sysdeps/mach/hurd/getsockname.c: Likewise.
21549 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21550 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21551 * sysdeps/powerpc/bits/link.h: Likewise.
21552 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21553 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21554 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21555 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21556 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21557 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21558 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21559 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21560 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21561 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21562 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21563 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21564 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21565 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21566 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21567 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21571 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21573 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21575 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21576 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21577 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21578 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21579 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21580 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21582 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21584 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21586 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21587 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21588 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21589 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21590 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21591 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21592 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21593 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21594 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21595 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21596 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21597 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21598 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21599 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21600 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21601 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21604 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21605 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21606 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21607 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21608 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21609 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21610 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21611 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21612 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21614 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21615 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21616 * sysdeps/powerpc/sysdep.h: Likewise.
21617 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21618 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21619 * sysdeps/sh/dl-trampoline.S: Likewise.
21620 * sysdeps/sh/memset.S: Likewise.
21621 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21622 * sysdeps/sh/strlen.S: Likewise.
21623 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21624 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21625 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21626 * sysdeps/sparc/sparc32/rem.S: Likewise.
21627 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21628 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21629 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21630 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21631 * sysdeps/sparc/sparc32/urem.S: Likewise.
21632 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21633 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21634 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21635 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21636 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21637 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21638 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21639 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21640 * sysdeps/unix/bsd/times.c: Likewise.
21641 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21642 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21646 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21647 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21648 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21649 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21650 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21651 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21652 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21653 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21654 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21655 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21656 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21657 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21658 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21659 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21660 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21661 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21662 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21663 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21664 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21665 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21666 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21667 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21669 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21670 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21671 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21672 * sysdeps/x86_64/strcspn.S: Likewise.
21673
869378a5
RA
216742013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21675
21676 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21677 generated file. Regenerate properly from gen-translit.pl.
21678 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21679 locale/C-translit.h.
21680
840e2943
AS
216812013-06-05 Andreas Schwab <schwab@suse.de>
21682
21683 [BZ #15100]
21684 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21685 week as 6 instead of -1.
21686 * time/tst-strptime.c (day_tests): Add test case.
21687
4c60cb0c
SP
216882013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21689
21690 * sysdeps/generic/math_private.h
21691 (libc_feholdexcept_setround_53bit): Replace with
21692 libc_feholdsetround_53bit.
21693 (libc_feupdateenv_53bit): Replace with
21694 libc_feresetround_53bit.
21695 (SET_RESTORE_ROUND_53BIT): Adjust.
21696
d180203e
SP
216972013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21698
96df079a
SP
21699 * string/test-strchrnul.c: Add copyright header.
21700
d180203e
SP
21701 * posix/tst-getaddrinfo4.c: Increase test timeout.
21702
8b0ccb2d
CD
217032013-06-03 Carlos O'Donell <carlos@redhat.com>
21704
21705 [BZ #15536]
21706 * math/libm-test.inc (MAX_EXP): Remove
21707 (MIN_EXP): Define.
21708 (ulp): Use MIN_EXP - MANT_DIG.
21709 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21710
3b3c4d40
CD
217112013-05-31 Carlos O'Donell <carlos@redhat.com>
21712
21713 * po/be.po: Revert last change.
21714 * po/zh_CN.po: Likewise.
21715 * po/header.pot: Likewise.
21716
fab7ce3f
JM
217172013-05-31 Joseph Myers <joseph@codesourcery.com>
21718
21719 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21720 link-libc-deps to empty as target-specific variable.
21721 * Makerules (link-libc-args): New variable.
21722 (libc-for-link): Likewise.
21723 (link-libc-deps): Likewise.
21724 (lib%.so): Depend on $(link-libc-deps). Link with
21725 $(link-libc-args).
21726 (build-module): Link with $(link-libc-args).
21727 (build-module-asneeded): Likewise.
21728 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21729 list of objects.
21730 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21731 target-specific variable.
21732 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21733 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21734 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21735 libc.
21736 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21737 libc and ld.so.
21738 ($(objpfx)libpcprofile.so): Likewise.
21739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21740 libc_nonshared.a.
21741 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21742 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21743 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21744 $(link-libc-deps).
21745 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21746 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21747 * login/Makefile ($(objpfx)libutil.so): Likewise.
21748 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21749 * math/Makefile ($(objpfx)libm.so): Likewise.
21750 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21751 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21752 variable instead of depending directly on libc.
21753 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21754 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21755 $(link-libc-deps).
21756 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21757 libc.
21758 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21759 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21760 ($(objpfx)libanl.so): Likewise.
21761 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21762 ld.so.
21763 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21764 $(link-libc-deps).
21765 * sysdeps/i386/fpu/Makefile: Remove file.
21766 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21767 ($(objpfx)libm.so): Remove dependency on ld.so.
21768
eca5920c
PF
217692013-05-30 Patsy Franklin <pfrankli@redhat.com>
21770
21771 [BZ # 15553]
21772 * nis/yp_xdr.c (XDRMAXNAME): Define.
21773 (XDRMAXRECORD): Define.
21774 (xdr_domainname): Use XDRMAXNAME.
21775 (xdr_mapname): Likewise.
21776 (xdr_peername): Likewise.
21777 (xdr_keydat): Use XDRMAXRECORD.
21778 (xdr_valdat): Likewise.
21779
217802013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21781
21782 [BZ #14256]
21783 * manual/errno.texi (ESTALE): Update to account for more than
21784 just NFS file systems.
21785 * sysdeps/gnu/errlist.c: Regenerated.
21786
b9375348
SP
217872013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21788
21789 [BZ #15465]
21790 * elf/Makefile (tests): Add tst-null-argv.
21791 (modules-names): Add tst-null-argv-lib.
21792 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21793 (tst-null-argv-ENV): Set environment for tst-null-argv.
21794 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21795 (RTLD_PROGNAME): New macro.
21796 * elf/tst-null-argv.c: New test case.
21797 * elf/tst-null-argv-lib.c: Library for test case.
21798 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21799 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21800 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21801 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21802 * elf/dl-init.c (call_init): Likewise.
21803 (_dl_init): Likewise.
21804 * elf/dl-load.c (print_search_path): Likewise.
21805 (_dl_map_object): Likewise.
21806 * elf/dl-lookup.c (do_lookup_x): Likewise.
21807 (add_dependency): Likewise.
21808 (_dl_lookup_symbol_x): Likewise.
21809 (_dl_debug_bindings): Likewise.
21810 * elf/dl-open.c (_dl_show_scope): Likewise.
21811 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21812 * elf/dl-version.c (match_symbol): Likewise.
21813 (_dl_check_map_versions): Likewise.
21814 * elf/rtld.c (dl_main): Likewise.
21815 (print_unresolved): Use RTLD_PROGNAME.
21816 (print_missing_version): Likewise.
21817 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21818 (elf_machine_rela): Likewise.
21819 * sysdeps/powerpc/powerpc32/dl-machine.c
21820 (__process_machine_rela): Likewise.
21821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21822 Likewise.
21823 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21824 Likewise.
21825 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21826 Likewise.
21827 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21828 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21829 Likewise.
21830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21831 Likewise.
21832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21833
8a9f20c8
CD
218342013-05-28 Carlos O'Donell <carlos@redhat.com>
21835
21836 * po/be.po: Add descriptive title.
21837 * po/zh_CN.po: Likewise.
21838 * po/header.pot: Likewise.
21839
0e60d68e
MF
218402013-05-28 Mike Frysinger <vapier@gentoo.org>
21841
21842 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21843 error message.
21844 (enlarge_archive): Likewise.
21845
56b672e9
BN
218462013-05-28 Ben North <ben@redfrontdoor.org>
21847
21848 * manual/arith.texi (frexp): It is the magnitude of the return
21849 value which lies in [0.5, 1), not the return value itself.
21850
5e056687
AZ
218512013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852
21853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21854
2b66ef5d
TS
218552013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21856
528c2405
TS
21857 * stdio-common/bug26.c (main): Correct fscanf template.
21858
07b4c13d
TS
21859 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21860 declare _dl_skip_args.
21861
ec9dd97c
TS
21862 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21863 Don't declare.
21864
2b66ef5d
TS
21865 * manual/platform.texi: Add missing @end deftypefun.
21866
4f8dfe27
JM
218672013-05-24 Joseph Myers <joseph@codesourcery.com>
21868
0323d086
JM
21869 [BZ #15529]
21870 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21871 bit of mantissa of 2^16382.
21872 * math/libm-test.inc (hypot_test_data): Add more tests.
21873
dd4259b9
JM
21874 * math/libm-test.inc: Add drem and pow10 to list of tested
21875 functions.
21876 (pow10_test): New function.
21877 (drem_test): Likewise.
21878 (drem_test_tonearest): Likewise.
21879 (drem_test_towardzero): Likewise.
21880 (drem_test_downward): Likewise.
21881 (drem_test_upward): Likewise.
21882 (main): Call the new functions.
21883
4f8dfe27
JM
21884 * math/libm-test.inc (finite_test_data): Remove.
21885 (finite_test): Run tests from isfinite_test_data.
21886 (gamma_test_data): Remove.
21887 (gamma_test): Run tests from lgamma_test_data.
21888 * sysdeps/i386/fpu/libm-test-ulps: Update.
21889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21890
d116b7c4
AZ
218912013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21892
21893 * manual/platform.texi: Add PowerPC PPR function set documentation.
21894 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21895 implementation.
21896
e96e3767
CD
218972013-05-24 Carlos O'Donell <carlos@redhat.com>
21898
21899 * math/libm-test.inc (MAX_EXP): Define.
21900 (ULPDIFF): Define.
21901 (ulp): New function.
21902 (check_float_internal): Use ULPDIFF.
21903 (cpow_test): Disable failing test.
21904 (check_ulp): Test ulp() implemetnation.
21905 (main): Call check_ulp before starting tests.
21906
b679a606
JM
219072013-05-24 Joseph Myers <joseph@codesourcery.com>
21908
e8bdba36
JM
21909 * math/gen-libm-test.pl (generate_testfile): Do not handle
21910 START_DATA and END_DATA.
21911 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21912 END_DATA.
21913 (acos_tonearest_test_data): Likewise.
21914 (acos_towardzero_test_data): Likewise.
21915 (acos_downward_test_data): Likewise.
21916 (acos_upward_test_data): Likewise.
21917 (acosh_test_data): Likewise.
21918 (asin_test_data): Likewise.
21919 (asin_tonearest_test_data): Likewise.
21920 (asin_towardzero_test_data): Likewise.
21921 (asin_downward_test_data): Likewise.
21922 (asin_upward_test_data): Likewise.
21923 (asinh_test_data): Likewise.
21924 (atan_test_data): Likewise.
21925 (atanh_test_data): Likewise.
21926 (atan2_test_data): Likewise.
21927 (cabs_test_data): Likewise.
21928 (cacos_test_data): Likewise.
21929 (cacosh_test_data): Likewise.
21930 (carg_test_data): Likewise.
21931 (casin_test_data): Likewise.
21932 (casinh_test_data): Likewise.
21933 (catan_test_data): Likewise.
21934 (catanh_test_data): Likewise.
21935 (cbrt_test_data): Likewise.
21936 (ccos_test_data): Likewise.
21937 (ccosh_test_data): Likewise.
21938 (ceil_test_data): Likewise.
21939 (cexp_test_data): Likewise.
21940 (cimag_test_data): Likewise.
21941 (clog_test_data): Likewise.
21942 (clog10_test_data): Likewise.
21943 (conj_test_data): Likewise.
21944 (copysign_test_data): Likewise.
21945 (cos_test_data): Likewise.
21946 (cos_tonearest_test_data): Likewise.
21947 (cos_towardzero_test_data): Likewise.
21948 (cos_downward_test_data): Likewise.
21949 (cos_upward_test_data): Likewise.
21950 (cosh_test_data): Likewise.
21951 (cosh_tonearest_test_data): Likewise.
21952 (cosh_towardzero_test_data): Likewise.
21953 (cosh_downward_test_data): Likewise.
21954 (cosh_upward_test_data): Likewise.
21955 (cpow_test_data): Likewise.
21956 (cproj_test_data): Likewise.
21957 (creal_test_data): Likewise.
21958 (csin_test_data): Likewise.
21959 (csinh_test_data): Likewise.
21960 (csqrt_test_data): Likewise.
21961 (ctan_test_data): Likewise.
21962 (ctan_tonearest_test_data): Likewise.
21963 (ctan_towardzero_test_data): Likewise.
21964 (ctan_downward_test_data): Likewise.
21965 (ctan_upward_test_data): Likewise.
21966 (ctanh_test_data): Likewise.
21967 (ctanh_tonearest_test_data): Likewise.
21968 (ctanh_towardzero_test_data): Likewise.
21969 (ctanh_downward_test_data): Likewise.
21970 (ctanh_upward_test_data): Likewise.
21971 (erf_test_data): Likewise.
21972 (erfc_test_data): Likewise.
21973 (exp_test_data): Likewise.
21974 (exp_tonearest_test_data): Likewise.
21975 (exp_towardzero_test_data): Likewise.
21976 (exp_downward_test_data): Likewise.
21977 (exp_upward_test_data): Likewise.
21978 (exp10_test_data): Likewise.
21979 (exp2_test_data): Likewise.
21980 (expm1_test_data): Likewise.
21981 (fabs_test_data): Likewise.
21982 (fdim_test_data): Likewise.
21983 (finite_test_data): Likewise.
21984 (floor_test_data): Likewise.
21985 (fma_test_data): Likewise.
21986 (fma_towardzero_test_data): Likewise.
21987 (fma_downward_test_data): Likewise.
21988 (fma_upward_test_data): Likewise.
21989 (fmax_test_data): Likewise.
21990 (fmin_test_data): Likewise.
21991 (fmod_test_data): Likewise.
21992 (fpclassify_test_data): Likewise.
21993 (frexp_test_data): Likewise.
21994 (gamma_test_data): Likewise.
21995 (hypot_test_data): Likewise.
21996 (ilogb_test_data): Likewise.
21997 (isfinite_test_data): Likewise.
21998 (isgreater_test_data): Likewise.
21999 (isgreaterequal_test_data): Likewise.
22000 (isinf_test_data): Likewise.
22001 (isless_test_data): Likewise.
22002 (islessequal_test_data): Likewise.
22003 (islessgreater_test_data): Likewise.
22004 (isnan_test_data): Likewise.
22005 (isnormal_test_data): Likewise.
22006 (issignaling_test_data): Likewise.
22007 (isunordered_test_data): Likewise.
22008 (j0_test_data): Likewise.
22009 (j1_test_data): Likewise.
22010 (jn_test_data): Likewise.
22011 (ldexp_test_data): Likewise.
22012 (lgamma_test_data): Likewise.
22013 (lrint_test_data): Likewise.
22014 (lrint_tonearest_test_data): Likewise.
22015 (lrint_towardzero_test_data): Likewise.
22016 (lrint_downward_test_data): Likewise.
22017 (lrint_upward_test_data): Likewise.
22018 (llrint_test_data): Likewise.
22019 (llrint_tonearest_test_data): Likewise.
22020 (llrint_towardzero_test_data): Likewise.
22021 (llrint_downward_test_data): Likewise.
22022 (llrint_upward_test_data): Likewise.
22023 (log_test_data): Likewise.
22024 (log10_test_data): Likewise.
22025 (log1p_test_data): Likewise.
22026 (log2_test_data): Likewise.
22027 (logb_test_data): Likewise.
22028 (logb_downward_test_data): Likewise.
22029 (lround_test_data): Likewise.
22030 (llround_test_data): Likewise.
22031 (modf_test_data): Likewise.
22032 (nearbyint_test_data): Likewise.
22033 (nextafter_test_data): Likewise.
22034 (nexttoward_test_data): Likewise.
22035 (pow_test_data): Likewise.
22036 (pow_tonearest_test_data): Likewise.
22037 (pow_towardzero_test_data): Likewise.
22038 (pow_downward_test_data): Likewise.
22039 (pow_upward_test_data): Likewise.
22040 (remainder_test_data): Likewise.
22041 (remainder_tonearest_test_data): Likewise.
22042 (remainder_towardzero_test_data): Likewise.
22043 (remainder_downward_test_data): Likewise.
22044 (remainder_upward_test_data): Likewise.
22045 (remquo_test_data): Likewise.
22046 (rint_test_data): Likewise.
22047 (rint_tonearest_test_data): Likewise.
22048 (rint_towardzero_test_data): Likewise.
22049 (rint_downward_test_data): Likewise.
22050 (rint_upward_test_data): Likewise.
22051 (round_test_data): Likewise.
22052 (scalb_test_data): Likewise.
22053 (scalbn_test_data): Likewise.
22054 (scalbln_test_data): Likewise.
22055 (signbit_test_data): Likewise.
22056 (sin_test_data): Likewise.
22057 (sin_tonearest_test_data): Likewise.
22058 (sin_towardzero_test_data): Likewise.
22059 (sin_downward_test_data): Likewise.
22060 (sin_upward_test_data): Likewise.
22061 (sincos_test_data): Likewise.
22062 (sinh_test_data): Likewise.
22063 (sinh_tonearest_test_data): Likewise.
22064 (sinh_towardzero_test_data): Likewise.
22065 (sinh_downward_test_data): Likewise.
22066 (sinh_upward_test_data): Likewise.
22067 (sqrt_test_data): Likewise.
22068 (tan_test_data): Likewise.
22069 (tan_tonearest_test_data): Likewise.
22070 (tan_towardzero_test_data): Likewise.
22071 (tan_downward_test_data): Likewise.
22072 (tan_upward_test_data): Likewise.
22073 (tanh_test_data): Likewise.
22074 (tgamma_test_data): Likewise.
22075 (trunc_test_data): Likewise.
22076 (y0_test_data): Likewise.
22077 (y1_test_data): Likewise.
22078 (yn_test_data): Likewise.
22079 (significand_test_data): Likewise.
22080
b679a606
JM
22081 * math/gen-libm-test.pl (@functions): Remove variable.
22082 (generate_testfile): Don't handle START and END lines.
22083 * math/libm-test.inc (START): New macro.
22084 (END): Likewise.
22085 (END_COMPLEX): Likewise.
22086 (acos_test): Use END macro without arguments.
22087 (acos_test_tonearest): Likewise.
22088 (acos_test_towardzero): Likewise.
22089 (acos_test_downward): Likewise.
22090 (acos_test_upward): Likewise.
22091 (acosh_test): Likewise.
22092 (asin_test): Likewise.
22093 (asin_test_tonearest): Likewise.
22094 (asin_test_towardzero): Likewise.
22095 (asin_test_downward): Likewise.
22096 (asin_test_upward): Likewise.
22097 (asinh_test): Likewise.
22098 (atan_test): Likewise.
22099 (atanh_test): Likewise.
22100 (atan2_test): Likewise.
22101 (cabs_test): Likewise.
22102 (cacos_test): Use END_COMPLEX macro without arguments.
22103 (cacosh_test): Likewise.
22104 (carg_test): Use END macro without arguments.
22105 (casin_test): Use END_COMPLEX macro without arguments.
22106 (casinh_test): Likewise.
22107 (catan_test): Likewise.
22108 (catanh_test): Likewise.
22109 (cbrt_test): Use END macro without arguments.
22110 (ccos_test): Use END_COMPLEX macro without arguments.
22111 (ccosh_test): Likewise.
22112 (ceil_test): Use END macro without arguments.
22113 (cexp_test): Use END_COMPLEX macro without arguments.
22114 (cimag_test): Use END macro without arguments.
22115 (clog_test): Use END_COMPLEX macro without arguments.
22116 (clog10_test): Likewise.
22117 (conj_test): Likewise.
22118 (copysign_test): Use END macro without arguments.
22119 (cos_test): Likewise.
22120 (cos_test_tonearest): Likewise.
22121 (cos_test_towardzero): Likewise.
22122 (cos_test_downward): Likewise.
22123 (cos_test_upward): Likewise.
22124 (cosh_test): Likewise.
22125 (cosh_test_tonearest): Likewise.
22126 (cosh_test_towardzero): Likewise.
22127 (cosh_test_downward): Likewise.
22128 (cosh_test_upward): Likewise.
22129 (cpow_test): Use END_COMPLEX macro without arguments.
22130 (cproj_test): Likewise.
22131 (creal_test): Use END macro without arguments.
22132 (csin_test): Use END_COMPLEX macro without arguments.
22133 (csinh_test): Likewise.
22134 (csqrt_test): Likewise.
22135 (ctan_test): Likewise.
22136 (ctan_test_tonearest): Likewise.
22137 (ctan_test_towardzero): Likewise.
22138 (ctan_test_downward): Likewise.
22139 (ctan_test_upward): Likewise.
22140 (ctanh_test): Likewise.
22141 (ctanh_test_tonearest): Likewise.
22142 (ctanh_test_towardzero): Likewise.
22143 (ctanh_test_downward): Likewise.
22144 (ctanh_test_upward): Likewise.
22145 (erf_test): Use END macro without arguments.
22146 (erfc_test): Likewise.
22147 (exp_test): Likewise.
22148 (exp_test_tonearest): Likewise.
22149 (exp_test_towardzero): Likewise.
22150 (exp_test_downward): Likewise.
22151 (exp_test_upward): Likewise.
22152 (exp10_test): Likewise.
22153 (exp2_test): Likewise.
22154 (expm1_test): Likewise.
22155 (fabs_test): Likewise.
22156 (fdim_test): Likewise.
22157 (finite_test): Likewise.
22158 (floor_test): Likewise.
22159 (fma_test): Likewise.
22160 (fma_test_towardzero): Likewise.
22161 (fma_test_downward): Likewise.
22162 (fma_test_upward): Likewise.
22163 (fmax_test): Likewise.
22164 (fmin_test): Likewise.
22165 (fmod_test): Likewise.
22166 (fpclassify_test): Likewise.
22167 (frexp_test): Likewise.
22168 (gamma_test): Likewise.
22169 (hypot_test): Likewise.
22170 (ilogb_test): Likewise.
22171 (isfinite_test): Likewise.
22172 (isgreater_test): Likewise.
22173 (isgreaterequal_test): Likewise.
22174 (isinf_test): Likewise.
22175 (isless_test): Likewise.
22176 (islessequal_test): Likewise.
22177 (islessgreater_test): Likewise.
22178 (isnan_test): Likewise.
22179 (isnormal_test): Likewise.
22180 (issignaling_test): Likewise.
22181 (isunordered_test): Likewise.
22182 (j0_test): Likewise.
22183 (j1_test): Likewise.
22184 (jn_test): Likewise.
22185 (ldexp_test): Likewise.
22186 (lgamma_test): Likewise.
22187 (lrint_test): Likewise.
22188 (lrint_test_tonearest): Likewise.
22189 (lrint_test_towardzero): Likewise.
22190 (lrint_test_downward): Likewise.
22191 (lrint_test_upward): Likewise.
22192 (llrint_test): Likewise.
22193 (llrint_test_tonearest): Likewise.
22194 (llrint_test_towardzero): Likewise.
22195 (llrint_test_downward): Likewise.
22196 (llrint_test_upward): Likewise.
22197 (log_test): Likewise.
22198 (log10_test): Likewise.
22199 (log1p_test): Likewise.
22200 (log2_test): Likewise.
22201 (logb_test): Likewise.
22202 (logb_test_downward): Likewise.
22203 (lround_test): Likewise.
22204 (llround_test): Likewise.
22205 (modf_test): Likewise.
22206 (nearbyint_test): Likewise.
22207 (nextafter_test): Likewise.
22208 (nexttoward_test): Likewise.
22209 (pow_test): Likewise.
22210 (pow_test_tonearest): Likewise.
22211 (pow_test_towardzero): Likewise.
22212 (pow_test_downward): Likewise.
22213 (pow_test_upward): Likewise.
22214 (remainder_test): Likewise.
22215 (remainder_test_tonearest): Likewise.
22216 (remainder_test_towardzero): Likewise.
22217 (remainder_test_downward): Likewise.
22218 (remainder_test_upward): Likewise.
22219 (remquo_test): Likewise.
22220 (rint_test): Likewise.
22221 (rint_test_tonearest): Likewise.
22222 (rint_test_towardzero): Likewise.
22223 (rint_test_downward): Likewise.
22224 (rint_test_upward): Likewise.
22225 (round_test): Likewise.
22226 (scalb_test): Likewise.
22227 (scalbn_test): Likewise.
22228 (scalbln_test): Likewise.
22229 (signbit_test): Likewise.
22230 (sin_test): Likewise.
22231 (sin_test_tonearest): Likewise.
22232 (sin_test_towardzero): Likewise.
22233 (sin_test_downward): Likewise.
22234 (sin_test_upward): Likewise.
22235 (sincos_test): Likewise.
22236 (sinh_test): Likewise.
22237 (sinh_test_tonearest): Likewise.
22238 (sinh_test_towardzero): Likewise.
22239 (sinh_test_downward): Likewise.
22240 (sinh_test_upward): Likewise.
22241 (sqrt_test): Likewise.
22242 (tan_test): Likewise.
22243 (tan_test_tonearest): Likewise.
22244 (tan_test_towardzero): Likewise.
22245 (tan_test_downward): Likewise.
22246 (tan_test_upward): Likewise.
22247 (tanh_test): Likewise.
22248 (tgamma_test): Likewise.
22249 (trunc_test): Likewise.
22250 (y0_test): Likewise.
22251 (y1_test): Likewise.
22252 (yn_test): Likewise.
22253 (significand_test): Likewise.
22254
bae143d2
OB
222552013-05-24 Ondřej Bílka <neleai@seznam.cz>
22256
22257 [BZ #15381]
22258 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22259
9323d39b
EM
222602013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22261
d4ea44a0 22262 [BZ #14894]
9323d39b
EM
22263 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22264 __ppc_mdoio and __ppc_mdoom.
22265 * manual/platform.texi: Document new functions __ppc_yield,
22266 __ppc_mdoio and __ppc_mdoom.
22267
13e23af7
CD
222682013-05-22 Carlos O'Donell <carlos@redhat.com>
22269
22270 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22271 (main): Mention "tls" pseudo-hwcap is legacy.
22272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22273
351fe550
JM
222742013-05-22 Joseph Myers <joseph@codesourcery.com>
22275
22276 * math/gen-libm-test.pl (parse_args): Output only string of
22277 arguments as text for test name, not full call or descriptions of
22278 tests for extra outputs.
22279 (generate_testfile): Do not pass function name to parse_args.
22280 Generate this_func variable from START.
22281 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22282 field to arg_str.
22283 (struct test_ff_f_data): Likewise.
22284 (test_ff_f_data_nexttoward): Likewise.
22285 (struct test_fi_f_data): Likewise.
22286 (struct test_fl_f_data): Likewise.
22287 (struct test_if_f_data): Likewise.
22288 (struct test_fff_f_data): Likewise.
22289 (struct test_c_f_data): Likewise.
22290 (struct test_f_f1_data): Likewise. Remove field extra_name.
22291 (struct test_fF_f1_data): Likewise.
22292 (struct test_ffI_f1_data): Likewise.
22293 (struct test_c_c_data): Rename test_name field to arg_str.
22294 (struct test_cc_c_data): Likewise.
22295 (struct test_f_i_data): Likewise.
22296 (struct test_ff_i_data): Likewise.
22297 (struct test_f_l_data): Likewise.
22298 (struct test_f_L_data): Likewise.
22299 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22300 and extra2_name.
22301 (COMMON_TEST_SETUP): New macro.
22302 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22303 (COMMON_TEST_CLEANUP): Likewise.
22304 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22305 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22306 macros.
22307 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22308 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22309 macros.
22310 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22311 (RUN_TEST_fff_f): Take argument string. Call new setup and
22312 cleanup macros.
22313 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22314 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22315 macros.
22316 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22317 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22318 macros.
22319 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22320 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22321 cleanup macros.
22322 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22323 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22324 cleanup macros.
22325 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22326 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22327 cleanup macros.
22328 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22329 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22330 macros.
22331 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22332 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22333 macros.
22334 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22335 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22336 macros.
22337 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22338 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22339 cleanup macros.
22340 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22341 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22342 cleanup macros.
22343 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22344 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22345 macros.
22346 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22347 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22348 cleanup macros.
22349 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22350 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22351 macros.
22352 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22353 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22354 macros.
22355 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22356 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22357 cleanup macros.
22358 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22359
85118d4d
EBM
223602013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22361
22362 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22363 to _sifields.sigfault.
22364 (si_addr_lsb): Define new macro.
22365 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22367 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22368
7a44c18f
CD
223692013-05-03 Carlos O'Donell <carlos at redhat.com>
22370
22371 [BZ #15441]
22372 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22373 returns -1.
22374 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22375 null return -1.
22376 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22377 loading the domain.
22378
b50a7181
JM
223792013-05-22 Joseph Myers <joseph@codesourcery.com>
22380
22381 * math/gen-libm-test.pl (parse_args): Do not include expected
22382 result in test name.
22383 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22384 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22385 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22386 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22387 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22389
051063c8
SP
223902013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22391
3ce9e010
SP
22392 * benchtests/Makefile: Sort function entries.
22393
051063c8
SP
22394 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22395 tanh, asinh, acosh, atanh.
22396 * benchtests/acos-inputs: New file.
22397 * benchtests/acosh-inputs: New file.
22398 * benchtests/asin-inputs: New file.
22399 * benchtests/asinh-inputs: New file.
22400 * benchtests/atanh-inputs: New file.
22401 * benchtests/cosh-inputs: New file.
22402 * benchtests/log-inputs: New file.
22403 * benchtests/sinh-inputs: New file.
22404 * benchtests/tanh-inputs: New file.
22405
47c22455
DL
224062013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22407
22408 [BZ #15339]
22409 * posix/tst-getaddrinfo4.c: New test.
22410 * posix/Makefile (tests): Add it.
22411
3d04f5db
SP
224122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22413
22414 [BZ #15339]
22415 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22416 when no services were used.
22417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22418 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22419
d5dd6189
AS
224202013-05-21 Andreas Schwab <schwab@suse.de>
22421
22422 [BZ #15014]
22423 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22424 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22425 successful.
22426 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22427 redundant variable declarations and reallocation of buffer when
22428 parsing as IPv6 address. Always set NSS status when called from
22429 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22430 buffer too small. Correct computation of needed size.
22431 * nss/Makefile (tests): Add test-digits-dots.
22432 * nss/test-digits-dots.c: New test.
22433
fef94eab
SP
224342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22435
22436 * benchtests/Makefile: Remove instructions for adding
22437 benchmark tests.
22438 * benchtests/README: New file to explain how to execute and
22439 enhance the benchmark tests.
22440
e39adf43
AS
224412013-05-21 Andreas Schwab <schwab@suse.de>
22442
22443 [BZ #15493]
22444 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22445 * setjmp/tst-sigsetjmp.c: New test.
22446
b2b671b6
OB
224472013-05-20 Ondřej Bílka <neleai@seznam.cz>
22448
22449 * sysdeps/x86_64/memset.S (memset): New implementation.
22450 (__bzero): Likewise.
22451 (__memset_tail): New function.
22452
2d48b41c
OB
224532013-05-20 Ondřej Bílka <neleai@seznam.cz>
22454
22455 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22456 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22457 __memcpy_sse2_unaligned ifunc selection.
22458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22459 Add memcpy-sse2-unaligned.S.
22460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22461 Add: __memcpy_sse2_unaligned.
22462
f16cc3eb
JM
224632013-05-19 Joseph Myers <joseph@codesourcery.com>
22464
3e694268
JM
22465 [BZ #15490]
22466 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22467 math_force_eval before restoring floating-point envrionment.
22468 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22470 Likewise.
22471 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22472 <math_private.h>.
22473 (__nearbyintl): Use math_force_eval before restoring
22474 floating-point environment.
22475 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22476
db62a907
JM
22477 * math/gen-libm-test.pl (special_functions): Remove.
22478 (parse_args): Don't handle TEST_extra. Handle functions with no
22479 return value.
22480 * math/libm-test.inc (struct test_sincos_data): Replace with
22481 struct test_fFF_11_data.
22482 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22483 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22484 (sincos_test_data): Change element type to struct
22485 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22486 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22487 RUN_TEST_LOOP_sincos.
22488 * math/README.libm-test: Don't mention special handling of
22489 individual functions.
22490 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22492 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22493 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22494 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22496
f16cc3eb
JM
22497 * math/gen-libm-test.pl (get_variable): Remove function.
22498 (parse_args): Don't show pointer parameters to call in test
22499 names. Use "extra output N" in test names for extra outputs
22500 rather than naming variables.
22501
3779b5b6
JM
225022013-05-18 Joseph Myers <joseph@codesourcery.com>
22503
2ee094ff
JM
22504 [BZ #15488]
22505 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22506 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22507 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22508 double tests.
22509 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22510 disable.
22511 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22512 check_long_double.
22513
3779b5b6
JM
22514 * math/gen-libm-test.pl (@tests): Remove variable.
22515 ($count): Likewise.
22516 (new_test): Remove function.
22517 (show_exceptions): New function.
22518 (special_functions): Use show_exceptions instead of new_test.
22519 (parse_args): Likewise.
22520 (generate_testfile): Pass only function name in generated call to
22521 print_max_error or print_complex_max_error.
22522 (get_ulps): Do not handle complex tests specially.
22523 (output_test): Rename to ...
22524 (get_all_ulps_for_test): ... this. Return a string rather than
22525 printing to a file. Require ulps to be present.
22526 (output_ulps): Generate arrays rather than #defines.
22527 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22528 (struct ulp_data): New type.
22529 (BUILD_COMPLEX_ULP): Remove macro.
22530 (compare_ulp_data): New function.
22531 (find_ulps): Likewise.
22532 (find_test_ulps): Likewise.
22533 (find_function_ulps): Likewise.
22534 (find_complex_function_ulps): Likewise.
22535 (print_max_error): Determine allowed ulps using
22536 find_function_ulps.
22537 (print_complex_max_error): Determine allowed ulps using
22538 find_complex_function_ulps.
22539 (check_float_internal): Determine max ulps using find_test_ulps.
22540 (check_float): Do not take max_ulp parameter. Update call to
22541 check_float_internal.
22542 (check_complex): Likewise.
22543 (check_int): Do not take max_ulp parameter.
22544 (check_long): Likewise.
22545 (check_bool): Likewise.
22546 (check_longlong): Likewise.
22547 (struct test_f_f_data): Remove max_ulp field.
22548 (struct test_ff_f_data): Likewise.
22549 (struct test_ff_f_data_nexttoward): Likewise.
22550 (struct test_fi_f_data): Likewise.
22551 (struct test_fl_f_data): Likewise.
22552 (struct test_if_f_data): Likewise.
22553 (struct test_fff_f_data): Likewise.
22554 (struct test_c_f_data): Likewise.
22555 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22556 (struct test_fF_f1_data): Likewise.
22557 (struct test_ffI_f1_data): Likewise.
22558 (struct test_c_c_data): Remove max_ulp field.
22559 (struct test_cc_c_data): Likewise.
22560 (struct test_f_i_data): Likewise.
22561 (struct test_ff_i_data): Likewise.
22562 (struct test_f_l_data): Likewise.
22563 (struct test_f_L_data): Likewise.
22564 (struct test_sincos_data): Likewise.
22565 (RUN_TEST_f_f): Do not handle ulps.
22566 (RUN_TEST_LOOP_f_f): Likewise.
22567 (RUN_TEST_2_f): Likewise.
22568 (RUN_TEST_LOOP_2_f): Likewise.
22569 (RUN_TEST_fff_f): Likewise.
22570 (RUN_TEST_LOOP_fff_f): Likewise.
22571 (RUN_TEST_c_f): Likewise.
22572 (RUN_TEST_LOOP_c_f): Likewise.
22573 (RUN_TEST_f_f1): Likewise.
22574 (RUN_TEST_LOOP_f_f1): Likewise.
22575 (RUN_TEST_fF_f1): Likewise.
22576 (RUN_TEST_LOOP_fF_f1): Likewise.
22577 (RUN_TEST_fI_f1): Likewise.
22578 (RUN_TEST_LOOP_fI_f1): Likewise.
22579 (RUN_TEST_ffI_f1): Likewise.
22580 (RUN_TEST_LOOP_ffI_f1): Likewise.
22581 (RUN_TEST_c_c): Likewise.
22582 (RUN_TEST_LOOP_c_c): Likewise.
22583 (RUN_TEST_cc_c): Likewise.
22584 (RUN_TEST_LOOP_cc_c): Likewise.
22585 (RUN_TEST_f_i): Likewise.
22586 (RUN_TEST_LOOP_f_i): Likewise.
22587 (RUN_TEST_f_i_tg): Likewise.
22588 (RUN_TEST_LOOP_f_i_tg): Likewise.
22589 (RUN_TEST_ff_i_tg): Likewise.
22590 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22591 (RUN_TEST_f_b): Likewise.
22592 (RUN_TEST_LOOP_f_b): Likewise.
22593 (RUN_TEST_f_b_tg): Likewise.
22594 (RUN_TEST_LOOP_f_b_tg): Likewise.
22595 (RUN_TEST_f_l): Likewise.
22596 (RUN_TEST_LOOP_f_l): Likewise.
22597 (RUN_TEST_f_L): Likewise.
22598 (RUN_TEST_LOOP_f_L): Likewise.
22599 (RUN_TEST_sincos): Likewise.
22600 (RUN_TEST_LOOP_sincos): Likewise.
22601
8269107f
JM
226022013-05-17 Joseph Myers <joseph@codesourcery.com>
22603
bb38759d
JM
22604 [BZ #15480]
22605 [BZ #15485]
22606 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22607 main case of finite arguments, set rounding mode to FE_TONEAREST
22608 and discard exceptions.
22609 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22610 exceptions.
22611 (remainder_tonearest_test_data): New variable.
22612 (remainder_test_tonearest): New function.
22613 (remainder_towardzero_test_data): New variable.
22614 (remainder_test_towardzero): New function.
22615 (remainder_downward_test_data): New variable.
22616 (remainder_test_downward): New function.
22617 (remainder_upward_test_data): New variable.
22618 (remainder_test_upward): New function.
22619 (main): Call the new test functions.
22620
a00bdcf0
JM
22621 * math/libm-test.inc (struct test_f_f1_data): Remove field
22622 extra_init.
22623 (struct test_fF_f1_data): Likewise.
22624 (struct test_ffI_f1_data): Likewise.
22625 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22626 based on value of EXTRA_EXPECTED.
22627 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22628 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22629 EXTRA_VAR based on value of EXTRA_EXPECTED.
22630 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22631 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22632 EXTRA_VAR based on value of EXTRA_EXPECTED.
22633 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22634 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22635 EXTRA_VAR based on value of EXTRA_EXPECTED.
22636 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22637 * math/gen-libm-test.pl (parse_args): Don't output initializers
22638 for extra output values.
22639
de407f79
JM
22640 * math/libm-test.inc (check_int): Expect result to be exactly
22641 equal to expected value and do not handle ulps.
22642 (check_long): Likewise.
22643 (check_longlong): Likewise.
22644
8269107f
JM
22645 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22646 exceptions.
22647 (cimag_test_data): Likewise.
22648 (conj_test_data): Likewise.
22649 (copysign_test_data): Likewise.
22650 (cproj_test_data): Likewise.
22651 (creal_test_data): Likewise.
22652 (fabs_test_data): Likewise.
22653 (fdim_test_data): Likewise.
22654 (finite_test_data): Likewise.
22655 (floor_test_data): Likewise.
22656 (fmax_test_data): Likewise.
22657 (fmin_test_data): Likewise.
22658 (fmod_test_data): Likewise.
22659 (fpclassify_test_data): Likewise.
22660 (frexp_test_data): Likewise.
22661 (ilogb_test_data): Likewise.
22662 (isfinite_test_data): Likewise.
22663 (isgreater_test_data): Likewise.
22664 (isgreaterequal_test_data): Likewise.
22665 (isinf_test_data): Likewise.
22666 (isless_test_data): Likewise.
22667 (islessequal_test_data): Likewise.
22668 (islessgreater_test_data): Likewise.
22669 (isnan_test_data): Likewise.
22670 (isnormal_test_data): Likewise.
22671 (issignaling_test_data): Likewise.
22672 (isunordered_test_data): Likewise.
22673 (ldexp_test_data): Likewise.
22674 (lrint_test_data): Likewise.
22675 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22676 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22677 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22678 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22679 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22680 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22681 test input.
22682 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22683 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22684 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22685 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22686 that test input.
22687 (lrint_downward_test_data): Test for "inexact" exceptions.
22688 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22689 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22690 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22691 test input.
22692 (lrint_upward_test_data): Test for "inexact" exceptions.
22693 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22694 test input.
22695 (llrint_test_data): Test for "inexact" exceptions.
22696 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22697 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22698 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22699 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22700 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22701 (llrint_downward_test_data): Test for "inexact" exceptions.
22702 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22703 (llrint_upward_test_data): Test for "inexact" exceptions.
22704 (logb_test_data): Likewise.
22705 (logb_downward_test_data): Likewise.
22706 (nextafter_test_data): Likewise.
22707 (nexttoward_test_data): Likewise.
22708 (remainder_test_data): Likewise.
22709 (remquo_test_data): Likewise.
22710 (scalbn_test_data): Likewise.
22711 (scalbln_test_data): Likewise.
22712 (signbit_test_data): Likewise.
22713 (sqrt_test_data): Likewise.
22714 (significand_test_data): Likewise.
22715
48a18de1
SP
227162013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22717
22718 [BZ #15424]
22719 * benchtests/bench-modf.c (struct args): Mark arg0 as
22720 volatile.
22721 * scripts/bench.pl: Mark members of struct args as volatile.
22722
13d3b41a
AZ
227232013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22724
68191c1d 22725 [BZ # 15497]
13d3b41a
AZ
22726 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22727 negative infinity on POWER6 or lower.
22728 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22729
2848b105
MR
227302013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22731
22732 [BZ #15442]
22733 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22734 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22735 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22736 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22737 (_FP_SETQNAN): New macro.
22738 (_FP_SETQNAN_SEMIRAW): Likewise.
22739 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22740 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22741 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22742 (FP_EXTEND): Use _FP_FRAC_SNANP.
22743 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22744 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22745 into account.
22746 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22747 New macro.
22748 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22749 Likewise.
22750
323e5cb7
JM
227512013-05-16 Joseph Myers <joseph@codesourcery.com>
22752
c58b274f
JM
22753 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22754 with DIVIDE_BY_ZERO_EXCEPTION.
22755 (gamma_test_data): Likewise.
22756 (lgamma_test_data): Likewise.
22757 (log_test_data): Likewise.
22758 (log10_test_data): Likewise.
22759 (log2_test_data): Likewise.
22760 (tgamma_test_data): Likewise.
22761
0ab34904
JM
22762 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22763 (acos_test_tonearest): Likewise.
22764 (acos_test_towardzero): Likewise.
22765 (acos_test_downward): Likewise.
22766 (acos_test_upward): Likewise.
22767 (acosh_test): Likewise.
22768 (asin_test): Likewise.
22769 (asin_test_tonearest): Likewise.
22770 (asin_test_towardzero): Likewise.
22771 (asin_test_downward): Likewise.
22772 (asin_test_upward): Likewise.
22773 (asinh_test): Likewise.
22774 (atan_test): Likewise.
22775 (atanh_test): Likewise.
22776 (atan2_test): Likewise.
22777 (cabs_test): Likewise.
22778 (cacos_test): Likewise.
22779 (cacosh_test): Likewise.
22780 (casin_test): Likewise.
22781 (casinh_test): Likewise.
22782 (catan_test): Likewise.
22783 (catanh_test): Likewise.
22784 (cbrt_test): Likewise.
22785 (ccos_test): Likewise.
22786 (ccosh_test): Likewise.
22787 (cexp_test): Likewise.
22788 (clog_test): Likewise.
22789 (clog10_test): Likewise.
22790 (cos_test): Likewise.
22791 (cos_test_tonearest): Likewise.
22792 (cos_test_towardzero): Likewise.
22793 (cos_test_downward): Likewise.
22794 (cos_test_upward): Likewise.
22795 (cosh_test): Likewise.
22796 (cosh_test_tonearest): Likewise.
22797 (cosh_test_towardzero): Likewise.
22798 (cosh_test_downward): Likewise.
22799 (cosh_test_upward): Likewise.
22800 (cpow_test): Likewise.
22801 (csin_test): Likewise.
22802 (csinh_test): Likewise.
22803 (csqrt_test): Likewise.
22804 (ctan_test): Likewise.
22805 (ctan_test_tonearest): Likewise.
22806 (ctan_test_towardzero): Likewise.
22807 (ctan_test_downward): Likewise.
22808 (ctan_test_upward): Likewise.
22809 (ctanh_test): Likewise.
22810 (ctanh_test_tonearest): Likewise.
22811 (ctanh_test_towardzero): Likewise.
22812 (ctanh_test_downward): Likewise.
22813 (ctanh_test_upward): Likewise.
22814 (erf_test): Likewise.
22815 (erfc_test): Likewise.
22816 (exp_test): Likewise.
22817 (exp_test_tonearest): Likewise.
22818 (exp_test_towardzero): Likewise.
22819 (exp_test_downward): Likewise.
22820 (exp_test_upward): Likewise.
22821 (exp10_test): Likewise.
22822 (exp2_test): Likewise.
22823 (expm1_test): Likewise.
22824 (fmod_test): Likewise.
22825 (gamma_test): Likewise.
22826 (hypot_test): Likewise.
22827 (j0_test): Likewise.
22828 (j1_test): Likewise.
22829 (jn_test): Likewise.
22830 (lgamma_test): Likewise.
22831 (log_test): Likewise.
22832 (log10_test): Likewise.
22833 (log1p_test): Likewise.
22834 (log2_test): Likewise.
22835 (logb_test_downward): Likewise.
22836 (pow_test): Likewise.
22837 (pow_test_tonearest): Likewise.
22838 (pow_test_towardzero): Likewise.
22839 (pow_test_downward): Likewise.
22840 (pow_test_upward): Likewise.
22841 (remainder_test): Likewise.
22842 (remquo_test): Likewise.
22843 (sin_test): Likewise.
22844 (sin_test_tonearest): Likewise.
22845 (sin_test_towardzero): Likewise.
22846 (sin_test_downward): Likewise.
22847 (sin_test_upward): Likewise.
22848 (sincos_test): Likewise.
22849 (sinh_test): Likewise.
22850 (sinh_test_tonearest): Likewise.
22851 (sinh_test_towardzero): Likewise.
22852 (sinh_test_downward): Likewise.
22853 (sinh_test_upward): Likewise.
22854 (sqrt_test): Likewise.
22855 (tan_test): Likewise.
22856 (tan_test_tonearest): Likewise.
22857 (tan_test_towardzero): Likewise.
22858 (tan_test_downward): Likewise.
22859 (tan_test_upward): Likewise.
22860 (tanh_test): Likewise.
22861 (tgamma_test): Likewise.
22862 (y0_test): Likewise.
22863 (y1_test): Likewise.
22864 (yn_test): Likewise.
22865
323e5cb7
JM
22866 * math/gen-libm-test.pl (adjust_arg): Remove function.
22867 (special_function): Remove argument $in_func. Only handle
22868 generating output for tables of tests, not inside functions.
22869 (parse_args): Likewise.
22870 (generate_testfile): Remove variable $in_func. Update call to
22871 parse_args.
22872 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22873 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22874 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22875 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22876 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22877 (MAX_VALUE_INIT): Rename macro to max_value.
22878 (MIN_VALUE_INIT): Rename macro to min_value.
22879 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22880 (plus_zero): Remove variable.
22881 (minus_zero): Likewise.
22882 (plus_infty): Likewise.
22883 (minus_infty): Likewise.
22884 (qnan_value): Likewise.
22885 (max_value): Likewise.
22886 (min_value): Likewise.
22887 (min_subnorm_value): Likewise.
22888
e054f494
RA
228892013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22890
22891 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22892 uint64_t or uint32_t usage.
22893 * crypt/sha256-block.c: Likewise.
22894 * crypt/sha256-crypt.c: Likewise.
22895 * crypt/sha256.c: Likewise.
22896 * crypt/sha512-block.c: Likewise.
22897 * crypt/sha512-crypt.c: Likewise.
22898 * crypt/sha512.c: Likewise.
22899 * debug/backtrace-tst.c: Likewise.
22900 * debug/pcprofiledump.c: Likewise.
22901 * elf/cache.c: Likewise.
22902 * elf/dl-cache.c: Likewise.
22903 * elf/dl-misc.c: Likewise.
22904 * elf/dl-profile.c: Likewise.
22905 * elf/dl-support.c: Likewise.
22906 * elf/ldconfig.c: Likewise.
22907 * elf/sprof.c: Likewise.
22908 * iconv/dummy-repertoire.c: Likewise.
22909 * iconv/iconv_charmap.c: Likewise.
22910 * iconv/skeleton.c: Likewise.
22911 * iconvdata/8bit-generic.c: Likewise.
22912 * iconvdata/cp737.h: Likewise.
22913 * iconvdata/cp775.h: Likewise.
22914 * iconvdata/ibm1008.h: Likewise.
22915 * iconvdata/ibm1025.h: Likewise.
22916 * iconvdata/ibm1046.h: Likewise.
22917 * iconvdata/ibm1097.h: Likewise.
22918 * iconvdata/ibm1112.h: Likewise.
22919 * iconvdata/ibm1122.h: Likewise.
22920 * iconvdata/ibm1123.h: Likewise.
22921 * iconvdata/ibm1124.h: Likewise.
22922 * iconvdata/ibm1129.h: Likewise.
22923 * iconvdata/ibm1130.h: Likewise.
22924 * iconvdata/ibm1132.h: Likewise.
22925 * iconvdata/ibm1133.h: Likewise.
22926 * iconvdata/ibm1137.h: Likewise.
22927 * iconvdata/ibm1140.h: Likewise.
22928 * iconvdata/ibm1141.h: Likewise.
22929 * iconvdata/ibm1142.h: Likewise.
22930 * iconvdata/ibm1143.h: Likewise.
22931 * iconvdata/ibm1144.h: Likewise.
22932 * iconvdata/ibm1145.h: Likewise.
22933 * iconvdata/ibm1146.h: Likewise.
22934 * iconvdata/ibm1147.h: Likewise.
22935 * iconvdata/ibm1148.h: Likewise.
22936 * iconvdata/ibm1149.h: Likewise.
22937 * iconvdata/ibm1153.h: Likewise.
22938 * iconvdata/ibm1154.h: Likewise.
22939 * iconvdata/ibm1155.h: Likewise.
22940 * iconvdata/ibm1156.h: Likewise.
22941 * iconvdata/ibm1157.h: Likewise.
22942 * iconvdata/ibm1158.h: Likewise.
22943 * iconvdata/ibm1160.h: Likewise.
22944 * iconvdata/ibm1161.h: Likewise.
22945 * iconvdata/ibm1162.h: Likewise.
22946 * iconvdata/ibm1163.h: Likewise.
22947 * iconvdata/ibm1164.h: Likewise.
22948 * iconvdata/ibm1166.h: Likewise.
22949 * iconvdata/ibm1167.h: Likewise.
22950 * iconvdata/ibm12712.h: Likewise.
22951 * iconvdata/ibm1390.h: Likewise.
22952 * iconvdata/ibm1399.h: Likewise.
22953 * iconvdata/ibm16804.h: Likewise.
22954 * iconvdata/ibm4517.h: Likewise.
22955 * iconvdata/ibm4899.h: Likewise.
22956 * iconvdata/ibm4909.h: Likewise.
22957 * iconvdata/ibm4971.h: Likewise.
22958 * iconvdata/ibm5347.h: Likewise.
22959 * iconvdata/ibm803.h: Likewise.
22960 * iconvdata/ibm856.h: Likewise.
22961 * iconvdata/ibm901.h: Likewise.
22962 * iconvdata/ibm902.h: Likewise.
22963 * iconvdata/ibm9030.h: Likewise.
22964 * iconvdata/ibm9066.h: Likewise.
22965 * iconvdata/ibm921.h: Likewise.
22966 * iconvdata/ibm922.h: Likewise.
22967 * iconvdata/ibm9448.h: Likewise.
22968 * iconvdata/isiri-3342.h: Likewise.
22969 * iconvdata/jis0201.h: Likewise.
22970 * include/link.h: Likewise.
22971 * include/netdb.h: Likewise.
22972 * inet/check_native.c: Likewise.
22973 * inet/check_pf.c: Likewise.
22974 * inet/getipv4sourcefilter.c: Likewise.
22975 * inet/getnameinfo.c: Likewise.
22976 * inet/getsourcefilter.c: Likewise.
22977 * inet/htonl.c: Likewise.
22978 * inet/setipv4sourcefilter.c: Likewise.
22979 * inet/setsourcefilter.c: Likewise.
22980 * inet/test-inet6_opt.c: Likewise.
22981 * inet/tst-network.c: Likewise.
22982 * locale/C-collate.c: Likewise.
22983 * locale/C-ctype.c: Likewise.
22984 * locale/C-time.c: Likewise.
22985 * locale/C-translit.h: Likewise.
22986 * locale/loadarchive.c: Likewise.
22987 * locale/programs/3level.h: Likewise.
22988 * locale/programs/charmap.c: Likewise.
22989 * locale/programs/charmap.h: Likewise.
22990 * locale/programs/ld-address.c: Likewise.
22991 * locale/programs/ld-collate.c: Likewise.
22992 * locale/programs/ld-ctype.c: Likewise.
22993 * locale/programs/ld-identification.c: Likewise.
22994 * locale/programs/ld-measurement.c: Likewise.
22995 * locale/programs/ld-messages.c: Likewise.
22996 * locale/programs/ld-monetary.c: Likewise.
22997 * locale/programs/ld-name.c: Likewise.
22998 * locale/programs/ld-numeric.c: Likewise.
22999 * locale/programs/ld-paper.c: Likewise.
23000 * locale/programs/ld-telephone.c: Likewise.
23001 * locale/programs/ld-time.c: Likewise.
23002 * locale/programs/linereader.c: Likewise.
23003 * locale/programs/locale.c: Likewise.
23004 * locale/programs/locarchive.c: Likewise.
23005 * locale/programs/locfile.h: Likewise.
23006 * locale/programs/repertoire.c: Likewise.
23007 * locale/programs/simple-hash.c: Likewise.
23008 * locale/programs/simple-hash.h: Likewise.
23009 * malloc/memusage.c: Likewise.
23010 * malloc/memusagestat.c: Likewise.
23011 * nis/nis_defaults.c: Likewise.
23012 * nis/nis_hash.c: Likewise.
23013 * nis/nis_print.c: Likewise.
23014 * nis/nis_xdr.c: Likewise.
23015 * nscd/connections.c: Likewise.
23016 * nscd/hstcache.c: Likewise.
23017 * nscd/nscd_gethst_r.c: Likewise.
23018 * nscd/nscd_getserv_r.c: Likewise.
23019 * nscd/nscd_helper.c: Likewise.
23020 * nscd/servicescache.c: Likewise.
23021 * nss/makedb.c: Likewise.
23022 * nss/nss_db/db-XXX.c: Likewise.
23023 * nss/nss_db/db-initgroups.c: Likewise.
23024 * nss/nss_db/db-netgrp.c: Likewise.
23025 * nss/nss_files/files-network.c: Likewise.
23026 * nss/nss_files/files-parse.c: Likewise.
23027 * posix/bug-regex5.c: Likewise.
23028 * posix/fnmatch_loop.c: Likewise.
23029 * posix/regcomp.c: Likewise.
23030 * posix/regexec.c: Likewise.
23031 * posix/tst-rfc3484-2.c: Likewise.
23032 * posix/tst-rfc3484-3.c: Likewise.
23033 * posix/tst-rfc3484.c: Likewise.
23034 * resolv/nss_dns/dns-canon.c: Likewise.
23035 * resolv/nss_dns/dns-network.c: Likewise.
23036 * resolv/res_init.c: Likewise.
23037 * resolv/res_mkquery.c: Likewise.
23038 * resolv/tst-aton.c: Likewise.
23039 * stdlib/cxa_atexit.c: Likewise.
23040 * stdlib/cxa_finalize.c: Likewise.
23041 * stdlib/gen-fpioconst.c: Likewise.
23042 * stdlib/strtol_l.c: Likewise.
23043 * string/tst-endian.c: Likewise.
23044 * sunrpc/auth_des.c: Likewise.
23045 * sunrpc/clnt_udp.c: Likewise.
23046 * sunrpc/rtime.c: Likewise.
23047 * sunrpc/svcauth_des.c: Likewise.
23048 * sunrpc/xdr.c: Likewise.
23049 * sunrpc/xdr_intXX_t.c: Likewise.
23050 * sunrpc/xdr_rec.c: Likewise.
23051 * sysdeps/generic/ldconfig.h: Likewise.
23052 * sysdeps/generic/ldsodefs.h: Likewise.
23053 * sysdeps/generic/memusage.h: Likewise.
23054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23056 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23060 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23062 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23064 * sysdeps/posix/getaddrinfo.c: Likewise.
23065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23067 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23069 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23070 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23071 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23072 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23073 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23074 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23075 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23076 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23077 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23078 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23079 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23080 * sysdeps/x86_64/dl-tls.h: Likewise.
23081 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23082 * time/alt_digit.c: Likewise.
23083 * time/era.c: Likewise.
23084 * wcsmbs/tst-c16c32-1.c: Likewise.
23085
8c75f674
JM
230862013-05-16 Joseph Myers <joseph@codesourcery.com>
23087
23088 * math/libm-test.inc (struct test_sincos_data): New type.
23089 (RUN_TEST_LOOP_sincos): New macro.
23090 (sincos_test_data): New variable.
23091 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23092
e6e49e59
RH
230932013-05-16 Richard Henderson <rth@redhat.com>
23094
23095 * math/atest-exp2.c (LIMB64): New macro.
23096 (CONSTSZ): New macro.
23097 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23098 (hexdig): Move ...
23099 (print_mpn_fp): ... to function scope.
23100 (read_mpn_hex): Remove.
23101 (get_log2): Remove.
23102 (exp2_mpn): Use mp_log2.
23103 (main): Use mp_exp1.
23104
15c7c18d
JM
231052013-05-16 Joseph Myers <joseph@codesourcery.com>
23106
105a07df
JM
23107 * math/libm-test.inc: Remove comment about not testing "inexact"
23108 exceptions.
23109 (INEXACT_EXCEPTION): New macro.
23110 (NO_INEXACT_EXCEPTION): Likewise.
23111 (INVALID_EXCEPTION_OK): Update value.
23112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23113 (OVERFLOW_EXCEPTION_OK): Likewise.
23114 (UNDERFLOW_EXCEPTION_OK): Likewise.
23115 (IGNORE_ZERO_INF_SIGN): Likewise.
23116 (ERRNO_UNCHANGED): Likewise.
23117 (ERRNO_EDOM): Likewise.
23118 (ERRNO_ERANGE): Likewise.
23119 (test_exceptions): Handle testing "inexact" exceptions.
23120 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23121 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23122 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23123 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23124 INEXACT_EXCEPTION.
23125 (rint_towardzero_test_data): Likewise.
23126 (rint_downward_test_data): Likewise.
23127 (rint_upward_test_data): Likewise.
23128
e9eee333
JM
23129 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23130 with OVERFLOW_EXCEPTION.
23131 (exp10_test_data): Likewise.
23132 (exp2_test_data): Likewise.
23133 (expm1_test_data): Likewise.
23134 (lgamma_test_data): Likewise.
23135 (pow_test_data): Likewise.
23136 (tgamma_test_data): Likewise.
23137 (yn_test_data): Remove duplicate test of overflow.
23138
1c38ff73
JM
23139 * math/libm-test.inc (struct test_cc_c_data): New type.
23140 (RUN_TEST_LOOP_cc_c): New macro.
23141 (cpow_test_data): New variable.
23142 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23143
15c7c18d
JM
23144 * math/libm-test.inc (struct test_f_L_data): New type.
23145 (RUN_TEST_LOOP_f_L): New macro.
23146 (llrint_test_data): New variable.
23147 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23148 (llrint_tonearest_test_data): New variable.
23149 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23150 (llrint_towardzero_test_data): New variable.
23151 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23152 (llrint_downward_test_data): New variable.
23153 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23154 (llrint_upward_test_data): New variable.
23155 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23156 (llround_test_data): New variable.
23157 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23158
f137ff13
PC
231592013-05-13 Peter Collingbourne <pcc@google.com>
23160
23161 * math/atest-exp2.c (get_log2): Remove const attribute.
23162
3608cb24
JM
231632013-05-15 Joseph Myers <joseph@codesourcery.com>
23164
23165 * math/libm-test.inc (struct test_f_l_data): New type.
23166 (RUN_TEST_LOOP_f_l): New macro.
23167 (lrint_test_data): New variable.
23168 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23169 (lrint_tonearest_test_data): New variable.
23170 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23171 (lrint_towardzero_test_data): New variable.
23172 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23173 (lrint_downward_test_data): New variable.
23174 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23175 (lrint_upward_test_data): New variable.
23176 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23177 (lround_test_data): New variable.
23178 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23179
39b1f617
PC
231802013-05-15 Peter Collingbourne <pcc@google.com>
23181
1deff3dc
PC
23182 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23183 (EXTRACT_WORDS64) Use where appropriate.
23184 (INSERT_WORDS64) Likewise.
23185
791f3ba0
PC
23186 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23187 constraints with x constraints.
23188 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23189
39b1f617
PC
23190 * malloc/obstack.c (_obstack_compat): Add initializer.
23191
12fba011
EM
231922013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23193
23194 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23195 si_trapno and add si_addr_lsb to _sifields.sigfault.
23196 (si_trapno): Remove macro.
23197 (si_addr_lsb): Define new macro.
23198 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23199
d369f531
JM
232002013-05-15 Joseph Myers <joseph@codesourcery.com>
23201
b861c6c4
JM
23202 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23203 instead of TEST_f_l.
23204 (llrint_test_tonearest): Likewise.
23205 (llrint_test_towardzero): Likewise.
23206 (llrint_test_downward): Likewise.
23207 (llrint_test_upward): Likewise.
23208 (llround_test): Likewise.
23209
7abeee12
JM
23210 * math/libm-test.inc (struct test_f_i_data): Add comment.
23211 (RUN_TEST_LOOP_f_b): New macro.
23212 (RUN_TEST_LOOP_f_b_tg): Likewise.
23213 (finite_test_data): New variable.
23214 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23215 (isfinite_test_data): New variable.
23216 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23217 (isinf_test_data): New variable.
23218 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23219 (isnan_test_data): New variable.
23220 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23221 (isnormal_test_data): New variable.
23222 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23223 (issignaling_test_data): New variable.
23224 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23225 (signbit_test_data): New variable.
23226 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23227
cbe8c4d3
JM
23228 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23229 with INVALID_EXCEPTION.
23230 (acosh_test_data): Likewise.
23231 (asin_test_data): Likewise.
23232 (atanh_test_data): Likewise.
23233 (fmod_test_data): Likewise.
23234 (log_test_data): Likewise.
23235 (log10_test_data): Likewise.
23236 (log2_test_data): Likewise.
23237 (pow_test_data): Likewise.
23238 (sqrt_test_data): Likewise.
23239 (y0_test_data): Likewise.
23240 (y1_test_data): Likewise.
23241 (yn_test_data): Likewise.
23242
5575c0e5
JM
23243 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23244 function contents.
23245
d369f531
JM
23246 * math/libm-test.inc (struct test_ff_i_data): New type.
23247 (RUN_TEST_LOOP_ff_i_tg): New macro.
23248 (isgreater_test_data): New variable.
23249 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23250 (isgreaterequal_test_data): New variable.
23251 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23252 (isless_test_data): New variable.
23253 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23254 (islessequal_test_data): New variable.
23255 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23256 (islessgreater_test_data): New variable.
23257 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23258 (isunordered_test_data): New variable.
23259 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23260
781fd748
DM
232612013-05-14 David S. Miller <davem@davemloft.net>
23262
23263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23264
87aa21df
JM
232652013-05-14 Joseph Myers <joseph@codesourcery.com>
23266
5e908270
JM
23267 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23268
f71172e5
JM
23269 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23270 extra_test to int.
23271 (struct test_f_i_data): Change type of max_ulp to int.
23272
8cfa635a
JM
23273 * math/libm-test.inc (test_ffI_f1_data): New type.
23274 (RUN_TEST_LOOP_ffI_f1): New macro.
23275 (remquo_test_data): New variable.
23276 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23277
2bcb36b2
JM
23278 * setjmp/tst-setjmp-fp.c: New file.
23279 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23280 (link-libm): New variable.
23281 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23282
acbd839a
JM
23283 * math/libm-test.inc (struct test_f_i_data): New type.
23284 (RUN_TEST_LOOP_f_i): New macro.
23285 (RUN_TEST_LOOP_f_i_tg): Likewise.
23286 (fpclassify_test_data): New variable.
23287 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23288 (ilogb_test_data): New variable.
23289 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23290
e414d745
JM
23291 * math/libm-test.inc (scalbln_test): Correct function name in END
23292 call.
23293
d9c2a0fd
JM
23294 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23295 (RUN_TEST_LOOP_fI_f1): New macro.
23296 (frexp_test_data): New variable.
23297 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23298
9dc9095d
JM
23299 * math/libm-test.inc (struct test_fF_f1_data): New type.
23300 (RUN_TEST_LOOP_fF_f1): New macro.
23301 (modf_test_data): New variable.
23302 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23303
87aa21df
JM
23304 * math/libm-test.inc (struct test_f_f1_data): New type.
23305 (RUN_TEST_LOOP_f_f1): New macro.
23306 (gamma_test_data): New variable.
23307 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23308 (lgamma_test_data): New variable.
23309 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23310
141af660
CD
233112013-05-13 Carlos O'Donell <carlos@redhat.com>
23312
23313 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23314 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23315 (main): Comment "tls" pseudo-hwcap.
23316
6d33265c
JM
233172013-05-13 Joseph Myers <joseph@codesourcery.com>
23318
68fc074c
JM
23319 * math/libm-test.inc (struct test_fl_f_data): New type.
23320 (RUN_TEST_LOOP_fl_f): New variable.
23321 (scalbln_test_data): New variable.
23322 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23323
243216e1
JM
23324 * math/libm-test.inc (struct test_fi_f_data): New type.
23325 (RUN_TEST_LOOP_fi_f): New macro.
23326 (ldexp_test_data): New variable.
23327 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23328 (scalbn_test_data): New variable.
23329 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23330
6a1992e2
JM
23331 * math/libm-test.inc (struct test_c_f_data): New type.
23332 (RUN_TEST_LOOP_c_f): New macro.
23333 (cabs_test_data): New variable.
23334 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23335 (carg_test_data): New variable.
23336 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23337 (cimag_test_data): New variable.
23338 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23339 (creal_test_data): New variable.
23340 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23341
0e400df5
JM
23342 * math/libm-test.inc (struct test_if_f_data): New type.
23343 (RUN_TEST_LOOP_if_f): New macro.
23344 (jn_test_data): New variable.
23345 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23346 (yn_test_data): New variable.
23347 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23348
6d33265c
JM
23349 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23350
f98ece5f
AZ
233512013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23352
23353 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23354 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23355
0f7d347b
SP
233562013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23357
43fe811b
SP
23358 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23359 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23360 (bench-deps): Add bench-timing.h.
23361 * benchtests-bench-skeleton.c: Include bench-timing.h.
23362 (main): Use TIMING_* macros instead of clock_gettime.
23363 * benchtests/bench-timing.h: New file.
23364
0f7d347b
SP
23365 [BZ #14582]
23366 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23367 Renamed from _LIB_VERSION.
23368 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23369
601a3a5f
JM
233702013-05-12 Joseph Myers <joseph@codesourcery.com>
23371
4f184d30
JM
23372 * math/libm-test.inc (struct test_fff_f_data): New type.
23373 (RUN_TEST_LOOP_fff_f): New macro.
23374 (fma_test_data): New variable.
23375 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23376 (fma_towardzero_test_data): New variable.
23377 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23378 (fma_downward_test_data): New variable.
23379 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23380 (fma_upward_test_data): New variable.
23381 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23382
08198877
JM
23383 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23384 (struct test_c_c_data): New type.
23385 (RUN_TEST_LOOP_c_c): New macro.
23386 (cacos_test_data): New variable.
23387 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23388 (cacosh_test_data): New variable.
23389 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23390 (casin_test_data): New variable.
23391 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23392 (casinh_test_data): New variable.
23393 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23394 (catan_test_data): New variable.
23395 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23396 (catanh_test_data): New variable.
23397 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23398 (ccos_test_data): New variable.
23399 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23400 (ccosh_test_data): New variable.
23401 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23402 (cexp_test_data): New variable.
23403 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23404 (clog_test_data): New variable.
23405 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23406 (clog10_test_data): New variable.
23407 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23408 (conj_test_data): New variable.
23409 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23410 (cproj_test_data): New variable.
23411 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23412 (csin_test_data): New variable.
23413 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23414 (csinh_test_data): New variable.
23415 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23416 (csqrt_test_data): New variable.
23417 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23418 (ctan_test_data): New variable.
23419 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23420 (ctan_tonearest_test_data): New variable.
23421 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23422 (ctan_towardzero_test_data): New variable.
23423 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23424 (ctan_downward_test_data): New variable.
23425 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23426 (ctan_upward_test_data): New variable.
23427 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23428 (ctanh_test_data): New variable.
23429 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23430 (ctanh_tonearest_test_data): New variable.
23431 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23432 (ctanh_towardzero_test_data): New variable.
23433 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23434 (ctanh_downward_test_data): New variable.
23435 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23436 (ctanh_upward_test_data): New variable.
23437 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23438 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23439 of BUILD_COMPLEX.
23440
601a3a5f
JM
23441 * math/libm-test.inc (struct test_ff_f_data): New type.
23442 (struct test_ff_f_data_nexttoward): Likewise.
23443 (RUN_TEST_LOOP_2_f): New macro.
23444 (RUN_TEST_LOOP_ff_f): Likewise.
23445 (atan2_test_data): New variable.
23446 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23447 (copysign_test_data): New variable.
23448 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23449 (fdim_test_data): New variable.
23450 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23451 (fmax_test_data): New variable.
23452 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23453 (fmin_test_data): New variable.
23454 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23455 (fmod_test_data): New variable.
23456 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23457 (hypot_test_data): New variable.
23458 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23459 (nextafter_test_data): New variable.
23460 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23461 (nexttoward_test_data): New variable.
23462 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23463 (pow_test_data): New variable.
23464 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23465 (pow_tonearest_test_data): New variable.
23466 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23467 (pow_towardzero_test_data): New variable.
23468 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23469 (pow_downward_test_data): New variable.
23470 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23471 (pow_upward_test_data): New variable.
23472 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23473 (remainder_test_data): New variable.
23474 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23475 (scalb_test_data): New variable.
23476 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23477 * sysdeps/i386/fpu/libm-test-ulps: Update.
23478
74c57478
JM
234792013-05-11 Joseph Myers <joseph@codesourcery.com>
23480
8329e4da
JM
23481 * math/libm-test.inc (fma_test): Use max_value instead of local
23482 variable fltmax.
23483 (nextafter_test): Likewise.
23484
74c57478
JM
23485 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23486 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23487 (acos_downward_test_data): New variable.
23488 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23489 (acos_upward_test_data): New variable.
23490 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23491 (acosh_test_data): New variable.
23492 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23493 (asin_test_data): New variable.
23494 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23495 (asin_tonearest_test_data): New variable.
23496 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23497 (asin_towardzero_test_data): New variable.
23498 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23499 (asin_downward_test_data): New variable.
23500 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23501 (asin_upward_test_data): New variable.
23502 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23503 (asinh_test_data): New variable.
23504 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23505 (atan_test_data): New variable.
23506 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23507 (atanh_test_data): New variable.
23508 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23509 (cbrt_test_data): New variable.
23510 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23511 (ceil_test_data): New variable.
23512 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23513 (cos_test_data): New variable.
23514 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23515 (cos_tonearest_test_data): New variable.
23516 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23517 (cos_towardzero_test_data): New variable.
23518 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23519 (cos_downward_test_data): New variable.
23520 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23521 (cos_upward_test_data): New variable.
23522 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23523 (cosh_test_data): New variable.
23524 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23525 (cosh_tonearest_test_data): New variable.
23526 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23527 (cosh_towardzero_test_data): New variable.
23528 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23529 (cosh_downward_test_data): New variable.
23530 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23531 (cosh_upward_test_data): New variable.
23532 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23533 (erf_test_data): New variable.
23534 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23535 (erfc_test_data): New variable.
23536 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23537 (exp_test_data): New variable.
23538 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23539 (exp_tonearest_test_data): New variable.
23540 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23541 (exp_towardzero_test_data): New variable.
23542 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23543 (exp_downward_test_data): New variable.
23544 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23545 (exp_upward_test_data): New variable.
23546 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23547 (exp10_test_data): New variable.
23548 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23549 (exp2_test_data): New variable.
23550 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23551 (expm1_test_data): New variable.
23552 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23553 (fabs_test_data): New variable.
23554 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23555 (floor_test_data): New variable.
23556 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23557 (j0_test_data): New variable.
23558 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23559 (j1_test_data): New variable.
23560 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23561 (log_test_data): New variable.
23562 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23563 (log10_test_data): New variable.
23564 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23565 (log1p_test_data): New variable.
23566 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23567 (log2_test_data): New variable.
23568 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23569 (logb_test_data): New variable.
23570 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23571 (logb_downward_test_data): New variable.
23572 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23573 (nearbyint_test_data): New variable.
23574 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23575 (rint_test_data): New variable.
23576 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23577 (rint_tonearest_test_data): New variable.
23578 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23579 (rint_towardzero_test_data): New variable.
23580 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23581 (rint_downward_test_data): New variable.
23582 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23583 (rint_upward_test_data): New variable.
23584 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23585 (round_test_data): New variable.
23586 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23587 (sin_test_data): New variable.
23588 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23589 (sin_tonearest_test_data): New variable.
23590 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23591 (sin_towardzero_test_data): New variable.
23592 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23593 (sin_downward_test_data): New variable.
23594 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23595 (sin_upward_test_data): New variable.
23596 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23597 (sinh_test_data): New variable.
23598 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23599 (sinh_tonearest_test_data): New variable.
23600 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23601 (sinh_towardzero_test_data): New variable.
23602 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23603 (sinh_downward_test_data): New variable.
23604 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23605 (sinh_upward_test_data): New variable.
23606 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23607 (sqrt_test_data): New variable.
23608 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23609 (tan_test_data): New variable.
23610 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23611 (tan_tonearest_test_data): New variable.
23612 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23613 (tan_towardzero_test_data): New variable.
23614 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23615 (tan_downward_test_data): New variable.
23616 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23617 (tan_upward_test_data): New variable.
23618 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23619 (tanh_test_data): New variable.
23620 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23621 (tgamma_test_data): New variable.
23622 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23623 (trunc_test_data): New variable.
23624 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23625 (y0_test_data): New variable.
23626 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23627 (y1_test_data): New variable.
23628 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23629 (significand_test_data): New variable.
23630 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23631
7187d844
CG
236322013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23633
23634 [BZ #12387]
23635 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23636
f63fae73
PT
236372013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23638
23639 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23640
8a67a4b3
AJ
236412013-05-10 Andreas Jaeger <aj@suse.de>
23642
23643 [BZ #15448]
23644 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23645 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23646
51df539d
JM
236472013-05-10 Joseph Myers <joseph@codesourcery.com>
23648
23649 * math/gen-libm-test.pl (adjust_arg): New function.
23650 (special_functions): Handle generating output in both functions
23651 and arrays.
23652 (parse_args): Likewise.
23653 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23654 $in_func argument to parse_args.
23655 * math/libm-test.inc (struct test_f_f_data): New type.
23656 (IF_ROUND_INIT_): New macro.
23657 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23658 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23659 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23660 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23661 (ROUND_RESTORE_): Likewise.
23662 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23663 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23664 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23665 (ROUND_RESTORE_FE_UPWARD): Likewise.
23666 (RUN_TEST_LOOP_f_f): New macro.
23667 (acos_test_data): New variable.
23668 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23669 (acos_tonearest_test_data): New variable.
23670 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23671
5c637fe5
SP
236722013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23673
23674 * benchtests/bench-skeleton.c (startup): Fix coding style.
23675
ab2b9461
JM
236762013-05-10 Joseph Myers <joseph@codesourcery.com>
23677
23678 [BZ #6809]
23679 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23680 negative infinity argument.
23681 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23682 negative infinity argument.
23683 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23684 negative infinity argument.
23685 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23686 domain errors.
23687
4c0fe6fe
FW
236882013-05-10 Florian Weimer <fweimer@redhat.com>
23689
23690 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23691 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23692 * iconv/iconv_prog.c (main): Likewise.
23693 * locale/programs/charmap-dir.c (charmap_readdir)
23694 (fopen_uncompressed): Likewise.
23695 * locale/programs/locfile.c (siblings_uncached)
23696 (write_locale_data): Use lstat64 instead of lstat.
23697 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23698 stat.
23699
a3375d29
AJ
237002013-05-10 Andreas Jaeger <aj@suse.de>
23701
23702 [BZ #15395]
23703 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23704 localization.
23705 Include <locale.h>.
23706
36129722
CD
237072013-05-09 Carlos O'Donell <carlos@redhat.com>
23708
23709 * elf/dl-close.c (_dl_close_worker): Add comments.
23710
faa7f811
JM
237112013-05-09 Joseph Myers <joseph@codesourcery.com>
23712
ed41ffef
JM
23713 [BZ #15359]
23714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23715 high part of pi/2.
23716 (__ieee754_rem_pio2l): Update comments.
23717
d0213cd0
JM
23718 [BZ #15429]
23719 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23720 high part of pi/2.
23721 (__ieee754_rem_pio2l): Update comments.
23722
0d3e777a
JM
23723 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23724 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23725
24f56066
JM
23726 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23727 M_PI_4l.
23728
faa7f811
JM
23729 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23730 (M_PI_34_LOG10El): Likewise.
23731 (M_PI2_LOG10El): Likewise.
23732 (M_PI4_LOG10El): Likewise.
23733 (M_PI_LOG10El): Likewise.
23734
e9a5e0fd
AZ
237352013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23736
23737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23738
d8cd06db
JM
237392013-05-08 Joseph Myers <joseph@codesourcery.com>
23740
a0d9f9d7
JM
23741 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23742 (MINUS_ZERO_INIT): Likewise.
23743 (PLUS_INFTY_INIT): Likewise.
23744 (MINUS_INFTY_INIT): Likewise.
23745 (QNAN_VALUE_INIT): Likewise.
23746 (MAX_VALUE_INIT): Likewise.
23747 (MIN_VALUE_INIT): Likewise.
23748 (MIN_SUBNORM_VALUE_INIT): Likewise.
23749 (plus_zero): Initialize with PLUS_ZERO_INIT.
23750 (minus_zero): Initialize with MINUS_ZERO_INIT.
23751 (plus_infty): Initialize with PLUS_INFTY_INIT.
23752 (minus_infty): Initialize with MINUS_INFTY_INIT.
23753 (qnan_value): Initialize with QNAN_VALUE_INIT.
23754 (max_value): Initialize with MAX_VALUE_INIT.
23755 (min_value): Initialize with MIN_VALUE_INIT.
23756 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23757
ae08db3b
JM
23758 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23759 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23760 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23761 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23762
f44bf14a
JM
23763 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23764 (RUN_TEST_2_f): Likewise.
23765 (RUN_TEST_ff_f): Likewise.
23766 (RUN_TEST_fi_f): Likewise.
23767 (RUN_TEST_fl_f): Likewise.
23768 (RUN_TEST_fff_f): Likewise.
23769 (RUN_TEST_c_f): Likewise.
23770 (RUN_TEST_f_f1): Likewise.
23771 (RUN_TEST_fF_f1): Likewise.
23772 (RUN_TEST_fI_f1): Likewise.
23773 (RUN_TEST_ffI_f1): Likewise.
23774 (RUN_TEST_c_c): Likewise.
23775 (RUN_TEST_cc_c): Likewise.
23776 (RUN_TEST_f_i): Likewise.
23777 (RUN_TEST_f_i_tg): Likewise.
23778 (RUN_TEST_ff_i_tg): Likewise.
23779 (RUN_TEST_f_b): Likewise.
23780 (RUN_TEST_f_b_tg): Likewise.
23781 (RUN_TEST_f_l): Likewise.
23782 (RUN_TEST_f_L): Likewise.
23783 (RUN_TEST_sincos): Likewise.
23784 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23785 whether to show exceptions. Do not include ");\n" in return
23786 value.
23787 (special_functions): Output call to RUN_TEST_sincos instead of
23788 check_float calls. Update calls to new_test.
23789 (parse_args): Output call to single RUN_TEST_* macro instead of
23790 check_* calls and other assignments. Update calls to new_test.
23791
d8cd06db
JM
23792 [BZ #2546]
23793 [BZ #2560]
23794 [BZ #5159]
23795 [BZ #15426]
23796 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23797 input to result for tgamma overflow.
23798 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23799 (gamma_coeff): New variable.
23800 (NCOEFF): New macro.
23801 (gamma_positive): New function.
23802 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23803 underflow here. Use gamma_positive instead of exp (lgamma) for
23804 other arguments.
23805 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23806 (gamma_coeff): New variable.
23807 (NCOEFF): New macro.
23808 (gammaf_positive): New function.
23809 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23810 underflow here. Use gamma_positive instead of exp (lgamma) for
23811 other arguments.
23812 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23813 (gamma_coeff): New variable.
23814 (NCOEFF): New macro.
23815 (gammal_positive): New function.
23816 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23817 underflow here. Use gamma_positive instead of exp (lgamma) for
23818 other arguments.
23819 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23820 (gamma_coeff): New variable.
23821 (NCOEFF): New macro.
23822 (gammal_positive): New function.
23823 (__ieee754_gammal_r): Handle positive infinity, overflow and
23824 underflow here. Handle NaN the same as positive infinity. Remove
23825 check x < 0xffffffff for negative integers. Use gamma_positive
23826 instead of exp (lgamma) for other arguments.
23827 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23828 (gamma_coeff): New variable.
23829 (NCOEFF): New macro.
23830 (gammal_positive): New function.
23831 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23832 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23833 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23836 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23837 * sysdeps/generic/math_private.h (__gamma_productf): New
23838 prototype.
23839 (__gamma_product): Likewise.
23840 (__gamma_productl): Likewise.
23841 * math/Makefile (libm-calls): Add gamma_product.
23842 * math/libm-test.inc (tgamma_test): Add more tests.
23843 * sysdeps/i386/fpu/libm-test-ulps: Update.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845
bb7cf681
OB
238462013-05-08 Ondřej Bílka <neleai@seznam.cz>
23847
23848 * benchtests/bench-skeleton.c (main): Preheat CPU.
23849
ba853947
AJ
238502013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23851
23852 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23853
8347c74c
RM
238542013-05-07 Roland McGrath <roland@hack.frob.com>
23855
23856 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23857 and _dl_skip_args_internal.
23858
e8dd4791
CD
238592013-05-07 Carlos O'Donell <carlos@redhat.com>
23860
23861 * manual/message.texi (Message Translation): Talk about users.
23862 Message to key mapping impacts design.
23863
c7405830
RM
238642013-05-06 Roland McGrath <roland@hack.frob.com>
23865
a9173057
RM
23866 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23867
976e2f03
RM
23868 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23869
9723ffc5
RM
23870 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23871 * sysdeps/wordsize-64/glob64.c: ... here.
23872
962e6658
RM
23873 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23874 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23875 New macros.
23876
ee586a6d
RM
23877 * debug/getlogin_r_chk.c: Moved to ...
23878 * login/getlogin_r_chk.c: ... here.
23879 * debug/Makefile (routines): Move getlogin_r_chk to ...
23880 * login/Makefile (routines): ... here.
23881 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23882 * login/Versions (libc: GLIBC_2.4): ... here.
23883
355f9165
RM
23884 * io/poll.c (__poll): Renamed from poll.
23885 Add libc_hidden_def.
23886 (poll): Define as weak alias.
23887
bd9ffde6
RM
23888 * debug/ptsname_r_chk.c: Moved to ...
23889 * login/ptsname_r_chk.c: ... here.
23890 * debug/Makefile (routines): Move ptsname_r_chk to ...
23891 * login/Makefile (routines): ... here.
23892 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23893 * login/Versions (libc: GLIBC_2.4): ... here.
23894
8fb16a04
RM
23895 * posix/getlogin.c: Moved to ...
23896 * login/getlogin.c: ... here.
23897 * posix/getlogin_r.c: Moved to ...
23898 * login/getlogin_r.c: ... here.
23899 * posix/getlogin_r.c: Moved to ...
23900 * login/getlogin_r.c: ... here.
23901 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23902 * login/Makefile (routines): ... here.
23903 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23904 * login/Versions (libc: GLIBC_2.0): ... here.
23905
b99b892f
RM
23906 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23907 (setrlimit): Define as weak alias.
23908
c7405830
RM
23909 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23910 Call __ names for open, ftruncate, and close.
23911 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23912 (truncate): Define as weak alias.
23913
5bf96de5
JM
239142013-05-06 Joseph Myers <joseph@codesourcery.com>
23915
9ea3513c
JM
23916 * math/gen-libm-test.pl (parse_args): Initialize x before each
23917 test of frexp, modf and remquo.
23918
5bf96de5
JM
23919 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23920 test signgam value.
23921
16e616a7
AZ
239222013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23923
23924 [BZ #15418]
23925 [BZ #15419]
23926 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23927 internal tests.
23928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23929
d5e82754
RM
239302013-05-06 Roland McGrath <roland@hack.frob.com>
23931
23932 * elf/dl-writev.h: New file.
23933 * elf/dl-misc.c: Include it.
23934 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23935 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23936
a7548d41
JM
239372013-05-04 Joseph Myers <joseph@codesourcery.com>
23938
b7dab1e4
JM
23939 * math/libm-test.inc (noXFails): Remove variable.
23940 (noXPasses): Likewise.
23941 (BUILD_COMPLEX_INT): Remove macro.
23942 (print_screen): Remove xfail argument.
23943 (print_screen_max_error): Likewise.
23944 (update_stats): Likewise.
23945 (print_max_error): Likewise. Update calls to other affected
23946 functions.
23947 (print_complex_max_error): Likewise.
23948 (test_single_exception): Update calls to print_screen.
23949 (test_single_errno): Likewise.
23950 (check_float_internal): Remove xfail argument. Update calls to
23951 other affected functions.
23952 (check_float): Likewise.
23953 (check_complex): Likewise.
23954 (check_int): Likewise.
23955 (check_long): Likewise.
23956 (check_bool): Likewise.
23957 (check_longlong): Likewise.
23958 (main): Don't print noXFails and noXPasses.
23959 * math/gen-libm-test.pl (top level): Don't mention expected
23960 failure handling in comment.
23961 (new_test): Don't handle expected failures.
23962 (parse_args): Don't mention expected failure handling in comment.
23963 (generate_testfile): Don't handle expected failures.
23964 (parse_ulps): Likewise.
23965 (print_ulps_file): Likewise.
23966 (get_failure): Remove function.
23967 (output_test): Don't handle expected failures.
23968 * make/README.libm-test: Don't mention expected failure handling.
23969
a7548d41
JM
23970 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23971 (minus_zero): Likewise.
23972 (plus_infty): Likewise.
23973 (minus_infty): Likewise.
23974 (qnan_value): Likewise.
23975 (max_value): Likewise.
23976 (min_value): Likewise.
23977 (min_subnorm_value): Likewise.
23978 (initialize): Do not initialize those variables dynamically.
23979
60bfd54c
RM
239802013-05-03 Roland McGrath <roland@hack.frob.com>
23981
cc0e6ed8
RM
23982 * io/open.c (__open_2): Moved to ...
23983 * io/open_2.c: ... this new file.
23984 * io/open64.c (__open64_2): Moved to ...
23985 * io/open64_2.c: ... this new file.
23986 * io/openat.c (__openat_2): Moved to ...
23987 * io/openat_2.c: ... this new file.
23988 * io/openat64.c (__openat64_2): Moved to ...
23989 * io/openat64_2.c: ... this new file.
23990 * io/Makefile (routines): Add them.
23991 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23992 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23993 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23994 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23995 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23996 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23997 (__openat64): Add hidden_ver.
23998 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23999 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24000
60bfd54c
RM
24001 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24002 Separately conditionalize setting of GLRO(dl_sysinfo) so
24003 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24004 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24005
83e7640f
AZ
240062013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24007
24008 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24009 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24010 definition.
24011 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24012 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24013 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24014 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24015 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24016
d5dc2af3
JM
240172013-05-03 Joseph Myers <joseph@codesourcery.com>
24018
c31a5b1e
JM
24019 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24020 test signgam value.
24021
d5dc2af3
JM
24022 * math/libm-test.inc (hypot_test): Do not use
24023 IGNORE_ZERO_INF_SIGN.
24024
164fd39d
AJ
240252013-05-03 Andreas Jaeger <aj@suse.de>
24026
24027 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24028 Linux 3.9.
24029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24030 (PF_MAX): Adjust for VSOCK change.
24031
8237f48c
AZ
240322013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24033
24034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24035
9df02941
CD
240362013-05-02 Carlos O'Donell <carlos@redhat.com>
24037
24038 [BZ #15264]
24039 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24040 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24041 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24042
d422395e
DM
240432013-05-02 David S. Miller <davem@davemloft.net>
24044
24045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24046
a07c5731
OB
240472013-05-01 Ondřej Bílka <neleai@seznam.cz>
24048
24049 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24050
1324e37f
RM
240512013-05-01 Roland McGrath <roland@hack.frob.com>
24052
24053 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24054
0695940b
RS
240552013-05-01 Richard Smith <richard@metafoo.co.uk>
24056
bb5f27ad 24057 [BZ #14952]
0695940b
RS
24058 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24059 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24060 Use __attribute__ ((__gnu_inline__)).
24061 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24062 Don't use __attribute__ ((__gnu_inline__)).
24063
10de07f5
JM
240642013-05-01 Joseph Myers <joseph@codesourcery.com>
24065
24066 [BZ #15423]
24067 * math/s_catan.c (__catan): Handle small real or imaginary part of
24068 input specially to avoid spurious underflow.
24069 * math/s_catanf.c (__catanf): Likewise.
24070 * math/s_catanh.c (__catanh): Likewise.
24071 * math/s_catanhf.c (__catanhf): Likewise.
24072 * math/s_catanhl.c (__catanhl): Likewise.
24073 * math/s_catanl.c (__catanl): Likewise.
24074 * math/libm-test.inc (catan_test): Add more tests.
24075 (catanh_test): Likewise.
24076 * sysdeps/i386/fpu/libm-test-ulps: Update.
24077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24078
cb4d5414
AZ
240792013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24080
24081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24082
caf84319
JM
240832013-04-30 Joseph Myers <joseph@codesourcery.com>
24084
24085 [BZ #15416]
24086 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24087 accurately for denominator in atan2.
24088 * math/s_catanf.c (__catanf): Likewise.
24089 * math/s_catanh.c (__catanh): Likewise.
24090 * math/s_catanhf.c (__catanhf): Likewise.
24091 * math/s_catanhl.c (__catanhl): Likewise.
24092 * math/s_catanl.c (__catanl): Likewise.
24093 * math/libm-test.inc (catan_test): Add more tests.
24094 (catanh_test): Likewise.
24095 * sysdeps/i386/fpu/libm-test-ulps: Update.
24096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24097
d569c6ee
SP
240982013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24099
6dbe713d
SP
24100 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24101
f0ee064b
SP
24102 * benchtests/Makefile (bench): Remove slow benchmarks.
24103 * benchtests/atan-inputs: Add slow benchmark inputs.
24104 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24105 (BENCH_FUNC): Accept variant offset.
24106 (VARIANT): Define.
24107 * benchtests/bench-skeleton.c (main): Run benchmark for each
24108 variant.
24109 * benchtests/cos-inputs: Add slow benchmark inputs.
24110 * benchtests/exp-inputs: Likewise.
24111 * benchtests/pow-inputs: Likewise.
24112 * benchtests/sin-inputs: Likewise.
24113 * benchtests/slowatan-inputs: Remove.
24114 * benchtests/slowatan.c: Remove.
24115 * benchtests/slowcos-inputs: Remove.
24116 * benchtests/slowcos.c: Remove.
24117 * benchtests/slowexp-inputs: Remove.
24118 * benchtests/slowexp.c: Remove.
24119 * benchtests/slowpow-inputs: Remove.
24120 * benchtests/slowpow.c: Remove.
24121 * benchtests/slowsin-inputs: Remove.
24122 * benchtests/slowsin.c: Remove.
24123 * benchtests/slowtan-inputs: Remove.
24124 * benchtests/slowtan.c: Remove.
24125 * benchtests/tan-inputs: Add slow benchmark inputs.
24126 * scripts/bench.pl: Parse comments and directives.
24127
d569c6ee
SP
24128 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24129 in CPPFLAGS.
24130 ($(objpfx)bench-%.c): Remove *-ITER.
24131 * benchtests/bench-modf.c: Remove definition of ITER.
24132 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24133 (main): Loop for DURATION seconds instead of fixed number of
24134 iterations.
24135 * scripts/bench.pl: Don't expect iterations in parameters.
24136
a6a242fe
RM
241372013-04-29 Roland McGrath <roland@hack.frob.com>
24138
24139 * io/fchdir.c (__fchdir): Renamed from fchdir.
24140 (fchdir): Define as weak alias.
24141
f2da7793
JM
241422013-04-29 Joseph Myers <joseph@codesourcery.com>
24143
24144 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24145 (ERRNO_EDOM): Likewise.
24146 (ERRNO_ERANGE): Likewise.
24147 (noErrnoTests): New variable.
24148 (init_max_error): Set errno to 0.
24149 (test_single_errno): New function.
24150 (test_errno): Likewise.
24151 (check_float_internal): Call test_errno. Set errno to 0.
24152 (check_complex): Refer to errno tests in comment.
24153 (check_int): Call test_errno. Set errno to 0.
24154 (check_long): Likewise.
24155 (check_bool): Likewise.
24156 (check_longlong): Likewise.
24157 (cos_test): Use ERRNO_* flags for errno tests instead of
24158 check_int.
24159 (expm1_test): Likewise.
24160 (fmod_test): Likewise.
24161 (ilogb_test): Likewise.
24162 (lgamma_test): Likewise.
24163 (pow_test): Likewise.
24164 (remainder_test): Likewise.
24165 (sin_test): Likewise.
24166 (tan_test): Likewise.
24167 (yn_test): Likewise.
24168 (initialize): Set errno to 0.
24169 (main): Print number of errno tests.
24170 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24171
b1a36ceb
AJ
241722013-04-29 Andreas Jaeger <aj@suse.de>
24173
c3ed8088
AJ
24174 [BZ #15084]
24175 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24176 and RES_USEVC.
24177
f1a24198
AJ
24178 [BZ #15085]
24179 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24180 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24181 unimplemented.
24182
9ce3b2cb
AJ
24183 [BZ #15380]
24184 * stdlib/random.c (__initstate): Return NULL if
24185 __initstate fails.
24186
f1a24198 24187 [BZ #15086]
b1a36ceb
AJ
24188 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24189 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24190 RES_SNGLKUPREOP.
24191
7e7b6f36
AZ
241922013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24193
24194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24195
4d14f449
JM
241962013-04-29 Joseph Myers <joseph@codesourcery.com>
24197
24198 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24199 of individual tests.
24200 (casin_test): Likewise.
24201 (casinh_test): Likewise.
24202
5b4217d7
JM
242032013-04-27 Joseph Myers <joseph@codesourcery.com>
24204
24205 [BZ #15409]
24206 * math/s_catan.c (__catan): Handle arguments with large real or
24207 imaginary part separately without squaring.
24208 * math/s_catanf.c (__catanf): Likewise.
24209 * math/s_catanh.c (__catanh): Likewise.
24210 * math/s_catanhf.c (__catanhf): Likewise.
24211 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24212 and redefine.
24213 (__catanhl): Handle arguments with large real or imaginary part
24214 separately without squaring.
24215 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24216 and redefine.
24217 (__catanl): Handle arguments with large real or imaginary part
24218 separately without squaring.
24219 * math/libm-test.inc (catan_test): Add more tests.
24220 (catanh_test): Likewise.
24221 * sysdeps/i386/fpu/libm-test-ulps: Update.
24222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24223
4220c3ef
AJ
242242013-04-27 Andreas Jaeger <aj@suse.de>
24225
24226 [BZ #15007]
24227 * stdlib/stdlib.h: Update guards for qecvt.
24228 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24229 <stdlib.h>.
24230
4721b2d1
AM
242312013-04-27 Allan McRae <allan@archlinux.org>
24232
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234
f0302940
JM
242352013-04-26 Joseph Myers <joseph@codesourcery.com>
24236
9457fd95
JM
24237 [BZ #15406]
24238 * math/s_catan.c: Include <float.h>.
24239 (__catan): Ensure underflow exception occurs for underflowed
24240 result.
24241 * math/s_catanf.c: Include <float.h>.
24242 (__catanf): Ensure underflow exception occurs for underflowed
24243 result.
24244 * math/s_catanh.c: Include <float.h>.
24245 (__catanh): Ensure underflow exception occurs for underflowed
24246 result.
24247 * math/s_catanhf.c: Include <float.h>.
24248 (__catanhf): Ensure underflow exception occurs for underflowed
24249 result.
24250 * math/s_catanhl.c: Include <float.h>.
24251 (__catanhl): Ensure underflow exception occurs for underflowed
24252 result.
24253 * math/s_catanl.c: Include <float.h>.
24254 (__catanl): Ensure underflow exception occurs for underflowed
24255 result.
24256 * math/libm-test.inc (catan_test): Add more tests.
24257 (catanh_test): Likewise.
24258
f0302940
JM
24259 [BZ #15405]
24260 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24261 underflowed result.
24262 * math/s_ccoshf.c (__ccoshf): Likewise.
24263 * math/s_ccoshl.c (__ccoshl): Likewise.
24264 * math/s_csin.c (__csin): Likewise.
24265 * math/s_csinf.c (__csinf): Likewise.
24266 * math/s_csinh.c (__csinh): Likewise.
24267 * math/s_csinhf.c (__csinhf): Likewise.
24268 * math/s_csinhl.c (__csinhl): Likewise.
24269 * math/s_csinl.c (__csinl): Likewise.
24270 * math/libm-test.inc (ccos_test): Add more tests.
24271 (ccosh_test): Likewise.
24272 (csin_test): Likewise.
24273 (csinh_test): Likewise.
24274
aa630f59
AZ
242752013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24276
24277 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24278 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24279 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24280 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24281 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24282 powerpc/power5+/fpu folders.
24283 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24284
24285
1b835983
MT
242862013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24287
24288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24289
73709b26
JM
242902013-04-25 Joseph Myers <joseph@codesourcery.com>
24291
24292 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24293 additions to variable.
24294 [$(config-machine) = x86_64] (modules-names): Likewise.
24295 ($(objpfx)tst-audit3): Remove dependency.
24296 ($(objpfx)tst-audit3.out): Likewise.
24297 ($(objpfx)tst-audit4): Likewise.
24298 ($(objpfx)tst-audit4.out): Likewise.
24299 ($(objpfx)tst-audit5): Likewise.
24300 ($(objpfx)tst-audit5.out): Likewise.
24301 ($(objpfx)tst-audit6): Likewise.
24302 ($(objpfx)tst-audit6.out): Likewise.
24303 ($(objpfx)tst-audit7): Likewise.
24304 ($(objpfx)tst-audit7.out): Likewise.
24305 (tst-audit3-ENV): Remove variable.
24306 (tst-audit4-ENV): Likewise.
24307 (tst-audit5-ENV): Likewise.
24308 (tst-audit6-ENV): Likewise.
24309 (tst-audit7-ENV): Likewise.
24310 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24311 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24312 addition to variable.
24313 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24314 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24315 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24316 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24317 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24318 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24319 tst-audit3, tst-audit4 and tst-audit5.
24320 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24321 tst-audit6 and tst-audit7.
24322 [$(subdir) = elf] (modules-names): Add audit modules for those
24323 tests.
24324 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24325 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24326 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24327 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24328 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24329 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24330 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24331 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24332 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24333 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24334 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24335 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24336 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24337 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24338 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24339 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24340 Likewise.
24341 [$(subdir) = elf && $(config-cflags-avx) = yes]
24342 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24343 [$(subdir) = elf && $(config-cflags-avx) = yes]
24344 (CFLAGS-tst-auditmod4a.c): Likewise.
24345 [$(subdir) = elf && $(config-cflags-avx) = yes]
24346 (CFLAGS-tst-auditmod4b.c): Likewise.
24347 [$(subdir) = elf && $(config-cflags-avx) = yes]
24348 (CFLAGS-tst-auditmod6b.c): Likewise.
24349 [$(subdir) = elf && $(config-cflags-avx) = yes]
24350 (CFLAGS-tst-auditmod6c.c): Likewise.
24351 [$(subdir) = elf && $(config-cflags-avx) = yes]
24352 (CFLAGS-tst-auditmod7b.c): Likewise.
24353 * elf/tst-audit3.c: Move to ...
24354 * sysdeps/x86_64/tst-audit3.c: ... here.
24355 * elf/tst-audit4.c: Move to ...
24356 * sysdeps/x86_64/tst-audit4.c: ... here.
24357 * elf/tst-audit5.c: Move to ...
24358 * sysdeps/x86_64/tst-audit5.c: ... here.
24359 * elf/tst-audit6.c: Move to ...
24360 * sysdeps/x86_64/tst-audit6.c: ... here.
24361 * elf/tst-audit7.c: Move to ...
24362 * sysdeps/x86_64/tst-audit7.c: ... here.
24363 * elf/tst-auditmod3a.c: Move to ...
24364 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24365 * elf/tst-auditmod3b.c: Move to ...
24366 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24367 * elf/tst-auditmod4a.c: Move to ...
24368 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24369 * elf/tst-auditmod4b.c: Move to ...
24370 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24371 * elf/tst-auditmod5a.c: Move to ...
24372 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24373 * elf/tst-auditmod5b.c: Move to ...
24374 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24375 * elf/tst-auditmod6a.c: Move to ...
24376 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24377 * elf/tst-auditmod6b.c: Move to ...
24378 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24379 * elf/tst-auditmod6c.c: Move to ...
24380 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24381 * elf/tst-auditmod7a.c: Move to ...
24382 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24383 * elf/tst-auditmod7b.c: Move to ...
24384 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24385
1ef74943
PP
243862013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24387
24388 [BZ #15366]
24389 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24390 define unconditionally.
24391 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24392 define unconditionally.
24393 (INT8_C, INT16_C, etc.): Likewise.
24394
93fd48c5
MR
243952013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24396
ae9552cf
MR
24397 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24398 __ehdr_start with hidden visibility.
24399
93fd48c5
MR
24400 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24401
418601aa
CD
244022013-04-24 Carlos O'Donell <carlos@redhat.com>
24403
24404 * math/libm-test.inc (cos_test): Use accurate hex constants.
24405 (sincost_test): Likewise.
24406
2f38fbfe
JM
244072013-04-24 Joseph Myers <joseph@codesourcery.com>
24408
5e221800
JM
24409 * math/libm-test.inc (catan_test): Add more tests.
24410 (catanh_test): Likewise.
24411
77f143fd
JM
24412 * math/s_catanf.c (__catanf): Use suffixed floating-point
24413 constants.
24414 * math/s_catanhf.c (__catanhf): Likewise.
24415 * math/s_catanhl.c (__catanhl): Likewise.
24416 * math/s_catanl.c (__catanl): Likewise.
24417
2f38fbfe
JM
24418 [BZ #15394]
24419 * math/s_catan.c (__catan): Calculate imaginary part of result
24420 with log1p not log unless computing log of number close to 0.
24421 * math/s_catanf.c (__catanf): Likewise.
24422 * math/s_catanl.c (__catanl): Likewise.
24423 * math/s_catanh.c (__catanh): Calculate real part of result with
24424 log1p not log unless computing log of number close to 0.
24425 * math/s_catanhf.c (__catanhf): Likewise.
24426 * math/s_catanhl.c (__catanhl): Likewise.
24427 * math/libm-test.inc (catan_test): Add more tests.
24428 (catanh_test): Likewise.
24429 * sysdeps/i386/fpu/libm-test-ulps: Update.
24430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24431
45d69176
SP
244322013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24433
24434 * benchtests/Makefile: Mention files in which fast and slow
24435 paths of math functions are implemented.
24436
87f51853
RM
244372013-04-23 Roland McGrath <roland@hack.frob.com>
24438
24439 * sysdeps/posix/timespec_get.c: New file.
24440
3c026539
AZ
244412013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24442
24443 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24444 POWER.
24445 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24446 for POWER.
24447 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24448 powerpc/power5/fpu folders.
24449 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24450 * benchtests/Makefile: Add modf testcase.
24451 * benchtests/bench-modf.c: New file: Benchmark test for mo
24452
ff491d14
SP
244532013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24454
24455 [BZ #14888]
24456 * time/Makefile (tests): Add tst-strptime-whitespace.
24457 * time/strptime_l.c (get_number): Use ISSPACE.
24458 (__strptime_internal): Likewise.
24459 * time/tst-strptime-whitespace.c: New test case.
24460
7ed3f4e8
AS
244612013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24462
24463 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24464 member.
24465 (_nss_files_init): Set it here.
24466
5c95f7b6
HC
244672013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24468
24469 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24470 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24471 unsigned.
24472
d34c9158
JBG
244732013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24474
24475 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24476
2169712d
SP
244772013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24478
24479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24480 size just once.
24481
29c5de99
DM
244822013-04-21 David S. Miller <davem@davemloft.net>
24483
24484 * po/ru.po: Update Russion translation from translation project.
24485
ccdad15d
AC
244862013-04-17 Adam Conrad <adconrad@0c3.net>
24487
24488 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24489 and setfsgid.
24490
0f122b8d
CD
244912013-04-17 Carlos O'Donell <carlos@redhat.com>
24492
5c5b07da 24493 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24494 * configure: Regenerate.
5c5b07da 24495 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24496 Add example to error message.
24497 * sysdeps/i386/configure: Regenerate.
24498
037714dd
SP
244992013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24500
24501 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24502 slowtan.
24503 * benchtests/cos-inputs: New file.
24504 * benchtests/slowcos-inputs: New file.
24505 * benchtests/slowcos.c: New file.
24506 * benchtests/slowtan-inputs: New file.
24507 * benchtests/slowtan.c: New file.
24508 * benchtests/tan-inputs: New file.
24509
e913141d
RM
245102013-04-16 Roland McGrath <roland@hack.frob.com>
24511
24512 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24513 considered kosher.
24514
a2964074
SP
245152013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24516
4856bcd2
SP
24517 * benchtests/Makefile: Include cppflags-iterator.mk to add
24518 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24519
a2964074
SP
24520 * Makefile.in (bench-clean): New target.
24521 * benchtests/Makefile (bench-clean): Likewise.
24522
9fbf9aca
DH
245232013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24524
24525 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24526
207d1e2a
TS
245272013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24528
24529 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24530
306dfba9
AS
245312013-04-15 Andreas Schwab <schwab@suse.de>
24532
24533 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24535 * nscd/pwdcache.c (cache_addpw): Likewise.
24536 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24537 more than recsize.
24538
206a6699
SP
245392013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24540
24541 * benchtests/Makefile (bench): Write all output to
24542 bench-out.tmp together.
24543
0582f6b3
AS
245442013-04-15 Andreas Schwab <schwab@suse.de>
24545
24546 * nscd/nscd.c (main): Don't fork again after closing files.
24547
acb4325f
SP
245482013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24549
5cb26d0a
SP
24550 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24551
acb4325f
SP
24552 * benchtests/Rules (bench-deps): Collect dependencies into a
24553 single variable. Add Makefile to dependencies.
24554 ($(objpfx)bench-%.c): Depend on bench-deps.
24555
47792506
RM
245562013-04-12 Roland McGrath <roland@hack.frob.com>
24557 Xavier Roche <roche+kml2@exalead.com>
24558
24559 [BZ #15361]
24560 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24561 just that it's a file descriptor.
24562 * manual/llio.texi (Synchronizing AIO Operations): Update description
24563 for EBADF error from aio_fsync.
24564
8fc1bee5
SP
245652013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24566
24567 * Rules (bench): Move target definition...
24568 * benchtests/Makefile: ... here.
24569
aba5e333
CD
245702013-04-11 Carlos O'Donell <carlos@redhat.com>
24571
24572 * math/libm-test.inc (cos_test): Fix PI/2 test.
24573 (sincos_test): Likewise.
24574 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24575 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24576
273cdee8
AS
245772013-04-11 Andreas Schwab <schwab@suse.de>
24578
6ecec3b6
AS
24579 [BZ #13988]
24580 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24581 accept exponent character only when digits were seen.
24582 * stdio-common/Makefile (tests): Add bug26.
24583 * stdio-common/bug26.c: New file.
24584
273cdee8
AS
24585 [BZ #14293]
24586 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24587 non-freeable.
24588
8da491f5
SP
245892013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24590
01dc6df9
SP
24591 * Makeconfig (rtld-prefix): Define built linker prefix.
24592 * Rules (run-bench): Use it.
24593 * math/Makefile (run-regen-ulps): Likewise.
24594
8da491f5
SP
24595 * Rules (bench): Remove eval.
24596
abe7f530
SP
245972013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24598 Roland McGrath <roland@hack.frob.com>
24599 Ondrej Bilka <neleai@seznam.cz>
24600
24601 [BZ #15346]
24602 * time/getdate.c: Include ctype.h and alloca.h.
24603 (__getdate_r): Trim leading and trailing spaces of input.
24604 * time/tst-getdate.c (tests): Add tests with leading and
24605 trailing spaces.
24606
61c23e62
RM
246072013-04-08 Roland McGrath <roland@hack.frob.com>
24608
24609 [BZ #14280]
24610 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24611 when computing value.
24612
7208a313
CD
246132013-04-06 Carlos O'Donell <carlos@redhat.com>
24614
085b2d41
CD
24615 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24616 Use testrun.sh to run libm tests.
24617
7208a313
CD
24618 [BZ #15309]
24619 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24620
872c0acd
MM
246212013-04-06 Marko Myllynen <myllynen@redhat.com>
24622
24623 [BZ #15264]
24624 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24625
26510bdd
CD
246262013-04-06 Carlos O'Donell <carlos@redhat.com>
24627
24628 * Makefile.in (regen-ulps): New target.
24629 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24630 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24631 [ifneq (no,$(PERL)] (regen-ulps): New target.
24632 [ifeq (no,$(PERL)] (regen-ulps): New target.
24633 * math/libm-test.inc (ulps_file_name): Define.
24634 (output_dir): New variable.
24635 (options): Add "output-dir" option.
24636 (parse_opt): Handle 'o' case.
24637 (main): If output_dir is non-NULL use it as a prefix
24638 otherwise use "".
24639 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24640
a01f19c8
CD
246412013-04-06 Carlos O'Donell <carlos@redhat.com>
24642
24643 [BZ #10060, #10062]
24644 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24645 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24646 fail configure if __sync_val_compare_and_swap is not inlined.
24647 * sysdeps/i386/configure: Regenerate.
24648 * configure.in: Build for i686 when configured for i386.
24649 * configure: Regenerate.
24650 * README: Remove i386 reference.
24651
b7a329a5
CD
246522013-04-06 Carlos O'Donell <carlos@redhat.com>
24653
24654 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24656
bf0f50df
TS
246572013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24658
ee091edf
TS
24659 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24660 (lmsnanval): New variables.
24661 (F): Add conversion tests.
24662 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24663 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24664
a8b792d6
TS
24665 * stdio-common/tstdiomisc.c (F): Properly collect individual
24666 tests' results.
24667
a1cbf437
TS
24668 [BZ #14686, #15336]
24669 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24670 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24671 Instead, use input NaN values or generate a qNaN by arithmetic
24672 operation. Also fix bugs to comply with the standard.
24673 * math/libm-test.inc (remainder_test): Add more tests.
24674
8b43a0c9
TS
24675 [BZ #15335, #15342]
24676 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24678 input NaN values or generate a qNaN by arithmetic operation.
24679
d91da4ce
TS
24680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24681 unreachable code.
24682
bf0f50df
TS
24683 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24684 definitions.
24685
05e166c8
JM
246862013-04-03 Joseph Myers <joseph@codesourcery.com>
24687
24688 [BZ #14478]
24689 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24690 underflowed result.
24691 * math/s_cexpf.c (__cexpf): Likewise.
24692 * math/s_cexpl.c (__cexpl): Likewise.
24693 * math/libm-test.inc (cexp_test): Add more tests.
24694
1cef1b19
AS
246952013-04-03 Andreas Schwab <schwab@suse.de>
24696
24697 [BZ #15330]
24698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24699 order arrays from heap if bigger than alloca cutoff.
24700
74d87055
TS
247012013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24702
24703 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24704 (SNAN_TESTS_double): Refer to GCC PR56831.
24705 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24706 GCC PR56828.
24707
d755bba4
SP
247082013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24709
90d5d5bb
SP
24710 * Rules (bench): Move bench.out after the run is complete.
24711
73e0cd5d
SP
24712 * Rules (bench): Echo currently running benchmark.
24713
64aabd4b
SP
24714 * benchtests/Makefile (bench): Add atan and slowatan.
24715 * benchtests/atan-inputs: New file.
24716 * benchtests/slowatan-inputs: New file.
24717 * benchtests/slowatan.c: New file.
24718
c871eccd
SP
24719 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24721 its value.
24722
d755bba4
SP
24723 [BZ #15305]
24724 * sysdeps/unix/sysv/linux/kernel-features.h
24725 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24726 __ASSUME_XFS_RESTRICTED_CHOWN.
24727 * sysdeps/unix/sysv/linux/pathconf.c
24728 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24729 Save and restore errno.
24730
52ce4860
JM
247312013-04-02 Joseph Myers <joseph@codesourcery.com>
24732
24733 [BZ #15327]
24734 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24735 arguments using __kernel_casinh.
24736 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24737 arguments using __kernel_casinhf.
24738 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24739 arguments using __kernel_casinhl.
24740 * math/libm-test.inc (cacosh_test): Add more tests.
24741 * sysdeps/i386/fpu/libm-test-ulps: Update.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
81f311c2
SP
247442013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24745
e7906a47
SP
24746 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24748
92e3664b
SP
24749 * bench/Makefile (bench): Add sin and slowsin.
24750 * benchtests/sin-inputs: New file.
24751 * benchtests/slowsin-inputs: New file.
24752 * benchtests/slowsin.c: New file.
24753
81f311c2
SP
24754 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24755 (bench): Add slowexp and slowpow.
24756 (exp-ITER): Increase iterations.
24757 (pow-ITER): Likewise.
24758 * benchtests/exp-inputs: Change input.
24759 * benchtests/pow-inputs: Likewise.
24760 * benchtests/slowexp-inputs: New file.
24761 * benchtests/slowexp.c: New file.
24762 * benchtests/slowpow-inputs: New file.
24763 * benchtests/slowpow.c: New file.
24764
ab0f1aa9
AZ
247652013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24766
24767 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24768 instructions.
24769 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24771 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24772 * benchtests/Makefile: Add rint benchtest.
24773 * benchtests/rint-inputs: Input for rint benchtest.
24774
57267616
TS
247752013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24776
24777 * Versions.def (libm): Add GLIBC_2.18.
24778 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24779 hidden libm prototypes.
24780 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24781 * math/Makefile (libm-calls): Add s_issignaling.
24782 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24783 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24784 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24785 declaration.
24786 * math/math.h [__USE_GNU] (issignaling): New macro.
24787 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24788 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24789 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24790 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24793 * manual/arith.texi (issignaling): New section.
24794 * manual/libm-err-tab.pl (@all_functions): Update comment.
24795 * math/gen-libm-test.pl (parse_args): Apply special handling for
24796 issignaling.
24797 * math/libm-test.inc (print_float, issignaling_test): New
24798 functions.
24799 (check_float_internal): Add issignaling checks.
24800 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24801 default definition.
24802 * sysdeps/powerpc/math-tests.h: New file.
24803 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24804 tests.
24805 * math/test-snan.c (TEST_FUNC): Likewise.
24806
6142896d
DM
248072013-03-30 David S. Miller <davem@davemloft.net>
24808
24809 * po/de.po: Update from translation team.
24810
ccc8cadf
JM
248112013-03-30 Joseph Myers <joseph@codesourcery.com>
24812
24813 [BZ #10357]
24814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24815 imaginary part less than 1.0 and real part less than 0.5
24816 specially.
24817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24819 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24820 (cacos_test): Add more tests.
24821 (casin_test): Likewise.
24822 (casinh_test): Likewise.
24823 * sysdeps/i386/fpu/libm-test-ulps: Update.
24824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24825
0f6a8d4b
SP
248262013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24827
0d1029de
SP
24828 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24829 ONE with its value.
24830
c2d94018
SP
24831 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24832 (__pow_mp): Replace ONE and MONE with their values.
24833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24834 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24836 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24837 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24838 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24839
27ec37f1
SP
24840 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24841
a64d7e0e
SP
24842 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24843 (__pow_mp): Replace ZERO and MZERO with their values.
24844 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24845 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24846 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24849 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24850 (__sqr): Likewise.
24851
d26dd3eb
SP
24852 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24853
0f6a8d4b
SP
24854 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24855
e57b0c61
RM
248562013-03-28 Roland McGrath <roland@hack.frob.com>
24857
24858 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24859 Declare with __attribute__ ((weak)).
24860 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24861 Call __call_tls_dtors only if it's not NULL.
24862
356b3480
RM
248632013-03-28 Roland McGrath <roland@hack.frob.com>
24864
288f7d79
RM
24865 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24866 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24867 magic __ehdr_start linker symbol if it's defined.
24868 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24869 them up here if it was already done.
24870
dc0a0263
RM
24871 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24872 (_dl_aux_init): Use const in cast when setting it.
24873 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24874 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24875 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24876
3d3436ae
RM
24877 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24878 Declare them here.
24879 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24880 * csu/libc-tls.c: Nor here.
24881 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24882
356b3480
RM
24883 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24884 (__libc_message): Never call vsyslog.
24885
b0f1246a
AM
248862013-03-28 Alan Modra <amodra@gmail.com>
24887
24888 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24889 Define as empty.
24890 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24891 Likewise.
24892
fbbe2b9a
AZ
248932013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24894
24895 [BZ #15214]
24896 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24897 underflow.
24898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24899
1728ab37
SP
249002013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24901
7a86be6e
SP
24902 [BZ #15304]
24903 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24904 Don't add gid passed as argument.
24905
1728ab37
SP
24906 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24907
3a7182a1
JM
249082013-03-27 Joseph Myers <joseph@codesourcery.com>
24909
24910 [BZ #15307]
24911 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24912 imaginary part between 1.0 and 1.5 and real part less than 0.5
24913 specially.
24914 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24915 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24916 * math/libm-test.inc (cacos_test): Add more tests.
24917 (casin_test): Likewise.
24918 (casinh_test): Likewise.
24919 * sysdeps/i386/fpu/libm-test-ulps: Update.
24920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24921
6f2e90e7
SP
249222013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24923
5739f705
SP
24924 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24925 constants.
24926 (norm): Likewise.
24927 (denorm): Likewise.
24928 (__dbl_mp): Likewise.
24929 (add_magnitudes): Likewise.
24930 (sub_magnitudes): Likewise.
24931 (__add): Likewise.
24932 (__sub): Likewise.
24933 (__mul): Likewise.
24934 (__sqr): Likewise.
24935 (__inv): Likewise.
24936 (__dvd): Likewise.
24937
e375e83d
SP
24938 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24939 commented code.
24940 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24941 (__dubcos): Likewise.
24942 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24943 (__ieee754_acos): Likewise.
24944 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24945 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24946 (__exp1): Likewise.
24947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24949 (log1): Likewise.
24950 (my_log2): Likewise.
24951 (checkint): Likewise.
24952 * sysdeps/ieee754/dbl-64/e_remainder.c
24953 (__ieee754_remainder): Likewise.
24954 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24956 (bsloww): Likewise.
24957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24958
6f2e90e7
SP
24959 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24960 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24961 MANTISSA_STORE_T to store computations on mantissa. Use
24962 macros for rounding and division.
24963 (denorm): Likewise.
24964 (__dbl_mp): Likewise.
24965 (add_magnitudes): Likewise.
24966 (sub_magnitudes): Likewise.
24967 (__mul): Likewise.
24968 (__sqr): Likewise.
24969 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24970 powers of two in terms of TWOPOW macro.
24971 (mp_no): Make type of mantissa as MANTISSA_T.
24972 [!RADIXI]: Define RADIXI.
24973 [!TWO52]: Define TWO52.
24974 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24975
fce14d4e
AZ
249762013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24977
24978 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24979 llroundl symbol when building for PPC32.
24980
9ad027fb
MW
249812013-03-24 Mark H Weaver <mhw@netris.org>
24982
24983 * manual/arith.texi (Normalization Functions): Fix prototypes for
24984 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24985
e42a38dd
AZ
249862013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24987
24988 [BZ #13889]
24989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24990 high value to check if expl overflow.
24991 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24992 to check for underflow and overflow.
24993 * math/libm-test.inc: Add exp test.
24994
2e0fb521
DL
249952013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24996
24997 [BZ #11120]
24998 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24999 with NOT_IN_libc.
25000
b5784d95
AZ
250012013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25002
25003 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25004 symbol.
25005
5aa4a1a1
TS
250062013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25007
bdef0be7
TS
25008 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25009 wrap blocks consisting of several statements.
25010
5aa4a1a1
TS
25011 * sysdeps/generic/math-tests.h: New file.
25012 * sysdeps/i386/fpu/math-tests.h: Likewise.
25013 * math/test-snan.c: Include it.
25014 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25015
98c48fe5
JM
250162013-03-21 Joseph Myers <joseph@codesourcery.com>
25017
25018 [BZ #15285]
25019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25020 (__ieee754_j0l): Do not improve calculations using cos of twice
25021 input for inputs above LDBL_MAX / 2.0L.
25022 (__ieee754_y0l): Likewise.
25023 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25024 (__ieee754_j1l): Do not improve calculations using cos of twice
25025 input for inputs above LDBL_MAX / 2.0L.
25026 (__ieee754_y1l): Likewise.
25027 * math/libm-test.inc (j0_test): Add another test.
25028 (j1_test): Likewise.
25029 (y0_test): Likewise.
25030 (y1_test): Likewise.
25031 * sysdeps/i386/fpu/libm-test-ulps: Update.
25032
3775a8bc
SP
250332013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25034
25035 * Rules ($(objpfx)bench-%.c): Include code from a C source
25036 file.
25037
0a1b2ae6
JM
250382013-03-21 Joseph Myers <joseph@codesourcery.com>
25039
25040 [BZ #15287]
25041 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25042 imaginary part 1.0 and real part less than 0.5 specially.
25043 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25044 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25045 * math/libm-test.inc (cacos_test): Add more tests.
25046 (casin_test): Likewise.
25047 (casinh_test): Likewise.
25048 * sysdeps/i386/fpu/libm-test-ulps: Update.
25049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25050
b33d4ce4
SP
250512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25052
25053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25054 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25055
bef0b507
JM
250562013-03-20 Joseph Myers <joseph@codesourcery.com>
25057
25058 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25059 * config.make.in (config-cflags-sse4): Remove variable.
25060 (config-cflags-avx): Likewise.
25061 (config-cflags-sse2avx): Likewise.
25062 (config-cflags-novzeroupper): Likewise.
25063 (config-asflags-i686): Likewise.
25064 (have-mfma4): Likewise.
25065 (have-as-vis3): Likewise.
25066 (MIG): Likewise.
25067 * configure.in (MIG): Do not AC_SUBST.
25068 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25069 (libc_cv_cc_sse4): Do not AC_SUBST.
25070 (libc_cv_cc_avx): Likewise.
25071 (libc_cv_cc_sse2avx): Likewise.
25072 (libc_cv_cc_novzeroupper): Likewise.
25073 (libc_cv_cc_fma4): Likewise.
25074 (libc_cv_as_i686): Likewise.
25075 (libc_cv_sparc_as_vis3): Likewise.
25076 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25077 LIBC_CONFIG_VAR.
25078 (config-asflags-i686): Likewise.
25079 (config-cflags-avx): Likewise.
25080 (config-cflags-sse2avx): Likewise.
25081 (have-mfma4): Likewise.
25082 (config-cflags-novzeroupper): Likewise.
25083 * sysdeps/mach/configure.in (MIG): Likewise.
25084 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25085 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25086 LIBC_CONFIG_VAR.
25087 (config-cflags-avx): Likewise.
25088 (config-cflags-sse2avx): Likewise.
25089 (have-mfma4): Likewise.
25090 (config-cflags-novzeroupper): Likewise.
25091 * configure: Regenerated.
25092 * sysdeps/i386/configure: Likewise.
25093 * sysdeps/mach/configure: Likewise.
25094 * sysdeps/sparc/configure: Likewise.
25095 * sysdeps/x86_64/configure: Likewise.
25096
912cc4b3
RM
250972013-03-20 Roland McGrath <roland@hack.frob.com>
25098
25099 [BZ #14812]
25100 * locale/programs/localedef.c (options): Put N_ translation marker
25101 on argument names, not just descriptions.
25102
04eed2b0
MS
251032013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25104
25105 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25106
a065ceff
OB
251072013-03-20 Ondřej Bílka <neleai@seznam.cz>
25108
9bb2a810 25109 [BZ #14176]
a065ceff
OB
25110 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25111
a600e5ce
RM
251122013-03-19 Roland McGrath <roland@hack.frob.com>
25113
25114 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25115 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25116 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25117 [!BEFORE_ABORT] (before_abort): New function.
25118 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25119 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25120 (writev_for_fatal): New function.
25121 (WRITEV_FOR_FATAL): New macro; call that.
25122 (backtrace_and_maps): New function.
25123 (BEFORE_ABORT): New macro; call that.
25124 (struct str_list): Type removed.
25125 (__libc_message, __libc_fatal): Functions removed.
25126 Include <sysdeps/posix/libc_fatal.c> instead.
25127
6b18bea6
JM
251282013-03-19 Joseph Myers <joseph@codesourcery.com>
25129
25130 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25131 constants.
25132 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25133 double constants.
25134
aaa8cb4b
AS
251352013-03-19 Andreas Schwab <schwab@suse.de>
25136
44673770
AS
25137 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25138 * sysdeps/gnu/configure: Regenerate.
25139
aaa8cb4b
AS
25140 * configure.in: Substitute libc_cv_rtlddir.
25141 * configure: Regenerate.
25142 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25143 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25144 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25145 * elf/Makefile (install-others, CFLAGS-interp.c)
25146 (ldso_install, common-ldd-rewrite): Likewise.
25147 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25148 $(inst_slibdir)/$(rtld-installed-name).
25149 * scripts/rellns-sh: Add -p option.
25150 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25151 for source.
25152
d3cfc668
SP
251532013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25154
25155 * manual/nptl.texi: Renamed to ...
25156 * manual/threads.texi: ... this.
25157 * manual/Makefile (chapters): Update.
25158
0e2b9cdd
RM
251592013-03-18 Roland McGrath <roland@hack.frob.com>
25160
25161 [BZ #14812]
25162 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25163 on argument names, not just descriptions.
0e2b9cdd
RM
25164 * malloc/memusagestat.c (options): Likewise.
25165 * nss/getent.c (options): Likewise.
63270c24
RM
25166
251672013-03-18 Benno Schulenberg <bensberg@justemail.net>
25168
25169 [BZ #14812]
25170 * iconv/iconv_prog.c (options): Put N_ translation marker
25171 on argument names, not just descriptions.
25172 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25173
b2e1393c
OB
251742013-03-18 Ondrej Bilka <neleai@seznam.cz>
25175
25176 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25177 implementation which is faster on all x86_64 architectures.
25178 Tested on AMD, Intel Nehalem, SNB, IVB.
25179 * sysdeps/x86_64/strnlen.S: Likewise.
25180
25181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25182 Remove all multiarch strlen and strnlen versions.
25183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25184 Remove strlen and strnlen related parts.
25185
25186 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25187 Inline strlen part.
25188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25189
25190 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25191 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25193 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25194 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25195 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25196
ec4ff04d
CD
251972013-03-17 Carlos O'Donell <carlos@redhat.com>
25198
25199 * manual/memory.texi (Malloc Tunable Parameters):
25200 Sort parameters alphabetically. Add comments for missing entries.
25201
cd18e90a
DM
252022013-03-17 David S. Miller <davem@davemloft.net>
25203
25204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25205
2a185d32
JM
252062013-03-16 Joseph Myers <joseph@codesourcery.com>
25207
d2f9799e
JM
25208 [BZ #15283]
25209 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25210 for arguments at most half maximum finite value.
25211 * math/libm-test.inc (j0_test): Add more tests.
25212 (j1_test): Likewise.
25213 (y0_test): Likewise.
25214 (y1_test): Likewise.
25215 * sysdeps/i386/fpu/libm-test-ulps: Update.
25216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25217
2a185d32
JM
25218 [BZ #14155]
25219 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25220 1 / x and functions P and Q for arguments above 0x1p256L.
25221 (__ieee754_y0l): Likewise.
25222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25223 (__ieee754_y1l): Likewise.
25224 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25225 (j1_test): Likewise.
25226 (y0_test): Likewise.
25227 (y1_test): Likewise.
25228
6cbec759
TS
252292013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25230
25231 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25232 variable.
25233
bc16e260
RM
252342013-03-15 Roland McGrath <roland@hack.frob.com>
25235
aefc9b8c
RM
25236 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25237 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25238 zero since it's initialized to EXEC_PAGESIZE.
25239
bc16e260
RM
25240 * sysdeps/unix/sysv/linux/ldsodefs.h
25241 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25242 * sysdeps/generic/ldsodefs.h: ... here.
25243
a57da955
TS
252442013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25245
af00a34d
TS
25246 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25247
495ded2c
TS
25248 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25249 math/test-snan.c.
25250 * math/test-snan.c: Renamed from
25251 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25252 * math/Makefile (tests): Add test-snan.
25253 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25254 test-powerpc-snan.
25255
777b0332
TS
25256 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25257 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25258 functions.
25259 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25260 __builtin_nan family of functions.
25261 * math/libm-test.inc (initialize): Initialize qnan_value with
25262 __builtin_nan family of functions.
25263 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25264 Remove variables.
25265 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25266 Remove functions.
25267 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25268 storage class. Initialize qNaN_var and sNaN_var with
25269 __builtin_nan and __builtin_nans families of functions,
25270 respectively.
25271
64d063b8
TS
25272 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25273 (sqrt_test): Remove duplicate test with qNaN input.
25274 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25275 (round_test, signbit_test, significand_test): Note missing +/-Inf
25276 as well as qNaN tests.
25277
67e971f1
TS
25278 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25279 qNaN_var. Fix a few strings, too.
25280 * math/libm-test.inc (nan_value): Rename to qnan_value.
25281 * math/gen-libm-test.pl (%beautify): Adjust to that.
25282 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25283 * math/test-misc.c (main): Likewise.
25284 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25285 to __qnan_bytes, and __qnan_union, respectively.
25286 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25287 Likewise.
25288 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25289 and lqnanval, respectively.
25290 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25291 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25292 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25293 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25294
64487e12
TS
25295 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25296 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25297 doubles.
25298
e015e27b
TS
25299 * math/test-misc.c (main): Fix copy'n'pastos.
25300 * misc/tst-efgcvt.c (special): Likewise.
25301
a57da955
TS
25302 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25303 Remove declarations.
25304
1e380345
SP
253052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25306
25307 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25308 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25309 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25311
ef26eece
AZ
253122013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25313
25314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25315 macro to return vdso values correctly in IFUNC implementations.
25316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25317 Optimization by using IFUNC.
25318
8cfdb7e0
SP
253192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25320 Richard Henderson <rth@redhat.com>
25321 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25322
25323 * Makefile.in (bench): New target.
25324 * NEWS: Mention the benchmark framework.
25325 * Rules (bench): Likewise.
25326 (binaries-bench): Generate binaries for functions to
25327 benchmark.
25328 * benchtests/Makefile: New makefile for benchmark tests.
25329 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25330 programs.
25331 * benchtests/exp-inputs: New input file for EXP function.
25332 * benchtests/pow-inputs: New input file for POW function.
25333 * scripts/bench.pl: New script to generate source files for
25334 benchmark programs.
25335
bcda9880
SP
253362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25337
d22ca8cd
SP
25338 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25339 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25340 computations on mantissa. Use macros for rounding and
25341 division.
25342 (denorm): Likewise.
25343 (__dbl_mp): Likewise.
25344 (add_magnitudes): Likewise.
25345 (sub_magnitudes): Likewise.
25346 (__mul): Likewise.
25347 (__sqr): Likewise.
25348 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25349 powers of two in terms of TWOPOW macro.
25350 (mp_no): Make type of mantissa as MANTISSA_T.
25351 [!RADIXI]: Define RADIXI.
25352 [!TWO52]: Define TWO52.
25353 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25354
bcda9880
SP
25355 * manual/nptl.texi (cindex): Modify threads to pthreads.
25356
06d5adfb
JM
253572013-03-15 Joseph Myers <joseph@codesourcery.com>
25358
25359 * sysdeps/x86_64/preconfigure: Regenerated.
25360
41c7328e
JM
253612013-03-14 Joseph Myers <joseph@codesourcery.com>
25362
25363 [BZ #14155]
25364 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25365 0x1p28 and above.
25366 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25367 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25368 0x1p28 and above.
25369 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25370 * math/libm-test.inc (j0_test): Do not allow one spurious
25371 underflow exception.
25372 (y1_test): Likewise.
25373
e25cfa60
SP
253742013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25375
0409959c
SP
25376 * manual/Makefile (chapters): Add nptl.
25377 * manual/debug.texi (Debugging Support): Add link to Threads
25378 chapter.
25379 * manual/nptl.texi: New file.
25380
e25cfa60
SP
25381 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25382
58a1335e
PB
253832013-03-14 Petr Baudis <pasky@ucw.cz>
25384
25385 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25386 for non-NULL pointer before the memory validity test. Pointed
25387 out by Holger Brunck <holger.brunck@keymile.com>.
25388
9dc7c64f
AS
253892013-03-13 Andreas Schwab <schwab@suse.de>
25390
25391 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25392 instead of .os.
25393
54206aa6
JM
253942013-03-13 Joseph Myers <joseph@codesourcery.com>
25395
25396 * timezone/zic.c: Update from tzcode 2013b.
25397
e98cdb38
CD
253982013-03-12 Carlos O'Donell <carlos@redhat.com>
25399
25400 * manual/install.texi (Configuring and compiling):
25401 Mention i686 and i586.
25402 * INSTALL: Regenerate.
25403
9967e003
RM
254042013-03-12 Roland McGrath <roland@hack.frob.com>
25405
25406 * sysdeps/init_array/elf-init.c: New file.
25407 * csu/elf-init.c
25408 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25409 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25410
25411 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25412 __gmon_start__ as global, but as static with a .preinit_array pointer.
25413 * sysdeps/init_array/gmon-start.c: New file. Use that.
25414 * sysdeps/init_array/crti.S: New file, empty except for comments.
25415 * sysdeps/init_array/crtn.S: Likewise.
25416
e6b5a293 254172013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25418
25419 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25420 definining bcopy.
80f844c9
OB
25421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25422 Remove Prefer_SSE_for_memop.
25423 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25424 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25425 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25427 memset-x86-64.
80f844c9 25428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25429 Remove bzero, memset ifunc support.
80f844c9
OB
25430 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25431 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25432 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25433 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25434
fb6b0fcb
AS
254352013-03-11 Andreas Schwab <schwab@suse.de>
25436
25437 [BZ #15234]
25438 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25439 by SHLIB_COMPAT.
25440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25441 (GLIBC_2.16): Remove pthread_atfork.
25442
3e6bd4b1
PP
254432013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25444
25445 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25446 (ptestcases.h): Likewise.
25447
222d7f00
RM
254482013-03-08 Roland McGrath <roland@hack.frob.com>
25449
25450 * Makeconfig ($(common-objpfx)config.status): Depend on
25451 sysdeps/*/preconfigure{,.in} too.
25452
1ba4f030
JM
254532013-03-08 Joseph Myers <joseph@codesourcery.com>
25454
a222d91a
JM
25455 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25456 (__free_hook): Use void * instead of __malloc_ptr_t.
25457 (__malloc_hook): Likewise.
25458 (__realloc_hook): Likewise.
25459 (__memalign_hook): Likewise.
25460 (__after_morecore_hook): Likewise.
25461 * malloc/arena.c (save_malloc_hook): Likewise.
25462 (save_free_hook): Likewise.
25463 * malloc/hooks.c (malloc_hook_ini): Likewise.
25464 (realloc_hook_ini): Likewise.
25465 (memalign_hook_ini): Likewise.
25466 * malloc/malloc.c (malloc_hook_ini): Likewise.
25467 (realloc_hook_ini): Likewise.
25468 (memalign_hook_ini): Likewise.
25469 (__free_hook): Likewise.
25470 (__malloc_hook): Likewise.
25471 (__realloc_hook): Likewise.
25472 (__memalign_hook): Likewise.
25473 (__libc_malloc): Likewise.
25474 (__libc_free): Likewise.
25475 (__libc_realloc): Likewise.
25476 (__libc_memalign): Likewise.
25477 (__libc_valloc): Likewise.
25478 (__libc_pvalloc): Likewise.
25479 (__libc_calloc): Likewise.
25480 (__posix_memalign): Likewise.
25481 * malloc/morecore.c (__sbrk): Likewise.
25482 (__default_morecore): Likewise.
25483
5cc45e10
JM
25484 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25485
dd54b864
JM
25486 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25487 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25488 __malloc_ptrdiff_t.
25489
1ba4f030
JM
25490 * malloc/malloc.h (__malloc_size_t): Remove macro.
25491 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25492 __malloc_size_t.
25493 (old_memalign_hook): Likewise.
25494 (old_realloc_hook): Likewise.
25495 (struct hdr): Likewise.
25496 (flood): Likewise.
25497 (mallochook): Likewise.
25498 (memalignhook): Likewise.
25499 (reallochook): Likewise.
25500 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25501 (tr_old_realloc_hook): Likewise.
25502 (tr_old_memalign_hook): Likewise.
25503 (tr_mallochook): Likewise.
25504 (tr_reallochook): Likewise.
25505 (tr_memalignhook): Likewise.
25506
edf66e57
AZ
255072013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25508
25509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25510 default_ldbl_pack and using as default implementation.
25511 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25512 implementation.
25513 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25514 redundant definition.
25515 (ldbl_insert_mantissa): Likewise.
25516 (ldbl_canonicalize): Likewise.
25517 (ldbl_nearbyint): Likewise.
25518 (ldbl_pack): Rename to ldbl_pack_ppc.
25519 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25520 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25521 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25522
6d9145d8
SP
255232013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25524
25525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25526 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25528 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25531 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25532 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25533
4dd4e157
AJ
255342013-03-07 Andreas Jaeger <aj@suse.de>
25535
25536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25537 bits/mman-linux.h.
25538
adbb8027
SP
255392013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25540
ce544b5b
SP
25541 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25542 Include mpa.h and declare __MPEXP.
25543 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25545 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25546 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25547 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25548 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25549 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25550
4cc149fd
SP
25551 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25552 (__slowpow): Use long double EXPL and LOGL functions to
25553 compute POW.
25554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25555 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25558 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25559 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25560
e6ebd4a7
SP
25561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25562 intermediate variable to calculate exponent.
25563 (__sqr): Likewise.
25564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25565 Likewise.
25566 (__sqr): Likewise.
25567
82a9811d
SP
25568 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25569 [!NO__SQR]: Define __sqr.
25570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25571 and NO__SQR. Remove all code except __mul and __sqr. Include
25572 sysdeps/ieee754/dbl-64/mpa.c.
25573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25574
adbb8027
SP
25575 [BZ #12723]
25576 * posix/Makefile (tests): Add tst-pathconf.
25577 * posix/tst-pathconf.c: New test case.
25578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25579 _PC_PIPE_BUF.
25580 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25581
39120df9
PF
255822013-03-06 Patsy Franklin <pfrankli@redhat.com>
25583
25584 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25585
67525cb8
AJ
255862013-03-06 Andreas Jaeger <aj@suse.de>
25587
664a9ce4
AJ
25588 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25589 definition via __MAP_ANONYMOUS.
25590
8e39047d
AJ
25591 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25592 it's not part of Linux headers.
25593
67525cb8
AJ
25594 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25595 (MAP_HUGE_MASK): Define.
25596
25597 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25598 Define.
25599 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25601 Define.
25602 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25603 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25604 Define.
25605 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25607 Define.
25608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25609
25610 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25611 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25612 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25613 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25614 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25615 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25616
25617 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25618 Handle f2fs.
25619
25620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25621 Handle f2fs and efivarfs.
25622
25623 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25624 f2fs.
25625
25626 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25627 (EFIVARFS_MAGIC): Add.
25628 (F2FS_LINK_MAX): Add.
25629
e1b42695
PP
256302013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25631
25632 * stdio-common/vfprintf.c: Replace __builtin_expect with
25633 __glibc_unlikely.
25634
2d67d91a
JM
256352013-03-06 Joseph Myers <joseph@codesourcery.com>
25636
25637 [BZ #13550]
25638 * sysdeps/generic/bp-sym.h: Remove file.
25639 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25640 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25641 <bp-sym.h> and <bp-asm.h>.
25642 (__longjmp): Don't use BP_SYM.
25643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25644 and <bp-asm.h>.
25645 (memcpy): Don't use BP_SYM.
25646 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25647 <bp-sym.h> and <bp-asm.h>.
25648 (memcpy): Don't use BP_SYM.
25649 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25650 <bp-asm.h>.
25651 (memcpy): Don't use BP_SYM.
25652 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25653 <bp-asm.h>.
25654 (memset): Don't use BP_SYM.
25655 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25656 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25657 (__bzero): Don't use BP_SYM.
25658 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25659 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25661 <bp-sym.h> and <bp-asm.h>.
25662 (memcmp): Don't use BP_SYM. Remove comment about bounded
25663 pointers.
25664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25665 <bp-sym.h> and <bp-asm.h>.
25666 (memcpy): Don't use BP_SYM.
25667 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25668 <bp-sym.h> and <bp-asm.h>.
25669 (memset): Don't use BP_SYM.
25670 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25671 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25672 (__bzero): Don't use BP_SYM.
25673 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25674 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25675 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25676 <bp-sym.h> and <bp-asm.h>.
25677 (strncmp): Don't use BP_SYM. Remove comment about bounded
25678 pointers.
25679 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25680 <bp-sym.h> and <bp-asm.h>.
25681 (memcpy): Don't use BP_SYM.
25682 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25683 <bp-sym.h> and <bp-asm.h>.
25684 (memset): Don't use BP_SYM.
25685 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25686 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25687 (__bzero): Don't use BP_SYM.
25688 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25689 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25691 <bp-sym.h> and <bp-asm.h>.
25692 (__memchr): Don't use BP_SYM.
25693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25694 <bp-sym.h> and <bp-asm.h>.
25695 (memcmp): Don't use BP_SYM. Remove comment about bounded
25696 pointers.
25697 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25698 <bp-sym.h> and <bp-asm.h>.
25699 (memcpy): Don't use BP_SYM.
25700 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25701 <bp-sym.h> and <bp-asm.h>.
25702 (__mempcpy): Don't use BP_SYM.
25703 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25704 <bp-sym.h> and <bp-asm.h>.
25705 (__memrchr): Don't use BP_SYM.
25706 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25707 <bp-sym.h> and <bp-asm.h>.
25708 (memset): Don't use BP_SYM.
25709 (__bzero): Likewise.
25710 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25711 <bp-sym.h> and <bp-asm.h>.
25712 (__rawmemchr): Don't use BP_SYM.
25713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25714 <bp-sym.h> and <bp-asm.h>.
25715 (__STRCMP): Don't use BP_SYM.
25716 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25717 <bp-sym.h> and <bp-asm.h>.
25718 (strchr): Don't use BP_SYM.
25719 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25720 <bp-sym.h> and <bp-asm.h>.
25721 (__strchrnul): Don't use BP_SYM.
25722 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25723 <bp-sym.h> and <bp-asm.h>.
25724 (strlen): Don't use BP_SYM.
25725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25726 <bp-sym.h> and <bp-asm.h>.
25727 (strncmp): Don't use BP_SYM. Remove comment about bounded
25728 pointers.
25729 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25730 <bp-sym.h> and <bp-asm.h>.
25731 (__strnlen): Don't use BP_SYM.
25732 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25733 <bp-sym.h> and <bp-asm.h>.
25734 (__GI__setjmp): Don't use BP_SYM.
25735 (_setjmp): Likewise.
25736 (__sigsetjmp): Likewise.
25737 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25738 (L(start_addresses)): Don't use BP_SYM.
25739 (_start): Likewise.
25740 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25741 <bp-asm.h>.
25742 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25743 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25744 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25745 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25746 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25747 <bp-asm.h>.
25748 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25749 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25750 about bounded pointers.
25751 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25752 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25753 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25754 <bp-asm.h>.
25755 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25756 about bounded pointers. Remove GKM FIXME comments.
25757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25758 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25759 <bp-asm.h>.
25760 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25761 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25762 Remove GKM FIXME comments.
25763 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25764 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25765 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25766 <bp-asm.h>.
25767 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25768 about bounded pointers. Remove GKM FIXME comment.
25769 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25770 and <bp-asm.h>.
25771 (strncmp): Don't use BP_SYM. Remove comment about bounded
25772 pointers.
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25774 <bp-sym.h> and <bp-asm.h>.
25775 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25777 <bp-sym.h> and <bp-asm.h>.
25778 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25779 comment.
25780
cdcf361f
PP
257812013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25782
25783 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25784 call free(NULL).
25785
3c4a2b15
DM
257862013-03-05 David S. Miller <davem@davemloft.net>
25787
25788 * po/es.po: Update from translation team.
25789
cdcf361f 257902013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25791
25792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25793 <bits/mman-linux.h>.
25794 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25795 is fine.
25796 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25797 <bits/mman-linux.h> to end of file.
25798 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25799 is fine.
25800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25801 <bits/mman-linux.h> to end of file.
25802 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25803 is fine.
25804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25805 <bits/mman-linux.h> to end of file.
25806
25807 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25808 (MCL_CURRENT, MCL_FUTURE): Define here.
25809
5f67c04f
AK
258102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25811
8a4473cc 25812 [BZ #15232]
5f67c04f
AK
25813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25814 attribute_hidden.
25815 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25816
c3e94a95
AK
258172013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25818
25819 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25820 fourth parameter needed for rt_sigprocmask syscall.
25821 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25822 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25823 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25824 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25825 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25826 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25827
cfb6382a
JM
258282013-03-04 Joseph Myers <joseph@codesourcery.com>
25829
25830 [BZ #13550]
25831 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25832 comment about bounded pointers.
25833 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25834 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25835
539d8e01
AJ
258362013-03-04 Andreas Jaeger <aj@suse.de>
25837
25838 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25839 common definitions.
25840
25841 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25842 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25843 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25844 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25845 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25846 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25847
2e167a70 258482013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25849
25850 [BZ #15055]
25851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25852 __ieee754_sqrl instead of __sqrl.
25853
68508633
JM
258542013-03-01 Joseph Myers <joseph@codesourcery.com>
25855
25856 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25857 * sysdeps/powerpc/fpu_control.h: ... here.
25858 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25859 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25860 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25861 * sysdeps/powerpc/bits/mathinline.h: ... here.
25862
7775448e
RM
258632013-03-01 Roland McGrath <roland@hack.frob.com>
25864
25865 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25866 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25867 to just [NEED_DL_SYSINFO_DSO].
25868 * elf/dl-support.c: Likewise.
25869 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25870 * elf/rtld.c (dl_main): Likewise.
25871 * elf/setup-vdso.h (setup_vdso): Likewise.
25872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25873 * sysdeps/unix/sysv/linux/dl-sysdep.c
25874 (_dl_discover_osversion): Likewise.
25875
4e9b5995
CD
258762013-03-01 Carlos O'Donell <carlos@redhat.com>
25877
25878 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25879 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25880
e23872c8
SP
258812013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25882
e5c74c63
SP
25883 * NEWS: Mention libm performance improvements and non-x86 PI
25884 futex support.
25885
e23872c8
SP
25886 * csu/libc-start.c (__pthread_initialize_minimal): Change
25887 function arguments.
25888 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25889
b5510883
JM
258902013-02-28 Joseph Myers <joseph@codesourcery.com>
25891
25892 [BZ #13550]
25893 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25894 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25895 <bp-sym.h> and <bp-asm.h>.
25896 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25897 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25898 and <bp-asm.h>.
25899 (memcpy): Don't use BP_SYM.
25900 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25901 <bp-asm.h>.
25902 (__mpn_add_n): Don't use BP_SYM.
25903 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25904 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25905 and <bp-asm.h>.
25906 (__mpn_addmul_1): Don't use BP_SYM.
25907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25908 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25909 <bp-sym.h>.
25910 (_setjmp): Don't use BP_SYM.
25911 (__novmx_setjmp): Likewise.
25912 (__GI__setjmp): Likewise.
25913 (__vmx_setjmp): Likewise.
25914 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25915 <bp-sym.h>.
25916 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25917 (__bzero): Don't use BP_SYM.
25918 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25919 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25920 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25921 <bp-sym.h> and <bp-asm.h>.
25922 (memcpy): Don't use BP_SYM.
25923 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25924 <bp-sym.h> and <bp-asm.h>.
25925 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25927 <bp-sym.h> and <bp-asm.h>.
25928 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25929 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25930 <bp-asm.h>.
25931 (__mpn_lshift): Don't use BP_SYM.
25932 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25933 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25934 <bp-asm.h>.
25935 (memset): Don't use BP_SYM.
25936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25938 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25939 <bp-asm.h>.
25940 (__mpn_mul_1): Don't use BP_SYM.
25941 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25943 <bp-sym.h> and <bp-asm.h>.
25944 (memcmp): Don't use BP_SYM.
25945 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25946 <bp-sym.h> and <bp-asm.h>.
25947 (memcpy): Don't use BP_SYM.
25948 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25949 <bp-sym.h> and <bp-asm.h>.
25950 (memset): Don't use BP_SYM.
25951 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25952 <bp-sym.h> and <bp-asm.h>.
25953 (strncmp): Don't use BP_SYM.
25954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25955 <bp-sym.h> and <bp-asm.h>.
25956 (memcpy): Don't use BP_SYM.
25957 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25958 <bp-sym.h> and <bp-asm.h>.
25959 (memset): Don't use BP_SYM.
25960 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25961 <bp-sym.h> and <bp-asm.h>.
25962 (__memchr): Don't use BP_SYM.
25963 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25964 <bp-sym.h> and <bp-asm.h>.
25965 (memcmp): Don't use BP_SYM.
25966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25967 <bp-sym.h> and <bp-asm.h>.
25968 (memcpy): Don't use BP_SYM.
25969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25970 <bp-sym.h> and <bp-asm.h>.
25971 (__mempcpy): Don't use BP_SYM.
25972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25973 <bp-sym.h> and <bp-asm.h>.
25974 (__memrchr): Don't use BP_SYM.
25975 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25976 <bp-sym.h> and <bp-asm.h>.
25977 (memset): Don't use BP_SYM.
25978 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25979 <bp-sym.h> and <bp-asm.h>.
25980 (__rawmemchr): Don't use BP_SYM.
25981 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25982 <bp-sym.h> and <bp-asm.h>.
25983 (__STRCMP): Don't use BP_SYM.
25984 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25985 <bp-sym.h> and <bp-asm.h>.
25986 (strchr): Don't use BP_SYM.
25987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25988 <bp-sym.h> and <bp-asm.h>.
25989 (__strchrnul): Don't use BP_SYM.
25990 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25991 <bp-sym.h> and <bp-asm.h>.
25992 (strlen): Don't use BP_SYM.
25993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25994 <bp-sym.h> and <bp-asm.h>.
25995 (strncmp): Don't use BP_SYM.
25996 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25997 <bp-sym.h> and <bp-asm.h>.
25998 (__strnlen): Don't use BP_SYM.
25999 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26000 <bp-asm.h>.
26001 (__mpn_rshift): Don't use BP_SYM.
26002 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26003 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26004 <bp-sym.h> and <bp-asm.h>.
26005 (__sigsetjmp): Don't use BP_SYM.
26006 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26007 (L(start_addresses)): Don't use BP_SYM.
26008 (_start): Likewise.
26009 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26010 <bp-asm.h>.
26011 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26012 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26013 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26014 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26015 <bp-asm.h>.
26016 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26017 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26018 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26019 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26020 <bp-asm.h>.
26021 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26022 comments.
26023 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26024 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26025 <bp-asm.h>.
26026 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26027 FIXME comments.
26028 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26029 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26030 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26031 <bp-asm.h>.
26032 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26033 comment.
26034 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26035 and <bp-asm.h>.
26036 (strncmp): Don't use BP_SYM,
26037 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26038 <bp-asm.h>.
26039 (__mpn_sub_n): Don't use BP_SYM.
26040 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26041 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26042 and <bp-asm.h>.
26043 (__mpn_submul_1): Don't use BP_SYM.
26044 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26046 <bp-sym.h> and <bp-asm.h>.
26047 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26049 <bp-sym.h> and <bp-asm.h>.
26050 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26051 comment.
26052
8d19fe64
SP
260532013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26054
26055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26056 Use ZK to minimize writes to Z.
26057 (sub_magnitudes): Simplify code a bit.
26058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26059 Use ZK to minimize writes to Z.
26060 (sub_magnitudes): Simplify code a bit.
26061
85bd816a
RM
260622013-02-27 Roland McGrath <roland@hack.frob.com>
26063
26064 * csu/gmon-start.c: Add special exception to license text.
26065
b5977bf2
RH
260662013-02-27 Richard Henderson <rth@redhat.com>
26067
26068 * scripts/config.guess: Update from config.git.
26069 * scripts/config.sub: Likewise.
26070
11d6e2f2
SP
260712013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26072
09c14ed2
SP
26073 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26074
a688864e
SP
26075 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26076
6295157a
SP
26077 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26078
b8de2202
SP
26079 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26080
11d6e2f2
SP
26081 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26082
7e80ddb8
RM
260832013-02-26 Roland McGrath <roland@hack.frob.com>
26084
26085 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26086 [$(build-shared = yes].
7e80ddb8 26087
7da6d9ed
SP
260882013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26089
45f05884
SP
26090 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26091 (__mul): Reduce iterations for calculating mantissa.
26092
2236d359
SP
26093 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26094 MPTWO.
26095 (__mpranred): Likewise.
26096
7da6d9ed
SP
26097 [BZ #15160]
26098 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26099 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26100
b7688c42
PE
261012013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26102
26103 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26104 Define __attribute__.
26105
53a5c423
SP
261062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26107
26108 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26109 unused.
26110 * posix/regex_internal.h (__attribute): Remove.
26111 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26112 (re_string_context_at): Likewise.
26113 (bitset_not): Use __attribute__ and mark function as possibly
26114 unused.
26115 (bitset_merge): Likewise.
26116 (bitset_mask): Likewise.
26117 (re_string_char_size_at): Likewise.
26118 (re_string_wchar_at): Likewise.
26119 (re_string_elem_size_at): Likewise.
26120
60f5a8b5
SP
261212013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26122
2a983a2e
SP
26123 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26124 code.
26125 (cc32): Likewise.
26126
e69804d1
SP
26127 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26128 (__acr): Likewise.
26129 (__cpy): Likewise.
26130 (norm): Likewise.
26131 (denorm): Likewise.
26132 (__dbl_mp): Likewise.
26133 (add_magnitudes): Likewise.
26134 (sub_magnitudes): Likewise.
26135 (__mul): Likewise.
26136 (__inv): Likewise.
26137
2f22a1e8
SP
26138 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26139 style.
26140
8930ddc7
SP
26141 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26142 style.
26143
dc60cb11
SP
26144 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26145 code.
26146
60f5a8b5
SP
26147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26148 up changes with default code.
26149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26150 Likewise.
26151
b4d1fd33
AM
261522013-02-24 Allan McRae <allan@archlinux.org>
26153
faf6f8bc
AM
26154 * manual/socket.texi (The Internet Namespace): Order menu items
26155 to match that in the file.
26156
b4d1fd33
AM
26157 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26158 node listing of the info page menu.
26159
2366713d
JM
261602013-02-21 Joseph Myers <joseph@codesourcery.com>
26161
26162 [BZ #13550]
26163 * sysdeps/i386/bp-asm.h: Remove file.
26164 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26165 (PARMS): Do not use macros from bp-asm.h.
26166 (S1): Likewise.
26167 (S2): Likewise.
26168 (SIZE): Likewise.
26169 (__mpn_add_n): Do not use BP_SYM
26170 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26171 "bp-asm.h".
26172 (PARMS): Do not use macros from bp-asm.h.
26173 (S1): Likewise.
26174 (SIZE): Likewise.
26175 (__mpn_addmul_1): Do not use BP_SYM
26176 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26177 "bp-asm.h".
26178 (PARMS): Do not use macros from bp-asm.h.
26179 (SIGMSK): Likewise.
26180 (_setjmp): Likewise. Do not use BP_SYM.
26181 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26182 "bp-asm.h".
26183 (PARMS): Do not use macros from bp-asm.h.
26184 (SIGMSK): Likewise.
26185 (setjmp): Likewise. Do not use BP_SYM.
26186 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26187 "bp-asm.h".
26188 (PARMS): Do not use macros from bp-asm.h.
26189 (__frexp): Do not use BP_SYM.
26190 (frexp): Likewise.
26191 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26192 "bp-asm.h".
26193 (PARMS): Do not use macros from bp-asm.h.
26194 (__frexpf): Do not use BP_SYM.
26195 (frexpf): Likewise.
26196 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26197 "bp-asm.h".
26198 (PARMS): Do not use macros from bp-asm.h.
26199 (__frexpl): Do not use BP_SYM.
26200 (frexpl): Likewise.
26201 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26202 "bp-asm.h".
26203 (PARMS): Do not use macros from bp-asm.h.
26204 (__remquo): Do not use BP_SYM.
26205 (remquo): Likewise.
26206 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26207 "bp-asm.h".
26208 (PARMS): Do not use macros from bp-asm.h.
26209 (__remquof): Do not use BP_SYM.
26210 (remquof): Likewise.
26211 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26212 "bp-asm.h".
26213 (PARMS): Do not use macros from bp-asm.h.
26214 (__remquol): Do not use BP_SYM.
26215 (remquol): Likewise.
26216 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26217 "bp-asm.h".
26218 (PARMS): Do not use macros from bp-asm.h.
26219 (DEST): Likewise.
26220 (SRC): Likewise.
26221 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26222 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26223 "bp-asm.h".
26224 (PARMS): Do not use macros from bp-asm.h.
26225 (strlen): Do not use BP_SYM.
26226 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26227 "bp-asm.h".
26228 (PARMS): Do not use macros from bp-asm.h.
26229 (S1): Likewise.
26230 (S2): Likewise.
26231 (SIZE): Likewise.
26232 (__mpn_add_n): Do not use BP_SYM.
26233 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26234 "bp-asm.h".
26235 (PARMS): Do not use macros from bp-asm.h.
26236 (S1): Likewise.
26237 (SIZE): Likewise.
26238 (__mpn_addmul_1): Do not use BP_SYM.
26239 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26240 weak_alias.
26241 (bzero): Likewise.
26242 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26243 "bp-asm.h".
26244 (PARMS): Do not use macros from bp-asm.h.
26245 (S): Likewise.
26246 (SIZE): Likewise.
26247 (__mpn_lshift): Do not use BP_SYM.
26248 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26249 "bp-asm.h".
26250 (PARMS): Do not use macros from bp-asm.h.
26251 (DEST): Likewise.
26252 (SRC): Likewise.
26253 (LEN): Likewise.
26254 (memcpy): Likewise. Do not use BP_SYM.
26255 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26256 libc_hidden_def and weak_alias.
26257 (mempcpy): Do not use BP_SYM in weak_alias.
26258 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26259 "bp-asm.h".
26260 (PARMS): Do not use macros from bp-asm.h.
26261 (DEST): Likewise.
26262 (LEN): Likewise.
26263 [!BZERO_P] (CHR): Likewise.
26264 (memset): Likewise. Do not use BP_SYM.
26265 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26266 "bp-asm.h".
26267 (PARMS): Do not use macros from bp-asm.h.
26268 (S1): Likewise.
26269 (SIZE): Likewise.
26270 (__mpn_mul_1): Do not use BP_SYM.
26271 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26272 "bp-asm.h".
26273 (PARMS): Do not use macros from bp-asm.h.
26274 (S): Likewise.
26275 (SIZE): Likewise.
26276 (__mpn_rshift): Do not use BP_SYM.
26277 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26278 "bp-asm.h".
26279 (PARMS): Do not use macros from bp-asm.h.
26280 (STR): Likewise.
26281 (CHR): Likewise.
26282 (strchr): Likewise. Do not use BP_SYM.
26283 (index): Do not use BP_SYM in weak_alias.
26284 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26285 "bp-asm.h".
26286 (PARMS): Do not use macros from bp-asm.h.
26287 (DEST): Likewise.
26288 (SRC): Likewise.
26289 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26290 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26291 "bp-asm.h".
26292 (PARMS): Do not use macros from bp-asm.h.
26293 (strlen): Do not use BP_SYM.
26294 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26295 "bp-asm.h".
26296 (PARMS): Do not use macros from bp-asm.h.
26297 (S1): Likewise.
26298 (S2): Likewise.
26299 (SIZE): Likewise.
26300 (__mpn_sub_n): Do not use BP_SYM.
26301 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26302 "bp-asm.h".
26303 (PARMS): Do not use macros from bp-asm.h.
26304 (S1): Likewise.
26305 (SIZE): Likewise.
26306 (__mpn_submul_1): Do not use BP_SYM.
26307 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26308 "bp-asm.h".
26309 (PARMS): Do not use macros from bp-asm.h.
26310 (S1): Likewise.
26311 (S2): Likewise.
26312 (SIZE): Likewise.
26313 (__mpn_add_n): Do not use BP_SYM.
26314 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26315 weak_alias.
26316 (bzero): Likewise.
26317 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26318 "bp-asm.h".
26319 (PARMS): Do not use macros from bp-asm.h.
26320 (BLK2): Likewise.
26321 (LEN): Likewise.
26322 (memcmp): Do not use BP_SYM.
26323 (bcmp): Do not use BP_SYM in weak_alias.
26324 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26325 "bp-asm.h".
26326 (PARMS): Do not use macros from bp-asm.h.
26327 (DEST): Likewise.
26328 (SRC): Likewise.
26329 (LEN): Likewise.
26330 (memcpy): Likewise. Do not use BP_SYM.
26331 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26332 "bp-asm.h".
26333 (PARMS): Do not use macros from bp-asm.h.
26334 (DEST): Likewise.
26335 (SRC): Likewise.
26336 (LEN): Likewise.
26337 (memmove): Likewise. Do not use BP_SYM.
26338 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26339 "bp-asm.h".
26340 (PARMS): Do not use macros from bp-asm.h.
26341 (DEST): Likewise.
26342 (SRC): Likewise.
26343 (LEN): Likewise.
26344 (__mempcpy): Likewise. Do not use BP_SYM.
26345 (mempcpy): Do not use BP_SYM in weak_alias.
26346 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26347 "bp-asm.h".
26348 (PARMS): Do not use macros from bp-asm.h.
26349 (DEST): Likewise.
26350 (LEN): Likewise.
26351 [!BZERO_P] (CHR): Likewise.
26352 (memset): Likewise. Do not use BP_SYM.
26353 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26354 "bp-asm.h".
26355 (PARMS): Do not use macros from bp-asm.h.
26356 (STR2): Likewise.
26357 (strcmp): Do not use BP_SYM.
26358 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26359 "bp-asm.h".
26360 (PARMS): Do not use macros from bp-asm.h.
26361 (STR): Likewise.
26362 (DELIM): Likewise.
26363 [USE_AS_STRTOK_R] (SAVE): Likewise.
26364 (FUNCTION): Likewise. Do not use BP_SYM.
26365 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26366 aliases.
26367 (strtok_r): Likewise.
26368 (__GI___strtok_r): Likewise.
26369 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26370 (PARMS): Do not use macros from bp-asm.h.
26371 (S): Likewise.
26372 (SIZE): Likewise.
26373 (__mpn_lshift): Do not use BP_SYM.
26374 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26375 (PARMS): Do not use macros from bp-asm.h.
26376 (STR): Likewise.
26377 (CHR): Likewise.
26378 (__memchr): Do not use BP_SYM.
26379 (memchr): Do not use BP_SYM in weak_alias.
26380 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26381 (PARMS): Do not use macros from bp-asm.h.
26382 (BLK2): Likewise.
26383 (LEN): Likewise.
26384 (memcmp): Do not use BP_SYM.
26385 (bcmp): Do not use BP_SYM in weak_alias.
26386 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26387 (PARMS): Do not use macros from bp-asm.h.
26388 (S1): Likewise.
26389 (SIZE): Likewise.
26390 (__mpn_mul_1): Do not use BP_SYM.
26391 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26392 "bp-asm.h".
26393 (PARMS): Do not use macros from bp-asm.h.
26394 (STR): Likewise.
26395 (CHR): Likewise.
26396 (__rawmemchr): Do not use BP_SYM.
26397 (rawmemchr): Do not use BP_SYM in weak_alias.
26398 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26399 (PARMS): Do not use macros from bp-asm.h.
26400 (S): Likewise.
26401 (SIZE): Likewise.
26402 (__mpn_rshift): Do not use BP_SYM.
26403 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26404 (PARMS): Do not use macros from bp-asm.h.
26405 (SIGMSK): Likewise.
26406 (__sigsetjmp): Likewise. Do not use BP_SYM.
26407 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26408 (_start): Do not use BP_SYM.
26409 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26410 (PARMS): Do not use macros from bp-asm.h.
26411 (DEST): Likewise.
26412 (SRC): Likewise.
26413 (__stpcpy): Likewise. Do not use BP_SYM.
26414 (stpcpy): Do not use BP_SYM in weak_alias.
26415 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26416 "bp-asm.h".
26417 (PARMS): Do not use macros from bp-asm.h.
26418 (DEST): Likewise.
26419 (SRC): Likewise.
26420 (LEN): Likewise.
26421 (__stpncpy): Likewise. Do not use BP_SYM.
26422 (stpncpy): Do not use BP_SYM in weak_alias.
26423 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26424 (PARMS): Do not use macros from bp-asm.h.
26425 (STR): Likewise.
26426 (CHR): Likewise.
26427 (strchr): Likewise. Do not use BP_SYM.
26428 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26429 "bp-asm.h".
26430 (PARMS): Do not use macros from bp-asm.h.
26431 (STR): Likewise.
26432 (CHR): Likewise.
26433 (__strchrnul): Likewise. Do not use BP_SYM.
26434 (strchrnul): Do not use BP_SYM in weak_alias.
26435 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26436 "bp-asm.h".
26437 (PARMS): Do not use macros from bp-asm.h.
26438 (STOP): Likewise.
26439 (strcspn): Do not use BP_SYM.
26440 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26441 "bp-asm.h".
26442 (PARMS): Do not use macros from bp-asm.h.
26443 (STR): Likewise.
26444 (STOP): Likewise.
26445 (strpbrk): Likewise. Do not use BP_SYM.
26446 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26447 "bp-asm.h".
26448 (PARMS): Do not use macros from bp-asm.h.
26449 (STR): Likewise.
26450 (CHR): Likewise.
26451 (strrchr): Likewise. Do not use BP_SYM.
26452 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26453 (PARMS): Do not use macros from bp-asm.h.
26454 (SKIP): Likewise.
26455 (strspn): Do not use BP_SYM.
26456 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26457 (PARMS): Do not use macros from bp-asm.h.
26458 (STR): Likewise.
26459 (DELIM): Likewise.
26460 (SAVE): Likewise.
26461 (FUNCTION): Likewise. Do not use BP_SYM.
26462 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26463 aliases.
26464 (strtok_r): Likewise.
26465 (__GI___strtok_r): Likewise.
26466 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26467 (PARMS): Do not use macros from bp-asm.h.
26468 (S1): Likewise.
26469 (S2): Likewise.
26470 (SIZE): Likewise.
26471 (__mpn_sub_n): Do not use BP_SYM.
26472 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26473 "bp-asm.h".
26474 (PARMS): Do not use macros from bp-asm.h.
26475 (S1): Likewise.
26476 (SIZE): Likewise.
26477 (__mpn_submul_1): Do not use BP_SYM.
26478 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26479 <bp-sym.h>.
26480 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26481 and <bp-asm.h>.
26482 (PARMS): Do not use macros from bp-asm.h.
26483 (FLAGS): Likewise.
26484 (PTID): Likewise.
26485 (TLS): Likewise.
26486 (CTID): Likewise.
26487 (__clone): Do not use BP_SYM.
26488 (clone): Do not use BP_SYM in weak_alias.
26489 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26490 and <bp-asm.h>.
26491 (PARMS): Do not use macros from bp-asm.h.
26492 (LEN): Likewise.
26493 (__mmap64): Do not use BP_SYM.
26494 (mmap64): Do not use BP_SYM in weak_alias.
26495 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26496 <bp-sym.h> and <bp-asm.h>.
26497 (PARMS): Do not use macros from bp-asm.h.
26498 (__posix_fadvise64_l64): Do not use BP_SYM.
26499 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26500 (PARMS): Do not use macros from bp-asm.h.
26501 (NSOPS): Likewise.
26502 (semtimedop): Do not use BP_SYM.
26503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26504 and <bp-asm.h>.
26505
582a3cff
AM
265062013-02-21 Allan McRae <allan@archlinux.org>
26507
26508 * manual/message.texi (Charset conversion in gettext):
26509 Move @end statement to beginning of line.
26510
bab8a695
SP
265112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26512
80945231
SP
26513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26514 static.
26515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26516 Likewise.
26517
bab8a695
SP
26518 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26519 (denorm): Likewise.
26520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26522
e21d7aa7
AK
265232013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26524
26525 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26526 tail-call to the resolved function if pltexit isn't needed.
26527
4c7a4263
SP
265282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26529
26530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26531 or Y being zero as being unlikely.
26532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26533 Likewise.
26534
41f49342
CD
265352013-02-20 Carlos O'Donell <carlos@redhat.com>
26536
26537 * manual/nss.texi (System Databases and Name Service Switch):
26538 Remove frobnicate @pxref.
26539
50022a93
TS
265402013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26541
26542 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26543 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26544
08cbd996
PM
265452013-02-20 Petr Machata <pmachata@redhat.com>
26546
26547 * elf/elf.h (R_ARM_TARGET1): New macro.
26548 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26549 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26550 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26551 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26552 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26553 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26554 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26555 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26556 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26557 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26558 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26559 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26560 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26561 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26562 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26563 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26564 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26565 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26566 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26567 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26568 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26569 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26570 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26571 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26572 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26573 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26574 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26575 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26576 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26577 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26578 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26579 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26580 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26581 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26582 (R_ARM_THM_GOT_BREL12): Likewise.
26583 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26584 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26585 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26586 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26587 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26588 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26589 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26590 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26591 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26592
c7b275d6
TS
265932013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26594
26595 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26596 __attribute_used__ to __attribute__ ((unused)).
26597
20cd7fb3
SP
265982013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26599
26600 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26601 powerpc mpa.c.
26602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26603 comment formatting.
26604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26605
92945b52
JM
266062013-02-19 Joseph Myers <joseph@codesourcery.com>
26607
26608 [BZ #13550]
26609 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26610 Remove macro.
26611 (ENTER): Remove both macro definitions.
26612 (LEAVE): Likewise.
26613 (CHECK_BOUNDS_LOW): Likewise.
26614 (CHECK_BOUNDS_HIGH): Likewise.
26615 (CHECK_BOUNDS_BOTH): Likewise.
26616 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26617 (RETURN_BOUNDED_POINTER): Likewise.
26618 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26619 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26620 (POP_ERRNO_LOCATION_RETURN): Likewise.
26621 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26622 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26623 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26624 macros.
26625 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26626 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26627 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26628 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26629 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26630 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26631 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26632 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26633 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26634 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26635 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26636 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26637 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26638 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26639 removed macros.
26640 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26641 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26642 macros.
26643 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26644 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26645 * sysdeps/i386/i586/memset.S (memset): Likewise.
26646 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26647 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26648 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26649 macros.
26650 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26651 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26652 Change uses of L(2) to L(out).
26653 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26654 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26655 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26656 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26657 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26658 removed macros.
26659 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26660 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26661 macros.
26662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26663 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26664 (RETURN): Do not use macro LEAVE.
26665 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26666 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26667 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26668 * sysdeps/i386/i686/memset.S (memset): Likewise.
26669 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26670 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26671 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26672 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26673 Likewise.
26674 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26675 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26676 L(1_2) and L(1_3) into L(1).
26677 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26678 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26679 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26680 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26681 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26682 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26683 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26684 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26685 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26686 macros.
26687 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26688 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26689 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26690 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26691 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26692 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26693 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26694 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26695 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26696 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26697 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26698 * sysdeps/i386/strspn.S (strspn): Likewise.
26699 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26700 conditional code.
26701 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26702 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26703 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26704 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26705 L(1_3) into L(1_1).
26706 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26707 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26708 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26709 macros.
26710 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26711
2389741a
JJ
267122013-02-19 Jakub Jelinek <jakub@redhat.com>
26713
26714 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26715 macro.
26716
2016b3cd
SP
267172013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26718
e4f22324
SP
26719 * math/atest-exp.c (exp_mpn): Remove ROUND.
26720 * math/atest-exp2.c (exp_mpn): Likewise.
26721 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26722
2016b3cd
SP
26723 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26724 * stdlib/tst-tls-atexit-lib.c: Likewise.
26725 * stdlib/tst-tls-atexit.c: Likewise.
26726
4be9b544
MF
267272013-02-18 Mike Frysinger <vapier@gentoo.org>
26728
26729 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26730 and __attribute_alloc_size__.
26731
2f62b9ee
MF
267322013-02-18 Mike Frysinger <vapier@gentoo.org>
26733
26734 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26735 __attribute_alloc_size__.
26736 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26737 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26738
6ff444c4
MF
267392013-02-18 Mike Frysinger <vapier@gentoo.org>
26740
26741 * include/programs/xmalloc.h: New file.
26742 * catgets/gencat.c: Include it.
26743 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26744 * elf/pldd.c: Likewise.
26745 * iconv/iconv_charmap.c: Likewise.
26746 * iconv/iconvconfig.c: Likewise.
26747 * iconv/strtab.c: Likewise.
26748 * locale/programs/locale.c: Likewise.
26749 * locale/programs/localedef.h: Likewise.
26750 * locale/programs/simple-hash.c: Likewise.
26751 * nscd/nscd.h: Likewise.
26752 * nss/makedb.c: Likewise.
26753 * sysdeps/generic/ldconfig.h: Likewise.
26754
be179c8a
SP
267552013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26756
ba384f6e
SP
26757 * Versions.def: Add GLIBC_2.18.
26758 * include/link.h (struct link_map): New member l_tls_dtor_count.
26759 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26760 (__call_tls_dtors): Likewise.
26761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26762 __cxa_thread_atexit_impl.
26763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26764 Likewise.
26765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26766 Likewise.
26767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26768 Likewise.
26769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26770 Likewise.
26771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26773 Likewise.
26774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26775 Likewise.
26776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26778 Likewise.
26779 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26780 (tests): Add test case tst-tls-atexit.
26781 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26782 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26783 (GLIBC_PRIVATE): Add __call_tls_dtors.
26784 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26785 for libstdc++.
26786 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26787 * stdlib/tst-tls-atexit.c: New test case.
26788 * stdlib/tst-tls-atexit-lib.c: New test case.
26789
ffaa74cf 26790 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26791
be179c8a
SP
26792 * elf/Versions (ld): Add _dl_find_dso_for_object.
26793 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26794 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26795 (dl_open_worker): Use _dl_find_dso_for_object.
26796 * elf/dl-sym.c (do_sym): Likewise.
26797 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26798
f78b5caa
AK
267992013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26800
26801 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26802 Syntactic changes only.
26803 (_dl_runtime_profile): Do a tail-call to the resolved function.
26804
29691210
JM
268052013-02-17 Joseph Myers <joseph@codesourcery.com>
26806
26807 [BZ #13550]
26808 * sysdeps/x86_64/bp-asm.h: Remove file.
26809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26810 <bp-sym.h> and <bp-asm.h>.
26811 (__clone): Do not use BP_SYM.
26812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26813 <bp-sym.h> and <bp-asm.h>.
26814 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26815 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26816 "bp-asm.h".
26817 (_setjmp): Do not use BP_SYM.
26818 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26819 "bp-asm.h".
26820 (setjmp): Do not use BP_SYM.
26821 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26822 libc_hidden_def.
26823 (mempcpy): Do not use BP_SYM in weak_alias.
26824 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26825 "bp-asm.h".
26826 (strchr): Do not use BP_SYM.
26827 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26828 "bp-asm.h".
26829 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26830 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26831 (_start): Do not use BP_SYM.
26832 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26833 "bp-asm.h".
26834 (strcat): Do not use BP_SYM.
26835 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26836 "bp-asm.h".
26837 (STRCMP): Do not use BP_SYM.
26838 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26839 "bp-asm.h".
26840 (STRCPY): Do not use BP_SYM.
26841 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26842 "bp-asm.h".
26843 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26844 "bp-asm.h".
26845 (FUNCTION): Do not use BP_SYM.
26846 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26847 weak_alias.
26848 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26849
f238fd19
AJ
268502013-02-17 Andreas Jaeger <aj@suse.de>
26851
26852 * time/Versions: Sort entries.
26853 * string/Versions: Likewise.
26854 * resolv/Versions: Likewise.
26855 * posix/Versions: Likewise.
26856 * iconv/Versions: Likewise.
26857 * elf/Versions: Likewise.
26858 * wcsmbs/Versions: Likewise.
26859
bd07f23c 268602013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26861
22af19f9
SP
26862 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26863 loop termination condition.
26864
4709fe76
SP
26865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26866 variable to calculate EZ.
26867 (__sqr): Likewise.
2d0e0f29
SP
26868
26869 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26870 the lower precision input.
26871
daaa7713
JM
268722013-02-15 Joseph Myers <joseph@codesourcery.com>
26873
26874 [BZ #13550]
26875 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26876 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26877 (run-via-rtld-prefix): Do not handle %-bp tests.
26878 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26879 (all-object-suffixes): Remove .ob.
26880 (bppfx): Remove variable.
26881 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26882 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26883 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26884 [$(build-bounded) = yes] (libtype.ob): Likewise.
26885 * Makerules (elide-routines.ob): Remove variable.
26886 (do-tests-clean): Do not handle *-bp.out.
26887 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26888 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26889 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26890 (tests): Do not include $(tests-bp.out).
26891 (xtests): Do not include $(xtests-bp.out).
26892 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26893 [$(build-bounded) = yes] ($(addprefix
26894 $(objpfx),$(binaries-bounded))): Remove rule.
26895 ($(objpfx)%-bp.out): Remove rule.
26896 * config.make.in (build-bounded): Remove variable.
26897 * crypt/Makefile [$(build-bounded) = yes]
26898 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26899 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26900 append to variable.
26901 [$(build-bounded) = yes] (install-lib): Likewise.
26902 [$(build-bounded) = yes] (generated): Likewise.
26903 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26904 Remove rule.
26905 * intl/Makefile [$(build-bounded) = yes]
26906 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26907 * math/Makefile [$(build-bounded) = yes]
26908 ($(tests:%=$(objpfx)%-bp): Likewise.
26909 * misc/Makefile [$(build-bounded) = yes]
26910 ($(objpfx)tst-tsearch-bp): Likewise.
26911 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26912 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26913 Remove dependency.
26914 * string/Makefile (o-objects.ob): Remove variable.
26915 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26916 (CFLAGS-.ob): Remove variable.
26917 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26919 both definitions of variable.
26920 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26921 (ASFLAGS-.ob): Remove variable.
26922
e97ed6dd
JM
269232013-02-14 Joseph Myers <joseph@codesourcery.com>
26924
2bdd4ca6
JM
26925 [BZ #13550]
26926 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26927 Remove __BOUNDED_POINTERS__ from condition.
26928 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26929 * string/bits/string2.h [!__NO_STRING_INLINES &&
26930 !__BOUNDED_POINTERS__]: Likewise.
26931 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26932 Likewise.
26933 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26934 Remove conditional code.
26935 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26936 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26937 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26938 condition.
26939
e97ed6dd
JM
26940 [BZ #13550]
26941 * csu/libc-start.c: Do not include <bp-sym.h>.
26942 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26943 * elf/dl-open.c: Do not include <bp-sym.h>.
26944 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26945 * math/fegetenv.c: Do not include <bp-sym.h>.
26946 (fegetenv): Do not use BP_SYM in versioned symbols.
26947 * nptl/sysdeps/pthread/bits/libc-lockP.h
26948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26949 <bp-sym.h>.
26950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26951 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26953 (__pthread_mutex_destroy): Likewise.
26954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26955 (__pthread_mutex_lock): Likewise.
26956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26957 (__pthread_mutex_trylock): Likewise.
26958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26959 (__pthread_mutex_unlock): Likewise.
26960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26961 (__pthread_mutexattr_init): Likewise.
26962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26963 (__pthread_mutexattr_destroy): Likewise.
26964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26965 (__pthread_mutexattr_settype): Likewise.
26966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26967 (__pthread_rwlock_init): Likewise.
26968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26969 (__pthread_rwlock_destroy): Likewise.
26970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26971 (__pthread_rwlock_rdlock): Likewise.
26972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26973 (__pthread_rwlock_tryrdlock): Likewise.
26974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26975 (__pthread_rwlock_wrlock): Likewise.
26976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26977 (__pthread_rwlock_trywrlock): Likewise.
26978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26979 (__pthread_rwlock_unlock): Likewise.
26980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26981 (__pthread_key_create): Likewise.
26982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26983 (__pthread_setspecific): Likewise.
26984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26985 (__pthread_getspecific): Likewise.
26986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26987 Likewise.
26988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26989 (_pthread_cleanup_push_defer): Likewise.
26990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26991 (_pthread_cleanup_pop_restore): Likewise.
26992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26993 (pthread_setcancelstate): Likewise.
26994 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26995 <bp-sym.h>.
26996 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26997 (memchr): Do not use BP_SYM in weak_alias.
26998 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26999 (fegetenv): Do not use BP_SYM in versioned symbols.
27000 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27001 (fesetenv): Do not use BP_SYM in versioned symbols.
27002 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27003 (feupdateenv): Do not use BP_SYM in versioned symbols.
27004 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27005 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27006 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27007 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27008 (open64): Do not use BP_SYM in weak_alias.
27009 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27010 (fegetenv): Do not use BP_SYM in versioned symbols.
27011 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27012 (fesetenv): Do not use BP_SYM in versioned symbols.
27013 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27014 (feupdateenv): Do not use BP_SYM in versioned symbols.
27015 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27016 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27017 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27018 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27019 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27020 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27022 <bp-sym.h>.
27023 (__libc_start_main): Do not use BP_SYM.
27024
d6752ccd
SP
270252013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27026
cb57ce60
SP
27027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27028 redundant return line.
27029 (norm): Likewise.
27030 (denorm): Likewise.
27031 (dbl_mp): Likewise.
27032 (sub_magnitudes): Likewise.
27033 (__add): Likewise.
27034 (__sub): Likewise.
27035 (__mul): Likewise.
27036 (__inv): Likewise.
27037 (__dvd): Likewise.
27038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27039 (norm): Likewise.
27040 (denorm): Likewise.
27041 (dbl_mp): Likewise.
27042 (sub_magnitudes): Likewise.
27043 (__add): Likewise.
27044 (__sub): Likewise.
27045 (__mul): Likewise.
27046 (__inv): Likewise.
27047 (__dvd): Likewise.
27048
f414520d
SP
27049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27050 instead of __mul.
27051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27052 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27053 (cc32): Likewise.
27054
d6752ccd
SP
27055 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27056 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27058 of __mul for squares.
27059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27060 function
27061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27062 Likewise.
27063 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27065
70d9946a
JM
270662013-02-13 Joseph Myers <joseph@codesourcery.com>
27067
27068 [BZ #13550]
27069 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27070 code.
27071 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27072 prototype or function definition. Rename ubp_* variables and
27073 parameters. Remove argv definitions conditional on
27074 [__BOUNDED_POINTERS__].
27075 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27076 * elf/dl-runtime.c (_dl_fixup): Likewise.
27077 * include/set-hooks.h (RUN_HOOK): Likewise.
27078 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27079 definition.
27080 * string/strcpy.c (strcpy): Do not use __unbounded.
27081 * sysdeps/generic/frame.h (struct layout): Likewise.
27082 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27083 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27084 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27085 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27086 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27087 (__backtrace): Likewise.
27088 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27089 use __ptrvalue.
27090 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27091 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27092 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27093 Likewise.
27094 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27095 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27096 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27097 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27098 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27099 Do not use __unbounded.
27100 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27101 Rename __unboundedrlimits parameter to rlimits in prototype.
27102 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27103 Do not use __unbounded.
27104 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27105 not use __ptrvalue.
27106 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27107 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27108 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27109 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27110 __ptrvalue or __unbounded.
27111 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27112 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27113 use __unbounded.
27114 (__new_msgctl): Do not use __ptrvalue.
27115 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27116 __unbounded.
27117 (__libc_msgrcv): Do not use __ptrvalue.
27118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27119 startup_info): Do not use __unbounded.
27120 (__libc_start_main): Likewise. Rename ubp_* variables and
27121 parameters. Remove argv definitions conditional on
27122 [__BOUNDED_POINTERS__].
27123 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27124 __ptrvalue.
27125 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27126 use __unbounded.
27127 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27128 or __ptrvalue.
27129 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27130 use __unbounded.
27131 (__new_shmctl): Do not use __ptrvalue.
27132 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27133 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27134 Likewise.
27135 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27137 (__libc_sigaction): Likewise.
27138 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27139 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27140 Likewise.
27141 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27142
cc7834d6
OB
271432013-02-13 Ondřej Bílka <neleai@seznam.cz>
27144
ffb1ec7b 27145 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27146
27147 * string/mempcpy.c: Implement by calling memcpy.
27148
bdf02814
SP
271492013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27150
c2af38aa
SP
27151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27152
4e92d59e
SP
27153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27154 evaluation.
27155
909279a5
SP
27156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27157 values in the mantissa.
27158
bdf02814
SP
27159 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27160 minimize writes to Z.
27161 (sub_magnitudes): Simplify code a bit.
27162
cd525923
RM
271632013-02-12 Roland McGrath <roland@hack.frob.com>
27164
27165 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27166 from the message. The linker prefixes all warnings with that already.
27167
7e2f0d2d
AS
271682013-02-12 Andreas Schwab <schwab@suse.de>
27169
a445af0b
AS
27170 [BZ #15078]
27171 * posix/regexec.c (extend_buffers): Add parameter min_len.
27172 (check_matching): Pass minimum needed length.
27173 (clean_state_log_if_needed): Likewise.
27174 (get_subexp): Likewise.
27175 * posix/Makefile (tests): Add bug-regex34.
27176 (bug-regex34-ENV): Define.
27177 * posix/bug-regex34.c: New file.
27178
7e2f0d2d
AS
27179 [BZ #11561]
27180 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27181 elements compare against the byte sequence of it, not its name.
27182 * posix/Makefile (tests): Add bug-regex35.
27183 (bug-regex35-ENV): Define.
27184 * posix/bug-regex35.c: New file.
27185
a175b684
TV
271862013-02-11 Tom de Vries <tom@codesourcery.com>
27187
27188 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27189 comment.
27190 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27191 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27192 (CHECK_EOL): Add undef.
27193
310998fe 271942013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27195
27196 * bits/stdlib-bsearch.h: New file.
27197 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27198 * stdlib/stdlib.h: Likewise.
41eda41d 27199
8ded91fb
RM
272002013-02-11 Roland McGrath <roland@hack.frob.com>
27201
27202 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27203 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27204 declaration.
27205 * manual/search.texi (Array Search Function): Add missing const in
27206 lfind prototype.
27207 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27208 declaration to use rlim_t.
27209 (Basic Scheduling Functions): Remove erroneous const from
27210 sched_getparam prototype. Remove erroneous * from
27211 sched_get_priority_max and sched_get_priority_min prototypes.
27212 (Resource Usage): Fix summary @comment on vtimes to refer to
27213 sys/vtimes.h rather than vtimes.h.
27214 Add missing *s in vtimes prototype.
27215 (Limits on Resources): Fix ulimit prototype to return long int.
27216 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27217 prototypes to use long int rather than double.
27218 (BSD Random): Fix initstate and setstate to use char *, not void *.
27219 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27220 prototype to make second argument 'struct aiocb64 *const[]'.
27221 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27222 (Status of AIO Operations): Remove erroneous const in aio_return and
27223 aio_return64 prototypes.
27224 (Synchronizing I/O): Fix sync prototype to return void.
27225 * manual/startup.texi (Suboptions): Remove an erroneous const in
27226 getsubopt prototype.
27227 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27228 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27229 use size_t rather than int.
27230 (Scanning All Users): Likewise for getpwent_r.
27231 (Setting Groups): Add missing const to setgroups prototype.
27232 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27233 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27234 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27235 'const void *' rather than 'const char *'.
27236 (Host Address Functions): Likewise for inet_ntop.
27237 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27238 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27239 ssize_t for return value.
27240 (Sending Data): Likewise for send, sendto, sendmsg.
27241 (Socket Option Functions): Add a missing const in setsockopt prototype.
27242 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27243 use wchar_t for the argument.
27244 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27245 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27246 take no arguments.
27247 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27248 double/float/long double for second argument.
27249 Fix return types of significand, significandf, significandl.
27250 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27251 argument in fchmod prototype.
27252 (File Owner): Use uid_t and gid_t in fchown prototype.
27253 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27254 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27255 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27256 use 'const struct dirent **' as argument types to CMP function pointer
27257 argument.
27258 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27259 (File Times): Fix summary magic @comment for struct utimbuf and utime
27260 to refer to utime.h, not time.h.
27261 * manual/string.texi (Argz Functions): Add missing const in
27262 argz_extract and argz_next prototypes.
27263 (Finding Tokens in a String): Likewise for basename.
27264 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27265 (Copying and Concatenation): Fix typo in wmemmove prototype.
27266 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27267 (Signal Stack): Remove erroneous const in sigstack prototype.
27268 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27269 prototype.
27270 (Simple Calendar Time): Likewise for stime.
27271 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27272 prototype.
27273 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27274 say sys/sysctl.h instead.
27275 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27276 and vsyslog prototypes.
27277
fe77fe6d
TV
272782013-02-11 Tom de Vries <tom@codesourcery.com>
27279
27280 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27281 Remove.
27282
3a09b620
RM
272832013-02-11 Roland McGrath <roland@hack.frob.com>
27284
27285 * misc/sys/mman.h: Fix typo in mremap comment.
27286
550a0b89
RM
272872013-02-08 Roland McGrath <roland@hack.frob.com>
27288
27289 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27290 the '\0' terminator.
27291
a2da1673
JM
272922013-02-08 Joseph Myers <joseph@codesourcery.com>
27293
27294 [BZ #13550]
27295 * debug/segfault.c: Don't include <bp-checks.h>.
27296 * sysdeps/generic/bp-checks.h: Remove file.
27297 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27298 (__GETDENTS): Don't use CHECK_N.
27299 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27300 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27301 (__getgroups): Don't use CHECK_N.
27302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27303 (setgroups): Don't use CHECK_N.
27304 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27305 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27306 (__libc_msgrcv): Don't use CHECK_N.
27307 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27308 (__libc_msgsnd): Don't use CHECK_N.
27309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27310 <bp-checks.h>.
27311 (__libc_pread): Don't use CHECK_N.
27312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27313 include <bp-checks.h>.
27314 (__libc_pread64): Don't use CHECK_N.
27315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27316 include <bp-checks.h>.
27317 (__libc_pwrite): Don't use CHECK_N.
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27319 include <bp-checks.h>.
27320 (__libc_pwrite64): Don't use CHECK_N.
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27322 <bp-checks.h>.
27323 (__libc_pread): Don't use CHECK_N.
27324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27325 include <bp-checks.h>.
27326 (__libc_pread64): Don't use CHECK_N.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27328 include <bp-checks.h>.
27329 (__libc_pwrite): Don't use CHECK_N.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27331 include <bp-checks.h>.
27332 (__libc_pwrite64): Don't use CHECK_N.
27333 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27334 (do_pread): Don't use CHECK_N.
27335 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27336 (do_pread64): Don't use CHECK_N.
27337 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27338 (do_pwrite): Don't use CHECK_N.
27339 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27340 (do_pwrite64): Don't use CHECK_N.
27341 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27342 (__libc_readv): Don't use CHECK_N.
27343 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27344 (semop): Don't use CHECK_N.
27345 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27346 <bp-checks.h>.
27347 (semtimedop): Don't use CHECK_N.
27348 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27349 (__libc_pread): Don't use CHECK_N.
27350 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27351 <bp-checks.h>.
27352 (__libc_pread64): Don't use CHECK_N.
27353 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27354 <bp-checks.h>.
27355 (__libc_pwrite): Don't use CHECK_N.
27356 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27357 <bp-checks.h>.
27358 (__libc_pwrite64): Don't use CHECK_N.
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27360 <bp-checks.h>.
27361 (__libc_msgrcv): Don't use CHECK_N.
27362 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27363 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27364 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27365 (__libc_writev): Don't use CHECK_N.
27366
b84660a8
RM
273672013-02-08 Roland McGrath <roland@hack.frob.com>
27368
7f3e75f8
RM
27369 * string/strcpy.c: Removed unused variable.
27370
b84660a8
RM
27371 * Makeconfig (+sysdep-includes): Define with := rather than =.
27372 Use an existing include/ subdir of each sysdeps dir before it.
27373
471514d3
CD
273742013-02-08 Carlos O'Donell <carlos@redhat.com>
27375
27376 * nscd/connection.c (register_traced_file): Comment function.
27377 [HAVE_INOTIFY] (union __inev): Define.
27378 [HAVE_INOTIFY] (inotify_check_files): New function.
27379 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27380 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27381 clear_db_cache.
27382 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27383
b2d3c3be
CD
273842013-02-08 Carlos O'Donell <carlos@redhat.com>
27385
27386 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27387 loaded if not already and that a failure is permanent.
27388
b39949d2
CD
273892013-02-08 Carlos O'Donell <carlos@redhat.com>
27390
ddacd1db 27391 [BZ #15006]
b39949d2
CD
27392 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27393 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27394
b2c9eff4
JM
273952013-02-08 Joseph Myers <joseph@codesourcery.com>
27396
f3aae3f3
JM
27397 [BZ #13550]
27398 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27399 (CHECK_1_NULL_OK): Likewise.
27400 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27401 (__fxstat): Do not use CHECK_1.
27402 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27403 <bp-checks.h>.
27404 (___fxstat64): Do not use CHECK_1.
27405 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27406 <bp-checks.h>.
27407 (__fxstatat): Do not use CHECK_1.
27408 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27409 <bp-checks.h>.
27410 (__fxstatat64): Do not use CHECK_1.
27411 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27412 <bp-checks.h>.
27413 (__fxstat): Do not use CHECK_1.
27414 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27415 <bp-checks.h>.
27416 (__fxstatat): Do not use CHECK_1.
27417 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27418 <bp-checks.h>.
27419 (__getresgid): Do not use CHECK_1.
27420 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27421 <bp-checks.h>.
27422 (__getresuid): Do not use CHECK_1.
27423 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27424 <bp-checks.h>.
27425 (__lxstat): Do not use CHECK_1.
27426 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27427 <bp-checks.h>.
27428 (__old_msgctl): Do not use CHECK_1.
27429 (__new_msgctl): Likewise.
27430 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27431 <bp-checks.h>.
27432 (__new_setrlimit): Do not use CHECK_1.
27433 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27434 <bp-checks.h>.
27435 (__old_shmctl): Do not use CHECK_1.
27436 (__new_shmctl): Likewise.
27437 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27438 <bp-checks.h>.
27439 (__xstat): Do not use CHECK_1.
27440 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27441 (__lxstat): Do not use CHECK_1.
27442 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27443 <bp-checks.h>.
27444 (___lxstat64): Do not use CHECK_1.
27445 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27446 (__old_msgctl): Do not use CHECK_1.
27447 (__new_msgctl): Likewise.
27448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27449 <bp-checks.h>.
27450 (__gettimeofday): Do not use CHECK_1.
27451 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27452 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27453 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27454 <bp-checks.h>.
27455 (__gettimeofday): Do not use CHECK_1.
27456 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27457 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27458 (__new_shmctl): Do not use CHECK_1.
27459 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27460 <bp-checks.h>.
27461 (do_sigtimedwait): Do not use CHECK_1.
27462 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27463 <bp-checks.h>.
27464 (do_sigwaitinfo): Do not use CHECK_1.
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27466 <bp-checks.h>.
27467 (msgctl): Do not use CHECK_1.
27468 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27469 <bp-checks.h>.
27470 (shmctl): Do not use CHECK_1.
27471 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27472 (ustat): Do not use CHECK_1.
27473 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27474 <bp-checks.h>.
27475 (__fxstat): Do not use CHECK_1.
27476 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27477 <bp-checks.h>.
27478 (__fxstatat): Do not use CHECK_1.
27479 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27480 <bp-checks.h>.
27481 (__lxstat): Do not use CHECK_1.
27482 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27483 <bp-checks.h>.
27484 (__xstat): Do not use CHECK_1.
27485 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27486 (__xstat): Do not use CHECK_1.
27487 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27488 (___xstat64): Do not use CHECK_1.
27489
b2c9eff4
JM
27490 [BZ #13550]
27491 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27492 definitions.
27493 (CHECK_BOUNDS_HIGH): Likewise.
27494 * string/strcpy.c: Do not include <bp-checks.h>.
27495 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27496
f1d70dad
RM
274972013-02-07 Roland McGrath <roland@hack.frob.com>
27498
27499 * nscd/nscd-client.h (__nscd_drop_map_ref):
27500 Add __attribute__ ((unused)).
27501 * nis/nss-nisplus.h (niserr2nss): Likewise.
27502
27503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27504 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27505
27506 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27507 Remove inline keyword.
27508 * include/rounding-mode.h (round_away): Likewise.
27509 * libio/wfileops.c (adjust_wide_data): Likewise.
27510 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27511 (__m128i_strloadu_tolower): Likewise.
27512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27513 (__m128i_strloadu_tolower): Likewise.
27514 * time/mktime.c (ydhms_diff): Likewise.
27515 * locale/elem-hash.h (elem_hash): Likewise.
27516 * locale/setlocale.c (setdata): Likewise.
27517 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27518 (re_string_wchar_at): Likewise.
27519 (bitset_not, bitset_merge, bitset_mask): Likewise.
27520 [!(__GNUC__ > 3)] (inline): Remove macro.
27521 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27522 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27523 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27524 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27525 * string/memcmp.c (memcmp_bytes): Likewise.
27526 * locale/programs/locarchive.c (compute_hashval): Likewise.
27527 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27528 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27529 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27530 * nss/getent.c (print_rpc, print_protocols): Likewise.
27531 (print_passwd, print_group, print_aliases): Likewise.
27532 * nis/nss-nisplus.h (niserr2nss): Likewise.
27533 * nscd/connections.c (restart_p): Likewise.
27534 Change return type to bool.
27535
eab55bfb
RM
275362013-02-05 Roland McGrath <roland@hack.frob.com>
27537
7bd642f5
RM
27538 * Makeconfig (all-Depend-files): Add existing
27539 $(sorted-subdirs:=/Depend) files.
27540 (all-subdirs): Remove nss.
27541 * sysdeps/unix/inet/Subdirs: Add it here instead.
27542 * hesiod/Depend: New file.
27543
573c29b2
RM
27544 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27545 instead of calling alloca.
27546
b2e25af0
RM
27547 * io/lseek.c (__lseek): Rename to __libc_lseek.
27548 Define __lseek as an alias.
27549
eab55bfb
RM
27550 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27551
9a0d1941
CD
275522013-02-04 Carlos O'Donell <carlos@redhat.com>
27553
27554 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27555 else clause and remove check for non-standard endianness.
27556
b83bbec4
DM
275572013-02-04 David S. Miller <davem@davemloft.net>
27558
27559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27560
6277fdab
JM
275612013-02-04 Joseph Myers <joseph@codesourcery.com>
27562
27563 [BZ #13550]
27564 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27565 (__ubp_memchr): Remove prototype.
27566 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27567 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27568 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27569 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27570 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27571 Remove alias.
27572 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27573 (__ubp_memchr): Likewise.
27574 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27575 (__ubp_memchr): Likewise.
27576 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27577 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27578 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27580 CHECK_STRING.
27581 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27582 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27583 (__getcwd): Do not use CHECK_STRING.
27584 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27585 <bp-checks.h>.
27586 (__real_chown): Do not use CHECK_STRING.
27587 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27588 <bp-checks.h>.
27589 (fchownat): Do not use CHECK_STRING.
27590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27591 CHECK_STRING.
27592 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27593 <bp-checks.h>.
27594 (__lchown): Do not use CHECK_STRING.
27595 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27596 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27597 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27598 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27600 include <bp-checks.h>.
27601 (truncate64): Do not use CHECK_STRING.
27602 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27603 <bp-checks.h>.
27604 (__real_chown): Do not use CHECK_STRING.
27605 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27606 <bp-checks.h>.
27607 (__lchown): Do not use CHECK_STRING.
27608 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27609 <bp-checks.h>.
27610 (__chown): Do not use CHECK_STRING.
27611 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27612 <bp-checks.h>.
27613 (truncate64): Do not use CHECK_STRING.
27614 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27615 Likewise.
27616 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27617 (__xmknod): Do not use CHECK_STRING.
27618 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27619 <bp-checks.h>.
27620 (__xmknodat): Do not use CHECK_STRING.
27621 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27622 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27623
903ae060
AS
276242013-02-04 Andreas Schwab <schwab@suse.de>
27625
27626 [BZ #14142]
27627 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27628 * include/netdb.h: Likewise for h_errno.
27629 * elf/tst-stackguard1.c: Include <tls.h>.
27630
542f9466
JK
276312013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27632
27633 * elf/link.h (struct link_map): Extend the l_addr comment.
27634 * include/link.h (struct link_map): Likewise.
27635
e782a927
JM
276362013-02-01 Joseph Myers <joseph@codesourcery.com>
27637
27638 [BZ #13550]
27639 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27640 (BOUNDED_1): Remove macro.
27641 * debug/backtrace.c: Don't include <bp-checks.h>.
27642 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27643 (__backtrace): Likewise.
27644 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27645 <bp-checks.h>.
27646 (__backtrace): Don't use BOUNDED_1.
27647 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27648 <bp-checks.h>.
27649 (__backtrace): Don't use BOUNDED_1.
27650 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27651 (__backtrace): Don't use BOUNDED_1.
27652 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27653 (shmat): Don't use BOUNDED_N.
27654
8cf28c5e
JM
276552013-01-31 Joseph Myers <joseph@codesourcery.com>
27656
3a7ac8a0
JM
27657 [BZ #13550]
27658 * sysdeps/generic/bp-start.h: Remove file.
27659 * csu/libc-start.c: Don't include <bp-start.h>.
27660 (LIBC_START_MAIN): Set up __environ directly instead of using
27661 INIT_ARGV_and_ENVIRON.
27662 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27663 <bp-start.h>.
27664
f3499f95
JM
27665 [BZ #13550]
27666 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27667 definitions.
27668 (CHECK_FCNTL): Likewise.
27669 (CHECK_N_PAGES): Likewise.
27670
32a45bea
JM
27671 [BZ #13550]
27672 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27673 definitions.
27674 (CHECK_SIGSET_NULL_OK): Likewise.
27675 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27676 <bp-checks.h>.
27677 (sigpending): Don't use CHECK_SIGSET.
27678 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27679 <bp-checks.h>.
27680 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27681 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27682 <bp-checks.h>.
27683 (do_sigsuspend): Don't use CHECK_SIGSET.
27684 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27685 use CHECK_SIGSET.
27686 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27687 (do_sigwait): Don't use CHECK_SIGSET.
27688 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27689 use CHECK_SIGSET.
27690 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27691 include <bp-checks.h>.
27692 (sigpending): Don't use CHECK_SIGSET.
27693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27694 include <bp-checks.h>.
27695 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27696 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27697 <bp-checks.h>.
27698 (sigpending): Don't use CHECK_SIGSET.
27699 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27700 <bp-checks.h>.
27701 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27702
2e8a5c8c
JM
27703 [BZ #13550]
27704 * sysdeps/generic/bp-semctl.h: Remove file.
27705 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27706 <bp-checks.h> and <bp-semctl.h>.
27707 (__old_semctl): Don't use CHECK_SEMCTL.
27708 (__new_semctl): Likewise.
27709 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27710 and <bp-semctl.h>.
27711 (__old_semctl): Don't use CHECK_SEMCTL.
27712 (__new_semctl): Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27714 <bp-checks.h> and <bp-semctl.h>.
27715 (__old_semctl): Don't use CHECK_SEMCTL.
27716 (__new_semctl): Likewise.
27717 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27718 <bp-checks.h> and <bp-semctl.h>.
27719 (semctl): Don't use CHECK_SEMCTL.
27720
c2d54929
JM
27721 [BZ #13550]
27722 * Makerules (elide-bp-thunks): Remove variable.
27723 (elide-routines.oS): Don't use $(elide-bp-thunks).
27724 (elide-routines.os): Likewise.
27725 (elide-routines.o): Likewise.
27726 (elide-routines.op): Likewise.
27727 (elide-routines.og): Likewise.
27728 (objects): Don't use $(bp-thunks).
27729 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27730 include.
27731 (common-generated): Do not add s-proto-bp.d.
27732 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27733 (int): Likewise.
27734 (typ): Likewise.
27735 Do not generate makefile rules for bounded-pointer thunks.
27736 * sysdeps/generic/bp-thunks.h: Remove file.
27737 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27738 * sysdeps/unix/s-proto-bp.S: Likewise.
27739
8cf28c5e
JM
27740 [BZ #15062]
27741 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27742 parts of result separately when argument is not close to line from
27743 -i to i and one part of argument is small.
27744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27746 * math/libm-test.inc (cacos_test): Add more tests.
27747 (casin_test): Likewise.
27748 (casinh_test): Likewise.
27749 * sysdeps/i386/fpu/libm-test-ulps: Update.
27750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27751
c4e33b8d
DM
277522013-01-31 David S. Miller <davem@davemloft.net>
27753
27754 * po/de.po: Update from translation team.
27755
3b60b421
MK
277562013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27757
27758 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27759
bb931195
TS
277602013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27761
b5a5da23
TS
27762 * configure.in (_AC_PROG_CC_C89): New definition.
27763 * configure: Regenerate.
27764
bb931195
TS
27765 * configure.in (AC_PROG_CPP): New definition.
27766 * configure: Regenerate.
27767
8c53a12c
JM
277682013-01-23 Joseph Myers <joseph@codesourcery.com>
27769
27770 * debug/tst-backtrace.h: New file.
27771 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27772 (ret): Remove variable.
27773 (x): Likewise.
27774 (FAIL): Remove macro.
27775 (NO_INLINE): Likewise.
27776 (fn1): Use match function instead of strstr.
27777 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27778 (ret): Remove variable.
27779 (x): Likewise.
27780 (FAIL): Remove macro.
27781 (NO_INLINE): Likewise.
27782 (fn): Use match function instead of strstr.
27783 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27784 (ret): Remove variable.
27785 (x): Likewise.
27786 (FAIL): Remove macro.
27787 (NO_INLINE): Likewise.
27788 (handle_signal): Use match function instead of strstr.
27789 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27790 (ret): Remove variable.
27791 (x): Likewise.
27792 (FAIL): Remove macro.
27793 (NO_INLINE): Likewise.
27794 (handle_signal): Use match function instead of strstr.
27795
4858fa2a
RM
277962013-01-23 Roland McGrath <roland@hack.frob.com>
27797
27798 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27799
bae8e7f5
DM
278002013-01-23 David S. Miller <davem@davemloft.net>
27801
27802 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27803 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27804 argument of CAS if possible.
27805 * sysdeps/sparc/sparc64/bits/atomic.h
27806 (__arch_compare_and_exchange_val_32_acq): Likewise.
27807 (__arch_compare_and_exchange_val_64_acq): Likewise.
27808
9cbbc4ae
PT
278092013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27810
27811 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27812 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27813 Include <limits.h>.
67b3f58c 27814 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27815
5655a0b5
AC
278162013-01-23 Adam Conrad <adconrad@0c3.net>
27817
27818 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27819 (LDFLAGS-tst-array5): Likewise.
27820
052aff95
JM
278212013-01-23 Joseph Myers <joseph@codesourcery.com>
27822
27823 [BZ #15036]
27824 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27825 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27826 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27827 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27828
7c1e01aa
DM
278292013-01-21 David S. Miller <davem@davemloft.net>
27830
27831 * sysdeps/sparc/backtrace.c: New file.
27832 * sysdeps/sparc/sparc32/backtrace.h: New file.
27833 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27834 * sysdeps/sparc/sparc64/backtrace.h: New file.
27835 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27836 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27837 -funwind-tables.
27838
ab087e0a
AS
278392013-01-21 Andreas Schwab <schwab@suse.de>
27840
27841 [BZ #15020]
27842 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27843 closed its stdout.
27844
ed689c2f
AS
278452013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27846
27847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27848 "mpa2.h".
27849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27850
31d470ac
JM
278512013-01-18 Joseph Myers <joseph@codesourcery.com>
27852 Mark Mitchell <mark@codesourcery.com>
27853 Tom de Vries <tom@codesourcery.com>
27854 Paul Pluzhnikov <ppluzhnikov@google.com>
27855
27856 * debug/tst-backtrace2.c: New file.
27857 * debug/tst-backtrace3.c: Likewise.
27858 * debug/tst-backtrace4.c: Likewise.
27859 * debug/tst-backtrace5.c: Likewise.
27860 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27861 (CFLAGS-tst-backtrace3.c): Likewise.
27862 (CFLAGS-tst-backtrace4.c): Likewise.
27863 (CFLAGS-tst-backtrace5.c): Likewise.
27864 (LDFLAGS-tst-backtrace2): Likewise.
27865 (LDFLAGS-tst-backtrace3): Likewise.
27866 (LDFLAGS-tst-backtrace4): Likewise.
27867 (LDFLAGS-tst-backtrace5): Likewise.
27868 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27869 tst-backtrace4 and tst-backtrace5.
27870
90567f30 278712013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27872 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27873
27874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27875 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27877 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27879 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27880 "+r" and remove output regs list as redundant. Add explicit inline
27881 asm to specify register of return val to work around compiler codegen
27882 bug. Remove (int) cast on return value. Add return type parameter to
27883 use in macro so that this macro does not truncate return value for
27884 64-bit values.
27885 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27886 pass to INTERNAL_VSYSCALL_NCS.
27887 (INLINE_VSYSCALL): Add 'long int' as return type to
27888 INTERNAL_VSYSCALL_NCS macro invocation.
27889 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27890 INTERNAL_VSYSCALL_NCS macro invocation.
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27892
d3b9ea61
SP
278932013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27894
0b57daeb
SP
27895 [BZ #14496]
27896 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27897 Fix application of SIMD FP exception mask.
27898
caa99d06
SP
27899 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27900 mp_no from a power of two.
27901 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27902 __mpexp_twomm1. Use __pow_mp.
27903
d3b9ea61
SP
27904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27905 multiplication.
27906
1dbaee3c
DM
279072013-01-17 David S. Miller <davem@davemloft.net>
27908
27909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27910
728d7b43
JM
279112013-01-17 Joseph Myers <joseph@codesourcery.com>
27912
27913 [BZ #15023]
27914 * include/complex.h: Condition contents on [!_COMPLEX_H].
27915 (__kernel_casinhf): New prototype.
27916 (__kernel_casinh): Likewise.
27917 (__kernel_casinhl): Likewise.
27918 * math/Makefile (libm_calls): Add k_casinh.
27919 * math/k_casinh.c: New file.
27920 * math/k_casinhf.c: Likewise.
27921 * math/k_casinhl.c: Likewise.
27922 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27923 finite nonzero arguments.
27924 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27925 finite nonzero arguments.
27926 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27927 finite nonzero arguments.
27928 * math/s_casinh.c: Do not include <float.h>.
27929 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27930 * math/s_casinhf.c: Do not include <float.h>.
27931 (__casinhf): Move code for finite nonzero arguments to
27932 k_casinhf.c.
27933 * math/s_casinhl.c: Do not include <float.h>.
27934 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27935 redefine.
27936 (__casinhl): Move code for finite nonzero arguments to
27937 k_casinhl.c.
27938 * math/libm-test.inc (cacos_test): Add more tests.
27939 * sysdeps/i386/fpu/libm-test-ulps: Update.
27940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27941
2a26ef3a
PT
279422013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27943
27944 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27945 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27946 [!HAVE_MREMAP]: Remove [defined linux] case.
27947 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27948
a897655d
SP
279492013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27950
27951 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27952
881ebe89 279532013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27954
27955 * elf/elf.h (R_386_SIZE32): New relocation.
27956 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27957 R_386_SIZE32.
27958 (elf_machine_rela): Likewise.
27959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27960 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27961
59981e9b
JM
279622013-01-17 Joseph Myers <joseph@codesourcery.com>
27963
27964 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27965 (FP_FAST_FMA): Do not define.
27966 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27967 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27968 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27969 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27970 !_SOFT_FLOAT]: Likewise.
27971 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27973 value.
27974 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27975 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27976 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27977 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27978 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27979 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27980 file.
27981
cfa8054f
AS
279822013-01-16 Andreas Schwab <schwab@suse.de>
27983
27984 [BZ #14327]
27985 * include/stdlib.h (__mktemp): Add declaration.
27986 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27987 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27988
dd930cc5
SP
279892013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27990
881ebe89
SP
27991 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27992 definitions.
27993 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27994 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27995 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27996 definitions here.
27997 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27998 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27999 definitions.
28000 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28001 and ONE.
28002 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28003 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28005 definitions.
28006 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28007 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28008 definitions.
28009 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28010
dd930cc5
SP
28011 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28012
c19a9f89
DM
280132013-01-15 David S. Miller <davem@davemloft.net>
28014
1aa61767
DM
28015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28016 trunc{,f} to libm-sysdep_routes.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28019 file.
28020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28022 file.
28023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28024 file.
28025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28027 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28028 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28029 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28031 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28032 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28033
c42d5e98
DM
28034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28035 nearbyint{,f} to libm-sysdep_routes.
28036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28038 New file.
28039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28040 file.
28041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28042 New file.
28043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28044 file.
28045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28047 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28048 file.
28049 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28051 file.
28052 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28053 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28054 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28055
c19a9f89
DM
28056 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28057 libc_feholdexcept and libc_fesetenv.
28058
357679d2
MF
280592013-01-15 Mike Frysinger <vapier@gentoo.org>
28060
28061 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28062
65a82e3d
DM
280632013-01-14 David S. Miller <davem@davemloft.net>
28064
8b954ab9
DM
28065 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28066 (SPARC_ASM_VIS2_IFUNC): Likewise.
28067 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28069 use of 'siam' instruction.
28070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28071 Likewise.
28072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28073 Likewise.
28074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28075 Likewise.
28076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28081 file.
28082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28083 file.
28084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28085 file.
28086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28087 file.
28088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28093 new VIS2 routines.
28094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28097 Likewise.
28098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28103 routines to libm-sysdep_routines.
28104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28105
65a82e3d
DM
28106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28107 fdim/fdimf to libm-sysdep_routines.
28108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28109 file.
28110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28112 file.
28113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28116 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28117 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28118 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28119 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28120
e34ab705
SP
281212013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28122
2a91b573
SP
28123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28124 to optimize copies.
28125
1066a534
SP
28126 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28129
e34ab705
SP
28130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28131 local variable MPTWO.
28132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28133 Likewise.
28134
aba5e596
MF
281352013-01-13 Mike Frysinger <vapier@gentoo.org>
28136
28137 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28138 GLOB_NOESCAPE.
28139
e557e9e5
MF
281402013-01-13 Mike Frysinger <vapier@gentoo.org>
28141
28142 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28143
0428cec9
MF
281442013-01-13 Mike Frysinger <vapier@gentoo.org>
28145
28146 * manual/pattern.texi (glob_t): Document gl_flags.
28147 (glob64_t): Likewise.
28148
8794a964
DM
281492013-01-11 David S. Miller <davem@davemloft.net>
28150
66438c3f
RM
28151 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28152 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28153 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28154 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28155 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28156 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28157 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28158 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28159 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28160 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28161 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28162 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28163 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28164
4ae4244d
DM
28165 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28166 sparc V9 rather than using V8 code.
28167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28169
8794a964
DM
28170 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28171 Move to...
28172 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28173 Here.
28174
6270516e
RM
281752013-01-11 Roland McGrath <roland@hack.frob.com>
28176
28177 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28178 not in the main loop.
28179 * configure: Regenerated.
28180
6a57d931
JM
281812013-01-11 Joseph Myers <joseph@codesourcery.com>
28182
28183 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28184 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28185 to just #else.
28186 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28187 [!__GLIBC_HAVE_LONG_LONG] case.
28188 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28189 condition to just #else.
28190 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28191 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28192 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28193 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28194 unconditional.
28195 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28196 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28197 #elif condition to just #else.
28198 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28199 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28200 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28201 #elif condition to just #else.
28202
0e8529e9
SE
282032013-01-11 Steve Ellcey <sellcey@mips.com>
28204
28205 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28206 (EF_MIPS_ARCH_64): Fix value.
28207 (EF_MIPS_ARCH_32R2): New.
28208 (EF_MIPS_ARCH_64R2): New.
28209
740b3dbe
L
282102013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 * Makeconfig (+link-pie-before-libc): New.
28213 (+link-pie-after-libc): Likewise.
28214 (+link-pie-tests): Likewise.
28215 (+link-pie): Rewritten.
28216 (link-before-libc): Remove $(config-LDFLAGS).
28217 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28218 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28219 (config-LDFLAGS): Renamed to ...
28220 (rtld-LDFLAGS): This.
28221 (rtld-tests-LDFLAGS): New macro.
28222 (link-libc-rpath-link): Likewise.
28223 (link-libc-tests-rpath-link): Likewise.
28224 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28225 (link-libc): Prepand $(link-libc-rpath-link).
28226 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28227 (test-program-prefix): New macro.
28228 (test-via-rtld-prefix): Likewise.
28229 (test-program-cmd): Likewise.
28230 (host-test-program-cmd): Likewise.
28231 * Makefile ($(common-objpfx)testrun.sh): Replace
28232 $(run-program-prefix) with $(test-program-prefix).
28233 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28234 $(rtld-LDFLAGS).
28235 ($(common-objpfx)shlib.lds): Likewise.
28236 (build-module-helper): Likewise.
28237 ($(common-objpfx)format.lds): Likewise.
28238 * Rules (binaries-pie-tests): New.
28239 (binaries-pie-notests): Likewise.
28240 (binaries-pie): Rewritten.
28241 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28242 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28243 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28244 (make-test-out): Replace $(host-built-program-cmd) with
28245 $(host-test-program-cmd).
28246 * config.make.in (build-hardcoded-path-in-tests): New variable.
28247 * configure.in (--enable-hardcoded-path-in-tests): New configure
28248 option.
28249 (hardcoded_path_in_tests): New AC_SUBST.
28250 * configure: Regenerated.
28251 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28252 $(built-program-cmd) with $(test-program-cmd).
28253 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28254 (test_program_cmd): This.
28255 * elf/Makefile ($(objpfx)order.out): Run test with
28256 $(test-program-prefix).
28257 ($(objpfx)order2.out): Likewise.
28258 ($(objpfx)tst-initorder.out): Likewise.
28259 ($(objpfx)tst-initorder2.out): Likewise.
28260 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28261 $(test-program-cmd).
28262 ($(objpfx)tst-array1-static.out): Likewise.
28263 ($(objpfx)tst-array2.out): Likewise.
28264 ($(objpfx)tst-array3.out): Likewise.
28265 ($(objpfx)tst-array4.out): Likewise.
28266 ($(objpfx)tst-array5.out): Likewise.
28267 ($(objpfx)tst-array5-static.out): Likewise.
28268 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28269 $(test-program-cmd).
28270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28271 $(run-program-prefix) with $(test-program-prefix).
28272 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28273 (test_program_prefix): This.
28274 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28275 $(run-program-prefix) with $(test-program-prefix).
28276 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28277 (test_program_prefix): This.
28278 * iconvdata/tst-tables.sh: Likewise.
28279 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28280 $(run-program-prefix) with $(test-program-prefix).
28281 ($(objpfx)tst-translit.out): Likewise.
28282 ($(objpfx)tst-gettext2.out): Likewise.
28283 ($(objpfx)tst-gettext4.out): Likewise.
28284 ($(objpfx)tst-gettext6.out): Likewise.
28285 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28286 (test_program_prefix): This.
28287 * intl/tst-gettext2.sh: Likewise.
28288 * intl/tst-gettext4.sh Likewise.
28289 * intl/tst-gettext6.sh: Likewise.
28290 * intl/tst-translit.sh: Likewise.
28291 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28292 with $(test-program-cmd).
28293 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28294 $(run-program-prefix) with $(test-program-prefix).
28295 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28296 (test_program_prefix): This.
28297 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28298 $(run-program-prefix) with $(test-program-prefix).
28299 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28300 (test_program_prefix): This.
28301 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28302 * posix/Makefile ($(objpfx)globtest.out): Replace
28303 $(run-via-rtld-prefix) and $(test-wrapper) with
28304 $(test-program-prefix) and $(test-via-rtld-prefix).
28305 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28306 $(test-program-prefix).
28307 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28308 $(host-test-program-cmd).
28309 (tst-spawn-ARGS): Likewise.
28310 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28311 $(test-program-prefix).
28312 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28313 (test_via_rtld_prefix): This.
28314 (test_wrapper): Renamed to ...
28315 (test_program_prefix): This.
28316 (run_program_prefix): Replaced by test_program_prefix.
28317 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28318 (test_program_prefix): This.
28319 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28320 with $(host-test-program-cmd).
28321 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28322 $(run-program-prefix) with $(test-program-prefix).
28323 ($(objpfx)tst-printf.out): Likewise.
28324 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28325 $(test-program-cmd).
28326 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28327 (test_program_prefix): This.
28328 * stdio-common/tst-unbputc.sh: Likewise.
28329 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28330 $(run-program-prefix) with $(test-program-prefix).
28331 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28332 (test_program_prefix): This.
28333 * string/Makefile ($(objpfx)tst-svc.out): Replace
28334 $(built-program-cmd) with $(test-program-cmd).
28335
c6fe55cf
AJ
283362013-01-11 Andreas Jaeger <aj@suse.de>
28337
28338 [BZ #15003]
28339 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28340 value. Sync with Linux 3.7.
28341
9e6919c8
DM
283422013-01-10 David S. Miller <davem@davemloft.net>
28343
28344 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28345 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28346 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28347
1c9f1a02
RM
283482013-01-10 Roland McGrath <roland@hack.frob.com>
28349
28350 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28351 never set.
28352 * configure: Regenerated.
28353
b9de2dde
DM
283542013-01-10 David S. Miller <davem@davemloft.net>
28355
28356 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28357 sparc V9 rather than using V8 code.
28358 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28359 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28360
e7f68ef4
RM
283612013-01-10 Roland McGrath <roland@hack.frob.com>
28362
28363 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28364 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28365 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28366 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28367 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28368 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28369 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28370 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28371 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28372 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28373 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28374 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28375 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28376 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28377 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28378 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28379 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28380 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28381 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28382 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28383 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28384 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28385 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28386 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28387 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28388 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28389 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28390
5a47cc9c
DM
283912013-01-10 David S. Miller <davem@davemloft.net>
28392
28393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28394
4cf8f209
L
283952013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 * posix/Makefile (tests-static): New variable.
28398 (tests): Add $(tests-static).
28399 (tst-exec-static-ARGS): New variable.
28400 (tst-spawn-static-ARGS): Likewise.
28401 * posix/tst-exec-static.c: New file.
28402 * posix/tst-spawn-static.c: Likewise.
28403 * posix/tst-exec.c: Support run directly.
28404 * posix/tst-spawn.c: Likewise.
28405
fed0faa1
JM
284062013-01-10 Joseph Myers <joseph@codesourcery.com>
28407
828beb13
JM
28408 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28409 long.
28410 * math/bits/mathcalls.h (llrint): Likewise.
28411 (llround): Likewise.
28412 * stdlib/stdlib.h (struct drand48_data): Likewise.
28413 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28414 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28415 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28416 Likewise.
28417 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28418 Likewise.
28419 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28420 (elf_greg_t): Likewise.
28421 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28422 (__jmp_buf): Likewise.
28423 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28424 definitions.
28425 (llrint): Likewise, for all definitions.
28426 (llrintl): Likewise.
28427
fed0faa1
JM
28428 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28429 Remove [__GNUC__] condition.
28430 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28431 condition to just [__USE_ISOC99].
28432 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28433
1a20cb20
L
284342013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 [BZ #14200]
28437 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28438 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28439 defined.
28440 (_POSIX_V6_ILP32_OFF32): Likewise.
28441 (_XBS5_ILP32_OFF32): Likewise.
28442 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28443 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28444
751b85f7
SP
284452013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28446
7490eb81
SP
28447 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28448
751b85f7
SP
28449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28450 doubles __mpexp_twomm1. Adjust usage.
28451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28452 Remove.
28453
988197f0
AS
284542013-01-10 Andreas Schwab <schwab@suse.de>
28455
28456 [BZ #14964]
28457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28458 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28459
e83d7298
DM
284602013-01-09 David S. Miller <davem@davemloft.net>
28461
034ed64b 28462 [BZ #15003]
57f41c40
AS
28463 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28464 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28465 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28466 (TCP_FASTOPEN): Define.
e83d7298
DM
28467 (tcp_repair_opt): New structure.
28468 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28469 enum values.
57f41c40
AS
28470 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28471 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28472 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28473 (tcp_cookie_transactions): New structure.
28474
d5e0b9bd
AB
284752013-01-09 Anton Blanchard <anton@samba.org>
28476
28477 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28478 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28480 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28481
0c07e3ea
JM
284822013-01-09 Joseph Myers <joseph@codesourcery.com>
28483
28484 * include/features.h (__USE_ANSI): Remove.
28485
232f7002
RM
284862013-01-09 Roland McGrath <roland@hack.frob.com>
28487
ad98e30c
RM
28488 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28489
232f7002
RM
28490 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28491
950c99ca
SP
284922013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
b5792741
SP
28494 * sysdeps/s390/fpu/libm-test-ulps: Update.
28495
47cf2278
SP
28496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28497
950c99ca
SP
28498 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28499 (__acr): Likewise.
28500 (__cpy): Likewise.
28501 (norm): Likewise.
28502 (denorm): Likewise.
28503 (__mp_dbl): Likewise.
28504 (__dbl_mp): Likewise.
28505 (add_magnitudes): Likewise.
28506 (sub_magnitudes): Likewise.
28507 (__add): Likewise.
28508 (__sub): Likewise.
28509 (__mul): Likewise.
28510 (__inv): Likewise.
28511 (__dvd): Likewise.
28512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28513 (__acr): Likewise.
28514 (__cpy): Likewise.
28515 (norm): Likewise.
28516 (denorm): Likewise.
28517 (__mp_dbl): Likewise.
28518 (__dbl_mp): Likewise.
28519 (add_magnitudes): Likewise.
28520 (sub_magnitudes): Likewise.
28521 (__add): Likewise.
28522 (__sub): Likewise.
28523 (__mul): Likewise.
28524 (__inv): Likewise.
28525 (__dvd): Likewise.
28526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28527 (__acr): Likewise.
28528 (__cpy): Likewise.
28529 (norm): Likewise.
28530 (denorm): Likewise.
28531 (__mp_dbl): Likewise.
28532 (__dbl_mp): Likewise.
28533 (add_magnitudes): Likewise.
28534 (sub_magnitudes): Likewise.
28535 (__add): Likewise.
28536 (__sub): Likewise.
28537 (__mul): Likewise.
28538 (__inv): Likewise.
28539 (__dvd): Likewise.
28540
eede9df9
JM
285412013-01-08 Joseph Myers <joseph@codesourcery.com>
28542
28543 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28544 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28545 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28546 2 && __USE_EXTERN_INLINES]: Likewise.
28547
c40ea3d9
AJ
285482013-01-08 Andreas Jaeger <aj@suse.de>
28549
28550 [BZ# 14985]
28551 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28552 Remove.
28553 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28554 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28555
2ccdea26
AB
285562013-01-07 Anton Blanchard <anton@samba.org>
28557
28558 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28559 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28560 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28561 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28562 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28563 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28564 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28565 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28567 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28570 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28572 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28573 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28574 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28575 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28576 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28578 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28579 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28581 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28582 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28583 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28585 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28588 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28591 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28592 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28593 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28594 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28598 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28600 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28601
a9708fed
JM
286022013-01-07 Joseph Myers <joseph@codesourcery.com>
28603
375607b9
JM
28604 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28605 (__MALLOC_PMT): Likewise.
28606 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28607 [__GNUC__], only on [_LIBC].
28608 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28609 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28610 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28611 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28612 forward declaration.
28613 (realloc_hook_ini): Likewise.
28614 (memalign_hook_ini): Likewise.
28615 (__libc_memalign): Do not use __MALLOC_PMT in variable
28616 declaration.
28617 (__libc_valloc): Likewise.
28618 (__libc_pvalloc): Likewise.
28619 (__libc_calloc): Likewise.
28620 (__posix_memalign): Likewise.
28621
a9708fed
JM
28622 [BZ #14996]
28623 * math/s_casinh.c: Include <float.h>.
28624 (__casinh): Do not do computation with squaring and square root
28625 for large arguments.
28626 * math/s_casinhf.c: Include <float.h>.
28627 (__casinhf): Do not do computation with squaring and square root
28628 for large arguments.
28629 * math/s_casinhl.c: Include <float.h>.
28630 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28631 (__casinhl): Do not do computation with squaring and square root
28632 for large arguments.
28633 * math/libm-test.inc (casin_test): Add more tests.
28634 (casinh_test): Likewise.
28635 * sysdeps/i386/fpu/libm-test-ulps: Update.
28636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28637
afec409a
L
286382013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28641 (__x86_64_raw_data_cache_size): Likewise.
28642 (__x86_64_data_cache_size_half): Likewise.
28643 (__x86_64_raw_data_cache_size_half): Likewise.
28644 (__x86_64_shared_cache_size): Likewise.
28645 (__x86_64_raw_shared_cache_size): Likewise.
28646 (__x86_64_shared_cache_size_half): Likewise.
28647 (__x86_64_raw_shared_cache_size_half): Likewise.
28648 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28649 to ...
28650 (__x86_data_cache_size): This.
28651 (__x86_64_raw_data_cache_size): Renamed to ...
28652 (__x86_raw_data_cache_size): This.
28653 (__x86_64_data_cache_size_half): Renamed to ...
28654 (__x86_data_cache_size_half): This.
28655 (__x86_64_raw_data_cache_size_half): Renamed to ...
28656 (__x86_raw_data_cache_size_half): This.
28657 (__x86_64_shared_cache_size): Renamed to ...
28658 (__x86_shared_cache_size): This.
28659 (__x86_64_raw_shared_cache_size): Renamed to ...
28660 (__x86_raw_shared_cache_size): This.
28661 (__x86_64_shared_cache_size_half): Renamed to ...
28662 (__x86_shared_cache_size_half): This.
28663 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28664 (__x86_raw_shared_cache_size_half): This.
28665 * sysdeps/x86_64/memcpy.S: Updated.
28666 * sysdeps/x86_64/memset.S: Likewise.
28667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28670
0b3986d0
DM
286712013-01-04 David S. Miller <davem@davemloft.net>
28672
28673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28674
e47686e9
AS
286752013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28676
d643bac1
AS
28677 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28678 1 to avoid redefinition warning.
28679 (__USE_GNU): Don't define.
28680 (init_signaling_nan): Protoize.
28681
e47686e9
AS
28682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28683
b18decba
SP
286842013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28685
fffb407f
SP
28686 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28688 (__cpymn): Likewise.
28689 (norm): Remove commented code.
28690 (denorm): Likewise.
28691 (__mp_dbl): Likewise.
28692 (__inv): Likewise.
28693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28694 (__cpymn): Likewise.
28695 (norm): Remove commented code.
28696 (denorm): Likewise.
28697 (__mp_dbl): Likewise.
28698 (__inv): Likewise.
28699
b18decba
SP
28700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28701 mp_no value for 1.0 and 2.0.
28702 (norm): Use RADIXI instead of radixi.d.
28703 (denorm): Likewise.
28704 (__mul): Use 0.0 instead of zero.d.
28705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28706 mp_no value for 1.0 and 2.0.
28707 (norm): Use RADIXI instead of radixi.d.
28708 (denorm): Likewise.
28709 (__mul): Use 0.0 instead of zero.d.
28710
cdc1c96f
JM
287112013-01-04 Joseph Myers <joseph@codesourcery.com>
28712
28713 [BZ #14994]
28714 * math/s_casinh.c (__casinh): Reduce finite argument to first
28715 quadrant then set signs of results at the end.
28716 * math/s_casinhf.c (__casinhf): Likewise.
28717 * math/s_casinhl.c (__casinhl): Likewise.
28718 * math/libm-test.inc (casin_test): Add more tests.
28719 (casinh_test): Likewise.
28720 * sysdeps/i386/fpu/libm-test-ulps: Update.
28721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722
302913e1
SP
287232013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28724
6420d207
SP
28725 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28726
a9e48ab4
SP
28727 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28728
b7837264
SP
28729 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28730 declarations.
28731 (denorm): Likewise.
28732 (__mp_dbl): Likewise.
28733 (__inv): Likewise.
28734
f8af25d2
SP
28735 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28736 and adjust the header comment.
28737
302913e1
SP
28738 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28739 variable name from declaration.
28740
5d7dd1ca
L
287412013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28742
28743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28744 Initialize COMMON_CPUID_INDEX_7 element.
28745 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28746 (CPUID_RTM): Likewise.
28747 (HAS_RTM): Likewise.
28748 (COMMON_CPUID_INDEX_7): New enum.
28749
2f5f40f4
AS
287502013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28751
28752 [BZ #14981]
28753 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28754 size is zero, record memory as freed.
28755
4056f4a0
AJ
287562013-01-03 Andreas Jaeger <aj@suse.de>
28757
28758 * po/ia.po: Add new Interlingua translation.
28759
ab15736f 287602012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28761
28762 * locale/programs/localedef.c: Fix description of '--posix' flag.
28763
568035b7
JM
287642013-01-02 Joseph Myers <joseph@codesourcery.com>
28765
e6898b8d
JM
28766 * NEWS: Update dates in second copyright notice.
28767 * README: Update copyright dates in example.
28768 * manual/libc.texinfo: Update copyright dates.
28769 * scripts/test-installation.pl: Update copyright date in --version
28770 output.
28771
0e2f9562
JM
28772 * hurd/ctty-input.c: Fix copyright notice formatting.
28773 * hurd/ctty-output.c: Likewise.
28774 * hurd/dtable.c: Likewise.
28775 * hurd/hurd-raise.c: Likewise.
28776 * hurd/hurdprio.c: Likewise.
28777 * hurd/msgportdemux.c: Likewise.
28778 * misc/sys/file.h: Likewise.
28779 * misc/sys/ioctl.h: Likewise.
28780 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28781 * sysdeps/mach/hurd/chdir.c: Likewise.
28782 * sysdeps/mach/hurd/fchdir.c: Likewise.
28783 * sysdeps/mach/hurd/rename.c: Likewise.
28784 * sysdeps/mach/hurd/rmdir.c: Likewise.
28785 * sysdeps/mach/hurd/seekdir.c: Likewise.
28786 * sysdeps/mach/hurd/setsid.c: Likewise.
28787 * sysdeps/posix/wait3.c: Likewise.
28788
568035b7
JM
28789 * All files with FSF copyright notices: Update copyright dates
28790 using scripts/update-copyrights.
28791 * intl/plural.c: Regenerated.
28792 * locale/programs/charmap-kw.h: Likewise.
28793 * locale/programs/locfile-kw.h: Likewise.
28794
da08f647
SP
287952013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28796
0f5477af
SP
28797 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28798 four values.
28799
44e0d4c2
SP
28800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28801 calculation loop and add branch prediction.
28802
4d55b4e5
SP
28803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28804 check access beyond bounds of m1np.
28805
da08f647
SP
28806 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28807 MPTWO.
28808 (__inv): Remove local variable MPTWO to use the global
28809 constant.
28810 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28812 variable MPTWO.
28813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28814 MP3HALFS static const.
28815
8e051029
DM
288162013-01-01 David S. Miller <davem@davemloft.net>
28817
28818 * po/ca.po: Update from translation team.
28819
f4cf5f2d
JM
288202013-01-01 Joseph Myers <joseph@codesourcery.com>
28821
28822 * scripts/update-copyrights: New file.
28823 * Makeconfig: Reformat copyright notice.
28824 * ctype/ctype.h: Likewise.
28825 * debug/swprintf_chk.c: Likewise.
28826 * elf/dl-cache.c: Likewise.
28827 * elf/dl-debug.c: Likewise.
28828 * elf/dl-object.c: Likewise.
28829 * grp/initgroups.c: Likewise.
28830 * hurd/Makefile: Likewise.
28831 * hurd/hurd/signal.h: Likewise.
28832 * hurd/hurdfault.c: Likewise.
28833 * hurd/hurdioctl.c: Likewise.
28834 * hurd/hurdlookup.c: Likewise.
28835 * hurd/intr-msg.c: Likewise.
28836 * iconv/gconv_open.c: Likewise.
28837 * libio/swprintf.c: Likewise.
28838 * locale/lc-ctype.c: Likewise.
28839 * locale/nl_langinfo.c: Likewise.
28840 * mach/Machrules: Likewise.
28841 * mach/Makefile: Likewise.
28842 * malloc/obstack.h: Likewise.
28843 * manual/Makefile: Likewise.
28844 * manual/tsort.awk: Likewise.
28845 * misc/bits/stab.def: Likewise.
28846 * nis/nis_print_group_entry.c: Likewise.
28847 * nis/nis_table.c: Likewise.
28848 * nis/nss_compat/compat-pwd.c: Likewise.
28849 * nis/nss_compat/compat-spwd.c: Likewise.
28850 * po/Makefile: Likewise.
28851 * posix/fnmatch.c: Likewise.
28852 * posix/regex.h: Likewise.
28853 * resolv/Makefile: Likewise.
28854 * resolv/nss_dns/dns-network.c: Likewise.
28855 * resolv/res_hconf.c: Likewise.
28856 * scripts/gen-sorted.awk: Likewise.
28857 * soft-fp/soft-fp.h: Likewise.
28858 * stdio-common/printf.h: Likewise.
28859 * stdlib/monetary.h: Likewise.
28860 * stdlib/random.c: Likewise.
28861 * stdlib/random_r.c: Likewise.
28862 * sysdeps/generic/Makefile: Likewise.
28863 * sysdeps/gnu/Makefile: Likewise.
28864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28892 * sysdeps/mach/hurd/errnos.awk: Likewise.
28893 * sysdeps/mach/hurd/fork.c: Likewise.
28894 * sysdeps/mach/hurd/getcwd.c: Likewise.
28895 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28896 * sysdeps/mach/hurd/mmap.c: Likewise.
28897 * sysdeps/mach/hurd/utimes.c: Likewise.
28898 * sysdeps/mach/hurd/xmknod.c: Likewise.
28899 * sysdeps/posix/profil.c: Likewise.
28900 * sysdeps/posix/readdir_r.c: Likewise.
28901 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28902 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28903 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28904 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28907 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28912 * sysdeps/pthread/lio_listio.c: Likewise.
28913 * sysdeps/sparc/dl-procinfo.h: Likewise.
28914 * sysdeps/unix/i386/sysdep.S: Likewise.
28915 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28916 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28917 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28918 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28920 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28921 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28922 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28923 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28924 * sysdeps/wordsize-32/divdi3.c: Likewise.
28925 * time/sys/time.h: Likewise.
28926 * wcsmbs/Makefile: Likewise.
28927
0549fbba
DM
289282013-01-01 David S. Miller <davem@davemloft.net>
28929
a141f1a7
DM
28930 * po/fr.po: Update from translation team.
28931
0549fbba
DM
28932 * catgets/gencat.c: Update copyright year.
28933 * csu/version.c: Likewise.
28934 * debug/catchsegv.sh: Likewise.
28935 * debug/pcprofiledump.c: Likewise.
28936 * debug/xtrace.sh: Likewise.
28937 * elf/ldconfig.c: Likewise.
28938 * elf/ldd.bash.in: Likewise.
28939 * elf/pldd.c: Likewise.
28940 * elf/sotruss.ksh: Likewise.
28941 * elf/sprof.c: Likewise.
28942 * iconv/iconv_prog.c: Likewise.
28943 * iconv/iconvconfig.c: Likewise.
28944 * locale/programs/locale.c: Likewise.
28945 * locale/programs/localedef.c: Likewise.
28946 * login/programs/pt_chown.c: Likewise.
28947 * malloc/memusage.sh: Likewise.
28948 * malloc/memusagestat.c: Likewise.
28949 * malloc/mtrace.pl: Likewise.
28950 * nscd/nscd.c: Likewise.
28951 * nss/getent.c: Likewise.
28952 * nss/makedb.c: Likewise.
28953 * posix/getconf.c: Likewise.
28954
18ea052c
SP
289552012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28956
28957 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28958 numbers.
28959
9c89fca6
MF
289602012-12-30 Mike Frysinger <vapier@gentoo.org>
28961
28962 * math/bits/mathcalls.h (modf): Use __nonnull.
28963
085ec079
SP
289642012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28965
28966 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28967 (split): Use macro CN instead of the bare value.
28968 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28969 could be used.
28970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28971 instead of the bare value.
28972 (power1): Likewise.
28973
6d9f97e1
SP
289742012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28975
d63f73be
SP
28976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28977 __ATAN_TWOM.
28978 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28979
6d9f97e1
SP
28980 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28981 their values.
28982 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28984 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28985 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28986
4c4febf5
AJ
289872012-12-28 Andreas Jaeger <aj@suse.de>
28988
af5843ef
AJ
28989 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28990 values are from Linux 3.7.
28991
4c4febf5
AJ
28992 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28993 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28994
99136f82
SP
289952012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28996
2f216c3c 28997 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28998 TRUE case.
28999
99136f82
SP
29000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29001 (norm): Likewise.
29002 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29003 variables with preprocessor constants.
29004 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29005 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29007
7fffbdff
BH
290082012-12-27 Bruno Haible <bruno@clisp.org>
29009
29010 [BZ #14317]
29011 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29012 only if needed.
29013
b76eb5f0
SP
290142012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29015
31a7fe5c
SP
29016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29017 and use variable directly.
29018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29019
b76eb5f0
SP
29020 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29021 MPONE.
29022 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29024 variable MPONE.
29025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29027 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29028 include directive. Remove local variable MPONE.
29029 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29030 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29032
2c8bfe7d
DM
290332012-12-25 David S. Miller <davem@davemloft.net>
29034
29035 * version.h (RELEASE): Set to "development".
29036 (VERSION): Set to "2.17.90".
29037 * NEWS: Add 2.18 section.
29038
147d03b0
DM
290392012-12-21 David S. Miller <davem@davemloft.net>
29040
29041 * po/hr.po: Update from translation team.
29042
a8ebb2b9
AK
290432012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29044
29045 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29046
95b4f1b6
SE
290472012-12-19 Steve Ellcey <sellcey@mips.com>
29048
b2d94007 29049 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29050
cedb2a90
MS
290512012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29052
29053 * manual/contrib.texi (Contributors): Spelling correction.
29054
bbf527d6
DM
290552012-12-15 David S. Miller <davem@davemloft.net>
29056
29057 * po/ru.po: Update from translation team.
29058
bc38c906
DM
290592012-12-13 David S. Miller <davem@davemloft.net>
29060
85429b1a
DM
29061 * NEWS: Mention IFUNC testsuite enhancements.
29062
d283e353
DM
29063 * po/pl.po: Update from translation team.
29064 * po/bg.po: Likewise.
29065
bc38c906
DM
29066 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29067 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29068
a181b0d7
DM
290692012-12-11 David S. Miller <davem@davemloft.net>
29070
4641d57e
DM
29071 * po/sv.po: Update from translation team.
29072
f7bc6495
DM
29073 * po/vi.po: Update from translation team.
29074
6fc9048f
DM
29075 * po/cs.po: Update from translation team.
29076
a181b0d7
DM
29077 * po/de.po: Update from translation team.
29078 * po/eo.po: Likewise.
29079 * po/nl.po: Likewise.
29080
f70bfe80
SP
290812012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29082
3c8b4190
SP
29083 [BZ #14246]
29084 * manual/argp.texi (Argp Helper Functions): Move node to follow
29085 Argp Parsing State.
29086
f70bfe80
SP
29087 [BZ #14872]
29088 * manual/conf.texi (Limits on File System Capacity): Mention if
29089 terminating null is included in the max size.
29090
188f0adf
AJ
290912012-12-10 Andreas Jaeger <aj@suse.de>
29092
29093 * po/cs.po: Update from translation team.
29094
56e7d3ad
SP
290952012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29096
29097 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29098 void pointer and cast to uintptr_t.
29099 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29100 path.
29101 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29102 * sysdeps/s390/s390-64/memset.S: Likewise.
29103
76f2d2ea 291042012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29105
29106 [BZ #14833]
29107 * menual/message.texi (Message Translation): Fix typos.
29108 (Helper programs for gettext): Likewise.
29109
67cbf9a2
AS
291102012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29111
29112 [BZ #14898]
29113 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29114 Change to -1.
29115
682d0e9a
DM
291162012-12-07 David S. Miller <davem@davemloft.net>
29117
29118 * po/libc.pot: Update.
29119
573cd484
RH
291202012-12-07 Richard Henderson <rth@redhat.com>
29121
7e9da188 29122 [BZ #10114]
573cd484
RH
29123 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29124 normal/normal case to before the switch.
29125 (_FP_DIV): Likewise.
29126
e933a943
MF
291272012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29128 Mike Frysinger <vapier@gentoo.org>
29129
29130 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29131 check for __NR_fadvise64_64.
29132
82123268
CM
291332012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29134
29135 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29136 0, not just to plain "0" as a statement.
29137 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29138 with cw.
29139
d9814526
JM
291402012-12-06 Joseph Myers <joseph@codesourcery.com>
29141
29142 * NEWS: Use sourceware.org in Bugzilla URL.
29143
7728c574
SP
291442012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29145
f16946dd
SP
29146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29148
5704bbcb
SP
29149 * stdio-common/tst-put-error.c (do_test): Add newline to the
29150 padded test to ensure flush.
29151
17aa0516
JL
291522012-12-05 Jeff Law <law@redhat.com>
29153
29154 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29155
363313b5
JM
291562012-12-05 Joseph Myers <joseph@codesourcery.com>
29157
effbd42a
JM
29158 * README: Don't refer to ports add-on as distributed separately.
29159 Mention AArch64 in list of systems supported in the ports add-on.
29160
87600365
JM
29161 * LICENSES: Add more non-FSF copyright and license notices.
29162
a0d7066a
JM
29163 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29164 ((unused)).
29165
66ca5a5b
JM
29166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29167
363313b5
JM
29168 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29169 10000 as width of padded output.
29170
b37984ad
JM
291712012-12-04 Joseph Myers <joseph@codesourcery.com>
29172
9003570a
JM
29173 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29174
b37984ad
JM
29175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29176 variable LX with __attribute__ ((unused)).
29177 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29178 Likewise.
29179 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29181 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29182 with __attribute__ ((unused)).
29183
c8df52ec
DM
291842012-12-04 David S. Miller <davem@abraco.davemloft.net>
29185
29186 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29187
b3b099af
JM
291882012-12-04 Joseph Myers <joseph@codesourcery.com>
29189
c33aa6e3
JM
29190 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29191 (CFLAGS-nldbl-acos.c): New variable.
29192 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29193 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29194 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29195 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29196 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29197 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29198 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29199 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29200 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29201 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29202 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29203 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29204 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29205 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29206 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29207 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29208 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29209 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29210 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29211 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29212 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29213 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29214 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29215 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29216 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29217 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29218 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29219 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29220 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29221 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29222 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29223 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29224 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29225 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29226 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29227 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29228 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29229 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29230 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29231 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29232 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29233 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29234 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29235 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29236 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29237 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29238 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29239 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29240 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29241 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29242 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29243 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29244 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29245 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29246 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29247 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29248 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29249 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29250 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29251 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29252 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29253 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29254 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29255 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29256 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29257 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29258 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29259 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29260 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29261 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29262 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29263 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29264 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29265 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29266 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29267 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29268 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29269 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29270 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29271 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29272 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29273 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29274 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29275 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29276 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29277 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29278 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29279 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29280 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29281 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29282 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29283 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29284 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29285 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29286 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29287 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29288 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29289
20f0018d
JM
29290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29291 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29292
b3b099af
JM
29293 [BZ #14914]
29294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29295 whole low double instead of just low 47 bits when splitting values
29296 into two parts.
29297
029264d1
AM
292982012-12-03 Allan McRae <allan@archlinux.org>
29299
29300 * manual/stdio.texi (Predefined Printf Handlers): Remove
29301 @hsep and @vsep usage.
29302
c9d6789e
MF
293032012-12-03 Mike Frysinger <vapier@gentoo.org>
29304
29305 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29306 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29307
4b7634a5
JL
293082012-12-03 Jeff Law <law@redhat.com>
29309
29310 * time/sys/time.h (settimeofday): Do not mark TV argument
29311 as __nonnull.
29312
eb6cbd24
MF
293132012-12-01 Mike Frysinger <vapier@gentoo.org>
29314
29315 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29316 when currently writing and seek to current position when not.
29317 * libio/Makefile (tests): Remove bug-fclose1.
29318 * libio/bug-fclose1.c: Delete.
29319
f638872a
JM
293202012-12-01 Joseph Myers <joseph@codesourcery.com>
29321
29322 * manual/arith.texi (feenableexcept): Fix typo.
29323 (fedisableexcept): Likewise.
29324
48085d14
RM
293252012-11-30 Roland McGrath <roland@hack.frob.com>
29326
29327 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29328 second, differently-typed declaration, rather than a cast.
29329
1a538b9f
SP
293302012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29331
29332 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29333 * include/rpc/svc.h: ... here.
29334
d07f2ff1 293352012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29336
29337 [BZ #13013]
29338 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29339 depending n and resplen2 to catch cases where answer
29340 equals answerp2.
29341
c93ec1f0
CD
293422012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29343
29344 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29345 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29346
37db69de
MF
293472012-11-29 Mike Frysinger <vapier@gentoo.org>
29348
29349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29350
e10c4e4f
RM
293512012-11-29 Roland McGrath <roland@hack.frob.com>
29352
29353 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29354
2af1b328
JL
293552012-11-28 Jeff Law <law@redhat.com>
29356
29357 [BZ #13761]
29358 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29359 dataset_temporary. Track alloca usage into alloca_used.
29360 If dataset is large allocate and release it via malloc/free.
29361
111db5b1
FW
293622012-06-04 Florian Weimer <fweimer@redhat.com>
29363
f06cc227 29364 [BZ #14197]
111db5b1
FW
29365 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29366
dd694abd
DM
293672012-11-28 David S. Miller <davem@davemloft.net>
29368
29369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29370
9984dd01
JM
293712012-11-28 Joseph Myers <joseph@codesourcery.com>
29372
29373 [BZ #14803]
29374 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29375 of pi/2 rounded to nearest to 64 bits.
29376 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29377 nearest to 64 bits.
29378 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29379 bits.
29380
14bc93a9
JL
293812012-11-28 Jeff Law <law@redhat.com>
29382 Martin Osvald <mosvald@redhat.com>
29383
29384 [BZ #14889]
29385 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29386 * sunrpc/svc.c: Include time.h.
29387 (__svc_accept_failed): New function.
29388 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29389 any reason other than EINTR, call __svc_accept_failed.
29390 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29391 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29392
e3c6aa3a
AS
293932012-11-28 Andreas Schwab <schwab@suse.de>
29394
29395 * scripts/abilist.awk: Also handle indirect functions in .opd
29396 section.
29397
1bead169
JM
293982012-11-28 Joseph Myers <joseph@codesourcery.com>
29399
29400 [BZ #13881]
29401 * sysdeps/x86/fpu/powl_helper.c: New file.
29402 * sysdeps/x86/fpu/Makefile: Likewise.
29403 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29404 (p3): New object.
29405 (__ieee754_powl): Use __powl_helper for finite arguments except
29406 integer exponents below 8.
29407 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29408 (p3): New object.
29409 (__ieee754_powl): Use __powl_helper for finite arguments except
29410 integer exponents below 8.
29411 * math/libm-test.inc (pow_test): Add more tests and enable some
29412 previously disabled tests.
29413 * sysdeps/i386/fpu/libm-test-ulps: Update.
29414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29415
0817d63d
SP
294162012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29417 Carlos O'Donell <carlos_odonell@mentor.com>
29418
29419 * nss/makedb.c (is_prime): Assert that input is odd and greater
29420 than 4. Note that fact in a comment too.
29421 (next_prime): Add 4 to input.
29422
de2fd463
SP
294232012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29424
29425 [BZ #11741]
29426 * libio/Makefile (tests): Add test case tst-fwrite-error.
29427 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29428 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29429 * libio/tst-fwrite-error.c: New test case.
29430
c515fb51
L
294312012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29432
29433 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29434 before casting to void *.
29435 * include/libc-internal.h (__pointer_type): New macro.
29436 (__integer_if_pointer_type_sub): Likewise.
29437 (__integer_if_pointer_type): Likewise.
29438 (cast_to_integer): Likewise.
29439 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29440 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29441 before casting to atomic64_t.
29442 (atomic_exchange_acq): Likewise.
29443 (__arch_exchange_and_add_body): Likewise.
29444 (__arch_add_body): Likewise.
29445 (atomic_add_negative): Likewise.
29446 (atomic_add_zero): Likewise.
29447
4cf77aa9
JM
294482012-11-26 Joseph Myers <joseph@codesourcery.com>
29449
29450 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29451 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29452 (add_fdes): Likewise.
29453 (linear_search_fdes): Likewise.
29454 (binary_search_unencoded_fdes): Likewise.
29455
d260b3b4
AS
294562012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29457
29458 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29459
67060746
AC
294602012-11-24 Adam Conrad <adconrad@0c3.net>
29461
29462 * configure.in: Autodetect C++ header directories.
29463 * configure: Regenerated.
29464
800938a1
MF
294652012-11-23 Mike Frysinger <vapier@gentoo.org>
29466
29467 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29468
4e6e34e6
AS
294692012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29470
29471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29472
7c7feb47
JM
294732012-11-22 Joseph Myers <joseph@codesourcery.com>
29474
7184dcdf
JM
29475 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29476 LDBL_MANT_DIG == 106]: Disable some tests.
29477 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29478 Likewise.
29479 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29480 Likewise.
29481
0a42601f
JM
29482 [BZ #14871]
29483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29484 input for small inputs. Return +/- pi/2 for large inputs.
29485 * math/libm-test.inc (atan_test): Add more tests.
29486
79c9b9fe
JM
29487 * sysdeps/generic/unwind-dw2-fde-glibc.c
29488 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29489 __attribute__ ((unused)).
29490
c60d3bf2
JM
29491 [BZ #14645]
29492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29493 x * y if x and y are nonzero and z is zero.
29494
ef1e0867
JM
29495 [BZ #14811]
29496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29497 nonzero exponents with absolute value below 0x1p-117 to +/-
29498 0x1p-117.
29499
1468ded3
JM
29500 [BZ #14869]
29501 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29502 up arguments below 2**-450, not just those below 2**-500.
29503 * math/libm-test.inc (hypot_test): Add another test.
29504
8e27e3cc
JM
29505 [BZ #14868]
29506 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29507 Return a+b for ratio over 2**120, not 2**60.
29508 * math/libm-test.inc (hypot_test): Add another test.
29509
c9c0279b
JM
29510 * math/libm-test.inc (clog_test): Use
29511 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29512 (clog10_test): Likewise.
29513
7c7feb47
JM
29514 [BZ #6778]
29515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29516
fff1530e
AS
295172012-11-22 Andreas Schwab <schwab@suse.de>
29518
29519 * sysdeps/i386/fpu/libm-test-ulps: Update.
29520
94558d30
PT
295212012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29522
29523 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29524 printf output with newline.
29525
7e1be741
L
295262012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29527
6bfea974
L
29528 [BZ #14865]
29529 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29530 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29531 -z nodlopen, -z initfirst and -z execstack support.
29532 * configure: Regenerated.
29533
7e1be741
L
29534 * elf/elf.h (DF_1_NODIRECT): New macro.
29535 (DF_1_IGNMULDEF): Likewise.
29536 (DF_1_NOKSYMS): Likewise.
29537 (DF_1_NOHDR): Likewise.
29538 (DF_1_EDITED): Likewise.
29539 (DF_1_NORELOC): Likewise.
29540 (DF_1_SYMINTPOSE): Likewise.
29541 (DF_1_GLOBAUDIT): Likewise.
29542 (DF_1_SINGLETON): Likewise.
29543 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29544 DT_1_SUPPORTED_MASK bits.
29545 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29546
105ce2ce
CD
295472012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29548
29549 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29550
123be9de
TS
295512012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29552
d072f3f7
TS
29553 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29554 macro.
29555
123be9de
TS
29556 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29557 (sendmmsg): Move declarations...
29558 * socket/sys/socket.h: ... here.
29559 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29560 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29561 include it from...
29562 * socket/recvmmsg.c: ... this new file.
29563 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29564 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29565 definition of __sendmmsg hidden.
29566 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29567 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29568 Move ENOSYS stub into and include it from...
29569 * socket/sendmmsg.c: ... this new file.
29570 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29571 (sysdep_routines): Move recvmmsg and sendmmsg...
29572 * socket/Makefile (routines): ... here.
29573 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29574 (GLIBC_PRIVATE): Add __sendmmsg.
29575 * include/sys/socket.h (__sendmmsg): Add declarations.
29576 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29577 sendmmsg.
29578
cf9a5d18
JM
295792012-11-20 Joseph Myers <joseph@codesourcery.com>
29580
29581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29582 variable I1 with __attribute__ ((unused)).
29583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29584
ecd4caf9
JM
295852012-11-19 Joseph Myers <joseph@codesourcery.com>
29586
be14d48f
JM
29587 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29588 DUMMY variables with __attribute__ ((unused)).
29589
ecd4caf9
JM
29590 * bits/byteswap.h: Include <bits/types.h>.
29591 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29592
986cab95
PT
295932012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29594
29595 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29596 string_t. Do not manually set errno.
29597 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29598 length with __strnlen. Make sure to both set errno and return it on
29599 failure.
29600
6d33cc9d
DM
296012012-11-19 David S. Miller <davem@davemloft.net>
29602
29603 With help from Joseph Myers.
29604 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29605 very large arguments properly.
29606 * math/libm-test.inc (atan_test): New tests.
29607 (atan2_test): New tests.
29608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29610
ee663277
JM
296112012-11-19 Joseph Myers <joseph@codesourcery.com>
29612
877f2d8e
JM
29613 [BZ #14856]
29614 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29615 Define to 3.
29616
116fc08a
JM
29617 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29618 [POSIX] (EADDRNOTAVAIL): Likewise.
29619 [POSIX] (EAFNOSUPPORT): Likewise.
29620 [POSIX] (EALREADY): Likewise.
29621 [POSIX] (ECONNABORTED): Likewise.
29622 [POSIX] (ECONNREFUSED): Likewise.
29623 [POSIX] (ECONNRESET): Likewise.
29624 [POSIX] (EDESTADDRREQ): Likewise.
29625 [POSIX] (EDQUOT): Likewise.
29626 [POSIX] (EHOSTUNREACH): Likewise.
29627 [POSIX] (EIDRM): Likewise.
29628 [POSIX] (EISCONN): Likewise.
29629 [POSIX] (ELOOP): Likewise.
29630 [POSIX] (EMULTIHOP): Likewise.
29631 [POSIX] (ENETDOWN): Likewise.
29632 [POSIX] (ENETUNREACH): Likewise.
29633 [POSIX] (ENOBUFS): Likewise.
29634 [POSIX] (ENODATA): Likewise.
29635 [POSIX] (ENOLINK): Likewise.
29636 [POSIX] (ENOMSG): Likewise.
29637 [POSIX] (ENOPROTOOPT): Likewise.
29638 [POSIX] (ENOSR): Likewise.
29639 [POSIX] (ENOSTR): Likewise.
29640 [POSIX] (ENOTCONN): Likewise.
29641 [POSIX] (ENOTSOCK): Likewise.
29642 [POSIX] (EOPNOTSUPP): Likewise.
29643 [POSIX] (EOVERFLOW): Likewise.
29644 [POSIX] (EPROTO): Likewise.
29645 [POSIX] (EPROTONOSUPPORT): Likewise.
29646 [POSIX] (EPROTOTYPE): Likewise.
29647 [POSIX] (ESTALE): Likewise.
29648 [POSIX] (ETIME): Likewise.
29649 [POSIX] (ETXTBSY): Likewise.
29650 [POSIX] (EWOULDBLOCK): Likewise.
29651 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29652 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29653 [POSIX] (SEEK_CUR): Likewise.
29654 [POSIX] (SEEK_END): Likewise.
29655 [POSIX || UNIX98] (mode_t): Do not require.
29656 [POSIX] (off_t): Likewise.
29657 [POSIX] (pid_t): Likewise.
29658 [POSIX] (sys/stat.h): Do not allow header.
29659 [POSIX] (unistd.h): Likewise.
29660 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29661 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29662 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29663 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29664 require.
29665 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29666 sigevent): Specify elements.
29667 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29668 entry.
29669 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29670 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29671
a483863f
JM
29672 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29673 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29674 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29675 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29676 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29677 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29678 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29679 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29680 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29681 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29682 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29683 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29684 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29685 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29686 Likewise.
29687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29688 Likewise.
29689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29690 Likewise.
29691 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29692 Likewise.
29693 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29694 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29695 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29696 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29697 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29698 Specify lower bound on value.
29699 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29700 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29701 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29702 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29703 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29704 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29705 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29706 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29707 value.
29708 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29709 as optional.
29710 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29711 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29712 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29713 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29714 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29715 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29716 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29717 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29718 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29719 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29720 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29721 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29722 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29723 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29724 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29725 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29726 entry.
29727 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29728 optional.
29729 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29730 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29731 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29732 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29733 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29734 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29735 Likewise.
29736 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29737 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29738 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29739 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29740 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29741 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29742 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29743 as optional.
29744 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29745 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29746 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29747 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29748 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29749 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29750 specify as optional.
29751 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29752 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29753 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29754 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29755 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29756 [XPG3] (NL_LANGMAX): Likewise.
29757 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29758 [POSIX || XPG3] (NL_NMAX): Likewise.
29759 [POSIX || XPG3] (NL_SETMAX): Likewise.
29760 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29761 [XPG3] (NZERO): Likewise.
29762 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29763 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29764 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29765 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29766 (REG_ERANGE): Expect.
29767 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29768 optional-constant.
29769 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29770 Use (void) in prototype.
29771 [POSIX] (*_t): Allow.
29772 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29773 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29774 (WRDE_BADVAL): Expect.
29775
5ba924e3
JM
29776 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29777 expect.
29778 [XPG3 || XPG4] (O_RSYNC): Likewise.
29779 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29780 Likewise.
29781 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29782 [XPG3 || XPG4] (sigqueue): Likewise.
29783 [XPG3 || XPG4] (sigtimedwait): Likewise.
29784 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29785 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29786 [XPG3 || XPG4] (vsnprintf): Likewise.
29787 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29788 Likewise.
29789 [XPG3 || XPG4] (blksize_t): Likewise.
29790 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29791 Likewise.
29792 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29793 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29794 [XPG3 || XPG4] (struct itimerspec): Likewise.
29795 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29796 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29797 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29798 [XPG3 || XPG4] (clockid_t): Likewise.
29799 [XPG3 || XPG4] (timer_t): Likewise.
29800 [XPG3 || XPG4] (clock_getres): Likewise.
29801 [XPG3 || XPG4] (clock_gettime): Likewise.
29802 [XPG3 || XPG4] (clock_settime): Likewise.
29803 [XPG3 || XPG4] (nanosleep): Likewise.
29804 [XPG3 || XPG4] (timer_create): Likewise.
29805 [XPG3 || XPG4] (timer_delete): Likewise.
29806 [XPG3 || XPG4] (timer_gettime): Likewise.
29807 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29808 [XPG3 || XPG4] (timer_settime): Likewise.
29809 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29810 [XPG3 || XPG4] (getlogin_r): Likewise.
29811 [XPG3 || XPG4] (pread): Likewise.
29812 [XPG3 || XPG4] (pthread_atfork): Likewise.
29813 [XPG3 || XPG4] (pwrite): Likewise.
29814
ee663277
JM
29815 [BZ #14835]
29816 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29817 <bits/siginfo.h>.
29818
942caa16
PT
298192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29820
e19af380
PT
29821 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29822 finalizing MALLSTREAM.
29823
942caa16
PT
29824 * sysdeps/mach/hurd/syncfs.c: New file.
29825
cfde9b46
SP
298262012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29827
29828 [BZ #14719]
29829 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29830 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29831 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29832 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29833 (_nss_dns_gethostbyname4_r): Likewise.
29834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29835 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29836
f6da27e5
PH
298372012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29838
29839 [BZ #13763]
29840 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29841
6665d4a2
SM
298422012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29843
1f51ee92
SM
29844 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29845 * elf/cache.c (print_entry): Print ",AArch64" for
29846 FLAG_AARCH64_LIB64
29847
6665d4a2
SM
29848 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29849 * elf/cache.c (print_entry): Print ",hard-float" for
29850 FLAG_ARM_LIBHF.
29851
05b227bd
DM
298522012-11-18 David S. Miller <davem@davemloft.net>
29853
29854 With help from Joseph Myers.
29855 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29856 cutoff to 2**-13.
29857 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29858 cutoff to 2**-25.
29859 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29860 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29861 small.
29862 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29863 * math/libm-test.inc (y0_test): New tests.
29864 (y1_test): New tests.
29865 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29868
786b0b67
AS
298692012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29870
29871 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29872 64-bit targets.
29873 * configure: Regenerated.
29874
8e18b86d
DM
298752012-11-17 David S. Miller <davem@davemloft.net>
29876
29877 [BZ #14811]
29878 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29879 nonzero exponents with absolute value below 0x1p-128 to +/-
29880 0x1p-128.
29881
531f1ae0
JM
298822012-11-17 Joseph Myers <joseph@codesourcery.com>
29883
12df29e2
JM
29884 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29885
150dc1a0
JM
29886 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29887
531f1ae0
JM
29888 * posix/getconf-speclist.c: New file.
29889 * posix/posix-envs.def: Likewise.
29890 * posix/confstr.c (START_ENV_GROUP): New macro.
29891 (END_ENV_GROUP): Likewise.
29892 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29893 (KNOWN_PRESENT_ENV_STRING): Likewise.
29894 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29895 (UNKNOWN_ENVIRONMENT): Likewise.
29896 (confstr): Include posix-envs.def instead of handling
29897 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29898 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29899 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29900 (END_ENV_GROUP): Likewise.
29901 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29902 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29903 (UNKNOWN_ENVIRONMENT): Likewise.
29904 (__sysconf): Include posix-envs.def instead of handling associated
29905 cases directly here.
29906 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29907 preprocessing getconf-speclist.c rather than running getconf or
29908 generating empty file.
29909
a93f9cbc
PT
299102012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29911
29912 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29913
d64d9f87
AL
299142012-11-16 Andrej Lajovic <natrij@gmail.com>
29915
29916 [BZ #14672]
29917 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29918
447885eb
DM
299192012-11-16 David S. Miller <davem@davemloft.net>
29920
29921 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29922 smaller than LDBL_EPSILON/2.0L, just return xm1.
29923
bcbf9830
L
299242012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29925
29926 * elf/tst-array1.c (init): Set constructor priority to 1000.
29927 (fini): Set destructor priority to 1000.
29928 * elf/tst-array2dep.c: Likewise.
29929
2b766585
SP
299302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29931
29932 [BZ #11741]
29933 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29934 (_IO_new_file_xsputn): Also return EOF if none of the input
29935 data was written when overflow failed.
29936 * libio/iopadn.c (_IO_padn): Likewise.
29937 * libio/iowpadn.c (_IO_wpadn): Likewise.
29938 * stdio-common/tst-put-error.c: Add copyright notice.
29939 (do_test): Add case for printing padded string.
29940 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29941 _IO_padn returned error.
29942 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29943 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29944 return EOF.
29945
b1848fde
SP
299462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29947
29948 * libio/libioP.h: Add comment note that the references to C++
29949 bits are now obsolete.
29950
2fd89785
MS
299512012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29952
29953 * math/libm-test.inc (check_complex): Use asprintf.
29954
e3ea5409
JM
299552012-11-14 Joseph Myers <joseph@codesourcery.com>
29956
29957 * debug/pcprofiledump.c (print_version): Update copyright year.
29958 * malloc/memusagestat.c (print_version): Likewise.
29959
2e64d265
L
299602012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29961
29962 [BZ #14831]
29963 * elf/Makefile (tests): Add tst-audit8.
29964 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29965 ($(objpfx)tst-audit8.out): New target.
29966 (tst-audit8-ENV): New variable.
29967 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29968 audit if l_reloc_result is NULL.
29969 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29970 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29971 * elf/tst-audit8.c: New file.
29972
c485e4d2
MS
299732012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29974
29975 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29976 * misc/Makefile (CFLAGS-select.c): Define.
29977 * posix/Makefile (CFLAGS-pause.c): Define.
29978
3a0d900a
DM
299792012-11-13 David S. Miller <davem@davemloft.net>
29980
29981 * crypt/Makefile: Move test targets after toplevel Rules
29982 inclusion. Grab any necessary sysdep routines when linking.
29983 * crypt/md5.c (md5_process_block): Remove define, we will always
29984 name it __md5_process_block.
29985 (md5_finish_ctx): Update md5_process_block call.
29986 (md5_stream): Likewise.
29987 (md5_process_bytes): Likewise.
29988 (md5_process_block): Rename to __md5_process_block and move to ...
29989 * crypt/md5-block.c: ... here.
29990 * crypt/sha256.c (sha256_process_block): Move to ...
29991 * crypt/sha256-block.c: ... here.
29992 * crypt/sha512.c (sha512_process_block): Move to ...
29993 * crypt/sha512-block.c: ... here.
29994 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29995 path.
29996 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29997 * sysdeps/sparc/sparc64/multiarch/Makefile
29998 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29999 crypt subdir.
30000 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30001 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30002 multiarch changes.
30003 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30004 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30005 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30006 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30007 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30008 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30009 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30010 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30011 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30012 file.
30013 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30015 file.
30016 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30017
8ca89318
JM
300182012-11-13 Joseph Myers <joseph@codesourcery.com>
30019
e27d476a
JM
30020 * timezone/tzselect.ksh: Update from tzcode git revision
30021 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30022 * timezone/zdump.c: Likewise.
30023 * timezone/zic.c: Likewise.
30024 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30025 in TZVERSION setting, not $(PKGVERSION).
30026 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30027 REPORT_BUGS_TO settings.
30028
8ca89318
JM
30029 [BZ #14838]
30030 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30031 macro.
30032
47594329
MS
300332012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30034
30035 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30036 detection to immediately after _FP_ROUND().
30037 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30038 bits are 0.
30039
640ac3f1
DM
300402012-11-11 David S. Miller <davem@davemloft.net>
30041
30042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30043 inttypes.h
30044 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30045 __close rather than their public counterparts.
30046
3d2577bb
JM
300472012-11-10 Joseph Myers <joseph@codesourcery.com>
30048
30049 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30050 file.
30051 [UNIX98] (sem_timedwait): Do not expect.
30052 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30053 [XPG4 || UNIX98] (sockatmark): Do not expect.
30054 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30055 (clock_getcpuclockid): Do not expect.
30056 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30057 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30058 Do not expect.
30059 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30060 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30061 [UNIX98] (vwscanf): Likewise.
30062 [UNIX98] (vswscanf): Likewise.
30063
fb1ae1ee
JM
300642012-11-09 Joseph Myers <joseph@codesourcery.com>
30065
9ec6f8bd
JM
30066 * timezone/version.h: Remove file.
30067 * timezone/README: Do not refer to version.h.
30068 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30069 $(objpfx)version.h.
30070 ($(objpfx)zdump.o): Likewise.
c3f81911 30071 ($(objpfx)version.h): New target.
9ec6f8bd 30072
0aa8f8a1
JM
30073 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30074 2012i.
30075 * timezone/README: Don't mention modification to tzselect.ksh.
30076 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30077 work on unmodified tzselect.ksh. Substitute version numbers in
30078 tzselect.ksh.
30079
4e87147f
JM
30080 * Makefile (format-me): Remove.
30081 (INSTALL): Adjust indentation. Use commands directly instead of
30082 using $(format-me).
30083
8b748aed
JM
30084 * aclocal.m4 (ACX_PKGVERSION): New macro.
30085 (ACX_BUGURL): Likewise.
30086 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30087 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30088 (REPORT_BUGS_TO): Likewise.
30089 * configure: Regenerated.
30090 * config.h.in (PKGVERSION): New macro.
30091 (REPORT_BUGS_TO): Likewise.
30092 * config.make.in (PKGVERSION): New variable.
30093 (PKGVERSION_TEXI): Likewise.
30094 (REPORT_BUGS_TO): Likewise.
30095 (REPORT_BUGS_TEXI): Likewise.
30096 * Makefile (format-me): Use -I$(common-objpfx)manual.
30097 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30098 ($(common-objpfx)manual/%): New target.
30099 (manual/%): Remove target.
30100 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30101 (print_version): Use PKGVERSION.
30102 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30103 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30104 and REPORT_BUGS_TO.
30105 ($(objpfx)xtrace): Likewise.
30106 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30107 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30108 (print_version): Use PKGVERSION.
30109 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30110 (do_version): Use PKGVERSION.
30111 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30112 REPORT_BUGS_TO.
30113 (common-ldd-rewrite): Likewise.
30114 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30115 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30116 (print_version): Use PKGVERSION.
30117 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30118 * elf/pldd.c (argp_program_bug_address): Remove variable.
30119 (more_help): New function.
30120 (argp): Use more_help.
30121 (print_version): Use PKGVERSION.
30122 * elf/sln.c (main): Use PKGVERSION.
30123 (usage): Use REPORT_BUGS_TO.
30124 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30125 (top level): Use PKGVERSION.
30126 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30127 (print_version): Use PKGVERSION.
30128 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30129 (print_version): Use PKGVERSION.
30130 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30131 (print_version): Use PKGVERSION.
30132 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30133 (print_version): Use PKGVERSION.
30134 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30135 (print_version): Use PKGVERSION.
30136 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30137 (print_version): Use PKGVERSION.
30138 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30139 and BUGURL.
30140 ($(objpfx)memusage): Likewise.
30141 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30142 (do_version): Use PKGVERSION.
30143 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30144 (print_version): Use PKGVERSION.
30145 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30146 ($PKGVERSION): New variable.
30147 ($REPORT_BUGS_TO): Likewise.
30148 (usage): Use $REPORT_BUGS_TO.
30149 (top level): Use $PKGVERSION.
30150 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30151 ($(objpfx)pkgvers.texi): New rule.
30152 ($(objpfx)stamp-pkgvers): Likewise.
30153 * manual/install.texi: Include pkgvers.texi.
30154 (--with-pkgversion): Document new configure option.
30155 (--with-bugurl): Likewise.
30156 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30157 than necessarily for this particular distribution. Use
30158 REPORT_BUGS_TO for where to report bugs.
30159 * INSTALL: Regenerated.
30160 * manual/libc.texinfo: Include pkgvers.texi.
30161 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30162 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30163 (print_version): Use PKGVERSION.
30164 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30165 (print_version): Use PKGVERSION.
30166 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30167 (print_version): Use PKGVERSION.
30168 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30169 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30170 macro.
30171 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30172 (print_version): Use PKGVERSION.
30173 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30174 (print_version): Use PKGVERSION.
30175 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30176 and PKGVERSION.
30177
92e4b6a9
JM
30178 * timezone/checktab.awk: Update from tzcode 2012i.
30179 * timezone/ialloc.c: Likewise.
30180 * timezone/private.h: Likewise.
30181 * timezone/scheck.c: Likewise.
30182 * timezone/tzfile.h: Likewise.
30183 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30184 (TZVERSION): Hardcode tzcode version number.
30185 * timezone/zdump.c: Update from tzcode 2012i.
30186 * timezone/zic.c: Likewise.
30187 * timezone/version.h: New file.
30188 * timezone/README: Describe version.h. Update upstream location.
30189
9bde902c
JM
30190 [BZ #14824]
30191 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30192 (mktemp): Enable declaration.
30193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30197 Likewise.
30198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30199 Likewise.
30200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30201 Likewise.
30202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30203 Likewise.
30204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30205 Likewise.
30206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30207 Likewise.
30208
fb1ae1ee
JM
30209 [BZ #14821]
30210 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30211 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30212 for copies of such integer values.
30213 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30214 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30215
2c1adbcb
AJ
302162012-11-09 Andreas Jaeger <aj@suse.de>
30217
30218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30219 definitions and declarations that are provided by
30220 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30221
d0f8457e
AK
302222012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30223
3a235abb 30224 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30225 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30226 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30227 definition.
30228
57241e26
MS
302292012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30230
30231 * elf/elf.h: Update comment before AArch64 relocations.
30232
60e8270d
DM
302332012-11-07 David S. Miller <davem@davemloft.net>
30234
30235 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30236 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30237 (__start_context): Declare.
30238 (__makecontext_ret): Delete.
30239 (__makecontext): Hook up __start_context instead of
30240 __makecontext_ret.
30241 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30242 (sysdep_routines): Add __start_context when in stdlib.
30243
0fbb0fbc
JM
302442012-11-07 Joseph Myers <joseph@codesourcery.com>
30245
30246 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30247 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30248 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30249 hardcoded "nm".
30250 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30251 (READELF): New variable. Use it instead of hardcoded "readelf".
30252
eb48db7e
L
302532012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30256 * sysdeps/x86/Makefile: Here.
30257 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30258 * sysdeps/x86/tst-xmmymm.sh: This.
30259
05bcf62a
JM
302602012-11-07 Joseph Myers <joseph@codesourcery.com>
30261
c4b6cf53
JM
30262 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30263 expectations.
30264 [UNIX98] (pthread_barrier_t): Do not expect.
30265 [UNIX98] (pthread_barrierattr_t): Likewise.
30266 [UNIX98] (pthread_spinlock_t): Likewise.
30267 [UNIX98] (pthread_barrier_destroy): Likewise.
30268 [UNIX98] (pthread_barrier_init): Likewise.
30269 [UNIX98] (pthread_barrier_wait): Likewise.
30270 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30271 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30272 [UNIX98] (pthread_barrierattr_init): Likewise.
30273 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30274 [UNIX98] (pthread_getcpuclockid): Likewise.
30275 [UNIX98] (pthread_mutex_timedlock): Likewise.
30276 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30277 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30278 [UNIX98] (pthread_sigmask): Likewise.
30279 [UNIX98] (pthread_spin_destroy): Likewise.
30280 [UNIX98] (pthread_spin_init): Likewise.
30281 [UNIX98] (pthread_spin_lock): Likewise.
30282 [UNIX98] (pthread_spin_trylock): Likewise.
30283 [UNIX98] (pthread_spin_unlock): Likewise.
30284 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30285 Do not expect.
30286 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30287 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30288 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30289 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30290 [XPG3 || XPG4] (pthread_key_t): Likewise.
30291 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30292 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30293 [XPG3 || XPG4] (pthread_once_t): Likewise.
30294 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30295 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30296 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30297 [XPG3 || XPG4] (pthread_t): Likewise.
30298
cbe6e120
JM
30299 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30300 not expect.
30301 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30302
1b126443
JM
30303 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30304 Change function return type to int.
30305
b961a573
JM
30306 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30307 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30308 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30309 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30310 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30311 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30312 [!POSIX] (posix_madvise): Likewise.
30313 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30314 && !UNIX98].
30315 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30316 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30317 (mode_t): Likewise.
30318 (posix_mem_offset): Likewise.
30319 (posix_typed_mem_get_info): Likewise.
30320 (posix_typed_mem_open): Likewise.
30321
9e188909
JM
30322 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30323 Change condition to [XOPEN2K8].
30324
05bcf62a
JM
30325 * conform/conformtest.pl: Preprocess allow-header data with -x c
30326 instead of from stdin.
30327 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30328 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30329 [C99-based standards] (cerfc): Likewise.
30330 [C99-based standards] (cexp2): Likewise.
30331 [C99-based standards] (cexpm1): Likewise.
30332 [C99-based standards] (clog10): Likewise.
30333 [C99-based standards] (clog1p): Likewise.
30334 [C99-based standards] (clog2): Likewise.
30335 [C99-based standards] (clgamma): Likewise.
30336 [C99-based standards] (ctgamma): Likewise.
30337 [C99-based standards] (cerff): Likewise.
30338 [C99-based standards] (cerfcf): Likewise.
30339 [C99-based standards] (cexp2f): Likewise.
30340 [C99-based standards] (cexpm1f): Likewise.
30341 [C99-based standards] (clog10f): Likewise.
30342 [C99-based standards] (clog1pf): Likewise.
30343 [C99-based standards] (clog2f): Likewise.
30344 [C99-based standards] (clgammaf): Likewise.
30345 [C99-based standards] (ctgammaf): Likewise.
30346 [C99-based standards] (cerfl): Likewise.
30347 [C99-based standards] (cerfcl): Likewise.
30348 [C99-based standards] (cexp2l): Likewise.
30349 [C99-based standards] (cexpm1l): Likewise.
30350 [C99-based standards] (clog10l): Likewise.
30351 [C99-based standards] (clog1pl): Likewise.
30352 [C99-based standards] (clog2l): Likewise.
30353 [C99-based standards] (clgammal): Likewise.
30354 [C99-based standards] (ctgammal): Likewise.
30355 * conform/data/inttypes.h-data [C99-based standards]: Include
30356 stdint.h-data. Remove all expectations for stdint.h contents.
30357 [C99-based standards] (PRI*): Do not allow.
30358 [C99-based standards] (SCN*): Likewise.
30359 [C99-based standards] (*_t): Likewise.
30360 [C99-based-standards] (PRId8): Expect macro.
30361 [C99-based-standards] (PRIi8): Likewise.
30362 [C99-based-standards] (PRIo8): Likewise.
30363 [C99-based-standards] (PRIu8): Likewise.
30364 [C99-based-standards] (PRIx8): Likewise.
30365 [C99-based-standards] (PRIX8): Likewise.
30366 [C99-based-standards] (SCNd8): Likewise.
30367 [C99-based-standards] (SCNi8): Likewise.
30368 [C99-based-standards] (SCNo8): Likewise.
30369 [C99-based-standards] (SCNu8): Likewise.
30370 [C99-based-standards] (SCNx8): Likewise.
30371 [C99-based-standards] (PRIdLEAST8): Likewise.
30372 [C99-based-standards] (PRIiLEAST8): Likewise.
30373 [C99-based-standards] (PRIoLEAST8): Likewise.
30374 [C99-based-standards] (PRIuLEAST8): Likewise.
30375 [C99-based-standards] (PRIxLEAST8): Likewise.
30376 [C99-based-standards] (PRIXLEAST8): Likewise.
30377 [C99-based-standards] (SCNdLEAST8): Likewise.
30378 [C99-based-standards] (SCNiLEAST8): Likewise.
30379 [C99-based-standards] (SCNoLEAST8): Likewise.
30380 [C99-based-standards] (SCNuLEAST8): Likewise.
30381 [C99-based-standards] (SCNxLEAST8): Likewise.
30382 [C99-based-standards] (PRIdFAST8): Likewise.
30383 [C99-based-standards] (PRIiFAST8): Likewise.
30384 [C99-based-standards] (PRIoFAST8): Likewise.
30385 [C99-based-standards] (PRIuFAST8): Likewise.
30386 [C99-based-standards] (PRIxFAST8): Likewise.
30387 [C99-based-standards] (PRIXFAST8): Likewise.
30388 [C99-based-standards] (SCNdFAST8): Likewise.
30389 [C99-based-standards] (SCNiFAST8): Likewise.
30390 [C99-based-standards] (SCNoFAST8): Likewise.
30391 [C99-based-standards] (SCNuFAST8): Likewise.
30392 [C99-based-standards] (SCNxFAST8): Likewise.
30393 [C99-based-standards] (PRId16): Likewise.
30394 [C99-based-standards] (PRIi16): Likewise.
30395 [C99-based-standards] (PRIo16): Likewise.
30396 [C99-based-standards] (PRIu16): Likewise.
30397 [C99-based-standards] (PRIx16): Likewise.
30398 [C99-based-standards] (PRIX16): Likewise.
30399 [C99-based-standards] (SCNd16): Likewise.
30400 [C99-based-standards] (SCNi16): Likewise.
30401 [C99-based-standards] (SCNo16): Likewise.
30402 [C99-based-standards] (SCNu16): Likewise.
30403 [C99-based-standards] (SCNx16): Likewise.
30404 [C99-based-standards] (PRIdLEAST16): Likewise.
30405 [C99-based-standards] (PRIiLEAST16): Likewise.
30406 [C99-based-standards] (PRIoLEAST16): Likewise.
30407 [C99-based-standards] (PRIuLEAST16): Likewise.
30408 [C99-based-standards] (PRIxLEAST16): Likewise.
30409 [C99-based-standards] (PRIXLEAST16): Likewise.
30410 [C99-based-standards] (SCNdLEAST16): Likewise.
30411 [C99-based-standards] (SCNiLEAST16): Likewise.
30412 [C99-based-standards] (SCNoLEAST16): Likewise.
30413 [C99-based-standards] (SCNuLEAST16): Likewise.
30414 [C99-based-standards] (SCNxLEAST16): Likewise.
30415 [C99-based-standards] (PRIdFAST16): Likewise.
30416 [C99-based-standards] (PRIiFAST16): Likewise.
30417 [C99-based-standards] (PRIoFAST16): Likewise.
30418 [C99-based-standards] (PRIuFAST16): Likewise.
30419 [C99-based-standards] (PRIxFAST16): Likewise.
30420 [C99-based-standards] (PRIXFAST16): Likewise.
30421 [C99-based-standards] (SCNdFAST16): Likewise.
30422 [C99-based-standards] (SCNiFAST16): Likewise.
30423 [C99-based-standards] (SCNoFAST16): Likewise.
30424 [C99-based-standards] (SCNuFAST16): Likewise.
30425 [C99-based-standards] (SCNxFAST16): Likewise.
30426 [C99-based-standards] (PRId32): Likewise.
30427 [C99-based-standards] (PRIi32): Likewise.
30428 [C99-based-standards] (PRIo32): Likewise.
30429 [C99-based-standards] (PRIu32): Likewise.
30430 [C99-based-standards] (PRIx32): Likewise.
30431 [C99-based-standards] (PRIX32): Likewise.
30432 [C99-based-standards] (SCNd32): Likewise.
30433 [C99-based-standards] (SCNi32): Likewise.
30434 [C99-based-standards] (SCNo32): Likewise.
30435 [C99-based-standards] (SCNu32): Likewise.
30436 [C99-based-standards] (SCNx32): Likewise.
30437 [C99-based-standards] (PRIdLEAST32): Likewise.
30438 [C99-based-standards] (PRIiLEAST32): Likewise.
30439 [C99-based-standards] (PRIoLEAST32): Likewise.
30440 [C99-based-standards] (PRIuLEAST32): Likewise.
30441 [C99-based-standards] (PRIxLEAST32): Likewise.
30442 [C99-based-standards] (PRIXLEAST32): Likewise.
30443 [C99-based-standards] (SCNdLEAST32): Likewise.
30444 [C99-based-standards] (SCNiLEAST32): Likewise.
30445 [C99-based-standards] (SCNoLEAST32): Likewise.
30446 [C99-based-standards] (SCNuLEAST32): Likewise.
30447 [C99-based-standards] (SCNxLEAST32): Likewise.
30448 [C99-based-standards] (PRIdFAST32): Likewise.
30449 [C99-based-standards] (PRIiFAST32): Likewise.
30450 [C99-based-standards] (PRIoFAST32): Likewise.
30451 [C99-based-standards] (PRIuFAST32): Likewise.
30452 [C99-based-standards] (PRIxFAST32): Likewise.
30453 [C99-based-standards] (PRIXFAST32): Likewise.
30454 [C99-based-standards] (SCNdFAST32): Likewise.
30455 [C99-based-standards] (SCNiFAST32): Likewise.
30456 [C99-based-standards] (SCNoFAST32): Likewise.
30457 [C99-based-standards] (SCNuFAST32): Likewise.
30458 [C99-based-standards] (SCNxFAST32): Likewise.
30459 [C99-based-standards] (PRId64): Likewise.
30460 [C99-based-standards] (PRIi64): Likewise.
30461 [C99-based-standards] (PRIo64): Likewise.
30462 [C99-based-standards] (PRIu64): Likewise.
30463 [C99-based-standards] (PRIx64): Likewise.
30464 [C99-based-standards] (PRIX64): Likewise.
30465 [C99-based-standards] (SCNd64): Likewise.
30466 [C99-based-standards] (SCNi64): Likewise.
30467 [C99-based-standards] (SCNo64): Likewise.
30468 [C99-based-standards] (SCNu64): Likewise.
30469 [C99-based-standards] (SCNx64): Likewise.
30470 [C99-based-standards] (PRIdLEAST64): Likewise.
30471 [C99-based-standards] (PRIiLEAST64): Likewise.
30472 [C99-based-standards] (PRIoLEAST64): Likewise.
30473 [C99-based-standards] (PRIuLEAST64): Likewise.
30474 [C99-based-standards] (PRIxLEAST64): Likewise.
30475 [C99-based-standards] (PRIXLEAST64): Likewise.
30476 [C99-based-standards] (SCNdLEAST64): Likewise.
30477 [C99-based-standards] (SCNiLEAST64): Likewise.
30478 [C99-based-standards] (SCNoLEAST64): Likewise.
30479 [C99-based-standards] (SCNuLEAST64): Likewise.
30480 [C99-based-standards] (SCNxLEAST64): Likewise.
30481 [C99-based-standards] (PRIdFAST64): Likewise.
30482 [C99-based-standards] (PRIiFAST64): Likewise.
30483 [C99-based-standards] (PRIoFAST64): Likewise.
30484 [C99-based-standards] (PRIuFAST64): Likewise.
30485 [C99-based-standards] (PRIxFAST64): Likewise.
30486 [C99-based-standards] (PRIXFAST64): Likewise.
30487 [C99-based-standards] (SCNdFAST64): Likewise.
30488 [C99-based-standards] (SCNiFAST64): Likewise.
30489 [C99-based-standards] (SCNoFAST64): Likewise.
30490 [C99-based-standards] (SCNuFAST64): Likewise.
30491 [C99-based-standards] (SCNxFAST64): Likewise.
30492 [C99-based-standards] (PRIdMAX): Likewise.
30493 [C99-based-standards] (PRIiMAX): Likewise.
30494 [C99-based-standards] (PRIoMAX): Likewise.
30495 [C99-based-standards] (PRIuMAX): Likewise.
30496 [C99-based-standards] (PRIxMAX): Likewise.
30497 [C99-based-standards] (PRIXMAX): Likewise.
30498 [C99-based-standards] (SCNdMAX): Likewise.
30499 [C99-based-standards] (SCNiMAX): Likewise.
30500 [C99-based-standards] (SCNoMAX): Likewise.
30501 [C99-based-standards] (SCNuMAX): Likewise.
30502 [C99-based-standards] (SCNxMAX): Likewise.
30503 [C99-based-standards] (PRIdPTR): Likewise.
30504 [C99-based-standards] (PRIiPTR): Likewise.
30505 [C99-based-standards] (PRIoPTR): Likewise.
30506 [C99-based-standards] (PRIuPTR): Likewise.
30507 [C99-based-standards] (PRIxPTR): Likewise.
30508 [C99-based-standards] (PRIXPTR): Likewise.
30509 [C99-based-standards] (SCNdPTR): Likewise.
30510 [C99-based-standards] (SCNiPTR): Likewise.
30511 [C99-based-standards] (SCNoPTR): Likewise.
30512 [C99-based-standards] (SCNuPTR): Likewise.
30513 [C99-based-standards] (SCNxPTR): Likewise.
30514 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30515 allow.
30516 * conform/data/stdint.h-data: Update comments to clarify
30517 requirements.
30518 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30519 type.
30520 [C99-based standards] (INT8_MAX): Likewise.
30521 [C99-based standards] (INT16_MIN): Likewise.
30522 [C99-based standards] (INT16_MAX): Likewise.
30523 [C99-based standards] (INT32_MIN): Likewise.
30524 [C99-based standards] (INT32_MAX): Likewise.
30525 [C99-based standards] (INT64_MIN): Likewise.
30526 [C99-based standards] (INT64_MAX): Likewise.
30527 [C99-based standards] (UINT8_MAX): Likewise.
30528 [C99-based standards] (UINT16_MAX): Likewise.
30529 [C99-based standards] (UINT32_MAX): Likewise.
30530 [C99-based standards] (UINT64_MAX): Likewise.
30531 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30532 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30533 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30534 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30535 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30536 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30537 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30538 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30539 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30540 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30541 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30542 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30543 [C99-based standards] (INT_FAST8_MIN): Likewise.
30544 [C99-based standards] (INT_FAST8_MAX): Likewise.
30545 [C99-based standards] (INT_FAST16_MIN): Likewise.
30546 [C99-based standards] (INT_FAST16_MAX): Likewise.
30547 [C99-based standards] (INT_FAST32_MIN): Likewise.
30548 [C99-based standards] (INT_FAST32_MAX): Likewise.
30549 [C99-based standards] (INT_FAST64_MIN): Likewise.
30550 [C99-based standards] (INT_FAST64_MAX): Likewise.
30551 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30552 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30553 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30554 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30555 [C99-based standards] (INTPTR_MIN): Likewise.
30556 [C99-based standards] (INTPTR_MAX): Likewise.
30557 [C99-based standards] (UINTPTR_MAX): Likewise.
30558 [C99-based standards] (INTMAX_MIN): Likewise.
30559 [C99-based standards] (INTMAX_MAX): Likewise.
30560 [C99-based standards] (UINTMAX_MAX): Likewise.
30561 [C99-based standards] (PTRDIFF_MIN): Likewise.
30562 [C99-based standards] (PTRDIFF_MAX): Likewise.
30563 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30564 [C99-based standards] (SIZE_MAX): Likewise.
30565 [C99-based standards] (WCHAR_MAX): Likewise.
30566 [C99-based standards] (WINT_MAX): Likewise.
30567 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30568 constraint on value.
30569 [C99-based standards] (WCHAR_MIN): Likewise.
30570 [C99-based standards] (WINT_MIN): Likewise.
30571 [C99-based standards] (*_t): Allow.
30572 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30573 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30574 Include math.h-data and complex.h-data. Remove all expectations
30575 of math.h and complex.h contents.
30576 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30577 at end of line.
30578 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30579 (struct tm): Expect tag.
30580 [C99-based-standards] (wcstof): Expect function.
30581 [C99-based-standards] (wcstold): Likewise.
30582 [C99-based-standards] (wcstoll): Likewise.
30583 [C99-based-standards] (wcstoull): Likewise.
30584 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30585 macro-int-constant. Specify type.
30586 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30587 constraint on value.
30588 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30589 Specify type.
30590 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30591 Specify value.
30592 [ISO C standards]: Do not allow headers.
30593 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30594 wcs[abcdefghijklmnopqrstuvwxyz]*.
30595 [ISO C standards] (*_t): Do not allow.
30596 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30597 Expect function.
30598 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30599 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30600 Specify type.
30601 [ISO C standards]: Do not allow headers.
30602 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30603 is[abcdefghijklmnopqrstuvwxyz]*.
30604 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30605 to[abcdefghijklmnopqrstuvwxyz]*.
30606 [ISO C standards] (*_t): Do not allow.
30607 * conform/data/stdalign.h-data: New file.
30608 * conform/data/stdbool.h-data: Likewise.
30609 * conform/data/stdnoreturn.h-data: Likewise.
30610
7514feb8
RM
306112012-11-07 Roland McGrath <roland@hack.frob.com>
30612
30613 [BZ #14815]
30614 * manual/filesys.texi (Directory Entries): Typo fix.
30615 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30616
19b2ecfc
MS
306172012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30618
30619 * elf/elf.h (EM_AARCH64): New macro.
30620 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30621 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30622 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30623 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30624 (R_AARCH64_TLSDESC): Likewise.
30625 (NT_ARM_TLS): Likewise.
30626 (NT_ARM_HW_BREAK): Likewise.
30627 (NT_ARM_HW_WATCH): Likewise.
30628
60e235ee
JM
306292012-11-07 Joseph Myers <joseph@codesourcery.com>
30630
30631 [BZ #14811]
30632 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30633 (__ieee754_powl): Saturate nonzero exponents with absolute value
30634 below 0x1p-79 to +/- 0x1p-79.
30635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30636 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30637 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30638 nonzero exponents with absolute value below 0x1p-32 to +/-
30639 0x1p-32.
30640 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30641 (__ieee754_powl): Saturate nonzero exponents with absolute value
30642 below 0x1p-79 to +/- 0x1p-79.
30643 * math/libm-test.inc (pow_test): Add more tests.
30644
0ab234b7
AK
306452012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30646
30647 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30648 _dl_s390_cap_flags with kernel. Increase string length.
30649 (_dl_s390_platforms): Add z196 and zEC12.
30650
45832f74
JM
306512012-11-07 Joseph Myers <joseph@codesourcery.com>
30652
30653 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30654 Change XOPEN21K to XOPEN2K.
30655
19218757
MK
306562012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30657
30658 * string/memmove.c: Use memcpy when possible.
30659
c5f45721
AJ
306602012-11-06 Andreas Jaeger <aj@suse.de>
30661
30662 * po/eo.po: Update from translation team.
30663
82477c28
JM
306642012-11-06 Joseph Myers <joseph@codesourcery.com>
30665
30666 [BZ #14793]
30667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30668 exponent and small x and y exponents, scale x or y up. Increase
30669 by 2 the exponent used in scaling up.
30670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30672 * math/libm-test.inc (fma_test): Add more tests.
30673 (fma_test_towardzero): Likewise.
30674 (fma_test_downward): Likewise.
30675 (fma_test_upward): Likewise.
30676
99252c8c
JM
306772012-11-05 Joseph Myers <joseph@codesourcery.com>
30678
acfa885f
JM
30679 [BZ #14805]
30680 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30681 fenv_t *.
30682
99252c8c
JM
30683 [BZ #14801]
30684 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30685 namespace for names of struct fields.
30686 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30687 fenv_t fields.
30688 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30689 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30690
d6d98dea
ST
306912012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30692
30693 [BZ #3665]
30694 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30695
e10bb107
TS
306962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30697
30698 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30699 PTR_DEMANGLE.
30700
30701 [BZ #5246]
30702 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30703 PTR_DEMANGLE.
30704
a0c2940d
JM
307052012-11-04 Joseph Myers <joseph@codesourcery.com>
30706
30707 [BZ #14797]
30708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30709 definitely overflow as x * y not x * y + z.
30710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30712 * math/libm-test.inc (fma_test): Add more tests.
30713 (fma_test_towardzero): Likewise.
30714 (fma_test_downward): Likewise.
30715 (fma_test_upward): Likewise.
30716
b830319d
TS
307172012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30718
30719 [BZ #157]
30720
30721 * include/stub-tag.h: Remove file.
30722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30723 '#include' of it.
30724 * manual/maint.texi (Porting): Don't reference it.
30725 * Makerules ($(objpfx)stubs): Likewise.
30726 * dirent/closedir.c: Don't include <stub-tag.h>.
30727 * dirent/dirfd.c: Likewise.
30728 * dirent/fdopendir.c: Likewise.
30729 * dirent/getdents.c: Likewise.
30730 * dirent/getdents64.c: Likewise.
30731 * dirent/opendir.c: Likewise.
30732 * dirent/readdir.c: Likewise.
30733 * dirent/readdir64.c: Likewise.
30734 * dirent/readdir64_r.c: Likewise.
30735 * dirent/readdir_r.c: Likewise.
30736 * dirent/rewinddir.c: Likewise.
30737 * dirent/seekdir.c: Likewise.
30738 * dirent/telldir.c: Likewise.
30739 * gmon/profil.c: Likewise.
30740 * grp/setgroups.c: Likewise.
30741 * inet/if_index.c: Likewise.
30742 * io/access.c: Likewise.
30743 * io/chdir.c: Likewise.
30744 * io/chmod.c: Likewise.
30745 * io/chown.c: Likewise.
30746 * io/close.c: Likewise.
30747 * io/dup.c: Likewise.
30748 * io/dup2.c: Likewise.
30749 * io/dup3.c: Likewise.
30750 * io/euidaccess.c: Likewise.
30751 * io/faccessat.c: Likewise.
30752 * io/fchdir.c: Likewise.
30753 * io/fchmod.c: Likewise.
30754 * io/fchmodat.c: Likewise.
30755 * io/fchown.c: Likewise.
30756 * io/fchownat.c: Likewise.
30757 * io/fcntl.c: Likewise.
30758 * io/flock.c: Likewise.
30759 * io/fstatfs.c: Likewise.
30760 * io/fstatfs64.c: Likewise.
30761 * io/fstatvfs.c: Likewise.
30762 * io/fstatvfs64.c: Likewise.
30763 * io/futimens.c: Likewise.
30764 * io/fxstat.c: Likewise.
30765 * io/fxstat64.c: Likewise.
30766 * io/fxstatat.c: Likewise.
30767 * io/fxstatat64.c: Likewise.
30768 * io/getcwd.c: Likewise.
30769 * io/isatty.c: Likewise.
30770 * io/lchmod.c: Likewise.
30771 * io/lchown.c: Likewise.
30772 * io/link.c: Likewise.
30773 * io/linkat.c: Likewise.
30774 * io/lseek.c: Likewise.
30775 * io/lseek64.c: Likewise.
30776 * io/lxstat64.c: Likewise.
30777 * io/mkdir.c: Likewise.
30778 * io/mkdirat.c: Likewise.
30779 * io/mkfifo.c: Likewise.
30780 * io/mkfifoat.c: Likewise.
30781 * io/open.c: Likewise.
30782 * io/open64.c: Likewise.
30783 * io/openat.c: Likewise.
30784 * io/openat64.c: Likewise.
30785 * io/pipe.c: Likewise.
30786 * io/pipe2.c: Likewise.
30787 * io/poll.c: Likewise.
30788 * io/posix_fadvise.c: Likewise.
30789 * io/posix_fadvise64.c: Likewise.
30790 * io/posix_fallocate.c: Likewise.
30791 * io/posix_fallocate64.c: Likewise.
30792 * io/read.c: Likewise.
30793 * io/readlink.c: Likewise.
30794 * io/readlinkat.c: Likewise.
30795 * io/rmdir.c: Likewise.
30796 * io/sendfile.c: Likewise.
30797 * io/sendfile64.c: Likewise.
30798 * io/statfs.c: Likewise.
30799 * io/statfs64.c: Likewise.
30800 * io/statvfs.c: Likewise.
30801 * io/statvfs64.c: Likewise.
30802 * io/symlink.c: Likewise.
30803 * io/symlinkat.c: Likewise.
30804 * io/ttyname.c: Likewise.
30805 * io/ttyname_r.c: Likewise.
30806 * io/umask.c: Likewise.
30807 * io/unlink.c: Likewise.
30808 * io/unlinkat.c: Likewise.
30809 * io/utime.c: Likewise.
30810 * io/utimensat.c: Likewise.
30811 * io/write.c: Likewise.
30812 * io/xmknod.c: Likewise.
30813 * io/xmknodat.c: Likewise.
30814 * io/xstat.c: Likewise.
30815 * io/xstat64.c: Likewise.
30816 * login/getpt.c: Likewise.
30817 * login/grantpt.c: Likewise.
30818 * login/unlockpt.c: Likewise.
30819 * math/e_acoshl.c: Likewise.
30820 * math/e_acosl.c: Likewise.
30821 * math/e_asinl.c: Likewise.
30822 * math/e_atan2l.c: Likewise.
30823 * math/e_atanhl.c: Likewise.
30824 * math/e_coshl.c: Likewise.
30825 * math/e_expl.c: Likewise.
30826 * math/e_fmodl.c: Likewise.
30827 * math/e_gammal_r.c: Likewise.
30828 * math/e_hypotl.c: Likewise.
30829 * math/e_j0l.c: Likewise.
30830 * math/e_j1l.c: Likewise.
30831 * math/e_jnl.c: Likewise.
30832 * math/e_lgammal_r.c: Likewise.
30833 * math/e_log10l.c: Likewise.
30834 * math/e_log2l.c: Likewise.
30835 * math/e_logl.c: Likewise.
30836 * math/e_powl.c: Likewise.
30837 * math/e_rem_pio2l.c: Likewise.
30838 * math/e_sinhl.c: Likewise.
30839 * math/e_sqrtl.c: Likewise.
30840 * math/fclrexcpt.c: Likewise.
30841 * math/fedisblxcpt.c: Likewise.
30842 * math/feenablxcpt.c: Likewise.
30843 * math/fegetenv.c: Likewise.
30844 * math/fegetexcept.c: Likewise.
30845 * math/fegetround.c: Likewise.
30846 * math/feholdexcpt.c: Likewise.
30847 * math/fesetenv.c: Likewise.
30848 * math/fesetround.c: Likewise.
30849 * math/feupdateenv.c: Likewise.
30850 * math/fgetexcptflg.c: Likewise.
30851 * math/fraiseexcpt.c: Likewise.
30852 * math/fsetexcptflg.c: Likewise.
30853 * math/ftestexcept.c: Likewise.
30854 * math/k_cosl.c: Likewise.
30855 * math/k_rem_pio2l.c: Likewise.
30856 * math/k_sinl.c: Likewise.
30857 * math/k_tanl.c: Likewise.
30858 * math/s_asinhl.c: Likewise.
30859 * math/s_atanl.c: Likewise.
30860 * math/s_cbrtl.c: Likewise.
30861 * math/s_erfl.c: Likewise.
30862 * math/s_expm1l.c: Likewise.
30863 * math/s_log1pl.c: Likewise.
30864 * math/s_tanhl.c: Likewise.
30865 * misc/acct.c: Likewise.
30866 * misc/brk.c: Likewise.
30867 * misc/chflags.c: Likewise.
30868 * misc/chroot.c: Likewise.
30869 * misc/fchflags.c: Likewise.
30870 * misc/fgetxattr.c: Likewise.
30871 * misc/flistxattr.c: Likewise.
30872 * misc/fremovexattr.c: Likewise.
30873 * misc/fsetxattr.c: Likewise.
30874 * misc/fsync.c: Likewise.
30875 * misc/ftruncate.c: Likewise.
30876 * misc/futimes.c: Likewise.
30877 * misc/futimesat.c: Likewise.
30878 * misc/getdomain.c: Likewise.
30879 * misc/getdtsz.c: Likewise.
30880 * misc/gethostid.c: Likewise.
30881 * misc/gethostname.c: Likewise.
30882 * misc/getloadavg.c: Likewise.
30883 * misc/getpagesize.c: Likewise.
30884 * misc/getsysstats.c: Likewise.
30885 * misc/getxattr.c: Likewise.
30886 * misc/gtty.c: Likewise.
30887 * misc/ioctl.c: Likewise.
30888 * misc/lgetxattr.c: Likewise.
30889 * misc/listxattr.c: Likewise.
30890 * misc/llistxattr.c: Likewise.
30891 * misc/lremovexattr.c: Likewise.
30892 * misc/lsetxattr.c: Likewise.
30893 * misc/lutimes.c: Likewise.
30894 * misc/madvise.c: Likewise.
30895 * misc/mincore.c: Likewise.
30896 * misc/mlock.c: Likewise.
30897 * misc/mlockall.c: Likewise.
30898 * misc/mmap.c: Likewise.
30899 * misc/mprotect.c: Likewise.
30900 * misc/msync.c: Likewise.
30901 * misc/munlock.c: Likewise.
30902 * misc/munlockall.c: Likewise.
30903 * misc/munmap.c: Likewise.
30904 * misc/preadv.c: Likewise.
30905 * misc/preadv64.c: Likewise.
30906 * misc/ptrace.c: Likewise.
30907 * misc/pwritev.c: Likewise.
30908 * misc/pwritev64.c: Likewise.
30909 * misc/readv.c: Likewise.
30910 * misc/reboot.c: Likewise.
30911 * misc/remap_file_pages.c: Likewise.
30912 * misc/removexattr.c: Likewise.
30913 * misc/revoke.c: Likewise.
30914 * misc/select.c: Likewise.
30915 * misc/setdomain.c: Likewise.
30916 * misc/setegid.c: Likewise.
30917 * misc/seteuid.c: Likewise.
30918 * misc/sethostid.c: Likewise.
30919 * misc/sethostname.c: Likewise.
30920 * misc/setregid.c: Likewise.
30921 * misc/setreuid.c: Likewise.
30922 * misc/setxattr.c: Likewise.
30923 * misc/sstk.c: Likewise.
30924 * misc/stty.c: Likewise.
30925 * misc/swapoff.c: Likewise.
30926 * misc/swapon.c: Likewise.
30927 * misc/sync.c: Likewise.
30928 * misc/syncfs.c: Likewise.
30929 * misc/syscall.c: Likewise.
30930 * misc/truncate.c: Likewise.
30931 * misc/ualarm.c: Likewise.
30932 * misc/usleep.c: Likewise.
30933 * misc/ustat.c: Likewise.
30934 * misc/utimes.c: Likewise.
30935 * misc/vhangup.c: Likewise.
30936 * misc/writev.c: Likewise.
30937 * posix/_exit.c: Likewise.
30938 * posix/alarm.c: Likewise.
30939 * posix/execve.c: Likewise.
30940 * posix/fexecve.c: Likewise.
30941 * posix/fork.c: Likewise.
30942 * posix/fpathconf.c: Likewise.
30943 * posix/getaddrinfo.c: Likewise.
30944 * posix/getegid.c: Likewise.
30945 * posix/geteuid.c: Likewise.
30946 * posix/getgid.c: Likewise.
30947 * posix/getgroups.c: Likewise.
30948 * posix/getlogin.c: Likewise.
30949 * posix/getlogin_r.c: Likewise.
30950 * posix/getpgid.c: Likewise.
30951 * posix/getpid.c: Likewise.
30952 * posix/getppid.c: Likewise.
30953 * posix/getresgid.c: Likewise.
30954 * posix/getresuid.c: Likewise.
30955 * posix/getsid.c: Likewise.
30956 * posix/getuid.c: Likewise.
30957 * posix/glob64.c: Likewise.
30958 * posix/nanosleep.c: Likewise.
30959 * posix/pathconf.c: Likewise.
30960 * posix/pause.c: Likewise.
30961 * posix/posix_madvise.c: Likewise.
30962 * posix/pread.c: Likewise.
30963 * posix/pread64.c: Likewise.
30964 * posix/pwrite.c: Likewise.
30965 * posix/pwrite64.c: Likewise.
30966 * posix/sched_getaffinity.c: Likewise.
30967 * posix/sched_getp.c: Likewise.
30968 * posix/sched_gets.c: Likewise.
30969 * posix/sched_primax.c: Likewise.
30970 * posix/sched_primin.c: Likewise.
30971 * posix/sched_rr_gi.c: Likewise.
30972 * posix/sched_setaffinity.c: Likewise.
30973 * posix/sched_setp.c: Likewise.
30974 * posix/sched_sets.c: Likewise.
30975 * posix/sched_yield.c: Likewise.
30976 * posix/setgid.c: Likewise.
30977 * posix/setlogin.c: Likewise.
30978 * posix/setpgid.c: Likewise.
30979 * posix/setresgid.c: Likewise.
30980 * posix/setresuid.c: Likewise.
30981 * posix/setsid.c: Likewise.
30982 * posix/setuid.c: Likewise.
30983 * posix/sleep.c: Likewise.
30984 * posix/spawni.c: Likewise.
30985 * posix/sysconf.c: Likewise.
30986 * posix/times.c: Likewise.
30987 * posix/wait.c: Likewise.
30988 * posix/wait3.c: Likewise.
30989 * posix/wait4.c: Likewise.
30990 * posix/waitpid.c: Likewise.
30991 * resolv/gai_sigqueue.c: Likewise.
30992 * resource/getpriority.c: Likewise.
30993 * resource/getrlimit.c: Likewise.
30994 * resource/getrusage.c: Likewise.
30995 * resource/nice.c: Likewise.
30996 * resource/setpriority.c: Likewise.
30997 * resource/setrlimit.c: Likewise.
30998 * resource/ulimit.c: Likewise.
30999 * rt/aio_cancel.c: Likewise.
31000 * rt/aio_fsync.c: Likewise.
31001 * rt/aio_read.c: Likewise.
31002 * rt/aio_sigqueue.c: Likewise.
31003 * rt/aio_suspend.c: Likewise.
31004 * rt/aio_write.c: Likewise.
31005 * rt/clock_getres.c: Likewise.
31006 * rt/clock_gettime.c: Likewise.
31007 * rt/clock_nanosleep.c: Likewise.
31008 * rt/clock_settime.c: Likewise.
31009 * rt/lio_listio.c: Likewise.
31010 * rt/mq_close.c: Likewise.
31011 * rt/mq_getattr.c: Likewise.
31012 * rt/mq_notify.c: Likewise.
31013 * rt/mq_open.c: Likewise.
31014 * rt/mq_receive.c: Likewise.
31015 * rt/mq_send.c: Likewise.
31016 * rt/mq_setattr.c: Likewise.
31017 * rt/mq_timedreceive.c: Likewise.
31018 * rt/mq_timedsend.c: Likewise.
31019 * rt/mq_unlink.c: Likewise.
31020 * rt/shm_open.c: Likewise.
31021 * rt/shm_unlink.c: Likewise.
31022 * rt/timer_create.c: Likewise.
31023 * rt/timer_delete.c: Likewise.
31024 * rt/timer_getoverr.c: Likewise.
31025 * rt/timer_gettime.c: Likewise.
31026 * rt/timer_settime.c: Likewise.
31027 * setjmp/__longjmp.c: Likewise.
31028 * setjmp/setjmp.c: Likewise.
31029 * signal/kill.c: Likewise.
31030 * signal/killpg.c: Likewise.
31031 * signal/raise.c: Likewise.
31032 * signal/sigaction.c: Likewise.
31033 * signal/sigaltstack.c: Likewise.
31034 * signal/sigblock.c: Likewise.
31035 * signal/sigignore.c: Likewise.
31036 * signal/sigintr.c: Likewise.
31037 * signal/signal.c: Likewise.
31038 * signal/sigpause.c: Likewise.
31039 * signal/sigpending.c: Likewise.
31040 * signal/sigqueue.c: Likewise.
31041 * signal/sigreturn.c: Likewise.
31042 * signal/sigset.c: Likewise.
31043 * signal/sigsetmask.c: Likewise.
31044 * signal/sigstack.c: Likewise.
31045 * signal/sigsuspend.c: Likewise.
31046 * signal/sigtimedwait.c: Likewise.
31047 * signal/sigvec.c: Likewise.
31048 * signal/sigwait.c: Likewise.
31049 * signal/sigwaitinfo.c: Likewise.
31050 * signal/sysv_signal.c: Likewise.
31051 * socket/accept.c: Likewise.
31052 * socket/accept4.c: Likewise.
31053 * socket/bind.c: Likewise.
31054 * socket/connect.c: Likewise.
31055 * socket/getpeername.c: Likewise.
31056 * socket/getsockname.c: Likewise.
31057 * socket/getsockopt.c: Likewise.
31058 * socket/isfdtype.c: Likewise.
31059 * socket/listen.c: Likewise.
31060 * socket/recv.c: Likewise.
31061 * socket/recvfrom.c: Likewise.
31062 * socket/recvmsg.c: Likewise.
31063 * socket/send.c: Likewise.
31064 * socket/sendmsg.c: Likewise.
31065 * socket/sendto.c: Likewise.
31066 * socket/setsockopt.c: Likewise.
31067 * socket/shutdown.c: Likewise.
31068 * socket/sockatmark.c: Likewise.
31069 * socket/socket.c: Likewise.
31070 * socket/socketpair.c: Likewise.
31071 * stdio-common/ctermid.c: Likewise.
31072 * stdio-common/cuserid.c: Likewise.
31073 * stdio-common/remove.c: Likewise.
31074 * stdio-common/rename.c: Likewise.
31075 * stdio-common/renameat.c: Likewise.
31076 * stdio-common/tempname.c: Likewise.
31077 * stdlib/getcontext.c: Likewise.
31078 * stdlib/makecontext.c: Likewise.
31079 * stdlib/setcontext.c: Likewise.
31080 * stdlib/swapcontext.c: Likewise.
31081 * stdlib/system.c: Likewise.
31082 * streams/fattach.c: Likewise.
31083 * streams/fdetach.c: Likewise.
31084 * streams/getmsg.c: Likewise.
31085 * streams/getpmsg.c: Likewise.
31086 * streams/putmsg.c: Likewise.
31087 * streams/putpmsg.c: Likewise.
31088 * sysdeps/unix/bsd/getpt.c: Likewise.
31089 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31090 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31091 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31093 Likewise.
31094 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31095 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31096 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31097 * sysvipc/msgctl.c: Likewise.
31098 * sysvipc/msgget.c: Likewise.
31099 * sysvipc/msgrcv.c: Likewise.
31100 * sysvipc/msgsnd.c: Likewise.
31101 * sysvipc/semctl.c: Likewise.
31102 * sysvipc/semget.c: Likewise.
31103 * sysvipc/semop.c: Likewise.
31104 * sysvipc/semtimedop.c: Likewise.
31105 * sysvipc/shmat.c: Likewise.
31106 * sysvipc/shmctl.c: Likewise.
31107 * sysvipc/shmdt.c: Likewise.
31108 * sysvipc/shmget.c: Likewise.
31109 * termios/tcdrain.c: Likewise.
31110 * termios/tcflow.c: Likewise.
31111 * termios/tcflush.c: Likewise.
31112 * termios/tcgetattr.c: Likewise.
31113 * termios/tcgetpgrp.c: Likewise.
31114 * termios/tcsendbrk.c: Likewise.
31115 * termios/tcsetattr.c: Likewise.
31116 * termios/tcsetpgrp.c: Likewise.
31117 * time/adjtime.c: Likewise.
31118 * time/clock.c: Likewise.
31119 * time/getitimer.c: Likewise.
31120 * time/gettimeofday.c: Likewise.
31121 * time/setitimer.c: Likewise.
31122 * time/settimeofday.c: Likewise.
31123 * time/stime.c: Likewise.
31124 * time/time.c: Likewise.
31125
311262012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31127
a20492cf
PT
31128 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31129 /usr/old/bin.
31130
72e182e3
PT
31131 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31132 instead of spaces.
31133 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31134
fbeafede
JM
311352012-11-03 Joseph Myers <joseph@codesourcery.com>
31136
5b5b04d6
JM
31137 [BZ #14796]
31138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31139 FE_TONEAREST before applying Dekker multiplication and Knuth
31140 addition. Clear inexact exceptions and check for exact zero
31141 results afterwards.
31142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31143 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31145 * math/libm-test.inc (fma_test): Add more tests.
31146 (fma_test_towardzero): Likewise.
31147 (fma_test_downward): Likewise.
31148 (fma_test_upward): Likewise.
31149 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31150 function.
31151 (libc_fesetround): New macro.
31152 (libc_fesetroundf): Likewise.
31153 (libc_fesetroundl): Likewise.
31154 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31155 function.
31156 (libc_fesetround_387): Likewise.
31157 (libc_fesetroundf): New macro.
31158 (libc_fesetround): Likewise.
31159 (libc_fesetroundl): Likewise.
31160 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31161 function.
31162 (libc_fesetroundf): New macro.
31163 (libc_fesetround): Likewise.
31164 (libc_fesetroundl): Likewise.
31165 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31166 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31167 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31168 libm_hidden_ver.
31169 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31170 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31171 libm_hidden_def.
31172 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31173 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31174 libm_hidden_ver.
31175 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31176 libm_hidden_def.
31177
fbeafede
JM
31178 [BZ #3439]
31179 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31180 integer constant usable in #if and use that to give value to enum
31181 constant.
31182 (FE_DIVBYZERO): Likewise.
31183 (FE_UNDERFLOW): Likewise.
31184 (FE_OVERFLOW): Likewise.
31185 (FE_INVALID): Likewise.
31186 (FE_INVALID_SNAN): Likewise.
31187 (FE_INVALID_ISI): Likewise.
31188 (FE_INVALID_IDI): Likewise.
31189 (FE_INVALID_ZDZ): Likewise.
31190 (FE_INVALID_IMZ): Likewise.
31191 (FE_INVALID_COMPARE): Likewise.
31192 (FE_INVALID_SOFTWARE): Likewise.
31193 (FE_INVALID_SQRT): Likewise.
31194 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31195 (FE_TONEAREST): Likewise.
31196 (FE_TOWARDZERO): Likewise.
31197 (FE_UPWARD): Likewise.
31198 (FE_DOWNWARD): Likewise.
31199 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31200 (FE_DIVBYZERO): Likewise.
31201 (FE_OVERFLOW): Likewise.
31202 (FE_UNDERFLOW): Likewise.
31203 (FE_INEXACT): Likewise.
31204 (FE_TONEAREST): Likewise.
31205 (FE_DOWNWARD): Likewise.
31206 (FE_UPWARD): Likewise.
31207 (FE_TOWARDZERO): Likewise.
31208 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31209 (FE_UNDERFLOW): Likewise.
31210 (FE_OVERFLOW): Likewise.
31211 (FE_DIVBYZERO): Likewise.
31212 (FE_INVALID): Likewise.
31213 (FE_TONEAREST): Likewise.
31214 (FE_TOWARDZERO): Likewise.
31215 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31216 (FE_OVERFLOW): Likewise.
31217 (FE_UNDERFLOW): Likewise.
31218 (FE_DIVBYZERO): Likewise.
31219 (FE_INEXACT): Likewise.
31220 (FE_TONEAREST): Likewise.
31221 (FE_TOWARDZERO): Likewise.
31222 (FE_UPWARD): Likewise.
31223 (FE_DOWNWARD): Likewise.
31224 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31225 (FE_DIVBYZERO): Likewise.
31226 (FE_OVERFLOW): Likewise.
31227 (FE_UNDERFLOW): Likewise.
31228 (FE_INEXACT): Likewise.
31229 (FE_TONEAREST): Likewise.
31230 (FE_DOWNWARD): Likewise.
31231 (FE_UPWARD): Likewise.
31232 (FE_TOWARDZERO): Likewise.
31233
105ca950
CM
312342012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31235
31236 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31237
a542b389
AS
312382012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31239
31240 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31241 commands. Quote $PWD.
31242 (blacklist_exports): Don't use remove_newlines. Replace "declare
31243 -x" by "export".
31244 (remove_newlines): Remove.
31245
f62c8abc
L
312462012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31247
31248 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31249 * stdlib/stdlib.h (atof): Moved to ...
31250 * include/bits/stdlib-float.h: Here. New file.
31251 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31252 * stdlib/bits/stdlib-float.h: New file.
31253 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31254 -mno-sse -mno-mmx.
31255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31256 <xmmintrin.h>.
31257
0155d5b2
JM
312582012-11-02 Joseph Myers <joseph@codesourcery.com>
31259
a68d0680
JM
31260 * conform/conformtest.pl (@headers): Add fenv.h.
31261 * conform/data/fenv.h-data: New file.
31262 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31263 include of <math/fenv.h>.
31264
caf7f573
JM
31265 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31266 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31267 && !UNIX98]. Enables tests for XOPEN2K8.
31268 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31269 POSIX2008]: Likewise.
31270
6c073ad6
JM
31271 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31272 (struct rusage): Do not expect type or its members.
31273
0155d5b2
JM
31274 [BZ #3439]
31275 * math/math.h (FP_NAN): Define macro to integer constant usable in
31276 #if and use that to give value to enum constant.
31277 (FP_INFINITE): Likewise.
31278 (FP_ZERO): Likewise.
31279 (FP_SUBNORMAL): Likewise.
31280 (FP_NORMAL): Likewise.
31281
b5dcacb4
AS
312822012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31283
31284 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31285 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31286 arguments.
31287
f7934be8
RM
312882012-11-02 Roland McGrath <roland@hack.frob.com>
31289
31290 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31291 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31292 autoconf-time if not.
31293 * configure.in: Remove AC_PREREQ.
31294
d7d08bde
TMQMF
312952012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31296
31297 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31298 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31299 of the internal implementation.
31300
dcdae19a
JM
313012012-11-02 Joseph Myers <joseph@codesourcery.com>
31302
31303 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31304 except include of <misc/sys/syslog.h>.
31305
d6cffd3e
AS
313062012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31307
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31309 function returns with a NULL context exit with zero.
31310
b3563932
TMQMF
313112012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31312
31313 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31314
b288a93d
L
313152012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31316
31317 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31318 (run_program_cmd): This.
31319 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31320 (tst_langinfo): New variable. Use it.
31321
a2421a68
SAS
313222012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31323
31324 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31325 floating point opcodes.
31326
6f796e1b
TS
313272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31328
7402596b
TS
31329 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31330 variable.
31331
d0d4f868
TS
31332 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31333
6f796e1b
TS
31334 * sysdeps/mach/hurd/powerpc: Remove directory.
31335 * sysdeps/mach/powerpc: Likewise.
31336
4da224a2
AS
313372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31338
31339 * scripts/check-local-headers.sh: Ignore c++ headers.
31340
341dd673
TS
313412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31342
31343 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31344 __libc_cleanup_region_start argument.
31345
473611b2
JM
313462012-11-01 Joseph Myers <joseph@codesourcery.com>
31347
31348 [BZ #14784]
31349 [BZ #14785]
31350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31351 x * y using scaling, not as x * y + z.
31352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31354 * math/libm-test.inc (fma_test): Add more tests.
31355 (fma_test_towardzero): Likewise.
31356 (fma_test_downward): Likewise.
31357 (fma_test_upward): Likewise.
31358
4078da3d
TS
313592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31360
31361 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31362
903252aa
JM
313632012-10-31 Joseph Myers <joseph@codesourcery.com>
31364
31365 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31366 New variable.
31367
cbc818d0
TS
313682012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31369
31370 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31371
5a03cb1e
AS
313722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31373
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31375 Fix sort order.
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31377 Likewise.
31378
90aff2ff
TMQMF
313792012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31380
31381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31382 Fix the order of the list for glibc 2.17.
31383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31384 Likewise.
31385
1818fcb7
AS
313862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31387
31388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31389
ef82f4da
JM
313902012-10-31 Joseph Myers <joseph@codesourcery.com>
31391
16a0e2ec
JM
31392 [BZ #14610]
31393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31394 for low part of x being zero before using __atanl (y).
31395 * math/libm-test.inc (atan2_test): Add another test.
31396
0eb69512
JM
31397 * manual/install.texi (Configuring and compiling): Document
31398 general use of test-wrapper and test-wrapper-env.
31399 * INSTALL: Regenerated.
31400
ef82f4da
JM
31401 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31402 (__fma): Do not extract and scale down low bits on after-rounding
31403 systems when result rounded to normal precision would have normal
31404 exponent.
31405 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31406 (__fmal): Do not extract and scale down low bits on after-rounding
31407 systems when result rounded to normal precision would have normal
31408 exponent.
31409 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31410 (__fmal): Do not extract and scale down low bits on after-rounding
31411 systems when result rounded to normal precision would have normal
31412 exponent.
31413 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31414 macro.
31415 (fma_test): Add more tests.
31416 (fma_test_towardzero): Likewise.
31417 (fma_test_downward): Likewise.
31418 (fma_test_upward): Likewise.
31419
954ef0d9
L
314202012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31421
31422 * sysdeps/i386/tininess.h: Renamed to ...
31423 * sysdeps/x86/tininess.h: This.
31424 * sysdeps/x86_64/tininess.h: Removed.
31425
df61ffb2
JM
314262012-10-30 Joseph Myers <joseph@codesourcery.com>
31427
31428 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31429 input. Use $(build-program-cmd).
31430 ($(objpfx)tst-array1-static.out): Likewise.
31431 ($(objpfx)tst-array2.out): Likewise.
31432 ($(objpfx)tst-array3.out): Likewise.
31433 ($(objpfx)tst-array4.out): Likewise.
31434 ($(objpfx)tst-array5.out): Likewise.
31435 ($(objpfx)tst-array5-static.out): Likewise.
31436
01767843
CM
314372012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31438
47cc1490
CM
31439 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31440 if defined.
31441
01767843
CM
31442 * nss/nsswitch.h (nss_interface_function): Provide new
31443 macro for use with NSS functions.
31444 * grp/initgroups.c: Use new macro.
31445 * nss/getXXbyYY.c: Likewise.
31446 * nss/getXXbyYY_r.c: Likewise.
31447 * nss/getXXent.c: Likewise.
31448 * nss/getXXent_r.c: Likewise.
31449 * sysdeps/posix/getaddrinfo.c: Likewise.
31450
8321aa97
AJ
314512012-10-30 Andreas Jaeger <aj@suse.de>
31452
31453 * po/ru.po: Update Russion translation from translation project.
31454
2a27fd6d
JM
314552012-10-30 Joseph Myers <joseph@codesourcery.com>
31456
8627a232
JM
31457 [BZ #14152]
31458 [BZ #14783]
31459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31460 result and shift together with sticky bit instead of replicating
31461 round-to-nearest rounding.
31462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31464 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31465 missing underflow exceptions.
31466 (fma_test_towardzero): Add more tests.
31467 (fma_test_downward): Likewise.
31468 (fma_test_upward): Likewise.
31469
2a27fd6d
JM
31470 [BZ #14047]
31471 * sysdeps/generic/tininess.h: New file.
31472 * sysdeps/i386/tininess.h: Likewise.
31473 * sysdeps/sh/tininess.h: Likewise.
31474 * sysdeps/x86_64/tininess.h: Likewise.
31475 * stdlib/tst-strtod-underflow.c: Likewise.
31476 * stdlib/tst-tininess.c: Likewise.
31477 * stdlib/strtod_l.c: Include <tininess.h>.
31478 (round_and_return): Do not set errno for exact underflow cases.
31479 Force an underflow exception when setting errno for underflow.
31480 Determine underflow based on rounding to normal precision if
31481 TININESS_AFTER_ROUNDING.
31482 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31483 ERANGE for exact underflow cases.
31484 * stdlib/Makefile (tests): Add tst-tininess and
31485 tst-strtod-underflow.
31486 ($(objpfx)tst-tininess): Use $(link-libm).
31487 ($(objpfx)tst-strtod-underflow): Likewise.
31488
e7170363
AJ
314892012-10-30 Andreas Jaeger <aj@suse.de>
31490
e5088dc6
AJ
31491 [BZ#14767]
31492 * elf/Makefile (tests): Remove conditional for have-initfini-array
31493 since this is now always required and the variable does not exist
31494 anymore.
31495 (tests-static): Likewise.
31496 (modules-names): Likewise.
31497
e7170363 31498 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31499
31500 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31501 merged with constructor/destructor.
31502 (init_array): Likewise.
31503 * elf/tst-array2dep.c (fini_array): Likewise.
31504 (init_array): Likewise.
31505
60457d8a
MF
315062012-10-29 Mike Frysinger <vapier@gentoo.org>
31507
31508 * manual/message.texi: Delete @cartouche tags.
31509
8bece752
PT
315102012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31511
94ce799f
PT
31512 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31513 EOPNOTSUPP.
31514 * sysdeps/mach/hurd/fsync.c: Likewise.
31515
8bece752
PT
31516 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31517 [_POSIX_REALTIME_SIGNALS]: Change condition to
31518 [_POSIX_REALTIME_SIGNALS > 0].
31519
86ebe6b1
AJ
315202012-10-27 Andreas Jaeger <aj@suse.de>
31521
31522 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31523 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31525 [__WORDSIZE != 64]: Likewise.
31526
54399c08
L
315272012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31528
31529 * iconvdata/tst-table.sh: Remove ${SHELL}.
31530 * iconvdata/tst-tables.sh: Likewise.
31531
e2211bed
DM
315322012-10-25 David S. Miller <davem@davemloft.net>
31533
31534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31535 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31536 of strtoull.
31537
f303f97c
DM
31538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31539 ifunc-impl-list.c
31540 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31541 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31542 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31543 file.
31544
1e9d84cd
RM
315452012-10-25 Roland McGrath <roland@hack.frob.com>
31546
31547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31548 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31549 __getdirentries.
31550
df381762
JM
315512012-10-25 Joseph Myers <joseph@codesourcery.com>
31552 Jim Blandy <jimb@codesourcery.com>
31553
31554 * scripts/cross-test-ssh.sh: New file.
31555 * manual/install.texi (Configuring and compiling): Document use of
31556 cross-test-ssh.sh.
31557 * INSTALL: Regenerated.
31558
bff64913
PT
315592012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31560
31561 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31562 EOPNOTSUPP.
31563
25fe8932
JM
315642012-10-25 Joseph Myers <joseph@codesourcery.com>
31565
31566 * Makeconfig (run-program-prefix): Fix comment.
31567
cc1290d0
JM
315682012-10-24 Joseph Myers <joseph@codesourcery.com>
31569 Jim Blandy <jimb@codesourcery.com>
31570
31571 * Makeconfig (test-wrapper): New variable,
31572 (test-wrapper-env): Likewise.
31573 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31574 (run-built-tests): Define to yes.
31575 (run-program-prefix): Use $(test-wrapper).
31576 (built-program-cmd): Likewise.
31577 * Rules (make-test-out): Use $(test-wrapper-env) and
31578 $(host-built-program-cmd).
31579 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31580 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31581 tst-pathopt.sh.
31582 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31583 $(test-wrapper-env) to tst-rtld-load-self.sh.
31584 ($(objpfx)order2.out): Use $(test-wrapper).
31585 ($(objpfx)tst-initorder.out): Likewise.
31586 ($(objpfx)tst-initorder2.out): Likewise.
31587 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31588 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31589 (test_wrapper_env): New variable. Use it to run ld.so.
31590 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31591 Use it to run ld.so.
31592 (test_wrapper_env): Likewise.
31593 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31594 $(test-wrapper) to run-iconv-test.sh.
31595 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31596 (ICONV): Use $test_wrapper.
31597 * posix/Makefile ($(objpfx)globtest.out): Pass
31598 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31599 globtest.sh, not $(run-program-prefix).
31600 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31601 (test_wrapper): Likewise.
31602 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31603 set together with run_via_rtld_prefix.
31604 (run_program_prefix): Define in terms of test_wrapper and
31605 run_via_rtld_prefix.
31606
6e6249d0
RM
316072012-10-24 Roland McGrath <roland@hack.frob.com>
31608
31609 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31610 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31611 Targets removed.
31612
31613 [BZ #14743]
31614 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31615 Declare __clock_getres, __clock_gettime, __clock_settime,
31616 __clock_nanosleep, and __clock_getcpuclockid.
31617 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31618 Remove librt_hidden_def (clock_gettime).
31619 * sysdeps/unix/clock_gettime.c: Likewise.
31620 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31622 * rt/clock_getres.c: Define __clock_getres as an alias.
31623 * sysdeps/posix/clock_getres.c: Likewise.
31624 * rt/clock_settime.c: Define __clock_settime as an alias.
31625 * sysdeps/unix/clock_settime.c: Likewise.
31626 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31627 * sysdeps/unix/clock_nanosleep.c: Likewise.
31628 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31629 * rt/clock-compat.c: New file.
31630 * rt/Makefile (librt-routines): Add clock-compat and move
31631 $(clock-routines) to ...
31632 (routines): ... here, new variable.
31633 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31634 Don't add get_clockfreq here.
31635 * rt/Versions (libc: GLIBC_2.17): New version set.
31636 Add clock_* symbols here.
31637 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31639 (GLIBC_2.17): Add clock_* symbols.
31640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31644 Likewise.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31646 Likewise.
31647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31651 * NEWS: Mention the move.
31652
31653 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31654 Use __open, __read, __close rather than their public counterparts.
31655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31656 (__get_clockfreq_via_cpuinfo): Likewise.
31657 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31658 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31659
31660 * config.h.in (HAVE_IFUNC): New #undef.
31661 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31662 was successful.
31663 * configure: Regenerated.
31664
0cae3f4b
MF
316652012-10-24 Mike Frysinger <vapier@gentoo.org>
31666
31667 * configure.in: Move READELF check to start of file.
31668 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31669 libc_cv_asm_gnu_indirect_function in the process.
31670 * configure: Regenerated.
31671
8175a253
MF
316722012-10-24 Mike Frysinger <vapier@gentoo.org>
31673
31674 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31675 send the output to /dev/null.
31676 (libc_cv_cc_with_libunwind): Likewise.
31677 (libc_cv_as_noexecstack): Likewise.
31678 * configure: Regenerate.
31679
0708a7d1
JM
316802012-10-24 Joseph Myers <joseph@codesourcery.com>
31681
10b40d85
JM
31682 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31683
0708a7d1
JM
31684 * posix/globtest.sh (TMPDIR): Do not set.
31685 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31686 (testout): Likewise.
31687
9fddec1a
AJ
316882012-10-24 Andreas Jaeger <aj@suse.de>
31689
3a8db22f
AJ
31690 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31691 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31692 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31693 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31694 posix_fadvise64, posix_fallocate64.
31695
9fddec1a
AJ
31696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31697 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31698 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31699 Likewise.
31700 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31701 Likewise.
31702 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31703
31704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31705 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31706 <bits/fcntl-linux.h>.
31707 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31708
31709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31710 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31711 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31712 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31713 [__WORDSIZE != 64]: Likewise.
31714
ebfd1bbd
JM
317152012-10-23 Joseph Myers <joseph@codesourcery.com>
31716
03ac099f
JM
31717 * Makeconfig (run-built-tests): New variable.
31718 * Rules [$(cross-compiling) = yes]: Change condition to
31719 [$(run-built-tests) = no].
31720 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31721 to [$(run-built-tests) = yes].
31722 * elf/Makefile [$(cross-compiling) = no]: Likewise
31723 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31724 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31725 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31726 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31727 * io/Makefile [$(cross-compiling) = no]: Likewise.
31728 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31729 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31730 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31731 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31732 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31733 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31734 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31735 * string/Makefile [$(cross-compiling) = no]: Likewise.
31736
ebfd1bbd
JM
31737 * posix/Makefile ($(objpfx)globtest.out): Pass
31738 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31739 $(rtld-installed-name).
31740 * posix/globtest.sh (elf_objpfx): Remove variable.
31741 (rtld_installed_name): Likewise.
31742 (library_path): Likewise.
31743 (run_program_prefix): New variable. Use for running globtest
31744 binary.
31745
166bca24
JB
317462012-10-23 Jim Blandy <jimb@codesourcery.com>
31747 Joseph Myers <joseph@codesourcery.com>
31748
31749 * Makeconfig (host-built-program-cmd): New variable.
31750 * elf/Makefile (tst-stackguard1-ARGS): Use
31751 $(host-built-program-cmd).
31752 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31753 (tst-spawn-ARGS): Likewise.
31754 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31755
88866099
JM
317562012-10-23 Joseph Myers <joseph@codesourcery.com>
31757 Jim Blandy <jimb@codesourcery.com>
31758
31759 * Makeconfig (run-via-rtld-prefix): New variable.
31760 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31761 (built-program-cmd): Likewise.
31762
b4b4c296
AJ
317632012-10-22 Andreas Jaeger <aj@suse.de>
31764
31765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31766 __O_RSYNC if it exists, otherwise to O_SYNC.
31767
6fb54a22
JB
317682012-10-22 Jim Blandy <jimb@codesourcery.com>
31769 Joseph Myers <joseph@codesourcery.com>
31770
31771 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31772 /dev/null.
31773 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31774 from /dev/null
31775 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31776 /dev/null.
31777
481b90b9
AJ
317782012-10-22 Andreas Jaeger <aj@suse.de>
31779
2a0e2669
AJ
31780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31781 Define always.
31782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31783
76e38f9a
AJ
31784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31785 bits/fcntl-linux.h.
31786
7cd37b43
AJ
31787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31788 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31789
481b90b9
AJ
31790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31791 to __O_LARGEFILE.
31792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31793 to __O_LARGEFILE.
31794
aba75984
JB
317952012-10-21 Jim Blandy <jimb@codesourcery.com>
31796 Joseph Myers <joseph@codesourcery.com>
31797
31798 * config.make.in (NM): New variable.
31799
88d4247f
AJ
318002012-10-21 Andreas Jaeger <aj@suse.de>
31801
31802 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31803 definitions and declarations that are provided by
31804 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31805
f2eed205
L
318062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31807
31808 [BZ #14683]
31809 * elf/Makefile (tests-static): Add tst-leaks1-static.
31810 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31811 ($(objpfx)tst-leaks1-static): New rule.
31812 ($(objpfx)tst-leaks1-static-mem): Likewise.
31813 (tst-leaks1-static-ENV): New macro.
31814 * elf/dl-open.c (dl_open_worker): Check the main application
31815 only if SHARED is defined.
31816 * elf/tst-leaks1-static.c: New file.
31817
335e6931
AJ
318182012-10-20 Andreas Jaeger <aj@suse.de>
31819
31820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31821 generic values for Linux.
31822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31823 and declarations that are provided by <bits/fcntl-linux.h> and
31824 include <bits/fcntl-linux.h>.
31825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31827
ac5c94d3
RM
318282012-10-20 Roland McGrath <roland@hack.frob.com>
31829
31830 * io/fcntl.h: Move include of <bits/types.h> to the top and
31831 include it unconditionally.
31832
de54b33a
L
318332012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31834
228cfb01
L
31835 * wcsmbs/Makefile (tests-ifunc): New variable.
31836 (tests): Add $(tests-ifunc).
31837 * wcsmbs/test-wcschr-ifunc.c: New file.
31838 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31839 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31840 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31841 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31842 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31843
69f07e5f
L
31844 * string/Makefile (tests-ifunc): New variable.
31845 (tests): Add $(tests-ifunc).
31846 * string/test-memccpy.c (TEST_NAME): New macro.
31847 * string/test-memchr.c (TEST_NAME): Likewise.
31848 * string/test-memcmp.c (TEST_NAME): Likewise.
31849 * string/test-memcpy.c (TEST_NAME): Likewise.
31850 * string/test-memmem.c (TEST_NAME): Likewise.
31851 * string/test-memmove.c (TEST_NAME): Likewise.
31852 * string/test-memset.c (TEST_NAME): Likewise.
31853 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31854 * string/test-stpcpy.c (TEST_NAME): Likewise.
31855 * string/test-stpncpy.c (TEST_NAME): Likewise.
31856 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31857 * string/test-strcasestr.c (TEST_NAME): Likewise.
31858 * string/test-strcat.c (TEST_NAME): Likewise.
31859 * string/test-strchr.c (TEST_NAME): Likewise.
31860 * string/test-strcmp.c(TEST_NAME): Likewise.
31861 * string/test-strcpy.c (TEST_NAME): Likewise.
31862 * string/test-strcspn.c (TEST_NAME): Likewise.
31863 * string/test-strlen.c (TEST_NAME): Likewise.
31864 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31865 * string/test-strncmp.c (TEST_NAME): Likewise.
31866 * string/test-strncpy.c (TEST_NAME): Likewise.
31867 * string/test-strnlen.c (TEST_NAME): Likewise.
31868 * string/test-strpbrk.c (TEST_NAME): Likewise.
31869 * string/test-strrchr.c (TEST_NAME): Likewise.
31870 * string/test-strspn.c (TEST_NAME): Likewise.
31871 * string/test-strstr.c (TEST_NAME): Likewise.
31872 * string/test-bcopy-ifunc.c: New file.
31873 * string/test-bzero-ifunc.c: Likewise.
31874 * string/test-memccpy-ifunc.c: Likewise.
31875 * string/test-memchr-ifunc.c: Likewise.
31876 * string/test-memcmp-ifunc.c: Likewise.
31877 * string/test-memcpy-ifunc.c: Likewise.
31878 * string/test-memmem-ifunc.c: Likewise.
31879 * string/test-memmove-ifunc.c: Likewise.
31880 * string/test-mempcpy-ifunc.c: Likewise.
31881 * string/test-memset-ifunc.c: Likewise.
31882 * string/test-rawmemchr-ifunc.c: Likewise.
31883 * string/test-stpcpy-ifunc.c: Likewise.
31884 * string/test-stpncpy-ifunc.c: Likewise.
31885 * string/test-strcasecmp-ifunc.c: Likewise.
31886 * string/test-strcasestr-ifunc.c: Likewise.
31887 * string/test-strcat-ifunc.c: Likewise.
31888 * string/test-strchr-ifunc.c: Likewise.
31889 * string/test-strchrnul-ifunc.c: Likewise.
31890 * string/test-strcmp-ifunc.c: Likewise.
31891 * string/test-strcpy-ifunc.c: Likewise.
31892 * string/test-strcspn-ifunc.c: Likewise.
31893 * string/test-strlen-ifunc.c: Likewise.
31894 * string/test-strncasecmp-ifunc.c: Likewise.
31895 * string/test-strncat-ifunc.c: Likewise.
31896 * string/test-strncmp-ifunc.c: Likewise.
31897 * string/test-strncpy-ifunc.c: Likewise.
31898 * string/test-strnlen-ifunc.c: Likewise.
31899 * string/test-strpbrk-ifunc.c: Likewise.
31900 * string/test-strrchr-ifunc.c: Likewise.
31901 * string/test-strspn-ifunc.c: Likewise.
31902 * string/test-strstr-ifunc.c: Likewise.
31903
de54b33a
L
31904 * debug/Makefile (tests-ifunc): New variable.
31905 (tests): Add $(tests-ifunc).
31906 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31907 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31908 * debug/test-stpcpy_chk-ifunc.c: New file.
31909 * debug/test-strcpy_chk-ifunc.c: Likewise.
31910
88481c16
SP
319112012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31912
31913 [BZ #13601]
31914 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31915 header is not read in.
31916
135948bd
JM
319172012-10-19 Joseph Myers <joseph@codesourcery.com>
31918
89f1c388
JM
31919 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31920 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31921 directly. Pass built executable to script as
31922 $(built-program-cmd).
31923 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31924 $testprogram without using LD_LIBRARY_PATH and $ldso.
31925
e40a0d21
JM
31926 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31927 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31928 $(rtld-installed-name).
31929 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31930 (rtld_installed_name): Likewise.
31931 (library_path): Likewise.
31932 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31933 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31934 $(run-program-prefix) to tst-tables.sh.
31935 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31936 it to run tst-table-from and tst-table-to.
31937 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31938 Pass it to tst-table.sh.
31939 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31940 $(run-program-prefix) to tst-gettext.sh.
31941 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31942 tst-translit.sh.
31943 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31944 tst-gettext2.sh.
31945 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31946 to run tst-gettext.
31947 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31948 to run tst-gettext2.
31949 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31950 to run tst-translit.
31951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31952 $(run-program-prefix) to tst-mtrace.sh.
31953 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31954 to run tst-mtrace.
31955 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31956 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31957 $(rtld-installed-name).
31958 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31959 (rtld_installed_name): Likewise.
31960 (run_program_prefix): New variable. Use it to run wordexp-test.
31961
728e272a
JM
31962 * Makeconfig (ARCH): Remove all definitions.
31963 (machine): Likewise.
31964 [ARCH]: Remove conditional code.
31965 [!objdir]: Give error.
31966 [!objdir] (objpfx): Remove.
31967 [!objdir] (common-objpfx): Likewise.
31968 [!objdir] (common-objdir): Likewise.
31969 * configure.in (config_makefile): Remove. Hardcode Makefile in
31970 AC_CONFIG_FILES call.
31971 * configure: Regenerated.
31972
d528cdcf
JM
31973 [BZ #13888]
31974 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31975 or TMPDIR.
31976 (testout): Likewise.
31977
135948bd
JM
31978 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31979 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31980 $(rtld-installed-name).
31981 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31982 (rtld_installed_name): Likwise.
31983 (runit): Remove function.
31984 (run_getconf): New variable, Use it for running getconf binary.
31985
38c78296
L
319862012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31987
31988 [BZ #14716]
31989 * string/test-memmem.c (check_result): New function.
31990 (do_one_test): Use it.
31991 (check1): New function.
31992 (test_main): Use it.
31993
d077f65f
MT
319942012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31995
31996 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31997
ced52c71
JM
319982012-10-18 Joseph Myers <joseph@codesourcery.com>
31999
32000 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32001 (_G_LSEEK64): Likewise.
32002 (_G_MMAP64): Likewise.
32003 (_G_FSTAT64): Likewise.
32004 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32005 (_G_LSEEK64): Likewise.
32006 (_G_MMAP64): Likewise.
32007 (_G_FSTAT64): Likewise.
32008 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32009 unconditional. Call __mmap64 directly.
32010 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32011 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32012 __lseek64 directly.
32013 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32014 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32015 __mmap64 directly.
32016 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32017 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32018 __lseek64 directly.
32019 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32020 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32021 __lseek64 directly.
32022 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32023 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32024 __lseek64 directly.
32025 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32026 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32027 __fxstat64 directly.
32028 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32029 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32030 unconditional.
32031 (freopen64) [!_G_OPEN64]: Remove conditional code.
32032 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32033 unconditional.
32034 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32035 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32036 unconditional.
32037 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32038 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32039 unconditional.
32040 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32041 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32042 unconditional.
32043 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32044 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32045 unconditional.
32046 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32047 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32048 unconditional.
32049 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32050 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32051 unconditional.
32052 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32053
b741de23
SP
320542012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32055
32056 [BZ #12140]
32057 * manual/memory.texi (Malloc Tunable Parameters): Add note
32058 about free list pointers overwriting some perturb bytes.
32059 Wording suggested by Roland McGrath.
32060
f9b9d9c9
JM
320612012-10-17 Joseph Myers <joseph@codesourcery.com>
32062
32063 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32064 (lgamma_test): Likewise.
32065 (tgamma_test): Likewise.
32066
172a631a
FW
320672012-10-16 Florian Weimer <fweimer@redhat.com>
32068
32069 [BZ #14700]
32070 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32071 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32072
e9f37252
MK
320732012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32074
32075 * NEWS: Mention BZ #14716.
32076 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32077 when removing AVAILABLE1_USES_J macro.
32078
d394eb74
L
320792012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32080
32081 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32082 (__bswap_64): __uint64_t for unsigned 64-bit int.
32083
ca38dc17
AS
320842012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32085
32086 * include/string.h (memmem): Declare libc hidden alias.
32087 * string/memmem.c (memmem): Define libc hidden alias.
32088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32089 __read, __close instead of open, read, close.
32090
9a387d1f
L
320912012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32092
ac49ecaf
L
32093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32094 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32095 global and hidden.
32096 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32097 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32098 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32099 Likewise.
32100 (__rawmemchr_sse2): Likewise.
32101 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32102 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32103 (__strchr_sse2): Likewise.
32104 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32105 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32106 (__strcasecmp_sse2): Likewise.
32107 (__strncasecmp_sse2): Likewise.
32108 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32109 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32110 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32111 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32112 (__strrchr_sse2): Likewise.
32113 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32114 ifunc-impl-list.c.
32115 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32116 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32117 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32118 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32119 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32120 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32121 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32122 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32123 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32124 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32125 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32126 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32127 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32128 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32129 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32130 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32131 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32132 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32133 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32134 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32135 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32136 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32137 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32138 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32139 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32140 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32141 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32142 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32143 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32144 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32145
b090e8ea
L
32146 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32147 global and hidden.
32148 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32149 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32150 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32151 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32152 Likewise.
32153 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32154 Likewise.
32155 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32156 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32157 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32158 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32159 ifunc-impl-list.c.
32160 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32161 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32162 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32163 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32164 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32165 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32166 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32167 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32168 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32169 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32170 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32171 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32172 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32174 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32176 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32177 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32178 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32179 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32180 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32181 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32182 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32183 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32184 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32185 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32186 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32187 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32188 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32189 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32190 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32191 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32192 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32193 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32194 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32195 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32196 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32197 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32198 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32199 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32200 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32201
11dd4af6
L
32202 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32203 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32204 * include/ifunc-impl-list.h: New file.
32205 * misc/ifunc-impl-list.c: Likewise.
32206 * misc/Makefile (routines): Add ifunc-impl-list.
32207 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32208 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32209 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32210 TEST_NAME]: New variables.
11dd4af6
L
32211 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32212 are defined.
32213 (test_init): Call __libc_ifunc_impl_list to initialize
32214 func_list if TEST_IFUNC and TEST_NAME are defined.
32215
9a387d1f
L
32216 * string/Makefile (strop-tests): Add bcopy and bzero.
32217 * string/test-bcopy.c: New file.
32218 * string/test-bzero.c: Likewise.
32219 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32220 defined.
32221 * string/test-memset.c: Support bzero test if TEST_BZERO is
32222 defined.
32223 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32224 __libc_memmove.
32225 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32226 __libc_memset.
32227 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32228 of memset.
32229
472371b9
JM
322302012-10-10 Joseph Myers <joseph@codesourcery.com>
32231
1e4a9536
JM
32232 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32233 * configure: Regenerated.
32234
d173d12e
JM
32235 * Makeconfig (+link-static-before-libc): Don't include
32236 $(link-static-libc).
32237
472371b9
JM
32238 * libio/libio.h (_IO_pos_t): Remove.
32239
89a3ad0b
AO
322402012-10-10 Alexandre Oliva <aoliva@redhat.com>
32241
32242 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32243 McGrath.
32244
e7451425
AO
322452012-10-10 Alexandre Oliva <aoliva@redhat.com>
32246
32247 * crypt/crypt-entry.c: Include fips-private.h.
32248 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32249 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32250 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32251 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32252
4ba74a35
AO
322532012-10-10 Alexandre Oliva <aoliva@redhat.com>
32254
32255 * crypt/crypt-private.h: Include stdbool.h.
32256 (_ufc_setup_salt_r): Return bool.
32257 * crypt/crypt-entry.c: Include errno.h.
32258 (__crypt_r): Return NULL with EINVAL for bad salt.
32259 * crypt/crypt_util.c (bad_for_salt): New.
32260 (_ufc_setup_salt_r): Check that salt is long enough and within
32261 the specified alphabet.
32262 * crypt/badsalttest.c: New file.
32263 * crypt/Makefile (tests): Add it.
32264 ($(objpfx)badsalttest): New.
32265
f96f1242
MK
322662012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32267
32268 * NEWS: Add entry for BZ #14602.
32269
0e8e0c1c
JM
322702012-10-09 Joseph Myers <joseph@codesourcery.com>
32271
32272 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32273 type-generic.
32274 * math/libm-test.inc: Update comment listing what functions and
32275 macros are tested.
32276 (isgreater_test): New function.
32277 (isgreaterequal_test): Likewise.
32278 (isless_test): Likewise.
32279 (islessequal_test): Likewise.
32280 (islessgreater_test): Likewise.
32281 (isunordered_test): Likewise.
32282 (main): Call the new functions.
32283
273edc5e
RM
322842012-10-09 Roland McGrath <roland@hack.frob.com>
32285
b8493de0
RM
32286 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32287 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32288 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32289 * sysdeps/i386/configure: Regenerated.
32290 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32291 * sysdeps/mach/configure: Regenerated.
32292 * sysdeps/mach/hurd/configure: Regenerated.
32293 * sysdeps/powerpc/configure: Regenerated.
32294 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32295 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32296 * sysdeps/s390/s390-32/configure: Regenerated.
32297 * sysdeps/s390/s390-64/configure: Regenerated.
32298 * sysdeps/sh/configure: Regenerated.
32299 * sysdeps/sparc/configure: Regenerated.
32300 * sysdeps/unix/sysv/linux/configure: Regenerated.
32301 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32302 * sysdeps/x86_64/configure: Regenerated.
32303
273edc5e
RM
32304 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32305 defined. Don't check if MAP is NULL.
32306
c8450f70
JM
323072012-10-09 Joseph Myers <joseph@codesourcery.com>
32308
32309 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32310 (_G_stat64): Likewise.
32311 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32312 (_G_stat64): Likewise.
32313 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32314 instead of struct _G_stat64.
32315 * libio/fileops.c (mmap_remap_check): Likewise.
32316 (decide_maybe_mmap): Likewise.
32317 (_IO_new_file_seekoff): Likewise.
32318 (_IO_file_stat): Likewise.
32319 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32320 _G_off64_t.
32321 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32322 instead of struct _G_stat64.
32323 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32324
57e605ba
MK
323252012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32326
32327 [BZ #14602]
32328 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32329 Replace with ...
32330 (CHECK_EOL): New macro.
32331 (two_way_short_needle): Check beginning of haystack for EOL. Use
32332 CHECK_EOL.
32333 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32334 Replace with CHECK_EOL.
32335 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32336 Replace with CHECK_EOL.
32337
ef1bb361
JM
323382012-10-08 Joseph Myers <joseph@codesourcery.com>
32339
32340 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32341 type-generic.
32342 * math/libm-test.inc: Update comment listing what functions and
32343 macros are tested.
32344 (finite_test): New function.
32345 (isinf_test): Likewise.
32346 (isnan_test): Likewise.
32347 (fpclassify_test): Test subnormal input.
32348 (isfinite_test): Likewise.
32349 (isnormal_test): Likewise.
32350 (main): Call the new functions.
32351
55f11534
JN
323522012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32353
32354 [BZ #14660]
32355 * Makerules (%.dynsym): Force C locale when running
32356 $(OBJDUMP) --dynamic-syms.
32357
1ab29350
AS
323582012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32359
32360 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32361 <stdint.h>.
32362
f1ecb7ef
DM
323632012-10-06 David S. Miller <davem@davemloft.net>
32364
32365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32366 upper 32-bits of the length value in %o2 since we use branch-on-register
32367 tests which consider the entire 64-bit register.
32368
5d41d91a
L
323692012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 * string/test-strstr.c (check2): Add a test for page boundary.
32372
3baddb72
DM
323732012-10-05 David S. Miller <davem@davemloft.net>
32374
32375 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32376 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32377 file.
32378 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32379 sysdep_routines.
32380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32381 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32382 and bzero when HWCAP_SPARC_CRYPTO is present.
32383
9cee5585
L
323842012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32385
d7e0dab9
L
32386 [BZ #14602]
32387 * string/test-strstr.c (check2): New function.
32388 (test_main): Call check2.
32389
03759f47
L
32390 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32391 and bug-strchr1.
32392 * string/bug-strcasestr1.c (do_test): Moved to ...
32393 * string/test-strcasestr.c (check1): Here. New function.
32394 (do_one_test): Break out result checking code into ...
32395 (check_result): This. New function.
32396 (do_one_test): Call check_result.
32397 (test_main): Call check1.
32398 * string/bug-strchr1.c (do_test): Moved to ...
32399 * string/test-strchr.c (check1): Here. New function.
32400 (do_one_test): Break out result checking code into ...
32401 (check_result): This. New function.
32402 (do_one_test): Call check_result.
32403 (test_main): Call check1.
32404 * string/bug-strstr1.c (main): Moved to ...
046f153e 32405 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32406 (do_one_test): Break out result checking code into ...
32407 (check_result): This. New function.
32408 (do_one_test): Call check_result.
32409 (test_main): Call check1.
32410 * string/bug-strcasestr1.c: Removed.
32411 * string/bug-strchr1.c: Likewise.
32412 * string/bug-strstr1.c: Likewise.
32413
53cea63e
L
32414 * elf/Makefile (dl-routines): Add hwcaps.
32415 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32416 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32417 (_dl_important_hwcaps): Moved to ...
32418 * elf/dl-hwcaps.c: Here. New file.
32419 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32420
9cee5585 32421 [BZ #14557]
bb859b06
L
32422 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32423 if IS_IN_rtld isn't defined.
32424
9cee5585
L
32425 * elf/dl-support.c (_dl_sysinfo_map): New.
32426 Include "get-dynamic-info.h" and "setup-vdso.h".
32427 (_dl_non_dynamic_init): Call setup_vdso.
32428 * elf/dynamic-link.h: Don't include <assert.h>.
32429 (elf_get_dynamic_info): Moved to ...
32430 * elf/get-dynamic-info.h: Here. New file.
32431 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32432 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32433 * elf/setup-vdso.h: Here. New file.
32434 * elf/rtld.c: Include "setup-vdso.h".
32435 (dl_main): Call setup_vdso.
32436
23c31b76
JM
324372012-10-05 Joseph Myers <joseph@codesourcery.com>
32438
28234b07
JM
32439 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32440 creal in comment listing functions tested. List finite, isinf,
32441 isnan, isless, islessequal, isgreater, isgreaterequal,
32442 islessgreater, isunordered, lgamma_r and pow10 as functions and
32443 macros not tested. Mention which functions not tested are aliases
32444 for other functions. Fix typo. Note that signs of NaNs are not
32445 tested.
32446
23c31b76
JM
32447 * scripts/config.guess: Update from config.git.
32448 * scripts/config.sub: Likewise.
32449
9043e228
RM
324502012-10-04 Roland McGrath <roland@hack.frob.com>
32451
32452 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32453 * misc/madvise.c (madvise): Renamed to __madvise.
32454 Make madvise a weak alias.
32455 * include/sys/mman.h: Declare __madvise.
32456 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32457 * sysdeps/unix/syscalls.list
32458 (madvise): Make __madvise the strong name, and madvise a weak alias.
32459 * sysdeps/unix/sysv/linux/syscalls.list
32460 (madvise, mmap): Remove redundant entries.
32461 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32462 * malloc/malloc.c (mtrim): Likewise.
32463 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32464
f57f8055
RM
324652012-10-03 Roland McGrath <roland@hack.frob.com>
32466
32467 * sysdeps/mach/hurd/dl-cache.c: File removed.
32468 * config.h.in (USE_LDCONFIG): New #undef.
32469 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32470 * configure: Regenerated.
32471 * elf/Makefile (dl-routines): Add dl-cache only under
32472 [$(use-ldconfig) = yes].
32473 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32474 cache on [USE_LDCONFIG].
32475 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32476 [USE_LDCONFIG].
32477 * elf/rtld.c (dl_main): Likewise.
32478
5bb0c10a
PT
324792012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32480
32481 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32482 _SC_LEVEL4_CACHE_LINESIZE.
32483
010188c6
RM
324842012-10-03 Roland McGrath <roland@hack.frob.com>
32485
32486 * sysdeps/unix/bsd/confstr.h: File removed.
32487
b6c5ec07
AO
324882012-10-02 Alexandre Oliva <aoliva@redhat.com>
32489
32490 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32491 sys/sdt-config.h.
32492
408223d4
RM
324932012-10-02 Roland McGrath <roland@hack.frob.com>
32494
32495 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32496 Make 'mapoff' field ElfW(Off) rather than off_t.
32497
bb9510dc
DL
324982012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32499
fc997c6e
DL
32500 * nscd/Makefile: Remove nscd-cflags and all its users.
32501 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32502 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32503
bb9510dc
DL
32504 [BZ #10631]
32505 * malloc.c (malloc_printerr): Clarify error message.
32506
05699367
L
325072012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 [BZ #14648]
32510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32511 Set bit_FMA_Usable if FMA is supported.
32512 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32513 macro.
32514 (bit_FMA4_Usable): Updated.
32515 (index_FMA_Usable): New macro.
32516 (CPUID_FMA): Likewise
32517 (HAS_FMA): Defined with bit_FMA_Usable.
32518
51367701
RM
325192012-10-01 Roland McGrath <roland@hack.frob.com>
32520
32521 * bits/types.h (__swblk_t): Type removed.
32522 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32523 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32525 (__SWBLK_T_TYPE): Likewise.
32526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32527 (__SWBLK_T_TYPE): Likewise.
32528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32529 (__SWBLK_T_TYPE): Likewise.
32530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32531 (__SWBLK_T_TYPE): Likewise.
32532
4d57bf63 325332012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32534 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32535
32536 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32537 (xdr_mapname): Use YPMAXMAP as maxsize.
32538 (xdr_peername): Use YPMAXPEER as maxsize.
32539 (xdr_keydat): Use YPAXRECORD as maxsize.
32540 (xdr_valdat): Use YPMAXRECORD as maxsize.
32541
93c65d43
RM
325422012-10-01 Roland McGrath <roland@hack.frob.com>
32543
497a03d6
RM
32544 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32545
93c65d43
RM
32546 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32547 * csu/init-first.c: ... here.
32548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32549 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32550 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32551 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32552 * sysdeps/i386/init-first.c: File removed.
32553 * sysdeps/sh/init-first.c: File removed.
32554
bec749fd
JM
325552012-10-01 Joseph Myers <joseph@codesourcery.com>
32556
32557 [BZ #14645]
32558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32559 if x * y might underflow to zero and z is zero.
32560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32561 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32562 * math/libm-test.inc (min_subnorm_value): New variable.
32563 (fma_test): Add more tests.
32564 (fma_test_towardzero): Likewise.
32565 (fma_test_downward): Likewise
32566 (fma_test_upward): Likewise.
32567 (initialize): Set min_subnorm_value.
32568
8ec5b013
JM
325692012-09-29 Joseph Myers <joseph@codesourcery.com>
32570
32571 [BZ #14638]
32572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32573 0 + 0.
32574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32575 mode for addition resulting in exact zero.
32576 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32578 exact 0 + 0.
32579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32581 * math/libm-test.inc (fma_test): Add more tests.
32582 (fma_test_towardzero): New function.
32583 (fma_test_downward): Likewise.
32584 (fma_test_upward): Likewise.
32585 (main): Call the new functions.
32586
b1fa802e
DM
325872012-09-28 David S. Miller <davem@davemloft.net>
32588
32589 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32590
d3b9fd9e
RM
325912012-09-28 Roland McGrath <roland@hack.frob.com>
32592
ea4d37b3
RM
32593 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32594 instead of SIGALRM.
32595
ac51c949
RM
32596 * sysdeps/gnu/_G_config.h: Moved to ...
32597 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32598 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32599 * sysdeps/generic/_G_config.h: ... here.
32600
28c195f7
RM
32601 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32602
848917f9
RM
32603 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32604
6bacf05b
RM
32605 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32606 Conditionalize target on [libnss_test1.so-version].
32607
91363dbb
RM
32608 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32609
cc87f7d8
RM
32610 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32611 (elfobjdir): Move out of conditionals.
32612
b1c608fe
RM
32613 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32614 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32615 (__nss_lookup_function): Conditionalize label remove_from_tree on
32616 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32617
1d9a6d96
DM
326182012-09-28 David S. Miller <davem@davemloft.net>
32619
32620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32622 file.
32623 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32624 sysdep_routines.
32625 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32627 when HWCAP_SPARC_CRYPTO is present.
32628
72581615
PT
326292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32630
32631 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32632
715a900c
JL
326332012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32634
32635 [BZ #6530]
32636 * stdio-common/vfprintf.c (process_string_arg): Revert
32637 2000-07-22 change.
32638
326392011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32640
32641 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32642 for testcase.
32643 * stdio-common/tst-sprintf.c: Include <locale.h>
32644 (main): Test sprintf's handling of incomplete multibyte
32645 characters.
32646
9bac1d86
L
326472012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32648
32649 * elf/dl-runtime.c (VERSYMIDX): Removed.
32650 * elf/dl-version.c (VERSYMIDX): Likewise.
32651 * elf/do-rel.h (VERSYMIDX): Likewise.
32652 (VALIDX): Likewise.
32653 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32654 * elf/rtld.c (VALIDX): Likewise.
32655 (ADDRIDX): Likewise.
9bac1d86
L
32656 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32657 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32658 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32659 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32660 (VALIDX): Likewise.
32661 (ADDRIDX): Likewise.
9bac1d86 32662
b31606c0
PT
326632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32664
32665 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32666
11541177
JL
326672012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32668
32669 [BZ #11438]
32670 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32671 to global scope.
32672 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32673 addresses are in the same scope as 192.0.2/24.
32674 * posix/gai.conf: Document new scope table defaults.
32675
adb26fae
SP
326762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32677
32678 [BZ #5298]
32679 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32680 for ftell. Compute offsets from write pointers instead.
32681 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32682
4573c6b0
SP
326832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32684
32685 [BZ #14543]
32686 * libio/Makefile (tests): New test case tst-fseek.
32687 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32688 combination works in wide mode.
32689 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32690 state when the external buffer state changes.
32691
aa9bbfe6
DM
326922012-09-27 David S. Miller <davem@davemloft.net>
32693
32694 [BZ #14376]
32695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32696 pass reloc->r_addend in as the 'high' argument to
32697 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32698
784421e7
DM
32699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32700
c39bc8b8
PT
327012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32702
32703 * rt/tst-aio2.c: Include <pthread.h>.
32704 * rt/tst-aio3.c: Likewise.
32705
1ccc2399
SE
327062012-09-27 Steve Ellcey <sellcey@mips.com>
32707
32708 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32709
31ed4153
L
327102012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32711
25f5f885
L
32712 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32713 contents on [SHARED].
31ed4153 32714
b7bfe116
MP
327152012-09-26 Marek Polacek <polacek@redhat.com>
32716
32717 [BZ #14530]
32718 [BZ #13741]
32719 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32720 for C++ and GCC <4.3 as well as for non GCC compilers.
32721
43c4edba
MT
327222012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32723
32724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32725
6a1bf82f
RM
327262012-09-25 Roland McGrath <roland@hack.frob.com>
32727
32728 * Makefile.in (all, install): Declare with .PHONY.
32729 Reported by Michael Hope <michael.hope@linaro.org>.
32730
8ad11b9a
TMQMF
327312012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32732
32733 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32734 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32735 system header.
32736 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32737 Likewise.
32738 (sydep_routines): Add the new and the internal functions.
32739 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32740 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32742 (GLIBC_2.17): Add the new function.
32743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32744 (GLIBC_2.17): Likewise.
32745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32746 (GLIBC_2.17): Likewise.
32747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32748 (GLIBC_2.17): Likewise.
32749 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32750
7e2fca8d
AM
327512012-09-25 Alan Modra <amodra@gmail.com>
32752
32753 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32754 Add release barrier before setting once_control to say
32755 initialisation is done. Add hints on lwarx. Use macro in
32756 place of isync.
32757 (clear_once_control): Add release barrier.
32758
b87c4b24
JM
327592012-09-25 Joseph Myers <joseph@codesourcery.com>
32760
d032e0d2
JM
32761 [BZ #13629]
32762 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32763 specially.
32764 * math/s_clog10.c (__clog10): Likewise.
32765 * math/s_clog10f.c (__clog10f): Likewise.
32766 * math/s_clog10l.c (__clog10l): Likewise.
32767 * math/s_clogf.c (__clogf): Likewise.
32768 * math/s_clogl.c (__clogl): Likewise.
32769 * math/Makefile (libm-calls): Add x2y2m1.
32770 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32771 (__x2y2m1): Likewise.
32772 (__x2y2m1l): Likewise.
32773 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32774 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32779 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32780 * sysdeps/i386/fpu/libm-test-ulps: Update.
32781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32782
b87c4b24
JM
32783 [BZ #14621]
32784 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32785 int as type of variable DEPTH.
32786 (glob): Use size_t instead of int as type of variables NEWCOUNT
32787 and OLD_PATHC.
32788
6d3bf199
LD
327892012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32790
22bf5c17
LD
32791 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32792 Add s_sincosf-sse2.
32793 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32794 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32795 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32796 macros for using routine as __sincosf_ia32.
32797 Use macro for function declaration and weak_alias.
32798 * sysdeps/i386/fpu/libm-test-ulps: Update.
32799
32800 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32802
32803 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32804 subnormal argument.
32805 * math/s_cexpf.c (__cexpf): Likewise.
32806 * math/s_csinf.c (__csinf): Likewise.
32807 * math/s_csinhf.c (__csinhf): Likewise.
32808 * math/s_ctanf.c (__ctanf): Likewise.
32809 * math/s_ctanhf.c (__ctanhf): Likewise.
32810 * math/s_ccosh.c (__ccoshf): Likewise.
32811 * math/s_cexp.c (__cexpl): Likewise.
32812 * math/s_csin.c (__csin): Likewise.
32813 * math/s_csinh.c (__csinh): Likewise.
32814 * math/s_ctan.c (__ctan): Likewise.
32815 * math/s_ctanh.c (ctanh): Likewise.
32816 * math/s_ccoshl.c (__ccoshl): Likewise.
32817 * math/s_cexpl.c (__cexpl): Likewise.
32818 * math/s_csinl.c (__csinl): Likewise.
32819 * math/s_csinhl.c (__csinhl): Likewise.
32820 * math/s_ctanl.c (__ctanl): Likewise.
32821 * math/s_ctanhl.c (__ctanhl): Likewise.
32822
203e5603
JM
328232012-09-25 Joseph Myers <joseph@codesourcery.com>
32824
32825 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32826 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32827 (_IO_off_t): Define to __off_t, not _G_off_t.
32828 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32829 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32830 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32831 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32832 type of __dummy and __dummy2 fields.
32833 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32834 (_G_ssize_t): Likewise.
32835 (_G_off_t): Likewise.
32836 (_G_pid_t): Likewise.
32837 (_G_uid_t): Likewise.
32838 (_G_wchar_t): Likewise.
32839 (_G_wint_t): Likewise.
32840 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32841 (_G_ssize_t): Likewise.
32842 (_G_off_t): Likewise.
32843 (_G_pid_t): Likewise.
32844 (_G_uid_t): Likewise.
32845 (_G_wchar_t): Likewise.
32846 (_G_wint_t): Likewise.
32847 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32848 (_G_ssize_t): Likewise.
32849 (_G_off_t): Likewise.
32850 (_G_pid_t): Likewise.
32851 (_G_uid_t): Likewise.
32852 (_G_wchar_t): Likewise.
32853 (_G_wint_t): Likewise.
32854
9fab36eb
SP
328552012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32856
32857 * malloc/arena.c: Include malloc-sysdep.h.
32858 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32859 is sufficient to shrink the heap or an unmap is needed.
32860 * sysdeps/generic/malloc-sysdep.h: New file. Define
32861 new function check_may_shrink_heap.
32862 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32863 new function check_may_shrink_heap.
32864
2b4f00d1
SP
328652012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32866
32867 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32868 comments.
32869
9a9028b1
DL
328702012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32871
57c69bef
DL
32872 * catgets/test-gencat.sh: Add "set -e".
32873 * elf/tst-pathopt.sh: Likewise.
32874 * grp/tst_fgetgrent.sh: Likewise.
32875 * iconvdata/run-iconv-test.sh: Likewise.
32876 * intl/tst-gettext.sh: Likewise.
32877 * intl/tst-gettext2.sh: Likewise.
32878 * intl/tst-gettext4.sh: Likewise.
32879 * intl/tst-gettext6.sh: Likewise.
32880 * intl/tst-translit.sh: Likewise.
32881 * io/ftwtest-sh: Likewise.
32882 * libio/test-freopen.sh: Likewise.
32883 * malloc/tst-mtrace.sh: Likewise.
32884 * posix/globtest.sh: Likewise.
32885 * posix/tst-getconf.sh: Likewise.
32886 * posix/wordexp-tst.sh: Likewise.
32887 * stdio-common/tst-printf.sh: Likewise.
32888 * stdio-common/tst-unbputc.sh: Likewise.
32889 * stdlib/tst-fmtmsg.sh: Likewise.
32890 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32891 * catgets/Makefile: Do not specify -e option when running
32892 testsuite shell scripts.
32893 * elf/Makefile: Likewise.
32894 * grp/Makefile: Likewise.
32895 * iconvdata/Makefile: Likewise.
32896 * intl/Makefile: Likewise.
32897 * io/Makefile: Likewise.
32898 * libio/Makefile: Likewise.
32899 * malloc/Makefile: Likewise.
32900 * posix/Makefile: Likewise.
32901 * stdio-common/Makefile: Likewise.
32902 * stdlib/Makefile: Likewise.
32903 * sysdeps/x86_64/Makefile: Likewise.
32904
9a9028b1
DL
32905 * io/ftwtest-sh: Add copyright header.
32906 * posix/globtest.sh: Likewise.
32907 * posix/tst-getconf.sh: Likewise.
32908 * posix/wordexp-tst.sh: Likewise.
32909 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32910
ced6f16e
L
329112012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32912
94b32c39
L
32913 [BZ #13679]
32914 * Makeconfig (+link): Defined as $(+link-static) if
32915 $(build-shared) isn't yes.
32916 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32917 isn't yes.
32918 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32919
189e935b
L
32920 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32921
ced6f16e
L
32922 [BZ #14562]
32923 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32924 new chunk size with MALLOC_ALIGN_MASK.
32925
a9f8e53a
JM
329262012-09-24 Joseph Myers <joseph@codesourcery.com>
32927
32928 [BZ #5044]
32929 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32930 <rounding-mode.h>.
32931 (__printf_fphex): Determine rounding using get_rounding_mode and
32932 round_away.
32933 * stdio-common/tst-printf-round.c (struct hex_test): New
32934 structure.
32935 (hex_tests): New variable.
32936 (test_hex_in_one_mode): New function.
32937 (do_test): Also run tests for hex float output.
32938
43153109
JM
329392012-09-21 Joseph Myers <joseph@codesourcery.com>
32940
32941 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32942 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32943 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32944 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32945 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32946 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32947 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32948 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32949
8a26625d
JM
329502012-09-20 Joseph Myers <joseph@codesourcery.com>
32951
32952 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32953 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32954 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32955 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32956
f3fd569c
DL
329572012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32958
32959 [BZ #14579]
32960 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32961 mode only.
32962 * elf/tst-rtld-load-self.sh: New test.
32963 * elf/Makefile: Run it.
32964
63bbedd4
JM
329652012-09-18 Joseph Myers <joseph@codesourcery.com>
32966
32967 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32968 (tst-writev-ENV): Remove.
32969 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32970
626f8b6a
CM
329712012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32972
32973 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32974
b7aaa4d6
JM
329752012-09-17 Joseph Myers <joseph@codesourcery.com>
32976
32977 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32978 unconditional.
32979 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32980 Likewise.
32981 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32982 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32983 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32984 Likewise.
32985
65513990
L
329862012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32987
32988 [BZ #14587]
32989 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32990 * config.make.in (have-cpp-asm-debuginfo): Removed.
32991 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32992 * configure: Regenerated.
32993
784761be
JM
329942012-09-14 Joseph Myers <joseph@codesourcery.com>
32995
32996 [BZ #5044]
32997 * stdio-common/printf_fp.c: Include <stdbool.h> and
32998 <rounding-mode.h>.
32999 (___printf_fp): Determine rounding using get_rounding_mode and
33000 round_away.
33001 * stdio-common/tst-printf-round.c: New file.
33002 * stdio-common/Makefile (tests): Add tst-printf-round.
33003 (link-libm): New variable.
33004 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33005
9503345f
L
330062012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33007
33008 [BZ #14576]
33009 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33010 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33011 Likewise.
33012 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33013 Likewise.
33014
ad35fc00
JM
330152012-09-13 Joseph Myers <joseph@codesourcery.com>
33016
33017 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33018 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33019 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33021
6c9b0f68
JM
330222012-09-12 Joseph Myers <joseph@codesourcery.com>
33023
33024 [BZ #14518]
33025 * include/rounding-mode.h: New file.
33026 * sysdeps/generic/get-rounding-mode.h: Likewise.
33027 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33028 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33029 (MAX_VALUE): New macro.
33030 (MIN_VALUE): Likewise.
33031 (overflow_value): New function.
33032 (underflow_value): Likewise.
33033 (round_and_return): Use overflow_value and underflow_value to
33034 determine return values in overflow and underflow cases. Use
33035 round_away to determine rounding depending on rounding mode.
33036 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33037 determine return values in overflow and underflow cases.
33038 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33039 (struct test_results): New structure.
33040 (struct test): Use struct test_results to store expected results
33041 for all rounding modes.
33042 (TEST): Include expected results for all rounding modes.
33043 (test_in_one_mode): New function.
33044 (do_test): Use test_in_one_mode to compute and check results.
33045 Check results for all rounding modes.
33046 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33047 $(link-libm).
33048
19fcedd5
AM
330492012-12-09 Allan McRae <allan@archlinux.org>
33050
1e9d84cd 33051 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33052
8bbfd2f1
JM
330532012-09-11 Joseph Myers <joseph@codesourcery.com>
33054
33055 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33056 (_G_int32_t): Likewise.
33057 (_G_uint16_t): Likewise.
33058 (_G_uint32_t): Likewise.
33059 (_G_HAVE_BOOL): Likewise.
33060 (_G_HAVE_ATEXIT): Likewise.
33061 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33062 (_G_HAVE_IO_FILE_OPEN): Likewise.
33063 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33064 (_G_int32_t): Likewise.
33065 (_G_uint16_t): Likewise.
33066 (_G_uint32_t): Likewise.
33067 (_G_HAVE_BOOL): Likewise.
33068 (_G_HAVE_ATEXIT): Likewise.
33069 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33070 (_G_HAVE_IO_FILE_OPEN): Likewise.
33071 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33072 (_G_int32_t): Likewise.
33073 (_G_uint16_t): Likewise.
33074 (_G_uint32_t): Likewise.
33075 (_G_HAVE_BOOL): Likewise.
33076 (_G_HAVE_ATEXIT): Likewise.
33077 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33078 (_G_HAVE_IO_FILE_OPEN): Likewise.
33079
b1dc5912
L
330802012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33081
33082 * csu/libc-tls.c: Update copyright years.
33083
0e886ef9
JM
330842012-09-10 Joseph Myers <joseph@codesourcery.com>
33085
28361c5e
JM
33086 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33087 [!_G_USING_THUNKS]: Remove conditional code.
33088 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33089 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33090
0e886ef9
JM
33091 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33092 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33093 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33094 (_G_VTABLE_LABEL_PREFIX): Likewise.
33095 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33096 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33097 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33098 (_G_VTABLE_LABEL_PREFIX): Likewise.
33099 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33100 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33101 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33102 (_G_VTABLE_LABEL_PREFIX): Likewise.
33103 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33104
bcba7aa2
L
331052012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33106
33107 * libio/Makefile: Include ../Makeconfig before tests.
33108 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33109 only if $(build-shared) is yes.
33110
06585ee8
L
33111 * iconv/gconv_db.c: Update copyright years.
33112
80ccd52c
LD
331132012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33114
33115 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33116 unwind info if defined PIC. Fix special cases description.
33117 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33118
33119 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33120 DP_HI_MASK entry.
33121 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33122
691bc9c1
L
331232012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33124
3d9b46b3
L
33125 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33126
de2139a9
L
33127 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33128 is NULL.
33129
5ca78dd0
L
33130 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33131 (LDLIBS-tst-chk4): This.
33132 (LDFLAGS-tst-chk5): Renamed to ...
33133 (LDLIBS-tst-chk5): This.
33134 (LDFLAGS-tst-chk6): Renamed to ...
33135 (LDLIBS-tst-chk6): This.
33136 (LDFLAGS-tst-lfschk4): Renamed to ...
33137 (LDLIBS-tst-lfschk4): This.
33138 (LDFLAGS-tst-lfschk5): Renamed to ...
33139 (LDLIBS-tst-lfschk5): This.
33140 (LDFLAGS-tst-lfschk6): Renamed to ...
33141 (LDLIBS-tst-lfschk6): This.
33142
691bc9c1
L
33143 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33144 on $(common-objpfx)soversions.mk.
33145
65cafb1c
JM
331462012-09-07 Joseph Myers <joseph@codesourcery.com>
33147
33148 [BZ #10014]
33149 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33150 example host name.
33151
c78ab094
SP
331522012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33153
33154 * malloc/arena.c (arena_get_retry): New function that gets
33155 another arena for the caller to try its request on.
33156 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33157 current arena cannot fulfill the request.
33158 (__libc_memalign): Likewise.
33159 (__libc_memalign): Likewise.
33160 (__libc_pvalloc): Likewise.
33161 (__libc_calloc): Likewise.
33162
01f49f59
JT
331632012-09-05 John Tobey <john.tobey@gmail.com>
33164
33165 [BZ #13542]
33166 * manual/arith.texi (Operations on Complex): Fix description
33167 of carg branch cut.
33168
4c23fed5
JM
331692012-09-06 Joseph Myers <joseph@codesourcery.com>
33170
1d3c8572
JM
33171 [BZ #10014]
33172 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33173 host name.
33174
4c23fed5
JM
33175 [BZ #10038]
33176 * manual/memory.texi (Memory): Make order of menu items match
33177 order of sections.
33178
04570aaa
L
331792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33180
33181 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33182 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33183 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33184
b80af2f4
L
331852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * csu/libc-tls.c (static_dtv): Renamed to ...
33188 (_dl_static_dtv): This. Make it global.
33189 (_dl_initial_dtv): Removed.
33190 (__libc_setup_tls): Updated.
33191 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33192 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33193 DL_INITIAL_DTV.
33194
2abe9f15
PM
331952012-09-06 Petr Machata <pmachata@redhat.com>
33196
33197 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33198 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33199 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33200 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33201
0948c3af
L
332022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33203
33204 [BZ #14545]
33205 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33206 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33207 freeing dtv[-1].
33208
a5055ad1
L
332092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33210
33211 [BZ #14544]
33212 * Makeconfig (link-static-before-libc): Replace $(+prector)
33213 with $(+prectorT).
33214 (link-static-after-libc): Replace $(+postctor) with
33215 $(+postctorT).
33216 (link-bounded): Replace $(+prector)/$(+postctor) with
33217 $(+prectorT)/$(+postctorT).
33218 (+prectorT): New macro.
33219 (+postctorT): Likewise.
33220
ed8c2ecd
JM
332212012-09-06 Joseph Myers <joseph@codesourcery.com>
33222
33223 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33224 (round_str): Handle values above the maximum for IBM long double
33225 as inexact.
33226 * stdlib/tst-strtod-round.c (tests): Regenerated.
33227
14c996c8
AK
332282012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33229
33230 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33231 assembler flag.
33232 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33233 zarch_nohighgprs around the zarch optimized routines.
33234 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33235 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33237 for zarch.
33238
430d6ce6
DM
332392012-09-05 David S. Miller <davem@davemloft.net>
33240
33241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33242
57f41c40
AS
33243 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33244 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33245 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33246 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33247 entries.
33248
24d4e01b
AO
332492012-09-05 Alexandre Oliva <aoliva@redhat.com>
33250
33251 * malloc/arena.c: Fold copyright years.
33252 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33253
61d58174
AO
332542012-09-05 Alexandre Oliva <aoliva@redhat.com>
33255
33256 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33257
20196a5e
AO
332582012-09-05 Alexandre Oliva <aoliva@redhat.com>
33259
33260 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33261
5c447383
AO
332622012-09-05 Alexandre Oliva <aoliva@redhat.com>
33263
33264 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33265 change internal state upon failure.
33266
fad64255
AO
332672012-09-05 Alexandre Oliva <aoliva@redhat.com>
33268
33269 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33270 * malloc/memusage.c (mmap): Likewise.
33271 (mmap64, mremap): Likewise. Adjust name in comment.
33272
1ffb8c90
SP
332732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33274
33275 * libio/fileops.c: Fix typos in comments.
33276 * libio/oldfileops.c: Likewise.
33277 * libio/wfileops.c: Likewise.
33278
6ef9cc37
SP
332792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33280
33281 [BZ #1349]
33282 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33283 (tst-malloc-usable-ENV): Set environment for test case.
33284 * malloc/hooks.c (malloc_check_get_size): New function to get
33285 requested size.
33286 * malloc/malloc.c (musable): Use malloc_check_get_size.
33287 * malloc/tst-malloc-usable.c: New test case.
33288
4d038ae3
AS
332892012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33290
33291 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33292
c4e85184
AM
332932012-09-05 Allan McRae <allan@archlinux.org>
33294
b9dafc56 33295 [BZ #13966]
c4e85184
AM
33296 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33297 determine header location.
33298 * configure: Regenerated.
33299
e1343020
AS
333002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33301
33302 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33303 float format.
33304 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33305 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33306 format.
e1343020
AS
33307 (test): Regenerate.
33308
0a9f1987
DM
333092012-09-04 David S. Miller <davem@davemloft.net>
33310
33311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33313 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33314
29237804
FW
333152012-09-04 Florian Weimer <fweimer@redhat.com>
33316
33317 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33318 failures.
33319
edb3cb88
FW
33320 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33321
60160d83
JM
333222012-09-04 Joseph Myers <joseph@codesourcery.com>
33323
33324 [BZ #9914]
33325 * libio/iogetdelim.c: Include <limits.h>.
33326 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33327 + len + 1 would overflow.
33328
bcd6c8dc
AJ
333292012-09-03 Andreas Jaeger <aj@suse.de>
33330
33331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33332 * sysdeps/i386/fpu/libm-test-ulps: Update.
33333
4ffffbd2
LD
333342012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33335
33336 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33337 Add s_sinf-sse2, s_conf-sse2.
33338
33339 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33340 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33341 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33342 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33343
33344 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33345 for using routine as __sinf_ia32.
33346 Use macro for function declaration and weak_alias.
33347 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33348 for using routine as __cosf_ia32.
33349 Use macro for function declaration and weak_alias.
33350
33351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33352 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33353
33354 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33355 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33357
33358 * math/libm-test.inc (cos_test): Add more test cases.
33359 (sin_test): Likewise.
33360 (sincos_test): Likewise.
33361
511fa286
AK
333622012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33363
33364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33365 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33366 hidden.
33367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33368
5f30cfec
L
333692012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33370
33371 [BZ #14538]
33372 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33373 first element of the GOT.
33374 (elf_machine_load_address): Return the difference between
33375 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33376
0786794f
AM
333772012-09-01 Allan McRae <allan@archlinux.org>
33378
5f30cfec
L
33379 [BZ #13412]
33380 * configure.in (AWK): Require gawk version 3.0 or later.
33381 * configure: Regenerated.
0786794f 33382
26889eac
JM
333832012-09-01 Joseph Myers <joseph@codesourcery.com>
33384
33385 * sysdeps/unix/sysv/linux/kernel-features.h
33386 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33388 [__NR_clock_getres]: Make code unconditional.
33389 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33390 (clock_getcpuclockid): Remove code left unreachable by removal of
33391 conditionals.
33392 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33393 code unconditional.
33394 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33395 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33397 Make code unconditional.
33398 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33399 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33400 * sysdeps/unix/sysv/linux/clock_settime.c
33401 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33402 conditional code.
33403 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33404 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33405
d22e28b0
L
334062012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33407
33408 [BZ #14476]
33409 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33410 scripts/test-installation.pl.
33411
33412 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33413 and $ld_so_version if it is set.
33414
050af9c4
SP
334152012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33416
33417 [BZ #14516]
33418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33419 failure if reading from procfs failed.
33420 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33421
ad845c0b
JM
334222012-08-27 Joseph Myers <joseph@codesourcery.com>
33423
33424 * sysdeps/unix/sysv/linux/kernel-features.h
33425 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33426 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33427 Remove conditional code.
33428 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33429 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33430 Remove conditional code.
33431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33432 * sysdeps/unix/sysv/linux/i386/fxstat.c
33433 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33435 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33436 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33438 * sysdeps/unix/sysv/linux/i386/lxstat.c
33439 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33441 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33442 Remove conditional code.
33443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33444 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33445 Remove conditional code.
33446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33447 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33448 <kernel-features.h>.
33449 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33450 Remove.
33451 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33452 Remove conditional code.
33453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33454 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33455 Remove conditional.
33456
5dbf56af
MF
334572012-08-27 Mike Frysinger <vapier@gentoo.org>
33458
33459 [BZ #5400]
33460 * NEWS: Add fixed bug number.
33461
d6e70f43
JM
334622012-08-27 Joseph Myers <joseph@codesourcery.com>
33463
7efb4737
JM
33464 [BZ #14519]
33465 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33466 underflowing exponent in case of negative sign.
33467 * stdlib/tst-strtod-round-data: Add more tests.
33468 * stdlib/tst-strtod-round.c (tests): Regenerated.
33469
af92131a
JM
33470 [BZ #3479]
33471 * stdlib/strtod_l.c (NDIG): Remove.
33472 (HEXNDIG): Likewise.
33473 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33474 smallest representable value.
33475 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33476 lie within an exact representation of 1/2 ulp of the result.
33477 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33478 unconditionally.
33479 (TENS_P9_IDX): Define unconditionally.
33480 (TENS_P9_SIZE): Likewise.
33481 (TENS_P10_IDX): Likewise.
33482 (TENS_P10_SIZE): Likewise.
33483 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33484 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33485 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33486 entries for 10^2^13 and 10^2^14.
33487 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33488 (TENS_P13_IDX): Define.
33489 (TENS_P13_SIZE): Likewise.
33490 (TENS_P14_IDX): Likewise.
33491 (TENS_P14_SIZE): Likewise.
33492 (_fpioconst_pow10): Change array size to
33493 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33494 unconditional.
33495 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33496 1024]: Add entries for 10^2^13 and 10^2^14.
33497 [LAST_POW10 > _LAST_POW10]: Remove #error.
33498 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33499 (_fpioconst_pow10): Change array size to
33500 FPIOCONST_POW10_ARRAY_SIZE.
33501 * stdlib/gen-fpioconst.c: New file.
33502 * stdlib/gen-tst-strtod-round.c: Likewise.
33503 * stdlib/tst-strtod-round-data: Likewise.
33504 * stdlib/tst-strtod-round.c: Likewise.
33505 * stdlib/Makefile (tests): Add tst-strtod-round.
33506
d6e70f43
JM
33507 [BZ #14459]
33508 * stdlib/strtod_l.c: Include <stdint.h>.
33509 (NDEBUG): Do not define.
33510 (round_and_return): Change EXPONENT parameter to type intmax_t.
33511 Rearrange calculations to avoid internal overflow possibilities.
33512 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33513 Rearrange calculations to avoid internal overflow possibilities.
33514 Assert that number fits inside MPNSIZE limbs.
33515 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33516 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33517 calculations and add assertions to avoid internal overflow
33518 possibilities. Add casts to avoid signed/unsigned operations.
33519 * stdlib/tst-strtod-overflow.c: New file.
33520 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33521
1f529f7d
MP
335222012-08-25 Marek Polacek <polacek@redhat.com>
33523
33524 * time/time.h: Fix some typos in comments.
33525
59a629f1
RM
335262012-08-23 Roland McGrath <roland@hack.frob.com>
33527
33528 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33529 * posix/tst-rfc3484-2.c: Likewise.
33530 * posix/tst-rfc3484-3.c: Likewise.
33531
d3bafbc9
SM
335322012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33533
33534 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33535 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33536
4efcc022
JM
335372012-08-23 Joseph Myers <joseph@codesourcery.com>
33538
33539 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33540 #include of fxstatat64.c.
33541
3cc3ef96
RM
335422012-08-22 Roland McGrath <roland@hack.frob.com>
33543
f04e2132
RM
33544 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33545 * shadow/getspent_r.c: Likewise.
33546 * shadow/getspnam.c: Likewise.
33547 * shadow/getspnam_r.c: Likewise.
33548 * gshadow/getsgent.c: Likewise.
33549 * gshadow/getsgent_r.c: Likewise.
33550 * gshadow/getsgnam.c: Likewise.
33551 * gshadow/getsgnam_r.c: Likewise.
33552 * inet/getnetbyad.c: Likewise.
33553 * inet/getnetbyad_r.c: Likewise.
33554 * inet/getnetbynm.c: Likewise.
33555 * inet/getnetbynm_r.c: Likewise.
33556 * inet/getnetent.c: Likewise.
33557 * inet/getnetent_r.c: Likewise.
33558 * inet/getproto.c: Likewise.
33559 * inet/getproto_r.c: Likewise.
33560 * inet/getprtent.c: Likewise.
33561 * inet/getprtent_r.c: Likewise.
33562 * inet/getprtname.c: Likewise.
33563 * inet/getprtname_r.c: Likewise.
33564 * inet/getrpcbyname.c: Likewise.
33565 * inet/getrpcbyname_r.c: Likewise.
33566 * inet/getrpcbynumber.c: Likewise.
33567 * inet/getrpcbynumber_r.c: Likewise.
33568 * inet/getrpcent.c: Likewise.
33569 * inet/getrpcent_r.c: Likewise.
33570 * inet/getaliasent.c: Likewise.
33571 * inet/getaliasent_r.c: Likewise.
33572 * inet/getaliasname.c: Likewise.
33573 * inet/getaliasname_r.c: Likewise.
33574 * nscd/getgrgid_r.c: Likewise.
33575 * nscd/getgrnam_r.c: Likewise.
33576 * nscd/gethstbyad_r.c: Likewise.
33577 * nscd/gethstbynm3_r.c: Likewise.
33578 * nscd/getpwnam_r.c: Likewise.
33579 * nscd/getpwuid_r.c: Likewise.
33580 * nscd/getsrvbynm_r.c: Likewise.
33581 * nscd/getsrvbypt_r.c: Likewise.
33582 * nscd/gai.c: Likewise.
33583
c53d909c
RM
33584 * configure.in (build_nscd): New substituted variable, set
33585 by --disable-build-nscd and defaults to $use_nscd.
33586 * configure: Regenerated.
33587 * config.make.in (build-nscd): New substituted variable.
33588 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33589 Change conditional to require [$(build-nscd) = yes] as well.
33590 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33591
3cc3ef96
RM
33592 [BZ# 13696]
33593 * configure.in (use_nscd): New substituted variable, set by
33594 --disable-nscd. If enabled, define USE_NSCD.
33595 * configure: Regenerated.
33596 * config.h.in: Add USE_NSCD.
33597 * config.make.in (use-nscd): New substituted variable.
33598 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33599 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33600 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33601 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33602 (CFLAGS-getgrnam_r.c): Likewise.
33603 (CFLAGS-initgroups.c): Likewise.
33604 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33605 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33606 Variables removed.
33607 * inet/getnetgrent_r.c
33608 (nscd_setnetgrent): New function, broken out of ...
33609 (setnetgrent): ... here. Call it.
33610 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33611 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33612 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33613 * nscd/Makefile (routines, aux): Move definitions after include of
33614 Makeconfig. Conditionalize on [$(use-nscd) != no].
33615 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33616 Conditionalize on [USE_NSCD].
33617 (is_nscd, nscd_init_cb): Likewise.
33618 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33619 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33620 * nss/nss_db/db-init.c: Likewise.
33621 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33622 [USE_NSCD].
33623 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33624 (make_request): Use it.
33625 (cache_valid_p): New function.
33626 (__check_pf): Use it.
33627 * NEWS: Add item for --disable-nscd.
33628
07e51550
DL
336292012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33630
33631 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33632 to support sed >= 4.2.1-20-ga9bf076.
33633 * configure: Regenerated.
33634
35a5b08b
RM
336352012-08-22 Roland McGrath <roland@hack.frob.com>
33636
33637 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33638 Conditionalize whole body on [IREL].
33639
8479f23a
JL
336402012-08-22 Jeff Law <law@redhat.com>
33641
33642 [BZ #14505]
33643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33644 if the family is PF_UNSPEC.
33645
48da0b21
MF
336462012-08-22 Mike Frysinger <vapier@gentoo.org>
33647
33648 * Makerules (lib-version): Rename from V.
33649 (install-lib-nosubdir): Change V to lib-version.
33650
15d0da8c
WS
336512012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33652
33653 [BZ #14252]
33654 * powerpc32/power6/wcschr.c: New file.
33655 * powerpc32/power6/wcscpy.c: New file.
33656 * powerpc32/power6/wcsrchr.c: New file.
33657 * powerpc64/power6/wcschr.c: New file.
33658 * powerpc64/power6/wcscpy.c: New file.
33659 * powerpc64/power6/wcsrchr.c: New file.
33660
bcca0895
MK
336612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33662
33663 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33664 (two_way_short_needle): Use it.
5a4aaa33
RM
33665 * string/strstr.c (AVAILABLE1_USES_J): Define.
33666 * string/strcasestr.c: Likewise.
99677e57
MK
33667
33668 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33669 array references.
33670 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33671
400726de
MK
33672 [BZ #11607]
33673 * NEWS: Add an entry.
33674 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33675 define their defaults.
33676 (two_way_short_needle): Detect end-of-string on-the-fly.
33677 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33678 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33679 * string/bug-strcasestr1.c: New test.
33680 * string/Makefile: Run it.
33681
20a71f2c
MK
336822012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33683
33684 [BZ #11607]
33685 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33686 the first character.
33687
21ad0558
RM
336882012-08-21 Roland McGrath <roland@hack.frob.com>
33689
33690 * csu/elf-init.c (__libc_csu_irel): Function removed.
33691 * csu/libc-start.c (apply_irel): New function.
33692 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33693
0e1d9911
JM
336942012-08-21 Joseph Myers <joseph@codesourcery.com>
33695
33696 * sysdeps/unix/sysv/linux/kernel-features.h
33697 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33698 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33699 <kernel-features.h>.
33700 [__NR_fadvise64_64]: Make code unconditional.
33701 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33702 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33703 !__NR_fadvise64_64)]: Likewise.
33704 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33705 !__NR_fadvise64_64))]: Likewise.
33706 [__NR_fadvise64]: Make code unconditional.
33707 [!__NR_fadvise64]: Remove conditional code.
33708 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33709 <kernel-features.h>.
33710 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33711 unconditional.
33712 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33713 conditional code.
33714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33715 not include <kernel-features.h>.
33716 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33717 unconditional.
33718 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33719 conditional code.
33720 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33721 include <kernel-features.h>.
33722 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33723 unconditional.
33724 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33725 conditional code.
33726
14a50c9d
WS
337272012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33728
33729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33730 slight instruction rearrangements per scrollpipe analysis.
33731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33732
c0f4faf0
RM
337332012-08-20 Roland McGrath <roland@hack.frob.com>
33734
696da859
RM
33735 * manual/syslog.texi (syslog; vsyslog, closelog):
33736 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33737 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33738
c0f4faf0
RM
33739 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33740 DSOCAPS to match condition on defining it.
33741
348363b2
JM
337422012-08-20 Joseph Myers <joseph@codesourcery.com>
33743
a35cbf28
JM
33744 * sysdeps/unix/sysv/linux/kernel-features.h
33745 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33747 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33748 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33750 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33751 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33753 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33754 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33755
445f7ecd
JM
33756 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33757 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33758
348363b2
JM
33759 * sysdeps/unix/sysv/linux/kernel-features.h
33760 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33761 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33762 unconditional.
33763 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33764 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33765 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33766 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33767 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33768 Make code unconditional.
33769 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33770 (__mmap64) [!__NR_mmap2]: Likewise.
33771 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33772 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33773 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33774 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33775 [__NR_mmap2]: Make code unconditional.
33776 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33777 (__mmap64) [!__NR_mmap2]: Likewise.
33778
bc5bc0e5
AK
337792012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33780
33781 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33782
88d506de
AJ
337832012-08-18 Andreas Jaeger <aj@suse.de>
33784
33785 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33786
493387d2
MF
337872012-08-18 Mike Frysinger <vapier@gentoo.org>
33788
33789 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33790 * include/unistd.h (__have_sock_cloexec): Likewise.
33791 (__have_pipe2): Likewise.
33792 (__have_dup3): Likewise.
33793
a277af22
MF
337942012-08-18 Mike Frysinger <vapier@gentoo.org>
33795
33796 [BZ #9685]
33797 * include/unistd.h (__have_pipe2): Change define into an extern int.
33798 (__have_dup3): Likewise.
33799 * socket/have_sock_cloexec.c: Include fcntl.h.
33800 (__have_pipe2): New variable.
33801 (__have_dup3): Likewise.
33802
fdab8fd3
MF
338032012-08-17 Mike Frysinger <vapier@gentoo.org>
33804
33805 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33806
31035e80
MP
338072012-08-17 Marek Polacek <polacek@redhat.com>
33808
33809 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33810 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33811
3bd9e993
RM
338122012-08-17 Roland McGrath <roland@hack.frob.com>
33813
c91c505f
RM
33814 * configure.in: Add AC_SUBST for sysheaders.
33815 * configure: Regenerated.
33816 * config.make.in (sysheaders): New substituted variable.
33817
7c6f9d53
RM
33818 * sysdeps/unix/mkfifo.c: Moved ...
33819 * sysdeps/posix/mkfifo.c: ... here.
33820 * sysdeps/unix/mkfifoat.c: Moved ...
33821 * sysdeps/posix/mkfifoat.c: ... here.
33822
33823 * sysdeps/unix/utime.c: Moved ...
33824 * sysdeps/posix/utime.c: ... here.
33825
33826 * sysdeps/unix/time.c: Moved ...
33827 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33828 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33829 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33830
33831 * sysdeps/unix/nice.c: Moved ...
33832 * sysdeps/posix/nice.c: ... here.
33833
33834 * sysdeps/unix/alarm.c: Moved ...
33835 * sysdeps/posix/alarm.c: ... here.
33836
3bd9e993
RM
33837 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33838
d1f09384
JL
338392012-08-17 Jeff Law <law@redhat.com>
33840
33841 * intl/Makefile (codeset_mo): New variable.
33842 ($(codeset_mo)): New target.
33843 (tst-codeset.out): Depend on that. Remove explicit rule.
33844 (tst-gettext3.out, tst-gettext5.out): Likewise.
33845 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33846 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33847 * intl/tst-codeset.sh: Remove.
33848 * intl/tst-gettext3.sh: Likewise.
33849 * intl/tst-gettext5.sh: Likewise.
33850
2ae1ae5c
RM
338512012-08-17 Roland McGrath <roland@hack.frob.com>
33852
c31fdb83
RM
33853 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33854 * sysdeps/unix/syscalls.list: ... here.
33855
a0844057
RM
33856 * sysdeps/posix/getaddrinfo.c
33857 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33858 (gaiconf_init, gaiconf_reload): Use them.
33859 [!_STATBUF_ST_NSEC]
33860 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33861 Define using time_t rather than struct timespec.
33862
750c1f2a
RM
33863 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33864 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33865 Macros removed.
33866 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33867 [!NO_THREADS].
33868 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33869 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33870 Likewise.
33871
2ae1ae5c
RM
33872 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33873 __libc_cleanup_push argument.
33874
e66a42f5
RM
33875 * bits/param.h: New file.
33876 * misc/sys/param.h: New file.
33877 * include/sys/param.h: New file.
33878 * misc/Makefile (headers): Add bits/param.h.
33879 * sysdeps/generic/sys/param.h: File removed.
33880 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33881 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33882 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33883 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33884
b7c08a66
RM
33885 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33886 last change.
33887
b2e1c562
RM
33888 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33889 [_IO_MTSAFE_IO].
33890 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33891 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33892 New macros.
33893
c75ccd4c
RM
33894 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33895 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33896 rather than -D_IO_MTSAFE_IO conditionally.
33897 * stdio-common/Makefile (CPPFLAGS): Likewise.
33898 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33899 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33900 Use $(libio-mtsafe).
33901 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33902 of -D_IO_MTSAFE_IO.
33903 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33904 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33905 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33906 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33907 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33908 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33909 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33910 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33911 (CFLAGS-fread_u_chk.c): Likewise.
33912 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33913 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33914 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33915 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33916 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33917 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33918 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33919 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33920 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33921
33922 * libio/Makefile: Test [$(libc-reentrant) = yes]
33923 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33924
33925 * Makeconfig
33926 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33927 * sysdeps/pthread/configure: File removed.
33928 * sysdeps/pthread/Makeconfig: New file.
33929 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33930 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33931
d9195db8
GB
339322012-08-16 Gary Benson <gbenson@redhat.com>
33933
33934 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33935 unmapping the first object in a namespace.
33936
86466cd9
RM
339372012-08-16 Roland McGrath <roland@hack.frob.com>
33938
33939 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33940 (__internal_setnetgrent): ... this. Add internal_function to
33941 definition. Add libc_hidden_def.
33942 (setnetgrent): Update caller.
33943 (internal_endnetgrent): Renamed to ...
33944 (__internal_endnetgrent): ... this. Add internal_function to
33945 definition. Add libc_hidden_def.
33946 (endnetgrent): Update caller.
33947 (internal_getnetgrent_r): Renamed to ...
33948 (__internal_getnetgrent_r): ... this. Add internal_function to
33949 definition. Add libc_hidden_def.
33950 (__getnetgrent_r): Update caller.
33951 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33952
c3c8283c
JM
339532012-08-16 Joseph Myers <joseph@codesourcery.com>
33954
33955 * stdlib/longlong.h: Update from GCC.
33956
db1ee0a8
RM
339572012-08-16 Roland McGrath <roland@hack.frob.com>
33958
33959 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33960 on _QL, which is set by umul_ppmm but never used.
33961 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33962 variables, which are set by GMP macros but never used.
33963 * stdio-common/_itowa.c (_itowa): Likewise.
33964 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33965 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33966
30f69637
CD
339672012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33968
33969 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33970 struct La_sh_regs is not constant.
33971 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33972 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33973 and struct La_sparc64_regs are not constant.
33974
93a78ac4
JM
339752012-08-16 Joseph Myers <joseph@codesourcery.com>
33976
33977 * sysdeps/unix/sysv/linux/kernel-features.h
33978 (__ASSUME_POSIX_TIMERS): Remove.
33979 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33980 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33981 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33982 Make code unconditional.
33983 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33984 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33985 Make code unconditional.
33986 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33987 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33988 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33989 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33990 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33991 Make code unconditional.
33992 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33993 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33994 (__libc_missing_posix_timers): Remove.
33995
dd924cd7
RM
339962012-08-15 Roland McGrath <roland@hack.frob.com>
33997
4b4f2771
RM
33998 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33999 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34000
601c888b
RM
34001 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34002
176790a7
RM
34003 * elf/dl-sym.c: Include <stdlib.h>.
34004
329bc018
RM
34005 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34006 constants, which avoids warnings in 32-bit builds.
34007
e04e272d
RM
34008 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34009 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34010
952bf94a
RM
34011 * misc/lseek.c: File moved to ...
34012 * io/lseek.c: ... here.
34013
7c99b50a
RM
34014 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34015
dd924cd7
RM
34016 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34017 shifting LEN more than 31 bits at once.
34018
b3f479a8
LD
340192012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34020
34021 [BZ #14195]
8c4ae0d4
RM
34022 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34023 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34024 * string/test-strncasecmp.c (check1): Renamed to...
34025 (bz12205): ...this.
34026 (bz14195): Add new testcase for two empty input strings and N > 0.
34027 (test_main): Call new testcase, adapt for renamed function.
34028
9c55864e
AJ
340292012-08-15 Andreas Jaeger <aj@suse.de>
34030
34031 [BZ #14090]
34032 * crypt/md5test2.c: New test, based on test supplied by Serge
34033 Belyshev <belyshev@depni.sinp.msu.ru>.
34034 * crypt/Makefile (xtests): Add md5test-giant..
34035 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34036
02dcb6c5
PE
340372012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34038
34039 [BZ #14090]
34040 * crypt/md5.c (md5_process_block): Don't assume the buffer
34041 length is less than 2**32.
34042 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34043 length is less than 2**64.
34044
a3f95dcc
RM
340452012-08-15 Roland McGrath <roland@hack.frob.com>
34046
be75d758
RM
34047 * string/str-two-way.h: Include <sys/param.h>.
34048 (MAX): Macro removed.
34049
7312ca90
RM
34050 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34051 Move #define and #undef of memmove to just before and after
34052 including <string.h>.
34053
9a0a5486
RM
34054 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34055 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34056 and after including <string.h>. Move declarations of
34057 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34058 to before #include "string/memmove.c".
34059
67cc348d
RM
34060 * include/dirent.h: Declare __getdirentries.
34061
a3f95dcc
RM
34062 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34063 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34064
ca98e171
MF
340652012-08-14 Mike Frysinger <vapier@gentoo.org>
34066
34067 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34068 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34069 * sysdeps/i386/configure: Regenerated.
34070 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34071 STABS_CURRENT_FILE, and STABS_FUN.
34072 (END): Remove call to STABS_FUN_END.
34073 (STABS_CURRENT_FILE1): Delete.
34074 (STABS_CURRENT_FILE): Likewise.
34075 (STABS_FUN): Likewise.
34076 (STABS_FUN_END): Likewise.
34077 (STABS_FUN2): Likewise.
34078 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34079 * sysdeps/x86_64/configure: Regenerated.
34080
5908bf46
RM
340812012-08-14 Roland McGrath <roland@hack.frob.com>
34082
34083 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34084 * elf/dl-lookup.c: Likewise.
5908bf46 34085
f2c05b9e
JM
340862012-08-14 Joseph Myers <joseph@codesourcery.com>
34087
34088 * sysdeps/unix/sysv/linux/kernel-features.h
34089 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34090 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34091 unconditionally.
34092 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34093 unconditionally.
34094 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34095 condition on __ASSUME_CLONE_THREAD_FLAGS.
34096
e11f5155
AJ
340972012-08-14 Andreas Jaeger <aj@suse.de>
34098
34099 * sysdeps/i386/fpu/libm-test-ulps: Update.
34100
51a9ba86
MK
341012012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34102
2fdd4f78
AJ
34103 * include/atomic.h (atomic_exchange_and_add): Split into ...
34104 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34105 New atomic macros.
51a9ba86 34106
ba6cba9e
MT
341072012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34108
34109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34110
42443a47
JL
341112012-08-13 Jeff Law <law@redhat.com>
34112
34113 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34114 null byte in the output string.
34115
121dce05
JM
341162012-08-10 Joseph Myers <joseph@codesourcery.com>
34117
34118 * sysdeps/unix/sysv/linux/kernel-features.h
34119 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34120 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34121 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34122 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34123 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34124 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34125 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34126
bf51f568
JL
341272012-08-09 Jeff Law <law@redhat.com>
34128
34129 [BZ #13939]
34130 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34131 When avoid_arena is set, don't retry in the that arena. Pick the
34132 next one, whatever it might be.
34133 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34134 (arena_lock): Pass in new parameter to arena_get2.
34135 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34136 arena_get2.
34137 (__libc_malloc): Unify retrying after main arena failure with
34138 __libc_memalign version.
34139 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34140
f85fa270
L
341412012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34142
34143 [BZ #14166]
34144 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34145 to __redirect_strstr.
34146 (__strstr_sse42): Use typeof __redirect_strstr.
34147 (__strstr_ia32): Likewise.
34148 (__libc_strstr): New prototype.
34149 (strstr): Renamed to ...
34150 (__libc_strstr): This.
34151 (strstr): New strong alias of __libc_strstr.
34152 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34153 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34154 __redirect_time.
34155 Include <time.h>.
34156 (__libc_time): New prototype.
34157 (time_ifunc): Replace time with __libc_time.
34158 (time): New strong alias and hidden definition of __libc_time.
34159 (__GI_time): Remove strong alias.
34160 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34161 Include <stddef.h>.
34162 (memmove): Redefined to __redirect_memmove.
34163 (__memmove_sse2): Use typeof __redirect_memmove.
34164 (__memmove_ssse3): Likewise.
34165 (__memmove_ssse3_back): Likewise.
34166 (__libc_memmove): New prototype.
34167 (memmove): Renamed to ...
34168 (__libc_memmove): This.
34169 (memmove): New strong alias of __libc_memmove.
34170
33b4a91e
MS
341712012-08-08 Mark Salter <msalter@redhat.com>
34172
34173 * elf/elf.h
34174 (R_MN10300_TLS_GD): Define.
34175 (R_MN10300_TLS_LD): Likewise.
34176 (R_MN10300_TLS_LDO): Likewise.
34177 (R_MN10300_TLS_GOTIE): Likewise.
34178 (R_MN10300_TLS_IE): Likewise.
34179 (R_MN10300_TLS_LE): Likewise.
34180 (R_MN10300_TLS_DTPMOD): Likewise.
34181 (R_MN10300_TLS_DTPOFF): Likewise.
34182 (R_MN10300_TLS_TPOFF): Likewise.
34183 (R_MN10300_SYM_DIFF): Likewise.
34184 (R_MN10300_ALIGN): Likewise.
34185 (R_MN10300_NUM): Update.
34186
b36137f1
JM
341872012-08-08 Joseph Myers <joseph@codesourcery.com>
34188
34189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34190 Remove.
34191
cdd915fd
RM
341922012-08-08 Roland McGrath <roland@hack.frob.com>
34193
a2433aac
RM
34194 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34195
cdd915fd
RM
34196 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34197 sysdeps/unix -> sysdeps/posix move.
34198 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34199
bf9b740a
AM
342002012-08-07 Allan McRae <allan@archlinux.org>
34201
34202 [BZ #14303]
34203 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34204 (SUNOS_CPP): Likewise.
34205 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34206 not found.
34207 (open_input): Call CPP using execvp.
34208
93df14ee
JM
342092012-08-07 Joseph Myers <joseph@codesourcery.com>
34210
34211 * sysdeps/unix/sysv/linux/kernel-features.h
34212 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34213 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34214 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34215 (__ASSUME_WAITID_SYSCALL): Likewise.
34216 * sysdeps/unix/sysv/linux/dl-execstack.c
34217 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34218 code unconditional.
34219 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34220 conditional code.
34221 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34222 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34223 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34224 code.
34225 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34226 unconditional.
34227 [__ASSUME_WAITID_SYSCALL]: Likewise.
34228 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34229
d34689de
RM
342302012-08-07 Roland McGrath <roland@hack.frob.com>
34231
a281decc
RM
34232 * sysdeps/unix/closedir.c: Renamed to ...
34233 * sysdeps/posix/closedir.c: ... here.
34234 * sysdeps/unix/dirfd.c: Renamed to ...
34235 * sysdeps/posix/dirfd.c: ... here.
34236 * sysdeps/unix/dirstream.h: Renamed to ...
34237 * sysdeps/posix/dirstream.h: ... here.
34238 * sysdeps/unix/fdopendir.c: Renamed to ...
34239 * sysdeps/posix/fdopendir.c: ... here.
34240 * sysdeps/unix/opendir.c: Renamed to ...
34241 * sysdeps/posix/opendir.c: ... here.
34242 * sysdeps/unix/readdir.c: Renamed to ...
34243 * sysdeps/posix/readdir.c: ... here.
34244 * sysdeps/unix/readdir_r.c: Renamed to ...
34245 * sysdeps/posix/readdir_r.c: ... here.
34246 * sysdeps/unix/rewinddir.c: Renamed to ...
34247 * sysdeps/posix/rewinddir.c: ... here.
34248 * sysdeps/unix/seekdir.c: Renamed to ...
34249 * sysdeps/posix/seekdir.c: ... here.
34250 * sysdeps/unix/telldir.c: Renamed to ...
34251 * sysdeps/posix/telldir.c: ... here.
34252 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34253 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34254 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34255 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34256
22895b47
RM
34257 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34258 * bits/fcntl.h: ... here.
34259
707a53b6
RM
34260 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34261 not 0.
34262 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34263 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34264 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34265 (struct flock): Move l_start, l_len to the beginning.
34266 Use __pid_t for l_pid.
34267 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34268 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34269 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34270 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34271 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34272 [__USE_LARGEFILE64] (struct flock64): New type.
34273 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34274
f0bd3e25
RM
34275 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34276 * bits/dirent.h: ... here.
34277
d34689de
RM
34278 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34279 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34280
6dad2c06
JM
342812012-08-07 Joseph Myers <joseph@codesourcery.com>
34282
34283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34284 Change from 2.6.0 to 2.6.16.
34285 * sysdeps/unix/sysv/linux/configure: Regenerated.
34286 * sysdeps/unix/sysv/linux/kernel-features.h
34287 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34288 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34289 version.
34290 (__ASSUME_UTIMES): Likewise.
34291 (__ASSUME_CLONE_STOPPED): Remove.
34292 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34293 architectures, not kernel version.
34294 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34295 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34296 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34297 (__ASSUME_WAITID_SYSCALL): Likewise.
34298 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34299 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34300 * README: State 2.6.16 as minimum Linux kernel version. Do not
34301 refer to older versions.
34302
03af9520
RM
343032012-08-06 Roland McGrath <roland@hack.frob.com>
34304
8e49df1d
RM
34305 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34306 Define alphasort64 as an alias.
34307 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34308 Define versionsort64 as an alias.
34309 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34310 Define scandir64 as an alias.
34311 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34312 Define scandirat64 as an alias.
34313 * dirent/alphasort64.c (alphasort64):
34314 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34315 * dirent/versionsort64.c: Likewise.
34316 * dirent/scandir64.c: Likewise.
34317 * dirent/scandirat64.c: Likewise.
34318 * sysdeps/wordsize-64/alphasort.c: File removed.
34319 * sysdeps/wordsize-64/alphasort64.c: File removed.
34320 * sysdeps/wordsize-64/scandir.c: File removed.
34321 * sysdeps/wordsize-64/scandir64.c: File removed.
34322 * sysdeps/wordsize-64/scandirat.c: File removed.
34323 * sysdeps/wordsize-64/scandirat64.c: File removed.
34324 * sysdeps/wordsize-64/versionsort.c: File removed.
34325 * sysdeps/wordsize-64/versionsort64.c: File removed.
34326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34328 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34330 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34334
34335 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34337 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34339 [defined __arch64__ || defined __sparcv9]
34340 (__INO_T_MATCHES_INO64_T): New macro.
34341 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34342 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34343 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34344 * sysdeps/unix/sysv/linux/bits/dirent.h
34345 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34346 (_DIRENT_MATCHES_DIRENT64): New macro.
34347
03af9520
RM
34348 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34349 Define lockf64 as an alias.
34350 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34351 Define fseeko64 as an alias.
34352 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34353 Define ftello64 as an alias.
34354 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34355 Define _IO_fgetpos64 and fgetpos64 as aliases.
34356 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34357 Define _IO_fsetpos64 and fsetpos64 as aliases.
34358 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34359 Conditionalize body on this.
34360 * libio/fseeko64.c: Likewise.
34361 * libio/ftello64.c: Likewise.
34362 * libio/iofgetpos64.c: Likewise.
34363 * libio/iofsetpos64.c: Likewise.
34364 * sysdeps/wordsize-64/lockf.c: File removed.
34365 * sysdeps/wordsize-64/lockf64.c: File removed.
34366 * sysdeps/wordsize-64/fseeko.c: File removed.
34367 * sysdeps/wordsize-64/fseeko64.c: File removed.
34368 * sysdeps/wordsize-64/ftello.c: File removed.
34369 * sysdeps/wordsize-64/ftello64.c: File removed.
34370 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34371 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34372 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34373 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34376 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34377 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34378 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34379 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34384
34385 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34387 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34389 [defined __arch64__ || defined __sparcv9]
34390 (__OFF_T_MATCHES_OFF64_T): New macro.
34391 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34392 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34394 (__OFF_T_MATCHES_OFF64_T): New macro.
34395
c5757acd
L
343962012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34397
34398 * stdlib/secure-getenv.c (__secure_getenv): Replace
34399 GLIBC_2_16 with GLIBC_2_17.
34400
3a31811e
L
344012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34402
34403 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34404 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34405
faa2bccb
DM
344062012-08-03 David S. Miller <davem@davemloft.net>
34407
34408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34409
85fe1997
JM
344102012-08-03 Joseph Myers <joseph@codesourcery.com>
34411
34412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34413 Remove.
34414 (__ASSUME_CORRECT_SI_PID): Likewise.
34415 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34416 (__ASSUME_TMPFS_NAME): Likewise.
34417 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34418 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34419 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34420 (HAVE_AUX_SECURE): Make definition unconditional.
34421 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34422 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34423
4f75b7a0
RM
344242012-08-03 Roland McGrath <roland@hack.frob.com>
34425
34426 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34427 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34428 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34430 __eloop_threshold instead of SYMLOOP_MAX.
34431
34432 * sysdeps/generic/eloop-threshold.h: New file.
34433 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34434 of MAXSYMLINKS.
34435 * elf/chroot_canon.c (chroot_canon): Likewise.
34436
7aab07e4
JM
344372012-08-03 Joseph Myers <joseph@codesourcery.com>
34438
34439 [BZ #13717]
34440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34441 Change to 2.6.0 everywhere.
34442 * sysdeps/unix/sysv/linux/configure: Regenerated.
34443 * sysdeps/unix/sysv/linux/kernel-features.h
34444 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34445 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34446 kernel versions.
34447 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34448 (__ASSUME_FUTEX_REQUEUE): Remove.
34449 (__ASSUME_STATFS64): Define unconditionally.
34450 (__ASSUME_AT_SECURE): Likewise.
34451 (__ASSUME_CORRECT_SI_PID): Likewise.
34452 (__ASSUME_TGKILL): Define without depending on kernel version for
34453 i386.
34454 (__ASSUME_UTIMES): Likewise.
34455 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34456 kernel version.
34457 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34458 (__ASSUME_TMPFS_NAME): Likewise.
34459 * README: Update reference to Linux kernel versions.
34460
b67e9372
MP
344612012-08-02 Marek Polacek <polacek@redhat.com>
34462
1f529f7d 34463 [BZ# 14150]
b67e9372
MP
34464 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34465 libc_cv_asm_type_prefix with %.
34466 * configure: Regenerated.
d2441631
RM
34467 * include/libc-symbols.h: Remove comment about
34468 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34469 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34470 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34471 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34472 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34473 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34474 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34475 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34476 * elf/tst-unique2mod1.c: Likewise.
34477 * elf/tst-unique1mod2.c: Likewise.
34478 * elf/tst-unique1mod1.c: Likewise.
34479 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34480 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34481 Replace ASM_TYPE_DIRECTIVE with .type.
34482 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34483 * sysdeps/i386/sysdep.h: Likewise.
34484 * sysdeps/x86_64/sysdep.h: Likewise.
34485 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34487 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34488 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34489 * sysdeps/powerpc/powerpc32/sysdep.h:
34490 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34491 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34492 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34493 * sysdeps/i386/fpu/e_powf.S: Likewise.
34494 * sysdeps/i386/fpu/e_expl.S: Likewise.
34495 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34496 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34497 * sysdeps/i386/fpu/e_pow.S: Likewise.
34498 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34500 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34501 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34502 * sysdeps/i386/fpu/e_log2.S: Likewise.
34503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34504 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34505 * sysdeps/i386/fpu/e_powl.S: Likewise.
34506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34507 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34508 * sysdeps/i386/fpu/e_logl.S: Likewise.
34509 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34510 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34511 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34513 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34514 * sysdeps/i386/fpu/e_log.S: Likewise.
34515 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34516 * sysdeps/i386/fpu/e_logf.S: Likewise.
34517 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34518 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34519 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34520 * sysdeps/i386/fpu/e_log10.S: Likewise.
34521 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34522 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34523 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34524 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34525 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34527 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34528 * sysdeps/i386/i686/strtok.S: Likewise.
34529 * sysdeps/i386/i386-mcount.S: Likewise.
34530 * sysdeps/i386/strtok.S: Likewise.
34531 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34533 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34535 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34536 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34537 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34538 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34539 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34540 * sysdeps/x86_64/_mcount.S: Likewise.
34541 * sysdeps/x86_64/strtok.S: Likewise.
34542 * sysdeps/sh/_mcount.S: Likewise.
34543
2747bf9a
RM
345442012-08-01 Roland McGrath <roland@hack.frob.com>
34545
34546 * libio/iofopen.c: Include <fcntl.h>.
34547 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34548 (_IO_fopen64, fopen64): Define as aliases.
34549 * libio/iofopen64.c: Include <fcntl.h>.
34550 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34551 Conditionalize body on this.
34552 * sysdeps/wordsize-64/iofopen.c: File removed.
34553 * sysdeps/wordsize-64/iofopen64.c: File removed.
34554
3fb791b8
MP
345552012-08-01 Marek Polacek <polacek@redhat.com>
34556
34557 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34558 Use dlfcn directly instead of a variable.
34559 (binfmt-subdir): Do not define.
34560 (dlfcn): Likewise.
34561
a9f1039f
JM
345622012-08-01 Joseph Myers <joseph@codesourcery.com>
34563
23bddc06
JM
34564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34565 Remove all definitions.
34566 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34567 <kernel-features.h>.
34568 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34569 (miss_F_GETOWN_EX): Remove all definitions.
34570 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34571 macro definition.
34572 [!__ASSUME_FCNTL64]: Remove conditional code.
34573 [__ASSUME_FCNTL64]: Make code unconditional.
34574 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34575 <kernel-features.h>.
34576 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34577 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34578 (lockf64) [__NR_fcntl64]: Make code unconditional.
34579 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34580
a9f1039f
JM
34581 * sysdeps/unix/sysv/linux/kernel-features.h
34582 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34583 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34584 Make code unconditional.
34585 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34586 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34588 [__NR_vfork]: Make code unconditional.
34589 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34590 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34592 [__NR_vfork]: Make code unconditional.
34593 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34594 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34595
09c0ee5f
RM
345962012-08-01 Roland McGrath <roland@hack.frob.com>
34597
48aec5b9
RM
34598 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34599 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34600
cd97c966
RM
34601 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34602 Define mkstemp64 as an alias.
3f55550c
RM
34603 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34604 Define mkstemps64 as an alias.
cd97c966
RM
34605 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34606 Define mkostemp64 as an alias.
b8625cfc
RM
34607 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34608 Define mkostemps64 as an alias.
cd97c966
RM
34609 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34610 Conditionalize body on this.
34611 * misc/mkostemp64.c: Likewise.
b8625cfc 34612 * misc/mkostemps64.c: Likewise.
3f55550c 34613 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34614 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34615 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34616 * sysdeps/wordsize-64/mkostemp.c: File removed.
34617 * sysdeps/wordsize-64/mkstemp.c: File removed.
34618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34619 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34620 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34621 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34622
09c0ee5f
RM
34623 [BZ #14138]
34624 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34625 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34626 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34627 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34628
34629 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34630 compat_symbol macros from <shlib-compat.h> rather than the underlying
34631 default_symbol_version and symbol_version macros, so that DEFAULT
34632 lines in shlib-versions are respected.
34633 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34634
7e66ee51
FW
346352012-08-01 Florian Weimer <fweimer@redhat.com>
34636
34637 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34638 Declare with warn_unused_result.
34639 (setgid, setregid, setegid, setresgid): Likewise.
34640 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34641 Likewise.
34642 * WUR-REPORT: Remove set*id functions.
34643
d2a54255
PT
346442012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34645
34646 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34647
7ecdb005
RM
346482012-07-31 Roland McGrath <roland@hack.frob.com>
34649
b4180a5e 34650 [BZ #10191]
789bd351
RM
34651 * include/sys/socket.h (__libc_accept, __libc_accept4):
34652 Add attribute_hidden.
34653 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34654
40ce302d
RM
34655 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34656 use of PTR_MANGLE.
34657 * inet/getnetgrent_r.c (setup): Likewise.
34658
7ecdb005
RM
34659 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34660
e2eabb2c
DM
346612012-07-31 David S. Miller <davem@davemloft.net>
34662
34663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34664
d0419dbf
JM
346652012-07-31 Joseph Myers <joseph@codesourcery.com>
34666
34667 [BZ #13629]
34668 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34669 value between 1.0 and 2.0 and smaller part has absolute value less
34670 than 1.0.
34671 * math/s_clog10.c (__clog10): Likewise.
34672 * math/s_clog10f.c (__clog10f): Likewise.
34673 * math/s_clog10l.c (__clog10l): Likewise.
34674 * math/s_clogf.c (__clogf): Likewise.
34675 * math/s_clogl.c (__clogl): Likewise.
34676 * math/libm-test.inc (clog_test): Add more tests.
34677 (clog10_test): Likewise.
34678 * sysdeps/i386/fpu/libm-test-ulps: Update.
34679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34680
2bc13872
FW
346812012-07-31 Florian Weimer <fweimer@redhat.com>
34682
34683 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34684 Exit with zero in case no suitable GID is found, and write a
34685 message to standard error.
34686
bea9b193
RM
346872012-07-30 Roland McGrath <roland@hack.frob.com>
34688
34689 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34690 rather than to 1.
34691 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34692 (MAXPATHLEN): Removed.
34693 (NOGROUP, NODEV): New macros.
34694 (setbit, clrbit, isset, isclr): New macros.
34695 (howmany, roundup, powerof2): New macros.
34696 (DEV_BSIZE): New macro.
34697
34698 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34699 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34700
34701 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34702 definition on [!__NO_LONG_DOUBLE_MATH].
34703
34704 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34705 PTR_MANGLE and PTR_DEMANGLE.
34706
34707 * socket/accept4.c (accept4): Rename to __libc_accept4.
34708 Define accept4 as a weak alias.
34709
34710 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34711 on [_DIRENT_HAVE_D_TYPE].
34712 * io/ftw.c (ftw_dir): Likewise.
34713
34714 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34715
34716 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34717
34718 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34719 Use the BSD numbers rather than the arbitrary ones we had.
34720 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34721 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34722 (SIGXCPU, SIGXFSZ): New macros.
34723 (_NSIG): Now 32.
34724
34725 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34726 initializer on [_LIBC_REENTRANT].
34727
34728 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34729 definitions inside [_POSIX_MAPPED_FILES].
34730
34731 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34732
34733 * dirent/opendir.c: Include <fcntl.h>.
34734
34735 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34736 (__libc_getspecific): Likewise.
34737 (__libc_key_create): Likewise.
34738
34739 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34740 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34741 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34742 (tmpfile64): Define as alias.
34743 * sysdeps/wordsize-64/tmpfile.c: File removed.
34744 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34745 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34746 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34747
34748 * stdio-common/vfscanf.c: Include <stdbool.h>.
34749 * nss/makedb.c: Likewise.
34750 * stdio-common/_i18n_number.h: Likewise.
34751 * argp/argp-help.c: Likewise.
34752 * posix/wordexp.c: Likewise.
34753 * sysdeps/posix/spawni.c: Likewise.
34754 * nss/nss_files/files-initgroups.c: Likewise.
34755 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34756 * nss/nss_files/files-initgroups.c: Likewise.
34757 * nss/nss_db/db-netgrp.c: Likewise.
34758 * nss/nss_db/db-initgroups.c: Likewise.
34759 * io/fchmodat.c: Include <sys/stat.h>.
34760
34761 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34762 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34763
34764 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34765 [HAVE_MMAP].
34766
34767 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34768 Add multiple inclusion protection.
34769
e5abc686
DM
347702012-07-27 David S. Miller <davem@davemloft.net>
34771
34772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34773
815e6fa3
GB
347742012-07-27 Gary Benson <gbenson@redhat.com>
34775
34776 [BZ #14298]
34777 * elf/rtld.c: Include <stap-probe.h>.
34778 (dl_main): Added static probes "init_start" and "init_complete".
34779 * elf/dl-load.c: Include <stap-probe.h>.
34780 (lose): Take new parameter "nsid".
34781 Added static probe "map_failed".
34782 (_dl_map_object_from_fd): Pass namespace id to lose.
34783 Added static probe "map_start".
34784 (open_verify): Pass namespace id to lose.
34785 * elf/dl-open.c: Include <stap-probe.h>.
34786 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34787 and "reloc_complete".
34788 * elf/dl-close.c: Include <stap-probe.h>.
34789 (_dl_close_worker): Added static probes "unmap_start" and
34790 "unmap_complete".
34791 * elf/rtld-debugger-interface.txt: New file documenting the above.
34792
9f98c16c
RM
347932012-07-26 Roland McGrath <roland@hack.frob.com>
34794
34795 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34796 rather than a string variable.
34797 * sunrpc/rpc_main.c (h_output): Likewise.
34798 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34799
f3c22df3
PT
348002012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34801
34802 * inet/check_native.c: New file.
34803
3129cfc6
JM
348042012-07-26 Joseph Myers <joseph@codesourcery.com>
34805
da865e95
JM
34806 [BZ #13629]
34807 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34808 if larger part has absolute value 1.0.
34809 * math/s_clog10.c (__clog10): Likewise.
34810 * math/s_clog10f.c (__clog10f): Likewise.
34811 * math/s_clog10l.c (__clog10l): Likewise.
34812 * math/s_clogf.c (__clogf): Likewise.
34813 * math/s_clogl.c (__clogl): Likewise.
34814 * math/libm-test.inc (clog_test): Add more tests.
34815 (clog10_test): Likewise.
34816 * sysdeps/i386/fpu/libm-test-ulps: Update.
34817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34818
3129cfc6
JM
34819 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34820 (pltexit): Likewise.
34821 (La_regs): Likewise.
34822 (La_retval): Likewise.
34823 (int_retval): Likewise.
34824 Update #error for removed macros to refer only to definitions in
34825 tst-audit.h.
34826 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34827 macro.
34828 (pltexit): Likewise.
34829 (La_regs): Likewise.
34830 (La_retval): Likewise.
34831 (int_retval): Likewise.
34832 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34833 macro.
34834 (pltexit): Likewise.
34835 (La_regs): Likewise.
34836 (La_retval): Likewise.
34837 (int_retval): Likewise.
34838 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34839 macro.
34840 (pltexit): Likewise.
34841 (La_regs): Likewise.
34842 (La_retval): Likewise.
34843 (int_retval): Likewise.
34844 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34845 macro.
34846 (pltexit): Likewise.
34847 (La_regs): Likewise.
34848 (La_retval): Likewise.
34849 (int_retval): Likewise.
34850 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34851 macro.
34852 (pltexit): Likewise.
34853 (La_regs): Likewise.
34854 (La_retval): Likewise.
34855 (int_retval): Likewise.
34856 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34857 macro.
34858 (pltexit): Likewise.
34859 (La_regs): Likewise.
34860 (La_retval): Likewise.
34861 (int_retval): Likewise.
34862 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34863 macro definitions in tst-audit.h.
34864 * sysdeps/i386/tst-audit.h: New file.
34865 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34866 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34867 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34868 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34869 * sysdeps/sh/tst-audit.h: Likewise.
34870 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34871 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34872 * sysdeps/x86_64/tst-audit.h: Likewise.
34873
bfc07087
AJ
348742012-07-26 Andreas Jaeger <aj@suse.de>
34875
b1b2aaf8
AJ
34876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34877 ptrace.
34878
34879 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34880 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34881 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34882 PTRACE_O_MASK.
34883 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34884 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34885 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34886
bfc07087
AJ
34887 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34888 value.
34889
34890 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34891 _sigsys.
34892 (si_call_addr, si_syscall, si_arch): Define new macro.
34893 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34894 _sigsys.
34895 (si_call_addr, si_syscall, si_arch): Define new marcro.
34896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34897 _sigsys.
34898 (si_call_addr, si_syscall, si_arch): Define new macro.
34899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34900 _sigsys.
34901 (si_call_addr, si_syscall, si_arch): Define new macro.
34902
89b4b02f
JM
349032012-07-25 Joseph Myers <joseph@codesourcery.com>
34904
34905 [BZ #13717]
34906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34907 Change to 2.4.21 where previously 2.4.1.
34908 * sysdeps/unix/sysv/linux/configure: Regenerated.
34909 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34910 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34911 Linux kernel version.
34912 (__ASSUME_STD_AUXV): Remove.
34913 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34914 kernel version.
34915 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34916 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34917 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34918 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34919 (__ASSUME_NETLINK_SUPPORT): Likewise.
34920 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34921 (__no_netlink_support): Remove conditional definition.
34922 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34923 Remove.
34924 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34925 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34926 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34927 (if_nameindex_ioctl): Remove.
34928 (if_nameindex_netlink): Do not handle __no_netlink_support.
34929 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34930 code.
34931 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34932 Remove conditional code.
34933 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34934 code.
34935 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34936 unconditional.
34937 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34938 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34939 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34940 Remove.
34941 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34942 [!__ASSUME_STD_AUXV]: Remove conditional code.
34943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34944 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34945 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34947 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34948 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34949 code.
34950 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34952 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34953 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34954 conditional code.
34955 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34957 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34958 code.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34960 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34961 conditional code.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34963 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34964 code unconditional.
34965 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34966 conditional code.
34967 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34968 unconditional.
34969 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34970 conditional code.
34971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34972 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34973 unconditional.
34974 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34975 conditional code.
34976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34977 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34978 code unconditional.
34979 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34980 conditional code.
34981 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34982 unconditional.
34983 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34984 conditional code.
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34986 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34987 code unconditional.
34988 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34989 conditional code.
34990 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34991 unconditional.
34992 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34993 conditional code.
34994
842a39cd
AS
349952012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34996
34997 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34998 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34999 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35000 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35001 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35002 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35003 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35004 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35005 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35006 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35007 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35008 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35009 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35010 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35011 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35012 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35013 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35015 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35017 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35018 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35020
84b3fd84
FW
350212012-07-25 Florian Weimer <fweimer@redhat.com>
35022
35023 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35024 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35025 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35026 Introduce __libc_secure_getenv.
0c7936d5
FW
35027 * stdlib/Versions (2.17): Add secure_getenv
35028 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35029 * stdlib/secure-getenv.c: Rename __secure_getenv to
35030 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35031 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35032 * stdlib/tst-secure-getenv.c: New.
35033 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35034 * manual/startup.texi (Environment Access): Document
35035 secure_getenv.
84b3fd84
FW
35036 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35037 __libc_secure_getenv.
35038 * inet/ruserpass.c (ruserpass): Likewise.
35039 * malloc/mtrace.c (mtrace): Likewise.
35040 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35041 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35042 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35043 * sysdeps/posix/tempname.c: Likewise. Evaluate
35044 HAVE_SECURE_GETENV.
35045 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35046 __secure_getenv to __libc_secure_getenv.
84b3fd84 35047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35049 Likewise.
35050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35051 Likewise.
35052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35059
56e49b71
JM
350602012-07-25 Joseph Myers <joseph@codesourcery.com>
35061
35062 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35063 (struct La_i86_retval): Likewise.
35064 (struct La_x86_64_regs): Likewise.
35065 (struct La_x86_64_retval): Likewise.
35066 (struct La_x32_regs): Likewise.
35067 (struct La_x32_retval): Likewise.
35068 (struct La_ppc32_regs): Likewise.
35069 (struct La_ppc32_retval): Likewise.
35070 (struct La_ppc64_regs): Likewise.
35071 (struct La_ppc64_retval): Likewise.
35072 (struct La_sh_regs): Likewise.
35073 (struct La_sh_retval): Likewise.
35074 (struct La_s390_32_regs): Likewise.
35075 (struct La_s390_32_retval): Likewise.
35076 (struct La_s390_64_regs): Likewise.
35077 (struct La_s390_64_retval): Likewise.
35078 (struct La_sparc32_regs): Likewise.
35079 (struct La_sparc32_retval): Likewise.
35080 (struct La_sparc64_regs): Likewise.
35081 (struct La_sparc64_retval): Likewise.
35082 (struct audit_ifaces): Remove architecture-specific pltenter and
35083 pltexit members.
35084 * sysdeps/i386/ldsodefs.h: New file.
35085 * sysdeps/powerpc/ldsodefs.h: Likewise.
35086 * sysdeps/s390/ldsodefs.h: Likewise.
35087 * sysdeps/sh/ldsodefs.h: Likewise.
35088 * sysdeps/sparc/ldsodefs.h: Likewise.
35089 * sysdeps/x86_64/ldsodefs.h: Likewise.
35090
354691b7
MP
350912012-07-25 Marek Polacek <polacek@redhat.com>
35092
35093 [BZ #6808]
35094 * math/libm-test.inc (yn_test): Add another test.
35095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35096 to ERANGE when the result is +-Inf.
35097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35098 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35099 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35100 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35101
bf9e2071
JM
351022012-07-24 Joseph Myers <joseph@codesourcery.com>
35103
35104 * conform/data/time.h-data (NULL): Use macro-constant. Require
35105 equal to 0.
35106 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35107 clock_t.
35108 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35109
57633811
TS
351102012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35111
35112 * configure.in <sysdeps resolving>: Correct printing
35113 Implies_before.
35114 * configure: Regenerate.
35115
c23c33b0
TS
351162012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35117
35118 * math/w_ilogb.c: Include <limits.h>.
35119 * math/w_ilogbl.c: Likewise.
35120
b5982523
JM
351212012-07-20 Joseph Myers <joseph@codesourcery.com>
35122
35123 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35124 va_copy. Document allowing for unavailable va_copy only as
35125 pre-C99 compatibility.
35126 * manual/string.texi (Copying and Concatenation): Use va_copy
35127 instead of __va_copy in concat example.
35128
ac4ea442
PT
351292012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35130
35131 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35132 (__sendto): Use create_address_port. Initialize APORT and deallocate
35133 it if not null.
35134
f98eafbd
PT
35135 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35136 with O_NOLINK passed to __file_name_lookup.
35137
898c7aab
PT
35138 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35139 with O_NOLINK passed to __file_name_lookup.
35140
0ced335a
PT
35141 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35142 negative N or less than NGIDS.
35143
b3404dbd
PT
35144 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35145 type to string_t. Set ERANGE as errno and return it if NAME is not big
35146 enough. Use memcpy instead of strncpy.
35147
0f48659e
JM
351482012-07-20 Joseph Myers <joseph@codesourcery.com>
35149
35150 * elf/Makefile (check-data): Remove.
35151 (localplt.data): New vpath directive.
35152 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35153 instead of $(check-data).
35154 * scripts/data/localplt-generic.data: Move to ...
35155 * sysdeps/generic/localplt.data: ... here.
35156 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35157 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35158 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35160 ... here.
35161 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35163 ... here.
35164 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35166 ... here.
35167 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35169 ... here.
35170 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35172 ... here.
35173 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35175 ... here.
35176
d37cbdaa
AZ
351772012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35178
35179 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35180 PPC32 and PPC64 files.
35181 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35182 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35183
46f85fc2
AK
351842012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35185
35186 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35187 __makecontext_ret to ...
35188 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35189 ... here and call exit if uc_link is NULL. New file.
35190 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35191 __makecontext_ret.S.
35192 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35193 __makecontext_ret to ...
35194 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35195 ... here and call exit if uc_link is NULL. New file.
35196 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35197 __makecontext_ret.S.
35198
08f43f9b
AK
351992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35200
35201 * elf/elf.h (R_390_IRELATIVE): New definition.
35202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35203 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35204 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35206 (elf_machine_lazy_rel): Likewise.
35207 * sysdeps/s390/dl-irel.h: New file.
35208 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35209 * sysdeps/s390/s390-64/memset.S: New asm code.
35210 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35211 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35213 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35214 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35215 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35217 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35218 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35219 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35220 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35221 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35222 * sysdeps/s390/s390-32/memset.S: New asm code.
35223 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35224
3b05db33
MP
352252012-07-17 Marek Polacek <polacek@redhat.com>
35226
35227 [BZ #14349]
35228 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35229 * sysdeps/s390/s390-64/configure.in: Likewise.
35230 * sysdeps/sparc/configure.in: Likewise.
35231 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35232 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35233 * sysdeps/i386/configure.in: Likewise.
35234 * sysdeps/x86_64/configure.in: Likewise.
35235 * sysdeps/sh/configure.in: Likewise.
35236 * sysdeps/s390/s390-32/configure: Regenerated.
35237 * sysdeps/s390/s390-64/configure: Likewise.
35238 * sysdeps/x86_64/configure: Likewise.
35239 * sysdeps/sh/configure: Likewise.
35240 * sysdeps/powerpc/powerpc64/configure: Likewise.
35241 * sysdeps/powerpc/powerpc32/configure: Likewise.
35242 * sysdeps/sparc/configure: Likwise.
35243 * sysdeps/i386/configure: Likewise.
35244
a66877c6
MP
35245 * elf/dl-open.c: Comment fixes.
35246
cfc82fd8
JM
352472012-07-17 Joseph Myers <joseph@codesourcery.com>
35248
bd29910a
JM
35249 * Makefile [CXX] (check-data): Remove.
35250 [CXX] (c++-types.data): New vpath directive.
35251 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35252 vpath. Do not allow for C++ type data being missing.
35253 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35254 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35255 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35256 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35257 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35258 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35259 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35261 ... here.
35262 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35264 ... here.
35265 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35267 ... here.
35268 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35270 ... here.
35271 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35273 ... here.
35274 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35276 ... here.
35277 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35279 ... here.
35280 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35282
cfc82fd8
JM
35283 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35284 definitions to architecture-specific files.
35285 (TLS_IE): Likewise.
35286 (TLS_LD): Likewise.
35287 (TLS_GD): Likewise.
35288 * sysdeps/i386/tls-macros.h: New file.
35289 * sysdeps/powerpc/tls-macros.h: Likewise.
35290 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35291 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35292 * sysdeps/sh/tls-macros.h: Likewise.
35293 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35294 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35295 * sysdeps/x86_64/tls-macros.h: Likewise.
35296
f7db3170
TS
352972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35298
07cbfc23
TS
35299 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35300 zero value for regular exit case.
35301
f7db3170
TS
35302 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35303 (__start_context): Preserve zero value for regular exit case.
35304
dc97c227
TS
353052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35306 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35307
35308 * manual/setjmp.texi (setcontext): Clarify normal process
35309 termination when uc_link is the null pointer.
35310 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35311 exit call.
35312
d0cd7d02
AS
353132012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35314
35315 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35316 preprocessor. Test for each exception mask separately.
35317
dd318934
AJ
353182012-07-16 Andreas Jaeger <aj@suse.de>
35319
35320 * po/ru.po: Update from translation team.
35321
8048311a
JM
353222012-07-15 Joseph Myers <joseph@codesourcery.com>
35323
35324 * conform/data/string.h-data (NULL): Use macro-constant. Require
35325 equal to 0.
35326 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35327 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35328 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35329 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35331
b637d46e
AJ
353322012-07-13 Andreas Jaeger <aj@suse.de>
35333
35334 * po/fr.po: Update from translation team.
35335
541428fe
MP
353362012-07-12 Marek Polacek <polacek@redhat.com>
35337
35338 [BZ #14173]
35339 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35341 loop condition.
35342
ec332e94
JM
353432012-07-12 Joseph Myers <joseph@codesourcery.com>
35344
35345 [BZ #13717]
35346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35347 Change to 2.4.1 where previously 2.4.0.
35348 * sysdeps/unix/sysv/linux/configure: Regenerated.
35349 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35350 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35351 version.
35352 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35353 (__ASSUME_AT_CLKTCK): Remove.
35354 (__ASSUME_AT_PAGESIZE): Likewise.
35355 (__ASSUME_AT_XID): Likewise.
35356 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35357 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35358 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35359 unconditionally.
35360 (HAVE_AUX_PAGESIZE): Likewise.
35361 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35362 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35363 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35364
7b6e99be
JB
353652012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35366
35367 [BZ #14307]
35368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35369 the temporary buffer used to invoke __gethostbyname2_r,
35370 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35371 host_data / struct gaih_addrtuple.
35372 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35373 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35374 header file nss/nsswitch.h.
35375 * nss/nsswitch.h (global scope): Add definition of implementation
35376 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35377 resolv/nss_dns/dns-host.c).
35378
608404eb
AJ
353792012-07-11 Andreas Jaeger <aj@suse.de>
35380
35381 * po/fr.po: Update from translation team.
35382
71220aca
AJ
35383 * po/sv.po: Update from translation team
35384 * po/fr.po: Another update from translation team.
35385
28cfe843
AZ
353862012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35387
35388 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35389 for subnormals or multiply small sinh result by itself.
35390 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35392
6b90f981
DM
353932012-07-11 David S. Miller <davem@davemloft.net>
35394
35395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35396
c6825772
AS
353972012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35398
35399 [BZ #14347]
35400 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35401 (INTERNAL_MARK): Shift it here.
35402
7b8e0d49
MP
354032012-07-10 Marek Polacek <polacek@redhat.com>
35404
35405 [BZ #14151]
35406 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35407 libc_cv_asm_global_directive with .globl.
35408 * configure: Regenerated.
35409 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35410 with .globl.
35411 * sysdeps/i386/configure: Regenerated.
35412 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35413 with .globl.
35414 * sysdeps/x86_64/configure: Regenerated.
35415 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35416 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35417 * elf/tst-unique2mod2.c: Likewise.
35418 * elf/tst-unique2mod1.c: Likewise.
35419 * elf/tst-unique1mod2.c: Likewise.
35420 * elf/tst-unique1mod1.c: Likewise.
35421 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35422 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35424 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35425 * sysdeps/mach/sysdep.h: Likewise.
35426 * sysdeps/i386/sysdep.h: Likewise.
35427 * sysdeps/i386/i386-mcount.S: Likewise.
35428 * sysdeps/x86_64/_mcount.S: Likewise.
35429 * sysdeps/x86_64/sysdep.h: Likewise.
35430 * sysdeps/sh/_mcount.S: Likewise.
35431 * sysdeps/sh/sysdep.h: Likewise.
35432 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35433 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35434 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35435 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35436 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35437 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35438 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35439 * locale/localeinfo.h: Likewise.
35440 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35441 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35442
6c55cda3
RM
354432012-07-09 Roland McGrath <roland@hack.frob.com>
35444
35445 [BZ #14336]
35446 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35447 system".
35448 * manual/message.texi (The Uniforum approach): Likewise.
35449 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35450 (glibc iconv Implementation): Likewise.
35451
638a572e
JM
354522012-07-09 Joseph Myers <joseph@codesourcery.com>
35453
35454 [BZ #14337]
35455 * math/s_clog.c (__clog): Avoid scaling a value down where that
35456 could result in underflow.
35457 * math/s_clog10.c (__clog10): Likewise.
35458 * math/s_clog10f.c (__clog10f): Likewise.
35459 * math/s_clog10l.c (__clog10l): Likewise.
35460 * math/s_clogf.c (__clogf): Likewise.
35461 * math/s_clogl.c (__clogl): Likewise.
35462 * math/libm-test.inc (clog_test): Add more tests.
35463 (clog10_test): Likewise.
35464 * sysdeps/i386/fpu/libm-test-ulps: Update.
35465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35466
261f4859
AS
354672012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35468
0abaf3e4
AS
35469 [BZ #14283]
35470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35471 by 7 not 8 to examine high bit of fractional part.
35472
261f4859
AS
35473 [BZ #14042]
35474 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35475 for call to __mcount_internal.
35476 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35477 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35478 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35479
f17ac40d
JM
354802012-07-06 Joseph Myers <joseph@codesourcery.com>
35481
9ad63c23
JM
35482 [BZ #14154]
35483 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35484 approximation for values within 0x1p-13f of an odd multiple of
35485 pi/4.
35486 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35487 exception. Add more tests.
35488 * sysdeps/i386/fpu/libm-test-ulps: Update.
35489
f17ac40d
JM
35490 [BZ #6778]
35491 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35492 inputs and return -1 for them. Do not check for +Inf in case not
35493 reachable for +Inf.
35494 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35495 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35497 and return -1 for them. Do not check for +Inf in case not
35498 reachable for +Inf.
35499 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35500 define.
35501 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35502 and return -1 for them. Do not check for +Inf in case not
35503 reachable for +Inf.
35504 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35505 spurious underflow.
35506 * sysdeps/i386/fpu/libm-test-ulps: Update.
35507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35508
fb21f89b
MF
355092012-07-06 Mike Frysinger <vapier@gentoo.org>
35510
35511 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35512
cdfe2c5e
JM
355132012-07-05 Joseph Myers <joseph@codesourcery.com>
35514
35515 [BZ #14157]
35516 [BZ #14331]
35517 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35518 could result in spurious underflow. Scale down values above
35519 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35520 * math/s_csqrtf.c (__csqrtf): Likewise.
35521 * math/s_csqrtl.c (__csqrtl): Likewise.
35522 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35523 spurious underflow.
35524 * sysdeps/i386/fpu/libm-test-ulps: Update.
35525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35526
70d35b67
AS
355272012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35528
704bc459
AS
35529 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35530 xopen-msg.sed.
35531 * catgets/xopen-msg.awk: New file.
35532 * catgets/xopen-msg.sed: Removed.
35533
70d35b67
AS
35534 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35535 po2text.sed.
35536 * intl/po2test.awk: New file.
35537 * intl/po2test.sed: Removed.
35538
ca61cf32
JM
355392012-07-04 Joseph Myers <joseph@codesourcery.com>
35540
35541 [BZ #14328]
35542 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35543 or multiply small sinh result by itself.
35544 * math/s_ctanf.c (__ctanf): Likewise.
35545 * math/s_ctanh.c (__ctanh): Likewise.
35546 * math/s_ctanhf.c (__ctanhf): Likewise.
35547 * math/s_ctanhl.c (__ctanhl): Likewise.
35548 * math/s_ctanl.c (__ctanl): Likewise.
35549 * math/libm-test.inc (ctan_test_tonearest): New function.
35550 (ctan_test_towardzero): Likewise.
35551 (ctan_test_downward): Likewise.
35552 (ctan_test_upward): Likewise.
35553 (ctanh_test_tonearest): Likewise.
35554 (ctanh_test_towardzero): Likewise.
35555 (ctanh_test_downward): Likewise.
35556 (ctanh_test_upward): Likewise.
35557 (main): Call these new functions.
35558 * sysdeps/i386/fpu/libm-test-ulps: Update.
35559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35560
ca48a46a
MF
355612012-07-03 Mike Frysinger <vapier@gentoo.org>
35562
35563 * .gitignore: Delete /ports entry.
35564
9d63d37d
AJ
355652012-07-03 Andreas Jaeger <aj@suse.de>
35566
35567 * po/bg.po: Update from translation team.
35568 * po/cs.po: Likewise.
35569 * po/de.po: Likewise.
35570 * po/hr.po: Likewise.
35571 * po/nl.pl: Likewise.
35572 * po/pl.po: Likewise.
35573 * po/vi.po: Likewise.
35574
370ca3d2
JM
355752012-07-03 Joseph Myers <joseph@codesourcery.com>
35576
95f5a9a8
JM
35577 * Makeconfig [!+link] (+link-before-libc): New variable.
35578 [!+link] (+link-after-libc): Likewise.
35579 [!+link] (+link-tests): Likewise.
35580 [!+link] (+link): Define in terms of $(+link-before-libc) and
35581 $(+link-after-libc).
35582 [!+link-static] (+link-static-before-libc): New variable.
35583 [!+link-static] (+link-static-after-libc): Likewise.
35584 [!+link-static] (+link-static-tests): Likewise.
35585 [!+link-static] (+link-static): Define in terms of
35586 $(+link-static-before-libc) and $(+link-static-after-libc).
35587 [build-shared] (link-libc-before-gnulib): New variable.
35588 [build-shared] (link-libc-tests): Likewise.
35589 [build-shared] (link-libc): Define in terms of
35590 $(link-libc-before-gnulib).
35591 [!build-shared] (link-libc-tests): New variable.
35592 (link-libc-static-tests): New variable.
35593 [!gnulib] (gnulib-arch): New variable.
35594 [!gnulib] (gnulib-tests): Likewise.
35595 [!gnulib] (static-gnulib-arch): Likewise.
35596 [!gnulib] (static-gnulib-tests): Likewise.
35597 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35598 Define with "=" instead of ":=".
35599 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35600 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35601 * Rules (binaries-all-notests): New variable.
35602 (binaries-all-tests): Likewise.
35603 (binaries-static-notests): Likewise.
35604 (binaries-static-tests): Likewise.
35605 (binaries-all): Define using $(binaries-all-notests) and
35606 $(binaries-all-tests).
35607 (binaries-static): Define using $(binaries-static-notests) and
35608 $(binaries-static-tests).
35609 (binaries-shared-tests): New variable.
35610 (binaries-shared-notests): Likewise.
35611 (binaries-shared): Remove variable.
35612 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35613 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35614 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35615 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35616 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35617 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35618 * elf/Makefile (sln-modules): New variable.
35619 (extra-objs): Add $(sln-modules:=.o).
35620 (ldconfig-modules): Add static-stubs.
35621 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35622 * elf/static-stubs.c: New file.
35623
7a845b2c
JM
35624 [BZ #14283]
35625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35626 by 7 not 8 to examine high bit of fractional part. Use volatile
35627 variables when splitting into final array of floats if
35628 __FLT_EVAL_METHOD__ != 0.
35629 * math/libm-test.inc (cos_test): Add another test.
35630 (sin_test): Likewise.
35631 * sysdeps/i386/fpu/libm-test-ulps: Update.
35632
e2283f38
JM
35633 [BZ #14273]
35634 * math/libm-test.inc (cosh_test): Add more tests.
35635
370ca3d2
JM
35636 * version.h (RELEASE): Set to "development".
35637 (VERSION): Set to "2.16.90".
35638
ee9247c3
CD
356392012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35640
35641 * NEWS: Update copyright. Remove last-updated date.
35642 Mention math library bug fixes and timezone data changes.
35643 * README: Mention GNU/Hurd, x32, and HPPA support status.
35644
4648c381
TS
356452012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35646
35647 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35648
aac78a43
AJ
356492012-06-27 Andreas Jaeger <aj@suse.de>
35650
35651 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35652
ed3dbfad
AJ
356532012-06-25 Andreas Jaeger <aj@suse.de>
35654
35655 * sysdeps/s390/fpu/libm-test-ulps: Update.
35656
4d0ee855
AS
356572012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35658 Thomas Schwinge <thomas@codesourcery.com>
35659
35660 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35661 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35662 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35663 fanotify_mark.
35664
af1bce34
TS
356652012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35666
a9fa33ba
TS
35667 * sysdeps/mach/start.c: Remove file.
35668 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35669 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35670 * sysdeps/sh/init-first.c: Likewise.
35671
58f902b8
TS
35672 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35673 registers for frame unwinding purposes, add CFI directives.
35674 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35675 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35676 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35677 Likewise.
35678
1518f58b
TS
35679 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35680 __fortify_fail returning.
35681 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35682
db9b5059
TS
35683 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35684 sysdeps/sh/____longjmp_chk.S.
35685 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35686 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35687 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35688 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35689
967705fe
TS
35690 * sysdeps/sh/abort-instr.h: New file.
35691 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35692 process in case exit returns.
35693
a9def8c4
TS
35694 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35695 initialize the GOT register before use.
35696
2a649725
TS
35697 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35698 calculation of ARGC > 4.
35699
af1bce34
TS
35700 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35701 meaningful names to some local labels.
35702
d230f50a
KK
357032012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35704 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35705
35706 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35707 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35708 (__arch_compare_and_exchange_val_16_acq): Likewise.
35709 (__arch_compare_and_exchange_val_32_acq): Likewise.
35710 (atomic_exchange_and_add): Fix gUSA sequence.
35711 (atomic_add): Likewise.
35712 (atomic_add_negative): Likewise.
35713 (atomic_add_zero): Likewise.
35714 (atomic_bit_test_set): Likewise.
35715
0479b305
AS
357162012-06-22 Andreas Schwab <schwab@redhat.com>
35717
35718 [BZ #13579]
35719 * include/link.h (struct link_map): Add l_free_initfini.
35720 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35721 l_initfini.
35722 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35723 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35724 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35725 set.
35726
0e3933b9
CD
357272012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35728
35729 * configure.in: Use AC_LANG_SOURCE.
35730 * configure: Regenerate.
35731
4248b1b1
RM
357322012-06-22 Roland McGrath <roland@hack.frob.com>
35733
35734 * configure.in (libc_cv_localstatedir): New substituted variable.
35735 * configure: Regenerated.
35736 * config.make.in (localstatedir): New variable, substituted from
35737 libc_cv_localstatedir.
35738 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35739 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35740 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35741 * sysdeps/gnu/configure: Regenerated.
35742
006dd861
JL
357432012-06-21 Jeff Law <law@redhat.com>
35744
35745 [BZ #14277]
35746 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35747 free. Simplify list management for _LIBC case.
35748
79662d42
JM
357492012-06-21 Joseph Myers <joseph@codesourcery.com>
35750
b7abb4bf
JM
35751 [BZ #14273]
35752 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35753 Clear sign bit of 64-bit integer value before comparing against
35754 overflow value.
35755
79662d42
JM
35756 * sysdeps/mach/configure: Regenerated.
35757
1f150908
L
357582012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35759
35760 [BZ #14278]
35761 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35762
28363bbf
JL
357632012-06-21 Jeff Law <law@redhat.com>
35764
35765 [BZ #13882]
35766 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35767 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35769 * elf/dl-open.c (dl_open_worker): Likewise.
35770
09615db4
CD
357712012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35772
35773 * scripts/list-sources.sh: Scan PORTS for translations.
35774 * po/libc.pot: Regenerated.
35775
2174c6dd
AJ
357762012-06-21 Andreas Jaeger <aj@suse.de>
35777
35778 [BZ #12194]
35779 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35780 warning.
35781 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35782 * bits/byteswap-16.h (__bswap_16): Likewise.
35783 * bits/byteswap.h (__bswap_constant_16): Likewise.
35784
3ee947b1
L
357852012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35786
35787 [BZ #14117]
a2f34833
L
35788 * sysdeps/i386/fpu_control.h: Removed.
35789 * sysdeps/x86_64/fpu_control.h: Moved to ...
35790 * sysdeps/x86/fpu_control.h: Here.
35791
3ee947b1
L
35792 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35793 (_FPU_SETCW): Likewise.
35794
ed1825f8
L
357952012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35796
25f1282a
L
35797 [BZ #14117]
35798 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35799 * sysdeps/x86/fpu/bits/mathinline.h: This.
35800 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35801
ed1825f8
L
35802 [BZ #14050]
35803 [BZ #14117]
35804 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35805 functions if __x86_64__ is defined.
35806
36d54b74
CLT
358072012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35808
35809 * string/endian.h: Add !__ASSEMBLER__ condition for including
35810 conversion interfaces.
35811
10285c21
JM
358122012-06-15 Joseph Myers <joseph@codesourcery.com>
35813
35814 [BZ #14241]
35815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35816 of ABS(x) in calculating zero to negative powers other than odd
35817 integers.
35818 * math/libm-test.inc (pow_test): Add more tests.
35819
06c5abbd
AJ
358202012-06-15 Andreas Jaeger <aj@suse.de>
35821
35822 * manual/contrib.texi (Contributors): Update entry of Liubov
35823 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35824 Machado Filho.
35825
a3aeac40
CH
358262012-06-15 Cyril Hrubis <metan@ucw.cz>
35827
35828 * string/string.h: Add __wur to GNU version of strerror_r.
35829
49bdf4c1
L
358302012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35831
35832 [BZ #14229]
35833 * string/Makefile (tests): Add tst-strtok_r.
35834 * string/tst-strtok_r.c: New file.
35835 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35836 RAX_LP/RDX_LP on SAVE_PTR.
35837
834f9b8d
RM
358382012-06-14 Roland McGrath <roland@hack.frob.com>
35839
35840 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35841
75fa1921
JM
358422012-06-14 Joseph Myers <joseph@codesourcery.com>
35843
35844 * libm_test.inc (csqrt_test): Allow more spurious underflow
35845 exceptions.
35846 (j0_test): Likewise.
35847 (j1_test): Likewise.
35848 (y0_test): Likewise.
35849 (y1_test): Likewise.
35850
771766df
CD
358512012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35852
35853 * po/Makefile (libc.pot): Use UTF-8 charset.
35854
ceb9e56b
PP
358552012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35856
35857 [BZ #14210]
35858 Suppress sign-conversion warning from FD_SET.
35859 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35860 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35861 not unsigned long int.
35862 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35863
ddb28975
L
358642012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35865
35866 [BZ #14050]
35867 [BZ #14117]
35868 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35869 __extern_always_inline instead of __extern_inline.
35870 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35871 (__signbit): Likewise.
35872 (__signbitl): Support C++ namespace.
35873 (lrintf): New inline function.
35874 (lrint): Likewise.
35875 (llrintf): Likewise.
35876 (llrint): Likewise.
35877 (fmaxf): Likewise.
35878 (fmax): Likewise.
35879 (fminf): Likewise.
35880 (fmin): Likewise.
35881 (rint): Likewise.
35882 (rintf): Likewise.
35883 (ceil): Likewise.
35884 (ceilf): Likewise.
35885 (floor): Likewise.
35886 (floorf): Likewise.
35887 (nearbyint): Likewise.
35888 (nearbyintf): Likewise.
35889
d7b4fb26
TS
358902012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35891
35892 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35893 non-default versions.
35894
eb55f5c2
RM
358952012-06-11 Roland McGrath <roland@hack.frob.com>
35896
35897 [BZ #14218]
35898 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35899
366af02c
TS
359002012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35901
99ff6e5c
TS
35902 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35903 (FE_UPWARD, FE_DOWNWARD): Don't define.
35904 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35905 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35906
366af02c
TS
35907 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35908 reading it.
35909 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35910 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35911
793ea851
KK
359122012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35913
35914 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35916 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35917 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35918
a728a38f
L
359192012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35920
35921 [BZ #14117]
c08010c7
L
35922 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35923 * sysdeps/i386/fpu/Implies: New file.
35924 * sysdeps/x86_64/fpu/Implies: Likewise.
35925 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35926 * sysdeps/x86/fpu/bits/fenv.h: This.
35927
a728a38f
L
35928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35929 __SSE_MATH__.
35930
6e230d11
SP
359312012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35932
35933 [BZ #14134]
35934 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35935 character 0xffff that matches the last element of the
35936 conversion table.
35937
1b671feb
AZ
359382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35939
35940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35941 fmodl commit.
35942
6043738b
AZ
359432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35944
35945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35946 values higher than 25.6283.
35947
34ae0b32
AZ
359482012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35949
35950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35951 subnormal exponent extraction and add some __builtin_expect.
35952 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35953 Fix for subnormal mantissa calculation.
35954
1214ec8f
MF
359552012-06-04 Mike Frysinger <vapier@gentoo.org>
35956
35957 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35958 cpu2 is -1 and errno is not ENOSYS.
35959
f3d1f93c
L
359602012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 [BZ #14117]
0e4a3cd7
L
35963 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35964 * sysdeps/x86/bits/string.h: This.
35965 * sysdeps/x86_64/bits/string.h: Removed.
35966
6704c645
L
35967 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35968 if not compiling for x86-64, but compiling for >= i486.
35969
48495318
L
35970 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35971 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35972
14adcbfc
L
35973 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35974 New macro from Linux kernel 3.4.0.
35975 (FP_XSTATE_MAGIC2): Likewise.
35976 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35977 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35978 (struct _fpx_sw_bytes): New struct.
35979 (struct _xsave_hdr): Likewise.
35980 (struct _ymmh_state): Likewise.
35981 (struct _xstate): Likewise.
35982
68e408ab
L
35983 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35984 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35986 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35987 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35988 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35989
f3d1f93c
L
35990 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35991 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35992 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35993 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35994 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35995 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35996
d9dc34cd
TMQMF
359972012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35998
35999 [BZ #13743]
36000 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36001 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36002 (sysdep_headers): Include sys/platform/ppc.h.
36003 * sysdeps/powerpc/test-gettimebase.c: Test for
36004 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36005 * manual/Makefile (appendices): Include platform.texi.
36006 * manual/contrib.texi (Contributors): Update @node pointers.
36007 * manual/maint.texi (Maintenance): Likewise.
36008 (Platform): New node.
36009 * manual/platform.texi: New file. Document the new features.
36010
4af3879c
SP
360112012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36012 Jakub Jelinek <jakub@redhat.com>
36013
36014 [BZ #14188]
36015 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36016 where __builtin_expect is unavailable.
36017
2fd6ff13
DM
360182012-06-03 David S. Miller <davem@davemloft.net>
36019
36020 * stdlib/longlong.h: Updated from GCC.
36021
173f7220
AS
360222012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36023
36024 [BZ #14042]
36025 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36026 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36027 __mcount_internal.
36028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36029 (GLIBC_2.16): Likewise.
36030
f34a1c6f
L
360312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36032
36033 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36034
88a4576f
JM
360352012-06-01 Joseph Myers <joseph@codesourcery.com>
36036
ea32bcdd
JM
36037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36038 (default-abi): New variable.
36039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36040 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36041 variable.
36042 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36043 Likewise.
36044 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36045 Likewise.
36046 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36047 Likewise.
36048
88a4576f
JM
36049 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36050 definition. Document in comment.
36051
402fe938
DM
360522012-06-01 David S. Miller <davem@davemloft.net>
36053
36054 * stdlib/longlong.h: Updated from GCC.
36055
3553723f
L
360562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36057
36058 [BZ #14117]
3bd872c4
L
36059 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36060 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36061 sys/debugreg.h sys/io.h here.
36062 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36063 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36064 sys/io.h.
36065 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36066 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36067 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36068 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36069 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36070 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36071
3553723f
L
36072 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36073 Define only if __x86_64__ is defined.
36074
4842e4fe
JM
360752012-06-01 Joseph Myers <joseph@codesourcery.com>
36076
c5bfe3d5
JM
36077 [BZ #14048]
36078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36079 Use int64_t for variable i.
36080 * math/libm-test.inc (fmod_test): Add more tests.
36081
4842e4fe
JM
36082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36083 z computation is not scheduled after fetestexcept.
36084 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36085 Use math_force_eval instead of asm to ensure calculation scheduled
36086 before exception test.
36087 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36088 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36089
efb73488
AJ
360902012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36091
36092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36093 computation is not scheduled after fetestexcept.
36094
29bcce7c
L
360952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36096
36097 [BZ #14117]
36098 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36099 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36100
73a68f94
AZ
361012012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36102
36103 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36104 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36105
67b6df78
L
361062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36107
edf2933a 36108 [BZ #14117]
ebc64a18
L
36109 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36110 <bits/wordsize.h>.
36111 (__WCHAR_MIN): Support __WORDSIZE == 64.
36112 (__WCHAR_MAX): Likewise.
36113
edf2933a
L
36114 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36115 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36116
57c6cf40
L
36117 [BZ #14183]
36118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36119 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36120
67b6df78 36121 [BZ #14117]
8eb6281e
L
36122 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36123 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36124
aac639f4
L
36125 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36126 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36127
67b6df78
L
36128 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36129 Defined to 1 if __x86_64__ isn't defined.
36130 (_STAT_VER_LINUX_OLD): New.
36131 (st_atime): Remove duplicate.
36132 (st_mtime): Likewise.
36133 (st_ctime): Likewise.
36134
1c2cfe81
DM
361352012-05-31 David S. Miller <davem@davemloft.net>
36136
36137 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36138 entries.
36139
5be8418c
AS
361402012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36141
e7725326
AS
36142 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36143 gen-libm-test.pl.
36144
5be8418c
AS
36145 [BZ #14132]
36146 * elf/dl-reloc.c: Include <_itoa.h>.
36147 (_dl_reloc_bad_type): Remove use of INTUSE.
36148 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36149 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36150 * stdio-common/psiginfo.c (psiginfo): Likewise.
36151 * stdio-common/psignal.c (psignal): Likewise.
36152 * string/strsignal.c (strsignal): Likewise.
36153 * include/signal.h (_sys_siglist): Declare hidden proto.
36154 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36155 INTVARDEF with libc_hidden_data_def.
36156 * stdio-common/itoa-udigits.c: Likewise.
36157 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36158 (_itoa_lower_digits_internal): Remove declaration.
36159 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36160 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36161 (_sys_sigabbrev_internal): Remove aliases.
36162 (_sys_siglist): Define hidden alias.
36163
507352f1
MT
361642012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36165
36166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36167 bits/sysctl.h.
36168
42bbb1c3
L
361692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36170
36171 [BZ #14117]
6bd784b6
L
36172 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36173 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36174
8bca20f0
L
36175 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36176 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36177 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36178 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36180 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36181
f9e890a9
L
36182 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36183 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36184 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36185
471101a1
L
36186 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36187 with __addr.
36188 (insw): Likewise.
36189 (insl): Likewise.
36190 (outsb): Likewise.
36191 (outsw): Likewise.
36192 (outsl): Likewise.
36193
6451c862
L
36194 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36195 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36196 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36197
a254b8c9
L
36198 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36199 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36200 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36201 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36202 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36203 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36204
b8dfdd92
L
36205 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36206 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36207
578cd270
L
36208 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36209 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36210
de662f5f
L
36211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36213 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36214
25653439
L
36215 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36216 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36217 to ...
36218 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36219
6bad24a0
L
36220 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36221 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36222 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36223
42bbb1c3
L
36224 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36225 for x86-64.
36226 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36227
2d10d547
JM
362282012-05-31 Joseph Myers <joseph@codesourcery.com>
36229
36230 * math/math.h (M_El): Use two more decimal places.
36231 (M_LOG2El): Likewise.
36232 (M_LOG10El): Likewise.
36233 (M_LN2l): Likewise.
36234 (M_LN10l): Likewise.
36235 (M_PIl): Likewise.
36236 (M_PI_2l): Likewise.
36237 (M_PI_4l): Likewise.
36238 (M_1_PIl): Likewise.
36239 (M_2_PIl): Likewise.
36240 (M_2_SQRTPIl): Likewise.
36241 (M_SQRT2l): Likewise.
36242 (M_SQRT1_2l): Likewise.
36243
f230c29b
DM
362442012-05-31 David S. Miller <davem@davemloft.net>
36245
36246 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36247 values between float registers.
36248 * sysdeps/sparc/sparc64/memset.S: Likewise.
36249 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36250
fed806c3
MF
362512012-05-31 Mike Frysinger <vapier@gentoo.org>
36252
36253 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36254 -D_FORTIFY_SOURCE=1.
36255 (CPPFLAGS-tst-longjmp_chk.c): Define.
36256 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36257 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36258 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36259 CFLAGS-tst-wchar-h.c.
36260
30917259
MP
362612012-05-31 Marek Polacek <polacek@redhat.com>
36262
36263 [BZ #14132]
36264 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36265 __endmntent_internal): Remove declaration.
36266 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36267 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36268 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36269
1c58d5dc
DM
362702012-05-30 David S. Miller <davem@davemloft.net>
36271
36272 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36273 (___Q_simulate_exceptions): Use real FP ops rather than writing
36274 into the %fsr.
36275 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36276 Likewise.
36277
7dc00e0d
L
362782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 [BZ #14117]
0bd53985
L
36281 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36282 * sysdeps/x86/bits/xtitypes.h: This.
36283
3a257e66
L
36284 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36285 * sysdeps/x86/bits/wordsize.h: This.
36286
62f62904
L
36287 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36288 * sysdeps/x86/bits/huge_vall.h: This.
36289
404fe9d9
L
36290 * sysdeps/i386/bits/select.h: Removed.
36291 * sysdeps/x86_64/bits/select.h: Renamed to ...
36292 * sysdeps/x86/bits/select.h: This.
36293
d48d0446
L
36294 * sysdeps/i386/bits/setjmp.h: Removed.
36295 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36296 * sysdeps/x86/bits/setjmp.h: This.
36297
7dc00e0d
L
36298 * sysdeps/i386/bits/mathdef.h: Removed.
36299 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36300 * sysdeps/x86/bits/mathdef.h: This.
36301
03277f8f
AS
363022012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36303
36304 [BZ #14132]
36305 * include/sys/socket.h (__connect_internal)
36306 (__libc_sa_len_internal): Remove declaration.
36307 (__connect, __libc_sa_len): Declare hidden_proto.
36308 (SA_LEN): Remove use of INTUSE.
36309 * socket/connect.c: Add libc_hidden_def.
36310 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36311 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36312 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36313 alias.
36314 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36315 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36316 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36317 of adding _internal alias.
36318
13764867
L
363192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36320
36321 [BZ #14117]
6bd97696
L
36322 * sysdeps/i386/bits/link.h: Removed.
36323 * sysdeps/i386/bits/linkmap.h: Likewise.
36324 * sysdeps/x86_64/bits/link.h: Renamed to ...
36325 * sysdeps/x86/bits/link.h: This.
36326 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36327 * sysdeps/x86/bits/linkmap.h: This.
36328
f726f0bb
L
36329 * sysdeps/i386/bits/endian.h: Removed.
36330 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36331 * sysdeps/x86/bits/endian.h: This.
36332
13764867
L
36333 * sysdeps/i386/bits/byteswap.h: Removed.
36334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36335 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36336 * sysdeps/x86/bits/byteswap.h: This.
36337 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36338 * sysdeps/x86/bits/byteswap-16.h: This.
36339 * sysdeps/i386/Implies: Add x86.
36340 * sysdeps/x86_64/Implies: Likewise.
36341
ae251b0b
DM
363422012-05-30 David S. Miller <davem@davemloft.net>
36343
36344 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36345 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36346 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36347 (FP_TRAPPING_EXCEPTIONS): Define.
36348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36349 (FP_TRAPPING_EXCEPTIONS): Define.
36350 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36351 subnormals only when inexact has been signalled or underflow
36352 exceptions are enabled.
36353 (_FP_PACK_CANONICAL): Likewise.
36354
d5c90867
L
363552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36356
36357 [BZ #14183]
36358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36359 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36360
63f1549e
RH
363612012-05-30 Richard Henderson <rth@twiddle.net>
36362
8d8f2279
RH
36363 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36364 with #ifndef NOT_IN_libc.
36365
63f1549e
RH
36366 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36367 marked to avoid plt entry.
36368
0ab0291b
L
363692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36370
36371 [BZ #14112]
36372 * Makeconfig (default-abi): New macro.
36373 (abi-includes): Likewise.
36374 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36375 $(abi-$(default-abi)-lib-soname) for soname if defined.
36376 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36377 abi-variants.
36378 * Makefile (installed-stubs): Likewise.
36379 * include/stubs-biarch.h: Removed.
36380 * scripts/lib-names.awk: Only handle one library at a time.
36381 * scripts/soversions.awk: Remove WORDSIZE support.
36382 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36383 entries.
36384 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36385 Removed.
36386 (syscall-list-default-condition): Likewise.
36387 (syscall-list-default-condition): Likewise.
36388 (syscall-list-includes): Likewise.
36389 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36390 syscall-list-* with abi-*. Handle undefined abi-variants.
36391 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36392 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36393 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36394 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36395 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36396 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36397 Removed.
36398 (syscall-list-32-options): Likewise.
36399 (syscall-list-32-condition): Likewise.
36400 (syscall-list-64-options): Likewise.
36401 (syscall-list-64-condition): Likewise.
36402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36403 macro.
36404 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36405 Renamed to ...
36406 (abi-*): This.
36407 (abi-64-ld-soname): New macro.
36408 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36409 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36410 Renamed to ...
36411 (abi-*): This.
36412 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36413 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36414
4da0431d
JM
364152012-05-30 Joseph Myers <joseph@codesourcery.com>
36416
3a85279c
JM
36417 * sysdeps/unix/sysv/linux/kernel-features.h
36418 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36419 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36420 include <kernel-features.h>.
36421 [!__NR_ftruncate64]: Remove conditional code.
36422 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36423 [__NR_ftruncate64]: Make code unconditional.
36424 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36425 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36426 include <kernel-features.h>.
36427 [!__NR_ftruncate64]: Remove conditional code.
36428 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36429 [__NR_ftruncate64]: Make code unconditional.
36430 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36432 include <kernel-features.h>.
36433 [!__NR_ftruncate64]: Remove conditional code.
36434 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36435 [__NR_ftruncate64]: Make code unconditional.
36436 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36438 include <kernel-features.h>.
36439 [!__NR_ftruncate64]: Remove conditional code.
36440 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36441 [__NR_ftruncate64]: Make code unconditional.
36442 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36443
4da0431d
JM
36444 * configure.in (libc_cv_fpie): Weaken to a compile test using
36445 LIBC_TRY_CC_OPTION.
36446 * configure: Regenerated.
36447
11ef492c
AK
364482012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36449
36450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36454 Refreshed.
36455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36461 Refreshed.
36462
d66ef399
DM
364632012-05-27 David S. Miller <davem@davemloft.net>
36464
36465 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36466 (___Q_zero): New.
36467 (__Q_simulate_exceptions): Return void. Change to simulate
36468 exceptions by writing into the %fsr.
36469 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36470 (__Qp_handle_exceptions): Likewise.
36471 (numbers): Delete.
36472 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36473 __Qp_handle_exceptions.
36474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36475 __Qp_handle_exceptions.
36476 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36477 as unused and give dummy FP_RND_NEAREST initializer.
36478 (FP_INHIBIT_RESULTS): Define.
36479 (___Q_simulate_exceptions): Update declaration.
36480 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36481 formatting.
36482 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36483 as unused and give dummy FP_RND_NEAREST initializer.
36484 (__Qp_handle_exceptions): Update declaration.
36485 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36486 formatting.
36487
04fb54b5
TS
364882012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36489
36490 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36491 the temporary FPU control word.
36492 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36493 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36494 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36495 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36496 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36497 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36498 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36499 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36500 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36501 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36502 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36503
3f99608f
KK
365042012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36505
36506 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36507 fields.
36508
65a4de4e
CLT
365092012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36510
36511 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36512 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36513 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36514 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36515 Likewise.
36516 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36517 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36518 Likewise.
36519
15749d40
UD
365202012-05-27 Ulrich Drepper <drepper@gmail.com>
36521
36522 * po/h.po: Update from translation team.
36523
25dbcb27
AS
365242012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36525
3d3f8e55
AS
36526 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36527
25dbcb27
AS
36528 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36529 handling of denormals.
36530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36531 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36532 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36533 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36537 Likewise.
36538
7ad47a80 365392012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36540
36541 [BZ #14152]
36542 * math/libm-test.inc (fma_test): Don't always expect underflow
36543 exception.
36544
9c6ea9fa
SP
365452012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36546
36547 [BZ #12416]
36548 * elf/tst-execstack.c: Include stackinfo.h.
36549 (do_test): Adjust test case to ensure that pthread_getattr_np
36550 behaviour remains the same after marking stack executable.
36551
a8239222
JM
365522012-05-25 Joseph Myers <joseph@codesourcery.com>
36553
36554 * sysdeps/unix/sysv/linux/kernel-features.h
36555 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36556 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36557 kernel-features.h.
36558 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36559 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36560 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36561 kernel-features.h.
36562 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36563 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36564
918b5606
L
365652012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36566
36567 * configure.in: Define the default includes to being none.
36568 * configure: Regenerated.
36569
3a097cc7
RM
365702012-05-25 Roland McGrath <roland@hack.frob.com>
36571
8422c9a5
RM
36572 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36573 * sysdeps/x86_64/setjmp.S: Likewise.
36574 * sysdeps/i386/bsd-setjmp.S: Likewise.
36575 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36576 * sysdeps/i386/setjmp.S: Likewise.
36577 * sysdeps/i386/__longjmp.S: Likewise.
36578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36579 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36580
3a097cc7
RM
36581 * include/stap-probe.h: New file.
36582 * configure.in: Handle --enable-systemtap.
36583 * configure: Regenerated.
36584 * config.h.in (USE_STAP_PROBE): New #undef.
36585 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36586 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36587 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36588
21708942
JM
365892012-05-25 Joseph Myers <joseph@codesourcery.com>
36590
36591 [BZ #13717]
36592 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36593 to 2.4.0 where earlier.
36594 * sysdeps/unix/sysv/linux/configure: Regenerated.
36595 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36596 <kernel-features.h>.
36597 [__ASSUME_32BITUIDS]: Make code unconditional.
36598 [!__ASSUME_32BITUIDS]: Remove conditional code.
36599 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36600 <kernel-features.h>.
36601 [__ASSUME_32BITUIDS]: Make code unconditional.
36602 [!__ASSUME_32BITUIDS]: Remove conditional code.
36603 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36604 [__ASSUME_32BITUIDS]: Make code unconditional.
36605 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36606 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36607 <kernel-features.h>.
36608 [__ASSUME_32BITUIDS]: Make code unconditional.
36609 [!__ASSUME_32BITUIDS]: Remove conditional code.
36610 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36611 <kernel-features.h>.
36612 [__ASSUME_32BITUIDS]: Make code unconditional.
36613 [!__ASSUME_32BITUIDS]: Remove conditional code.
36614 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36615 <kernel-features.h>.
36616 [__ASSUME_32BITUIDS]: Make code unconditional.
36617 [!__ASSUME_32BITUIDS]: Remove conditional code.
36618 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36619 <kernel-features.h>.
36620 [__ASSUME_32BITUIDS]: Make code unconditional.
36621 [!__ASSUME_32BITUIDS]: Remove conditional code.
36622 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36623 <kernel-features.h>.
36624 [__ASSUME_32BITUIDS]: Make code unconditional.
36625 [!__ASSUME_32BITUIDS]: Remove conditional code.
36626 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36627 <kernel-features.h>.
36628 [__ASSUME_32BITUIDS]: Make code unconditional.
36629 [!__ASSUME_32BITUIDS]: Remove conditional code.
36630 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36631 <kernel-features.h>.
36632 [__ASSUME_32BITUIDS]: Make code unconditional.
36633 [!__ASSUME_32BITUIDS]: Remove conditional code.
36634 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36635 <kernel-features.h>.
36636 [__ASSUME_32BITUIDS]: Make code unconditional.
36637 [!__ASSUME_32BITUIDS]: Remove conditional code.
36638 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36639 <kernel-features.h>.
36640 [__ASSUME_32BITUIDS]: Make code unconditional.
36641 [!__ASSUME_32BITUIDS]: Remove conditional code.
36642 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36643 <kernel-features.h>.
36644 [__ASSUME_32BITUIDS]: Make code unconditional.
36645 [!__ASSUME_32BITUIDS]: Remove conditional code.
36646 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36647 <kernel-features.h>.
36648 [__NR_setresgid] (__setresgid): Do not declare.
36649 [__ASSUME_32BITUIDS]: Make code unconditional.
36650 [!__ASSUME_32BITUIDS]: Remove conditional code.
36651 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36652 <kernel-features.h>.
36653 [__NR_setresuid] (__setresuid): Do not declare.
36654 [__ASSUME_32BITUIDS]: Make code unconditional.
36655 [!__ASSUME_32BITUIDS]: Remove conditional code.
36656 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36657 <kernel-features.h>.
36658 [__ASSUME_32BITUIDS]: Make code unconditional.
36659 [!__ASSUME_32BITUIDS]: Remove conditional code.
36660 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36661 <kernel-features.h>.
36662 [__ASSUME_32BITUIDS]: Make code unconditional.
36663 [!__ASSUME_32BITUIDS]: Remove conditional code.
36664 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36665 <kernel-features.h>.
36666 [__ASSUME_32BITUIDS]: Make code unconditional.
36667 [!__ASSUME_32BITUIDS]: Remove conditional code.
36668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36669 <kernel-features.h>.
36670 [__ASSUME_32BITUIDS]: Make code unconditional.
36671 [!__ASSUME_32BITUIDS]: Remove conditional code.
36672 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36673 <kernel-features.h>.
36674 [__ASSUME_32BITUIDS]: Make code unconditional.
36675 [!__ASSUME_32BITUIDS]: Remove conditional code.
36676 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36677 <kernel-features.h>.
36678 [__ASSUME_32BITUIDS]: Make code unconditional.
36679 [!__ASSUME_32BITUIDS]: Remove conditional code.
36680 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36681 <kernel-features.h>.
36682 [__ASSUME_32BITUIDS]: Make code unconditional.
36683 [!__ASSUME_32BITUIDS]: Remove conditional code.
36684 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36685 <kernel-features.h>.
36686 [__ASSUME_32BITUIDS]: Make code unconditional.
36687 [!__ASSUME_32BITUIDS]: Remove conditional code.
36688 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36689 <kernel-features.h>.
36690 [__ASSUME_32BITUIDS]: Make code unconditional.
36691 [!__ASSUME_32BITUIDS]: Remove conditional code.
36692 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36693 <kernel-features.h>.
36694 [__ASSUME_32BITUIDS]: Make code unconditional.
36695 [!__ASSUME_32BITUIDS]: Remove conditional code.
36696 * sysdeps/unix/sysv/linux/kernel-features.h
36697 (__ASSUME_SETRESUID_SYSCALL): Remove.
36698 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36699 (__ASSUME_32BITUIDS): Likewise.
36700 (__ASSUME_LDT_WORKS): Likewise.
36701 (__ASSUME_O_DIRECTORY): Likewise.
36702 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36703 architecture but not kernel version.
36704 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36705 (__ASSUME_MMAP2_SYSCALL): Likewise.
36706 (__ASSUME_STAT64_SYSCALL): Likewise.
36707 (__ASSUME_IPC64): Likewise.
36708 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36709 <kernel-features.h>.
36710 [__ASSUME_32BITUIDS]: Make code unconditional.
36711 [!__ASSUME_32BITUIDS]: Remove conditional code.
36712 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36713 <kernel-features.h>.
36714 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36715 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36716 132096]: Remove conditional code.
36717 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36718 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36719 <kernel-features.h>.
36720 [__ASSUME_32BITUIDS]: Make code unconditional.
36721 [!__ASSUME_32BITUIDS]: Remove conditional code.
36722 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36723 <kernel-features.h>.
36724 [__ASSUME_32BITUIDS]: Make code unconditional.
36725 [!__ASSUME_32BITUIDS]: Remove conditional code.
36726 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36727 <kernel-features.h>.
36728 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36729 unconditional.
36730 (__setresgid): Do not declare.
36731 [__ASSUME_32BITUIDS]: Make code unconditional.
36732 [!__ASSUME_32BITUIDS]: Remove conditional code.
36733 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36734 <kernel-features.h>.
36735 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36736 unconditional.
36737 (__setresuid): Do not declare.
36738 [__ASSUME_32BITUIDS]: Make code unconditional.
36739 [!__ASSUME_32BITUIDS]: Remove conditional code.
36740 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36741 <kernel-features.h>.
36742 [__ASSUME_32BITUIDS]: Make code unconditional.
36743 [!__ASSUME_32BITUIDS]: Remove conditional code.
36744 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36745 <kernel-features.h>.
36746 [__ASSUME_32BITUIDS]: Make code unconditional.
36747 [!__ASSUME_32BITUIDS]: Remove conditional code.
36748
a386f1cc
RH
367492012-05-25 Richard Henderson <rth@twiddle.net>
36750
36751 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36752 dl_hwcap to ifunc resolver.
36753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36754 elf_ifunc_invoke.
36755 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36756 dl_hwcap to ifunc resolver.
36757 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36758
b6550497
JM
367592012-05-24 Joseph Myers <joseph@codesourcery.com>
36760
36761 [BZ #14153]
36762 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36763 for |x| <= 2**-26, not 2**-57.
36764 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36765 exception.
36766
b0bc23a1
JL
367672012-05-24 Jeff Law <law@redhat.com>
36768
36769 * stdio-common/Makefile (tests): Add bug25.
36770 * stdio-common/bug25.c: New test.
36771
347c92e9
L
367722012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36773
36774 [BZ #13576]
36775 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36776 multiple of MALLOC_ALIGNMENT in size.
36777 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36778
6bcc8b3f
JM
367792012-05-24 Joseph Myers <joseph@codesourcery.com>
36780
36781 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36782 Require >= 256.
36783 (FILENAME_MAX): Use macro-int-constant.
36784 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36785 (_IOFBF): Use macro-int-constant.
36786 (_IOLBF): Likewise.
36787 (_IONBF): Likewise.
36788 (SEEK_CUR): Likewise.
36789 (SEEK_END): Likewise.
36790 (SEEK_SET): Likewise.
36791 (TMP_MAX): Likewise.
36792 (EOF): Use macro-int-constant. Require < 0.
36793 (NULL): Use macro-constant. Require == 0.
36794 (stdin): Require type to be FILE *.
36795 (stdout): Likewise.
36796 (stderr): Likewise.
36797 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36798 macro-int-constant.
36799 (EXIT_SUCCESS): Likewise.
36800 (NULL): Use macro-constant. Require == 0.
36801 (RAND_MAX): Use macro-int-constant.
36802 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36803 [C99-based standards] (strtof): Require function.
36804 [C99-based standards] (strtold): Likewise.
36805 [C99-based standards] (strtoll): Likewise.
36806 [C99-based standards] (strtoull): Likewise.
36807 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36808 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36809 [ISO || ISO99 || ISO11] (math.h): Likewise.
36810 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36811 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36813
d18ea0c5
AS
368142012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36815
36816 [BZ #14132]
56d25bb8
AS
36817 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36818 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36819 * intl/dgettext.c (DCGETTEXT): Likewise.
36820 * intl/gettext.c (DCGETTEXT): Likewise.
36821 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36822 * posix/regex_internal.h (gettext): Likewise.
36823 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36824 Remove declaration.
36825 * include/argz.h (__argz_count_internal)
36826 (__argz_stringify_internal): Remove declaration.
36827 (__argz_count, __argz_stringify): Declare hidden proto.
36828 * intl/dcgettext.c: Remove use of INTDEF.
36829 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36830 * string/argz-stringify.c: Likewise.
36831 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36832 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36833 Declare hidden proto.
d18ea0c5
AS
36834 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36835 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36836 Declare hidden proto.
36837 * include/stdio.h (__asprintf_internal): Don't declare.
36838 (__asprintf): Don't define as macro. Declare hidden proto.
36839 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36840 (__fsetlocking): Declare hidden proto.
36841 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36842 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36843 hidden proto.
36844 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36845 (_IO_setlinebuf): Remove use of INTUSE.
36846 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36847 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36848 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36849 Remove declaration.
36850 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36851 (_IO_do_flush): Remove use of INTUSE.
36852 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36853 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36854 (_IO_adjust_column, _IO_least_wmarker)
36855 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36856 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36857 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36858 (_IO_default_doallocate, _IO_wdefault_doallocate)
36859 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36860 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36861 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36862 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36863 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36864 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36865 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36866 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36867 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36868 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36869 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36870 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36871 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36872 proto.
36873 (_IO_flush_all_internal, _IO_adjust_column_internal)
36874 (_IO_default_uflow_internal, _IO_default_finish_internal)
36875 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36876 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36877 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36878 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36879 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36880 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36881 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36882 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36883 (_IO_file_close_internal, _IO_file_close_it_internal)
36884 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36885 (_IO_file_init_internal, _IO_file_attach_internal)
36886 (_IO_file_fopen_internal, _IO_file_read_internal)
36887 (_IO_file_sync_internal, _IO_file_seek_internal)
36888 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36889 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36890 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36891 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36892 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36893 (_IO_list_all_internal, _IO_link_in_internal)
36894 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36895 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36896 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36897 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36898 (_IO_do_write_internal, _IO_padn_internal)
36899 (_IO_getline_info_internal, _IO_getline_internal)
36900 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36901 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36902 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36903 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36904 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36905 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36906 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36907 with libc_hidden_ver, remove use of INTUSE.
36908 * libio/genops.c: Likewise.
36909 * libio/freopen.c: Likewise.
36910 * libio/freopen64.c: Likewise.
36911 * libio/iofclose.c: Likewise.
36912 * libio/iofdopen.c: Likewise.
36913 * libio/iofflush.c: Likewise.
36914 * libio/iofflush_u.c: Likewise.
36915 * libio/iofgets.c: Likewise.
36916 * libio/iofgets_u.c: Likewise.
36917 * libio/iofopen.c: Likewise.
36918 * libio/iofopncook.c: Likewise.
36919 * libio/iofread.c: Likewise.
36920 * libio/iofread_u.c: Likewise.
36921 * libio/ioftell.c: Likewise.
36922 * libio/iofwrite.c: Likewise.
36923 * libio/iogetline.c: Likewise.
36924 * libio/iogets.c: Likewise.
36925 * libio/iogetwline.c: Likewise.
36926 * libio/iopadn.c: Likewise.
36927 * libio/iopopen.c: Likewise.
36928 * libio/ioseekoff.c: Likewise.
36929 * libio/ioseekpos.c: Likewise.
36930 * libio/iosetbuffer.c: Likewise.
36931 * libio/iosetvbuf.c: Likewise.
36932 * libio/ioungetc.c: Likewise.
36933 * libio/ioungetwc.c: Likewise.
36934 * libio/iovdprintf.c: Likewise.
36935 * libio/iovsprintf.c: Likewise.
36936 * libio/iovsscanf.c: Likewise.
36937 * libio/memstream.c: Likewise.
36938 * libio/obprintf.c: Likewise.
36939 * libio/oldfileops.c: Likewise.
36940 * libio/oldiofclose.c: Likewise.
36941 * libio/oldiofdopen.c: Likewise.
36942 * libio/oldiofopen.c: Likewise.
36943 * libio/oldiopopen.c: Likewise.
36944 * libio/oldstdfiles.c: Likewise.
36945 * libio/putc.c: Likewise.
36946 * libio/setbuf.c: Likewise.
36947 * libio/setlinebuf.c: Likewise.
36948 * libio/stdfiles.c: Likewise.
36949 * libio/strops.c: Likewise.
36950 * libio/vasprintf.c: Likewise.
36951 * libio/vscanf.c: Likewise.
36952 * libio/vsnprintf.c: Likewise.
36953 * libio/vswprintf.c: Likewise.
36954 * libio/wfiledoalloc.c: Likewise.
36955 * libio/wfileops.c: Likewise.
36956 * libio/wgenops.c: Likewise.
36957 * libio/wmemstream.c: Likewise.
36958 * libio/wstrops.c: Likewise.
36959 * libio/__fpurge.c: Likewise.
36960 * libio/__fsetlocking.c: Likewise.
36961 * assert/assert.c: Likewise.
36962 * debug/fgets_chk.c: Likewise.
36963 * debug/fgets_u_chk.c: Likewise.
36964 * debug/fread_chk.c: Likewise.
36965 * debug/fread_u_chk.c: Likewise.
36966 * debug/gets_chk.c: Likewise.
36967 * debug/obprintf_chk.c: Likewise.
36968 * debug/vasprintf_chk.c: Likewise.
36969 * debug/vdprintf_chk.c: Likewise.
36970 * debug/vsnprintf_chk.c: Likewise.
36971 * debug/vsprintf_chk.c: Likewise.
36972 * malloc/mtrace.c: Likewise.
36973 * misc/error.c: Likewise.
36974 * misc/syslog.c: Likewise.
36975 * stdio-common/asprintf.c: Likewise.
36976 * stdio-common/fxprintf.c: Likewise.
36977 * stdio-common/getw.c: Likewise.
36978 * stdio-common/isoc99_fscanf.c: Likewise.
36979 * stdio-common/isoc99_scanf.c: Likewise.
36980 * stdio-common/isoc99_vfscanf.c: Likewise.
36981 * stdio-common/isoc99_vscanf.c: Likewise.
36982 * stdio-common/isoc99_vsscanf.c: Likewise.
36983 * stdio-common/printf-prs.c: Likewise.
36984 * stdio-common/printf_fp.c: Likewise.
36985 * stdio-common/printf_fphex.c: Likewise.
36986 * stdio-common/printf_size.c: Likewise.
36987 * stdio-common/putw.c: Likewise.
36988 * stdio-common/scanf.c: Likewise.
36989 * stdio-common/sprintf.c: Likewise.
36990 * stdio-common/tmpfile.c: Likewise.
36991 * stdio-common/vfprintf.c: Likewise.
36992 * stdio-common/vfscanf.c: Likewise.
36993 * stdlib/strfmon_l.c: Likewise.
36994 * sunrpc/openchild.c: Likewise.
36995 * sunrpc/xdr_stdio.c: Likewise.
36996 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36997 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36998
d6c33fda
RM
369992012-05-24 Roland McGrath <roland@hack.frob.com>
37000
c1487492
RM
37001 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37002
37003 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37004 in the third column, to generate for the shared library an IFUNC
37005 that uses _dl_vdso_vsym.
37006 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37007 * Makeconfig (object-suffixes-noshared): New variable.
37008
37009 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37010 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37011 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37012 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37013
d6c33fda
RM
37014 [BZ #14132]
37015 * include/sys/time.h (__gettimeofday): Remove macro.
37016 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37017 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37018 Remove INTDEF.
37019 (__gettimeofday): Add libc_hidden_def.
37020 (gettimeofday): Add libc_hidden_weak.
37021 * sysdeps/mach/gettimeofday.c: Likewise.
37022 * sysdeps/posix/gettimeofday.c: Likewise.
37023 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37024 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37026 (__gettimeofday_internal): Remove strong_alias.
37027 (__gettimeofday): Add libc_hidden_def.
37028 (gettimeofday): Add libc_hidden_weak.
37029 * sysdeps/unix/syscalls.list (gettimeofday):
37030 Remove __gettimeofday_internal alias.
37031
b5a2bbe6
L
370322012-05-24 Daniel Jacobowitz <drow@false.org>
37033 H.J. Lu <hongjiu.lu@intel.com>
37034
37035 [BZ #12495]
37036 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37037 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37038 (largebin_index_32_big): New.
37039 (largebin_index): Use it for 16-byte alignment.
37040 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37041 correction with front_misalign.
37042
cfba4fda
L
370432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37044
7f907421
L
37045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37047 Likewise.
37048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37049 Likewise.
37050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37051 Likewise.
37052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37053 Likewise.
37054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37055 Likewise.
37056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37057 Likewise.
37058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37059 Likewise.
37060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37061 Likewise.
37062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37063 Likewise.
37064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37065 Likewise.
37066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37067 Likewise.
37068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37069 Likewise.
37070
cfba4fda
L
37071 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37072 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37073
80bad0cc
JM
370742012-05-24 Joseph Myers <joseph@codesourcery.com>
37075
7a25eb06
JM
37076 [BZ #10846]
37077 [BZ #14036]
37078 * math/libm-test.inc (exp_test): Add test from bug 14036.
37079 (pow_test): Add test from bug 10846.
37080
795405f9
JM
37081 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37082 and other flags.
37083 (special_function): Do not include flags in test name.
37084 (parse_args): Likewise.
37085 * sysdeps/i386/fpu/libm-test-ulps: Update.
37086 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37087 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37088 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37090
80bad0cc
JM
37091 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37092 exceptions.
37093 * math/libm-test.inc ("Philosophy"): Update comment about
37094 exception testing.
37095 (UNDERFLOW_EXCEPTION): New macro.
37096 (UNDERFLOW_EXCEPTION_OK): Likewise.
37097 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37098 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37099 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37100 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37101 (INVALID_EXCEPTION_OK): Update value.
37102 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37103 (OVERFLOW_EXCEPTION_OK): Likewise.
37104 (IGNORE_ZERO_INF_SIGN): Likewise.
37105 (test_exceptions): Handle underflow exceptions.
37106 (acos_test): Update for underflow exception expectations.
37107 (cexp_test): Likewise.
37108 (clog_test): Likewise.
37109 (clog10_test): Likewise.
37110 (csqrt_test): Likewise.
37111 (ctan_test): Likewise.
37112 (ctanh_test): Likewise.
37113 (exp_test): Likewise.
37114 (exp10_test): Likewise.
37115 (exp2_test): Likewise.
37116 (expm1_test): Likewise.
37117 (fma_test): Likewise.
37118 (j0_test): Likewise.
37119 (jn_test): Likewise.
37120 (nexttoward_test): Likewise.
37121 (pow_test): Likewise.
37122 (scalbn_test): Likewise.
37123 (scalbln_test): Likewise.
37124 (tan_test): Likewise.
37125 (y1_test): Likewise.
37126 * sysdeps/i386/fpu/libm-test-ulps: Update.
37127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37128
9e0e3d0b
DM
371292012-05-23 David S. Miller <davem@davemloft.net>
37130
37131 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37132 (__libc_sigaction): Remove unused local variables.
37133
ccd0a08f
L
371342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37135
37136 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37137
62bdf9a6
PE
371382012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37139
f8591f80
PE
37140 mktime: avoid signed integer overflow
37141 * time/mktime.c (__mktime_internal): Do not mishandle the case
37142 where diff == INT_MIN.
37143
94c7d826
PE
37144 mktime: simplify computation of average
37145 * time/mktime.c (ranged_convert): Use new time_t_avg function
37146 instead of rolling our own (probably-slower) code.
37147
ce73d683
PE
37148 mktime: do not assume signed right shift propagates sign bit
37149 * time/mktime.c (isdst_differ): New static function.
37150 (__mktime_internal): No need to normalize tm_isdst now.
37151 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37152 tm_isdst values.
37153
72a22e59
PE
37154 mktime: merge another wrapv change from gnulib
37155 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37156 from some compilers.
37157
68605433
PE
37158 mktime: remove incorrect attempt at unusual arithmetics
37159 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37160 The code didn't really work on such machines anyway.
37161 (TYPE_MINIMUM): Assume two's complement.
37162 (twos_complement_arithmetic): Verify that long_int and time_t
37163 are two's complement (or unsigned, in the latter case).
37164
03cf7fe3
PE
37165 mktime: check signed shifts on long_int and time_t, too
37166 * time/mktime.c (SHR): Check that shifts work as desired
37167 on the types long_int and time_t too, as SHR is used on
37168 such types.
37169
f04dfbc2
PE
37170 mktime: do not assume 'long' is wide enough
37171 * time/mktime.c (verify): Move decl up.
37172 (long_int): New type.
37173 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37174 to remove assumption in the code that 'long' is wide enough to
37175 store year values. This assumption is not true on x32 and on
37176 some non-glibc platforms.
37177
62bdf9a6
PE
37178 mktime: merge wrapv change from gnulib
37179 * time/mktime.c (WRAPV): New macro.
37180 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37181 (guess_time_tm, __mktime_internal): Do not assume that signed
37182 integer overflow wraps around; modern compilers generate code
37183 where this assumption is no longer valid.
37184
5e292e4f
L
371852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37186
37187 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37188 Replace "jmp L(pseudo_end)" with "ret".
37189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37190 Likewise.
37191
8caf8c87
AJ
371922012-05-23 Andreas Jaeger <aj@suse.de>
37193
37194 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37195 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37196
1a09dc56
AJ
371972012-05-23 Andreas Jaeger <aj@suse.de>
37198 Maximilian Attems <max@stro.at>
37199
37200 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37201 New macros.
37202
1c87aba0
L
372032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37204
37205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37206 code so that pseudo_end is just ret and the stack pointer is
37207 correct also for static library in error case.
37208
40e45bd5
JM
372092012-05-23 Joseph Myers <joseph@codesourcery.com>
37210
c2670533
JM
37211 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37212 move to syscalls.list.
37213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37217
40e45bd5
JM
37218 * manual/install.texi (Running make install): Do not mention Linux
37219 kernel version for which pt_chown is not needed.
37220 (Linux): Do not mention problems with nscd with 2.0 kernels.
37221 * INSTALL: Regenerated.
37222
be08eda5
AJ
372232012-05-23 Andreas Jaeger <aj@suse.de>
37224
37225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37226 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37227 macro.
37228 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37230 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37232 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37236 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37238 * sysdeps/unix/sysv/linux/bits/in.h
37239 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37240
a6a056bb
RM
372412012-05-22 Roland McGrath <roland@hack.frob.com>
37242
37243 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37244 (PREPARE_VERSION): Just use assert instead, it will be elided
37245 under [NDEBUG] anyway.
37246
c9009328
L
372472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37248
37249 * sysdeps/unix/sysv/linux/Makefile: Include
37250 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37251 (sysdep_routines): Remove sysctl.
c9009328
L
37252 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37253 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37254 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37255 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37256 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37257
73338355
AJ
372582012-05-22 Andreas Jaeger <aj@suse.de>
37259
37260 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37261 that pseudo_end is just ret and the stack pointer is correct also
37262 for static library in error case.
37263
d44638b0
PP
372642012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37265
37266 [BZ #14122]
37267 * nss/nsswitch.c (defconfig_entries): New variable.
37268 (__nss_database_lookup): Don't leak defconfig entries.
37269 (nss_parse_service_list): Don't leak on error paths.
37270 (free_database_entries): New function.
37271 (free_defconfig): New function.
37272 (free_mem): Move common code to free_database_entries.
37273
31a39bd8
L
372742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37275
da0331a8
L
37276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37277 Add arch_prctl.
37278 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37279
31a39bd8
L
37280 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37281 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37283 New macro.
37284 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37285 (INTERNAL_SYSCALL_TYPES): Likewise.
37286 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37287 (LOAD_REGS_TYPES_[1-6]): Likewise.
37288 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37289 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37290
45470df3
AZ
372912012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37292
37293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37294 copysignl for GLIBC_2_0.
37295 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37296 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37298 logbl for GLIBC_2_0.
37299 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37300 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37301
98a61bcb
L
373022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37303
a4f6e481
L
37304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37305 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37306
f63d5db6
L
37307 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37308 Use "neg %eax".
37309
98a61bcb
L
37310 * time/mktime.c: Update copyright years.
37311
95770f14
PE
373122012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37313
6226efbd
PE
37314 mktime: merge comment-quoting-style change from gnulib
37315 * time/mktime.c: Quote 'like this' in comments.
37316 The GNU coding standards suggest that we no longer quote `like this',
37317 as "`" and "'" are typically rendered asymmetrically nowadays.
37318 The typical gnulib style is to quote 'like this' when quoting
37319 code, and "like this" when quoting English.
37320
b99e4f78
PE
37321 * time/mktime.c (compile-command): Add "-I.".
37322
643e01e6
PE
37323 mktime: merge mktime-internal.h change from gnulib
37324 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37325
2554247d
PE
37326 mktime: merge time_r change from gnulib
37327 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37328
826dd0ab
PE
37329 mktime: merge DEBUG change from gnulib
37330 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37331 case system <time.h> has a #define.
37332
bd83aabe
PE
37333 mktime: merge <sys/types.h> change from gnulib
37334 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37335 since <time.t> is now guaranteed to define time_t.
37336
95770f14
PE
37337 mktime: merge HAVE_CONFIG_H change from gnulib
37338 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37339
5e1a27a9
L
373402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37341
0e44a77e
L
37342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37343 Use "neg %eax".
37344
5e1a27a9
L
37345 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37346 __rlim_t cast.
37347 (struct rusage): Use anonymous union to pad each field to
37348 __syscall_slong_t.
37349
46259bec
DM
373502012-05-21 David S. Miller <davem@davemloft.net>
37351
37352 * Makefules (o-iterator): Remove .s cases.
37353 (compile-command.s): Delete.
37354 (COMPILE.s): Delete.
37355 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37356
59f0c22e
JM
373572012-05-21 Joseph Myers <joseph@codesourcery.com>
37358
37359 * configure.in (libc_cv_predef_stack_protector): Only consider
37360 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37361 * configure: Regenerated.
37362
20c07380
L
373632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37364
bbb3154b
L
37365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37366 New macro. Use R*LP on int and pointer.
37367 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37368 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37369 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37370 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37371
20c07380
L
37372 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37373 [__WORDSIZE_TIME64_COMPAT32] instead of
37374 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37375 (struct utmp): Likewise.
37376 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37377 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37378 Renamed to ...
37379 (__WORDSIZE_TIME64_COMPAT32): This.
37380 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37381 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37382 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37383 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37384 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37385 (__WORDSIZE_TIME64_COMPAT32): New macro.
37386
d8d1017e
AJ
373872012-05-21 Andreas Jaeger <aj@suse.de>
37388
37389 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37390 only if [SHARED]. Add prototype for __wcschr_ia32.
37391
6c7fb145
RM
373922012-05-21 Roland McGrath <roland@hack.frob.com>
37393
37394 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37395 of %rbp unmolested in the jmp_buf while mangling the low bits.
37396 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37397 unmolested high bits of %rbp while demangling the low bits.
37398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37399
66274218
AJ
374002012-05-21 Andreas Jaeger <aj@suse.de>
37401
07c58f8f
AJ
37402 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37403 * sunrpc/svc_simple.c: Use it for registerrpc.
37404 * sunrpc/xcrypt.c: Use it for passwd2des.
37405
66274218
AJ
37406 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37407
61f65140
L
374082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37409
37410 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37411 Don't define if [__SYSCALL_WORDSIZE != 32].
37412 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37413 New macro.
37414
5fefb436
AJ
374152012-05-21 Bruno Haible <bruno@clisp.org>
37416 Andreas Jaeger <aj@suse.de>
37417
37418 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37419 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37420 inptr and inend for must_buffer_ch.
37421 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37422 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37423 * stdio-common/Makefile (tests): Remove bug15.
37424 (bug15-ENV): Remove macro.
37425 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37426 anymore.
37427
d8e272ab
AJ
374282012-05-19 Andreas Jaeger <aj@suse.de>
37429 Roland McGrath <roland@hack.frob.com>
37430
37431 * manual/contrib.texi: Completely rewritten. It contains now an
37432 alphabetical list of contributors and their contributions.
37433
4a56a162
RH
374342012-05-21 Richard Henderson <rth@twiddle.net>
37435
37436 * misc/getauxval.c (__getauxval): Use unsigned long int.
37437 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37438 (getauxval): Use unsigned long int.
37439
d024d23c
L
374402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37441
37442 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37443
cbc00a03
RM
374442012-05-21 Roland McGrath <roland@hack.frob.com>
37445
37446 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37447 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37448 __alignof__ (long double).
37449
478143fa
AZ
374502012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37451
37452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37453
c7683a6d
RH
374542012-05-20 Richard Henderson <rth@twiddle.net>
37455
37456 * misc/getauxval.c: New file.
37457 * misc/sys/auxv.h: New file.
37458 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37459 (routines): Add getauxval.
37460 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37461 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37462 * elf/dl-sysdep.c (_dl_auxv): Remove.
37463 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37464 * elf/dl-support.c (_dl_auxv): New variable.
37465 (_dl_aux_init): Initialize it.
37466 * manual/startup.texi (Auxiliary Vector): New node.
37467 * sysdeps/generic/bits/hwcap.h: New file.
37468 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37469 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37470 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37471 * sysdeps/sparc/sysdep.h: ... here. Include it.
37472 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37475 Update.
c7683a6d
RH
37476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37484
a6f1845d
AZ
374852012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37486
37487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37488
cbcbe830
DM
374892012-05-19 David S. Miller <davem@davemloft.net>
37490
37491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37492
e0b16cc2
JM
374932012-05-19 Joseph Myers <joseph@codesourcery.com>
37494
37495 [BZ #14123]
37496 * math/s_ccosh.c: Include <float.h>
37497 (__ccosh): Avoid internal overflow calculating sinh and cosh
37498 values before multiplying by sin and cos values.
37499 * math/s_ccoshf.c: Likewise.
37500 * math/s_ccoshl.c: Likewise.
37501 * math/s_csin.c: Likewise.
37502 * math/s_csinf.c: Likewise.
37503 * math/s_csinl.c: Likewise.
37504 * math/s_csinh.c: Likewise.
37505 * math/s_csinhf.c: Likewise.
37506 * math/s_csinhl.c: Likewise.
37507 * math/libm-test.inc (ccos_test): Add more tests.
37508 (ccosh_test): Likewise.
37509 (csin_test): Likewise.
37510 (csinh_test): Likewise.
37511 * sysdeps/i386/fpu/libm-test-ulps: Update.
37512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37513
6ad13e08
L
375142012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37515
f66f0ce8
L
37516 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37517 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37518
6ad13e08
L
37519 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37520
b1d072a7
JM
375212012-05-19 Joseph Myers <joseph@codesourcery.com>
37522
37523 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37524 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37525 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37526 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37527 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37528 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37529 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37530 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37531 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37532 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37533 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37534 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37535 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37536 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37537 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37538 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37539 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37540 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37541 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37542 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37543 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37544 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37545 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37546 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37547 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37548 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37549 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37550 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37551 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37552 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37553 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37554
9eae47cb
AJ
375552012-05-18 Andreas Jaeger <aj@suse.de>
37556
37557 * csu/.gitignore: Delete.
37558
bb07f69f
L
375592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37560
37561 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37562 (timex): Use __syscall_slong_t.
37563
e6bdb741
AJ
375642012-05-18 Andreas Jaeger <aj@suse.de>
37565 Carlos O'Donell <carlos_odonell@mentor.com>
37566
37567 * manual/install.texi (Configuring and compiling): Update
37568 description about files modified in the source directory.
d6c33fda 37569 * INSTALL: Regenerated.
e6bdb741 37570
1b74487e
L
375712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37572
37573 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37574 value. Use "or" to set return value to -1.
37575 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37576 negate return value.
37577
a88b64b9
TMQMF
375782012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37579
57f41c40
AS
37580 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37581 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37582 failure if the compiler has Graphite support disabled.
37583 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37584 Likewise.
57f41c40
AS
37585 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37586 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37587 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37588 Likewise.
37589
3707636e
L
375902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37591
610b8622
L
37592 * sysdeps/x86_64/x32/_itoa.h: New file.
37593
7cd195df
L
37594 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37595 getdents system call only if kernel and user dirents have the
37596 same d_ino and d_off.
37597
94b07d20
L
37598 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37599 LLONG_MAX != LONG_MAX.
37600 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37601 (_fitoa_word): Likewise.
37602
18298070
L
37603 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37604 years.
37605 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37606 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37607 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37608
553c7ea4
L
37609 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37610 include <bits/wordsize.h>. Check __x86_64__ instead of
37611 __WORDSIZE.
37612 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37613 if __x86_64__ is defined. Use anonymous union on fpstate.
37614
3707636e
L
37615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37616 anonymous union.
37617
b53ef01a
AS
376182012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37619
37fb1dc0
AS
37620 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37621 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37622 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37623 Refer to _rtld_local_ro instead of _rtld_global_ro.
37624 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37625 Likewise.
37626 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37627 Likewise.
37628 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37629 Likewise.
37630 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37631 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37632 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37633
b53ef01a
AS
37634 * sysdeps/powerpc/powerpc32/dl-machine.c
37635 (__elf_machine_runtime_setup) [PROF]: Don't reference
37636 _dl_prof_resolve.
37637
7a185db2
AJ
376382012-05-18 Andreas Jaeger <aj@suse.de>
37639
37640 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37641 function only available for GCCs before 3.4 since GCC 3.4
37642 introduced a builtin.
37643 (lrint): Likewise.
37644 (llrintf): Likewise.
37645 (llrint): Likewise.
37646 (fmaxf): Likewise.
37647 (fmax): Likewise.
37648 (fminf): Likewise.
37649 (fmin): Likewise.
37650 (rint): Likewise.
37651 (rintf): Likewise.
37652 (nearbyint): Likewise.
37653 (nearbyintf): Likewise.
37654 (ceil): Likewise.
37655 (ceilf): Likewise.
37656 (floor): Likewise.
37657 (floorf): Likewise.
37658
3e5aef87
L
376592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37660
428bd707
L
37661 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37662 on both fields and cast pointer to __syscall_ulong_t.
37663
3e5aef87
L
37664 * bits/types.h (__fsword_t): New type.
37665 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37666 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37668 (__FSWORD_T_TYPE): Likewise.
37669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37670 (__FSWORD_T_TYPE): Likewise.
37671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37672 (__FSWORD_T_TYPE): Likewise.
37673 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37674 (__FSWORD_T_TYPE): Likewise.
37675 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37676 __SWORD_TYPE with __fsword_t.
37677 (statfs64): Likewise.
37678
1ba7c3dc
DM
376792012-05-17 David S. Miller <davem@davemloft.net>
37680
37681 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37682
59910343
AJ
376832012-05-17 Andreas Jaeger <aj@suse.de>
37684
37685 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37686 warning.
37687
2e4c1e9e
L
376882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37689
37690 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37691
de7f5ce7
AJ
376922012-05-17 Andreas Jaeger <aj@suse.de>
37693
37694 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37695 when it is used.
37696
286abc3d
CM
376972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37698
37699 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37700
477cc68e
L
377012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37702
37703 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37704 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37705
1a0994f5
CD
377062012-05-17 Andreas Jaeger <aj@suse.de>
37707 Carlos O'Donell <carlos_odonell@mentor.com>
37708
37709 [BZ #14059]
37710 * sysdeps/x86_64/multiarch/init-arch.h
37711 (bit_YMM_Usable): Rename to...
37712 (bit_AVX_Usable): ... this.
37713 (bit_FMA4_Usable): New macro.
37714 (bit_XMM_state): New macro.
37715 (bit_YMM_state): New macro.
37716 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37717 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37718 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37719 (CPUID_OSXSAVE): New macro.
37720 (CPUID_AVX): New macro.
37721 (CPUID_FMA4): New macro.
37722 (index_YMM_Usable): Rename to...
37723 (index_AVX_Usable): ... this.
37724 (HAS_AVX): Use HAS_ARCH_FEATURE.
37725 (HAS_FMA4): Likewise.
37726 (HAS_YMM_USABLE): Remove.
37727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37728 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37729 are present.
37730 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37731 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37732 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37733 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37734 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37735
0af797de
CM
377362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37737
37738 * math/libm-test.c: Support platforms without multiple rounding modes.
37739 * math/bug-nextafter.c: Support platforms without FP exceptions.
37740 * math/bug-nexttoward.c: Likewise.
37741 * math/test-fenv.c: Likewise.
37742 * math/test-misc.c: Likewise.
37743 * stdlib/bug-getcontext.c: Likewise.
37744
e39745ff
AJ
377452012-05-17 Andreas Jaeger <aj@suse.de>
37746
37747 * manual/examples/search.c (critter_cmp): Change signature to
37748 avoid warnings.
37749 * manual/string.texi (Collation Functions): Likewise.
37750
48970aba
L
377512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37752
37753 * bits/types.h: Fold copyright years.
37754 * bits/typesizes.h: Likewise.
37755 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37759 * time/time.h: Likewise.
37760
bedee953
PP
377612012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37762
37763 [BZ #208]
37764 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37765 in instead of returning them. Return void.
37766 (__libc_mallinfo): Accumulate over all arenas.
37767 (__malloc_stats): Adjust for change in int_mallinfo interface.
37768
61653dfb
RM
377692012-05-16 Roland McGrath <roland@hack.frob.com>
37770
30b99d79
RM
37771 [BZ #10375]
37772 * configure.in (NM): Add AC_CHECK_TOOL for it.
37773 (libc_extra_cflags): New substituted variable.
37774 Check for -fstack-protector being used implicitly.
37775 * configure: Regenerated.
37776 * config.make.in (config-extra-cflags): New variable,
37777 gets @libc_extra_cflags@.
37778 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37779
61653dfb
RM
37780 [BZ #10375]
37781 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37782 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37783 * configure: Regenerated.
37784 * config.make.in (CPPUNDEFS): New substituted variable.
37785 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37786 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37787 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37788
661768bb
L
377892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37790
37791 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37792 (mq_attr): Use __syscall_slong_t.
37793
d4261567
L
377942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37795
37796 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37797 Check __x86_64__ instead of __WORDSIZE.
37798 (_STAT_VER_LINUX): Likewise.
37799 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37800 __syscall_ulong_t and __syscall_slong_t.
37801 (stat64): Likewise.
37802
cf3ff365
L
378032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37804
37805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37806
76cf3e4d
L
378072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37808
37809 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37810
a637753a
L
378112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37812
37813 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37814 __syscall_ulong_t.
37815
d5e05119
L
37816 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37817 include <bits/wordsize.h>. Check __x86_64__ instead of
37818 __WORDSIZE.
37819 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37820 defined.
37821 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37822
f62ee380
L
37823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37824 include <bits/wordsize.h>. Check __x86_64__ instead of
37825 __WORDSIZE.
37826 (user_regs_struct): Use "__extension__ unsigned long long"
37827 instead of "unsigned long" if __x86_64__ is defined.
37828 (user): Likewise. Pad after pointer field if __ILP32__ is
37829 defined.
37830
4e124ced
JM
378312012-05-16 Joseph Myers <joseph@codesourcery.com>
37832
6a3951a0
JM
37833 * configure.in (makeinfo): Require version 4.5 or later. Allow
37834 versions 5 to 9.
37835 * configure: Regenerated.
37836 * manual/install.texi (texinfo): Increase version requirement to
37837 4.5 or later.
37838 * INSTALL: Regenerated.
37839
4e124ced
JM
37840 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37841
953ca31a
L
378422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37843
37844 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37845
617aca05
L
37846 * sysdeps/x86_64/x32/ffs.c: New file.
37847
5762f7ae
L
37848 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37849 __syscall_ulong_t.
37850 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37851 defined. Use __syscall_ulong_t.
37852 (shminfo): Use __syscall_ulong_t.
37853 (shm_info): Likewise.
37854
a26b6856
L
37855 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37856 __syscall_ulong_t.
37857
cb2b9ef7
L
37858 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37859 <bits/wordsize.h>.
37860 (msgqnum_t): Use __syscall_ulong_t.
37861 (msglen_t): Likewise.
37862 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37863 __syscall_ulong_t.
37864
34683bb0
L
37865 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37866 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37867
84a68786
L
37868 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37869
48baa5f1
L
37870 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37871 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37872
180be88b
L
37873 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37874 __syscall_slong_t.
37875
5e90c8ad
L
37876 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37877 include <bits/wordsize.h>. Check __x86_64__ instead of
37878 __WORDSIZE.
37879
23dfb58b
L
37880 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37881 "unsigned long long int" if __x86_64__ is defined.
37882 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37883
ce5d54b0
L
37884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37885 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37886 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37887
13dc9eac
L
37888 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37889 <stdint.h>.
37890 (GET_PC): Cast to uintptr_t first.
37891 (GET_FRAME): Likewise.
37892 (GET_STACK): Likewise.
37893
a7895d15
L
37894 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37895 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37897 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37899 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37900 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37901 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37902 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37903 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37904 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37905 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37906 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37908 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37909 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37910 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37911 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37913 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37914 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37915 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37916 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37917 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37918 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37919 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37920 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37921 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37922 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37923
656416c9
AS
379242012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37925
5bd66283
AS
37926 * Makerules (+depfiles): Also collect depfiles from .oS in
37927 $(extra-objs).
37928 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37929 .oS, $(libnldbl-routines)).
37930
656416c9
AS
37931 * Makerules (native-compile-mkdep-flags): Define.
37932 * sunrpc/Makefile (extra-objs): Add $(addprefix
37933 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37934 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37935 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37936 calling $(make-target-directory).
37937
a46f2169
L
379382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37939
37940 * bits/types.h (__snseconds_t): Removed.
37941 * time/time.h (struct timespec): Replace __snseconds_t with
37942 __syscall_slong_t.
37943 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37944 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37945 Likewise.
37946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37947 (__SNSECONDS_T_TYPE): Likewise.
37948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37949 (__SNSECONDS_T_TYPE): Likewise.
37950 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37951 (__SNSECONDS_T_TYPE): Likewise.
37952
6af6528b
L
379532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37954
37955 * sysdeps/mach/hurd/bits/typesizes.h
37956 (__SYSCALL_SLONG_TYPE): New macro.
37957 (__SYSCALL_ULONG_TYPE): Likewise.
37958
de986b56
L
379592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37960
37961 * bits/types.h (__syscall_slong_t): New type.
37962 (__syscall_ulong_t): Likewise.
37963
37964 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37965 (__SYSCALL_ULONG_TYPE): Likewise.
37966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37967 (__SYSCALL_SLONG_TYPE): Likewise.
37968 (__SYSCALL_ULONG_TYPE): Likewise.
37969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37970 (__SYSCALL_SLONG_TYPE): Likewise.
37971 (__SYSCALL_ULONG_TYPE): Likewise.
37972 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37973 (__SYSCALL_SLONG_TYPE): Likewise.
37974 (__SYSCALL_ULONG_TYPE): Likewise.
37975
85736dc7
L
379762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37977
37978 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37979 Add sigaltstack-offsets.sym.
37980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37981 <sigaltstack-offsets.h>.
37982 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37983 longjmp_msg pointer.
37984 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37985 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37986 signal stack.
37987 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37988
cc03b296
JM
379892012-05-15 Joseph Myers <joseph@codesourcery.com>
37990
a9538892
JM
37991 * elf/stackguard-macros.h: Remove file.
37992 * sysdeps/generic/stackguard-macros.h: New file.
37993 * sysdeps/i386/stackguard-macros.h: Likewise.
37994 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37995 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37996 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37997 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37998 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37999 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38000 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38001 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38002 <elf/stackguard-macros.h>.
38003
cc03b296
JM
38004 [BZ #14109]
38005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38006 __aligned__ in attribute.
38007 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38008 (gregset_t): Likewise.
38009
93171016
L
380102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38013 * sysdeps/x86_64/64/Implies-after: Here. New file.
38014 * sysdeps/x86_64/x32/Implies-after: New file.
38015
d86813a0
L
380162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38017
38018 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38019 and access return value for _dl_profile_fixup. Use R10_LP to
38020 load frame size.
38021
2953ec75
L
380222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38023
38024 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38025
3b550e9e
L
380262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38027
38028 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38029 * sysdeps/x86_64/x32/sysdep.h: New file.
38030
eda41706
L
380312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38032
38033 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38034 * sysdeps/x86_64/setjmp.S: Likewise.
38035
9ea01d93
AZ
380362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38037
38038 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38039 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38040 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38041 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38042 remove unused global constant.
38043
02a91938
CM
380442012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38045
38046 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38047 include of <not-cancel.h>.
38048
6540185f
RM
380492012-05-15 Roland McGrath <roland@hack.frob.com>
38050
38051 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38052
509072a0
AJ
380532012-05-15 Jeff Law <law@redhat.com>
38054 Andreas Jaeger <aj@suse.de>
38055
38056 [BZ #13594]
38057 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38058 out from...
38059 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38060 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38061 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38062 code changing __hst_map_handle.map.
38063
ba75122d
RM
380642012-05-15 Roland McGrath <roland@hack.frob.com>
38065
38066 * configure.in (sysnames): Look for Implies-before and Implies-after
38067 files.
38068 * configure: Regenerated.
38069
890d8bd8
L
380702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38071
38072 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38073 8-byte data alignment with LP_SIZE alignment.
38074
f6ee6623
L
380752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38076
38077 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38078 into R10_LP.
38079
ea2626f6
L
380802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38081
38082 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38083
085f715e
L
380842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38085
38086 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38087 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38088 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38089 Likewise.
38090 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38091
be8498fc
L
380922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38093
38094 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38095 (stackinfo_sub_sp): Likewise.
38096
70bc83b9
L
380972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38098
38099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38100 RAX_LP.
38101
9bc0b730
L
381022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38103
38104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38105 into R*_LP.
38106
6d2850e7
L
381072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38108
38109 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38110 sizes into R*_LP.
38111
3cb84561
L
381122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38113
38114 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38115
54e2ed81
L
381162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38117
38118 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38119 into R11_LP and load __x86_64_shared_cache_size_half into
38120 R8_LP.
38121
8a17f349
L
381222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38123
38124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38125 R8_LP.
38126
777b1eea
AZ
381272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38128
38129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38130 logb for POWER7.
38131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38132 logbf for POWER7.
38133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38134 logbl for POWER7.
38135 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38136 powerpc32/power7/fpu/s_logb.c via #include.
38137 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38138 powerpc32/power7/fpu/s_logbf.c via #include.
38139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38140 powerpc32/power7/fpu/s_logbl.c via #include.
38141
d20d4ac2
JM
381422012-05-15 Joseph Myers <joseph@codesourcery.com>
38143
38144 * README.libm: Remove file.
38145
6cdef1ab
L
381462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38147
38148 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38149 count for x32. Use R*_LP and omit operand-size suffix.
38150
0b254d8f
L
381512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38152
38153 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38154 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38155 * sysdeps/x86_64/x32/shlib-versions: New file.
38156
ceb809dc
RM
381572012-05-14 Roland McGrath <roland@hack.frob.com>
38158
38159 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38160 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38161 Use _dl_fatal_printf instead.
38162
37f1abd4
JM
381632012-05-14 Joseph Myers <joseph@codesourcery.com>
38164
38165 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38166 set if not set by the user. Do not allow for being unset.
38167 * sysdeps/unix/sysv/linux/configure: Regenerated.
38168
11de3a33
L
381692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38170
38171 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38172 the `q' suffix from lea and replace .quad with ASM_ADDR.
38173
e02f153a
L
381742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38175
38176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38177 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38178 instead of $17.
38179 (PTR_DEMANGLE): Likewise.
38180
520ae0fd
L
381812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38182
38183 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38184 (LP_OP): Likewise.
38185 (ASM_ADDR): Likewise.
38186 (RAX_LP): Likewise.
38187 (RBP_LP): Likewise.
38188 (RBX_LP): Likewise.
38189 (RCX_LP): Likewise.
38190 (RDI_LP): Likewise.
38191 (RSI_LP): Likewise.
38192 (RSP_LP): Likewise.
38193 (R8_LP): Likewise.
38194 (R9_LP): Likewise.
38195 (R10_LP): Likewise.
38196 (R10_LP): Likewise.
38197 (R11_LP): Likewise.
38198 (R12_LP): Likewise.
38199 (R13_LP): Likewise.
38200 (R14_LP): Likewise.
38201 (R15_LP): Likewise.
38202
b985be81
L
382032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 * sysdeps/x86_64/x32/dl-machine.h: New file.
38206
6a4888ff
AJ
382072012-05-14 Andreas Jaeger <aj@suse.de>
38208
38209 * manual/Makefile (subdir): Remove export of subdir.
38210 (all): Remove target.
38211 (.PHONY): Remove all from list.
38212 (mkinstalldirs): Remove.
38213 (.PHONY): Remove installdirs from list.
38214 ($(inst_infodir)/libc.info): Use make-target-directory.
38215 (installdirs): Remove.
38216 (subdir_%): Remove.
38217 (glibc-targets): Remove.
38218 (lib): Remove.
38219 (stubs): Remove.
38220 ($(objpfx)stubs ../po/manual.pot): Remove.
38221 ($(objpfx)stamp%): Remove.
38222 (make-target-directory): Remove.
38223 (subdir_install): Remove.
38224 (routines): Remove.
38225 (aux): Remove.
38226 (sources): Remove.
38227 (objects): Remove.
38228 (headers): Remove.
38229
38230 [BZ #13750]
38231 * manual/.gitignore: Remove, it's not needed anymore.
38232 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38233 all files in it.
38234 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38235 directory.
38236 (texis): Renamed to $(objpfx)texis.
38237 (texis-path): New, contains path to generated files.
38238 (chapters.%): Use texis-path for complete path, add extra argument
38239 libc-texinfo.sh.
38240 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38241 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38242 (summary,texi, stamp-summary): Use complete path of
38243 files. Generate files in build dir.
38244 (dir-add.texi): Build in build dir.
38245 (libm-err.texi,stamp-libm-err): Likewise.
38246 (version.texi, stamp-version): Likewise.
38247 (.%c.texi): Likewise.
38248 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38249 (mostlyclean): Remove target.
38250 (realclean): Remove target.
38251 (generated): Add new variable with contents from mostlyclean and
38252 realclean, remove entries duplicated in common-mostlyclean, add
38253 stamp-libm-err and stamp-version.
38254 (generated-dirs): Add libc directory.
38255 ($(inst_infodir)/libc.info): Install files from build dir.
38256
38257 * manual/install.texi (Configuring and compiling): Adjust since
38258 the info files are not part of the tar ball anymore.
38259
7ac77294
AJ
382602012-05-14 Andreas Jaeger <aj@suse.de>
38261
38262 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38263 variable.
38264
ffb7875d
JM
382652012-05-14 Joseph Myers <joseph@codesourcery.com>
38266
38267 [BZ #13717]
38268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38269 to 2.2.0 where earlier.
38270 * sysdeps/unix/sysv/linux/configure: Regenerated.
38271 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38272 Remove conditional code.
38273 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38274 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38275 Remove conditional code.
38276 [!__NR_lchown]: Likewise.
38277 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38278 [__NR_lchown]: Likewise.
38279 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38280 comment referencing __ASSUME_LCHOWN_SYSCALL.
38281 * sysdeps/unix/sysv/linux/i386/sigaction.c
38282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38284 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38285 Remove conditional code.
38286 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38287 (__protocol_available): Remove #if 0 code.
38288 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38289 conditional code.
38290 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38291 * sysdeps/unix/sysv/linux/kernel-features.h
38292 (__ASSUME_GETCWD_SYSCALL): Don't define.
38293 (__ASSUME_REALTIME_SIGNALS): Likewise.
38294 (__ASSUME_PREAD_SYSCALL): Likewise.
38295 (__ASSUME_PWRITE_SYSCALL): Likewise.
38296 (__ASSUME_POLL_SYSCALL): Likewise.
38297 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38298 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38299 non-SPARC.
38300 (__ASSUME_SIOCGIFNAME): Don't define.
38301 (__ASSUME_MSG_NOSIGNAL): Likewise.
38302 (__ASSUME_SENDFILE): Define unconditionally.
38303 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38304 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38305 conditional code.
38306 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38307 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38308 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38309 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38310 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38311 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38312 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38314 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38317 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38320 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38321 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38323 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38326 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38327 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38329 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38330 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38332 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38335 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38337 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38338 Remove conditional code.
38339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38340 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38341 Remove conditional code.
38342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38343 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38344 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38345 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38346 Remove conditional code.
38347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38348 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38349 Remove conditional code.
38350 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38351 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38352 Remove conditional code.
38353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38354 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38355 Remove conditional code.
38356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38357 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38358 Remove conditional code.
38359 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38360 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38361 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38362 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38363 * sysdeps/unix/sysv/linux/sigaction.c
38364 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38365 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38366 * sysdeps/unix/sysv/linux/sigpending.c
38367 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38368 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38369 * sysdeps/unix/sysv/linux/sigprocmask.c
38370 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38371 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38372 * sysdeps/unix/sysv/linux/sigsuspend.c
38373 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38374 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38375 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38376 (__libc_missing_rt_sigs): Remove.
38377 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38378 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38379 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38380 Remove conditional code.
38381 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38382 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38383 return 1.
38384 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38385 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38386 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38387 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38388
1bfb7291
AJ
383892012-05-14 Andreas Jaeger <aj@suse.de>
38390
caae5a81
AJ
38391 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38392 it's not used in glibc.
38393 (__coshm1): Likewise.
38394 (__acosh1p): Likewise.
38395 (__sgn): Likewise.
38396
1bfb7291
AJ
38397 * manual/string.texi (Copying and Concatenation): Add missing
38398 variable in concat example.
38399 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38400
c044d724
L
384012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38402
144c5467 38403 [BZ #14103]
c044d724
L
38404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38405 __builtin_clzl with __builtin_clzll.
38406
2523c62b
L
384072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38408
38409 [BZ #14104]
38410 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38411 libc_freeres_ptr.
38412
d7bb4c42
LD
384132012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38414
38415 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38416 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38417 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38418 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38419
9dc4e1fb
MF
384202012-05-14 Mike Frysinger <vapier@gentoo.org>
38421
38422 * NEWS: Update ia64 info.
38423
c7df0112
AS
384242012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38425
38426 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38427 used as bcopy.
38428
dc70356c
TS
384292012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38430
38431 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38432 * sysdeps/unix/syscalls.list (dup3): Likewise.
38433 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38434 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38435
9fb1a21f
L
384362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38437
38438 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38439 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38440
4822a2a5
L
384412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38442
38443 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38444 thread pointer.
38445 (TLS_IE): Use mov/add instead of movq/addq to load thread
38446 pointer.
38447 (TLS_GD_PREFIX): New.
38448 (TLS_GD): Use it.
38449
842b81d6
DM
384502012-05-11 David S. Miller <davem@davemloft.net>
38451
38452 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38453 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38454 (_FPU_SETCW): Likewise.
38455
1cf463cd
L
384562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38457
38458 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38459 is 32-byte aligned.
38460
60cc4a18
AS
384612012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38462
38463 [BZ #11837]
38464 * iconvdata/gb18030.c: Update tables.
38465 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38466 characters specially.
38467 (BODY for TO_LOOP): Add encoding of missing ranges.
38468
febb44a4
TS
384692012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38470
38471 [BZ #13673]
38472 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38473 * sysdeps/mach/hurd/dup3.c: Likewise.
38474 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38475 * sysdeps/powerpc/memmove.c:: Likewise.
38476
0a10fb9e
L
384772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38478
38479 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38480 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38481
df8a552f
L
384822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38483
38484 * elf/elf.h (R_X86_64_RELATIVE64): New.
38485 (R_X86_64_NUM): Updated.
38486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38487 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38488 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38489 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38490 tst-quad1pie tst-quad2pie
38491 (modules-names): Add tst-quadmod1 tst-quadmod2.
38492 ($(objpfx)tst-quad1): New dependency.
38493 ($(objpfx)tst-quad2): Likewise.
38494 ($(objpfx)tst-quad1pie): Likewise.
38495 ($(objpfx)tst-quad2pie): Likewise.
38496 * sysdeps/x86_64/tst-quad1.c: New file.
38497 * sysdeps/x86_64/tst-quad1pie.c: New file.
38498 * sysdeps/x86_64/tst-quad2.c: Likewise.
38499 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38500 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38501 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38502 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38503 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38504
f34d6f84
ST
385052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38506
f42d41d1
ST
38507 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38508 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38509 * streams/stropts.h (t_scalar_t): Define type.
38510
3c3571fc
ST
38511 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38512 (_PATH_PRESERVE): Set to "/var/lib".
38513 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38514
61f06bd3
ST
38515 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38516 instead of int.
38517
918d4d71
ST
38518 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38519 if __dir_mkfile succeeded.
38520
f34d6f84
ST
38521 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38522 checking for _hurd_dtablesize. Unlock it right after having
38523 finished _hurd_dtable allocation.
38524
10589b4a
TS
385252012-05-10 Thomas Schwinge <thomas@schwinge.name>
38526
674cdbc7
TS
38527 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38528 * sysdeps/mach/hurd/configure: Regenerated.
38529 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38530 special-casing to...
38531 * sysdeps/gnu/configure.in: ... this new file.
38532 * sysdeps/unix/sysv/linux/configure: Regenerated.
38533 * sysdeps/gnu/configure: New generated file.
38534
8e41b99f
TS
38535 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38536 for Linux: use nsec instead of usec, as well as:
38537 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38538 members of type struct timespec.
38539 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38540 New macros.
38541 (struct stat64): Likewise.
38542 (_STATBUF_ST_NSEC): New macro.
38543 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38544
10589b4a
TS
38545 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38546 __strtoul_internal rather than strtoul.
38547
63643c85
PT
385482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38549
38550 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38551 and reject them.
38552
3faebe6a
ST
385532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38554
38555 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38556 which preserves existing values.
38557 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38558
c6474b07
PT
385592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38560
38561 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38562 TIMEOUT values. Return EINVAL for NFDS values either negative or
38563 greater than FD_SETSIZE.
38564
1043890b
ST
385652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38566
38567 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38568 allocated, call __vm_protect to finish enabling the existing space, and
38569 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38570 allocate the remainder.
38571
37ed8b9b
PT
385722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38573
38574 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38575 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38576
db653660
ST
385772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38578
37ed8b9b
PT
38579 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38580 sysdeps/mach/hurd/readlink.c.
b29d4053 38581
db653660
ST
38582 * posix/tst-sysconf.c (posix_options): Only use
38583 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38584 _POSIX_SYNCHRONIZED_IO when they are defined
38585 * sysdeps/mach/hurd/bits/posix_opt.h:
38586 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38587 (_XOPEN_REALTIME): Undefine macro.
38588 (_XOPEN_REALTIME_THREADS): Undefine macro.
38589 (_XOPEN_SHM): Undefine macro.
38590 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38591 macro to -1.
38592 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38593 macro to -1.
38594 (_POSIX_ASYNC_IO): Undefine macro.
38595 (_POSIX_PRIORITIZED_IO): Undefine macro.
38596 (_POSIX_SPIN_LOCKS): Define macro to -1.
38597
ee16e894
ST
38598 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38599 SA_NODEFER, SA_RESETHAND.
38600 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38601 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38602 F_DUPFD_CLOEXEC.
38603
6103ae3b
TS
386042012-05-10 Thomas Schwinge <thomas@schwinge.name>
38605
38606 * elf/Makefile (pldd-modules): Define unconditionally.
38607
80b4e5f3
TS
386082012-05-10 Thomas Schwinge <thomas@schwinge.name>
38609
38610 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38611
edadcbd6
ST
386122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38613
38614 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38615 Return ENOENT when name is empty.
38616 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38617
80694780
TS
386182012-05-10 Thomas Schwinge <thomas@schwinge.name>
38619
1792c087
TS
38620 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38621
80694780
TS
38622 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38623
6b645f0d
ST
386242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38625
80694780
TS
38626 Fix mlock in all cases except non-readable pages.
38627 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38628 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38629
6b645f0d
ST
38630 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38631 (__mkdir): When path is `/', just fail with EEXIST.
38632 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38633
e468f8a3
TS
386342012-05-10 Thomas Schwinge <thomas@schwinge.name>
38635
38636 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38637 <sys/uio.h> (for writev).
38638 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38639 and <sys/param.h> (for MIN).
38640
a4186cff
PT
386412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38642
38643 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38644 REQUESTED_TIME. Properly set the remaining time and return EINTR
38645 if interrupted.
38646
510bbf14
TS
386472012-05-10 Thomas Schwinge <thomas@schwinge.name>
38648
38649 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38650 Depend on against $(link-rpcuserlibs).
38651
5d5722e8
ST
386522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38653
a4186cff
PT
38654 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38655 (__libc_stack_end): Do not use attribute_relro.
38656 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38657 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38658 to libthread-provided value.
a4186cff
PT
38659 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38660 attribute_relro.
5d5722e8 38661
37233df9
TS
386622012-05-10 Thomas Schwinge <thomas@schwinge.name>
38663
be971a2b
TS
38664 [BZ #3748]
38665 * bits/libc-lock.h (__libc_once_get): New macro.
38666 * sysdeps/mach/bits/libc-lock.h: Likewise.
38667 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38669 instead of using implementation details.
38670
37233df9
TS
38671 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38672 * libio/freopen.c: Likewise.
38673 * libio/freopen64.c: Likewise.
38674 * misc/syslog.c: Likewise.
38675 * nscd/connections.c: Likewise.
38676 * nscd/netgroupcache.c: Likewise.
38677 * sysdeps/posix/getcwd.c: Likewise.
38678
38de94a5
RM
386792012-05-10 Roland McGrath <roland@hack.frob.com>
38680
38681 * math/w_ilogbf.c: Add #include <limits.h>.
38682
67530489
ST
386832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38684
a4186cff 38685 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38686 path instead of returning without unlocking.
38687
67530489
ST
38688 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38689 immediate-write ioctls.
38690 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38691
5aa3a74a
TS
386922012-05-10 Thomas Schwinge <thomas@schwinge.name>
38693
18bad2ae
TS
38694 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38695 __builtin_frame_address instead of making assumptions about the
38696 location of the return address relative to DATA. Force early load of
38697 the return address.
38698 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38699 __builtin_frame_address.
38700
5aa3a74a
TS
38701 dup3 for GNU Hurd.
38702 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38703 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38704 implement dup3 and do some further code clean-ups.
38705 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38706 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38707
ecd0de9a
ST
387082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38709
cd9fa985
ST
38710 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38711
a4186cff
PT
38712 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38713 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38714 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38715 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38716 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38717 d->port.lock.
802ca5a5 38718
a4186cff
PT
38719 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38720 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38721 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38722
bcf55240
TS
387232012-05-10 Thomas Schwinge <thomas@schwinge.name>
38724
6960eb42
TS
38725 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38726 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38727 definitions.
38728
eb43375f
TS
38729 accept4 for GNU Hurd.
38730 * include/sys/socket.h (__libc_accept4): New prototype.
38731 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38732 to implement __libc_accept4.
38733 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38734 __libc_accept4.
38735 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38736
bcf55240
TS
38737 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38738 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38739 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38740 signal-defines.sym.
38741
6178c55b
ST
387422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38743
a4186cff 38744 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38745
6f080c2f
TS
387462012-05-10 Thomas Schwinge <thomas@schwinge.name>
38747
38748 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38749 assertion on O_CLOEXEC flag.
38750 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38751 * hurd/intern-fd.c: Likewise.
38752 * hurd/port2fd.c: Likewise.
38753
bcfe3a54
ST
387542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38755
38756 [BZ #3906]
38757 * bits/in.h (IPV6_PKTINFO): Define new macro.
38758 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38759
89c9aa49
AZ
387602012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38761
38762 [BZ #13954]
38763 [BZ #13955]
38764 [BZ #13956]
38765 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38767 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38768 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38769 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38770 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38771 * math/libm-test.inc (logb_test) : Additional logb tests.
38772
021db4be
AJ
387732012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38774 Andreas Jaeger <aj@suse.de>
38775
38776 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38777 * configure: Regenerated.
38778 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38779 * config.make.in (link-obsolete-rpc): New substituted variable.
38780 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38781 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38782 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38783 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38784 so that libc.a contains the symbols.
38785 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38786 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38787 * sunrpc/auth_none.c: Likewise.
38788 * sunrpc/auth_unix.c: Likewise.
38789 * sunrpc/authdes_prot.c: Likewise.
38790 * sunrpc/authuxprot.c: Likewise.
38791 * sunrpc/clnt_gen.c: Likewise.
38792 * sunrpc/clnt_perr.c: Likewise.
38793 * sunrpc/clnt_raw.c: Likewise.
38794 * sunrpc/clnt_simp.c: Likewise.
38795 * sunrpc/clnt_tcp.c: Likewise.
38796 * sunrpc/clnt_udp.c: Likewise.
38797 * sunrpc/clnt_unix.c: Likewise.
38798 * sunrpc/des_crypt.c: Likewise.
38799 * sunrpc/des_soft.c: Likewise.
38800 * sunrpc/get_myaddr.c: Likewise.
38801 * sunrpc/key_call.c: Likewise.
38802 * sunrpc/key_prot.c: Likewise.
38803 * sunrpc/netname.c: Likewise.
38804 * sunrpc/pm_getmaps.c: Likewise.
38805 * sunrpc/pm_getport.c: Likewise.
38806 * sunrpc/pmap_clnt.c: Likewise.
38807 * sunrpc/pmap_prot.c: Likewise.
38808 * sunrpc/pmap_prot2.c: Likewise.
38809 * sunrpc/pmap_rmt.c: Likewise.
38810 * sunrpc/publickey.c: Likewise.
38811 * sunrpc/rpc_cmsg.c: Likewise.
38812 * sunrpc/rpc_common.c: Likewise.
38813 * sunrpc/rpc_dtable.c: Likewise.
38814 * sunrpc/rpc_prot.c: Likewise.
38815 * sunrpc/rpc_thread.c: Likewise.
38816 * sunrpc/rtime.c: Likewise.
38817 * sunrpc/svc.c: Likewise.
38818 * sunrpc/svc_auth.c: Likewise.
38819 * sunrpc/svc_raw.c: Likewise.
38820 * sunrpc/svc_run.c: Likewise.
38821 * sunrpc/svc_tcp.c: Likewise.
38822 * sunrpc/svc_udp.c: Likewise.
38823 * sunrpc/svc_unix.c: Likewise.
38824 * sunrpc/svcauth_des.c: Likewise.
38825 * sunrpc/xcrypt.c: Likewise.
38826 * sunrpc/xdr.c: Likewise.
38827 * sunrpc/xdr_array.c: Likewise.
38828 * sunrpc/xdr_float.c: Likewise.
38829 * sunrpc/xdr_intXX_t.c: Likewise.
38830 * sunrpc/xdr_mem.c: Likewise.
38831 * sunrpc/xdr_rec.c: Likewise.
38832 * sunrpc/xdr_ref.c: Likewise.
38833 * sunrpc/xdr_sizeof.c: Likewise.
38834 * sunrpc/xdr_stdio.c: Likewise.
38835
b5c086a2
RM
388362012-05-10 Roland McGrath <roland@hack.frob.com>
38837
38838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38839 change. Update copyright years.
38840
6d74dd09
JM
388412012-05-10 Joseph Myers <joseph@codesourcery.com>
38842
38843 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38844
28e72501
MK
388452012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38846 Joseph Myers <joseph@codesourcery.com>
38847 Paul Pluzhnikov <ppluzhnikov@google.com>
38848
38849 [BZ #14012]
38850 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38851 requiring rpcgen.
38852 [cross-compiling] (extra-libs): Likewise.
38853 [cross-compiling] (extra-libs-others): Likewise.
38854 [cross-compiling] (librpcsvc-routines): Likewise.
38855 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38856 [cross-compiling] (omit-deps): Likewise.
38857 (sunrpc-CPPFLAGS): New variable.
38858 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38859 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38860 (cross-rpcgen-objs): New variable.
38861 (extra-objs): Append $(cross-rpcgen-objs).
38862 ($(cross-rpcgen-objs)): New rule.
38863 ($(objpfx)cross-rpcgen): Likewise.
38864 (rpcgen-cmd): Define to use $(built-program-file). Expand
38865 comment.
38866 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38867 ($(objpfx)x%.stmp): Likewise.
38868 * sunrpc/proto.h [IS_IN_build] (_): Define.
38869 [IS_IN_build] (_libc_intl_domainname): Likewise.
38870
c8c59454
L
388712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38872
38873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38874 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38875 and R_X86_64_TPOFF64.
38876
6f27cd16
JM
388772012-05-10 Joseph Myers <joseph@codesourcery.com>
38878
38879 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38880 sysdeps/unix/sysv/syscalls.list.
38881 (stime): Likewise.
38882 (utime): Likewise.
38883 * sysdeps/unix/sysv/syscalls.list: Remove file.
38884
02467e1c
PE
388852012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38886
38887 [BZ #3440]
38888 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38889 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38890 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38891 (__LC_IDENTIFICATION): Make these macros useful in #if
38892 expressions, as required by C99.
38893
da392631
AS
388942012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38895
38896 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38897 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38898 after this.
38899
8115f29b
L
389002012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38901
38902 * stdlib/longlong.h: Updated from GCC.
38903
bdd74070
AJ
389042012-05-09 Andreas Jaeger <aj@suse.de>
38905
edfe0dbe
AJ
38906 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38907 default is first entry.
38908 (run_mode): Set type.
38909 (main): Remove informal message about syslog.
38910 (options): Fix typo.
38911
bcfe3a54
ST
38912 [BZ #14053]
38913 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38914 to asm.
bcfe3a54
ST
38915 (lrint): Likewise.
38916 (llrintf): Likewise.
38917 (llrint): Likewise.
38918 (rint): Likewise.
38919 (rintf): Likewise.
38920 (nearbyint): Likewise.
38921 (nearbyintf): Likewise.
bdd74070 38922
91d8d69e
AJ
389232012-05-09 Andreas Jaeger <aj@suse.de>
38924 Pedro Alves <palves@redhat.com>
38925
38926 * nscd/nscd.c (run_mode): Use enum.
38927 (main): Cleanup coding style issue.
38928
bb90b80b
AJ
389292012-05-09 Alexandre Oliva <aoliva@redhat.com>
38930 Andreas Jaeger <aj@suse.de>
38931
bcfe3a54
ST
38932 * nscd/nscd.c (go_background): Replaced with...
38933 (run_mode): ... this.
bb90b80b 38934 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38935 (options): Add -F --foreground.
38936 (main): Implement it.
38937 (parse_opt): Parse it.
bb90b80b 38938
1a4b75a1
AJ
389392012-05-09 Andreas Jaeger <aj@suse.de>
38940
38941 [BZ #14083]
38942 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38943 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38944 -Wconversion warning.
38945 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38946 Likewise.
38947
b1cc2472
JM
389482012-05-09 Joseph Myers <joseph@codesourcery.com>
38949
38950 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38951 == 0.
38952 (LC_ALL): Use macro-int-constant.
38953 (LC_COLLATE): Likewise.
38954 (LC_CTYPE): Likewise.
38955 (LC_MESSAGES): Likewise.
38956 (LC_MONETARY): Likewise.
38957 (LC_NUMERIC): Likewise.
38958 (LC_TIME): Likewise.
38959 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38960 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38962 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38963 Specify type.
38964 [C99-based standards] (float_t): Expect type.
38965 [C99-based standards] (double_t): Expect type.
38966 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38967 type.
38968 [C99-based standards] (HUGE_VALL): Likewise.
38969 [C99-based standards] (INFINITY): Likewise.
38970 [C99-based standards] (NAN): Likewise.
38971 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38972 [C99-based standards] (FP_NAN): Likewise.
38973 [C99-based standards] (FP_NORMAL): Likewise.
38974 [C99-based standards] (FP_SUBNORMAL): Likewise.
38975 [C99-based standards] (FP_ZERO): Likewise.
38976 [C99-based standards] (FP_FAST_FMA): Use
38977 optional-macro-int-constant. Specify type. Require == 1.
38978 [C99-based standards] (FP_FAST_FMAF): Likewise.
38979 [C99-based standards] (FP_FAST_FMAL): Likewise.
38980 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38981 [C99-based standards] (FP_ILOGBNAN): Likewise.
38982 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38983 Specify type.
38984 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38985 [C99-based standards] (math_errhandling): Specify type.
38986 [ISO99 || ISO11] (signgam): Do not allow.
38987 [non-C99-based standards] (copysignf): Do not allow.
38988 [non-C99-based standards] (exp2f): Likewise.
38989 [non-C99-based standards] (log2f): Likewise.
38990 [non-C99-based standards] (modff): Allow.
38991 [non-C99-based standards] (erff): Do not allow.
38992 [non-C99-based standards] (erfcf): Likewise.
38993 [non-C99-based standards] (gammaf): Likewise.
38994 [non-C99-based standards] (hypotf): Likewise.
38995 [non-C99-based standards] (j0f): Likewise.
38996 [non-C99-based standards] (j1f): Likewise.
38997 [non-C99-based standards] (jnf): Likewise.
38998 [non-C99-based standards] (lgammaf): Likewise.
38999 [non-C99-based standards] (tgammaf): Likewise.
39000 [non-C99-based standards] (y0f): Likewise.
39001 [non-C99-based standards] (y1f): Likewise.
39002 [non-C99-based standards] (ynf): Likewise.
39003 [non-C99-based standards] (isnanf): Likewise.
39004 [non-C99-based standards] (acoshf): Likewise.
39005 [non-C99-based standards] (asinhf): Likewise.
39006 [non-C99-based standards] (atanhf): Likewise.
39007 [non-C99-based standards] (cbrtf): Likewise.
39008 [non-C99-based standards] (expm1f): Likewise.
39009 [non-C99-based standards] (ilogbf): Likewise.
39010 [non-C99-based standards] (log1pf): Likewise.
39011 [non-C99-based standards] (logbf): Likewise.
39012 [non-C99-based standards] (nextafterf): Likewise.
39013 [non-C99-based standards] (remainderf): Likewise.
39014 [non-C99-based standards] (rintf): Likewise.
39015 [non-C99-based standards] (scalbf): Likewise.
39016 [non-C99-based standards] (copysignl): Likewise.
39017 [non-C99-based standards] (exp2l): Likewise.
39018 [non-C99-based standards] (log2l): Likewise.
39019 [non-C99-based standards] (modfl): Allow.
39020 [non-C99-based standards] (erfl): Do not allow.
39021 [non-C99-based standards] (erfcl): Likewise.
39022 [non-C99-based standards] (gammal): Likewise.
39023 [non-C99-based standards] (hypotl): Likewise.
39024 [non-C99-based standards] (j0l): Likewise.
39025 [non-C99-based standards] (j1l): Likewise.
39026 [non-C99-based standards] (jnl): Likewise.
39027 [non-C99-based standards] (lgammal): Likewise.
39028 [non-C99-based standards] (tgammal): Likewise.
39029 [non-C99-based standards] (y0l): Likewise.
39030 [non-C99-based standards] (y1l): Likewise.
39031 [non-C99-based standards] (ynl): Likewise.
39032 [non-C99-based standards] (isnanl): Likewise.
39033 [non-C99-based standards] (acoshl): Likewise.
39034 [non-C99-based standards] (asinhl): Likewise.
39035 [non-C99-based standards] (atanhl): Likewise.
39036 [non-C99-based standards] (cbrtl): Likewise.
39037 [non-C99-based standards] (expm1l): Likewise.
39038 [non-C99-based standards] (ilogbl): Likewise.
39039 [non-C99-based standards] (log1pl): Likewise.
39040 [non-C99-based standards] (logbl): Likewise.
39041 [non-C99-based standards] (nextafterl): Likewise.
39042 [non-C99-based standards] (remainderl): Likewise.
39043 [non-C99-based standards] (rintl): Likewise.
39044 [non-C99-based standards] (scalbl): Likewise.
39045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39046 [non-C99-based standards] (FP_*): Do not allow.
39047 [C99-based standards] (FP_*): Change to
39048 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39049 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39050 allow.
39051 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39052 (SIG_ERR): Likewise.
39053 [X/Open-based standards] (SIG_HOLD): Likewise.
39054 (SIG_IGN): Likewise.
39055 (SIGABRT): Use macro-int-constant. Specify type. Require
39056 positive value.
39057 (SIGFPE): Likewise.
39058 (SIGILL): Likewise.
39059 (SIGINT): Likewise.
39060 (SIGSEGV): Likewise.
39061 (SIGTER): Likewise.
39062 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39063 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39064 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39065 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39066 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39067 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39068 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39071 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39072 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39073 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39074 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39075 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39076 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39077 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39078 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39079 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39080 [X/Open-based standards] (SIGTRAP): Likewise.
39081 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39082 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39083 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39084 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39085 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39086 allow.
39087
b9f1922d
IW
390882012-05-08 Ian Wienand <ianw@vmware.com>
39089
39090 [BZ #14080]
39091 * time/tzset.c (__tzset_parse_tz): Update default rules for
39092 daylight time changes in the Energy Policy Act of 2005.
39093
1db86e88
AJ
390942012-05-09 Andreas Jaeger <aj@suse.de>
39095
39096 [BZ #13983]
39097 * elf/ldconfig.c (parse_conf): Change string to make clear that
39098 ldconfig only issued a warning if ld.so.conf does not exist.
39099
dee4a4e3
DM
391002012-05-08 David S. Miller <davem@davemloft.net>
39101
ee0db190
DM
39102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39103 movxtod instead of popping the value on the stack.
39104
dee4a4e3
DM
39105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39106
6a43ec98
CD
391072012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39108
39109 * config.h.in: Add HAVE_ARM_PCS_VFP.
39110
05c2c961
RMG
391112012-05-08 Roland Mc Grath <roland@hack.frob.com>
39112
bcfe3a54
ST
39113 [BZ #13979]
39114 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39115 checking but the checks are disabled for any reason.
05c2c961 39116
4b30f61a
L
391172012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39118
39119 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39120 and ELF64_R_TYPE with ELFW(R_TYPE).
39121
eee2bc67
JM
391222012-05-08 Joseph Myers <joseph@codesourcery.com>
39123
7ea5391a
JM
39124 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39125 (ulimit): Likewise.
39126
eee2bc67
JM
39127 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39128 (settimeofday): Likewise.
39129
abb66a67
MF
391302012-05-08 Mike Frysinger <vapier@gentoo.org>
39131
39132 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39133 a struct th_u2 inside the union, and move tu_block/tu_code into
39134 a new th_u3 union of tu_block/tu_code inside of that. Move
39135 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39136 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39137 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39138 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39139 (th_stuff): Change to th_u1.tu_stuff.
39140 (th_data): Define.
39141 (th_msg): Change to th_u1.th_u2.tu_data.
39142
7f18b530
DM
391432012-05-07 David S. Miller <davem@davemloft.net>
39144
05760585
DM
39145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39146
7f18b530
DM
39147 [BZ #14074]
39148 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39149 (SETUP_PIC_REG): Use it.
39150 (SETUP_PIC_REG_LEAF): Use it.
39151
495fd99f
JM
391522012-05-07 Joseph Myers <joseph@codesourcery.com>
39153
39154 [BZ #13885]
39155 [BZ #13923]
39156 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39157 USE_AS_EXPM1L.
39158 (EXPL_FINITE): Likewise.
39159 (FLDLOG): Likewise.
39160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39161 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39162 e_expl.S.
39163 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39164 USE_AS_EXPM1L.
39165 (EXPL_FINITE): Likewise.
39166 (FLDLOG): Likewise.
39167 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39168 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39169 e_expl.S.
39170 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39171 test of -max_value argument for long double.
39172 * sysdeps/i386/fpu/libm-test-ulps: Update.
39173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39174
6693d694
DM
391752012-05-06 David S. Miller <davem@davemloft.net>
39176
39177 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39178 quad soft-float symbols whose references which are compiler
39179 generated.
39180 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39181
6c23e11c
JM
391822012-05-06 Joseph Myers <joseph@codesourcery.com>
39183
d8b82cad
JM
39184 [BZ #13884]
39185 [BZ #13914]
39186 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39187 USE_AS_EXP10L.
39188 (EXPL_FINITE): Likewise.
39189 (FLDLOG): Likewise.
39190 (c0): Likewise.
39191 (c1): Likewise.
39192 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39193 Adjust comments for base varying.
39194 (__expl_finite): Change alias to EXPL_FINITE.
39195 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39196 e_expl.S.
39197 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39198 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39200 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39201 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39202 USE_AS_EXP10L.
39203 (EXPL_FINITE): Likewise.
39204 (FLDLOG): Likewise.
39205 (c0): Likewise.
39206 (c1): Likewise.
39207 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39208 Adjust comments for base varying.
39209 (__expl_finite): Change alias to EXPL_FINITE.
39210 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39211 tests for bugs.
39212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39213
6c23e11c
JM
39214 [BZ #14064]
39215 * math/libm-test.inc (check_float_internal): Correct ulp
39216 calculation for subnormal expected results.
39217
29ba805c
AJ
392182012-05-06 Andreas Jaeger <aj@suse.de>
39219
39220 * Makeconfig (+math-flags): New, set to -frounding-math.
39221 (+cflags): Add +math-flags so that all of glibc gets compiled with
39222 it.
39223
39224 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39225
7b17aeda
JM
392262012-05-05 Joseph Myers <joseph@codesourcery.com>
39227
5779f134
JM
39228 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39229 Disable one test.
39230
41498f4d
JM
39231 [BZ #13787]
39232 [BZ #13922]
39233 [BZ #14036]
39234 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39235 (__ieee754_expl): Allow for and saturate large arguments.
39236 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39237 (u_threshold): Likewise.
39238 (__exp): Call __ieee754_exp before checking for overflow and
39239 underflow.
39240 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39241 (u_threshold): Likewise.
39242 (__expf): Call __ieee754_expf before checking for overflow and
39243 underflow.
39244 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39245 (u_threshold): Likewise.
39246 (__expl): Call __ieee754_expl before checking for overflow and
39247 underflow.
39248 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39249 (__ieee754_expl): Allow for and saturate large arguments.
39250 * math/libm-test.inc (exp_test): Add another test. Do not allow
39251 missing overflow exception on overflow.
39252 (expm1_test): Do not allow missing overflow exception on overflow.
39253
6698b8bf
JM
39254 * sysdeps/i386/fpu/e_expl.c: Move to ...
39255 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39256 rather than using inline asm.
39257 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39258 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39259 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39260
7b17aeda
JM
39261 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39262 (nice): Likewise.
39263 (poll): Likewise.
39264 (signal): Likewise.
39265 (time): Likewise.
39266 (times): Likewise.
39267
f7c85819
JM
392682012-05-04 Joseph Myers <joseph@codesourcery.com>
39269
39270 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39271 sysdeps/unix/common/syscalls.list.
39272 (fchmod): Likewise.
39273 (fchown): Likewise.
39274 (ftruncate): Likewise.
39275 (getrusage): Likewise.
39276 (gettimeofday): Likewise.
39277 (setpgid): Likewise.
39278 (setregid): Likewise.
39279 (setreuid): Likewise.
39280 (sigaction): Likewise.
39281 (truncate): Likewise.
39282 (vhangup): Likewise.
39283 * sysdeps/unix/common/syscalls.list: Remove file.
39284 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39285 * sysdeps/unix/sysv/linux/Implies: Likewise.
39286
336270d0
L
392872012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39288
39289 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39291 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39292 Moved to ...
39293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39294 Here.
39295 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39296 to ...
39297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39298 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39299 to ...
39300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39301 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39302 to ...
39303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39304 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39305 to ...
39306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39307 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39308 to ...
39309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39310 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39311 to ...
39312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39313 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39314 to ...
39315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39316 Here.
39317 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39318 to ...
39319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39320 Here.
39321 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39322 to ...
39323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39324 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39325 Moved to ...
39326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39327 Here.
39328 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39329 to ...
39330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39331
d128e450
JM
393322012-05-04 Joseph Myers <joseph@codesourcery.com>
39333
fa8ee516
JM
39334 * sysdeps/unix/common/bits/dirent.h: Remove file.
39335 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39336
d128e450
JM
39337 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39338 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39339 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39340 * sysdeps/unix/bsd/isatty.c: Likewise.
39341 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39342 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39343 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39344
ff8faaf0 393452012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39346
62881be4 39347 [BZ #13563]
31dc8730
AZ
39348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39349 long double comparison inaccuracies.
39350 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39352
6fef930c
AS
393532012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39354
39355 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39357
8f203e6c
JM
393582012-05-04 Joseph Myers <joseph@codesourcery.com>
39359
39360 [BZ #14049]
39361 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39362 nonzero digits before rounding a hex value.
39363 * stdlib/tst-strtod.c (tests): Add another test.
39364
5197d9c2
AK
393652012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39366
39367 * sysdeps/s390/fpu/libm-test-ulps: Update.
39368
f0c1dedf
AJ
393692012-05-03 Andreas Jaeger <aj@suse.de>
39370
39371 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39372 does not get optimized out.
39373 (malloc_opt_barrier): New.
39374
a65ef2ae 393752012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39376 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39377
2b942cb7 39378 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39379 intermediate file deletion.
2b942cb7 39380 (generated): Add .symlist files.
a65ef2ae 39381
54b71e02
JM
393822012-05-03 Joseph Myers <joseph@codesourcery.com>
39383
39384 [BZ #13775]
39385 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39386 Redirect under this condition.
39387 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39388 [__USE_GNU] (__dprintf_chk): Not under this condition.
39389 [__USE_GNU] (__vdprintf_chk): Likewise.
39390 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39391 under this condition.
39392 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39393 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39394 [__USE_XOPEN2K8] (vdprintf): Likewise.
39395 [__USE_GNU] (__dprintf_chk): Not under this condition.
39396 [__USE_GNU] (__vdprintf_chk): Likewise.
39397 [__USE_GNU] (dprintf): Likewise.
39398 [__USE_GNU] (vdprintf): Likewise.
39399
d3dfcc41
RM
394002012-05-03 Roland McGrath <roland@hack.frob.com>
39401
39402 * elf/Makefile (common-generated): Set this instead of generated for
39403 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39404 $(all-built-dso)-derived lists.
39405
7ac30cc5
AJ
394062012-05-03 Andreas Jaeger <aj@suse.de>
39407
0c51e550
AJ
39408 * sysdeps/i386/fpu/libm-test-ulps: Update.
39409
7ac30cc5
AJ
39410 * FAQ: Removed.
39411 * FAQ.in: Likewise.
39412 * scripts/gen-FAQ.pl: Likewise.
39413 * manual/install.texi (Installation): Point to online location of
39414 FAQ.
39415 * Makefile (files-for-dist): Remove FAQ.
39416 (FAQ): Remove.
39417
d4c2917f
AM
394182012-05-02 Allan McRae <allan@archlinux.org>
39419
39420 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39421 (LDFLAGS-reldepmod5.so): Likewise.
39422 (LDFLAGS-reldep6mod1.so): Likewise.
39423 (LDFLAGS-reldep6mod4.so): Likewise.
39424 (LDFLAGS-reldep8mod3.so): Likewise.
39425 (LDFLAGS-unload4mod1.so): Likewise.
39426 (LDFLAGS-unload4mod2.so): Likewise.
39427 (LDFLAGS-tst-initorder): Likewise.
39428 (LDFLAGS-tst-initordera2.so): Likewise.
39429 (LDFLAGS-tst-initordera3.so): Likewise.
39430 (LDFLAGS-tst-initordera4.so): Likewise.
39431 (LDFLAGS-tst-initorderb2.so): Likewise.
39432 (LDFLAGS-noload): Likewise.
39433 (LDFLAGS-next): Likewise.
39434 (LDFLAGS-order2mod1.so): Likewise.
39435 (LDFLAGS-order2mod2.so): Likewise.
39436 (LDFLAGS-tst-initorder2): Likewise.
39437 (LDFLAGS-tst-initorder2a.so): Likewise.
39438 (LDFLAGS-tst-initorder2b.so): Likewise.
39439 (LDFLAGS-tst-initorder2c.so): Likewise.
39440 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39441
d77f993f
DM
394422012-05-02 David S. Miller <davem@davemloft.net>
39443
39444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39445
171a70b4
PP
394462012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39447
39448 [BZ #14055]
39449 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39450
0be196ad
AJ
394512012-05-02 Andreas Jaeger <aj@suse.de>
39452
39453 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39454 since we manipulate rounding mode.
39455 (CPPFLAGS-test-idouble.c): Likewise.
39456 (CPPFLAGS-test-ifloat.c): Likewise.
39457 (CFLAGS-test-ldouble.c): Likewise.
39458 (CFLAGS-test-double.c): Likewise.
39459 (CFLAGS-test-float.c): Likewise.
39460 (CFLAGS-test-misc.c): Likewise.
39461 (CFLAGS-test-test-fenv.c): Likewise.
39462
4f9d04aa
AZ
394632012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39464
2b942cb7
RM
39465 [BZ #2550]
39466 [BZ #2570]
39467 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39468 comparisons to determine direction to adjust input.
4f9d04aa 39469
82a79e7d
RM
394702012-05-01 Roland McGrath <roland@hack.frob.com>
39471
f5a01ca9
RM
39472 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39473 output to the target.
39474
90fe4186
RM
39475 * scripts/localplt.awk: New file.
39476 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39477 (check-localplt-CFLAGS): Variable removed.
39478 ($(all-built-dso:=.jmprel)): New static pattern rule.
39479 (generated): Add those targets.
39480 (localplt-built-dso): New variable.
39481 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39482
39483 * elf/check-localplt.c: File removed.
39484
82397ed6
RM
39485 * scripts/check-execstack.awk: New file.
39486 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39487 (check-execstack-CFLAGS): Variable removed.
39488 ($(objpfx)check-execstack.h): Target removed.
39489 ($(objpfx)execstack-default): New target.
39490 (generated): Add that instead of check-execstack.h.
39491 ($(all-built-dso:=.phdr)): New static pattern rule.
39492 (generated): Add those targets.
39493 * elf/check-execstack.c: File removed.
39494
82a79e7d
RM
39495 * scripts/check-textrel.awk: New file.
39496 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39497 (check-textrel-CFLAGS): Variable removed.
39498 (all-built-dso): Use := to define.o
39499 ($(all-built-dso:=.dyn)): New static pattern rule.
39500 (generated): Add those targets.
39501 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39502 * config.make.in (READELF): New substituted variable.
39503 * elf/check-textrel.c: File removed.
39504
62fde54f 395052012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39506
615605c9
JM
39507 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39508 allow.
39509 * conform/data/ctype.h-data [C99-based standards] (isblank):
39510 Expect function.
39511 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39512 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39514 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39515 Specify type. Require positive value.
39516 (EILSEQ): Likewise.
39517 (ERANGE): Likewise.
39518 [ISO || POSIX] (EILSEQ): Do not expect.
39519 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39520 Specify type. Require positive value.
39521 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39522 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39523 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39524 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39525 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39526 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39527 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39528 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39529 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39530 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39531 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39532 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39533 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39534 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39535 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39536 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39537 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39538 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39539 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39540 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39541 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39542 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39543 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39544 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39545 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39546 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39547 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39548 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39549 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39550 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39551 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39552 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39553 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39554 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39555 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39556 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39557 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39558 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39559 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39560 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39561 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39562 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39563 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39564 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39565 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39566 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39567 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39568 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39569 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39570 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39571 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39572 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39573 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39574 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39575 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39576 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39577 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39578 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39579 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39580 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39581 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39582 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39583 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39584 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39585 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39586 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39587 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39588 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39589 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39590 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39591 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39592 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39593 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39594 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39595 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39596 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39597 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39598 Require >= 2.
39599 (FLT_ROUNDS): Expect as macro, not constant.
39600 (FLT_MANT_DIG): Use macro-int-constant.
39601 (DBL_MANT_DIG): Likewise.
39602 (LDBL_MANT_DIG): Likewise.
39603 (FLT_DIG): Likewise.
39604 (DBL_DIG): Likewise.
39605 (LDBL_DIG): Likewise.
39606 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39607 (DBL_MIN_EXP): Likewise.
39608 (LDBL_MIN_EXP): Likewise.
39609 (FLT_MAX_EXP): Use macro-int-constant.
39610 (DBL_MAX_EXP): Likewise.
39611 (LDBL_MAX_EXP): Likewise.
39612 (FLT_MAX_10_EXP): Likewise.
39613 (DBL_MAX_10_EXP): Likewise.
39614 (LDBL_MAX_10_EXP): Likewise.
39615 (FLT_MAX): Use macro-constant.
39616 (DBL_MAX): Likewise.
39617 (LDBL_MAX): Likewise.
39618 (FLT_EPSILON): Use macro-constant. Give upper bound.
39619 (DBL_EPSILON): Likewise.
39620 (LDBL_EPSILON): Likewise.
39621 (FLT_MIN): Likewise.
39622 (DBL_MIN): Likewise.
39623 (LDBL_MIN): Likewise.
39624 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39625 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39626 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39627 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39628 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39629 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39630 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39631 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39632 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39633 [ISO11] (FLT_TRUE_MIN): Likewise.
39634 [ISO11] (LDBL_TRUE_MIN): Likewise.
39635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39636 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39637 (SCHAR_MIN): Use macro-int-constant. Specify type.
39638 (SCHAR_MAX): Likewise.
39639 (UCHAR_MAX): Likewise.
39640 (CHAR_MIN): Likewise.
39641 (CHAR_MAX): Likewise.
39642 (MB_LEN_MAX): Use macro-int-constant.
39643 (SHRT_MIN): Use macro-int-constant. Specify type.
39644 (SHRT_MAX): Likewise.
39645 (USHRT_MAX): Likewise.
39646 (INT_MAX): Likewise.
39647 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39648 bound negative.
39649 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39650 bound with "U".
39651 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39652 bound with "L".
39653 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39654 bound negative. Suffix upper bound with "L".
39655 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39656 bound with "UL".
39657 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39658 Specify type.
39659 [C99-based standards] (LLONG_MAX): Likewise.
39660 [C99-based standards] (ULLONG_MAX): Likewise.
39661 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39662 == 0.
39663 [ISO11] (max_align_t): Require type.
39664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39665
c9140a62
JM
39666 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39667 from $CFLAGS, without defining away __attribute__ calls.
39668 (checknamespace): Use $CFLAGS_namespace.
39669
9af0bf29
JM
39670 * conform/conformtest.pl (@keywords): Only include C99 keywords
39671 for standards based on C99 or C11.
39672
343222a2
JM
39673 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39674 Disable tests.
39675 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39676 UNIX98]: Likewise.
39677
661f8cf0
JM
39678 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39679 usability of symbols in #if.
39680
ee74b9cb
JM
39681 * conform/conformtest.pl: If macro or constant types start
39682 "promoted:", expect the symbol to be of the following type
39683 promoted by the integer promotions.
62fde54f 39684
aafc49b3
JM
39685 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39686 in one place. Also handle "macro-constant".
39687
fefdf574
JM
39688 * conform/conformtest.pl: Only accept expected macro values with
39689 "==". Parse all "macro" lines in one place.
39690 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39691
f2d922fe
JM
39692 * conform/conformtest.pl: Handle braced types on "constant" lines
39693 instead of handling "typed-constant".
39694 * conform/data/signal.h-data: Use "constant" instead of
39695 "typed-constant".
39696
d22956c9
JM
39697 * conform/conformtest.pl: Handle "optional-" at start of lines in
39698 one place rather than duplicating several cases. Handle each
39699 format of "macro" line with initial "optional-".
39700
028e2e38
JM
39701 * conform/conformtest.pl: Only accept expected constant or
39702 optional-constant values with "==". Parse all "constant" lines in
39703 one place. Parse all "optional-constant" lines in one place.
39704 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39705 * conform/data/fmtmsg.h-data: Likewise.
39706 * conform/data/netinet/in.h-data: Likewise.
39707 * conform/data/tar.h-data: Likewise.
39708 * conform/data/limits.h-data: Use "==" form on "constant" and
39709 "optional-constant" lines.
39710
1b8f2850
JM
39711 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39712 Use -std=c99 for XOPEN2K.
39713 (@knownproblems): Remove.
39714 (newtoken): Don't check %isknown.
39715
a05a144b
JM
39716 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39717 Do not expect macro.
39718 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39719 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39720 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39721 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39722 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39723 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39724 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39725 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39726 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39727 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39728 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39729 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39730 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39731 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39732 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39733 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39734 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39735 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39736 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39737 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39738 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39739 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39740 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39741 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39742 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39743 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39744 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39745 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39746 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39747 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39748 [XPG3] (acosh): Likewise.
39749 [XPG3] (asinh): Likewise.
39750 [XPG3] (atanh): Likewise.
39751 [XPG3] (cbrt): Likewise.
39752 [XPG3] (expm1): Likewise.
39753 [XPG3] (ilogb): Likewise.
39754 [XPG3] (log1p): Likewise.
39755 [XPG3] (logb): Likewise.
39756 [XPG3] (nextafter): Likewise.
39757 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39758 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39759 [XPG3] (remainder): Likewise.
39760 [XPG3] (rint): Likewise.
39761 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39762 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39763 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39764 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39765 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39766 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39767 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39768 [UNIX98 || XOPEN2K] (scalb): Expect.
39769 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39770 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39771 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39772 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39773 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39774 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39775 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39776 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39777 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39778 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39779 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39780 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39781 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39782 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39783 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39784 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39785 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39786 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39787 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39788 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39789 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39790 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39791 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39792 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39793 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39794 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39795 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39796 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39797 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39798 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39799 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39800 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39801 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39802 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39803 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39804 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39805 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39806 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39807 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39808 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39809 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39810 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39811 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39812 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39813 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39814 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39815 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39816 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39817 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39818 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39819 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39820 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39821 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39822 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39823 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39824 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39825 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39826 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39827 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39828 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39829 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39830 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39831 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39832 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39833 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39834 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39835 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39836 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39837 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39838 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39839 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39840 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39841 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39842 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39843 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39844 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39845 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39846 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39847 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39848 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39849 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39850 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39851 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39852 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39853 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39854 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39855 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39856 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39857 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39858 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39859 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39860 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39861 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39862 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39863 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39864 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39865 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39866 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39868 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39869 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39870 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39871 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39872 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39873 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39874 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39875 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39877 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39878 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39879 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39880 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39881 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39882 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39883 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39884 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39885 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39886 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39887 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39888 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39889 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39890 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39891 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39892 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39893 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39894 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39895 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39896 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39897 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39898 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39899 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39900 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39901 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39902 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39903 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39904 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39905 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39906
73c5ebe3
JM
39907 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39908 _XOPEN_SOURCE_EXTENDED for XPG4.
39909
39c33b6c
JM
39910 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39911
62fde54f
JM
39912 * Makeconfig (localtime): Remove variable.
39913 (inst_localtime-file): Likewise.
39914
0741d64c
AS
399152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39916
39917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39918 Update.
39919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39920 Update.
39921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39922 Update.
39923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39924 Update.
39925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39926 Update.
39927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39928 Update.
39929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39930 Update.
39931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39932 Update.
39933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39934 Update.
39935
7cb029ee
JM
399362012-05-01 Joseph Myers <joseph@codesourcery.com>
39937
39938 [BZ #2550]
39939 [BZ #2570]
39940 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39941 comparisons to determine direction to adjust input.
39942 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39943 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39944 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39945 Likewise.
39946 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39947 Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39949 Likewise.
39950 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39951 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39952 Likewise.
39953 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39954 Likewise.
39955 * math/libm-test.inc (nexttoward_test): Add more tests.
39956
412bd966
AS
399572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39958
39959 [BZ #14040]
39960 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39961 in version GLIBC_2.1, not GLIBC_2.0.
39962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39963 Likewise.
39964
9568c0c2
JM
399652012-04-30 Joseph Myers <joseph@codesourcery.com>
39966
adfbc8ac
JM
39967 [BZ #13942]
39968 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39969 (1 - x) * (1 + x).
39970 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39971 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39972 * math/libm-test.inc (acos_test): Add more tests.
39973 (asin_test): Likewise.
39974 * sysdeps/i386/fpu/libm-test-ulps: Update.
39975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39976
5ba3cc69
JM
39977 [BZ #14034]
39978 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39979 of square root.
39980 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39981 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39982 * math/libm-test.inc (acos_test_tonearest): New function.
39983 (acos_test_towardzero): Likewise.
39984 (acos_test_downward): Likewise.
39985 (acos_test_upward): Likewise.
39986 (asin_test_tonearest): Likewise.
39987 (asin_test_towardzero): Likewise.
39988 (asin_test_downward): Likewise.
39989 (asin_test_upward): Likewise.
39990 (main): Call the new functions.
39991 * sysdeps/i386/fpu/libm-test-ulps: Update.
39992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39993
9568c0c2
JM
39994 [BZ #13884]
39995 [BZ #13924]
39996 * math/e_exp10.c: Include <float.h>.
39997 (__ieee754_exp10): Handle underflow here rather than multiplying
39998 large negative argument by M_LN10.
39999 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40000 of __ieee754_expf.
40001 * math/e_exp10l.c: Include <float.h>.
40002 (__ieee754_exp10l): Handle underflow here rather than multiplying
40003 large negative argument by M_LN10l.
40004 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40005 spurious overflow exception on underflow.
40006
5ac3ea17
MP
400072012-04-29 Marek Polacek <polacek@redhat.com>
40008
40009 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40010 (__fortify_function): New macro.
40011 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40012 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40013 __extern_always_inline.
40014 * libio/bits/stdio2.h: Likewise.
40015 * libio/bits/stdio.h: Likewise.
40016 * string/string.h: Likewise.
40017 * string/bits/string3.h: Likewise.
40018 * include/stdio.h: Likewise.
40019 * stdlib/bits/stdlib.h: Likewise.
40020 * stdlib/stdlib.h: Likewise.
40021 * rt/bits/mqueue2.h: Likewise.
40022 * rt/mqueue.h: Likewise.
40023 * posix/bits/unistd.h: Likewise.
40024 * posix/unistd.h: Likewise.
40025 * io/bits/poll2.h: Likewise.
40026 * io/bits/fcntl2.h: Likewise.
40027 * io/fcntl.h: Likewise.
40028 * io/sys/poll.h: Likewise.
40029 * misc/bits/syslog.h: Likewise.
40030 * misc/bits/syslog-ldbl.h: Likewise.
40031 * misc/sys/syslog.h: Likewise.
40032 * socket/bits/socket2.h: Likewise.
40033 * socket/sys/socket.h: Likewise.
40034 * debug/tst-chk1.c: Likewise.
40035 * wcsmbs/bits/wchar2.h: Likewise.
40036 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40037 * wcsmbs/wchar.h: Likewise.
40038
ecf0ebfb
AJ
400392012-04-29 Andreas Jaeger <aj@suse.de>
40040
40041 * Makerules (tests): Remove enable-check-abi protection.
40042 (check-abi-warn): Remove.
40043 (check-abi-%): Remove check-abi-warn usage.
40044
40045 * configure.in: Remove check-abi configure option.
40046 * configure: Regenerated.
40047 * config.make.in (enable-check-abi): Remove.
40048
6d5c57fa
AS
400492012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40050
24c5d07e 40051 [BZ #14033]
ded5180a
AS
40052 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40053 double functions to double *_finite functions.
40054
7e0d315d
AS
40055 [BZ #13941]
40056 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40057 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40058 LDBL_MIN_EXP.
40059 * stdio-common/Makefile (tests): Add tst-sprintf3.
40060 * stdio-common/tst-sprintf3.c: New file.
40061
6d5c57fa
AS
40062 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40063 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40064
0749ff8b
JM
400652012-04-28 Joseph Myers <joseph@codesourcery.com>
40066
40067 * conform/conformtest.pl: Remove duplicate typed-constant
40068 handling.
40069
8dbd5d7b
DM
400702012-04-28 David S. Miller <davem@davemloft.net>
40071
40072 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40073 (check-abi-%): Remove AWK script prerequisite and explicit
40074 abilist directory.
40075 (check-abi): Rewrite to just diff the symlist with the abilist.
40076 (config-tls, config-abi-config): Delete, no longer used.
40077 (update-abi-%): Remove AWK script and explicit abilist directory.
40078 (update-abi): Rewrite to simply compare and conditionally copy the
40079 symlist and the sysdep abilist file. Remove update-abi-config
40080 checks.
40081 * abilist/ld.abilist: Remove.
40082 * abilist/libBrokenLocale.abilist: Remove.
40083 * abilist/libanl.abilist: Remove.
40084 * abilist/libcrypt.abilist: Remove.
40085 * abilist/libdl.abilist: Remove.
40086 * abilist/librt.abilist: Remove.
40087 * abilist/libthread_db.abilist: Remove.
40088 * abilist/libutil.abilist: Remove.
40089 * scripts/extract-abilist.awk: Remove.
40090 * scripts/merge-abilist.awk: Remove.
40091 * sysdeps/generic/libcidn.abilist: New file.
40092 * sysdeps/generic/libnss_compat.abilist: New file.
40093 * sysdeps/generic/libnss_db.abilist: New file.
40094 * sysdeps/generic/libnss_dns.abilist: New file.
40095 * sysdeps/generic/libnss_files.abilist: New file.
40096 * sysdeps/generic/libnss_hesiod.abilist: New file.
40097 * sysdeps/generic/libnss_nis.abilist: New file.
40098 * sysdeps/generic/libnss_nisplus.abilist: New file.
40099 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40100 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40101 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40102 file.
40103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40104 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40105 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40106 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40107 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40108 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40109 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40110 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40111 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40112 file.
40113 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40114 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40115 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40116 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40117 file.
40118 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40119 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40120 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40121 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40122 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40123 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40124 file.
40125 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40126 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40127 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40128 file.
40129 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40131 New file.
40132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40133 New file.
40134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40135 New file.
40136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40137 New file.
40138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40139 New file.
40140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40141 New file.
40142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40143 New file.
40144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40145 New file.
40146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40147 New file.
40148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40149 New file.
40150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40151 New file.
40152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40153 New file.
40154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40155 New file.
40156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40157 file.
40158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40159 New file.
40160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40161 New file.
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40163 file.
40164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40165 New file.
40166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40167 New file.
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40169 file.
40170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40171 New file.
40172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40173 New file.
40174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40175 New file.
40176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40177 New file.
40178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40179 New file.
40180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40181 New file.
40182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40184 file.
40185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40186 New file.
40187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40188 file.
40189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40190 file.
40191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40192 file.
40193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40194 file.
40195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40196 file.
40197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40198 New file.
40199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40200 file.
40201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40202 file.
40203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40204 New file.
40205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40206 file.
40207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40209 file.
40210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40211 New file.
40212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40213 file.
40214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40215 file.
40216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40217 file.
40218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40219 file.
40220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40221 file.
40222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40223 New file.
40224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40225 file.
40226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40227 file.
40228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40229 New file.
40230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40231 file.
40232 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40233 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40234 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40235 file.
40236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40237 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40238 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40239 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40240 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40241 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40242 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40243 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40244 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40245 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40248 file.
40249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40250 New file.
40251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40252 file.
40253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40254 file.
40255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40256 file.
40257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40258 file.
40259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40260 file.
40261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40262 New file.
40263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40264 New file.
40265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40266 file.
40267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40268 New file.
40269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40270 file.
40271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40273 file.
40274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40275 New file.
40276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40277 file.
40278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40279 file.
40280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40281 file.
40282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40283 file.
40284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40285 file.
40286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40287 New file.
40288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40289 New file.
40290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40291 file.
40292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40293 New file.
40294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40295 file.
40296
41d73a1b
JM
402972012-04-28 Joseph Myers <joseph@codesourcery.com>
40298
40299 * conform/conformtest.pl: Fix typo in handling typed-constant from
40300 allow-header.
40301
28aeeda4
JM
403022012-04-27 Joseph Myers <joseph@codesourcery.com>
40303
adae8f5e
JM
40304 * README: Cut down references to pre-2.6 Linux kernels and
40305 Linuxthreads. Update lists of configurations in libc and ports
40306 and sort alphabetically. Say "or newer" with Linux kernel version
40307 requirements.
40308
28aeeda4
JM
40309 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40310
a462cb63
RA
403112012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40312
40313 [BZ #887]
40314 * math/libm-test.inc (logb_test_downward): New test to expose
40315 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40316 rounding mode.
40317
6ad3493e
JM
403182012-04-27 Joseph Myers <joseph@codesourcery.com>
40319
40320 [BZ #14027]
40321 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40322 to be done.
40323 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40324 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40325
2ce4f015
JM
403262012-04-26 Joseph Myers <joseph@codesourcery.com>
40327
5aeb141a
JM
40328 * sysdeps/unix/i386/brk.S: Remove file.
40329 * sysdeps/unix/i386/dl-brk.S: Likewise.
40330 * sysdeps/unix/i386/pipe.S: Likewise.
40331 * sysdeps/unix/i386/sigreturn.S: Likewise.
40332 * sysdeps/unix/i386/syscall.S: Likewise.
40333 * sysdeps/unix/i386/vfork.S: Likewise.
40334 * sysdeps/unix/i386/wait.S: Likewise.
40335
7143acae
JM
40336 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40337 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40338
2ce4f015
JM
40339 * configure.in (arm*-none*): Do not allow without
40340 --enable-hacker-mode.
40341 (netbsd*): Remove case setting base_os.
40342 (386bsd*): Likewise.
40343 (freebsd*): Likewise.
40344 (bsdi*): Likewise.
40345 (osf*): Likewise.
40346 (sunos*): Likewise.
40347 (ultrix*): Likewise.
40348 (newsos*): Likewise.
40349 (dynix*): Likewise.
40350 (*bsd*): Likewise.
40351 (sysv*): Likewise.
40352 (isc*): Likewise.
40353 (esix*): Likewise.
40354 (sco*): Likewise.
40355 (minix*): Likewise.
40356 (irix4*): Likewise.
40357 (irix6*): Likewise.
40358 (solaris[2-9]*): Likewise.
40359 (none): Likewise.
40360 * configure: Regenerated.
40361
0ac229c8
AZ
403622012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40363
40364 [BZ #11521]
40365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40366 overflow or cancellation in calculating denominator.
40367 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40369 down expression to avoid unexpected rounding in newer GCCs.
40370 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40371
33f244f4
DM
403722012-04-26 David S. Miller <davem@davemloft.net>
40373
40374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40375 long-double compat symbols.
40376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40389
cfa1f3e8
DM
403902012-04-25 David S. Miller <davem@davemloft.net>
40391
40392 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40393 HWCAP_* values only after the memory barriers have been defined.
40394 (atomic_full_barrier): Define.
40395 (atomic_read_barrier): Define.
40396 (atomic_write_barrier): Define.
40397
6e236b92
SP
403982012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40399
40400 * shlib-versions: Add libgcc_s version information.
40401 * sysdeps/generic/libgcc_s.h: Remove.
40402 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40403 libgcc_s.h.
40404 * sysdeps/gnu/unwind-resume.c: Likewise.
40405 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40406
aab39a09
DM
404072012-04-25 David S. Miller <davem@davemloft.net>
40408
40409 * sysdeps/unix/sparc/brk.S: Delete.
40410 * sysdeps/unix/sparc/dl-brk.S: Delete.
40411 * sysdeps/unix/sparc/pipe.S: Delete.
40412 * sysdeps/unix/sparc/sysdep.S: Delete.
40413 * sysdeps/unix/sparc/sysdep.h: Delete.
40414 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40415 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40416 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40417 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40418 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40419 (JUMPTARGET): Remove.
40420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40421 sysdeps/unix/sparc/sysdep.h
40422 (ENTRY, END): Remove.
40423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40424
a3cc4f48
JM
404252012-04-25 Joseph Myers <joseph@codesourcery.com>
40426
2ed8cda2
JM
40427 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40428 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40429 -DIS_IN_build.
40430
35d76d59
JM
40431 * timezone/README: Update upstream location and email address for
40432 tzcode and tzdata.
40433 * timezone/zdump.c: Update from tzcode 2012b.
40434 * timezone/zic.c: Likewise.
40435
a3cc4f48
JM
40436 * configure.in (libc_cv_as_needed): Remove test.
40437 * configure: Regenerated.
40438 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40439 conditional definition.
40440 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40441 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40442 * config.make.in (have-as-needed): Remove variable.
40443
ceab42c3
SP
404442012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40445 Paul Pluzhnikov <ppluzhnikov@google.com>
40446
40447 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40448 strings correctly.
40449
3ce2865f
CLT
404502012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40451
40452 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40453 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40454 * sysdeps/sh/strlen.S: Likewise.
40455
f37e0d68
JM
404562012-04-24 Joseph Myers <joseph@codesourcery.com>
40457
ae186e9a
JM
40458 * sysdeps/unix/fork.S: Remove file.
40459 * sysdeps/unix/i386/fork.S: Likewise.
40460 * sysdeps/unix/sparc/fork.S: Likewise.
40461
b96914af
JM
40462 * sysdeps/unix/system.c: Remove file.
40463 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40464
f37e0d68
JM
40465 * sysdeps/unix/getegid.S: Remove file.
40466 * sysdeps/unix/geteuid.S: Likewise.
40467
87ef29ca
RM
404682012-04-24 Roland McGrath <roland@hack.frob.com>
40469
83bcd236
RM
40470 * scripts/check-localplt.awk: New file.
40471 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40472 of diff.
40473 * scripts/data/localplt-generic.data: Add a comment.
40474
87ef29ca
RM
40475 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40476 NODE when __dir_mkfile failed.
40477 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40478 Reported by Ludovic Courtès <ludo@gnu.org>.
40479
e5a6e567
AJ
404802012-04-24 Andreas Jaeger <aj@suse.de>
40481
40482 * Makerules (common-clean): Also remove gen-as-const-headers
40483 files.
40484
c1820385
JM
404852012-04-24 Joseph Myers <joseph@codesourcery.com>
40486
40487 * Makerules (native-compile): Do not change working directory for
40488 build. Use $(OUTPUT_OPTION) in command.
40489 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40490
94e02fc4
AZ
404912012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40492
40493 [BZ #13886]
40494 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40495 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40496 * math/libm-test.inc (floor_test): Add more tests.
40497 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40498
3a533ca3
JM
404992012-04-24 Joseph Myers <joseph@codesourcery.com>
40500
940ab4b3
JM
40501 * sysdeps/unix/getdents.c: Remove file.
40502 * sysdeps/unix/sysv/getdents.c: Likewise.
40503 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40504
90e037bd
JM
40505 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40506 sysdeps/unix/mman/syscalls.list.
40507 (mmap): Likewise.
40508 (mprotect): Likewise.
40509 (msync): Likewise.
40510 (munmap): Likewise.
40511 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40512 * sysdeps/unix/mman/syscalls.list: Remove.
40513 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40514
3a533ca3
JM
40515 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40516 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40517 * configure: Regenerated.
40518 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40519 $(libgcc_s_suffix).
40520 * config.make.in (libgcc_s_suffix): Remove variable.
40521
1ad743de
JM
405222012-04-23 Joseph Myers <joseph@codesourcery.com>
40523
4ad451e2
JM
40524 * sysdeps/unix/sysv/gethostname.c: Move to ...
40525 * sysdeps/posix/gethostname.c: ... here.
40526
5e37ce39
JM
40527 * sysdeps/unix/execve.S: Remove file.
40528
1ad743de
JM
40529 * sysdeps/unix/_exit.S: Remove file.
40530
4e681b5b
AJ
405312012-04-23 Andreas Jaeger <aj@suse.de>
40532
40533 [BZ #13739]
40534 * manual/Makefile: Remove make dist support, there's no
40535 need for a stand-alone documentation tar ball.
40536 (TEXI2DVI): Define always, it's not in Makeconfig.
40537 (dist): Removed.
40538 (tar-it): Removed.
40539 (edition): Removed.
40540 (glibc-doc-$(edition).tar): Removed
40541 (%.Z): Removed.
40542 (%.gz): Removed.
40543 (%.uu): Removed.
40544 (ETAGS): Remove, it's in Makeconfig.
40545 (move-if-change): Remove, it's in Makeconfig.
40546
38686a03 405472012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40548
40549 [BZ #13970]
40550 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40551 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40552 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40553 (strtod_l, strtof_l, strtold_l): Remove __wur.
40554 It is not necessarily an error to ignore strtol's return value.
40555 One can reliably look at the stored endptr to decide whether
40556 the number had valid syntax.
40557
7c0616fa
AJ
405582012-04-21 Andreas Jaeger <aj@suse.de>
40559
803cb6b7 40560 [BZ #13739]
7c0616fa
AJ
40561 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40562
b0fe253f
JM
405632012-04-21 Joseph Myers <joseph@codesourcery.com>
40564
40565 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40566 * sysdeps/unix/sysv/Versions: Remove file.
40567
8280f22d
MT
405682012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40569
40570 [BZ #13927]
40571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40572
75ce411f 405732012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40574
40575 [BZ #7064]
40576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40577 version from __vm86.
40578
097d59fa
JM
405792012-04-20 Joseph Myers <joseph@codesourcery.com>
40580
a90f3bcb
JM
40581 * sysdeps/unix/common/lxstat.c: Remove file.
40582 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40583
edc7ea78
JM
40584 * sysdeps/unix/sysv/Makefile: Remove file.
40585
cb78c221
JM
40586 * sysdeps/unix/sysv/direct.h: Remove file.
40587
efa6a45f
JM
40588 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40589 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40590 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40591 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40592 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40593 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40594 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40595
9c9f2d0c
JM
40596 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40597
4541c83b
JM
40598 * sysdeps/unix/xmknod.c: Remove file.
40599 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40600
f5d153a0
JM
40601 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40602
aa746595
JM
40603 * sysdeps/unix/sysv/i386/time.S: Remove file.
40604
cce5905e
JM
40605 * sysdeps/unix/fxstat.c: Remove file.
40606 * sysdeps/unix/xstat.c: Likewise.
40607 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40608
37fa3841
JM
40609 * sysdeps/unix/sysv/sigaction.c: Remove file.
40610
ff1962a3
JM
40611 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40612 (sysdep_headers): Remove variable.
40613 [termio.h not in sysdep_headers] (generated): Likewise.
40614 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40615 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40616 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40617 * sysdeps/unix/sysv/tcflow.c: Likewise.
40618 * sysdeps/unix/sysv/tcflush.c: Likewise.
40619 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40620 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40621 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40622 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40623 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40624
e7740d31
JM
40625 * sysdeps/unix/siglist.c: Remove file.
40626
ee06f18b
JM
40627 * sysdeps/unix/getppid.S: Remove file.
40628
097d59fa
JM
40629 * sysdeps/unix/mkdir.c: Remove file.
40630 * sysdeps/unix/rmdir.c: Likewise.
40631
ff3d51ec
AS
406322012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40633
40634 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40635 ERR_MAX value.
40636 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40637 errlist-compat value.
40638
50f81fd7
DM
406392012-04-18 David S. Miller <davem@davemloft.net>
40640
40641 * sysdeps/generic/memcopy.h (reg_char): Delete.
40642 * debug/strcat_chk.c: Use char, not reg_char.
40643 * debug/strcpy_chk.c: Likewise.
40644 * debug/strncat_chk.c: Likewise.
40645 * debug/strncpy_chk.c: Likewise.
40646 * string/memchr.c: Likewise.
40647 * string/memrchr.c: Likewise.
40648 * string/rawmemchr.c: Likewise.
40649 * string/strcat.c: Likewise.
40650 * string/strchr.c: Likewise.
40651 * string/strchrnul.c: Likewise.
40652 * string/strcmp.c: Likewise.
40653 * string/strcpy.c: Likewise.
40654 * string/strncat.c: Likewise.
40655 * string/strncmp.c: Likewise.
40656 * string/strncpy.c: Likewise.
40657
8ff41c46
WS
406582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40659
40660 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40661 __builtin_memcopy is called when src and dest ranges are known to not
40662 overlap.
40663
6b652f46
WS
406642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40665
40666 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40667 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40668 fwd_align_merge macro call.
40669 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40670 bwd_align_merge macro call.
40671 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40672
b282631e
WS
406732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40674
40675 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40676 bwd_align_merge macros.
40677 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40678 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40679 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40680
95aa737c
DM
406812012-04-18 David S. Miller <davem@davemloft.net>
40682
40683 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40684
7a99a614
AJ
406852012-04-18 Andreas Jaeger <aj@suse.de>
40686
40687 [BZ# 6794]
40688 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40689 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40690 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40691
40692 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40693 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40694 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40695
40696 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40697 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40698 Adjust for changed ldbl-128 files.
40699
40700 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40701 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40702 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40703
e5270c23
DM
407042012-04-17 David S. Miller <davem@davemloft.net>
40705
40706 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40707
fb5e92c9
AS
407082012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40709
40710 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40711 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40712 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40713 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40714 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40715 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40716
76da7265
AZ
407172012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40718
40719 [BZ #6794]
40720 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40721 * math/libm-test.inc: Add ilogb errno and exception tests.
40722 * math/w_ilogb.c: New file: ilogb wrapper.
40723 * math/w_ilogbf.c: New file: ilogbf wrapper.
40724 * math/w_ilogbl.c: New file: ilogbl wrapper.
40725 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40726 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40727 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40728 exception being thrown with 0.0 as argument.
40729 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40730 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40731 exception being thrown with 0.0 as argument.
40732 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40733 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40734 exception being thrown with 0.0 as argument.
40735 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40736 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40737 exception being thrown with 0.0 as argument.
40738 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40739 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40741 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40743 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40744 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40745 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40746 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40747
0396e69d
PB
407482012-04-17 Petr Baudis <pasky@ucw.cz>
40749
40750 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40751 with altivec.
40752
750b5926
MP
407532012-04-16 Marek Polacek <polacek@redhat.com>
40754
40755 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40756
751728a1
MP
407572012-04-16 Marek Polacek <polacek@redhat.com>
40758
40759 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40760 operands of fdivp instruction.
40761
34a27407
L
407622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40763
40764 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40765 * elf/tst-auditmod3b.c: Likewise.
40766 * elf/tst-auditmod4b.c: Likewise.
40767 * elf/tst-auditmod5b.c: Likewise.
40768 * elf/tst-auditmod6b.c: Likewise.
40769 * elf/tst-auditmod6c.c: Likewise.
40770 * elf/tst-auditmod7b.c: Likewise.
40771 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40772 * sysdeps/x86_64/preconfigure.in: Likewise.
40773 * sysdeps/x86_64/preconfigure: Regenerated.
40774
7e73e17d
L
407752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40776
40777 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40778 __ILP32__.
40779
c7a6ab72
AB
407802012-04-13 Antoine Balestrat <merkil33@gmail.com>
40781
40782 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40783 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40784
a9e8e0e0
CL
407852012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40786
40787 [BZ #13973]
40788 * locale/iso-639.def: Fix gl language name. Spotted by
40789 Yaron Shahrabani.
40790
ec98af7d
RM
407912012-04-12 Roland McGrath <roland@hack.frob.com>
40792
40793 [BZ #2074]
40794 * libio/libio.h (__io_write_fn): Update comment.
40795
247c3ede
PB
407962012-04-12 Petr Baudis <pasky@ucw.cz>
40797
40798 [BZ #2074]
40799 * stdio.texi (Hook Functions): The user provided writer function
40800 is not allowed to return -1.
40801
55939d6d
DM
408022012-04-11 David S. Miller <davem@davemloft.net>
40803
40804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40805
90020f5a
MF
408062012-04-11 Mike Frysinger <vapier@gentoo.org>
40807
40808 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40809 Add a leading slash to rtkaio.
40810
288f9098
JM
408112012-04-11 Jim Meyering <meyering@redhat.com>
40812
90020f5a
MF
40813 [BZ #11959]
40814 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40815 It is not necessarily an error to ignore fwrite's return
40816 value. One can reliably use ferror to test for errors after
40817 the fact.
288f9098 40818
4be2b570
L
408192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40820
40821 * bits/types.h (__snseconds_t): New type.
40822 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40823
40824 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40826 (__SNSECONDS_T_TYPE): Likewise.
40827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40828 (__SNSECONDS_T_TYPE): Likewise.
40829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40830 (__SNSECONDS_T_TYPE): Likewise.
40831
288f9098 408322012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40833
40834 [BZ #2636]
40835 * manual/time.texi (Processor Time): Return type of times is
40836 elapsed real time since an arbitrary point in the past.
40837 (CPU Time): Move CLK_TCK from here...
40838 (Processor Time): ...to here. Correct description.
40839 * manual/conf.texi (Constants for Sysconf): Correct description of
40840 _SC_CLK_TCK.
40841
d7dd4413
DM
408422012-04-10 David S. Miller <davem@davemloft.net>
40843
40844 [BZ #13967]
40845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40846 where the is a gap between DT_REL(A) and DT_JMPREL.
40847
b46068fc
L
408482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40849
40850 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40851 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40852 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40853
73d65cc3
SP
408542012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40855
40856 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40857 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40858 (dl_main): Handle --inhibit-cache.
40859 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40860 _dl_inhibit_cache.
40861 * elf/dl-load.c (_dl_map_object): Use it.
40862 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40863
bcc8d661
JM
408642012-04-09 Joseph Myers <joseph@codesourcery.com>
40865
8f9a2fae
JM
40866 [BZ #13872]
40867 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40868 (__ieee754_powl): Saturate large exponents rather than testing for
40869 overflow of y*log2(x).
40870 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40871 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40872 exceptions.
40873
bcc8d661
JM
40874 [BZ #11521]
40875 * math/s_ctan.c: Include <float.h>.
40876 (__ctan): Avoid internal overflow or cancellation in calculating
40877 denominator.
40878 * math/s_ctanf.c: Likewise.
40879 * math/s_ctanl.c: Likewise.
40880 * math/s_ctanh.c: Likewise.
40881 * math/s_ctanhf.c: Likewise.
40882 * math/s_ctanhl.c: Likewise.
40883 * math/libm-test.inc (ctan_test): Add more tests.
40884 (ctanh_test): Likewise.
40885 * sysdeps/i386/fpu/libm-test-ulps: Update.
40886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40887
823fbbb4
AJ
408882012-04-09 Andreas Jaeger <aj@suse.de>
40889
03879793
AJ
40890 [BZ #6894]
40891 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40892 is an optional BSD extension.
40893
823fbbb4
AJ
40894 [BZ #10254]
40895 * manual/stdio.texi (Opening Streams): Document additional fopen
40896 parameters.
40897
8de131cb
RM
408982012-04-09 Roland McGrath <roland@hack.frob.com>
40899
40900 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40901 %eax without telling the compiler.
40902
c0ed9d7d
CD
409032012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40904
40905 [BZ # 13963]
40906 * manual/install.texi: Use sourceware.org.
40907
c483f6b4
JM
409082012-04-09 Joseph Myers <joseph@codesourcery.com>
40909
d7dd9453
JM
40910 [BZ #13873]
40911 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40912 (__ieee754_pow): Generate overflow and underflow using huge*huge
40913 and tiny*tiny rather than just returning constant infinity or zero
40914 for large exponents.
40915 * math/libm-test.inc (pow_test): Require overflow exceptions for
40916 applicable cases of large exponents.
40917
c483f6b4
JM
40918 [BZ #706]
40919 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40920 (__ieee754_pow): Use iterative multiplication algorithm only for
40921 integer exponents with absolute value below 1024. Check for odd
40922 integer exponents when using algorithm for real exponents.
40923 * math/libm-test.inc (pow_test): Add more tests.
40924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40925
d2de7579
JM
409262012-04-08 Joseph Myers <joseph@codesourcery.com>
40927
40928 [BZ #13705]
40929 * math/libm-test.inc (exp_test): Do not allow overflow exception
40930 on underflow test.
40931
f77f1232
AJ
409322012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40933
40934 [BZ #13705]
40935 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40936 instead of __kernel_standard_f.
40937
3884932b
MF
409382012-04-08 Mike Frysinger <vapier@gentoo.org>
40939
40940 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40941 * sysdeps/x86_64/memset_chk.S: Likewise.
40942
54472e9c
AJ
409432012-04-08 Andreas Jaeger <aj@suse.de>
40944
6ab0fbfc
AJ
40945 [BZ #10153]
40946 * manual/startup.texi (Environment Access): Describe return value
40947 for putenv and setenv.
40948
61efba8c
AJ
40949 [BZ #6895]
40950 * manual/filesys.texi (Directory Entries): Add description for
40951 DT_LNK.
40952
95c3f29a
AJ
40953 [BZ #6890]
40954 * manual/filesys.texi (Directory Entries): Clarify that it's file
40955 system not operating system in the description of DT_UNKNOWN.
40956
54472e9c
AJ
40957 [BZ #6578]
40958 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40959
624254b1
SC
409602012-04-08 Stephen Compall <s11@member.fsf.org>
40961
40962 [BZ #6649]
40963 * manual/llio.texi (Opening and Closing Files): Add cross
40964 reference to explain mode argument.
40965
1e4920e0
MF
409662012-04-07 Mike Frysinger <vapier@gentoo.org>
40967
40968 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40969 * sysdeps/x86_64/memset_chk.S: Likewise.
40970
5ed848f3
DM
409712012-04-07 David S. Miller <davem@davemloft.net>
40972
40973 * elf/elf.h (R_SPARC_WDISP10): Define.
40974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40975 R_SPARC_SIZE32.
40976 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40977 R_SPARC_SIZE64 and R_SPARC_H34.
40978
96154cd8
CD
409792012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40980
40981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40982 conditions and remove no longer applicable assertion.
40983
9904dc47
L
409842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40985
40986 * bits/byteswap.h: Include <features.h>.
40987 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40988 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40989
f8887d0a
L
409902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40991
40992 * bits/byteswap.h (__bswap_16): Removed.
40993 Include <bits/byteswap-16.h> to get __bswap_16.
40994 * sysdeps/i386/bits/byteswap.h: Likewise.
40995 * sysdeps/s390/bits/byteswap.h: Likewise.
40996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40997 * bits/byteswap-16.h: New file.
40998 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40999 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41000 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41001 * string/Makefile (headers): Add bits/byteswap-16.h.
41002
62470f60
PP
410032012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41004
41005 [BZ #13895]
41006 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41007 extra indirection.
41008 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41009 * nss/tst-nss-static.c: New.
41010
4dad7bab
RM
410112012-04-06 Robert Millan <rmh@gnu.org>
41012
41013 [BZ #6486]
41014 * manual/llio.texi (File Position Primitive): lseek
41015 refers to WHENCE when it really means OFFSET.
41016
e9142a17
AJ
410172012-04-06 Andreas Jaeger <aj@suse.de>
41018
2c040eff
AJ
41019 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41020 strncmp declarations.
41021
e9142a17
AJ
41022 * abilist/libc.abilist: Add __poll and __ppoll.
41023
ff9f1c5f
DM
410242012-04-05 David S. Miller <davem@davemloft.net>
41025
dcd2ae90
DM
41026 * scripts/check-local-headers.sh: Accept a host triplet in the
41027 path matched by the exclude regexp.
41028
993eb054
DM
41029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41030 definition.
41031 * sysdeps/powerpc/powerpc32/dl-machine.h
41032 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41033 * sysdeps/s390/s390-32/dl-machine.h
41034 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41035 * sysdeps/sparc/sparc32/dl-machine.h
41036 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41037 * sysdeps/sparc/sparc64/dl-machine.h
41038 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41039
ff9f1c5f
DM
41040 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41041 lazy binding.
48e2e132 41042 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41043 undefined symbol errors.
41044
48e2e132 41045 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41046 DT_NEEDED entries.
41047
e80d6f94
MM
410482012-04-05 Michael Matz <matz@suse.de>
41049
41050 [BZ #13592]
41051 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41052
349fa79f
AJ
410532012-04-05 Andreas Jaeger <aj@suse.de>
41054
41055 [BZ #13908]
41056 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41057 comment.
41058
f402708f
KK
410592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41060
41061 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41062 which ROUND is no valid rounding mode.
41063
2ecccfc9
KK
410642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41065
41066 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41067 read again.
41068 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41069
8a53f50f
KK
410702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41071
41072 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41073 an exception using FPU order intentionally.
41074
410752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41076
41077 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41078 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41079 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41080 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41081
d653abb7
SJ
410822012-04-05 Simon Josefsson <simon@josefsson.org>
41083
41084 [BZ #12340]
41085 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41086 EINVAL when BUFLEN is too smal.
41087
c3b1bf7d
TS
410882012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41089
41090 [BZ #13553]
41091 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41092 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41093
b1aa60f3
AJ
410942012-04-03 Andreas Jaeger <aj@suse.de>
41095
c3b1bf7d 41096 [BZ #13938]
67f60a26
AJ
41097 * manual/setjmp.texi (System V contexts): Fix sentence.
41098
b1aa60f3
AJ
41099 [BZ #13926]
41100 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41101 New macro for this case.
41102 [!__GNUC__] (__bswap_64): New inline function for this case.
41103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41104 * bits/byteswap.h: Likewise.
41105 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41106 ull, guard with __GLIBC_HAVE_LONG_LONG.
41107
41108 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41109 __GLIBC_HAVE_LONG_LONG.
41110
41111 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41112 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41113
39c59c35
TMQMF
411142012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41115
41116 [BZ #13691]
41117 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41118 inptr and inend, rather than using last_ch.
41119
135ffda8
DM
411202012-04-02 David S. Miller <davem@davemloft.net>
41121
41122 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41123 * stdio-common/printf-parse.h (read_int): Change return type to
41124 'int', return -1 on INT_MAX overflow.
41125 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41126 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41127 overflows INT_MAX. Check for overflow of in-format-string precision
41128 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41129 SIZE_MAX not INT_MAX for integer overflow test.
41130 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41131 skip the construct in the format string but do not record anything.
41132 * stdio-common/bug22.c: Adjust to test both width/prevision
41133 INT_MAX overflow as well as total length INT_MAX overflow. Check
41134 explicitly for proper errno values.
41135
228c019e
TS
411362012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41137
302cadd3
TS
41138 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41139 CHAR_MAX.
41140 * string/test-strcmp.c [! WIDE]: Likewise.
41141 * time/tst-mktime2.c: Likewise for INT_MAX.
41142 * string/test-string.h: #include <sys/param.h> for MIN.
41143
228c019e
TS
41144 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41145 * sysdeps/i386/init-first.c (init): Likewise.
41146 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41147 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41148 * sysdeps/sh/init-first.c (init): Likewise.
41149
cfa633f5
UD
411502012-04-01 Ulrich Drepper <drepper@gmail.com>
41151
41152 * po/ru.po: Update from translation team.
d1635ef8 41153 * po/vi.po: Likewise.
cfa633f5 41154
6cd0a5ea
SP
411552012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41156
41157 * resolv/nss_dns/dns-host.c: Merge copyright years.
41158
4b43400f
LD
411592012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41160
41161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41162 Optimize memcpy with prefetch if
41163 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41164 src, dst pointers have unequal 16 byte alignments.
41165
48c41d04
SP
411662012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41167
41168 [BZ #13928]
41169 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41170 from a CNAME entry and return the minimum ttl for the query.
41171 (gaih_getanswer_slice): Likewise.
41172
b8dc394d
JL
411732012-03-30 Jeff Law <law@redhat.com>
41174
41175 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41176 due to long keys.
41177 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41178 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41179
2f5a5ed0
JL
41180 * resolv/nss_dns/dns-host.c: Update copyright year.
41181
1d39e359
UD
411822012-03-30 Ulrich Drepper <drepper@gmail.com>
41183
c030f70c 41184 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41185 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41186
1d39e359
UD
41187 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41188 comments for sendmmsg.
41189
411902012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41191
41192 [BZ #13691]
41193 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41194 with only 1 character between 0x0041 and 0x01b0.
41195 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41196 * wcsmbs/tst-mbsnrtowcs.c: New file.
41197
20fde227
DM
411982012-03-29 David S. Miller <davem@davemloft.net>
41199
41200 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41201 small copies by hand.
41202
984a4237
JL
412032012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41204
41205 [BZ #13761]
57f41c40
AS
41206 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41207 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41208 group memberships.
984a4237 41209
18c9d62b
DM
412102012-03-28 David S. Miller <davem@davemloft.net>
41211
88d85d4f
DM
41212 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41213 that branches into memcpy.
41214 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41217 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41219 bits.
41220 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41221 implementation too.
41222 * sysdeps/sparc/mempcpy.S: New file.
41223
e5aa83e1
DM
41224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41225 the IFUNC routine in the libc case.
41226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41227
88570753
DM
41228 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41229 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41230 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41231 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41232 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41233 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41234 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41235 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41236
249d7567
DM
41237 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41238 loop to 256 bytes instead of 64 bytes and fix test signedness.
41239
18c9d62b
DM
41240 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41241 * sysdeps/sparc/sparc32/Makefile: rather than here...
41242 * sysdeps/sparc/sparc64/Makefile: and here.
41243
05f3d1f6
UD
412442012-03-28 Ulrich Drepper <drepper@gmail.com>
41245
41246 * malloc/mallocbug.c: Avoid warnings about unused variables.
41247
86ae07a8
JL
412482012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41249
41250 [BZ #13760]
41251 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41252 in the right place. Discard and retry query if response is
41253 larger than input buffer size.
41254
41bf21a1
JM
412552012-03-28 Joseph Myers <joseph@codesourcery.com>
41256
d6270972
JM
41257 [BZ #369]
41258 [BZ #2678]
41259 [BZ #3866]
41260 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41261 x for large integer exponent.
41262 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41263 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41264 sign of result as needed afterwards.
41265 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41266 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41267 result for underflowing pow the same as for overflow.
41268 (__kernel_standard_l): Handle powl overflow and underflow here
41269 rather than calling __kernel_standard.
41270 * math/libm-test.inc (pow_test): Add more tests.
41271
414fca03 41272 [BZ #3868]
41bf21a1
JM
41273 [BZ #13879]
41274 [BZ #13910]
41275 [BZ #13911]
41276 [BZ #13912]
41277 [BZ #13913]
41278 [BZ #13915]
41279 [BZ #13916]
41280 [BZ #13917]
41281 [BZ #13918]
41282 [BZ #13919]
41283 [BZ #13920]
41284 [BZ #13921]
41285 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41286 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41287 (__kernel_standard_l): New function.
41288 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41289 __kernel_standard.
41290 * math/w_acosl.c (__acosl): Likewise.
41291 * math/w_asinl.c (__asinl): Likewise.
41292 * math/w_atan2l.c (__atan2l): Likewise.
41293 * math/w_atanhl.c (__atanhl): Likewise.
41294 * math/w_coshl.c (__coshl): Likewise.
41295 * math/w_exp10l.c (__exp10l): Likewise.
41296 * math/w_exp2l.c (__exp2l): Likewise.
41297 * math/w_fmodl.c (__fmodl): Likewise.
41298 * math/w_hypotl.c (__hypotl): Likewise.
41299 * math/w_j0l.c (__j0l, __y0l): Likewise.
41300 * math/w_j1l.c (__j1l, __y1l): Likewise.
41301 * math/w_jnl.c (__jnl, __ynl): Likewise.
41302 * math/w_lgammal.c (__lgammal): Likewise.
41303 * math/w_log10l.c (__log10l): Likewise.
41304 * math/w_log2l.c (__log2l): Likewise.
41305 * math/w_logl.c (__logl): Likewise.
41306 * math/w_powl.c (__powl): Likewise.
41307 * math/w_remainderl.c (__remainderl): Likewise.
41308 * math/w_scalbl.c (sysv_scalbl): Likewise.
41309 * math/w_sinhl.c (__sinhl): Likewise.
41310 * math/w_sqrtl.c (__sqrtl): Likewise.
41311 * math/w_tgammal.c (__tgammal): Likewise.
41312 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41313 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41314 * math/libm-test.inc (acos_test): Add more tests.
41315 (acosh_test): Likewise.
41316 (asin_test): Likewise.
41317 (atanh_test): Likewise.
41318 (exp_test): Likewise.
41319 (exp10_test): Likewise.
41320 (exp2_test): Likewise.
41321 (expm1_test): Likewise.
41322 (lgamma_test): Likewise.
41323 (log_test): Likewise.
41324 (log10_test): Likewise.
41325 (log1p_test): Likewise.
41326 (log2_test): Likewise.
41327 (pow_test): Do not allow some spurious overflow exceptions.
41328 (sqrt_test): Add more tests.
41329 (tgamma_test): Likewise.
41330 (y0_test): Likewise.
41331 (y1_test): Likewise.
41332 (yn_test): Likewise.
41333
dd62fda6
AB
413342012-03-27 Anton Blanchard <anton@samba.org>
41335
41336 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41337 MAP_HUGETLB.
41338 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41339 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41340 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41341
1e3cdfda
AJ
413422012-03-27 David S. Miller <davem@davemloft.net>
41343
b855ab85
DM
41344 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41345
1e3cdfda
AJ
41346 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41347 have-as-vis3 check.
41348
413492012-03-27 Andreas Jaeger <aj@suse.de>
41350
41351 * sysdeps/x86_64/elf/configure.in: Moved to ...
41352 * sysdeps/x86_64/configure.in: ... here.
41353 * sysdeps/x86_64/elf/start.S: Moved to ...
41354 * sysdeps/x86_64/start.S: ... here.
41355 * sysdeps/x86_64/elf/configure: Delete.
41356
41357 * sysdeps/x86_64/configure.in: Merge contents from
41358 sysdeps/i386/configure.in (without i686 check).
41359
41360 * sysdeps/i386/elf/Versions: Merge into ...
41361 * sysdeps/i386/Versions: ... this.
41362 * sysdeps/i386/elf/Versions: Delete file.
41363 * sysdeps/i386/elf/start.S: Moved to ...
41364 * sysdeps/i386/start.S: ...here.
41365 * sysdeps/i386/elf/configure.in: Merge into...
41366 * sysdeps/i386/configure.in: ...here.
41367 * sysdeps/i386/elf/configure.in: Delete file.
41368 * sysdeps/i386/elf/configure: Delete file.
41369
41370 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41371 * debug/backtracesyms.c: ... here.
41372 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41373 * debug/backtracesymsfd.c: ... here.
41374 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41375 * sysdeps/generic/ifunc-sel.h: ... here.
41376
41377 * sysdeps/unix/i386/start.c: Delete file.
41378 * sysdeps/unix/sparc/start.c: Delete file.
41379 * sysdeps/unix/start.c: Delete file.
41380
41381 * sysdeps/sh/elf/configure.in: Moved to ...
41382 * sysdeps/sh/configure.in: ... here.
41383 * sysdeps/sh/elf/start.S: Moved to ...
41384 * sysdeps/sh/start.S: ... here.
41385 * sysdeps/sh/elf/configure: Delete file.
41386
41387 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41388 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41389 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41390 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41391 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41392 * sysdeps/powerpc/powerpc64/start.S: here.
41393 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41394 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41395 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41396 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41397 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41398
41399 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41400 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41401 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41402 * sysdeps/powerpc/powerpc32/start.S: ... here.
41403 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41404 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41405 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41406
41407 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41408 * sysdeps/powerpc/ifunc-sel.h: ... here.
41409 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41410 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41411
41412 * sysdeps/sparc/elf/configure.in: Moved to ...
41413 * sysdeps/sparc/configure.in: ... here.
41414 * sysdeps/sparc/elf/configure: Delete file.
41415 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41416 * sysdeps/sparc/sparc32/start.S: ... here.
41417 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41418 * sysdeps/sparc/sparc64/start.S: ... here.
41419 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41420 * sysdeps/sparc/sparc32/Makefile: ... this.
41421 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41422 * sysdeps/sparc/sparc64/Makefile: ... this.
41423
41424 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41425 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41426 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41427 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41428 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41429 * sysdeps/s390/s390-32/setjmp.S: ... here.
41430 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41431 * sysdeps/s390/s390-32/configure.in: ... here.
41432 * sysdeps/s390/s390-32/elf/configure: Delete file.
41433 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41434 * sysdeps/s390/s390-32/start.S: ... here.
41435
41436 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41437 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41438 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41439 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41440 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41441 * sysdeps/s390/s390-64/setjmp.S: ... here.
41442 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41443 * sysdeps/s390/s390-64/configure.in: ... here
41444 * sysdeps/s390/s390-64/elf/configure: Delete file.
41445 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41446 * sysdeps/s390/s390-64/start.S: ... here.
41447 * sysdeps/s390/s390-64/elf/configure: Delete.
41448
41449 * configure.in: Remove support for elf directories in sysdeps.
41450
41451 * configure: Regenerated.
41452 * sysdeps/i386/configure: Regenerated.
41453 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41454 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41455 * sysdeps/s390/s390-32/configure: Regenerated.
41456 * sysdeps/s390/s390-64/configure: Regenerated.
41457 * sysdeps/sh/configure: Regenerated.
41458 * sysdeps/sparc/configure: Regenerated.
41459 * sysdeps/x86_64/configure: Regenerated.
41460
a3f61311
AS
414612012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41462
c876e002
AS
41463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41464
a3f61311
AS
41465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41466 denormal result into account.
41467
ac4c54f0
RM
414682012-03-25 Roland McGrath <roland@hack.frob.com>
41469
41470 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41471 Reported by Allan McRae <allan@archlinux.org>.
41472
6a9b9c02
JL
414732012-03-23 Jeff Law <law@redhat.com>
41474
41475 * nss/getnssent.c (__nss_getent): Fix typo.
41476
4c42a0c1
DM
414772012-03-23 David S. Miller <davem@davemloft.net>
41478
41479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41480
1532c7ac
L
414812012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41482
41483 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41484 to pad to uint64_t for each field.
41485 (dl_tls_index): Replace unsigned long with uint64_t.
41486
3ff42526
PP
414872012-03-23 Daniel Jacobowitz <dmj@google.com>
41488 Paul Pluzhnikov <ppluzhnikov@google.com>
41489
41490 [BZ #6528]
41491 * grp/Makefile (otherlibs): Don't set it.
41492 * inet/Makefile (otherlibs): Likewise.
41493 * login/Makefile (otherlibs): Likewise.
41494 * nscd/Makefile (otherlibs): Likewise.
41495 * posix/Makefile (otherlibs): Likewise.
41496 * pwd/Makefile (otherlibs): Likewise.
41497 * rt/Makefile (otherlibs): Likewise.
41498 * sunrpc/Makefile (otherlibs): Likewise.
41499 * nss/Makefile (otherlibs): Likewise.
41500 Add libnss_files to routines and static-only-routines.
41501 ($(objpfx)getent): Remove rule.
41502 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41503 static-only-routines.
41504
7c69cd14
JM
415052012-03-22 Joseph Myers <joseph@codesourcery.com>
41506
41507 [BZ #13892]
41508 * math/s_cexp.c: Include <float.h>.
41509 (__cexp): Handle exp result overflowing not necessarily
41510 overflowing both real and imaginary parts of result.
41511 * math/s_cexpf.c: Likewise.
41512 * math/s_cexpl.c: Likewise.
41513 * math/libm-test.inc (cexp_test): Add more tests.
41514 * sysdeps/i386/fpu/libm-test-ulps: Update.
41515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41516
81b035fe
L
415172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41518
41519 * include/link.h (ELFW): New macro.
41520 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41521 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41522
1da7940c
L
415232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41524
41525 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41526 with uint64_t.
41527
b749dbb9
L
415282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41529
41530 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41531 declaration.
41532 (struct La_x32_retval): Likewise.
41533
2ff87f3f
L
415342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41535
41536 * sysdeps/x86_64/preconfigure.in: New file.
41537 * sysdeps/x86_64/preconfigure: New generated file.
41538
c0df8e69
JM
415392012-03-22 Joseph Myers <joseph@codesourcery.com>
41540
48e44791
JM
41541 [BZ #13824]
41542 * math/e_exp2l.c: Include <float.h>.
41543 (__ieee754_exp2l): Handle overflow and underflow cases
41544 separately. Only pass fractional part of argument to
41545 __ieee754_expl.
41546 * math/libm-test.inc (exp2_test): Add more tests.
41547
c0df8e69
JM
41548 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41549 negating x to take absolute value.
41550 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41551 Likewise.
41552 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41553 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41554 Likewise.
41555 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41556 computing low part if x was negated.
41557 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41558
c8e43ba7
L
415592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41560
41561 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41562 la_x32_gnu_pltexit.
41563 (pltexit): Cast int_retval to ptrdiff_t.
41564 * elf/tst-auditmod3b.c: Likewise.
41565 * elf/tst-auditmod4b.c: Likewise.
41566 * elf/tst-auditmod5b.c: Likewise.
41567 * elf/tst-auditmod6b.c: Likewise.
41568 * elf/tst-auditmod6c.c: Likewise.
41569 * elf/tst-auditmod7b.c: Likewise.
41570
41571 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41572 and x32_gnu_pltexit.
41573
41574 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41575 __ELF_NATIVE_CLASS.
41576 (La_x32_regs): New macro.
41577 (La_x32_retval): Likewise.
41578 (la_x32_gnu_pltenter): New function prototype.
41579 (la_x32_gnu_pltexit): Likewise.
41580
7998fa78
AS
415812012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41582
dcb33988
AS
41583 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41584 exponent.
41585
233fc563
AS
41586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41587
7998fa78
AS
41588 * configure.in (libc_cv_cc_nofma): Check for option to disable
41589 generation of FMA instructions.
41590 * configure: Regenerate.
41591 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41592 * sysdeps/ieee754/dbl-64/Makefile: New file.
41593 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41594 Remove brandred-fma4.
41595 (CFLAGS-brandred-fma4.c): Remove.
41596 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41597 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41598 define.
41599 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41600 define.
41601
8e95c99a
L
416022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41603
41604 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41605 LLONG_MAX != LONG_MAX.
41606 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41607 (_fitoa_word): Likewise.
41608 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41609 LLONG_MAX != LONG_MAX.
41610 * stdio-common/_itowa.h: Include <_itoa.h>.
41611 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41612 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41613 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41614 only if not defined.
41615 (_ITOA_WORD_TYPE): Likewise.
41616 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41617 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41618
6f4db457
DM
416192012-03-21 David S. Miller <davem@davemloft.net>
41620
41621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41622
7785fe5a
L
416232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41624
41625 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41626 of x86_64 when setting libc_cv_slibdir, libdir and
41627 libc_cv_localedir.
41628 * sysdeps/unix/sysv/linux/configure: Regenerated.
41629
4535cd55
JM
416302012-03-21 Joseph Myers <joseph@codesourcery.com>
41631
41632 * manual/lang.texi (Old Varargs): Remove section.
41633 (How Variadic): Update menu.
41634 (va_start): Do not mention varargs.h.
41635
17228132
TS
416362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41637 Joseph Myers <joseph@codesourcery.com>
41638
41639 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41640 link test.
41641 * configure: Regenerated.
41642
8149f976
TS
416432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41644
05f3d1f6
UD
41645 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41646 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41647 conformtest.pl
8149f976 41648
1a4ac776
JM
416492012-03-21 Joseph Myers <joseph@codesourcery.com>
41650
be22ce65
JM
41651 * NOTES: Remove.
41652 * Makefile (files-for-dist): Remove NOTES.
41653 (NOTES): Remove rule.
41654 * README: Don't refer to NOTES.
41655 * manual/creature.texi: Don't include macros.texi.
41656 * manual/intro.texi (creature.texi): Remove comment referring to
41657 NOTES.
41658
40b601fb
JM
41659 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41660 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41661 * configure: Regenerated.
41662 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41663 LIBC_TRY_CC_OPTION.
41664 (libc_cv_as_i686): Likewise.
41665 (libc_cv_cc_avx): Likewise.
41666 (libc_cv_cc_sse2avx): Likewise.
41667 (libc_cv_cc_fma4): Likewise.
41668 (libc_cv_cc_novzeroupper): Likewise.
41669 * sysdeps/i386/configure: Regenerated.
41670
1a4ac776
JM
41671 [BZ #13883]
41672 * sysdeps/i386/fpu/s_cexp.S: Remove.
41673 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41674 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41675 * math/libm-test.inc (cexp_test): Add more tests.
41676 * sysdeps/i386/fpu/libm-test-ulps: Update.
41677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41678
a458e7fe
AM
416792012-03-21 Allan McRae <allan@archlinux.org>
41680
41681 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41682
0cb7efc5
JM
416832012-03-21 Joseph Myers <joseph@codesourcery.com>
41684
41685 [BZ #13871]
41686 * math/w_exp2.c: Do not include <float.h>.
41687 (o_threshold, u_threshold): Remove.
41688 (__exp2): Calculate result before checking finiteness and calling
41689 __kernel_standard.
41690 * math/w_exp2f.c: Likewise.
41691 * math/w_exp2l.c: Likewise.
41692 * math/libm-test.inc (exp2_test): Require overflow exception for
41693 1e6 input.
2460d3aa
JM
41694
41695 [BZ #3866]
41696 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41697 range of signed 64-bit integers before using fistpll. Remove
41698 checks for whether integers fit in mantissa bits.
41699 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41700 the range of signed 32-bit integers before using fistpl. Remove
41701 checks for whether integers fit in mantissa bits.
41702 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41703 (__ieee754_powl): Test for y outside the range of signed 64-bit
41704 integers before using fistpll. Reduce 64-bit values to 63-bit
41705 ones as needed.
41706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41707 divide-by-zero is raised for zero to large negative powers.
41708 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41709 (__ieee754_powl): Test for y outside the range of signed 64-bit
41710 integers before using fistpll. Reduce 64-bit values to 63-bit
41711 ones as needed.
41712 * math/libm-test.inc (pow_test): Add more tests.
41713
eb96ffb0
L
417142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41715
41716 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41717 <stdio-common/_itoa.h>.
41718 * debug/segfault.c: Likewise.
41719 * elf/dl-cache.c: Likewise.
41720 * elf/dl-minimal.c: Likewise.
41721 * elf/dl-misc.c: Likewise.
41722 * elf/dl-sysdep.c: Likewise.
41723 * elf/dl-version.c: Likewise.
41724 * elf/rtld.c: Likewise.
41725 * hurd/hurdsock.c: Likewise.
41726 * hurd/lookup-retry.c: Likewise.
41727 * malloc/malloc.c: Likewise.
41728 * malloc/mtrace.c: Likewise.
41729 * nscd/nscd_getgr_r.c: Likewise.
41730 * nscd/nscd_getpw_r.c: Likewise.
41731 * nscd/nscd_getserv_r.c: Likewise.
41732 * posix/getopt_init.c: Likewise.
41733 * posix/wordexp.c: Likewise.
41734 * stdio-common/_itoa.c: Likewise.
41735 * stdio-common/printf_fphex.c: Likewise.
41736 * stdio-common/vfprintf.c: Likewise.
41737 * string/_strerror.c: Likewise.
41738 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41739 * sysdeps/i386/i686/hp-timing.h: Likewise.
41740 * sysdeps/mach/_strerror.c: Likewise.
41741 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41742 * sysdeps/mach/hurd/sethostid.c: Likewise.
41743 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41744 * sysdeps/mach/xpg-strerror.c: Likewise.
41745 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41746 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41747 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41748 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41749 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41750 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41751 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41752 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41753 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41754 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41755 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41756 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41757 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41758 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41759 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41761 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41762 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41763 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41764 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41765 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41766
41767 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41768
41769 * stdio-common/_itoa.h: Moved to ...
41770 * sysdeps/generic/_itoa.h: Here.
41771
41772 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41773
41774 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41775 instead of "_itoa.h" and "_itowa.h".
41776 * stdio-common/vfprintf.: Likewise.
41777
d1af992d
L
417782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41779
41780 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41781 <bits/wordsize.h>.
41782 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41783 (__signbit): Likwise.
41784 (llrintf): Likwise.
41785 (llrint): Likwise.
41786
114883e0
L
417872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41788
41789 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41790 __WORDSIZE != 64.
41791
c135cc1b
JM
417922012-03-20 Joseph Myers <joseph@codesourcery.com>
41793
41794 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41795 OVERFLOW_EXCEPTION_OK.
41796 * math/libm-test.inc ("Philosophy"): Update comment about
41797 exception testing.
41798 (OVERFLOW_EXCEPTION): Define.
41799 (OVERFLOW_EXCEPTION_OK): Likewise.
41800 (INVALID_EXCEPTION_OK): Renumber.
41801 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41802 (IGNORE_ZERO_INF_SIGN): Likewise.
41803 (test_exceptions): Handle FE_OVERFLOW.
41804 (exp10_test): Expect overflow exceptions.
41805 (exp2_test): Likewise.
41806 (expm1_test): Likewise.
41807 (nextafter_test): Likewise.
41808 (pow_test): Likewise.
41809 (scalbn_test): Likewise.
41810 (scalbln_test): Likewise.
41811
95443d88
L
418122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41813
41814 * sysdeps/x86_64/bits/atomic.h
41815 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41816 64bit integer.
41817 (atomic_exchange_acq): Likewise.
41818 (__arch_exchange_and_add_body): Likewise.
41819 (__arch_add_body): Likewise.
41820 (atomic_add_negative): Likewise.
41821 (atomic_add_zero): Likewise.
41822
490df6c4
L
418232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41824
c2722551 41825 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41826 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41827
5e52b189
L
418282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41829
41830 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41831 Check __x86_64__ instead of __WORDSIZE.
41832
a9879d4c
L
418332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41834
41835 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41836
5df98260
DM
418372012-03-19 David S. Miller <davem@davemloft.net>
41838
e1497744
DM
41839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41840
5df98260
DM
41841 * sysdeps/sparc/fpu/fenv_private.h: New file.
41842 * sysdeps/sparc/fpu/math_private.h: Use it.
41843 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41844 Remove.
57f41c40 41845 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41846 (libc_feholdexcept_setroundl): Remove.
41847 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41848 Remove.
41849 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41850 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41851
b4c35121
L
418522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41853
41854 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41855 int64_t instead of long int.
41856 (INSERT_WORDS64): Likwise.
41857
56965fd7
L
418582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41859
41860 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41861 _Unwind_GetCFA return to _Unwind_Ptr first.
41862
83d1aec8
JM
418632012-03-19 Joseph Myers <joseph@codesourcery.com>
41864
1897ad44
JM
41865 [BZ #13629]
41866 * math/s_clog.c: Include <float.h>.
41867 (__clog): Scale large or subnormal inputs.
41868 * math/s_clogf.c: Likewise.
41869 * math/s_clogl.c: Likewise.
41870 * math/s_clog10.c: Include <float.h>.
41871 (M_LOG10_2): Define.
41872 (__clog10): Scale large or subnormal inputs.
41873 * math/s_clog10f.c: Likewise.
41874 * math/s_clog10l.c: Likewise.
41875 * math/libm-test.inc (clog_test): Add more tests.
41876 (clog10_test): Likewise.
41877 * sysdeps/i386/fpu/libm-test-ulps: Update.
41878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41879
7726d6a9
JM
41880 [BZ #11451]
41881 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41882 x and y.
41883 * math/libm-test.inc (atan2_test): Add another test.
41884
83d1aec8
JM
41885 * Makerules (common-objdir-compile): Remove.
41886 * sysdeps/unix/Makefile (config-generated): Do not add
41887 $(unix-generated) to variable.
41888 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41889 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41890 Remove rule.
41891 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41892 Likewise.
41893 [generic bits/local_lim.h] (before-compile): Do not append to
41894 variable.
41895 [generic bits/local_lim.h] (common-generated): Likewise.
41896 [generic sys/param.h] (before-compile): Do not append to variable.
41897 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41898 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41899 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41900 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41901 include.
41902 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41903 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41904 [generic sys/param.h] ($(addprefix
41905 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41906 [generic sys/param.h] (common-generated): Do not append to
41907 variable.
41908 [generic sys/param.h] (sysdep_headers): Likewise.
41909 [generic bits/errno.h] (before-compile): Do not append to
41910 variable.
41911 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41912 rule.
41913 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41914 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41915 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41916 [generic bits/errno.h] (common-generated): Do not append to
41917 variable.
41918 [generic bits/ioctls.h] (before-compile): Do not append to
41919 variable.
41920 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41921 rule.
41922 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41923 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41924 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41925 rule.
41926 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41927 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41928 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41929 [generic bits/ioctls.h] (common-generated): Do not append to
41930 variable.
41931 [generic sys/syscall.h] (syscall.h): Remove variable.
41932 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41933 rule.
41934 [generic sys/syscall.h] (before-compile): Do not append to
41935 variable.
41936 [generic sys/syscall.h] (common-generated): Likewise.
41937 * sysdeps/unix/errnos-tmpl.c: Remove file.
41938 * sysdeps/unix/errnos.awk: Likewise.
41939 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41940 * sysdeps/unix/ioctls.awk: Likewise.
41941 * sysdeps/unix/mk-local_lim.c: Likewise.
41942 * sysdeps/unix/snarf-ioctls: Likewise.
41943
4851a949
RH
419442012-03-19 Richard Henderson <rth@twiddle.net>
41945
bd37f2ee
RH
41946 * sysdeps/i386/fpu/fenv_private.h: New file.
41947 * sysdeps/i386/fpu/math_private.h: Use it.
41948 (math_opt_barrier, math_force_eval): Remove.
41949 (libc_feholdexcept_setround_53bit): Remove.
41950 (libc_feupdateenv_53bit): Remove.
41951 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41952 (math_opt_barrier, math_force_eval): Remove.
41953 (libc_feholdexcept): Remove.
41954 (libc_feholdexcept_setround): Remove.
41955 (libc_fetestexcept, libc_fesetenv): Remove.
41956 (libc_feupdateenv_test): Remove.
41957 (libc_feupdateenv, libc_feholdsetround): Remove.
41958 (libc_feresetround): Remove.
41959
d0adc922
RH
41960 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41961 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41962
0fe0f1f8
RH
41963 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41964 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41965 (libc_feupdateenv_testl): New.
41966 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41967 (libc_feupdateenv_testf): New.
41968 (libc_feupdateenv): Use libc_feupdateenv_test.
41969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41970 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41971
eb92c487
RH
41972 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41973 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41974 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41975 (libc_feresetround_noex): New.
41976 (libc_feresetround_noexf): New.
41977 (libc_feresetround_noexl): New.
41978 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41979 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41980 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41981 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41982 SET_RESTORE_ROUND.
41983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41985 (__cos): Likewise.
41986 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41987 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41988 SET_RESTORE_ROUND_NOEX.
41989 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41990 SET_RESTORE_ROUND_NOEXF.
41991 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41992 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41993 (libc_feholdsetroundf): New.
41994 (libc_feresetround, libc_feresetroundf): New.
41995
7d2e8012
RH
41996 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41997 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41998 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41999
b4dabbb4
RH
42000 * sysdeps/generic/math_private.h: Include <fenv.h>.
42001 (default_libc_feholdexcept): New.
42002 (default_libc_feholdexcept_setround): New.
42003 (default_libc_fesetenv, default_libc_feupdateenv): New.
42004 (libc_feholdexcept): Only define if undefined.
42005 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42006 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42007 (libc_feholdexcept_setroundl): Likewise.
42008 (libc_feholdexcept_setround_53bit): Likewise.
42009 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42010 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42011 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42012 (libc_feupdateenv_53bit): Likewise.
42013 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42014 (libc_feholdexcept): Convert from macro to inline function.
42015 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42016 (libc_fesetenv, libc_feupdateenv): Likewise.
42017
4851a949
RH
42018 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42019 not previously defined.
42020 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42021 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42022 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42023 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42024 * sysdeps/ieee754/flt-32/math_private.h: New file.
42025 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42026 math_private.h below SET_FLOAT_WORD.
42027 (__isnan, __isinf_ns, __finite): Remove.
42028 (__isnanf, __isinf_nsf, __finitef): Remove.
42029
e79d442e
AS
420302012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42031
42032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42033
90b80344
DM
420342012-03-17 David S. Miller <davem@davemloft.net>
42035
42036 [BZ #6471]
42037 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42038 for 2.16.
42039
edc21804
DM
420402012-03-16 David S. Miller <davem@davemloft.net>
42041
77e927af
DM
42042 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42043 warnings.
42044
374976dd
DM
42045 [BZ #6471]
42046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42047 properly.
42048 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42049 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42050 sysdep_routines when subdir is sysvipc.
42051 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42052 __getshmlba helper.
42053
edc21804
DM
42054 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42055
473c3ef3
L
420562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42057
42058 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42059 [__LP64__].
42060
eb0f39b6
L
420612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42062
42063 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42064 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42065 (__lround): Renamed to ...
42066 (__llround): This. Replace long int with long long int.
42067 Define lround functions as aliases of llround functions.
42068 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42069
6b6cd74b
L
420702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42071
42072 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42073 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42074 adresses to uintptr_t. Replace "long int" and "unsigned long
42075 int" with "greg_t" on va_arg.
42076
f1a77b01
L
420772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42078
42079 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42080 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42081
42082 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42083 Move e_machine check before EI_CLASS check. Handle x32
42084 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42085 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42086 SKIP_EM_IA_64 and include
42087 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42088
42089 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42090 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42091 (add_system_dir): New macro.
42092
42093 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42094 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42095
11b90b9f
JM
420962012-03-16 Joseph Myers <joseph@codesourcery.com>
42097
c36e1d23
JM
42098 [BZ #2551]
42099 [BZ #2552]
42100 [BZ #2553]
42101 [BZ #2554]
42102 [BZ #2562]
42103 [BZ #2563]
42104 [BZ #2565]
42105 [BZ #2566]
42106 [BZ #2576]
42107 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42108 (y0): Likewise.
42109 * math/w_j0f.c (j0f): Likewise.
42110 (y0f): Likewise.
42111 * math/w_j0l.c (__j0l): Likewise.
42112 (__y0l): Likewise.
42113 * math/w_j1.c (j1): Likewise.
42114 (y1): Likewise.
42115 * math/w_j1f.c (j1f): Likewise.
42116 (y1f): Likewise.
42117 * math/w_j1l.c (__j1l): Likewise.
42118 (__y1l): Likewise.
42119 * math/w_jn.c (jn): Likewise.
42120 (yn): Likewise.
42121 * math/w_jnf.c (jnf): Likewise.
42122 (ynf): Likewise.
42123 * math/w_jnl.c (__jnl): Likewise.
42124 (__ynl): Likewise.
42125 * math/libm-test.inc (j0_test): Add more tests.
42126 (j1_test): Likewise.
42127 (jn_test): Likewise. Add trailing semicolon to existing test.
42128 (y0_test): Likewise.
42129 (y1_test): Likewise.
42130 * sysdeps/i386/fpu/libm-test-ulps: Update.
42131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42132
11b90b9f
JM
42133 [BZ #13851]
42134 [BZ #13854]
42135 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42136 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42137 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42138 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42139 (__tanl): Set errno for infinite argument.
42140 * sysdeps/i386/fpu/mptan.c: Remove.
42141 * sysdeps/i386/fpu/s_tan.S: Likewise.
42142 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42143 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42144 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42145 * math/libm-test.inc (tan_test): Add more tests and enable more
42146 tests for double and long double.
42147 * sysdeps/i386/fpu/libm-test-ulps: Update.
42148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42149
6a1bd2a1
JK
421502012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42151
42152 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42153 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42154
10a803e0
RM
421552012-03-16 Roland McGrath <roland@hack.frob.com>
42156
42157 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42158 * configure.in: Use it for both main tree and add-ons.
42159 * configure: Regenerated.
42160
f196c7f7
L
421612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42162
42163 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42164
8848d99d
JM
421652012-03-16 Joseph Myers <joseph@codesourcery.com>
42166
96cbe7f4
JM
42167 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42168 in comment.
42169
8848d99d
JM
42170 [BZ #13851]
42171 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42172 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42176 infinite argument.
42177 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42178 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42179 != 0 for prec == 2.
42180 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42181 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42182 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42183 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42184 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42185 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42186 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42187 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42188 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42189 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42190 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42191 * math/libm-test.inc (cos_test): Add more tests and enable more
42192 tests for long double.
42193 (sin_test): Likewise.
42194 (sincos_test): Likewise.
42195 * sysdeps/i386/fpu/libm-test-ulps: Update.
42196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42197
dd7f4703
DM
421982012-03-16 David S. Miller <davem@davemloft.net>
42199
42200 * sysdeps/sparc/fpu/math_private.h: New file.
42201
006f1daa
DM
422022012-03-15 David S. Miller <davem@davemloft.net>
42203
c0c83bc8
DM
42204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42205 file.
e6a62e18 42206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42208 file.
e6a62e18
DM
42209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42215 sysdep routines.
42216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42217
88cb87d9
DM
42218 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42219 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42220
006f1daa 42221 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42223 sparc-ifunc.h
006f1daa 42224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42226 Likewise.
42227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42228 Likewise.
006f1daa
DM
42229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42233 Likewise.
006f1daa
DM
42234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42239 Likewise.
42240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42241 Likewise.
006f1daa
DM
42242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42266
11e0098e
AS
422672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42268
42269 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42270 scaling.
42271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42272
e85b09d0
AJ
422732012-03-15 Andreas Jaeger <aj@suse.de>
42274
42275 [BZ #13852]
42276 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42277 ieee754/flt-32 implementation for sin, cos and sincos.
42278 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42279 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42280 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42281 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42282 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42283 ieee754/flt-32 implementation for tan.
42284
42285 * math/libm-test.inc (cos_test): Enable some large input tests for
42286 float as well
42287 (sin_test): Likewise.
42288 (sincos_test): Likewise.
42289 (tan_test): Add tests for large input.
42290
42291 * sysdeps/i386/fpu/libm-test-ulps: Update.
42292
81c64153
AJ
422932012-03-15 Andreas Jaeger <aj@suse.de>
42294
42295 [BZ #13658]
42296 * math/libm-test.inc (cos_test): Add more test cases.
42297 (sin_test): Likewise.
42298 (sincos_test): Likewise.
42299
7bbfa5c6
AJ
423002012-03-15 Andreas Jaeger <aj@suse.de>
42301
42302 [BZ #13837]
42303 * math/libm-test.inc (cos_test): Add a test case for large input
42304 value.
42305 (sin_test): Likewise.
42306 (sincos_test): Likewise.
42307
57f41c40
AS
423082012-03-15 Andreas Jaeger <aj@suse.de>
42309 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42310
42311 [BZ #13658]
0671f479 42312 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42313 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42314 * sysdeps/i386/fpu/branred.c: Likewise.
42315 * sysdeps/i386/fpu/dosincos.c: Likewise.
42316 * sysdeps/i386/fpu/mpa.c: Likewise.
42317 * sysdeps/i386/fpu/s_cos.S: Likewise.
42318 * sysdeps/i386/fpu/s_sin.S: Likewise.
42319 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42320 * sysdeps/i386/fpu/sincos32.c: Likewise.
42321
42322 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42323 Define.
42324 (libc_feupdateenv_53bit): Define.
42325 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42326 Define.
42327 (libc_feupdateenv_53bit): Define.
42328
42329 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42330 53 bit (without extend i386 double precision).
42331
42332 * math/libm-test.inc (sincos_test): Add tests for large input.
42333 (sin): Likewise.
42334 (cos): Likewise.
42335
42336 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42337
9cad04ea
AS
423382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42339
42340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42341
f7062b9a
DM
423422012-03-15 David S. Miller <davem@davemloft.net>
42343
42344 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42345 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42346 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42347 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42360 file.
f7062b9a 42361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42363 file.
f7062b9a 42364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42366 file.
f7062b9a 42367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42369 file.
f7062b9a
DM
42370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42372 fmin/fmax sysdep routines.
42373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42374
7bd951ff
DM
423752012-03-14 David S. Miller <davem@davemloft.net>
42376
559398ab
DM
42377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42383 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42406 routines.
42407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42408 file.
559398ab 42409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42411 file.
559398ab 42412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42414 file.
559398ab 42415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42417 file.
559398ab 42418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42420 file.
559398ab 42421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42423 file.
42424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42425 file.
42426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42427 file.
42428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42429 file.
42430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42431 New file.
42432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42433 file.
42434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42435 file.
559398ab 42436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42438 file.
559398ab 42439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42441 file.
559398ab 42442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42444 file.
559398ab 42445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42447 VIS3 routines.
559398ab
DM
42448
42449 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42450 New file.
42451
5a1c1e32
DM
42452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42453
eae47a36
DM
42454 * sysdeps/sparc/configure.in: New file.
42455 * sysdeps/sparc/configure: Generate.
42456 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42457 * configure: Regenerate.
42458 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42459 * config.make.in (have-as-vis3): New.
42460 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42461 available use -Av9d instead of -Av9a.
42462 * sysdeps/sparc/sparc64/Makefile: Likewise.
42463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42465 New file.
42466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42467 file.
42468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42469 New file.
42470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42471 file.
eae47a36
DM
42472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42477
c0c83bc8
DM
42478 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42479 fzeros/fnegs to load 0x80000000 into a float register instead of
42480 using the stack.
7bd951ff
DM
42481 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42482
bd951ccb
JM
424832012-03-14 Joseph Myers <joseph@codesourcery.com>
42484
42485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42486 bits/syscall.h.
42487 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42488 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42489 ($(inst_includedir)/bits/syscall.h): Remove rule.
42490 ($(objpfx)bits/syscall.d): Include instead of
42491 $(objpfx)syscall-list.d.
42492 (generated): Change syscall-list.h and syscall-list.d to
42493 bits/syscall.h and bits/syscall.d.
42494
bb4e6db2
RM
424952012-03-14 Roland McGrath <roland@hack.frob.com>
42496
42497 [BZ #13846]
42498 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42499
aa4a2ae1
JM
425002012-03-14 Joseph Myers <joseph@codesourcery.com>
42501
e456826d
JM
42502 [BZ #13841]
42503 * math/s_csqrt.c: Include <float.h>.
42504 (__csqrt): Scale large or subnormal inputs.
42505 * math/s_csqrtf.c: Likewise.
42506 * math/s_csqrtl.c: Likewise.
42507 * math/libm-test.inc (csqrt_test): Add more tests.
42508 * sysdeps/i386/fpu/libm-test-ulps: Update.
42509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42510
aa4a2ae1
JM
42511 [BZ #13840]
42512 * math/libm-test.inc (hypot_test): Add more tests.
42513
7c10fd35
DM
425142012-03-13 David S. Miller <davem@davemloft.net>
42515
42516 [BZ #13840]
42517 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42518 double-precision for the calculation instead of scaling.
42519
f453b98b
JM
425202012-03-13 Joseph Myers <joseph@codesourcery.com>
42521
42522 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42523 manipulate bits before adding and subtracting TWO52[sx].
42524 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42526 Likewise.
42527 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42528
09a3453f
DM
425292012-03-13 David S. Miller <davem@davemloft.net>
42530
8e59da90
DM
42531 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42532 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42534 rtld-global-offsets.h
42535 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42536
2a8ab7f2
DM
42537 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42538 large parameters.
42539
10f62770
DM
42540 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42541
5f0bdb18
DM
42542 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42543 'err' in the ifdef scope in which it is actually used.
42544
09a3453f
DM
42545 * nss/nss_db/db-init.c: Include string.h
42546
b4b2eb5e
DM
425472012-03-12 David S. Miller <davem@davemloft.net>
42548
98bb2f1c
DM
42549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42550 masking out of the most significant byte of random value used.
42551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42552 Fix coding style in previous change.
42553
b4b2eb5e
DM
42554 * sysdeps/unix/sysv/linux/kernel-features.h
42555 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42556 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42557 expression.
42558 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42559 later.
42560
6e226b09
DM
425612012-03-11 David S. Miller <davem@davemloft.net>
42562
a1bcbd40
DM
42563 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42564 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42565 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42566 for 'resultvar' otherwise things get truncated on 64-bit.
42567
cb9d6174
DM
42568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42569 Fix masking out of the most significant byte of random value used.
42570
6e226b09
DM
42571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42572
058c132d
AS
425732012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42574
42575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42576
2d2cd515
DM
425772012-03-09 David S. Miller <davem@davemloft.net>
42578
42579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42580 variables with appropriate CPP guards.
57f41c40
AS
42581 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42582 from the frame pointer, not the stack pointer. Correct layout
42583 comments. Fix test on resulting framesize and the management of
42584 the outregs buffer for pltexit. Preserve floating point return
42585 values across _dl_call_pltexit call.
2d2cd515
DM
42586 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42587 framesize and the management of the outregs buffer for pltexit.
42588 Preserve floating point return values across _dl_call_pltexit
42589 call.
57f41c40
AS
42590 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42591 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42592 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42593 (print_exit): Fix format string for return register value.
42594
9a07f9d0
JM
425952012-03-10 Joseph Myers <joseph@codesourcery.com>
42596
42597 * sunrpc/Makefile (others): Add rpcgen.
42598 ($(objpfx)rpcgen): Remove special build rule and dependency on
42599 libc.
42600 * sunrpc/rpcgen.c: New file.
42601
547b5e30
PE
426022012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42603
c524201a
PE
42604 [BZ #13673]
42605 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42606 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42607 * sysdeps/i386/crti.S: Likewise.
42608 * sysdeps/i386/crtn.S: Likewise.
42609 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42610 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42611 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42612 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42613 * sysdeps/sh/crti.S: Likewise.
42614 * sysdeps/sh/crtn.S: Likewise.
42615 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42616
7b6235f2
PE
42617 [BZ #13673]
42618 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42619 with URL.
42620 * locale/programs/locfile-kw.gperf: Likewise.
42621 * locale/programs/charmap-kw.h: Regenerated.
42622 * locale/programs/locfile-kw.h: Likewise.
42623
547b5e30
PE
42624 [BZ #13673]
42625 * intl/plural.y: Replace FSF snail mail address with URL.
42626 * intl/plural.c: Regenerated.
42627
5f0a5dae
RH
426282012-03-09 Richard Henderson <rth@twiddle.net>
42629
42630 * include/math_private.h: Remove file.
42631 * math/math_private.h: Move file ...
42632 * sysdeps/generic/math_private.h: ... here.
42633
b8c03620
RH
42634 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42635 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42636 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42637
4e234f5d 42638 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42639 and <math_private.h>.
42640 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42641 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42642 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42643 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42644 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42669 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42670 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42674 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42677 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42678 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42680 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42681 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42683 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42692 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42704 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42705 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42721 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42722 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42723 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42724 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42727 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42733 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42735 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42736 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42737 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42740 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42741 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42742 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42743 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42744 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42748 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42749 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42750 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42751 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42752 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42753 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42754 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42755 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42757 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42758 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42759 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42760 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42761 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42763 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42764 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42766 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42767 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42768 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42769 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42770 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42771 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42772 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42773 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42774 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42775 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42776 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42777 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42778 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42779 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42780 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42781 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42782 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42783 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42784 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42785 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42786 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42787 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42788 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42789 * sysdeps/ieee754/k_standard.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42802 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42803 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42804 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42810 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42817 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42818 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42821 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42823 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42824 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42825 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42826 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42828 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42829 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42830 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42831 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42832 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42834 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42835 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42836 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42838 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42841 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42842 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42843 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42846 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42849 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42851 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42852 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42856 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42859 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42862 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42863 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42864 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42866 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42867 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42868 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42873 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42875 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42878 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42881 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42883 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42884 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42886 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42891 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42892 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42893 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42894 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42896 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42897 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42898 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42899 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42900 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42901 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42903 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42904 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42905 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42906 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42907 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42908 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42909 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42910 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42911 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42912 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42913 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42915 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42916 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42917 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42918 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42919 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42920 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42921 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42922 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42923 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42924 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42926 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42927 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42928 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42929 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42930 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42932 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42933 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42934 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42937 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42938 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42939 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42940 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42941 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42945 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42950 * sysdeps/ieee754/s_lib_version.c: Likewise.
42951 * sysdeps/ieee754/s_matherr.c: Likewise.
42952 * sysdeps/ieee754/s_signgam.c: Likewise.
42953 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42955 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42956 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42957 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42958 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42959 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42960 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42961 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42962 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42963 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42964 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42965 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42966 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42967 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42968 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42969 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42970 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42971 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42974
1991fa03
JM
429752012-03-09 Joseph Myers <joseph@codesourcery.com>
42976
42977 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42978 * sunrpc/rpc_main.c: Likewise.
42979 * sunrpc/rpc_svcout.c: Likewise.
42980
60d6f5a6
DM
429812012-03-09 David S. Miller <davem@davemloft.net>
42982
42983 * include/math_private.h: New file.
42984
4962050e
JM
429852012-03-09 Joseph Myers <joseph@codesourcery.com>
42986
02a6f887
JM
42987 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42988 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42989 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42990 from <bits/socket_type.h>.
42991 (enum __socket_type): Don't define here.
42992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42994 bits/socket_type.h.
42995
c6e013c1
JM
42996 [BZ #13566]
42997 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42998 checking __USE_GNU.
42999
4962050e
JM
43000 * Makerules ($(inst_includedir)/%.h): New rule.
43001 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43002 (install-others): Remove variable setting.
43003 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43004
38842f45
RH
430052012-03-08 Richard Henderson <rth@twiddle.net>
43006
67bb6da6
RH
43007 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43008 from macro to inline function; merge with the
43009 !__LIBC_INTERNAL_MATH_INLINES version.
43010 (__ieee754_sqrtf): Likewise.
43011
15194b4b
RH
43012 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43013 to inline function.
43014 (__rintf, __floor, __floorf): Likewise.
43015
64e21ede
RH
43016 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43017 macro to inline function.
43018 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43019
38842f45
RH
43020 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43021 not <math/math_private.h>.
43022
c64bf5fe
DM
430232012-03-08 David S. Miller <davem@davemloft.net>
43024
43025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43026 copyright year.
43027 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43028
82d86f28
TS
430292012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43030
43031 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43032 normalization.
43033 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43034 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43035
aea5d727
UD
430362012-03-08 Ulrich Drepper <drepper@gmail.com>
43037
43038 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43039 be defined individually, they must be defined as a block. Define
43040 S for printing a string instead of hidint the different by using a
43041 macro for adding the 'l'.
43042 * stdio-common/tst-fphex-wide.c: Adjust.
43043
70bca0a3
MP
430442012-03-07 Marek Polacek <polacek@redhat.com>
43045
43046 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43047
65b81130
MP
430482012-03-08 Marek Polacek <polacek@redhat.com>
43049
43050 [BZ #13806]
43051 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43052 * stdio-common/tst-fphex.c: Define a few macros to make the
43053 test reusable. Use them.
43054 * stdio-common/tst-fphex-wide.c: New file.
43055
07037eeb
JM
430562012-03-08 Joseph Myers <joseph@codesourcery.com>
43057
a7a93d50
JM
43058 [BZ #6911]
43059 * manual/macros.texi (gnusystems): New macro.
43060 (nongnusystems): Likewise.
43061 (gnulinuxhurdsystems): Likewise.
43062 (gnuhurdsystems): Likewise..
43063 (gnulinuxsystems): Likewise.
43064 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43065 variants of the GNU system, not "GNU system".
43066 * manual/conf.texi: Likewise.
43067 * manual/errno.texi: Likewise. Update example of errno macro
43068 expansion.
43069 * manual/filesys.texi: Likewise.
43070 (getumask): Document as specific to GNU/Hurd.
43071 * manual/install.texi: Likewise. Reword some references to
43072 GNU/Linux.
43073 * manual/intro.texi: Likewise.
43074 * manual/io.texi: Likewise.
43075 (File Name Portability): Detail which constraints are inapplicable
43076 to all GNU systems and which are only inapplicable to GNU/Hurd.
43077 * manual/job.texi: Likewise.
43078 * manual/llio.texi: Likewise.
43079 (O_NOCTTY): Document as present on GNU/Linux.
43080 * manual/maint.texi: Likewise.
43081 * manual/memory.texi: Likewise.
43082 * manual/pattern.texi: Likewise.
43083 * manual/pipe.texi: Likewise.
43084 * manual/process.texi: Likewise.
43085 * manual/resource.texi: Likewise.
43086 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43087 child on GNU/Hurd.
43088 * manual/setjmp.texi: Likewise.
43089 * manual/signal.texi: Likewise.
43090 * manual/startup.texi: Likewise.
43091 * manual/stdio.texi: Likewise.
43092 * manual/terminal.texi: Likewise.
43093 (ONLCR): Document as POSIX.
43094 (OXTABS): Document availability on GNU/Linux as XTABS.
43095 (ONOEOT): Document availability separately from other bits.
43096 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43097 * manual/time.texi: Likewise.
43098 * manual/users.texi: Likewise.
43099 * INSTALL: Regenerated.
43100 * sysdeps/gnu/errlist.c: Regenerated.
43101
07037eeb
JM
43102 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43103 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43104 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43105 puts.
43106 * configure: Regenerated.
43107
d1d3431a
JM
431082012-03-07 Joseph Myers <joseph@codesourcery.com>
43109
af6a1e37
JM
43110 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43111 default includes instead of AC_HEADER_CHECK.
43112 * sysdeps/i386/configure: Regenerated.
43113
d1d3431a
JM
43114 [BZ #10716]
43115 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43116 * math/s_cacoshf.c (__cacoshf): Likewise.
43117 * math/s_cacoshl.c (__cacoshl): Likewise.
43118 * math/s_casinh.c (__casinh): Set signs of result from argument.
43119 * math/s_casinhf.c (__casinhf): Likewise.
43120 * math/s_casinhl.c (__casinhl): Likewise.
43121 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43122 (casinh_test): Add more tests.
43123 * sysdeps/i386/fpu/libm-test-ulps: Update.
43124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43125
482ff4da
UD
431262012-03-07 Ulrich Drepper <drepper@gmail.com>
43127
872fda05
UD
43128 * po/zh_TW.po: Update from translation team.
43129
a4300c7a
UD
43130 * login/Makefile (distribute): Remove variable.
43131 * catgets/Makefile: Likewise.
43132 * mach/Makefile: Likewise.
43133 * malloc/Makefile: Likewise.
43134 * misc/Makefile: Likewise.
43135 * iconv/Makefile: Likewise.
43136 * nscd/Makefile: Likewise.
43137 * hurd/Makefile: Likewise.
43138 * manual/Makefile: Likewise.
43139 * locale/Makefile: Likewise.
43140 * intl/Makefile: Likewise.
43141 * conform/Makefile: Likewise.
43142 * nss/Makefile: Likewise.
43143 * time/Makefile: Likewise.
43144 * soft-fp/Makefile: Likewise.
43145 * dirent/Makefile: Likewise.
43146 * gmon/Makefile: Likewise.
43147 * po/Makefile: Likewise.
43148 * rt/Makefile: Likewise.
43149 * socket/Makefile: Likewise.
43150 * math/Makefile: Likewise.
43151 * signal/Makefile: Likewise.
43152 * debug/Makefile: Likewise.
43153 * elf/Makefile: Likewise.
43154 * timezone/Makefile: Likewise.
43155 * stdlib/Makefile: Likewise.
43156 * iconvdata/Makefile: Likewise.
43157 * sunrpc/Makefile: Likewise.
43158 * io/Makefile: Likewise.
43159 * argp/Makefile: Likewise.
43160 * inet/Makefile: Likewise.
43161 * hesiod/Makefile: Likewise.
43162 * grp/Makefile: Likewise.
43163 * csu/Makefile: Likewise.
43164 * wctype/Makefile: Likewise.
43165 * crypt/Makefile: Likewise.
43166 * libio/Makefile: Likewise.
43167 * string/Makefile: Likewise.
43168 * nis/Makefile: Likewise.
43169 * resolv/Makefile: Likewise.
43170 * stdio-common/Makefile: Likewise.
43171 * wcsmbs/Makefile: Likewise.
43172 * dlfcn/Makefile: Likewise.
43173 * posix/Makefile: Likewise.
43174
3b7c4e74 43175 [BZ #6959]
482ff4da
UD
43176 * timezone/Makefile: Don't install timezone files, just the programs
43177 and scripts.
43178
f72ed77d
UD
431792012-03-06 Ulrich Drepper <drepper@gmail.com>
43180
a000466f
UD
43181 * nss/databases.def: Add missing gshadow entry.
43182
f72ed77d
UD
43183 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43184
a53b7a4e
MP
431852012-03-06 Marek Polacek <polacek@redhat.com>
43186
43187 [BZ #13726]
43188 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43189 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43190 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43191 * stdio-common/tst-long-dbl-fphex.c: New file.
43192
e9258400
DM
431932012-03-06 David S. Miller <davem@davemloft.net>
43194
43195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43196 (set_obp_int): New function.
43197 (get_obp_int): New function.
43198 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43199 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43200 Avoid unused variable warnings on 'val' and use builtin_expect.
43201 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43202 __builtin_expect.
e9258400
DM
43203 (INLINE_CLONE_SYSCALL): Likewise.
43204
3bd2c723
DM
432052012-03-05 David S. Miller <davem@davemloft.net>
43206
43207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43208
bbb78d03
AS
432092012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43210
884c5db4
AS
43211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43212
bbb78d03
AS
43213 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43214 only for |x| >= 40.
43215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43216
1c9f702a 432172012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43218
43219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43220 Replace gettimeofday with __vdso_gettimeofday.
43221
7be16f82
RM
43222 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43223 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43224 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43225
43226 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43227 time with __vdso_time.
43228
ed58a00f
JM
432292012-03-05 Joseph Myers <joseph@codesourcery.com>
43230
43231 * manual/lang.texi (size_t): Note types to which size_t may be
43232 equivalent with the GNU C Library, but do not describe when
43233 differences between them are significant.
43234
30ee4ced
AJ
432352012-03-05 Andreas Jaeger <aj@suse.de>
43236
43237 * sysdeps/i386/fpu/libm-test-ulps: Update.
43238
b7cd39e8
JM
432392012-03-05 Joseph Myers <joseph@codesourcery.com>
43240
43241 [BZ #3976]
43242 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43243 (__ieee754_pow): Save and restore rounding mode and use
43244 round-to-nearest for main computations.
43245 * math/libm-test.inc (pow_test_tonearest): New function.
43246 (pow_test_towardzero): Likewise.
43247 (pow_test_downward): Likewise.
43248 (pow_test_upward): Likewise.
43249 (main): Call the new functions.
43250 * sysdeps/i386/fpu/libm-test-ulps: Update.
43251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43252
43253 [BZ #3976]
43254 * math/libm-test.inc (cosh_test_tonearest): New function.
43255 (cosh_test_towardzero): Likewise.
43256 (cosh_test_downward): Likewise.
43257 (cosh_test_upward): Likewise.
43258 (sinh_test_tonearest): Likewise.
43259 (sinh_test_towardzero): Likewise.
43260 (sinh_test_downward): Likewise.
43261 (sinh_test_upward): Likewise.
43262 (main): Call the new functions.
43263 * sysdeps/i386/fpu/libm-test-ulps: Update.
43264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43265
6c6a98c9
TV
432662012-03-05 Tom de Vries <tom@codesourcery.com>
43267
43268 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43269 default stack guard is set in last bytes.
43270 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43271
21bb2d2e 432722012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43273
21bb2d2e 43274 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43275
21bb2d2e
AJ
43276 [BZ #13656]
43277 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43278 possibly allocate from heap instead of stack.
43279 * stdio-common/bug-vfprintf-nargs.c: New file.
43280 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43281
c6922934
AS
432822012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43283
43284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43285
bc957d53
MP
432862012-03-03 Marek Polacek <polacek@redhat.com>
43287
43288 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43289 * math/math_private.h: Likewise.
43290 * stdlib/tst-strtod.c: Likewise.
43291 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43292 * sysdeps/x86_64/bits/atomic.h: Likewise.
43293
6358490d
DM
432942012-03-02 David S. Miller <davem@davemloft.net>
43295
43296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43300 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43301 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43302 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43303 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43304
01ae168d
RM
433052012-03-02 Roland McGrath <roland@hack.frob.com>
43306
d9a17c07
RM
43307 [BZ #13792]
43308 * manual/examples/README: New file, says the example source files
43309 can be used under GPL>=2.
43310 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43311 line containing just "*/".
43312 * manual/examples/add.c: Add copyright header (GPL>=2).
43313 * manual/examples/argp-ex1.c: Likewise.
43314 * manual/examples/argp-ex2.c: Likewise.
43315 * manual/examples/argp-ex3.c: Likewise.
43316 * manual/examples/argp-ex4.c: Likewise.
43317 * manual/examples/atexit.c: Likewise.
43318 * manual/examples/db.c: Likewise.
43319 * manual/examples/dir.c: Likewise.
43320 * manual/examples/dir2.c: Likewise.
43321 * manual/examples/execinfo.c: Likewise.
43322 * manual/examples/filecli.c: Likewise.
43323 * manual/examples/filesrv.c: Likewise.
43324 * manual/examples/fmtmsgexpl.c: Likewise.
43325 * manual/examples/genpass.c: Likewise.
43326 * manual/examples/inetcli.c: Likewise.
43327 * manual/examples/inetsrv.c: Likewise.
43328 * manual/examples/isockad.c: Likewise.
43329 * manual/examples/longopt.c: Likewise.
43330 * manual/examples/memopen.c: Likewise.
43331 * manual/examples/memstrm.c: Likewise.
43332 * manual/examples/mkfsock.c: Likewise.
43333 * manual/examples/mkisock.c: Likewise.
43334 * manual/examples/mygetpass.c: Likewise.
43335 * manual/examples/pipe.c: Likewise.
43336 * manual/examples/popen.c: Likewise.
43337 * manual/examples/rprintf.c: Likewise.
43338 * manual/examples/search.c: Likewise.
43339 * manual/examples/select.c: Likewise.
43340 * manual/examples/setjmp.c: Likewise.
43341 * manual/examples/sigh1.c: Likewise.
43342 * manual/examples/sigusr.c: Likewise.
43343 * manual/examples/stpcpy.c: Likewise.
43344 * manual/examples/strdupa.c: Likewise.
43345 * manual/examples/strftim.c: Likewise.
43346 * manual/examples/strncat.c: Likewise.
43347 * manual/examples/subopt.c: Likewise.
43348 * manual/examples/swapcontext.c: Likewise.
43349 * manual/examples/termios.c: Likewise.
43350 * manual/examples/testopt.c: Likewise.
43351 * manual/examples/testpass.c: Likewise.
43352 * manual/examples/timeval_subtract.c: Likewise.
43353
01ae168d
RM
43354 [BZ #13792]
43355 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43356 function to ...
43357 * manual/timeval_subtract.c.texi: ... here, new file.
43358
49efa33d
DM
433592012-03-02 David S. Miller <davem@davemloft.net>
43360
43361 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43362
28afd92d
JM
433632012-03-02 Joseph Myers <joseph@codesourcery.com>
43364
804360ed
JM
43365 [BZ #3976]
43366 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43367 (__sin): Save and restore rounding mode and use round-to-nearest
43368 for all computations.
43369 (__cos): Save and restore rounding mode and use round-to-nearest
43370 for all computations.
43371 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43372 <fenv.h>.
43373 (tan): Save and restore rounding mode and use round-to-nearest for
43374 all computations.
43375 * math/libm-test.inc (cos_test_tonearest): New function.
43376 (cos_test_towardzero): Likewise.
43377 (cos_test_downward): Likewise.
43378 (cos_test_upward): Likewise.
43379 (sin_test_tonearest): Likewise.
43380 (sin_test_towardzero): Likewise.
43381 (sin_test_downward): Likewise.
43382 (sin_test_upward): Likewise.
43383 (tan_test_tonearest): Likewise.
43384 (tan_test_towardzero): Likewise.
43385 (tan_test_downward): Likewise.
43386 (tan_test_upward): Likewise.
43387 (main): Call the new functions.
43388 * sysdeps/i386/fpu/libm-test-ulps: Update.
43389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43390
a6d06d7b
JM
43391 [BZ #10135]
43392 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43393 small n, then large n, before computing and testing k+n.
43394 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43396 Likewise.
43397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43398 Likewise.
43399 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43400 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43402 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43403 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43404 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43407 * math/libm-test.inc (scalbn_test): Add more tests.
43408 (scalbln_test): Likewise.
43409
07e12bb3
JM
43410 * manual/filesys.texi (mode_t): Describe constraints on size and
43411 signedness, not exact equivalence to a particular type.
43412 (ino_t): Likewise.
43413 (ino64_t): Likewise.
43414 (dev_t): Likewise.
43415 (nlink_t): Likewise.
43416 (blkcnt_t): Likewise.
43417 (blkcnt64_t): Likewise.
43418 * manual/llio.texi (off_t): Likewise.
43419
28afd92d
JM
43420 [BZ #3976]
43421 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43422 (__ieee754_exp): Save and restore rounding mode and use
43423 round-to-nearest for all computations.
43424 * math/libm-test.inc (exp_test_tonearest): New function.
43425 (exp_test_towardzero): Likewise.
43426 (exp_test_downward): Likewise.
43427 (exp_test_upward): Likewise.
43428 (main): Call the new functions.
43429 * sysdeps/i386/fpu/libm-test-ulps: Update.
43430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43431
b1eeb65d
CD
434322012-03-01 Chris Demetriou <cgd@google.com>
43433
43434 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43435 have predictable order.
43436
53362a4b
DM
434372012-03-01 David S. Miller <davem@davemloft.net>
43438
3c969083
DM
43439 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43440
759707de
DM
43441 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43442 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43443 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43444 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43445
dfdb8ff2
DM
43446 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43447 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43448 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43450 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43451 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43452 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43453 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43454 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43455
ead89f96
DM
43456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43457
7f66bd07
DM
43458 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43459 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43460 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43461
53362a4b
DM
43462 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43463 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43464 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43465 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43466 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43467 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43469 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43470 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43471 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43472 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43473 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43475 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43476 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43478 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43479 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43480 * sysdeps/sparc/elf/configure: Regenerated.
43481
7b1902cb
JM
434822012-03-01 Joseph Myers <joseph@codesourcery.com>
43483
bec039bc
JM
43484 * configure.in (AS, LD): Require binutils 2.20 or later.
43485 * configure: Regenerated.
43486 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43487 as required minimum version.
43488 * INSTALL: Regenerated.
43489
7b1902cb
JM
43490 [BZ #2541]
43491 [BZ #4108]
43492 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43493 before squaring exponent.
43494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43495 bottom long double and 27 bits of top long double before squaring
43496 exponent.
43497 * math/libm-test.inc (erfc_test): Add more tests.
43498 * sysdeps/i386/fpu/libm-test-ulps: Update.
43499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43501
f775c276
KT
435022012-03-01 Kai Tietz <ktietz@redhat.com>
43503
43504 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43505 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43506 containing bit-fields.
43507 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43508 * soft-fp/single.h (_FP_UNION_S): Likewise.
43509 * soft-fp/double.h (_FP_UNION_D): Likewise.
43510
5b8a4d4a
JM
435112012-02-29 Joseph Myers <joseph@codesourcery.com>
43512
0bab47b6
JM
43513 [BZ #13786]
43514 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43515 not include ../strcmp.S.
43516 [USE_AS_STRNCASECMP_L]: Likewise.
43517 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43518 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43519 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43520 (__strncasecmp_l_ia32): Define as alias to
43521 __strncasecmp_l_nonascii.
43522
0fcad3e2
JM
43523 [BZ #5794]
43524 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43525 * sysdeps/i386/fpu/libm-test-ulps: Update.
43526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43527
5b8a4d4a
JM
43528 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43530
8fdceb2e
JL
435312012-02-29 Jeff Law <law@redhat.com>
43532
43533 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43534 out of bounds read.
43535
1f393a11
MP
435362012-02-29 Marek Polacek <polacek@redhat.com>
43537
43538 [BZ #13706]
43539 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43540 * elf/Makefile: Add rules to run tst-unused-dep.out.
43541
8847f037
DM
435422012-02-28 David S. Miller <davem@davemloft.net>
43543
43544 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43545 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43548 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43549 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43550
169d7f11
JM
435512012-02-29 Joseph Myers <joseph@codesourcery.com>
43552
43553 * math/libm-test.inc (llround_test): Move one test from
43554 lround_test. Use TEST_f_L in moved test.
43555 (lround_test): Move misplaced test to llround_test. Add testcase
43556 from bug 2561.
43557
39adf059
UD
435582012-02-28 Ulrich Drepper <drepper@gmail.com>
43559
43560 * sysdeps/x86_64/fpu/e_expf.S: New file.
43561 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43562
71b5d1c5
SB
435632012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43564
43565 [BZ #13637]
43566 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43567 of remain_len that may cause incomplete multi-byte character and
43568 false match.
43569 * posix/bug-regex33.c: New file.
43570 * posix/Makefile (tests): Add bug-regex33.
43571
1f77f049
JM
435722012-02-28 Joseph Myers <joseph@codesourcery.com>
43573
43574 * manual/macros.texi: New file.
43575 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43576 * manual/libc.texinfo: Include macros.texi.
43577 * manual/creatute.texi: Likewise.
43578 * manual/install.texi: Likewise.
43579 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43580 @glibcadj{} in references to the GNU C Library.
43581 * manual/charset.texi: Likewise.
43582 * manual/conf.texi: Likewise.
43583 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43584 when not using those macros.
43585 * manual/creature.texi: Likewise.
43586 * manual/crypt.texi: Likewise.
43587 * manual/errno.texi: Likewise.
43588 * manual/filesys.texi: Likewise.
43589 * manual/header.texi: Likewise.
43590 * manual/install.texi: Likewise.
43591 * manual/intro.texi: Likewise.
43592 * manual/io.texi: Likewise.
43593 * manual/job.texi: Likewise.
43594 * manual/lang.texi: Likewise.
43595 * manual/libc.texiinfo: Likewise.
43596 * manual/llio.texi: Likewise.
43597 * manual/locale.texi: Likewise.
43598 * manual/maint.texi: Likewise.
43599 * manual/math.texi: Likewise.
43600 * manual/memory.texi: Likewise.
43601 * manual/message.texi: Likewise.
43602 * manual/nss.texi: Likewise.
43603 * manual/pattern.texi: Likewise.
43604 * manual/process.texi: Likewise.
43605 * manual/resource.texi: Likewise.
43606 * manual/search.texi: Likewise.
43607 * manual/setjmp.texi: Likewise.
43608 * manual/signal.texi: Likewise.
43609 * manual/socket.texi: Likewise.
43610 * manual/startup.texi: Likewise.
43611 * manual/stdio.texi: Likewise.
43612 * manual/string.texi: Likewise.
43613 * manual/sysinfo.texi: Likewise.
43614 * manual/syslog.texi: Likewise.
43615 * manual/terminal.texi: Likewise.
43616 * manual/time.texi: Likewise.
43617 * manual/users.texi: Likewise.
43618 * INSTALL: Regenerated.
43619 * NOTES: Regenerated.
d40c5d54 43620 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43621
450bf206
AS
436222012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43623
43624 * include/dirent.h: Include <dirstream.h> before
43625 <dirent/dirent.h>.
43626
741a235b
DM
436272012-02-28 David S. Miller <davem@davemloft.net>
43628
43629 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43630 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43631 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43632 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43633
d6b5aa58
DM
436342012-02-27 David S. Miller <davem@davemloft.net>
43635
1aff59a3
DM
43636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43638 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43639 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43640
d6b5aa58
DM
43641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43642 frame pointer instead of stack pointer relative arg slot.
43643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43644 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43645 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43646
433f48bf
CD
436472012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43648
43649 [BZ #3992]
43650 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43651
d674b76d
DM
436522012-02-27 David S. Miller <davem@davemloft.net>
43653
43654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43658 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43659 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43660 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43661 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43662
0e7727f7
JM
436632012-02-27 Joseph Myers <joseph@codesourcery.com>
43664
43665 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43666 later. Allow versions 5-9.
43be4ca2 43667 * configure: Regenerated.
0e7727f7
JM
43668 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43669 required minimum version and 4.6 as recommended version. Do not
43670 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43671 * INSTALL: Regenerated.
0e7727f7 43672
a78bc654
DM
436732012-02-27 David S. Miller <davem@davemloft.net>
43674
428d5830
DM
43675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43679 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43680 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43681 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43682 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43683
a78bc654
DM
43684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43685 manipulate bits before adding and subtracting TWO112[sx].
43686 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43687
4579f81c
RM
436882012-02-27 Roland McGrath <roland@hack.frob.com>
43689
36c8acb4
RM
43690 [BZ #13775]
43691 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43692 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43693 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43694 being in POSIX, because they are in 1003.1-2008.
43695
84ad622b
RM
43696 * rt/tst-aio.c: Include <fcntl.h>.
43697 * rt/tst-aio7.c: Likewise.
43698 * rt/tst-aio64.c: Likewise.
43699
4579f81c
RM
43700 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43701
abd923db
JM
437022012-02-27 Joseph Myers <joseph@codesourcery.com>
43703
43704 * manual/install.texi (--with-headers): Describe headers as
43705 interface headers, not private headers.
43706 (Specific advice for GNU/Linux systems): Describe use of headers
43707 from "make headers_install", not private headers from older
43708 kernels.
43be4ca2 43709 * INSTALL: Regenerated.
abd923db
JM
43710 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43711 Change to 2.6.19.
43712 * sysdeps/unix/sysv/linux/configure: Regenerated.
43713
6664049b
JM
43714 * manual/llio.texi (fclean): Remove documentation.
43715
bb8b6697
JM
43716 * manual/Makefile (libc-texi-generated): New variable. Include
43717 version.texi.
43718 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43719 $(libc-texi-generated), not duplicated list of files.
43720 (version.texi, stamp-version): New rules.
43721 (realclean): Remove $(libc-texi-generated), not individual files
43722 from that list. Do not remove dir-add.texinfo.
43723 * manual/libc.texinfo: Comment out uses of edition numbers and
43724 references to printed manual. Remove last-updated dates.
43725 (EDITION): Comment out.
43726 (ISBN): Likewise.
43727 (VERSION, UPDATED): Remove.
43728 (version.texi): Include.
43729
12e5c3b9
AS
437302012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43731
43732 * sysdeps/posix/spawni.c: Include <signal.h>.
43733 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43734 * sysdeps/pthread/aio_fsync.c: Likewise.
43735
4efeffc1 437362012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43737
ba63ba08
UD
43738 * conform/Makefile (tests): Run only when not cross-compiling and
43739 when fast-check is not defined.
43740
d94a4670
UD
43741 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43742 * conform/data/limits.h-data: Fixes for POSIX2008.
43743 * conform/run-conformtest.sh: Run all tests.
43744 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43745 headers.
43746 * include/bits/dlfcn.h: Likewise.
43747 * include/langinfo.h: Likewise.
43748 * include/monetary.h: Likewise.
43749 * include/sys/poll.h: Likewise.
43750
43751 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43752 for __USE_GNU.
43753 * posix/spawn.h: Define __need_sigset_t.
43754 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43755 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43756 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43757 to get sigevent_t only.
43758 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43759 only for __USE_GNU.
43760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43761 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43762 process_vm_writev only for __USE_GNU.
43763 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43764
43765 * conform/Makefile: For now ignore errors from run-conformtest.
43766 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43767 POSIX to avoid namespace pollution. Don't prepend headers.
43768 * conform/data/aio.h-data: Fixes for POSIX testing.
43769 * conform/data/fcntl.h-data: Likewise.
43770 * conform/data/glob.h-data: Likewise.
43771 * conform/data/grp.h-data: Likewise.
43772 * conform/data/pthread.h-data: Likewise.
43773 * conform/data/pwd.h-data: Likewise.
43774 * conform/data/signal.h-data: Likewise.
43775 * conform/data/spawn.h-data: Likewise.
43776 * conform/data/stdio.h-data: Likewise.
43777 * conform/data/stdlib.h-data: Likewise.
43778 * conform/data/stropts.h-data: Likewise.
43779 * conform/data/sys/mman.h-data: Likewise.
43780 * conform/data/sys/stat.h-data: Likewise.
43781 * conform/data/sys/types.h-data: Likewise.
43782 * conform/data/sys/wait.h-data: Likewise.
43783 * conform/data/time.h-data: Likewise.
43784 * conform/data/unistd.h-data: Likewise.
43785 * conform/data/utime.h-data: Likewise.
43786
43787 * io/sys/stat.h: fchmod was always in POSIX.
43788 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43789 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43790 * rt/aio.h: Define __need_timespec before including <time.h>.
43791 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43792 struct. Add forward declaration of pthread_attr_t and use it in
43793 sigevent.
43794 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43796 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43797 always remove CLK_TCK definition.
43798
c20105c3
AS
437992012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43800
43801 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43802
7a270350
UD
438032012-02-25 Ulrich Drepper <drepper@gmail.com>
43804
31341567
UD
43805 * conform/run-conformtest.sh: New file.
43806 * conform/Makefile: Run run-conformtest for tests.
43807 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43808 support.
43809
43810 * conform/data/uchar.h-data: New file.
43811 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43812 * conform/data/arpa/inet.h-data: Likewise.
43813 * conform/data/assert.h-data: Likewise.
43814 * conform/data/complex.h-data: Likewise.
43815 * conform/data/cpio.h-data: Likewise.
43816 * conform/data/ctype.h-data: Likewise.
43817 * conform/data/dirent.h-data: Likewise.
43818 * conform/data/dlfcn.h-data: Likewise.
43819 * conform/data/errno.h-data: Likewise.
43820 * conform/data/fcntl.h-data: Likewise.
43821 * conform/data/float.h-data: Likewise.
43822 * conform/data/fmtmsg.h-data: Likewise.
43823 * conform/data/fnmatch.h-data: Likewise.
43824 * conform/data/ftw.h-data: Likewise.
43825 * conform/data/glob.h-data: Likewise.
43826 * conform/data/grp.h-data: Likewise.
43827 * conform/data/iconv.h-data: Likewise.
43828 * conform/data/inttypes.h-data: Likewise.
43829 * conform/data/langinfo.h-data: Likewise.
43830 * conform/data/libgen.h-data: Likewise.
43831 * conform/data/limits.h-data: Likewise.
43832 * conform/data/locale.h-data: Likewise.
43833 * conform/data/math.h-data: Likewise.
43834 * conform/data/monetary.h-data: Likewise.
43835 * conform/data/mqueue.h-data: Likewise.
43836 * conform/data/ndbm.h-data: Likewise.
43837 * conform/data/net/if.h-data: Likewise.
43838 * conform/data/netdb.h-data: Likewise.
43839 * conform/data/netinet/in.h-data: Likewise.
43840 * conform/data/nl_types.h-data: Likewise.
43841 * conform/data/poll.h-data: Likewise.
43842 * conform/data/pthread.h-data: Likewise.
43843 * conform/data/pwd.h-data: Likewise.
43844 * conform/data/regex.h-data: Likewise.
43845 * conform/data/sched.h-data: Likewise.
43846 * conform/data/search.h-data: Likewise.
43847 * conform/data/semaphore.h-data: Likewise.
43848 * conform/data/setjmp.h-data: Likewise.
43849 * conform/data/signal.h-data: Likewise.
43850 * conform/data/spawn.h-data: Likewise.
43851 * conform/data/stdarg.h-data: Likewise.
43852 * conform/data/stdio.h-data: Likewise.
43853 * conform/data/stdlib.h-data: Likewise.
43854 * conform/data/string.h-data: Likewise.
43855 * conform/data/strings.h-data: Likewise.
43856 * conform/data/stropts.h-data: Likewise.
43857 * conform/data/sys/ipc.h-data: Likewise.
43858 * conform/data/sys/mman.h-data: Likewise.
43859 * conform/data/sys/msg.h-data: Likewise.
43860 * conform/data/sys/resource.h-data: Likewise.
43861 * conform/data/sys/select.h-data: Likewise.
43862 * conform/data/sys/sem.h-data: Likewise.
43863 * conform/data/sys/shm.h-data: Likewise.
43864 * conform/data/sys/socket.h-data: Likewise.
43865 * conform/data/sys/stat.h-data: Likewise.
43866 * conform/data/sys/statvfs.h-data: Likewise.
43867 * conform/data/sys/time.h-data: Likewise.
43868 * conform/data/sys/timeb.h-data: Likewise.
43869 * conform/data/sys/times.h-data: Likewise.
43870 * conform/data/sys/types.h-data: Likewise.
43871 * conform/data/sys/uio.h-data: Likewise.
43872 * conform/data/sys/un.h-data: Likewise.
43873 * conform/data/sys/utsname.h-data: Likewise.
43874 * conform/data/sys/wait.h-data: Likewise.
43875 * conform/data/syslog.h-data: Likewise.
43876 * conform/data/tar.h-data: Likewise.
43877 * conform/data/termios.h-data: Likewise.
43878 * conform/data/utime.h-data: Likewise.
43879 * conform/data/utmpx.h-data: Likewise.
43880 * conform/data/varargs.h-data: Likewise.
43881 * conform/data/wchar.h-data: Likewise.
43882 * conform/data/wctype.h-data: Likewise.
43883 * conform/data/wordexp.h-data: Likewise.
43884
43885 * include/stropts.h: New file.
43886 * include/uchar.h: New file.
43887 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43888 * include/assert.h: Likewise.
43889 * include/ctype.h: Likewise.
43890 * include/dirent.h: Likewise.
43891 * include/dlfcn.h: Likewise.
43892 * include/fcntl.h: Likewise.
43893 * include/fnmatch.h: Likewise.
43894 * include/glob.h: Likewise.
43895 * include/grp.h: Likewise.
43896 * include/libio.h: Likewise.
43897 * include/locale.h: Likewise.
43898 * include/math.h: Likewise.
43899 * include/net/if.h: Likewise.
43900 * include/netdb.h: Likewise.
43901 * include/netinet/in.h: Likewise.
43902 * include/pthread.h: Likewise.
43903 * include/pwd.h: Likewise.
43904 * include/regex.h: Likewise.
43905 * include/sched.h: Likewise.
43906 * include/search.h: Likewise.
43907 * include/setjmp.h: Likewise.
43908 * include/signal.h: Likewise.
43909 * include/stdio.h: Likewise.
43910 * include/stdlib.h: Likewise.
43911 * include/string.h: Likewise.
43912 * include/sys/cdefs.h: Likewise.
43913 * include/sys/mman.h: Likewise.
43914 * include/sys/msg.h: Likewise.
43915 * include/sys/resource.h: Likewise.
43916 * include/sys/select.h: Likewise.
43917 * include/sys/socket.h: Likewise.
43918 * include/sys/stat.h: Likewise.
43919 * include/sys/statvfs.h: Likewise.
43920 * include/sys/time.h: Likewise.
43921 * include/sys/times.h: Likewise.
43922 * include/sys/uio.h: Likewise.
43923 * include/sys/utsname.h: Likewise.
43924 * include/sys/wait.h: Likewise.
43925 * include/termios.h: Likewise.
43926 * include/time.h: Likewise.
43927 * include/ulimit.h: Likewise.
43928 * include/unistd.h: Likewise.
43929 * include/utime.h: Likewise.
43930 * include/wchar.h: Likewise.
43931 * include/wctype.h: Likewise.
43932 * include/wordexp.h: Likewise.
43933
43934 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43935
7a270350
UD
43936 * time/time.h: TIME_UTC must be a macro.
43937 Make timespec_get available for ISO C11 only as well.
43938
7724defc
UD
439392012-02-24 Ulrich Drepper <drepper@gmail.com>
43940
43941 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43942 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43943
6b1d1d46
JM
439442012-02-24 Joseph Myers <joseph@codesourcery.com>
43945
43946 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43947
0f8bbd69
JM
439482012-02-24 Joseph Myers <joseph@codesourcery.com>
43949
43950 * manual/texinfo.tex: Update to version 2012-01-19.16.
43951
66ab80bc
JM
439522012-02-24 Joseph Myers <joseph@codesourcery.com>
43953
43954 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43955
74981cc5
RM
439562012-02-24 Roland McGrath <roland@hack.frob.com>
43957
ee968201
RM
43958 [BZ #13738]
43959 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43960 * manual/fdl-1.3.texi: New file.
43961 * manual/fdl-1.1.texi: File removed.
43962
74981cc5
RM
43963 [BZ #13738]
43964 * manual/libc.texinfo (FDL_VERSION): New @set.
43965 Use it for mention of FDL in cover text.
43966 (Documentation License): Use it in @include file name.
43967
7bb764bc
JM
439682012-02-22 Joseph Myers <joseph@codesourcery.com>
43969 Roland McGrath <roland@hack.frob.com>
43970
43971 [BZ #5461]
57f41c40
AS
43972 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43973 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43974 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43975 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43976 name.
43977 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43978
6cbeae47
JM
439792012-02-22 Joseph Myers <joseph@codesourcery.com>
43980
43981 [BZ #2547]
43982 [BZ #11365]
43983 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43984 manipulate bits before adding and subtracting TWO23[sx].
43985 * math/libm-test.inc (nearbyint_test): Add more tests.
43986
fe45ce09
JM
439872012-02-22 Joseph Myers <joseph@codesourcery.com>
43988
43989 [BZ #2548]
43990 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43991 bits before adding and subtracting TWO23[sx].
43992 * math/libm-test.inc (rint_test): Add more tests.
43993 (rint_test_tonearest): Likewise.
43994 (rint_test_towardzero): Likewise.
43995 (rint_test_downward): Likewise.
43996 (rint_test_upward: Likewise.
43997
ff3b3d82
JM
439982012-02-22 Joseph Myers <joseph@codesourcery.com>
43999
44000 [BZ #10110]
44001 * include/stdc-predef.h: New file. Extracted from features.h.
44002 * include/features.h: Include stdc-predef.h.
44003 * Makefile (headers): Add stdc-predef.h.
44004 * CONFORMANCE (Compiler limitations): Update.
44005
ef0aab35
JM
440062012-02-22 Joseph Myers <joseph@codesourcery.com>
44007
44008 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44009
58639409
DM
440102012-02-21 David S. Miller <davem@davemloft.net>
44011
44012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44014
c0e70b25
DM
440152012-02-20 David S. Miller <davem@davemloft.net>
44016
44017 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44018 using a normal save/restore sequence, rather than allocating a
44019 dummy stack frame just to store a frame pointer and restore.
44020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44021
fb06851d
JM
440222012-02-21 Joseph Myers <joseph@codesourcery.com>
44023
44024 * manual/install.texi: Fix stray word in line-wrapped comment.
44025
7a8b71c3
DM
440262012-02-20 David S. Miller <davem@davemloft.net>
44027
d510c123
DM
44028 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44029 both binutils and gcc support GOTDATA.
44030
0722d7c2
DM
44031 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44032 "rd %pc" in the PIC register setup sequences.
44033
3d2b3019
DM
44034 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44035 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44036 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44037 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44038 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44040 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44041 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44043 (SYSCALL_ERROR_HANDLER): Likewise.
44044 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44045 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44046 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44047 (SYSCALL_ERROR_HANDLER): Likewise.
44048
c80098a9
DM
44049 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44050 (HAVE_GCC_GOTDATA): New.
44051 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44052 relocation support in both binutils and gcc.
44053 * sysdeps/sparc/elf/configure: Regenerate.
44054
3a2545a0
DM
44055 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44056 * sysdeps/sparc/sparc32/elf/configure: Delete.
44057 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44058 * sysdeps/sparc/sparc64/elf/configure: Delete.
44059 * sysdeps/sparc/elf/configure.in: New file.
44060 * sysdeps/sparc/elf/configure: Generate.
44061
7a8b71c3
DM
44062 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44063 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44064 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44065 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44066 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44067
f1e86fca
JM
440682012-02-21 Joseph Myers <joseph@codesourcery.com>
44069
44070 * manual/install.texi: Do not mention specific glibc version
44071 numbers.
44072 * manual/libc.texinfo (VERSION, UPDATED): Update.
44073 (@copying): Use @copyright{} and range of years.
44074
0e7dfaef
JM
440752012-02-21 Joseph Myers <joseph@codesourcery.com>
44076
44077 [BZ #13695]
44078 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44079 [crti.S not in sysdirs] (generated): Do not append.
44080 [crti.S not in sysdirs] (omit-deps): Likewise.
44081 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44082 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44083 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44084 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44085 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44086 Likewise.
44087 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44088 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44089 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44090 * csu/defs.awk: Remove file.
44091 * sysdeps/generic/initfini.c: Likewise.
44092 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44093 variable.
44094 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44095 Likewise.
44096
599af3ca
JM
440972012-02-20 Joseph Myers <joseph@codesourcery.com>
44098
44099 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44100 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44101 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44102 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44103 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44104 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44105 <bits/epoll.h>.
44106 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44107 (__EPOLL_PACKED): Define to empty if not defined by
44108 <bits/epoll.h>.
44109 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44111 bits/epoll.h.
44112
0e499750
JM
441132012-02-20 Joseph Myers <joseph@codesourcery.com>
44114
44115 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44116 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44117 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44118 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44119 <bits/timerfd.h>.
44120 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44122 bits/timerfd.h.
44123
5ad91f6e
JM
441242012-02-20 Joseph Myers <joseph@codesourcery.com>
44125
44126 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44127 in C locale.
44128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44129 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44132
06b99b02
AJ
441332012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44134
44135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44136 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44137
7638c0fd
AS
441382012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44139
44140 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44141 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44142 defined.
44143 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44144 Likewise.
44145 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44146 entry for 2.16.
44147
92221550
AJ
441482012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44149
44150 * math/w_acos.c: Use non-signaling floating-point comparisons.
44151 * math/w_acosf.c: Likewise.
44152 * math/w_acosh.c: Likewise.
44153 * math/w_acoshf.c: Likewise.
44154 * math/w_acoshl.c: Likewise.
44155 * math/w_acosl.c: Likewise.
44156 * math/w_asin.c: Likewise.
44157 * math/w_asinf.c: Likewise.
44158 * math/w_asinl.c: Likewise.
44159 * math/w_atanh.c: Likewise.
44160 * math/w_atanhf.c: Likewise.
44161 * math/w_atanhl.c: Likewise.
44162 * math/w_exp2.c: Likewise.
44163 * math/w_exp2f.c: Likewise.
44164 * math/w_exp2l.c: Likewise.
44165 * math/w_j0.c: Likewise.
44166 * math/w_j0f.c: Likewise.
44167 * math/w_j0l.c: Likewise.
44168 * math/w_j1.c: Likewise.
44169 * math/w_j1f.c: Likewise.
44170 * math/w_j1l.c: Likewise.
44171 * math/w_jn.c: Likewise.
44172 * math/w_jnf.c: Likewise.
44173 * math/w_log.c: Likewise.
44174 * math/w_log10.c: Likewise.
44175 * math/w_log10f.c: Likewise.
44176 * math/w_log10l.c: Likewise.
44177 * math/w_log2.c: Likewise.
44178 * math/w_log2f.c: Likewise.
44179 * math/w_log2l.c: Likewise.
44180 * math/w_logf.c: Likewise.
44181 * math/w_logl.c: Likewise.
44182 * math/w_sqrt.c: Likewise.
44183 * math/w_sqrtf.c: Likewise.
44184 * math/w_sqrtl.c: Likewise.
44185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44186 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44187 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44188 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44189 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44190
ebaf36eb
JM
441912012-02-19 Joseph Myers <joseph@codesourcery.com>
44192
44193 [BZ #9739]
44194 * manual/string.texi (strnlen): Use correct parameter name in
44195 equivalent expression.
44196
71c254a6
JM
441972012-02-19 Joseph Myers <joseph@codesourcery.com>
44198
44199 [BZ #11174]
44200 * manual/users.texi (seteuid): Consistently use neweuid for
44201 argument name.
44202
16d2c631
JM
442032012-02-19 Joseph Myers <joseph@codesourcery.com>
44204
44205 [BZ #13704]
44206 * manual/nss.texi (Services in the NSS configuration): Correct
44207 list of services in example configuration file.
44208
cd837b09
NB
442092012-02-19 Nick Bowler <nbowler@draconx.ca>
44210
44211 [BZ #11322]
44212 * manual/arith.texi: Remove statements about negative zero
44213 behaving identically to zero.
44214
02c4bbad
JM
442152012-02-18 Joseph Myers <joseph@codesourcery.com>
44216
44217 [BZ #5993]
44218 * manual/install.texi: Do not document upgrading from libc5.
44219
366842e7
JM
442202012-02-18 Joseph Myers <joseph@codesourcery.com>
44221
44222 [BZ #4596]
44223 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44224
dd54084d
DM
442252012-02-18 David S. Miller <davem@davemloft.net>
44226
44227 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44228 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44229 %o7 across the call.
44230 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44231 instead.
44232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44233 SETUP_PIC_REG_LEAF.
44234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44235 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44236 * sysdeps/sparc/crtn.S: Likewise.
44237
2bcc53a3
UD
442382012-02-17 Ulrich Drepper <drepper@gmail.com>
44239
44240 * aout/Makefile: Remove.
44241
09c093b5
RK
442422012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44243
44244 [BZ #13058]
44245 * manual/examples/argp-ex1.c (main): Format definition in GNU
44246 style.
44247 * manual/examples/argp-ex2.c (main): Likewise.
44248 * manual/examples/argp-ex3.c (main): Likewise.
44249 * manual/examples/argp-ex4.c (main): Likewise.
44250 * manual/examples/longopt.c (main): Use new-style prototype
44251 definition.
44252 * manual/examples/strncat.c (main): Specify return type and use
44253 (void) for arguments.
44254 * manual/examples/subopt.c (main): Use char **argv argument.
44255
2ee633a2
JM
442562012-02-17 Joseph Myers <joseph@codesourcery.com>
44257
44258 [BZ #5077]
44259 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44260 rounding modes.
44261
0520adde
FB
442622012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44263
44264 [BZ #6907]
44265 * manual/string.texi (strchr): Change when strchrnul is
44266 recommended.
44267
3f4081cd
DGM
442682012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44269
44270 [BZ #174]
44271 * manual/locale.texi (setlocale): Document LOCPATH.
44272
d1b10e78
JM
442732012-02-17 Joseph Myers <joseph@codesourcery.com>
44274
44275 [BZ #10210]
44276 * manual/process.texi (execle): Move @dots{} before last argument.
44277
79c6869c
PB
442782012-02-17 Paul Bolle <pebolle@tiscali.nl>
44279
44280 [BZ #12047]
44281 * manual/charset.texi (Generic Charset Conversion): Fix typo
44282 (LC_TYPE -> LC_CTYPE).
44283
cc6e48bc
NB
442842012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44285
44286 [BZ #5805]
44287 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44288 (scalbnf): Likewise.
44289 (scalbnl): Likewise.
44290 (scalbln): Likewise.
44291 (scalblnf): Likewise.
44292 (scalblnl): Likewise.
44293 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44294 (vwarnx): Likewise.
44295 (verr): Likewise.
44296 (verrx): Likewise.
44297 * manual/filesys.texi (telldir): Use braces around return type.
44298 * manual/llio.texi (mmap): Add space after comma.
44299 (mmap64): Likewise.
44300 * manual/math.texi (jn): Use @var{} on parameter names.
44301 (jnf): Likewise.
44302 (jnl): Likewise.
44303 (yn): Likewise.
44304 (ynf): Likewise.
44305 (ynl): Likewise.
44306 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44307 line.
44308 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44309 "...".
44310 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44311 (sched_get_priority_max): Likewise.
44312 * manual/signal.texi (sigvec): Add space after comma.
44313 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44314 names.
44315 (if_indextoname): Likewise.
44316 (if_freenameindex): Likewise.
44317 (sendto): Use ',' instead of '.' in prototype.
44318 * manual/startup.texi (syscall): Use @dots{} instead of literal
44319 "...".
44320 * manual/stdio.texi (__fpending): Separate initial words of
44321 paragraph from @deftypefun line.
44322 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44323 "...".
44324 (vsyslog): Use @var{} on parameter names.
44325 * manual/terminal.texi (stty): Use @var{} on parameter names.
44326 * manual/users.texi (getutmp): Use @var{} on parameter names.
44327 (getutmpx): Likewise.
44328
5b23062f
JM
443292012-02-17 Joseph Myers <joseph@codesourcery.com>
44330
44331 [BZ #6884]
44332 * manual/stdio.texi (fopen): Fix typos in description of
44333 ",ccs=STRING".
44334
8dee4833
AJ
443352012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44336
44337 [BZ #4026]
44338 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44339 get clock_id definition.
44340
9078ce93
TS
443412012-02-17 Thomas Schwinge <thomas@schwinge.name>
44342
44343 [BZ #4822]
44344 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44345 (madvise): Cast every argument to void on its own.
44346
3835c55f
JM
443472012-02-17 Joseph Myers <joseph@codesourcery.com>
44348
44349 [BZ #9902]
44350 * manual/startup.texi (Exit Status): Fix typo.
44351
35c47e37
JM
443522012-02-17 Joseph Myers <joseph@codesourcery.com>
44353
44354 [BZ #10140]
44355 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44356 * manual/examples/argp-ex2.c: Likewise.
44357 * manual/examples/argp-ex3.c: Likewise.
44358
e3b69ca7
RH
443592012-02-16 Richard Henderson <rth@redhat.com>
44360
44361 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44362 * sysdeps/s390/s390-32/initfini.c: Remove.
44363 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44364 * sysdeps/s390/s390-64/initfini.c: Remove.
44365
df83af67
KK
443662012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44367
44368 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44369 compiler output for sysdeps/generic/initfini.c.
44370 * sysdeps/sh/elf/initfini.c: Remove file.
44371
f63f3380
DM
443722012-02-16 David S. Miller <davem@davemloft.net>
44373
fb59b3a4
DM
44374 [BZ #11494]
44375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44376
f63f3380
DM
44377 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44378 * sysdeps/sparc/crti.S: New file.
44379 * sysdeps/sparc/crtn.S: New file.
44380 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44381 * sysdeps/sparc/sparc64/Makefile: Likewise.
44382
df6a4a4a
MF
443832012-02-15 Mike Frysinger <vapier@gentoo.org>
44384
6dd8f3dc 44385 [BZ #3335]
df6a4a4a
MF
44386 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44387
1cac7236
RM
443882012-02-15 Roland McGrath <roland@hack.frob.com>
44389
d2c736f8
RM
44390 [BZ #4822]
44391 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44392
1cac7236
RM
44393 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44394 (write, read, close): Likewise.
44395 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44396
8e475601
JM
443972012-02-15 Joseph Myers <joseph@codesourcery.com>
44398
44399 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44400 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44401 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44402 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44403 <bits/signalfd.h>.
44404 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44406 bits/signalfd.h.
44407
ed656b40
MP
444082012-02-14 Marek Polacek <polacek@redhat.com>
44409
44410 * sysdeps/x86_64/crti.S: New file.
44411 * sysdeps/x86_64/crtn.S: New file.
44412 * sysdeps/x86_64/elf/initfini.c: Remove file.
44413
2a979d3a
JM
444142012-02-13 Joseph Myers <joseph@codesourcery.com>
44415
44416 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44417 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44418 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44419 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44420 <bits/inotify.h>.
44421 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44423 bits/inotify.h.
44424
2a418ac3
JM
444252012-02-13 Joseph Myers <joseph@codesourcery.com>
44426
44427 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44428 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44429 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44430 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44431 <bits/eventfd.h>.
44432 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44434 bits/eventfd.h.
44435
fb779be7
TS
444362012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44437
e19e83c5
RM
44438 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44439 __feraiseexcept instead of feraiseexcept.
7c35ffed 44440
fb779be7
TS
44441 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44442 nanosleep invocations.
44443 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44444 strings, and add error checking for a nanosleep invocations.
44445
59ba27a6
PE
444462012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44447
44448 Replace FSF snail mail address with URLs, as per GNU coding standards.
44449 Most of the snail mail addresses were wrong anyway, and omitting
44450 them makes the source code easier to maintain. Almost all of the
44451 changes are to license notices and to locale LC_IDENTIFICATION
44452 addresses, except for this one:
44453 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44454 not its snail mail address.
44455
57b957eb
RH
444562012-02-09 Richard Henderson <rth@twiddle.net>
44457
af850b1c
RH
44458 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44459 of kernel-features.h.
44460
57b957eb
RH
44461 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44462
6b73181a
MP
444632012-02-08 Marek Polacek <polacek@redhat.com>
44464
44465 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44466 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44467 * sysdeps/gnu/_G_config.h: Likewise.
44468 * sysdeps/generic/_G_config.h: Likewise.
44469
26ecc33a
AS
444702012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44471
6c6dbc63
AS
44472 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44473 tests.
44474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44475
e216c012
AS
44476 * sysdeps/powerpc/powerpc32/crti.S: New file.
44477 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44478 * sysdeps/powerpc/powerpc64/crti.S: New file.
44479 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44480
26ecc33a
AS
44481 * Makeconfig (have-initfini): Don't set.
44482 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44483 * configure.in (nopic_initfini): Don't substitute.
44484 * config.h.in (HAVE_INITFINI): Don't #undef.
44485 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44486 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44487
3add8e13
JM
444882012-02-08 Joseph Myers <joseph@codesourcery.com>
44489
44490 Support crti.S and crtn.S provided directly by architectures.
44491 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44492 [crti.S in sysdirs] (omit-deps): Likewise.
44493 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44494 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44495 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44496 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44497 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44498 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44499 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44500 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44501 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44502 compiler output for sysdeps/generic/initfini.c.
44503 * sysdeps/i386/elf/Makefile: Remove file.
44504 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44505
a22f12b4
MP
445062012-02-07 Marek Polacek <polacek@redhat.com>
44507
44508 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44509 * sysdeps/gnu/_G_config.h: Likewise.
44510 * sysdeps/mach/hurd/_G_config.h: Likewise.
44511
148cf100
MP
445122012-02-07 Marek Polacek <polacek@redhat.com>
44513
44514 * math/Makefile (tests): Add tst-CMPLX2.
44515 * math/tst-CMPLX2.c: New file.
44516
cfdc0dd7
AS
445172012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44518
84ba42c4
AS
44519 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44520
cfdc0dd7
AS
44521 * math/libm-test.inc (jn_test): Add missing L suffix.
44522
622c86f4
MP
445232012-02-06 Marek Polacek <polacek@redhat.com>
44524
44525 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44526 * sysdeps/i386/fpu/e_powf.S: Likewise.
44527 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44528 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44529 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44530 * sysdeps/i386/fpu/e_pow.S: Likewise.
44531 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44532 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44533 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44534 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44535 * sysdeps/i386/fpu/e_log2.S: Likewise.
44536 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44537 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44538 * sysdeps/i386/fpu/e_powl.S: Likewise.
44539 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44540 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44541 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44542 * sysdeps/i386/fpu/e_logl.S: Likewise.
44543 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44544 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44545 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44546 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44547 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44549 * sysdeps/i386/fpu/e_log.S: Likewise.
44550 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44551 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44552 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44553 * sysdeps/i386/fpu/e_logf.S: Likewise.
44554 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44555 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44556 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44557 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44558 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44559 * sysdeps/i386/fpu/e_log10.S: Likewise.
44560 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44561 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44562 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44563 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44565 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44566 * sysdeps/i386/asm-syntax.h: Likewise.
44567 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44568 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44569 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44570 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44571 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44573 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44574 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44575 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44576 * sysdeps/powerpc/sysdep.h: Likewise.
44577 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44578 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44579
d4a54ac6
JM
445802012-02-06 Joseph Myers <joseph@codesourcery.com>
44581
44582 [BZ #411]
44583 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44584
314054ea
JM
445852012-02-06 Joseph Myers <joseph@codesourcery.com>
44586
44587 * sysdeps/i386/sysdep.h: Include <features.h>.
44588 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44589 version.
44590
d8e0ca50
JM
445912012-02-05 Joseph Myers <joseph@codesourcery.com>
44592
44593 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44594 Define.
44595 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44596 LOAD_PIC_REG_STR.
44597
b1da7dd9
JM
445982012-02-03 Joseph Myers <joseph@codesourcery.com>
44599
44600 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44601 (SETUP_PIC_REG): Use GET_PC_THUNK.
44602 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44603 macro.
44604
9a1d9254
JM
446052012-02-03 Joseph Myers <joseph@codesourcery.com>
44606
44607 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44608 for non-PIC compilation.
44609 (SETUP_PIC_REG): Add .p2align directive.
44610 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44611 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44612 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44613 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44614 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44615 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44618 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44619 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44620 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44621 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44622 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44623 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44624 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44625 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44626 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44627 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44628 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44629 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44630 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44633 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44634 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44636 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44638 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44639 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44640 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44642 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44643 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44644 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44645 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44646 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44647 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44648 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44649 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44650 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44651
65dc3b75
JM
446522012-02-03 Joseph Myers <joseph@codesourcery.com>
44653
44654 * math/tst-CMPLX.c: Include <stdio.h>.
44655
d55bf177
JM
446562012-01-31 Joseph Myers <joseph@codesourcery.com>
44657
44658 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44659 float.
44660 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44661 * sysdeps/sparc/bits/mathdef.h: Likewise.
44662
69db4f8f
MP
446632012-01-31 Marek Polacek <polacek@redhat.com>
44664
44665 * libio/libio.h: Don't define _PARAMS.
44666 * locale/programs/config.h: Don't define PARAMS.
44667 * stdlib/strtol_l.c: Likewise.
44668 (__strtol_l): Remove PARAMS from the prototype.
44669
41b81892
UD
446702012-01-31 Ulrich Drepper <drepper@gmail.com>
44671
3b49edc0
UD
44672 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44673 names. Just use the correct names. Remove unnecessary wrapper
44674 functions.
44675 * malloc/arena.c: Likewise.
44676 * malloc/hooks.c: Likewise.
44677
41b81892
UD
44678 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44679 ARENA_TEST says not to. Simplify test for creation of a new arena.
44680 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44681
27a25b6e
UD
446822012-01-30 Ulrich Drepper <drepper@gmail.com>
44683
44684 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44685 into tail calls.
44686 (update_get_addr): New function.
44687 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44688 GET_ADDR_MODULE parameter.
44689
c8a89e7d
JM
446902012-01-30 Joseph Myers <joseph@codesourcery.com>
44691
44692 * crypt/cert.c: Remove __STDC__ conditionals.
44693 * crypt/crypt-entry.c: Likewise.
44694 * crypt/crypt_util.c: Likewise.
44695 * libio/filedoalloc.c: Likewise.
44696 * libio/fileops.c: Likewise.
44697 * libio/genops.c: Likewise.
44698 * libio/iofclose.c: Likewise.
44699 * libio/iofdopen.c: Likewise.
44700 * libio/iofopen.c: Likewise.
44701 * libio/iofopen64.c: Likewise.
44702 * libio/iogetdelim.c: Likewise.
44703 * libio/iopopen.c: Likewise.
44704 * libio/obprintf.c: Likewise.
44705 * libio/oldfileops.c: Likewise.
44706 * libio/oldiofclose.c: Likewise.
44707 * libio/oldiofdopen.c: Likewise.
44708 * libio/oldiofopen.c: Likewise.
44709 * libio/oldiopopen.c: Likewise.
44710 * libio/wfiledoalloc.c: Likewise.
44711 * libio/wgenops.c: Likewise.
44712 * locale/programs/xmalloc.c: Likewise.
44713 * misc/syslog.c: Likewise.
44714 * stdio-common/xbug.c: Likewise.
44715 * string/memchr.c: Likewise.
44716 * string/memcmp.c: Likewise.
44717 * string/memrchr.c: Likewise.
44718 * string/rawmemchr.c: Likewise.
44719 * sysdeps/posix/getcwd.c: Likewise.
44720 * time/strftime_l.c: Likewise.
44721
3b100462
JM
447222012-01-30 Joseph Myers <joseph@codesourcery.com>
44723
44724 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44725 * config.make.in (config-cflags-sse2avx): Define.
44726 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44727 Fix typo.
44728
607998af
CM
447292012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44730
44731 * scripts/config.guess: Update from upstream config git repository.
44732 * scripts/config.sub: Likewise.
44733
3601428f
CM
447342012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44735
3ac8b282
CM
44736 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44737 (EM_NUM): Update.
44738 (R_TILEPRO_*, R_TILEGX_*): New macros.
44739
e034841e
CM
44740 * scripts/firstversions.awk: Fix bug in version range handling.
44741
540d7568
CM
44742 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44743
3601428f
CM
44744 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44745
463de862
CM
44746 * include/sys/epoll.h: New file.
44747 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44748 libc_hidden_def.
44749
73139a76
UD
447502012-01-28 Ulrich Drepper <drepper@gmail.com>
44751
96bc5b45
UD
44752 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44753 Avoid unnecessary __WORDSIZE == 64 test.
44754 (fmaxf): Use VEX format if possible.
44755 (fmax): Likewise.
44756 (fminf): Likewise.
44757 (fmin): Likewise.
44758
56f6f6a2
UD
44759 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44760 * math/math_private.h: Remove libc_fegetround* and
44761 libc_fesetround*.
44762 * sysdeps/i386/configure.in: Check for -msse2avx.
44763 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44764 also if SSE2AVX is defined.
44765 Remove libc_fegetround* and libc_fesetround*.
44766 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44767 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44768 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44769 of HAS_YMM_USABLE.
44770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44775
73139a76
UD
44776 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44777
d73f93a4
AZ
447782012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44779
44780 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44781 size is not set.
44782 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44783
6ee65ed6
UD
447842012-01-27 Ulrich Drepper <drepper@gmail.com>
44785
44786 [BZ #13618]
44787 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44788 relocation.
44789 * Makeconfig (libm): Define.
44790 * elf/Makefile: Add rules to build and run tst-relsort1.
44791 * elf/tst-relsort1.c: New file.
44792 * elf/tst-relsort1mod1.c: New file.
44793 * elf/tst-relsort1mod2.c: New file.
44794
8db21882
JM
447952012-01-27 Joseph Myers <joseph@codesourcery.com>
44796
44797 * math/s_ldexp.c: Remove __STDC__ conditionals.
44798 * math/s_ldexpf.c: Likewise.
44799 * math/s_ldexpl.c: Likewise.
44800 * math/s_nextafter.c: Likewise.
44801 * math/s_nexttowardf.c: Likewise.
44802 * math/s_significand.c: Likewise.
44803 * math/s_significandf.c: Likewise.
44804 * math/s_significandl.c: Likewise.
44805 * math/w_jnl.c: Likewise.
44806 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44807 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44811 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44812 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44813 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44820 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44821 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44822 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44823 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44827 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44828 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44829 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44830 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44831 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44832 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44833 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44834 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44835 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44836 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44837 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44838 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44839 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44840 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44841 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44842 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44843 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44844 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44845 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44846 * sysdeps/ieee754/k_standard.c: Likewise.
44847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44851 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44856 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44857 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44860 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44861 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44866 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44869 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44870 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44872 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44876 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44877 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44878 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44879 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44880 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44882 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44884 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44885 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44886 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44887 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44889 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44890 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44891 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44892 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44893 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44894 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44896 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44897 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44898 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44899 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44900 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44902 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44903 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44904 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44905 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44906 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44907 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44908 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44909 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44911 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44912 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44913 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44914 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44915 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44916 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44917 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44918 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44919 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44920 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44921 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44922 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44926 * sysdeps/ieee754/s_matherr.c: Likewise.
44927 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44928 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44931
965a54a4
JM
449322012-01-26 Joseph Myers <joseph@codesourcery.com>
44933
44934 * crypt/md5.h: Remove __STDC__ conditionals.
44935 * libio/libioP.h: Likewise.
44936 * locale/programs/config.h: Likewise.
44937 * sysdeps/generic/sysdep.h: Likewise.
44938 * sysdeps/i386/asm-syntax.h: Likewise.
44939 * sysdeps/s390/asm-syntax.h: Likewise.
44940 * sysdeps/unix/sysdep.h: Likewise.
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44943
7071ad79
JM
449442012-01-26 Joseph Myers <joseph@codesourcery.com>
44945
44946 * libio/libio.h: Remove __STDC__ conditionals.
44947 * malloc/obstack.h: Likewise.
44948 * math/complex.h: Likewise.
44949 * math/math.h: Likewise.
44950 * sysdeps/generic/_G_config.h: Likewise.
44951 * sysdeps/gnu/_G_config.h: Likewise.
44952 * sysdeps/mach/hurd/_G_config.h: Likewise.
44953 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44954 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44955 * sysdeps/sparc/bits/mathdef.h: Likewise.
44956
afc5ed09
UD
449572012-01-26 Ulrich Drepper <drepper@gmail.com>
44958
44959 [BZ #13583]
44960 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44961 Clean up HAS_* macros.
afc5ed09 44962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44963 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44964 possible.
44965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44966 HAS_AVX.
44967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44968 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44971 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44972
bdb6de1d
JM
449732012-01-25 Joseph Myers <joseph@codesourcery.com>
44974
44975 * elf/tst-unique3.cc (gets): Remove declaration.
44976 * elf/tst-unique3lib.cc (gets): Likewise.
44977 * elf/tst-unique3lib2.cc (gets): Likewise.
44978 * elf/tst-unique4.cc (gets): Likewise.
44979
b15549e6
UD
449802012-01-24 Ulrich Drepper <drepper@gmail.com>
44981
44982 * include/stdio.h: Add C++ protection. Add gets declarations and
44983 definitions.
44984 * debug/tst-chk1.c: Don't declare gets here.
44985 * stdio-common/tst-gets.c: Likewise.
44986
a037381f
JM
449872012-01-24 Joseph Myers <joseph@codesourcery.com>
44988
44989 * posix/glob: Remove directory.
44990
f1d4aa75
JM
449912012-01-24 Joseph Myers <joseph@codesourcery.com>
44992
44993 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44994
81c0c964
PT
449952012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44996
44997 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44998 of the non-standard EPFNOSUPPORT.
44999
0ea698ae
ST
450002011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45001
45002 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45003 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45004 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45005
d220b117
UD
450062012-01-21 Ulrich Drepper <drepper@gmail.com>
45007
45008 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45009
3e1aa84e
UD
450102012-01-20 Ulrich Drepper <drepper@gmail.com>
45011
45012 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45013 transient errors.
45014 * nscd/grpcache.c (cache_addgr): Likewise.
45015 * nscd/hstcache.c (cache_addhst): Likewise.
45016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45017 * nscd/pwdcache.c (cache_addpw): Likewise.
45018 * nscd/servicescache.c (cache_addserv): Likewise.
45019
400aa020
UD
450202012-01-16 Ulrich Drepper <drepper@gmail.com>
45021
d77e7869
UD
45022 * malloc/malloc.c: Various cleanups.
45023 * malloc/hooks.c: Likewise.
45024
400aa020
UD
45025 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45026 * stdlib/bug-fmtmsg1.c: New file.
45027
45028 * stdlib/fmtmsg.c (init): Add missing unlock.
45029 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45030
e0a309cf
MP
450312012-01-12 Marek Polacek <polacek@redhat.com>
45032
45033 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45034 and _GNU_SOURCE.
45035
929d11c7
WS
450362012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45037
45038 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45039 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45040 macro to ensure uniqueness of label name.
45041 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45042 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45043
41d0e869
UD
450442012-01-11 Ulrich Drepper <drepper@gmail.com>
45045
0cc5ed3b
UD
45046 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45047
41d0e869
UD
45048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45049 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45050 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45052
a47a831a
UD
450532012-01-10 Ulrich Drepper <drepper@gmail.com>
45054
daa891c0
UD
45055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45056
45057 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45058 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45059 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45060
e58ef0f2
UD
45061 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45062
a47a831a 45063 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45065 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45067
45068 * math/bits/math-finite.h: Add ldexp support.
45069
a0bfc9c7
MP
450702012-01-10 Marek Polacek <polacek@redhat.com>
45071
45072 * locale/programs/localedef.h (show_archive_content): Add noreturn
45073 attribute.
45074
d6e97a1d
UD
450752012-01-09 Ulrich Drepper <drepper@gmail.com>
45076
45077 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45078
d5835c26
UD
450792012-01-08 Ulrich Drepper <drepper@gmail.com>
45080
e5f484c6
UD
45081 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45082
d5835c26
UD
45083 * io/Makefile (headers): Add bits/poll2.h.
45084
d1f741e9
WS
450852011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45086
45087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45088 typo #include statement.
45089
ec09c1c4
UD
450902012-01-08 Ulrich Drepper <drepper@gmail.com>
45091
45092 * include/sys/cdefs.h: Define __attribute_alloc_size.
45093 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45094 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45095 * elf/pldd.c: Likewise.
45096 * iconv/iconv_charmap.c: Likewise.
45097 * iconv/iconvconfig.c: Likewise.
45098 * iconv/strtab.c: Likewise.
45099 * locale/programs/locale.c: Likewise.
45100 * locale/programs/localedef.h: Likewise.
45101 * locale/programs/simple-hash.c: Likewise.
45102 * nscd/nscd.h: Likewise.
45103 * nss/makedb.c: Likewise.
45104 * sysdeps/generic/ldconfig.h: Likewise.
45105 * locale/programs/localedef.c: Remove xmalloc prototype.
45106 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45107
20b38e03
PP
451082012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45109
45110 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45111 appropriate.
45112
a0da5fe1
UD
451132012-01-08 Ulrich Drepper <drepper@gmail.com>
45114
1d5a644a 45115 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45116 * math/tst-CMPLX.c: New file.
1d5a644a 45117
8784a6db
UD
45118 * math/complex.h (CMPLXL): Fix typo.
45119
d9a216c0
UD
45120 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45121 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45122 GLIBC_2.16.
45123 * debug/tst-chk1.c: Add poll and ppoll tests.
45124 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45125 * include/sys/poll.h: Add hidden proto for ppoll.
45126 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45127 * sysdeps/mach/hurd/ppoll.c: Likewise.
45128 * io/ppoll.c: Likewise.
45129 * debug/poll_chk.c: New file.
45130 * debug/ppoll_chk.c: New file.
45131 * include/bits/poll2.h: New file.
45132 * io/bits/poll2.h: New file.
45133
ac097f5c
UD
45134 [BZ #1350]
45135 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45136
2119dcfa
UD
45137 * configure.in: static is always set to yes. Remove.
45138 * config.make.in: Don't set build-static.
45139 * Makeconfig: Remove use of build-static.
45140 * dlfcn/Makefile: Likewise.
45141 * elf/Makefile: Likewise.
45142 * math/Makefile: Likewise.
45143 * misc/Makefile: Likewise.
45144 * nptl/Makefile: Likewise.
45145 * sysdeps/mach/hurd/Makefile: Likewise.
45146
121766a9
UD
45147 * configure.in: PWD_P is not used anymore.
45148 * config.make.in: Remove PWD_P entry.
45149
51a1d39c 45150 * configure.in: Remove last remnants of RANLIB.
8720d066 45151 No need to check for signed size_t anymore.
215f4bdc
UD
45152 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45153 and IA-64.
3857022a 45154 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45155 * aclocal.m4: Likewise.
45156
d3ed7225
UD
45157 * wcsmbs/mbrtoc16.c: Implement using towc function.
45158 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45159 * wcsmbs/wcsmbsload.c: Likewise.
45160 * iconv/gconv_simple.c: Likewise.
45161 * iconv/gconv_int.h: Likewise.
45162 * iconv/gconv_builtin.h: Likewise.
45163 * iconv/iconv_prog.c: Remove CHAR16 handling.
45164
45165 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45166
45167 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45168
a0da5fe1
UD
45169 * configure.in: Remove --with-elf and --enable-bounded options.
45170 Dont set base_machine for ia64. More non-ELF conditions removed.
45171 Remove testing and setting of leading underscore information.
45172 * config.make.in (build-bounded): Set to no.
45173 * config.h.in: Remove NO_UNDERSCORES entry.
45174 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45175 them.
45176 * csu/start.c: Remove !NO_UNDERSCORE code.
45177 * locale/localeinfo.h: Likewise.
45178 * sysdeps/generic/machine-gmon.h: Likewise.
45179 * sysdeps/generic/sysdep.h: Likewise.
45180 * sysdeps/i386/sysdep.h: Likewise.
45181 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45182 * sysdeps/mach/sysdep.h: Likewise.
45183 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45184 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45185 * sysdeps/sh/sysdep.h: Likewise.
45186 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45187 * sysdeps/unix/i386/sysdep.S: Likewise.
45188 * sysdeps/unix/sparc/start.c: Likewise.
45189 * sysdeps/unix/sparc/sysdep.S: Likewise.
45190 * sysdeps/unix/sparc/sysdep.h: Likewise.
45191 * sysdeps/unix/start.c: Likewise.
45192 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45193 * sysdeps/x86_64/sysdep.h: Likewise.
45194
df78418a
UD
451952012-01-07 Ulrich Drepper <drepper@gmail.com>
45196
a784e502
UD
45197 [BZ #13553]
45198 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45199 for non-gcc.
45200 * argp/argp-fmtstream.h: Use const instead __const.
45201 * argp/argp.h: Likewise.
45202 * assert/assert.h: Likewise.
45203 * bits/fenv.h: Likewise.
45204 * bits/sched.h: Likewise.
45205 * bits/sigset.h: Likewise.
45206 * bits/sigthread.h: Likewise.
45207 * catgets/nl_types.h: Likewise.
45208 * conform/data/pthread.h-data: Likewise.
45209 * crypt/crypt-private.h: Likewise.
45210 * crypt/crypt.h: Likewise.
45211 * crypt/crypt_util.c: Likewise.
45212 * ctype/ctype.h: Likewise.
45213 * debug/execinfo.h: Likewise.
45214 * debug/mbsnrtowcs_chk.c: Likewise.
45215 * debug/mbsrtowcs_chk.c: Likewise.
45216 * debug/wcsnrtombs_chk.c: Likewise.
45217 * debug/wcsrtombs_chk.c: Likewise.
45218 * debug/wcstombs_chk.c: Likewise.
45219 * dirent/dirent.h: Likewise.
45220 * dlfcn/dlfcn.h: Likewise.
45221 * elf/neededtest4.c: Likewise.
45222 * grp/grp.h: Likewise.
45223 * gshadow/gshadow.h: Likewise.
45224 * iconv/gconv.h: Likewise.
45225 * iconv/gconv_int.h: Likewise.
45226 * iconv/gconv_simple.c: Likewise.
45227 * iconv/iconv.h: Likewise.
45228 * iconv/loop.c: Likewise.
45229 * iconv/skeleton.c: Likewise.
45230 * include/aio.h: Likewise.
45231 * include/aliases.h: Likewise.
45232 * include/argz.h: Likewise.
45233 * include/arpa/inet.h: Likewise.
45234 * include/assert.h: Likewise.
45235 * include/dirent.h: Likewise.
45236 * include/dlfcn.h: Likewise.
45237 * include/execinfo.h: Likewise.
45238 * include/fcntl.h: Likewise.
45239 * include/fenv.h: Likewise.
45240 * include/glob.h: Likewise.
45241 * include/grp.h: Likewise.
45242 * include/libintl.h: Likewise.
45243 * include/mntent.h: Likewise.
45244 * include/netdb.h: Likewise.
45245 * include/pwd.h: Likewise.
45246 * include/rpc/netdb.h: Likewise.
45247 * include/sched.h: Likewise.
45248 * include/search.h: Likewise.
45249 * include/shadow.h: Likewise.
45250 * include/signal.h: Likewise.
45251 * include/stdio.h: Likewise.
45252 * include/stdlib.h: Likewise.
45253 * include/string.h: Likewise.
45254 * include/sys/socket.h: Likewise.
45255 * include/sys/stat.h: Likewise.
45256 * include/sys/statfs.h: Likewise.
45257 * include/sys/statvfs.h: Likewise.
45258 * include/sys/syslog.h: Likewise.
45259 * include/sys/time.h: Likewise.
45260 * include/sys/uio.h: Likewise.
45261 * include/time.h: Likewise.
45262 * include/unistd.h: Likewise.
45263 * include/utmp.h: Likewise.
45264 * include/wchar.h: Likewise.
45265 * include/wctype.h: Likewise.
45266 * inet/aliases.h: Likewise.
45267 * inet/arpa/inet.h: Likewise.
45268 * inet/netinet/ether.h: Likewise.
45269 * inet/netinet/in.h: Likewise.
45270 * intl/libintl.h: Likewise.
45271 * io/bits/fcntl2.h: Likewise.
45272 * io/fcntl.h: Likewise.
45273 * io/ftw.h: Likewise.
45274 * io/sys/poll.h: Likewise.
45275 * io/sys/stat.h: Likewise.
45276 * io/sys/statfs.h: Likewise.
45277 * io/sys/statvfs.h: Likewise.
45278 * io/utime.h: Likewise.
45279 * libio/bits/stdio.h: Likewise.
45280 * libio/bits/stdio2.h: Likewise.
45281 * libio/libio.h: Likewise.
45282 * libio/libioP.h: Likewise.
45283 * libio/stdio.h: Likewise.
45284 * locale/lc-ctype.c: Likewise.
45285 * locale/locale.h: Likewise.
45286 * login/utmp.h: Likewise.
45287 * malloc/arena.c: Likewise.
45288 * malloc/malloc.c: Likewise.
45289 * malloc/malloc.h: Likewise.
45290 * malloc/mcheck.c: Likewise.
45291 * malloc/mtrace.c: Likewise.
45292 * math/bits/mathcalls.h: Likewise.
45293 * math/fenv.h: Likewise.
45294 * math/math_private.h: Likewise.
45295 * misc/bits/error.h: Likewise.
45296 * misc/bits/syslog.h: Likewise.
45297 * misc/err.h: Likewise.
45298 * misc/error.h: Likewise.
45299 * misc/fstab.h: Likewise.
45300 * misc/mntent.h: Likewise.
45301 * misc/regexp.h: Likewise.
45302 * misc/search.h: Likewise.
45303 * misc/sgtty.h: Likewise.
45304 * misc/sys/mman.h: Likewise.
45305 * misc/sys/syslog.h: Likewise.
45306 * misc/sys/uio.h: Likewise.
45307 * misc/sys/xattr.h: Likewise.
45308 * misc/ttyent.h: Likewise.
45309 * nis/rpcsvc/ypclnt.h: Likewise.
45310 * nss/nss.h: Likewise.
45311 * posix/bits/unistd.h: Likewise.
45312 * posix/fnmatch.h: Likewise.
45313 * posix/glob.h: Likewise.
45314 * posix/sched.h: Likewise.
45315 * posix/spawn.h: Likewise.
45316 * posix/sys/wait.h: Likewise.
45317 * posix/unistd.h: Likewise.
45318 * posix/wordexp.h: Likewise.
45319 * pwd/pwd.h: Likewise.
45320 * resolv/netdb.h: Likewise.
45321 * resource/sys/resource.h: Likewise.
45322 * rt/aio.h: Likewise.
45323 * rt/bits/mqueue2.h: Likewise.
45324 * rt/mqueue.h: Likewise.
45325 * shadow/shadow.h: Likewise.
45326 * signal/signal.h: Likewise.
45327 * socket/send.c: Likewise.
45328 * socket/sendto.c: Likewise.
45329 * socket/sys/socket.h: Likewise.
45330 * stdio-common/printf.h: Likewise.
45331 * stdlib/bits/stdlib.h: Likewise.
45332 * stdlib/fmtmsg.h: Likewise.
45333 * stdlib/monetary.h: Likewise.
45334 * stdlib/stdlib.h: Likewise.
45335 * stdlib/ucontext.h: Likewise.
45336 * streams/stropts.h: Likewise.
45337 * string/argz.h: Likewise.
45338 * string/bits/string2.h: Likewise.
45339 * string/string.h: Likewise.
45340 * string/strings.h: Likewise.
45341 * sunrpc/rpc/auth.h: Likewise.
45342 * sunrpc/rpc/auth_des.h: Likewise.
45343 * sunrpc/rpc/clnt.h: Likewise.
45344 * sunrpc/rpc/netdb.h: Likewise.
45345 * sunrpc/rpc/pmap_clnt.h: Likewise.
45346 * sunrpc/rpc/xdr.h: Likewise.
45347 * sysdeps/generic/inttypes.h: Likewise.
45348 * sysdeps/generic/net/if.h: Likewise.
45349 * sysdeps/generic/sys/swap.h: Likewise.
45350 * sysdeps/gnu/net/if.h: Likewise.
45351 * sysdeps/gnu/utmpx.h: Likewise.
45352 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45353 * sysdeps/i386/i486/bits/string.h: Likewise.
45354 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45355 * sysdeps/s390/bits/string.h: Likewise.
45356 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45357 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45358 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45359 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45360 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45361 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45362 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45363 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45364 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45365 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45366 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45367 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45368 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45369 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45370 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45371 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45372 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45374 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45375 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45376 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45377 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45378 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45379 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45380 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45381 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45382 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45384 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45385 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45386 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45387 * sysvipc/sys/ipc.h: Likewise.
45388 * sysvipc/sys/msg.h: Likewise.
45389 * sysvipc/sys/sem.h: Likewise.
45390 * sysvipc/sys/shm.h: Likewise.
45391 * termios/termios.h: Likewise.
45392 * time/sys/time.h: Likewise.
45393 * time/time.h: Likewise.
45394 * wcsmbs/bits/wchar2.h: Likewise.
45395 * wcsmbs/uchar.h: Likewise.
45396 * wcsmbs/wchar.h: Likewise.
45397 * wctype/wctype.h: Likewise.
45398
0269750c
UD
45399 [BZ #13551]
45400 * Makeconfig: Remove all but ELF support including AIX support.
45401 * Makerules: Likewise.
45402 * config.h.in: Likewise.
45403 * config.make.in: Likewise.
45404 * configure: Likewise.
45405 * configure.in: Likewise.
45406 * csu/Makefile: Likewise.
45407 * csu/version.c: Likewise.
45408 * debug/Makefile: Likewise.
45409 * dlfcn/Makefile: Likewise.
45410 * elf/Makefile: Likewise.
45411 * extra-lib.mk: Likewise.
45412 * iconv/Makefile: Likewise.
45413 * include/libc-symbols.h: Likewise.
45414 * include/shlib-compat.h: Likewise.
45415 * resolv/Makefile: Likewise.
45416 * resolv/res_libc.c: Likewise.
45417 * rt/Makefile: Likewise.
45418 * sysdeps/i386/asm-syntax.h: Likewise.
45419 * sysdeps/i386/sysdep.h: Likewise.
45420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45421 * sysdeps/mach/sysdep.h: Likewise.
45422 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45423 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45424 * sysdeps/s390/asm-syntax.h: Likewise.
45425 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45426 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45427 * sysdeps/sh/sysdep.h: Likewise.
45428 * sysdeps/unix/sparc/sysdep.h: Likewise.
45429 * sysdeps/wordsize-32/divdi3.c: Likewise.
45430 * sysdeps/x86_64/sysdep.h: Likewise.
45431
00bbd29b
UD
45432 * argp/Versions: Remove _argp_unlock_xxx.
45433
45434 [BZ #13559]
45435 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45436 * abilist/libBrokenLocale.abilist: Likewise.
45437 * abilist/libanl.abilist: Likewise.
45438 * abilist/libc.abilist: Likewise.
45439 * abilist/libcrypt.abilist: Likewise.
45440 * abilist/libdl.abilist: Likewise.
45441 * abilist/libm.abilist: Likewise.
45442 * abilist/libnsl.abilist: Likewise.
45443 * abilist/libpthread.abilist: Likewise.
45444 * abilist/libresolv.abilist: Likewise.
45445 * abilist/librt.abilist: Likewise.
45446 * abilist/libthread_db.abilist: Likewise.
45447 * abilist/libutil.abilist: Likewise.
45448 * abilist/libnss_db.abilist: New file.
45449
45450 * scripts/abilist.awk: Add support for indirect functions.
45451
a2693a0e
UD
45452 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45453
3f05895f
UD
45454 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45455
ecb6fb48
UD
45456 * shlib-versions: Remove entries for ports architectures.
45457
664f8cb9
UD
45458 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45459 files in ports.
45460 * elf/stackguard-macros.h: Remove support for IA-64.
45461 * elf/tst-auditmod1.c: Likewise.
45462 * sysdeps/generic/ldsodefs.h: Likewise.
45463
7ae81d88
UD
45464 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45465 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45466 configure files.
45467
bdeba135
UD
45468 [BZ #13552]
45469 * configure.in: Remove --enable-omitfp support.
45470 * FAQ.in: Adjust.
45471 * config.make.in: Likewise.
45472 * Makeconfig: Likewise.
45473 * manual/install.texi: Likewise.
45474
d75a0a62
UD
45475 In case anyone cares, the IA-64 architecture could move to ports.
45476 * sysdeps/ia64/*: Removed.
45477 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45478 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45479
dcc9756b
UD
45480 [BZ #13555]
45481 * configure.in: Remove entries for unsupported architectures.
45482
d3761ebc 45483 [BZ #13533]
9954432e
UD
45484 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45485 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45486 routines.
45487 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45488 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45489 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45490 fall back to using wcrtomb.
45491 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45492 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45493 renaming.
45494 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45495 * wcsmbs/tst-c16c32-1.c: New file.
45496
45497 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45498 local variable.
45499
c3a87236
UD
45500 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45501
28926a1b
UD
45502 * elf/tst-unique3.cc: Add explicit declaration of gets.
45503 * elf/tst-unique3lib.cc: Likewise.
45504 * elf/tst-unique3lib2.cc: Likewise.
45505 * elf/tst-unique4.cc: Likewise.
45506
df78418a
UD
45507 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45508
8ecd6b2a
JM
455092012-01-06 Joseph Myers <joseph@codesourcery.com>
45510
45511 [BZ #13566]
45512 * assert/assert.h (static_assert): Don't define for C++.
45513 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45514 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45515
9f115170
UD
455162012-01-03 Ulrich Drepper <drepper@gmail.com>
45517
5e0d0300
UD
45518 * iconv/loop.c (single loop): Fix assertion in storing of
45519 remaining bytes.
45520
9f115170
UD
45521 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45522
81fb02b0
UD
455232012-01-01 Ulrich Drepper <drepper@gmail.com>
45524
45525 * posix/getconf.c: Update copyright year.
45526 * nss/getent.c: Likewise.
a316c1f6 45527 * nss/makedb.c: Likewise.
81fb02b0
UD
45528 * iconv/iconvconfig.c: Likewise.
45529 * iconv/iconv_prog.c: Likewise.
45530 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45531 * elf/pldd.c: Likewise.
45532 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45533 * catgets/gencat.c: Likewise.
45534 * csu/version.c: Likewise.
45535 * elf/ldd.bash.in: Likewise.
45536 * elf/sprof.c (print_version): Likewise.
45537 * locale/programs/locale.c: Likewise.
45538 * locale/programs/localedef.c: Likewise.
a316c1f6 45539 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45540 * nscd/nscd.c (print_version): Likewise.
45541 * debug/xtrace.sh: Likewise.
45542 * malloc/memusage.sh: Likewise.
45543 * malloc/mtrace.pl: Likewise.
45544 * debug/catchsegv.sh: Likewise.
45545
2ba92745
JJ
455462011-12-30 Jakub Jelinek <jakub@redhat.com>
45547
45548 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45549 pure attribute.
45550
dadebdae
UD
455512011-12-24 Ulrich Drepper <drepper@gmail.com>
45552
d3761ebc 45553 [BZ #13533]
db6af3eb
UD
45554 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45555 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45556 transformations.
45557 * iconv/gconv_int.h: Likewise.
45558 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45559 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45560 from libc for GLIBC_2.16.
45561 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45562 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45563 * wcsmbs/uchar.h: Really define mbstate_t.
45564 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45565 * wcsmbs/c16rtomb.c: New file.
45566 * wcsmbs/mbrtoc16.c: New file.
45567 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45568 for C/POSIX locale.
45569 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45570 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45571
dadebdae
UD
45572 * wcsmbs/wchar.h: Add missing __restrict.
45573
67371b56
UD
455742011-12-23 Ulrich Drepper <drepper@gmail.com>
45575
74033a25
UD
45576 [BZ #13532]
45577 * time/Makefile (routines): Add timespec_get.
45578 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45579 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45580 timespec for ISO C11.
45581 * time/timespec_get.c: New file.
45582 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45583 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45584
380d7e87
UD
45585 [BZ #13531]
45586 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45587 * stdlib/stdlib.h: Declare aligned_alloc.
45588 * Versions.def: Add GLIBC_2.16 for libc.
45589 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45590
4e9e7a35
UD
45591 [BZ 13527]
45592 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45593 ISO C11.
45594
380d7e87 45595 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45596 code.
45597
03a71829
UD
45598 [BZ #13528]
45599 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45600
839e283e
UD
45601 [BZ #13529]
45602 * assert/assert.h (static_assert): Define.
45603
ce5294e2 45604 * version.h: Update for 2.16 development version.
90fa7312 45605
8d44e150 45606 [BZ #13526]
d7809905
UD
45607 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45608 _ISOC11_SOURCE.
45609
c0da14cd
UD
45610 * version.h (RELEASE): Bump for 2.15 release.
45611 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45612
530a3249
MP
45613 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45614 Patch by Marek Polacek <mpolacek@redhat.com>.
45615
67371b56
UD
45616 * bits/byteswap.h: Protect long long constants with __extension__.
45617 * sysdeps/i386/bits/byteswap.h: Likewise.
45618 * sysdeps/ia64/bits/byteswap.h: Likewise.
45619 * sysdeps/s390/bits/byteswap.h: Likewise.
45620 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45621
15db4de1
LD
456222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45623
45624 [BZ #13540]
bbe315ea
LD
45625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45626 destination buffer.
15db4de1
LD
45627 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45628
2b2596b1
MP
456292011-12-23 Marek Polacek <polacek@redhat.com>
45630
45631 * elf/dl-addr.c (determine_info): Add inline keyword.
45632 * elf/tst-auditmod4b.c (check_avx): Likewise.
45633 * elf/tst-auditmod6b.c (check_avx): Likewise.
45634 * elf/tst-auditmod6c.c (check_avx): Likewise.
45635 * elf/tst-auditmod7b.c (check_avx): Likewise.
45636
70c6c246
UD
456372011-12-23 Ulrich Drepper <drepper@gmail.com>
45638
45639 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45640 !__SSE_MATH__.
45641
c044cf14
LD
456422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45643
15db4de1 45644 [BZ #13540]
c044cf14
LD
45645 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45646 processing for last bytes.
45647
6b13d9d9
BH
456482011-08-06 Bruno Haible <bruno@clisp.org>
45649
d455f537
BH
45650 [BZ #13061]
45651 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45652 U+0385, not to U+1FEE.
45653
6b13d9d9
BH
45654 [BZ #13062]
45655 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45656 entry for U+00A5 U+0301.
45657
db910efd
UD
456582011-12-22 Ulrich Drepper <drepper@gmail.com>
45659
27deeafc
UD
45660 [BZ #13166]
45661 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45662 buffer for the output is too small.
45663
aed9d171
UD
45664 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45665 optimization.
45666
db910efd
UD
45667 [BZ #13185]
45668 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45669 SSE flags if possible.
45670
2bd779ae
LD
456712011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45672
e7f9dac3 45673 [BZ #13540]
2bd779ae
LD
45674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45675 processing for last bytes.
45676
154bfc16
JM
456772011-12-22 Joseph Myers <joseph@codesourcery.com>
45678
45679 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45680 (syscall-list-default-options, syscall-list-default-condition)
45681 (syscall-list-includes): Define.
45682 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45683 list of ABIs and options and #if conditions for each ABI. Do not
45684 handle common syscalls between ABIs specially.
45685 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45686 Remove.
45687 (syscall-list-variants, syscall-list-32bit-options)
45688 (syscall-list-32bit-condition, syscall-list-64bit-options)
45689 (syscall-list-64bit-condition): Define.
45690 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45691 (syscall-list-variants, syscall-list-32bit-options)
45692 (syscall-list-32bit-condition, syscall-list-64bit-options)
45693 (syscall-list-64bit-condition): Define.
45694 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45695 Remove.
45696 (syscall-list-variants, syscall-list-32bit-options)
45697 (syscall-list-32bit-condition, syscall-list-64bit-options)
45698 (syscall-list-64bit-condition): Define.
45699 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45700 Remove.
45701 (syscall-list-variants, syscall-list-32bit-options)
45702 (syscall-list-32bit-condition, syscall-list-64bit-options)
45703 (syscall-list-64bit-condition): Define.
45704
21eaf3a5
UD
457052011-12-22 Ulrich Drepper <drepper@gmail.com>
45706
16c6f992
UD
45707 * locale/iso-639.def: Add brx entry.
45708
41043168
UD
45709 [BZ #13328]
45710 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45711 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45712
21eaf3a5
UD
45713 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45714 __feraiseexcept_renamed.
45715
e3a851a2
UD
457162011-12-21 Ulrich Drepper <drepper@gmail.com>
45717
4920765e
UD
45718 [BZ #13538]
45719 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45720 EPOLLET with unsigned values.
45721 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45723
e3a851a2
UD
45724 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45725 to large cancellation.
45726 * math/s_cacoshf.c: Likewise.
45727 * math/s_cacoshl.c: Likewise.
45728
b27e24b8
RK
457292011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45730
45731 [BZ #13305]
aebefeee 45732 [BZ #12786]
b27e24b8
RK
45733 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45734 * math/s_cacoshf.c: Likewise.
45735 * math/s_cacoshl.c: Likewise.
45736
ee190f67
UD
457372011-12-21 Ulrich Drepper <drepper@gmail.com>
45738
45739 [BZ #13439]
45740 * iconv/gconv.h: Define __GCONV_SWAP.
45741 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45742 * iconvdata/utf-16.c: Likewise.
45743 * iconvdata/utf-32.c: Likewise.
45744
707f25df
AS
457452011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45746
45747 [BZ #13524]
45748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45749 numerator after shifting it by one limb.
45750
d2daaa1e
RÁE
457512011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45752
45753 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45754 under [__USE_EXTERN_INLINES].
45755
a4647e72
UD
457562011-12-17 Ulrich Drepper <drepper@gmail.com>
45757
45758 [BZ #13446]
45759 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45760
f0b264f1
AZ
457612011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45762
45763 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45764 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45765 optimized code.
45766 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45768 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45769 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45770 for strncasecmp/strncasecmp_l compilation.
45771 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45772 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45773
8ef4f244
MP
457742011-12-08 Marek Polacek <mpolacek@redhat.com>
45775
45776 [BZ #13484]
45777 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45778 of __asm__.
45779
97ac2654
UD
457802011-12-17 Ulrich Drepper <drepper@gmail.com>
45781
45782 [BZ #13506]
45783 * time/tzfile.c (__tzfile_read): Check values from file header.
45784
91d2a845
WS
457852011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45786
45787 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45788 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45789 * powerpc/powerpc32/dl-start.S: Likewise.
45790 * powerpc/powerpc32/elf/start.S: Likewise.
45791 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45792 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45793 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45794 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45795 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45796 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45797 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45798 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45799 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45800 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45801 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45802 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45803 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45804 * powerpc/powerpc32/memset.S: Likewise.
45805 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45806 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45807 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45808 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45809 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45810 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45811 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45812 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45813 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45814 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45816 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45817 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45818
a1267ba1
AZ
458192011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45820
45821 * math/libm-test.inc: Added more nearbyint tests.
45822 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45824 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45825 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45826
ad8ac1bd
RL
458272011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45828
45829 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45830 FD_CLOEXEC.
45831
1d3e4b61
UD
458322011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45833
45834 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45835 Add wcscpy-ssse3 wcscpy-c.
45836 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45837 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45838 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45839 * sysdeps/x86_64/wcschr.S: New file.
45840 * sysdeps/x86_64/wcsrchr.S: New file.
45841 * string/test-strcmp.c: Remove checking of wcscmp function for
45842 wrong alignments.
45843 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45844 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45845 wcsrchr-sse2 wcsrchr-c.
45846 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45847 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45848 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45849 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45850 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45851 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45852 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45853 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45854 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45855 * wcsmbc/wcschr.c (WCSCHR): New macro.
45856
5b330a2d
UD
458572011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45858
45859 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45860 * wcsmbs/test-wcsrchr.c: New file.
45861 * string/test-strrchr.c: Add wcsrchr support.
45862 (WIDE): New macro.
45863 * wcsmbs/test-wcscpy.c: New file.
45864 * string/test-strcpy.c: Add wcscpy support.
45865 (WIDE): New macro.
26428b7c 45866
f039c043
UD
458672011-12-10 Ulrich Drepper <drepper@gmail.com>
45868
45869 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45870 the inner loop.
45871
850fb039
AS
458722011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45873
45874 [BZ #13472]
45875 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45876
4efbd5cb
UD
458772011-12-04 Ulrich Drepper <drepper@gmail.com>
45878
52ff5dd0 45879 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45880 Minor optimizations.
52ff5dd0 45881
4efbd5cb
UD
45882 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45883 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45884 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45885
8a426e12
UD
458862011-12-03 Ulrich Drepper <drepper@gmail.com>
45887
aff2453d
UD
45888 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45889 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45890 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45891 for gcc to avoid warnings.
45892 * inet/Makefile (tests): Add tst-checks.
45893 * inet/tst-checks.c: New file.
45894
45895 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45896 warning.
45897
45898 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45899 __wmemcmp_sse2.
45900
45901 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45902 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45903
8a426e12
UD
45904 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45905
9bea3473
UD
459062011-12-02 Ulrich Drepper <drepper@gmail.com>
45907
3a965496
UD
45908 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45909 problem.
45910
9bea3473
UD
45911 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45912
f101631b
UD
459132011-11-29 Joseph Myers <joseph@codesourcery.com>
45914
45915 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45916 conditional on GCC version.
45917 (__arch_compare_and_exchange_val_8_acq)
45918 (__arch_compare_and_exchange_val_16_acq)
45919 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45920 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45921 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45922
a98275aa
UD
459232011-12-02 Joseph Myers <joseph@codesourcery.com>
45924
45925 * sysdeps/sh/backtrace.c: New file.
45926
d4cc29a2
AS
459272011-12-02 Andreas Schwab <schwab@redhat.com>
45928
45929 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45930 parenthesis.
45931
6257af2d
AS
459322011-12-01 Andreas Schwab <schwab@redhat.com>
45933
45934 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45935 falling back to utime.
45936
b5f44c1a
AS
459372011-11-30 Andreas Schwab <schwab@redhat.com>
45938
45939 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45940 expectations for float.
45941
f3a6cc0a
AS
459422011-11-29 Andreas Schwab <schwab@redhat.com>
45943
45944 * locale/weight.h (findidx): Add parameter len.
45945 * locale/weightwc.h (findidx): Likewise.
45946 * posix/fnmatch_loop.c (FCT): Adjust caller.
45947 * posix/regcomp.c (build_equiv_class): Likewise.
45948 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45949 * posix/regexec.c (check_node_accept_bytes): Likewise.
45950 * string/strcoll_l.c (STRCOLL): Likewise.
45951 * string/strxfrm_l.c (STRXFRM): Likewise.
45952
9d65ea3a
UD
459532011-11-17 Ulrich Drepper <drepper@gmail.com>
45954
45955 * Makefile.in: Remove CVSOPT handling.
45956 * configure.in: Remove use of AC_REVISION.
45957 * iconvdata/Makefile (distribute): No need to filter out CVS.
45958 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45959 handling.
45960
5583a086
AS
459612011-11-16 Andreas Schwab <schwab@redhat.com>
45962
45963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45964 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45965 [USE_AS_STRNCASECMP_L]: Likewise.
45966 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45967 NO_TLS_DIRECT_SEG_REFS.
45968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45969 Fix argument offsets for non-PIC.
45970 [USE_AS_STRNCASECMP_L]: Likewise.
45971 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45972 NO_TLS_DIRECT_SEG_REFS.
45973
d62a8200
UD
459742011-11-15 Ulrich Drepper <drepper@gmail.com>
45975
9d65ea3a 45976 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45977 O_CLOEXEC.
45978 * locale/loadlocale.c (_nl_load_locale): Likewise.
45979
09f93bd3
AS
459802011-11-15 Andreas Schwab <schwab@redhat.com>
45981
446514f9
AS
45982 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45983 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45984 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45985 (SYSCALL_GETTIME): Set errno on error.
45986
09f93bd3
AS
45987 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45988 count references to noai6ai_cached.
45989
312be3f9
UD
459902011-11-15 Ulrich Drepper <drepper@gmail.com>
45991
45992 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45993
45994 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45995 FD_CLOEXEC for /proc/self/maps.
45996
45997 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45998 FD_CLOEXEC for /proc/meminfo.
45999
46000 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46001 gai.conf.
46002
46003 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46004 FD_CLOEXEC for given file.
46005
46006 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46007
46008 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46009 FD_CLOEXEC for /etc/hosts.
46010 (_gethtent): Likewise.
46011
46012 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46013
46014 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46015 cancellation and set FD_CLOEXEC for /etc/netgroup.
46016
46017 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46018 reading /etc/publickey.
46019
46020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46021 allow cancellation when reading /etc/group.
46022
46023 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46024 cancellation.
46025 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46026
46027 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46028 when using data file.
46029
46030 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46031
46032 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46033 (write_nis_obj): Use "c" and "e" in fopen.
46034
46035 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46036
46037 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46038
46039 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46040
46041 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46042
46043 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46044 locale.alias.
46045
46046 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46047
46048 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46049
46050 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46051
46052 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46053 file parsing and set FD_CLOEXEC.
46054
82af0fa8
UD
460552011-11-14 Ulrich Drepper <drepper@gmail.com>
46056
46057 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46058
a5fb313c
AS
460592011-11-14 Andreas Schwab <schwab@redhat.com>
46060
46061 * malloc/arena.c (arena_get2): Don't call reused_arena when
46062 _int_new_arena failed.
46063
6abf3465
UD
460642011-11-14 Ulrich Drepper <drepper@gmail.com>
46065
46066 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46067 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46068 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46069 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46072 to compile strcasecmp and strncasecmp.
46073 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46074 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46075
46076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46077
76e3966e
UD
460782011-11-13 Ulrich Drepper <drepper@gmail.com>
46079
46080 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46081 locale-defines.sym to gen-as-const-headers.
46082 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46083 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46085 to compile strcasecmp and strncasecmp.
46086 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46087 strcasecmp_l and strncasecmp_l.
46088 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46089 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46090 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46091 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46092 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46093 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46094 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46095 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46096 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46097 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46098 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46099
ab26144e
UD
461002011-11-12 Ulrich Drepper <drepper@gmail.com>
46101
7edb22ef
UD
46102 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46103 result of SYSDEP_GETTIME_CPU to retval.
46104 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46105 parameter list to macro. Remove trailing semicolon. Adjust users.
46106
9694fc44
UD
46107 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46108 variable.
46109
8ad89ef8
UD
46110 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46111 mantissa words.
46112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46113
0c822ef9
UD
46114 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46115 from unused variable.
46116
874e0564
UD
46117 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46118 DWARF definitions.
46119 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46120 for assembling.
46121
3a2edc79
UD
46122 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46123 over namespaces.
46124
f3c2577f
UD
46125 * sunrpc/rpc_prot.c (rejected): Fix case value.
46126
294ce126
UD
46127 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46128 unsigned long long int to avoid warnings in shift.
46129
5e2b63c6
UD
46130 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46131 of use of trans.
46132 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46133 variable tmp.
46134
e7f4b08e
UD
46135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46136 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46137 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46138
ab26144e
UD
46139 * nis/nis_table.c (nis_list): Use variable of correct type for
46140 result of __follow_path call.
46141
8a6d5255
AZ
461422011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46143
46144 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46145 of math functions ceil, trunc, floor, round, and sqrt, when
46146 avaliable on the platform.
46147 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46148 name clash.
46149 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46150 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46151 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46152
aaddc98c
MP
461532011-10-30 Marek Polacek <mpolacek@redhat.com>
46154
46155 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46157
95b7042b
RM
461582011-11-11 Roland McGrath <roland@hack.frob.com>
46159
46160 * include/unistd.h: Fix __readlink return type.
46161 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46162
57769839
UD
461632011-11-11 Ulrich Drepper <drepper@gmail.com>
46164
46165 * stdlib/ucontext.h: Undo last change for makecontext.
46166
edc5984d
AS
461672011-11-11 Andreas Schwab <schwab@redhat.com>
46168
98591e58
AS
46169 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46170
edc5984d
AS
46171 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46172 * setjmp/setjmp.h: Mark functions as non-leaf.
46173 * setjmp/bits/setjmp2.h: Likewise.
46174 * stdlib/ucontext.h: Likewise.
46175
77cdc054
AS
461762011-11-10 Andreas Schwab <schwab@redhat.com>
46177
46178 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46179 (reused_arena): Don't check arena limit.
46180 (arena_get2): Atomically check arena limit.
46181
fe72eebd
UD
461822011-11-08 Ulrich Drepper <drepper@gmail.com>
46183
5f078c32
UD
46184 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46185 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46186
fe72eebd
UD
46187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46188 instructions.
46189
ae1bc2fa
AS
461902011-11-07 Andreas Schwab <schwab@redhat.com>
46191
7583a88d
AS
46192 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46193 handler when locking.
46194
ae1bc2fa
AS
46195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46196 Fix size of allocated buffer.
46197
10fb0bfa
AS
461982011-11-04 Andreas Schwab <schwab@redhat.com>
46199
998832a4
AS
46200 [BZ #10103]
46201 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46202 declarations for long double functions.
46203 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46204
10fb0bfa
AS
46205 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46206
3d7ba52b
AS
462072011-11-03 Andreas Schwab <schwab@redhat.com>
46208
a9ae54a1
AS
46209 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46210 installed.
46211
3d7ba52b
AS
46212 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46213 is disabled.
46214
bc8db248
ST
462152011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46216
46217 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46218
45b96dd6
AS
462192011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46220
647776f6
AS
46221 * include/alloca.h (stackinfo_alloca_round): Define.
46222 (extend_alloca): Use it.
46223 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46224 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46225 here.
46226
d91a8b93
AS
46227 * scripts/check-local-headers.sh: Ignore libaudit.h.
46228
45b96dd6
AS
46229 * nscd/Makefile (extra-objs): Make recursively expanded.
46230
432d41ce
UD
462312011-11-01 Ulrich Drepper <drepper@gmail.com>
46232
34372fc6
UD
46233 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46234 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46235
fadb59f8
UD
46236 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46237 * posix/tst-rfc3484-2.c: Likewise.
46238 * posix/tst-rfc3484-3.c: Likewise.
46239
78239589
UD
46240 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46241 process_vm_writev.
46242 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46243 process_vm_writev.
46244 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46245 process_vm_writev from libc using GLIBC_2.15 version.
46246
432d41ce
UD
46247 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46248
02f9c6cf
PP
462492011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46250
46251 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46252 stack usage.
46253
3a2c0242
UD
462542011-10-31 Ulrich Drepper <drepper@gmail.com>
46255
f4ec4833
UD
46256 [BZ #13367]
46257 * nss/getent.c (initgroups_keys): Show error message in case no group
46258 names are given.
46259
3a2c0242
UD
46260 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46261 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46262 __bump_nl_timestamp.
46263 * nscd/connections (nscd_init): When host database is served open
46264 netlink socket and request notification about configuration changes.
46265 (main_loop_poll): Track netlink file descriptor and bump timestamp
46266 in case data becomes available.
46267 (main_loop_epoll): Likewise.
46268 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46269 (database_pers_head): Add extra_data fileds.
46270 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46271 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46272 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46273 Adjust caller.
46274 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46275 in6ai data, call __free_in6ai.
46276 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46277 Add -DHAVE_NETLINK.
46278 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46279 interface information. Reuse previous data if netlink timestamp
46280 is not changed.
46281 (__bump_nl_timestamp): New function.
46282 (__free_in6ai): New function.
46283
636064eb
UD
462842011-10-30 Ulrich Drepper <drepper@gmail.com>
46285
46286 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46287 close_not_cancel_no_status here.
46288 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46289
9beb2334
UD
462902011-10-29 Ulrich Drepper <drepper@gmail.com>
46291
6ef76f3b
UD
46292 [BZ #13276]
46293 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46294 return value.
46295
0ffc4f3e 46296 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46297 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46298 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46299
cb95113e
UD
463002011-07-03 Andreas Jaeger <aj@suse.de>
46301
46302 [BZ #10709]
46303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46304 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46305 * math/libm-test.inc (sin_test): Add test case.
46306
a1b560ff
UD
463072011-10-29 Ulrich Drepper <drepper@gmail.com>
46308
c9aaface
UD
46309 [BZ #13337]
46310 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46311 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46312
d272e7f1
UD
46313 * elf/chroot_canon.c (chroot_canon): Cleanups.
46314
1bc33071
UD
46315 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46316
1760874d
TJ
46317 [BZ #13335]
46318 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46319 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46320
51d91b18
UD
46321 * string/test-strchr.c: Make usable for strchrnul testing.
46322 * string/test-strchrnul.c: New file.
46323 * string/Makefile (strop-tests): Add strchrnul.
46324
a1b560ff 46325 * po/it.po: Update from translation team.
b611fb81 46326 * po/es.po: Likewise.
a1b560ff 46327
a5b81e1f
UD
463282011-10-28 Ulrich Drepper <drepper@gmail.com>
46329
fd52bc6d
UD
46330 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46331 the three constants needed as parameters. Drop the others.
46332 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46333 __m128i_strloadu_tolower.
52e4b9eb
UD
46334 Create and initialize variable zero and use it in all the places
46335 where _mm_setzero_si128 was used.
fd52bc6d 46336
a5b81e1f
UD
46337 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46338 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46339 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46340 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46341 anymore.
46342 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46343 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46344 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46345 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46347 __mpranred, __mptan.
46348 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46349 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46350 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46351 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46352 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46353 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46355 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46356 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46357
b4343346
AS
463582011-10-28 Andreas Schwab <schwab@redhat.com>
46359
0c92d8a8
AS
46360 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46361 redefine if SHARED.
46362 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46363
b4343346
AS
46364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46365 wide char related routines to wcsmbs subdir.
46366
3871f58f
AS
463672011-10-27 Andreas Schwab <schwab@redhat.com>
46368
46369 [BZ #13344]
46370 * misc/sys/cdefs.h (__THROWNL): Define.
46371 * posix/unistd.h: Use __THREADNL instead of __THREAD
46372 for memory synchronization functions.
46373
94d44d9f
RM
463742011-10-26 Roland McGrath <roland@hack.frob.com>
46375
21b64b15 46376 [BZ #13349]
94d44d9f
RM
46377 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46378 doesn't exist.
46379 * manual/stdio.texi (Obstack Streams): Node removed.
46380
f6ce9294
AS
463812011-10-26 Andreas Schwab <schwab@redhat.com>
46382
80479147
AS
46383 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46384 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46385 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46386
f6ce9294
AS
46387 * math/math_private.h (math_force_eval): Allow non-addressable
46388 arguments.
46389 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46390
618280a1
UD
463912011-10-25 Ulrich Drepper <drepper@gmail.com>
46392
e0016b11
UD
46393 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46394 file is not needed.
46395
46396 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46398 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46399 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46401 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46402 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46403 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46404 Add AVX variants.
46405 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46406 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46407 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46408 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46409 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46410 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46411 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46412 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46413 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46414 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46415 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46416 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46419 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46420 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46421 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46422 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46423 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46424
46425 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46426 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46427
618280a1
UD
46428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46429 place. Use VEX encoding when compiling for AVX.
46430
37822576
AS
464312011-10-25 Andreas Schwab <schwab@redhat.com>
46432
1f1e1947
AS
46433 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46434 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46435
37822576
AS
46436 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46437
31ea014d
UD
464382011-10-25 Ulrich Drepper <drepper@gmail.com>
46439
d7826aa1 46440 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46441 useless if() expression.
d7826aa1
UD
46442 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46448 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46451 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46452 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46453 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46454 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46455 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46456 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46458 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46459 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46460 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46461
31ea014d
UD
46462 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46463
16437fec
AS
464642011-10-25 Andreas Schwab <schwab@redhat.com>
46465
46466 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46467 condition.
46468 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46469
31d3cc00
UD
464702011-10-25 Ulrich Drepper <drepper@gmail.com>
46471
46472 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46473 .text section. Avoid duplicate constants.
46474 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46482 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46483 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46484 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46485 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46486 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46487 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46488 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46490 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46491 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46492 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46494 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46495 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46496 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46497 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46498 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46499 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46500 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46501 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46503 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46504 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46507 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46508 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46509 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46510 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46512 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46513 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46514 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46516 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46517 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46518 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46519
58985aa9
UD
465202011-10-24 Ulrich Drepper <drepper@gmail.com>
46521
202c9deb
UD
46522 * sysdeps/x86_64/dla.h: Move to ...
46523 * sysdeps/x86_64/fpu/dla.h: ...here.
46524 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46525 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46526
af968f62
UD
46527 * config.make.in: Add have-mfma4 entry.
46528 * configure.in: Substitute libc_cv_cc_fma4.
46529 * math/Makefile (dbl-only-routines): Add sincostab.
46530 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46531 Use __sincostab not sincos.
46532 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46533 name is a macro.
46534 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46538 using __copysign.
46539 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46540 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46541 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46542 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46543 and __inv.
46544 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46545 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46546 __copysign.
46547 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46548 define aliases when function name is a macro.
46549 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46550 sysdeps/ieee754/dbl-64/sincos.tbl.
46551 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46552 fma4-enabled routines.
46553 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46554 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46555 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46556 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46557 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46558 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46559 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46560 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46562 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46563 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46564 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46565 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46566 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46567 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46568 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46569 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46570 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46571 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46572 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46573 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46574 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46575 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46577 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46579 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46580 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46581 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46582 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46583
58985aa9
UD
46584 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46585 rename.
46586 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46594
a201fbcf
AS
465952011-10-24 Andreas Schwab <schwab@redhat.com>
46596
46597 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46598
fc2ee42a
LD
465992011-10-23 Ulrich Drepper <drepper@gmail.com>
46600
bb3129bd
UD
46601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46602
0275fff8
UD
46603 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46604 prediction.
46605 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46606
2fa2ae85
UD
46607 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46608 Remove unused variable magic_bits.
46609 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46610
fc2ee42a
LD
46611 * string/strnlen.c: Define and use STRNLEN macro.
46612 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46613 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46615 * wcsmbs/wcslen.c: Define and use WCSLEN.
46616 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46617 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46618 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46619 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46620 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46621 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46623
ce7dd29f
LD
466242011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46625
46626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46627 strnlen-sse2-no-bsf.
46628 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46629 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46630 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46631 Add strnlen support.
46632 (USE_AS_STRNLEN): New macro.
46633 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46634 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46635 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46636 * sysdeps/x86_64/wcslen.S: New file.
46637
979c70a3
MZ
466382011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46639
46640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46641 XMM-moves are used for copying on small sizes.
46642
2d09f82f
LD
466432011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46644
46645 * wcsmbs/Makefile (strop-tests): Add wcschr.
46646 * wcsmbs/test-wcschr.c: New file.
46647 * string/test-strchr.c: Update.
46648 Add wcschr support.
46649 (WIDE): New macro.
46650
619fccca
LD
466512011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46652
2d09f82f 46653 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46654 * wcsmbs/test-wcslen.c: New file.
46655 * string/test-strlen.c: Update.
46656 Add wcslen support.
46657 (WIDE): New macro.
46658
09f699ea
UD
466592011-10-23 Ulrich Drepper <drepper@gmail.com>
46660
46661 * po/it.po: Update from translation team.
46662
95584d3b
LD
466632011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46664
46665 * sysdeps/x86_64/wcscmp.S: Update.
46666 Fix wrong comparison semantics.
46667 wcscmp shall use signed comparison not unsigned.
46668 Don't use substraction to avoid overflow bug.
46669 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46670 * wcsmbc/wcscmp.c: Likewise.
46671 * string/test-strcmp.c: Likewise.
46672 Add new tests to check cases with negative values.
46673
c8b3296b
UD
466742011-10-23 Ulrich Drepper <drepper@gmail.com>
46675
46676 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46677 * sysdeps/x86_64/dla.h: ...here. New file.
46678 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46687
246ad57a
AS
466882011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46689
46690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46691 __ynl_finite aliases.
46692
a1a87169
UD
466932011-10-22 Ulrich Drepper <drepper@gmail.com>
46694
0d355eb7
UD
46695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46696
a1a87169
UD
46697 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46698 define DLA_FMA.
46699 [DLA_FMA] (EMULV): Use DLA_FMA.
46700 [DLA_FMA] (MUL12): Use EMULV.
46701 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46702 that are not needed.
46703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46710
ee2aafe0
AS
467112011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46712
46713 * math/s_nan.c: Undef __nan.
46714 * math/s_nanf.c: Undef __nanf.
46715 * math/s_nanl.c: Undef __nanl.
46716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46717 "math_private.h".
46718
bc62c2fb
UD
467192011-10-22 Ulrich Drepper <drepper@gmail.com>
46720
77425c63
UD
46721 * math/s_catan.c: Add branch predictions.
46722 * math/s_catanf.c: Likewise.
46723 * math/s_catanh.c: Likewise.
46724 * math/s_catanhf.c: Likewise.
46725 * math/s_catanhl.c: Likewise.
46726 * math/s_catanl.c: Likewise.
46727 * math/s_cexp.c: Likewise.
46728 * math/s_cexpf.c: Likewise.
46729 * math/s_cexpl.c: Likewise.
46730 * math/s_clog.c: Likewise.
46731 * math/s_clog10.c: Likewise.
46732 * math/s_clog10f.c: Likewise.
46733 * math/s_clog10l.c: Likewise.
46734 * math/s_clogf.c: Likewise.
46735 * math/s_clogl.c: Likewise.
46736 * math/s_csqrt.c: Likewise.
46737 * math/s_csqrtf.c: Likewise.
46738 * math/s_csqrtl.c: Likewise.
46739 * math/s_ctanf.c: Likewise.
46740 * math/s_ctanh.c: Likewise.
46741 * math/s_ctanhf.c: Likewise.
46742 * math/s_ctanhl.c: Likewise.
46743 * math/s_ctanl.c: Likewise.
46744
bc62c2fb
UD
46745 * math/math_private.h: Define __nan, __nanf, __nanl.
46746 * math/s_cacosh.c: Include <math_private.h>.
46747 * math/s_cacoshl.c: Likewise.
46748 * math/s_casinh.c: Likewise.
46749 * math/s_casinhf.c: Likewise.
46750 * math/s_casinhl.c: Likewise.
46751 * math/s_ccos.c: Rely entire on ccosh.
46752 * math/s_ccosf.c: Rely entire on ccoshf.
46753 * math/s_ccosl.c: Rely entirely on ccoshl.
46754 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46755 Remove tests for FE_INVALID.
46756 * math/s_ccoshf.c: Likewise.
46757 * math/s_ccoshl.c: Likewise.
46758 * math/s_csin.c: Likewise.
46759 * math/s_csinf.c: Likewise.
46760 * math/s_csinh.c Likewise.
46761 * math/s_csinhf.c: Likewise.
46762 * math/s_csinhl.c: Likewise.
46763 * math/s_csinl.c: Likewise.
46764 * math/s_ctan.c: Likewise.
46765 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46766 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46767 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46768
8ec250a4
UD
467692011-10-21 Ulrich Drepper <drepper@gmail.com>
46770
c196fed8
UD
46771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46772 compilation problems.
46773
8ec250a4
UD
46774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46775 __builtin_expect.
46776
8d4f46c6
UD
467772011-10-20 Ulrich Drepper <drepper@gmail.com>
46778
ed72b654
UD
46779 * sysdeps/i386/configure.in: Test for -mfma4 option.
46780 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46781 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46782 COMMON_CPUID_INDEX_80000001.
46783 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46784 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46785 use it if FMA3 is not supported.
46786 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46787
8d4f46c6
UD
46788 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46789 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46790
d45c60c2
AS
467912011-10-20 Andreas Schwab <schwab@redhat.com>
46792
46793 [BZ #12892]
46794 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46795 it would create a cycle with a link time dependency.
46796
d9a4d2ab
UD
467972011-10-19 Ulrich Drepper <drepper@gmail.com>
46798
855d1560
UD
46799 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46800 instruction.
46801 * string/Makefile (strop-tests): Add rawmemchr.
46802 * string/test-rawmemchr.c: New file.
46803
d9a4d2ab
UD
46804 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46806 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46807 when compiling str{,n}casecmp and when AVX is available. Hook up
46808 new optimized code in initializers.
46809
8f3b1ffe
AS
468102011-10-19 Andreas Schwab <schwab@redhat.com>
46811
46812 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46813 __feraiseexcept instead of feraiseexcept.
46814
d38f1dba
UD
468152011-10-18 Ulrich Drepper <drepper@gmail.com>
46816
d9a8d0ab
UD
46817 * math/math_private.h: Define defaults for libc_fetestexcept and
46818 libc_feupdateenv.
46819 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46820 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46821 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46822 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46823 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46824 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46825 libc_fetestexcept and libc_feupdateenv.
46826
4855e3dd
UD
46827 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46828 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46829 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46830 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46831 libc_feholdexcept_setround.
46832
581d30e3
UD
46833 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46834 Add s_nearbyint-c and s_nearbyintf-c.
46835 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46836 nearbyintf inlines.
46837 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46838 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46839 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46840 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46841
d38f1dba
UD
46842 * math/math_private.h: Define defaults for libc_fegetround,
46843 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46844 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46845 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46846 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46847 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46848 standard functions.
46849 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46850 Remove comments and hacks for old compiler versions.
46851 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46852 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46853 libc_feholdexceptl.
46854
caa6c9d8
AS
468552011-10-18 Andreas Schwab <schwab@redhat.com>
46856
46857 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46858 (__feraiseexcept_renamed): Add __NTH.
46859 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46860 namespace violations.
46861
97c066e6
UD
468622011-10-17 Ulrich Drepper <drepper@gmail.com>
46863
99ce7b04
UD
46864 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46865
1004d182
UD
46866 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46867
228a984d
UD
46868 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46869 recently added interfaces.
46870 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46871
c8553a6a
UD
46872 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46873 about macro parameter expansion.
46874
ed22dcf6
UD
46875 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46876 __NO_MATH_INLINES is defined. Cleanups.
46877
46878 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46879 and __floorf is target has SSE4.1.
46880 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46881 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46882 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46883 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46884
b171c137
UD
46885 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46886 name.
46887 (floorf): Likewise.
46888
97c066e6
UD
46889 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46890
629f62ef
AS
468912011-10-17 Andreas Schwab <schwab@redhat.com>
46892
49a43d80
AS
46893 * misc/sys/cdefs.h: Fix last change.
46894
629f62ef
AS
46895 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46896 database lookup.
46897
e453f6cd
UD
468982011-10-16 Ulrich Drepper <drepper@gmail.com>
46899
aa78043a
UD
46900 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46901
ad0f5cad
UD
46902 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46903 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46904 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46905 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46907 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46908 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46910 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46911 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46912 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46913 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46914 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46915 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46916 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46917 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46918 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46919 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46920 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46921 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46922 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46923 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46924
46925 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46926 ceil, ceilf, floor, floorf.
46927
46928 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46929 Perform IRELATIVE relocations last.
46930
e453f6cd
UD
46931 * elf/do-rel.h: Add another parameter nrelative, replacing the
46932 local variable with the same name. Change name of the function
46933 to end in Rel or Rela (uppercase).
46934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46935 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46936 elf_dynamic_do_##reloc function.
46937
fd5bdc09
UD
469382011-10-15 Ulrich Drepper <drepper@gmail.com>
46939
79b195b5
UD
46940 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46941 is sufficient, at least on modern CPUs.
46942
d4a28569
UD
46943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46944
b61099b5
UD
46945 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46947
bcf01e6d
UD
46948 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46949 __expl_finite.
46950 * math/bits/math-finite.h: Add entries for exp.
46951 * math/e_expl.c: Add __*_finite alias.
46952 * sysdeps/i386/fpu/e_exp.S: Likewise.
46953 * sysdeps/i386/fpu/e_expf.S: Likewise.
46954 * sysdeps/i386/fpu/e_expl.c: Likewise.
46955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46956 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46957 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46959 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46960 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46961 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46962
ba1a0d59
UD
46963 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46964 is sufficient, at least on modern CPUs.
46965
fd5bdc09
UD
46966 * ctype/ctype-info.c (__ctype_init): Define.
46967 * include/ctype.h (__ctype_init): Declare.
46968 (__ctype_b_loc): The variable is always initialized.
46969 (__ctype_toupper_loc): Likewise.
46970 (__ctype_tolower_loc): Likewise.
46971 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46972 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46973
7872cfb0
AS
469742011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46975
b468825a
AS
46976 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46977
7872cfb0
AS
46978 * configure.in: Also look in $cxxmachine/include for C++ system
46979 headers.
46980
be13f7bf
LD
469812011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46982
46983 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46984 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46985 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46986 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46987 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46988 (USE_AS_WMEMCMP): New macro.
46989 Fixing indents.
46990 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46991 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46992 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46993 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46995 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46996 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46997 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46998 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46999 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47000 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47001 (USE_AS_WMEMCMP): New macro.
47002 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47003 * sysdeps/string/test-memcmp.c: Update.
47004 Fix simple_wmemcmp.
47005 Add new tests.
47006 * wcsmbs/wmemcmp.c: Update.
47007 (WMEMCMP): New macro.
47008 Fix overflow bug.
47009
556a2007
AJ
470102011-10-12 Andreas Jaeger <aj@suse.de>
47011
47012 [BZ #13268]
47013 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47014
538faaa7
UD
470152011-10-15 Ulrich Drepper <drepper@gmail.com>
47016
ab6737ff
UD
47017 * libio/iofwide.c (do_length): Avoid warning.
47018
538faaa7
UD
47019 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47020
396a21b1
UD
470212011-10-14 Ulrich Drepper <drepper@gmail.com>
47022
cdf2901f
UD
47023 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47024
38ad40ce
UD
47025 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47026 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47027 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47028 * sysdeps/i386/i686/fpu/e_log.S: New file.
47029 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47030 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47031
396a21b1
UD
47032 * ctype/ctype.h: Add support for inlined isXXX functions when
47033 compiling C++ code.
47034
6b1f68c9
AS
470352011-10-14 Andreas Schwab <schwab@redhat.com>
47036
349290c0
AS
47037 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47038
6b1f68c9
AS
47039 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47040
f2282d42
RM
470412011-10-13 Roland McGrath <roland@hack.frob.com>
47042
47043 [BZ #13291]
47044 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47045
5298ffa8
AS
470462011-10-13 Andreas Schwab <schwab@redhat.com>
47047
714fad23
AS
47048 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47049 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47050 feraiseexcept.
47051
81dcc7fb
AS
47052 * sysdeps/x86_64/memrchr.S: Check for zero size.
47053
5298ffa8
AS
47054 * string/stratcliff.c: Add memrchr tests.
47055
951fbcec
LD
470562011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47057
47058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47059 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47060 rawmemchr-sse2 rawmemchr-sse2-bsf.
47061 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47062 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47063 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47064 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47065 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47066 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47067 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47068 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47069 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47070 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47071 * string/memrchr.c (MEMRCHR): New macro.
47072
0ac5ae23
UD
470732011-10-12 Ulrich Drepper <drepper@gmail.com>
47074
47075 Add integration with gcc's -ffinite-math-only and optimize wrapper
47076 functions in libm.
47077 * Versions.def: Define GLIBC_2.15 version for libm.
47078 * math/Makefile (headers): Add bits/math-finite.h.
47079 * math/bits/math-finite.h: New file.
47080 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47081 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47082 * math/e_acoshl.c: Add __*_finite alias.
47083 * math/e_acosl.c: Likewise.
47084 * math/e_asinl.c: Likewise.
47085 * math/e_atan2l.c: Likewise.
47086 * math/e_atanhl.c: Likewise.
47087 * math/e_coshl.c: Likewise.
47088 * math/e_exp10.c: Likewise.
47089 * math/e_exp10f.c: Likewise.
47090 * math/e_exp10l.c: Likewise.
47091 * math/e_exp2l.c: Likewise.
47092 * math/e_fmodl.c: Likewise.
47093 * math/e_gammal_r.c: Likewise.
47094 * math/e_hypotl.c: Likewise.
47095 * math/e_j0l.c: Likewise.
47096 * math/e_j1l.c: Likewise.
47097 * math/e_jnl.c: Likewise.
47098 * math/e_lgammal_r.c: Likewise.
47099 * math/e_log10l.c: Likewise.
47100 * math/e_log2l.c: Likewise.
47101 * math/e_logl.c: Likewise.
47102 * math/e_powl.c: Likewise.
47103 * math/e_sinhl.c: Likewise.
47104 * math/e_sqrtl.c: Likewise.
47105 * math/e_scalb.c: Completely rewritten and optimized.
47106 * math/e_scalbf.c: Likewise.
47107 * math/e_scalbl.c: Likewise.
47108 * math/w_acos.c: Likewise.
47109 * math/w_acosf.c: Likewise.
47110 * math/w_acosl.c: Likewise.
47111 * math/w_acosh.c: Likewise.
47112 * math/w_acoshf.c: Likewise.
47113 * math/w_acoshl.c: Likewise.
47114 * math/w_asin.c: Likewise.
47115 * math/w_asinf.c: Likewise.
47116 * math/w_asinl.c: Likewise.
47117 * math/w_atan2.c: Likewise.
47118 * math/w_atan2f.c: Likewise.
47119 * math/w_atan2l.c: Likewise.
47120 * math/w_atanh.c: Likewise.
47121 * math/w_atanhf.c: Likewise.
47122 * math/w_atanhl.c: Likewise.
47123 * math/w_exp10.c: Likewise.
47124 * math/w_exp10f.c: Likewise.
47125 * math/w_exp10l.c: Likewise.
47126 * math/w_fmod.c: Likewise.
47127 * math/w_fmodf.c: Likewise.
47128 * math/w_fmodl.c: Likewise.
47129 * math/w_j0.c: Likewise.
47130 * math/w_j0f.c: Likewise.
47131 * math/w_j0l.c: Likewise.
47132 * math/w_j1.c: Likewise.
47133 * math/w_j1f.c: Likewise.
47134 * math/w_j1l.c: Likewise.
47135 * math/w_jn.c: Likewise.
47136 * math/w_jnf.c: Likewise.
47137 * math/w_log.c: Likewise.
47138 * math/w_logf.c: Likewise.
47139 * math/w_logl.c: Likewise.
47140 * math/w_log10.c: Likewise.
47141 * math/w_log10f.c: Likewise.
47142 * math/w_log10l.c: Likewise.
47143 * math/w_log2.c: Likewise.
47144 * math/w_log2f.c: Likewise.
47145 * math/w_log2l.c: Likewise.
47146 * math/w_pow.c: Likewise.
47147 * math/w_powf.c: Likewise.
47148 * math/w_powl.c: Likewise.
47149 * math/w_remainder.c: Likewise.
47150 * math/w_remainderf.c: Likewise.
47151 * math/w_remainderl.c: Likewise.
47152 * math/w_scalb.c: Likewise.
47153 * math/w_scalbf.c: Likewise.
47154 * math/w_scalbl.c: Likewise.
47155 * math/w_sqrt.c: Likewise.
47156 * math/w_sqrtf.c: Likewise.
47157 * math/w_sqrtl.c: Likewise.
47158 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47159 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47160 used.
47161 * math/math_private.h: Declare __kernel_standard_f.
47162 * math/w_cosh.c: Remove cruft and optimize a bit.
47163 * math/w_coshf.c: Likewise.
47164 * math/w_coshl.c: Likewise.
47165 * math/w_exp2.c: Likewise.
47166 * math/w_exp2f.c: Likewise.
47167 * math/w_exp2l.c: Likewise.
47168 * math/w_hypot.c: Likewise.
47169 * math/w_hypotf.c: Likewise.
47170 * math/w_hypotl.c: Likewise.
47171 * math/w_lgamma.c: Likewise.
47172 * math/w_lgamma_r.c: Likewise.
47173 * math/w_lgammaf.c: Likewise.
47174 * math/w_lgammaf_r.c: Likewise.
47175 * math/w_lgammal.c: Likewise.
47176 * math/w_lgammal_r.c: Likewise.
47177 * math/w_sinh.c: Likewise.
47178 * math/w_sinhf.c: Likewise.
47179 * math/w_sinhl.c: Likewise.
47180 * math/w_tgamma.c: Likewise.
47181 * math/w_tgammaf.c: Likewise.
47182 * math/w_tgammal.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47184 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47185 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47186 Minor optimizations. Pretty printing. Remove cruft.
47187 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47188 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47189 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47190 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47191 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47192 * sysdeps/i386/fpu/e_asin.S: Likewise.
47193 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47194 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47195 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47196 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47197 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47198 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47200 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47201 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47202 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47203 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47204 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47205 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47206 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47207 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47208 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47209 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47210 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47211 * sysdeps/i386/fpu/e_log.S: Likewise.
47212 * sysdeps/i386/fpu/e_log10.S: Likewise.
47213 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47214 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47215 * sysdeps/i386/fpu/e_log2.S: Likewise.
47216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47218 * sysdeps/i386/fpu/e_logf.S: Likewise.
47219 * sysdeps/i386/fpu/e_logl.S: Likewise.
47220 * sysdeps/i386/fpu/e_pow.S: Likewise.
47221 * sysdeps/i386/fpu/e_powf.S: Likewise.
47222 * sysdeps/i386/fpu/e_powl.S: Likewise.
47223 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47224 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47225 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47226 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47227 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47228 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47229 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47230 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47231 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47232 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47233 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47235 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47237 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47238 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47239 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47241 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47242 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47243 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47245 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47246 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47248 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47250 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47252 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47253 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47256 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47257 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47258 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47259 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47260 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47261 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47262 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47263 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47264 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47266 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47267 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47268 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47269 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47270 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47271 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47272 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47273 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47313 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47315 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47317 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47318 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47320 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47323 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47324 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47325 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47326 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47327 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47328 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47329 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47330 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47331 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47332 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47333 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47334 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47335 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47336 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47337 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47338 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47339 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47340 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47341 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47342 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47343 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47344 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47345 (__isnanf): Likewise.
47346 (__isinf_ns): Likewise.
47347 (__isinf_nsf): Likewise.
47348 (__finite): Likewise.
47349 (__finitef): Likewise.
47350 (__ieee754_sqrt): Define as macro.
47351 (__ieee754_sqrtf): Define as macro.
47352 (__ieee754_sqrtl): Define as macro.
47353 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47354 inlined copy.
47355 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47356 __FINITE_MATH_ONLY__ consistent.
47357 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47358
12cc2fcd
AS
473592011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47360
a843a204
AS
47361 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47362 of rawmemchr.
47363
12cc2fcd
AS
47364 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47365
c853acd5
UD
473662011-10-09 Ulrich Drepper <drepper@gmail.com>
47367
47368 * po/ja.po: Update from translation team.
47369
c658d255
RM
473702011-10-08 Roland McGrath <roland@hack.frob.com>
47371
110946e4
RM
47372 * locale/programs/locarchive.c (prepare_address_space): New function.
47373 (create_archive, enlarge_archive, open_archive): Use it.
47374
50604220
RM
47375 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47376 inside [SHARED], where it is used.
47377
c658d255
RM
47378 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47379
47380 * nss/getent.c (netgroup_keys): Remove unused variable.
47381 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47382
6a621eb7
UD
473832011-10-08 Ulrich Drepper <drepper@gmail.com>
47384
7edb55ce
UD
47385 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47386 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47388 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47389 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47390 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47391 * math/Makefile (libm-calls): Add s_isinf_ns.
47392 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47393 * math/multc3.c: Likewise.
47394 * math/s_casin.c: Likewise.
47395 * math/s_casinf.c: Likewise.
47396 * math/s_casinl.c: Likewise.
47397 * math/s_ccos.c: Likewise.
47398 * math/s_ccosf.c: Likewise.
47399 * math/s_ccosl.c: Likewise.
47400 * math/s_ctan.c: Likewise.
47401 * math/s_ctanf.c: Likewise.
47402 * math/s_ctanh.c: Likewise.
47403 * math/s_ctanhf.c: Likewise.
47404 * math/s_ctanhl.c: Likewise.
47405 * math/s_ctanl.c: Likewise.
47406 * math/w_fmod.c: Likewise.
47407 * math/w_fmodf.c: Likewise.
47408 * math/w_fmodl.c: Likewise.
47409 * math/w_remainder.c: Likewise.
47410 * math/w_remainderf.c: Likewise.
47411 * math/w_remainderl.c: Likewise.
47412 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47413 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47416 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47417 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47418 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47419 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47420
187da0ae
UD
47421 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47422 of the number.
47423 * stdio-common/printf_fphex.c: Likewise.
47424 * stdio-common/printf_size.c: Likewise.
47425
9277c064
UD
47426 * math/e_exp10.c: Include math_private.h using <...> not "...".
47427 * math/e_exp10f.c: Likewise.
47428 * math/e_exp10l.c: Likewise.
47429 * math/e_exp2l.c: Likewise.
47430 * math/e_j0l.c: Likewise.
47431 * math/e_j1l.c: Likewise.
47432 * math/e_jnl.c: Likewise.
47433 * math/e_lgammal_r.c: Likewise.
47434 * math/e_rem_pio2l.c: Likewise.
47435 * math/e_scalb.c: Likewise.
47436 * math/e_scalbf.c: Likewise.
47437 * math/e_scalbl.c: Likewise.
47438 * math/k_cosl.c: Likewise.
47439 * math/k_sinl.c: Likewise.
47440 * math/k_tanl.c: Likewise.
47441 * math/s_cacoshf.c: Likewise.
47442 * math/s_catan.c: Likewise.
47443 * math/s_catanf.c: Likewise.
47444 * math/s_catanh.c: Likewise.
47445 * math/s_catanhf.c: Likewise.
47446 * math/s_catanhl.c: Likewise.
47447 * math/s_catanl.c: Likewise.
47448 * math/s_ccosh.c: Likewise.
47449 * math/s_ccoshf.c: Likewise.
47450 * math/s_ccoshl.c: Likewise.
47451 * math/s_cexp.c: Likewise.
47452 * math/s_cexpf.c: Likewise.
47453 * math/s_cexpl.c: Likewise.
47454 * math/s_clog.c: Likewise.
47455 * math/s_clog10.c: Likewise.
47456 * math/s_clog10f.c: Likewise.
47457 * math/s_clog10l.c: Likewise.
47458 * math/s_clogf.c: Likewise.
47459 * math/s_clogl.c: Likewise.
47460 * math/s_csin.c: Likewise.
47461 * math/s_csinf.c: Likewise.
47462 * math/s_csinh.c: Likewise.
47463 * math/s_csinhf.c: Likewise.
47464 * math/s_csinhl.c: Likewise.
47465 * math/s_csinl.c: Likewise.
47466 * math/s_csqrt.c: Likewise.
47467 * math/s_csqrtf.c: Likewise.
47468 * math/s_csqrtl.c: Likewise.
47469 * math/s_ctan.c: Likewise.
47470 * math/s_ctanf.c: Likewise.
47471 * math/s_ctanh.c: Likewise.
47472 * math/s_ctanhf.c: Likewise.
47473 * math/s_ctanhl.c: Likewise.
47474 * math/s_ctanl.c: Likewise.
47475 * math/s_ldexp.c: Likewise.
47476 * math/s_ldexpf.c: Likewise.
47477 * math/s_ldexpl.c: Likewise.
47478 * math/s_significand.c: Likewise.
47479 * math/s_significandf.c: Likewise.
47480 * math/s_significandl.c: Likewise.
47481 * math/w_acos.c: Likewise.
47482 * math/w_acosf.c: Likewise.
47483 * math/w_acosh.c: Likewise.
47484 * math/w_acoshf.c: Likewise.
47485 * math/w_acoshl.c: Likewise.
47486 * math/w_acosl.c: Likewise.
47487 * math/w_asin.c: Likewise.
47488 * math/w_asinf.c: Likewise.
47489 * math/w_asinl.c: Likewise.
47490 * math/w_atan2.c: Likewise.
47491 * math/w_atan2f.c: Likewise.
47492 * math/w_atan2l.c: Likewise.
47493 * math/w_atanh.c: Likewise.
47494 * math/w_atanhf.c: Likewise.
47495 * math/w_atanhl.c: Likewise.
47496 * math/w_cosh.c: Likewise.
47497 * math/w_coshf.c: Likewise.
47498 * math/w_coshl.c: Likewise.
47499 * math/w_dremf.c: Likewise.
47500 * math/w_exp10.c: Likewise.
47501 * math/w_exp10f.c: Likewise.
47502 * math/w_exp10l.c: Likewise.
47503 * math/w_exp2.c: Likewise.
47504 * math/w_exp2f.c: Likewise.
47505 * math/w_fmod.c: Likewise.
47506 * math/w_fmodf.c: Likewise.
47507 * math/w_fmodl.c: Likewise.
47508 * math/w_hypot.c: Likewise.
47509 * math/w_hypotf.c: Likewise.
47510 * math/w_hypotl.c: Likewise.
47511 * math/w_j0.c: Likewise.
47512 * math/w_j0f.c: Likewise.
47513 * math/w_j0l.c: Likewise.
47514 * math/w_j1.c: Likewise.
47515 * math/w_j1f.c: Likewise.
47516 * math/w_j1l.c: Likewise.
47517 * math/w_jn.c: Likewise.
47518 * math/w_jnf.c: Likewise.
47519 * math/w_jnl.c: Likewise.
47520 * math/w_lgamma.c: Likewise.
47521 * math/w_lgamma_r.c: Likewise.
47522 * math/w_lgammaf.c: Likewise.
47523 * math/w_lgammaf_r.c: Likewise.
47524 * math/w_lgammal.c: Likewise.
47525 * math/w_lgammal_r.c: Likewise.
47526 * math/w_log.c: Likewise.
47527 * math/w_log10.c: Likewise.
47528 * math/w_log10f.c: Likewise.
47529 * math/w_log10l.c: Likewise.
47530 * math/w_log2.c: Likewise.
47531 * math/w_log2f.c: Likewise.
47532 * math/w_log2l.c: Likewise.
47533 * math/w_logf.c: Likewise.
47534 * math/w_logl.c: Likewise.
47535 * math/w_pow.c: Likewise.
47536 * math/w_powf.c: Likewise.
47537 * math/w_powl.c: Likewise.
47538 * math/w_remainder.c: Likewise.
47539 * math/w_remainderf.c: Likewise.
47540 * math/w_remainderl.c: Likewise.
47541 * math/w_scalb.c: Likewise.
47542 * math/w_scalbf.c: Likewise.
47543 * math/w_scalbl.c: Likewise.
47544 * math/w_sinh.c: Likewise.
47545 * math/w_sinhf.c: Likewise.
47546 * math/w_sinhl.c: Likewise.
47547 * math/w_sqrt.c: Likewise.
47548 * math/w_sqrtf.c: Likewise.
47549 * math/w_sqrtl.c: Likewise.
47550 * math/w_tgamma.c: Likewise.
47551 * math/w_tgammaf.c: Likewise.
47552 * math/w_tgammal.c: Likewise.
47553
6a621eb7
UD
47554 * po/ja.po: Update from translation team.
47555
bf582445
AJ
475562011-09-29 Andreas Jaeger <aj@suse.de>
47557
f9efbf3a
AJ
47558 [BZ #13179]
47559 * sunrpc/netname.c (netname2host): Fix logic.
47560
bf582445
AJ
47561 [BZ #6779]
47562 [BZ #6783]
47563 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47564 correctly.
47565 * math/w_remainder.c (__remainder): Likewise.
47566 * math/w_remainderf.c (__remainderf): Likewise.
47567 * math/libm-test.inc (remainder_test): Add test cases.
47568
48693bea
AK
475692011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47570
47571 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47572 sdiv_qrnnd.
47573
42622229
LD
475742011-10-07 Ulrich Drepper <drepper@gmail.com>
47575
47576 * string/test-memcmp.c: Avoid unncessary #defines.
47577 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47578
093ecf92
LD
475792011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47580
47581 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47582 Use new sse2 version for core i3 - i7 as it's faster
47583 than sse42 version.
47584 (bit_Prefer_PMINUB_for_stringop): New.
47585 * sysdeps/x86_64/rawmemchr.S: Update.
47586 Replace with faster SSE2 version.
47587 * sysdeps/x86_64/memrchr.S: New file.
47588 * sysdeps/x86_64/memchr.S: Update.
47589 Replace with faster SSE2 version.
47590
fde56e5c
MP
475912011-09-12 Marek Polacek <mpolacek@redhat.com>
47592
47593 * elf/dl-load.c (lose): Add cast to avoid warning.
47594
21fd49a9
UD
475952011-10-07 Ulrich Drepper <drepper@gmail.com>
47596
5a06e643
UD
47597 * po/ca.po: Update from translation team.
47598
684ae515
UD
47599 * inet/getnetgrent_r.c: Hook up nscd.
47600 * nscd/Makefile (routines): Add nscd_netgroup.
47601 (nscd-modules): Add netgroupcache.
47602 (CFLAGS-netgroupcache.c): Define.
47603 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47604 (cache_search): Add const to second parameter.
47605 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47606 INNETGR.
47607 (dbs): Add netgrdb entry.
47608 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47609 (verify_persistent_db): Handle netgrdb.
47610 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47611 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47612 GETFDNETGR.
47613 (netgroup_response_header): Define.
47614 (innetgroup_response_header): Define.
47615 (datahead): Add netgroup_response_header and innetgroup_response_header
47616 elements.
47617 * nscd/nscd.conf: Add entries for netgroup cache.
47618 * nscd/nscd.h (dbtype): Add netgrdb.
47619 (_PATH_NSCD_NETGROUP_DB): Define.
47620 (netgroup_iov_disabled): Declare.
47621 (xmalloc, xcalloc, xrealloc): Move declarations here.
47622 (cache_search): Adjust prototype.
47623 Add netgroup-related prototypes.
47624 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47625 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47626 (__nscd_innetgr): Declare.
47627 * nscd/selinux.c (perms): Use access_vector_t as element type and
47628 add netgroup-related initializers.
47629 * nscd/netgroupcache.c: New file.
47630 * nscd/nscd_netgroup.c: New file.
47631 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47632 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47633 For four parameters use innetgr.
47634 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47635 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47636 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47637 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47638
21fd49a9
UD
47639 * nscd/connections.c (register_traced_file): Don't register file
47640 for disabled databases.
47641
054c0457
UD
476422011-10-06 Ulrich Drepper <drepper@gmail.com>
47643
32b63198
UD
47644 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47645
054c0457
UD
47646 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47647 from tree and freeing node.
47648
64031225
JO
476492011-09-25 Jiri Olsa <jolsa@redhat.com>
47650
47651 * nss/nsswitch.c (__nss_database_lookup): Handle
47652 nss_parse_service_list out of memory case.
47653
0490345c
JO
476542011-09-15 Jiri Olsa <jolsa@redhat.com>
47655
47656 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47657 out of memory case.
47658
3a62d00d
AS
476592011-10-04 Andreas Schwab <schwab@redhat.com>
47660
47661 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47662 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47663 pass it down.
47664 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47665 elf_machine_rela, elf_machine_lazy_rel.
47666 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47667 (ELF_DYNAMIC_DO_REL): Likewise.
47668 (ELF_DYNAMIC_DO_RELA): Likewise.
47669 (ELF_DYNAMIC_RELOCATE): Likewise.
47670 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47671 to ELF_DYNAMIC_DO_REL.
47672 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47673 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47674 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47675 elf_machine_rela.
47676 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47677 skip_ifunc, don't call ifunc function if non-zero.
47678 (elf_machine_rela): Likewise.
47679 (elf_machine_lazy_rel): Likewise.
47680 (elf_machine_lazy_rela): Likewise.
47681 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47682 (elf_machine_lazy_rel): Likewise.
47683 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47684 Likewise.
47685 (elf_machine_lazy_rel): Likewise.
47686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47687 Likewise.
47688 (elf_machine_lazy_rel): Likewise.
47689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47690 (elf_machine_lazy_rel): Likewise.
47691 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47692 (elf_machine_lazy_rel): Likewise.
47693 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47694 (elf_machine_lazy_rel): Likewise.
47695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47696 (elf_machine_lazy_rel): Likewise.
47697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47698 (elf_machine_lazy_rel): Likewise.
47699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47700 (elf_machine_lazy_rel): Likewise.
47701
68577918
UD
477022011-09-28 Ulrich Drepper <drepper@gmail.com>
47703
47704 * nss/nss_files/files-init.c (_nss_files_init): Use static
47705 initialization for all the *_traced_file variables.
47706
68822d74
AS
477072011-09-28 Andreas Schwab <schwab@redhat.com>
47708
47709 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47710
2056100b
RM
477112011-09-27 Roland McGrath <roland@hack.frob.com>
47712
47713 [BZ #13226]
47714 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47715
32c76b63
AS
477162011-09-27 Andreas Schwab <schwab@redhat.com>
47717
47718 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47719 Reread the line before reparsing it.
47720
bf972c9d
AS
477212011-09-26 Andreas Schwab <schwab@redhat.com>
47722
47723 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47724
e057a1b5
JM
477252011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47726 Maxim Kuvyrkov <maxim@codesourcery.com>
47727 Joseph Myers <joseph@codesourcery.com>
47728
47729 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47730 if needed for __stack_chk_guard.
47731
bc7e1c36
RM
477322011-09-19 Roland McGrath <roland@hack.frob.com>
47733
ecb1482f
RM
47734 * sysdeps/posix/spawni.c (script_execute): Always define it.
47735 It will be optimized away if unused.
47736 (maybe_script_execute): New function.
47737 (__spawni): Call it.
47738
bc7e1c36
RM
47739 * Makerules: Don't include tls.make.
47740 (config-tls): Always set to thread.
47741 * tls.make.c: File removed.
47742
1c3b002b
MF
477432011-09-19 Mike Frysinger <vapier@gentoo.org>
47744
47745 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47746 * config.make.in (CPPFLAGS-config): New substituted variable.
47747
2840865d
UD
477482011-09-15 Ulrich Drepper <drepper@gmail.com>
47749
88738eb6
UD
47750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47751
cbf645a6 47752 [BZ #13192]
2840865d
UD
47753 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47754 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47755
b402e91a
RM
477562011-09-15 Roland McGrath <roland@hack.frob.com>
47757
47758 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47759 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47761 (CALL_FAIL): Likewise.
47762 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47763 (CALL_FAIL): Macro removed.
47764 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47765
4c1a1f71
UD
477662011-09-15 Ulrich Drepper <drepper@gmail.com>
47767
47768 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47769 for __FINITE_MATH_ONLY__ == 1.
47770
edc121be
AS
477712011-09-15 Andreas Schwab <schwab@redhat.com>
47772
47773 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47774 __ieee754_sqrt instead of sqrt.
47775 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47776 __ieee754_sqrtf instead of sqrtf.
47777 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47778 __floorf instead of floorf.
47779 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47780 __floorf, __truncf instead of floorf, truncf.
47781
cd205654
UD
477822011-09-14 Ulrich Drepper <drepper@gmail.com>
47783
ee4d0315
UD
47784 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47785
cd205654
UD
47786 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47787 __extern_always_inline.
47788 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47789 32-bit.
47790
48b67d71
AS
477912011-09-14 Andreas Schwab <schwab@redhat.com>
47792
47793 * elf/rtld.c (dl_main): Also relocate in dependency order when
47794 doing symbol dependency testing.
47795
1ae12c75
AS
477962011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47797
47798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47799 Always define `refsym'.
47800
995a80df
AS
478012011-09-13 Andreas Schwab <schwab@redhat.com>
47802
e529793b
AS
47803 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47804 (__FD_ELT): Renamed from __FDELT.
47805 * misc/bits/select2.h (__FD_ELT): Likewise.
47806 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47807 __FD_MASK instead of __FDELT, __FDMASK.
47808 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47809 Likewise.
47810 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47811 Likewise.
47812
52d4fef8
AS
47813 * elf/Makefile (gen-ldd): Fix pattern.
47814
995a80df
AS
47815 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47816 (init_tls): Likewise.
47817
8682f8b0
UD
478182011-09-12 Ulrich Drepper <drepper@gmail.com>
47819
47820 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47821
de82006d
AS
478222011-09-12 Andreas Schwab <schwab@redhat.com>
47823
a7c8e6a1
AS
47824 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47825 `struct cmsghdr *' instead of `void *'.
47826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47827 Likewise.
47828
0f31fe77
AS
478292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47830
47831 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47832 if non-absolute.
47833 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47834 ldd_rewrite_script.
0f31fe77 47835
32b4c839
UD
478362011-09-11 Ulrich Drepper <drepper@gmail.com>
47837
83cd1420
UD
47838 * configure.in: Remove --with-tls option.
47839 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47840 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47841 out in case it is missing.
47842 * sysdeps/ia64/elf/configure.in: Likewise.
47843 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47844 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47845 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47846 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47847 * sysdeps/sh/elf/configure.in: Likewise.
47848 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47849 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47850 * sysdeps/x86_64/elf/configure.in: Likewise.
47851 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47852 * sysdeps/mach/hurd/tls.h: Likewise.
47853
633f745d
UD
47854 [BZ #13067]
47855 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47856
f318beb8
UD
47857 [BZ #13090]
47858 * configure.in: Fix use of AC_INIT.
47859
32b4c839
UD
47860 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47861
3ce1f295
UD
478622011-09-10 Ulrich Drepper <drepper@gmail.com>
47863
bb016596
UD
47864 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47865 __set_errno.
8e58439c
UD
47866 * malloc/hooks.c: Likewise.
47867
aebae053 47868 [BZ #11929]
02d46fc4
UD
47869 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47870 variables statically.
47871 (narenas): Initialize.
47872 (list_lock): Initialize.
bb016596
UD
47873 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47874 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47875 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47876 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47877 Add initializers to main_arena and mp_.
47878 (malloc_state): Remove pagesize member. Change all users to use
47879 GLRO(dl_pagesize).
47880
47881 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47882 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47883 is always initialized.
47884
22a89187
UD
47885 * malloc/malloc.c: Removed unused configurations and dead code.
47886 * malloc/arena.c: Likewise.
47887 * malloc/hooks.c: Likewise.
02d46fc4 47888 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47889
d063d164
UD
47890 * include/tls.h: Removed. USE___THREAD must always be defined.
47891 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47892 * elf/dl-libc.c: Likewise.
47893 * elf/dl-tsd.c: Likewise.
47894 * include/errno.h: Likewise.
47895 * include/netdb.h: Likewise.
47896 * include/resolv.h: Likewise.
47897 * inet/herrno-loc.c: Likewise.
47898 * inet/herrno.c: Likewise.
47899 * malloc/arena.c: Likewise.
47900 * malloc/hooks.c: Likewise.
47901 * malloc/malloc.c: Likewise.
47902 * resolv/res-state.c: Likewise.
47903 * resolv/res_libc.c: Likewise.
47904 * sysdeps/i386/dl-machine.h: Likewise.
47905 * sysdeps/ia64/dl-machine.h: Likewise.
47906 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47907 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47908 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47909 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47910 * sysdeps/sh/dl-machine.h: Likewise.
47911 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47912 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47913 * sysdeps/unix/i386/sysdep.S: Likewise.
47914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47915 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47920 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47924 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47925 * sysdeps/x86_64/dl-machine.h: Likewise.
47926 * tls.make.c: Likewise.
47927
3ce1f295
UD
47928 * configure.in: Remove --with-__thread option. Make tests for
47929 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47930 tls_model attribute fail if no support is available. Remove
47931 USE_IN_LIBIO.
47932 * Makeconfig: Adjust for dropped configure option. All features are
47933 now mandatory.
47934 * Makerules: Likewise.
47935 * Versions.def: Likewise.
47936 * argp/argp-fmtstream.c: Likewise.
47937 * argp/argp-fmtstream.h: Likewise.
47938 * argp/argp-help.c: Likewise.
47939 * assert/assert.c: Likewise.
47940 * config.h.in: Likewise.
47941 * config.make.in: Likewise.
47942 * configure: Likewise.
47943 * configure.in: Likewise.
47944 * csu/Versions: Likewise.
47945 * csu/init.c: Likewise.
47946 * elf/tst-audit2.c: Likewise.
47947 * elf/tst-tls10.c: Likewise.
47948 * elf/tst-tls10.h: Likewise.
47949 * elf/tst-tls11.c: Likewise.
47950 * elf/tst-tls12.c: Likewise.
47951 * elf/tst-tls14.c: Likewise.
47952 * elf/tst-tlsmod11.c: Likewise.
47953 * elf/tst-tlsmod12.c: Likewise.
47954 * elf/tst-tlsmod13.c: Likewise.
47955 * elf/tst-tlsmod13a.c: Likewise.
47956 * elf/tst-tlsmod14a.c: Likewise.
47957 * elf/tst-tlsmod15b.c: Likewise.
47958 * elf/tst-tlsmod16a.c: Likewise.
47959 * elf/tst-tlsmod16b.c: Likewise.
47960 * elf/tst-tlsmod7.c: Likewise.
47961 * elf/tst-tlsmod8.c: Likewise.
47962 * elf/tst-tlsmod9.c: Likewise.
47963 * gmon/gmon.c: Likewise.
47964 * grp/fgetgrent_r.c: Likewise.
47965 * grp/putgrent.c: Likewise.
47966 * hurd/fopenport.c: Likewise.
47967 * include/libc-symbols.h: Likewise.
47968 * include/tls.h: Likewise.
47969 * intl/gettextP.h: Likewise.
47970 * intl/loadinfo.h: Likewise.
47971 * locale/global-locale.c: Likewise.
47972 * locale/localeinfo.h: Likewise.
47973 * mach/devstream.c: Likewise.
47974 * malloc/arena.c: Likewise.
47975 * malloc/set-freeres.c: Likewise.
47976 * misc/err.c: Likewise.
47977 * misc/getttyent.c: Likewise.
47978 * misc/mntent_r.c: Likewise.
47979 * posix/getopt.c: Likewise.
47980 * posix/wordexp.c: Likewise.
47981 * pwd/fgetpwent_r.c: Likewise.
47982 * resolv/Versions: Likewise.
47983 * resolv/res_hconf.c: Likewise.
47984 * shadow/fgetspent_r.c: Likewise.
47985 * shadow/putspent.c: Likewise.
47986 * stdio-common/printf_fphex.c: Likewise.
47987 * stdio-common/tmpfile.c: Likewise.
47988 * stdlib/abort.c: Likewise.
47989 * stdlib/fmtmsg.c: Likewise.
47990 * sunrpc/auth_unix.c: Likewise.
47991 * sunrpc/clnt_perr.c: Likewise.
47992 * sunrpc/clnt_tcp.c: Likewise.
47993 * sunrpc/clnt_udp.c: Likewise.
47994 * sunrpc/clnt_unix.c: Likewise.
47995 * sunrpc/openchild.c: Likewise.
47996 * sunrpc/svc_simple.c: Likewise.
47997 * sunrpc/svc_tcp.c: Likewise.
47998 * sunrpc/svc_udp.c: Likewise.
47999 * sunrpc/svc_unix.c: Likewise.
48000 * sunrpc/xdr.c: Likewise.
48001 * sunrpc/xdr_array.c: Likewise.
48002 * sunrpc/xdr_rec.c: Likewise.
48003 * sunrpc/xdr_ref.c: Likewise.
48004 * sunrpc/xdr_stdio.c: Likewise.
48005
1248c1c4
PB
480062011-09-09 Ulrich Drepper <drepper@gmail.com>
48007
48008 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48009
480102011-07-03 Andreas Jaeger <aj@suse.de>
48011
48012 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48013 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48014 regenerate with gen-libm-tests.pl.
48015
480162010-05-12 Petr Baudis <pasky@suse.cz>
48017
48018 [BZ #11589]
48019 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48020 around j0() zero points by switching to j1().
48021 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48022 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48025
f22e1074
UD
480262011-09-09 Ulrich Drepper <drepper@gmail.com>
48027
f19009c1
UD
48028 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48029 instead of 0.
48030 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48031 instead of 0.
f19009c1
UD
48032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48033 Patch in part by Pavel Roskin <proski@gnu.org>.
48034
3f8cc204
UD
48035 [BZ #13138]
48036 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48037 realloc.
48038 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48039 Free memory block if necessary.
48040
f22e1074
UD
48041 [BZ #12847]
48042 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48043 be NULL. Don't lock in this case.
48044
0a2349f9
RM
480452011-09-09 Roland McGrath <roland@hack.frob.com>
48046
48047 * elf/elf.h (ELFOSABI_GNU): New macro.
48048 (ELFOSABI_LINUX): Define to that.
48049
f3cdd467
DZ
480502011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48051
48052 * string/strncat.c (strncat): Undef the symbol in case it has been
48053 defined in bits/string.h.
48054
74718d13
UD
480552011-09-09 Ulrich Drepper <drepper@gmail.com>
48056
633e9e0f
UD
48057 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48058
0a2349f9 48059 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48060 link map.
48061
f9924780
AJ
480622011-08-17 Andreas Jaeger <aj@suse.de>
48063
48064 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48065
7f5517aa
PP
480662011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48067 Ian Lance Taylor <iant@google.com>
48068
48069 * math/libm-test.inc (lround_test): New testcase.
48070 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48071
762011fe
UD
480722011-09-08 Ulrich Drepper <drepper@gmail.com>
48073
92963737
UD
48074 * Makefile: Remove support for automatic cvs check-ins.
48075 * Makerules: Likewise.
48076 * config.make.in: Likewise.
48077 * configure.in: Likewise.
48078 * intl/Makefile: Likewise.
48079 * locale/Makefile: Likewise.
48080 * po/Makefile: Likewise.
48081 * posix/Makefile: Likewise.
48082 * sysdeps/gnu/Makefile: Likewise.
48083 * sysdeps/mach/hurd/Makefile: Likewise.
48084 * sysdeps/sparc/sparc32/Makefile: Likewise.
48085
b0727fd8
JS
48086 [BZ #13118]
48087 * posix/Makefile (bug-regex32-ENV): Define.
48088 Patch by John Stanley <jpsinthemix@verizon.net>.
48089
a0f33f99
UD
48090 * misc/Makefile (headers): Add bits/select2.h.
48091 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48092 * misc/bits/select2.h: New file.
48093 * include/bits/select2.h: New file.
48094 * debug/Makefile (routines): Add fdelt_chk.
48095 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48096 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48097 FD_ISSET.
48098 * debug/fdelt_chk.c: New file.
48099
762011fe
UD
48100 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48101 * wcsmbs/test-wmemcmp.c: Likewise.
48102 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48103 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48104
481052011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48106
48107 * string/Makefile (strop-tests): Add memcmp.
48108 * string/test-wmemcmp.c: New file.
48109 * string/test-memcmp.c: Add wmemcmp support.
48110
7f513ec8
RM
481112011-09-08 Roland McGrath <roland@hack.frob.com>
48112
0442afb4
RM
48113 [BZ #13153]
48114 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48115 2011-07-19 change.
48116
7f513ec8
RM
48117 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48118 garbage value in a __mach_port_mod_refs call in the cases of the
48119 task-self and thread-self ports.
48120
a12b2239
ST
481212011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48122
48123 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48124
610f9ab4
AS
481252011-09-08 Andreas Schwab <schwab@redhat.com>
48126
7f513ec8 48127 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48128
48882a1a
LD
481292011-09-07 Ulrich Drepper <drepper@gmail.com>
48130
b49865be
UD
48131 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48132
fdc86bc9
UD
48133 * elf/dl-libc.c (dlerror_run): Pass back error code from
48134 dl_catch_error.
48135
c966526a
UD
48136 [BZ #13123]
48137 * elf/dl-load.c (lose): Free l_origin if it is valid.
48138
48882a1a
LD
48139 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48140 names.
48141 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48143 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48145 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48146 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48147
77a2a8b4
AZ
481482011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48149
48150 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48151 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48152 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48153 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48154 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48155 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48156 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48157 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48158 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48159 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48160
24f579d8
AM
481612011-08-15 Alan Modra <amodra@gmail.com>
48162
48163 [BZ #13092]
48164 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48165 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48166 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48167 ppc_mcount to static-only-routines.
48168 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48169 __mcount_internal.
48170 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48171 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48172
3d4837df
UD
481732011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48174
48175 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48176 for finite and infinity parameters.
48177
22700377
WS
481782011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48179
48180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48181 and add nop instructions for throughput optimization.
48182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48183
5025581e
WS
481842011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48185
48186 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48187 aligned copy for power7 with vector-scalar instructions.
48188 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48189
08a300c9
L
481902011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48191
48192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48193 AVX check.
48194
59178ef9
AS
481952011-09-07 Andreas Schwab <schwab@redhat.com>
48196
48197 [BZ #13144]
48198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48199 last change.
48200
e38ba7ab
UD
482012011-09-07 Ulrich Drepper <drepper@gmail.com>
48202
48203 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48204 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48205 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48206 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48207 clock_gettime.
48208
d53a73ac
UD
482092011-09-06 Ulrich Drepper <drepper@gmail.com>
48210
fc8bffcc
UD
48211 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48212 Forgot to demangle the pointer.
48213
ceaa0c5d
UD
48214 * sysdeps/i386/sysdep.h: Define atom_text_section.
48215 * sysdeps/x86_64/sysdep.h: Likewise.
48216 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48217 section with atom_text_section.
48218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48219 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48220 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48221 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48222 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48223
a77d3c17
UD
48224 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48225 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48226 already be defined. Change to take two parameters and don't assign
48227 result to variable. Adjust all users.
48228 Define INTERNAL_GETTIME if not already defined.
48229 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48230 call.
48231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48232 HAVE_CLOCK_GETTIME_VSYSCALL.
48233 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48234
d53a73ac
UD
48235 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48236 gettimeofday vsyscall, just use time.
48237
a8f84144
AS
482382011-09-06 Andreas Schwab <schwab@redhat.com>
48239
48240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48241 <errno.h>.
48242
ef606249
UD
482432011-09-06 Ulrich Drepper <drepper@gmail.com>
48244
48245 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48246 syscall on x86-64.
48247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48248 syscall.
48249 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48251 syscall if possible.
48252
6585cb60
UD
482532011-09-05 Ulrich Drepper <drepper@gmail.com>
48254
48255 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48256 e_ident. Don't pass to find_mapsXX.
48257 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48258
a5f524e4
LD
482592011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48260
48261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48262 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48263 * sysdeps/x86_64/multiarch/strchr.S: Update.
48264 Check bit_slow_BSF bit.
48265 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48266 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48268
554881ef
UD
482692011-09-05 Ulrich Drepper <drepper@gmail.com>
48270
d96de963
UD
48271 [BZ #13134]
48272 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48273 before glibc 2.15.
48274 (tryshell): Define.
48275 (__spawni): Change last parameter to be flag. Test
48276 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48277 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48278 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48279 * posix/spawni.c: Likewise.
48280 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48281 * posix/spawnp.c: Likewise. Change normal version to use
48282 SPAWN_XFLAGS_USE_PATH.
48283 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48284 SPAWN_XFLAGS_TRY_SHELL.
48285
d48e5868
UD
48286 [BZ #13150]
48287 * posix/glob.h: Remove gcc 1.x support.
48288
554881ef
UD
48289 [BZ #13068]
48290 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48291
693fb948
LD
482922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48293
48294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48295 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48296 strrchr-sse2-bsf
48297 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48298 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48299 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48300 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48301 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48302 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48303
1b48c537
UD
483042011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48305
49d42c37
UD
48306 * sysdeps/x86_64/wcscmp.S: New file.
48307
1b48c537
UD
48308 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48309 wcscmp-c wcscmp-sse2
48310 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48311 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48312 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48313 * wcsmbs/wcscmp.c: Allow renaming.
48314
15c95c5d
DM
483152011-09-05 David S. Miller <davem@davemloft.net>
48316
48317 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48318 stack slot, rather than the struct return pointer slot.
48319 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48320 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48322 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48323
2f0ad8f3
UD
483242011-09-05 Ulrich Drepper <drepper@gmail.com>
48325
d88ae418
UD
48326 * po/ja.po: Update from translation team.
48327
2f0ad8f3
UD
48328 [BZ #13144]
48329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48330 kernel in 64-bit binaries.
48331
5f4318d1
DM
483322011-09-01 David S. Miller <davem@davemloft.net>
48333
48334 * elf/elf.h (HWCAP_SPARC_*): Move to..
48335 * sysdeps/sparc/sysdep.h: this new file and add new values.
48336 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48337 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48338 _DL_HWCAP_COUNT to 24.
48339 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48340 entries.
48341 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48342 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48343 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48345 instead of magic constants.
48346 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48347
3ba57516
DM
483482011-08-31 David S. Miller <davem@davemloft.net>
48349
48350 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48352 Reimplement to do errno handling inline.
48353 (SYSCALL_ERROR_HANDLER): New macro.
48354 (__SYSCALL_STRING): Do not do errno handling in asm.
48355 (__CLONE_SYSCALL_STRING): Delete.
48356 (__INTERNAL_SYSCALL_STRING): Delete.
48357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48358 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48359 (PSEUDO): Reimplement to do errno handling inline.
48360 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48361 (SYSCALL_ERROR_HANDLER): New macro.
48362 (__SYSCALL_STRING): Do not do errno handling in asm.
48363 (__CLONE_SYSCALL_STRING): Delete.
48364 (__INTERNAL_SYSCALL_STRING): Delete.
48365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48366 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48367 i386.
48368 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48369 (inline_syscall*): Add 'err' argument.
48370 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48371 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48372 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48373 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48374
48375 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48376 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48377
2bc17433
AS
483782011-08-30 Andreas Schwab <schwab@redhat.com>
48379
48380 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48381
fbeb5f4d
JO
483822011-08-29 Jiri Olsa <jolsa@redhat.com>
48383
48384 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48385 directive.
48386
ad69cc26
DM
483872011-08-24 David S. Miller <davem@davemloft.net>
48388
48389 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48390
39dd69df
AS
483912011-08-24 Andreas Schwab <schwab@redhat.com>
48392
48393 * elf/Makefile: Add rules to build and run unload8 test.
48394 * elf/unload8.c: New file.
48395 * elf/unload8mod1.c: New file.
48396 * elf/unload8mod1x.c: New file.
48397 * elf/unload8mod2.c: New file.
48398 * elf/unload8mod3.c: New file.
48399
48400 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48401 it wasn't used.
48402
2c0b250a
DM
484032011-08-23 David S. Miller <davem@davemloft.net>
48404
48405 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48406 subtract stack bias.
48407 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48408 %sp not %fp in calculations.
48409 (_JMPBUF_UNWINDS_ADJ): Likewise.
48410
22044b48
DM
48411 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48412 (aio_suspend): Call it to force an exception region around the
48413 AIO_MISC_WAIT() invocation.
48414
2cae4995
AS
484152011-08-23 Andreas Schwab <schwab@redhat.com>
48416
48417 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48418 backslash.
48419
873a772e
AJ
484202011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48421
48422 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48423 protection macro.
48424 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48425 and <dl-machine.h>.
48426 (Elf64_FuncDesc): Remove.
48427
25ad0df1
DM
484282011-08-22 David S. Miller <davem@davemloft.net>
48429
48430 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48431 sigaltstack check, add missing cfi directives.
48432 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48433 missing cfi directives, and sigaltstack handling.
48434
e888bcbe
AS
484352011-08-16 Andreas Schwab <schwab@redhat.com>
48436
48437 [BZ #11724]
48438 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48439 object is seen twice.
48440 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48441
48442 * elf/Makefile (distribute): Add tst-initorder2.c.
48443 (tests): Add tst-initorder2.
48444 (modules-names): Add tst-initorder2a tst-initorder2b
48445 tst-initorder2c tst-initorder2d. Add rules to build them.
48446 ($(objpfx)tst-initorder2.out): New rule.
48447 * elf/tst-initorder2.c: New file.
48448 * elf/tst-initorder2.exp: New file.
48449
87162f46
AS
484502011-08-22 Andreas Schwab <schwab@redhat.com>
48451
70538b7f
AS
48452 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48453
f55ffe58
AS
48454 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48455 dependencies back to end of function.
48456
87162f46
AS
48457 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48458 $(elfobjdir)/ld.so.
48459
91b392a4
UD
484602011-08-21 Ulrich Drepper <drepper@gmail.com>
48461
48462 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48463 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48465 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48466 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48467 of __vdso_gettimeofday.
48468 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48469 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48470 attribute_hidden.
48471 (_libc_vdso_platform_setup): Remove initialization of
48472 __vdso_gettimeofday and __vdso_time.
48473
5c43483f
UD
484742011-08-20 Ulrich Drepper <drepper@gmail.com>
48475
775a77e7
UD
48476 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48477 and fgetc_unlocked.
48478 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48479 getc_unlocked.
89f447ed 48480
49c74ba9
UD
48481 * elf/dl-open.c (add_to_global): Report additions to the global scope
48482 for LD_DEBUG=scopes.
48483 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48484 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48485
5c43483f
UD
48486 [BZ #13114]
48487 * stdio-common/Makefile (tests): Add bug24.
48488 * stdio-common/bug24.c: New file.
48489
a101b025
AJ
484902011-08-19 Andreas Jaeger <aj@suse.de>
48491
48492 [BZ #13114]
48493 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48494 non-existant file when using close-on-exec mode.
48495
c88f1766
UD
484962011-08-20 Ulrich Drepper <drepper@gmail.com>
48497
0276a718
UD
48498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48499 the very first instruction.
48500
c88f1766
UD
48501 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48502 the CFI state in the end.
48503 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48504 inclusion of dl-trampoline.h.
48505 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48506
51ccffa0
AS
485072011-08-19 Andreas Schwab <schwab@redhat.com>
48508
94d7165f
AS
48509 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48510 expectations for long double.
48511
51ccffa0
AS
48512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48513 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48514
fd708658 485152011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48516
48517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48518 artificual limit depends upon the system page size.
48519
44f0a71e
UD
485202011-08-17 Ulrich Drepper <drepper@gmail.com>
48521
48522 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48523 * resolv/Makefile: Define CFLAGS-libresolv.
48524
8de79a24
AS
485252011-08-17 Andreas Schwab <schwab@redhat.com>
48526
48527 * nss/makedb.c (compute_tables): Make variables used in nested
48528 function static.
48529
27724598
UD
485302011-08-17 Ulrich Drepper <drepper@gmail.com>
48531
c5305d88
UD
48532 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48533 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48534 if buffer was too small.
48535
27724598
UD
48536 * elf/pldd.c (main): Attach to all threads in the process.
48537 Rewrite /proc handling to use *at functions.
48538
076fe015
UD
485392011-08-16 Ulrich Drepper <drepper@gmail.com>
48540
174baab3
UD
48541 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48542 specifies first scope to show.
48543 (dl_open_worker): Update callers. Move printing scope of new
48544 object to before the relocation.
44f0a71e 48545 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48546 * sysdeps/generic/ldsodefs.h: Update declaration.
48547
076fe015
UD
48548 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48549 string for the scope number.
48550
a60df2c3
UD
485512011-08-14 Ulrich Drepper <drepper@gmail.com>
48552
48553 * nscd/servicescache.c (cache_addserv): Make sure written is always
48554 initialized.
48555
5e4287d1
RM
485562011-08-14 Roland McGrath <roland@hack.frob.com>
48557
85ae0589
RM
48558 * sysdeps/i386/i486/bits/atomic.h
48559 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48560 statement expression, so as to suppress "set but not used" warning.
48561 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48562
69f63097
RM
48563 * string/strncat.c (STRNCAT): Use prototype definition.
48564
675456ef
RM
48565 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48566 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48567 -Iprograms here.
48568 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48569 (localedef-modules): Add localedef.
48570 (locale-modules): Add locale.
48571
5e4287d1
RM
48572 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48573 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48574 to avoid a warning.
48575
9c96ff23
DM
485762011-08-14 David S. Miller <davem@davemloft.net>
48577
48578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48579 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48580
f9ddf089
UD
485812011-08-13 Ulrich Drepper <drepper@gmail.com>
48582
44f0a71e 48583 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48584 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48585 * elf/rtld.c (dl_main): Set l_name of vDSO.
48586 Call _dl_show_scope when DL_DEBUG_SCOPES.
48587 (process_dl_debug): Recognize scopes flag and also set it for all.
48588 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48589 Declare _dl_show_scope.
48590
1dc27704
UD
48591 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48592 (do_dlopen): Pass caller_dlopen to dl_open.
48593 (__libc_dlopen_mode): Initialize caller_dlopen.
48594
f9ddf089
UD
48595 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48596 of libc. Make tolower call locale-independent. Optimize a bit by
48597 using isdigit instead of isalnum.
48598 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48599
9ac533d3
UD
486002011-08-12 Ulrich Drepper <drepper@gmail.com>
48601
48602 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48603 was a dependency or dynamically loaded.
48604
89edf2e9
UD
486052011-08-11 Ulrich Drepper <drepper@gmail.com>
48606
8e999d29
UD
48607 * intl/l10nflist.c: Allow architecture-specific pop function.
48608 * sysdeps/x86_64/l10nflist.c: New file.
48609
89edf2e9
UD
48610 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48611 classification.
48612
14d96785
AS
486132011-08-10 Andreas Schwab <schwab@redhat.com>
48614
48615 * include/dirent.h: Add libc_hidden_proto for scandirat and
48616 scandirat64. Don't declare __scandirat64.
48617 * dirent/scandirat.c: Add libc_hidden_def.
48618 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48619 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48620
6761ac04
DM
486212011-08-10 David S. Miller <davem@davemloft.net>
48622
48623 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48624 enum.
48625 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48628
c55fbd1e
UD
486292011-08-09 Ulrich Drepper <drepper@gmail.com>
48630
48631 * Versions.def [libc]: Add GLIBC_2.15.
48632 * dirent/Makefile (routines): Add scandirat and scandirat64.
48633 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48634 GLIBC_2.15.
48635 * dirent/dirent.h: Declare scandirat and scandirat64.
48636 * dirent/scandirat.c: New file.
48637 * dirent/scandirat64.c: New file.
48638 * sysdeps/wordsize-64/scandirat.c: New file.
48639 * sysdeps/wordsize-64/scandirat64.c: New file.
48640 * dirent/opendir.c: Define opendirat.
48641 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48642 using scandirat.
48643 * dirent/scandir64.c: Adjust for scandir.c change.
48644 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48645 __scandirat64, and __scandir_cancel_handler.
48646 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48647 additional parameter and use openat instead of open (outside of ld.so).
48648 Add new __opendir as wrapper around __opendirat.
48649 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48650 here without requiring old scandirat implementation.
48651
879165f2
UD
486522011-08-08 Ulrich Drepper <drepper@gmail.com>
48653
48654 * dirent/scandir.c (cancel_handler): Renamed to
48655 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48656 defined. Adjust users.
48657 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48658 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48659
cb7e923b
UD
486602011-08-04 Ulrich Drepper <drepper@gmail.com>
48661
16292edd
UD
48662 * string/test-string.h (IMPL): Use __STRING to expand name and then
48663 stringify it.
48664
cb7e923b
UD
48665 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48666 of cleanups.
48667
cff82933
LD
486682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48669
48670 * string/Makefile: Update.
48671 (strop-tests): Append strncat.
48672 * string/test-wcscmp.c: New file.
48673 New comprehensive test for wcscmp.
48674 * string/test-strcmp.c: Update.
48675 (WIDE): New define.
48676
9be9bfcc
AS
486772011-07-22 Andreas Schwab <schwab@redhat.com>
48678
48679 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48680 line.
48681
2e96f1c7
AS
486822011-07-26 Andreas Schwab <schwab@redhat.com>
48683
48684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48685 encoding to ACE if AI_IDN.
48686
85188888
JJ
486872011-08-01 Jakub Jelinek <jakub@redhat.com>
48688
48689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48690 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48691
5fa16e9b
LD
486922011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48693
48694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48695 Fix overflow bug in strncat.
48696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48697
48698 * string/test-strncat.c: Update.
48699 Add new tests for checking overflow bugs.
48700
487012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48702
48703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48704 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48705 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48706 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48707 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48708 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48709 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48710 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48711 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48712
48713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48714 (USE_AS_STRCAT): Define.
48715 Add strcat and strncat support.
48716 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48717
8c1a459f
AS
487182011-07-25 Andreas Schwab <schwab@redhat.com>
48719
48720 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48721 __n bigger than INT_MAX+1.
48722 (__strncmp_g): Likewise.
48723
bba33c28
UD
487242011-07-23 Ulrich Drepper <drepper@gmail.com>
48725
798be72d
UD
48726 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48727 * libio/stido.h: Likewise.
48728
8accd4dc
UD
48729 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48730 (AF_NFC): Define.
48731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48732 (AF_NFC): Define.
48733
cbff0d96
UD
48734 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48735 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48737 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48739
9191c04a
UD
48740 [BZ #13021]
48741 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48742 installed.
48743
bba33c28
UD
48744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48745 typo.
48746 (_dl_x86_64_save_sse): Likewise.
48747
90f139dd
UD
487482011-07-22 Ulrich Drepper <drepper@gmail.com>
48749
1aae088a
UD
48750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48751 OSXSAVE.
48752 (_dl_x86_64_save_sse): Likewise.
48753
8e2045f5
UD
48754 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48755
90f139dd
UD
48756 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48757
1d002f25
AS
487582011-07-21 Andreas Schwab <schwab@redhat.com>
48759
48760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48761 change.
48762 (_dl_x86_64_save_sse): Use correct AVX check.
48763
21137f89
UD
487642011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48765
48766 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48767 bug in strncpy/strncat.
48768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48769
a65c0b7a
UD
487702011-07-21 Ulrich Drepper <drepper@gmail.com>
48771
48772 * string/tester.c (test_strcat): Add tests for different alignments
48773 of source and destination.
48774 (test_strncat): Likewise.
48775
6986b98a
UD
487762011-07-20 Ulrich Drepper <drepper@gmail.com>
48777
90bb2039
UD
48778 [BZ #12852]
48779 * posix/glob.c (glob): Check passed in values before using them in
48780 expressions to avoid some overflows.
48781 (glob_in_dir): Likewise.
48782
5644ef54
UD
48783 [BZ #13007]
48784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48785 check for AVX enablement so that we don't crash with old kernels and
48786 new hardware.
48787 * elf/tst-audit4.c: Add same checks here.
48788 * elf/tst-audit6.c: Likewise.
48789
48790 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48791
bfc9dc9b
AS
487922011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48793
48794 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48795
702e64bb
UD
487962011-07-20 Ulrich Drepper <drepper@gmail.com>
48797
48798 * po/cs.po: Update from translation team.
48799 * po/bg.po: Likewise.
48800
295e904f
MP
488012011-07-12 Marek Polacek <mpolacek@redhat.com>
48802
48803 * misc/sys/cdefs.h: Add support for const attribute.
48804 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48805 to gnu_dev_{major,minor,makedev} functions.
48806
3ff94596
MP
488072011-07-20 Marek Polacek <mpolacek@redhat.com>
48808
48809 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48810
28b59fca
AS
488112011-07-20 Andreas Schwab <schwab@redhat.com>
48812
48813 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48814 strlen results.
48815
19df733e
AK
488162011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48817
48818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48819 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48820 register in order to avoid conflicts with the soft frame pointer
48821 being held in r11 when necessary.
48822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48823 (INTERNAL_VSYSCALL_NCS): Likewise.
48824
c8835729
MP
488252011-07-14 Marek Polacek <mpolacek@redhat.com>
48826
48827 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48828 * elf/dl-fini.c (_dl_fini): Adjust caller.
48829 * elf/dl-close.c (_dl_close_worker): Likewise.
48830 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48831
b902330c
MP
488322011-07-15 Marek Polacek <mpolacek@redhat.com>
48833
8991e135
MP
48834 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48835 "aux_cache->nlibs < 0".
48836
b902330c
MP
48837 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48838 in the reload-count case.
48839
99710781
LD
488402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48841
48842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48843 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48844 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48845 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48846 * sysdeps/x86_64/multiarch/strcat.S: New file.
48847 * sysdeps/x86_64/multiarch/strncat.S: New file.
48848 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48849 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48850 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48851 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48853 (USE_AS_STRCAT): Define.
48854 Add strcat and strncat support.
48855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48856 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48857 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48858 * string/strncat.c: Update.
48859 (USE_AS_STRNCAT): Define.
48860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48861 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48862 and i7.
48863 * sysdeps/x86_64/multiarch/init-arch.h
48864 (bit_Prefer_PMINUB_for_stringop): New.
48865 (index_Prefer_PMINUB_for_stringop): Likewise.
48866 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48867 bit_Prefer_PMINUB_for_stringop.
48868
7dc6bd90
UD
488692011-07-19 Ulrich Drepper <drepper@gmail.com>
48870
48871 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48872 buffer64.
48873 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48874 of casting of buffer.
48875 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48876 buffer32 and buffer64.
48877 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48878 writes instead of casting of buffer.
48879 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48880 buffer32.
48881 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48882 casting of buffer.
48883
e0e72284
AS
488842011-07-19 Andreas Schwab <schwab@redhat.com>
48885
48886 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48887
feb1eb0b
UD
488882011-07-19 Ulrich Drepper <drepper@gmail.com>
48889
48890 * nscd/nscd.c (termination_handler): Don't do anything for a database
48891 if it has not yet been initialized.
48892
298711ff
UD
488932011-07-18 Ulrich Drepper <drepper@gmail.com>
48894
48895 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48896
488972011-07-15 Marek Polacek <mpolacek@redhat.com>
48898
48899 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48900
f9d68389
UD
489012011-07-18 Ulrich Drepper <drepper@gmail.com>
48902
48903 * po/nl.po: Update from translation team.
48904 * po/sv.po: Likewise.
48905
db290cf5
RM
489062011-07-16 Roland McGrath <roland@hack.frob.com>
48907
48908 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48909 now disallowed by GCC.
5c550700 48910
fd5e21c7
RM
48911 * configure.in (use-default-link): Default to yes if a test -shared
48912 link meets our qualifications.
48913 * configure: Regenerated.
48914
5c550700
RM
48915 * config.make.in (output-format): New variable.
48916 * configure.in: Check for ld --print-output-format support.
48917 * configure: Regenerated.
48918 * Makerules ($(common-objpfx)format.lds)
48919 [$(output-format) != unknown]: Just use $(output-format),
48920 instead of the linker-script munging.
48921
9fa2c032
RM
489222011-07-14 Roland McGrath <roland@hack.frob.com>
48923
a6928d51
RM
48924 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48925 of $(common-objpfx)shlib.lds.
48926 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48927
661607b3
RM
48928 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48929 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48930
9fa2c032
RM
48931 * configure.in (-z relro check): Adjust test code to add a large
48932 writable data section after it.
48933 * configure: Regenerated.
48934
defe9061
RM
489352011-07-11 Roland McGrath <roland@hack.frob.com>
48936
48937 * configure.in (-z relro check): Fix test code to make the variable
48938 truly const.
48939 * configure: Regenerated.
48940
319b9ad4
UD
489412011-07-11 Ulrich Drepper <drepper@gmail.com>
48942
48943 * nscd/nscd.h (struct traced_file): Define.
48944 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48945 elements. Add traced_files.
48946 (inotify_fd): Declare.
48947 (register_traced_file): Declare.
48948 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48949 (inotify_fd): Export.
48950 (resolv_conf_descr): Remove.
48951 (nscd_init): Move inotify descriptor creation to main.
48952 Don't register files for notification here.
48953 (register_traced_file): New function.
48954 (invalidate_cache): Don't use reset_res to determine whether to call
48955 res_init, go through the list of registered files.
48956 (main_loop_poll): The inotify descriptors are now stored in the
48957 structures for the traced files.
48958 (main_loop_epoll): Likewise
48959 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48960 to __nss_disable_nscd.
48961 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48962 for a database anymore. Check the records for all the registered
48963 files instead.
48964 * nss/Makefile (libnss_files-routines): Add files-init.
48965 (libnss_db-routines): Add db-init.
48966 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48967 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48968 * nss/nss_db/db-init.c: New file.
48969 * nss/nss_files/files-init.c: New file.
48970 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48971 __nss_lookup_function.
48972 (__nss_lookup_function): Call nss_load_library.
48973 (nss_load_all_libraries): New function.
48974 (__nss_disable_nscd): Take parameter with callback function for files
48975 to register. Set is_nscd. Load all the DSOs for the NSS modules
48976 used for the cached services.
48977 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48978 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48979 options for features to all the files in nscd.
48980
48981 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48982
23bee3e8
RM
489832011-07-10 Roland McGrath <roland@hack.frob.com>
48984
48985 * csu/elf-init.c (__libc_csu_init): Comment typo.
48986
46a5b7f0
UD
489872011-07-09 Ulrich Drepper <drepper@gmail.com>
48988
48989 * po/pl.po: Update from translation team.
48990 * po/ja.po: Likewise.
48991 * po/ru.po: Likewise.
48992 * po/ko.po: Likewise.
48993 * po/fr.po: Likewise.
48994
d30cf5bb
RM
489952011-07-09 Roland McGrath <roland@hack.frob.com>
48996
113ddea4
RM
48997 * configure.in (.ctors/.dtors header and trailer check):
48998 Use an empirical test on a built program.
48999 * configure: Regenerated.
49000
574920b4
RM
49001 * configure.in (-z relro check): Use an empirical test on a built DSO.
49002 Detect, but do not require, on ia64.
49003 * configure: Regenerated.
49004
d30cf5bb
RM
49005 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49006 Update tests that use readelf to use $READELF instead.
49007 * configure: Regenerated.
49008
8538fdb3
UD
490092011-07-08 Ulrich Drepper <drepper@gmail.com>
49010
49011 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49012 if the result is not used.
49013
04d08991
AJ
490142011-07-05 Andreas Jaeger <aj@suse.de>
49015
49016 [BZ#9696]
49017 * stdlib/tst-strtod.c: Add testcase.
49018
de283087
AD
490192011-07-07 Ulrich Drepper <drepper@gmail.com>
49020
4e5f31c8 49021 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49022 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49023 The latter has a higher limit. Take additional parameter to pass to
49024 the new function.
49025 (__pathconf): Pass file to __statfs_link_max.
49026 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49027 __statfs_link_max.
49028 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49029 __statfs_link_max.
49030
de283087
AD
49031 [BZ #12868]
49032 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49033 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49034 Handle Lustre.
49035 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49036 (__statfs_filesize_max): Likewise.
49037 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49038
c75fa153
AJ
490392011-07-05 Andreas Jaeger <aj@suse.de>
49040
49041 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49042
1a544854
UD
490432011-07-06 Marek Polacek <mpolacek@redhat.com>
49044
49045 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49046 `status' variable.
49047 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49048 Likewise.
49049
6f0eec67
UD
490502011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49051
49052 * Makefile (strop-tests): Add strncat.
49053 * string/test-strncat.c: New file.
49054
aae30307
UD
490552011-06-30 Marek Polacek <mpolacek@redhat.com>
49056
49057 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49058
c0cfb5eb
UD
490592011-06-21 Andreas Jaeger <aj@suse.de>
49060
49061 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49062 Copy rule from iconvdata/Makefile.
49063
01636b21
UD
490642011-07-06 Ulrich Drepper <drepper@gmail.com>
49065
49066 [BZ #12922]
49067 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49068 but no long options are defined, just return 'W'.
49069
9895c8bc
UD
490702011-06-22 Marek Polacek <mpolacek@redhat.com>
49071
49072 [BZ #9696]
49073 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49074
5d4cf042
UD
490752011-07-06 Ulrich Drepper <drepper@gmail.com>
49076
49077 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49078 netgroups to read.
960e5535 49079 (innetgr): Likewise.
5d4cf042 49080
751eb97e
RM
490812011-07-05 Roland McGrath <roland@hack.frob.com>
49082
49083 * config.make.in (install_root): Default to $(DESTDIR).
49084
f15f1e45
UD
490852011-07-05 Ulrich Drepper <drepper@gmail.com>
49086
49087 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49088
4e34ac6a
RM
490892011-07-02 Roland McGrath <roland@hack.frob.com>
49090
5e9b6af4
RM
49091 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49092
84f9ea0f
RM
49093 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49094 containing directory rather than embedding absolute directory names.
49095
ea5ee9f7
RM
49096 * scripts/check-local-headers.sh: Rewritten using awk.
49097 Match by word, not by line. Print error messages for matches.
49098 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49099
1b74661a
RM
49100 * Makerules [shlib-lds-flags empty]:
49101 ($(common-objpfx)libc_pic.opts): New target.
49102 ($(common-objpfx)libc_pic.os.clean): New target.
49103 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49104
49105 * config.make.in (OBJCOPY): New variable.
49106 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49107 * configure: Regenerated.
49108
f781ef40
RM
49109 * config.make.in (use-default-link): New variable.
49110 * configure.in (use_default_link): Grok --with-default-link to set it.
49111 * configure: Regenerated.
49112 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49113 (shlib-lds, shlib-lds-flags): Define to empty.
49114
2d4fa81e
RM
49115 * Makerules (shlib-lds): New variable.
49116 (shlib-lds-flags): New variable.
49117 (build-shlib, build-moduile, build-module-asneeded): Use it.
49118 ($(common-objpfx)libc.so): Use $(shlib-lds).
49119 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49120 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49121
31fffa6b
RM
49122 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49123 DT_FLAGS/DT_FLAGS_1 with zero flags.
49124
4e34ac6a
RM
49125 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49126 linker script munging.
49127
fcfc776b
UD
491282011-07-02 Ulrich Drepper <drepper@gmail.com>
49129
49130 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49131 as 128-bit value.
49132 * crypt/sha512.c (sha512_process_block): Perform total addition using
49133 128-bit if possible.
49134 (__sha512_finish_ctx): Likewise.
49135 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49136 as 64-bit value.
49137 * crypt/sha256.c (SWAP64): Define.
49138 (sha256_process_block): Perform total addition using 64-bit if
49139 possible.
49140 (__sha256_finish_ctx): Likewise.
49141
99231d9a
UD
491422011-07-01 Ulrich Drepper <drepper@gmail.com>
49143
49144 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49146 * nscd/hstcache.c (cache_addhst): Likewise.
49147 * nscd/grpcache.c (cache_addgr): Likewise.
49148 * nscd/aicache.c (addhstaiX): Likewise
49149 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49150
445b4a53
TK
491512011-07-01 Thorsten Kukuk <kukuk@suse.de>
49152
49153 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49154 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49155 * nscd/hstcache.c (cache_addhst): Likewise.
49156 * nscd/grpcache.c (cache_addgr): Likewise.
49157 * nscd/aicache.c (addhstaiX): Likewise
49158
6d4d8e8e
AS
491592011-07-01 Andreas Schwab <schwab@redhat.com>
49160
49161 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49162 domain only when needed.
49163
89f654c5
AS
491642011-06-30 Andreas Schwab <schwab@redhat.com>
49165
49166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49167 is always restored.
49168
cf3b23ff
UD
491692011-06-29 Ulrich Drepper <drepper@gmail.com>
49170
49171 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49172 are re-adding the entry.
49173 * nscd/servicescache.c (cache_addserv): Likewise.
49174
751626f9
AJ
491752011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49176
49177 * sysdeps/generic/dl-irel.h: fix protection against multiple
49178 inclusions.
49179 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49180
9113ea1f
UD
491812011-06-28 Ulrich Drepper <drepper@gmail.com>
49182
5c0b8d90
UD
49183 [BZ #12935]
49184 * malloc/memusage.sh: Fix quoting in message.
49185 * debug/xtrace.sh: Likewise.
49186
9113ea1f
UD
49187 * configure.in: Remove support for --experimental-malloc option, make
49188 it the default.
49189 * config.make.in: Likewise.
49190 * malloc/Makefile: Likewise.
49191
a4172181
AS
491922011-06-27 Andreas Schwab <schwab@redhat.com>
49193
49194 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49195 two-byte characters.
49196
78a7eee7
RM
491972011-06-27 Roland McGrath <roland@hack.frob.com>
49198
62bede13
RM
49199 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49200 AC_CACHE_CHECK invocation.
49201 * configure: Regenerated.
49202
78a7eee7
RM
49203 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49204
5ce33a62
UD
492052011-06-27 Ulrich Drepper <drepper@gmail.com>
49206
034807a9
UD
49207 [BZ #12350]
49208 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49209 bit from old_res_options.
49210
4902da17
UD
49211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49212
5ce33a62
UD
49213 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49214 value type for setfct.
49215
c2344f56
L
492162011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49217
49218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49219 __gettimeofday instead of gettimeofday.
49220
68468076
UD
492212011-06-26 Ulrich Drepper <drepper@gmail.com>
49222
49223 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49224
acb0d739
L
492252011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49226
49227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49228
49229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49230 info.
49231
8912479f
L
492322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49233
49234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49235 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49236 strcpy-sse2-unaligned strncpy-sse2-unaligned
49237 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49238 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49239 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49240 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49241 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49242 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49244 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49245 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49246 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49247 (STRCPY): Support SSE2 and SSSE3 versions.
49248
d5495a11
UD
492492011-06-24 Ulrich Drepper <drepper@gmail.com>
49250
49251 [BZ #12874]
49252 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49253 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49254 kernels which artificially limit size of requests.
49255
0b1cbaae
L
492562011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49257
49258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49259 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49260 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49261 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49262 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49263 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49264 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49265 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49266 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49268 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49269 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49270 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49271 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49272 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49274 Enable unaligned load optimization for Intel Core i3, i5 and i7
49275 processors.
49276 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49277 Define.
49278 (index_Fast_Unaligned_Load): Define.
49279 (HAS_FAST_UNALIGNED_LOAD): Define.
49280
07f494a0
MP
492812011-06-23 Marek Polacek <mpolacek@redhat.com>
49282
49283 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49284
fa3fc0fe
UD
492852011-06-22 Ulrich Drepper <drepper@gmail.com>
49286
49287 [BZ #12907]
49288 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49289 until it is clear that the information is realy needed.
49290 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49291
e12df166
AS
492922011-06-22 Andreas Schwab <schwab@redhat.com>
49293
49294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49295
852eb34d
UD
492962011-06-22 Ulrich Drepper <drepper@gmail.com>
49297
84e2a551
UD
49298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49299 /sys/devices/system/cpu/online if it is usable.
49300
852eb34d
UD
49301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49302 reading the information from the /proc filesystem to once a second.
49303
6e502e19
UD
493042011-06-21 Andreas Jaeger <aj@suse.de>
49305
49306 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49307 NULL after inclusion of kernel headers.
49308
75d39ff2
UD
493092011-06-21 Ulrich Drepper <drepper@gmail.com>
49310
51f9aa6a
UD
49311 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49312 calls to internal_setent.
49313
c0244a9d
UD
49314 [BZ #12885]
49315 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49316 addresses using gethostbyname4_r ignore IPv4 addresses.
49317
c5e3c2ae
UD
49318 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49319 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49320
75d39ff2
UD
49321 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49322
42675c6f
DM
493232011-06-20 David S. Miller <davem@davemloft.net>
49324
49325 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49326 inclusions.
49327 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49328
49329 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49330 (elf_irel): Use it.
49331 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49332 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49333 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49334 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49335 * sysdeps/x86_64/dl-irel.h: Likewise.
49336
49337 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49338 * elf/dl-sym.c: Likewise.
49339
57912a71
UD
493402011-06-15 Ulrich Drepper <drepper@gmail.com>
49341
49342 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49343 need to dereference resplen2.
49344
ee22793d
AS
493452011-06-14 Andreas Schwab <schwab@redhat.com>
49346
49347 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49348
a9e836b0
UD
493492011-06-15 Ulrich Drepper <drepper@gmail.com>
49350
77fb9117
UD
49351 * Makeconfig: Define vardbdir and inst_vardbdir.
49352 * nss/Makefile: Add rules to install db-Makefile.
49353
40c1b22c
UD
49354 * nss/nss_db/db-XXX.c: Cleanup.
49355
9f2da732
UD
49356 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49357 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49358 GLIBC_PRIVATE.
49359 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49360 * nss/makedb.c: Implement -g option to specify that value strings
49361 are generated and should not be added to table iterated over for
49362 get*ent calls.
49363 * nss/nss_db/db-initgroups.c: New file.
49364
82e9a1f7
UD
49365 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49366 interface.
49367
c41af17e
UD
49368 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49369 (internal_getgrouplist): Adjust to name change.
49370 Update use_initgroups_entry if this is not the first call.
49371 * nss/databases.def: Add initgroups entry.
49372
a9e836b0
UD
49373 * nss/makedb.c (compute_tables): Check result of multiple hash table
49374 sizes to minimize maximum chain length.
49375
2666d441
UD
493762011-06-14 Ulrich Drepper <drepper@gmail.com>
49377
49378 * Versions.def: Add entry for libnss_db.
49379 * shlib-versions: Likewise.
49380 * nss/Makefile: Add rules to build libnss_db.
49381 * nss/Versions: Add libnss_db information. Organize libnss_files
49382 entries better.
49383 * nss/db-Makefile: Add gshadow support. Change rules for the new
49384 makedb progra. Some minor improvements to generate smaller files.
49385 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49386 here from...
49387 * nss/makedb.c: ...here.
49388 Improve database format to be smaller and require less memory at
49389 runtime.
49390 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49391 db anymore.
49392 * nss/nss_db/db-netgrp.c: Likewise.
49393 * nss/nss_db/db-open.c: Likewise.
49394 * nss/nss_files/flies-XXX.x: Adjust comments.
49395 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49396 * nss/nss_files/files-grp.c: Likewise.
49397 * nss/nss_files/files-hosts.c: Likewise.
49398 * nss/nss_files/files-network.c: Likewise.
49399 * nss/nss_files/files-proto.c: Likewise.
49400 * nss/nss_files/files-pwd.c: Likewise.
49401 * nss/nss_files/files-rpc.c: Likewise.
49402 * nss/nss_files/files-service.c: Likewise.
49403 * nss/nss_files/files-sgrp.c: Likewise.
49404 * nss/nss_files/files-spwd.c: Likewise.
49405 * nss/nss_db/db-alias.c: Removed.
49406 * nss/nss_db/dummy-db.h: Removed.
49407
9ee76b5a
UD
494082011-06-02 Ulrich Drepper <drepper@gmail.com>
49409
49410 * nss/makedb.c: Rewritten to not use database library.
49411 * nss/Makefile: Update to build new makedb program.
49412
c71ca1f8
AJ
494132011-06-14 Andreas Jaeger <aj@suse.de>
49414
49415 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49416 memset declaration.
49417
3154bfb8
UD
494182011-06-10 Andreas Schwab <schwab@redhat.com>
49419
49420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49421 tmpbuf.
49422
b350afab
RM
494232011-06-10 Roland McGrath <roland@hack.frob.com>
49424
decd4e50
RM
49425 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49426 * elf/Makefile ($(objpfx)ld.so): Likewise.
49427
5615eaf2
RM
49428 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49429 Don't list ld.so twice in dependencies.
49430
49431 * posix/bug-regex31.c: Include <stdlib.h>.
49432
49433 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49434
49435 * nis/nss_compat/compat-spwd.c
49436 (getspent_next_nss_netgr): Remove unused variable.
49437 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49438
49439 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49440 nonmembers" output to use the right array.
49441
49442 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49443
49444 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49445
49446 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49447 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49448 * catgets/gencat.c (read_input_file): Likewise.
49449 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49450
49451 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49452 variable definition inside #if's controlling its use.
49453
49454 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49455
49456 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49457
49458 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49459
49460 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49461 unreachable code.
49462
49463 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49464
b68e08db
RM
49465 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49466 * configure: Regenerated.
49467
b350afab
RM
49468 * Makerules: Revert last change.
49469 * elf/Makefile: Likewise.
49470
28368601
RM
494712011-06-09 Roland McGrath <roland@hack.frob.com>
49472
49473 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49474 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49475 (reloc-link): Likewise.
49476
11988f8f
UD
494772011-06-09 Ulrich Drepper <drepper@gmail.com>
49478
49479 * elf/Makefile: Add rules to build pldd.
49480 * elf/pldd.c: New file.
49481 * elf/pldd-xx.c: New file.
49482
e80fab37
UD
494832011-06-07 Ulrich Drepper <drepper@gmail.com>
49484
49485 * version.h: Update for 2.15 development version.
49486
9b849836
DM
494872011-06-07 David S. Miller <davem@davemloft.net>
49488
49489 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49490 ifuncs.
49491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49492 elf_machine_lazy_rel): Likewise.
49493 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49495 elf_machine_lazy_rel): Likewise.
49496 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49497 dl_hwcap via passed in argument.
49498 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49499 Likewise.
49500
5a31b283
AK
495012011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49502
49503 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49504
069e52f8
RM
495052011-06-06 Roland McGrath <roland@hack.frob.com>
49506
49507 [BZ #12849]
49508 * manual/fdl-1.1.texi: New file, verbatim from:
49509 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49510 * manual/lgpl-2.1.texi: New file, verbatim from:
49511 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49512 * manual/Makefile (licenses): New variable, list those new file names.
49513 (texis): Use it.
49514 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49515
49516 * manual/fdl.texi: File removed.
49517 * manual/lesser.texi: File removed.
49518 * manual/libc.texinfo (Copying, Documentation License):
49519 Use new @include file names, put @appendix directive before @include.
49520
f16846a5
JJ
495212011-06-04 Jakub Jelinek <jakub@redhat.com>
49522
49523 [BZ #12841]
49524 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49525 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49526 (mq_open): Add __NTH.
49527
3d29045b
L
495282011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49529
49530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49531 Assume Intel Core i3/i5/i7 processor if AVX is available.
49532
8c297311
UD
495332011-05-31 Ulrich Drepper <drepper@gmail.com>
49534
49535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49536 typo.
49537
c8fc0c91
UD
495382011-05-31 Andreas Schwab <schwab@redhat.com>
49539
49540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49541 memory. Use alloca_account. Fix memory leak when retrying.
49542
5b27a807
UD
495432011-05-31 Ulrich Drepper <drepper@gmail.com>
49544
356f8bc6
UD
49545 * version.h (RELEASE): Bump for 2.14 release.
49546 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49547
5b27a807
UD
49548 * config.make.in (RANLIB): Remove entry.
49549
01f16ab0
UD
495502011-05-30 Ulrich Drepper <drepper@gmail.com>
49551
41fce8bd
UD
49552 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49553 (libc.pot): Work around missing support for .ksh extension in xgettext.
49554
4769ae77
UD
49555 [BZ #12684]
49556 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49557 if both request failed.
49558 (send_dg): In case of server errors clear resplen or *resplen2.
49559
6b1e7d19
UD
49560 [BZ #12454]
49561 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49562 when there are multiple maps.
49563 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49564 (_dl_fini): Remove test here.
49565
01f16ab0
UD
49566 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49567
b1ebd700
UD
495682011-05-29 Ulrich Drepper <drepper@gmail.com>
49569
7ae22829
UD
49570 [BZ #12350]
49571 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49572 bit from old_res_options.
49573 (gaih_inet): Likewise.
49574
553149f6 49575 [BZ #11099]
18a84741 49576 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49577 as signed.
49578
652ffab1
UD
49579 * resolv/res_init.c (res_setoptions): Make the code more compact.
49580
16985fd0
UD
49581 [BZ #11558]
49582 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49583 set RES_USEVC.
49584
0464f746
UD
49585 [BZ #11634]
49586 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49587
7d17596c
UD
49588 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49589
cf6bbbd7
UD
49590 [BZ #11781]
49591 * malloc/malloc.h: Declare malloc hook variables as volatile.
49592
13f1ab36
UD
49593 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49594 in last patch.
49595
b1ebd700
UD
49596 [BZ #11799]
49597 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49598 raise in the comment.
80e2212d
UD
49599 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49601 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49602
ce67228d
UD
496032011-05-28 Ulrich Drepper <drepper@gmail.com>
49604
8887a920
UD
49605 [BZ #12811]
49606 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49607 grow the buffers more if it already has to be sufficient.
49608 (build_wcs_upper_buffer): Likewise.
49609 * posix/regexec.c (check_matching): Likewise.
49610 (clean_state_log_if_needed): Likewise.
49611 (extend_buffers): Don't enlarge buffers beyond size of the input
49612 buffer.
49613 Patches mostly by Emil Wojak <emil@wojak.eu>.
49614 * posix/bug-regex32.c: New file.
49615 * posix/Makefile (tests): Add bug-regex32.
49616
4f031072
UD
49617 * locale/findlocale.c (_nl_find_locale): Return right away if
49618 _nl_explode_name failed.
49619 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49620
d0478f0c
UD
49621 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49622
de81b246
UD
49623 * debug/xtrace.sh: Unify messages.
49624 * malloc/memusage.sh: Likewise.
49625
c738465a
UD
49626 [BZ #12813]
49627 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49628 time symbol from vDSO. Substitute with vsyscall if not available.
49629 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49630 __vdso_time.
49631
f1f929d7
UD
49632 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49633 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49634 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49635 Add sendmmsg and internal_sendmmsg.
49636 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49637 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49638 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49639
ce67228d
UD
49640 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49641 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49643
e57420c6
UD
496442011-05-27 Ulrich Drepper <drepper@gmail.com>
49645
a8509ca5
UD
49646 [BZ #12813]
49647 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49648 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49649 available.
49650 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49651 __vdso_getcpu.
49652
e57420c6
UD
49653 [BZ #12814]
49654 * iconvdata/Makefile (tests): Add bug-iconv9.
49655 * iconvdata/bug-iconv9.c: New file.
49656
4d07db15
AS
496572011-05-27 Andreas Schwab <schwab@redhat.com>
49658
49659 [BZ #12814]
49660 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49661
ea486f69
JJ
496622011-05-25 Jakub Jelinek <jakub@redhat.com>
49663
49664 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49665 (struct user_regs_struct): Change intcs field back to cs.
49666
6f038433
UD
496672011-05-25 Ulrich Drepper <drepper@gmail.com>
49668
49669 * po/ja.po: Update from translation team.
49670
67f86a25
UD
496712011-05-23 Ulrich Drepper <drepper@gmail.com>
49672
49673 [BZ #12795]
49674 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49675 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49676
def7fbd6
AS
496772011-05-20 Andreas Schwab <schwab@redhat.com>
49678
49679 * stdlib/longlong.h: Update from GCC.
49680
f50ef8f1
AS
496812011-05-23 Andreas Schwab <schwab@redhat.com>
49682
49683 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49684 parameter name.
49685 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49686 Add parameter name.
49687 (__sysconf): Pass it down.
49688
de7ce8f1
UD
496892011-05-22 Ulrich Drepper <drepper@gmail.com>
49690
f2962a71
UD
49691 [BZ #12671]
49692 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49693 some situations.
49694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49695 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49696 add in in __libc_use_alloca calls. Adjust callers.
49697 (glob): Use malloc in some situations.
49698
de7ce8f1
UD
49699 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49700 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49701 pltexit.
49702
aec84f53
UD
497032011-05-21 Ulrich Drepper <drepper@gmail.com>
49704
05bb4a68
UD
49705 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49706 and CLOCK_BOOTTIME_ALARM.
49707
7ea72f99
UD
49708 [BZ #12782]
49709 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49710 is returned.
49711
7e4afad5
UD
49712 * string/_strerror.c (__strerror_r): Print negative errors as signed
49713 numbers.
49714
8e211fec
UD
49715 [BZ #12777]
49716 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49717 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49718 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49719
f7d82dc9
UD
49720 * configure.in: Fix typo in redirection and correct removal of test
49721 files in two cases.
49722
cc9e536d
UD
49723 [BZ #12788]
49724 * locale/setlocale.c (new_composite_name): Fix test to check for
49725 identical name of all categories.
49726
aec84f53
UD
49727 [BZ #12792]
49728 * libio/filedoalloc.c (local_isatty): New function.
49729 (_IO_file_doallocate): Use local_isatty.
49730 * stdio-common/perror.c (perror): In case a new stream is used
49731 forward the stream error.
49732 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49733 error flag.
49734
78e64fdc
RT
497352011-05-20 Ulrich Drepper <drepper@gmail.com>
49736
34a9094f
UD
49737 [BZ #11869]
49738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49739 alloca.
49740 * include/alloca.h (extend_alloca_account): Define.
49741
78e64fdc
RT
49742 [BZ #11857]
49743 * posix/regex.h: Fix comments with documentation of user-accessible
49744 fields after compilation and describe correct free'ing of pattern
49745 after re_compile_pattern.
49746 Patch by Reuben Thomas <rrt@sc3d.org>.
49747
457bddfc
RA
497482011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49749
49750 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49751 and -mno-altivec to prevent the compiler from using Altivec and/or
49752 VSX instructions when the corresponding registers are not available.
49753
a4527b51
AS
497542011-05-19 Andreas Schwab <schwab@redhat.com>
49755
49756 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49757
ed690b2f
UD
497582011-05-19 Ulrich Drepper <drepper@gmail.com>
49759
49760 * libio/freopen.c (freopen): Use __dup2, not dup2.
49761 * libio/freopen64.c (freopen64): Likewise.
49762
8db73634
L
497632011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49764
49765 [BZ #12775]
49766 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49767 * math/Makefile (tests): Add test-powl.
49768 (CFLAGS-test-powl.c): Define.
49769 * math/test-powl.c: New file.
49770
0a197a9d
L
497712011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49772
49773 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49774
ee30c380
UD
497752011-05-17 Ulrich Drepper <drepper@gmail.com>
49776
49777 [BZ #11837]
49778 * iconvdata/gb18030.c: Update to GB18020-2005.
49779
6ce75379
UD
497802011-05-16 Ulrich Drepper <drepper@gmail.com>
49781
a4b89fd8
AR
49782 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49783 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49784 Patch by Aharon Robbins <arnold@skeeve.com>.
49785
ea389b12
UD
49786 [BZ #11892]
49787 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49788 on the stack.
49789
68a3f91f
UD
49790 [BZ #11895]
49791 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49792 through underflows.
49793
15cc7dd1
UD
49794 [BZ #12766]
49795 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49796 point to strings before performing equality test for error_one_per_line
49797 mode.
49798
f3799213
UD
49799 [BZ #11697]
49800 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49801
d79a9c94
UD
49802 [BZ #11820]
49803 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49804 (struct user_fpregs_struct): Avoid __uint*_t types.
49805
56e5eb46
UD
49806 [BZ #6420]
49807 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49808 symbol info. Use it instead of calling _dl_addr locally.
49809 (lock_and_info): New function.
49810 (tr_freehook): Call lock_and_info and pass symbol info as additional
49811 parameter to tr_where.
49812 (tr_mallochook): Likewise.
49813 (tr_reallochook): Likewise.
49814 (tr_memalignhook): Likewise.
49815
6ce75379
UD
49816 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49817 used and couldn't be at all thread-safe.
49818
f8a3b5bf
UD
498192011-05-15 Ulrich Drepper <drepper@gmail.com>
49820
94b7cc37
UD
49821 * libio/freopen.c (freopen): Don't close old file descriptor
49822 before the new one is opened. Instead dup the new file descriptor
49823 to the old one after the new stream is created.
49824 * libio/freopen64.c (freopen64): Likewise.
49825 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49826 * libio/fileops.c (_IO_new_file_close_it): Handle new
49827 _IO_FLAGS2_NOCLOSE flag.
49828 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49829 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49830 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49831 _IO_FLAGS2_NOCLOSE flag.
49832 * include/unistd.h: Add hidden_proto for dup3.
49833 Define __have_dup3.
49834 * io/dup3.c: Define hidden symbol.
49835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49836
bd25564e
UD
49837 [BZ #7101]
49838 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49839 when an incomplete long option is used.
49840 * posix/tst-getopt_long1.c: New file.
49841 * posix/Makefile (tests): Add tst-getopt_long1.
49842
c84cfef4
UD
49843 [BZ #10138]
49844 * scripts/config.guess: Update from autoconf-2.68.
49845 * scripts/config.sub: Likewise.
49846
3b85df27
UD
49847 [BZ #10157]
49848 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49849 tests into ...
49850 (has_cpuclock): ...this. New function.
49851 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49852 macro here based on has_cpuclock code.
49853
15a856b1
UD
49854 [BZ #10149]
49855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49856 First byte (not low byte) is now always NUL.
49857 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49858
05f399e6
UD
49859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49860 Use non-cancelable interfaces.
49861
10a52685 49862 [BZ #9809]
94ecc67d
UD
49863 * locale/iso-639.def: Add entry for Sorani.
49864
f8a3b5bf
UD
49865 [BZ #11901]
49866 * include/stdlib.h: Move include protection to the right place.
49867 Define abort_msg_s. Declare __abort_msg with it.
49868 * stdlib/abort.c (__abort_msg): Adjust type.
49869 * assert/assert.c (__assert_fail_base): New function. Majority
49870 of code from __assert_fail. Allocate memory for __abort_msg with
49871 mmap.
49872 (__assert_fail): Now call __assert_fail_base.
49873 * assert/assert-perr.c: Remove bulk of implementation. Use
49874 __assert_fail_base.
49875 * include/assert.hL Declare __assert_fail_base.
49876 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49877 mmap.
49878 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49879
1af4e298
UD
498802011-05-14 Ulrich Drepper <drepper@gmail.com>
49881
f8a3b5bf 49882 [BZ #11952]
d26dfc60
MG
49883 [BZ #12453]
49884 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49885 until all modules are registered in the DTV.
49886 * elf/Makefile: Add rules to build and run tst-tls19.
49887 * elf/tst-tls19.c: New file.
49888 * elf/tst-tls19mod1.c: New file.
49889 * elf/tst-tls19mod2.c: New file.
49890 * elf/tst-tls19mod3.c: New file.
49891 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49892
2fc54d6f
UD
49893 [BZ #12083]
49894 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49895 correctly.
49896
98d76b46
UD
49897 [BZ #12601]
49898 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49899 two-byte sequence errors.
49900 * iconvdata/Makefile (tests): Add bug-iconv8.
49901 * iconvdata/bug-iconv8.c: New file.
49902
da3c19ef
UD
49903 [BZ #12626]
49904 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49905 buf2 definition.
49906
ca408c15
UD
49907 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49908
d6f67f7d
UD
49909 [BZ #12432]
49910 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49911 (dummy_getcfa): New function.
49912 (init): Get _Unwind_GetCFA address, use dummy if not found.
49913 (backtrace_helper): In recursion check, also check whether CFA changes.
49914 (__backtrace): Completely initialize arg.
49915
1af4e298 49916 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49917 storing incomplete byte sequence in state object. Avoid testing for
49918 guaranteed too small input if we know there is enough data available.
1af4e298 49919
da62f81b
AS
499202011-05-11 Andreas Schwab <schwab@redhat.com>
49921
49922 * Makeconfig (+link-pie): Indent.
49923 * Rules (binaries-pie): Define if $(have-fpie) and
49924 $(build-shared).
49925 (binaries-shared): Also filter out $(binaries-pie).
49926 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49927 * nscd/Makefile (others-pie): Add nscd.
49928 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49929 ($(objpfx)nscd): Remove command override.
49930 * login/Makefile (others-pie): Add pt_chown.
49931 ($(objpfx)pt_chown): Remove command override.
49932 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49933 remove command overrides.
49934
fcabc0f8
UD
499352011-05-13 Ulrich Drepper <drepper@gmail.com>
49936
20030ae6
UD
49937 * libio/tst_putwc.c: Fix error messages.
49938
fcabc0f8
UD
49939 [BZ #12724]
49940 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49941 currently writing and seek to current position when not.
49942 * libio/Makefile (tests): Add bug-fclose1.
49943 * libio/bug-fclose1.c: New file.
49944
320a5dc0
PB
499452011-05-12 Ulrich Drepper <drepper@gmail.com>
49946
49947 [BZ #12511]
49948 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49949 don't set DF_1_NODELETE here.
49950 (do_lookup_x): When entering new entry test for copy relocation
49951 and if necessary set DF_1_NODELETE flag.
49952 * elf/tst-unique4.cc: New file.
49953 * elf/tst-unique4.h: New file.
49954 * elf/tst-unique4lib.cc: New file.
49955 * elf/Makefile: Add rules to build and run tst-unique4.
49956 Patch by Piotr Bury <pbury@goahead.com>.
49957
22836f52
UD
499582011-05-11 Ulrich Drepper <drepper@gmail.com>
49959
f574184a
UD
49960 [BZ #12052]
49961 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49962
e1fb097f
UD
49963 [BZ #12625]
49964 * misc/mntent_r.c (addmntent): Flush the stream after the output
49965
22836f52
UD
49966 [BZ #12393]
49967 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49968 (is_trusted_path_normalize): Skip initial colon. Append slash
49969 to empty buffer. Duplicate is_trusted_path code but allow
49970 constructed patch to be prefix.
49971 (is_dst): Allow $ORIGIN followed by /.
49972 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49973 Correct testing of result of is_trusted_path_normalize
49974 (decompose_rpath): Fix warning.
49975
7b3b0b2a
UD
499762011-05-10 Ulrich Drepper <drepper@gmail.com>
49977
49978 [BZ #11257]
49979 * grp/initgroups.c (internal_getgrouplist): When we found the service
49980 list through the initgroups entry in nsswitch.conf do not always
49981 continue on a successful lookup. Don't always use the
eac80ce2 49982 __nss_group_database value if it is set.
7b3b0b2a
UD
49983 * nss/nsswitch.conf (initgroups): Change action for successful db
49984 lookup to continue for compatibility.
49985
2a81eaa5
UD
499862011-05-09 Ulrich Drepper <drepper@gmail.com>
49987
be97a69e
UD
49988 [BZ #11532]
49989 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49990 and CP774 modules.
49991 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49992 and CP774 modules.
49993 * iconvdata/tst-tables.sh: Likewise.
49994 * iconvdata/cp770.c: New file.
49995 * iconvdata/cp771.c: New file.
49996 * iconvdata/cp772.c: New file.
49997 * iconvdata/cp773.c: New file.
49998 * iconvdata/cp774.c: New file.
49999 * iconvdata/testdata/CP770: New file.
50000 * iconvdata/testdata/CP770..UTF8: New file.
50001 * iconvdata/testdata/CP771: New file.
50002 * iconvdata/testdata/CP771..UTF8: New file.
50003 * iconvdata/testdata/CP772: New file.
50004 * iconvdata/testdata/CP772..UTF8: New file.
50005 * iconvdata/testdata/CP773: New file.
50006 * iconvdata/testdata/CP773..UTF8: New file.
50007 * iconvdata/testdata/CP774: New file.
50008 * iconvdata/testdata/CP774..UTF8: New file.
50009
50010 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50011 END CHARMAP line.
50012 * iconvdata/gen-8bit-gap.sh: Likewise.
50013 * iconvdata/gen-8bit.sh: Likewise.
50014
c1e9e399
UD
50015 * locale/iso-639.def: Add ary entry.
50016
24c55fb3 50017 [BZ #11258]
96b4b1b0
UD
50018 * locale/C-translit.h.in: Add U20A1 transliteration.
50019
bdc2f971
KB
50020 [BZ #12178]
50021 * locale/iso-639.def: Add wae entry.
50022 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50023
2952b117
UD
50024 [BZ #12545]
50025 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50026 for n.
50027
2a81eaa5
UD
50028 [BZ #12711]
50029 * locale/C-translit.h.in: Add entry for U20B9.
50030 Patch by pravin.d.s@gmail.com.
50031
28377d1b
UD
500322011-05-08 Ulrich Drepper <drepper@gmail.com>
50033
7fb90fb8
UD
50034 [BZ #12713]
50035 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50036 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50037 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50038 in rtld. Use *stat64.
7fb90fb8 50039 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50040 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50041 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50042 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50043 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50044 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50045 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50046 __fstatat64 macros.
7fb90fb8
UD
50047 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50048 * dirent/rewinddir.c: Add libc_hidden_def.
50049 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50050 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50051
28377d1b
UD
50052 * include/dirent.h (__alloc_dir): Add flags parameter.
50053 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50054 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50055 __alloc_dir.
50056 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50057 from fdopendir if O_CLOEXEC is already set.
50058
66bdbaa4
AM
500592011-03-15 Alan Modra <amodra@gmail.com>
50060
50061 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50062 l_tls_firstbyte_offset non-zero. Save padding offset in
50063 l_tls_firstbyte_offset for later use.
50064 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50065 freeing static tls block.
50066
95721191
JN
500672011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50068
50069 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50070 where #ifdef was intended. The intent is to prevent ARG_MAX from
50071 being defined by the kernel headers.
50072
f87dfb1f
UD
500732011-05-07 Ulrich Drepper <drepper@gmail.com>
50074
50075 [BZ #12734]
50076 * resolv/resolv.h: Define RES_NOTLDQUERY.
50077 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50078 no-tld-query and set RES_NOTLDQUERY.
50079 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50080 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50081 modern BIND to search name as TLD unless forbidden.
50082
47c3cd7a
UD
500832011-05-07 Petr Baudis <pasky@suse.cz>
50084 Ulrich Drepper <drepper@gmail.com>
50085
50086 [BZ #12393]
50087 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50088 (is_trusted_path): ...to here.
c1e9ea35 50089 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50090 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50091 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50092
8a35c912
PP
500932011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50094
50095 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50096 __BEGIN/__END_DECLS.
50097
acd41f47
UD
500982011-05-06 Ulrich Drepper <drepper@gmail.com>
50099
50100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50101 NSS_STATUS_NOTFOUND if no record was found.
50102
597df647
AS
501032011-05-05 Andreas Schwab <schwab@redhat.com>
50104
50105 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50106 (headers-not-in-tirpc): Remove rpc/netdb.h
50107 * resolv/netdb.h: Revert last change.
50108
b9af1301
PP
501092011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50110
50111 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50112 circular dependency between libgcc.a and libc.a.
50113
4e34d5f5
AS
501142011-05-05 Andreas Schwab <schwab@redhat.com>
50115
50116 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50117 * nis/Makefile: Don't install rpcsvc/*.
50118 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50119 instead of <rpc/types.h>.
50120 (MAXHOSTNAMELEN): Define.
50121
00ee369c
AS
501222011-05-03 Andreas Schwab <schwab@redhat.com>
50123
50124 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50125
0b592a30
MB
501262011-04-28 Maciej Babinski <mbabinski@google.com>
50127
50128 [BZ #12714]
50129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50130 gethostbyname4_r when IPv6 results are possible.
50131
6e04cbbe
UD
501322011-05-02 Ulrich Drepper <drepper@gmail.com>
50133
50134 [BZ #12723]
50135 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50136 _PC_PIPE_BUF handling.
50137
e4ecafe0
BH
501382011-04-30 Bruno Haible <bruno@clisp.org>
50139
50140 [BZ #12717]
50141 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50142 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50143 to 'int'.
50144 * inet/getnameinfo.c (getnameinfo): Likewise.
50145
125ee683
UD
501462011-04-29 Ulrich Drepper <drepper@gmail.com>
50147
50148 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50149 to groups setting in database lookup.
50150 * nss/nsswitch.conf: Add initgroups entry.
50151
b722481a
EB
501522011-04-22 Ulrich Drepper <drepper@gmail.com>
50153
50154 [BZ #12685]
50155 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50156 mode string.
50157 Patch by Eric Blake <eblake@redhat.com>.
50158
4df46dbd
L
501592011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50160
50161 * sunrpc/Makefile (need-export-routines): Add svc_run.
50162 (routines): Remove svc_run.
50163 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50164 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50165 * sunrpc/svc_run.c (svc_run): Likewise.
50166 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50167
e84142d2
UD
501682011-04-21 Ulrich Drepper <drepper@gmail.com>
50169
50170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50171 problem in reallocation in last patch.
50172
877175d8
UD
501732011-04-20 Ulrich Drepper <drepper@gmail.com>
50174
50175 * sunrpc/Makefile: Move inclusion of Rules.
50176
ab8eed78
UD
501772011-04-19 Ulrich Drepper <drepper@gmail.com>
50178
50179 * nss/nss_files/files-initgroups.c: New file.
50180 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50181 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50182 _nss_files_initgroups_dyn.
50183
e3d8f584
RS
501842011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50185
50186 * elf/elf.h (R_ARM_IRELATIVE): Define.
50187
af190f45
UD
501882011-04-19 Ulrich Drepper <drepper@gmail.com>
50189
50190 * po/ru.po: Update from translation team.
50191
53cf59ef
UD
501922011-04-17 Ulrich Drepper <drepper@gmail.com>
50193
50194 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50195 dependencies.
50196
4c559bcd
MF
501972011-02-06 Mike Frysinger <vapier@gentoo.org>
50198
50199 [BZ #12653]
50200 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50201 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50202 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50203 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50204 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50205
4420675c
AS
502062011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50207
50208 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50209 differing bytes.
50210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50213
75ea32ab
UD
502142011-04-17 Ulrich Drepper <drepper@gmail.com>
50215
50216 [BZ #12420]
50217 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50218 storing it.
50219 * stdlib/bug-getcontext.c: New file.
50220 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50221
27390476
AK
502222011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50223
50224 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50225 instructions into .machine "z9-109".
50226 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50227 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50228
10442705
AK
502292011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50230
50231 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50232 between environment variables and auxiliary vector.
50233
7b57bfe5
UD
502342011-04-16 Ulrich Drepper <drepper@gmail.com>
50235
50236 * Makefile: Add rules to build linkobj/libc.so.
50237 * include/libc-symbols.h: Define libc_hidden_nolink.
50238 * include/rpc/auth.h: Mark functions which are to be hidden.
50239 * include/rpc/auth_des.h: Likewise.
50240 * include/rpc/auth_unix.h: Likewise.
50241 * include/rpc/clnt.h: Likewise.
50242 * include/rpc/des_crypt.h: Likewise.
50243 * include/rpc/key_prot.h: Likewise.
50244 * include/rpc/pmap_clnt.h: Likewise.
50245 * include/rpc/pmap_prot.h: Likewise.
50246 * include/rpc/pmap_rmt.h: Likewise.
50247 * include/rpc/rpc_msg.h: Likewise.
50248 * include/rpc/svc.h: Likewise.
50249 * include/rpc/svc_auth.h: Likewise.
50250 * include/rpc/xdr.h: Likewise.
50251 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50252 * nss/Makefile: Likewise.
50253 * sunrpc/Makefile: Don't install headers. Build library with normal
50254 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50255 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50256 for the compat linking library. Remove use of INTDEF/INTUSE.
50257 * sunrpc/auth_none.c: Likewise.
50258 * sunrpc/auth_unix.c: Likewise.
50259 * sunrpc/authdes_prot.c: Likewise.
50260 * sunrpc/authuxprot.c: Likewise.
50261 * sunrpc/clnt_gen.c: Likewise.
50262 * sunrpc/clnt_perr.c: Likewise.
50263 * sunrpc/clnt_raw.c: Likewise.
50264 * sunrpc/clnt_simp.c: Likewise.
50265 * sunrpc/clnt_tcp.c: Likewise.
50266 * sunrpc/clnt_udp.c: Likewise.
50267 * sunrpc/clnt_unix.c: Likewise.
50268 * sunrpc/des_crypt.c: Likewise.
50269 * sunrpc/des_soft.c: Likewise.
50270 * sunrpc/get_myaddr.c: Likewise.
50271 * sunrpc/key_call.c: Likewise.
50272 * sunrpc/key_prot.c: Likewise.
50273 * sunrpc/netname.c: Likewise.
50274 * sunrpc/pm_getmaps.c: Likewise.
50275 * sunrpc/pm_getport.c: Likewise.
50276 * sunrpc/pmap_clnt.c: Likewise.
50277 * sunrpc/pmap_prot.c: Likewise.
50278 * sunrpc/pmap_prot2.c: Likewise.
50279 * sunrpc/pmap_rmt.c: Likewise.
50280 * sunrpc/publickey.c: Likewise.
50281 * sunrpc/rpc_cmsg.c: Likewise.
50282 * sunrpc/rpc_common.c: Likewise.
50283 * sunrpc/rpc_dtable.c: Likewise.
50284 * sunrpc/rpc_prot.c: Likewise.
50285 * sunrpc/rpc_thread.c: Likewise.
50286 * sunrpc/rtime.c: Likewise.
50287 * sunrpc/svc.c: Likewise.
50288 * sunrpc/svc_auth.c: Likewise.
50289 * sunrpc/svc_authux.c: Likewise.
50290 * sunrpc/svc_raw.c: Likewise.
50291 * sunrpc/svc_run.c: Likewise.
50292 * sunrpc/svc_simple.c: Likewise.
50293 * sunrpc/svc_tcp.c: Likewise.
50294 * sunrpc/svc_udp.c: Likewise.
50295 * sunrpc/svc_unix.c: Likewise.
50296 * sunrpc/svcauth_des.c: Likewise.
50297 * sunrpc/xcrypt.c: Likewise.
50298 * sunrpc/xdr.c: Likewise.
50299 * sunrpc/xdr_array.c: Likewise.
50300 * sunrpc/xdr_float.c: Likewise.
50301 * sunrpc/xdr_intXX_t.c: Likewise.
50302 * sunrpc/xdr_mem.c: Likewise.
50303 * sunrpc/xdr_rec.c: Likewise.
50304 * sunrpc/xdr_ref.c: Likewise.
50305 * sunrpc/xdr_sizeof.c: Likewise.
50306 * sunrpc/xdr_stdio.c: Likewise.
50307
e6c61494
UD
503082011-04-10 Ulrich Drepper <drepper@gmail.com>
50309
50310 [BZ #12650]
50311 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50312 * sysdeps/ia64/dl-tls.h: Likewise.
50313 * sysdeps/powerpc/dl-tls.h: Likewise.
50314 * sysdeps/s390/dl-tls.h: Likewise.
50315 * sysdeps/sh/dl-tls.h: Likewise.
50316 * sysdeps/sparc/dl-tls.h: Likewise.
50317 * sysdeps/x86_64/dl-tls.h: Likewise.
50318 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50319
34fe483e
AS
503202011-03-14 Andreas Schwab <schwab@redhat.com>
50321
50322 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50323 rpath element also skip the following colon.
50324 (expand_dynamic_string_token): Add is_path parameter and pass
50325 down to DL_DST_REQUIRED and _dl_dst_substitute.
50326 (decompose_rpath): Call expand_dynamic_string_token with
50327 non-zero is_path. Ignore empty rpaths.
50328 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50329 with zero is_path.
50330
f12a32e6
AS
503312011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50332
50333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50334 Make cancelable.
50335
38a7d692
UD
503362011-04-09 Ulrich Drepper <drepper@gmail.com>
50337
50338 [BZ #12655]
50339 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50340 Patch by Filipe David Manana <fdmanana@apache.org>.
50341
e451d22b
AS
503422011-04-07 Andreas Schwab <schwab@redhat.com>
50343
50344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50345 Maintain aligned stack.
50346 (CHECK_RSP): Remove unused macro.
50347
dedc7c7b
UD
503482011-04-03 Ulrich Drepper <drepper@gmail.com>
50349
50350 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50351 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50352
94521213
UD
503532011-04-02 Ulrich Drepper <drepper@gmail.com>
50354
50355 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50356
8cb700c0 50357 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50358
0354e355
L
503592011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50360
50361 [BZ #12518]
50362 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50363 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50364 * sysdeps/x86_64/memmove.c: New file.
50365 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50366 (memcpy): Renamed to ...
50367 (__new_memcpy): This.
50368 (memcpy): Provide GLIBC_2_14 memcpy.
50369 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50370 (memcpy): Provide GLIBC_2_2_5 memcpy.
50371
8593482f
UD
503722011-04-01 Ulrich Drepper <drepper@gmail.com>
50373
50374 [BZ #12631]
50375 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50376
81a5726b
AS
503772011-03-30 Andreas Schwab <schwab@redhat.com>
50378
50379 * misc/syncfs.c: New file.
50380 * misc/Makefile (routines): Add syncfs.
50381 * posix/unistd.h: Declare syncfs.
50382 * sysdeps/unix/syscalls.list: Add syncfs.
50383
00e5419f
AS
503842011-04-01 Andreas Schwab <schwab@redhat.com>
50385
50386 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50387 open_by_handle_at.
50388 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50389 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50391 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50393 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50395
748876bf
UD
503962011-04-01 Ulrich Drepper <drepper@gmail.com>
50397
658e451d
UD
50398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50400 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50405
748876bf
UD
50406 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50407 sync_file_range.c with -fexceptions.
50408 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50409 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50410 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50411 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50412 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50413 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50414 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50415 sync_file_range as cancellation point
50416 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50417 now a wrapper around __call_sync_file_range with cancellation handling.
50418 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50419 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50420 function name to __call_sync_file_range.
50421 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50422 Add call_sync_file_range.
748876bf 50423
6e63d5e1
AS
504242011-04-01 Andreas Schwab <schwab@redhat.com>
50425
50426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50427 bits/timex.h.
6e63d5e1 50428
46998f74
UD
504292011-04-01 Ulrich Drepper <drepper@gmail.com>
50430
4c1423ed
UD
50431 * iconv/iconv.h: Fix typo in comment.
50432 * io/fcntl.h: Likewise.
50433 * libio/stdio.h: Likewise.
50434 * posix/spawn.h: Likewise.
50435 * posix/unistd.h: Likewise.
50436 * stdlib/stdlib.h: Likewise.
50437 * time/time.h: Likewise.
50438 * wcsmbs/wchar.h: Likewise.
50439
158648c0
UD
50440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50441 open_by_handle): Add.
50442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50443 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50444 Augment a few comments.
50445 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50450 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50451 open_by_handle.
50452
46998f74
UD
50453 * io/fcntl.h (AT_EMPTY_PATH): Define.
50454
83fe108b
UD
504552011-03-30 Ulrich Drepper <drepper@gmail.com>
50456
50457 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50458 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50459 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50460 to...
50461 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50462 * Versions.def: Add GLIBC_2.14.
50463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50464 Export.
83fe108b 50465
bb242059
UD
504662011-03-22 Ulrich Drepper <drepper@gmail.com>
50467
50468 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50469 round counter.
50470 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50471
c97a1282
L
504722011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50473
50474 [BZ #12597]
50475 * string/test-strncmp.c (do_page_test): New function.
50476 (check2): Likewise.
50477 (test_main): Call check2.
50478 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50479
2a115601
UD
504802011-03-20 Ulrich Drepper <drepper@gmail.com>
50481
50482 [BZ #12587]
50483 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50484 Handle cache information in CPU leaf 4.
50485 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50486
8126d904
UD
504872011-03-18 Ulrich Drepper <drepper@gmail.com>
50488
042c49c6 50489 [BZ #12583]
8126d904
UD
50490 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50491 character representation.
50492 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50493
ccfe366e
RA
504942011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50495
50496 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50497 END(__isnan) to END(__isnanf) to match function entry point/label
50498 EALIGN(__isnanf,...).
50499
c6e13027
JJ
505002011-03-10 Jakub Jelinek <jakub@redhat.com>
50501
50502 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50503
33f85a3f
UD
505042011-03-10 Ulrich Drepper <drepper@gmail.com>
50505
028478fa
UD
50506 [BZ #12510]
50507 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50508 copy from the symbol referenced in the relocation to initialize the
50509 used variable.
50510 Patch by Piotr Bury <pbury@goahead.com>.
50511 * elf/Makefile: Add rules to build and tst-unique3.
50512 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50513 * elf/tst-unique3.cc: New file.
50514 * elf/tst-unique3.h: New file.
50515 * elf/tst-unique3lib.cc: New file.
50516 * elf/tst-unique3lib2.cc: New file.
50517
33f85a3f
UD
50518 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50519
03592fc7
MF
505202011-03-10 Mike Frysinger <vapier@gentoo.org>
50521
50522 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50523 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50524 to _start.
03592fc7 50525
6a5ee102
UD
505262011-03-06 Ulrich Drepper <drepper@gmail.com>
50527
50528 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50529 to-be-loaded object along a path to loader is ld.so.
50530
7e4ba49c
HJ
505312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50532 Ulrich Drepper <drepper@gmail.com>
50533
50534 * sysdeps/x86_64/memset.S: After aligning destination, code
50535 branches to different locations depending on the value of
50536 misalignment, when multiarch is enabled. Fix this.
50537
505382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50539
50540 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50541 Set _x86_64_preferred_memory_instruction for AMD processsors.
50542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50543 Set bit_Prefer_SSE_for_memop for AMD processors.
50544
13a804de
UD
505452011-03-04 Ulrich Drepper <drepper@gmail.com>
50546
50547 * libio/fmemopen.c (fmemopen): Optimize a bit.
50548
9d25c392
AS
505492011-03-03 Andreas Schwab <schwab@redhat.com>
50550
50551 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50552
a5543c6a
RM
505532011-03-03 Roland McGrath <roland@redhat.com>
50554
50555 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50556
012d35f7
DM
505572011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50558
7e4ba49c 50559 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50560 __bzero_ultra1 instead of __memset_ultra1.
50561
4bff6e01
AS
505622011-02-23 Andreas Schwab <schwab@redhat.com>
50563 Ulrich Drepper <drepper@gmail.com>
50564
50565 [BZ #12509]
50566 * include/link.h (struct link_map): Add l_orig_initfini.
50567 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50568 returning unsuccessfully.
50569 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50570 close of a file loaded at startup, restore the original l_initfini
50571 list.
50572 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50573 list, store the pointer.
50574 * elf/Makefile ($(objpfx)noload-mem): New rule.
50575 (noload-ENV): Define.
50576 (tests): Add $(objpfx)noload-mem.
50577 * elf/noload.c: Include <memcheck.h>.
50578 (main): Call mtrace. Close all opened handles.
50579
f2092faf
AS
505802011-02-17 Andreas Schwab <schwab@redhat.com>
50581
50582 [BZ #12454]
50583 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50584 dependencies are missing.
50585
6c8a2e88
ST
505862011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50587
f2092faf 50588 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50589 Hurd needs munmap.
50590 * sysdeps/mach/hurd/ifreq.h: New file.
50591
84a42118
PB
505922011-01-27 Petr Baudis <pasky@suse.cz>
50593 Ulrich Drepper <drepper@gmail.com>
50594
071f805e 50595 [BZ 12445]#
84a42118
PB
50596 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50597 to extend_alloca().
50598 * stdio-common/bug23.c: New file.
50599 * stdio-common/Makefile (tests): Add bug23.
50600
e23fe25b
AS
506012010-09-28 Andreas Schwab <schwab@redhat.com>
50602 Ulrich Drepper <drepper@gmail.com>
50603
50604 [BZ #12489]
50605 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50606 before performing relro protection. At old place add assertion
50607 to make sure nothing changed.
50608
d3f02e10
NS
506092011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50610 Glauber de Oliveira Costa <glommer@gmail.com>
50611
50612 * elf/elf.h: Add new ARM TLS relocs.
50613
d55fd7a5
RA
506142011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50615
50616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50617 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50618 cast from r3.
50619 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50620 'tests' variable.
50621 * sysdeps/wordsize-64/tst-writev.c: New file.
50622
2206397e
RA
506232011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50624
50625 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50626 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50627 insns in _dl_start to prevent a TOC reference before relocs are
50628 resolved.
50629
e9433893
UD
506302011-02-15 Ulrich Drepper <drepper@gmail.com>
50631
50632 [BZ #12469]
50633 * Makeconfig: Remove RANLIB definition.
50634 * Makerules: Don't use RANLIB.
50635 * aclocal.m4: Remove ranlib test.
50636 * configure.in: No need to check for ranlib.
50637 * elf/rtld-Rules: Don't use RANLIB.
50638
f75286c6
ST
506392011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50640
8e31c82d
ST
50641 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50642 protection macro.
50643 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50644 inclusion protection macro.
50645
f75286c6
ST
50646 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50647 SIGRTMIN and SIGRTMAX and print information in that case only when
50648 SIGRTMIN is defined.
50649
c1d0e639
JJ
506502011-02-11 Jakub Jelinek <jakub@redhat.com>
50651
50652 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50653 arginfo fn returning -1.
50654
50655 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50656 and thousands string is zero terminated.
50657
edf9294e
AS
506582011-02-03 Andreas Schwab <schwab@redhat.com>
50659
50660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50661 sysdeps/unix/sysv/linux/bits/socket.h.
50662
2b7e92df
ST
506632011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50664
edf9294e
AS
50665 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50666 (__CPU_COUNT): Remove old macros.
50667 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50668 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50669 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50670 (__sched_cpualloc, __sched_cpufree): Add declarations.
50671
a4c7ea7b
UD
506722011-02-05 Ulrich Drepper <drepper@gmail.com>
50673
50674 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50675 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50676 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50677 (readdhstai): Return value of addhstaiX call.
50678 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50679 (addgrbyX): Return value returned by cache_addgr.
50680 (readdgrbyname): Return value returned by addgrbyX.
50681 (readdgrbygid): Likewise.
50682 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50683 (addpwbyX): Return value returned by cache_addpw.
50684 (readdpwbyname): Return value returned by addhstbyX.
50685 (readdpwbyuid): Likewise.
50686 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50687 (addservbyX): Return value returned by cache_addserv.
50688 (readdservbyname): Return value returned by addservbyX:
50689 (readdservbyport): Likewise.
50690 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50691 (addhstbyX): Return value returned by cache_addhst.
50692 (readdhstbyname): Return value returned by addhstbyX.
50693 (readdhstbyaddr): Likewise.
50694 (readdhstbynamev6): Likewise.
50695 (readdhstbyaddrv6): Likewise.
50696 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50697 (readdinitgroups): Return value returned by addinitgroupsX.
50698 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50699 (prune_cache): Keep track of timeout value of re-added entries.
50700 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50701 * nscd/nscd.h: Adjust prototypes of readd* functions.
50702
a0bf67cc
RM
507032011-02-04 Roland McGrath <roland@redhat.com>
50704
50705 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50706 (nis_stats): Likewise.
50707 * nis/nis_modify.c (nis_modify): Likewise.
50708 * nis/nis_remove.c (nis_remove): Likewise.
50709 * nis/nis_add.c (nis_add): Likewise.
50710
50711 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50712
50713 * posix/fnmatch_loop.c: Add some consts.
50714
50715 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50716
435b95eb
L
507172011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50718
50719 [BZ #12460]
50720 * config.make.in (config-cflags-novzeroupper): Define.
50721 * configure.in: Substitute libc_cv_cc_novzeroupper.
50722 * elf/Makefile (AVX-CFLAGS): Define.
50723 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50724 (CFLAGS-tst-auditmod4a.c): Likewise.
50725 (CFLAGS-tst-auditmod4b.c): Likewise.
50726 (CFLAGS-tst-auditmod6b.c): Likewise.
50727 (CFLAGS-tst-auditmod6c.c): Likewise.
50728 (CFLAGS-tst-auditmod7b.c): Likewise.
50729 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50730
8517b15e
UD
507312011-02-02 Ulrich Drepper <drepper@gmail.com>
50732
50733 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50734 function to the callback.
50735 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50736
10a656fe
AS
507372011-02-02 Andreas Schwab <schwab@redhat.com>
50738
50739 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50740 of errno.
50741
968dad0a
UD
507422011-01-19 Ulrich Drepper <drepper@gmail.com>
50743
9f94d2ea 50744 [BZ #11724]
968dad0a
UD
50745 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50746 of constructors.
50747 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50748 of destructors.
50749 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50750
50751 [BZ #11724]
50752 * elf/Makefile: Add rules to build and run new test.
50753 * elf/tst-initorder.c: New file.
50754 * elf/tst-initorder.exp: New file.
50755 * elf/tst-initordera1.c: New file.
50756 * elf/tst-initordera2.c: New file.
50757 * elf/tst-initordera3.c: New file.
50758 * elf/tst-initordera4.c: New file.
50759 * elf/tst-initorderb1.c: New file.
50760 * elf/tst-initorderb2.c: New file.
50761 * elf/tst-order-a1.c: New file.
50762 * elf/tst-order-a2.c: New file.
50763 * elf/tst-order-a3.c: New file.
50764 * elf/tst-order-a4.c: New file.
50765 * elf/tst-order-b1.c: New file.
50766 * elf/tst-order-b2.c: New file.
50767 * elf/tst-order-main.c: New file.
50768 New test case by George Gensure <werkt0@gmail.com>.
50769
86e92359
UD
507702010-10-01 Andreas Schwab <schwab@redhat.com>
50771
50772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50773 decoding ACE if AI_CANONIDN.
50774
5d5732b0
UD
507752011-01-18 Ulrich Drepper <drepper@gmail.com>
50776
50777 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50778
a77e8cbc
UD
507792011-01-17 Ulrich Drepper <drepper@gmail.com>
50780
6392473f
UD
50781 * version.h (RELEASE): Bump for 2.13 release.
50782 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50783
620a0529
UD
50784 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50785
18ba70a5
UD
50786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50787 MADV_NOHUGEPAGE.
32465c3e
UD
50788 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50791 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50792 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50793 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50794
c0dafcf1
UD
50795 * posix/getconf.c: Update copyright year.
50796 * catgets/gencat.c: Likewise.
50797 * csu/version.c: Likewise.
50798 * debug/catchsegv.sh: Likewise.
50799 * debug/xtrace.sh: Likewise.
50800 * elf/ldconfig.c: Likewise.
50801 * elf/ldd.bash.in: Likewise.
50802 * elf/sprof.c (print_version): Likewise.
50803 * iconv/iconv_prog.c: Likewise.
50804 * iconv/iconvconfig.c: Likewise.
50805 * locale/programs/locale.c: Likewise.
50806 * locale/programs/localedef.c: Likewise.
50807 * malloc/memusage.sh: Likewise.
50808 * malloc/mtrace.pl: Likewise.
50809 * nscd/nscd.c (print_version): Likewise.
50810 * nss/getent.c: Likewise.
50811
a77e8cbc
UD
50812 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50813 PF_CAIF, and PF_ALG.
50814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50815
77e8bddf
AS
508162011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50817
1f20b93a
AS
50818 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50819 (modules-names): Use them.
50820 (ifunc-test-modules, ifunc-pie-tests): Define.
50821 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50822 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50823 (test-extras): Likewise.
50824 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50825 $(compile-command.c).
50826 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50827 (all-built-dso): Define.
50828 (check-textrel.out, check-execstack.out): Depend on it.
50829
77e8bddf
AS
50830 * configure.in: Don't override --enable-multi-arch.
50831
bc425b33
UD
508322011-01-15 Ulrich Drepper <drepper@gmail.com>
50833
50834 [BZ #6812]
50835 * nscd/hstcache.c (tryagain): Define.
50836 (cache_addhst): Return tryagain not notfound for temporary errors.
50837 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50838 failed.
50839
794c3ad3
UD
508402011-01-14 Ulrich Drepper <drepper@gmail.com>
50841
70181fdd
UD
50842 [BZ #10563]
50843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50844 to make the syscall.
50845 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50846
794c3ad3
UD
50847 [BZ #12378]
50848 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50849 and fall back to matching as normal character if the string ends before
50850 the matching ']' is found. This is what POSIX requires.
50851 * posix/testfnm.c: Adjust test result.
50852 * posix/globtest.sh: Adjust test result. Add new test.
50853 * posix/tst-fnmatch.input: Likewise.
50854 * posix/tst-fnmatch2.c: Add new test.
50855
68dc9497
AS
508562010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50857
50858 * elf/Makefile (check-execstack): Revert last change. Depend on
50859 check-execstack.h.
50860 (check-execstack.h): New target.
50861 (generated): Add check-execstack.h.
50862 * elf/check-execstack.c: Include "check-execstack.h".
50863 (main): Revert last change.
50864 (handle_file): Return zero if GNU_STACK is absent and
50865 DEFAULT_STACK_PERMS doesn't include PF_X.
50866
451f001b
UD
508672011-01-13 Ulrich Drepper <drepper@gmail.com>
50868
cfa28e56
UD
50869 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50870 in child fails because the descriptor is already closed.
8cf8ce17
UD
50871 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50872 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50873 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50874
1086d70d
UD
50875 [BZ #12397]
50876 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50877 syscall.
50878
451f001b
UD
50879 [BZ #10484]
50880 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50881 temporary buffer used to handle multi lookups locally.
a85b5cb4 50882 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50883
08769175
UD
508842011-01-12 Ulrich Drepper <drepper@gmail.com>
50885
50886 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50887 loader is ld.so.
50888
5e49c52e
UD
508892011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50890
50891 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50892 alignment for SSE2.
50893
60522a5f
UD
508942011-01-12 Ulrich Drepper <drepper@gmail.com>
50895
50896 [BZ #12394]
50897 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50898 characters. When rounding increased number of integer digits recompute
50899 number of groups.
50900 * stdio-common/tst-grouping.c: New file.
50901 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50902
f257bbd7
UD
509032011-01-09 Ulrich Drepper <drepper@gmail.com>
50904
50905 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50906 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50907
50908 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50909 void.
50910 * bits/select.h: Likewise.
50911
fa9c15cb
UD
509122011-01-08 Ulrich Drepper <drepper@gmail.com>
50913
50914 * po/ja.po: Update from translation team.
50915
16c2895f
DM
509162011-01-04 David S. Miller <davem@sunset.davemloft.net>
50917
50918 [BZ #11155]
50919 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50920 implementation just like for lxstat, fxstatat, et al.
50921
2543fef2
JM
509222010-12-27 Jim Meyering <meyering@redhat.com>
50923
50924 [BZ #12348]
50925 * posix/regexec.c (build_trtable): Return failure indication upon
50926 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50927
98727dbe
UD
509282010-12-25 Ulrich Drepper <drepper@gmail.com>
50929
5bd6dc5c
UD
50930 [BZ #12201]
50931 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50932 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50933 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50934 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50935
97983464
UD
50936 [BZ #12207]
50937 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50938
98727dbe
UD
50939 [BZ #12204]
50940 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50941 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50942
4a531bb0
L
509432010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50944
50945 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50946 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50947 script has SORT_BY_INIT_PRIORITY.
50948 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50949 NO_CTORS_DTORS_SECTIONS is defined.
50950 * elf/soinit.c: Likewise.
50951 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50952 NO_CTORS_DTORS_SECTIONS is defined.
50953 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50954 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50955 * sysdeps/sh/init-first.c: Likewise.
50956 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50957
07eb4b71
UD
509582010-12-24 Ulrich Drepper <drepper@gmail.com>
50959
50960 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50961 always use the slow path.
50962
30950a5f
RA
509632010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50964
50965 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50966 similar rule which adds the sysdep directories to the header search in
50967 order to pick up the correct platform stackinfo.h.
50968 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50969 perform test if it is, otherwise return successfully without testing.
50970 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50971 DEFAULT_STACK_PERMS define in stackinfo.h.
50972 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50973 defined in stackinfo.h.
50974 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50975 DEFAULT_STACK_PERMS defined in stackinfo.h.
50976 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50977 * sysdeps/ia64/stackinfo.h: Likewise.
50978 * sysdeps/s390/stackinfo.h: Likewise.
50979 * sysdeps/sh/stackinfo.h: Likewise.
50980 * sysdeps/sparc/stackinfo.h: Likewise.
50981 * sysdeps/x86_64/stackinfo.h: Likewise.
50982 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50983 PF_X for powerpc64. Retain PF_X for powerpc32.
50984
db753e2c
UD
509852010-12-19 Ulrich Drepper <drepper@gmail.com>
50986
14b697f7
UD
50987 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50988 accurately.
db753e2c
UD
50989 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50990 GETDENTS_64BIT_ALIGNED.
50991
28300719
UD
509922010-12-14 Ulrich Drepper <dreper@gmail.com>
50993
14b697f7 50994 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50995
4f197237
AS
509962010-12-10 Andreas Schwab <schwab@redhat.com>
50997
dbb0472f
AS
50998 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50999 _GNU_SOURCE.
51000
4f197237
AS
51001 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51002 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51003 Remove __restrict.
51004 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51005 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51006
fb88ac72
UD
510072010-12-09 Ulrich Drepper <drepper@gmail.com>
51008
51009 [BZ #11655]
51010 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51011 are initialized.
51012
42acbb92
JJ
510132010-12-09 Jakub Jelinek <jakub@redhat.com>
51014
51015 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51016
c038d98d
UD
510172010-12-03 Ulrich Drepper <drepper@gmail.com>
51018
51019 * po/it.po: Update from translation team.
51020
3a4a2499
L
510212010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51022
51023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51024 unused codes.
51025
1e24cf6e
UD
510262010-11-30 Ulrich Drepper <drepper@gmail.com>
51027
51028 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51029
a7690819
AS
510302010-11-24 Andreas Schwab <schwab@redhat.com>
51031
51032 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51033 specially.
51034 (gaih_getanswer_slice): Likewise.
51035
3bf8d1b1
JJ
510362010-10-20 Jakub Jelinek <jakub@redhat.com>
51037
51038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51039
6db52fbb
PB
510402010-05-31 Petr Baudis <pasky@suse.cz>
51041
51042 [BZ #11149]
51043 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51044 silently even in the chroot mode.
51045
eaca7569
UD
510462010-11-22 Ulrich Drepper <drepper@gmail.com>
51047
51048 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51049 last patch a bit. Pretty printing
51050
3056dcdb
UD
510512010-05-31 Petr Baudis <pasky@suse.cz>
51052
51053 [BZ #10085]
51054 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51055 initialization of skip_initgroups_dyn.
51056
cf7c9078
UD
510572010-11-19 Ulrich Drepper <drepper@gmail.com>
51058
51059 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51060 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51061
a1fb5e3e
UD
510622010-11-16 Ulrich Drepper <drepper@gmail.com>
51063
51064 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51065
3540d66b
AS
510662010-11-11 Andreas Schwab <schwab@redhat.com>
51067
51068 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51069 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51070 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51071 ($(objpfx)tst-fnmatch-mem): New rule.
51072 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51073 * posix/tst-fnmatch.c (main): Call mtrace.
51074
13b69574
L
510752010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51076
51077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51078 Support Intel processor model 6 and model 0x2c.
51079
da93d214
LM
510802010-11-10 Luis Machado <luisgpm@br.ibm.com>
51081
51082 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51083 signed comparison.
51084
8ca52c6e
L
510852010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51086
51087 [BZ #12205]
51088 * string/test-strncasecmp.c (check_result): New function.
51089 (do_one_test): Use it.
51090 (check1): New function.
51091 (test_main): Use it.
51092 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51093 Support strcasecmp and strncasecmp.
51094
69da074d
UD
510952010-11-08 Ulrich Drepper <drepper@gmail.com>
51096
51097 [BZ #12194]
51098 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51099 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51100
ff02d528
L
511012010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51102
51103 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51104 IFUNC support.
51105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51106 memset-x86-64.
51107 * sysdeps/x86_64/multiarch/bzero.S: New file.
51108 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51109 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51110 * sysdeps/x86_64/multiarch/memset.S: New file.
51111 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51113 Set bit_Prefer_SSE_for_memop for Intel processors.
51114 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51115 Define.
51116 (index_Prefer_SSE_for_memop): Define.
51117 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51118
344d0b54
LM
511192010-11-04 Luis Machado <luisgpm@br.ibm.com>
51120
51121 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51122 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51123
c0dde15b
UD
511242010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51125
51126 [BZ #12191]
51127 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51128 (__x86_64_raw_data_cache_size_half): Likewise.
51129 (__x86_64_raw_shared_cache_size): Likewise.
51130 (__x86_64_raw_shared_cache_size_half): Likewise.
51131
51132 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51133 (__x86_64_raw_data_cache_size_half): Likewise.
51134 (__x86_64_raw_shared_cache_size): Likewise.
51135 (__x86_64_raw_shared_cache_size_half): Likewise.
51136 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51137 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51138 and __x86_64_raw_shared_cache_size_half. Round
51139 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51140 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51141 to multiple of 256 bytes.
51142
0e516e0e
MS
511432010-11-03 Ulrich Drepper <drepper@gmail.com>
51144
51145 [BZ #12167]
51146 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51147 of inacessible symlinks. Verify result of symlink before returning it.
51148 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51149 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51150
0e012e87
ER
511512010-10-28 Erich Ritz <erichritz@gmail.com>
51152
51153 * math/math.h (isinf): Fix typo in comment.
51154
de0ff7bc
UD
511552010-11-01 Ulrich Drepper <drepper@gmail.com>
51156
51157 * po/da.po: Update from translation team.
51158
fa41c84d
UD
511592010-10-26 Ulrich Drepper <drepper@gmail.com>
51160
51161 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51162 is added to the list.
51163
f0967738
AK
511642010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51165 Ulrich Drepper <drepper@gmail.com>
51166
51167 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51168 the global list here. Move code to...
51169 (_dl_add_to_namespace_list): ...here. New function.
51170 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51171 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51172 * elf/dl-load.c (lose): Don't remove the element from the list.
51173 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51174 (_dl_map_object): Likewise.
51175
511762010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51177
51178 [BZ #12159]
51179 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51180 into all bytes of SSE register.
51181 Patch by Richard Li <richardpku@gmail.com>.
51182
f0967738 511832010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51184
51185 [BZ #12140]
51186 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51187 perturbing.
51188
d0b9e94f
MB
511892010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51190
51191 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51192 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51193 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51194 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51196 submachine.
51197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51198
8e9f92e9
AS
511992010-10-22 Andreas Schwab <schwab@redhat.com>
51200
51201 * include/dlfcn.h (__RTLD_SECURE): Define.
51202 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51203 mode & __RTLD_SECURE instead.
51204 (open_path): Rename preloaded parameter to secure.
51205 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51206 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51207 * elf/dl-deps.c (openaux): Likewise.
51208 * elf/rtld.c (struct map_args): Remove is_preloaded.
51209 (map_doit): Don't use it.
51210 (dl_main): Likewise.
51211 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51212 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51213
bc96fbda
AS
512142010-09-09 Andreas Schwab <schwab@redhat.com>
51215
51216 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51217 (sysd-rules-targets): Remove duplicates.
51218 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51219 rtld-%.$o dependency.
51220
22cd1c9b
AS
512212010-10-18 Andreas Schwab <schwab@redhat.com>
51222
51223 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51224 _dl_map_object do it.
51225
18edac48
UD
512262010-10-19 Ulrich Drepper <drepper@gmail.com>
51227
51228 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51229 fast fma builtins, define the macros in the C99 standard.
51230 (FP_FAST_FMAF): Likewise.
51231 (FP_FAST_FMAL): Likewise.
51232 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51233
51234 * bits/mathdef.h: Update copyright year.
51235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51236
d2050124
MM
512372010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51238
51239 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51240 builtins, define the macros in the C99 standard.
51241 (FP_FAST_FMAF): Likewise.
51242 (FP_FAST_FMAL): Likewise.
51243 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51244 multiply/add.
51245 (FP_FAST_FMAF): Likewise.
51246
475facd1
JJ
512472010-10-15 Jakub Jelinek <jakub@redhat.com>
51248
51249 [BZ #3268]
51250 * math/libm-test.inc (fma_test): Some new testcases.
51251 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51252 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51253 y and infinite z. Do multiplication by C already in long double.
51254 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51256 y and infinite z. Do bitwise or of inexact bit into u.d.
51257 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51258 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51259 * sysdeps/i386/fpu/s_fma.S: Removed.
51260 * sysdeps/i386/fpu/s_fmal.S: Removed.
51261
7c08a05c
JJ
512622010-10-16 Jakub Jelinek <jakub@redhat.com>
51263
51264 [BZ #3268]
51265 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51267 computation is not scheduled after fetestexcept. Fix value
51268 of minimum denormal long double.
51269
f3f7372d
JJ
512702010-10-14 Jakub Jelinek <jakub@redhat.com>
51271
51272 [BZ #3268]
51273 * math/libm-test.inc (fma_test): Add some more tests.
51274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51275 correctly.
51276
14d43591
AS
512772010-10-15 Andreas Schwab <schwab@redhat.com>
51278
51279 * scripts/data/localplt-s390-linux-gnu.data: New file.
51280 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51281
5e908464
JJ
512822010-10-13 Jakub Jelinek <jakub@redhat.com>
51283
51284 [BZ #3268]
51285 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51286 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51287 instead of dbl-64.
51288 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51289 inlines.
51290 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51292 if one of x and y is very large and the other is subnormal.
51293 * sysdeps/s390/fpu/s_fmaf.c: New file.
51294 * sysdeps/s390/fpu/s_fma.c: New file.
51295 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51296 * sysdeps/powerpc/fpu/s_fma.S: New file.
51297 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51298 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51299 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51300
513012010-10-12 Jakub Jelinek <jakub@redhat.com>
51302
51303 [BZ #3268]
51304 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51305 fma tests.
51306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51307 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51308 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51309 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51310 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51311 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51312 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51313
b833d51f
UD
513142010-10-12 Ulrich Drepper <drepper@redhat.com>
51315
51316 [BZ #12078]
51317 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51318 * posix/bug-regex31.input: Add test case.
51319
1751705d
UD
513202010-10-11 Ulrich Drepper <drepper@gmail.com>
51321
e9b9cbf5
UD
51322 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51323 * posix/bug-regex31.input: New file.
51324
51325 [BZ #12078]
51326 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51327 (parse_sub_exp): Fix last change, use postorder.
51328
ef06edbe
UD
51329 * posix/bug-regex31.c: New file.
51330 * posix/Makefile: Add rules to build and run bug-regex31.
51331
a129c80d
UD
51332 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51333
51334 [BZ #12078]
51335 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51336
b76b818e
UD
51337 [BZ #12108]
51338 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51339 to have entries in sys_siglist.
51340
1751705d
UD
51341 [BZ #12093]
51342 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51343 be NULL.
51344
9ff8d36f
JJ
513452010-10-07 Jakub Jelinek <jakub@redhat.com>
51346
51347 [BZ #3268]
51348 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51349 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51350 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51351 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51352 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51353 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51354 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51355 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51356 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51357 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51358 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51359 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51360 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51361 * math/ftestexcept.c (fetestexcept): Likewise.
51362 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51363 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51364 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51365 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51366 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51367 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51369
af325969
UD
513702010-10-11 Ulrich Drepper <drepper@gmail.com>
51371
c579b202 51372 [BZ #12107]
af325969
UD
51373 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51374 newline.
51375
67a67b95
UD
513762010-10-06 Ulrich Drepper <drepper@gmail.com>
51377
51378 * string/bug-strstr1.c: New file.
51379 * string/Makefile: Add rules to build and run bug-strstr1.
51380
5fb308bc
EB
513812010-10-05 Eric Blake <eblake@redhat.com>
51382
51383 [BZ #12092]
51384 * string/str-two-way.h (two_way_long_needle): Always clear memory
51385 when skipping input due to the shift table.
51386
45db99c7
UD
513872010-10-03 Ulrich Drepper <drepper@gmail.com>
51388
3b111893
UD
51389 [BZ #12005]
51390 * malloc/mcheck.c: Handle large requests.
51391
45db99c7
UD
51392 [BZ #12077]
51393 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51394 for strncmp and strncasecmp.
51395 * string/stratcliff.c: Add tests for strcmp and strncmp.
51396 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51397
cf7a1eb8
NI
513982010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51399
51400 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51401 __set_fpscr.
51402
6484ba5e
AJ
514032010-09-30 Andreas Jaeger <aj@suse.de>
51404
51405 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51406 (CGROUP_SUPER_MAGIC): Define.
51407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51408 Handle btrfs and cgroup file systems.
51409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51410 Likewise.
51411
91c42559
LM
514122010-09-27 Luis Machado <luisgpm@br.ibm.com>
51413
51414 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51415 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51416
87a97932
AK
514172010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51418
51419 [BZ #12067]
51420 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51421 trying to locate the ELF header.
51422
c21cc9bc
AS
514232010-09-27 Andreas Schwab <schwab@redhat.com>
51424
51425 [BZ #11611]
51426 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51427 Mask out sign-bit copies when constructing f_fsid.
51428
315970f6
PB
514292010-09-24 Petr Baudis <pasky@suse.cz>
51430
51431 * debug/stack_chk_fail_local.c: Add missing licence exception.
51432 * debug/warning-nop.c: Likewise.
51433
1ac7a2c7
JM
514342010-09-15 Joseph Myers <joseph@codesourcery.com>
51435
51436 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51437 implementing getdents64 using getdents syscall, set d_type if
51438 __ASSUME_GETDENTS32_D_TYPE.
51439
56801c50
AS
514402010-09-16 Andreas Schwab <schwab@redhat.com>
51441
51442 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51443 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51444
dda51327
UD
514452010-09-21 Ulrich Drepper <drepper@redhat.com>
51446
51447 [BZ #12037]
51448 * posix/unistd.h: Undo change of feature selection for ftruncate from
51449 2010-01-11.
51450
8ffcee4a
UD
514512010-09-20 Ulrich Drepper <drepper@redhat.com>
51452
a545ecd9 51453 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51454 detection.
51455
e24f0a8b
AS
514562010-09-20 Andreas Schwab <schwab@redhat.com>
51457
51458 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51459 fanotify_mark.
51460 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51461
7291c56f
AS
514622010-09-14 Andreas Schwab <schwab@redhat.com>
51463
51464 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51465 variables after CHECK_SP call.
51466 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51467
bc5fb037
AS
514682010-09-13 Andreas Schwab <schwab@redhat.com>
51469 Ulrich Drepper <drepper@redhat.com>
51470
51471 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51472 re-relocationg ld.so.
51473 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51474 _dl_init_paths call.
51475 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51476 here anymore.
51477
e66e7419
UD
514782010-09-14 Ulrich Drepper <drepper@redhat.com>
51479
51480 * resolv/res_init.c (__res_vinit): Count the default server we added.
51481
c044aa75
CLT
514822010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51483 Ulrich Drepper <drepper@redhat.com>
51484
51485 [BZ #11968]
51486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51487 (____longjmp_chk): Use %ebx for saving value across system call.
51488 Add unwind info.
51489
32cf4069
AS
514902010-09-06 Andreas Schwab <schwab@redhat.com>
51491
51492 * manual/Makefile: Don't mix pattern rules with normal rules.
51493
817328ee
AS
514942010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51495
51496 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51497 operation.
51498 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51499 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51500 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51501 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51503 Likewise.
51504
29fddf61
UD
515052010-09-04 Ulrich Drepper <drepper@redhat.com>
51506
51507 [BZ #11979]
51508 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51509 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51510
0959ffc9
UD
515112010-09-02 Ulrich Drepper <drepper@redhat.com>
51512
51513 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51514 * sysdeps/x86_64/addmul_1.S: Likewise.
51515 * sysdeps/x86_64/lshift.S: Likewise.
51516 * sysdeps/x86_64/mul_1.S: Likewise.
51517 * sysdeps/x86_64/rshift.S: Likewise.
51518 * sysdeps/x86_64/sub_n.S: Likewise.
51519 * sysdeps/x86_64/submul_1.S: Likewise.
51520
ece29840
ST
515212010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51522
0959ffc9
UD
51523 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51524 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51525 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51526 * bits/sched.h [__need_schedparam]
ece29840 51527 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51528 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51529 (__defined_schedparam): Define to 1.
ece29840
ST
51530 (__sched_param): New structure, identical to sched_param.
51531 (__need_schedparam): Undefine.
51532
e53a31fe
MF
515332010-08-31 Mike Frysinger <vapier@gentoo.org>
51534
fdc0c10d
MF
51535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51536 (epoll_create1): Declare.
51537
e53a31fe
MF
51538 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51539
a726d796
AS
515402010-08-31 Andreas Schwab <schwab@redhat.com>
51541
51542 [BZ #7066]
51543 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51544 shifting retval into place.
51545
2f3e3dc7
UD
515462010-09-01 Ulrich Drepper <drepper@redhat.com>
51547
f2933da9
UD
51548 * nis/rpcsvc/nis.h: Update copyright notice.
51549 * nis/rpcsvc/nis.x: Likewise.
51550 * nis/rpcsvc/nis_callback.h: Likewise.
51551 * nis/rpcsvc/nis_callback.x: Likewise.
51552 * nis/rpcsvc/nis_object.x: Likewise.
51553 * nis/rpcsvc/nis_tags.h: Likewise.
51554 * nis/rpcsvc/yp.h: Likewise.
51555 * nis/rpcsvc/yp.x: Likewise.
51556 * nis/rpcsvc/ypupd.h: Likewise.
51557 * nis/yp_xdr.c: Likewise.
51558 * nis/ypupdate_xdr.c: Likewise.
51559
2f3e3dc7
UD
51560 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51561 mainly the body of pmap_getport. Add parameters to specify timeouts.
51562 (pmap_getport): Use __libc_rpc_getport.
51563 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51564 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51565 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51566
f3dcc2f9
AS
515672010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51568
51569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51570 fanotify_mark.
51571
6d34eb5b
RM
515722010-08-27 Roland McGrath <roland@redhat.com>
51573
51574 * sysdeps/i386/i686/multiarch/Makefile
51575 (CFLAGS-varshift.c): New variable.
51576
9ea3de11
UD
515772010-08-27 Ulrich Drepper <drepper@redhat.com>
51578
c96d23fc
UD
51579 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51580 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51581
9ea3de11
UD
51582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51583
51584 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51585
623aac7f
L
515862010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51587
51588 * sysdeps/x86_64/strlen.S: Unroll the loop.
51589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51590 strlen-sse2 strlen-sse2-bsf.
51591 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51592 __strlen_no_bsf if bit_Slow_BSF is set.
51593 (__strlen_sse42): Removed.
51594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51595 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51596
8b2b7715
RM
515972010-08-25 Roland McGrath <roland@redhat.com>
51598
51599 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51600 * sysdeps/x86_64/multiarch/varshift.c: New file.
51601 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51602 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51603 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51604 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51605
e73015f2
L
516062010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51607
51608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51609 strlen-sse2 strlen-sse2-bsf.
51610 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51611 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51612 (__strlen_sse2): Removed.
51613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51616 bit_Slow_BSF for Atom.
51617 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51618 (index_Slow_BSF): Define.
51619 (HAS_SLOW_BSF): Define.
51620
df24a73e
UD
516212010-08-25 Ulrich Drepper <drepper@redhat.com>
51622
51623 [BZ #10851]
51624 * resolv/res_init.c (__res_vinit): When no server address at all
51625 is given default to loopback.
51626
f2ac4868
RM
516272010-08-24 Roland McGrath <roland@redhat.com>
51628
09055553
RM
51629 * configure.in: Remove config-name.h generation.
51630 * configure: Regenerated.
51631 * config-name.in: File removed.
51632 * scripts/config-uname.sh: New file.
51633 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51634 ($(objdir)config-name.h): New target.
51635
f2ac4868
RM
51636 * sunrpc/rpc_parse.h: Avoid nested comment.
51637
73f27d5e
RH
516382010-08-24 Richard Henderson <rth@redhat.com>
51639 Ulrich Drepper <drepper@redhat.com>
51640 H.J. Lu <hongjiu.lu@intel.com>
51641
51642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51644 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51645 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51646 _mm_alignr_epi8 with _mm_loadu_si128.
51647 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51648 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51649 (__m128i_shift_right): Removed.
51650 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51651 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51652 * sysdeps/x86_64/multiarch/varshift.h: New file.
51653 * sysdeps/x86_64/multiarch/varshift.S: New file.
51654
84b9230c
MF
516552010-08-21 Mike Frysinger <vapier@gentoo.org>
51656
51657 * configure.in: Move assembler checks to before sysdep dir checking.
51658
9bbd0ddc
PB
516592010-08-20 Petr Baudis <pasky@suse.cz>
51660
51661 * LICENSES: Sync the sunrpc license.
51662
9da4bb31
UD
516632010-08-19 Ulrich Drepper <drepper@redhat.com>
51664
a7ab6ec8
UD
51665 * sunrpc/auth_des.c: Update copyright notice once again.
51666 * sunrpc/auth_none.c: Likewise.
51667 * sunrpc/auth_unix.c: Likewise.
51668 * sunrpc/authdes_prot.c: Likewise.
51669 * sunrpc/authuxprot.c: Likewise.
51670 * sunrpc/bindrsvprt.c: Likewise.
51671 * sunrpc/clnt_gen.c: Likewise.
51672 * sunrpc/clnt_perr.c: Likewise.
51673 * sunrpc/clnt_raw.c: Likewise.
51674 * sunrpc/clnt_simp.c: Likewise.
51675 * sunrpc/clnt_tcp.c: Likewise.
51676 * sunrpc/clnt_udp.c: Likewise.
51677 * sunrpc/clnt_unix.c: Likewise.
51678 * sunrpc/des_crypt.c: Likewise.
51679 * sunrpc/des_soft.c: Likewise.
51680 * sunrpc/get_myaddr.c: Likewise.
51681 * sunrpc/getrpcport.c: Likewise.
51682 * sunrpc/key_call.c: Likewise.
51683 * sunrpc/key_prot.c: Likewise.
51684 * sunrpc/openchild.c: Likewise.
51685 * sunrpc/pm_getmaps.c: Likewise.
51686 * sunrpc/pm_getport.c: Likewise.
51687 * sunrpc/pmap_clnt.c: Likewise.
51688 * sunrpc/pmap_prot.c: Likewise.
51689 * sunrpc/pmap_prot2.c: Likewise.
51690 * sunrpc/pmap_rmt.c: Likewise.
51691 * sunrpc/rpc/auth.h: Likewise.
51692 * sunrpc/rpc/auth_unix.h: Likewise.
51693 * sunrpc/rpc/clnt.h: Likewise.
51694 * sunrpc/rpc/des_crypt.h: Likewise.
51695 * sunrpc/rpc/key_prot.h: Likewise.
51696 * sunrpc/rpc/netdb.h: Likewise.
51697 * sunrpc/rpc/pmap_clnt.h: Likewise.
51698 * sunrpc/rpc/pmap_prot.h: Likewise.
51699 * sunrpc/rpc/pmap_rmt.h: Likewise.
51700 * sunrpc/rpc/rpc.h: Likewise.
51701 * sunrpc/rpc/rpc_des.h: Likewise.
51702 * sunrpc/rpc/rpc_msg.h: Likewise.
51703 * sunrpc/rpc/svc.h: Likewise.
51704 * sunrpc/rpc/svc_auth.h: Likewise.
51705 * sunrpc/rpc/types.h: Likewise.
51706 * sunrpc/rpc/xdr.h: Likewise.
51707 * sunrpc/rpc_clntout.c: Likewise.
51708 * sunrpc/rpc_cmsg.c: Likewise.
51709 * sunrpc/rpc_common.c: Likewise.
51710 * sunrpc/rpc_cout.c: Likewise.
51711 * sunrpc/rpc_dtable.c: Likewise.
51712 * sunrpc/rpc_hout.c: Likewise.
51713 * sunrpc/rpc_main.c: Likewise.
51714 * sunrpc/rpc_parse.c: Likewise.
51715 * sunrpc/rpc_parse.h: Likewise.
51716 * sunrpc/rpc_prot.c: Likewise.
51717 * sunrpc/rpc_sample.c: Likewise.
51718 * sunrpc/rpc_scan.c: Likewise.
51719 * sunrpc/rpc_scan.h: Likewise.
51720 * sunrpc/rpc_svcout.c: Likewise.
51721 * sunrpc/rpc_tblout.c: Likewise.
51722 * sunrpc/rpc_util.c: Likewise.
51723 * sunrpc/rpc_util.h: Likewise.
51724 * sunrpc/rpcinfo.c: Likewise.
51725 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51726 * sunrpc/rpcsvc/key_prot.x: Likewise.
51727 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51728 * sunrpc/rpcsvc/mount.x: Likewise.
51729 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51730 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51731 * sunrpc/rpcsvc/rex.x: Likewise.
51732 * sunrpc/rpcsvc/rstat.x: Likewise.
51733 * sunrpc/rpcsvc/rusers.x: Likewise.
51734 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51735 * sunrpc/rpcsvc/spray.x: Likewise.
51736 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51737 * sunrpc/rtime.c: Likewise.
51738 * sunrpc/svc.c: Likewise.
51739 * sunrpc/svc_auth.c: Likewise.
51740 * sunrpc/svc_authux.c: Likewise.
51741 * sunrpc/svc_raw.c: Likewise.
51742 * sunrpc/svc_run.c: Likewise.
51743 * sunrpc/svc_simple.c: Likewise.
51744 * sunrpc/svc_tcp.c: Likewise.
51745 * sunrpc/svc_udp.c: Likewise.
51746 * sunrpc/svc_unix.c: Likewise.
51747 * sunrpc/svcauth_des.c: Likewise.
51748 * sunrpc/xcrypt.c: Likewise.
51749 * sunrpc/xdr.c: Likewise.
51750 * sunrpc/xdr_array.c: Likewise.
51751 * sunrpc/xdr_float.c: Likewise.
51752 * sunrpc/xdr_mem.c: Likewise.
51753 * sunrpc/xdr_rec.c: Likewise.
51754 * sunrpc/xdr_ref.c: Likewise.
51755 * sunrpc/xdr_sizeof.c: Likewise.
51756 * sunrpc/xdr_stdio.c: Likewise.
51757
9da4bb31
UD
51758 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51759 handling.
51760
bdaa77bc
AS
517612010-08-19 Andreas Schwab <schwab@redhat.com>
51762
51763 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51764
fe2f79db
LM
517652010-08-19 Luis Machado <luisgpm@br.ibm.com>
51766
51767 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51769 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51770 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51771 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51772 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51773 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51774 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51777 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51778 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51779 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51780 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51781
b9b42ee0
AB
517822010-07-26 Anton Blanchard <anton@samba.org>
51783
51784 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51785 * malloc/arena.c (heap_trim): Likewise.
51786
1c06ba31
UD
517872010-08-16 Ulrich Drepper <drepper@redhat.com>
51788
51789 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51790 here. Not...
51791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51792 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51793
f8392f40
L
517942010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51795
51796 * sysdeps/i386/elf/Makefile: New file.
51797
3162f12e
AS
517982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51799
51800 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51801 from fanotify_init.
51802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51803 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51804
28c90b2c
UD
518052010-08-15 Ulrich Drepper <drepper@redhat.com>
51806
51807 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51808 of strncasecmp_l.
1feccb6c 51809 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51810
ca6bb004
UD
518112010-08-14 Ulrich Drepper <drepper@redhat.com>
51812
e9f82e0d
UD
51813 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51814 strncase_l-nonascii.
51815 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51816 Add strncase_l-ssse3.
51817 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51818 * sysdeps/x86_64/strcmp.S: Likewise.
51819 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51820 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51821 * sysdeps/x86_64/strncase.S: New file.
51822 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51823 * sysdeps/x86_64/strncase_l.S: New file.
51824 * string/Makefile (strop-tests): Add strncasecmp.
51825 * string/test-strncasecmp.c: New file.
51826
51827 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51828 warning.
51829
ca6bb004
UD
51830 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51831 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51832
052fa7b3
AS
518332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51834
51835 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51836
962dba78
UD
518372010-08-12 Ulrich Drepper <drepper@redhat.com>
51838
51839 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51840 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51841 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51842
bebff237
AM
518432010-05-01 Alan Modra <amodra@gmail.com>
51844
51845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51846 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51847 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51848 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51849 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51850 tidying. Don't tail-call __sigjmp_save for static lib.
51851 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51852 save location.
51853 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51854 (CALL_MCOUNT): Add eh info, and nop after bl.
51855 (TAIL_CALL_SYSCALL_ERROR): New macro.
51856 (PSEUDO_RET): Use it.
51857 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51858 Correct save location of integer regs and cr.
51859 (_dl_profile_resolve): Correct cr save location. Delete nops
51860 after bl when SHARED. Reduce cfi size a little by better
51861 placement of cfi directives.
51862 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51863 make a stack frame. Instead use parm save area as a temp.
51864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51865 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51867 Don't make a stack frame for parent, use parm save area.
51868 Increase child stack frame to 112 bytes. Don't save unused reg,
51869 and adjust reg usage. Set up cfi on error recovery and
51870 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51872 (__makecontext): Add dummy nop after jump to exit.
51873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51874 Use correct parm save area and cr save, reduce stack frame.
51875 Correct cfi for possible PSEUDO_RET frame setup.
51876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51877 Branch to local label emitted by PSEUDO_RET rather than
51878 __syscall_error.
51879
02637374
AS
518802010-08-12 Andreas Schwab <schwab@redhat.com>
51881
51882 [BZ #11904]
51883 * locale/programs/locale.c (print_assignment): New function.
51884 (show_locale_vars): Use it.
51885
c3e2f19b
UD
518862010-08-11 Ulrich Drepper <drepper@redhat.com>
51887
3cdaa6ad
UD
51888 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51889 field.
51890 (struct statfs64): Likewise.
51891 (_STATFS_F_FLAGS): Define.
51892 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51893 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51894 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51895 (ST_VALID): Define locally.
51896 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51897 __statvfs_getflags, use the provided value.
51898 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51899 __ASSUME_STATFS_F_FLAGS.
51900
754f7da3
UD
51901 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51902
10b3bedc
UD
51903 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51904 Add sys/fanotify.h.
51905 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51906 fanotify_mask for GLIBC_2.13.
51907 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51908 fanotify_init and fanotify_mark.
51909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51910 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51911
c08fb0d7
UD
51912 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51913 Add prlimit.
51914 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51915 prlimit64 for GLIBC_2.13.
51916 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51917 prlimit64.
51918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51919 syscall.
51920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51921 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51922 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51923 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51925 add prlimit alias.
51926 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51927
15bac72b
UD
51928 [BZ #11903]
51929 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51930 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51931
c3e2f19b
UD
51932 * nss/Makefile: Add rules to build and run tst-nss-test1.
51933 * shlib-versions: Add entry for libnss_test1.
51934 * nss/nss_test1.c: New file.
51935 * nss/tst-nss-test1.c: New file.
51936
51937 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51938 (__nss_configure_lookup): Set appropriate entry in
51939 __nss_configure_lookup to true.
51940 * nss/nsswitch.h: Define enum with indeces of databases in
51941 databases and __nss_database_custom arrays. Declare
51942 __nss_database_custom.
51943 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51944 to avoid using nscd when custom rules are installed.
51945 * nss/getXXbyYY_r.c: Likewise.
51946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51947
51948 * nss/nss_files/files-parse.c: Whitespace fixes.
51949
f15ce4d8
UD
519502010-08-09 Ulrich Drepper <drepper@redhat.com>
51951
51952 [BZ #11883]
51953 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51954 * posix/fnmatch_loop.c: Likewise.
51955
d22e4cc9
AK
519562010-07-17 Andi Kleen <ak@linux.intel.com>
51957
51958 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51959 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51960 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51961 * Versions.def [GLIBC_2.13]: Add.
51962
805bc17d
UD
519632010-08-06 Ulrich Drepper <drepper@redhat.com>
51964
51965 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51966 Also fail if tpwd after pwuid call is NULL.
51967
5a42321d
ST
519682010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51969
51970 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51971 when converting to ms.
51972
fd3ebeda
ST
519732010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51974
51975 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51976 EOPNOTSUPP errors with ENOTTY.
51977 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51978 EOPNOTSUPP errors with ENOTTY.
51979
73507d3a
UD
519802010-07-31 Ulrich Drepper <drepper@redhat.com>
51981
51982 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51983 Add strcasecmp_l-ssse3.
51984 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51985 strcasecmp.
51986 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51987 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51988 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51989
fe36dd02
UD
519902010-07-30 Ulrich Drepper <drepper@redhat.com>
51991
66f6765a
UD
51992 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51993
42e08a54
UD
51994 * string/Makefile (strop-tests): Add strcasecmp.
51995 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51996 strcasecmp_l-nonascii.
51997 (gen-as-const-headers): Add locale-defines.sym.
51998 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51999 * sysdeps/x86_64/strcasecmp.S: New file.
52000 * sysdeps/x86_64/strcasecmp_l.S: New file.
52001 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52002 * sysdeps/x86_64/locale-defines.sym: New file.
52003 * string/test-strcasecmp.c: New file.
52004
fe36dd02
UD
52005 * string/test-strcasestr.c: Test both ends of the range of characters.
52006 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52007
48cbc0d6
RM
520082010-07-29 Roland McGrath <roland@redhat.com>
52009
76e6d6bc 52010 [BZ #11856]
48cbc0d6
RM
52011 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52012
880113d9
UD
520132010-07-27 Ulrich Drepper <drepper@redhat.com>
52014
52015 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52016 for ld.so.
52017
deb9cabb
AS
520182010-07-27 Andreas Schwab <schwab@redhat.com>
52019
52020 * manual/memory.texi (Malloc Tunable Parameters): Document
52021 M_PERTURB.
52022
1c7570ff
RM
520232010-07-26 Roland McGrath <roland@redhat.com>
52024
52025 [BZ #11840]
52026 * configure.in (-fgnu89-inline check): Set and substitute
52027 gnu89_inline, not libc_cv_gnu89_inline.
52028 * configure: Regenerated.
52029 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52030
24fb0f88
UD
520312010-07-26 Ulrich Drepper <drepper@redhat.com>
52032
52033 * string/test-strnlen.c: New file.
52034 * string/Makefile (strop-tests): Add strnlen.
52035 * string/tester.c (test_strnlen): Add a few more test cases.
52036 * string/tst-strlen.c: Better error reporting.
52037
52038 * sysdeps/x86_64/strnlen.S: New file.
52039
8e96b93a
UD
520402010-07-24 Ulrich Drepper <drepper@redhat.com>
52041
52042 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52043 lower-latency instructions.
52044
dbc676d4
UD
520452010-07-23 Ulrich Drepper <drepper@redhat.com>
52046
52047 * string/test-strcasestr.c: New file.
52048 * string/test-strstr.c: New file.
52049 * string/Makefile (strop-tests): Add strstr and strcasestr.
52050 * string/str-two-way.h: Don't undefine MAX.
52051 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52052
f6a31e0e
AS
520532010-07-21 Andreas Schwab <schwab@redhat.com>
52054
52055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52056 strcasestr-nonascii.
52057 (CFLAGS-strcasestr-nonascii.c): Define.
52058 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52060 Remove unused attribute.
52061
5dbc3b6c
RM
520622010-07-20 Roland McGrath <roland@redhat.com>
52063
52064 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52065 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52066 ld.so.cache was broken. With it, there is no way to disable dsocaps
52067 like LD_HWCAP_MASK can disable hwcaps.
52068
23d101d8
EPM
520692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52070
52071 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52072
cc9f2e47
UD
520732010-07-16 Ulrich Drepper <drepper@redhat.com>
52074
52075 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52076 call in strcasestr.
52077 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52078 __strcasestr_sse42_nonascii.
52079 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52080 strcasestr-nonascii.c.
52081 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52082
77c1b069
LM
520832010-06-15 Luis Machado <luisgpm@br.ibm.com>
52084
52085 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52087 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52088 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52089
440566c3
UD
520902010-07-09 Ulrich Drepper <drepper@redhat.com>
52091
52092 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52093 fcntl.
52094
5be9d05d
AS
520952010-07-06 Andreas Schwab <schwab@redhat.com>
52096
c30b7ee2 52097 [BZ #11577]
5be9d05d
AS
52098 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52099 dl_signal_cerror.
52100
8a492a67
UD
521012010-07-06 Ulrich Drepper <drepper@redhat.com>
52102
52103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52104 _PC_PIPE_BUF using F_GETPIPE_SZ.
52105
713df3d5
RM
521062010-07-05 Roland McGrath <roland@redhat.com>
52107
52108 * manual/arith.texi (Rounding Functions): Fix rint description
52109 implicit in round description.
52110
702e8f14
UD
521112010-07-02 Ulrich Drepper <drepper@redhat.com>
52112
52113 * elf/Makefile: Fix linking for a few tests to make recent linker
52114 happy.
52115
52ed8be9
AS
521162010-06-30 Andreas Schwab <schwab@redhat.com>
52117
52118 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52119 $(common-objpfx)libc_nonshared.a.
52120
f47c9a11
LM
521212010-06-21 Luis Machado <luisgpm@br.ibm.com>
52122
52123 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52124 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52125 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52126 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52127 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52128 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52129 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52130 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52145 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52146 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52147 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52148 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52149 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52150 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52151 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52152 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52153 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52154 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52155 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52156 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52171
6fb8cbcb
L
521722010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52173
52174 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52175 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52176 * string/memmove.c (memmove): Renamed to ...
52177 (MEMMOVE): ...this. Default to memmove.
52178 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52179 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52180 (END_CHK): Define.
52181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52182 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52183 mempcpy-ssse3-back memmove-ssse3-back.
52184 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52186 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52187 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52188 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52189 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52190 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52191 * sysdeps/x86_64/multiarch/memmove.c: New file.
52192 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52193 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52194 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52195 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52196 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52198 Define.
52199 (index_Fast_Copy_Backward): Define.
52200 (HAS_ARCH_FEATURE): Define.
52201 (HAS_FAST_REP_STRING): Define.
52202 (HAS_FAST_COPY_BACKWARD): Define.
52203
4e733bac 522042010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52205
52206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52207 Restore proper fallback handling.
52208
63c4ed22
UD
522092010-06-19 Ulrich Drepper <drepper@redhat.com>
52210
ac2b484c
UD
52211 [BZ #11701]
52212 * posix/group_member.c (__group_member): Correct checking loop.
52213
63c4ed22
UD
52214 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52215 OOM in getpwuid_r correctly. Return error number when the caller
52216 should return, otherwise -1.
52217 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52218 call returning > 0 value.
52219 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52220
765ade4b
AS
522212010-06-07 Andreas Schwab <schwab@redhat.com>
52222
52223 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52224 libc_nonshared.a from targets in modules-names.
52225
80da2e09
KS
522262010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52227
52228 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52229 requires it.
52230
158db122
LM
522312010-06-10 Luis Machado <luisgpm@br.ibm.com>
52232
52233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52234 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52235 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52236 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52237
caa78cf8
AS
522382010-06-02 Andreas Schwab <schwab@redhat.com>
52239
52240 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52241
b2ef2c01
UD
522422010-06-14 Ulrich Drepper <drepper@redhat.com>
52243
52244 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52245 and F_GETPIPE_SZ.
52246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52252
fbd643b6
RM
522532010-06-14 Roland McGrath <roland@redhat.com>
52254
52255 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52256
f32f2869
JJ
522572010-06-07 Jakub Jelinek <jakub@redhat.com>
52258
52259 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52260 __REDIRECT followed by __THROW.
52261 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52262 * posix/getopt.h (getopt): Likewise.
52263
2a50c078
EPM
522642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52265
52266 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52267 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52268 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52269 in AT_FLAGS.
52270 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52271 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52272
eb5ad2eb
LM
522732010-05-28 Luis Machado <luisgpm@br.ibm.com>
52274
52275 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52276
3c88fe1e
L
522772010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52278
52279 [BZ #11640]
52280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52281 Properly check family and model.
52282
d2f73151
TY
522832010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52284
52285 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52286
ebd2e13d
LM
522872010-05-24 Luis Machado <luisgpm@br.ibm.com>
52288
52289 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52290
b32b8b45
UD
522912010-05-21 Ulrich Drepper <drepper@redhat.com>
52292
52293 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52294 symbol reference.
52295
9acbe24d
AS
522962010-05-19 Andreas Schwab <schwab@redhat.com>
52297
52298 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52299 symbol reference.
52300
f0ccf6ea
AS
523012010-05-21 Andreas Schwab <schwab@redhat.com>
52302
3d04ff3a
AS
52303 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52304 and internal_recvmmsg.
52305 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52306 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52307 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52308 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52309
f0ccf6ea
AS
52310 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52311 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52312 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52313
5b08ac57
AS
523142010-05-20 Andreas Schwab <schwab@redhat.com>
52315
52316 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52317
4828935d
LM
523182010-05-17 Luis Machado <luisgpm@br.ibm.com>
52319
52320 POWER7 optimizations.
52321 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52322 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52323
373d545e
UD
523242010-05-19 Ulrich Drepper <drepper@redhat.com>
52325
52326 * version.h: Update for 2.13 development version.
52327
21a2b1ae
AS
523282010-05-12 Andrew Stubbs <ams@codesourcery.com>
52329
52330 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52331 exceptions. Return 0.
52332
3f7dcb2b
RM
523332010-05-07 Roland McGrath <roland@redhat.com>
52334
52335 * elf/ldconfig.c (main): Add a const.
52336
5f24d53a 523372010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52338
a160f8d8
UD
52339 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52340 (args_options): Add no-idn option.
52341 (ahosts_keys_int): Add idn_flags to ai_flags.
52342 (parse_option): Handle 'i' option to clear idn_flags.
52343
5f24d53a
UD
52344 * malloc/malloc.c (_int_free): Possible race in the most recently
52345 added check. Only act on the data if no current modification
52346 happened.
265bb1ce
UD
52347
52348See ChangeLog.17 for earlier changes.