]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: Avoid init-first.c miscompilation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5aa3a74a
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
18bad2ae
TS
3 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4 __builtin_frame_address instead of making assumptions about the
5 location of the return address relative to DATA. Force early load of
6 the return address.
7 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8 __builtin_frame_address.
9
5aa3a74a
TS
10 dup3 for GNU Hurd.
11 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13 implement dup3 and do some further code clean-ups.
14 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16
ecd0de9a
ST
172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18
cd9fa985
ST
19 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20
802ca5a5
ST
21 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26 d->port.lock.
27
ecd0de9a
ST
28 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30 when handler == SIG_ERR, not when handler != SIG_ERR.
31
bcf55240
TS
322012-05-10 Thomas Schwinge <thomas@schwinge.name>
33
6960eb42
TS
34 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36 definitions.
37
eb43375f
TS
38 accept4 for GNU Hurd.
39 * include/sys/socket.h (__libc_accept4): New prototype.
40 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41 to implement __libc_accept4.
42 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43 __libc_accept4.
44 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45
bcf55240
TS
46 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49 signal-defines.sym.
50
6178c55b
ST
512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52
53 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
54
6f080c2f
TS
552012-05-10 Thomas Schwinge <thomas@schwinge.name>
56
57 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58 assertion on O_CLOEXEC flag.
59 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60 * hurd/intern-fd.c: Likewise.
61 * hurd/port2fd.c: Likewise.
62
bcfe3a54
ST
632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64
65 [BZ #3906]
66 * bits/in.h (IPV6_PKTINFO): Define new macro.
67 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68
89c9aa49
AZ
692012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70
71 [BZ #13954]
72 [BZ #13955]
73 [BZ #13956]
74 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80 * math/libm-test.inc (logb_test) : Additional logb tests.
81
021db4be
AJ
822012-05-09 Andreas Schwab <schwab@linux-m68k.org>
83 Andreas Jaeger <aj@suse.de>
84
85 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
86 * configure: Regenerated.
87 * config.h.in (LINK_OBSOLETE_RPC): New macro.
88 * config.make.in (link-obsolete-rpc): New substituted variable.
89 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
90 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
91 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
92 (shared-only-routines): Don't set it under [link-obsolete-rpc],
93 so that libc.a contains the symbols.
94 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
95 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
96 * sunrpc/auth_none.c: Likewise.
97 * sunrpc/auth_unix.c: Likewise.
98 * sunrpc/authdes_prot.c: Likewise.
99 * sunrpc/authuxprot.c: Likewise.
100 * sunrpc/clnt_gen.c: Likewise.
101 * sunrpc/clnt_perr.c: Likewise.
102 * sunrpc/clnt_raw.c: Likewise.
103 * sunrpc/clnt_simp.c: Likewise.
104 * sunrpc/clnt_tcp.c: Likewise.
105 * sunrpc/clnt_udp.c: Likewise.
106 * sunrpc/clnt_unix.c: Likewise.
107 * sunrpc/des_crypt.c: Likewise.
108 * sunrpc/des_soft.c: Likewise.
109 * sunrpc/get_myaddr.c: Likewise.
110 * sunrpc/key_call.c: Likewise.
111 * sunrpc/key_prot.c: Likewise.
112 * sunrpc/netname.c: Likewise.
113 * sunrpc/pm_getmaps.c: Likewise.
114 * sunrpc/pm_getport.c: Likewise.
115 * sunrpc/pmap_clnt.c: Likewise.
116 * sunrpc/pmap_prot.c: Likewise.
117 * sunrpc/pmap_prot2.c: Likewise.
118 * sunrpc/pmap_rmt.c: Likewise.
119 * sunrpc/publickey.c: Likewise.
120 * sunrpc/rpc_cmsg.c: Likewise.
121 * sunrpc/rpc_common.c: Likewise.
122 * sunrpc/rpc_dtable.c: Likewise.
123 * sunrpc/rpc_prot.c: Likewise.
124 * sunrpc/rpc_thread.c: Likewise.
125 * sunrpc/rtime.c: Likewise.
126 * sunrpc/svc.c: Likewise.
127 * sunrpc/svc_auth.c: Likewise.
128 * sunrpc/svc_raw.c: Likewise.
129 * sunrpc/svc_run.c: Likewise.
130 * sunrpc/svc_tcp.c: Likewise.
131 * sunrpc/svc_udp.c: Likewise.
132 * sunrpc/svc_unix.c: Likewise.
133 * sunrpc/svcauth_des.c: Likewise.
134 * sunrpc/xcrypt.c: Likewise.
135 * sunrpc/xdr.c: Likewise.
136 * sunrpc/xdr_array.c: Likewise.
137 * sunrpc/xdr_float.c: Likewise.
138 * sunrpc/xdr_intXX_t.c: Likewise.
139 * sunrpc/xdr_mem.c: Likewise.
140 * sunrpc/xdr_rec.c: Likewise.
141 * sunrpc/xdr_ref.c: Likewise.
142 * sunrpc/xdr_sizeof.c: Likewise.
143 * sunrpc/xdr_stdio.c: Likewise.
144
b5c086a2
RM
1452012-05-10 Roland McGrath <roland@hack.frob.com>
146
147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
148 change. Update copyright years.
149
6d74dd09
JM
1502012-05-10 Joseph Myers <joseph@codesourcery.com>
151
152 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
153
28e72501
MK
1542012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
155 Joseph Myers <joseph@codesourcery.com>
156 Paul Pluzhnikov <ppluzhnikov@google.com>
157
158 [BZ #14012]
159 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
160 requiring rpcgen.
161 [cross-compiling] (extra-libs): Likewise.
162 [cross-compiling] (extra-libs-others): Likewise.
163 [cross-compiling] (librpcsvc-routines): Likewise.
164 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
165 [cross-compiling] (omit-deps): Likewise.
166 (sunrpc-CPPFLAGS): New variable.
167 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
168 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
169 (cross-rpcgen-objs): New variable.
170 (extra-objs): Append $(cross-rpcgen-objs).
171 ($(cross-rpcgen-objs)): New rule.
172 ($(objpfx)cross-rpcgen): Likewise.
173 (rpcgen-cmd): Define to use $(built-program-file). Expand
174 comment.
175 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
176 ($(objpfx)x%.stmp): Likewise.
177 * sunrpc/proto.h [IS_IN_build] (_): Define.
178 [IS_IN_build] (_libc_intl_domainname): Likewise.
179
c8c59454
L
1802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
181
182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
183 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
184 and R_X86_64_TPOFF64.
185
6f27cd16
JM
1862012-05-10 Joseph Myers <joseph@codesourcery.com>
187
188 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
189 sysdeps/unix/sysv/syscalls.list.
190 (stime): Likewise.
191 (utime): Likewise.
192 * sysdeps/unix/sysv/syscalls.list: Remove file.
193
02467e1c
PE
1942012-05-10 Paul Eggert <eggert@cs.ucla.edu>
195
196 [BZ #3440]
197 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
198 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
199 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
200 (__LC_IDENTIFICATION): Make these macros useful in #if
201 expressions, as required by C99.
202
da392631
AS
2032012-05-10 Andreas Schwab <schwab@linux-m68k.org>
204
205 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
206 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
207 after this.
208
8115f29b
L
2092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
210
211 * stdlib/longlong.h: Updated from GCC.
212
bdd74070
AJ
2132012-05-09 Andreas Jaeger <aj@suse.de>
214
edfe0dbe
AJ
215 * nscd/nscd.c (run_modes): Make named enum, reorder so that
216 default is first entry.
217 (run_mode): Set type.
218 (main): Remove informal message about syslog.
219 (options): Fix typo.
220
bcfe3a54
ST
221 [BZ #14053]
222 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 223 to asm.
bcfe3a54
ST
224 (lrint): Likewise.
225 (llrintf): Likewise.
226 (llrint): Likewise.
227 (rint): Likewise.
228 (rintf): Likewise.
229 (nearbyint): Likewise.
230 (nearbyintf): Likewise.
bdd74070 231
91d8d69e
AJ
2322012-05-09 Andreas Jaeger <aj@suse.de>
233 Pedro Alves <palves@redhat.com>
234
235 * nscd/nscd.c (run_mode): Use enum.
236 (main): Cleanup coding style issue.
237
bb90b80b
AJ
2382012-05-09 Alexandre Oliva <aoliva@redhat.com>
239 Andreas Jaeger <aj@suse.de>
240
bcfe3a54
ST
241 * nscd/nscd.c (go_background): Replaced with...
242 (run_mode): ... this.
bb90b80b 243 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
244 (options): Add -F --foreground.
245 (main): Implement it.
246 (parse_opt): Parse it.
bb90b80b 247
1a4b75a1
AJ
2482012-05-09 Andreas Jaeger <aj@suse.de>
249
250 [BZ #14083]
251 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
252 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
253 -Wconversion warning.
254 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
255 Likewise.
256
b1cc2472
JM
2572012-05-09 Joseph Myers <joseph@codesourcery.com>
258
259 * conform/data/locale.h-data (NULL): Use macro-constant. Require
260 == 0.
261 (LC_ALL): Use macro-int-constant.
262 (LC_COLLATE): Likewise.
263 (LC_CTYPE): Likewise.
264 (LC_MESSAGES): Likewise.
265 (LC_MONETARY): Likewise.
266 (LC_NUMERIC): Likewise.
267 (LC_TIME): Likewise.
268 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
269 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
271 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
272 Specify type.
273 [C99-based standards] (float_t): Expect type.
274 [C99-based standards] (double_t): Expect type.
275 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
276 type.
277 [C99-based standards] (HUGE_VALL): Likewise.
278 [C99-based standards] (INFINITY): Likewise.
279 [C99-based standards] (NAN): Likewise.
280 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
281 [C99-based standards] (FP_NAN): Likewise.
282 [C99-based standards] (FP_NORMAL): Likewise.
283 [C99-based standards] (FP_SUBNORMAL): Likewise.
284 [C99-based standards] (FP_ZERO): Likewise.
285 [C99-based standards] (FP_FAST_FMA): Use
286 optional-macro-int-constant. Specify type. Require == 1.
287 [C99-based standards] (FP_FAST_FMAF): Likewise.
288 [C99-based standards] (FP_FAST_FMAL): Likewise.
289 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
290 [C99-based standards] (FP_ILOGBNAN): Likewise.
291 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
292 Specify type.
293 [C99-based standards] (MATH_ERREXCEPT): Likewise.
294 [C99-based standards] (math_errhandling): Specify type.
295 [ISO99 || ISO11] (signgam): Do not allow.
296 [non-C99-based standards] (copysignf): Do not allow.
297 [non-C99-based standards] (exp2f): Likewise.
298 [non-C99-based standards] (log2f): Likewise.
299 [non-C99-based standards] (modff): Allow.
300 [non-C99-based standards] (erff): Do not allow.
301 [non-C99-based standards] (erfcf): Likewise.
302 [non-C99-based standards] (gammaf): Likewise.
303 [non-C99-based standards] (hypotf): Likewise.
304 [non-C99-based standards] (j0f): Likewise.
305 [non-C99-based standards] (j1f): Likewise.
306 [non-C99-based standards] (jnf): Likewise.
307 [non-C99-based standards] (lgammaf): Likewise.
308 [non-C99-based standards] (tgammaf): Likewise.
309 [non-C99-based standards] (y0f): Likewise.
310 [non-C99-based standards] (y1f): Likewise.
311 [non-C99-based standards] (ynf): Likewise.
312 [non-C99-based standards] (isnanf): Likewise.
313 [non-C99-based standards] (acoshf): Likewise.
314 [non-C99-based standards] (asinhf): Likewise.
315 [non-C99-based standards] (atanhf): Likewise.
316 [non-C99-based standards] (cbrtf): Likewise.
317 [non-C99-based standards] (expm1f): Likewise.
318 [non-C99-based standards] (ilogbf): Likewise.
319 [non-C99-based standards] (log1pf): Likewise.
320 [non-C99-based standards] (logbf): Likewise.
321 [non-C99-based standards] (nextafterf): Likewise.
322 [non-C99-based standards] (remainderf): Likewise.
323 [non-C99-based standards] (rintf): Likewise.
324 [non-C99-based standards] (scalbf): Likewise.
325 [non-C99-based standards] (copysignl): Likewise.
326 [non-C99-based standards] (exp2l): Likewise.
327 [non-C99-based standards] (log2l): Likewise.
328 [non-C99-based standards] (modfl): Allow.
329 [non-C99-based standards] (erfl): Do not allow.
330 [non-C99-based standards] (erfcl): Likewise.
331 [non-C99-based standards] (gammal): Likewise.
332 [non-C99-based standards] (hypotl): Likewise.
333 [non-C99-based standards] (j0l): Likewise.
334 [non-C99-based standards] (j1l): Likewise.
335 [non-C99-based standards] (jnl): Likewise.
336 [non-C99-based standards] (lgammal): Likewise.
337 [non-C99-based standards] (tgammal): Likewise.
338 [non-C99-based standards] (y0l): Likewise.
339 [non-C99-based standards] (y1l): Likewise.
340 [non-C99-based standards] (ynl): Likewise.
341 [non-C99-based standards] (isnanl): Likewise.
342 [non-C99-based standards] (acoshl): Likewise.
343 [non-C99-based standards] (asinhl): Likewise.
344 [non-C99-based standards] (atanhl): Likewise.
345 [non-C99-based standards] (cbrtl): Likewise.
346 [non-C99-based standards] (expm1l): Likewise.
347 [non-C99-based standards] (ilogbl): Likewise.
348 [non-C99-based standards] (log1pl): Likewise.
349 [non-C99-based standards] (logbl): Likewise.
350 [non-C99-based standards] (nextafterl): Likewise.
351 [non-C99-based standards] (remainderl): Likewise.
352 [non-C99-based standards] (rintl): Likewise.
353 [non-C99-based standards] (scalbl): Likewise.
354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
355 [non-C99-based standards] (FP_*): Do not allow.
356 [C99-based standards] (FP_*): Change to
357 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
358 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
359 allow.
360 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
361 (SIG_ERR): Likewise.
362 [X/Open-based standards] (SIG_HOLD): Likewise.
363 (SIG_IGN): Likewise.
364 (SIGABRT): Use macro-int-constant. Specify type. Require
365 positive value.
366 (SIGFPE): Likewise.
367 (SIGILL): Likewise.
368 (SIGINT): Likewise.
369 (SIGSEGV): Likewise.
370 (SIGTER): Likewise.
371 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
372 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
373 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
374 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
375 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
376 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
377 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
378 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
379 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
380 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
381 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
382 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
383 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
384 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
385 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
386 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
387 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
388 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
389 [X/Open-based standards] (SIGTRAP): Likewise.
390 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
391 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
392 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
393 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
394 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
395 allow.
396
b9f1922d
IW
3972012-05-08 Ian Wienand <ianw@vmware.com>
398
399 [BZ #14080]
400 * time/tzset.c (__tzset_parse_tz): Update default rules for
401 daylight time changes in the Energy Policy Act of 2005.
402
1db86e88
AJ
4032012-05-09 Andreas Jaeger <aj@suse.de>
404
405 [BZ #13983]
406 * elf/ldconfig.c (parse_conf): Change string to make clear that
407 ldconfig only issued a warning if ld.so.conf does not exist.
408
dee4a4e3
DM
4092012-05-08 David S. Miller <davem@davemloft.net>
410
ee0db190
DM
411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
412 movxtod instead of popping the value on the stack.
413
dee4a4e3
DM
414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
415
6a43ec98
CD
4162012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
417
418 * config.h.in: Add HAVE_ARM_PCS_VFP.
419
05c2c961
RMG
4202012-05-08 Roland Mc Grath <roland@hack.frob.com>
421
bcfe3a54
ST
422 [BZ #13979]
423 * include/features.h: Warn if user requests __FORTIFY_SOURCE
424 checking but the checks are disabled for any reason.
05c2c961 425
4b30f61a
L
4262012-05-08 H.J. Lu <hongjiu.lu@intel.com>
427
428 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
429 and ELF64_R_TYPE with ELFW(R_TYPE).
430
eee2bc67
JM
4312012-05-08 Joseph Myers <joseph@codesourcery.com>
432
7ea5391a
JM
433 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
434 (ulimit): Likewise.
435
eee2bc67
JM
436 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
437 (settimeofday): Likewise.
438
abb66a67
MF
4392012-05-08 Mike Frysinger <vapier@gentoo.org>
440
441 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
442 a struct th_u2 inside the union, and move tu_block/tu_code into
443 a new th_u3 union of tu_block/tu_code inside of that. Move
444 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
445 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
446 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
447 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
448 (th_stuff): Change to th_u1.tu_stuff.
449 (th_data): Define.
450 (th_msg): Change to th_u1.th_u2.tu_data.
451
7f18b530
DM
4522012-05-07 David S. Miller <davem@davemloft.net>
453
05760585
DM
454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
455
7f18b530
DM
456 [BZ #14074]
457 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
458 (SETUP_PIC_REG): Use it.
459 (SETUP_PIC_REG_LEAF): Use it.
460
495fd99f
JM
4612012-05-07 Joseph Myers <joseph@codesourcery.com>
462
463 [BZ #13885]
464 [BZ #13923]
465 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
466 USE_AS_EXPM1L.
467 (EXPL_FINITE): Likewise.
468 (FLDLOG): Likewise.
469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
470 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
471 e_expl.S.
472 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
473 USE_AS_EXPM1L.
474 (EXPL_FINITE): Likewise.
475 (FLDLOG): Likewise.
476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
477 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
478 e_expl.S.
479 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
480 test of -max_value argument for long double.
481 * sysdeps/i386/fpu/libm-test-ulps: Update.
482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483
6693d694
DM
4842012-05-06 David S. Miller <davem@davemloft.net>
485
486 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
487 quad soft-float symbols whose references which are compiler
488 generated.
489 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
490
6c23e11c
JM
4912012-05-06 Joseph Myers <joseph@codesourcery.com>
492
d8b82cad
JM
493 [BZ #13884]
494 [BZ #13914]
495 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
496 USE_AS_EXP10L.
497 (EXPL_FINITE): Likewise.
498 (FLDLOG): Likewise.
499 (c0): Likewise.
500 (c1): Likewise.
501 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
502 Adjust comments for base varying.
503 (__expl_finite): Change alias to EXPL_FINITE.
504 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
505 e_expl.S.
506 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
507 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
508 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
509 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
510 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
511 USE_AS_EXP10L.
512 (EXPL_FINITE): Likewise.
513 (FLDLOG): Likewise.
514 (c0): Likewise.
515 (c1): Likewise.
516 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
517 Adjust comments for base varying.
518 (__expl_finite): Change alias to EXPL_FINITE.
519 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
520 tests for bugs.
521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
522
6c23e11c
JM
523 [BZ #14064]
524 * math/libm-test.inc (check_float_internal): Correct ulp
525 calculation for subnormal expected results.
526
29ba805c
AJ
5272012-05-06 Andreas Jaeger <aj@suse.de>
528
529 * Makeconfig (+math-flags): New, set to -frounding-math.
530 (+cflags): Add +math-flags so that all of glibc gets compiled with
531 it.
532
533 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
534
7b17aeda
JM
5352012-05-05 Joseph Myers <joseph@codesourcery.com>
536
5779f134
JM
537 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
538 Disable one test.
539
41498f4d
JM
540 [BZ #13787]
541 [BZ #13922]
542 [BZ #14036]
543 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
544 (__ieee754_expl): Allow for and saturate large arguments.
545 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
546 (u_threshold): Likewise.
547 (__exp): Call __ieee754_exp before checking for overflow and
548 underflow.
549 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
550 (u_threshold): Likewise.
551 (__expf): Call __ieee754_expf before checking for overflow and
552 underflow.
553 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
554 (u_threshold): Likewise.
555 (__expl): Call __ieee754_expl before checking for overflow and
556 underflow.
557 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
558 (__ieee754_expl): Allow for and saturate large arguments.
559 * math/libm-test.inc (exp_test): Add another test. Do not allow
560 missing overflow exception on overflow.
561 (expm1_test): Do not allow missing overflow exception on overflow.
562
6698b8bf
JM
563 * sysdeps/i386/fpu/e_expl.c: Move to ...
564 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
565 rather than using inline asm.
566 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
567 * sysdeps/x86_64/fpu/e_expl.S: Copy from
568 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
569
7b17aeda
JM
570 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
571 (nice): Likewise.
572 (poll): Likewise.
573 (signal): Likewise.
574 (time): Likewise.
575 (times): Likewise.
576
f7c85819
JM
5772012-05-04 Joseph Myers <joseph@codesourcery.com>
578
579 * sysdeps/unix/syscalls.list (adjtime): Add entry from
580 sysdeps/unix/common/syscalls.list.
581 (fchmod): Likewise.
582 (fchown): Likewise.
583 (ftruncate): Likewise.
584 (getrusage): Likewise.
585 (gettimeofday): Likewise.
586 (setpgid): Likewise.
587 (setregid): Likewise.
588 (setreuid): Likewise.
589 (sigaction): Likewise.
590 (truncate): Likewise.
591 (vhangup): Likewise.
592 * sysdeps/unix/common/syscalls.list: Remove file.
593 * sysdeps/unix/bsd/Implies: Don't include unix/common.
594 * sysdeps/unix/sysv/linux/Implies: Likewise.
595
336270d0
L
5962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
597
598 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
600 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
601 Moved to ...
602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
603 Here.
604 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
605 to ...
606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
607 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
608 to ...
609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
610 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
611 to ...
612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
613 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
614 to ...
615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
616 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
617 to ...
618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
619 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
620 to ...
621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
622 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
623 to ...
624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
625 Here.
626 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
627 to ...
628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
629 Here.
630 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
631 to ...
632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
633 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
634 Moved to ...
635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
636 Here.
637 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
638 to ...
639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
640
d128e450
JM
6412012-05-04 Joseph Myers <joseph@codesourcery.com>
642
fa8ee516
JM
643 * sysdeps/unix/common/bits/dirent.h: Remove file.
644 * sysdeps/unix/common/bits/fcntl.h: Likewise.
645
d128e450
JM
646 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
647 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
648 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
649 * sysdeps/unix/bsd/isatty.c: Likewise.
650 * sysdeps/unix/bsd/tcdrain.c: Likewise.
651 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
652 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
653
ff8faaf0 6542012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 655
62881be4 656 [BZ #13563]
31dc8730
AZ
657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
658 long double comparison inaccuracies.
659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
661
6fef930c
AS
6622012-05-04 Andreas Schwab <schwab@linux-m68k.org>
663
664 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
666
8f203e6c
JM
6672012-05-04 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #14049]
670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
671 nonzero digits before rounding a hex value.
672 * stdlib/tst-strtod.c (tests): Add another test.
673
5197d9c2
AK
6742012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
675
676 * sysdeps/s390/fpu/libm-test-ulps: Update.
677
f0c1dedf
AJ
6782012-05-03 Andreas Jaeger <aj@suse.de>
679
680 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
681 does not get optimized out.
682 (malloc_opt_barrier): New.
683
a65ef2ae 6842012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 685 Roland McGrath <roland@hack.frob.com>
a65ef2ae 686
2b942cb7 687 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 688 intermediate file deletion.
2b942cb7 689 (generated): Add .symlist files.
a65ef2ae 690
54b71e02
JM
6912012-05-03 Joseph Myers <joseph@codesourcery.com>
692
693 [BZ #13775]
694 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
695 Redirect under this condition.
696 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
697 [__USE_GNU] (__dprintf_chk): Not under this condition.
698 [__USE_GNU] (__vdprintf_chk): Likewise.
699 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
700 under this condition.
701 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
702 [__USE_XOPEN2K8] (dprintf): Define under this condition.
703 [__USE_XOPEN2K8] (vdprintf): Likewise.
704 [__USE_GNU] (__dprintf_chk): Not under this condition.
705 [__USE_GNU] (__vdprintf_chk): Likewise.
706 [__USE_GNU] (dprintf): Likewise.
707 [__USE_GNU] (vdprintf): Likewise.
708
d3dfcc41
RM
7092012-05-03 Roland McGrath <roland@hack.frob.com>
710
711 * elf/Makefile (common-generated): Set this instead of generated for
712 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
713 $(all-built-dso)-derived lists.
714
7ac30cc5
AJ
7152012-05-03 Andreas Jaeger <aj@suse.de>
716
0c51e550
AJ
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718
7ac30cc5
AJ
719 * FAQ: Removed.
720 * FAQ.in: Likewise.
721 * scripts/gen-FAQ.pl: Likewise.
722 * manual/install.texi (Installation): Point to online location of
723 FAQ.
724 * Makefile (files-for-dist): Remove FAQ.
725 (FAQ): Remove.
726
d4c2917f
AM
7272012-05-02 Allan McRae <allan@archlinux.org>
728
729 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
730 (LDFLAGS-reldepmod5.so): Likewise.
731 (LDFLAGS-reldep6mod1.so): Likewise.
732 (LDFLAGS-reldep6mod4.so): Likewise.
733 (LDFLAGS-reldep8mod3.so): Likewise.
734 (LDFLAGS-unload4mod1.so): Likewise.
735 (LDFLAGS-unload4mod2.so): Likewise.
736 (LDFLAGS-tst-initorder): Likewise.
737 (LDFLAGS-tst-initordera2.so): Likewise.
738 (LDFLAGS-tst-initordera3.so): Likewise.
739 (LDFLAGS-tst-initordera4.so): Likewise.
740 (LDFLAGS-tst-initorderb2.so): Likewise.
741 (LDFLAGS-noload): Likewise.
742 (LDFLAGS-next): Likewise.
743 (LDFLAGS-order2mod1.so): Likewise.
744 (LDFLAGS-order2mod2.so): Likewise.
745 (LDFLAGS-tst-initorder2): Likewise.
746 (LDFLAGS-tst-initorder2a.so): Likewise.
747 (LDFLAGS-tst-initorder2b.so): Likewise.
748 (LDFLAGS-tst-initorder2c.so): Likewise.
749 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
750
d77f993f
DM
7512012-05-02 David S. Miller <davem@davemloft.net>
752
753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
754
171a70b4
PP
7552012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
756
757 [BZ #14055]
758 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
759
0be196ad
AJ
7602012-05-02 Andreas Jaeger <aj@suse.de>
761
762 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
763 since we manipulate rounding mode.
764 (CPPFLAGS-test-idouble.c): Likewise.
765 (CPPFLAGS-test-ifloat.c): Likewise.
766 (CFLAGS-test-ldouble.c): Likewise.
767 (CFLAGS-test-double.c): Likewise.
768 (CFLAGS-test-float.c): Likewise.
769 (CFLAGS-test-misc.c): Likewise.
770 (CFLAGS-test-test-fenv.c): Likewise.
771
4f9d04aa
AZ
7722012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773
2b942cb7
RM
774 [BZ #2550]
775 [BZ #2570]
776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
777 comparisons to determine direction to adjust input.
4f9d04aa 778
82a79e7d
RM
7792012-05-01 Roland McGrath <roland@hack.frob.com>
780
f5a01ca9
RM
781 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
782 output to the target.
783
90fe4186
RM
784 * scripts/localplt.awk: New file.
785 * elf/Makefile ($(objpfx)check-localplt): Target removed.
786 (check-localplt-CFLAGS): Variable removed.
787 ($(all-built-dso:=.jmprel)): New static pattern rule.
788 (generated): Add those targets.
789 (localplt-built-dso): New variable.
790 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
791
792 * elf/check-localplt.c: File removed.
793
82397ed6
RM
794 * scripts/check-execstack.awk: New file.
795 * elf/Makefile ($(objpfx)check-execstack): Target removed.
796 (check-execstack-CFLAGS): Variable removed.
797 ($(objpfx)check-execstack.h): Target removed.
798 ($(objpfx)execstack-default): New target.
799 (generated): Add that instead of check-execstack.h.
800 ($(all-built-dso:=.phdr)): New static pattern rule.
801 (generated): Add those targets.
802 * elf/check-execstack.c: File removed.
803
82a79e7d
RM
804 * scripts/check-textrel.awk: New file.
805 * elf/Makefile ($(objpfx)check-textrel): Target removed.
806 (check-textrel-CFLAGS): Variable removed.
807 (all-built-dso): Use := to define.o
808 ($(all-built-dso:=.dyn)): New static pattern rule.
809 (generated): Add those targets.
810 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
811 * config.make.in (READELF): New substituted variable.
812 * elf/check-textrel.c: File removed.
813
62fde54f 8142012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 815
615605c9
JM
816 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
817 allow.
818 * conform/data/ctype.h-data [C99-based standards] (isblank):
819 Expect function.
820 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
821 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
823 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
824 Specify type. Require positive value.
825 (EILSEQ): Likewise.
826 (ERANGE): Likewise.
827 [ISO || POSIX] (EILSEQ): Do not expect.
828 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
829 Specify type. Require positive value.
830 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
831 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
832 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
833 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
834 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
835 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
836 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
837 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
838 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
839 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
840 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
841 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
842 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
843 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
844 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
845 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
846 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
847 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
848 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
849 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
850 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
851 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
852 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
853 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
854 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
855 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
856 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
857 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
858 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
859 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
860 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
861 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
862 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
863 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
864 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
865 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
866 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
867 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
868 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
869 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
870 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
871 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
872 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
873 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
874 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
875 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
876 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
877 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
878 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
879 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
880 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
881 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
882 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
883 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
884 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
885 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
886 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
887 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
888 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
889 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
890 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
891 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
892 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
893 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
894 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
895 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
896 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
897 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
898 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
899 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
900 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
901 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
902 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
903 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
904 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
905 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
906 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
907 Require >= 2.
908 (FLT_ROUNDS): Expect as macro, not constant.
909 (FLT_MANT_DIG): Use macro-int-constant.
910 (DBL_MANT_DIG): Likewise.
911 (LDBL_MANT_DIG): Likewise.
912 (FLT_DIG): Likewise.
913 (DBL_DIG): Likewise.
914 (LDBL_DIG): Likewise.
915 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
916 (DBL_MIN_EXP): Likewise.
917 (LDBL_MIN_EXP): Likewise.
918 (FLT_MAX_EXP): Use macro-int-constant.
919 (DBL_MAX_EXP): Likewise.
920 (LDBL_MAX_EXP): Likewise.
921 (FLT_MAX_10_EXP): Likewise.
922 (DBL_MAX_10_EXP): Likewise.
923 (LDBL_MAX_10_EXP): Likewise.
924 (FLT_MAX): Use macro-constant.
925 (DBL_MAX): Likewise.
926 (LDBL_MAX): Likewise.
927 (FLT_EPSILON): Use macro-constant. Give upper bound.
928 (DBL_EPSILON): Likewise.
929 (LDBL_EPSILON): Likewise.
930 (FLT_MIN): Likewise.
931 (DBL_MIN): Likewise.
932 (LDBL_MIN): Likewise.
933 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
934 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
935 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
936 [ISO11] (FLT_HAS_SUBNORM): Likewise.
937 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
938 [ISO11] (DBL_DECIMAL_DIG): Likewise.
939 [ISO11] (FLT_DECIMAL_DIG): Likewise.
940 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
941 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
942 [ISO11] (FLT_TRUE_MIN): Likewise.
943 [ISO11] (LDBL_TRUE_MIN): Likewise.
944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
945 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
946 (SCHAR_MIN): Use macro-int-constant. Specify type.
947 (SCHAR_MAX): Likewise.
948 (UCHAR_MAX): Likewise.
949 (CHAR_MIN): Likewise.
950 (CHAR_MAX): Likewise.
951 (MB_LEN_MAX): Use macro-int-constant.
952 (SHRT_MIN): Use macro-int-constant. Specify type.
953 (SHRT_MAX): Likewise.
954 (USHRT_MAX): Likewise.
955 (INT_MAX): Likewise.
956 (INT_MIN): Use macro-int-constant. Specify type. Make upper
957 bound negative.
958 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
959 bound with "U".
960 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
961 bound with "L".
962 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
963 bound negative. Suffix upper bound with "L".
964 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
965 bound with "UL".
966 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
967 Specify type.
968 [C99-based standards] (LLONG_MAX): Likewise.
969 [C99-based standards] (ULLONG_MAX): Likewise.
970 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
971 == 0.
972 [ISO11] (max_align_t): Require type.
973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
974
c9140a62
JM
975 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
976 from $CFLAGS, without defining away __attribute__ calls.
977 (checknamespace): Use $CFLAGS_namespace.
978
9af0bf29
JM
979 * conform/conformtest.pl (@keywords): Only include C99 keywords
980 for standards based on C99 or C11.
981
343222a2
JM
982 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
983 Disable tests.
984 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
985 UNIX98]: Likewise.
986
661f8cf0
JM
987 * conform/conformtest.pl: Handle "macro-int-constant" and test for
988 usability of symbols in #if.
989
ee74b9cb
JM
990 * conform/conformtest.pl: If macro or constant types start
991 "promoted:", expect the symbol to be of the following type
992 promoted by the integer promotions.
62fde54f 993
aafc49b3
JM
994 * conform/conformtest.pl: Parse all "constant" and "macro" lines
995 in one place. Also handle "macro-constant".
996
fefdf574
JM
997 * conform/conformtest.pl: Only accept expected macro values with
998 "==". Parse all "macro" lines in one place.
999 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1000
f2d922fe
JM
1001 * conform/conformtest.pl: Handle braced types on "constant" lines
1002 instead of handling "typed-constant".
1003 * conform/data/signal.h-data: Use "constant" instead of
1004 "typed-constant".
1005
d22956c9
JM
1006 * conform/conformtest.pl: Handle "optional-" at start of lines in
1007 one place rather than duplicating several cases. Handle each
1008 format of "macro" line with initial "optional-".
1009
028e2e38
JM
1010 * conform/conformtest.pl: Only accept expected constant or
1011 optional-constant values with "==". Parse all "constant" lines in
1012 one place. Parse all "optional-constant" lines in one place.
1013 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1014 * conform/data/fmtmsg.h-data: Likewise.
1015 * conform/data/netinet/in.h-data: Likewise.
1016 * conform/data/tar.h-data: Likewise.
1017 * conform/data/limits.h-data: Use "==" form on "constant" and
1018 "optional-constant" lines.
1019
1b8f2850
JM
1020 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1021 Use -std=c99 for XOPEN2K.
1022 (@knownproblems): Remove.
1023 (newtoken): Don't check %isknown.
1024
a05a144b
JM
1025 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1026 Do not expect macro.
1027 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1039 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1040 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1057 [XPG3] (acosh): Likewise.
1058 [XPG3] (asinh): Likewise.
1059 [XPG3] (atanh): Likewise.
1060 [XPG3] (cbrt): Likewise.
1061 [XPG3] (expm1): Likewise.
1062 [XPG3] (ilogb): Likewise.
1063 [XPG3] (log1p): Likewise.
1064 [XPG3] (logb): Likewise.
1065 [XPG3] (nextafter): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1068 [XPG3] (remainder): Likewise.
1069 [XPG3] (rint): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1077 [UNIX98 || XOPEN2K] (scalb): Expect.
1078 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1079 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1215
73c5ebe3
JM
1216 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1217 _XOPEN_SOURCE_EXTENDED for XPG4.
1218
39c33b6c
JM
1219 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1220
62fde54f
JM
1221 * Makeconfig (localtime): Remove variable.
1222 (inst_localtime-file): Likewise.
1223
0741d64c
AS
12242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1225
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1227 Update.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1229 Update.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1231 Update.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1233 Update.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1235 Update.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1237 Update.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1239 Update.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1241 Update.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1243 Update.
1244
7cb029ee
JM
12452012-05-01 Joseph Myers <joseph@codesourcery.com>
1246
1247 [BZ #2550]
1248 [BZ #2570]
1249 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1250 comparisons to determine direction to adjust input.
1251 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1252 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1253 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1254 Likewise.
1255 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1256 Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1258 Likewise.
1259 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1260 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1261 Likewise.
1262 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1263 Likewise.
1264 * math/libm-test.inc (nexttoward_test): Add more tests.
1265
412bd966
AS
12662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1267
1268 [BZ #14040]
1269 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1270 in version GLIBC_2.1, not GLIBC_2.0.
1271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1272 Likewise.
1273
9568c0c2
JM
12742012-04-30 Joseph Myers <joseph@codesourcery.com>
1275
adfbc8ac
JM
1276 [BZ #13942]
1277 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1278 (1 - x) * (1 + x).
1279 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1280 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1281 * math/libm-test.inc (acos_test): Add more tests.
1282 (asin_test): Likewise.
1283 * sysdeps/i386/fpu/libm-test-ulps: Update.
1284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1285
5ba3cc69
JM
1286 [BZ #14034]
1287 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1288 of square root.
1289 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1290 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1291 * math/libm-test.inc (acos_test_tonearest): New function.
1292 (acos_test_towardzero): Likewise.
1293 (acos_test_downward): Likewise.
1294 (acos_test_upward): Likewise.
1295 (asin_test_tonearest): Likewise.
1296 (asin_test_towardzero): Likewise.
1297 (asin_test_downward): Likewise.
1298 (asin_test_upward): Likewise.
1299 (main): Call the new functions.
1300 * sysdeps/i386/fpu/libm-test-ulps: Update.
1301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1302
9568c0c2
JM
1303 [BZ #13884]
1304 [BZ #13924]
1305 * math/e_exp10.c: Include <float.h>.
1306 (__ieee754_exp10): Handle underflow here rather than multiplying
1307 large negative argument by M_LN10.
1308 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1309 of __ieee754_expf.
1310 * math/e_exp10l.c: Include <float.h>.
1311 (__ieee754_exp10l): Handle underflow here rather than multiplying
1312 large negative argument by M_LN10l.
1313 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1314 spurious overflow exception on underflow.
1315
5ac3ea17
MP
13162012-04-29 Marek Polacek <polacek@redhat.com>
1317
1318 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1319 (__fortify_function): New macro.
1320 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1321 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1322 __extern_always_inline.
1323 * libio/bits/stdio2.h: Likewise.
1324 * libio/bits/stdio.h: Likewise.
1325 * string/string.h: Likewise.
1326 * string/bits/string3.h: Likewise.
1327 * include/stdio.h: Likewise.
1328 * stdlib/bits/stdlib.h: Likewise.
1329 * stdlib/stdlib.h: Likewise.
1330 * rt/bits/mqueue2.h: Likewise.
1331 * rt/mqueue.h: Likewise.
1332 * posix/bits/unistd.h: Likewise.
1333 * posix/unistd.h: Likewise.
1334 * io/bits/poll2.h: Likewise.
1335 * io/bits/fcntl2.h: Likewise.
1336 * io/fcntl.h: Likewise.
1337 * io/sys/poll.h: Likewise.
1338 * misc/bits/syslog.h: Likewise.
1339 * misc/bits/syslog-ldbl.h: Likewise.
1340 * misc/sys/syslog.h: Likewise.
1341 * socket/bits/socket2.h: Likewise.
1342 * socket/sys/socket.h: Likewise.
1343 * debug/tst-chk1.c: Likewise.
1344 * wcsmbs/bits/wchar2.h: Likewise.
1345 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1346 * wcsmbs/wchar.h: Likewise.
1347
ecf0ebfb
AJ
13482012-04-29 Andreas Jaeger <aj@suse.de>
1349
1350 * Makerules (tests): Remove enable-check-abi protection.
1351 (check-abi-warn): Remove.
1352 (check-abi-%): Remove check-abi-warn usage.
1353
1354 * configure.in: Remove check-abi configure option.
1355 * configure: Regenerated.
1356 * config.make.in (enable-check-abi): Remove.
1357
6d5c57fa
AS
13582012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1359
24c5d07e 1360 [BZ #14033]
ded5180a
AS
1361 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1362 double functions to double *_finite functions.
1363
7e0d315d
AS
1364 [BZ #13941]
1365 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1366 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1367 LDBL_MIN_EXP.
1368 * stdio-common/Makefile (tests): Add tst-sprintf3.
1369 * stdio-common/tst-sprintf3.c: New file.
1370
6d5c57fa
AS
1371 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1372 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1373
0749ff8b
JM
13742012-04-28 Joseph Myers <joseph@codesourcery.com>
1375
1376 * conform/conformtest.pl: Remove duplicate typed-constant
1377 handling.
1378
8dbd5d7b
DM
13792012-04-28 David S. Miller <davem@davemloft.net>
1380
1381 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1382 (check-abi-%): Remove AWK script prerequisite and explicit
1383 abilist directory.
1384 (check-abi): Rewrite to just diff the symlist with the abilist.
1385 (config-tls, config-abi-config): Delete, no longer used.
1386 (update-abi-%): Remove AWK script and explicit abilist directory.
1387 (update-abi): Rewrite to simply compare and conditionally copy the
1388 symlist and the sysdep abilist file. Remove update-abi-config
1389 checks.
1390 * abilist/ld.abilist: Remove.
1391 * abilist/libBrokenLocale.abilist: Remove.
1392 * abilist/libanl.abilist: Remove.
1393 * abilist/libcrypt.abilist: Remove.
1394 * abilist/libdl.abilist: Remove.
1395 * abilist/librt.abilist: Remove.
1396 * abilist/libthread_db.abilist: Remove.
1397 * abilist/libutil.abilist: Remove.
1398 * scripts/extract-abilist.awk: Remove.
1399 * scripts/merge-abilist.awk: Remove.
1400 * sysdeps/generic/libcidn.abilist: New file.
1401 * sysdeps/generic/libnss_compat.abilist: New file.
1402 * sysdeps/generic/libnss_db.abilist: New file.
1403 * sysdeps/generic/libnss_dns.abilist: New file.
1404 * sysdeps/generic/libnss_files.abilist: New file.
1405 * sysdeps/generic/libnss_hesiod.abilist: New file.
1406 * sysdeps/generic/libnss_nis.abilist: New file.
1407 * sysdeps/generic/libnss_nisplus.abilist: New file.
1408 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1409 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1410 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1411 file.
1412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1413 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1414 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1415 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1416 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1417 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1418 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1419 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1420 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1421 file.
1422 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1423 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1424 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1425 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1426 file.
1427 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1428 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1429 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1430 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1431 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1432 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1433 file.
1434 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1435 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1436 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1437 file.
1438 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1440 New file.
1441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1442 New file.
1443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1444 New file.
1445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1446 New file.
1447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1448 New file.
1449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1450 New file.
1451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1452 New file.
1453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1454 New file.
1455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1456 New file.
1457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1458 New file.
1459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1460 New file.
1461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1462 New file.
1463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1464 New file.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1466 file.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1468 New file.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1470 New file.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1472 file.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1474 New file.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1476 New file.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1478 file.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1480 New file.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1482 New file.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1484 New file.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1486 New file.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1488 New file.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1490 New file.
1491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1493 file.
1494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1495 New file.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1497 file.
1498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1499 file.
1500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1503 file.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1507 New file.
1508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1509 file.
1510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1511 file.
1512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1513 New file.
1514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1515 file.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1518 file.
1519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1520 New file.
1521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1522 file.
1523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1524 file.
1525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1528 file.
1529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1530 file.
1531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1532 New file.
1533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1534 file.
1535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1536 file.
1537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1538 New file.
1539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1540 file.
1541 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1542 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1543 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1544 file.
1545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1546 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1547 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1549 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1550 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1551 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1552 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1553 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1554 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1557 file.
1558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1559 New file.
1560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1561 file.
1562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1563 file.
1564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1565 file.
1566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1567 file.
1568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1569 file.
1570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1571 New file.
1572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1573 New file.
1574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1575 file.
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1577 New file.
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1579 file.
1580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1582 file.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1584 New file.
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1586 file.
1587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1588 file.
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1590 file.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1592 file.
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1594 file.
1595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1596 New file.
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1598 New file.
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1600 file.
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1602 New file.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1604 file.
1605
41d73a1b
JM
16062012-04-28 Joseph Myers <joseph@codesourcery.com>
1607
1608 * conform/conformtest.pl: Fix typo in handling typed-constant from
1609 allow-header.
1610
28aeeda4
JM
16112012-04-27 Joseph Myers <joseph@codesourcery.com>
1612
adae8f5e
JM
1613 * README: Cut down references to pre-2.6 Linux kernels and
1614 Linuxthreads. Update lists of configurations in libc and ports
1615 and sort alphabetically. Say "or newer" with Linux kernel version
1616 requirements.
1617
28aeeda4
JM
1618 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1619
a462cb63
RA
16202012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1621
1622 [BZ #887]
1623 * math/libm-test.inc (logb_test_downward): New test to expose
1624 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1625 rounding mode.
1626
6ad3493e
JM
16272012-04-27 Joseph Myers <joseph@codesourcery.com>
1628
1629 [BZ #14027]
1630 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1631 to be done.
1632 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1633 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1634
2ce4f015
JM
16352012-04-26 Joseph Myers <joseph@codesourcery.com>
1636
5aeb141a
JM
1637 * sysdeps/unix/i386/brk.S: Remove file.
1638 * sysdeps/unix/i386/dl-brk.S: Likewise.
1639 * sysdeps/unix/i386/pipe.S: Likewise.
1640 * sysdeps/unix/i386/sigreturn.S: Likewise.
1641 * sysdeps/unix/i386/syscall.S: Likewise.
1642 * sysdeps/unix/i386/vfork.S: Likewise.
1643 * sysdeps/unix/i386/wait.S: Likewise.
1644
7143acae
JM
1645 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1646 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1647
2ce4f015
JM
1648 * configure.in (arm*-none*): Do not allow without
1649 --enable-hacker-mode.
1650 (netbsd*): Remove case setting base_os.
1651 (386bsd*): Likewise.
1652 (freebsd*): Likewise.
1653 (bsdi*): Likewise.
1654 (osf*): Likewise.
1655 (sunos*): Likewise.
1656 (ultrix*): Likewise.
1657 (newsos*): Likewise.
1658 (dynix*): Likewise.
1659 (*bsd*): Likewise.
1660 (sysv*): Likewise.
1661 (isc*): Likewise.
1662 (esix*): Likewise.
1663 (sco*): Likewise.
1664 (minix*): Likewise.
1665 (irix4*): Likewise.
1666 (irix6*): Likewise.
1667 (solaris[2-9]*): Likewise.
1668 (none): Likewise.
1669 * configure: Regenerated.
1670
0ac229c8
AZ
16712012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672
1673 [BZ #11521]
1674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1675 overflow or cancellation in calculating denominator.
1676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1678 down expression to avoid unexpected rounding in newer GCCs.
1679 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1680
33f244f4
DM
16812012-04-26 David S. Miller <davem@davemloft.net>
1682
1683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1684 long-double compat symbols.
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1698
cfa1f3e8
DM
16992012-04-25 David S. Miller <davem@davemloft.net>
1700
1701 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1702 HWCAP_* values only after the memory barriers have been defined.
1703 (atomic_full_barrier): Define.
1704 (atomic_read_barrier): Define.
1705 (atomic_write_barrier): Define.
1706
6e236b92
SP
17072012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1708
1709 * shlib-versions: Add libgcc_s version information.
1710 * sysdeps/generic/libgcc_s.h: Remove.
1711 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1712 libgcc_s.h.
1713 * sysdeps/gnu/unwind-resume.c: Likewise.
1714 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1715
aab39a09
DM
17162012-04-25 David S. Miller <davem@davemloft.net>
1717
1718 * sysdeps/unix/sparc/brk.S: Delete.
1719 * sysdeps/unix/sparc/dl-brk.S: Delete.
1720 * sysdeps/unix/sparc/pipe.S: Delete.
1721 * sysdeps/unix/sparc/sysdep.S: Delete.
1722 * sysdeps/unix/sparc/sysdep.h: Delete.
1723 * sysdeps/unix/sparc/vfork.S: Delete.
1724 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1725 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1727 ret_ERRVAL, r0, r1, MOVE): Define.
1728 (JUMPTARGET): Remove.
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1730 sysdeps/unix/sparc/sysdep.h
1731 (ENTRY, END): Remove.
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1733
a3cc4f48
JM
17342012-04-25 Joseph Myers <joseph@codesourcery.com>
1735
2ed8cda2
JM
1736 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1737 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1738 -DIS_IN_build.
1739
35d76d59
JM
1740 * timezone/README: Update upstream location and email address for
1741 tzcode and tzdata.
1742 * timezone/zdump.c: Update from tzcode 2012b.
1743 * timezone/zic.c: Likewise.
1744
a3cc4f48
JM
1745 * configure.in (libc_cv_as_needed): Remove test.
1746 * configure: Regenerated.
1747 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1748 conditional definition.
1749 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1750 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1751 * config.make.in (have-as-needed): Remove variable.
1752
ceab42c3
SP
17532012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1754 Paul Pluzhnikov <ppluzhnikov@google.com>
1755
1756 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1757 strings correctly.
1758
3ce2865f
CLT
17592012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1760
1761 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1762 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1763 * sysdeps/sh/strlen.S: Likewise.
1764
f37e0d68
JM
17652012-04-24 Joseph Myers <joseph@codesourcery.com>
1766
ae186e9a
JM
1767 * sysdeps/unix/fork.S: Remove file.
1768 * sysdeps/unix/i386/fork.S: Likewise.
1769 * sysdeps/unix/sparc/fork.S: Likewise.
1770
b96914af
JM
1771 * sysdeps/unix/system.c: Remove file.
1772 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1773
f37e0d68
JM
1774 * sysdeps/unix/getegid.S: Remove file.
1775 * sysdeps/unix/geteuid.S: Likewise.
1776
87ef29ca
RM
17772012-04-24 Roland McGrath <roland@hack.frob.com>
1778
83bcd236
RM
1779 * scripts/check-localplt.awk: New file.
1780 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1781 of diff.
1782 * scripts/data/localplt-generic.data: Add a comment.
1783
87ef29ca
RM
1784 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1785 NODE when __dir_mkfile failed.
1786 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1787 Reported by Ludovic Courtès <ludo@gnu.org>.
1788
e5a6e567
AJ
17892012-04-24 Andreas Jaeger <aj@suse.de>
1790
1791 * Makerules (common-clean): Also remove gen-as-const-headers
1792 files.
1793
c1820385
JM
17942012-04-24 Joseph Myers <joseph@codesourcery.com>
1795
1796 * Makerules (native-compile): Do not change working directory for
1797 build. Use $(OUTPUT_OPTION) in command.
1798 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1799
94e02fc4
AZ
18002012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801
1802 [BZ #13886]
1803 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1804 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1805 * math/libm-test.inc (floor_test): Add more tests.
1806 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1807
3a533ca3
JM
18082012-04-24 Joseph Myers <joseph@codesourcery.com>
1809
940ab4b3
JM
1810 * sysdeps/unix/getdents.c: Remove file.
1811 * sysdeps/unix/sysv/getdents.c: Likewise.
1812 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1813
90e037bd
JM
1814 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1815 sysdeps/unix/mman/syscalls.list.
1816 (mmap): Likewise.
1817 (mprotect): Likewise.
1818 (msync): Likewise.
1819 (munmap): Likewise.
1820 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1821 * sysdeps/unix/mman/syscalls.list: Remove.
1822 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1823
3a533ca3
JM
1824 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1825 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1826 * configure: Regenerated.
1827 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1828 $(libgcc_s_suffix).
1829 * config.make.in (libgcc_s_suffix): Remove variable.
1830
1ad743de
JM
18312012-04-23 Joseph Myers <joseph@codesourcery.com>
1832
4ad451e2
JM
1833 * sysdeps/unix/sysv/gethostname.c: Move to ...
1834 * sysdeps/posix/gethostname.c: ... here.
1835
5e37ce39
JM
1836 * sysdeps/unix/execve.S: Remove file.
1837
1ad743de
JM
1838 * sysdeps/unix/_exit.S: Remove file.
1839
4e681b5b
AJ
18402012-04-23 Andreas Jaeger <aj@suse.de>
1841
1842 [BZ #13739]
1843 * manual/Makefile: Remove make dist support, there's no
1844 need for a stand-alone documentation tar ball.
1845 (TEXI2DVI): Define always, it's not in Makeconfig.
1846 (dist): Removed.
1847 (tar-it): Removed.
1848 (edition): Removed.
1849 (glibc-doc-$(edition).tar): Removed
1850 (%.Z): Removed.
1851 (%.gz): Removed.
1852 (%.uu): Removed.
1853 (ETAGS): Remove, it's in Makeconfig.
1854 (move-if-change): Remove, it's in Makeconfig.
1855
c0baea34
PE
18562013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1857
1858 [BZ #13970]
1859 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1860 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1861 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1862 (strtod_l, strtof_l, strtold_l): Remove __wur.
1863 It is not necessarily an error to ignore strtol's return value.
1864 One can reliably look at the stored endptr to decide whether
1865 the number had valid syntax.
1866
7c0616fa
AJ
18672012-04-21 Andreas Jaeger <aj@suse.de>
1868
803cb6b7 1869 [BZ #13739]
7c0616fa
AJ
1870 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1871
b0fe253f
JM
18722012-04-21 Joseph Myers <joseph@codesourcery.com>
1873
1874 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1875 * sysdeps/unix/sysv/Versions: Remove file.
1876
8280f22d
MT
18772012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1878
1879 [BZ #13927]
1880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1881
75ce411f 18822012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1883
1884 [BZ #7064]
1885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1886 version from __vm86.
1887
097d59fa
JM
18882012-04-20 Joseph Myers <joseph@codesourcery.com>
1889
a90f3bcb
JM
1890 * sysdeps/unix/common/lxstat.c: Remove file.
1891 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1892
edc7ea78
JM
1893 * sysdeps/unix/sysv/Makefile: Remove file.
1894
cb78c221
JM
1895 * sysdeps/unix/sysv/direct.h: Remove file.
1896
efa6a45f
JM
1897 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1898 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1899 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1900 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1901 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1902 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1903 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1904
9c9f2d0c
JM
1905 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1906
4541c83b
JM
1907 * sysdeps/unix/xmknod.c: Remove file.
1908 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1909
f5d153a0
JM
1910 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1911
aa746595
JM
1912 * sysdeps/unix/sysv/i386/time.S: Remove file.
1913
cce5905e
JM
1914 * sysdeps/unix/fxstat.c: Remove file.
1915 * sysdeps/unix/xstat.c: Likewise.
1916 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1917
37fa3841
JM
1918 * sysdeps/unix/sysv/sigaction.c: Remove file.
1919
ff1962a3
JM
1920 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1921 (sysdep_headers): Remove variable.
1922 [termio.h not in sysdep_headers] (generated): Likewise.
1923 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1924 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1925 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1926 * sysdeps/unix/sysv/tcflow.c: Likewise.
1927 * sysdeps/unix/sysv/tcflush.c: Likewise.
1928 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1929 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1930 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1931 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1932 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1933
e7740d31
JM
1934 * sysdeps/unix/siglist.c: Remove file.
1935
ee06f18b
JM
1936 * sysdeps/unix/getppid.S: Remove file.
1937
097d59fa
JM
1938 * sysdeps/unix/mkdir.c: Remove file.
1939 * sysdeps/unix/rmdir.c: Likewise.
1940
ff3d51ec
AS
19412012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1942
1943 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1944 ERR_MAX value.
1945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1946 errlist-compat value.
1947
50f81fd7
DM
19482012-04-18 David S. Miller <davem@davemloft.net>
1949
1950 * sysdeps/generic/memcopy.h (reg_char): Delete.
1951 * debug/strcat_chk.c: Use char, not reg_char.
1952 * debug/strcpy_chk.c: Likewise.
1953 * debug/strncat_chk.c: Likewise.
1954 * debug/strncpy_chk.c: Likewise.
1955 * string/memchr.c: Likewise.
1956 * string/memrchr.c: Likewise.
1957 * string/rawmemchr.c: Likewise.
1958 * string/strcat.c: Likewise.
1959 * string/strchr.c: Likewise.
1960 * string/strchrnul.c: Likewise.
1961 * string/strcmp.c: Likewise.
1962 * string/strcpy.c: Likewise.
1963 * string/strncat.c: Likewise.
1964 * string/strncmp.c: Likewise.
1965 * string/strncpy.c: Likewise.
1966
8ff41c46
WS
19672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1968
1969 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1970 __builtin_memcopy is called when src and dest ranges are known to not
1971 overlap.
1972
6b652f46
WS
19732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1974
1975 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1976 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1977 fwd_align_merge macro call.
1978 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1979 bwd_align_merge macro call.
1980 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1981
b282631e
WS
19822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1983
1984 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1985 bwd_align_merge macros.
1986 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1987 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1988 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1989
95aa737c
DM
19902012-04-18 David S. Miller <davem@davemloft.net>
1991
1992 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1993
7a99a614
AJ
19942012-04-18 Andreas Jaeger <aj@suse.de>
1995
1996 [BZ# 6794]
1997 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1998 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1999 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2000
2001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2002 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2003 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2004
2005 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2006 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2007 Adjust for changed ldbl-128 files.
2008
2009 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2010 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2011 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2012
e5270c23
DM
20132012-04-17 David S. Miller <davem@davemloft.net>
2014
2015 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2016
fb5e92c9
AS
20172012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2018
2019 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2020 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2021 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2022 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2023 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2024 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2025
76da7265
AZ
20262012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2028 [BZ #6794]
2029 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2030 * math/libm-test.inc: Add ilogb errno and exception tests.
2031 * math/w_ilogb.c: New file: ilogb wrapper.
2032 * math/w_ilogbf.c: New file: ilogbf wrapper.
2033 * math/w_ilogbl.c: New file: ilogbl wrapper.
2034 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2035 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2036 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2037 exception being thrown with 0.0 as argument.
2038 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2039 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2040 exception being thrown with 0.0 as argument.
2041 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2042 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2043 exception being thrown with 0.0 as argument.
2044 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2045 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2046 exception being thrown with 0.0 as argument.
2047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2048 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2049 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2050 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2052 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2053 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2054 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2055 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2056
0396e69d
PB
20572012-04-17 Petr Baudis <pasky@ucw.cz>
2058
2059 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2060 with altivec.
2061
750b5926
MP
20622012-04-16 Marek Polacek <polacek@redhat.com>
2063
2064 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2065
751728a1
MP
20662012-04-16 Marek Polacek <polacek@redhat.com>
2067
2068 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2069 operands of fdivp instruction.
2070
34a27407
L
20712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2074 * elf/tst-auditmod3b.c: Likewise.
2075 * elf/tst-auditmod4b.c: Likewise.
2076 * elf/tst-auditmod5b.c: Likewise.
2077 * elf/tst-auditmod6b.c: Likewise.
2078 * elf/tst-auditmod6c.c: Likewise.
2079 * elf/tst-auditmod7b.c: Likewise.
2080 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2081 * sysdeps/x86_64/preconfigure.in: Likewise.
2082 * sysdeps/x86_64/preconfigure: Regenerated.
2083
7e73e17d
L
20842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2087 __ILP32__.
2088
c7a6ab72
AB
20892012-04-13 Antoine Balestrat <merkil33@gmail.com>
2090
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2092 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2093
a9e8e0e0
CL
20942012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2095
2096 [BZ #13973]
2097 * locale/iso-639.def: Fix gl language name. Spotted by
2098 Yaron Shahrabani.
2099
ec98af7d
RM
21002012-04-12 Roland McGrath <roland@hack.frob.com>
2101
2102 [BZ #2074]
2103 * libio/libio.h (__io_write_fn): Update comment.
2104
247c3ede
PB
21052012-04-12 Petr Baudis <pasky@ucw.cz>
2106
2107 [BZ #2074]
2108 * stdio.texi (Hook Functions): The user provided writer function
2109 is not allowed to return -1.
2110
55939d6d
DM
21112012-04-11 David S. Miller <davem@davemloft.net>
2112
2113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2114
90020f5a
MF
21152012-04-11 Mike Frysinger <vapier@gentoo.org>
2116
2117 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2118 Add a leading slash to rtkaio.
2119
288f9098
JM
21202012-04-11 Jim Meyering <meyering@redhat.com>
2121
90020f5a
MF
2122 [BZ #11959]
2123 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2124 It is not necessarily an error to ignore fwrite's return
2125 value. One can reliably use ferror to test for errors after
2126 the fact.
288f9098 2127
4be2b570
L
21282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * bits/types.h (__snseconds_t): New type.
2131 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2132
2133 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2135 (__SNSECONDS_T_TYPE): Likewise.
2136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2137 (__SNSECONDS_T_TYPE): Likewise.
2138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2139 (__SNSECONDS_T_TYPE): Likewise.
2140
288f9098 21412012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2142
2143 [BZ #2636]
2144 * manual/time.texi (Processor Time): Return type of times is
2145 elapsed real time since an arbitrary point in the past.
2146 (CPU Time): Move CLK_TCK from here...
2147 (Processor Time): ...to here. Correct description.
2148 * manual/conf.texi (Constants for Sysconf): Correct description of
2149 _SC_CLK_TCK.
2150
d7dd4413
DM
21512012-04-10 David S. Miller <davem@davemloft.net>
2152
2153 [BZ #13967]
2154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2155 where the is a gap between DT_REL(A) and DT_JMPREL.
2156
b46068fc
L
21572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2160 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2161 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2162
73d65cc3
SP
21632012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2164
2165 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2166 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2167 (dl_main): Handle --inhibit-cache.
2168 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2169 _dl_inhibit_cache.
2170 * elf/dl-load.c (_dl_map_object): Use it.
2171 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2172
bcc8d661
JM
21732012-04-09 Joseph Myers <joseph@codesourcery.com>
2174
8f9a2fae
JM
2175 [BZ #13872]
2176 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2177 (__ieee754_powl): Saturate large exponents rather than testing for
2178 overflow of y*log2(x).
2179 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2180 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2181 exceptions.
2182
bcc8d661
JM
2183 [BZ #11521]
2184 * math/s_ctan.c: Include <float.h>.
2185 (__ctan): Avoid internal overflow or cancellation in calculating
2186 denominator.
2187 * math/s_ctanf.c: Likewise.
2188 * math/s_ctanl.c: Likewise.
2189 * math/s_ctanh.c: Likewise.
2190 * math/s_ctanhf.c: Likewise.
2191 * math/s_ctanhl.c: Likewise.
2192 * math/libm-test.inc (ctan_test): Add more tests.
2193 (ctanh_test): Likewise.
2194 * sysdeps/i386/fpu/libm-test-ulps: Update.
2195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2196
823fbbb4
AJ
21972012-04-09 Andreas Jaeger <aj@suse.de>
2198
03879793
AJ
2199 [BZ #6894]
2200 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2201 is an optional BSD extension.
2202
823fbbb4
AJ
2203 [BZ #10254]
2204 * manual/stdio.texi (Opening Streams): Document additional fopen
2205 parameters.
2206
8de131cb
RM
22072012-04-09 Roland McGrath <roland@hack.frob.com>
2208
2209 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2210 %eax without telling the compiler.
2211
c0ed9d7d
CD
22122012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2213
2214 [BZ # 13963]
2215 * manual/install.texi: Use sourceware.org.
2216
c483f6b4
JM
22172012-04-09 Joseph Myers <joseph@codesourcery.com>
2218
d7dd9453
JM
2219 [BZ #13873]
2220 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2221 (__ieee754_pow): Generate overflow and underflow using huge*huge
2222 and tiny*tiny rather than just returning constant infinity or zero
2223 for large exponents.
2224 * math/libm-test.inc (pow_test): Require overflow exceptions for
2225 applicable cases of large exponents.
2226
c483f6b4
JM
2227 [BZ #706]
2228 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2229 (__ieee754_pow): Use iterative multiplication algorithm only for
2230 integer exponents with absolute value below 1024. Check for odd
2231 integer exponents when using algorithm for real exponents.
2232 * math/libm-test.inc (pow_test): Add more tests.
2233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2234
d2de7579
JM
22352012-04-08 Joseph Myers <joseph@codesourcery.com>
2236
2237 [BZ #13705]
2238 * math/libm-test.inc (exp_test): Do not allow overflow exception
2239 on underflow test.
2240
f77f1232
AJ
22412012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2242
2243 [BZ #13705]
2244 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2245 instead of __kernel_standard_f.
2246
3884932b
MF
22472012-04-08 Mike Frysinger <vapier@gentoo.org>
2248
2249 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2250 * sysdeps/x86_64/memset_chk.S: Likewise.
2251
54472e9c
AJ
22522012-04-08 Andreas Jaeger <aj@suse.de>
2253
6ab0fbfc
AJ
2254 [BZ #10153]
2255 * manual/startup.texi (Environment Access): Describe return value
2256 for putenv and setenv.
2257
61efba8c
AJ
2258 [BZ #6895]
2259 * manual/filesys.texi (Directory Entries): Add description for
2260 DT_LNK.
2261
95c3f29a
AJ
2262 [BZ #6890]
2263 * manual/filesys.texi (Directory Entries): Clarify that it's file
2264 system not operating system in the description of DT_UNKNOWN.
2265
54472e9c
AJ
2266 [BZ #6578]
2267 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2268
624254b1
SC
22692012-04-08 Stephen Compall <s11@member.fsf.org>
2270
2271 [BZ #6649]
2272 * manual/llio.texi (Opening and Closing Files): Add cross
2273 reference to explain mode argument.
2274
1e4920e0
MF
22752012-04-07 Mike Frysinger <vapier@gentoo.org>
2276
2277 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2278 * sysdeps/x86_64/memset_chk.S: Likewise.
2279
5ed848f3
DM
22802012-04-07 David S. Miller <davem@davemloft.net>
2281
2282 * elf/elf.h (R_SPARC_WDISP10): Define.
2283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2284 R_SPARC_SIZE32.
2285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2286 R_SPARC_SIZE64 and R_SPARC_H34.
2287
96154cd8
CD
22882012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2289
2290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2291 conditions and remove no longer applicable assertion.
2292
9904dc47
L
22932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 * bits/byteswap.h: Include <features.h>.
2296 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2297 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2298
f8887d0a
L
22992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 * bits/byteswap.h (__bswap_16): Removed.
2302 Include <bits/byteswap-16.h> to get __bswap_16.
2303 * sysdeps/i386/bits/byteswap.h: Likewise.
2304 * sysdeps/s390/bits/byteswap.h: Likewise.
2305 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2306 * bits/byteswap-16.h: New file.
2307 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2308 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2309 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2310 * string/Makefile (headers): Add bits/byteswap-16.h.
2311
62470f60
PP
23122012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2313
2314 [BZ #13895]
2315 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2316 extra indirection.
2317 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2318 * nss/tst-nss-static.c: New.
2319
4dad7bab
RM
23202012-04-06 Robert Millan <rmh@gnu.org>
2321
2322 [BZ #6486]
2323 * manual/llio.texi (File Position Primitive): lseek
2324 refers to WHENCE when it really means OFFSET.
2325
e9142a17
AJ
23262012-04-06 Andreas Jaeger <aj@suse.de>
2327
2c040eff
AJ
2328 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2329 strncmp declarations.
2330
e9142a17
AJ
2331 * abilist/libc.abilist: Add __poll and __ppoll.
2332
ff9f1c5f
DM
23332012-04-05 David S. Miller <davem@davemloft.net>
2334
dcd2ae90
DM
2335 * scripts/check-local-headers.sh: Accept a host triplet in the
2336 path matched by the exclude regexp.
2337
993eb054
DM
2338 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2339 definition.
2340 * sysdeps/powerpc/powerpc32/dl-machine.h
2341 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2342 * sysdeps/s390/s390-32/dl-machine.h
2343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2344 * sysdeps/sparc/sparc32/dl-machine.h
2345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2346 * sysdeps/sparc/sparc64/dl-machine.h
2347 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2348
ff9f1c5f
DM
2349 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2350 lazy binding.
48e2e132 2351 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2352 undefined symbol errors.
2353
48e2e132 2354 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2355 DT_NEEDED entries.
2356
e80d6f94
MM
23572012-04-05 Michael Matz <matz@suse.de>
2358
2359 [BZ #13592]
2360 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2361
349fa79f
AJ
23622012-04-05 Andreas Jaeger <aj@suse.de>
2363
2364 [BZ #13908]
2365 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2366 comment.
2367
f402708f
KK
23682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2369
2370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2371 which ROUND is no valid rounding mode.
2372
2ecccfc9
KK
23732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2374
2375 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2376 read again.
2377 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2378
8a53f50f
KK
23792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2380
2381 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2382 an exception using FPU order intentionally.
2383
23842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2385
2386 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2387 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2388 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2389 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2390
d653abb7
SJ
23912012-04-05 Simon Josefsson <simon@josefsson.org>
2392
2393 [BZ #12340]
2394 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2395 EINVAL when BUFLEN is too smal.
2396
c3b1bf7d
TS
23972012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2398
2399 [BZ #13553]
2400 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2401 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2402
b1aa60f3
AJ
24032012-04-03 Andreas Jaeger <aj@suse.de>
2404
c3b1bf7d 2405 [BZ #13938]
67f60a26
AJ
2406 * manual/setjmp.texi (System V contexts): Fix sentence.
2407
b1aa60f3
AJ
2408 [BZ #13926]
2409 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2410 New macro for this case.
2411 [!__GNUC__] (__bswap_64): New inline function for this case.
2412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2413 * bits/byteswap.h: Likewise.
2414 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2415 ull, guard with __GLIBC_HAVE_LONG_LONG.
2416
2417 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2418 __GLIBC_HAVE_LONG_LONG.
2419
2420 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2421 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2422
39c59c35
TMQMF
24232012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2424
2425 [BZ #13691]
2426 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2427 inptr and inend, rather than using last_ch.
2428
135ffda8
DM
24292012-04-02 David S. Miller <davem@davemloft.net>
2430
2431 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2432 * stdio-common/printf-parse.h (read_int): Change return type to
2433 'int', return -1 on INT_MAX overflow.
2434 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2435 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2436 overflows INT_MAX. Check for overflow of in-format-string precision
2437 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2438 SIZE_MAX not INT_MAX for integer overflow test.
2439 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2440 skip the construct in the format string but do not record anything.
2441 * stdio-common/bug22.c: Adjust to test both width/prevision
2442 INT_MAX overflow as well as total length INT_MAX overflow. Check
2443 explicitly for proper errno values.
2444
228c019e
TS
24452012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2446
302cadd3
TS
2447 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2448 CHAR_MAX.
2449 * string/test-strcmp.c [! WIDE]: Likewise.
2450 * time/tst-mktime2.c: Likewise for INT_MAX.
2451 * string/test-string.h: #include <sys/param.h> for MIN.
2452
228c019e
TS
2453 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2454 * sysdeps/i386/init-first.c (init): Likewise.
2455 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2456 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2457 * sysdeps/sh/init-first.c (init): Likewise.
2458
cfa633f5
UD
24592012-04-01 Ulrich Drepper <drepper@gmail.com>
2460
2461 * po/ru.po: Update from translation team.
d1635ef8 2462 * po/vi.po: Likewise.
cfa633f5 2463
6cd0a5ea
SP
24642012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2465
2466 * resolv/nss_dns/dns-host.c: Merge copyright years.
2467
4b43400f
LD
24682012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2469
2470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2471 Optimize memcpy with prefetch if
2472 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2473 src, dst pointers have unequal 16 byte alignments.
2474
48c41d04
SP
24752012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2476
2477 [BZ #13928]
2478 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2479 from a CNAME entry and return the minimum ttl for the query.
2480 (gaih_getanswer_slice): Likewise.
2481
b8dc394d
JL
24822012-03-30 Jeff Law <law@redhat.com>
2483
2484 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2485 due to long keys.
2486 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2487 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2488
2f5a5ed0
JL
2489 * resolv/nss_dns/dns-host.c: Update copyright year.
2490
1d39e359
UD
24912012-03-30 Ulrich Drepper <drepper@gmail.com>
2492
c030f70c 2493 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2494 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2495
1d39e359
UD
2496 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2497 comments for sendmmsg.
2498
24992012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2500
2501 [BZ #13691]
2502 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2503 with only 1 character between 0x0041 and 0x01b0.
2504 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2505 * wcsmbs/tst-mbsnrtowcs.c: New file.
2506
20fde227
DM
25072012-03-29 David S. Miller <davem@davemloft.net>
2508
2509 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2510 small copies by hand.
2511
984a4237
JL
25122012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2513
2514 [BZ #13761]
2515 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2516 _nss_compat_initgroups_dyn): Fall back to malloc/free
2517 for large group memberships.
2518
18c9d62b
DM
25192012-03-28 David S. Miller <davem@davemloft.net>
2520
88d85d4f
DM
2521 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2522 that branches into memcpy.
2523 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2524 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2526 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2528 bits.
2529 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2530 implementation too.
2531 * sysdeps/sparc/mempcpy.S: New file.
2532
e5aa83e1
DM
2533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2534 the IFUNC routine in the libc case.
2535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2536
88570753
DM
2537 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2538 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2539 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2540 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2541 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2542 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2543 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2544 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2545
249d7567
DM
2546 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2547 loop to 256 bytes instead of 64 bytes and fix test signedness.
2548
18c9d62b
DM
2549 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2550 * sysdeps/sparc/sparc32/Makefile: rather than here...
2551 * sysdeps/sparc/sparc64/Makefile: and here.
2552
05f3d1f6
UD
25532012-03-28 Ulrich Drepper <drepper@gmail.com>
2554
2555 * malloc/mallocbug.c: Avoid warnings about unused variables.
2556
86ae07a8
JL
25572012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2558
2559 [BZ #13760]
2560 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2561 in the right place. Discard and retry query if response is
2562 larger than input buffer size.
2563
41bf21a1
JM
25642012-03-28 Joseph Myers <joseph@codesourcery.com>
2565
d6270972
JM
2566 [BZ #369]
2567 [BZ #2678]
2568 [BZ #3866]
2569 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2570 x for large integer exponent.
2571 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2572 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2573 sign of result as needed afterwards.
2574 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2575 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2576 result for underflowing pow the same as for overflow.
2577 (__kernel_standard_l): Handle powl overflow and underflow here
2578 rather than calling __kernel_standard.
2579 * math/libm-test.inc (pow_test): Add more tests.
2580
414fca03 2581 [BZ #3868]
41bf21a1
JM
2582 [BZ #13879]
2583 [BZ #13910]
2584 [BZ #13911]
2585 [BZ #13912]
2586 [BZ #13913]
2587 [BZ #13915]
2588 [BZ #13916]
2589 [BZ #13917]
2590 [BZ #13918]
2591 [BZ #13919]
2592 [BZ #13920]
2593 [BZ #13921]
2594 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2595 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2596 (__kernel_standard_l): New function.
2597 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2598 __kernel_standard.
2599 * math/w_acosl.c (__acosl): Likewise.
2600 * math/w_asinl.c (__asinl): Likewise.
2601 * math/w_atan2l.c (__atan2l): Likewise.
2602 * math/w_atanhl.c (__atanhl): Likewise.
2603 * math/w_coshl.c (__coshl): Likewise.
2604 * math/w_exp10l.c (__exp10l): Likewise.
2605 * math/w_exp2l.c (__exp2l): Likewise.
2606 * math/w_fmodl.c (__fmodl): Likewise.
2607 * math/w_hypotl.c (__hypotl): Likewise.
2608 * math/w_j0l.c (__j0l, __y0l): Likewise.
2609 * math/w_j1l.c (__j1l, __y1l): Likewise.
2610 * math/w_jnl.c (__jnl, __ynl): Likewise.
2611 * math/w_lgammal.c (__lgammal): Likewise.
2612 * math/w_log10l.c (__log10l): Likewise.
2613 * math/w_log2l.c (__log2l): Likewise.
2614 * math/w_logl.c (__logl): Likewise.
2615 * math/w_powl.c (__powl): Likewise.
2616 * math/w_remainderl.c (__remainderl): Likewise.
2617 * math/w_scalbl.c (sysv_scalbl): Likewise.
2618 * math/w_sinhl.c (__sinhl): Likewise.
2619 * math/w_sqrtl.c (__sqrtl): Likewise.
2620 * math/w_tgammal.c (__tgammal): Likewise.
2621 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2622 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2623 * math/libm-test.inc (acos_test): Add more tests.
2624 (acosh_test): Likewise.
2625 (asin_test): Likewise.
2626 (atanh_test): Likewise.
2627 (exp_test): Likewise.
2628 (exp10_test): Likewise.
2629 (exp2_test): Likewise.
2630 (expm1_test): Likewise.
2631 (lgamma_test): Likewise.
2632 (log_test): Likewise.
2633 (log10_test): Likewise.
2634 (log1p_test): Likewise.
2635 (log2_test): Likewise.
2636 (pow_test): Do not allow some spurious overflow exceptions.
2637 (sqrt_test): Add more tests.
2638 (tgamma_test): Likewise.
2639 (y0_test): Likewise.
2640 (y1_test): Likewise.
2641 (yn_test): Likewise.
2642
dd62fda6
AB
26432012-03-27 Anton Blanchard <anton@samba.org>
2644
2645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2646 MAP_HUGETLB.
2647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2650
1e3cdfda
AJ
26512012-03-27 David S. Miller <davem@davemloft.net>
2652
b855ab85
DM
2653 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2654
1e3cdfda
AJ
2655 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2656 have-as-vis3 check.
2657
26582012-03-27 Andreas Jaeger <aj@suse.de>
2659
2660 * sysdeps/x86_64/elf/configure.in: Moved to ...
2661 * sysdeps/x86_64/configure.in: ... here.
2662 * sysdeps/x86_64/elf/start.S: Moved to ...
2663 * sysdeps/x86_64/start.S: ... here.
2664 * sysdeps/x86_64/elf/configure: Delete.
2665
2666 * sysdeps/x86_64/configure.in: Merge contents from
2667 sysdeps/i386/configure.in (without i686 check).
2668
2669 * sysdeps/i386/elf/Versions: Merge into ...
2670 * sysdeps/i386/Versions: ... this.
2671 * sysdeps/i386/elf/Versions: Delete file.
2672 * sysdeps/i386/elf/start.S: Moved to ...
2673 * sysdeps/i386/start.S: ...here.
2674 * sysdeps/i386/elf/configure.in: Merge into...
2675 * sysdeps/i386/configure.in: ...here.
2676 * sysdeps/i386/elf/configure.in: Delete file.
2677 * sysdeps/i386/elf/configure: Delete file.
2678
2679 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2680 * debug/backtracesyms.c: ... here.
2681 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2682 * debug/backtracesymsfd.c: ... here.
2683 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2684 * sysdeps/generic/ifunc-sel.h: ... here.
2685
2686 * sysdeps/unix/i386/start.c: Delete file.
2687 * sysdeps/unix/sparc/start.c: Delete file.
2688 * sysdeps/unix/start.c: Delete file.
2689
2690 * sysdeps/sh/elf/configure.in: Moved to ...
2691 * sysdeps/sh/configure.in: ... here.
2692 * sysdeps/sh/elf/start.S: Moved to ...
2693 * sysdeps/sh/start.S: ... here.
2694 * sysdeps/sh/elf/configure: Delete file.
2695
2696 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2697 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2698 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2699 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2700 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2701 * sysdeps/powerpc/powerpc64/start.S: here.
2702 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2703 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2704 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2705 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2706 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2707
2708 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2709 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2710 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2711 * sysdeps/powerpc/powerpc32/start.S: ... here.
2712 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2713 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2714 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2715
2716 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2717 * sysdeps/powerpc/ifunc-sel.h: ... here.
2718 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2719 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2720
2721 * sysdeps/sparc/elf/configure.in: Moved to ...
2722 * sysdeps/sparc/configure.in: ... here.
2723 * sysdeps/sparc/elf/configure: Delete file.
2724 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2725 * sysdeps/sparc/sparc32/start.S: ... here.
2726 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2727 * sysdeps/sparc/sparc64/start.S: ... here.
2728 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2729 * sysdeps/sparc/sparc32/Makefile: ... this.
2730 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2731 * sysdeps/sparc/sparc64/Makefile: ... this.
2732
2733 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2734 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2735 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2736 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2737 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2738 * sysdeps/s390/s390-32/setjmp.S: ... here.
2739 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2740 * sysdeps/s390/s390-32/configure.in: ... here.
2741 * sysdeps/s390/s390-32/elf/configure: Delete file.
2742 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2743 * sysdeps/s390/s390-32/start.S: ... here.
2744
2745 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2746 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2747 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2748 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2749 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2750 * sysdeps/s390/s390-64/setjmp.S: ... here.
2751 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2752 * sysdeps/s390/s390-64/configure.in: ... here
2753 * sysdeps/s390/s390-64/elf/configure: Delete file.
2754 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2755 * sysdeps/s390/s390-64/start.S: ... here.
2756 * sysdeps/s390/s390-64/elf/configure: Delete.
2757
2758 * configure.in: Remove support for elf directories in sysdeps.
2759
2760 * configure: Regenerated.
2761 * sysdeps/i386/configure: Regenerated.
2762 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2763 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2764 * sysdeps/s390/s390-32/configure: Regenerated.
2765 * sysdeps/s390/s390-64/configure: Regenerated.
2766 * sysdeps/sh/configure: Regenerated.
2767 * sysdeps/sparc/configure: Regenerated.
2768 * sysdeps/x86_64/configure: Regenerated.
2769
a3f61311
AS
27702012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2771
c876e002
AS
2772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2773
a3f61311
AS
2774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2775 denormal result into account.
2776
ac4c54f0
RM
27772012-03-25 Roland McGrath <roland@hack.frob.com>
2778
2779 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2780 Reported by Allan McRae <allan@archlinux.org>.
2781
6a9b9c02
JL
27822012-03-23 Jeff Law <law@redhat.com>
2783
2784 * nss/getnssent.c (__nss_getent): Fix typo.
2785
4c42a0c1
DM
27862012-03-23 David S. Miller <davem@davemloft.net>
2787
2788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2789
1532c7ac
L
27902012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2791
2792 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2793 to pad to uint64_t for each field.
2794 (dl_tls_index): Replace unsigned long with uint64_t.
2795
3ff42526
PP
27962012-03-23 Daniel Jacobowitz <dmj@google.com>
2797 Paul Pluzhnikov <ppluzhnikov@google.com>
2798
2799 [BZ #6528]
2800 * grp/Makefile (otherlibs): Don't set it.
2801 * inet/Makefile (otherlibs): Likewise.
2802 * login/Makefile (otherlibs): Likewise.
2803 * nscd/Makefile (otherlibs): Likewise.
2804 * posix/Makefile (otherlibs): Likewise.
2805 * pwd/Makefile (otherlibs): Likewise.
2806 * rt/Makefile (otherlibs): Likewise.
2807 * sunrpc/Makefile (otherlibs): Likewise.
2808 * nss/Makefile (otherlibs): Likewise.
2809 Add libnss_files to routines and static-only-routines.
2810 ($(objpfx)getent): Remove rule.
2811 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2812 static-only-routines.
2813
7c69cd14
JM
28142012-03-22 Joseph Myers <joseph@codesourcery.com>
2815
2816 [BZ #13892]
2817 * math/s_cexp.c: Include <float.h>.
2818 (__cexp): Handle exp result overflowing not necessarily
2819 overflowing both real and imaginary parts of result.
2820 * math/s_cexpf.c: Likewise.
2821 * math/s_cexpl.c: Likewise.
2822 * math/libm-test.inc (cexp_test): Add more tests.
2823 * sysdeps/i386/fpu/libm-test-ulps: Update.
2824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2825
81b035fe
L
28262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2827
2828 * include/link.h (ELFW): New macro.
2829 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2830 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2831
1da7940c
L
28322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2835 with uint64_t.
2836
b749dbb9
L
28372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2840 declaration.
2841 (struct La_x32_retval): Likewise.
2842
2ff87f3f
L
28432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2844
2845 * sysdeps/x86_64/preconfigure.in: New file.
2846 * sysdeps/x86_64/preconfigure: New generated file.
2847
c0df8e69
JM
28482012-03-22 Joseph Myers <joseph@codesourcery.com>
2849
48e44791
JM
2850 [BZ #13824]
2851 * math/e_exp2l.c: Include <float.h>.
2852 (__ieee754_exp2l): Handle overflow and underflow cases
2853 separately. Only pass fractional part of argument to
2854 __ieee754_expl.
2855 * math/libm-test.inc (exp2_test): Add more tests.
2856
c0df8e69
JM
2857 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2858 negating x to take absolute value.
2859 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2860 Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2863 Likewise.
2864 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2865 computing low part if x was negated.
2866 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2867
c8e43ba7
L
28682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2869
2870 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2871 la_x32_gnu_pltexit.
2872 (pltexit): Cast int_retval to ptrdiff_t.
2873 * elf/tst-auditmod3b.c: Likewise.
2874 * elf/tst-auditmod4b.c: Likewise.
2875 * elf/tst-auditmod5b.c: Likewise.
2876 * elf/tst-auditmod6b.c: Likewise.
2877 * elf/tst-auditmod6c.c: Likewise.
2878 * elf/tst-auditmod7b.c: Likewise.
2879
2880 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2881 and x32_gnu_pltexit.
2882
2883 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2884 __ELF_NATIVE_CLASS.
2885 (La_x32_regs): New macro.
2886 (La_x32_retval): Likewise.
2887 (la_x32_gnu_pltenter): New function prototype.
2888 (la_x32_gnu_pltexit): Likewise.
2889
7998fa78
AS
28902012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2891
dcb33988
AS
2892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2893 exponent.
2894
233fc563
AS
2895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2896
7998fa78
AS
2897 * configure.in (libc_cv_cc_nofma): Check for option to disable
2898 generation of FMA instructions.
2899 * configure: Regenerate.
2900 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2901 * sysdeps/ieee754/dbl-64/Makefile: New file.
2902 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2903 Remove brandred-fma4.
2904 (CFLAGS-brandred-fma4.c): Remove.
2905 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2907 define.
2908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2909 define.
2910
8e95c99a
L
29112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2914 LLONG_MAX != LONG_MAX.
2915 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2916 (_fitoa_word): Likewise.
2917 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2918 LLONG_MAX != LONG_MAX.
2919 * stdio-common/_itowa.h: Include <_itoa.h>.
2920 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2921 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2922 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2923 only if not defined.
2924 (_ITOA_WORD_TYPE): Likewise.
2925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2926 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2927
6f4db457
DM
29282012-03-21 David S. Miller <davem@davemloft.net>
2929
2930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2931
7785fe5a
L
29322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2933
2934 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2935 of x86_64 when setting libc_cv_slibdir, libdir and
2936 libc_cv_localedir.
2937 * sysdeps/unix/sysv/linux/configure: Regenerated.
2938
4535cd55
JM
29392012-03-21 Joseph Myers <joseph@codesourcery.com>
2940
2941 * manual/lang.texi (Old Varargs): Remove section.
2942 (How Variadic): Update menu.
2943 (va_start): Do not mention varargs.h.
2944
17228132
TS
29452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2946 Joseph Myers <joseph@codesourcery.com>
2947
2948 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2949 link test.
2950 * configure: Regenerated.
2951
8149f976
TS
29522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2953
05f3d1f6
UD
2954 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2955 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2956 conformtest.pl
8149f976 2957
1a4ac776
JM
29582012-03-21 Joseph Myers <joseph@codesourcery.com>
2959
be22ce65
JM
2960 * NOTES: Remove.
2961 * Makefile (files-for-dist): Remove NOTES.
2962 (NOTES): Remove rule.
2963 * README: Don't refer to NOTES.
2964 * manual/creature.texi: Don't include macros.texi.
2965 * manual/intro.texi (creature.texi): Remove comment referring to
2966 NOTES.
2967
40b601fb
JM
2968 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2969 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2970 * configure: Regenerated.
2971 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2972 LIBC_TRY_CC_OPTION.
2973 (libc_cv_as_i686): Likewise.
2974 (libc_cv_cc_avx): Likewise.
2975 (libc_cv_cc_sse2avx): Likewise.
2976 (libc_cv_cc_fma4): Likewise.
2977 (libc_cv_cc_novzeroupper): Likewise.
2978 * sysdeps/i386/configure: Regenerated.
2979
1a4ac776
JM
2980 [BZ #13883]
2981 * sysdeps/i386/fpu/s_cexp.S: Remove.
2982 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2983 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2984 * math/libm-test.inc (cexp_test): Add more tests.
2985 * sysdeps/i386/fpu/libm-test-ulps: Update.
2986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987
a458e7fe
AM
29882012-03-21 Allan McRae <allan@archlinux.org>
2989
2990 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2991
0cb7efc5
JM
29922012-03-21 Joseph Myers <joseph@codesourcery.com>
2993
2994 [BZ #13871]
2995 * math/w_exp2.c: Do not include <float.h>.
2996 (o_threshold, u_threshold): Remove.
2997 (__exp2): Calculate result before checking finiteness and calling
2998 __kernel_standard.
2999 * math/w_exp2f.c: Likewise.
3000 * math/w_exp2l.c: Likewise.
3001 * math/libm-test.inc (exp2_test): Require overflow exception for
3002 1e6 input.
2460d3aa
JM
3003
3004 [BZ #3866]
3005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3006 range of signed 64-bit integers before using fistpll. Remove
3007 checks for whether integers fit in mantissa bits.
3008 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3009 the range of signed 32-bit integers before using fistpl. Remove
3010 checks for whether integers fit in mantissa bits.
3011 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3012 (__ieee754_powl): Test for y outside the range of signed 64-bit
3013 integers before using fistpll. Reduce 64-bit values to 63-bit
3014 ones as needed.
3015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3016 divide-by-zero is raised for zero to large negative powers.
3017 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3018 (__ieee754_powl): Test for y outside the range of signed 64-bit
3019 integers before using fistpll. Reduce 64-bit values to 63-bit
3020 ones as needed.
3021 * math/libm-test.inc (pow_test): Add more tests.
3022
eb96ffb0
L
30232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3026 <stdio-common/_itoa.h>.
3027 * debug/segfault.c: Likewise.
3028 * elf/dl-cache.c: Likewise.
3029 * elf/dl-minimal.c: Likewise.
3030 * elf/dl-misc.c: Likewise.
3031 * elf/dl-sysdep.c: Likewise.
3032 * elf/dl-version.c: Likewise.
3033 * elf/rtld.c: Likewise.
3034 * hurd/hurdsock.c: Likewise.
3035 * hurd/lookup-retry.c: Likewise.
3036 * malloc/malloc.c: Likewise.
3037 * malloc/mtrace.c: Likewise.
3038 * nscd/nscd_getgr_r.c: Likewise.
3039 * nscd/nscd_getpw_r.c: Likewise.
3040 * nscd/nscd_getserv_r.c: Likewise.
3041 * posix/getopt_init.c: Likewise.
3042 * posix/wordexp.c: Likewise.
3043 * stdio-common/_itoa.c: Likewise.
3044 * stdio-common/printf_fphex.c: Likewise.
3045 * stdio-common/vfprintf.c: Likewise.
3046 * string/_strerror.c: Likewise.
3047 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3048 * sysdeps/i386/i686/hp-timing.h: Likewise.
3049 * sysdeps/mach/_strerror.c: Likewise.
3050 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3051 * sysdeps/mach/hurd/sethostid.c: Likewise.
3052 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3053 * sysdeps/mach/xpg-strerror.c: Likewise.
3054 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3055 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3056 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3057 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3059 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3061 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3062 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3063 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3064 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3065 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3066 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3067 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3068 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3069 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3070 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3072 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3073 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3074 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3075
3076 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3077
3078 * stdio-common/_itoa.h: Moved to ...
3079 * sysdeps/generic/_itoa.h: Here.
3080
3081 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3082
3083 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3084 instead of "_itoa.h" and "_itowa.h".
3085 * stdio-common/vfprintf.: Likewise.
3086
d1af992d
L
30872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3088
3089 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3090 <bits/wordsize.h>.
3091 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3092 (__signbit): Likwise.
3093 (llrintf): Likwise.
3094 (llrint): Likwise.
3095
114883e0
L
30962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3099 __WORDSIZE != 64.
3100
c135cc1b
JM
31012012-03-20 Joseph Myers <joseph@codesourcery.com>
3102
3103 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3104 OVERFLOW_EXCEPTION_OK.
3105 * math/libm-test.inc ("Philosophy"): Update comment about
3106 exception testing.
3107 (OVERFLOW_EXCEPTION): Define.
3108 (OVERFLOW_EXCEPTION_OK): Likewise.
3109 (INVALID_EXCEPTION_OK): Renumber.
3110 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3111 (IGNORE_ZERO_INF_SIGN): Likewise.
3112 (test_exceptions): Handle FE_OVERFLOW.
3113 (exp10_test): Expect overflow exceptions.
3114 (exp2_test): Likewise.
3115 (expm1_test): Likewise.
3116 (nextafter_test): Likewise.
3117 (pow_test): Likewise.
3118 (scalbn_test): Likewise.
3119 (scalbln_test): Likewise.
3120
95443d88
L
31212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3122
3123 * sysdeps/x86_64/bits/atomic.h
3124 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3125 64bit integer.
3126 (atomic_exchange_acq): Likewise.
3127 (__arch_exchange_and_add_body): Likewise.
3128 (__arch_add_body): Likewise.
3129 (atomic_add_negative): Likewise.
3130 (atomic_add_zero): Likewise.
3131
490df6c4
L
31322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3133
c2722551 3134 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3135 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3136
5e52b189
L
31372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3140 Check __x86_64__ instead of __WORDSIZE.
3141
a9879d4c
L
31422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3143
3144 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3145
5df98260
DM
31462012-03-19 David S. Miller <davem@davemloft.net>
3147
e1497744
DM
3148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3149
5df98260
DM
3150 * sysdeps/sparc/fpu/fenv_private.h: New file.
3151 * sysdeps/sparc/fpu/math_private.h: Use it.
3152 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3153 Remove.
3154 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3155 (libc_feholdexcept_setroundl): Remove.
3156 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3157 Remove.
3158 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3159 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3160
b4c35121
L
31612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3164 int64_t instead of long int.
3165 (INSERT_WORDS64): Likwise.
3166
56965fd7
L
31672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3170 _Unwind_GetCFA return to _Unwind_Ptr first.
3171
83d1aec8
JM
31722012-03-19 Joseph Myers <joseph@codesourcery.com>
3173
1897ad44
JM
3174 [BZ #13629]
3175 * math/s_clog.c: Include <float.h>.
3176 (__clog): Scale large or subnormal inputs.
3177 * math/s_clogf.c: Likewise.
3178 * math/s_clogl.c: Likewise.
3179 * math/s_clog10.c: Include <float.h>.
3180 (M_LOG10_2): Define.
3181 (__clog10): Scale large or subnormal inputs.
3182 * math/s_clog10f.c: Likewise.
3183 * math/s_clog10l.c: Likewise.
3184 * math/libm-test.inc (clog_test): Add more tests.
3185 (clog10_test): Likewise.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188
7726d6a9
JM
3189 [BZ #11451]
3190 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3191 x and y.
3192 * math/libm-test.inc (atan2_test): Add another test.
3193
83d1aec8
JM
3194 * Makerules (common-objdir-compile): Remove.
3195 * sysdeps/unix/Makefile (config-generated): Do not add
3196 $(unix-generated) to variable.
3197 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3198 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3199 Remove rule.
3200 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3201 Likewise.
3202 [generic bits/local_lim.h] (before-compile): Do not append to
3203 variable.
3204 [generic bits/local_lim.h] (common-generated): Likewise.
3205 [generic sys/param.h] (before-compile): Do not append to variable.
3206 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3207 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3208 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3209 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3210 include.
3211 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3212 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3213 [generic sys/param.h] ($(addprefix
3214 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3215 [generic sys/param.h] (common-generated): Do not append to
3216 variable.
3217 [generic sys/param.h] (sysdep_headers): Likewise.
3218 [generic bits/errno.h] (before-compile): Do not append to
3219 variable.
3220 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3221 rule.
3222 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3223 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3224 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3225 [generic bits/errno.h] (common-generated): Do not append to
3226 variable.
3227 [generic bits/ioctls.h] (before-compile): Do not append to
3228 variable.
3229 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3230 rule.
3231 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3232 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3233 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3234 rule.
3235 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3236 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3237 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3238 [generic bits/ioctls.h] (common-generated): Do not append to
3239 variable.
3240 [generic sys/syscall.h] (syscall.h): Remove variable.
3241 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3242 rule.
3243 [generic sys/syscall.h] (before-compile): Do not append to
3244 variable.
3245 [generic sys/syscall.h] (common-generated): Likewise.
3246 * sysdeps/unix/errnos-tmpl.c: Remove file.
3247 * sysdeps/unix/errnos.awk: Likewise.
3248 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3249 * sysdeps/unix/ioctls.awk: Likewise.
3250 * sysdeps/unix/mk-local_lim.c: Likewise.
3251 * sysdeps/unix/snarf-ioctls: Likewise.
3252
4851a949
RH
32532012-03-19 Richard Henderson <rth@twiddle.net>
3254
bd37f2ee
RH
3255 * sysdeps/i386/fpu/fenv_private.h: New file.
3256 * sysdeps/i386/fpu/math_private.h: Use it.
3257 (math_opt_barrier, math_force_eval): Remove.
3258 (libc_feholdexcept_setround_53bit): Remove.
3259 (libc_feupdateenv_53bit): Remove.
3260 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3261 (math_opt_barrier, math_force_eval): Remove.
3262 (libc_feholdexcept): Remove.
3263 (libc_feholdexcept_setround): Remove.
3264 (libc_fetestexcept, libc_fesetenv): Remove.
3265 (libc_feupdateenv_test): Remove.
3266 (libc_feupdateenv, libc_feholdsetround): Remove.
3267 (libc_feresetround): Remove.
3268
d0adc922
RH
3269 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3270 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3271
0fe0f1f8
RH
3272 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3273 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3274 (libc_feupdateenv_testl): New.
3275 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3276 (libc_feupdateenv_testf): New.
3277 (libc_feupdateenv): Use libc_feupdateenv_test.
3278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3280
eb92c487
RH
3281 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3282 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3283 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3284 (libc_feresetround_noex): New.
3285 (libc_feresetround_noexf): New.
3286 (libc_feresetround_noexl): New.
3287 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3288 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3289 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3290 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3291 SET_RESTORE_ROUND.
3292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3294 (__cos): Likewise.
3295 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3296 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3297 SET_RESTORE_ROUND_NOEX.
3298 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3299 SET_RESTORE_ROUND_NOEXF.
3300 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3301 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3302 (libc_feholdsetroundf): New.
3303 (libc_feresetround, libc_feresetroundf): New.
3304
7d2e8012
RH
3305 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3306 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3307 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3308
b4dabbb4
RH
3309 * sysdeps/generic/math_private.h: Include <fenv.h>.
3310 (default_libc_feholdexcept): New.
3311 (default_libc_feholdexcept_setround): New.
3312 (default_libc_fesetenv, default_libc_feupdateenv): New.
3313 (libc_feholdexcept): Only define if undefined.
3314 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3315 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3316 (libc_feholdexcept_setroundl): Likewise.
3317 (libc_feholdexcept_setround_53bit): Likewise.
3318 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3319 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3320 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3321 (libc_feupdateenv_53bit): Likewise.
3322 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3323 (libc_feholdexcept): Convert from macro to inline function.
3324 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3325 (libc_fesetenv, libc_feupdateenv): Likewise.
3326
4851a949
RH
3327 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3328 not previously defined.
3329 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3330 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3331 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3332 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3333 * sysdeps/ieee754/flt-32/math_private.h: New file.
3334 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3335 math_private.h below SET_FLOAT_WORD.
3336 (__isnan, __isinf_ns, __finite): Remove.
3337 (__isnanf, __isinf_nsf, __finitef): Remove.
3338
e79d442e
AS
33392012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3340
3341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3342
90b80344
DM
33432012-03-17 David S. Miller <davem@davemloft.net>
3344
3345 [BZ #6471]
3346 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3347 for 2.16.
3348
edc21804
DM
33492012-03-16 David S. Miller <davem@davemloft.net>
3350
77e927af
DM
3351 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3352 warnings.
3353
374976dd
DM
3354 [BZ #6471]
3355 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3356 properly.
3357 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3358 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3359 sysdep_routines when subdir is sysvipc.
3360 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3361 __getshmlba helper.
3362
edc21804
DM
3363 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3364
473c3ef3
L
33652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3368 [__LP64__].
3369
eb0f39b6
L
33702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3371
3372 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3373 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3374 (__lround): Renamed to ...
3375 (__llround): This. Replace long int with long long int.
3376 Define lround functions as aliases of llround functions.
3377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3378
6b6cd74b
L
33792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3382 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3383 adresses to uintptr_t. Replace "long int" and "unsigned long
3384 int" with "greg_t" on va_arg.
3385
f1a77b01
L
33862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3389 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3390
3391 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3392 Move e_machine check before EI_CLASS check. Handle x32
3393 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3394 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3395 SKIP_EM_IA_64 and include
3396 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3397
3398 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3399 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3400 (add_system_dir): New macro.
3401
3402 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3403 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3404
11b90b9f
JM
34052012-03-16 Joseph Myers <joseph@codesourcery.com>
3406
c36e1d23
JM
3407 [BZ #2551]
3408 [BZ #2552]
3409 [BZ #2553]
3410 [BZ #2554]
3411 [BZ #2562]
3412 [BZ #2563]
3413 [BZ #2565]
3414 [BZ #2566]
3415 [BZ #2576]
3416 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3417 (y0): Likewise.
3418 * math/w_j0f.c (j0f): Likewise.
3419 (y0f): Likewise.
3420 * math/w_j0l.c (__j0l): Likewise.
3421 (__y0l): Likewise.
3422 * math/w_j1.c (j1): Likewise.
3423 (y1): Likewise.
3424 * math/w_j1f.c (j1f): Likewise.
3425 (y1f): Likewise.
3426 * math/w_j1l.c (__j1l): Likewise.
3427 (__y1l): Likewise.
3428 * math/w_jn.c (jn): Likewise.
3429 (yn): Likewise.
3430 * math/w_jnf.c (jnf): Likewise.
3431 (ynf): Likewise.
3432 * math/w_jnl.c (__jnl): Likewise.
3433 (__ynl): Likewise.
3434 * math/libm-test.inc (j0_test): Add more tests.
3435 (j1_test): Likewise.
3436 (jn_test): Likewise. Add trailing semicolon to existing test.
3437 (y0_test): Likewise.
3438 (y1_test): Likewise.
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3441
11b90b9f
JM
3442 [BZ #13851]
3443 [BZ #13854]
3444 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3445 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3446 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3448 (__tanl): Set errno for infinite argument.
3449 * sysdeps/i386/fpu/mptan.c: Remove.
3450 * sysdeps/i386/fpu/s_tan.S: Likewise.
3451 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3452 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3453 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3454 * math/libm-test.inc (tan_test): Add more tests and enable more
3455 tests for double and long double.
3456 * sysdeps/i386/fpu/libm-test-ulps: Update.
3457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3458
6a1bd2a1
JK
34592012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3460
3461 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3462 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3463
10a803e0
RM
34642012-03-16 Roland McGrath <roland@hack.frob.com>
3465
3466 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3467 * configure.in: Use it for both main tree and add-ons.
3468 * configure: Regenerated.
3469
f196c7f7
L
34702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3473
8848d99d
JM
34742012-03-16 Joseph Myers <joseph@codesourcery.com>
3475
96cbe7f4
JM
3476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3477 in comment.
3478
8848d99d
JM
3479 [BZ #13851]
3480 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3481 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3482 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3485 infinite argument.
3486 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3488 != 0 for prec == 2.
3489 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3490 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3491 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3492 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3493 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3494 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3495 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3496 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3497 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3498 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3499 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3500 * math/libm-test.inc (cos_test): Add more tests and enable more
3501 tests for long double.
3502 (sin_test): Likewise.
3503 (sincos_test): Likewise.
3504 * sysdeps/i386/fpu/libm-test-ulps: Update.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506
dd7f4703
DM
35072012-03-16 David S. Miller <davem@davemloft.net>
3508
3509 * sysdeps/sparc/fpu/math_private.h: New file.
3510
006f1daa
DM
35112012-03-15 David S. Miller <davem@davemloft.net>
3512
c0c83bc8
DM
3513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3514 file.
e6a62e18 3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3517 file.
e6a62e18
DM
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3524 sysdep routines.
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3526
88cb87d9
DM
3527 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3528 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3529
006f1daa 3530 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3532 sparc-ifunc.h
006f1daa 3533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3535 Likewise.
3536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3537 Likewise.
006f1daa
DM
3538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3542 Likewise.
006f1daa
DM
3543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3548 Likewise.
3549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3550 Likewise.
006f1daa
DM
3551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3575
11e0098e
AS
35762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3577
3578 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3579 scaling.
3580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3581
e85b09d0
AJ
35822012-03-15 Andreas Jaeger <aj@suse.de>
3583
3584 [BZ #13852]
3585 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3586 ieee754/flt-32 implementation for sin, cos and sincos.
3587 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3588 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3589 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3590 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3591 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3592 ieee754/flt-32 implementation for tan.
3593
3594 * math/libm-test.inc (cos_test): Enable some large input tests for
3595 float as well
3596 (sin_test): Likewise.
3597 (sincos_test): Likewise.
3598 (tan_test): Add tests for large input.
3599
3600 * sysdeps/i386/fpu/libm-test-ulps: Update.
3601
81c64153
AJ
36022012-03-15 Andreas Jaeger <aj@suse.de>
3603
3604 [BZ #13658]
3605 * math/libm-test.inc (cos_test): Add more test cases.
3606 (sin_test): Likewise.
3607 (sincos_test): Likewise.
3608
7bbfa5c6
AJ
36092012-03-15 Andreas Jaeger <aj@suse.de>
3610
3611 [BZ #13837]
3612 * math/libm-test.inc (cos_test): Add a test case for large input
3613 value.
3614 (sin_test): Likewise.
3615 (sincos_test): Likewise.
3616
36172012-03-15 Andreas Jaeger <aj@suse.de>,
3618 Joseph Myers <joseph@codesourcery.com>
3619
3620 [BZ #13658]
0671f479 3621 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3622 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3623 * sysdeps/i386/fpu/branred.c: Likewise.
3624 * sysdeps/i386/fpu/dosincos.c: Likewise.
3625 * sysdeps/i386/fpu/mpa.c: Likewise.
3626 * sysdeps/i386/fpu/s_cos.S: Likewise.
3627 * sysdeps/i386/fpu/s_sin.S: Likewise.
3628 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3629 * sysdeps/i386/fpu/sincos32.c: Likewise.
3630
3631 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3632 Define.
3633 (libc_feupdateenv_53bit): Define.
3634 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3635 Define.
3636 (libc_feupdateenv_53bit): Define.
3637
3638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3639 53 bit (without extend i386 double precision).
3640
3641 * math/libm-test.inc (sincos_test): Add tests for large input.
3642 (sin): Likewise.
3643 (cos): Likewise.
3644
3645 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3646
9cad04ea
AS
36472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3648
3649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3650
f7062b9a
DM
36512012-03-15 David S. Miller <davem@davemloft.net>
3652
3653 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3654 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3655 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3656 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3669 file.
f7062b9a 3670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3672 file.
f7062b9a 3673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3675 file.
f7062b9a 3676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3678 file.
f7062b9a
DM
3679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3681 fmin/fmax sysdep routines.
3682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3683
7bd951ff
DM
36842012-03-14 David S. Miller <davem@davemloft.net>
3685
559398ab
DM
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3715 routines.
3716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3717 file.
559398ab 3718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3720 file.
559398ab 3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3723 file.
559398ab 3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3726 file.
559398ab 3727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3729 file.
559398ab 3730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3732 file.
3733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3734 file.
3735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3736 file.
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3738 file.
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3740 New file.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3742 file.
3743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3744 file.
559398ab 3745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3747 file.
559398ab 3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3750 file.
559398ab 3751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3753 file.
559398ab 3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3756 VIS3 routines.
559398ab
DM
3757
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3759 New file.
3760
5a1c1e32
DM
3761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3762
eae47a36
DM
3763 * sysdeps/sparc/configure.in: New file.
3764 * sysdeps/sparc/configure: Generate.
3765 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3766 * configure: Regenerate.
3767 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3768 * config.make.in (have-as-vis3): New.
3769 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3770 available use -Av9d instead of -Av9a.
3771 * sysdeps/sparc/sparc64/Makefile: Likewise.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3774 New file.
3775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3776 file.
3777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3778 New file.
3779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3780 file.
eae47a36
DM
3781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3786
c0c83bc8
DM
3787 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3788 fzeros/fnegs to load 0x80000000 into a float register instead of
3789 using the stack.
7bd951ff
DM
3790 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3791
bd951ccb
JM
37922012-03-14 Joseph Myers <joseph@codesourcery.com>
3793
3794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3795 bits/syscall.h.
3796 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3797 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3798 ($(inst_includedir)/bits/syscall.h): Remove rule.
3799 ($(objpfx)bits/syscall.d): Include instead of
3800 $(objpfx)syscall-list.d.
3801 (generated): Change syscall-list.h and syscall-list.d to
3802 bits/syscall.h and bits/syscall.d.
3803
bb4e6db2
RM
38042012-03-14 Roland McGrath <roland@hack.frob.com>
3805
3806 [BZ #13846]
3807 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3808
aa4a2ae1
JM
38092012-03-14 Joseph Myers <joseph@codesourcery.com>
3810
e456826d
JM
3811 [BZ #13841]
3812 * math/s_csqrt.c: Include <float.h>.
3813 (__csqrt): Scale large or subnormal inputs.
3814 * math/s_csqrtf.c: Likewise.
3815 * math/s_csqrtl.c: Likewise.
3816 * math/libm-test.inc (csqrt_test): Add more tests.
3817 * sysdeps/i386/fpu/libm-test-ulps: Update.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3819
aa4a2ae1
JM
3820 [BZ #13840]
3821 * math/libm-test.inc (hypot_test): Add more tests.
3822
7c10fd35
DM
38232012-03-13 David S. Miller <davem@davemloft.net>
3824
3825 [BZ #13840]
3826 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3827 double-precision for the calculation instead of scaling.
3828
f453b98b
JM
38292012-03-13 Joseph Myers <joseph@codesourcery.com>
3830
3831 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3832 manipulate bits before adding and subtracting TWO52[sx].
3833 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3834 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3835 Likewise.
3836 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3837
09a3453f
DM
38382012-03-13 David S. Miller <davem@davemloft.net>
3839
8e59da90
DM
3840 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3841 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3843 rtld-global-offsets.h
3844 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3845
2a8ab7f2
DM
3846 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3847 large parameters.
3848
10f62770
DM
3849 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3850
5f0bdb18
DM
3851 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3852 'err' in the ifdef scope in which it is actually used.
3853
09a3453f
DM
3854 * nss/nss_db/db-init.c: Include string.h
3855
b4b2eb5e
DM
38562012-03-12 David S. Miller <davem@davemloft.net>
3857
98bb2f1c
DM
3858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3859 masking out of the most significant byte of random value used.
3860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3861 Fix coding style in previous change.
3862
b4b2eb5e
DM
3863 * sysdeps/unix/sysv/linux/kernel-features.h
3864 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3865 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3866 expression.
3867 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3868 later.
3869
6e226b09
DM
38702012-03-11 David S. Miller <davem@davemloft.net>
3871
a1bcbd40
DM
3872 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3873 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3875 for 'resultvar' otherwise things get truncated on 64-bit.
3876
cb9d6174
DM
3877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3878 Fix masking out of the most significant byte of random value used.
3879
6e226b09
DM
3880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3881
058c132d
AS
38822012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3883
3884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3885
2d2cd515
DM
38862012-03-09 David S. Miller <davem@davemloft.net>
3887
3888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3889 variables with appropriate CPP guards.
3890 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3891 frame pointer, not the stack pointer. Correct layout comments. Fix test
3892 on resulting framesize and the management of the outregs buffer for pltexit.
3893 Preserve floating point return values across _dl_call_pltexit call.
3894 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3895 framesize and the management of the outregs buffer for pltexit.
3896 Preserve floating point return values across _dl_call_pltexit
3897 call.
3898 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3899 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3900 (print_exit): Fix format string for return register value.
3901
9a07f9d0
JM
39022012-03-10 Joseph Myers <joseph@codesourcery.com>
3903
3904 * sunrpc/Makefile (others): Add rpcgen.
3905 ($(objpfx)rpcgen): Remove special build rule and dependency on
3906 libc.
3907 * sunrpc/rpcgen.c: New file.
3908
547b5e30
PE
39092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3910
c524201a
PE
3911 [BZ #13673]
3912 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3913 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3914 * sysdeps/i386/crti.S: Likewise.
3915 * sysdeps/i386/crtn.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3920 * sysdeps/sh/crti.S: Likewise.
3921 * sysdeps/sh/crtn.S: Likewise.
3922 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3923
7b6235f2
PE
3924 [BZ #13673]
3925 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3926 with URL.
3927 * locale/programs/locfile-kw.gperf: Likewise.
3928 * locale/programs/charmap-kw.h: Regenerated.
3929 * locale/programs/locfile-kw.h: Likewise.
3930
547b5e30
PE
3931 [BZ #13673]
3932 * intl/plural.y: Replace FSF snail mail address with URL.
3933 * intl/plural.c: Regenerated.
3934
5f0a5dae
RH
39352012-03-09 Richard Henderson <rth@twiddle.net>
3936
3937 * include/math_private.h: Remove file.
3938 * math/math_private.h: Move file ...
3939 * sysdeps/generic/math_private.h: ... here.
3940
b8c03620
RH
3941 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3942 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3943 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3944
4e234f5d 3945 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3946 and <math_private.h>.
3947 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3948 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3949 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3950 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3951 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4035 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4052 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4055 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4057 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4058 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4061 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4064 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4074 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4082 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4083 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4085 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4086 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4088 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4090 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4091 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4092 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4093 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4094 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4095 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4096 * sysdeps/ieee754/k_standard.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4246 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4257 * sysdeps/ieee754/s_lib_version.c: Likewise.
4258 * sysdeps/ieee754/s_matherr.c: Likewise.
4259 * sysdeps/ieee754/s_signgam.c: Likewise.
4260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4263 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4264 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4266 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4267 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4268 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4269 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4270 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4271 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4272 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4274 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4275 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4281
1991fa03
JM
42822012-03-09 Joseph Myers <joseph@codesourcery.com>
4283
4284 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4285 * sunrpc/rpc_main.c: Likewise.
4286 * sunrpc/rpc_svcout.c: Likewise.
4287
60d6f5a6
DM
42882012-03-09 David S. Miller <davem@davemloft.net>
4289
4290 * include/math_private.h: New file.
4291
4962050e
JM
42922012-03-09 Joseph Myers <joseph@codesourcery.com>
4293
02a6f887
JM
4294 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4295 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4296 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4297 from <bits/socket_type.h>.
4298 (enum __socket_type): Don't define here.
4299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4301 bits/socket_type.h.
4302
c6e013c1
JM
4303 [BZ #13566]
4304 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4305 checking __USE_GNU.
4306
4962050e
JM
4307 * Makerules ($(inst_includedir)/%.h): New rule.
4308 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4309 (install-others): Remove variable setting.
4310 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4311
38842f45
RH
43122012-03-08 Richard Henderson <rth@twiddle.net>
4313
67bb6da6
RH
4314 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4315 from macro to inline function; merge with the
4316 !__LIBC_INTERNAL_MATH_INLINES version.
4317 (__ieee754_sqrtf): Likewise.
4318
15194b4b
RH
4319 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4320 to inline function.
4321 (__rintf, __floor, __floorf): Likewise.
4322
64e21ede
RH
4323 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4324 macro to inline function.
4325 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4326
38842f45
RH
4327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4328 not <math/math_private.h>.
4329
c64bf5fe
DM
43302012-03-08 David S. Miller <davem@davemloft.net>
4331
4332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4333 copyright year.
4334 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4335
82d86f28
TS
43362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4337
4338 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4339 normalization.
4340 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4341 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4342
aea5d727
UD
43432012-03-08 Ulrich Drepper <drepper@gmail.com>
4344
4345 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4346 be defined individually, they must be defined as a block. Define
4347 S for printing a string instead of hidint the different by using a
4348 macro for adding the 'l'.
4349 * stdio-common/tst-fphex-wide.c: Adjust.
4350
70bca0a3
MP
43512012-03-07 Marek Polacek <polacek@redhat.com>
4352
4353 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4354
65b81130
MP
43552012-03-08 Marek Polacek <polacek@redhat.com>
4356
4357 [BZ #13806]
4358 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4359 * stdio-common/tst-fphex.c: Define a few macros to make the
4360 test reusable. Use them.
4361 * stdio-common/tst-fphex-wide.c: New file.
4362
07037eeb
JM
43632012-03-08 Joseph Myers <joseph@codesourcery.com>
4364
a7a93d50
JM
4365 [BZ #6911]
4366 * manual/macros.texi (gnusystems): New macro.
4367 (nongnusystems): Likewise.
4368 (gnulinuxhurdsystems): Likewise.
4369 (gnuhurdsystems): Likewise..
4370 (gnulinuxsystems): Likewise.
4371 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4372 variants of the GNU system, not "GNU system".
4373 * manual/conf.texi: Likewise.
4374 * manual/errno.texi: Likewise. Update example of errno macro
4375 expansion.
4376 * manual/filesys.texi: Likewise.
4377 (getumask): Document as specific to GNU/Hurd.
4378 * manual/install.texi: Likewise. Reword some references to
4379 GNU/Linux.
4380 * manual/intro.texi: Likewise.
4381 * manual/io.texi: Likewise.
4382 (File Name Portability): Detail which constraints are inapplicable
4383 to all GNU systems and which are only inapplicable to GNU/Hurd.
4384 * manual/job.texi: Likewise.
4385 * manual/llio.texi: Likewise.
4386 (O_NOCTTY): Document as present on GNU/Linux.
4387 * manual/maint.texi: Likewise.
4388 * manual/memory.texi: Likewise.
4389 * manual/pattern.texi: Likewise.
4390 * manual/pipe.texi: Likewise.
4391 * manual/process.texi: Likewise.
4392 * manual/resource.texi: Likewise.
4393 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4394 child on GNU/Hurd.
4395 * manual/setjmp.texi: Likewise.
4396 * manual/signal.texi: Likewise.
4397 * manual/startup.texi: Likewise.
4398 * manual/stdio.texi: Likewise.
4399 * manual/terminal.texi: Likewise.
4400 (ONLCR): Document as POSIX.
4401 (OXTABS): Document availability on GNU/Linux as XTABS.
4402 (ONOEOT): Document availability separately from other bits.
4403 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4404 * manual/time.texi: Likewise.
4405 * manual/users.texi: Likewise.
4406 * INSTALL: Regenerated.
4407 * sysdeps/gnu/errlist.c: Regenerated.
4408
07037eeb
JM
4409 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4410 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4411 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4412 puts.
4413 * configure: Regenerated.
4414
d1d3431a
JM
44152012-03-07 Joseph Myers <joseph@codesourcery.com>
4416
af6a1e37
JM
4417 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4418 default includes instead of AC_HEADER_CHECK.
4419 * sysdeps/i386/configure: Regenerated.
4420
d1d3431a
JM
4421 [BZ #10716]
4422 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4423 * math/s_cacoshf.c (__cacoshf): Likewise.
4424 * math/s_cacoshl.c (__cacoshl): Likewise.
4425 * math/s_casinh.c (__casinh): Set signs of result from argument.
4426 * math/s_casinhf.c (__casinhf): Likewise.
4427 * math/s_casinhl.c (__casinhl): Likewise.
4428 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4429 (casinh_test): Add more tests.
4430 * sysdeps/i386/fpu/libm-test-ulps: Update.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4432
482ff4da
UD
44332012-03-07 Ulrich Drepper <drepper@gmail.com>
4434
872fda05
UD
4435 * po/zh_TW.po: Update from translation team.
4436
a4300c7a
UD
4437 * login/Makefile (distribute): Remove variable.
4438 * catgets/Makefile: Likewise.
4439 * mach/Makefile: Likewise.
4440 * malloc/Makefile: Likewise.
4441 * misc/Makefile: Likewise.
4442 * iconv/Makefile: Likewise.
4443 * nscd/Makefile: Likewise.
4444 * hurd/Makefile: Likewise.
4445 * manual/Makefile: Likewise.
4446 * locale/Makefile: Likewise.
4447 * intl/Makefile: Likewise.
4448 * conform/Makefile: Likewise.
4449 * nss/Makefile: Likewise.
4450 * time/Makefile: Likewise.
4451 * soft-fp/Makefile: Likewise.
4452 * dirent/Makefile: Likewise.
4453 * gmon/Makefile: Likewise.
4454 * po/Makefile: Likewise.
4455 * rt/Makefile: Likewise.
4456 * socket/Makefile: Likewise.
4457 * math/Makefile: Likewise.
4458 * signal/Makefile: Likewise.
4459 * debug/Makefile: Likewise.
4460 * elf/Makefile: Likewise.
4461 * timezone/Makefile: Likewise.
4462 * stdlib/Makefile: Likewise.
4463 * iconvdata/Makefile: Likewise.
4464 * sunrpc/Makefile: Likewise.
4465 * io/Makefile: Likewise.
4466 * argp/Makefile: Likewise.
4467 * inet/Makefile: Likewise.
4468 * hesiod/Makefile: Likewise.
4469 * grp/Makefile: Likewise.
4470 * csu/Makefile: Likewise.
4471 * wctype/Makefile: Likewise.
4472 * crypt/Makefile: Likewise.
4473 * libio/Makefile: Likewise.
4474 * string/Makefile: Likewise.
4475 * nis/Makefile: Likewise.
4476 * resolv/Makefile: Likewise.
4477 * stdio-common/Makefile: Likewise.
4478 * wcsmbs/Makefile: Likewise.
4479 * dlfcn/Makefile: Likewise.
4480 * posix/Makefile: Likewise.
4481
3b7c4e74 4482 [BZ #6959]
482ff4da
UD
4483 * timezone/Makefile: Don't install timezone files, just the programs
4484 and scripts.
4485
f72ed77d
UD
44862012-03-06 Ulrich Drepper <drepper@gmail.com>
4487
a000466f
UD
4488 * nss/databases.def: Add missing gshadow entry.
4489
f72ed77d
UD
4490 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4491
a53b7a4e
MP
44922012-03-06 Marek Polacek <polacek@redhat.com>
4493
4494 [BZ #13726]
4495 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4496 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4497 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4498 * stdio-common/tst-long-dbl-fphex.c: New file.
4499
e9258400
DM
45002012-03-06 David S. Miller <davem@davemloft.net>
4501
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4503 (set_obp_int): New function.
4504 (get_obp_int): New function.
4505 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4507 Avoid unused variable warnings on 'val' and use builtin_expect.
4508 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4509 __builtin_expect.
e9258400
DM
4510 (INLINE_CLONE_SYSCALL): Likewise.
4511
3bd2c723
DM
45122012-03-05 David S. Miller <davem@davemloft.net>
4513
4514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4515
bbb78d03
AS
45162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4517
884c5db4
AS
4518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4519
bbb78d03
AS
4520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4521 only for |x| >= 40.
4522 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4523
1c9f702a 45242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4525
4526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4527 Replace gettimeofday with __vdso_gettimeofday.
4528
7be16f82
RM
4529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4530 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4531 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4532
4533 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4534 time with __vdso_time.
4535
ed58a00f
JM
45362012-03-05 Joseph Myers <joseph@codesourcery.com>
4537
4538 * manual/lang.texi (size_t): Note types to which size_t may be
4539 equivalent with the GNU C Library, but do not describe when
4540 differences between them are significant.
4541
30ee4ced
AJ
45422012-03-05 Andreas Jaeger <aj@suse.de>
4543
4544 * sysdeps/i386/fpu/libm-test-ulps: Update.
4545
b7cd39e8
JM
45462012-03-05 Joseph Myers <joseph@codesourcery.com>
4547
4548 [BZ #3976]
4549 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4550 (__ieee754_pow): Save and restore rounding mode and use
4551 round-to-nearest for main computations.
4552 * math/libm-test.inc (pow_test_tonearest): New function.
4553 (pow_test_towardzero): Likewise.
4554 (pow_test_downward): Likewise.
4555 (pow_test_upward): Likewise.
4556 (main): Call the new functions.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4559
4560 [BZ #3976]
4561 * math/libm-test.inc (cosh_test_tonearest): New function.
4562 (cosh_test_towardzero): Likewise.
4563 (cosh_test_downward): Likewise.
4564 (cosh_test_upward): Likewise.
4565 (sinh_test_tonearest): Likewise.
4566 (sinh_test_towardzero): Likewise.
4567 (sinh_test_downward): Likewise.
4568 (sinh_test_upward): Likewise.
4569 (main): Call the new functions.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572
6c6a98c9
TV
45732012-03-05 Tom de Vries <tom@codesourcery.com>
4574
4575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4576 default stack guard is set in last bytes.
4577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4578
21bb2d2e 45792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4580
21bb2d2e 4581 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4582
21bb2d2e
AJ
4583 [BZ #13656]
4584 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4585 possibly allocate from heap instead of stack.
4586 * stdio-common/bug-vfprintf-nargs.c: New file.
4587 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4588
c6922934
AS
45892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4590
4591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4592
bc957d53
MP
45932012-03-03 Marek Polacek <polacek@redhat.com>
4594
4595 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4596 * math/math_private.h: Likewise.
4597 * stdlib/tst-strtod.c: Likewise.
4598 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4599 * sysdeps/x86_64/bits/atomic.h: Likewise.
4600
6358490d
DM
46012012-03-02 David S. Miller <davem@davemloft.net>
4602
4603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4610 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4611
01ae168d
RM
46122012-03-02 Roland McGrath <roland@hack.frob.com>
4613
d9a17c07
RM
4614 [BZ #13792]
4615 * manual/examples/README: New file, says the example source files
4616 can be used under GPL>=2.
4617 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4618 line containing just "*/".
4619 * manual/examples/add.c: Add copyright header (GPL>=2).
4620 * manual/examples/argp-ex1.c: Likewise.
4621 * manual/examples/argp-ex2.c: Likewise.
4622 * manual/examples/argp-ex3.c: Likewise.
4623 * manual/examples/argp-ex4.c: Likewise.
4624 * manual/examples/atexit.c: Likewise.
4625 * manual/examples/db.c: Likewise.
4626 * manual/examples/dir.c: Likewise.
4627 * manual/examples/dir2.c: Likewise.
4628 * manual/examples/execinfo.c: Likewise.
4629 * manual/examples/filecli.c: Likewise.
4630 * manual/examples/filesrv.c: Likewise.
4631 * manual/examples/fmtmsgexpl.c: Likewise.
4632 * manual/examples/genpass.c: Likewise.
4633 * manual/examples/inetcli.c: Likewise.
4634 * manual/examples/inetsrv.c: Likewise.
4635 * manual/examples/isockad.c: Likewise.
4636 * manual/examples/longopt.c: Likewise.
4637 * manual/examples/memopen.c: Likewise.
4638 * manual/examples/memstrm.c: Likewise.
4639 * manual/examples/mkfsock.c: Likewise.
4640 * manual/examples/mkisock.c: Likewise.
4641 * manual/examples/mygetpass.c: Likewise.
4642 * manual/examples/pipe.c: Likewise.
4643 * manual/examples/popen.c: Likewise.
4644 * manual/examples/rprintf.c: Likewise.
4645 * manual/examples/search.c: Likewise.
4646 * manual/examples/select.c: Likewise.
4647 * manual/examples/setjmp.c: Likewise.
4648 * manual/examples/sigh1.c: Likewise.
4649 * manual/examples/sigusr.c: Likewise.
4650 * manual/examples/stpcpy.c: Likewise.
4651 * manual/examples/strdupa.c: Likewise.
4652 * manual/examples/strftim.c: Likewise.
4653 * manual/examples/strncat.c: Likewise.
4654 * manual/examples/subopt.c: Likewise.
4655 * manual/examples/swapcontext.c: Likewise.
4656 * manual/examples/termios.c: Likewise.
4657 * manual/examples/testopt.c: Likewise.
4658 * manual/examples/testpass.c: Likewise.
4659 * manual/examples/timeval_subtract.c: Likewise.
4660
01ae168d
RM
4661 [BZ #13792]
4662 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4663 function to ...
4664 * manual/timeval_subtract.c.texi: ... here, new file.
4665
49efa33d
DM
46662012-03-02 David S. Miller <davem@davemloft.net>
4667
4668 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4669
28afd92d
JM
46702012-03-02 Joseph Myers <joseph@codesourcery.com>
4671
804360ed
JM
4672 [BZ #3976]
4673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4674 (__sin): Save and restore rounding mode and use round-to-nearest
4675 for all computations.
4676 (__cos): Save and restore rounding mode and use round-to-nearest
4677 for all computations.
4678 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4679 <fenv.h>.
4680 (tan): Save and restore rounding mode and use round-to-nearest for
4681 all computations.
4682 * math/libm-test.inc (cos_test_tonearest): New function.
4683 (cos_test_towardzero): Likewise.
4684 (cos_test_downward): Likewise.
4685 (cos_test_upward): Likewise.
4686 (sin_test_tonearest): Likewise.
4687 (sin_test_towardzero): Likewise.
4688 (sin_test_downward): Likewise.
4689 (sin_test_upward): Likewise.
4690 (tan_test_tonearest): Likewise.
4691 (tan_test_towardzero): Likewise.
4692 (tan_test_downward): Likewise.
4693 (tan_test_upward): Likewise.
4694 (main): Call the new functions.
4695 * sysdeps/i386/fpu/libm-test-ulps: Update.
4696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697
a6d06d7b
JM
4698 [BZ #10135]
4699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4700 small n, then large n, before computing and testing k+n.
4701 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4703 Likewise.
4704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4705 Likewise.
4706 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4707 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4714 * math/libm-test.inc (scalbn_test): Add more tests.
4715 (scalbln_test): Likewise.
4716
07e12bb3
JM
4717 * manual/filesys.texi (mode_t): Describe constraints on size and
4718 signedness, not exact equivalence to a particular type.
4719 (ino_t): Likewise.
4720 (ino64_t): Likewise.
4721 (dev_t): Likewise.
4722 (nlink_t): Likewise.
4723 (blkcnt_t): Likewise.
4724 (blkcnt64_t): Likewise.
4725 * manual/llio.texi (off_t): Likewise.
4726
28afd92d
JM
4727 [BZ #3976]
4728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4729 (__ieee754_exp): Save and restore rounding mode and use
4730 round-to-nearest for all computations.
4731 * math/libm-test.inc (exp_test_tonearest): New function.
4732 (exp_test_towardzero): Likewise.
4733 (exp_test_downward): Likewise.
4734 (exp_test_upward): Likewise.
4735 (main): Call the new functions.
4736 * sysdeps/i386/fpu/libm-test-ulps: Update.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738
b1eeb65d
CD
47392012-03-01 Chris Demetriou <cgd@google.com>
4740
4741 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4742 have predictable order.
4743
53362a4b
DM
47442012-03-01 David S. Miller <davem@davemloft.net>
4745
3c969083
DM
4746 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4747
759707de
DM
4748 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4749 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4750 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4751 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4752
dfdb8ff2
DM
4753 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4754 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4755 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4760 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4761 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4762
ead89f96
DM
4763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4764
7f66bd07
DM
4765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4766 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4768
53362a4b
DM
4769 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4771 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4772 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4773 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4778 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4779 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4785 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4786 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4787 * sysdeps/sparc/elf/configure: Regenerated.
4788
7b1902cb
JM
47892012-03-01 Joseph Myers <joseph@codesourcery.com>
4790
bec039bc
JM
4791 * configure.in (AS, LD): Require binutils 2.20 or later.
4792 * configure: Regenerated.
4793 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4794 as required minimum version.
4795 * INSTALL: Regenerated.
4796
7b1902cb
JM
4797 [BZ #2541]
4798 [BZ #4108]
4799 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4800 before squaring exponent.
4801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4802 bottom long double and 27 bits of top long double before squaring
4803 exponent.
4804 * math/libm-test.inc (erfc_test): Add more tests.
4805 * sysdeps/i386/fpu/libm-test-ulps: Update.
4806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808
f775c276
KT
48092012-03-01 Kai Tietz <ktietz@redhat.com>
4810
4811 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4812 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4813 containing bit-fields.
4814 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4815 * soft-fp/single.h (_FP_UNION_S): Likewise.
4816 * soft-fp/double.h (_FP_UNION_D): Likewise.
4817
5b8a4d4a
JM
48182012-02-29 Joseph Myers <joseph@codesourcery.com>
4819
0bab47b6
JM
4820 [BZ #13786]
4821 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4822 not include ../strcmp.S.
4823 [USE_AS_STRNCASECMP_L]: Likewise.
4824 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4825 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4826 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4827 (__strncasecmp_l_ia32): Define as alias to
4828 __strncasecmp_l_nonascii.
4829
0fcad3e2
JM
4830 [BZ #5794]
4831 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
5b8a4d4a
JM
4835 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4837
8fdceb2e
JL
48382012-02-29 Jeff Law <law@redhat.com>
4839
4840 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4841 out of bounds read.
4842
1f393a11
MP
48432012-02-29 Marek Polacek <polacek@redhat.com>
4844
4845 [BZ #13706]
4846 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4847 * elf/Makefile: Add rules to run tst-unused-dep.out.
4848
8847f037
DM
48492012-02-28 David S. Miller <davem@davemloft.net>
4850
4851 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4852 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4855 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4856 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4857
169d7f11
JM
48582012-02-29 Joseph Myers <joseph@codesourcery.com>
4859
4860 * math/libm-test.inc (llround_test): Move one test from
4861 lround_test. Use TEST_f_L in moved test.
4862 (lround_test): Move misplaced test to llround_test. Add testcase
4863 from bug 2561.
4864
39adf059
UD
48652012-02-28 Ulrich Drepper <drepper@gmail.com>
4866
4867 * sysdeps/x86_64/fpu/e_expf.S: New file.
4868 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4869
71b5d1c5
SB
48702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4871
4872 [BZ #13637]
4873 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4874 of remain_len that may cause incomplete multi-byte character and
4875 false match.
4876 * posix/bug-regex33.c: New file.
4877 * posix/Makefile (tests): Add bug-regex33.
4878
1f77f049
JM
48792012-02-28 Joseph Myers <joseph@codesourcery.com>
4880
4881 * manual/macros.texi: New file.
4882 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4883 * manual/libc.texinfo: Include macros.texi.
4884 * manual/creatute.texi: Likewise.
4885 * manual/install.texi: Likewise.
4886 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4887 @glibcadj{} in references to the GNU C Library.
4888 * manual/charset.texi: Likewise.
4889 * manual/conf.texi: Likewise.
4890 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4891 when not using those macros.
4892 * manual/creature.texi: Likewise.
4893 * manual/crypt.texi: Likewise.
4894 * manual/errno.texi: Likewise.
4895 * manual/filesys.texi: Likewise.
4896 * manual/header.texi: Likewise.
4897 * manual/install.texi: Likewise.
4898 * manual/intro.texi: Likewise.
4899 * manual/io.texi: Likewise.
4900 * manual/job.texi: Likewise.
4901 * manual/lang.texi: Likewise.
4902 * manual/libc.texiinfo: Likewise.
4903 * manual/llio.texi: Likewise.
4904 * manual/locale.texi: Likewise.
4905 * manual/maint.texi: Likewise.
4906 * manual/math.texi: Likewise.
4907 * manual/memory.texi: Likewise.
4908 * manual/message.texi: Likewise.
4909 * manual/nss.texi: Likewise.
4910 * manual/pattern.texi: Likewise.
4911 * manual/process.texi: Likewise.
4912 * manual/resource.texi: Likewise.
4913 * manual/search.texi: Likewise.
4914 * manual/setjmp.texi: Likewise.
4915 * manual/signal.texi: Likewise.
4916 * manual/socket.texi: Likewise.
4917 * manual/startup.texi: Likewise.
4918 * manual/stdio.texi: Likewise.
4919 * manual/string.texi: Likewise.
4920 * manual/sysinfo.texi: Likewise.
4921 * manual/syslog.texi: Likewise.
4922 * manual/terminal.texi: Likewise.
4923 * manual/time.texi: Likewise.
4924 * manual/users.texi: Likewise.
4925 * INSTALL: Regenerated.
4926 * NOTES: Regenerated.
d40c5d54 4927 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4928
450bf206
AS
49292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4930
4931 * include/dirent.h: Include <dirstream.h> before
4932 <dirent/dirent.h>.
4933
741a235b
DM
49342012-02-28 David S. Miller <davem@davemloft.net>
4935
4936 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4937 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4940
d6b5aa58
DM
49412012-02-27 David S. Miller <davem@davemloft.net>
4942
1aff59a3
DM
4943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4947
d6b5aa58
DM
4948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4949 frame pointer instead of stack pointer relative arg slot.
4950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4953
433f48bf
CD
49542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4955
4956 [BZ #3992]
4957 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4958
d674b76d
DM
49592012-02-27 David S. Miller <davem@davemloft.net>
4960
4961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4967 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4969
0e7727f7
JM
49702012-02-27 Joseph Myers <joseph@codesourcery.com>
4971
4972 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4973 later. Allow versions 5-9.
43be4ca2 4974 * configure: Regenerated.
0e7727f7
JM
4975 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4976 required minimum version and 4.6 as recommended version. Do not
4977 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4978 * INSTALL: Regenerated.
0e7727f7 4979
a78bc654
DM
49802012-02-27 David S. Miller <davem@davemloft.net>
4981
428d5830
DM
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4988 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4990
a78bc654
DM
4991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4992 manipulate bits before adding and subtracting TWO112[sx].
4993 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4994
4579f81c
RM
49952012-02-27 Roland McGrath <roland@hack.frob.com>
4996
36c8acb4
RM
4997 [BZ #13775]
4998 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4999 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5000 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5001 being in POSIX, because they are in 1003.1-2008.
5002
84ad622b
RM
5003 * rt/tst-aio.c: Include <fcntl.h>.
5004 * rt/tst-aio7.c: Likewise.
5005 * rt/tst-aio64.c: Likewise.
5006
4579f81c
RM
5007 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5008
abd923db
JM
50092012-02-27 Joseph Myers <joseph@codesourcery.com>
5010
5011 * manual/install.texi (--with-headers): Describe headers as
5012 interface headers, not private headers.
5013 (Specific advice for GNU/Linux systems): Describe use of headers
5014 from "make headers_install", not private headers from older
5015 kernels.
43be4ca2 5016 * INSTALL: Regenerated.
abd923db
JM
5017 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5018 Change to 2.6.19.
5019 * sysdeps/unix/sysv/linux/configure: Regenerated.
5020
6664049b
JM
5021 * manual/llio.texi (fclean): Remove documentation.
5022
bb8b6697
JM
5023 * manual/Makefile (libc-texi-generated): New variable. Include
5024 version.texi.
5025 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5026 $(libc-texi-generated), not duplicated list of files.
5027 (version.texi, stamp-version): New rules.
5028 (realclean): Remove $(libc-texi-generated), not individual files
5029 from that list. Do not remove dir-add.texinfo.
5030 * manual/libc.texinfo: Comment out uses of edition numbers and
5031 references to printed manual. Remove last-updated dates.
5032 (EDITION): Comment out.
5033 (ISBN): Likewise.
5034 (VERSION, UPDATED): Remove.
5035 (version.texi): Include.
5036
12e5c3b9
AS
50372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5038
5039 * sysdeps/posix/spawni.c: Include <signal.h>.
5040 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5041 * sysdeps/pthread/aio_fsync.c: Likewise.
5042
4efeffc1 50432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5044
ba63ba08
UD
5045 * conform/Makefile (tests): Run only when not cross-compiling and
5046 when fast-check is not defined.
5047
d94a4670
UD
5048 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5049 * conform/data/limits.h-data: Fixes for POSIX2008.
5050 * conform/run-conformtest.sh: Run all tests.
5051 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5052 headers.
5053 * include/bits/dlfcn.h: Likewise.
5054 * include/langinfo.h: Likewise.
5055 * include/monetary.h: Likewise.
5056 * include/sys/poll.h: Likewise.
5057
5058 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5059 for __USE_GNU.
5060 * posix/spawn.h: Define __need_sigset_t.
5061 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5062 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5063 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5064 to get sigevent_t only.
5065 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5066 only for __USE_GNU.
5067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5069 process_vm_writev only for __USE_GNU.
5070 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5071
5072 * conform/Makefile: For now ignore errors from run-conformtest.
5073 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5074 POSIX to avoid namespace pollution. Don't prepend headers.
5075 * conform/data/aio.h-data: Fixes for POSIX testing.
5076 * conform/data/fcntl.h-data: Likewise.
5077 * conform/data/glob.h-data: Likewise.
5078 * conform/data/grp.h-data: Likewise.
5079 * conform/data/pthread.h-data: Likewise.
5080 * conform/data/pwd.h-data: Likewise.
5081 * conform/data/signal.h-data: Likewise.
5082 * conform/data/spawn.h-data: Likewise.
5083 * conform/data/stdio.h-data: Likewise.
5084 * conform/data/stdlib.h-data: Likewise.
5085 * conform/data/stropts.h-data: Likewise.
5086 * conform/data/sys/mman.h-data: Likewise.
5087 * conform/data/sys/stat.h-data: Likewise.
5088 * conform/data/sys/types.h-data: Likewise.
5089 * conform/data/sys/wait.h-data: Likewise.
5090 * conform/data/time.h-data: Likewise.
5091 * conform/data/unistd.h-data: Likewise.
5092 * conform/data/utime.h-data: Likewise.
5093
5094 * io/sys/stat.h: fchmod was always in POSIX.
5095 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5096 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5097 * rt/aio.h: Define __need_timespec before including <time.h>.
5098 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5099 struct. Add forward declaration of pthread_attr_t and use it in
5100 sigevent.
5101 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5103 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5104 always remove CLK_TCK definition.
5105
c20105c3
AS
51062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5107
5108 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5109
7a270350
UD
51102012-02-25 Ulrich Drepper <drepper@gmail.com>
5111
31341567
UD
5112 * conform/run-conformtest.sh: New file.
5113 * conform/Makefile: Run run-conformtest for tests.
5114 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5115 support.
5116
5117 * conform/data/uchar.h-data: New file.
5118 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5119 * conform/data/arpa/inet.h-data: Likewise.
5120 * conform/data/assert.h-data: Likewise.
5121 * conform/data/complex.h-data: Likewise.
5122 * conform/data/cpio.h-data: Likewise.
5123 * conform/data/ctype.h-data: Likewise.
5124 * conform/data/dirent.h-data: Likewise.
5125 * conform/data/dlfcn.h-data: Likewise.
5126 * conform/data/errno.h-data: Likewise.
5127 * conform/data/fcntl.h-data: Likewise.
5128 * conform/data/float.h-data: Likewise.
5129 * conform/data/fmtmsg.h-data: Likewise.
5130 * conform/data/fnmatch.h-data: Likewise.
5131 * conform/data/ftw.h-data: Likewise.
5132 * conform/data/glob.h-data: Likewise.
5133 * conform/data/grp.h-data: Likewise.
5134 * conform/data/iconv.h-data: Likewise.
5135 * conform/data/inttypes.h-data: Likewise.
5136 * conform/data/langinfo.h-data: Likewise.
5137 * conform/data/libgen.h-data: Likewise.
5138 * conform/data/limits.h-data: Likewise.
5139 * conform/data/locale.h-data: Likewise.
5140 * conform/data/math.h-data: Likewise.
5141 * conform/data/monetary.h-data: Likewise.
5142 * conform/data/mqueue.h-data: Likewise.
5143 * conform/data/ndbm.h-data: Likewise.
5144 * conform/data/net/if.h-data: Likewise.
5145 * conform/data/netdb.h-data: Likewise.
5146 * conform/data/netinet/in.h-data: Likewise.
5147 * conform/data/nl_types.h-data: Likewise.
5148 * conform/data/poll.h-data: Likewise.
5149 * conform/data/pthread.h-data: Likewise.
5150 * conform/data/pwd.h-data: Likewise.
5151 * conform/data/regex.h-data: Likewise.
5152 * conform/data/sched.h-data: Likewise.
5153 * conform/data/search.h-data: Likewise.
5154 * conform/data/semaphore.h-data: Likewise.
5155 * conform/data/setjmp.h-data: Likewise.
5156 * conform/data/signal.h-data: Likewise.
5157 * conform/data/spawn.h-data: Likewise.
5158 * conform/data/stdarg.h-data: Likewise.
5159 * conform/data/stdio.h-data: Likewise.
5160 * conform/data/stdlib.h-data: Likewise.
5161 * conform/data/string.h-data: Likewise.
5162 * conform/data/strings.h-data: Likewise.
5163 * conform/data/stropts.h-data: Likewise.
5164 * conform/data/sys/ipc.h-data: Likewise.
5165 * conform/data/sys/mman.h-data: Likewise.
5166 * conform/data/sys/msg.h-data: Likewise.
5167 * conform/data/sys/resource.h-data: Likewise.
5168 * conform/data/sys/select.h-data: Likewise.
5169 * conform/data/sys/sem.h-data: Likewise.
5170 * conform/data/sys/shm.h-data: Likewise.
5171 * conform/data/sys/socket.h-data: Likewise.
5172 * conform/data/sys/stat.h-data: Likewise.
5173 * conform/data/sys/statvfs.h-data: Likewise.
5174 * conform/data/sys/time.h-data: Likewise.
5175 * conform/data/sys/timeb.h-data: Likewise.
5176 * conform/data/sys/times.h-data: Likewise.
5177 * conform/data/sys/types.h-data: Likewise.
5178 * conform/data/sys/uio.h-data: Likewise.
5179 * conform/data/sys/un.h-data: Likewise.
5180 * conform/data/sys/utsname.h-data: Likewise.
5181 * conform/data/sys/wait.h-data: Likewise.
5182 * conform/data/syslog.h-data: Likewise.
5183 * conform/data/tar.h-data: Likewise.
5184 * conform/data/termios.h-data: Likewise.
5185 * conform/data/utime.h-data: Likewise.
5186 * conform/data/utmpx.h-data: Likewise.
5187 * conform/data/varargs.h-data: Likewise.
5188 * conform/data/wchar.h-data: Likewise.
5189 * conform/data/wctype.h-data: Likewise.
5190 * conform/data/wordexp.h-data: Likewise.
5191
5192 * include/stropts.h: New file.
5193 * include/uchar.h: New file.
5194 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5195 * include/assert.h: Likewise.
5196 * include/ctype.h: Likewise.
5197 * include/dirent.h: Likewise.
5198 * include/dlfcn.h: Likewise.
5199 * include/fcntl.h: Likewise.
5200 * include/fnmatch.h: Likewise.
5201 * include/glob.h: Likewise.
5202 * include/grp.h: Likewise.
5203 * include/libio.h: Likewise.
5204 * include/locale.h: Likewise.
5205 * include/math.h: Likewise.
5206 * include/net/if.h: Likewise.
5207 * include/netdb.h: Likewise.
5208 * include/netinet/in.h: Likewise.
5209 * include/pthread.h: Likewise.
5210 * include/pwd.h: Likewise.
5211 * include/regex.h: Likewise.
5212 * include/sched.h: Likewise.
5213 * include/search.h: Likewise.
5214 * include/setjmp.h: Likewise.
5215 * include/signal.h: Likewise.
5216 * include/stdio.h: Likewise.
5217 * include/stdlib.h: Likewise.
5218 * include/string.h: Likewise.
5219 * include/sys/cdefs.h: Likewise.
5220 * include/sys/mman.h: Likewise.
5221 * include/sys/msg.h: Likewise.
5222 * include/sys/resource.h: Likewise.
5223 * include/sys/select.h: Likewise.
5224 * include/sys/socket.h: Likewise.
5225 * include/sys/stat.h: Likewise.
5226 * include/sys/statvfs.h: Likewise.
5227 * include/sys/time.h: Likewise.
5228 * include/sys/times.h: Likewise.
5229 * include/sys/uio.h: Likewise.
5230 * include/sys/utsname.h: Likewise.
5231 * include/sys/wait.h: Likewise.
5232 * include/termios.h: Likewise.
5233 * include/time.h: Likewise.
5234 * include/ulimit.h: Likewise.
5235 * include/unistd.h: Likewise.
5236 * include/utime.h: Likewise.
5237 * include/wchar.h: Likewise.
5238 * include/wctype.h: Likewise.
5239 * include/wordexp.h: Likewise.
5240
5241 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5242
7a270350
UD
5243 * time/time.h: TIME_UTC must be a macro.
5244 Make timespec_get available for ISO C11 only as well.
5245
7724defc
UD
52462012-02-24 Ulrich Drepper <drepper@gmail.com>
5247
5248 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5249 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5250
6b1d1d46
JM
52512012-02-24 Joseph Myers <joseph@codesourcery.com>
5252
5253 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5254
0f8bbd69
JM
52552012-02-24 Joseph Myers <joseph@codesourcery.com>
5256
5257 * manual/texinfo.tex: Update to version 2012-01-19.16.
5258
66ab80bc
JM
52592012-02-24 Joseph Myers <joseph@codesourcery.com>
5260
5261 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5262
74981cc5
RM
52632012-02-24 Roland McGrath <roland@hack.frob.com>
5264
ee968201
RM
5265 [BZ #13738]
5266 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5267 * manual/fdl-1.3.texi: New file.
5268 * manual/fdl-1.1.texi: File removed.
5269
74981cc5
RM
5270 [BZ #13738]
5271 * manual/libc.texinfo (FDL_VERSION): New @set.
5272 Use it for mention of FDL in cover text.
5273 (Documentation License): Use it in @include file name.
5274
7bb764bc
JM
52752012-02-22 Joseph Myers <joseph@codesourcery.com>
5276 Roland McGrath <roland@hack.frob.com>
5277
5278 [BZ #5461]
5279 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5280 not LONG_LONG_MAX and LONG_LONG_MIN.
5281 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5282 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5283 name.
5284 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5285
6cbeae47
JM
52862012-02-22 Joseph Myers <joseph@codesourcery.com>
5287
5288 [BZ #2547]
5289 [BZ #11365]
5290 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5291 manipulate bits before adding and subtracting TWO23[sx].
5292 * math/libm-test.inc (nearbyint_test): Add more tests.
5293
fe45ce09
JM
52942012-02-22 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #2548]
5297 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5298 bits before adding and subtracting TWO23[sx].
5299 * math/libm-test.inc (rint_test): Add more tests.
5300 (rint_test_tonearest): Likewise.
5301 (rint_test_towardzero): Likewise.
5302 (rint_test_downward): Likewise.
5303 (rint_test_upward: Likewise.
5304
ff3b3d82
JM
53052012-02-22 Joseph Myers <joseph@codesourcery.com>
5306
5307 [BZ #10110]
5308 * include/stdc-predef.h: New file. Extracted from features.h.
5309 * include/features.h: Include stdc-predef.h.
5310 * Makefile (headers): Add stdc-predef.h.
5311 * CONFORMANCE (Compiler limitations): Update.
5312
ef0aab35
JM
53132012-02-22 Joseph Myers <joseph@codesourcery.com>
5314
5315 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5316
58639409
DM
53172012-02-21 David S. Miller <davem@davemloft.net>
5318
5319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5321
c0e70b25
DM
53222012-02-20 David S. Miller <davem@davemloft.net>
5323
5324 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5325 using a normal save/restore sequence, rather than allocating a
5326 dummy stack frame just to store a frame pointer and restore.
5327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5328
fb06851d
JM
53292012-02-21 Joseph Myers <joseph@codesourcery.com>
5330
5331 * manual/install.texi: Fix stray word in line-wrapped comment.
5332
7a8b71c3
DM
53332012-02-20 David S. Miller <davem@davemloft.net>
5334
d510c123
DM
5335 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5336 both binutils and gcc support GOTDATA.
5337
0722d7c2
DM
5338 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5339 "rd %pc" in the PIC register setup sequences.
5340
3d2b3019
DM
5341 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5342 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5343 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5344 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5345 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5350 (SYSCALL_ERROR_HANDLER): Likewise.
5351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5354 (SYSCALL_ERROR_HANDLER): Likewise.
5355
c80098a9
DM
5356 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5357 (HAVE_GCC_GOTDATA): New.
5358 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5359 relocation support in both binutils and gcc.
5360 * sysdeps/sparc/elf/configure: Regenerate.
5361
3a2545a0
DM
5362 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5363 * sysdeps/sparc/sparc32/elf/configure: Delete.
5364 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5365 * sysdeps/sparc/sparc64/elf/configure: Delete.
5366 * sysdeps/sparc/elf/configure.in: New file.
5367 * sysdeps/sparc/elf/configure: Generate.
5368
7a8b71c3
DM
5369 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5370 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5372 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5373 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5374
f1e86fca
JM
53752012-02-21 Joseph Myers <joseph@codesourcery.com>
5376
5377 * manual/install.texi: Do not mention specific glibc version
5378 numbers.
5379 * manual/libc.texinfo (VERSION, UPDATED): Update.
5380 (@copying): Use @copyright{} and range of years.
5381
0e7dfaef
JM
53822012-02-21 Joseph Myers <joseph@codesourcery.com>
5383
5384 [BZ #13695]
5385 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5386 [crti.S not in sysdirs] (generated): Do not append.
5387 [crti.S not in sysdirs] (omit-deps): Likewise.
5388 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5389 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5390 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5391 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5392 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5393 Likewise.
5394 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5395 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5396 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5397 * csu/defs.awk: Remove file.
5398 * sysdeps/generic/initfini.c: Likewise.
5399 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5400 variable.
5401 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5402 Likewise.
5403
599af3ca
JM
54042012-02-20 Joseph Myers <joseph@codesourcery.com>
5405
5406 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5408 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5411 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5412 <bits/epoll.h>.
5413 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5414 (__EPOLL_PACKED): Define to empty if not defined by
5415 <bits/epoll.h>.
5416 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5418 bits/epoll.h.
5419
0e499750
JM
54202012-02-20 Joseph Myers <joseph@codesourcery.com>
5421
5422 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5423 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5424 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5425 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5426 <bits/timerfd.h>.
5427 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5429 bits/timerfd.h.
5430
5ad91f6e
JM
54312012-02-20 Joseph Myers <joseph@codesourcery.com>
5432
5433 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5434 in C locale.
5435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5439
06b99b02
AJ
54402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5441
5442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5444
7638c0fd
AS
54452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5446
5447 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5448 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5449 defined.
5450 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5451 Likewise.
5452 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5453 entry for 2.16.
5454
92221550
AJ
54552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5456
5457 * math/w_acos.c: Use non-signaling floating-point comparisons.
5458 * math/w_acosf.c: Likewise.
5459 * math/w_acosh.c: Likewise.
5460 * math/w_acoshf.c: Likewise.
5461 * math/w_acoshl.c: Likewise.
5462 * math/w_acosl.c: Likewise.
5463 * math/w_asin.c: Likewise.
5464 * math/w_asinf.c: Likewise.
5465 * math/w_asinl.c: Likewise.
5466 * math/w_atanh.c: Likewise.
5467 * math/w_atanhf.c: Likewise.
5468 * math/w_atanhl.c: Likewise.
5469 * math/w_exp2.c: Likewise.
5470 * math/w_exp2f.c: Likewise.
5471 * math/w_exp2l.c: Likewise.
5472 * math/w_j0.c: Likewise.
5473 * math/w_j0f.c: Likewise.
5474 * math/w_j0l.c: Likewise.
5475 * math/w_j1.c: Likewise.
5476 * math/w_j1f.c: Likewise.
5477 * math/w_j1l.c: Likewise.
5478 * math/w_jn.c: Likewise.
5479 * math/w_jnf.c: Likewise.
5480 * math/w_log.c: Likewise.
5481 * math/w_log10.c: Likewise.
5482 * math/w_log10f.c: Likewise.
5483 * math/w_log10l.c: Likewise.
5484 * math/w_log2.c: Likewise.
5485 * math/w_log2f.c: Likewise.
5486 * math/w_log2l.c: Likewise.
5487 * math/w_logf.c: Likewise.
5488 * math/w_logl.c: Likewise.
5489 * math/w_sqrt.c: Likewise.
5490 * math/w_sqrtf.c: Likewise.
5491 * math/w_sqrtl.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5497
ebaf36eb
JM
54982012-02-19 Joseph Myers <joseph@codesourcery.com>
5499
5500 [BZ #9739]
5501 * manual/string.texi (strnlen): Use correct parameter name in
5502 equivalent expression.
5503
71c254a6
JM
55042012-02-19 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #11174]
5507 * manual/users.texi (seteuid): Consistently use neweuid for
5508 argument name.
5509
16d2c631
JM
55102012-02-19 Joseph Myers <joseph@codesourcery.com>
5511
5512 [BZ #13704]
5513 * manual/nss.texi (Services in the NSS configuration): Correct
5514 list of services in example configuration file.
5515
cd837b09
NB
55162012-02-19 Nick Bowler <nbowler@draconx.ca>
5517
5518 [BZ #11322]
5519 * manual/arith.texi: Remove statements about negative zero
5520 behaving identically to zero.
5521
02c4bbad
JM
55222012-02-18 Joseph Myers <joseph@codesourcery.com>
5523
5524 [BZ #5993]
5525 * manual/install.texi: Do not document upgrading from libc5.
5526
366842e7
JM
55272012-02-18 Joseph Myers <joseph@codesourcery.com>
5528
5529 [BZ #4596]
5530 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5531
dd54084d
DM
55322012-02-18 David S. Miller <davem@davemloft.net>
5533
5534 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5535 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5536 %o7 across the call.
5537 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5538 instead.
5539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5540 SETUP_PIC_REG_LEAF.
5541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5542 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5543 * sysdeps/sparc/crtn.S: Likewise.
5544
2bcc53a3
UD
55452012-02-17 Ulrich Drepper <drepper@gmail.com>
5546
5547 * aout/Makefile: Remove.
5548
09c093b5
RK
55492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5550
5551 [BZ #13058]
5552 * manual/examples/argp-ex1.c (main): Format definition in GNU
5553 style.
5554 * manual/examples/argp-ex2.c (main): Likewise.
5555 * manual/examples/argp-ex3.c (main): Likewise.
5556 * manual/examples/argp-ex4.c (main): Likewise.
5557 * manual/examples/longopt.c (main): Use new-style prototype
5558 definition.
5559 * manual/examples/strncat.c (main): Specify return type and use
5560 (void) for arguments.
5561 * manual/examples/subopt.c (main): Use char **argv argument.
5562
2ee633a2
JM
55632012-02-17 Joseph Myers <joseph@codesourcery.com>
5564
5565 [BZ #5077]
5566 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5567 rounding modes.
5568
0520adde
FB
55692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5570
5571 [BZ #6907]
5572 * manual/string.texi (strchr): Change when strchrnul is
5573 recommended.
5574
3f4081cd
DGM
55752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5576
5577 [BZ #174]
5578 * manual/locale.texi (setlocale): Document LOCPATH.
5579
d1b10e78
JM
55802012-02-17 Joseph Myers <joseph@codesourcery.com>
5581
5582 [BZ #10210]
5583 * manual/process.texi (execle): Move @dots{} before last argument.
5584
79c6869c
PB
55852012-02-17 Paul Bolle <pebolle@tiscali.nl>
5586
5587 [BZ #12047]
5588 * manual/charset.texi (Generic Charset Conversion): Fix typo
5589 (LC_TYPE -> LC_CTYPE).
5590
cc6e48bc
NB
55912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5592
5593 [BZ #5805]
5594 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5595 (scalbnf): Likewise.
5596 (scalbnl): Likewise.
5597 (scalbln): Likewise.
5598 (scalblnf): Likewise.
5599 (scalblnl): Likewise.
5600 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5601 (vwarnx): Likewise.
5602 (verr): Likewise.
5603 (verrx): Likewise.
5604 * manual/filesys.texi (telldir): Use braces around return type.
5605 * manual/llio.texi (mmap): Add space after comma.
5606 (mmap64): Likewise.
5607 * manual/math.texi (jn): Use @var{} on parameter names.
5608 (jnf): Likewise.
5609 (jnl): Likewise.
5610 (yn): Likewise.
5611 (ynf): Likewise.
5612 (ynl): Likewise.
5613 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5614 line.
5615 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5616 "...".
5617 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5618 (sched_get_priority_max): Likewise.
5619 * manual/signal.texi (sigvec): Add space after comma.
5620 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5621 names.
5622 (if_indextoname): Likewise.
5623 (if_freenameindex): Likewise.
5624 (sendto): Use ',' instead of '.' in prototype.
5625 * manual/startup.texi (syscall): Use @dots{} instead of literal
5626 "...".
5627 * manual/stdio.texi (__fpending): Separate initial words of
5628 paragraph from @deftypefun line.
5629 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5630 "...".
5631 (vsyslog): Use @var{} on parameter names.
5632 * manual/terminal.texi (stty): Use @var{} on parameter names.
5633 * manual/users.texi (getutmp): Use @var{} on parameter names.
5634 (getutmpx): Likewise.
5635
5b23062f
JM
56362012-02-17 Joseph Myers <joseph@codesourcery.com>
5637
5638 [BZ #6884]
5639 * manual/stdio.texi (fopen): Fix typos in description of
5640 ",ccs=STRING".
5641
8dee4833
AJ
56422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5643
5644 [BZ #4026]
5645 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5646 get clock_id definition.
5647
9078ce93
TS
56482012-02-17 Thomas Schwinge <thomas@schwinge.name>
5649
5650 [BZ #4822]
5651 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5652 (madvise): Cast every argument to void on its own.
5653
3835c55f
JM
56542012-02-17 Joseph Myers <joseph@codesourcery.com>
5655
5656 [BZ #9902]
5657 * manual/startup.texi (Exit Status): Fix typo.
5658
35c47e37
JM
56592012-02-17 Joseph Myers <joseph@codesourcery.com>
5660
5661 [BZ #10140]
5662 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5663 * manual/examples/argp-ex2.c: Likewise.
5664 * manual/examples/argp-ex3.c: Likewise.
5665
e3b69ca7
RH
56662012-02-16 Richard Henderson <rth@redhat.com>
5667
5668 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5669 * sysdeps/s390/s390-32/initfini.c: Remove.
5670 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5671 * sysdeps/s390/s390-64/initfini.c: Remove.
5672
df83af67
KK
56732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5674
5675 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5676 compiler output for sysdeps/generic/initfini.c.
5677 * sysdeps/sh/elf/initfini.c: Remove file.
5678
f63f3380
DM
56792012-02-16 David S. Miller <davem@davemloft.net>
5680
fb59b3a4
DM
5681 [BZ #11494]
5682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5683
f63f3380
DM
5684 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5685 * sysdeps/sparc/crti.S: New file.
5686 * sysdeps/sparc/crtn.S: New file.
5687 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5688 * sysdeps/sparc/sparc64/Makefile: Likewise.
5689
df6a4a4a
MF
56902012-02-15 Mike Frysinger <vapier@gentoo.org>
5691
6dd8f3dc 5692 [BZ #3335]
df6a4a4a
MF
5693 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5694
1cac7236
RM
56952012-02-15 Roland McGrath <roland@hack.frob.com>
5696
d2c736f8
RM
5697 [BZ #4822]
5698 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5699
1cac7236
RM
5700 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5701 (write, read, close): Likewise.
5702 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5703
8e475601
JM
57042012-02-15 Joseph Myers <joseph@codesourcery.com>
5705
5706 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5707 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5709 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5710 <bits/signalfd.h>.
5711 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5713 bits/signalfd.h.
5714
ed656b40
MP
57152012-02-14 Marek Polacek <polacek@redhat.com>
5716
5717 * sysdeps/x86_64/crti.S: New file.
5718 * sysdeps/x86_64/crtn.S: New file.
5719 * sysdeps/x86_64/elf/initfini.c: Remove file.
5720
2a979d3a
JM
57212012-02-13 Joseph Myers <joseph@codesourcery.com>
5722
5723 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5724 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5725 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5726 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5727 <bits/inotify.h>.
5728 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5730 bits/inotify.h.
5731
2a418ac3
JM
57322012-02-13 Joseph Myers <joseph@codesourcery.com>
5733
5734 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5735 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5736 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5737 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5738 <bits/eventfd.h>.
5739 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5741 bits/eventfd.h.
5742
fb779be7
TS
57432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5744
e19e83c5
RM
5745 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5746 __feraiseexcept instead of feraiseexcept.
7c35ffed 5747
fb779be7
TS
5748 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5749 nanosleep invocations.
5750 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5751 strings, and add error checking for a nanosleep invocations.
5752
59ba27a6
PE
57532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5754
5755 Replace FSF snail mail address with URLs, as per GNU coding standards.
5756 Most of the snail mail addresses were wrong anyway, and omitting
5757 them makes the source code easier to maintain. Almost all of the
5758 changes are to license notices and to locale LC_IDENTIFICATION
5759 addresses, except for this one:
5760 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5761 not its snail mail address.
5762
57b957eb
RH
57632012-02-09 Richard Henderson <rth@twiddle.net>
5764
af850b1c
RH
5765 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5766 of kernel-features.h.
5767
57b957eb
RH
5768 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5769
6b73181a
MP
57702012-02-08 Marek Polacek <polacek@redhat.com>
5771
5772 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5773 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5774 * sysdeps/gnu/_G_config.h: Likewise.
5775 * sysdeps/generic/_G_config.h: Likewise.
5776
26ecc33a
AS
57772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5778
6c6dbc63
AS
5779 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5780 tests.
5781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782
e216c012
AS
5783 * sysdeps/powerpc/powerpc32/crti.S: New file.
5784 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5785 * sysdeps/powerpc/powerpc64/crti.S: New file.
5786 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5787
26ecc33a
AS
5788 * Makeconfig (have-initfini): Don't set.
5789 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5790 * configure.in (nopic_initfini): Don't substitute.
5791 * config.h.in (HAVE_INITFINI): Don't #undef.
5792 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5793 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5794
3add8e13
JM
57952012-02-08 Joseph Myers <joseph@codesourcery.com>
5796
5797 Support crti.S and crtn.S provided directly by architectures.
5798 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5799 [crti.S in sysdirs] (omit-deps): Likewise.
5800 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5801 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5802 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5803 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5804 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5805 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5806 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5807 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5808 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5809 compiler output for sysdeps/generic/initfini.c.
5810 * sysdeps/i386/elf/Makefile: Remove file.
5811 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5812
a22f12b4
MP
58132012-02-07 Marek Polacek <polacek@redhat.com>
5814
5815 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5816 * sysdeps/gnu/_G_config.h: Likewise.
5817 * sysdeps/mach/hurd/_G_config.h: Likewise.
5818
148cf100
MP
58192012-02-07 Marek Polacek <polacek@redhat.com>
5820
5821 * math/Makefile (tests): Add tst-CMPLX2.
5822 * math/tst-CMPLX2.c: New file.
5823
cfdc0dd7
AS
58242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5825
84ba42c4
AS
5826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5827
cfdc0dd7
AS
5828 * math/libm-test.inc (jn_test): Add missing L suffix.
5829
622c86f4
MP
58302012-02-06 Marek Polacek <polacek@redhat.com>
5831
5832 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5833 * sysdeps/i386/fpu/e_powf.S: Likewise.
5834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5836 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5837 * sysdeps/i386/fpu/e_pow.S: Likewise.
5838 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5840 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5841 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5842 * sysdeps/i386/fpu/e_log2.S: Likewise.
5843 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5844 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5845 * sysdeps/i386/fpu/e_powl.S: Likewise.
5846 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5848 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5849 * sysdeps/i386/fpu/e_logl.S: Likewise.
5850 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5851 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5856 * sysdeps/i386/fpu/e_log.S: Likewise.
5857 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5859 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5860 * sysdeps/i386/fpu/e_logf.S: Likewise.
5861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5863 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5864 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5866 * sysdeps/i386/fpu/e_log10.S: Likewise.
5867 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5869 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5870 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5872 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5873 * sysdeps/i386/asm-syntax.h: Likewise.
5874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5877 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5878 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5883 * sysdeps/powerpc/sysdep.h: Likewise.
5884 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5886
d4a54ac6
JM
58872012-02-06 Joseph Myers <joseph@codesourcery.com>
5888
5889 [BZ #411]
5890 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5891
314054ea
JM
58922012-02-06 Joseph Myers <joseph@codesourcery.com>
5893
5894 * sysdeps/i386/sysdep.h: Include <features.h>.
5895 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5896 version.
5897
d8e0ca50
JM
58982012-02-05 Joseph Myers <joseph@codesourcery.com>
5899
5900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5901 Define.
5902 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5903 LOAD_PIC_REG_STR.
5904
b1da7dd9
JM
59052012-02-03 Joseph Myers <joseph@codesourcery.com>
5906
5907 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5908 (SETUP_PIC_REG): Use GET_PC_THUNK.
5909 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5910 macro.
5911
9a1d9254
JM
59122012-02-03 Joseph Myers <joseph@codesourcery.com>
5913
5914 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5915 for non-PIC compilation.
5916 (SETUP_PIC_REG): Add .p2align directive.
5917 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5918 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5923 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5925 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5926 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5927 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5928 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5929 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5930 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5931 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5934 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5935 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5936 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5939 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5940 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5945 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5946 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5947 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5952 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5953 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5954 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5955 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5956 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5957 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5958
65dc3b75
JM
59592012-02-03 Joseph Myers <joseph@codesourcery.com>
5960
5961 * math/tst-CMPLX.c: Include <stdio.h>.
5962
d55bf177
JM
59632012-01-31 Joseph Myers <joseph@codesourcery.com>
5964
5965 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5966 float.
5967 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5968 * sysdeps/sparc/bits/mathdef.h: Likewise.
5969
69db4f8f
MP
59702012-01-31 Marek Polacek <polacek@redhat.com>
5971
5972 * libio/libio.h: Don't define _PARAMS.
5973 * locale/programs/config.h: Don't define PARAMS.
5974 * stdlib/strtol_l.c: Likewise.
5975 (__strtol_l): Remove PARAMS from the prototype.
5976
41b81892
UD
59772012-01-31 Ulrich Drepper <drepper@gmail.com>
5978
3b49edc0
UD
5979 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5980 names. Just use the correct names. Remove unnecessary wrapper
5981 functions.
5982 * malloc/arena.c: Likewise.
5983 * malloc/hooks.c: Likewise.
5984
41b81892
UD
5985 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5986 ARENA_TEST says not to. Simplify test for creation of a new arena.
5987 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5988
27a25b6e
UD
59892012-01-30 Ulrich Drepper <drepper@gmail.com>
5990
5991 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5992 into tail calls.
5993 (update_get_addr): New function.
5994 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5995 GET_ADDR_MODULE parameter.
5996
c8a89e7d
JM
59972012-01-30 Joseph Myers <joseph@codesourcery.com>
5998
5999 * crypt/cert.c: Remove __STDC__ conditionals.
6000 * crypt/crypt-entry.c: Likewise.
6001 * crypt/crypt_util.c: Likewise.
6002 * libio/filedoalloc.c: Likewise.
6003 * libio/fileops.c: Likewise.
6004 * libio/genops.c: Likewise.
6005 * libio/iofclose.c: Likewise.
6006 * libio/iofdopen.c: Likewise.
6007 * libio/iofopen.c: Likewise.
6008 * libio/iofopen64.c: Likewise.
6009 * libio/iogetdelim.c: Likewise.
6010 * libio/iopopen.c: Likewise.
6011 * libio/obprintf.c: Likewise.
6012 * libio/oldfileops.c: Likewise.
6013 * libio/oldiofclose.c: Likewise.
6014 * libio/oldiofdopen.c: Likewise.
6015 * libio/oldiofopen.c: Likewise.
6016 * libio/oldiopopen.c: Likewise.
6017 * libio/wfiledoalloc.c: Likewise.
6018 * libio/wgenops.c: Likewise.
6019 * locale/programs/xmalloc.c: Likewise.
6020 * misc/syslog.c: Likewise.
6021 * stdio-common/xbug.c: Likewise.
6022 * string/memchr.c: Likewise.
6023 * string/memcmp.c: Likewise.
6024 * string/memrchr.c: Likewise.
6025 * string/rawmemchr.c: Likewise.
6026 * sysdeps/posix/getcwd.c: Likewise.
6027 * time/strftime_l.c: Likewise.
6028
3b100462
JM
60292012-01-30 Joseph Myers <joseph@codesourcery.com>
6030
6031 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6032 * config.make.in (config-cflags-sse2avx): Define.
6033 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6034 Fix typo.
6035
607998af
CM
60362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6037
6038 * scripts/config.guess: Update from upstream config git repository.
6039 * scripts/config.sub: Likewise.
6040
3601428f
CM
60412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6042
3ac8b282
CM
6043 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6044 (EM_NUM): Update.
6045 (R_TILEPRO_*, R_TILEGX_*): New macros.
6046
e034841e
CM
6047 * scripts/firstversions.awk: Fix bug in version range handling.
6048
540d7568
CM
6049 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6050
3601428f
CM
6051 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6052
463de862
CM
6053 * include/sys/epoll.h: New file.
6054 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6055 libc_hidden_def.
6056
73139a76
UD
60572012-01-28 Ulrich Drepper <drepper@gmail.com>
6058
96bc5b45
UD
6059 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6060 Avoid unnecessary __WORDSIZE == 64 test.
6061 (fmaxf): Use VEX format if possible.
6062 (fmax): Likewise.
6063 (fminf): Likewise.
6064 (fmin): Likewise.
6065
56f6f6a2
UD
6066 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6067 * math/math_private.h: Remove libc_fegetround* and
6068 libc_fesetround*.
6069 * sysdeps/i386/configure.in: Check for -msse2avx.
6070 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6071 also if SSE2AVX is defined.
6072 Remove libc_fegetround* and libc_fesetround*.
6073 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6074 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6076 of HAS_YMM_USABLE.
6077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6082
73139a76
UD
6083 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6084
d73f93a4
AZ
60852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6086
6087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6088 size is not set.
6089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6090
6ee65ed6
UD
60912012-01-27 Ulrich Drepper <drepper@gmail.com>
6092
6093 [BZ #13618]
6094 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6095 relocation.
6096 * Makeconfig (libm): Define.
6097 * elf/Makefile: Add rules to build and run tst-relsort1.
6098 * elf/tst-relsort1.c: New file.
6099 * elf/tst-relsort1mod1.c: New file.
6100 * elf/tst-relsort1mod2.c: New file.
6101
8db21882
JM
61022012-01-27 Joseph Myers <joseph@codesourcery.com>
6103
6104 * math/s_ldexp.c: Remove __STDC__ conditionals.
6105 * math/s_ldexpf.c: Likewise.
6106 * math/s_ldexpl.c: Likewise.
6107 * math/s_nextafter.c: Likewise.
6108 * math/s_nexttowardf.c: Likewise.
6109 * math/s_significand.c: Likewise.
6110 * math/s_significandf.c: Likewise.
6111 * math/s_significandl.c: Likewise.
6112 * math/w_jnl.c: Likewise.
6113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6141 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6143 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6144 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6147 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6153 * sysdeps/ieee754/k_standard.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6186 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6203 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6204 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6209 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6210 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6213 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6215 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6220 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6229 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6233 * sysdeps/ieee754/s_matherr.c: Likewise.
6234 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6238
965a54a4
JM
62392012-01-26 Joseph Myers <joseph@codesourcery.com>
6240
6241 * crypt/md5.h: Remove __STDC__ conditionals.
6242 * libio/libioP.h: Likewise.
6243 * locale/programs/config.h: Likewise.
6244 * sysdeps/generic/sysdep.h: Likewise.
6245 * sysdeps/i386/asm-syntax.h: Likewise.
6246 * sysdeps/s390/asm-syntax.h: Likewise.
6247 * sysdeps/unix/sysdep.h: Likewise.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6250
7071ad79
JM
62512012-01-26 Joseph Myers <joseph@codesourcery.com>
6252
6253 * libio/libio.h: Remove __STDC__ conditionals.
6254 * malloc/obstack.h: Likewise.
6255 * math/complex.h: Likewise.
6256 * math/math.h: Likewise.
6257 * sysdeps/generic/_G_config.h: Likewise.
6258 * sysdeps/gnu/_G_config.h: Likewise.
6259 * sysdeps/mach/hurd/_G_config.h: Likewise.
6260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6261 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6262 * sysdeps/sparc/bits/mathdef.h: Likewise.
6263
afc5ed09
UD
62642012-01-26 Ulrich Drepper <drepper@gmail.com>
6265
6266 [BZ #13583]
6267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6268 Clean up HAS_* macros.
afc5ed09 6269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6270 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6271 possible.
6272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6273 HAS_AVX.
6274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6279
bdb6de1d
JM
62802012-01-25 Joseph Myers <joseph@codesourcery.com>
6281
6282 * elf/tst-unique3.cc (gets): Remove declaration.
6283 * elf/tst-unique3lib.cc (gets): Likewise.
6284 * elf/tst-unique3lib2.cc (gets): Likewise.
6285 * elf/tst-unique4.cc (gets): Likewise.
6286
b15549e6
UD
62872012-01-24 Ulrich Drepper <drepper@gmail.com>
6288
6289 * include/stdio.h: Add C++ protection. Add gets declarations and
6290 definitions.
6291 * debug/tst-chk1.c: Don't declare gets here.
6292 * stdio-common/tst-gets.c: Likewise.
6293
a037381f
JM
62942012-01-24 Joseph Myers <joseph@codesourcery.com>
6295
6296 * posix/glob: Remove directory.
6297
f1d4aa75
JM
62982012-01-24 Joseph Myers <joseph@codesourcery.com>
6299
6300 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6301
81c0c964
PT
63022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6303
6304 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6305 of the non-standard EPFNOSUPPORT.
6306
0ea698ae
ST
63072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6308
6309 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6310 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6311 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6312
d220b117
UD
63132012-01-21 Ulrich Drepper <drepper@gmail.com>
6314
6315 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6316
3e1aa84e
UD
63172012-01-20 Ulrich Drepper <drepper@gmail.com>
6318
6319 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6320 transient errors.
6321 * nscd/grpcache.c (cache_addgr): Likewise.
6322 * nscd/hstcache.c (cache_addhst): Likewise.
6323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6324 * nscd/pwdcache.c (cache_addpw): Likewise.
6325 * nscd/servicescache.c (cache_addserv): Likewise.
6326
400aa020
UD
63272012-01-16 Ulrich Drepper <drepper@gmail.com>
6328
d77e7869
UD
6329 * malloc/malloc.c: Various cleanups.
6330 * malloc/hooks.c: Likewise.
6331
400aa020
UD
6332 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6333 * stdlib/bug-fmtmsg1.c: New file.
6334
6335 * stdlib/fmtmsg.c (init): Add missing unlock.
6336 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6337
e0a309cf
MP
63382012-01-12 Marek Polacek <polacek@redhat.com>
6339
6340 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6341 and _GNU_SOURCE.
6342
929d11c7
WS
63432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6344
6345 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6346 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6347 macro to ensure uniqueness of label name.
6348 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6349 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6350
41d0e869
UD
63512012-01-11 Ulrich Drepper <drepper@gmail.com>
6352
0cc5ed3b
UD
6353 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6354
41d0e869
UD
6355 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6359
a47a831a
UD
63602012-01-10 Ulrich Drepper <drepper@gmail.com>
6361
daa891c0
UD
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6363
6364 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6367
e58ef0f2
UD
6368 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6369
a47a831a 6370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6371 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6374
6375 * math/bits/math-finite.h: Add ldexp support.
6376
a0bfc9c7
MP
63772012-01-10 Marek Polacek <polacek@redhat.com>
6378
6379 * locale/programs/localedef.h (show_archive_content): Add noreturn
6380 attribute.
6381
d6e97a1d
UD
63822012-01-09 Ulrich Drepper <drepper@gmail.com>
6383
6384 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6385
d5835c26
UD
63862012-01-08 Ulrich Drepper <drepper@gmail.com>
6387
e5f484c6
UD
6388 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6389
d5835c26
UD
6390 * io/Makefile (headers): Add bits/poll2.h.
6391
d1f741e9
WS
63922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6393
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6395 typo #include statement.
6396
ec09c1c4
UD
63972012-01-08 Ulrich Drepper <drepper@gmail.com>
6398
6399 * include/sys/cdefs.h: Define __attribute_alloc_size.
6400 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6401 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6402 * elf/pldd.c: Likewise.
6403 * iconv/iconv_charmap.c: Likewise.
6404 * iconv/iconvconfig.c: Likewise.
6405 * iconv/strtab.c: Likewise.
6406 * locale/programs/locale.c: Likewise.
6407 * locale/programs/localedef.h: Likewise.
6408 * locale/programs/simple-hash.c: Likewise.
6409 * nscd/nscd.h: Likewise.
6410 * nss/makedb.c: Likewise.
6411 * sysdeps/generic/ldconfig.h: Likewise.
6412 * locale/programs/localedef.c: Remove xmalloc prototype.
6413 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6414
20b38e03
PP
64152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6416
6417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6418 appropriate.
6419
a0da5fe1
UD
64202012-01-08 Ulrich Drepper <drepper@gmail.com>
6421
1d5a644a 6422 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6423 * math/tst-CMPLX.c: New file.
1d5a644a 6424
8784a6db
UD
6425 * math/complex.h (CMPLXL): Fix typo.
6426
d9a216c0
UD
6427 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6428 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6429 GLIBC_2.16.
6430 * debug/tst-chk1.c: Add poll and ppoll tests.
6431 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6432 * include/sys/poll.h: Add hidden proto for ppoll.
6433 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6434 * sysdeps/mach/hurd/ppoll.c: Likewise.
6435 * io/ppoll.c: Likewise.
6436 * debug/poll_chk.c: New file.
6437 * debug/ppoll_chk.c: New file.
6438 * include/bits/poll2.h: New file.
6439 * io/bits/poll2.h: New file.
6440
ac097f5c
UD
6441 [BZ #1350]
6442 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6443
2119dcfa
UD
6444 * configure.in: static is always set to yes. Remove.
6445 * config.make.in: Don't set build-static.
6446 * Makeconfig: Remove use of build-static.
6447 * dlfcn/Makefile: Likewise.
6448 * elf/Makefile: Likewise.
6449 * math/Makefile: Likewise.
6450 * misc/Makefile: Likewise.
6451 * nptl/Makefile: Likewise.
6452 * sysdeps/mach/hurd/Makefile: Likewise.
6453
121766a9
UD
6454 * configure.in: PWD_P is not used anymore.
6455 * config.make.in: Remove PWD_P entry.
6456
51a1d39c 6457 * configure.in: Remove last remnants of RANLIB.
8720d066 6458 No need to check for signed size_t anymore.
215f4bdc
UD
6459 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6460 and IA-64.
3857022a 6461 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6462 * aclocal.m4: Likewise.
6463
d3ed7225
UD
6464 * wcsmbs/mbrtoc16.c: Implement using towc function.
6465 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6466 * wcsmbs/wcsmbsload.c: Likewise.
6467 * iconv/gconv_simple.c: Likewise.
6468 * iconv/gconv_int.h: Likewise.
6469 * iconv/gconv_builtin.h: Likewise.
6470 * iconv/iconv_prog.c: Remove CHAR16 handling.
6471
6472 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6473
6474 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6475
a0da5fe1
UD
6476 * configure.in: Remove --with-elf and --enable-bounded options.
6477 Dont set base_machine for ia64. More non-ELF conditions removed.
6478 Remove testing and setting of leading underscore information.
6479 * config.make.in (build-bounded): Set to no.
6480 * config.h.in: Remove NO_UNDERSCORES entry.
6481 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6482 them.
6483 * csu/start.c: Remove !NO_UNDERSCORE code.
6484 * locale/localeinfo.h: Likewise.
6485 * sysdeps/generic/machine-gmon.h: Likewise.
6486 * sysdeps/generic/sysdep.h: Likewise.
6487 * sysdeps/i386/sysdep.h: Likewise.
6488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6489 * sysdeps/mach/sysdep.h: Likewise.
6490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6492 * sysdeps/sh/sysdep.h: Likewise.
6493 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6494 * sysdeps/unix/i386/sysdep.S: Likewise.
6495 * sysdeps/unix/sparc/start.c: Likewise.
6496 * sysdeps/unix/sparc/sysdep.S: Likewise.
6497 * sysdeps/unix/sparc/sysdep.h: Likewise.
6498 * sysdeps/unix/start.c: Likewise.
6499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6500 * sysdeps/x86_64/sysdep.h: Likewise.
6501
df78418a
UD
65022012-01-07 Ulrich Drepper <drepper@gmail.com>
6503
a784e502
UD
6504 [BZ #13553]
6505 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6506 for non-gcc.
6507 * argp/argp-fmtstream.h: Use const instead __const.
6508 * argp/argp.h: Likewise.
6509 * assert/assert.h: Likewise.
6510 * bits/fenv.h: Likewise.
6511 * bits/sched.h: Likewise.
6512 * bits/sigset.h: Likewise.
6513 * bits/sigthread.h: Likewise.
6514 * catgets/nl_types.h: Likewise.
6515 * conform/data/pthread.h-data: Likewise.
6516 * crypt/crypt-private.h: Likewise.
6517 * crypt/crypt.h: Likewise.
6518 * crypt/crypt_util.c: Likewise.
6519 * ctype/ctype.h: Likewise.
6520 * debug/execinfo.h: Likewise.
6521 * debug/mbsnrtowcs_chk.c: Likewise.
6522 * debug/mbsrtowcs_chk.c: Likewise.
6523 * debug/wcsnrtombs_chk.c: Likewise.
6524 * debug/wcsrtombs_chk.c: Likewise.
6525 * debug/wcstombs_chk.c: Likewise.
6526 * dirent/dirent.h: Likewise.
6527 * dlfcn/dlfcn.h: Likewise.
6528 * elf/neededtest4.c: Likewise.
6529 * grp/grp.h: Likewise.
6530 * gshadow/gshadow.h: Likewise.
6531 * iconv/gconv.h: Likewise.
6532 * iconv/gconv_int.h: Likewise.
6533 * iconv/gconv_simple.c: Likewise.
6534 * iconv/iconv.h: Likewise.
6535 * iconv/loop.c: Likewise.
6536 * iconv/skeleton.c: Likewise.
6537 * include/aio.h: Likewise.
6538 * include/aliases.h: Likewise.
6539 * include/argz.h: Likewise.
6540 * include/arpa/inet.h: Likewise.
6541 * include/assert.h: Likewise.
6542 * include/dirent.h: Likewise.
6543 * include/dlfcn.h: Likewise.
6544 * include/execinfo.h: Likewise.
6545 * include/fcntl.h: Likewise.
6546 * include/fenv.h: Likewise.
6547 * include/glob.h: Likewise.
6548 * include/grp.h: Likewise.
6549 * include/libintl.h: Likewise.
6550 * include/mntent.h: Likewise.
6551 * include/netdb.h: Likewise.
6552 * include/pwd.h: Likewise.
6553 * include/rpc/netdb.h: Likewise.
6554 * include/sched.h: Likewise.
6555 * include/search.h: Likewise.
6556 * include/shadow.h: Likewise.
6557 * include/signal.h: Likewise.
6558 * include/stdio.h: Likewise.
6559 * include/stdlib.h: Likewise.
6560 * include/string.h: Likewise.
6561 * include/sys/socket.h: Likewise.
6562 * include/sys/stat.h: Likewise.
6563 * include/sys/statfs.h: Likewise.
6564 * include/sys/statvfs.h: Likewise.
6565 * include/sys/syslog.h: Likewise.
6566 * include/sys/time.h: Likewise.
6567 * include/sys/uio.h: Likewise.
6568 * include/time.h: Likewise.
6569 * include/unistd.h: Likewise.
6570 * include/utmp.h: Likewise.
6571 * include/wchar.h: Likewise.
6572 * include/wctype.h: Likewise.
6573 * inet/aliases.h: Likewise.
6574 * inet/arpa/inet.h: Likewise.
6575 * inet/netinet/ether.h: Likewise.
6576 * inet/netinet/in.h: Likewise.
6577 * intl/libintl.h: Likewise.
6578 * io/bits/fcntl2.h: Likewise.
6579 * io/fcntl.h: Likewise.
6580 * io/ftw.h: Likewise.
6581 * io/sys/poll.h: Likewise.
6582 * io/sys/stat.h: Likewise.
6583 * io/sys/statfs.h: Likewise.
6584 * io/sys/statvfs.h: Likewise.
6585 * io/utime.h: Likewise.
6586 * libio/bits/stdio.h: Likewise.
6587 * libio/bits/stdio2.h: Likewise.
6588 * libio/libio.h: Likewise.
6589 * libio/libioP.h: Likewise.
6590 * libio/stdio.h: Likewise.
6591 * locale/lc-ctype.c: Likewise.
6592 * locale/locale.h: Likewise.
6593 * login/utmp.h: Likewise.
6594 * malloc/arena.c: Likewise.
6595 * malloc/malloc.c: Likewise.
6596 * malloc/malloc.h: Likewise.
6597 * malloc/mcheck.c: Likewise.
6598 * malloc/mtrace.c: Likewise.
6599 * math/bits/mathcalls.h: Likewise.
6600 * math/fenv.h: Likewise.
6601 * math/math_private.h: Likewise.
6602 * misc/bits/error.h: Likewise.
6603 * misc/bits/syslog.h: Likewise.
6604 * misc/err.h: Likewise.
6605 * misc/error.h: Likewise.
6606 * misc/fstab.h: Likewise.
6607 * misc/mntent.h: Likewise.
6608 * misc/regexp.h: Likewise.
6609 * misc/search.h: Likewise.
6610 * misc/sgtty.h: Likewise.
6611 * misc/sys/mman.h: Likewise.
6612 * misc/sys/syslog.h: Likewise.
6613 * misc/sys/uio.h: Likewise.
6614 * misc/sys/xattr.h: Likewise.
6615 * misc/ttyent.h: Likewise.
6616 * nis/rpcsvc/ypclnt.h: Likewise.
6617 * nss/nss.h: Likewise.
6618 * posix/bits/unistd.h: Likewise.
6619 * posix/fnmatch.h: Likewise.
6620 * posix/glob.h: Likewise.
6621 * posix/sched.h: Likewise.
6622 * posix/spawn.h: Likewise.
6623 * posix/sys/wait.h: Likewise.
6624 * posix/unistd.h: Likewise.
6625 * posix/wordexp.h: Likewise.
6626 * pwd/pwd.h: Likewise.
6627 * resolv/netdb.h: Likewise.
6628 * resource/sys/resource.h: Likewise.
6629 * rt/aio.h: Likewise.
6630 * rt/bits/mqueue2.h: Likewise.
6631 * rt/mqueue.h: Likewise.
6632 * shadow/shadow.h: Likewise.
6633 * signal/signal.h: Likewise.
6634 * socket/send.c: Likewise.
6635 * socket/sendto.c: Likewise.
6636 * socket/sys/socket.h: Likewise.
6637 * stdio-common/printf.h: Likewise.
6638 * stdlib/bits/stdlib.h: Likewise.
6639 * stdlib/fmtmsg.h: Likewise.
6640 * stdlib/monetary.h: Likewise.
6641 * stdlib/stdlib.h: Likewise.
6642 * stdlib/ucontext.h: Likewise.
6643 * streams/stropts.h: Likewise.
6644 * string/argz.h: Likewise.
6645 * string/bits/string2.h: Likewise.
6646 * string/string.h: Likewise.
6647 * string/strings.h: Likewise.
6648 * sunrpc/rpc/auth.h: Likewise.
6649 * sunrpc/rpc/auth_des.h: Likewise.
6650 * sunrpc/rpc/clnt.h: Likewise.
6651 * sunrpc/rpc/netdb.h: Likewise.
6652 * sunrpc/rpc/pmap_clnt.h: Likewise.
6653 * sunrpc/rpc/xdr.h: Likewise.
6654 * sysdeps/generic/inttypes.h: Likewise.
6655 * sysdeps/generic/net/if.h: Likewise.
6656 * sysdeps/generic/sys/swap.h: Likewise.
6657 * sysdeps/gnu/net/if.h: Likewise.
6658 * sysdeps/gnu/utmpx.h: Likewise.
6659 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6660 * sysdeps/i386/i486/bits/string.h: Likewise.
6661 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6662 * sysdeps/s390/bits/string.h: Likewise.
6663 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6664 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6665 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6666 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6667 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6668 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6669 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6671 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6672 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6673 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6675 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6676 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6677 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6684 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6685 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6686 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6687 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6688 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6691 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6693 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6694 * sysvipc/sys/ipc.h: Likewise.
6695 * sysvipc/sys/msg.h: Likewise.
6696 * sysvipc/sys/sem.h: Likewise.
6697 * sysvipc/sys/shm.h: Likewise.
6698 * termios/termios.h: Likewise.
6699 * time/sys/time.h: Likewise.
6700 * time/time.h: Likewise.
6701 * wcsmbs/bits/wchar2.h: Likewise.
6702 * wcsmbs/uchar.h: Likewise.
6703 * wcsmbs/wchar.h: Likewise.
6704 * wctype/wctype.h: Likewise.
6705
0269750c
UD
6706 [BZ #13551]
6707 * Makeconfig: Remove all but ELF support including AIX support.
6708 * Makerules: Likewise.
6709 * config.h.in: Likewise.
6710 * config.make.in: Likewise.
6711 * configure: Likewise.
6712 * configure.in: Likewise.
6713 * csu/Makefile: Likewise.
6714 * csu/version.c: Likewise.
6715 * debug/Makefile: Likewise.
6716 * dlfcn/Makefile: Likewise.
6717 * elf/Makefile: Likewise.
6718 * extra-lib.mk: Likewise.
6719 * iconv/Makefile: Likewise.
6720 * include/libc-symbols.h: Likewise.
6721 * include/shlib-compat.h: Likewise.
6722 * resolv/Makefile: Likewise.
6723 * resolv/res_libc.c: Likewise.
6724 * rt/Makefile: Likewise.
6725 * sysdeps/i386/asm-syntax.h: Likewise.
6726 * sysdeps/i386/sysdep.h: Likewise.
6727 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6728 * sysdeps/mach/sysdep.h: Likewise.
6729 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6730 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6731 * sysdeps/s390/asm-syntax.h: Likewise.
6732 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6734 * sysdeps/sh/sysdep.h: Likewise.
6735 * sysdeps/unix/sparc/sysdep.h: Likewise.
6736 * sysdeps/wordsize-32/divdi3.c: Likewise.
6737 * sysdeps/x86_64/sysdep.h: Likewise.
6738
00bbd29b
UD
6739 * argp/Versions: Remove _argp_unlock_xxx.
6740
6741 [BZ #13559]
6742 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6743 * abilist/libBrokenLocale.abilist: Likewise.
6744 * abilist/libanl.abilist: Likewise.
6745 * abilist/libc.abilist: Likewise.
6746 * abilist/libcrypt.abilist: Likewise.
6747 * abilist/libdl.abilist: Likewise.
6748 * abilist/libm.abilist: Likewise.
6749 * abilist/libnsl.abilist: Likewise.
6750 * abilist/libpthread.abilist: Likewise.
6751 * abilist/libresolv.abilist: Likewise.
6752 * abilist/librt.abilist: Likewise.
6753 * abilist/libthread_db.abilist: Likewise.
6754 * abilist/libutil.abilist: Likewise.
6755 * abilist/libnss_db.abilist: New file.
6756
6757 * scripts/abilist.awk: Add support for indirect functions.
6758
a2693a0e
UD
6759 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6760
3f05895f
UD
6761 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6762
ecb6fb48
UD
6763 * shlib-versions: Remove entries for ports architectures.
6764
664f8cb9
UD
6765 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6766 files in ports.
6767 * elf/stackguard-macros.h: Remove support for IA-64.
6768 * elf/tst-auditmod1.c: Likewise.
6769 * sysdeps/generic/ldsodefs.h: Likewise.
6770
7ae81d88
UD
6771 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6772 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6773 configure files.
6774
bdeba135
UD
6775 [BZ #13552]
6776 * configure.in: Remove --enable-omitfp support.
6777 * FAQ.in: Adjust.
6778 * config.make.in: Likewise.
6779 * Makeconfig: Likewise.
6780 * manual/install.texi: Likewise.
6781
d75a0a62
UD
6782 In case anyone cares, the IA-64 architecture could move to ports.
6783 * sysdeps/ia64/*: Removed.
6784 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6785 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6786
dcc9756b
UD
6787 [BZ #13555]
6788 * configure.in: Remove entries for unsupported architectures.
6789
d3761ebc 6790 [BZ #13533]
9954432e
UD
6791 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6792 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6793 routines.
6794 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6795 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6796 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6797 fall back to using wcrtomb.
6798 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6799 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6800 renaming.
6801 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6802 * wcsmbs/tst-c16c32-1.c: New file.
6803
6804 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6805 local variable.
6806
c3a87236
UD
6807 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6808
28926a1b
UD
6809 * elf/tst-unique3.cc: Add explicit declaration of gets.
6810 * elf/tst-unique3lib.cc: Likewise.
6811 * elf/tst-unique3lib2.cc: Likewise.
6812 * elf/tst-unique4.cc: Likewise.
6813
df78418a
UD
6814 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6815
8ecd6b2a
JM
68162012-01-06 Joseph Myers <joseph@codesourcery.com>
6817
6818 [BZ #13566]
6819 * assert/assert.h (static_assert): Don't define for C++.
6820 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6821 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6822
9f115170
UD
68232012-01-03 Ulrich Drepper <drepper@gmail.com>
6824
5e0d0300
UD
6825 * iconv/loop.c (single loop): Fix assertion in storing of
6826 remaining bytes.
6827
9f115170
UD
6828 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6829
81fb02b0
UD
68302012-01-01 Ulrich Drepper <drepper@gmail.com>
6831
6832 * posix/getconf.c: Update copyright year.
6833 * nss/getent.c: Likewise.
a316c1f6 6834 * nss/makedb.c: Likewise.
81fb02b0
UD
6835 * iconv/iconvconfig.c: Likewise.
6836 * iconv/iconv_prog.c: Likewise.
6837 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6838 * elf/pldd.c: Likewise.
6839 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6840 * catgets/gencat.c: Likewise.
6841 * csu/version.c: Likewise.
6842 * elf/ldd.bash.in: Likewise.
6843 * elf/sprof.c (print_version): Likewise.
6844 * locale/programs/locale.c: Likewise.
6845 * locale/programs/localedef.c: Likewise.
a316c1f6 6846 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6847 * nscd/nscd.c (print_version): Likewise.
6848 * debug/xtrace.sh: Likewise.
6849 * malloc/memusage.sh: Likewise.
6850 * malloc/mtrace.pl: Likewise.
6851 * debug/catchsegv.sh: Likewise.
6852
2ba92745
JJ
68532011-12-30 Jakub Jelinek <jakub@redhat.com>
6854
6855 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6856 pure attribute.
6857
dadebdae
UD
68582011-12-24 Ulrich Drepper <drepper@gmail.com>
6859
d3761ebc 6860 [BZ #13533]
db6af3eb
UD
6861 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6862 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6863 transformations.
6864 * iconv/gconv_int.h: Likewise.
6865 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6866 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6867 from libc for GLIBC_2.16.
6868 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6869 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6870 * wcsmbs/uchar.h: Really define mbstate_t.
6871 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6872 * wcsmbs/c16rtomb.c: New file.
6873 * wcsmbs/mbrtoc16.c: New file.
6874 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6875 for C/POSIX locale.
6876 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6877 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6878
dadebdae
UD
6879 * wcsmbs/wchar.h: Add missing __restrict.
6880
67371b56
UD
68812011-12-23 Ulrich Drepper <drepper@gmail.com>
6882
74033a25
UD
6883 [BZ #13532]
6884 * time/Makefile (routines): Add timespec_get.
6885 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6886 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6887 timespec for ISO C11.
6888 * time/timespec_get.c: New file.
6889 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6890 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6891
380d7e87
UD
6892 [BZ #13531]
6893 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6894 * stdlib/stdlib.h: Declare aligned_alloc.
6895 * Versions.def: Add GLIBC_2.16 for libc.
6896 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6897
4e9e7a35
UD
6898 [BZ 13527]
6899 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6900 ISO C11.
6901
380d7e87 6902 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6903 code.
6904
03a71829
UD
6905 [BZ #13528]
6906 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6907
839e283e
UD
6908 [BZ #13529]
6909 * assert/assert.h (static_assert): Define.
6910
ce5294e2 6911 * version.h: Update for 2.16 development version.
90fa7312 6912
8d44e150 6913 [BZ #13526]
d7809905
UD
6914 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6915 _ISOC11_SOURCE.
6916
c0da14cd
UD
6917 * version.h (RELEASE): Bump for 2.15 release.
6918 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6919
530a3249
MP
6920 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6921 Patch by Marek Polacek <mpolacek@redhat.com>.
6922
67371b56
UD
6923 * bits/byteswap.h: Protect long long constants with __extension__.
6924 * sysdeps/i386/bits/byteswap.h: Likewise.
6925 * sysdeps/ia64/bits/byteswap.h: Likewise.
6926 * sysdeps/s390/bits/byteswap.h: Likewise.
6927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6928
15db4de1
LD
69292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6930
6931 [BZ #13540]
bbe315ea
LD
6932 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6933 destination buffer.
15db4de1
LD
6934 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6935
2b2596b1
MP
69362011-12-23 Marek Polacek <polacek@redhat.com>
6937
6938 * elf/dl-addr.c (determine_info): Add inline keyword.
6939 * elf/tst-auditmod4b.c (check_avx): Likewise.
6940 * elf/tst-auditmod6b.c (check_avx): Likewise.
6941 * elf/tst-auditmod6c.c (check_avx): Likewise.
6942 * elf/tst-auditmod7b.c (check_avx): Likewise.
6943
70c6c246
UD
69442011-12-23 Ulrich Drepper <drepper@gmail.com>
6945
6946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6947 !__SSE_MATH__.
6948
c044cf14
LD
69492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6950
15db4de1 6951 [BZ #13540]
c044cf14
LD
6952 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6953 processing for last bytes.
6954
6b13d9d9
BH
69552011-08-06 Bruno Haible <bruno@clisp.org>
6956
d455f537
BH
6957 [BZ #13061]
6958 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6959 U+0385, not to U+1FEE.
6960
6b13d9d9
BH
6961 [BZ #13062]
6962 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6963 entry for U+00A5 U+0301.
6964
db910efd
UD
69652011-12-22 Ulrich Drepper <drepper@gmail.com>
6966
27deeafc
UD
6967 [BZ #13166]
6968 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6969 buffer for the output is too small.
6970
aed9d171
UD
6971 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6972 optimization.
6973
db910efd
UD
6974 [BZ #13185]
6975 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6976 SSE flags if possible.
6977
2bd779ae
LD
69782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6979
e7f9dac3 6980 [BZ #13540]
2bd779ae
LD
6981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6982 processing for last bytes.
6983
154bfc16
JM
69842011-12-22 Joseph Myers <joseph@codesourcery.com>
6985
6986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6987 (syscall-list-default-options, syscall-list-default-condition)
6988 (syscall-list-includes): Define.
6989 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6990 list of ABIs and options and #if conditions for each ABI. Do not
6991 handle common syscalls between ABIs specially.
6992 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6993 Remove.
6994 (syscall-list-variants, syscall-list-32bit-options)
6995 (syscall-list-32bit-condition, syscall-list-64bit-options)
6996 (syscall-list-64bit-condition): Define.
6997 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6998 (syscall-list-variants, syscall-list-32bit-options)
6999 (syscall-list-32bit-condition, syscall-list-64bit-options)
7000 (syscall-list-64bit-condition): Define.
7001 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7002 Remove.
7003 (syscall-list-variants, syscall-list-32bit-options)
7004 (syscall-list-32bit-condition, syscall-list-64bit-options)
7005 (syscall-list-64bit-condition): Define.
7006 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7007 Remove.
7008 (syscall-list-variants, syscall-list-32bit-options)
7009 (syscall-list-32bit-condition, syscall-list-64bit-options)
7010 (syscall-list-64bit-condition): Define.
7011
21eaf3a5
UD
70122011-12-22 Ulrich Drepper <drepper@gmail.com>
7013
16c6f992
UD
7014 * locale/iso-639.def: Add brx entry.
7015
41043168
UD
7016 [BZ #13328]
7017 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7018 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7019
21eaf3a5
UD
7020 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7021 __feraiseexcept_renamed.
7022
e3a851a2
UD
70232011-12-21 Ulrich Drepper <drepper@gmail.com>
7024
4920765e
UD
7025 [BZ #13538]
7026 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7027 EPOLLET with unsigned values.
7028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7030
e3a851a2
UD
7031 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7032 to large cancellation.
7033 * math/s_cacoshf.c: Likewise.
7034 * math/s_cacoshl.c: Likewise.
7035
b27e24b8
RK
70362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7037
7038 [BZ #13305]
aebefeee 7039 [BZ #12786]
b27e24b8
RK
7040 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7041 * math/s_cacoshf.c: Likewise.
7042 * math/s_cacoshl.c: Likewise.
7043
ee190f67
UD
70442011-12-21 Ulrich Drepper <drepper@gmail.com>
7045
7046 [BZ #13439]
7047 * iconv/gconv.h: Define __GCONV_SWAP.
7048 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7049 * iconvdata/utf-16.c: Likewise.
7050 * iconvdata/utf-32.c: Likewise.
7051
707f25df
AS
70522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7053
7054 [BZ #13524]
7055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7056 numerator after shifting it by one limb.
7057
d2daaa1e
RÁE
70582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7059
7060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7061 under [__USE_EXTERN_INLINES].
7062
a4647e72
UD
70632011-12-17 Ulrich Drepper <drepper@gmail.com>
7064
7065 [BZ #13446]
7066 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7067
f0b264f1
AZ
70682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7069
7070 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7071 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7072 optimized code.
7073 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7075 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7076 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7077 for strncasecmp/strncasecmp_l compilation.
7078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7079 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7080
8ef4f244
MP
70812011-12-08 Marek Polacek <mpolacek@redhat.com>
7082
7083 [BZ #13484]
7084 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7085 of __asm__.
7086
97ac2654
UD
70872011-12-17 Ulrich Drepper <drepper@gmail.com>
7088
7089 [BZ #13506]
7090 * time/tzfile.c (__tzfile_read): Check values from file header.
7091
91d2a845
WS
70922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7093
7094 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7095 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7096 * powerpc/powerpc32/dl-start.S: Likewise.
7097 * powerpc/powerpc32/elf/start.S: Likewise.
7098 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7099 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7100 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7101 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7102 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7103 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7104 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7105 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7106 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7107 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7108 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7109 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7110 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7111 * powerpc/powerpc32/memset.S: Likewise.
7112 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7113 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7114 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7115 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7116 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7117 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7118 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7119 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7120 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7121 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7122 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7123 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7124 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7125
a1267ba1
AZ
71262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7127
7128 * math/libm-test.inc: Added more nearbyint tests.
7129 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7132 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7133
ad8ac1bd
RL
71342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7135
7136 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7137 FD_CLOEXEC.
7138
1d3e4b61
UD
71392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7140
7141 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7142 Add wcscpy-ssse3 wcscpy-c.
7143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7144 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7145 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7146 * sysdeps/x86_64/wcschr.S: New file.
7147 * sysdeps/x86_64/wcsrchr.S: New file.
7148 * string/test-strcmp.c: Remove checking of wcscmp function for
7149 wrong alignments.
7150 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7151 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7152 wcsrchr-sse2 wcsrchr-c.
7153 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7154 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7155 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7156 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7157 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7158 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7159 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7160 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7162 * wcsmbc/wcschr.c (WCSCHR): New macro.
7163
5b330a2d
UD
71642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7165
7166 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7167 * wcsmbs/test-wcsrchr.c: New file.
7168 * string/test-strrchr.c: Add wcsrchr support.
7169 (WIDE): New macro.
7170 * wcsmbs/test-wcscpy.c: New file.
7171 * string/test-strcpy.c: Add wcscpy support.
7172 (WIDE): New macro.
26428b7c 7173
f039c043
UD
71742011-12-10 Ulrich Drepper <drepper@gmail.com>
7175
7176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7177 the inner loop.
7178
850fb039
AS
71792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7180
7181 [BZ #13472]
7182 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7183
4efbd5cb
UD
71842011-12-04 Ulrich Drepper <drepper@gmail.com>
7185
52ff5dd0 7186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7187 Minor optimizations.
52ff5dd0 7188
4efbd5cb
UD
7189 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7190 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7191 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7192
8a426e12
UD
71932011-12-03 Ulrich Drepper <drepper@gmail.com>
7194
aff2453d
UD
7195 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7196 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7197 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7198 for gcc to avoid warnings.
7199 * inet/Makefile (tests): Add tst-checks.
7200 * inet/tst-checks.c: New file.
7201
7202 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7203 warning.
7204
7205 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7206 __wmemcmp_sse2.
7207
7208 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7209 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7210
8a426e12
UD
7211 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7212
9bea3473
UD
72132011-12-02 Ulrich Drepper <drepper@gmail.com>
7214
3a965496
UD
7215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7216 problem.
7217
9bea3473
UD
7218 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7219
f101631b
UD
72202011-11-29 Joseph Myers <joseph@codesourcery.com>
7221
7222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7223 conditional on GCC version.
7224 (__arch_compare_and_exchange_val_8_acq)
7225 (__arch_compare_and_exchange_val_16_acq)
7226 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7227 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7228 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7229
a98275aa
UD
72302011-12-02 Joseph Myers <joseph@codesourcery.com>
7231
7232 * sysdeps/sh/backtrace.c: New file.
7233
d4cc29a2
AS
72342011-12-02 Andreas Schwab <schwab@redhat.com>
7235
7236 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7237 parenthesis.
7238
6257af2d
AS
72392011-12-01 Andreas Schwab <schwab@redhat.com>
7240
7241 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7242 falling back to utime.
7243
b5f44c1a
AS
72442011-11-30 Andreas Schwab <schwab@redhat.com>
7245
7246 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7247 expectations for float.
7248
f3a6cc0a
AS
72492011-11-29 Andreas Schwab <schwab@redhat.com>
7250
7251 * locale/weight.h (findidx): Add parameter len.
7252 * locale/weightwc.h (findidx): Likewise.
7253 * posix/fnmatch_loop.c (FCT): Adjust caller.
7254 * posix/regcomp.c (build_equiv_class): Likewise.
7255 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7256 * posix/regexec.c (check_node_accept_bytes): Likewise.
7257 * string/strcoll_l.c (STRCOLL): Likewise.
7258 * string/strxfrm_l.c (STRXFRM): Likewise.
7259
9d65ea3a
UD
72602011-11-17 Ulrich Drepper <drepper@gmail.com>
7261
7262 * Makefile.in: Remove CVSOPT handling.
7263 * configure.in: Remove use of AC_REVISION.
7264 * iconvdata/Makefile (distribute): No need to filter out CVS.
7265 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7266 handling.
7267
5583a086
AS
72682011-11-16 Andreas Schwab <schwab@redhat.com>
7269
7270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7271 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7272 [USE_AS_STRNCASECMP_L]: Likewise.
7273 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7274 NO_TLS_DIRECT_SEG_REFS.
7275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7276 Fix argument offsets for non-PIC.
7277 [USE_AS_STRNCASECMP_L]: Likewise.
7278 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7279 NO_TLS_DIRECT_SEG_REFS.
7280
d62a8200
UD
72812011-11-15 Ulrich Drepper <drepper@gmail.com>
7282
9d65ea3a 7283 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7284 O_CLOEXEC.
7285 * locale/loadlocale.c (_nl_load_locale): Likewise.
7286
09f93bd3
AS
72872011-11-15 Andreas Schwab <schwab@redhat.com>
7288
446514f9
AS
7289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7290 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7291 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7292 (SYSCALL_GETTIME): Set errno on error.
7293
09f93bd3
AS
7294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7295 count references to noai6ai_cached.
7296
312be3f9
UD
72972011-11-15 Ulrich Drepper <drepper@gmail.com>
7298
7299 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7300
7301 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7302 FD_CLOEXEC for /proc/self/maps.
7303
7304 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7305 FD_CLOEXEC for /proc/meminfo.
7306
7307 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7308 gai.conf.
7309
7310 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7311 FD_CLOEXEC for given file.
7312
7313 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7314
7315 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7316 FD_CLOEXEC for /etc/hosts.
7317 (_gethtent): Likewise.
7318
7319 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7320
7321 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7322 cancellation and set FD_CLOEXEC for /etc/netgroup.
7323
7324 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7325 reading /etc/publickey.
7326
7327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7328 allow cancellation when reading /etc/group.
7329
7330 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7331 cancellation.
7332 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7333
7334 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7335 when using data file.
7336
7337 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7338
7339 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7340 (write_nis_obj): Use "c" and "e" in fopen.
7341
7342 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7343
7344 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7345
7346 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7347
7348 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7349
7350 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7351 locale.alias.
7352
7353 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7354
7355 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7356
7357 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7358
7359 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7360 file parsing and set FD_CLOEXEC.
7361
82af0fa8
UD
73622011-11-14 Ulrich Drepper <drepper@gmail.com>
7363
7364 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7365
a5fb313c
AS
73662011-11-14 Andreas Schwab <schwab@redhat.com>
7367
7368 * malloc/arena.c (arena_get2): Don't call reused_arena when
7369 _int_new_arena failed.
7370
6abf3465
UD
73712011-11-14 Ulrich Drepper <drepper@gmail.com>
7372
7373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7374 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7379 to compile strcasecmp and strncasecmp.
7380 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7381 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7382
7383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7384
76e3966e
UD
73852011-11-13 Ulrich Drepper <drepper@gmail.com>
7386
7387 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7388 locale-defines.sym to gen-as-const-headers.
7389 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7390 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7392 to compile strcasecmp and strncasecmp.
7393 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7394 strcasecmp_l and strncasecmp_l.
7395 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7396 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7397 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7398 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7399 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7401 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7402 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7403 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7404 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7405 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7406
ab26144e
UD
74072011-11-12 Ulrich Drepper <drepper@gmail.com>
7408
7edb22ef
UD
7409 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7410 result of SYSDEP_GETTIME_CPU to retval.
7411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7412 parameter list to macro. Remove trailing semicolon. Adjust users.
7413
9694fc44
UD
7414 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7415 variable.
7416
8ad89ef8
UD
7417 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7418 mantissa words.
7419 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7420
0c822ef9
UD
7421 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7422 from unused variable.
7423
874e0564
UD
7424 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7425 DWARF definitions.
7426 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7427 for assembling.
7428
3a2edc79
UD
7429 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7430 over namespaces.
7431
f3c2577f
UD
7432 * sunrpc/rpc_prot.c (rejected): Fix case value.
7433
294ce126
UD
7434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7435 unsigned long long int to avoid warnings in shift.
7436
5e2b63c6
UD
7437 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7438 of use of trans.
7439 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7440 variable tmp.
7441
e7f4b08e
UD
7442 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7443 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7445
ab26144e
UD
7446 * nis/nis_table.c (nis_list): Use variable of correct type for
7447 result of __follow_path call.
7448
8a6d5255
AZ
74492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7450
7451 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7452 of math functions ceil, trunc, floor, round, and sqrt, when
7453 avaliable on the platform.
7454 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7455 name clash.
7456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7459
aaddc98c
MP
74602011-10-30 Marek Polacek <mpolacek@redhat.com>
7461
7462 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7464
95b7042b
RM
74652011-11-11 Roland McGrath <roland@hack.frob.com>
7466
7467 * include/unistd.h: Fix __readlink return type.
7468 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7469
57769839
UD
74702011-11-11 Ulrich Drepper <drepper@gmail.com>
7471
7472 * stdlib/ucontext.h: Undo last change for makecontext.
7473
edc5984d
AS
74742011-11-11 Andreas Schwab <schwab@redhat.com>
7475
98591e58
AS
7476 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7477
edc5984d
AS
7478 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7479 * setjmp/setjmp.h: Mark functions as non-leaf.
7480 * setjmp/bits/setjmp2.h: Likewise.
7481 * stdlib/ucontext.h: Likewise.
7482
77cdc054
AS
74832011-11-10 Andreas Schwab <schwab@redhat.com>
7484
7485 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7486 (reused_arena): Don't check arena limit.
7487 (arena_get2): Atomically check arena limit.
7488
fe72eebd
UD
74892011-11-08 Ulrich Drepper <drepper@gmail.com>
7490
5f078c32
UD
7491 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7492 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7493
fe72eebd
UD
7494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7495 instructions.
7496
ae1bc2fa
AS
74972011-11-07 Andreas Schwab <schwab@redhat.com>
7498
7583a88d
AS
7499 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7500 handler when locking.
7501
ae1bc2fa
AS
7502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7503 Fix size of allocated buffer.
7504
10fb0bfa
AS
75052011-11-04 Andreas Schwab <schwab@redhat.com>
7506
998832a4
AS
7507 [BZ #10103]
7508 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7509 declarations for long double functions.
7510 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7511
10fb0bfa
AS
7512 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7513
3d7ba52b
AS
75142011-11-03 Andreas Schwab <schwab@redhat.com>
7515
a9ae54a1
AS
7516 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7517 installed.
7518
3d7ba52b
AS
7519 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7520 is disabled.
7521
bc8db248
ST
75222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7523
7524 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7525
45b96dd6
AS
75262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7527
647776f6
AS
7528 * include/alloca.h (stackinfo_alloca_round): Define.
7529 (extend_alloca): Use it.
7530 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7531 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7532 here.
7533
d91a8b93
AS
7534 * scripts/check-local-headers.sh: Ignore libaudit.h.
7535
45b96dd6
AS
7536 * nscd/Makefile (extra-objs): Make recursively expanded.
7537
432d41ce
UD
75382011-11-01 Ulrich Drepper <drepper@gmail.com>
7539
34372fc6
UD
7540 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7542
fadb59f8
UD
7543 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7544 * posix/tst-rfc3484-2.c: Likewise.
7545 * posix/tst-rfc3484-3.c: Likewise.
7546
78239589
UD
7547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7548 process_vm_writev.
7549 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7550 process_vm_writev.
7551 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7552 process_vm_writev from libc using GLIBC_2.15 version.
7553
432d41ce
UD
7554 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7555
02f9c6cf
PP
75562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7557
7558 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7559 stack usage.
7560
3a2c0242
UD
75612011-10-31 Ulrich Drepper <drepper@gmail.com>
7562
f4ec4833
UD
7563 [BZ #13367]
7564 * nss/getent.c (initgroups_keys): Show error message in case no group
7565 names are given.
7566
3a2c0242
UD
7567 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7568 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7569 __bump_nl_timestamp.
7570 * nscd/connections (nscd_init): When host database is served open
7571 netlink socket and request notification about configuration changes.
7572 (main_loop_poll): Track netlink file descriptor and bump timestamp
7573 in case data becomes available.
7574 (main_loop_epoll): Likewise.
7575 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7576 (database_pers_head): Add extra_data fileds.
7577 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7578 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7579 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7580 Adjust caller.
7581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7582 in6ai data, call __free_in6ai.
7583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7584 Add -DHAVE_NETLINK.
7585 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7586 interface information. Reuse previous data if netlink timestamp
7587 is not changed.
7588 (__bump_nl_timestamp): New function.
7589 (__free_in6ai): New function.
7590
636064eb
UD
75912011-10-30 Ulrich Drepper <drepper@gmail.com>
7592
7593 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7594 close_not_cancel_no_status here.
7595 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7596
9beb2334
UD
75972011-10-29 Ulrich Drepper <drepper@gmail.com>
7598
6ef76f3b
UD
7599 [BZ #13276]
7600 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7601 return value.
7602
0ffc4f3e 7603 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7604 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7605 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7606
cb95113e
UD
76072011-07-03 Andreas Jaeger <aj@suse.de>
7608
7609 [BZ #10709]
7610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7611 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7612 * math/libm-test.inc (sin_test): Add test case.
7613
a1b560ff
UD
76142011-10-29 Ulrich Drepper <drepper@gmail.com>
7615
c9aaface
UD
7616 [BZ #13337]
7617 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7618 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7619
d272e7f1
UD
7620 * elf/chroot_canon.c (chroot_canon): Cleanups.
7621
1bc33071
UD
7622 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7623
1760874d
TJ
7624 [BZ #13335]
7625 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7626 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7627
51d91b18
UD
7628 * string/test-strchr.c: Make usable for strchrnul testing.
7629 * string/test-strchrnul.c: New file.
7630 * string/Makefile (strop-tests): Add strchrnul.
7631
a1b560ff 7632 * po/it.po: Update from translation team.
b611fb81 7633 * po/es.po: Likewise.
a1b560ff 7634
a5b81e1f
UD
76352011-10-28 Ulrich Drepper <drepper@gmail.com>
7636
fd52bc6d
UD
7637 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7638 the three constants needed as parameters. Drop the others.
7639 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7640 __m128i_strloadu_tolower.
52e4b9eb
UD
7641 Create and initialize variable zero and use it in all the places
7642 where _mm_setzero_si128 was used.
fd52bc6d 7643
a5b81e1f
UD
7644 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7645 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7646 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7648 anymore.
7649 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7652 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7654 __mpranred, __mptan.
7655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7659 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7660 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7662 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7664
b4343346
AS
76652011-10-28 Andreas Schwab <schwab@redhat.com>
7666
0c92d8a8
AS
7667 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7668 redefine if SHARED.
7669 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7670
b4343346
AS
7671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7672 wide char related routines to wcsmbs subdir.
7673
3871f58f
AS
76742011-10-27 Andreas Schwab <schwab@redhat.com>
7675
7676 [BZ #13344]
7677 * misc/sys/cdefs.h (__THROWNL): Define.
7678 * posix/unistd.h: Use __THREADNL instead of __THREAD
7679 for memory synchronization functions.
7680
94d44d9f
RM
76812011-10-26 Roland McGrath <roland@hack.frob.com>
7682
21b64b15 7683 [BZ #13349]
94d44d9f
RM
7684 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7685 doesn't exist.
7686 * manual/stdio.texi (Obstack Streams): Node removed.
7687
f6ce9294
AS
76882011-10-26 Andreas Schwab <schwab@redhat.com>
7689
80479147
AS
7690 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7691 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7693
f6ce9294
AS
7694 * math/math_private.h (math_force_eval): Allow non-addressable
7695 arguments.
7696 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7697
618280a1
UD
76982011-10-25 Ulrich Drepper <drepper@gmail.com>
7699
e0016b11
UD
7700 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7701 file is not needed.
7702
7703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7710 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7711 Add AVX variants.
7712 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7713 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7714 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7715 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7716 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7717 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7718 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7722 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7723 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7726 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7727 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7728 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7729 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7730 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7731
7732 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7733 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7734
618280a1
UD
7735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7736 place. Use VEX encoding when compiling for AVX.
7737
37822576
AS
77382011-10-25 Andreas Schwab <schwab@redhat.com>
7739
1f1e1947
AS
7740 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7742
37822576
AS
7743 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7744
31ea014d
UD
77452011-10-25 Ulrich Drepper <drepper@gmail.com>
7746
d7826aa1 7747 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7748 useless if() expression.
d7826aa1
UD
7749 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7768
31ea014d
UD
7769 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7770
16437fec
AS
77712011-10-25 Andreas Schwab <schwab@redhat.com>
7772
7773 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7774 condition.
7775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7776
31d3cc00
UD
77772011-10-25 Ulrich Drepper <drepper@gmail.com>
7778
7779 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7780 .text section. Avoid duplicate constants.
7781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7791 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7795 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7798 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7809 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7812 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7814 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7815 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7817 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7819 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7823 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7825 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7826
58985aa9
UD
78272011-10-24 Ulrich Drepper <drepper@gmail.com>
7828
202c9deb
UD
7829 * sysdeps/x86_64/dla.h: Move to ...
7830 * sysdeps/x86_64/fpu/dla.h: ...here.
7831 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7832 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7833
af968f62
UD
7834 * config.make.in: Add have-mfma4 entry.
7835 * configure.in: Substitute libc_cv_cc_fma4.
7836 * math/Makefile (dbl-only-routines): Add sincostab.
7837 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7838 Use __sincostab not sincos.
7839 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7840 name is a macro.
7841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7845 using __copysign.
7846 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7847 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7848 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7849 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7850 and __inv.
7851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7852 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7853 __copysign.
7854 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7855 define aliases when function name is a macro.
7856 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7857 sysdeps/ieee754/dbl-64/sincos.tbl.
7858 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7859 fma4-enabled routines.
7860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7864 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7865 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7870 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7872 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7890
58985aa9
UD
7891 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7892 rename.
7893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7901
a201fbcf
AS
79022011-10-24 Andreas Schwab <schwab@redhat.com>
7903
7904 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7905
fc2ee42a
LD
79062011-10-23 Ulrich Drepper <drepper@gmail.com>
7907
bb3129bd
UD
7908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7909
0275fff8
UD
7910 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7911 prediction.
7912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7913
2fa2ae85
UD
7914 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7915 Remove unused variable magic_bits.
7916 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7917
fc2ee42a
LD
7918 * string/strnlen.c: Define and use STRNLEN macro.
7919 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7920 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7922 * wcsmbs/wcslen.c: Define and use WCSLEN.
7923 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7924 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7925 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7926 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7927 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7928 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7929 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7930
ce7dd29f
LD
79312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7932
7933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7934 strnlen-sse2-no-bsf.
7935 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7937 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7938 Add strnlen support.
7939 (USE_AS_STRNLEN): New macro.
7940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7942 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7943 * sysdeps/x86_64/wcslen.S: New file.
7944
979c70a3
MZ
79452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7946
7947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7948 XMM-moves are used for copying on small sizes.
7949
2d09f82f
LD
79502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7951
7952 * wcsmbs/Makefile (strop-tests): Add wcschr.
7953 * wcsmbs/test-wcschr.c: New file.
7954 * string/test-strchr.c: Update.
7955 Add wcschr support.
7956 (WIDE): New macro.
7957
619fccca
LD
79582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7959
2d09f82f 7960 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7961 * wcsmbs/test-wcslen.c: New file.
7962 * string/test-strlen.c: Update.
7963 Add wcslen support.
7964 (WIDE): New macro.
7965
09f699ea
UD
79662011-10-23 Ulrich Drepper <drepper@gmail.com>
7967
7968 * po/it.po: Update from translation team.
7969
95584d3b
LD
79702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7971
7972 * sysdeps/x86_64/wcscmp.S: Update.
7973 Fix wrong comparison semantics.
7974 wcscmp shall use signed comparison not unsigned.
7975 Don't use substraction to avoid overflow bug.
7976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7977 * wcsmbc/wcscmp.c: Likewise.
7978 * string/test-strcmp.c: Likewise.
7979 Add new tests to check cases with negative values.
7980
c8b3296b
UD
79812011-10-23 Ulrich Drepper <drepper@gmail.com>
7982
7983 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7984 * sysdeps/x86_64/dla.h: ...here. New file.
7985 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7994
246ad57a
AS
79952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7996
7997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7998 __ynl_finite aliases.
7999
a1a87169
UD
80002011-10-22 Ulrich Drepper <drepper@gmail.com>
8001
0d355eb7
UD
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8003
a1a87169
UD
8004 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8005 define DLA_FMA.
8006 [DLA_FMA] (EMULV): Use DLA_FMA.
8007 [DLA_FMA] (MUL12): Use EMULV.
8008 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8009 that are not needed.
8010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8017
ee2aafe0
AS
80182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8019
8020 * math/s_nan.c: Undef __nan.
8021 * math/s_nanf.c: Undef __nanf.
8022 * math/s_nanl.c: Undef __nanl.
8023 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8024 "math_private.h".
8025
bc62c2fb
UD
80262011-10-22 Ulrich Drepper <drepper@gmail.com>
8027
77425c63
UD
8028 * math/s_catan.c: Add branch predictions.
8029 * math/s_catanf.c: Likewise.
8030 * math/s_catanh.c: Likewise.
8031 * math/s_catanhf.c: Likewise.
8032 * math/s_catanhl.c: Likewise.
8033 * math/s_catanl.c: Likewise.
8034 * math/s_cexp.c: Likewise.
8035 * math/s_cexpf.c: Likewise.
8036 * math/s_cexpl.c: Likewise.
8037 * math/s_clog.c: Likewise.
8038 * math/s_clog10.c: Likewise.
8039 * math/s_clog10f.c: Likewise.
8040 * math/s_clog10l.c: Likewise.
8041 * math/s_clogf.c: Likewise.
8042 * math/s_clogl.c: Likewise.
8043 * math/s_csqrt.c: Likewise.
8044 * math/s_csqrtf.c: Likewise.
8045 * math/s_csqrtl.c: Likewise.
8046 * math/s_ctanf.c: Likewise.
8047 * math/s_ctanh.c: Likewise.
8048 * math/s_ctanhf.c: Likewise.
8049 * math/s_ctanhl.c: Likewise.
8050 * math/s_ctanl.c: Likewise.
8051
bc62c2fb
UD
8052 * math/math_private.h: Define __nan, __nanf, __nanl.
8053 * math/s_cacosh.c: Include <math_private.h>.
8054 * math/s_cacoshl.c: Likewise.
8055 * math/s_casinh.c: Likewise.
8056 * math/s_casinhf.c: Likewise.
8057 * math/s_casinhl.c: Likewise.
8058 * math/s_ccos.c: Rely entire on ccosh.
8059 * math/s_ccosf.c: Rely entire on ccoshf.
8060 * math/s_ccosl.c: Rely entirely on ccoshl.
8061 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8062 Remove tests for FE_INVALID.
8063 * math/s_ccoshf.c: Likewise.
8064 * math/s_ccoshl.c: Likewise.
8065 * math/s_csin.c: Likewise.
8066 * math/s_csinf.c: Likewise.
8067 * math/s_csinh.c Likewise.
8068 * math/s_csinhf.c: Likewise.
8069 * math/s_csinhl.c: Likewise.
8070 * math/s_csinl.c: Likewise.
8071 * math/s_ctan.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8073 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8074 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8075
8ec250a4
UD
80762011-10-21 Ulrich Drepper <drepper@gmail.com>
8077
c196fed8
UD
8078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8079 compilation problems.
8080
8ec250a4
UD
8081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8082 __builtin_expect.
8083
8d4f46c6
UD
80842011-10-20 Ulrich Drepper <drepper@gmail.com>
8085
ed72b654
UD
8086 * sysdeps/i386/configure.in: Test for -mfma4 option.
8087 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8088 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8089 COMMON_CPUID_INDEX_80000001.
8090 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8091 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8092 use it if FMA3 is not supported.
8093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8094
8d4f46c6
UD
8095 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8096 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8097
d45c60c2
AS
80982011-10-20 Andreas Schwab <schwab@redhat.com>
8099
8100 [BZ #12892]
8101 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8102 it would create a cycle with a link time dependency.
8103
d9a4d2ab
UD
81042011-10-19 Ulrich Drepper <drepper@gmail.com>
8105
855d1560
UD
8106 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8107 instruction.
8108 * string/Makefile (strop-tests): Add rawmemchr.
8109 * string/test-rawmemchr.c: New file.
8110
d9a4d2ab
UD
8111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8113 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8114 when compiling str{,n}casecmp and when AVX is available. Hook up
8115 new optimized code in initializers.
8116
8f3b1ffe
AS
81172011-10-19 Andreas Schwab <schwab@redhat.com>
8118
8119 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8120 __feraiseexcept instead of feraiseexcept.
8121
d38f1dba
UD
81222011-10-18 Ulrich Drepper <drepper@gmail.com>
8123
d9a8d0ab
UD
8124 * math/math_private.h: Define defaults for libc_fetestexcept and
8125 libc_feupdateenv.
8126 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8127 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8129 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8131 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8132 libc_fetestexcept and libc_feupdateenv.
8133
4855e3dd
UD
8134 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8135 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8136 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8137 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8138 libc_feholdexcept_setround.
8139
581d30e3
UD
8140 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8141 Add s_nearbyint-c and s_nearbyintf-c.
8142 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8143 nearbyintf inlines.
8144 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8145 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8146 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8147 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8148
d38f1dba
UD
8149 * math/math_private.h: Define defaults for libc_fegetround,
8150 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8151 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8152 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8153 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8154 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8155 standard functions.
8156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8157 Remove comments and hacks for old compiler versions.
8158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8159 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8160 libc_feholdexceptl.
8161
caa6c9d8
AS
81622011-10-18 Andreas Schwab <schwab@redhat.com>
8163
8164 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8165 (__feraiseexcept_renamed): Add __NTH.
8166 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8167 namespace violations.
8168
97c066e6
UD
81692011-10-17 Ulrich Drepper <drepper@gmail.com>
8170
99ce7b04
UD
8171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8172
1004d182
UD
8173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8174
228a984d
UD
8175 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8176 recently added interfaces.
8177 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8178
c8553a6a
UD
8179 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8180 about macro parameter expansion.
8181
ed22dcf6
UD
8182 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8183 __NO_MATH_INLINES is defined. Cleanups.
8184
8185 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8186 and __floorf is target has SSE4.1.
8187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8188 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8189 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8190 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8191
b171c137
UD
8192 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8193 name.
8194 (floorf): Likewise.
8195
97c066e6
UD
8196 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8197
629f62ef
AS
81982011-10-17 Andreas Schwab <schwab@redhat.com>
8199
49a43d80
AS
8200 * misc/sys/cdefs.h: Fix last change.
8201
629f62ef
AS
8202 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8203 database lookup.
8204
e453f6cd
UD
82052011-10-16 Ulrich Drepper <drepper@gmail.com>
8206
aa78043a
UD
8207 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8208
ad0f5cad
UD
8209 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8210 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8218 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8219 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8220 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8221 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8222 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8224 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8226 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8227 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8228 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8230 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8231
8232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8233 ceil, ceilf, floor, floorf.
8234
8235 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8236 Perform IRELATIVE relocations last.
8237
e453f6cd
UD
8238 * elf/do-rel.h: Add another parameter nrelative, replacing the
8239 local variable with the same name. Change name of the function
8240 to end in Rel or Rela (uppercase).
8241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8242 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8243 elf_dynamic_do_##reloc function.
8244
fd5bdc09
UD
82452011-10-15 Ulrich Drepper <drepper@gmail.com>
8246
79b195b5
UD
8247 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8248 is sufficient, at least on modern CPUs.
8249
d4a28569
UD
8250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8251
b61099b5
UD
8252 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8254
bcf01e6d
UD
8255 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8256 __expl_finite.
8257 * math/bits/math-finite.h: Add entries for exp.
8258 * math/e_expl.c: Add __*_finite alias.
8259 * sysdeps/i386/fpu/e_exp.S: Likewise.
8260 * sysdeps/i386/fpu/e_expf.S: Likewise.
8261 * sysdeps/i386/fpu/e_expl.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8263 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8267 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8268 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8269
ba1a0d59
UD
8270 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8271 is sufficient, at least on modern CPUs.
8272
fd5bdc09
UD
8273 * ctype/ctype-info.c (__ctype_init): Define.
8274 * include/ctype.h (__ctype_init): Declare.
8275 (__ctype_b_loc): The variable is always initialized.
8276 (__ctype_toupper_loc): Likewise.
8277 (__ctype_tolower_loc): Likewise.
8278 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8279 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8280
7872cfb0
AS
82812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8282
b468825a
AS
8283 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8284
7872cfb0
AS
8285 * configure.in: Also look in $cxxmachine/include for C++ system
8286 headers.
8287
be13f7bf
LD
82882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8289
8290 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8291 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8292 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8293 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8295 (USE_AS_WMEMCMP): New macro.
8296 Fixing indents.
8297 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8298 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8299 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8300 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8302 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8303 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8304 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8305 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8306 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8308 (USE_AS_WMEMCMP): New macro.
8309 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8310 * sysdeps/string/test-memcmp.c: Update.
8311 Fix simple_wmemcmp.
8312 Add new tests.
8313 * wcsmbs/wmemcmp.c: Update.
8314 (WMEMCMP): New macro.
8315 Fix overflow bug.
8316
556a2007
AJ
83172011-10-12 Andreas Jaeger <aj@suse.de>
8318
8319 [BZ #13268]
8320 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8321
538faaa7
UD
83222011-10-15 Ulrich Drepper <drepper@gmail.com>
8323
ab6737ff
UD
8324 * libio/iofwide.c (do_length): Avoid warning.
8325
538faaa7
UD
8326 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8327
396a21b1
UD
83282011-10-14 Ulrich Drepper <drepper@gmail.com>
8329
cdf2901f
UD
8330 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8331
38ad40ce
UD
8332 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8333 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8334 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8335 * sysdeps/i386/i686/fpu/e_log.S: New file.
8336 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8337 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8338
396a21b1
UD
8339 * ctype/ctype.h: Add support for inlined isXXX functions when
8340 compiling C++ code.
8341
6b1f68c9
AS
83422011-10-14 Andreas Schwab <schwab@redhat.com>
8343
349290c0
AS
8344 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8345
6b1f68c9
AS
8346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8347
f2282d42
RM
83482011-10-13 Roland McGrath <roland@hack.frob.com>
8349
8350 [BZ #13291]
8351 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8352
5298ffa8
AS
83532011-10-13 Andreas Schwab <schwab@redhat.com>
8354
714fad23
AS
8355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8356 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8357 feraiseexcept.
8358
81dcc7fb
AS
8359 * sysdeps/x86_64/memrchr.S: Check for zero size.
8360
5298ffa8
AS
8361 * string/stratcliff.c: Add memrchr tests.
8362
951fbcec
LD
83632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8364
8365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8366 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8367 rawmemchr-sse2 rawmemchr-sse2-bsf.
8368 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8369 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8370 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8371 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8372 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8373 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8374 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8375 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8376 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8377 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8378 * string/memrchr.c (MEMRCHR): New macro.
8379
0ac5ae23
UD
83802011-10-12 Ulrich Drepper <drepper@gmail.com>
8381
8382 Add integration with gcc's -ffinite-math-only and optimize wrapper
8383 functions in libm.
8384 * Versions.def: Define GLIBC_2.15 version for libm.
8385 * math/Makefile (headers): Add bits/math-finite.h.
8386 * math/bits/math-finite.h: New file.
8387 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8388 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8389 * math/e_acoshl.c: Add __*_finite alias.
8390 * math/e_acosl.c: Likewise.
8391 * math/e_asinl.c: Likewise.
8392 * math/e_atan2l.c: Likewise.
8393 * math/e_atanhl.c: Likewise.
8394 * math/e_coshl.c: Likewise.
8395 * math/e_exp10.c: Likewise.
8396 * math/e_exp10f.c: Likewise.
8397 * math/e_exp10l.c: Likewise.
8398 * math/e_exp2l.c: Likewise.
8399 * math/e_fmodl.c: Likewise.
8400 * math/e_gammal_r.c: Likewise.
8401 * math/e_hypotl.c: Likewise.
8402 * math/e_j0l.c: Likewise.
8403 * math/e_j1l.c: Likewise.
8404 * math/e_jnl.c: Likewise.
8405 * math/e_lgammal_r.c: Likewise.
8406 * math/e_log10l.c: Likewise.
8407 * math/e_log2l.c: Likewise.
8408 * math/e_logl.c: Likewise.
8409 * math/e_powl.c: Likewise.
8410 * math/e_sinhl.c: Likewise.
8411 * math/e_sqrtl.c: Likewise.
8412 * math/e_scalb.c: Completely rewritten and optimized.
8413 * math/e_scalbf.c: Likewise.
8414 * math/e_scalbl.c: Likewise.
8415 * math/w_acos.c: Likewise.
8416 * math/w_acosf.c: Likewise.
8417 * math/w_acosl.c: Likewise.
8418 * math/w_acosh.c: Likewise.
8419 * math/w_acoshf.c: Likewise.
8420 * math/w_acoshl.c: Likewise.
8421 * math/w_asin.c: Likewise.
8422 * math/w_asinf.c: Likewise.
8423 * math/w_asinl.c: Likewise.
8424 * math/w_atan2.c: Likewise.
8425 * math/w_atan2f.c: Likewise.
8426 * math/w_atan2l.c: Likewise.
8427 * math/w_atanh.c: Likewise.
8428 * math/w_atanhf.c: Likewise.
8429 * math/w_atanhl.c: Likewise.
8430 * math/w_exp10.c: Likewise.
8431 * math/w_exp10f.c: Likewise.
8432 * math/w_exp10l.c: Likewise.
8433 * math/w_fmod.c: Likewise.
8434 * math/w_fmodf.c: Likewise.
8435 * math/w_fmodl.c: Likewise.
8436 * math/w_j0.c: Likewise.
8437 * math/w_j0f.c: Likewise.
8438 * math/w_j0l.c: Likewise.
8439 * math/w_j1.c: Likewise.
8440 * math/w_j1f.c: Likewise.
8441 * math/w_j1l.c: Likewise.
8442 * math/w_jn.c: Likewise.
8443 * math/w_jnf.c: Likewise.
8444 * math/w_log.c: Likewise.
8445 * math/w_logf.c: Likewise.
8446 * math/w_logl.c: Likewise.
8447 * math/w_log10.c: Likewise.
8448 * math/w_log10f.c: Likewise.
8449 * math/w_log10l.c: Likewise.
8450 * math/w_log2.c: Likewise.
8451 * math/w_log2f.c: Likewise.
8452 * math/w_log2l.c: Likewise.
8453 * math/w_pow.c: Likewise.
8454 * math/w_powf.c: Likewise.
8455 * math/w_powl.c: Likewise.
8456 * math/w_remainder.c: Likewise.
8457 * math/w_remainderf.c: Likewise.
8458 * math/w_remainderl.c: Likewise.
8459 * math/w_scalb.c: Likewise.
8460 * math/w_scalbf.c: Likewise.
8461 * math/w_scalbl.c: Likewise.
8462 * math/w_sqrt.c: Likewise.
8463 * math/w_sqrtf.c: Likewise.
8464 * math/w_sqrtl.c: Likewise.
8465 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8466 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8467 used.
8468 * math/math_private.h: Declare __kernel_standard_f.
8469 * math/w_cosh.c: Remove cruft and optimize a bit.
8470 * math/w_coshf.c: Likewise.
8471 * math/w_coshl.c: Likewise.
8472 * math/w_exp2.c: Likewise.
8473 * math/w_exp2f.c: Likewise.
8474 * math/w_exp2l.c: Likewise.
8475 * math/w_hypot.c: Likewise.
8476 * math/w_hypotf.c: Likewise.
8477 * math/w_hypotl.c: Likewise.
8478 * math/w_lgamma.c: Likewise.
8479 * math/w_lgamma_r.c: Likewise.
8480 * math/w_lgammaf.c: Likewise.
8481 * math/w_lgammaf_r.c: Likewise.
8482 * math/w_lgammal.c: Likewise.
8483 * math/w_lgammal_r.c: Likewise.
8484 * math/w_sinh.c: Likewise.
8485 * math/w_sinhf.c: Likewise.
8486 * math/w_sinhl.c: Likewise.
8487 * math/w_tgamma.c: Likewise.
8488 * math/w_tgammaf.c: Likewise.
8489 * math/w_tgammal.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8492 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8493 Minor optimizations. Pretty printing. Remove cruft.
8494 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8498 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8499 * sysdeps/i386/fpu/e_asin.S: Likewise.
8500 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8501 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8502 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8503 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8507 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8508 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8509 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8510 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8511 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8512 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8513 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8514 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8515 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8516 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8517 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8518 * sysdeps/i386/fpu/e_log.S: Likewise.
8519 * sysdeps/i386/fpu/e_log10.S: Likewise.
8520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8522 * sysdeps/i386/fpu/e_log2.S: Likewise.
8523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8525 * sysdeps/i386/fpu/e_logf.S: Likewise.
8526 * sysdeps/i386/fpu/e_logl.S: Likewise.
8527 * sysdeps/i386/fpu/e_pow.S: Likewise.
8528 * sysdeps/i386/fpu/e_powf.S: Likewise.
8529 * sysdeps/i386/fpu/e_powl.S: Likewise.
8530 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8531 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8532 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8533 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8536 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8537 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8538 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8560 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8563 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8564 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8565 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8566 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8567 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8568 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8570 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8571 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8573 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8574 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8575 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8576 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8577 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8579 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8632 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8636 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8637 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8638 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8639 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8640 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8641 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8642 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8643 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8644 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8647 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8648 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8649 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8650 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8651 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8652 (__isnanf): Likewise.
8653 (__isinf_ns): Likewise.
8654 (__isinf_nsf): Likewise.
8655 (__finite): Likewise.
8656 (__finitef): Likewise.
8657 (__ieee754_sqrt): Define as macro.
8658 (__ieee754_sqrtf): Define as macro.
8659 (__ieee754_sqrtl): Define as macro.
8660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8661 inlined copy.
8662 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8663 __FINITE_MATH_ONLY__ consistent.
8664 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8665
12cc2fcd
AS
86662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8667
a843a204
AS
8668 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8669 of rawmemchr.
8670
12cc2fcd
AS
8671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8672
c853acd5
UD
86732011-10-09 Ulrich Drepper <drepper@gmail.com>
8674
8675 * po/ja.po: Update from translation team.
8676
c658d255
RM
86772011-10-08 Roland McGrath <roland@hack.frob.com>
8678
110946e4
RM
8679 * locale/programs/locarchive.c (prepare_address_space): New function.
8680 (create_archive, enlarge_archive, open_archive): Use it.
8681
50604220
RM
8682 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8683 inside [SHARED], where it is used.
8684
c658d255
RM
8685 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8686
8687 * nss/getent.c (netgroup_keys): Remove unused variable.
8688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8689
6a621eb7
UD
86902011-10-08 Ulrich Drepper <drepper@gmail.com>
8691
7edb55ce
UD
8692 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8696 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8697 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8698 * math/Makefile (libm-calls): Add s_isinf_ns.
8699 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8700 * math/multc3.c: Likewise.
8701 * math/s_casin.c: Likewise.
8702 * math/s_casinf.c: Likewise.
8703 * math/s_casinl.c: Likewise.
8704 * math/s_ccos.c: Likewise.
8705 * math/s_ccosf.c: Likewise.
8706 * math/s_ccosl.c: Likewise.
8707 * math/s_ctan.c: Likewise.
8708 * math/s_ctanf.c: Likewise.
8709 * math/s_ctanh.c: Likewise.
8710 * math/s_ctanhf.c: Likewise.
8711 * math/s_ctanhl.c: Likewise.
8712 * math/s_ctanl.c: Likewise.
8713 * math/w_fmod.c: Likewise.
8714 * math/w_fmodf.c: Likewise.
8715 * math/w_fmodl.c: Likewise.
8716 * math/w_remainder.c: Likewise.
8717 * math/w_remainderf.c: Likewise.
8718 * math/w_remainderl.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8720 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8723 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8724 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8725 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8726 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8727
187da0ae
UD
8728 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8729 of the number.
8730 * stdio-common/printf_fphex.c: Likewise.
8731 * stdio-common/printf_size.c: Likewise.
8732
9277c064
UD
8733 * math/e_exp10.c: Include math_private.h using <...> not "...".
8734 * math/e_exp10f.c: Likewise.
8735 * math/e_exp10l.c: Likewise.
8736 * math/e_exp2l.c: Likewise.
8737 * math/e_j0l.c: Likewise.
8738 * math/e_j1l.c: Likewise.
8739 * math/e_jnl.c: Likewise.
8740 * math/e_lgammal_r.c: Likewise.
8741 * math/e_rem_pio2l.c: Likewise.
8742 * math/e_scalb.c: Likewise.
8743 * math/e_scalbf.c: Likewise.
8744 * math/e_scalbl.c: Likewise.
8745 * math/k_cosl.c: Likewise.
8746 * math/k_sinl.c: Likewise.
8747 * math/k_tanl.c: Likewise.
8748 * math/s_cacoshf.c: Likewise.
8749 * math/s_catan.c: Likewise.
8750 * math/s_catanf.c: Likewise.
8751 * math/s_catanh.c: Likewise.
8752 * math/s_catanhf.c: Likewise.
8753 * math/s_catanhl.c: Likewise.
8754 * math/s_catanl.c: Likewise.
8755 * math/s_ccosh.c: Likewise.
8756 * math/s_ccoshf.c: Likewise.
8757 * math/s_ccoshl.c: Likewise.
8758 * math/s_cexp.c: Likewise.
8759 * math/s_cexpf.c: Likewise.
8760 * math/s_cexpl.c: Likewise.
8761 * math/s_clog.c: Likewise.
8762 * math/s_clog10.c: Likewise.
8763 * math/s_clog10f.c: Likewise.
8764 * math/s_clog10l.c: Likewise.
8765 * math/s_clogf.c: Likewise.
8766 * math/s_clogl.c: Likewise.
8767 * math/s_csin.c: Likewise.
8768 * math/s_csinf.c: Likewise.
8769 * math/s_csinh.c: Likewise.
8770 * math/s_csinhf.c: Likewise.
8771 * math/s_csinhl.c: Likewise.
8772 * math/s_csinl.c: Likewise.
8773 * math/s_csqrt.c: Likewise.
8774 * math/s_csqrtf.c: Likewise.
8775 * math/s_csqrtl.c: Likewise.
8776 * math/s_ctan.c: Likewise.
8777 * math/s_ctanf.c: Likewise.
8778 * math/s_ctanh.c: Likewise.
8779 * math/s_ctanhf.c: Likewise.
8780 * math/s_ctanhl.c: Likewise.
8781 * math/s_ctanl.c: Likewise.
8782 * math/s_ldexp.c: Likewise.
8783 * math/s_ldexpf.c: Likewise.
8784 * math/s_ldexpl.c: Likewise.
8785 * math/s_significand.c: Likewise.
8786 * math/s_significandf.c: Likewise.
8787 * math/s_significandl.c: Likewise.
8788 * math/w_acos.c: Likewise.
8789 * math/w_acosf.c: Likewise.
8790 * math/w_acosh.c: Likewise.
8791 * math/w_acoshf.c: Likewise.
8792 * math/w_acoshl.c: Likewise.
8793 * math/w_acosl.c: Likewise.
8794 * math/w_asin.c: Likewise.
8795 * math/w_asinf.c: Likewise.
8796 * math/w_asinl.c: Likewise.
8797 * math/w_atan2.c: Likewise.
8798 * math/w_atan2f.c: Likewise.
8799 * math/w_atan2l.c: Likewise.
8800 * math/w_atanh.c: Likewise.
8801 * math/w_atanhf.c: Likewise.
8802 * math/w_atanhl.c: Likewise.
8803 * math/w_cosh.c: Likewise.
8804 * math/w_coshf.c: Likewise.
8805 * math/w_coshl.c: Likewise.
8806 * math/w_dremf.c: Likewise.
8807 * math/w_exp10.c: Likewise.
8808 * math/w_exp10f.c: Likewise.
8809 * math/w_exp10l.c: Likewise.
8810 * math/w_exp2.c: Likewise.
8811 * math/w_exp2f.c: Likewise.
8812 * math/w_fmod.c: Likewise.
8813 * math/w_fmodf.c: Likewise.
8814 * math/w_fmodl.c: Likewise.
8815 * math/w_hypot.c: Likewise.
8816 * math/w_hypotf.c: Likewise.
8817 * math/w_hypotl.c: Likewise.
8818 * math/w_j0.c: Likewise.
8819 * math/w_j0f.c: Likewise.
8820 * math/w_j0l.c: Likewise.
8821 * math/w_j1.c: Likewise.
8822 * math/w_j1f.c: Likewise.
8823 * math/w_j1l.c: Likewise.
8824 * math/w_jn.c: Likewise.
8825 * math/w_jnf.c: Likewise.
8826 * math/w_jnl.c: Likewise.
8827 * math/w_lgamma.c: Likewise.
8828 * math/w_lgamma_r.c: Likewise.
8829 * math/w_lgammaf.c: Likewise.
8830 * math/w_lgammaf_r.c: Likewise.
8831 * math/w_lgammal.c: Likewise.
8832 * math/w_lgammal_r.c: Likewise.
8833 * math/w_log.c: Likewise.
8834 * math/w_log10.c: Likewise.
8835 * math/w_log10f.c: Likewise.
8836 * math/w_log10l.c: Likewise.
8837 * math/w_log2.c: Likewise.
8838 * math/w_log2f.c: Likewise.
8839 * math/w_log2l.c: Likewise.
8840 * math/w_logf.c: Likewise.
8841 * math/w_logl.c: Likewise.
8842 * math/w_pow.c: Likewise.
8843 * math/w_powf.c: Likewise.
8844 * math/w_powl.c: Likewise.
8845 * math/w_remainder.c: Likewise.
8846 * math/w_remainderf.c: Likewise.
8847 * math/w_remainderl.c: Likewise.
8848 * math/w_scalb.c: Likewise.
8849 * math/w_scalbf.c: Likewise.
8850 * math/w_scalbl.c: Likewise.
8851 * math/w_sinh.c: Likewise.
8852 * math/w_sinhf.c: Likewise.
8853 * math/w_sinhl.c: Likewise.
8854 * math/w_sqrt.c: Likewise.
8855 * math/w_sqrtf.c: Likewise.
8856 * math/w_sqrtl.c: Likewise.
8857 * math/w_tgamma.c: Likewise.
8858 * math/w_tgammaf.c: Likewise.
8859 * math/w_tgammal.c: Likewise.
8860
6a621eb7
UD
8861 * po/ja.po: Update from translation team.
8862
bf582445
AJ
88632011-09-29 Andreas Jaeger <aj@suse.de>
8864
f9efbf3a
AJ
8865 [BZ #13179]
8866 * sunrpc/netname.c (netname2host): Fix logic.
8867
bf582445
AJ
8868 [BZ #6779]
8869 [BZ #6783]
8870 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8871 correctly.
8872 * math/w_remainder.c (__remainder): Likewise.
8873 * math/w_remainderf.c (__remainderf): Likewise.
8874 * math/libm-test.inc (remainder_test): Add test cases.
8875
48693bea
AK
88762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8877
8878 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8879 sdiv_qrnnd.
8880
42622229
LD
88812011-10-07 Ulrich Drepper <drepper@gmail.com>
8882
8883 * string/test-memcmp.c: Avoid unncessary #defines.
8884 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8885
093ecf92
LD
88862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8887
8888 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8889 Use new sse2 version for core i3 - i7 as it's faster
8890 than sse42 version.
8891 (bit_Prefer_PMINUB_for_stringop): New.
8892 * sysdeps/x86_64/rawmemchr.S: Update.
8893 Replace with faster SSE2 version.
8894 * sysdeps/x86_64/memrchr.S: New file.
8895 * sysdeps/x86_64/memchr.S: Update.
8896 Replace with faster SSE2 version.
8897
fde56e5c
MP
88982011-09-12 Marek Polacek <mpolacek@redhat.com>
8899
8900 * elf/dl-load.c (lose): Add cast to avoid warning.
8901
21fd49a9
UD
89022011-10-07 Ulrich Drepper <drepper@gmail.com>
8903
5a06e643
UD
8904 * po/ca.po: Update from translation team.
8905
684ae515
UD
8906 * inet/getnetgrent_r.c: Hook up nscd.
8907 * nscd/Makefile (routines): Add nscd_netgroup.
8908 (nscd-modules): Add netgroupcache.
8909 (CFLAGS-netgroupcache.c): Define.
8910 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8911 (cache_search): Add const to second parameter.
8912 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8913 INNETGR.
8914 (dbs): Add netgrdb entry.
8915 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8916 (verify_persistent_db): Handle netgrdb.
8917 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8918 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8919 GETFDNETGR.
8920 (netgroup_response_header): Define.
8921 (innetgroup_response_header): Define.
8922 (datahead): Add netgroup_response_header and innetgroup_response_header
8923 elements.
8924 * nscd/nscd.conf: Add entries for netgroup cache.
8925 * nscd/nscd.h (dbtype): Add netgrdb.
8926 (_PATH_NSCD_NETGROUP_DB): Define.
8927 (netgroup_iov_disabled): Declare.
8928 (xmalloc, xcalloc, xrealloc): Move declarations here.
8929 (cache_search): Adjust prototype.
8930 Add netgroup-related prototypes.
8931 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8932 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8933 (__nscd_innetgr): Declare.
8934 * nscd/selinux.c (perms): Use access_vector_t as element type and
8935 add netgroup-related initializers.
8936 * nscd/netgroupcache.c: New file.
8937 * nscd/nscd_netgroup.c: New file.
8938 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8939 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8940 For four parameters use innetgr.
8941 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8942 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8943 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8944 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8945
21fd49a9
UD
8946 * nscd/connections.c (register_traced_file): Don't register file
8947 for disabled databases.
8948
054c0457
UD
89492011-10-06 Ulrich Drepper <drepper@gmail.com>
8950
32b63198
UD
8951 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8952
054c0457
UD
8953 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8954 from tree and freeing node.
8955
64031225
JO
89562011-09-25 Jiri Olsa <jolsa@redhat.com>
8957
8958 * nss/nsswitch.c (__nss_database_lookup): Handle
8959 nss_parse_service_list out of memory case.
8960
0490345c
JO
89612011-09-15 Jiri Olsa <jolsa@redhat.com>
8962
8963 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8964 out of memory case.
8965
3a62d00d
AS
89662011-10-04 Andreas Schwab <schwab@redhat.com>
8967
8968 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8969 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8970 pass it down.
8971 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8972 elf_machine_rela, elf_machine_lazy_rel.
8973 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8974 (ELF_DYNAMIC_DO_REL): Likewise.
8975 (ELF_DYNAMIC_DO_RELA): Likewise.
8976 (ELF_DYNAMIC_RELOCATE): Likewise.
8977 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8978 to ELF_DYNAMIC_DO_REL.
8979 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8980 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8981 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8982 elf_machine_rela.
8983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8984 skip_ifunc, don't call ifunc function if non-zero.
8985 (elf_machine_rela): Likewise.
8986 (elf_machine_lazy_rel): Likewise.
8987 (elf_machine_lazy_rela): Likewise.
8988 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8989 (elf_machine_lazy_rel): Likewise.
8990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8991 Likewise.
8992 (elf_machine_lazy_rel): Likewise.
8993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8994 Likewise.
8995 (elf_machine_lazy_rel): Likewise.
8996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8997 (elf_machine_lazy_rel): Likewise.
8998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8999 (elf_machine_lazy_rel): Likewise.
9000 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9001 (elf_machine_lazy_rel): Likewise.
9002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9003 (elf_machine_lazy_rel): Likewise.
9004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9005 (elf_machine_lazy_rel): Likewise.
9006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9007 (elf_machine_lazy_rel): Likewise.
9008
68577918
UD
90092011-09-28 Ulrich Drepper <drepper@gmail.com>
9010
9011 * nss/nss_files/files-init.c (_nss_files_init): Use static
9012 initialization for all the *_traced_file variables.
9013
68822d74
AS
90142011-09-28 Andreas Schwab <schwab@redhat.com>
9015
9016 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9017
2056100b
RM
90182011-09-27 Roland McGrath <roland@hack.frob.com>
9019
9020 [BZ #13226]
9021 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9022
32c76b63
AS
90232011-09-27 Andreas Schwab <schwab@redhat.com>
9024
9025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9026 Reread the line before reparsing it.
9027
bf972c9d
AS
90282011-09-26 Andreas Schwab <schwab@redhat.com>
9029
9030 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9031
e057a1b5
JM
90322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9033 Maxim Kuvyrkov <maxim@codesourcery.com>
9034 Joseph Myers <joseph@codesourcery.com>
9035
9036 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9037 if needed for __stack_chk_guard.
9038
bc7e1c36
RM
90392011-09-19 Roland McGrath <roland@hack.frob.com>
9040
ecb1482f
RM
9041 * sysdeps/posix/spawni.c (script_execute): Always define it.
9042 It will be optimized away if unused.
9043 (maybe_script_execute): New function.
9044 (__spawni): Call it.
9045
bc7e1c36
RM
9046 * Makerules: Don't include tls.make.
9047 (config-tls): Always set to thread.
9048 * tls.make.c: File removed.
9049
1c3b002b
MF
90502011-09-19 Mike Frysinger <vapier@gentoo.org>
9051
9052 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9053 * config.make.in (CPPFLAGS-config): New substituted variable.
9054
2840865d
UD
90552011-09-15 Ulrich Drepper <drepper@gmail.com>
9056
88738eb6
UD
9057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9058
cbf645a6 9059 [BZ #13192]
2840865d
UD
9060 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9061 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9062
b402e91a
RM
90632011-09-15 Roland McGrath <roland@hack.frob.com>
9064
9065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9066 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9068 (CALL_FAIL): Likewise.
9069 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9070 (CALL_FAIL): Macro removed.
9071 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9072
4c1a1f71
UD
90732011-09-15 Ulrich Drepper <drepper@gmail.com>
9074
9075 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9076 for __FINITE_MATH_ONLY__ == 1.
9077
edc121be
AS
90782011-09-15 Andreas Schwab <schwab@redhat.com>
9079
9080 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9081 __ieee754_sqrt instead of sqrt.
9082 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9083 __ieee754_sqrtf instead of sqrtf.
9084 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9085 __floorf instead of floorf.
9086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9087 __floorf, __truncf instead of floorf, truncf.
9088
cd205654
UD
90892011-09-14 Ulrich Drepper <drepper@gmail.com>
9090
ee4d0315
UD
9091 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9092
cd205654
UD
9093 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9094 __extern_always_inline.
9095 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9096 32-bit.
9097
48b67d71
AS
90982011-09-14 Andreas Schwab <schwab@redhat.com>
9099
9100 * elf/rtld.c (dl_main): Also relocate in dependency order when
9101 doing symbol dependency testing.
9102
1ae12c75
AS
91032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9104
9105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9106 Always define `refsym'.
9107
995a80df
AS
91082011-09-13 Andreas Schwab <schwab@redhat.com>
9109
e529793b
AS
9110 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9111 (__FD_ELT): Renamed from __FDELT.
9112 * misc/bits/select2.h (__FD_ELT): Likewise.
9113 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9114 __FD_MASK instead of __FDELT, __FDMASK.
9115 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9116 Likewise.
9117 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9118 Likewise.
9119
52d4fef8
AS
9120 * elf/Makefile (gen-ldd): Fix pattern.
9121
995a80df
AS
9122 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9123 (init_tls): Likewise.
9124
8682f8b0
UD
91252011-09-12 Ulrich Drepper <drepper@gmail.com>
9126
9127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9128
de82006d
AS
91292011-09-12 Andreas Schwab <schwab@redhat.com>
9130
a7c8e6a1
AS
9131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9132 `struct cmsghdr *' instead of `void *'.
9133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9134 Likewise.
9135
0f31fe77
AS
91362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9139 if non-absolute.
9140 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9141 ldd_rewrite_script.
0f31fe77 9142
32b4c839
UD
91432011-09-11 Ulrich Drepper <drepper@gmail.com>
9144
83cd1420
UD
9145 * configure.in: Remove --with-tls option.
9146 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9147 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9148 out in case it is missing.
9149 * sysdeps/ia64/elf/configure.in: Likewise.
9150 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9151 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9152 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9153 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9154 * sysdeps/sh/elf/configure.in: Likewise.
9155 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9156 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9157 * sysdeps/x86_64/elf/configure.in: Likewise.
9158 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9159 * sysdeps/mach/hurd/tls.h: Likewise.
9160
633f745d
UD
9161 [BZ #13067]
9162 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9163
f318beb8
UD
9164 [BZ #13090]
9165 * configure.in: Fix use of AC_INIT.
9166
32b4c839
UD
9167 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9168
3ce1f295
UD
91692011-09-10 Ulrich Drepper <drepper@gmail.com>
9170
bb016596
UD
9171 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9172 __set_errno.
8e58439c
UD
9173 * malloc/hooks.c: Likewise.
9174
aebae053 9175 [BZ #11929]
02d46fc4
UD
9176 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9177 variables statically.
9178 (narenas): Initialize.
9179 (list_lock): Initialize.
bb016596
UD
9180 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9181 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9182 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9183 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9184 Add initializers to main_arena and mp_.
9185 (malloc_state): Remove pagesize member. Change all users to use
9186 GLRO(dl_pagesize).
9187
9188 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9189 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9190 is always initialized.
9191
22a89187
UD
9192 * malloc/malloc.c: Removed unused configurations and dead code.
9193 * malloc/arena.c: Likewise.
9194 * malloc/hooks.c: Likewise.
02d46fc4 9195 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9196
d063d164
UD
9197 * include/tls.h: Removed. USE___THREAD must always be defined.
9198 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9199 * elf/dl-libc.c: Likewise.
9200 * elf/dl-tsd.c: Likewise.
9201 * include/errno.h: Likewise.
9202 * include/netdb.h: Likewise.
9203 * include/resolv.h: Likewise.
9204 * inet/herrno-loc.c: Likewise.
9205 * inet/herrno.c: Likewise.
9206 * malloc/arena.c: Likewise.
9207 * malloc/hooks.c: Likewise.
9208 * malloc/malloc.c: Likewise.
9209 * resolv/res-state.c: Likewise.
9210 * resolv/res_libc.c: Likewise.
9211 * sysdeps/i386/dl-machine.h: Likewise.
9212 * sysdeps/ia64/dl-machine.h: Likewise.
9213 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9214 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9215 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9216 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9217 * sysdeps/sh/dl-machine.h: Likewise.
9218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9219 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9220 * sysdeps/unix/i386/sysdep.S: Likewise.
9221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9222 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9232 * sysdeps/x86_64/dl-machine.h: Likewise.
9233 * tls.make.c: Likewise.
9234
3ce1f295
UD
9235 * configure.in: Remove --with-__thread option. Make tests for
9236 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9237 tls_model attribute fail if no support is available. Remove
9238 USE_IN_LIBIO.
9239 * Makeconfig: Adjust for dropped configure option. All features are
9240 now mandatory.
9241 * Makerules: Likewise.
9242 * Versions.def: Likewise.
9243 * argp/argp-fmtstream.c: Likewise.
9244 * argp/argp-fmtstream.h: Likewise.
9245 * argp/argp-help.c: Likewise.
9246 * assert/assert.c: Likewise.
9247 * config.h.in: Likewise.
9248 * config.make.in: Likewise.
9249 * configure: Likewise.
9250 * configure.in: Likewise.
9251 * csu/Versions: Likewise.
9252 * csu/init.c: Likewise.
9253 * elf/tst-audit2.c: Likewise.
9254 * elf/tst-tls10.c: Likewise.
9255 * elf/tst-tls10.h: Likewise.
9256 * elf/tst-tls11.c: Likewise.
9257 * elf/tst-tls12.c: Likewise.
9258 * elf/tst-tls14.c: Likewise.
9259 * elf/tst-tlsmod11.c: Likewise.
9260 * elf/tst-tlsmod12.c: Likewise.
9261 * elf/tst-tlsmod13.c: Likewise.
9262 * elf/tst-tlsmod13a.c: Likewise.
9263 * elf/tst-tlsmod14a.c: Likewise.
9264 * elf/tst-tlsmod15b.c: Likewise.
9265 * elf/tst-tlsmod16a.c: Likewise.
9266 * elf/tst-tlsmod16b.c: Likewise.
9267 * elf/tst-tlsmod7.c: Likewise.
9268 * elf/tst-tlsmod8.c: Likewise.
9269 * elf/tst-tlsmod9.c: Likewise.
9270 * gmon/gmon.c: Likewise.
9271 * grp/fgetgrent_r.c: Likewise.
9272 * grp/putgrent.c: Likewise.
9273 * hurd/fopenport.c: Likewise.
9274 * include/libc-symbols.h: Likewise.
9275 * include/tls.h: Likewise.
9276 * intl/gettextP.h: Likewise.
9277 * intl/loadinfo.h: Likewise.
9278 * locale/global-locale.c: Likewise.
9279 * locale/localeinfo.h: Likewise.
9280 * mach/devstream.c: Likewise.
9281 * malloc/arena.c: Likewise.
9282 * malloc/set-freeres.c: Likewise.
9283 * misc/err.c: Likewise.
9284 * misc/getttyent.c: Likewise.
9285 * misc/mntent_r.c: Likewise.
9286 * posix/getopt.c: Likewise.
9287 * posix/wordexp.c: Likewise.
9288 * pwd/fgetpwent_r.c: Likewise.
9289 * resolv/Versions: Likewise.
9290 * resolv/res_hconf.c: Likewise.
9291 * shadow/fgetspent_r.c: Likewise.
9292 * shadow/putspent.c: Likewise.
9293 * stdio-common/printf_fphex.c: Likewise.
9294 * stdio-common/tmpfile.c: Likewise.
9295 * stdlib/abort.c: Likewise.
9296 * stdlib/fmtmsg.c: Likewise.
9297 * sunrpc/auth_unix.c: Likewise.
9298 * sunrpc/clnt_perr.c: Likewise.
9299 * sunrpc/clnt_tcp.c: Likewise.
9300 * sunrpc/clnt_udp.c: Likewise.
9301 * sunrpc/clnt_unix.c: Likewise.
9302 * sunrpc/openchild.c: Likewise.
9303 * sunrpc/svc_simple.c: Likewise.
9304 * sunrpc/svc_tcp.c: Likewise.
9305 * sunrpc/svc_udp.c: Likewise.
9306 * sunrpc/svc_unix.c: Likewise.
9307 * sunrpc/xdr.c: Likewise.
9308 * sunrpc/xdr_array.c: Likewise.
9309 * sunrpc/xdr_rec.c: Likewise.
9310 * sunrpc/xdr_ref.c: Likewise.
9311 * sunrpc/xdr_stdio.c: Likewise.
9312
1248c1c4
PB
93132011-09-09 Ulrich Drepper <drepper@gmail.com>
9314
9315 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9316
93172011-07-03 Andreas Jaeger <aj@suse.de>
9318
9319 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9320 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9321 regenerate with gen-libm-tests.pl.
9322
93232010-05-12 Petr Baudis <pasky@suse.cz>
9324
9325 [BZ #11589]
9326 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9327 around j0() zero points by switching to j1().
9328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9332
f22e1074
UD
93332011-09-09 Ulrich Drepper <drepper@gmail.com>
9334
f19009c1
UD
9335 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9336 instead of 0.
9337 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9338 instead of 0. .
9339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9340 Patch in part by Pavel Roskin <proski@gnu.org>.
9341
3f8cc204
UD
9342 [BZ #13138]
9343 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9344 realloc.
9345 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9346 Free memory block if necessary.
9347
f22e1074
UD
9348 [BZ #12847]
9349 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9350 be NULL. Don't lock in this case.
9351
0a2349f9
RM
93522011-09-09 Roland McGrath <roland@hack.frob.com>
9353
9354 * elf/elf.h (ELFOSABI_GNU): New macro.
9355 (ELFOSABI_LINUX): Define to that.
9356
f3cdd467
DZ
93572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9358
9359 * string/strncat.c (strncat): Undef the symbol in case it has been
9360 defined in bits/string.h.
9361
74718d13
UD
93622011-09-09 Ulrich Drepper <drepper@gmail.com>
9363
633e9e0f
UD
9364 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9365
0a2349f9 9366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9367 link map.
9368
f9924780
AJ
93692011-08-17 Andreas Jaeger <aj@suse.de>
9370
9371 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9372
7f5517aa
PP
93732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9374 Ian Lance Taylor <iant@google.com>
9375
9376 * math/libm-test.inc (lround_test): New testcase.
9377 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9378
762011fe
UD
93792011-09-08 Ulrich Drepper <drepper@gmail.com>
9380
92963737
UD
9381 * Makefile: Remove support for automatic cvs check-ins.
9382 * Makerules: Likewise.
9383 * config.make.in: Likewise.
9384 * configure.in: Likewise.
9385 * intl/Makefile: Likewise.
9386 * locale/Makefile: Likewise.
9387 * po/Makefile: Likewise.
9388 * posix/Makefile: Likewise.
9389 * sysdeps/gnu/Makefile: Likewise.
9390 * sysdeps/mach/hurd/Makefile: Likewise.
9391 * sysdeps/sparc/sparc32/Makefile: Likewise.
9392
b0727fd8
JS
9393 [BZ #13118]
9394 * posix/Makefile (bug-regex32-ENV): Define.
9395 Patch by John Stanley <jpsinthemix@verizon.net>.
9396
a0f33f99
UD
9397 * misc/Makefile (headers): Add bits/select2.h.
9398 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9399 * misc/bits/select2.h: New file.
9400 * include/bits/select2.h: New file.
9401 * debug/Makefile (routines): Add fdelt_chk.
9402 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9403 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9404 FD_ISSET.
9405 * debug/fdelt_chk.c: New file.
9406
762011fe
UD
9407 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9408 * wcsmbs/test-wmemcmp.c: Likewise.
9409 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9410 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9411
94122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9413
9414 * string/Makefile (strop-tests): Add memcmp.
9415 * string/test-wmemcmp.c: New file.
9416 * string/test-memcmp.c: Add wmemcmp support.
9417
7f513ec8
RM
94182011-09-08 Roland McGrath <roland@hack.frob.com>
9419
0442afb4
RM
9420 [BZ #13153]
9421 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9422 2011-07-19 change.
9423
7f513ec8
RM
9424 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9425 garbage value in a __mach_port_mod_refs call in the cases of the
9426 task-self and thread-self ports.
9427
a12b2239
ST
94282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9429
9430 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9431
610f9ab4
AS
94322011-09-08 Andreas Schwab <schwab@redhat.com>
9433
7f513ec8 9434 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9435
48882a1a
LD
94362011-09-07 Ulrich Drepper <drepper@gmail.com>
9437
b49865be
UD
9438 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9439
fdc86bc9
UD
9440 * elf/dl-libc.c (dlerror_run): Pass back error code from
9441 dl_catch_error.
9442
c966526a
UD
9443 [BZ #13123]
9444 * elf/dl-load.c (lose): Free l_origin if it is valid.
9445
48882a1a
LD
9446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9447 names.
9448 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9453 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9454
77a2a8b4
AZ
94552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9456
9457 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9458 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9459 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9460 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9461 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9462 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9463 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9464 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9465 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9466 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9467
24f579d8
AM
94682011-08-15 Alan Modra <amodra@gmail.com>
9469
9470 [BZ #13092]
9471 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9472 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9473 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9474 ppc_mcount to static-only-routines.
9475 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9476 __mcount_internal.
9477 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9478 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9479
3d4837df
UD
94802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9481
9482 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9483 for finite and infinity parameters.
9484
22700377
WS
94852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9486
9487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9488 and add nop instructions for throughput optimization.
9489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9490
5025581e
WS
94912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9492
9493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9494 aligned copy for power7 with vector-scalar instructions.
9495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9496
08a300c9
L
94972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9498
9499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9500 AVX check.
9501
59178ef9
AS
95022011-09-07 Andreas Schwab <schwab@redhat.com>
9503
9504 [BZ #13144]
9505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9506 last change.
9507
e38ba7ab
UD
95082011-09-07 Ulrich Drepper <drepper@gmail.com>
9509
9510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9511 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9512 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9514 clock_gettime.
9515
d53a73ac
UD
95162011-09-06 Ulrich Drepper <drepper@gmail.com>
9517
fc8bffcc
UD
9518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9519 Forgot to demangle the pointer.
9520
ceaa0c5d
UD
9521 * sysdeps/i386/sysdep.h: Define atom_text_section.
9522 * sysdeps/x86_64/sysdep.h: Likewise.
9523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9524 section with atom_text_section.
9525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9530
a77d3c17
UD
9531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9532 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9533 already be defined. Change to take two parameters and don't assign
9534 result to variable. Adjust all users.
9535 Define INTERNAL_GETTIME if not already defined.
9536 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9537 call.
9538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9539 HAVE_CLOCK_GETTIME_VSYSCALL.
9540 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9541
d53a73ac
UD
9542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9543 gettimeofday vsyscall, just use time.
9544
a8f84144
AS
95452011-09-06 Andreas Schwab <schwab@redhat.com>
9546
9547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9548 <errno.h>.
9549
ef606249
UD
95502011-09-06 Ulrich Drepper <drepper@gmail.com>
9551
9552 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9553 syscall on x86-64.
9554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9555 syscall.
9556 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9558 syscall if possible.
9559
6585cb60
UD
95602011-09-05 Ulrich Drepper <drepper@gmail.com>
9561
9562 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9563 e_ident. Don't pass to find_mapsXX.
9564 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9565
a5f524e4
LD
95662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9567
9568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9569 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9570 * sysdeps/x86_64/multiarch/strchr.S: Update.
9571 Check bit_slow_BSF bit.
9572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9573 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9574 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9575
554881ef
UD
95762011-09-05 Ulrich Drepper <drepper@gmail.com>
9577
d96de963
UD
9578 [BZ #13134]
9579 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9580 before glibc 2.15.
9581 (tryshell): Define.
9582 (__spawni): Change last parameter to be flag. Test
9583 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9584 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9585 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9586 * posix/spawni.c: Likewise.
9587 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9588 * posix/spawnp.c: Likewise. Change normal version to use
9589 SPAWN_XFLAGS_USE_PATH.
9590 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9591 SPAWN_XFLAGS_TRY_SHELL.
9592
d48e5868
UD
9593 [BZ #13150]
9594 * posix/glob.h: Remove gcc 1.x support.
9595
554881ef
UD
9596 [BZ #13068]
9597 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9598
693fb948
LD
95992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9600
9601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9602 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9603 strrchr-sse2-bsf
9604 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9605 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9610
1b48c537
UD
96112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9612
49d42c37
UD
9613 * sysdeps/x86_64/wcscmp.S: New file.
9614
1b48c537
UD
9615 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9616 wcscmp-c wcscmp-sse2
9617 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9618 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9619 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9620 * wcsmbs/wcscmp.c: Allow renaming.
9621
15c95c5d
DM
96222011-09-05 David S. Miller <davem@davemloft.net>
9623
9624 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9625 stack slot, rather than the struct return pointer slot.
9626 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9627 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9629 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9630
2f0ad8f3
UD
96312011-09-05 Ulrich Drepper <drepper@gmail.com>
9632
d88ae418
UD
9633 * po/ja.po: Update from translation team.
9634
2f0ad8f3
UD
9635 [BZ #13144]
9636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9637 kernel in 64-bit binaries.
9638
5f4318d1
DM
96392011-09-01 David S. Miller <davem@davemloft.net>
9640
9641 * elf/elf.h (HWCAP_SPARC_*): Move to..
9642 * sysdeps/sparc/sysdep.h: this new file and add new values.
9643 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9644 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9645 _DL_HWCAP_COUNT to 24.
9646 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9647 entries.
9648 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9649 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9650 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9652 instead of magic constants.
9653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9654
3ba57516
DM
96552011-08-31 David S. Miller <davem@davemloft.net>
9656
9657 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9659 Reimplement to do errno handling inline.
9660 (SYSCALL_ERROR_HANDLER): New macro.
9661 (__SYSCALL_STRING): Do not do errno handling in asm.
9662 (__CLONE_SYSCALL_STRING): Delete.
9663 (__INTERNAL_SYSCALL_STRING): Delete.
9664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9665 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9666 (PSEUDO): Reimplement to do errno handling inline.
9667 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9668 (SYSCALL_ERROR_HANDLER): New macro.
9669 (__SYSCALL_STRING): Do not do errno handling in asm.
9670 (__CLONE_SYSCALL_STRING): Delete.
9671 (__INTERNAL_SYSCALL_STRING): Delete.
9672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9673 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9674 i386.
9675 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9676 (inline_syscall*): Add 'err' argument.
9677 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9678 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9679 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9680 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9681
9682 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9684
2bc17433
AS
96852011-08-30 Andreas Schwab <schwab@redhat.com>
9686
9687 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9688
fbeb5f4d
JO
96892011-08-29 Jiri Olsa <jolsa@redhat.com>
9690
9691 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9692 directive.
9693
ad69cc26
DM
96942011-08-24 David S. Miller <davem@davemloft.net>
9695
9696 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9697
39dd69df
AS
96982011-08-24 Andreas Schwab <schwab@redhat.com>
9699
9700 * elf/Makefile: Add rules to build and run unload8 test.
9701 * elf/unload8.c: New file.
9702 * elf/unload8mod1.c: New file.
9703 * elf/unload8mod1x.c: New file.
9704 * elf/unload8mod2.c: New file.
9705 * elf/unload8mod3.c: New file.
9706
9707 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9708 it wasn't used.
9709
2c0b250a
DM
97102011-08-23 David S. Miller <davem@davemloft.net>
9711
9712 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9713 subtract stack bias.
9714 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9715 %sp not %fp in calculations.
9716 (_JMPBUF_UNWINDS_ADJ): Likewise.
9717
22044b48
DM
9718 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9719 (aio_suspend): Call it to force an exception region around the
9720 AIO_MISC_WAIT() invocation.
9721
2cae4995
AS
97222011-08-23 Andreas Schwab <schwab@redhat.com>
9723
9724 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9725 backslash.
9726
873a772e
AJ
97272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9728
9729 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9730 protection macro.
9731 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9732 and <dl-machine.h>.
9733 (Elf64_FuncDesc): Remove.
9734
25ad0df1
DM
97352011-08-22 David S. Miller <davem@davemloft.net>
9736
9737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9738 sigaltstack check, add missing cfi directives.
9739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9740 missing cfi directives, and sigaltstack handling.
9741
e888bcbe
AS
97422011-08-16 Andreas Schwab <schwab@redhat.com>
9743
9744 [BZ #11724]
9745 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9746 object is seen twice.
9747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9748
9749 * elf/Makefile (distribute): Add tst-initorder2.c.
9750 (tests): Add tst-initorder2.
9751 (modules-names): Add tst-initorder2a tst-initorder2b
9752 tst-initorder2c tst-initorder2d. Add rules to build them.
9753 ($(objpfx)tst-initorder2.out): New rule.
9754 * elf/tst-initorder2.c: New file.
9755 * elf/tst-initorder2.exp: New file.
9756
87162f46
AS
97572011-08-22 Andreas Schwab <schwab@redhat.com>
9758
70538b7f
AS
9759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9760
f55ffe58
AS
9761 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9762 dependencies back to end of function.
9763
87162f46
AS
9764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9765 $(elfobjdir)/ld.so.
9766
91b392a4
UD
97672011-08-21 Ulrich Drepper <drepper@gmail.com>
9768
9769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9770 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9772 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9773 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9774 of __vdso_gettimeofday.
9775 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9776 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9777 attribute_hidden.
9778 (_libc_vdso_platform_setup): Remove initialization of
9779 __vdso_gettimeofday and __vdso_time.
9780
5c43483f
UD
97812011-08-20 Ulrich Drepper <drepper@gmail.com>
9782
775a77e7
UD
9783 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9784 and fgetc_unlocked.
9785 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9786 getc_unlocked.
89f447ed 9787
49c74ba9
UD
9788 * elf/dl-open.c (add_to_global): Report additions to the global scope
9789 for LD_DEBUG=scopes.
9790 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9791 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9792
5c43483f
UD
9793 [BZ #13114]
9794 * stdio-common/Makefile (tests): Add bug24.
9795 * stdio-common/bug24.c: New file.
9796
a101b025
AJ
97972011-08-19 Andreas Jaeger <aj@suse.de>
9798
9799 [BZ #13114]
9800 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9801 non-existant file when using close-on-exec mode.
9802
c88f1766
UD
98032011-08-20 Ulrich Drepper <drepper@gmail.com>
9804
0276a718
UD
9805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9806 the very first instruction.
9807
c88f1766
UD
9808 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9809 the CFI state in the end.
9810 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9811 inclusion of dl-trampoline.h.
9812 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9813
51ccffa0
AS
98142011-08-19 Andreas Schwab <schwab@redhat.com>
9815
94d7165f
AS
9816 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9817 expectations for long double.
9818
51ccffa0
AS
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9820 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9821
fd708658 98222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9823
9824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9825 artificual limit depends upon the system page size.
9826
44f0a71e
UD
98272011-08-17 Ulrich Drepper <drepper@gmail.com>
9828
9829 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9830 * resolv/Makefile: Define CFLAGS-libresolv.
9831
8de79a24
AS
98322011-08-17 Andreas Schwab <schwab@redhat.com>
9833
9834 * nss/makedb.c (compute_tables): Make variables used in nested
9835 function static.
9836
27724598
UD
98372011-08-17 Ulrich Drepper <drepper@gmail.com>
9838
c5305d88
UD
9839 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9840 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9841 if buffer was too small.
9842
27724598
UD
9843 * elf/pldd.c (main): Attach to all threads in the process.
9844 Rewrite /proc handling to use *at functions.
9845
076fe015
UD
98462011-08-16 Ulrich Drepper <drepper@gmail.com>
9847
174baab3
UD
9848 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9849 specifies first scope to show.
9850 (dl_open_worker): Update callers. Move printing scope of new
9851 object to before the relocation.
44f0a71e 9852 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9853 * sysdeps/generic/ldsodefs.h: Update declaration.
9854
076fe015
UD
9855 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9856 string for the scope number.
9857
a60df2c3
UD
98582011-08-14 Ulrich Drepper <drepper@gmail.com>
9859
9860 * nscd/servicescache.c (cache_addserv): Make sure written is always
9861 initialized.
9862
5e4287d1
RM
98632011-08-14 Roland McGrath <roland@hack.frob.com>
9864
85ae0589
RM
9865 * sysdeps/i386/i486/bits/atomic.h
9866 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9867 statement expression, so as to suppress "set but not used" warning.
9868 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9869
69f63097
RM
9870 * string/strncat.c (STRNCAT): Use prototype definition.
9871
675456ef
RM
9872 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9873 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9874 -Iprograms here.
9875 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9876 (localedef-modules): Add localedef.
9877 (locale-modules): Add locale.
9878
5e4287d1
RM
9879 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9880 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9881 to avoid a warning.
9882
9c96ff23
DM
98832011-08-14 David S. Miller <davem@davemloft.net>
9884
9885 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9886 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9887
f9ddf089
UD
98882011-08-13 Ulrich Drepper <drepper@gmail.com>
9889
44f0a71e 9890 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9891 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9892 * elf/rtld.c (dl_main): Set l_name of vDSO.
9893 Call _dl_show_scope when DL_DEBUG_SCOPES.
9894 (process_dl_debug): Recognize scopes flag and also set it for all.
9895 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9896 Declare _dl_show_scope.
9897
1dc27704
UD
9898 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9899 (do_dlopen): Pass caller_dlopen to dl_open.
9900 (__libc_dlopen_mode): Initialize caller_dlopen.
9901
f9ddf089
UD
9902 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9903 of libc. Make tolower call locale-independent. Optimize a bit by
9904 using isdigit instead of isalnum.
9905 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9906
9ac533d3
UD
99072011-08-12 Ulrich Drepper <drepper@gmail.com>
9908
9909 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9910 was a dependency or dynamically loaded.
9911
89edf2e9
UD
99122011-08-11 Ulrich Drepper <drepper@gmail.com>
9913
8e999d29
UD
9914 * intl/l10nflist.c: Allow architecture-specific pop function.
9915 * sysdeps/x86_64/l10nflist.c: New file.
9916
89edf2e9
UD
9917 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9918 classification.
9919
14d96785
AS
99202011-08-10 Andreas Schwab <schwab@redhat.com>
9921
9922 * include/dirent.h: Add libc_hidden_proto for scandirat and
9923 scandirat64. Don't declare __scandirat64.
9924 * dirent/scandirat.c: Add libc_hidden_def.
9925 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9926 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9927
6761ac04
DM
99282011-08-10 David S. Miller <davem@davemloft.net>
9929
9930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9931 enum.
9932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9935
c55fbd1e
UD
99362011-08-09 Ulrich Drepper <drepper@gmail.com>
9937
9938 * Versions.def [libc]: Add GLIBC_2.15.
9939 * dirent/Makefile (routines): Add scandirat and scandirat64.
9940 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9941 GLIBC_2.15.
9942 * dirent/dirent.h: Declare scandirat and scandirat64.
9943 * dirent/scandirat.c: New file.
9944 * dirent/scandirat64.c: New file.
9945 * sysdeps/wordsize-64/scandirat.c: New file.
9946 * sysdeps/wordsize-64/scandirat64.c: New file.
9947 * dirent/opendir.c: Define opendirat.
9948 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9949 using scandirat.
9950 * dirent/scandir64.c: Adjust for scandir.c change.
9951 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9952 __scandirat64, and __scandir_cancel_handler.
9953 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9954 additional parameter and use openat instead of open (outside of ld.so).
9955 Add new __opendir as wrapper around __opendirat.
9956 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9957 here without requiring old scandirat implementation.
9958
879165f2
UD
99592011-08-08 Ulrich Drepper <drepper@gmail.com>
9960
9961 * dirent/scandir.c (cancel_handler): Renamed to
9962 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9963 defined. Adjust users.
9964 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9966
cb7e923b
UD
99672011-08-04 Ulrich Drepper <drepper@gmail.com>
9968
16292edd
UD
9969 * string/test-string.h (IMPL): Use __STRING to expand name and then
9970 stringify it.
9971
cb7e923b
UD
9972 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9973 of cleanups.
9974
cff82933
LD
99752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9976
9977 * string/Makefile: Update.
9978 (strop-tests): Append strncat.
9979 * string/test-wcscmp.c: New file.
9980 New comprehensive test for wcscmp.
9981 * string/test-strcmp.c: Update.
9982 (WIDE): New define.
9983
9be9bfcc
AS
99842011-07-22 Andreas Schwab <schwab@redhat.com>
9985
9986 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9987 line.
9988
2e96f1c7
AS
99892011-07-26 Andreas Schwab <schwab@redhat.com>
9990
9991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9992 encoding to ACE if AI_IDN.
9993
85188888
JJ
99942011-08-01 Jakub Jelinek <jakub@redhat.com>
9995
9996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9997 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9998
5fa16e9b
LD
99992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10000
10001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10002 Fix overflow bug in strncat.
10003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10004
10005 * string/test-strncat.c: Update.
10006 Add new tests for checking overflow bugs.
10007
100082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10009
10010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10011 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10012 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10013 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10015 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10016 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10017 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10018 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10019
10020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10021 (USE_AS_STRCAT): Define.
10022 Add strcat and strncat support.
10023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10024
8c1a459f
AS
100252011-07-25 Andreas Schwab <schwab@redhat.com>
10026
10027 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10028 __n bigger than INT_MAX+1.
10029 (__strncmp_g): Likewise.
10030
bba33c28
UD
100312011-07-23 Ulrich Drepper <drepper@gmail.com>
10032
798be72d
UD
10033 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10034 * libio/stido.h: Likewise.
10035
8accd4dc
UD
10036 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10037 (AF_NFC): Define.
10038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10039 (AF_NFC): Define.
10040
cbff0d96
UD
10041 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10043 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10046
9191c04a
UD
10047 [BZ #13021]
10048 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10049 installed.
10050
bba33c28
UD
10051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10052 typo.
10053 (_dl_x86_64_save_sse): Likewise.
10054
90f139dd
UD
100552011-07-22 Ulrich Drepper <drepper@gmail.com>
10056
1aae088a
UD
10057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10058 OSXSAVE.
10059 (_dl_x86_64_save_sse): Likewise.
10060
8e2045f5
UD
10061 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10062
90f139dd
UD
10063 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10064
1d002f25
AS
100652011-07-21 Andreas Schwab <schwab@redhat.com>
10066
10067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10068 change.
10069 (_dl_x86_64_save_sse): Use correct AVX check.
10070
21137f89
UD
100712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10072
10073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10074 bug in strncpy/strncat.
10075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10076
a65c0b7a
UD
100772011-07-21 Ulrich Drepper <drepper@gmail.com>
10078
10079 * string/tester.c (test_strcat): Add tests for different alignments
10080 of source and destination.
10081 (test_strncat): Likewise.
10082
6986b98a
UD
100832011-07-20 Ulrich Drepper <drepper@gmail.com>
10084
90bb2039
UD
10085 [BZ #12852]
10086 * posix/glob.c (glob): Check passed in values before using them in
10087 expressions to avoid some overflows.
10088 (glob_in_dir): Likewise.
10089
5644ef54
UD
10090 [BZ #13007]
10091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10092 check for AVX enablement so that we don't crash with old kernels and
10093 new hardware.
10094 * elf/tst-audit4.c: Add same checks here.
10095 * elf/tst-audit6.c: Likewise.
10096
10097 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10098
bfc9dc9b
AS
100992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10100
10101 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10102
702e64bb
UD
101032011-07-20 Ulrich Drepper <drepper@gmail.com>
10104
10105 * po/cs.po: Update from translation team.
10106 * po/bg.po: Likewise.
10107
295e904f
MP
101082011-07-12 Marek Polacek <mpolacek@redhat.com>
10109
10110 * misc/sys/cdefs.h: Add support for const attribute.
10111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10112 to gnu_dev_{major,minor,makedev} functions.
10113
3ff94596
MP
101142011-07-20 Marek Polacek <mpolacek@redhat.com>
10115
10116 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10117
28b59fca
AS
101182011-07-20 Andreas Schwab <schwab@redhat.com>
10119
10120 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10121 strlen results.
10122
19df733e
AK
101232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10124
10125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10126 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10127 register in order to avoid conflicts with the soft frame pointer
10128 being held in r11 when necessary.
10129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10130 (INTERNAL_VSYSCALL_NCS): Likewise.
10131
c8835729
MP
101322011-07-14 Marek Polacek <mpolacek@redhat.com>
10133
10134 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10135 * elf/dl-fini.c (_dl_fini): Adjust caller.
10136 * elf/dl-close.c (_dl_close_worker): Likewise.
10137 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10138
b902330c
MP
101392011-07-15 Marek Polacek <mpolacek@redhat.com>
10140
8991e135
MP
10141 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10142 "aux_cache->nlibs < 0".
10143
b902330c
MP
10144 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10145 in the reload-count case.
10146
99710781
LD
101472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10148
10149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10150 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10151 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10152 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10153 * sysdeps/x86_64/multiarch/strcat.S: New file.
10154 * sysdeps/x86_64/multiarch/strncat.S: New file.
10155 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10157 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10158 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10160 (USE_AS_STRCAT): Define.
10161 Add strcat and strncat support.
10162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10164 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10165 * string/strncat.c: Update.
10166 (USE_AS_STRNCAT): Define.
10167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10168 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10169 and i7.
10170 * sysdeps/x86_64/multiarch/init-arch.h
10171 (bit_Prefer_PMINUB_for_stringop): New.
10172 (index_Prefer_PMINUB_for_stringop): Likewise.
10173 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10174 bit_Prefer_PMINUB_for_stringop.
10175
7dc6bd90
UD
101762011-07-19 Ulrich Drepper <drepper@gmail.com>
10177
10178 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10179 buffer64.
10180 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10181 of casting of buffer.
10182 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10183 buffer32 and buffer64.
10184 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10185 writes instead of casting of buffer.
10186 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10187 buffer32.
10188 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10189 casting of buffer.
10190
e0e72284
AS
101912011-07-19 Andreas Schwab <schwab@redhat.com>
10192
10193 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10194
feb1eb0b
UD
101952011-07-19 Ulrich Drepper <drepper@gmail.com>
10196
10197 * nscd/nscd.c (termination_handler): Don't do anything for a database
10198 if it has not yet been initialized.
10199
298711ff
UD
102002011-07-18 Ulrich Drepper <drepper@gmail.com>
10201
10202 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10203
102042011-07-15 Marek Polacek <mpolacek@redhat.com>
10205
10206 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10207
f9d68389
UD
102082011-07-18 Ulrich Drepper <drepper@gmail.com>
10209
10210 * po/nl.po: Update from translation team.
10211 * po/sv.po: Likewise.
10212
db290cf5
RM
102132011-07-16 Roland McGrath <roland@hack.frob.com>
10214
10215 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10216 now disallowed by GCC.
5c550700 10217
fd5e21c7
RM
10218 * configure.in (use-default-link): Default to yes if a test -shared
10219 link meets our qualifications.
10220 * configure: Regenerated.
10221
5c550700
RM
10222 * config.make.in (output-format): New variable.
10223 * configure.in: Check for ld --print-output-format support.
10224 * configure: Regenerated.
10225 * Makerules ($(common-objpfx)format.lds)
10226 [$(output-format) != unknown]: Just use $(output-format),
10227 instead of the linker-script munging.
10228
9fa2c032
RM
102292011-07-14 Roland McGrath <roland@hack.frob.com>
10230
a6928d51
RM
10231 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10232 of $(common-objpfx)shlib.lds.
10233 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10234
661607b3
RM
10235 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10236 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10237
9fa2c032
RM
10238 * configure.in (-z relro check): Adjust test code to add a large
10239 writable data section after it.
10240 * configure: Regenerated.
10241
defe9061
RM
102422011-07-11 Roland McGrath <roland@hack.frob.com>
10243
10244 * configure.in (-z relro check): Fix test code to make the variable
10245 truly const.
10246 * configure: Regenerated.
10247
319b9ad4
UD
102482011-07-11 Ulrich Drepper <drepper@gmail.com>
10249
10250 * nscd/nscd.h (struct traced_file): Define.
10251 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10252 elements. Add traced_files.
10253 (inotify_fd): Declare.
10254 (register_traced_file): Declare.
10255 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10256 (inotify_fd): Export.
10257 (resolv_conf_descr): Remove.
10258 (nscd_init): Move inotify descriptor creation to main.
10259 Don't register files for notification here.
10260 (register_traced_file): New function.
10261 (invalidate_cache): Don't use reset_res to determine whether to call
10262 res_init, go through the list of registered files.
10263 (main_loop_poll): The inotify descriptors are now stored in the
10264 structures for the traced files.
10265 (main_loop_epoll): Likewise
10266 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10267 to __nss_disable_nscd.
10268 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10269 for a database anymore. Check the records for all the registered
10270 files instead.
10271 * nss/Makefile (libnss_files-routines): Add files-init.
10272 (libnss_db-routines): Add db-init.
10273 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10274 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10275 * nss/nss_db/db-init.c: New file.
10276 * nss/nss_files/files-init.c: New file.
10277 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10278 __nss_lookup_function.
10279 (__nss_lookup_function): Call nss_load_library.
10280 (nss_load_all_libraries): New function.
10281 (__nss_disable_nscd): Take parameter with callback function for files
10282 to register. Set is_nscd. Load all the DSOs for the NSS modules
10283 used for the cached services.
10284 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10285 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10286 options for features to all the files in nscd.
10287
10288 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10289
23bee3e8
RM
102902011-07-10 Roland McGrath <roland@hack.frob.com>
10291
10292 * csu/elf-init.c (__libc_csu_init): Comment typo.
10293
46a5b7f0
UD
102942011-07-09 Ulrich Drepper <drepper@gmail.com>
10295
10296 * po/pl.po: Update from translation team.
10297 * po/ja.po: Likewise.
10298 * po/ru.po: Likewise.
10299 * po/ko.po: Likewise.
10300 * po/fr.po: Likewise.
10301
d30cf5bb
RM
103022011-07-09 Roland McGrath <roland@hack.frob.com>
10303
113ddea4
RM
10304 * configure.in (.ctors/.dtors header and trailer check):
10305 Use an empirical test on a built program.
10306 * configure: Regenerated.
10307
574920b4
RM
10308 * configure.in (-z relro check): Use an empirical test on a built DSO.
10309 Detect, but do not require, on ia64.
10310 * configure: Regenerated.
10311
d30cf5bb
RM
10312 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10313 Update tests that use readelf to use $READELF instead.
10314 * configure: Regenerated.
10315
8538fdb3
UD
103162011-07-08 Ulrich Drepper <drepper@gmail.com>
10317
10318 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10319 if the result is not used.
10320
04d08991
AJ
103212011-07-05 Andreas Jaeger <aj@suse.de>
10322
10323 [BZ#9696]
10324 * stdlib/tst-strtod.c: Add testcase.
10325
de283087
AD
103262011-07-07 Ulrich Drepper <drepper@gmail.com>
10327
4e5f31c8 10328 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10329 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10330 The latter has a higher limit. Take additional parameter to pass to
10331 the new function.
10332 (__pathconf): Pass file to __statfs_link_max.
10333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10334 __statfs_link_max.
10335 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10336 __statfs_link_max.
10337
de283087
AD
10338 [BZ #12868]
10339 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10341 Handle Lustre.
10342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10343 (__statfs_filesize_max): Likewise.
10344 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10345
c75fa153
AJ
103462011-07-05 Andreas Jaeger <aj@suse.de>
10347
10348 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10349
1a544854
UD
103502011-07-06 Marek Polacek <mpolacek@redhat.com>
10351
10352 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10353 `status' variable.
10354 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10355 Likewise.
10356
6f0eec67
UD
103572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10358
10359 * Makefile (strop-tests): Add strncat.
10360 * string/test-strncat.c: New file.
10361
aae30307
UD
103622011-06-30 Marek Polacek <mpolacek@redhat.com>
10363
10364 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10365
c0cfb5eb
UD
103662011-06-21 Andreas Jaeger <aj@suse.de>
10367
10368 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10369 Copy rule from iconvdata/Makefile.
10370
01636b21
UD
103712011-07-06 Ulrich Drepper <drepper@gmail.com>
10372
10373 [BZ #12922]
10374 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10375 but no long options are defined, just return 'W'.
10376
9895c8bc
UD
103772011-06-22 Marek Polacek <mpolacek@redhat.com>
10378
10379 [BZ #9696]
10380 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10381
5d4cf042
UD
103822011-07-06 Ulrich Drepper <drepper@gmail.com>
10383
10384 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10385 netgroups to read.
960e5535 10386 (innetgr): Likewise.
5d4cf042 10387
751eb97e
RM
103882011-07-05 Roland McGrath <roland@hack.frob.com>
10389
10390 * config.make.in (install_root): Default to $(DESTDIR).
10391
f15f1e45
UD
103922011-07-05 Ulrich Drepper <drepper@gmail.com>
10393
10394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10395
4e34ac6a
RM
103962011-07-02 Roland McGrath <roland@hack.frob.com>
10397
5e9b6af4
RM
10398 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10399
84f9ea0f
RM
10400 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10401 containing directory rather than embedding absolute directory names.
10402
ea5ee9f7
RM
10403 * scripts/check-local-headers.sh: Rewritten using awk.
10404 Match by word, not by line. Print error messages for matches.
10405 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10406
1b74661a
RM
10407 * Makerules [shlib-lds-flags empty]:
10408 ($(common-objpfx)libc_pic.opts): New target.
10409 ($(common-objpfx)libc_pic.os.clean): New target.
10410 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10411
10412 * config.make.in (OBJCOPY): New variable.
10413 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10414 * configure: Regenerated.
10415
f781ef40
RM
10416 * config.make.in (use-default-link): New variable.
10417 * configure.in (use_default_link): Grok --with-default-link to set it.
10418 * configure: Regenerated.
10419 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10420 (shlib-lds, shlib-lds-flags): Define to empty.
10421
2d4fa81e
RM
10422 * Makerules (shlib-lds): New variable.
10423 (shlib-lds-flags): New variable.
10424 (build-shlib, build-moduile, build-module-asneeded): Use it.
10425 ($(common-objpfx)libc.so): Use $(shlib-lds).
10426 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10427 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10428
31fffa6b
RM
10429 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10430 DT_FLAGS/DT_FLAGS_1 with zero flags.
10431
4e34ac6a
RM
10432 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10433 linker script munging.
10434
fcfc776b
UD
104352011-07-02 Ulrich Drepper <drepper@gmail.com>
10436
10437 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10438 as 128-bit value.
10439 * crypt/sha512.c (sha512_process_block): Perform total addition using
10440 128-bit if possible.
10441 (__sha512_finish_ctx): Likewise.
10442 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10443 as 64-bit value.
10444 * crypt/sha256.c (SWAP64): Define.
10445 (sha256_process_block): Perform total addition using 64-bit if
10446 possible.
10447 (__sha256_finish_ctx): Likewise.
10448
99231d9a
UD
104492011-07-01 Ulrich Drepper <drepper@gmail.com>
10450
10451 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10453 * nscd/hstcache.c (cache_addhst): Likewise.
10454 * nscd/grpcache.c (cache_addgr): Likewise.
10455 * nscd/aicache.c (addhstaiX): Likewise
10456 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10457
445b4a53
TK
104582011-07-01 Thorsten Kukuk <kukuk@suse.de>
10459
10460 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10462 * nscd/hstcache.c (cache_addhst): Likewise.
10463 * nscd/grpcache.c (cache_addgr): Likewise.
10464 * nscd/aicache.c (addhstaiX): Likewise
10465
6d4d8e8e
AS
104662011-07-01 Andreas Schwab <schwab@redhat.com>
10467
10468 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10469 domain only when needed.
10470
89f654c5
AS
104712011-06-30 Andreas Schwab <schwab@redhat.com>
10472
10473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10474 is always restored.
10475
cf3b23ff
UD
104762011-06-29 Ulrich Drepper <drepper@gmail.com>
10477
10478 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10479 are re-adding the entry.
10480 * nscd/servicescache.c (cache_addserv): Likewise.
10481
751626f9
AJ
104822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10483
10484 * sysdeps/generic/dl-irel.h: fix protection against multiple
10485 inclusions.
10486 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10487
9113ea1f
UD
104882011-06-28 Ulrich Drepper <drepper@gmail.com>
10489
5c0b8d90
UD
10490 [BZ #12935]
10491 * malloc/memusage.sh: Fix quoting in message.
10492 * debug/xtrace.sh: Likewise.
10493
9113ea1f
UD
10494 * configure.in: Remove support for --experimental-malloc option, make
10495 it the default.
10496 * config.make.in: Likewise.
10497 * malloc/Makefile: Likewise.
10498
a4172181
AS
104992011-06-27 Andreas Schwab <schwab@redhat.com>
10500
10501 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10502 two-byte characters.
10503
78a7eee7
RM
105042011-06-27 Roland McGrath <roland@hack.frob.com>
10505
62bede13
RM
10506 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10507 AC_CACHE_CHECK invocation.
10508 * configure: Regenerated.
10509
78a7eee7
RM
10510 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10511
5ce33a62
UD
105122011-06-27 Ulrich Drepper <drepper@gmail.com>
10513
034807a9
UD
10514 [BZ #12350]
10515 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10516 bit from old_res_options.
10517
4902da17
UD
10518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10519
5ce33a62
UD
10520 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10521 value type for setfct.
10522
c2344f56
L
105232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10524
10525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10526 __gettimeofday instead of gettimeofday.
10527
68468076
UD
105282011-06-26 Ulrich Drepper <drepper@gmail.com>
10529
10530 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10531
acb0d739
L
105322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10535
10536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10537 info.
10538
8912479f
L
105392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10540
10541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10542 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10543 strcpy-sse2-unaligned strncpy-sse2-unaligned
10544 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10545 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10546 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10547 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10548 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10551 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10552 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10553 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10554 (STRCPY): Support SSE2 and SSSE3 versions.
10555
d5495a11
UD
105562011-06-24 Ulrich Drepper <drepper@gmail.com>
10557
10558 [BZ #12874]
10559 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10560 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10561 kernels which artificially limit size of requests.
10562
0b1cbaae
L
105632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10564
10565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10566 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10567 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10568 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10569 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10570 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10571 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10572 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10575 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10576 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10577 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10578 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10579 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10581 Enable unaligned load optimization for Intel Core i3, i5 and i7
10582 processors.
10583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10584 Define.
10585 (index_Fast_Unaligned_Load): Define.
10586 (HAS_FAST_UNALIGNED_LOAD): Define.
10587
07f494a0
MP
105882011-06-23 Marek Polacek <mpolacek@redhat.com>
10589
10590 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10591
fa3fc0fe
UD
105922011-06-22 Ulrich Drepper <drepper@gmail.com>
10593
10594 [BZ #12907]
10595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10596 until it is clear that the information is realy needed.
10597 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10598
e12df166
AS
105992011-06-22 Andreas Schwab <schwab@redhat.com>
10600
10601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10602
852eb34d
UD
106032011-06-22 Ulrich Drepper <drepper@gmail.com>
10604
84e2a551
UD
10605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10606 /sys/devices/system/cpu/online if it is usable.
10607
852eb34d
UD
10608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10609 reading the information from the /proc filesystem to once a second.
10610
6e502e19
UD
106112011-06-21 Andreas Jaeger <aj@suse.de>
10612
10613 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10614 NULL after inclusion of kernel headers.
10615
75d39ff2
UD
106162011-06-21 Ulrich Drepper <drepper@gmail.com>
10617
51f9aa6a
UD
10618 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10619 calls to internal_setent.
10620
c0244a9d
UD
10621 [BZ #12885]
10622 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10623 addresses using gethostbyname4_r ignore IPv4 addresses.
10624
c5e3c2ae
UD
10625 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10626 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10627
75d39ff2
UD
10628 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10629
42675c6f
DM
106302011-06-20 David S. Miller <davem@davemloft.net>
10631
10632 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10633 inclusions.
10634 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10635
10636 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10637 (elf_irel): Use it.
10638 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10639 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10640 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10641 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10642 * sysdeps/x86_64/dl-irel.h: Likewise.
10643
10644 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10645 * elf/dl-sym.c: Likewise.
10646
57912a71
UD
106472011-06-15 Ulrich Drepper <drepper@gmail.com>
10648
10649 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10650 need to dereference resplen2.
10651
ee22793d
AS
106522011-06-14 Andreas Schwab <schwab@redhat.com>
10653
10654 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10655
a9e836b0
UD
106562011-06-15 Ulrich Drepper <drepper@gmail.com>
10657
77fb9117
UD
10658 * Makeconfig: Define vardbdir and inst_vardbdir.
10659 * nss/Makefile: Add rules to install db-Makefile.
10660
40c1b22c
UD
10661 * nss/nss_db/db-XXX.c: Cleanup.
10662
9f2da732
UD
10663 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10664 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10665 GLIBC_PRIVATE.
10666 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10667 * nss/makedb.c: Implement -g option to specify that value strings
10668 are generated and should not be added to table iterated over for
10669 get*ent calls.
10670 * nss/nss_db/db-initgroups.c: New file.
10671
82e9a1f7
UD
10672 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10673 interface.
10674
c41af17e
UD
10675 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10676 (internal_getgrouplist): Adjust to name change.
10677 Update use_initgroups_entry if this is not the first call.
10678 * nss/databases.def: Add initgroups entry.
10679
a9e836b0
UD
10680 * nss/makedb.c (compute_tables): Check result of multiple hash table
10681 sizes to minimize maximum chain length.
10682
2666d441
UD
106832011-06-14 Ulrich Drepper <drepper@gmail.com>
10684
10685 * Versions.def: Add entry for libnss_db.
10686 * shlib-versions: Likewise.
10687 * nss/Makefile: Add rules to build libnss_db.
10688 * nss/Versions: Add libnss_db information. Organize libnss_files
10689 entries better.
10690 * nss/db-Makefile: Add gshadow support. Change rules for the new
10691 makedb progra. Some minor improvements to generate smaller files.
10692 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10693 here from...
10694 * nss/makedb.c: ...here.
10695 Improve database format to be smaller and require less memory at
10696 runtime.
10697 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10698 db anymore.
10699 * nss/nss_db/db-netgrp.c: Likewise.
10700 * nss/nss_db/db-open.c: Likewise.
10701 * nss/nss_files/flies-XXX.x: Adjust comments.
10702 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10703 * nss/nss_files/files-grp.c: Likewise.
10704 * nss/nss_files/files-hosts.c: Likewise.
10705 * nss/nss_files/files-network.c: Likewise.
10706 * nss/nss_files/files-proto.c: Likewise.
10707 * nss/nss_files/files-pwd.c: Likewise.
10708 * nss/nss_files/files-rpc.c: Likewise.
10709 * nss/nss_files/files-service.c: Likewise.
10710 * nss/nss_files/files-sgrp.c: Likewise.
10711 * nss/nss_files/files-spwd.c: Likewise.
10712 * nss/nss_db/db-alias.c: Removed.
10713 * nss/nss_db/dummy-db.h: Removed.
10714
9ee76b5a
UD
107152011-06-02 Ulrich Drepper <drepper@gmail.com>
10716
10717 * nss/makedb.c: Rewritten to not use database library.
10718 * nss/Makefile: Update to build new makedb program.
10719
c71ca1f8
AJ
107202011-06-14 Andreas Jaeger <aj@suse.de>
10721
10722 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10723 memset declaration.
10724
3154bfb8
UD
107252011-06-10 Andreas Schwab <schwab@redhat.com>
10726
10727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10728 tmpbuf.
10729
b350afab
RM
107302011-06-10 Roland McGrath <roland@hack.frob.com>
10731
decd4e50
RM
10732 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10733 * elf/Makefile ($(objpfx)ld.so): Likewise.
10734
5615eaf2
RM
10735 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10736 Don't list ld.so twice in dependencies.
10737
10738 * posix/bug-regex31.c: Include <stdlib.h>.
10739
10740 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10741
10742 * nis/nss_compat/compat-spwd.c
10743 (getspent_next_nss_netgr): Remove unused variable.
10744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10745
10746 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10747 nonmembers" output to use the right array.
10748
10749 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10750
10751 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10752
10753 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10754 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10755 * catgets/gencat.c (read_input_file): Likewise.
10756 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10757
10758 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10759 variable definition inside #if's controlling its use.
10760
10761 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10762
10763 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10764
10765 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10766
10767 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10768 unreachable code.
10769
10770 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10771
b68e08db
RM
10772 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10773 * configure: Regenerated.
10774
b350afab
RM
10775 * Makerules: Revert last change.
10776 * elf/Makefile: Likewise.
10777
28368601
RM
107782011-06-09 Roland McGrath <roland@hack.frob.com>
10779
10780 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10781 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10782 (reloc-link): Likewise.
10783
11988f8f
UD
107842011-06-09 Ulrich Drepper <drepper@gmail.com>
10785
10786 * elf/Makefile: Add rules to build pldd.
10787 * elf/pldd.c: New file.
10788 * elf/pldd-xx.c: New file.
10789
e80fab37
UD
107902011-06-07 Ulrich Drepper <drepper@gmail.com>
10791
10792 * version.h: Update for 2.15 development version.
10793
9b849836
DM
107942011-06-07 David S. Miller <davem@davemloft.net>
10795
10796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10797 ifuncs.
10798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10799 elf_machine_lazy_rel): Likewise.
10800 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10802 elf_machine_lazy_rel): Likewise.
10803 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10804 dl_hwcap via passed in argument.
10805 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10806 Likewise.
10807
5a31b283
AK
108082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10809
10810 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10811
069e52f8
RM
108122011-06-06 Roland McGrath <roland@hack.frob.com>
10813
10814 [BZ #12849]
10815 * manual/fdl-1.1.texi: New file, verbatim from:
10816 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10817 * manual/lgpl-2.1.texi: New file, verbatim from:
10818 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10819 * manual/Makefile (licenses): New variable, list those new file names.
10820 (texis): Use it.
10821 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10822
10823 * manual/fdl.texi: File removed.
10824 * manual/lesser.texi: File removed.
10825 * manual/libc.texinfo (Copying, Documentation License):
10826 Use new @include file names, put @appendix directive before @include.
10827
f16846a5
JJ
108282011-06-04 Jakub Jelinek <jakub@redhat.com>
10829
10830 [BZ #12841]
10831 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10832 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10833 (mq_open): Add __NTH.
10834
3d29045b
L
108352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10838 Assume Intel Core i3/i5/i7 processor if AVX is available.
10839
8c297311
UD
108402011-05-31 Ulrich Drepper <drepper@gmail.com>
10841
10842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10843 typo.
10844
c8fc0c91
UD
108452011-05-31 Andreas Schwab <schwab@redhat.com>
10846
10847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10848 memory. Use alloca_account. Fix memory leak when retrying.
10849
5b27a807
UD
108502011-05-31 Ulrich Drepper <drepper@gmail.com>
10851
356f8bc6
UD
10852 * version.h (RELEASE): Bump for 2.14 release.
10853 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10854
5b27a807
UD
10855 * config.make.in (RANLIB): Remove entry.
10856
01f16ab0
UD
108572011-05-30 Ulrich Drepper <drepper@gmail.com>
10858
41fce8bd
UD
10859 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10860 (libc.pot): Work around missing support for .ksh extension in xgettext.
10861
4769ae77
UD
10862 [BZ #12684]
10863 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10864 if both request failed.
10865 (send_dg): In case of server errors clear resplen or *resplen2.
10866
6b1e7d19
UD
10867 [BZ #12454]
10868 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10869 when there are multiple maps.
10870 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10871 (_dl_fini): Remove test here.
10872
01f16ab0
UD
10873 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10874
b1ebd700
UD
108752011-05-29 Ulrich Drepper <drepper@gmail.com>
10876
7ae22829
UD
10877 [BZ #12350]
10878 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10879 bit from old_res_options.
10880 (gaih_inet): Likewise.
10881
553149f6 10882 [BZ #11099]
18a84741 10883 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10884 as signed.
10885
652ffab1
UD
10886 * resolv/res_init.c (res_setoptions): Make the code more compact.
10887
16985fd0
UD
10888 [BZ #11558]
10889 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10890 set RES_USEVC.
10891
0464f746
UD
10892 [BZ #11634]
10893 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10894
7d17596c
UD
10895 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10896
cf6bbbd7
UD
10897 [BZ #11781]
10898 * malloc/malloc.h: Declare malloc hook variables as volatile.
10899
13f1ab36
UD
10900 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10901 in last patch.
10902
b1ebd700
UD
10903 [BZ #11799]
10904 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10905 raise in the comment.
80e2212d
UD
10906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10908 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10909
ce67228d
UD
109102011-05-28 Ulrich Drepper <drepper@gmail.com>
10911
8887a920
UD
10912 [BZ #12811]
10913 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10914 grow the buffers more if it already has to be sufficient.
10915 (build_wcs_upper_buffer): Likewise.
10916 * posix/regexec.c (check_matching): Likewise.
10917 (clean_state_log_if_needed): Likewise.
10918 (extend_buffers): Don't enlarge buffers beyond size of the input
10919 buffer.
10920 Patches mostly by Emil Wojak <emil@wojak.eu>.
10921 * posix/bug-regex32.c: New file.
10922 * posix/Makefile (tests): Add bug-regex32.
10923
4f031072
UD
10924 * locale/findlocale.c (_nl_find_locale): Return right away if
10925 _nl_explode_name failed.
10926 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10927
d0478f0c
UD
10928 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10929
de81b246
UD
10930 * debug/xtrace.sh: Unify messages.
10931 * malloc/memusage.sh: Likewise.
10932
c738465a
UD
10933 [BZ #12813]
10934 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10935 time symbol from vDSO. Substitute with vsyscall if not available.
10936 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10937 __vdso_time.
10938
f1f929d7
UD
10939 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10940 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10942 Add sendmmsg and internal_sendmmsg.
10943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10944 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10946
ce67228d
UD
10947 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10948 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10950
e57420c6
UD
109512011-05-27 Ulrich Drepper <drepper@gmail.com>
10952
a8509ca5
UD
10953 [BZ #12813]
10954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10955 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10956 available.
10957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10958 __vdso_getcpu.
10959
e57420c6
UD
10960 [BZ #12814]
10961 * iconvdata/Makefile (tests): Add bug-iconv9.
10962 * iconvdata/bug-iconv9.c: New file.
10963
4d07db15
AS
109642011-05-27 Andreas Schwab <schwab@redhat.com>
10965
10966 [BZ #12814]
10967 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10968
ea486f69
JJ
109692011-05-25 Jakub Jelinek <jakub@redhat.com>
10970
10971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10972 (struct user_regs_struct): Change intcs field back to cs.
10973
6f038433
UD
109742011-05-25 Ulrich Drepper <drepper@gmail.com>
10975
10976 * po/ja.po: Update from translation team.
10977
67f86a25
UD
109782011-05-23 Ulrich Drepper <drepper@gmail.com>
10979
10980 [BZ #12795]
10981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10982 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10983
def7fbd6
AS
109842011-05-20 Andreas Schwab <schwab@redhat.com>
10985
10986 * stdlib/longlong.h: Update from GCC.
10987
f50ef8f1
AS
109882011-05-23 Andreas Schwab <schwab@redhat.com>
10989
10990 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10991 parameter name.
10992 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10993 Add parameter name.
10994 (__sysconf): Pass it down.
10995
de7ce8f1
UD
109962011-05-22 Ulrich Drepper <drepper@gmail.com>
10997
f2962a71
UD
10998 [BZ #12671]
10999 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11000 some situations.
11001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11002 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11003 add in in __libc_use_alloca calls. Adjust callers.
11004 (glob): Use malloc in some situations.
11005
de7ce8f1
UD
11006 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11007 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11008 pltexit.
11009
aec84f53
UD
110102011-05-21 Ulrich Drepper <drepper@gmail.com>
11011
05bb4a68
UD
11012 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11013 and CLOCK_BOOTTIME_ALARM.
11014
7ea72f99
UD
11015 [BZ #12782]
11016 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11017 is returned.
11018
7e4afad5
UD
11019 * string/_strerror.c (__strerror_r): Print negative errors as signed
11020 numbers.
11021
8e211fec
UD
11022 [BZ #12777]
11023 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11024 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11025 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11026
f7d82dc9
UD
11027 * configure.in: Fix typo in redirection and correct removal of test
11028 files in two cases.
11029
cc9e536d
UD
11030 [BZ #12788]
11031 * locale/setlocale.c (new_composite_name): Fix test to check for
11032 identical name of all categories.
11033
aec84f53
UD
11034 [BZ #12792]
11035 * libio/filedoalloc.c (local_isatty): New function.
11036 (_IO_file_doallocate): Use local_isatty.
11037 * stdio-common/perror.c (perror): In case a new stream is used
11038 forward the stream error.
11039 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11040 error flag.
11041
78e64fdc
RT
110422011-05-20 Ulrich Drepper <drepper@gmail.com>
11043
34a9094f
UD
11044 [BZ #11869]
11045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11046 alloca.
11047 * include/alloca.h (extend_alloca_account): Define.
11048
78e64fdc
RT
11049 [BZ #11857]
11050 * posix/regex.h: Fix comments with documentation of user-accessible
11051 fields after compilation and describe correct free'ing of pattern
11052 after re_compile_pattern.
11053 Patch by Reuben Thomas <rrt@sc3d.org>.
11054
457bddfc
RA
110552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11056
11057 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11058 and -mno-altivec to prevent the compiler from using Altivec and/or
11059 VSX instructions when the corresponding registers are not available.
11060
a4527b51
AS
110612011-05-19 Andreas Schwab <schwab@redhat.com>
11062
11063 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11064
ed690b2f
UD
110652011-05-19 Ulrich Drepper <drepper@gmail.com>
11066
11067 * libio/freopen.c (freopen): Use __dup2, not dup2.
11068 * libio/freopen64.c (freopen64): Likewise.
11069
8db73634
L
110702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11071
11072 [BZ #12775]
11073 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11074 * math/Makefile (tests): Add test-powl.
11075 (CFLAGS-test-powl.c): Define.
11076 * math/test-powl.c: New file.
11077
0a197a9d
L
110782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11079
11080 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11081
ee30c380
UD
110822011-05-17 Ulrich Drepper <drepper@gmail.com>
11083
11084 [BZ #11837]
11085 * iconvdata/gb18030.c: Update to GB18020-2005.
11086
6ce75379
UD
110872011-05-16 Ulrich Drepper <drepper@gmail.com>
11088
a4b89fd8
AR
11089 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11090 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11091 Patch by Aharon Robbins <arnold@skeeve.com>.
11092
ea389b12
UD
11093 [BZ #11892]
11094 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11095 on the stack.
11096
68a3f91f
UD
11097 [BZ #11895]
11098 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11099 through underflows.
11100
15cc7dd1
UD
11101 [BZ #12766]
11102 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11103 point to strings before performing equality test for error_one_per_line
11104 mode.
11105
f3799213
UD
11106 [BZ #11697]
11107 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11108
d79a9c94
UD
11109 [BZ #11820]
11110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11111 (struct user_fpregs_struct): Avoid __uint*_t types.
11112
56e5eb46
UD
11113 [BZ #6420]
11114 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11115 symbol info. Use it instead of calling _dl_addr locally.
11116 (lock_and_info): New function.
11117 (tr_freehook): Call lock_and_info and pass symbol info as additional
11118 parameter to tr_where.
11119 (tr_mallochook): Likewise.
11120 (tr_reallochook): Likewise.
11121 (tr_memalignhook): Likewise.
11122
6ce75379
UD
11123 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11124 used and couldn't be at all thread-safe.
11125
f8a3b5bf
UD
111262011-05-15 Ulrich Drepper <drepper@gmail.com>
11127
94b7cc37
UD
11128 * libio/freopen.c (freopen): Don't close old file descriptor
11129 before the new one is opened. Instead dup the new file descriptor
11130 to the old one after the new stream is created.
11131 * libio/freopen64.c (freopen64): Likewise.
11132 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11133 * libio/fileops.c (_IO_new_file_close_it): Handle new
11134 _IO_FLAGS2_NOCLOSE flag.
11135 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11136 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11137 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11138 _IO_FLAGS2_NOCLOSE flag.
11139 * include/unistd.h: Add hidden_proto for dup3.
11140 Define __have_dup3.
11141 * io/dup3.c: Define hidden symbol.
11142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11143
bd25564e
UD
11144 [BZ #7101]
11145 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11146 when an incomplete long option is used.
11147 * posix/tst-getopt_long1.c: New file.
11148 * posix/Makefile (tests): Add tst-getopt_long1.
11149
c84cfef4
UD
11150 [BZ #10138]
11151 * scripts/config.guess: Update from autoconf-2.68.
11152 * scripts/config.sub: Likewise.
11153
3b85df27
UD
11154 [BZ #10157]
11155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11156 tests into ...
11157 (has_cpuclock): ...this. New function.
11158 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11159 macro here based on has_cpuclock code.
11160
15a856b1
UD
11161 [BZ #10149]
11162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11163 First byte (not low byte) is now always NUL.
11164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11165
05f399e6
UD
11166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11167 Use non-cancelable interfaces.
11168
10a52685 11169 [BZ #9809]
94ecc67d
UD
11170 * locale/iso-639.def: Add entry for Sorani.
11171
f8a3b5bf
UD
11172 [BZ #11901]
11173 * include/stdlib.h: Move include protection to the right place.
11174 Define abort_msg_s. Declare __abort_msg with it.
11175 * stdlib/abort.c (__abort_msg): Adjust type.
11176 * assert/assert.c (__assert_fail_base): New function. Majority
11177 of code from __assert_fail. Allocate memory for __abort_msg with
11178 mmap.
11179 (__assert_fail): Now call __assert_fail_base.
11180 * assert/assert-perr.c: Remove bulk of implementation. Use
11181 __assert_fail_base.
11182 * include/assert.hL Declare __assert_fail_base.
11183 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11184 mmap.
11185 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11186
1af4e298
UD
111872011-05-14 Ulrich Drepper <drepper@gmail.com>
11188
f8a3b5bf 11189 [BZ #11952]
d26dfc60
MG
11190 [BZ #12453]
11191 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11192 until all modules are registered in the DTV.
11193 * elf/Makefile: Add rules to build and run tst-tls19.
11194 * elf/tst-tls19.c: New file.
11195 * elf/tst-tls19mod1.c: New file.
11196 * elf/tst-tls19mod2.c: New file.
11197 * elf/tst-tls19mod3.c: New file.
11198 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11199
2fc54d6f
UD
11200 [BZ #12083]
11201 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11202 correctly.
11203
98d76b46
UD
11204 [BZ #12601]
11205 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11206 two-byte sequence errors.
11207 * iconvdata/Makefile (tests): Add bug-iconv8.
11208 * iconvdata/bug-iconv8.c: New file.
11209
da3c19ef
UD
11210 [BZ #12626]
11211 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11212 buf2 definition.
11213
ca408c15
UD
11214 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11215
d6f67f7d
UD
11216 [BZ #12432]
11217 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11218 (dummy_getcfa): New function.
11219 (init): Get _Unwind_GetCFA address, use dummy if not found.
11220 (backtrace_helper): In recursion check, also check whether CFA changes.
11221 (__backtrace): Completely initialize arg.
11222
1af4e298 11223 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11224 storing incomplete byte sequence in state object. Avoid testing for
11225 guaranteed too small input if we know there is enough data available.
1af4e298 11226
da62f81b
AS
112272011-05-11 Andreas Schwab <schwab@redhat.com>
11228
11229 * Makeconfig (+link-pie): Indent.
11230 * Rules (binaries-pie): Define if $(have-fpie) and
11231 $(build-shared).
11232 (binaries-shared): Also filter out $(binaries-pie).
11233 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11234 * nscd/Makefile (others-pie): Add nscd.
11235 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11236 ($(objpfx)nscd): Remove command override.
11237 * login/Makefile (others-pie): Add pt_chown.
11238 ($(objpfx)pt_chown): Remove command override.
11239 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11240 remove command overrides.
11241
fcabc0f8
UD
112422011-05-13 Ulrich Drepper <drepper@gmail.com>
11243
20030ae6
UD
11244 * libio/tst_putwc.c: Fix error messages.
11245
fcabc0f8
UD
11246 [BZ #12724]
11247 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11248 currently writing and seek to current position when not.
11249 * libio/Makefile (tests): Add bug-fclose1.
11250 * libio/bug-fclose1.c: New file.
11251
320a5dc0
PB
112522011-05-12 Ulrich Drepper <drepper@gmail.com>
11253
11254 [BZ #12511]
11255 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11256 don't set DF_1_NODELETE here.
11257 (do_lookup_x): When entering new entry test for copy relocation
11258 and if necessary set DF_1_NODELETE flag.
11259 * elf/tst-unique4.cc: New file.
11260 * elf/tst-unique4.h: New file.
11261 * elf/tst-unique4lib.cc: New file.
11262 * elf/Makefile: Add rules to build and run tst-unique4.
11263 Patch by Piotr Bury <pbury@goahead.com>.
11264
22836f52
UD
112652011-05-11 Ulrich Drepper <drepper@gmail.com>
11266
f574184a
UD
11267 [BZ #12052]
11268 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11269
e1fb097f
UD
11270 [BZ #12625]
11271 * misc/mntent_r.c (addmntent): Flush the stream after the output
11272
22836f52
UD
11273 [BZ #12393]
11274 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11275 (is_trusted_path_normalize): Skip initial colon. Append slash
11276 to empty buffer. Duplicate is_trusted_path code but allow
11277 constructed patch to be prefix.
11278 (is_dst): Allow $ORIGIN followed by /.
11279 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11280 Correct testing of result of is_trusted_path_normalize
11281 (decompose_rpath): Fix warning.
11282
7b3b0b2a
UD
112832011-05-10 Ulrich Drepper <drepper@gmail.com>
11284
11285 [BZ #11257]
11286 * grp/initgroups.c (internal_getgrouplist): When we found the service
11287 list through the initgroups entry in nsswitch.conf do not always
11288 continue on a successful lookup. Don't always use the
eac80ce2 11289 __nss_group_database value if it is set.
7b3b0b2a
UD
11290 * nss/nsswitch.conf (initgroups): Change action for successful db
11291 lookup to continue for compatibility.
11292
2a81eaa5
UD
112932011-05-09 Ulrich Drepper <drepper@gmail.com>
11294
be97a69e
UD
11295 [BZ #11532]
11296 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11297 and CP774 modules.
11298 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11299 and CP774 modules.
11300 * iconvdata/tst-tables.sh: Likewise.
11301 * iconvdata/cp770.c: New file.
11302 * iconvdata/cp771.c: New file.
11303 * iconvdata/cp772.c: New file.
11304 * iconvdata/cp773.c: New file.
11305 * iconvdata/cp774.c: New file.
11306 * iconvdata/testdata/CP770: New file.
11307 * iconvdata/testdata/CP770..UTF8: New file.
11308 * iconvdata/testdata/CP771: New file.
11309 * iconvdata/testdata/CP771..UTF8: New file.
11310 * iconvdata/testdata/CP772: New file.
11311 * iconvdata/testdata/CP772..UTF8: New file.
11312 * iconvdata/testdata/CP773: New file.
11313 * iconvdata/testdata/CP773..UTF8: New file.
11314 * iconvdata/testdata/CP774: New file.
11315 * iconvdata/testdata/CP774..UTF8: New file.
11316
11317 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11318 END CHARMAP line.
11319 * iconvdata/gen-8bit-gap.sh: Likewise.
11320 * iconvdata/gen-8bit.sh: Likewise.
11321
c1e9e399
UD
11322 * locale/iso-639.def: Add ary entry.
11323
24c55fb3 11324 [BZ #11258]
96b4b1b0
UD
11325 * locale/C-translit.h.in: Add U20A1 transliteration.
11326
bdc2f971
KB
11327 [BZ #12178]
11328 * locale/iso-639.def: Add wae entry.
11329 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11330
2952b117
UD
11331 [BZ #12545]
11332 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11333 for n.
11334
2a81eaa5
UD
11335 [BZ #12711]
11336 * locale/C-translit.h.in: Add entry for U20B9.
11337 Patch by pravin.d.s@gmail.com.
11338
28377d1b
UD
113392011-05-08 Ulrich Drepper <drepper@gmail.com>
11340
7fb90fb8
UD
11341 [BZ #12713]
11342 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11343 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11344 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11345 in rtld. Use *stat64.
7fb90fb8 11346 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11347 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11348 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11349 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11350 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11351 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11352 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11353 __fstatat64 macros.
7fb90fb8
UD
11354 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11355 * dirent/rewinddir.c: Add libc_hidden_def.
11356 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11357 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11358
28377d1b
UD
11359 * include/dirent.h (__alloc_dir): Add flags parameter.
11360 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11361 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11362 __alloc_dir.
11363 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11364 from fdopendir if O_CLOEXEC is already set.
11365
66bdbaa4
AM
113662011-03-15 Alan Modra <amodra@gmail.com>
11367
11368 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11369 l_tls_firstbyte_offset non-zero. Save padding offset in
11370 l_tls_firstbyte_offset for later use.
11371 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11372 freeing static tls block.
11373
95721191
JN
113742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11375
11376 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11377 where #ifdef was intended. The intent is to prevent ARG_MAX from
11378 being defined by the kernel headers.
11379
f87dfb1f
UD
113802011-05-07 Ulrich Drepper <drepper@gmail.com>
11381
11382 [BZ #12734]
11383 * resolv/resolv.h: Define RES_NOTLDQUERY.
11384 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11385 no-tld-query and set RES_NOTLDQUERY.
11386 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11387 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11388 modern BIND to search name as TLD unless forbidden.
11389
47c3cd7a
UD
113902011-05-07 Petr Baudis <pasky@suse.cz>
11391 Ulrich Drepper <drepper@gmail.com>
11392
11393 [BZ #12393]
11394 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11395 (is_trusted_path): ...to here.
c1e9ea35 11396 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11397 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11398 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11399
8a35c912
PP
114002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11401
11402 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11403 __BEGIN/__END_DECLS.
11404
acd41f47
UD
114052011-05-06 Ulrich Drepper <drepper@gmail.com>
11406
11407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11408 NSS_STATUS_NOTFOUND if no record was found.
11409
597df647
AS
114102011-05-05 Andreas Schwab <schwab@redhat.com>
11411
11412 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11413 (headers-not-in-tirpc): Remove rpc/netdb.h
11414 * resolv/netdb.h: Revert last change.
11415
b9af1301
PP
114162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11417
11418 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11419 circular dependency between libgcc.a and libc.a.
11420
4e34d5f5
AS
114212011-05-05 Andreas Schwab <schwab@redhat.com>
11422
11423 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11424 * nis/Makefile: Don't install rpcsvc/*.
11425 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11426 instead of <rpc/types.h>.
11427 (MAXHOSTNAMELEN): Define.
11428
00ee369c
AS
114292011-05-03 Andreas Schwab <schwab@redhat.com>
11430
11431 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11432
0b592a30
MB
114332011-04-28 Maciej Babinski <mbabinski@google.com>
11434
11435 [BZ #12714]
11436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11437 gethostbyname4_r when IPv6 results are possible.
11438
6e04cbbe
UD
114392011-05-02 Ulrich Drepper <drepper@gmail.com>
11440
11441 [BZ #12723]
11442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11443 _PC_PIPE_BUF handling.
11444
e4ecafe0
BH
114452011-04-30 Bruno Haible <bruno@clisp.org>
11446
11447 [BZ #12717]
11448 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11449 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11450 to 'int'.
11451 * inet/getnameinfo.c (getnameinfo): Likewise.
11452
125ee683
UD
114532011-04-29 Ulrich Drepper <drepper@gmail.com>
11454
11455 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11456 to groups setting in database lookup.
11457 * nss/nsswitch.conf: Add initgroups entry.
11458
b722481a
EB
114592011-04-22 Ulrich Drepper <drepper@gmail.com>
11460
11461 [BZ #12685]
11462 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11463 mode string.
11464 Patch by Eric Blake <eblake@redhat.com>.
11465
4df46dbd
L
114662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11467
11468 * sunrpc/Makefile (need-export-routines): Add svc_run.
11469 (routines): Remove svc_run.
11470 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11471 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11472 * sunrpc/svc_run.c (svc_run): Likewise.
11473 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11474
e84142d2
UD
114752011-04-21 Ulrich Drepper <drepper@gmail.com>
11476
11477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11478 problem in reallocation in last patch.
11479
877175d8
UD
114802011-04-20 Ulrich Drepper <drepper@gmail.com>
11481
11482 * sunrpc/Makefile: Move inclusion of Rules.
11483
ab8eed78
UD
114842011-04-19 Ulrich Drepper <drepper@gmail.com>
11485
11486 * nss/nss_files/files-initgroups.c: New file.
11487 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11488 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11489 _nss_files_initgroups_dyn.
11490
e3d8f584
RS
114912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11492
11493 * elf/elf.h (R_ARM_IRELATIVE): Define.
11494
af190f45
UD
114952011-04-19 Ulrich Drepper <drepper@gmail.com>
11496
11497 * po/ru.po: Update from translation team.
11498
53cf59ef
UD
114992011-04-17 Ulrich Drepper <drepper@gmail.com>
11500
11501 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11502 dependencies.
11503
4c559bcd
MF
115042011-02-06 Mike Frysinger <vapier@gentoo.org>
11505
11506 [BZ #12653]
11507 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11508 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11512
4420675c
AS
115132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11514
11515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11516 differing bytes.
11517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11520
75ea32ab
UD
115212011-04-17 Ulrich Drepper <drepper@gmail.com>
11522
11523 [BZ #12420]
11524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11525 storing it.
11526 * stdlib/bug-getcontext.c: New file.
11527 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11528
27390476
AK
115292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11530
11531 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11532 instructions into .machine "z9-109".
11533 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11534 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11535
10442705
AK
115362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11537
11538 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11539 between environment variables and auxiliary vector.
11540
7b57bfe5
UD
115412011-04-16 Ulrich Drepper <drepper@gmail.com>
11542
11543 * Makefile: Add rules to build linkobj/libc.so.
11544 * include/libc-symbols.h: Define libc_hidden_nolink.
11545 * include/rpc/auth.h: Mark functions which are to be hidden.
11546 * include/rpc/auth_des.h: Likewise.
11547 * include/rpc/auth_unix.h: Likewise.
11548 * include/rpc/clnt.h: Likewise.
11549 * include/rpc/des_crypt.h: Likewise.
11550 * include/rpc/key_prot.h: Likewise.
11551 * include/rpc/pmap_clnt.h: Likewise.
11552 * include/rpc/pmap_prot.h: Likewise.
11553 * include/rpc/pmap_rmt.h: Likewise.
11554 * include/rpc/rpc_msg.h: Likewise.
11555 * include/rpc/svc.h: Likewise.
11556 * include/rpc/svc_auth.h: Likewise.
11557 * include/rpc/xdr.h: Likewise.
11558 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11559 * nss/Makefile: Likewise.
11560 * sunrpc/Makefile: Don't install headers. Build library with normal
11561 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11562 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11563 for the compat linking library. Remove use of INTDEF/INTUSE.
11564 * sunrpc/auth_none.c: Likewise.
11565 * sunrpc/auth_unix.c: Likewise.
11566 * sunrpc/authdes_prot.c: Likewise.
11567 * sunrpc/authuxprot.c: Likewise.
11568 * sunrpc/clnt_gen.c: Likewise.
11569 * sunrpc/clnt_perr.c: Likewise.
11570 * sunrpc/clnt_raw.c: Likewise.
11571 * sunrpc/clnt_simp.c: Likewise.
11572 * sunrpc/clnt_tcp.c: Likewise.
11573 * sunrpc/clnt_udp.c: Likewise.
11574 * sunrpc/clnt_unix.c: Likewise.
11575 * sunrpc/des_crypt.c: Likewise.
11576 * sunrpc/des_soft.c: Likewise.
11577 * sunrpc/get_myaddr.c: Likewise.
11578 * sunrpc/key_call.c: Likewise.
11579 * sunrpc/key_prot.c: Likewise.
11580 * sunrpc/netname.c: Likewise.
11581 * sunrpc/pm_getmaps.c: Likewise.
11582 * sunrpc/pm_getport.c: Likewise.
11583 * sunrpc/pmap_clnt.c: Likewise.
11584 * sunrpc/pmap_prot.c: Likewise.
11585 * sunrpc/pmap_prot2.c: Likewise.
11586 * sunrpc/pmap_rmt.c: Likewise.
11587 * sunrpc/publickey.c: Likewise.
11588 * sunrpc/rpc_cmsg.c: Likewise.
11589 * sunrpc/rpc_common.c: Likewise.
11590 * sunrpc/rpc_dtable.c: Likewise.
11591 * sunrpc/rpc_prot.c: Likewise.
11592 * sunrpc/rpc_thread.c: Likewise.
11593 * sunrpc/rtime.c: Likewise.
11594 * sunrpc/svc.c: Likewise.
11595 * sunrpc/svc_auth.c: Likewise.
11596 * sunrpc/svc_authux.c: Likewise.
11597 * sunrpc/svc_raw.c: Likewise.
11598 * sunrpc/svc_run.c: Likewise.
11599 * sunrpc/svc_simple.c: Likewise.
11600 * sunrpc/svc_tcp.c: Likewise.
11601 * sunrpc/svc_udp.c: Likewise.
11602 * sunrpc/svc_unix.c: Likewise.
11603 * sunrpc/svcauth_des.c: Likewise.
11604 * sunrpc/xcrypt.c: Likewise.
11605 * sunrpc/xdr.c: Likewise.
11606 * sunrpc/xdr_array.c: Likewise.
11607 * sunrpc/xdr_float.c: Likewise.
11608 * sunrpc/xdr_intXX_t.c: Likewise.
11609 * sunrpc/xdr_mem.c: Likewise.
11610 * sunrpc/xdr_rec.c: Likewise.
11611 * sunrpc/xdr_ref.c: Likewise.
11612 * sunrpc/xdr_sizeof.c: Likewise.
11613 * sunrpc/xdr_stdio.c: Likewise.
11614
e6c61494
UD
116152011-04-10 Ulrich Drepper <drepper@gmail.com>
11616
11617 [BZ #12650]
11618 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11619 * sysdeps/ia64/dl-tls.h: Likewise.
11620 * sysdeps/powerpc/dl-tls.h: Likewise.
11621 * sysdeps/s390/dl-tls.h: Likewise.
11622 * sysdeps/sh/dl-tls.h: Likewise.
11623 * sysdeps/sparc/dl-tls.h: Likewise.
11624 * sysdeps/x86_64/dl-tls.h: Likewise.
11625 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11626
34fe483e
AS
116272011-03-14 Andreas Schwab <schwab@redhat.com>
11628
11629 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11630 rpath element also skip the following colon.
11631 (expand_dynamic_string_token): Add is_path parameter and pass
11632 down to DL_DST_REQUIRED and _dl_dst_substitute.
11633 (decompose_rpath): Call expand_dynamic_string_token with
11634 non-zero is_path. Ignore empty rpaths.
11635 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11636 with zero is_path.
11637
f12a32e6
AS
116382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11639
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11641 Make cancelable.
11642
38a7d692
UD
116432011-04-09 Ulrich Drepper <drepper@gmail.com>
11644
11645 [BZ #12655]
11646 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11647 Patch by Filipe David Manana <fdmanana@apache.org>.
11648
e451d22b
AS
116492011-04-07 Andreas Schwab <schwab@redhat.com>
11650
11651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11652 Maintain aligned stack.
11653 (CHECK_RSP): Remove unused macro.
11654
dedc7c7b
UD
116552011-04-03 Ulrich Drepper <drepper@gmail.com>
11656
11657 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11659
94521213
UD
116602011-04-02 Ulrich Drepper <drepper@gmail.com>
11661
11662 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11663
8cb700c0 11664 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11665
0354e355
L
116662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11667
11668 [BZ #12518]
11669 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11670 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11671 * sysdeps/x86_64/memmove.c: New file.
11672 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11673 (memcpy): Renamed to ...
11674 (__new_memcpy): This.
11675 (memcpy): Provide GLIBC_2_14 memcpy.
11676 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11677 (memcpy): Provide GLIBC_2_2_5 memcpy.
11678
8593482f
UD
116792011-04-01 Ulrich Drepper <drepper@gmail.com>
11680
11681 [BZ #12631]
11682 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11683
81a5726b
AS
116842011-03-30 Andreas Schwab <schwab@redhat.com>
11685
11686 * misc/syncfs.c: New file.
11687 * misc/Makefile (routines): Add syncfs.
11688 * posix/unistd.h: Declare syncfs.
11689 * sysdeps/unix/syscalls.list: Add syncfs.
11690
00e5419f
AS
116912011-04-01 Andreas Schwab <schwab@redhat.com>
11692
11693 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11694 open_by_handle_at.
11695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11700 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11702
748876bf
UD
117032011-04-01 Ulrich Drepper <drepper@gmail.com>
11704
658e451d
UD
11705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11712
748876bf
UD
11713 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11714 sync_file_range.c with -fexceptions.
11715 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11716 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11717 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11718 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11719 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11720 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11722 sync_file_range as cancellation point
11723 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11724 now a wrapper around __call_sync_file_range with cancellation handling.
11725 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11726 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11727 function name to __call_sync_file_range.
11728 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11729 Add call_sync_file_range.
748876bf 11730
6e63d5e1
AS
117312011-04-01 Andreas Schwab <schwab@redhat.com>
11732
11733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11734 bits/timex.h.
6e63d5e1 11735
46998f74
UD
117362011-04-01 Ulrich Drepper <drepper@gmail.com>
11737
4c1423ed
UD
11738 * iconv/iconv.h: Fix typo in comment.
11739 * io/fcntl.h: Likewise.
11740 * libio/stdio.h: Likewise.
11741 * posix/spawn.h: Likewise.
11742 * posix/unistd.h: Likewise.
11743 * stdlib/stdlib.h: Likewise.
11744 * time/time.h: Likewise.
11745 * wcsmbs/wchar.h: Likewise.
11746
158648c0
UD
11747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11748 open_by_handle): Add.
11749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11750 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11751 Augment a few comments.
11752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11757 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11758 open_by_handle.
11759
46998f74
UD
11760 * io/fcntl.h (AT_EMPTY_PATH): Define.
11761
83fe108b
UD
117622011-03-30 Ulrich Drepper <drepper@gmail.com>
11763
11764 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11765 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11766 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11767 to...
11768 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11769 * Versions.def: Add GLIBC_2.14.
11770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11771 Export.
83fe108b 11772
bb242059
UD
117732011-03-22 Ulrich Drepper <drepper@gmail.com>
11774
11775 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11776 round counter.
11777 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11778
c97a1282
L
117792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11780
11781 [BZ #12597]
11782 * string/test-strncmp.c (do_page_test): New function.
11783 (check2): Likewise.
11784 (test_main): Call check2.
11785 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11786
2a115601
UD
117872011-03-20 Ulrich Drepper <drepper@gmail.com>
11788
11789 [BZ #12587]
11790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11791 Handle cache information in CPU leaf 4.
11792 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11793
8126d904
UD
117942011-03-18 Ulrich Drepper <drepper@gmail.com>
11795
042c49c6 11796 [BZ #12583]
8126d904
UD
11797 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11798 character representation.
11799 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11800
ccfe366e
RA
118012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11802
11803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11804 END(__isnan) to END(__isnanf) to match function entry point/label
11805 EALIGN(__isnanf,...).
11806
c6e13027
JJ
118072011-03-10 Jakub Jelinek <jakub@redhat.com>
11808
11809 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11810
33f85a3f
UD
118112011-03-10 Ulrich Drepper <drepper@gmail.com>
11812
028478fa
UD
11813 [BZ #12510]
11814 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11815 copy from the symbol referenced in the relocation to initialize the
11816 used variable.
11817 Patch by Piotr Bury <pbury@goahead.com>.
11818 * elf/Makefile: Add rules to build and tst-unique3.
11819 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11820 * elf/tst-unique3.cc: New file.
11821 * elf/tst-unique3.h: New file.
11822 * elf/tst-unique3lib.cc: New file.
11823 * elf/tst-unique3lib2.cc: New file.
11824
33f85a3f
UD
11825 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11826
03592fc7
MF
118272011-03-10 Mike Frysinger <vapier@gentoo.org>
11828
11829 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11830 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11831 to _start.
03592fc7 11832
6a5ee102
UD
118332011-03-06 Ulrich Drepper <drepper@gmail.com>
11834
11835 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11836 to-be-loaded object along a path to loader is ld.so.
11837
7e4ba49c
HJ
118382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11839 Ulrich Drepper <drepper@gmail.com>
11840
11841 * sysdeps/x86_64/memset.S: After aligning destination, code
11842 branches to different locations depending on the value of
11843 misalignment, when multiarch is enabled. Fix this.
11844
118452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11846
11847 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11848 Set _x86_64_preferred_memory_instruction for AMD processsors.
11849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11850 Set bit_Prefer_SSE_for_memop for AMD processors.
11851
13a804de
UD
118522011-03-04 Ulrich Drepper <drepper@gmail.com>
11853
11854 * libio/fmemopen.c (fmemopen): Optimize a bit.
11855
9d25c392
AS
118562011-03-03 Andreas Schwab <schwab@redhat.com>
11857
11858 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11859
a5543c6a
RM
118602011-03-03 Roland McGrath <roland@redhat.com>
11861
11862 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11863
012d35f7
DM
118642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11865
7e4ba49c 11866 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11867 __bzero_ultra1 instead of __memset_ultra1.
11868
4bff6e01
AS
118692011-02-23 Andreas Schwab <schwab@redhat.com>
11870 Ulrich Drepper <drepper@gmail.com>
11871
11872 [BZ #12509]
11873 * include/link.h (struct link_map): Add l_orig_initfini.
11874 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11875 returning unsuccessfully.
11876 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11877 close of a file loaded at startup, restore the original l_initfini
11878 list.
11879 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11880 list, store the pointer.
11881 * elf/Makefile ($(objpfx)noload-mem): New rule.
11882 (noload-ENV): Define.
11883 (tests): Add $(objpfx)noload-mem.
11884 * elf/noload.c: Include <memcheck.h>.
11885 (main): Call mtrace. Close all opened handles.
11886
f2092faf
AS
118872011-02-17 Andreas Schwab <schwab@redhat.com>
11888
11889 [BZ #12454]
11890 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11891 dependencies are missing.
11892
6c8a2e88
ST
118932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11894
f2092faf 11895 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11896 Hurd needs munmap.
11897 * sysdeps/mach/hurd/ifreq.h: New file.
11898
84a42118
PB
118992011-01-27 Petr Baudis <pasky@suse.cz>
11900 Ulrich Drepper <drepper@gmail.com>
11901
071f805e 11902 [BZ 12445]#
84a42118
PB
11903 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11904 to extend_alloca().
11905 * stdio-common/bug23.c: New file.
11906 * stdio-common/Makefile (tests): Add bug23.
11907
e23fe25b
AS
119082010-09-28 Andreas Schwab <schwab@redhat.com>
11909 Ulrich Drepper <drepper@gmail.com>
11910
11911 [BZ #12489]
11912 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11913 before performing relro protection. At old place add assertion
11914 to make sure nothing changed.
11915
d3f02e10
NS
119162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11917 Glauber de Oliveira Costa <glommer@gmail.com>
11918
11919 * elf/elf.h: Add new ARM TLS relocs.
11920
d55fd7a5
RA
119212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11922
11923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11924 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11925 cast from r3.
11926 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11927 'tests' variable.
11928 * sysdeps/wordsize-64/tst-writev.c: New file.
11929
2206397e
RA
119302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11931
11932 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11933 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11934 insns in _dl_start to prevent a TOC reference before relocs are
11935 resolved.
11936
e9433893
UD
119372011-02-15 Ulrich Drepper <drepper@gmail.com>
11938
11939 [BZ #12469]
11940 * Makeconfig: Remove RANLIB definition.
11941 * Makerules: Don't use RANLIB.
11942 * aclocal.m4: Remove ranlib test.
11943 * configure.in: No need to check for ranlib.
11944 * elf/rtld-Rules: Don't use RANLIB.
11945
f75286c6
ST
119462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11947
8e31c82d
ST
11948 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11949 protection macro.
11950 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11951 inclusion protection macro.
11952
f75286c6
ST
11953 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11954 SIGRTMIN and SIGRTMAX and print information in that case only when
11955 SIGRTMIN is defined.
11956
c1d0e639
JJ
119572011-02-11 Jakub Jelinek <jakub@redhat.com>
11958
11959 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11960 arginfo fn returning -1.
11961
11962 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11963 and thousands string is zero terminated.
11964
edf9294e
AS
119652011-02-03 Andreas Schwab <schwab@redhat.com>
11966
11967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11968 sysdeps/unix/sysv/linux/bits/socket.h.
11969
2b7e92df
ST
119702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11971
edf9294e
AS
11972 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11973 (__CPU_COUNT): Remove old macros.
11974 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11975 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11976 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11977 (__sched_cpualloc, __sched_cpufree): Add declarations.
11978
a4c7ea7b
UD
119792011-02-05 Ulrich Drepper <drepper@gmail.com>
11980
11981 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11982 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11983 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11984 (readdhstai): Return value of addhstaiX call.
11985 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11986 (addgrbyX): Return value returned by cache_addgr.
11987 (readdgrbyname): Return value returned by addgrbyX.
11988 (readdgrbygid): Likewise.
11989 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11990 (addpwbyX): Return value returned by cache_addpw.
11991 (readdpwbyname): Return value returned by addhstbyX.
11992 (readdpwbyuid): Likewise.
11993 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11994 (addservbyX): Return value returned by cache_addserv.
11995 (readdservbyname): Return value returned by addservbyX:
11996 (readdservbyport): Likewise.
11997 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11998 (addhstbyX): Return value returned by cache_addhst.
11999 (readdhstbyname): Return value returned by addhstbyX.
12000 (readdhstbyaddr): Likewise.
12001 (readdhstbynamev6): Likewise.
12002 (readdhstbyaddrv6): Likewise.
12003 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12004 (readdinitgroups): Return value returned by addinitgroupsX.
12005 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12006 (prune_cache): Keep track of timeout value of re-added entries.
12007 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12008 * nscd/nscd.h: Adjust prototypes of readd* functions.
12009
a0bf67cc
RM
120102011-02-04 Roland McGrath <roland@redhat.com>
12011
12012 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12013 (nis_stats): Likewise.
12014 * nis/nis_modify.c (nis_modify): Likewise.
12015 * nis/nis_remove.c (nis_remove): Likewise.
12016 * nis/nis_add.c (nis_add): Likewise.
12017
12018 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12019
12020 * posix/fnmatch_loop.c: Add some consts.
12021
12022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12023
435b95eb
L
120242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12025
12026 [BZ #12460]
12027 * config.make.in (config-cflags-novzeroupper): Define.
12028 * configure.in: Substitute libc_cv_cc_novzeroupper.
12029 * elf/Makefile (AVX-CFLAGS): Define.
12030 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12031 (CFLAGS-tst-auditmod4a.c): Likewise.
12032 (CFLAGS-tst-auditmod4b.c): Likewise.
12033 (CFLAGS-tst-auditmod6b.c): Likewise.
12034 (CFLAGS-tst-auditmod6c.c): Likewise.
12035 (CFLAGS-tst-auditmod7b.c): Likewise.
12036 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12037
8517b15e
UD
120382011-02-02 Ulrich Drepper <drepper@gmail.com>
12039
12040 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12041 function to the callback.
12042 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12043
10a656fe
AS
120442011-02-02 Andreas Schwab <schwab@redhat.com>
12045
12046 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12047 of errno.
12048
968dad0a
UD
120492011-01-19 Ulrich Drepper <drepper@gmail.com>
12050
9f94d2ea 12051 [BZ #11724]
968dad0a
UD
12052 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12053 of constructors.
12054 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12055 of destructors.
12056 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12057
12058 [BZ #11724]
12059 * elf/Makefile: Add rules to build and run new test.
12060 * elf/tst-initorder.c: New file.
12061 * elf/tst-initorder.exp: New file.
12062 * elf/tst-initordera1.c: New file.
12063 * elf/tst-initordera2.c: New file.
12064 * elf/tst-initordera3.c: New file.
12065 * elf/tst-initordera4.c: New file.
12066 * elf/tst-initorderb1.c: New file.
12067 * elf/tst-initorderb2.c: New file.
12068 * elf/tst-order-a1.c: New file.
12069 * elf/tst-order-a2.c: New file.
12070 * elf/tst-order-a3.c: New file.
12071 * elf/tst-order-a4.c: New file.
12072 * elf/tst-order-b1.c: New file.
12073 * elf/tst-order-b2.c: New file.
12074 * elf/tst-order-main.c: New file.
12075 New test case by George Gensure <werkt0@gmail.com>.
12076
86e92359
UD
120772010-10-01 Andreas Schwab <schwab@redhat.com>
12078
12079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12080 decoding ACE if AI_CANONIDN.
12081
5d5732b0
UD
120822011-01-18 Ulrich Drepper <drepper@gmail.com>
12083
12084 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12085
a77e8cbc
UD
120862011-01-17 Ulrich Drepper <drepper@gmail.com>
12087
6392473f
UD
12088 * version.h (RELEASE): Bump for 2.13 release.
12089 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12090
620a0529
UD
12091 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12092
18ba70a5
UD
12093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12094 MADV_NOHUGEPAGE.
32465c3e
UD
12095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12101
c0dafcf1
UD
12102 * posix/getconf.c: Update copyright year.
12103 * catgets/gencat.c: Likewise.
12104 * csu/version.c: Likewise.
12105 * debug/catchsegv.sh: Likewise.
12106 * debug/xtrace.sh: Likewise.
12107 * elf/ldconfig.c: Likewise.
12108 * elf/ldd.bash.in: Likewise.
12109 * elf/sprof.c (print_version): Likewise.
12110 * iconv/iconv_prog.c: Likewise.
12111 * iconv/iconvconfig.c: Likewise.
12112 * locale/programs/locale.c: Likewise.
12113 * locale/programs/localedef.c: Likewise.
12114 * malloc/memusage.sh: Likewise.
12115 * malloc/mtrace.pl: Likewise.
12116 * nscd/nscd.c (print_version): Likewise.
12117 * nss/getent.c: Likewise.
12118
a77e8cbc
UD
12119 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12120 PF_CAIF, and PF_ALG.
12121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12122
77e8bddf
AS
121232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12124
1f20b93a
AS
12125 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12126 (modules-names): Use them.
12127 (ifunc-test-modules, ifunc-pie-tests): Define.
12128 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12129 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12130 (test-extras): Likewise.
12131 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12132 $(compile-command.c).
12133 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12134 (all-built-dso): Define.
12135 (check-textrel.out, check-execstack.out): Depend on it.
12136
77e8bddf
AS
12137 * configure.in: Don't override --enable-multi-arch.
12138
bc425b33
UD
121392011-01-15 Ulrich Drepper <drepper@gmail.com>
12140
12141 [BZ #6812]
12142 * nscd/hstcache.c (tryagain): Define.
12143 (cache_addhst): Return tryagain not notfound for temporary errors.
12144 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12145 failed.
12146
794c3ad3
UD
121472011-01-14 Ulrich Drepper <drepper@gmail.com>
12148
70181fdd
UD
12149 [BZ #10563]
12150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12151 to make the syscall.
12152 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12153
794c3ad3
UD
12154 [BZ #12378]
12155 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12156 and fall back to matching as normal character if the string ends before
12157 the matching ']' is found. This is what POSIX requires.
12158 * posix/testfnm.c: Adjust test result.
12159 * posix/globtest.sh: Adjust test result. Add new test.
12160 * posix/tst-fnmatch.input: Likewise.
12161 * posix/tst-fnmatch2.c: Add new test.
12162
68dc9497
AS
121632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12164
12165 * elf/Makefile (check-execstack): Revert last change. Depend on
12166 check-execstack.h.
12167 (check-execstack.h): New target.
12168 (generated): Add check-execstack.h.
12169 * elf/check-execstack.c: Include "check-execstack.h".
12170 (main): Revert last change.
12171 (handle_file): Return zero if GNU_STACK is absent and
12172 DEFAULT_STACK_PERMS doesn't include PF_X.
12173
451f001b
UD
121742011-01-13 Ulrich Drepper <drepper@gmail.com>
12175
cfa28e56
UD
12176 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12177 in child fails because the descriptor is already closed.
8cf8ce17
UD
12178 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12179 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12181
1086d70d
UD
12182 [BZ #12397]
12183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12184 syscall.
12185
451f001b
UD
12186 [BZ #10484]
12187 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12188 temporary buffer used to handle multi lookups locally.
a85b5cb4 12189 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12190
08769175
UD
121912011-01-12 Ulrich Drepper <drepper@gmail.com>
12192
12193 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12194 loader is ld.so.
12195
5e49c52e
UD
121962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12197
12198 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12199 alignment for SSE2.
12200
60522a5f
UD
122012011-01-12 Ulrich Drepper <drepper@gmail.com>
12202
12203 [BZ #12394]
12204 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12205 characters. When rounding increased number of integer digits recompute
12206 number of groups.
12207 * stdio-common/tst-grouping.c: New file.
12208 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12209
f257bbd7
UD
122102011-01-09 Ulrich Drepper <drepper@gmail.com>
12211
12212 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12213 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12214
12215 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12216 void.
12217 * bits/select.h: Likewise.
12218
fa9c15cb
UD
122192011-01-08 Ulrich Drepper <drepper@gmail.com>
12220
12221 * po/ja.po: Update from translation team.
12222
16c2895f
DM
122232011-01-04 David S. Miller <davem@sunset.davemloft.net>
12224
12225 [BZ #11155]
12226 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12227 implementation just like for lxstat, fxstatat, et al.
12228
2543fef2
JM
122292010-12-27 Jim Meyering <meyering@redhat.com>
12230
12231 [BZ #12348]
12232 * posix/regexec.c (build_trtable): Return failure indication upon
12233 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12234
98727dbe
UD
122352010-12-25 Ulrich Drepper <drepper@gmail.com>
12236
5bd6dc5c
UD
12237 [BZ #12201]
12238 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12239 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12242
97983464
UD
12243 [BZ #12207]
12244 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12245
98727dbe
UD
12246 [BZ #12204]
12247 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12248 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12249
4a531bb0
L
122502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12251
12252 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12253 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12254 script has SORT_BY_INIT_PRIORITY.
12255 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12256 NO_CTORS_DTORS_SECTIONS is defined.
12257 * elf/soinit.c: Likewise.
12258 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12259 NO_CTORS_DTORS_SECTIONS is defined.
12260 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12261 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12262 * sysdeps/sh/init-first.c: Likewise.
12263 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12264
07eb4b71
UD
122652010-12-24 Ulrich Drepper <drepper@gmail.com>
12266
12267 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12268 always use the slow path.
12269
30950a5f
RA
122702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12271
12272 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12273 similar rule which adds the sysdep directories to the header search in
12274 order to pick up the correct platform stackinfo.h.
12275 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12276 perform test if it is, otherwise return successfully without testing.
12277 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12278 DEFAULT_STACK_PERMS define in stackinfo.h.
12279 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12280 defined in stackinfo.h.
12281 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12282 DEFAULT_STACK_PERMS defined in stackinfo.h.
12283 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12284 * sysdeps/ia64/stackinfo.h: Likewise.
12285 * sysdeps/s390/stackinfo.h: Likewise.
12286 * sysdeps/sh/stackinfo.h: Likewise.
12287 * sysdeps/sparc/stackinfo.h: Likewise.
12288 * sysdeps/x86_64/stackinfo.h: Likewise.
12289 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12290 PF_X for powerpc64. Retain PF_X for powerpc32.
12291
db753e2c
UD
122922010-12-19 Ulrich Drepper <drepper@gmail.com>
12293
14b697f7
UD
12294 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12295 accurately.
db753e2c
UD
12296 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12297 GETDENTS_64BIT_ALIGNED.
12298
28300719
UD
122992010-12-14 Ulrich Drepper <dreper@gmail.com>
12300
14b697f7 12301 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12302
4f197237
AS
123032010-12-10 Andreas Schwab <schwab@redhat.com>
12304
dbb0472f
AS
12305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12306 _GNU_SOURCE.
12307
4f197237
AS
12308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12309 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12310 Remove __restrict.
12311 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12312 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12313
fb88ac72
UD
123142010-12-09 Ulrich Drepper <drepper@gmail.com>
12315
12316 [BZ #11655]
12317 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12318 are initialized.
12319
42acbb92
JJ
123202010-12-09 Jakub Jelinek <jakub@redhat.com>
12321
12322 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12323
c038d98d
UD
123242010-12-03 Ulrich Drepper <drepper@gmail.com>
12325
12326 * po/it.po: Update from translation team.
12327
3a4a2499
L
123282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12329
12330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12331 unused codes.
12332
1e24cf6e
UD
123332010-11-30 Ulrich Drepper <drepper@gmail.com>
12334
12335 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12336
a7690819
AS
123372010-11-24 Andreas Schwab <schwab@redhat.com>
12338
12339 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12340 specially.
12341 (gaih_getanswer_slice): Likewise.
12342
3bf8d1b1
JJ
123432010-10-20 Jakub Jelinek <jakub@redhat.com>
12344
12345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12346
6db52fbb
PB
123472010-05-31 Petr Baudis <pasky@suse.cz>
12348
12349 [BZ #11149]
12350 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12351 silently even in the chroot mode.
12352
eaca7569
UD
123532010-11-22 Ulrich Drepper <drepper@gmail.com>
12354
12355 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12356 last patch a bit. Pretty printing
12357
3056dcdb
UD
123582010-05-31 Petr Baudis <pasky@suse.cz>
12359
12360 [BZ #10085]
12361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12362 initialization of skip_initgroups_dyn.
12363
cf7c9078
UD
123642010-11-19 Ulrich Drepper <drepper@gmail.com>
12365
12366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12367 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12368
a1fb5e3e
UD
123692010-11-16 Ulrich Drepper <drepper@gmail.com>
12370
12371 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12372
3540d66b
AS
123732010-11-11 Andreas Schwab <schwab@redhat.com>
12374
12375 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12376 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12377 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12378 ($(objpfx)tst-fnmatch-mem): New rule.
12379 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12380 * posix/tst-fnmatch.c (main): Call mtrace.
12381
13b69574
L
123822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12385 Support Intel processor model 6 and model 0x2c.
12386
da93d214
LM
123872010-11-10 Luis Machado <luisgpm@br.ibm.com>
12388
12389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12390 signed comparison.
12391
8ca52c6e
L
123922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12393
12394 [BZ #12205]
12395 * string/test-strncasecmp.c (check_result): New function.
12396 (do_one_test): Use it.
12397 (check1): New function.
12398 (test_main): Use it.
12399 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12400 Support strcasecmp and strncasecmp.
12401
69da074d
UD
124022010-11-08 Ulrich Drepper <drepper@gmail.com>
12403
12404 [BZ #12194]
12405 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12407
ff02d528
L
124082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12409
12410 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12411 IFUNC support.
12412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12413 memset-x86-64.
12414 * sysdeps/x86_64/multiarch/bzero.S: New file.
12415 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12416 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12417 * sysdeps/x86_64/multiarch/memset.S: New file.
12418 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12420 Set bit_Prefer_SSE_for_memop for Intel processors.
12421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12422 Define.
12423 (index_Prefer_SSE_for_memop): Define.
12424 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12425
344d0b54
LM
124262010-11-04 Luis Machado <luisgpm@br.ibm.com>
12427
12428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12429 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12430
c0dde15b
UD
124312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 [BZ #12191]
12434 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12435 (__x86_64_raw_data_cache_size_half): Likewise.
12436 (__x86_64_raw_shared_cache_size): Likewise.
12437 (__x86_64_raw_shared_cache_size_half): Likewise.
12438
12439 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12440 (__x86_64_raw_data_cache_size_half): Likewise.
12441 (__x86_64_raw_shared_cache_size): Likewise.
12442 (__x86_64_raw_shared_cache_size_half): Likewise.
12443 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12444 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12445 and __x86_64_raw_shared_cache_size_half. Round
12446 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12447 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12448 to multiple of 256 bytes.
12449
0e516e0e
MS
124502010-11-03 Ulrich Drepper <drepper@gmail.com>
12451
12452 [BZ #12167]
12453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12454 of inacessible symlinks. Verify result of symlink before returning it.
12455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12456 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12457
0e012e87
ER
124582010-10-28 Erich Ritz <erichritz@gmail.com>
12459
12460 * math/math.h (isinf): Fix typo in comment.
12461
de0ff7bc
UD
124622010-11-01 Ulrich Drepper <drepper@gmail.com>
12463
12464 * po/da.po: Update from translation team.
12465
fa41c84d
UD
124662010-10-26 Ulrich Drepper <drepper@gmail.com>
12467
12468 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12469 is added to the list.
12470
f0967738
AK
124712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12472 Ulrich Drepper <drepper@gmail.com>
12473
12474 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12475 the global list here. Move code to...
12476 (_dl_add_to_namespace_list): ...here. New function.
12477 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12478 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12479 * elf/dl-load.c (lose): Don't remove the element from the list.
12480 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12481 (_dl_map_object): Likewise.
12482
124832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12484
12485 [BZ #12159]
12486 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12487 into all bytes of SSE register.
12488 Patch by Richard Li <richardpku@gmail.com>.
12489
f0967738 124902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12491
12492 [BZ #12140]
12493 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12494 perturbing.
12495
d0b9e94f
MB
124962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12497
12498 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12499 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12500 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12501 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12503 submachine.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12505
8e9f92e9
AS
125062010-10-22 Andreas Schwab <schwab@redhat.com>
12507
12508 * include/dlfcn.h (__RTLD_SECURE): Define.
12509 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12510 mode & __RTLD_SECURE instead.
12511 (open_path): Rename preloaded parameter to secure.
12512 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12513 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12514 * elf/dl-deps.c (openaux): Likewise.
12515 * elf/rtld.c (struct map_args): Remove is_preloaded.
12516 (map_doit): Don't use it.
12517 (dl_main): Likewise.
12518 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12519 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12520
bc96fbda
AS
125212010-09-09 Andreas Schwab <schwab@redhat.com>
12522
12523 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12524 (sysd-rules-targets): Remove duplicates.
12525 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12526 rtld-%.$o dependency.
12527
22cd1c9b
AS
125282010-10-18 Andreas Schwab <schwab@redhat.com>
12529
12530 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12531 _dl_map_object do it.
12532
18edac48
UD
125332010-10-19 Ulrich Drepper <drepper@gmail.com>
12534
12535 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12536 fast fma builtins, define the macros in the C99 standard.
12537 (FP_FAST_FMAF): Likewise.
12538 (FP_FAST_FMAL): Likewise.
12539 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12540
12541 * bits/mathdef.h: Update copyright year.
12542 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12543
d2050124
MM
125442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12545
12546 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12547 builtins, define the macros in the C99 standard.
12548 (FP_FAST_FMAF): Likewise.
12549 (FP_FAST_FMAL): Likewise.
12550 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12551 multiply/add.
12552 (FP_FAST_FMAF): Likewise.
12553
475facd1
JJ
125542010-10-15 Jakub Jelinek <jakub@redhat.com>
12555
12556 [BZ #3268]
12557 * math/libm-test.inc (fma_test): Some new testcases.
12558 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12560 y and infinite z. Do multiplication by C already in long double.
12561 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12563 y and infinite z. Do bitwise or of inexact bit into u.d.
12564 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12565 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12566 * sysdeps/i386/fpu/s_fma.S: Removed.
12567 * sysdeps/i386/fpu/s_fmal.S: Removed.
12568
7c08a05c
JJ
125692010-10-16 Jakub Jelinek <jakub@redhat.com>
12570
12571 [BZ #3268]
12572 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12574 computation is not scheduled after fetestexcept. Fix value
12575 of minimum denormal long double.
12576
f3f7372d
JJ
125772010-10-14 Jakub Jelinek <jakub@redhat.com>
12578
12579 [BZ #3268]
12580 * math/libm-test.inc (fma_test): Add some more tests.
12581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12582 correctly.
12583
14d43591
AS
125842010-10-15 Andreas Schwab <schwab@redhat.com>
12585
12586 * scripts/data/localplt-s390-linux-gnu.data: New file.
12587 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12588
5e908464
JJ
125892010-10-13 Jakub Jelinek <jakub@redhat.com>
12590
12591 [BZ #3268]
12592 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12593 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12594 instead of dbl-64.
12595 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12596 inlines.
12597 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12599 if one of x and y is very large and the other is subnormal.
12600 * sysdeps/s390/fpu/s_fmaf.c: New file.
12601 * sysdeps/s390/fpu/s_fma.c: New file.
12602 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12603 * sysdeps/powerpc/fpu/s_fma.S: New file.
12604 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12605 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12606 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12607
126082010-10-12 Jakub Jelinek <jakub@redhat.com>
12609
12610 [BZ #3268]
12611 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12612 fma tests.
12613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12614 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12615 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12616 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12617 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12618 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12620
b833d51f
UD
126212010-10-12 Ulrich Drepper <drepper@redhat.com>
12622
12623 [BZ #12078]
12624 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12625 * posix/bug-regex31.input: Add test case.
12626
1751705d
UD
126272010-10-11 Ulrich Drepper <drepper@gmail.com>
12628
e9b9cbf5
UD
12629 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12630 * posix/bug-regex31.input: New file.
12631
12632 [BZ #12078]
12633 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12634 (parse_sub_exp): Fix last change, use postorder.
12635
ef06edbe
UD
12636 * posix/bug-regex31.c: New file.
12637 * posix/Makefile: Add rules to build and run bug-regex31.
12638
a129c80d
UD
12639 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12640
12641 [BZ #12078]
12642 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12643
b76b818e
UD
12644 [BZ #12108]
12645 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12646 to have entries in sys_siglist.
12647
1751705d
UD
12648 [BZ #12093]
12649 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12650 be NULL.
12651
9ff8d36f
JJ
126522010-10-07 Jakub Jelinek <jakub@redhat.com>
12653
12654 [BZ #3268]
12655 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12656 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12657 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12658 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12660 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12661 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12662 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12663 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12664 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12665 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12666 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12667 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12668 * math/ftestexcept.c (fetestexcept): Likewise.
12669 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12670 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12671 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12672 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12673 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12674 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12676
af325969
UD
126772010-10-11 Ulrich Drepper <drepper@gmail.com>
12678
c579b202 12679 [BZ #12107]
af325969
UD
12680 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12681 newline.
12682
67a67b95
UD
126832010-10-06 Ulrich Drepper <drepper@gmail.com>
12684
12685 * string/bug-strstr1.c: New file.
12686 * string/Makefile: Add rules to build and run bug-strstr1.
12687
5fb308bc
EB
126882010-10-05 Eric Blake <eblake@redhat.com>
12689
12690 [BZ #12092]
12691 * string/str-two-way.h (two_way_long_needle): Always clear memory
12692 when skipping input due to the shift table.
12693
45db99c7
UD
126942010-10-03 Ulrich Drepper <drepper@gmail.com>
12695
3b111893
UD
12696 [BZ #12005]
12697 * malloc/mcheck.c: Handle large requests.
12698
45db99c7
UD
12699 [BZ #12077]
12700 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12701 for strncmp and strncasecmp.
12702 * string/stratcliff.c: Add tests for strcmp and strncmp.
12703 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12704
cf7a1eb8
NI
127052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12706
12707 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12708 __set_fpscr.
12709
6484ba5e
AJ
127102010-09-30 Andreas Jaeger <aj@suse.de>
12711
12712 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12713 (CGROUP_SUPER_MAGIC): Define.
12714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12715 Handle btrfs and cgroup file systems.
12716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12717 Likewise.
12718
91c42559
LM
127192010-09-27 Luis Machado <luisgpm@br.ibm.com>
12720
12721 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12722 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12723
87a97932
AK
127242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12725
12726 [BZ #12067]
12727 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12728 trying to locate the ELF header.
12729
c21cc9bc
AS
127302010-09-27 Andreas Schwab <schwab@redhat.com>
12731
12732 [BZ #11611]
12733 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12734 Mask out sign-bit copies when constructing f_fsid.
12735
315970f6
PB
127362010-09-24 Petr Baudis <pasky@suse.cz>
12737
12738 * debug/stack_chk_fail_local.c: Add missing licence exception.
12739 * debug/warning-nop.c: Likewise.
12740
1ac7a2c7
JM
127412010-09-15 Joseph Myers <joseph@codesourcery.com>
12742
12743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12744 implementing getdents64 using getdents syscall, set d_type if
12745 __ASSUME_GETDENTS32_D_TYPE.
12746
56801c50
AS
127472010-09-16 Andreas Schwab <schwab@redhat.com>
12748
12749 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12750 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12751
dda51327
UD
127522010-09-21 Ulrich Drepper <drepper@redhat.com>
12753
12754 [BZ #12037]
12755 * posix/unistd.h: Undo change of feature selection for ftruncate from
12756 2010-01-11.
12757
8ffcee4a
UD
127582010-09-20 Ulrich Drepper <drepper@redhat.com>
12759
a545ecd9 12760 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12761 detection.
12762
e24f0a8b
AS
127632010-09-20 Andreas Schwab <schwab@redhat.com>
12764
12765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12766 fanotify_mark.
12767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12768
7291c56f
AS
127692010-09-14 Andreas Schwab <schwab@redhat.com>
12770
12771 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12772 variables after CHECK_SP call.
12773 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12774
bc5fb037
AS
127752010-09-13 Andreas Schwab <schwab@redhat.com>
12776 Ulrich Drepper <drepper@redhat.com>
12777
12778 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12779 re-relocationg ld.so.
12780 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12781 _dl_init_paths call.
12782 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12783 here anymore.
12784
e66e7419
UD
127852010-09-14 Ulrich Drepper <drepper@redhat.com>
12786
12787 * resolv/res_init.c (__res_vinit): Count the default server we added.
12788
c044aa75
CLT
127892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12790 Ulrich Drepper <drepper@redhat.com>
12791
12792 [BZ #11968]
12793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12794 (____longjmp_chk): Use %ebx for saving value across system call.
12795 Add unwind info.
12796
32cf4069
AS
127972010-09-06 Andreas Schwab <schwab@redhat.com>
12798
12799 * manual/Makefile: Don't mix pattern rules with normal rules.
12800
817328ee
AS
128012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12802
12803 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12804 operation.
12805 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12806 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12807 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12808 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12810 Likewise.
12811
29fddf61
UD
128122010-09-04 Ulrich Drepper <drepper@redhat.com>
12813
12814 [BZ #11979]
12815 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12816 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12817
0959ffc9
UD
128182010-09-02 Ulrich Drepper <drepper@redhat.com>
12819
12820 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12821 * sysdeps/x86_64/addmul_1.S: Likewise.
12822 * sysdeps/x86_64/lshift.S: Likewise.
12823 * sysdeps/x86_64/mul_1.S: Likewise.
12824 * sysdeps/x86_64/rshift.S: Likewise.
12825 * sysdeps/x86_64/sub_n.S: Likewise.
12826 * sysdeps/x86_64/submul_1.S: Likewise.
12827
ece29840
ST
128282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12829
0959ffc9
UD
12830 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12831 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12832 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12833 * bits/sched.h [__need_schedparam]
ece29840 12834 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12835 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12836 (__defined_schedparam): Define to 1.
ece29840
ST
12837 (__sched_param): New structure, identical to sched_param.
12838 (__need_schedparam): Undefine.
12839
e53a31fe
MF
128402010-08-31 Mike Frysinger <vapier@gentoo.org>
12841
fdc0c10d
MF
12842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12843 (epoll_create1): Declare.
12844
e53a31fe
MF
12845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12846
a726d796
AS
128472010-08-31 Andreas Schwab <schwab@redhat.com>
12848
12849 [BZ #7066]
12850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12851 shifting retval into place.
12852
2f3e3dc7
UD
128532010-09-01 Ulrich Drepper <drepper@redhat.com>
12854
f2933da9
UD
12855 * nis/rpcsvc/nis.h: Update copyright notice.
12856 * nis/rpcsvc/nis.x: Likewise.
12857 * nis/rpcsvc/nis_callback.h: Likewise.
12858 * nis/rpcsvc/nis_callback.x: Likewise.
12859 * nis/rpcsvc/nis_object.x: Likewise.
12860 * nis/rpcsvc/nis_tags.h: Likewise.
12861 * nis/rpcsvc/yp.h: Likewise.
12862 * nis/rpcsvc/yp.x: Likewise.
12863 * nis/rpcsvc/ypupd.h: Likewise.
12864 * nis/yp_xdr.c: Likewise.
12865 * nis/ypupdate_xdr.c: Likewise.
12866
2f3e3dc7
UD
12867 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12868 mainly the body of pmap_getport. Add parameters to specify timeouts.
12869 (pmap_getport): Use __libc_rpc_getport.
12870 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12871 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12872 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12873
f3dcc2f9
AS
128742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12875
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12877 fanotify_mark.
12878
6d34eb5b
RM
128792010-08-27 Roland McGrath <roland@redhat.com>
12880
12881 * sysdeps/i386/i686/multiarch/Makefile
12882 (CFLAGS-varshift.c): New variable.
12883
9ea3de11
UD
128842010-08-27 Ulrich Drepper <drepper@redhat.com>
12885
c96d23fc
UD
12886 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12887 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12888
9ea3de11
UD
12889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12890
12891 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12892
623aac7f
L
128932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * sysdeps/x86_64/strlen.S: Unroll the loop.
12896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12897 strlen-sse2 strlen-sse2-bsf.
12898 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12899 __strlen_no_bsf if bit_Slow_BSF is set.
12900 (__strlen_sse42): Removed.
12901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12902 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12903
8b2b7715
RM
129042010-08-25 Roland McGrath <roland@redhat.com>
12905
12906 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12907 * sysdeps/x86_64/multiarch/varshift.c: New file.
12908 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12909 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12910 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12911 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12912
e73015f2
L
129132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12914
12915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12916 strlen-sse2 strlen-sse2-bsf.
12917 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12918 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12919 (__strlen_sse2): Removed.
12920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12923 bit_Slow_BSF for Atom.
12924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12925 (index_Slow_BSF): Define.
12926 (HAS_SLOW_BSF): Define.
12927
df24a73e
UD
129282010-08-25 Ulrich Drepper <drepper@redhat.com>
12929
12930 [BZ #10851]
12931 * resolv/res_init.c (__res_vinit): When no server address at all
12932 is given default to loopback.
12933
f2ac4868
RM
129342010-08-24 Roland McGrath <roland@redhat.com>
12935
09055553
RM
12936 * configure.in: Remove config-name.h generation.
12937 * configure: Regenerated.
12938 * config-name.in: File removed.
12939 * scripts/config-uname.sh: New file.
12940 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12941 ($(objdir)config-name.h): New target.
12942
f2ac4868
RM
12943 * sunrpc/rpc_parse.h: Avoid nested comment.
12944
73f27d5e
RH
129452010-08-24 Richard Henderson <rth@redhat.com>
12946 Ulrich Drepper <drepper@redhat.com>
12947 H.J. Lu <hongjiu.lu@intel.com>
12948
12949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12951 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12952 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12953 _mm_alignr_epi8 with _mm_loadu_si128.
12954 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12955 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12956 (__m128i_shift_right): Removed.
12957 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12958 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12959 * sysdeps/x86_64/multiarch/varshift.h: New file.
12960 * sysdeps/x86_64/multiarch/varshift.S: New file.
12961
84b9230c
MF
129622010-08-21 Mike Frysinger <vapier@gentoo.org>
12963
12964 * configure.in: Move assembler checks to before sysdep dir checking.
12965
9bbd0ddc
PB
129662010-08-20 Petr Baudis <pasky@suse.cz>
12967
12968 * LICENSES: Sync the sunrpc license.
12969
9da4bb31
UD
129702010-08-19 Ulrich Drepper <drepper@redhat.com>
12971
a7ab6ec8
UD
12972 * sunrpc/auth_des.c: Update copyright notice once again.
12973 * sunrpc/auth_none.c: Likewise.
12974 * sunrpc/auth_unix.c: Likewise.
12975 * sunrpc/authdes_prot.c: Likewise.
12976 * sunrpc/authuxprot.c: Likewise.
12977 * sunrpc/bindrsvprt.c: Likewise.
12978 * sunrpc/clnt_gen.c: Likewise.
12979 * sunrpc/clnt_perr.c: Likewise.
12980 * sunrpc/clnt_raw.c: Likewise.
12981 * sunrpc/clnt_simp.c: Likewise.
12982 * sunrpc/clnt_tcp.c: Likewise.
12983 * sunrpc/clnt_udp.c: Likewise.
12984 * sunrpc/clnt_unix.c: Likewise.
12985 * sunrpc/des_crypt.c: Likewise.
12986 * sunrpc/des_soft.c: Likewise.
12987 * sunrpc/get_myaddr.c: Likewise.
12988 * sunrpc/getrpcport.c: Likewise.
12989 * sunrpc/key_call.c: Likewise.
12990 * sunrpc/key_prot.c: Likewise.
12991 * sunrpc/openchild.c: Likewise.
12992 * sunrpc/pm_getmaps.c: Likewise.
12993 * sunrpc/pm_getport.c: Likewise.
12994 * sunrpc/pmap_clnt.c: Likewise.
12995 * sunrpc/pmap_prot.c: Likewise.
12996 * sunrpc/pmap_prot2.c: Likewise.
12997 * sunrpc/pmap_rmt.c: Likewise.
12998 * sunrpc/rpc/auth.h: Likewise.
12999 * sunrpc/rpc/auth_unix.h: Likewise.
13000 * sunrpc/rpc/clnt.h: Likewise.
13001 * sunrpc/rpc/des_crypt.h: Likewise.
13002 * sunrpc/rpc/key_prot.h: Likewise.
13003 * sunrpc/rpc/netdb.h: Likewise.
13004 * sunrpc/rpc/pmap_clnt.h: Likewise.
13005 * sunrpc/rpc/pmap_prot.h: Likewise.
13006 * sunrpc/rpc/pmap_rmt.h: Likewise.
13007 * sunrpc/rpc/rpc.h: Likewise.
13008 * sunrpc/rpc/rpc_des.h: Likewise.
13009 * sunrpc/rpc/rpc_msg.h: Likewise.
13010 * sunrpc/rpc/svc.h: Likewise.
13011 * sunrpc/rpc/svc_auth.h: Likewise.
13012 * sunrpc/rpc/types.h: Likewise.
13013 * sunrpc/rpc/xdr.h: Likewise.
13014 * sunrpc/rpc_clntout.c: Likewise.
13015 * sunrpc/rpc_cmsg.c: Likewise.
13016 * sunrpc/rpc_common.c: Likewise.
13017 * sunrpc/rpc_cout.c: Likewise.
13018 * sunrpc/rpc_dtable.c: Likewise.
13019 * sunrpc/rpc_hout.c: Likewise.
13020 * sunrpc/rpc_main.c: Likewise.
13021 * sunrpc/rpc_parse.c: Likewise.
13022 * sunrpc/rpc_parse.h: Likewise.
13023 * sunrpc/rpc_prot.c: Likewise.
13024 * sunrpc/rpc_sample.c: Likewise.
13025 * sunrpc/rpc_scan.c: Likewise.
13026 * sunrpc/rpc_scan.h: Likewise.
13027 * sunrpc/rpc_svcout.c: Likewise.
13028 * sunrpc/rpc_tblout.c: Likewise.
13029 * sunrpc/rpc_util.c: Likewise.
13030 * sunrpc/rpc_util.h: Likewise.
13031 * sunrpc/rpcinfo.c: Likewise.
13032 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13033 * sunrpc/rpcsvc/key_prot.x: Likewise.
13034 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13035 * sunrpc/rpcsvc/mount.x: Likewise.
13036 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13037 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13038 * sunrpc/rpcsvc/rex.x: Likewise.
13039 * sunrpc/rpcsvc/rstat.x: Likewise.
13040 * sunrpc/rpcsvc/rusers.x: Likewise.
13041 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13042 * sunrpc/rpcsvc/spray.x: Likewise.
13043 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13044 * sunrpc/rtime.c: Likewise.
13045 * sunrpc/svc.c: Likewise.
13046 * sunrpc/svc_auth.c: Likewise.
13047 * sunrpc/svc_authux.c: Likewise.
13048 * sunrpc/svc_raw.c: Likewise.
13049 * sunrpc/svc_run.c: Likewise.
13050 * sunrpc/svc_simple.c: Likewise.
13051 * sunrpc/svc_tcp.c: Likewise.
13052 * sunrpc/svc_udp.c: Likewise.
13053 * sunrpc/svc_unix.c: Likewise.
13054 * sunrpc/svcauth_des.c: Likewise.
13055 * sunrpc/xcrypt.c: Likewise.
13056 * sunrpc/xdr.c: Likewise.
13057 * sunrpc/xdr_array.c: Likewise.
13058 * sunrpc/xdr_float.c: Likewise.
13059 * sunrpc/xdr_mem.c: Likewise.
13060 * sunrpc/xdr_rec.c: Likewise.
13061 * sunrpc/xdr_ref.c: Likewise.
13062 * sunrpc/xdr_sizeof.c: Likewise.
13063 * sunrpc/xdr_stdio.c: Likewise.
13064
9da4bb31
UD
13065 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13066 handling.
13067
bdaa77bc
AS
130682010-08-19 Andreas Schwab <schwab@redhat.com>
13069
13070 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13071
fe2f79db
LM
130722010-08-19 Luis Machado <luisgpm@br.ibm.com>
13073
13074 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13077 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13079 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13080 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13081 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13084 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13086 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13087 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13088
b9b42ee0
AB
130892010-07-26 Anton Blanchard <anton@samba.org>
13090
13091 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13092 * malloc/arena.c (heap_trim): Likewise.
13093
1c06ba31
UD
130942010-08-16 Ulrich Drepper <drepper@redhat.com>
13095
13096 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13097 here. Not...
13098 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13099 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13100
f8392f40
L
131012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13102
13103 * sysdeps/i386/elf/Makefile: New file.
13104
3162f12e
AS
131052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13106
13107 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13108 from fanotify_init.
13109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13111
28c90b2c
UD
131122010-08-15 Ulrich Drepper <drepper@redhat.com>
13113
13114 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13115 of strncasecmp_l.
1feccb6c 13116 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13117
ca6bb004
UD
131182010-08-14 Ulrich Drepper <drepper@redhat.com>
13119
e9f82e0d
UD
13120 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13121 strncase_l-nonascii.
13122 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13123 Add strncase_l-ssse3.
13124 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13125 * sysdeps/x86_64/strcmp.S: Likewise.
13126 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13127 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13128 * sysdeps/x86_64/strncase.S: New file.
13129 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13130 * sysdeps/x86_64/strncase_l.S: New file.
13131 * string/Makefile (strop-tests): Add strncasecmp.
13132 * string/test-strncasecmp.c: New file.
13133
13134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13135 warning.
13136
ca6bb004
UD
13137 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13138 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13139
052fa7b3
AS
131402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13141
13142 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13143
962dba78
UD
131442010-08-12 Ulrich Drepper <drepper@redhat.com>
13145
13146 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13149
bebff237
AM
131502010-05-01 Alan Modra <amodra@gmail.com>
13151
13152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13153 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13154 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13155 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13156 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13157 tidying. Don't tail-call __sigjmp_save for static lib.
13158 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13159 save location.
13160 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13161 (CALL_MCOUNT): Add eh info, and nop after bl.
13162 (TAIL_CALL_SYSCALL_ERROR): New macro.
13163 (PSEUDO_RET): Use it.
13164 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13165 Correct save location of integer regs and cr.
13166 (_dl_profile_resolve): Correct cr save location. Delete nops
13167 after bl when SHARED. Reduce cfi size a little by better
13168 placement of cfi directives.
13169 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13170 make a stack frame. Instead use parm save area as a temp.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13172 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13174 Don't make a stack frame for parent, use parm save area.
13175 Increase child stack frame to 112 bytes. Don't save unused reg,
13176 and adjust reg usage. Set up cfi on error recovery and
13177 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13179 (__makecontext): Add dummy nop after jump to exit.
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13181 Use correct parm save area and cr save, reduce stack frame.
13182 Correct cfi for possible PSEUDO_RET frame setup.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13184 Branch to local label emitted by PSEUDO_RET rather than
13185 __syscall_error.
13186
02637374
AS
131872010-08-12 Andreas Schwab <schwab@redhat.com>
13188
13189 [BZ #11904]
13190 * locale/programs/locale.c (print_assignment): New function.
13191 (show_locale_vars): Use it.
13192
c3e2f19b
UD
131932010-08-11 Ulrich Drepper <drepper@redhat.com>
13194
3cdaa6ad
UD
13195 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13196 field.
13197 (struct statfs64): Likewise.
13198 (_STATFS_F_FLAGS): Define.
13199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13201 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13202 (ST_VALID): Define locally.
13203 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13204 __statvfs_getflags, use the provided value.
13205 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13206 __ASSUME_STATFS_F_FLAGS.
13207
754f7da3
UD
13208 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13209
10b3bedc
UD
13210 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13211 Add sys/fanotify.h.
13212 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13213 fanotify_mask for GLIBC_2.13.
13214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13215 fanotify_init and fanotify_mark.
13216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13217 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13218
c08fb0d7
UD
13219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13220 Add prlimit.
13221 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13222 prlimit64 for GLIBC_2.13.
13223 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13224 prlimit64.
13225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13226 syscall.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13229 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13232 add prlimit alias.
13233 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13234
15bac72b
UD
13235 [BZ #11903]
13236 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13237 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13238
c3e2f19b
UD
13239 * nss/Makefile: Add rules to build and run tst-nss-test1.
13240 * shlib-versions: Add entry for libnss_test1.
13241 * nss/nss_test1.c: New file.
13242 * nss/tst-nss-test1.c: New file.
13243
13244 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13245 (__nss_configure_lookup): Set appropriate entry in
13246 __nss_configure_lookup to true.
13247 * nss/nsswitch.h: Define enum with indeces of databases in
13248 databases and __nss_database_custom arrays. Declare
13249 __nss_database_custom.
13250 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13251 to avoid using nscd when custom rules are installed.
13252 * nss/getXXbyYY_r.c: Likewise.
13253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13254
13255 * nss/nss_files/files-parse.c: Whitespace fixes.
13256
f15ce4d8
UD
132572010-08-09 Ulrich Drepper <drepper@redhat.com>
13258
13259 [BZ #11883]
13260 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13261 * posix/fnmatch_loop.c: Likewise.
13262
d22e4cc9
AK
132632010-07-17 Andi Kleen <ak@linux.intel.com>
13264
13265 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13266 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13267 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13268 * Versions.def [GLIBC_2.13]: Add.
13269
805bc17d
UD
132702010-08-06 Ulrich Drepper <drepper@redhat.com>
13271
13272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13273 Also fail if tpwd after pwuid call is NULL.
13274
5a42321d
ST
132752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13276
13277 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13278 when converting to ms.
13279
fd3ebeda
ST
132802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13281
13282 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13283 EOPNOTSUPP errors with ENOTTY.
13284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13285 EOPNOTSUPP errors with ENOTTY.
13286
73507d3a
UD
132872010-07-31 Ulrich Drepper <drepper@redhat.com>
13288
13289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13290 Add strcasecmp_l-ssse3.
13291 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13292 strcasecmp.
13293 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13296
fe36dd02
UD
132972010-07-30 Ulrich Drepper <drepper@redhat.com>
13298
66f6765a
UD
13299 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13300
42e08a54
UD
13301 * string/Makefile (strop-tests): Add strcasecmp.
13302 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13303 strcasecmp_l-nonascii.
13304 (gen-as-const-headers): Add locale-defines.sym.
13305 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13306 * sysdeps/x86_64/strcasecmp.S: New file.
13307 * sysdeps/x86_64/strcasecmp_l.S: New file.
13308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13309 * sysdeps/x86_64/locale-defines.sym: New file.
13310 * string/test-strcasecmp.c: New file.
13311
fe36dd02
UD
13312 * string/test-strcasestr.c: Test both ends of the range of characters.
13313 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13314
48cbc0d6
RM
133152010-07-29 Roland McGrath <roland@redhat.com>
13316
76e6d6bc 13317 [BZ #11856]
48cbc0d6
RM
13318 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13319
880113d9
UD
133202010-07-27 Ulrich Drepper <drepper@redhat.com>
13321
13322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13323 for ld.so.
13324
deb9cabb
AS
133252010-07-27 Andreas Schwab <schwab@redhat.com>
13326
13327 * manual/memory.texi (Malloc Tunable Parameters): Document
13328 M_PERTURB.
13329
1c7570ff
RM
133302010-07-26 Roland McGrath <roland@redhat.com>
13331
13332 [BZ #11840]
13333 * configure.in (-fgnu89-inline check): Set and substitute
13334 gnu89_inline, not libc_cv_gnu89_inline.
13335 * configure: Regenerated.
13336 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13337
24fb0f88
UD
133382010-07-26 Ulrich Drepper <drepper@redhat.com>
13339
13340 * string/test-strnlen.c: New file.
13341 * string/Makefile (strop-tests): Add strnlen.
13342 * string/tester.c (test_strnlen): Add a few more test cases.
13343 * string/tst-strlen.c: Better error reporting.
13344
13345 * sysdeps/x86_64/strnlen.S: New file.
13346
8e96b93a
UD
133472010-07-24 Ulrich Drepper <drepper@redhat.com>
13348
13349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13350 lower-latency instructions.
13351
dbc676d4
UD
133522010-07-23 Ulrich Drepper <drepper@redhat.com>
13353
13354 * string/test-strcasestr.c: New file.
13355 * string/test-strstr.c: New file.
13356 * string/Makefile (strop-tests): Add strstr and strcasestr.
13357 * string/str-two-way.h: Don't undefine MAX.
13358 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13359
f6a31e0e
AS
133602010-07-21 Andreas Schwab <schwab@redhat.com>
13361
13362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13363 strcasestr-nonascii.
13364 (CFLAGS-strcasestr-nonascii.c): Define.
13365 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13367 Remove unused attribute.
13368
5dbc3b6c
RM
133692010-07-20 Roland McGrath <roland@redhat.com>
13370
13371 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13372 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13373 ld.so.cache was broken. With it, there is no way to disable dsocaps
13374 like LD_HWCAP_MASK can disable hwcaps.
13375
23d101d8
EPM
133762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13377
13378 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13379
cc9f2e47
UD
133802010-07-16 Ulrich Drepper <drepper@redhat.com>
13381
13382 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13383 call in strcasestr.
13384 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13385 __strcasestr_sse42_nonascii.
13386 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13387 strcasestr-nonascii.c.
13388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13389
77c1b069
LM
133902010-06-15 Luis Machado <luisgpm@br.ibm.com>
13391
13392 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13393 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13396
440566c3
UD
133972010-07-09 Ulrich Drepper <drepper@redhat.com>
13398
13399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13400 fcntl.
13401
5be9d05d
AS
134022010-07-06 Andreas Schwab <schwab@redhat.com>
13403
c30b7ee2 13404 [BZ #11577]
5be9d05d
AS
13405 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13406 dl_signal_cerror.
13407
8a492a67
UD
134082010-07-06 Ulrich Drepper <drepper@redhat.com>
13409
13410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13411 _PC_PIPE_BUF using F_GETPIPE_SZ.
13412
713df3d5
RM
134132010-07-05 Roland McGrath <roland@redhat.com>
13414
13415 * manual/arith.texi (Rounding Functions): Fix rint description
13416 implicit in round description.
13417
702e8f14
UD
134182010-07-02 Ulrich Drepper <drepper@redhat.com>
13419
13420 * elf/Makefile: Fix linking for a few tests to make recent linker
13421 happy.
13422
52ed8be9
AS
134232010-06-30 Andreas Schwab <schwab@redhat.com>
13424
13425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13426 $(common-objpfx)libc_nonshared.a.
13427
f47c9a11
LM
134282010-06-21 Luis Machado <luisgpm@br.ibm.com>
13429
13430 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13431 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13432 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13433 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13434 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13435 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13436 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13437 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13452 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13453 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13454 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13455 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13456 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13457 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13458 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13459 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13460 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13461 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13462 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13463 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13478
6fb8cbcb
L
134792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13482 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13483 * string/memmove.c (memmove): Renamed to ...
13484 (MEMMOVE): ...this. Default to memmove.
13485 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13486 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13487 (END_CHK): Define.
13488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13489 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13490 mempcpy-ssse3-back memmove-ssse3-back.
13491 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13494 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13495 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13496 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13497 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13498 * sysdeps/x86_64/multiarch/memmove.c: New file.
13499 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13500 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13501 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13502 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13503 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13505 Define.
13506 (index_Fast_Copy_Backward): Define.
13507 (HAS_ARCH_FEATURE): Define.
13508 (HAS_FAST_REP_STRING): Define.
13509 (HAS_FAST_COPY_BACKWARD): Define.
13510
4e733bac 135112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13512
13513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13514 Restore proper fallback handling.
13515
63c4ed22
UD
135162010-06-19 Ulrich Drepper <drepper@redhat.com>
13517
ac2b484c
UD
13518 [BZ #11701]
13519 * posix/group_member.c (__group_member): Correct checking loop.
13520
63c4ed22
UD
13521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13522 OOM in getpwuid_r correctly. Return error number when the caller
13523 should return, otherwise -1.
13524 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13525 call returning > 0 value.
13526 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13527
765ade4b
AS
135282010-06-07 Andreas Schwab <schwab@redhat.com>
13529
13530 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13531 libc_nonshared.a from targets in modules-names.
13532
80da2e09
KS
135332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13534
13535 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13536 requires it.
13537
158db122
LM
135382010-06-10 Luis Machado <luisgpm@br.ibm.com>
13539
13540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13544
caa78cf8
AS
135452010-06-02 Andreas Schwab <schwab@redhat.com>
13546
13547 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13548
b2ef2c01
UD
135492010-06-14 Ulrich Drepper <drepper@redhat.com>
13550
13551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13552 and F_GETPIPE_SZ.
13553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13559
fbd643b6
RM
135602010-06-14 Roland McGrath <roland@redhat.com>
13561
13562 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13563
f32f2869
JJ
135642010-06-07 Jakub Jelinek <jakub@redhat.com>
13565
13566 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13567 __REDIRECT followed by __THROW.
13568 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13569 * posix/getopt.h (getopt): Likewise.
13570
2a50c078
EPM
135712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13572
13573 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13574 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13575 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13576 in AT_FLAGS.
13577 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13578 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13579
eb5ad2eb
LM
135802010-05-28 Luis Machado <luisgpm@br.ibm.com>
13581
13582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13583
3c88fe1e
L
135842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13585
13586 [BZ #11640]
13587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13588 Properly check family and model.
13589
d2f73151
TY
135902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13591
13592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13593
ebd2e13d
LM
135942010-05-24 Luis Machado <luisgpm@br.ibm.com>
13595
13596 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13597
b32b8b45
UD
135982010-05-21 Ulrich Drepper <drepper@redhat.com>
13599
13600 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13601 symbol reference.
13602
9acbe24d
AS
136032010-05-19 Andreas Schwab <schwab@redhat.com>
13604
13605 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13606 symbol reference.
13607
f0ccf6ea
AS
136082010-05-21 Andreas Schwab <schwab@redhat.com>
13609
3d04ff3a
AS
13610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13611 and internal_recvmmsg.
13612 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13613 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13614 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13615 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13616
f0ccf6ea
AS
13617 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13618 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13619 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13620
5b08ac57
AS
136212010-05-20 Andreas Schwab <schwab@redhat.com>
13622
13623 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13624
4828935d
LM
136252010-05-17 Luis Machado <luisgpm@br.ibm.com>
13626
13627 POWER7 optimizations.
13628 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13629 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13630
373d545e
UD
136312010-05-19 Ulrich Drepper <drepper@redhat.com>
13632
13633 * version.h: Update for 2.13 development version.
13634
21a2b1ae
AS
136352010-05-12 Andrew Stubbs <ams@codesourcery.com>
13636
13637 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13638 exceptions. Return 0.
13639
3f7dcb2b
RM
136402010-05-07 Roland McGrath <roland@redhat.com>
13641
13642 * elf/ldconfig.c (main): Add a const.
13643
5f24d53a 136442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13645
a160f8d8
UD
13646 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13647 (args_options): Add no-idn option.
13648 (ahosts_keys_int): Add idn_flags to ai_flags.
13649 (parse_option): Handle 'i' option to clear idn_flags.
13650
5f24d53a
UD
13651 * malloc/malloc.c (_int_free): Possible race in the most recently
13652 added check. Only act on the data if no current modification
13653 happened.
265bb1ce
UD
13654
13655See ChangeLog.17 for earlier changes.