]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: #include <kernel-features.h>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
37233df9
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
3 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4 * libio/freopen.c: Likewise.
5 * libio/freopen64.c: Likewise.
6 * misc/syslog.c: Likewise.
7 * nscd/connections.c: Likewise.
8 * nscd/netgroupcache.c: Likewise.
9 * sysdeps/posix/getcwd.c: Likewise.
10
38de94a5
RM
112012-05-10 Roland McGrath <roland@hack.frob.com>
12
13 * math/w_ilogbf.c: Add #include <limits.h>.
14
67530489
ST
152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16
bbc49098
ST
17 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18 path instead of returning without unlocking.
19
67530489
ST
20 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21 immediate-write ioctls.
22 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23
5aa3a74a
TS
242012-05-10 Thomas Schwinge <thomas@schwinge.name>
25
18bad2ae
TS
26 * sysdeps/mach/hurd/i386/init-first.c (init): Use
27 __builtin_frame_address instead of making assumptions about the
28 location of the return address relative to DATA. Force early load of
29 the return address.
30 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31 __builtin_frame_address.
32
5aa3a74a
TS
33 dup3 for GNU Hurd.
34 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36 implement dup3 and do some further code clean-ups.
37 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39
ecd0de9a
ST
402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41
cd9fa985
ST
42 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43
802ca5a5
ST
44 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49 d->port.lock.
50
ecd0de9a
ST
51 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
53 when handler == SIG_ERR, not when handler != SIG_ERR.
54
bcf55240
TS
552012-05-10 Thomas Schwinge <thomas@schwinge.name>
56
6960eb42
TS
57 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59 definitions.
60
eb43375f
TS
61 accept4 for GNU Hurd.
62 * include/sys/socket.h (__libc_accept4): New prototype.
63 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
64 to implement __libc_accept4.
65 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66 __libc_accept4.
67 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68
bcf55240
TS
69 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
70 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72 signal-defines.sym.
73
6178c55b
ST
742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75
76 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77
6f080c2f
TS
782012-05-10 Thomas Schwinge <thomas@schwinge.name>
79
80 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81 assertion on O_CLOEXEC flag.
82 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83 * hurd/intern-fd.c: Likewise.
84 * hurd/port2fd.c: Likewise.
85
bcfe3a54
ST
862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
87
88 [BZ #3906]
89 * bits/in.h (IPV6_PKTINFO): Define new macro.
90 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
91
89c9aa49
AZ
922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
93
94 [BZ #13954]
95 [BZ #13955]
96 [BZ #13956]
97 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
98 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
99 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
100 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
102 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
103 * math/libm-test.inc (logb_test) : Additional logb tests.
104
021db4be
AJ
1052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
106 Andreas Jaeger <aj@suse.de>
107
108 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
109 * configure: Regenerated.
110 * config.h.in (LINK_OBSOLETE_RPC): New macro.
111 * config.make.in (link-obsolete-rpc): New substituted variable.
112 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
113 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
114 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
115 (shared-only-routines): Don't set it under [link-obsolete-rpc],
116 so that libc.a contains the symbols.
117 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
118 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
119 * sunrpc/auth_none.c: Likewise.
120 * sunrpc/auth_unix.c: Likewise.
121 * sunrpc/authdes_prot.c: Likewise.
122 * sunrpc/authuxprot.c: Likewise.
123 * sunrpc/clnt_gen.c: Likewise.
124 * sunrpc/clnt_perr.c: Likewise.
125 * sunrpc/clnt_raw.c: Likewise.
126 * sunrpc/clnt_simp.c: Likewise.
127 * sunrpc/clnt_tcp.c: Likewise.
128 * sunrpc/clnt_udp.c: Likewise.
129 * sunrpc/clnt_unix.c: Likewise.
130 * sunrpc/des_crypt.c: Likewise.
131 * sunrpc/des_soft.c: Likewise.
132 * sunrpc/get_myaddr.c: Likewise.
133 * sunrpc/key_call.c: Likewise.
134 * sunrpc/key_prot.c: Likewise.
135 * sunrpc/netname.c: Likewise.
136 * sunrpc/pm_getmaps.c: Likewise.
137 * sunrpc/pm_getport.c: Likewise.
138 * sunrpc/pmap_clnt.c: Likewise.
139 * sunrpc/pmap_prot.c: Likewise.
140 * sunrpc/pmap_prot2.c: Likewise.
141 * sunrpc/pmap_rmt.c: Likewise.
142 * sunrpc/publickey.c: Likewise.
143 * sunrpc/rpc_cmsg.c: Likewise.
144 * sunrpc/rpc_common.c: Likewise.
145 * sunrpc/rpc_dtable.c: Likewise.
146 * sunrpc/rpc_prot.c: Likewise.
147 * sunrpc/rpc_thread.c: Likewise.
148 * sunrpc/rtime.c: Likewise.
149 * sunrpc/svc.c: Likewise.
150 * sunrpc/svc_auth.c: Likewise.
151 * sunrpc/svc_raw.c: Likewise.
152 * sunrpc/svc_run.c: Likewise.
153 * sunrpc/svc_tcp.c: Likewise.
154 * sunrpc/svc_udp.c: Likewise.
155 * sunrpc/svc_unix.c: Likewise.
156 * sunrpc/svcauth_des.c: Likewise.
157 * sunrpc/xcrypt.c: Likewise.
158 * sunrpc/xdr.c: Likewise.
159 * sunrpc/xdr_array.c: Likewise.
160 * sunrpc/xdr_float.c: Likewise.
161 * sunrpc/xdr_intXX_t.c: Likewise.
162 * sunrpc/xdr_mem.c: Likewise.
163 * sunrpc/xdr_rec.c: Likewise.
164 * sunrpc/xdr_ref.c: Likewise.
165 * sunrpc/xdr_sizeof.c: Likewise.
166 * sunrpc/xdr_stdio.c: Likewise.
167
b5c086a2
RM
1682012-05-10 Roland McGrath <roland@hack.frob.com>
169
170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
171 change. Update copyright years.
172
6d74dd09
JM
1732012-05-10 Joseph Myers <joseph@codesourcery.com>
174
175 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
176
28e72501
MK
1772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
178 Joseph Myers <joseph@codesourcery.com>
179 Paul Pluzhnikov <ppluzhnikov@google.com>
180
181 [BZ #14012]
182 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
183 requiring rpcgen.
184 [cross-compiling] (extra-libs): Likewise.
185 [cross-compiling] (extra-libs-others): Likewise.
186 [cross-compiling] (librpcsvc-routines): Likewise.
187 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
188 [cross-compiling] (omit-deps): Likewise.
189 (sunrpc-CPPFLAGS): New variable.
190 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
191 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
192 (cross-rpcgen-objs): New variable.
193 (extra-objs): Append $(cross-rpcgen-objs).
194 ($(cross-rpcgen-objs)): New rule.
195 ($(objpfx)cross-rpcgen): Likewise.
196 (rpcgen-cmd): Define to use $(built-program-file). Expand
197 comment.
198 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
199 ($(objpfx)x%.stmp): Likewise.
200 * sunrpc/proto.h [IS_IN_build] (_): Define.
201 [IS_IN_build] (_libc_intl_domainname): Likewise.
202
c8c59454
L
2032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
204
205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
206 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
207 and R_X86_64_TPOFF64.
208
6f27cd16
JM
2092012-05-10 Joseph Myers <joseph@codesourcery.com>
210
211 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
212 sysdeps/unix/sysv/syscalls.list.
213 (stime): Likewise.
214 (utime): Likewise.
215 * sysdeps/unix/sysv/syscalls.list: Remove file.
216
02467e1c
PE
2172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
218
219 [BZ #3440]
220 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
221 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
222 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
223 (__LC_IDENTIFICATION): Make these macros useful in #if
224 expressions, as required by C99.
225
da392631
AS
2262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
227
228 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
229 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
230 after this.
231
8115f29b
L
2322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
233
234 * stdlib/longlong.h: Updated from GCC.
235
bdd74070
AJ
2362012-05-09 Andreas Jaeger <aj@suse.de>
237
edfe0dbe
AJ
238 * nscd/nscd.c (run_modes): Make named enum, reorder so that
239 default is first entry.
240 (run_mode): Set type.
241 (main): Remove informal message about syslog.
242 (options): Fix typo.
243
bcfe3a54
ST
244 [BZ #14053]
245 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 246 to asm.
bcfe3a54
ST
247 (lrint): Likewise.
248 (llrintf): Likewise.
249 (llrint): Likewise.
250 (rint): Likewise.
251 (rintf): Likewise.
252 (nearbyint): Likewise.
253 (nearbyintf): Likewise.
bdd74070 254
91d8d69e
AJ
2552012-05-09 Andreas Jaeger <aj@suse.de>
256 Pedro Alves <palves@redhat.com>
257
258 * nscd/nscd.c (run_mode): Use enum.
259 (main): Cleanup coding style issue.
260
bb90b80b
AJ
2612012-05-09 Alexandre Oliva <aoliva@redhat.com>
262 Andreas Jaeger <aj@suse.de>
263
bcfe3a54
ST
264 * nscd/nscd.c (go_background): Replaced with...
265 (run_mode): ... this.
bb90b80b 266 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
267 (options): Add -F --foreground.
268 (main): Implement it.
269 (parse_opt): Parse it.
bb90b80b 270
1a4b75a1
AJ
2712012-05-09 Andreas Jaeger <aj@suse.de>
272
273 [BZ #14083]
274 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
275 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
276 -Wconversion warning.
277 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
278 Likewise.
279
b1cc2472
JM
2802012-05-09 Joseph Myers <joseph@codesourcery.com>
281
282 * conform/data/locale.h-data (NULL): Use macro-constant. Require
283 == 0.
284 (LC_ALL): Use macro-int-constant.
285 (LC_COLLATE): Likewise.
286 (LC_CTYPE): Likewise.
287 (LC_MESSAGES): Likewise.
288 (LC_MONETARY): Likewise.
289 (LC_NUMERIC): Likewise.
290 (LC_TIME): Likewise.
291 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
292 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
294 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
295 Specify type.
296 [C99-based standards] (float_t): Expect type.
297 [C99-based standards] (double_t): Expect type.
298 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
299 type.
300 [C99-based standards] (HUGE_VALL): Likewise.
301 [C99-based standards] (INFINITY): Likewise.
302 [C99-based standards] (NAN): Likewise.
303 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
304 [C99-based standards] (FP_NAN): Likewise.
305 [C99-based standards] (FP_NORMAL): Likewise.
306 [C99-based standards] (FP_SUBNORMAL): Likewise.
307 [C99-based standards] (FP_ZERO): Likewise.
308 [C99-based standards] (FP_FAST_FMA): Use
309 optional-macro-int-constant. Specify type. Require == 1.
310 [C99-based standards] (FP_FAST_FMAF): Likewise.
311 [C99-based standards] (FP_FAST_FMAL): Likewise.
312 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
313 [C99-based standards] (FP_ILOGBNAN): Likewise.
314 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
315 Specify type.
316 [C99-based standards] (MATH_ERREXCEPT): Likewise.
317 [C99-based standards] (math_errhandling): Specify type.
318 [ISO99 || ISO11] (signgam): Do not allow.
319 [non-C99-based standards] (copysignf): Do not allow.
320 [non-C99-based standards] (exp2f): Likewise.
321 [non-C99-based standards] (log2f): Likewise.
322 [non-C99-based standards] (modff): Allow.
323 [non-C99-based standards] (erff): Do not allow.
324 [non-C99-based standards] (erfcf): Likewise.
325 [non-C99-based standards] (gammaf): Likewise.
326 [non-C99-based standards] (hypotf): Likewise.
327 [non-C99-based standards] (j0f): Likewise.
328 [non-C99-based standards] (j1f): Likewise.
329 [non-C99-based standards] (jnf): Likewise.
330 [non-C99-based standards] (lgammaf): Likewise.
331 [non-C99-based standards] (tgammaf): Likewise.
332 [non-C99-based standards] (y0f): Likewise.
333 [non-C99-based standards] (y1f): Likewise.
334 [non-C99-based standards] (ynf): Likewise.
335 [non-C99-based standards] (isnanf): Likewise.
336 [non-C99-based standards] (acoshf): Likewise.
337 [non-C99-based standards] (asinhf): Likewise.
338 [non-C99-based standards] (atanhf): Likewise.
339 [non-C99-based standards] (cbrtf): Likewise.
340 [non-C99-based standards] (expm1f): Likewise.
341 [non-C99-based standards] (ilogbf): Likewise.
342 [non-C99-based standards] (log1pf): Likewise.
343 [non-C99-based standards] (logbf): Likewise.
344 [non-C99-based standards] (nextafterf): Likewise.
345 [non-C99-based standards] (remainderf): Likewise.
346 [non-C99-based standards] (rintf): Likewise.
347 [non-C99-based standards] (scalbf): Likewise.
348 [non-C99-based standards] (copysignl): Likewise.
349 [non-C99-based standards] (exp2l): Likewise.
350 [non-C99-based standards] (log2l): Likewise.
351 [non-C99-based standards] (modfl): Allow.
352 [non-C99-based standards] (erfl): Do not allow.
353 [non-C99-based standards] (erfcl): Likewise.
354 [non-C99-based standards] (gammal): Likewise.
355 [non-C99-based standards] (hypotl): Likewise.
356 [non-C99-based standards] (j0l): Likewise.
357 [non-C99-based standards] (j1l): Likewise.
358 [non-C99-based standards] (jnl): Likewise.
359 [non-C99-based standards] (lgammal): Likewise.
360 [non-C99-based standards] (tgammal): Likewise.
361 [non-C99-based standards] (y0l): Likewise.
362 [non-C99-based standards] (y1l): Likewise.
363 [non-C99-based standards] (ynl): Likewise.
364 [non-C99-based standards] (isnanl): Likewise.
365 [non-C99-based standards] (acoshl): Likewise.
366 [non-C99-based standards] (asinhl): Likewise.
367 [non-C99-based standards] (atanhl): Likewise.
368 [non-C99-based standards] (cbrtl): Likewise.
369 [non-C99-based standards] (expm1l): Likewise.
370 [non-C99-based standards] (ilogbl): Likewise.
371 [non-C99-based standards] (log1pl): Likewise.
372 [non-C99-based standards] (logbl): Likewise.
373 [non-C99-based standards] (nextafterl): Likewise.
374 [non-C99-based standards] (remainderl): Likewise.
375 [non-C99-based standards] (rintl): Likewise.
376 [non-C99-based standards] (scalbl): Likewise.
377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
378 [non-C99-based standards] (FP_*): Do not allow.
379 [C99-based standards] (FP_*): Change to
380 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
381 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
382 allow.
383 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
384 (SIG_ERR): Likewise.
385 [X/Open-based standards] (SIG_HOLD): Likewise.
386 (SIG_IGN): Likewise.
387 (SIGABRT): Use macro-int-constant. Specify type. Require
388 positive value.
389 (SIGFPE): Likewise.
390 (SIGILL): Likewise.
391 (SIGINT): Likewise.
392 (SIGSEGV): Likewise.
393 (SIGTER): Likewise.
394 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
395 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
396 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
397 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
398 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
399 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
400 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
401 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
402 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
403 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
404 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
405 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
406 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
407 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
408 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
409 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
410 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
411 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
412 [X/Open-based standards] (SIGTRAP): Likewise.
413 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
414 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
415 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
416 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
417 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
418 allow.
419
b9f1922d
IW
4202012-05-08 Ian Wienand <ianw@vmware.com>
421
422 [BZ #14080]
423 * time/tzset.c (__tzset_parse_tz): Update default rules for
424 daylight time changes in the Energy Policy Act of 2005.
425
1db86e88
AJ
4262012-05-09 Andreas Jaeger <aj@suse.de>
427
428 [BZ #13983]
429 * elf/ldconfig.c (parse_conf): Change string to make clear that
430 ldconfig only issued a warning if ld.so.conf does not exist.
431
dee4a4e3
DM
4322012-05-08 David S. Miller <davem@davemloft.net>
433
ee0db190
DM
434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
435 movxtod instead of popping the value on the stack.
436
dee4a4e3
DM
437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
438
6a43ec98
CD
4392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
440
441 * config.h.in: Add HAVE_ARM_PCS_VFP.
442
05c2c961
RMG
4432012-05-08 Roland Mc Grath <roland@hack.frob.com>
444
bcfe3a54
ST
445 [BZ #13979]
446 * include/features.h: Warn if user requests __FORTIFY_SOURCE
447 checking but the checks are disabled for any reason.
05c2c961 448
4b30f61a
L
4492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
450
451 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
452 and ELF64_R_TYPE with ELFW(R_TYPE).
453
eee2bc67
JM
4542012-05-08 Joseph Myers <joseph@codesourcery.com>
455
7ea5391a
JM
456 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
457 (ulimit): Likewise.
458
eee2bc67
JM
459 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
460 (settimeofday): Likewise.
461
abb66a67
MF
4622012-05-08 Mike Frysinger <vapier@gentoo.org>
463
464 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
465 a struct th_u2 inside the union, and move tu_block/tu_code into
466 a new th_u3 union of tu_block/tu_code inside of that. Move
467 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
468 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
469 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
470 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
471 (th_stuff): Change to th_u1.tu_stuff.
472 (th_data): Define.
473 (th_msg): Change to th_u1.th_u2.tu_data.
474
7f18b530
DM
4752012-05-07 David S. Miller <davem@davemloft.net>
476
05760585
DM
477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
478
7f18b530
DM
479 [BZ #14074]
480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
481 (SETUP_PIC_REG): Use it.
482 (SETUP_PIC_REG_LEAF): Use it.
483
495fd99f
JM
4842012-05-07 Joseph Myers <joseph@codesourcery.com>
485
486 [BZ #13885]
487 [BZ #13923]
488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
489 USE_AS_EXPM1L.
490 (EXPL_FINITE): Likewise.
491 (FLDLOG): Likewise.
492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
493 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
494 e_expl.S.
495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
496 USE_AS_EXPM1L.
497 (EXPL_FINITE): Likewise.
498 (FLDLOG): Likewise.
499 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
500 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
501 e_expl.S.
502 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
503 test of -max_value argument for long double.
504 * sysdeps/i386/fpu/libm-test-ulps: Update.
505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
506
6693d694
DM
5072012-05-06 David S. Miller <davem@davemloft.net>
508
509 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
510 quad soft-float symbols whose references which are compiler
511 generated.
512 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
513
6c23e11c
JM
5142012-05-06 Joseph Myers <joseph@codesourcery.com>
515
d8b82cad
JM
516 [BZ #13884]
517 [BZ #13914]
518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
519 USE_AS_EXP10L.
520 (EXPL_FINITE): Likewise.
521 (FLDLOG): Likewise.
522 (c0): Likewise.
523 (c1): Likewise.
524 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
525 Adjust comments for base varying.
526 (__expl_finite): Change alias to EXPL_FINITE.
527 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
528 e_expl.S.
529 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
530 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
532 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
534 USE_AS_EXP10L.
535 (EXPL_FINITE): Likewise.
536 (FLDLOG): Likewise.
537 (c0): Likewise.
538 (c1): Likewise.
539 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
540 Adjust comments for base varying.
541 (__expl_finite): Change alias to EXPL_FINITE.
542 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
543 tests for bugs.
544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
545
6c23e11c
JM
546 [BZ #14064]
547 * math/libm-test.inc (check_float_internal): Correct ulp
548 calculation for subnormal expected results.
549
29ba805c
AJ
5502012-05-06 Andreas Jaeger <aj@suse.de>
551
552 * Makeconfig (+math-flags): New, set to -frounding-math.
553 (+cflags): Add +math-flags so that all of glibc gets compiled with
554 it.
555
556 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
557
7b17aeda
JM
5582012-05-05 Joseph Myers <joseph@codesourcery.com>
559
5779f134
JM
560 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
561 Disable one test.
562
41498f4d
JM
563 [BZ #13787]
564 [BZ #13922]
565 [BZ #14036]
566 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
567 (__ieee754_expl): Allow for and saturate large arguments.
568 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
569 (u_threshold): Likewise.
570 (__exp): Call __ieee754_exp before checking for overflow and
571 underflow.
572 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
573 (u_threshold): Likewise.
574 (__expf): Call __ieee754_expf before checking for overflow and
575 underflow.
576 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
577 (u_threshold): Likewise.
578 (__expl): Call __ieee754_expl before checking for overflow and
579 underflow.
580 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
581 (__ieee754_expl): Allow for and saturate large arguments.
582 * math/libm-test.inc (exp_test): Add another test. Do not allow
583 missing overflow exception on overflow.
584 (expm1_test): Do not allow missing overflow exception on overflow.
585
6698b8bf
JM
586 * sysdeps/i386/fpu/e_expl.c: Move to ...
587 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
588 rather than using inline asm.
589 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
590 * sysdeps/x86_64/fpu/e_expl.S: Copy from
591 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
592
7b17aeda
JM
593 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
594 (nice): Likewise.
595 (poll): Likewise.
596 (signal): Likewise.
597 (time): Likewise.
598 (times): Likewise.
599
f7c85819
JM
6002012-05-04 Joseph Myers <joseph@codesourcery.com>
601
602 * sysdeps/unix/syscalls.list (adjtime): Add entry from
603 sysdeps/unix/common/syscalls.list.
604 (fchmod): Likewise.
605 (fchown): Likewise.
606 (ftruncate): Likewise.
607 (getrusage): Likewise.
608 (gettimeofday): Likewise.
609 (setpgid): Likewise.
610 (setregid): Likewise.
611 (setreuid): Likewise.
612 (sigaction): Likewise.
613 (truncate): Likewise.
614 (vhangup): Likewise.
615 * sysdeps/unix/common/syscalls.list: Remove file.
616 * sysdeps/unix/bsd/Implies: Don't include unix/common.
617 * sysdeps/unix/sysv/linux/Implies: Likewise.
618
336270d0
L
6192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
620
621 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
623 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
624 Moved to ...
625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
626 Here.
627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
628 to ...
629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
631 to ...
632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
633 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
634 to ...
635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
636 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
637 to ...
638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
640 to ...
641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
642 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
643 to ...
644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
645 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
646 to ...
647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
648 Here.
649 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
650 to ...
651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
652 Here.
653 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
654 to ...
655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
656 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
657 Moved to ...
658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
659 Here.
660 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
661 to ...
662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
663
d128e450
JM
6642012-05-04 Joseph Myers <joseph@codesourcery.com>
665
fa8ee516
JM
666 * sysdeps/unix/common/bits/dirent.h: Remove file.
667 * sysdeps/unix/common/bits/fcntl.h: Likewise.
668
d128e450
JM
669 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
670 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
671 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
672 * sysdeps/unix/bsd/isatty.c: Likewise.
673 * sysdeps/unix/bsd/tcdrain.c: Likewise.
674 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
675 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
676
ff8faaf0 6772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 678
62881be4 679 [BZ #13563]
31dc8730
AZ
680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
681 long double comparison inaccuracies.
682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
684
6fef930c
AS
6852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
686
687 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
689
8f203e6c
JM
6902012-05-04 Joseph Myers <joseph@codesourcery.com>
691
692 [BZ #14049]
693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
694 nonzero digits before rounding a hex value.
695 * stdlib/tst-strtod.c (tests): Add another test.
696
5197d9c2
AK
6972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
698
699 * sysdeps/s390/fpu/libm-test-ulps: Update.
700
f0c1dedf
AJ
7012012-05-03 Andreas Jaeger <aj@suse.de>
702
703 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
704 does not get optimized out.
705 (malloc_opt_barrier): New.
706
a65ef2ae 7072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 708 Roland McGrath <roland@hack.frob.com>
a65ef2ae 709
2b942cb7 710 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 711 intermediate file deletion.
2b942cb7 712 (generated): Add .symlist files.
a65ef2ae 713
54b71e02
JM
7142012-05-03 Joseph Myers <joseph@codesourcery.com>
715
716 [BZ #13775]
717 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
718 Redirect under this condition.
719 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
720 [__USE_GNU] (__dprintf_chk): Not under this condition.
721 [__USE_GNU] (__vdprintf_chk): Likewise.
722 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
723 under this condition.
724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
725 [__USE_XOPEN2K8] (dprintf): Define under this condition.
726 [__USE_XOPEN2K8] (vdprintf): Likewise.
727 [__USE_GNU] (__dprintf_chk): Not under this condition.
728 [__USE_GNU] (__vdprintf_chk): Likewise.
729 [__USE_GNU] (dprintf): Likewise.
730 [__USE_GNU] (vdprintf): Likewise.
731
d3dfcc41
RM
7322012-05-03 Roland McGrath <roland@hack.frob.com>
733
734 * elf/Makefile (common-generated): Set this instead of generated for
735 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
736 $(all-built-dso)-derived lists.
737
7ac30cc5
AJ
7382012-05-03 Andreas Jaeger <aj@suse.de>
739
0c51e550
AJ
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741
7ac30cc5
AJ
742 * FAQ: Removed.
743 * FAQ.in: Likewise.
744 * scripts/gen-FAQ.pl: Likewise.
745 * manual/install.texi (Installation): Point to online location of
746 FAQ.
747 * Makefile (files-for-dist): Remove FAQ.
748 (FAQ): Remove.
749
d4c2917f
AM
7502012-05-02 Allan McRae <allan@archlinux.org>
751
752 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
753 (LDFLAGS-reldepmod5.so): Likewise.
754 (LDFLAGS-reldep6mod1.so): Likewise.
755 (LDFLAGS-reldep6mod4.so): Likewise.
756 (LDFLAGS-reldep8mod3.so): Likewise.
757 (LDFLAGS-unload4mod1.so): Likewise.
758 (LDFLAGS-unload4mod2.so): Likewise.
759 (LDFLAGS-tst-initorder): Likewise.
760 (LDFLAGS-tst-initordera2.so): Likewise.
761 (LDFLAGS-tst-initordera3.so): Likewise.
762 (LDFLAGS-tst-initordera4.so): Likewise.
763 (LDFLAGS-tst-initorderb2.so): Likewise.
764 (LDFLAGS-noload): Likewise.
765 (LDFLAGS-next): Likewise.
766 (LDFLAGS-order2mod1.so): Likewise.
767 (LDFLAGS-order2mod2.so): Likewise.
768 (LDFLAGS-tst-initorder2): Likewise.
769 (LDFLAGS-tst-initorder2a.so): Likewise.
770 (LDFLAGS-tst-initorder2b.so): Likewise.
771 (LDFLAGS-tst-initorder2c.so): Likewise.
772 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
773
d77f993f
DM
7742012-05-02 David S. Miller <davem@davemloft.net>
775
776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
777
171a70b4
PP
7782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
779
780 [BZ #14055]
781 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
782
0be196ad
AJ
7832012-05-02 Andreas Jaeger <aj@suse.de>
784
785 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
786 since we manipulate rounding mode.
787 (CPPFLAGS-test-idouble.c): Likewise.
788 (CPPFLAGS-test-ifloat.c): Likewise.
789 (CFLAGS-test-ldouble.c): Likewise.
790 (CFLAGS-test-double.c): Likewise.
791 (CFLAGS-test-float.c): Likewise.
792 (CFLAGS-test-misc.c): Likewise.
793 (CFLAGS-test-test-fenv.c): Likewise.
794
4f9d04aa
AZ
7952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796
2b942cb7
RM
797 [BZ #2550]
798 [BZ #2570]
799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
800 comparisons to determine direction to adjust input.
4f9d04aa 801
82a79e7d
RM
8022012-05-01 Roland McGrath <roland@hack.frob.com>
803
f5a01ca9
RM
804 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
805 output to the target.
806
90fe4186
RM
807 * scripts/localplt.awk: New file.
808 * elf/Makefile ($(objpfx)check-localplt): Target removed.
809 (check-localplt-CFLAGS): Variable removed.
810 ($(all-built-dso:=.jmprel)): New static pattern rule.
811 (generated): Add those targets.
812 (localplt-built-dso): New variable.
813 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
814
815 * elf/check-localplt.c: File removed.
816
82397ed6
RM
817 * scripts/check-execstack.awk: New file.
818 * elf/Makefile ($(objpfx)check-execstack): Target removed.
819 (check-execstack-CFLAGS): Variable removed.
820 ($(objpfx)check-execstack.h): Target removed.
821 ($(objpfx)execstack-default): New target.
822 (generated): Add that instead of check-execstack.h.
823 ($(all-built-dso:=.phdr)): New static pattern rule.
824 (generated): Add those targets.
825 * elf/check-execstack.c: File removed.
826
82a79e7d
RM
827 * scripts/check-textrel.awk: New file.
828 * elf/Makefile ($(objpfx)check-textrel): Target removed.
829 (check-textrel-CFLAGS): Variable removed.
830 (all-built-dso): Use := to define.o
831 ($(all-built-dso:=.dyn)): New static pattern rule.
832 (generated): Add those targets.
833 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
834 * config.make.in (READELF): New substituted variable.
835 * elf/check-textrel.c: File removed.
836
62fde54f 8372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 838
615605c9
JM
839 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
840 allow.
841 * conform/data/ctype.h-data [C99-based standards] (isblank):
842 Expect function.
843 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
844 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
846 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
847 Specify type. Require positive value.
848 (EILSEQ): Likewise.
849 (ERANGE): Likewise.
850 [ISO || POSIX] (EILSEQ): Do not expect.
851 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
852 Specify type. Require positive value.
853 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
854 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
855 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
856 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
857 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
858 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
859 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
860 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
861 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
862 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
863 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
864 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
865 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
866 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
867 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
868 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
869 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
870 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
871 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
872 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
873 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
874 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
875 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
876 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
877 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
878 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
879 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
880 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
881 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
882 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
883 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
884 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
885 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
886 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
887 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
888 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
889 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
890 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
891 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
892 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
893 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
894 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
895 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
896 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
897 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
898 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
899 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
900 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
901 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
902 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
903 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
904 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
905 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
906 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
907 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
908 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
909 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
910 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
911 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
912 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
913 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
914 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
915 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
916 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
917 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
918 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
919 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
920 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
921 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
922 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
923 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
924 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
925 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
926 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
927 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
928 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
929 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
930 Require >= 2.
931 (FLT_ROUNDS): Expect as macro, not constant.
932 (FLT_MANT_DIG): Use macro-int-constant.
933 (DBL_MANT_DIG): Likewise.
934 (LDBL_MANT_DIG): Likewise.
935 (FLT_DIG): Likewise.
936 (DBL_DIG): Likewise.
937 (LDBL_DIG): Likewise.
938 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
939 (DBL_MIN_EXP): Likewise.
940 (LDBL_MIN_EXP): Likewise.
941 (FLT_MAX_EXP): Use macro-int-constant.
942 (DBL_MAX_EXP): Likewise.
943 (LDBL_MAX_EXP): Likewise.
944 (FLT_MAX_10_EXP): Likewise.
945 (DBL_MAX_10_EXP): Likewise.
946 (LDBL_MAX_10_EXP): Likewise.
947 (FLT_MAX): Use macro-constant.
948 (DBL_MAX): Likewise.
949 (LDBL_MAX): Likewise.
950 (FLT_EPSILON): Use macro-constant. Give upper bound.
951 (DBL_EPSILON): Likewise.
952 (LDBL_EPSILON): Likewise.
953 (FLT_MIN): Likewise.
954 (DBL_MIN): Likewise.
955 (LDBL_MIN): Likewise.
956 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
957 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
958 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
959 [ISO11] (FLT_HAS_SUBNORM): Likewise.
960 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
961 [ISO11] (DBL_DECIMAL_DIG): Likewise.
962 [ISO11] (FLT_DECIMAL_DIG): Likewise.
963 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
964 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
965 [ISO11] (FLT_TRUE_MIN): Likewise.
966 [ISO11] (LDBL_TRUE_MIN): Likewise.
967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
968 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
969 (SCHAR_MIN): Use macro-int-constant. Specify type.
970 (SCHAR_MAX): Likewise.
971 (UCHAR_MAX): Likewise.
972 (CHAR_MIN): Likewise.
973 (CHAR_MAX): Likewise.
974 (MB_LEN_MAX): Use macro-int-constant.
975 (SHRT_MIN): Use macro-int-constant. Specify type.
976 (SHRT_MAX): Likewise.
977 (USHRT_MAX): Likewise.
978 (INT_MAX): Likewise.
979 (INT_MIN): Use macro-int-constant. Specify type. Make upper
980 bound negative.
981 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
982 bound with "U".
983 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
984 bound with "L".
985 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
986 bound negative. Suffix upper bound with "L".
987 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
988 bound with "UL".
989 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
990 Specify type.
991 [C99-based standards] (LLONG_MAX): Likewise.
992 [C99-based standards] (ULLONG_MAX): Likewise.
993 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
994 == 0.
995 [ISO11] (max_align_t): Require type.
996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
997
c9140a62
JM
998 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
999 from $CFLAGS, without defining away __attribute__ calls.
1000 (checknamespace): Use $CFLAGS_namespace.
1001
9af0bf29
JM
1002 * conform/conformtest.pl (@keywords): Only include C99 keywords
1003 for standards based on C99 or C11.
1004
343222a2
JM
1005 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1006 Disable tests.
1007 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1008 UNIX98]: Likewise.
1009
661f8cf0
JM
1010 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1011 usability of symbols in #if.
1012
ee74b9cb
JM
1013 * conform/conformtest.pl: If macro or constant types start
1014 "promoted:", expect the symbol to be of the following type
1015 promoted by the integer promotions.
62fde54f 1016
aafc49b3
JM
1017 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1018 in one place. Also handle "macro-constant".
1019
fefdf574
JM
1020 * conform/conformtest.pl: Only accept expected macro values with
1021 "==". Parse all "macro" lines in one place.
1022 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1023
f2d922fe
JM
1024 * conform/conformtest.pl: Handle braced types on "constant" lines
1025 instead of handling "typed-constant".
1026 * conform/data/signal.h-data: Use "constant" instead of
1027 "typed-constant".
1028
d22956c9
JM
1029 * conform/conformtest.pl: Handle "optional-" at start of lines in
1030 one place rather than duplicating several cases. Handle each
1031 format of "macro" line with initial "optional-".
1032
028e2e38
JM
1033 * conform/conformtest.pl: Only accept expected constant or
1034 optional-constant values with "==". Parse all "constant" lines in
1035 one place. Parse all "optional-constant" lines in one place.
1036 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1037 * conform/data/fmtmsg.h-data: Likewise.
1038 * conform/data/netinet/in.h-data: Likewise.
1039 * conform/data/tar.h-data: Likewise.
1040 * conform/data/limits.h-data: Use "==" form on "constant" and
1041 "optional-constant" lines.
1042
1b8f2850
JM
1043 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1044 Use -std=c99 for XOPEN2K.
1045 (@knownproblems): Remove.
1046 (newtoken): Don't check %isknown.
1047
a05a144b
JM
1048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1049 Do not expect macro.
1050 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1062 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1063 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1080 [XPG3] (acosh): Likewise.
1081 [XPG3] (asinh): Likewise.
1082 [XPG3] (atanh): Likewise.
1083 [XPG3] (cbrt): Likewise.
1084 [XPG3] (expm1): Likewise.
1085 [XPG3] (ilogb): Likewise.
1086 [XPG3] (log1p): Likewise.
1087 [XPG3] (logb): Likewise.
1088 [XPG3] (nextafter): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1091 [XPG3] (remainder): Likewise.
1092 [XPG3] (rint): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1100 [UNIX98 || XOPEN2K] (scalb): Expect.
1101 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1102 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1238
73c5ebe3
JM
1239 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1240 _XOPEN_SOURCE_EXTENDED for XPG4.
1241
39c33b6c
JM
1242 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1243
62fde54f
JM
1244 * Makeconfig (localtime): Remove variable.
1245 (inst_localtime-file): Likewise.
1246
0741d64c
AS
12472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1248
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1250 Update.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1252 Update.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1254 Update.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1256 Update.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1258 Update.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1260 Update.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1262 Update.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1264 Update.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1266 Update.
1267
7cb029ee
JM
12682012-05-01 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #2550]
1271 [BZ #2570]
1272 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1273 comparisons to determine direction to adjust input.
1274 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1275 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1277 Likewise.
1278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1279 Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1281 Likewise.
1282 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1283 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1284 Likewise.
1285 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1286 Likewise.
1287 * math/libm-test.inc (nexttoward_test): Add more tests.
1288
412bd966
AS
12892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1290
1291 [BZ #14040]
1292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1293 in version GLIBC_2.1, not GLIBC_2.0.
1294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1295 Likewise.
1296
9568c0c2
JM
12972012-04-30 Joseph Myers <joseph@codesourcery.com>
1298
adfbc8ac
JM
1299 [BZ #13942]
1300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1301 (1 - x) * (1 + x).
1302 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1303 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1304 * math/libm-test.inc (acos_test): Add more tests.
1305 (asin_test): Likewise.
1306 * sysdeps/i386/fpu/libm-test-ulps: Update.
1307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1308
5ba3cc69
JM
1309 [BZ #14034]
1310 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1311 of square root.
1312 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1313 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1314 * math/libm-test.inc (acos_test_tonearest): New function.
1315 (acos_test_towardzero): Likewise.
1316 (acos_test_downward): Likewise.
1317 (acos_test_upward): Likewise.
1318 (asin_test_tonearest): Likewise.
1319 (asin_test_towardzero): Likewise.
1320 (asin_test_downward): Likewise.
1321 (asin_test_upward): Likewise.
1322 (main): Call the new functions.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1325
9568c0c2
JM
1326 [BZ #13884]
1327 [BZ #13924]
1328 * math/e_exp10.c: Include <float.h>.
1329 (__ieee754_exp10): Handle underflow here rather than multiplying
1330 large negative argument by M_LN10.
1331 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1332 of __ieee754_expf.
1333 * math/e_exp10l.c: Include <float.h>.
1334 (__ieee754_exp10l): Handle underflow here rather than multiplying
1335 large negative argument by M_LN10l.
1336 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1337 spurious overflow exception on underflow.
1338
5ac3ea17
MP
13392012-04-29 Marek Polacek <polacek@redhat.com>
1340
1341 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1342 (__fortify_function): New macro.
1343 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1344 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1345 __extern_always_inline.
1346 * libio/bits/stdio2.h: Likewise.
1347 * libio/bits/stdio.h: Likewise.
1348 * string/string.h: Likewise.
1349 * string/bits/string3.h: Likewise.
1350 * include/stdio.h: Likewise.
1351 * stdlib/bits/stdlib.h: Likewise.
1352 * stdlib/stdlib.h: Likewise.
1353 * rt/bits/mqueue2.h: Likewise.
1354 * rt/mqueue.h: Likewise.
1355 * posix/bits/unistd.h: Likewise.
1356 * posix/unistd.h: Likewise.
1357 * io/bits/poll2.h: Likewise.
1358 * io/bits/fcntl2.h: Likewise.
1359 * io/fcntl.h: Likewise.
1360 * io/sys/poll.h: Likewise.
1361 * misc/bits/syslog.h: Likewise.
1362 * misc/bits/syslog-ldbl.h: Likewise.
1363 * misc/sys/syslog.h: Likewise.
1364 * socket/bits/socket2.h: Likewise.
1365 * socket/sys/socket.h: Likewise.
1366 * debug/tst-chk1.c: Likewise.
1367 * wcsmbs/bits/wchar2.h: Likewise.
1368 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1369 * wcsmbs/wchar.h: Likewise.
1370
ecf0ebfb
AJ
13712012-04-29 Andreas Jaeger <aj@suse.de>
1372
1373 * Makerules (tests): Remove enable-check-abi protection.
1374 (check-abi-warn): Remove.
1375 (check-abi-%): Remove check-abi-warn usage.
1376
1377 * configure.in: Remove check-abi configure option.
1378 * configure: Regenerated.
1379 * config.make.in (enable-check-abi): Remove.
1380
6d5c57fa
AS
13812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1382
24c5d07e 1383 [BZ #14033]
ded5180a
AS
1384 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1385 double functions to double *_finite functions.
1386
7e0d315d
AS
1387 [BZ #13941]
1388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1389 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1390 LDBL_MIN_EXP.
1391 * stdio-common/Makefile (tests): Add tst-sprintf3.
1392 * stdio-common/tst-sprintf3.c: New file.
1393
6d5c57fa
AS
1394 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1395 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1396
0749ff8b
JM
13972012-04-28 Joseph Myers <joseph@codesourcery.com>
1398
1399 * conform/conformtest.pl: Remove duplicate typed-constant
1400 handling.
1401
8dbd5d7b
DM
14022012-04-28 David S. Miller <davem@davemloft.net>
1403
1404 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1405 (check-abi-%): Remove AWK script prerequisite and explicit
1406 abilist directory.
1407 (check-abi): Rewrite to just diff the symlist with the abilist.
1408 (config-tls, config-abi-config): Delete, no longer used.
1409 (update-abi-%): Remove AWK script and explicit abilist directory.
1410 (update-abi): Rewrite to simply compare and conditionally copy the
1411 symlist and the sysdep abilist file. Remove update-abi-config
1412 checks.
1413 * abilist/ld.abilist: Remove.
1414 * abilist/libBrokenLocale.abilist: Remove.
1415 * abilist/libanl.abilist: Remove.
1416 * abilist/libcrypt.abilist: Remove.
1417 * abilist/libdl.abilist: Remove.
1418 * abilist/librt.abilist: Remove.
1419 * abilist/libthread_db.abilist: Remove.
1420 * abilist/libutil.abilist: Remove.
1421 * scripts/extract-abilist.awk: Remove.
1422 * scripts/merge-abilist.awk: Remove.
1423 * sysdeps/generic/libcidn.abilist: New file.
1424 * sysdeps/generic/libnss_compat.abilist: New file.
1425 * sysdeps/generic/libnss_db.abilist: New file.
1426 * sysdeps/generic/libnss_dns.abilist: New file.
1427 * sysdeps/generic/libnss_files.abilist: New file.
1428 * sysdeps/generic/libnss_hesiod.abilist: New file.
1429 * sysdeps/generic/libnss_nis.abilist: New file.
1430 * sysdeps/generic/libnss_nisplus.abilist: New file.
1431 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1432 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1433 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1434 file.
1435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1436 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1437 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1438 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1439 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1440 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1441 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1442 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1443 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1444 file.
1445 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1446 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1447 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1448 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1449 file.
1450 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1452 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1454 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1455 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1456 file.
1457 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1458 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1459 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1460 file.
1461 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1463 New file.
1464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1465 New file.
1466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1467 New file.
1468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1469 New file.
1470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1471 New file.
1472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1473 New file.
1474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1475 New file.
1476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1477 New file.
1478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1479 New file.
1480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1481 New file.
1482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1483 New file.
1484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1485 New file.
1486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1487 New file.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1489 file.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1491 New file.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1493 New file.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1495 file.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1497 New file.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1499 New file.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1503 New file.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1505 New file.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1507 New file.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1509 New file.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1511 New file.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1513 New file.
1514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1516 file.
1517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1518 New file.
1519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1520 file.
1521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1522 file.
1523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1524 file.
1525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1528 file.
1529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1530 New file.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1532 file.
1533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1534 file.
1535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1536 New file.
1537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1538 file.
1539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1541 file.
1542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1543 New file.
1544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1545 file.
1546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1547 file.
1548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1549 file.
1550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1551 file.
1552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1553 file.
1554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1555 New file.
1556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1557 file.
1558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1559 file.
1560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1561 New file.
1562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1563 file.
1564 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1565 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1566 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1567 file.
1568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1569 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1570 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1571 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1572 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1573 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1574 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1575 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1576 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1577 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1580 file.
1581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1582 New file.
1583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1584 file.
1585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1586 file.
1587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1588 file.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1590 file.
1591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1592 file.
1593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1594 New file.
1595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1596 New file.
1597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1598 file.
1599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1600 New file.
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1602 file.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1605 file.
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1607 New file.
1608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1609 file.
1610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1611 file.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1613 file.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1615 file.
1616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1617 file.
1618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1619 New file.
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1621 New file.
1622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1623 file.
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1625 New file.
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1627 file.
1628
41d73a1b
JM
16292012-04-28 Joseph Myers <joseph@codesourcery.com>
1630
1631 * conform/conformtest.pl: Fix typo in handling typed-constant from
1632 allow-header.
1633
28aeeda4
JM
16342012-04-27 Joseph Myers <joseph@codesourcery.com>
1635
adae8f5e
JM
1636 * README: Cut down references to pre-2.6 Linux kernels and
1637 Linuxthreads. Update lists of configurations in libc and ports
1638 and sort alphabetically. Say "or newer" with Linux kernel version
1639 requirements.
1640
28aeeda4
JM
1641 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1642
a462cb63
RA
16432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1644
1645 [BZ #887]
1646 * math/libm-test.inc (logb_test_downward): New test to expose
1647 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1648 rounding mode.
1649
6ad3493e
JM
16502012-04-27 Joseph Myers <joseph@codesourcery.com>
1651
1652 [BZ #14027]
1653 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1654 to be done.
1655 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1656 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1657
2ce4f015
JM
16582012-04-26 Joseph Myers <joseph@codesourcery.com>
1659
5aeb141a
JM
1660 * sysdeps/unix/i386/brk.S: Remove file.
1661 * sysdeps/unix/i386/dl-brk.S: Likewise.
1662 * sysdeps/unix/i386/pipe.S: Likewise.
1663 * sysdeps/unix/i386/sigreturn.S: Likewise.
1664 * sysdeps/unix/i386/syscall.S: Likewise.
1665 * sysdeps/unix/i386/vfork.S: Likewise.
1666 * sysdeps/unix/i386/wait.S: Likewise.
1667
7143acae
JM
1668 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1669 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1670
2ce4f015
JM
1671 * configure.in (arm*-none*): Do not allow without
1672 --enable-hacker-mode.
1673 (netbsd*): Remove case setting base_os.
1674 (386bsd*): Likewise.
1675 (freebsd*): Likewise.
1676 (bsdi*): Likewise.
1677 (osf*): Likewise.
1678 (sunos*): Likewise.
1679 (ultrix*): Likewise.
1680 (newsos*): Likewise.
1681 (dynix*): Likewise.
1682 (*bsd*): Likewise.
1683 (sysv*): Likewise.
1684 (isc*): Likewise.
1685 (esix*): Likewise.
1686 (sco*): Likewise.
1687 (minix*): Likewise.
1688 (irix4*): Likewise.
1689 (irix6*): Likewise.
1690 (solaris[2-9]*): Likewise.
1691 (none): Likewise.
1692 * configure: Regenerated.
1693
0ac229c8
AZ
16942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695
1696 [BZ #11521]
1697 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1698 overflow or cancellation in calculating denominator.
1699 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1701 down expression to avoid unexpected rounding in newer GCCs.
1702 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1703
33f244f4
DM
17042012-04-26 David S. Miller <davem@davemloft.net>
1705
1706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1707 long-double compat symbols.
1708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1721
cfa1f3e8
DM
17222012-04-25 David S. Miller <davem@davemloft.net>
1723
1724 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1725 HWCAP_* values only after the memory barriers have been defined.
1726 (atomic_full_barrier): Define.
1727 (atomic_read_barrier): Define.
1728 (atomic_write_barrier): Define.
1729
6e236b92
SP
17302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1731
1732 * shlib-versions: Add libgcc_s version information.
1733 * sysdeps/generic/libgcc_s.h: Remove.
1734 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1735 libgcc_s.h.
1736 * sysdeps/gnu/unwind-resume.c: Likewise.
1737 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1738
aab39a09
DM
17392012-04-25 David S. Miller <davem@davemloft.net>
1740
1741 * sysdeps/unix/sparc/brk.S: Delete.
1742 * sysdeps/unix/sparc/dl-brk.S: Delete.
1743 * sysdeps/unix/sparc/pipe.S: Delete.
1744 * sysdeps/unix/sparc/sysdep.S: Delete.
1745 * sysdeps/unix/sparc/sysdep.h: Delete.
1746 * sysdeps/unix/sparc/vfork.S: Delete.
1747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1748 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1750 ret_ERRVAL, r0, r1, MOVE): Define.
1751 (JUMPTARGET): Remove.
1752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1753 sysdeps/unix/sparc/sysdep.h
1754 (ENTRY, END): Remove.
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1756
a3cc4f48
JM
17572012-04-25 Joseph Myers <joseph@codesourcery.com>
1758
2ed8cda2
JM
1759 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1760 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1761 -DIS_IN_build.
1762
35d76d59
JM
1763 * timezone/README: Update upstream location and email address for
1764 tzcode and tzdata.
1765 * timezone/zdump.c: Update from tzcode 2012b.
1766 * timezone/zic.c: Likewise.
1767
a3cc4f48
JM
1768 * configure.in (libc_cv_as_needed): Remove test.
1769 * configure: Regenerated.
1770 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1771 conditional definition.
1772 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1773 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1774 * config.make.in (have-as-needed): Remove variable.
1775
ceab42c3
SP
17762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1777 Paul Pluzhnikov <ppluzhnikov@google.com>
1778
1779 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1780 strings correctly.
1781
3ce2865f
CLT
17822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1783
1784 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1785 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1786 * sysdeps/sh/strlen.S: Likewise.
1787
f37e0d68
JM
17882012-04-24 Joseph Myers <joseph@codesourcery.com>
1789
ae186e9a
JM
1790 * sysdeps/unix/fork.S: Remove file.
1791 * sysdeps/unix/i386/fork.S: Likewise.
1792 * sysdeps/unix/sparc/fork.S: Likewise.
1793
b96914af
JM
1794 * sysdeps/unix/system.c: Remove file.
1795 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1796
f37e0d68
JM
1797 * sysdeps/unix/getegid.S: Remove file.
1798 * sysdeps/unix/geteuid.S: Likewise.
1799
87ef29ca
RM
18002012-04-24 Roland McGrath <roland@hack.frob.com>
1801
83bcd236
RM
1802 * scripts/check-localplt.awk: New file.
1803 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1804 of diff.
1805 * scripts/data/localplt-generic.data: Add a comment.
1806
87ef29ca
RM
1807 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1808 NODE when __dir_mkfile failed.
1809 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1810 Reported by Ludovic Courtès <ludo@gnu.org>.
1811
e5a6e567
AJ
18122012-04-24 Andreas Jaeger <aj@suse.de>
1813
1814 * Makerules (common-clean): Also remove gen-as-const-headers
1815 files.
1816
c1820385
JM
18172012-04-24 Joseph Myers <joseph@codesourcery.com>
1818
1819 * Makerules (native-compile): Do not change working directory for
1820 build. Use $(OUTPUT_OPTION) in command.
1821 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1822
94e02fc4
AZ
18232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824
1825 [BZ #13886]
1826 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1827 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1828 * math/libm-test.inc (floor_test): Add more tests.
1829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1830
3a533ca3
JM
18312012-04-24 Joseph Myers <joseph@codesourcery.com>
1832
940ab4b3
JM
1833 * sysdeps/unix/getdents.c: Remove file.
1834 * sysdeps/unix/sysv/getdents.c: Likewise.
1835 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1836
90e037bd
JM
1837 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1838 sysdeps/unix/mman/syscalls.list.
1839 (mmap): Likewise.
1840 (mprotect): Likewise.
1841 (msync): Likewise.
1842 (munmap): Likewise.
1843 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1844 * sysdeps/unix/mman/syscalls.list: Remove.
1845 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1846
3a533ca3
JM
1847 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1848 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1849 * configure: Regenerated.
1850 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1851 $(libgcc_s_suffix).
1852 * config.make.in (libgcc_s_suffix): Remove variable.
1853
1ad743de
JM
18542012-04-23 Joseph Myers <joseph@codesourcery.com>
1855
4ad451e2
JM
1856 * sysdeps/unix/sysv/gethostname.c: Move to ...
1857 * sysdeps/posix/gethostname.c: ... here.
1858
5e37ce39
JM
1859 * sysdeps/unix/execve.S: Remove file.
1860
1ad743de
JM
1861 * sysdeps/unix/_exit.S: Remove file.
1862
4e681b5b
AJ
18632012-04-23 Andreas Jaeger <aj@suse.de>
1864
1865 [BZ #13739]
1866 * manual/Makefile: Remove make dist support, there's no
1867 need for a stand-alone documentation tar ball.
1868 (TEXI2DVI): Define always, it's not in Makeconfig.
1869 (dist): Removed.
1870 (tar-it): Removed.
1871 (edition): Removed.
1872 (glibc-doc-$(edition).tar): Removed
1873 (%.Z): Removed.
1874 (%.gz): Removed.
1875 (%.uu): Removed.
1876 (ETAGS): Remove, it's in Makeconfig.
1877 (move-if-change): Remove, it's in Makeconfig.
1878
c0baea34
PE
18792013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1880
1881 [BZ #13970]
1882 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1883 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1884 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1885 (strtod_l, strtof_l, strtold_l): Remove __wur.
1886 It is not necessarily an error to ignore strtol's return value.
1887 One can reliably look at the stored endptr to decide whether
1888 the number had valid syntax.
1889
7c0616fa
AJ
18902012-04-21 Andreas Jaeger <aj@suse.de>
1891
803cb6b7 1892 [BZ #13739]
7c0616fa
AJ
1893 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1894
b0fe253f
JM
18952012-04-21 Joseph Myers <joseph@codesourcery.com>
1896
1897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1898 * sysdeps/unix/sysv/Versions: Remove file.
1899
8280f22d
MT
19002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1901
1902 [BZ #13927]
1903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1904
75ce411f 19052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1906
1907 [BZ #7064]
1908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1909 version from __vm86.
1910
097d59fa
JM
19112012-04-20 Joseph Myers <joseph@codesourcery.com>
1912
a90f3bcb
JM
1913 * sysdeps/unix/common/lxstat.c: Remove file.
1914 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1915
edc7ea78
JM
1916 * sysdeps/unix/sysv/Makefile: Remove file.
1917
cb78c221
JM
1918 * sysdeps/unix/sysv/direct.h: Remove file.
1919
efa6a45f
JM
1920 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1921 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1922 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1923 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1924 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1925 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1926 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1927
9c9f2d0c
JM
1928 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1929
4541c83b
JM
1930 * sysdeps/unix/xmknod.c: Remove file.
1931 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1932
f5d153a0
JM
1933 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1934
aa746595
JM
1935 * sysdeps/unix/sysv/i386/time.S: Remove file.
1936
cce5905e
JM
1937 * sysdeps/unix/fxstat.c: Remove file.
1938 * sysdeps/unix/xstat.c: Likewise.
1939 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1940
37fa3841
JM
1941 * sysdeps/unix/sysv/sigaction.c: Remove file.
1942
ff1962a3
JM
1943 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1944 (sysdep_headers): Remove variable.
1945 [termio.h not in sysdep_headers] (generated): Likewise.
1946 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1947 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1948 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1949 * sysdeps/unix/sysv/tcflow.c: Likewise.
1950 * sysdeps/unix/sysv/tcflush.c: Likewise.
1951 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1952 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1953 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1954 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1955 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1956
e7740d31
JM
1957 * sysdeps/unix/siglist.c: Remove file.
1958
ee06f18b
JM
1959 * sysdeps/unix/getppid.S: Remove file.
1960
097d59fa
JM
1961 * sysdeps/unix/mkdir.c: Remove file.
1962 * sysdeps/unix/rmdir.c: Likewise.
1963
ff3d51ec
AS
19642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1965
1966 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1967 ERR_MAX value.
1968 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1969 errlist-compat value.
1970
50f81fd7
DM
19712012-04-18 David S. Miller <davem@davemloft.net>
1972
1973 * sysdeps/generic/memcopy.h (reg_char): Delete.
1974 * debug/strcat_chk.c: Use char, not reg_char.
1975 * debug/strcpy_chk.c: Likewise.
1976 * debug/strncat_chk.c: Likewise.
1977 * debug/strncpy_chk.c: Likewise.
1978 * string/memchr.c: Likewise.
1979 * string/memrchr.c: Likewise.
1980 * string/rawmemchr.c: Likewise.
1981 * string/strcat.c: Likewise.
1982 * string/strchr.c: Likewise.
1983 * string/strchrnul.c: Likewise.
1984 * string/strcmp.c: Likewise.
1985 * string/strcpy.c: Likewise.
1986 * string/strncat.c: Likewise.
1987 * string/strncmp.c: Likewise.
1988 * string/strncpy.c: Likewise.
1989
8ff41c46
WS
19902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1991
1992 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1993 __builtin_memcopy is called when src and dest ranges are known to not
1994 overlap.
1995
6b652f46
WS
19962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1997
1998 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1999 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2000 fwd_align_merge macro call.
2001 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2002 bwd_align_merge macro call.
2003 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2004
b282631e
WS
20052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2006
2007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2008 bwd_align_merge macros.
2009 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2010 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2011 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2012
95aa737c
DM
20132012-04-18 David S. Miller <davem@davemloft.net>
2014
2015 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2016
7a99a614
AJ
20172012-04-18 Andreas Jaeger <aj@suse.de>
2018
2019 [BZ# 6794]
2020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2021 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2023
2024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2025 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2027
2028 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2029 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2030 Adjust for changed ldbl-128 files.
2031
2032 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2033 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2034 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2035
e5270c23
DM
20362012-04-17 David S. Miller <davem@davemloft.net>
2037
2038 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2039
fb5e92c9
AS
20402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2041
2042 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2043 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2044 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2045 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2046 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2047 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2048
76da7265
AZ
20492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2050
2051 [BZ #6794]
2052 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2053 * math/libm-test.inc: Add ilogb errno and exception tests.
2054 * math/w_ilogb.c: New file: ilogb wrapper.
2055 * math/w_ilogbf.c: New file: ilogbf wrapper.
2056 * math/w_ilogbl.c: New file: ilogbl wrapper.
2057 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2058 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2059 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2060 exception being thrown with 0.0 as argument.
2061 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2062 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2063 exception being thrown with 0.0 as argument.
2064 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2065 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2066 exception being thrown with 0.0 as argument.
2067 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2068 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2069 exception being thrown with 0.0 as argument.
2070 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2071 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2073 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2074 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2075 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2076 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2077 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2078 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2079
0396e69d
PB
20802012-04-17 Petr Baudis <pasky@ucw.cz>
2081
2082 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2083 with altivec.
2084
750b5926
MP
20852012-04-16 Marek Polacek <polacek@redhat.com>
2086
2087 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2088
751728a1
MP
20892012-04-16 Marek Polacek <polacek@redhat.com>
2090
2091 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2092 operands of fdivp instruction.
2093
34a27407
L
20942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2097 * elf/tst-auditmod3b.c: Likewise.
2098 * elf/tst-auditmod4b.c: Likewise.
2099 * elf/tst-auditmod5b.c: Likewise.
2100 * elf/tst-auditmod6b.c: Likewise.
2101 * elf/tst-auditmod6c.c: Likewise.
2102 * elf/tst-auditmod7b.c: Likewise.
2103 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2104 * sysdeps/x86_64/preconfigure.in: Likewise.
2105 * sysdeps/x86_64/preconfigure: Regenerated.
2106
7e73e17d
L
21072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2110 __ILP32__.
2111
c7a6ab72
AB
21122012-04-13 Antoine Balestrat <merkil33@gmail.com>
2113
2114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2115 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2116
a9e8e0e0
CL
21172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2118
2119 [BZ #13973]
2120 * locale/iso-639.def: Fix gl language name. Spotted by
2121 Yaron Shahrabani.
2122
ec98af7d
RM
21232012-04-12 Roland McGrath <roland@hack.frob.com>
2124
2125 [BZ #2074]
2126 * libio/libio.h (__io_write_fn): Update comment.
2127
247c3ede
PB
21282012-04-12 Petr Baudis <pasky@ucw.cz>
2129
2130 [BZ #2074]
2131 * stdio.texi (Hook Functions): The user provided writer function
2132 is not allowed to return -1.
2133
55939d6d
DM
21342012-04-11 David S. Miller <davem@davemloft.net>
2135
2136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2137
90020f5a
MF
21382012-04-11 Mike Frysinger <vapier@gentoo.org>
2139
2140 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2141 Add a leading slash to rtkaio.
2142
288f9098
JM
21432012-04-11 Jim Meyering <meyering@redhat.com>
2144
90020f5a
MF
2145 [BZ #11959]
2146 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2147 It is not necessarily an error to ignore fwrite's return
2148 value. One can reliably use ferror to test for errors after
2149 the fact.
288f9098 2150
4be2b570
L
21512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * bits/types.h (__snseconds_t): New type.
2154 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2155
2156 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2158 (__SNSECONDS_T_TYPE): Likewise.
2159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2160 (__SNSECONDS_T_TYPE): Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2162 (__SNSECONDS_T_TYPE): Likewise.
2163
288f9098 21642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2165
2166 [BZ #2636]
2167 * manual/time.texi (Processor Time): Return type of times is
2168 elapsed real time since an arbitrary point in the past.
2169 (CPU Time): Move CLK_TCK from here...
2170 (Processor Time): ...to here. Correct description.
2171 * manual/conf.texi (Constants for Sysconf): Correct description of
2172 _SC_CLK_TCK.
2173
d7dd4413
DM
21742012-04-10 David S. Miller <davem@davemloft.net>
2175
2176 [BZ #13967]
2177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2178 where the is a gap between DT_REL(A) and DT_JMPREL.
2179
b46068fc
L
21802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2183 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2184 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2185
73d65cc3
SP
21862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2187
2188 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2189 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2190 (dl_main): Handle --inhibit-cache.
2191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2192 _dl_inhibit_cache.
2193 * elf/dl-load.c (_dl_map_object): Use it.
2194 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2195
bcc8d661
JM
21962012-04-09 Joseph Myers <joseph@codesourcery.com>
2197
8f9a2fae
JM
2198 [BZ #13872]
2199 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2200 (__ieee754_powl): Saturate large exponents rather than testing for
2201 overflow of y*log2(x).
2202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2203 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2204 exceptions.
2205
bcc8d661
JM
2206 [BZ #11521]
2207 * math/s_ctan.c: Include <float.h>.
2208 (__ctan): Avoid internal overflow or cancellation in calculating
2209 denominator.
2210 * math/s_ctanf.c: Likewise.
2211 * math/s_ctanl.c: Likewise.
2212 * math/s_ctanh.c: Likewise.
2213 * math/s_ctanhf.c: Likewise.
2214 * math/s_ctanhl.c: Likewise.
2215 * math/libm-test.inc (ctan_test): Add more tests.
2216 (ctanh_test): Likewise.
2217 * sysdeps/i386/fpu/libm-test-ulps: Update.
2218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2219
823fbbb4
AJ
22202012-04-09 Andreas Jaeger <aj@suse.de>
2221
03879793
AJ
2222 [BZ #6894]
2223 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2224 is an optional BSD extension.
2225
823fbbb4
AJ
2226 [BZ #10254]
2227 * manual/stdio.texi (Opening Streams): Document additional fopen
2228 parameters.
2229
8de131cb
RM
22302012-04-09 Roland McGrath <roland@hack.frob.com>
2231
2232 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2233 %eax without telling the compiler.
2234
c0ed9d7d
CD
22352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2236
2237 [BZ # 13963]
2238 * manual/install.texi: Use sourceware.org.
2239
c483f6b4
JM
22402012-04-09 Joseph Myers <joseph@codesourcery.com>
2241
d7dd9453
JM
2242 [BZ #13873]
2243 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2244 (__ieee754_pow): Generate overflow and underflow using huge*huge
2245 and tiny*tiny rather than just returning constant infinity or zero
2246 for large exponents.
2247 * math/libm-test.inc (pow_test): Require overflow exceptions for
2248 applicable cases of large exponents.
2249
c483f6b4
JM
2250 [BZ #706]
2251 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2252 (__ieee754_pow): Use iterative multiplication algorithm only for
2253 integer exponents with absolute value below 1024. Check for odd
2254 integer exponents when using algorithm for real exponents.
2255 * math/libm-test.inc (pow_test): Add more tests.
2256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2257
d2de7579
JM
22582012-04-08 Joseph Myers <joseph@codesourcery.com>
2259
2260 [BZ #13705]
2261 * math/libm-test.inc (exp_test): Do not allow overflow exception
2262 on underflow test.
2263
f77f1232
AJ
22642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2265
2266 [BZ #13705]
2267 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2268 instead of __kernel_standard_f.
2269
3884932b
MF
22702012-04-08 Mike Frysinger <vapier@gentoo.org>
2271
2272 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2273 * sysdeps/x86_64/memset_chk.S: Likewise.
2274
54472e9c
AJ
22752012-04-08 Andreas Jaeger <aj@suse.de>
2276
6ab0fbfc
AJ
2277 [BZ #10153]
2278 * manual/startup.texi (Environment Access): Describe return value
2279 for putenv and setenv.
2280
61efba8c
AJ
2281 [BZ #6895]
2282 * manual/filesys.texi (Directory Entries): Add description for
2283 DT_LNK.
2284
95c3f29a
AJ
2285 [BZ #6890]
2286 * manual/filesys.texi (Directory Entries): Clarify that it's file
2287 system not operating system in the description of DT_UNKNOWN.
2288
54472e9c
AJ
2289 [BZ #6578]
2290 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2291
624254b1
SC
22922012-04-08 Stephen Compall <s11@member.fsf.org>
2293
2294 [BZ #6649]
2295 * manual/llio.texi (Opening and Closing Files): Add cross
2296 reference to explain mode argument.
2297
1e4920e0
MF
22982012-04-07 Mike Frysinger <vapier@gentoo.org>
2299
2300 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2301 * sysdeps/x86_64/memset_chk.S: Likewise.
2302
5ed848f3
DM
23032012-04-07 David S. Miller <davem@davemloft.net>
2304
2305 * elf/elf.h (R_SPARC_WDISP10): Define.
2306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2307 R_SPARC_SIZE32.
2308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2309 R_SPARC_SIZE64 and R_SPARC_H34.
2310
96154cd8
CD
23112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2312
2313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2314 conditions and remove no longer applicable assertion.
2315
9904dc47
L
23162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 * bits/byteswap.h: Include <features.h>.
2319 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2320 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2321
f8887d0a
L
23222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * bits/byteswap.h (__bswap_16): Removed.
2325 Include <bits/byteswap-16.h> to get __bswap_16.
2326 * sysdeps/i386/bits/byteswap.h: Likewise.
2327 * sysdeps/s390/bits/byteswap.h: Likewise.
2328 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2329 * bits/byteswap-16.h: New file.
2330 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2331 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2332 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2333 * string/Makefile (headers): Add bits/byteswap-16.h.
2334
62470f60
PP
23352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2336
2337 [BZ #13895]
2338 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2339 extra indirection.
2340 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2341 * nss/tst-nss-static.c: New.
2342
4dad7bab
RM
23432012-04-06 Robert Millan <rmh@gnu.org>
2344
2345 [BZ #6486]
2346 * manual/llio.texi (File Position Primitive): lseek
2347 refers to WHENCE when it really means OFFSET.
2348
e9142a17
AJ
23492012-04-06 Andreas Jaeger <aj@suse.de>
2350
2c040eff
AJ
2351 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2352 strncmp declarations.
2353
e9142a17
AJ
2354 * abilist/libc.abilist: Add __poll and __ppoll.
2355
ff9f1c5f
DM
23562012-04-05 David S. Miller <davem@davemloft.net>
2357
dcd2ae90
DM
2358 * scripts/check-local-headers.sh: Accept a host triplet in the
2359 path matched by the exclude regexp.
2360
993eb054
DM
2361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2362 definition.
2363 * sysdeps/powerpc/powerpc32/dl-machine.h
2364 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2365 * sysdeps/s390/s390-32/dl-machine.h
2366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2367 * sysdeps/sparc/sparc32/dl-machine.h
2368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2369 * sysdeps/sparc/sparc64/dl-machine.h
2370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2371
ff9f1c5f
DM
2372 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2373 lazy binding.
48e2e132 2374 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2375 undefined symbol errors.
2376
48e2e132 2377 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2378 DT_NEEDED entries.
2379
e80d6f94
MM
23802012-04-05 Michael Matz <matz@suse.de>
2381
2382 [BZ #13592]
2383 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2384
349fa79f
AJ
23852012-04-05 Andreas Jaeger <aj@suse.de>
2386
2387 [BZ #13908]
2388 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2389 comment.
2390
f402708f
KK
23912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2392
2393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2394 which ROUND is no valid rounding mode.
2395
2ecccfc9
KK
23962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2397
2398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2399 read again.
2400 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2401
8a53f50f
KK
24022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2403
2404 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2405 an exception using FPU order intentionally.
2406
24072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2408
2409 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2410 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2411 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2412 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2413
d653abb7
SJ
24142012-04-05 Simon Josefsson <simon@josefsson.org>
2415
2416 [BZ #12340]
2417 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2418 EINVAL when BUFLEN is too smal.
2419
c3b1bf7d
TS
24202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2421
2422 [BZ #13553]
2423 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2424 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2425
b1aa60f3
AJ
24262012-04-03 Andreas Jaeger <aj@suse.de>
2427
c3b1bf7d 2428 [BZ #13938]
67f60a26
AJ
2429 * manual/setjmp.texi (System V contexts): Fix sentence.
2430
b1aa60f3
AJ
2431 [BZ #13926]
2432 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2433 New macro for this case.
2434 [!__GNUC__] (__bswap_64): New inline function for this case.
2435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2436 * bits/byteswap.h: Likewise.
2437 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2438 ull, guard with __GLIBC_HAVE_LONG_LONG.
2439
2440 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2441 __GLIBC_HAVE_LONG_LONG.
2442
2443 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2444 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2445
39c59c35
TMQMF
24462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2447
2448 [BZ #13691]
2449 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2450 inptr and inend, rather than using last_ch.
2451
135ffda8
DM
24522012-04-02 David S. Miller <davem@davemloft.net>
2453
2454 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2455 * stdio-common/printf-parse.h (read_int): Change return type to
2456 'int', return -1 on INT_MAX overflow.
2457 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2458 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2459 overflows INT_MAX. Check for overflow of in-format-string precision
2460 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2461 SIZE_MAX not INT_MAX for integer overflow test.
2462 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2463 skip the construct in the format string but do not record anything.
2464 * stdio-common/bug22.c: Adjust to test both width/prevision
2465 INT_MAX overflow as well as total length INT_MAX overflow. Check
2466 explicitly for proper errno values.
2467
228c019e
TS
24682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2469
302cadd3
TS
2470 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2471 CHAR_MAX.
2472 * string/test-strcmp.c [! WIDE]: Likewise.
2473 * time/tst-mktime2.c: Likewise for INT_MAX.
2474 * string/test-string.h: #include <sys/param.h> for MIN.
2475
228c019e
TS
2476 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2477 * sysdeps/i386/init-first.c (init): Likewise.
2478 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2479 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2480 * sysdeps/sh/init-first.c (init): Likewise.
2481
cfa633f5
UD
24822012-04-01 Ulrich Drepper <drepper@gmail.com>
2483
2484 * po/ru.po: Update from translation team.
d1635ef8 2485 * po/vi.po: Likewise.
cfa633f5 2486
6cd0a5ea
SP
24872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2488
2489 * resolv/nss_dns/dns-host.c: Merge copyright years.
2490
4b43400f
LD
24912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2492
2493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2494 Optimize memcpy with prefetch if
2495 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2496 src, dst pointers have unequal 16 byte alignments.
2497
48c41d04
SP
24982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2499
2500 [BZ #13928]
2501 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2502 from a CNAME entry and return the minimum ttl for the query.
2503 (gaih_getanswer_slice): Likewise.
2504
b8dc394d
JL
25052012-03-30 Jeff Law <law@redhat.com>
2506
2507 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2508 due to long keys.
2509 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2510 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2511
2f5a5ed0
JL
2512 * resolv/nss_dns/dns-host.c: Update copyright year.
2513
1d39e359
UD
25142012-03-30 Ulrich Drepper <drepper@gmail.com>
2515
c030f70c 2516 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2517 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2518
1d39e359
UD
2519 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2520 comments for sendmmsg.
2521
25222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2523
2524 [BZ #13691]
2525 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2526 with only 1 character between 0x0041 and 0x01b0.
2527 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2528 * wcsmbs/tst-mbsnrtowcs.c: New file.
2529
20fde227
DM
25302012-03-29 David S. Miller <davem@davemloft.net>
2531
2532 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2533 small copies by hand.
2534
984a4237
JL
25352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2536
2537 [BZ #13761]
2538 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2539 _nss_compat_initgroups_dyn): Fall back to malloc/free
2540 for large group memberships.
2541
18c9d62b
DM
25422012-03-28 David S. Miller <davem@davemloft.net>
2543
88d85d4f
DM
2544 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2545 that branches into memcpy.
2546 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2549 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2551 bits.
2552 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2553 implementation too.
2554 * sysdeps/sparc/mempcpy.S: New file.
2555
e5aa83e1
DM
2556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2557 the IFUNC routine in the libc case.
2558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2559
88570753
DM
2560 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2561 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2562 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2563 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2564 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2565 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2566 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2567 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2568
249d7567
DM
2569 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2570 loop to 256 bytes instead of 64 bytes and fix test signedness.
2571
18c9d62b
DM
2572 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2573 * sysdeps/sparc/sparc32/Makefile: rather than here...
2574 * sysdeps/sparc/sparc64/Makefile: and here.
2575
05f3d1f6
UD
25762012-03-28 Ulrich Drepper <drepper@gmail.com>
2577
2578 * malloc/mallocbug.c: Avoid warnings about unused variables.
2579
86ae07a8
JL
25802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2581
2582 [BZ #13760]
2583 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2584 in the right place. Discard and retry query if response is
2585 larger than input buffer size.
2586
41bf21a1
JM
25872012-03-28 Joseph Myers <joseph@codesourcery.com>
2588
d6270972
JM
2589 [BZ #369]
2590 [BZ #2678]
2591 [BZ #3866]
2592 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2593 x for large integer exponent.
2594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2595 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2596 sign of result as needed afterwards.
2597 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2598 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2599 result for underflowing pow the same as for overflow.
2600 (__kernel_standard_l): Handle powl overflow and underflow here
2601 rather than calling __kernel_standard.
2602 * math/libm-test.inc (pow_test): Add more tests.
2603
414fca03 2604 [BZ #3868]
41bf21a1
JM
2605 [BZ #13879]
2606 [BZ #13910]
2607 [BZ #13911]
2608 [BZ #13912]
2609 [BZ #13913]
2610 [BZ #13915]
2611 [BZ #13916]
2612 [BZ #13917]
2613 [BZ #13918]
2614 [BZ #13919]
2615 [BZ #13920]
2616 [BZ #13921]
2617 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2618 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2619 (__kernel_standard_l): New function.
2620 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2621 __kernel_standard.
2622 * math/w_acosl.c (__acosl): Likewise.
2623 * math/w_asinl.c (__asinl): Likewise.
2624 * math/w_atan2l.c (__atan2l): Likewise.
2625 * math/w_atanhl.c (__atanhl): Likewise.
2626 * math/w_coshl.c (__coshl): Likewise.
2627 * math/w_exp10l.c (__exp10l): Likewise.
2628 * math/w_exp2l.c (__exp2l): Likewise.
2629 * math/w_fmodl.c (__fmodl): Likewise.
2630 * math/w_hypotl.c (__hypotl): Likewise.
2631 * math/w_j0l.c (__j0l, __y0l): Likewise.
2632 * math/w_j1l.c (__j1l, __y1l): Likewise.
2633 * math/w_jnl.c (__jnl, __ynl): Likewise.
2634 * math/w_lgammal.c (__lgammal): Likewise.
2635 * math/w_log10l.c (__log10l): Likewise.
2636 * math/w_log2l.c (__log2l): Likewise.
2637 * math/w_logl.c (__logl): Likewise.
2638 * math/w_powl.c (__powl): Likewise.
2639 * math/w_remainderl.c (__remainderl): Likewise.
2640 * math/w_scalbl.c (sysv_scalbl): Likewise.
2641 * math/w_sinhl.c (__sinhl): Likewise.
2642 * math/w_sqrtl.c (__sqrtl): Likewise.
2643 * math/w_tgammal.c (__tgammal): Likewise.
2644 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2645 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2646 * math/libm-test.inc (acos_test): Add more tests.
2647 (acosh_test): Likewise.
2648 (asin_test): Likewise.
2649 (atanh_test): Likewise.
2650 (exp_test): Likewise.
2651 (exp10_test): Likewise.
2652 (exp2_test): Likewise.
2653 (expm1_test): Likewise.
2654 (lgamma_test): Likewise.
2655 (log_test): Likewise.
2656 (log10_test): Likewise.
2657 (log1p_test): Likewise.
2658 (log2_test): Likewise.
2659 (pow_test): Do not allow some spurious overflow exceptions.
2660 (sqrt_test): Add more tests.
2661 (tgamma_test): Likewise.
2662 (y0_test): Likewise.
2663 (y1_test): Likewise.
2664 (yn_test): Likewise.
2665
dd62fda6
AB
26662012-03-27 Anton Blanchard <anton@samba.org>
2667
2668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2669 MAP_HUGETLB.
2670 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2673
1e3cdfda
AJ
26742012-03-27 David S. Miller <davem@davemloft.net>
2675
b855ab85
DM
2676 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2677
1e3cdfda
AJ
2678 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2679 have-as-vis3 check.
2680
26812012-03-27 Andreas Jaeger <aj@suse.de>
2682
2683 * sysdeps/x86_64/elf/configure.in: Moved to ...
2684 * sysdeps/x86_64/configure.in: ... here.
2685 * sysdeps/x86_64/elf/start.S: Moved to ...
2686 * sysdeps/x86_64/start.S: ... here.
2687 * sysdeps/x86_64/elf/configure: Delete.
2688
2689 * sysdeps/x86_64/configure.in: Merge contents from
2690 sysdeps/i386/configure.in (without i686 check).
2691
2692 * sysdeps/i386/elf/Versions: Merge into ...
2693 * sysdeps/i386/Versions: ... this.
2694 * sysdeps/i386/elf/Versions: Delete file.
2695 * sysdeps/i386/elf/start.S: Moved to ...
2696 * sysdeps/i386/start.S: ...here.
2697 * sysdeps/i386/elf/configure.in: Merge into...
2698 * sysdeps/i386/configure.in: ...here.
2699 * sysdeps/i386/elf/configure.in: Delete file.
2700 * sysdeps/i386/elf/configure: Delete file.
2701
2702 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2703 * debug/backtracesyms.c: ... here.
2704 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2705 * debug/backtracesymsfd.c: ... here.
2706 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2707 * sysdeps/generic/ifunc-sel.h: ... here.
2708
2709 * sysdeps/unix/i386/start.c: Delete file.
2710 * sysdeps/unix/sparc/start.c: Delete file.
2711 * sysdeps/unix/start.c: Delete file.
2712
2713 * sysdeps/sh/elf/configure.in: Moved to ...
2714 * sysdeps/sh/configure.in: ... here.
2715 * sysdeps/sh/elf/start.S: Moved to ...
2716 * sysdeps/sh/start.S: ... here.
2717 * sysdeps/sh/elf/configure: Delete file.
2718
2719 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2720 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2721 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2722 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2723 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2724 * sysdeps/powerpc/powerpc64/start.S: here.
2725 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2726 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2727 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2728 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2729 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2730
2731 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2732 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2733 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2734 * sysdeps/powerpc/powerpc32/start.S: ... here.
2735 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2736 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2737 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2738
2739 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2740 * sysdeps/powerpc/ifunc-sel.h: ... here.
2741 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2742 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2743
2744 * sysdeps/sparc/elf/configure.in: Moved to ...
2745 * sysdeps/sparc/configure.in: ... here.
2746 * sysdeps/sparc/elf/configure: Delete file.
2747 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2748 * sysdeps/sparc/sparc32/start.S: ... here.
2749 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2750 * sysdeps/sparc/sparc64/start.S: ... here.
2751 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2752 * sysdeps/sparc/sparc32/Makefile: ... this.
2753 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2754 * sysdeps/sparc/sparc64/Makefile: ... this.
2755
2756 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2757 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2758 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2759 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2760 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2761 * sysdeps/s390/s390-32/setjmp.S: ... here.
2762 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2763 * sysdeps/s390/s390-32/configure.in: ... here.
2764 * sysdeps/s390/s390-32/elf/configure: Delete file.
2765 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2766 * sysdeps/s390/s390-32/start.S: ... here.
2767
2768 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2769 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2770 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2771 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2772 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2773 * sysdeps/s390/s390-64/setjmp.S: ... here.
2774 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2775 * sysdeps/s390/s390-64/configure.in: ... here
2776 * sysdeps/s390/s390-64/elf/configure: Delete file.
2777 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2778 * sysdeps/s390/s390-64/start.S: ... here.
2779 * sysdeps/s390/s390-64/elf/configure: Delete.
2780
2781 * configure.in: Remove support for elf directories in sysdeps.
2782
2783 * configure: Regenerated.
2784 * sysdeps/i386/configure: Regenerated.
2785 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2786 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2787 * sysdeps/s390/s390-32/configure: Regenerated.
2788 * sysdeps/s390/s390-64/configure: Regenerated.
2789 * sysdeps/sh/configure: Regenerated.
2790 * sysdeps/sparc/configure: Regenerated.
2791 * sysdeps/x86_64/configure: Regenerated.
2792
a3f61311
AS
27932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2794
c876e002
AS
2795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2796
a3f61311
AS
2797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2798 denormal result into account.
2799
ac4c54f0
RM
28002012-03-25 Roland McGrath <roland@hack.frob.com>
2801
2802 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2803 Reported by Allan McRae <allan@archlinux.org>.
2804
6a9b9c02
JL
28052012-03-23 Jeff Law <law@redhat.com>
2806
2807 * nss/getnssent.c (__nss_getent): Fix typo.
2808
4c42a0c1
DM
28092012-03-23 David S. Miller <davem@davemloft.net>
2810
2811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2812
1532c7ac
L
28132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2816 to pad to uint64_t for each field.
2817 (dl_tls_index): Replace unsigned long with uint64_t.
2818
3ff42526
PP
28192012-03-23 Daniel Jacobowitz <dmj@google.com>
2820 Paul Pluzhnikov <ppluzhnikov@google.com>
2821
2822 [BZ #6528]
2823 * grp/Makefile (otherlibs): Don't set it.
2824 * inet/Makefile (otherlibs): Likewise.
2825 * login/Makefile (otherlibs): Likewise.
2826 * nscd/Makefile (otherlibs): Likewise.
2827 * posix/Makefile (otherlibs): Likewise.
2828 * pwd/Makefile (otherlibs): Likewise.
2829 * rt/Makefile (otherlibs): Likewise.
2830 * sunrpc/Makefile (otherlibs): Likewise.
2831 * nss/Makefile (otherlibs): Likewise.
2832 Add libnss_files to routines and static-only-routines.
2833 ($(objpfx)getent): Remove rule.
2834 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2835 static-only-routines.
2836
7c69cd14
JM
28372012-03-22 Joseph Myers <joseph@codesourcery.com>
2838
2839 [BZ #13892]
2840 * math/s_cexp.c: Include <float.h>.
2841 (__cexp): Handle exp result overflowing not necessarily
2842 overflowing both real and imaginary parts of result.
2843 * math/s_cexpf.c: Likewise.
2844 * math/s_cexpl.c: Likewise.
2845 * math/libm-test.inc (cexp_test): Add more tests.
2846 * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848
81b035fe
L
28492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 * include/link.h (ELFW): New macro.
2852 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2853 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2854
1da7940c
L
28552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2856
2857 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2858 with uint64_t.
2859
b749dbb9
L
28602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2861
2862 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2863 declaration.
2864 (struct La_x32_retval): Likewise.
2865
2ff87f3f
L
28662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 * sysdeps/x86_64/preconfigure.in: New file.
2869 * sysdeps/x86_64/preconfigure: New generated file.
2870
c0df8e69
JM
28712012-03-22 Joseph Myers <joseph@codesourcery.com>
2872
48e44791
JM
2873 [BZ #13824]
2874 * math/e_exp2l.c: Include <float.h>.
2875 (__ieee754_exp2l): Handle overflow and underflow cases
2876 separately. Only pass fractional part of argument to
2877 __ieee754_expl.
2878 * math/libm-test.inc (exp2_test): Add more tests.
2879
c0df8e69
JM
2880 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2881 negating x to take absolute value.
2882 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2883 Likewise.
2884 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2885 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2886 Likewise.
2887 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2888 computing low part if x was negated.
2889 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2890
c8e43ba7
L
28912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2892
2893 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2894 la_x32_gnu_pltexit.
2895 (pltexit): Cast int_retval to ptrdiff_t.
2896 * elf/tst-auditmod3b.c: Likewise.
2897 * elf/tst-auditmod4b.c: Likewise.
2898 * elf/tst-auditmod5b.c: Likewise.
2899 * elf/tst-auditmod6b.c: Likewise.
2900 * elf/tst-auditmod6c.c: Likewise.
2901 * elf/tst-auditmod7b.c: Likewise.
2902
2903 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2904 and x32_gnu_pltexit.
2905
2906 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2907 __ELF_NATIVE_CLASS.
2908 (La_x32_regs): New macro.
2909 (La_x32_retval): Likewise.
2910 (la_x32_gnu_pltenter): New function prototype.
2911 (la_x32_gnu_pltexit): Likewise.
2912
7998fa78
AS
29132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2914
dcb33988
AS
2915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2916 exponent.
2917
233fc563
AS
2918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2919
7998fa78
AS
2920 * configure.in (libc_cv_cc_nofma): Check for option to disable
2921 generation of FMA instructions.
2922 * configure: Regenerate.
2923 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2924 * sysdeps/ieee754/dbl-64/Makefile: New file.
2925 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2926 Remove brandred-fma4.
2927 (CFLAGS-brandred-fma4.c): Remove.
2928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2929 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2930 define.
2931 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2932 define.
2933
8e95c99a
L
29342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2935
2936 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2937 LLONG_MAX != LONG_MAX.
2938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2939 (_fitoa_word): Likewise.
2940 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2941 LLONG_MAX != LONG_MAX.
2942 * stdio-common/_itowa.h: Include <_itoa.h>.
2943 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2944 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2945 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2946 only if not defined.
2947 (_ITOA_WORD_TYPE): Likewise.
2948 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2949 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2950
6f4db457
DM
29512012-03-21 David S. Miller <davem@davemloft.net>
2952
2953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2954
7785fe5a
L
29552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2958 of x86_64 when setting libc_cv_slibdir, libdir and
2959 libc_cv_localedir.
2960 * sysdeps/unix/sysv/linux/configure: Regenerated.
2961
4535cd55
JM
29622012-03-21 Joseph Myers <joseph@codesourcery.com>
2963
2964 * manual/lang.texi (Old Varargs): Remove section.
2965 (How Variadic): Update menu.
2966 (va_start): Do not mention varargs.h.
2967
17228132
TS
29682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2969 Joseph Myers <joseph@codesourcery.com>
2970
2971 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2972 link test.
2973 * configure: Regenerated.
2974
8149f976
TS
29752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2976
05f3d1f6
UD
2977 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2978 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2979 conformtest.pl
8149f976 2980
1a4ac776
JM
29812012-03-21 Joseph Myers <joseph@codesourcery.com>
2982
be22ce65
JM
2983 * NOTES: Remove.
2984 * Makefile (files-for-dist): Remove NOTES.
2985 (NOTES): Remove rule.
2986 * README: Don't refer to NOTES.
2987 * manual/creature.texi: Don't include macros.texi.
2988 * manual/intro.texi (creature.texi): Remove comment referring to
2989 NOTES.
2990
40b601fb
JM
2991 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2992 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2993 * configure: Regenerated.
2994 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2995 LIBC_TRY_CC_OPTION.
2996 (libc_cv_as_i686): Likewise.
2997 (libc_cv_cc_avx): Likewise.
2998 (libc_cv_cc_sse2avx): Likewise.
2999 (libc_cv_cc_fma4): Likewise.
3000 (libc_cv_cc_novzeroupper): Likewise.
3001 * sysdeps/i386/configure: Regenerated.
3002
1a4ac776
JM
3003 [BZ #13883]
3004 * sysdeps/i386/fpu/s_cexp.S: Remove.
3005 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3006 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3007 * math/libm-test.inc (cexp_test): Add more tests.
3008 * sysdeps/i386/fpu/libm-test-ulps: Update.
3009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3010
a458e7fe
AM
30112012-03-21 Allan McRae <allan@archlinux.org>
3012
3013 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3014
0cb7efc5
JM
30152012-03-21 Joseph Myers <joseph@codesourcery.com>
3016
3017 [BZ #13871]
3018 * math/w_exp2.c: Do not include <float.h>.
3019 (o_threshold, u_threshold): Remove.
3020 (__exp2): Calculate result before checking finiteness and calling
3021 __kernel_standard.
3022 * math/w_exp2f.c: Likewise.
3023 * math/w_exp2l.c: Likewise.
3024 * math/libm-test.inc (exp2_test): Require overflow exception for
3025 1e6 input.
2460d3aa
JM
3026
3027 [BZ #3866]
3028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3029 range of signed 64-bit integers before using fistpll. Remove
3030 checks for whether integers fit in mantissa bits.
3031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3032 the range of signed 32-bit integers before using fistpl. Remove
3033 checks for whether integers fit in mantissa bits.
3034 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3035 (__ieee754_powl): Test for y outside the range of signed 64-bit
3036 integers before using fistpll. Reduce 64-bit values to 63-bit
3037 ones as needed.
3038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3039 divide-by-zero is raised for zero to large negative powers.
3040 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3041 (__ieee754_powl): Test for y outside the range of signed 64-bit
3042 integers before using fistpll. Reduce 64-bit values to 63-bit
3043 ones as needed.
3044 * math/libm-test.inc (pow_test): Add more tests.
3045
eb96ffb0
L
30462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3047
3048 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3049 <stdio-common/_itoa.h>.
3050 * debug/segfault.c: Likewise.
3051 * elf/dl-cache.c: Likewise.
3052 * elf/dl-minimal.c: Likewise.
3053 * elf/dl-misc.c: Likewise.
3054 * elf/dl-sysdep.c: Likewise.
3055 * elf/dl-version.c: Likewise.
3056 * elf/rtld.c: Likewise.
3057 * hurd/hurdsock.c: Likewise.
3058 * hurd/lookup-retry.c: Likewise.
3059 * malloc/malloc.c: Likewise.
3060 * malloc/mtrace.c: Likewise.
3061 * nscd/nscd_getgr_r.c: Likewise.
3062 * nscd/nscd_getpw_r.c: Likewise.
3063 * nscd/nscd_getserv_r.c: Likewise.
3064 * posix/getopt_init.c: Likewise.
3065 * posix/wordexp.c: Likewise.
3066 * stdio-common/_itoa.c: Likewise.
3067 * stdio-common/printf_fphex.c: Likewise.
3068 * stdio-common/vfprintf.c: Likewise.
3069 * string/_strerror.c: Likewise.
3070 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3071 * sysdeps/i386/i686/hp-timing.h: Likewise.
3072 * sysdeps/mach/_strerror.c: Likewise.
3073 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3074 * sysdeps/mach/hurd/sethostid.c: Likewise.
3075 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3076 * sysdeps/mach/xpg-strerror.c: Likewise.
3077 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3078 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3079 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3080 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3082 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3083 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3084 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3085 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3086 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3087 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3088 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3089 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3090 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3091 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3092 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3095 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3096 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3097 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3098
3099 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3100
3101 * stdio-common/_itoa.h: Moved to ...
3102 * sysdeps/generic/_itoa.h: Here.
3103
3104 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3105
3106 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3107 instead of "_itoa.h" and "_itowa.h".
3108 * stdio-common/vfprintf.: Likewise.
3109
d1af992d
L
31102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3111
3112 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3113 <bits/wordsize.h>.
3114 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3115 (__signbit): Likwise.
3116 (llrintf): Likwise.
3117 (llrint): Likwise.
3118
114883e0
L
31192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3120
3121 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3122 __WORDSIZE != 64.
3123
c135cc1b
JM
31242012-03-20 Joseph Myers <joseph@codesourcery.com>
3125
3126 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3127 OVERFLOW_EXCEPTION_OK.
3128 * math/libm-test.inc ("Philosophy"): Update comment about
3129 exception testing.
3130 (OVERFLOW_EXCEPTION): Define.
3131 (OVERFLOW_EXCEPTION_OK): Likewise.
3132 (INVALID_EXCEPTION_OK): Renumber.
3133 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3134 (IGNORE_ZERO_INF_SIGN): Likewise.
3135 (test_exceptions): Handle FE_OVERFLOW.
3136 (exp10_test): Expect overflow exceptions.
3137 (exp2_test): Likewise.
3138 (expm1_test): Likewise.
3139 (nextafter_test): Likewise.
3140 (pow_test): Likewise.
3141 (scalbn_test): Likewise.
3142 (scalbln_test): Likewise.
3143
95443d88
L
31442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 * sysdeps/x86_64/bits/atomic.h
3147 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3148 64bit integer.
3149 (atomic_exchange_acq): Likewise.
3150 (__arch_exchange_and_add_body): Likewise.
3151 (__arch_add_body): Likewise.
3152 (atomic_add_negative): Likewise.
3153 (atomic_add_zero): Likewise.
3154
490df6c4
L
31552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3156
c2722551 3157 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3158 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3159
5e52b189
L
31602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3163 Check __x86_64__ instead of __WORDSIZE.
3164
a9879d4c
L
31652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3166
3167 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3168
5df98260
DM
31692012-03-19 David S. Miller <davem@davemloft.net>
3170
e1497744
DM
3171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3172
5df98260
DM
3173 * sysdeps/sparc/fpu/fenv_private.h: New file.
3174 * sysdeps/sparc/fpu/math_private.h: Use it.
3175 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3176 Remove.
3177 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3178 (libc_feholdexcept_setroundl): Remove.
3179 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3180 Remove.
3181 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3182 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3183
b4c35121
L
31842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3187 int64_t instead of long int.
3188 (INSERT_WORDS64): Likwise.
3189
56965fd7
L
31902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3193 _Unwind_GetCFA return to _Unwind_Ptr first.
3194
83d1aec8
JM
31952012-03-19 Joseph Myers <joseph@codesourcery.com>
3196
1897ad44
JM
3197 [BZ #13629]
3198 * math/s_clog.c: Include <float.h>.
3199 (__clog): Scale large or subnormal inputs.
3200 * math/s_clogf.c: Likewise.
3201 * math/s_clogl.c: Likewise.
3202 * math/s_clog10.c: Include <float.h>.
3203 (M_LOG10_2): Define.
3204 (__clog10): Scale large or subnormal inputs.
3205 * math/s_clog10f.c: Likewise.
3206 * math/s_clog10l.c: Likewise.
3207 * math/libm-test.inc (clog_test): Add more tests.
3208 (clog10_test): Likewise.
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3211
7726d6a9
JM
3212 [BZ #11451]
3213 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3214 x and y.
3215 * math/libm-test.inc (atan2_test): Add another test.
3216
83d1aec8
JM
3217 * Makerules (common-objdir-compile): Remove.
3218 * sysdeps/unix/Makefile (config-generated): Do not add
3219 $(unix-generated) to variable.
3220 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3221 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3222 Remove rule.
3223 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3224 Likewise.
3225 [generic bits/local_lim.h] (before-compile): Do not append to
3226 variable.
3227 [generic bits/local_lim.h] (common-generated): Likewise.
3228 [generic sys/param.h] (before-compile): Do not append to variable.
3229 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3230 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3231 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3232 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3233 include.
3234 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3235 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3236 [generic sys/param.h] ($(addprefix
3237 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3238 [generic sys/param.h] (common-generated): Do not append to
3239 variable.
3240 [generic sys/param.h] (sysdep_headers): Likewise.
3241 [generic bits/errno.h] (before-compile): Do not append to
3242 variable.
3243 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3244 rule.
3245 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3246 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3247 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3248 [generic bits/errno.h] (common-generated): Do not append to
3249 variable.
3250 [generic bits/ioctls.h] (before-compile): Do not append to
3251 variable.
3252 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3253 rule.
3254 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3255 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3256 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3257 rule.
3258 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3259 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3260 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3261 [generic bits/ioctls.h] (common-generated): Do not append to
3262 variable.
3263 [generic sys/syscall.h] (syscall.h): Remove variable.
3264 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3265 rule.
3266 [generic sys/syscall.h] (before-compile): Do not append to
3267 variable.
3268 [generic sys/syscall.h] (common-generated): Likewise.
3269 * sysdeps/unix/errnos-tmpl.c: Remove file.
3270 * sysdeps/unix/errnos.awk: Likewise.
3271 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3272 * sysdeps/unix/ioctls.awk: Likewise.
3273 * sysdeps/unix/mk-local_lim.c: Likewise.
3274 * sysdeps/unix/snarf-ioctls: Likewise.
3275
4851a949
RH
32762012-03-19 Richard Henderson <rth@twiddle.net>
3277
bd37f2ee
RH
3278 * sysdeps/i386/fpu/fenv_private.h: New file.
3279 * sysdeps/i386/fpu/math_private.h: Use it.
3280 (math_opt_barrier, math_force_eval): Remove.
3281 (libc_feholdexcept_setround_53bit): Remove.
3282 (libc_feupdateenv_53bit): Remove.
3283 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3284 (math_opt_barrier, math_force_eval): Remove.
3285 (libc_feholdexcept): Remove.
3286 (libc_feholdexcept_setround): Remove.
3287 (libc_fetestexcept, libc_fesetenv): Remove.
3288 (libc_feupdateenv_test): Remove.
3289 (libc_feupdateenv, libc_feholdsetround): Remove.
3290 (libc_feresetround): Remove.
3291
d0adc922
RH
3292 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3293 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3294
0fe0f1f8
RH
3295 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3296 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3297 (libc_feupdateenv_testl): New.
3298 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3299 (libc_feupdateenv_testf): New.
3300 (libc_feupdateenv): Use libc_feupdateenv_test.
3301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3303
eb92c487
RH
3304 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3305 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3306 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3307 (libc_feresetround_noex): New.
3308 (libc_feresetround_noexf): New.
3309 (libc_feresetround_noexl): New.
3310 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3311 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3312 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3314 SET_RESTORE_ROUND.
3315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3316 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3317 (__cos): Likewise.
3318 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3319 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3320 SET_RESTORE_ROUND_NOEX.
3321 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3322 SET_RESTORE_ROUND_NOEXF.
3323 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3324 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3325 (libc_feholdsetroundf): New.
3326 (libc_feresetround, libc_feresetroundf): New.
3327
7d2e8012
RH
3328 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3329 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3330 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3331
b4dabbb4
RH
3332 * sysdeps/generic/math_private.h: Include <fenv.h>.
3333 (default_libc_feholdexcept): New.
3334 (default_libc_feholdexcept_setround): New.
3335 (default_libc_fesetenv, default_libc_feupdateenv): New.
3336 (libc_feholdexcept): Only define if undefined.
3337 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3338 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3339 (libc_feholdexcept_setroundl): Likewise.
3340 (libc_feholdexcept_setround_53bit): Likewise.
3341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3342 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3343 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3344 (libc_feupdateenv_53bit): Likewise.
3345 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3346 (libc_feholdexcept): Convert from macro to inline function.
3347 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3348 (libc_fesetenv, libc_feupdateenv): Likewise.
3349
4851a949
RH
3350 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3351 not previously defined.
3352 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3353 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3354 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3355 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3356 * sysdeps/ieee754/flt-32/math_private.h: New file.
3357 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3358 math_private.h below SET_FLOAT_WORD.
3359 (__isnan, __isinf_ns, __finite): Remove.
3360 (__isnanf, __isinf_nsf, __finitef): Remove.
3361
e79d442e
AS
33622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3363
3364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3365
90b80344
DM
33662012-03-17 David S. Miller <davem@davemloft.net>
3367
3368 [BZ #6471]
3369 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3370 for 2.16.
3371
edc21804
DM
33722012-03-16 David S. Miller <davem@davemloft.net>
3373
77e927af
DM
3374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3375 warnings.
3376
374976dd
DM
3377 [BZ #6471]
3378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3379 properly.
3380 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3381 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3382 sysdep_routines when subdir is sysvipc.
3383 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3384 __getshmlba helper.
3385
edc21804
DM
3386 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3387
473c3ef3
L
33882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3389
3390 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3391 [__LP64__].
3392
eb0f39b6
L
33932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3396 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3397 (__lround): Renamed to ...
3398 (__llround): This. Replace long int with long long int.
3399 Define lround functions as aliases of llround functions.
3400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3401
6b6cd74b
L
34022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3405 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3406 adresses to uintptr_t. Replace "long int" and "unsigned long
3407 int" with "greg_t" on va_arg.
3408
f1a77b01
L
34092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3412 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3413
3414 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3415 Move e_machine check before EI_CLASS check. Handle x32
3416 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3417 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3418 SKIP_EM_IA_64 and include
3419 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3420
3421 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3422 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3423 (add_system_dir): New macro.
3424
3425 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3426 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3427
11b90b9f
JM
34282012-03-16 Joseph Myers <joseph@codesourcery.com>
3429
c36e1d23
JM
3430 [BZ #2551]
3431 [BZ #2552]
3432 [BZ #2553]
3433 [BZ #2554]
3434 [BZ #2562]
3435 [BZ #2563]
3436 [BZ #2565]
3437 [BZ #2566]
3438 [BZ #2576]
3439 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3440 (y0): Likewise.
3441 * math/w_j0f.c (j0f): Likewise.
3442 (y0f): Likewise.
3443 * math/w_j0l.c (__j0l): Likewise.
3444 (__y0l): Likewise.
3445 * math/w_j1.c (j1): Likewise.
3446 (y1): Likewise.
3447 * math/w_j1f.c (j1f): Likewise.
3448 (y1f): Likewise.
3449 * math/w_j1l.c (__j1l): Likewise.
3450 (__y1l): Likewise.
3451 * math/w_jn.c (jn): Likewise.
3452 (yn): Likewise.
3453 * math/w_jnf.c (jnf): Likewise.
3454 (ynf): Likewise.
3455 * math/w_jnl.c (__jnl): Likewise.
3456 (__ynl): Likewise.
3457 * math/libm-test.inc (j0_test): Add more tests.
3458 (j1_test): Likewise.
3459 (jn_test): Likewise. Add trailing semicolon to existing test.
3460 (y0_test): Likewise.
3461 (y1_test): Likewise.
3462 * sysdeps/i386/fpu/libm-test-ulps: Update.
3463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3464
11b90b9f
JM
3465 [BZ #13851]
3466 [BZ #13854]
3467 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3468 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3469 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3471 (__tanl): Set errno for infinite argument.
3472 * sysdeps/i386/fpu/mptan.c: Remove.
3473 * sysdeps/i386/fpu/s_tan.S: Likewise.
3474 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3475 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3476 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3477 * math/libm-test.inc (tan_test): Add more tests and enable more
3478 tests for double and long double.
3479 * sysdeps/i386/fpu/libm-test-ulps: Update.
3480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481
6a1bd2a1
JK
34822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3483
3484 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3485 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3486
10a803e0
RM
34872012-03-16 Roland McGrath <roland@hack.frob.com>
3488
3489 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3490 * configure.in: Use it for both main tree and add-ons.
3491 * configure: Regenerated.
3492
f196c7f7
L
34932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3494
3495 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3496
8848d99d
JM
34972012-03-16 Joseph Myers <joseph@codesourcery.com>
3498
96cbe7f4
JM
3499 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3500 in comment.
3501
8848d99d
JM
3502 [BZ #13851]
3503 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3504 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3505 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3508 infinite argument.
3509 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3511 != 0 for prec == 2.
3512 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3513 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3514 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3515 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3516 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3517 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3518 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3519 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3520 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3521 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3522 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3523 * math/libm-test.inc (cos_test): Add more tests and enable more
3524 tests for long double.
3525 (sin_test): Likewise.
3526 (sincos_test): Likewise.
3527 * sysdeps/i386/fpu/libm-test-ulps: Update.
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3529
dd7f4703
DM
35302012-03-16 David S. Miller <davem@davemloft.net>
3531
3532 * sysdeps/sparc/fpu/math_private.h: New file.
3533
006f1daa
DM
35342012-03-15 David S. Miller <davem@davemloft.net>
3535
c0c83bc8
DM
3536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3537 file.
e6a62e18 3538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3540 file.
e6a62e18
DM
3541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3547 sysdep routines.
3548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3549
88cb87d9
DM
3550 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3551 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3552
006f1daa 3553 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3555 sparc-ifunc.h
006f1daa 3556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3558 Likewise.
3559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3560 Likewise.
006f1daa
DM
3561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3565 Likewise.
006f1daa
DM
3566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3571 Likewise.
3572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3573 Likewise.
006f1daa
DM
3574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3598
11e0098e
AS
35992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3600
3601 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3602 scaling.
3603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3604
e85b09d0
AJ
36052012-03-15 Andreas Jaeger <aj@suse.de>
3606
3607 [BZ #13852]
3608 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3609 ieee754/flt-32 implementation for sin, cos and sincos.
3610 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3611 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3612 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3613 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3614 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3615 ieee754/flt-32 implementation for tan.
3616
3617 * math/libm-test.inc (cos_test): Enable some large input tests for
3618 float as well
3619 (sin_test): Likewise.
3620 (sincos_test): Likewise.
3621 (tan_test): Add tests for large input.
3622
3623 * sysdeps/i386/fpu/libm-test-ulps: Update.
3624
81c64153
AJ
36252012-03-15 Andreas Jaeger <aj@suse.de>
3626
3627 [BZ #13658]
3628 * math/libm-test.inc (cos_test): Add more test cases.
3629 (sin_test): Likewise.
3630 (sincos_test): Likewise.
3631
7bbfa5c6
AJ
36322012-03-15 Andreas Jaeger <aj@suse.de>
3633
3634 [BZ #13837]
3635 * math/libm-test.inc (cos_test): Add a test case for large input
3636 value.
3637 (sin_test): Likewise.
3638 (sincos_test): Likewise.
3639
36402012-03-15 Andreas Jaeger <aj@suse.de>,
3641 Joseph Myers <joseph@codesourcery.com>
3642
3643 [BZ #13658]
0671f479 3644 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3645 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3646 * sysdeps/i386/fpu/branred.c: Likewise.
3647 * sysdeps/i386/fpu/dosincos.c: Likewise.
3648 * sysdeps/i386/fpu/mpa.c: Likewise.
3649 * sysdeps/i386/fpu/s_cos.S: Likewise.
3650 * sysdeps/i386/fpu/s_sin.S: Likewise.
3651 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3652 * sysdeps/i386/fpu/sincos32.c: Likewise.
3653
3654 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3655 Define.
3656 (libc_feupdateenv_53bit): Define.
3657 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3658 Define.
3659 (libc_feupdateenv_53bit): Define.
3660
3661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3662 53 bit (without extend i386 double precision).
3663
3664 * math/libm-test.inc (sincos_test): Add tests for large input.
3665 (sin): Likewise.
3666 (cos): Likewise.
3667
3668 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3669
9cad04ea
AS
36702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3673
f7062b9a
DM
36742012-03-15 David S. Miller <davem@davemloft.net>
3675
3676 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3677 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3678 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3679 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3692 file.
f7062b9a 3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3695 file.
f7062b9a 3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3698 file.
f7062b9a 3699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3701 file.
f7062b9a
DM
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3704 fmin/fmax sysdep routines.
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3706
7bd951ff
DM
37072012-03-14 David S. Miller <davem@davemloft.net>
3708
559398ab
DM
3709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3738 routines.
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3740 file.
559398ab 3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3743 file.
559398ab 3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3746 file.
559398ab 3747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3749 file.
559398ab 3750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3752 file.
559398ab 3753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3755 file.
3756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3757 file.
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3759 file.
3760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3761 file.
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3763 New file.
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3765 file.
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3767 file.
559398ab 3768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3770 file.
559398ab 3771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3773 file.
559398ab 3774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3776 file.
559398ab 3777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3779 VIS3 routines.
559398ab
DM
3780
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3782 New file.
3783
5a1c1e32
DM
3784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3785
eae47a36
DM
3786 * sysdeps/sparc/configure.in: New file.
3787 * sysdeps/sparc/configure: Generate.
3788 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3789 * configure: Regenerate.
3790 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3791 * config.make.in (have-as-vis3): New.
3792 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3793 available use -Av9d instead of -Av9a.
3794 * sysdeps/sparc/sparc64/Makefile: Likewise.
3795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3797 New file.
3798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3799 file.
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3801 New file.
3802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3803 file.
eae47a36
DM
3804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3809
c0c83bc8
DM
3810 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3811 fzeros/fnegs to load 0x80000000 into a float register instead of
3812 using the stack.
7bd951ff
DM
3813 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3814
bd951ccb
JM
38152012-03-14 Joseph Myers <joseph@codesourcery.com>
3816
3817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3818 bits/syscall.h.
3819 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3820 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3821 ($(inst_includedir)/bits/syscall.h): Remove rule.
3822 ($(objpfx)bits/syscall.d): Include instead of
3823 $(objpfx)syscall-list.d.
3824 (generated): Change syscall-list.h and syscall-list.d to
3825 bits/syscall.h and bits/syscall.d.
3826
bb4e6db2
RM
38272012-03-14 Roland McGrath <roland@hack.frob.com>
3828
3829 [BZ #13846]
3830 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3831
aa4a2ae1
JM
38322012-03-14 Joseph Myers <joseph@codesourcery.com>
3833
e456826d
JM
3834 [BZ #13841]
3835 * math/s_csqrt.c: Include <float.h>.
3836 (__csqrt): Scale large or subnormal inputs.
3837 * math/s_csqrtf.c: Likewise.
3838 * math/s_csqrtl.c: Likewise.
3839 * math/libm-test.inc (csqrt_test): Add more tests.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842
aa4a2ae1
JM
3843 [BZ #13840]
3844 * math/libm-test.inc (hypot_test): Add more tests.
3845
7c10fd35
DM
38462012-03-13 David S. Miller <davem@davemloft.net>
3847
3848 [BZ #13840]
3849 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3850 double-precision for the calculation instead of scaling.
3851
f453b98b
JM
38522012-03-13 Joseph Myers <joseph@codesourcery.com>
3853
3854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3855 manipulate bits before adding and subtracting TWO52[sx].
3856 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3858 Likewise.
3859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3860
09a3453f
DM
38612012-03-13 David S. Miller <davem@davemloft.net>
3862
8e59da90
DM
3863 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3864 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3866 rtld-global-offsets.h
3867 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3868
2a8ab7f2
DM
3869 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3870 large parameters.
3871
10f62770
DM
3872 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3873
5f0bdb18
DM
3874 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3875 'err' in the ifdef scope in which it is actually used.
3876
09a3453f
DM
3877 * nss/nss_db/db-init.c: Include string.h
3878
b4b2eb5e
DM
38792012-03-12 David S. Miller <davem@davemloft.net>
3880
98bb2f1c
DM
3881 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3882 masking out of the most significant byte of random value used.
3883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3884 Fix coding style in previous change.
3885
b4b2eb5e
DM
3886 * sysdeps/unix/sysv/linux/kernel-features.h
3887 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3888 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3889 expression.
3890 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3891 later.
3892
6e226b09
DM
38932012-03-11 David S. Miller <davem@davemloft.net>
3894
a1bcbd40
DM
3895 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3896 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3897 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3898 for 'resultvar' otherwise things get truncated on 64-bit.
3899
cb9d6174
DM
3900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3901 Fix masking out of the most significant byte of random value used.
3902
6e226b09
DM
3903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3904
058c132d
AS
39052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3906
3907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3908
2d2cd515
DM
39092012-03-09 David S. Miller <davem@davemloft.net>
3910
3911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3912 variables with appropriate CPP guards.
3913 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3914 frame pointer, not the stack pointer. Correct layout comments. Fix test
3915 on resulting framesize and the management of the outregs buffer for pltexit.
3916 Preserve floating point return values across _dl_call_pltexit call.
3917 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3918 framesize and the management of the outregs buffer for pltexit.
3919 Preserve floating point return values across _dl_call_pltexit
3920 call.
3921 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3922 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3923 (print_exit): Fix format string for return register value.
3924
9a07f9d0
JM
39252012-03-10 Joseph Myers <joseph@codesourcery.com>
3926
3927 * sunrpc/Makefile (others): Add rpcgen.
3928 ($(objpfx)rpcgen): Remove special build rule and dependency on
3929 libc.
3930 * sunrpc/rpcgen.c: New file.
3931
547b5e30
PE
39322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3933
c524201a
PE
3934 [BZ #13673]
3935 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3936 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3937 * sysdeps/i386/crti.S: Likewise.
3938 * sysdeps/i386/crtn.S: Likewise.
3939 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3940 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3943 * sysdeps/sh/crti.S: Likewise.
3944 * sysdeps/sh/crtn.S: Likewise.
3945 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3946
7b6235f2
PE
3947 [BZ #13673]
3948 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3949 with URL.
3950 * locale/programs/locfile-kw.gperf: Likewise.
3951 * locale/programs/charmap-kw.h: Regenerated.
3952 * locale/programs/locfile-kw.h: Likewise.
3953
547b5e30
PE
3954 [BZ #13673]
3955 * intl/plural.y: Replace FSF snail mail address with URL.
3956 * intl/plural.c: Regenerated.
3957
5f0a5dae
RH
39582012-03-09 Richard Henderson <rth@twiddle.net>
3959
3960 * include/math_private.h: Remove file.
3961 * math/math_private.h: Move file ...
3962 * sysdeps/generic/math_private.h: ... here.
3963
b8c03620
RH
3964 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3965 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3966 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3967
4e234f5d 3968 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3969 and <math_private.h>.
3970 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3971 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3972 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3973 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3974 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4058 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4061 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4064 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4067 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4070 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4071 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4072 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4075 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4082 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4084 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4086 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4087 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4090 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4091 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4093 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4094 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4095 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4097 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4098 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4099 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4100 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4101 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4103 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4104 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4105 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4108 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4113 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4114 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4118 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4119 * sysdeps/ieee754/k_standard.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4247 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4252 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4269 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4270 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4280 * sysdeps/ieee754/s_lib_version.c: Likewise.
4281 * sysdeps/ieee754/s_matherr.c: Likewise.
4282 * sysdeps/ieee754/s_signgam.c: Likewise.
4283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4285 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4286 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4287 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4289 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4290 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4291 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4292 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4293 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4294 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4297 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4298 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4300 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4304
1991fa03
JM
43052012-03-09 Joseph Myers <joseph@codesourcery.com>
4306
4307 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4308 * sunrpc/rpc_main.c: Likewise.
4309 * sunrpc/rpc_svcout.c: Likewise.
4310
60d6f5a6
DM
43112012-03-09 David S. Miller <davem@davemloft.net>
4312
4313 * include/math_private.h: New file.
4314
4962050e
JM
43152012-03-09 Joseph Myers <joseph@codesourcery.com>
4316
02a6f887
JM
4317 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4318 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4319 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4320 from <bits/socket_type.h>.
4321 (enum __socket_type): Don't define here.
4322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4324 bits/socket_type.h.
4325
c6e013c1
JM
4326 [BZ #13566]
4327 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4328 checking __USE_GNU.
4329
4962050e
JM
4330 * Makerules ($(inst_includedir)/%.h): New rule.
4331 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4332 (install-others): Remove variable setting.
4333 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4334
38842f45
RH
43352012-03-08 Richard Henderson <rth@twiddle.net>
4336
67bb6da6
RH
4337 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4338 from macro to inline function; merge with the
4339 !__LIBC_INTERNAL_MATH_INLINES version.
4340 (__ieee754_sqrtf): Likewise.
4341
15194b4b
RH
4342 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4343 to inline function.
4344 (__rintf, __floor, __floorf): Likewise.
4345
64e21ede
RH
4346 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4347 macro to inline function.
4348 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4349
38842f45
RH
4350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4351 not <math/math_private.h>.
4352
c64bf5fe
DM
43532012-03-08 David S. Miller <davem@davemloft.net>
4354
4355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4356 copyright year.
4357 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4358
82d86f28
TS
43592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4360
4361 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4362 normalization.
4363 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4364 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4365
aea5d727
UD
43662012-03-08 Ulrich Drepper <drepper@gmail.com>
4367
4368 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4369 be defined individually, they must be defined as a block. Define
4370 S for printing a string instead of hidint the different by using a
4371 macro for adding the 'l'.
4372 * stdio-common/tst-fphex-wide.c: Adjust.
4373
70bca0a3
MP
43742012-03-07 Marek Polacek <polacek@redhat.com>
4375
4376 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4377
65b81130
MP
43782012-03-08 Marek Polacek <polacek@redhat.com>
4379
4380 [BZ #13806]
4381 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4382 * stdio-common/tst-fphex.c: Define a few macros to make the
4383 test reusable. Use them.
4384 * stdio-common/tst-fphex-wide.c: New file.
4385
07037eeb
JM
43862012-03-08 Joseph Myers <joseph@codesourcery.com>
4387
a7a93d50
JM
4388 [BZ #6911]
4389 * manual/macros.texi (gnusystems): New macro.
4390 (nongnusystems): Likewise.
4391 (gnulinuxhurdsystems): Likewise.
4392 (gnuhurdsystems): Likewise..
4393 (gnulinuxsystems): Likewise.
4394 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4395 variants of the GNU system, not "GNU system".
4396 * manual/conf.texi: Likewise.
4397 * manual/errno.texi: Likewise. Update example of errno macro
4398 expansion.
4399 * manual/filesys.texi: Likewise.
4400 (getumask): Document as specific to GNU/Hurd.
4401 * manual/install.texi: Likewise. Reword some references to
4402 GNU/Linux.
4403 * manual/intro.texi: Likewise.
4404 * manual/io.texi: Likewise.
4405 (File Name Portability): Detail which constraints are inapplicable
4406 to all GNU systems and which are only inapplicable to GNU/Hurd.
4407 * manual/job.texi: Likewise.
4408 * manual/llio.texi: Likewise.
4409 (O_NOCTTY): Document as present on GNU/Linux.
4410 * manual/maint.texi: Likewise.
4411 * manual/memory.texi: Likewise.
4412 * manual/pattern.texi: Likewise.
4413 * manual/pipe.texi: Likewise.
4414 * manual/process.texi: Likewise.
4415 * manual/resource.texi: Likewise.
4416 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4417 child on GNU/Hurd.
4418 * manual/setjmp.texi: Likewise.
4419 * manual/signal.texi: Likewise.
4420 * manual/startup.texi: Likewise.
4421 * manual/stdio.texi: Likewise.
4422 * manual/terminal.texi: Likewise.
4423 (ONLCR): Document as POSIX.
4424 (OXTABS): Document availability on GNU/Linux as XTABS.
4425 (ONOEOT): Document availability separately from other bits.
4426 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4427 * manual/time.texi: Likewise.
4428 * manual/users.texi: Likewise.
4429 * INSTALL: Regenerated.
4430 * sysdeps/gnu/errlist.c: Regenerated.
4431
07037eeb
JM
4432 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4433 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4434 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4435 puts.
4436 * configure: Regenerated.
4437
d1d3431a
JM
44382012-03-07 Joseph Myers <joseph@codesourcery.com>
4439
af6a1e37
JM
4440 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4441 default includes instead of AC_HEADER_CHECK.
4442 * sysdeps/i386/configure: Regenerated.
4443
d1d3431a
JM
4444 [BZ #10716]
4445 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4446 * math/s_cacoshf.c (__cacoshf): Likewise.
4447 * math/s_cacoshl.c (__cacoshl): Likewise.
4448 * math/s_casinh.c (__casinh): Set signs of result from argument.
4449 * math/s_casinhf.c (__casinhf): Likewise.
4450 * math/s_casinhl.c (__casinhl): Likewise.
4451 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4452 (casinh_test): Add more tests.
4453 * sysdeps/i386/fpu/libm-test-ulps: Update.
4454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4455
482ff4da
UD
44562012-03-07 Ulrich Drepper <drepper@gmail.com>
4457
872fda05
UD
4458 * po/zh_TW.po: Update from translation team.
4459
a4300c7a
UD
4460 * login/Makefile (distribute): Remove variable.
4461 * catgets/Makefile: Likewise.
4462 * mach/Makefile: Likewise.
4463 * malloc/Makefile: Likewise.
4464 * misc/Makefile: Likewise.
4465 * iconv/Makefile: Likewise.
4466 * nscd/Makefile: Likewise.
4467 * hurd/Makefile: Likewise.
4468 * manual/Makefile: Likewise.
4469 * locale/Makefile: Likewise.
4470 * intl/Makefile: Likewise.
4471 * conform/Makefile: Likewise.
4472 * nss/Makefile: Likewise.
4473 * time/Makefile: Likewise.
4474 * soft-fp/Makefile: Likewise.
4475 * dirent/Makefile: Likewise.
4476 * gmon/Makefile: Likewise.
4477 * po/Makefile: Likewise.
4478 * rt/Makefile: Likewise.
4479 * socket/Makefile: Likewise.
4480 * math/Makefile: Likewise.
4481 * signal/Makefile: Likewise.
4482 * debug/Makefile: Likewise.
4483 * elf/Makefile: Likewise.
4484 * timezone/Makefile: Likewise.
4485 * stdlib/Makefile: Likewise.
4486 * iconvdata/Makefile: Likewise.
4487 * sunrpc/Makefile: Likewise.
4488 * io/Makefile: Likewise.
4489 * argp/Makefile: Likewise.
4490 * inet/Makefile: Likewise.
4491 * hesiod/Makefile: Likewise.
4492 * grp/Makefile: Likewise.
4493 * csu/Makefile: Likewise.
4494 * wctype/Makefile: Likewise.
4495 * crypt/Makefile: Likewise.
4496 * libio/Makefile: Likewise.
4497 * string/Makefile: Likewise.
4498 * nis/Makefile: Likewise.
4499 * resolv/Makefile: Likewise.
4500 * stdio-common/Makefile: Likewise.
4501 * wcsmbs/Makefile: Likewise.
4502 * dlfcn/Makefile: Likewise.
4503 * posix/Makefile: Likewise.
4504
3b7c4e74 4505 [BZ #6959]
482ff4da
UD
4506 * timezone/Makefile: Don't install timezone files, just the programs
4507 and scripts.
4508
f72ed77d
UD
45092012-03-06 Ulrich Drepper <drepper@gmail.com>
4510
a000466f
UD
4511 * nss/databases.def: Add missing gshadow entry.
4512
f72ed77d
UD
4513 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4514
a53b7a4e
MP
45152012-03-06 Marek Polacek <polacek@redhat.com>
4516
4517 [BZ #13726]
4518 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4519 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4520 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4521 * stdio-common/tst-long-dbl-fphex.c: New file.
4522
e9258400
DM
45232012-03-06 David S. Miller <davem@davemloft.net>
4524
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4526 (set_obp_int): New function.
4527 (get_obp_int): New function.
4528 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4529 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4530 Avoid unused variable warnings on 'val' and use builtin_expect.
4531 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4532 __builtin_expect.
e9258400
DM
4533 (INLINE_CLONE_SYSCALL): Likewise.
4534
3bd2c723
DM
45352012-03-05 David S. Miller <davem@davemloft.net>
4536
4537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4538
bbb78d03
AS
45392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4540
884c5db4
AS
4541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4542
bbb78d03
AS
4543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4544 only for |x| >= 40.
4545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4546
1c9f702a 45472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4548
4549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4550 Replace gettimeofday with __vdso_gettimeofday.
4551
7be16f82
RM
4552 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4553 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4554 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4555
4556 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4557 time with __vdso_time.
4558
ed58a00f
JM
45592012-03-05 Joseph Myers <joseph@codesourcery.com>
4560
4561 * manual/lang.texi (size_t): Note types to which size_t may be
4562 equivalent with the GNU C Library, but do not describe when
4563 differences between them are significant.
4564
30ee4ced
AJ
45652012-03-05 Andreas Jaeger <aj@suse.de>
4566
4567 * sysdeps/i386/fpu/libm-test-ulps: Update.
4568
b7cd39e8
JM
45692012-03-05 Joseph Myers <joseph@codesourcery.com>
4570
4571 [BZ #3976]
4572 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4573 (__ieee754_pow): Save and restore rounding mode and use
4574 round-to-nearest for main computations.
4575 * math/libm-test.inc (pow_test_tonearest): New function.
4576 (pow_test_towardzero): Likewise.
4577 (pow_test_downward): Likewise.
4578 (pow_test_upward): Likewise.
4579 (main): Call the new functions.
4580 * sysdeps/i386/fpu/libm-test-ulps: Update.
4581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4582
4583 [BZ #3976]
4584 * math/libm-test.inc (cosh_test_tonearest): New function.
4585 (cosh_test_towardzero): Likewise.
4586 (cosh_test_downward): Likewise.
4587 (cosh_test_upward): Likewise.
4588 (sinh_test_tonearest): Likewise.
4589 (sinh_test_towardzero): Likewise.
4590 (sinh_test_downward): Likewise.
4591 (sinh_test_upward): Likewise.
4592 (main): Call the new functions.
4593 * sysdeps/i386/fpu/libm-test-ulps: Update.
4594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4595
6c6a98c9
TV
45962012-03-05 Tom de Vries <tom@codesourcery.com>
4597
4598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4599 default stack guard is set in last bytes.
4600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4601
21bb2d2e 46022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4603
21bb2d2e 4604 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4605
21bb2d2e
AJ
4606 [BZ #13656]
4607 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4608 possibly allocate from heap instead of stack.
4609 * stdio-common/bug-vfprintf-nargs.c: New file.
4610 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4611
c6922934
AS
46122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4613
4614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4615
bc957d53
MP
46162012-03-03 Marek Polacek <polacek@redhat.com>
4617
4618 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4619 * math/math_private.h: Likewise.
4620 * stdlib/tst-strtod.c: Likewise.
4621 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4622 * sysdeps/x86_64/bits/atomic.h: Likewise.
4623
6358490d
DM
46242012-03-02 David S. Miller <davem@davemloft.net>
4625
4626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4630 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4631 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4632 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4633 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4634
01ae168d
RM
46352012-03-02 Roland McGrath <roland@hack.frob.com>
4636
d9a17c07
RM
4637 [BZ #13792]
4638 * manual/examples/README: New file, says the example source files
4639 can be used under GPL>=2.
4640 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4641 line containing just "*/".
4642 * manual/examples/add.c: Add copyright header (GPL>=2).
4643 * manual/examples/argp-ex1.c: Likewise.
4644 * manual/examples/argp-ex2.c: Likewise.
4645 * manual/examples/argp-ex3.c: Likewise.
4646 * manual/examples/argp-ex4.c: Likewise.
4647 * manual/examples/atexit.c: Likewise.
4648 * manual/examples/db.c: Likewise.
4649 * manual/examples/dir.c: Likewise.
4650 * manual/examples/dir2.c: Likewise.
4651 * manual/examples/execinfo.c: Likewise.
4652 * manual/examples/filecli.c: Likewise.
4653 * manual/examples/filesrv.c: Likewise.
4654 * manual/examples/fmtmsgexpl.c: Likewise.
4655 * manual/examples/genpass.c: Likewise.
4656 * manual/examples/inetcli.c: Likewise.
4657 * manual/examples/inetsrv.c: Likewise.
4658 * manual/examples/isockad.c: Likewise.
4659 * manual/examples/longopt.c: Likewise.
4660 * manual/examples/memopen.c: Likewise.
4661 * manual/examples/memstrm.c: Likewise.
4662 * manual/examples/mkfsock.c: Likewise.
4663 * manual/examples/mkisock.c: Likewise.
4664 * manual/examples/mygetpass.c: Likewise.
4665 * manual/examples/pipe.c: Likewise.
4666 * manual/examples/popen.c: Likewise.
4667 * manual/examples/rprintf.c: Likewise.
4668 * manual/examples/search.c: Likewise.
4669 * manual/examples/select.c: Likewise.
4670 * manual/examples/setjmp.c: Likewise.
4671 * manual/examples/sigh1.c: Likewise.
4672 * manual/examples/sigusr.c: Likewise.
4673 * manual/examples/stpcpy.c: Likewise.
4674 * manual/examples/strdupa.c: Likewise.
4675 * manual/examples/strftim.c: Likewise.
4676 * manual/examples/strncat.c: Likewise.
4677 * manual/examples/subopt.c: Likewise.
4678 * manual/examples/swapcontext.c: Likewise.
4679 * manual/examples/termios.c: Likewise.
4680 * manual/examples/testopt.c: Likewise.
4681 * manual/examples/testpass.c: Likewise.
4682 * manual/examples/timeval_subtract.c: Likewise.
4683
01ae168d
RM
4684 [BZ #13792]
4685 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4686 function to ...
4687 * manual/timeval_subtract.c.texi: ... here, new file.
4688
49efa33d
DM
46892012-03-02 David S. Miller <davem@davemloft.net>
4690
4691 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4692
28afd92d
JM
46932012-03-02 Joseph Myers <joseph@codesourcery.com>
4694
804360ed
JM
4695 [BZ #3976]
4696 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4697 (__sin): Save and restore rounding mode and use round-to-nearest
4698 for all computations.
4699 (__cos): Save and restore rounding mode and use round-to-nearest
4700 for all computations.
4701 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4702 <fenv.h>.
4703 (tan): Save and restore rounding mode and use round-to-nearest for
4704 all computations.
4705 * math/libm-test.inc (cos_test_tonearest): New function.
4706 (cos_test_towardzero): Likewise.
4707 (cos_test_downward): Likewise.
4708 (cos_test_upward): Likewise.
4709 (sin_test_tonearest): Likewise.
4710 (sin_test_towardzero): Likewise.
4711 (sin_test_downward): Likewise.
4712 (sin_test_upward): Likewise.
4713 (tan_test_tonearest): Likewise.
4714 (tan_test_towardzero): Likewise.
4715 (tan_test_downward): Likewise.
4716 (tan_test_upward): Likewise.
4717 (main): Call the new functions.
4718 * sysdeps/i386/fpu/libm-test-ulps: Update.
4719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4720
a6d06d7b
JM
4721 [BZ #10135]
4722 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4723 small n, then large n, before computing and testing k+n.
4724 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4726 Likewise.
4727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4728 Likewise.
4729 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4730 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4737 * math/libm-test.inc (scalbn_test): Add more tests.
4738 (scalbln_test): Likewise.
4739
07e12bb3
JM
4740 * manual/filesys.texi (mode_t): Describe constraints on size and
4741 signedness, not exact equivalence to a particular type.
4742 (ino_t): Likewise.
4743 (ino64_t): Likewise.
4744 (dev_t): Likewise.
4745 (nlink_t): Likewise.
4746 (blkcnt_t): Likewise.
4747 (blkcnt64_t): Likewise.
4748 * manual/llio.texi (off_t): Likewise.
4749
28afd92d
JM
4750 [BZ #3976]
4751 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4752 (__ieee754_exp): Save and restore rounding mode and use
4753 round-to-nearest for all computations.
4754 * math/libm-test.inc (exp_test_tonearest): New function.
4755 (exp_test_towardzero): Likewise.
4756 (exp_test_downward): Likewise.
4757 (exp_test_upward): Likewise.
4758 (main): Call the new functions.
4759 * sysdeps/i386/fpu/libm-test-ulps: Update.
4760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4761
b1eeb65d
CD
47622012-03-01 Chris Demetriou <cgd@google.com>
4763
4764 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4765 have predictable order.
4766
53362a4b
DM
47672012-03-01 David S. Miller <davem@davemloft.net>
4768
3c969083
DM
4769 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4770
759707de
DM
4771 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4772 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4773 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4775
dfdb8ff2
DM
4776 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4777 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4778 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4780 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4781 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4782 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4785
ead89f96
DM
4786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4787
7f66bd07
DM
4788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4789 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4791
53362a4b
DM
4792 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4801 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4802 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4805 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4808 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4809 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4810 * sysdeps/sparc/elf/configure: Regenerated.
4811
7b1902cb
JM
48122012-03-01 Joseph Myers <joseph@codesourcery.com>
4813
bec039bc
JM
4814 * configure.in (AS, LD): Require binutils 2.20 or later.
4815 * configure: Regenerated.
4816 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4817 as required minimum version.
4818 * INSTALL: Regenerated.
4819
7b1902cb
JM
4820 [BZ #2541]
4821 [BZ #4108]
4822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4823 before squaring exponent.
4824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4825 bottom long double and 27 bits of top long double before squaring
4826 exponent.
4827 * math/libm-test.inc (erfc_test): Add more tests.
4828 * sysdeps/i386/fpu/libm-test-ulps: Update.
4829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4831
f775c276
KT
48322012-03-01 Kai Tietz <ktietz@redhat.com>
4833
4834 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4835 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4836 containing bit-fields.
4837 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4838 * soft-fp/single.h (_FP_UNION_S): Likewise.
4839 * soft-fp/double.h (_FP_UNION_D): Likewise.
4840
5b8a4d4a
JM
48412012-02-29 Joseph Myers <joseph@codesourcery.com>
4842
0bab47b6
JM
4843 [BZ #13786]
4844 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4845 not include ../strcmp.S.
4846 [USE_AS_STRNCASECMP_L]: Likewise.
4847 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4848 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4849 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4850 (__strncasecmp_l_ia32): Define as alias to
4851 __strncasecmp_l_nonascii.
4852
0fcad3e2
JM
4853 [BZ #5794]
4854 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4855 * sysdeps/i386/fpu/libm-test-ulps: Update.
4856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857
5b8a4d4a
JM
4858 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4860
8fdceb2e
JL
48612012-02-29 Jeff Law <law@redhat.com>
4862
4863 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4864 out of bounds read.
4865
1f393a11
MP
48662012-02-29 Marek Polacek <polacek@redhat.com>
4867
4868 [BZ #13706]
4869 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4870 * elf/Makefile: Add rules to run tst-unused-dep.out.
4871
8847f037
DM
48722012-02-28 David S. Miller <davem@davemloft.net>
4873
4874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4880
169d7f11
JM
48812012-02-29 Joseph Myers <joseph@codesourcery.com>
4882
4883 * math/libm-test.inc (llround_test): Move one test from
4884 lround_test. Use TEST_f_L in moved test.
4885 (lround_test): Move misplaced test to llround_test. Add testcase
4886 from bug 2561.
4887
39adf059
UD
48882012-02-28 Ulrich Drepper <drepper@gmail.com>
4889
4890 * sysdeps/x86_64/fpu/e_expf.S: New file.
4891 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4892
71b5d1c5
SB
48932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4894
4895 [BZ #13637]
4896 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4897 of remain_len that may cause incomplete multi-byte character and
4898 false match.
4899 * posix/bug-regex33.c: New file.
4900 * posix/Makefile (tests): Add bug-regex33.
4901
1f77f049
JM
49022012-02-28 Joseph Myers <joseph@codesourcery.com>
4903
4904 * manual/macros.texi: New file.
4905 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4906 * manual/libc.texinfo: Include macros.texi.
4907 * manual/creatute.texi: Likewise.
4908 * manual/install.texi: Likewise.
4909 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4910 @glibcadj{} in references to the GNU C Library.
4911 * manual/charset.texi: Likewise.
4912 * manual/conf.texi: Likewise.
4913 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4914 when not using those macros.
4915 * manual/creature.texi: Likewise.
4916 * manual/crypt.texi: Likewise.
4917 * manual/errno.texi: Likewise.
4918 * manual/filesys.texi: Likewise.
4919 * manual/header.texi: Likewise.
4920 * manual/install.texi: Likewise.
4921 * manual/intro.texi: Likewise.
4922 * manual/io.texi: Likewise.
4923 * manual/job.texi: Likewise.
4924 * manual/lang.texi: Likewise.
4925 * manual/libc.texiinfo: Likewise.
4926 * manual/llio.texi: Likewise.
4927 * manual/locale.texi: Likewise.
4928 * manual/maint.texi: Likewise.
4929 * manual/math.texi: Likewise.
4930 * manual/memory.texi: Likewise.
4931 * manual/message.texi: Likewise.
4932 * manual/nss.texi: Likewise.
4933 * manual/pattern.texi: Likewise.
4934 * manual/process.texi: Likewise.
4935 * manual/resource.texi: Likewise.
4936 * manual/search.texi: Likewise.
4937 * manual/setjmp.texi: Likewise.
4938 * manual/signal.texi: Likewise.
4939 * manual/socket.texi: Likewise.
4940 * manual/startup.texi: Likewise.
4941 * manual/stdio.texi: Likewise.
4942 * manual/string.texi: Likewise.
4943 * manual/sysinfo.texi: Likewise.
4944 * manual/syslog.texi: Likewise.
4945 * manual/terminal.texi: Likewise.
4946 * manual/time.texi: Likewise.
4947 * manual/users.texi: Likewise.
4948 * INSTALL: Regenerated.
4949 * NOTES: Regenerated.
d40c5d54 4950 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4951
450bf206
AS
49522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4953
4954 * include/dirent.h: Include <dirstream.h> before
4955 <dirent/dirent.h>.
4956
741a235b
DM
49572012-02-28 David S. Miller <davem@davemloft.net>
4958
4959 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4960 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4963
d6b5aa58
DM
49642012-02-27 David S. Miller <davem@davemloft.net>
4965
1aff59a3
DM
4966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4968 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4969 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4970
d6b5aa58
DM
4971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4972 frame pointer instead of stack pointer relative arg slot.
4973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4976
433f48bf
CD
49772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4978
4979 [BZ #3992]
4980 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4981
d674b76d
DM
49822012-02-27 David S. Miller <davem@davemloft.net>
4983
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4990 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4992
0e7727f7
JM
49932012-02-27 Joseph Myers <joseph@codesourcery.com>
4994
4995 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4996 later. Allow versions 5-9.
43be4ca2 4997 * configure: Regenerated.
0e7727f7
JM
4998 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4999 required minimum version and 4.6 as recommended version. Do not
5000 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5001 * INSTALL: Regenerated.
0e7727f7 5002
a78bc654
DM
50032012-02-27 David S. Miller <davem@davemloft.net>
5004
428d5830
DM
5005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5011 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5013
a78bc654
DM
5014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5015 manipulate bits before adding and subtracting TWO112[sx].
5016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5017
4579f81c
RM
50182012-02-27 Roland McGrath <roland@hack.frob.com>
5019
36c8acb4
RM
5020 [BZ #13775]
5021 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5022 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5023 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5024 being in POSIX, because they are in 1003.1-2008.
5025
84ad622b
RM
5026 * rt/tst-aio.c: Include <fcntl.h>.
5027 * rt/tst-aio7.c: Likewise.
5028 * rt/tst-aio64.c: Likewise.
5029
4579f81c
RM
5030 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5031
abd923db
JM
50322012-02-27 Joseph Myers <joseph@codesourcery.com>
5033
5034 * manual/install.texi (--with-headers): Describe headers as
5035 interface headers, not private headers.
5036 (Specific advice for GNU/Linux systems): Describe use of headers
5037 from "make headers_install", not private headers from older
5038 kernels.
43be4ca2 5039 * INSTALL: Regenerated.
abd923db
JM
5040 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5041 Change to 2.6.19.
5042 * sysdeps/unix/sysv/linux/configure: Regenerated.
5043
6664049b
JM
5044 * manual/llio.texi (fclean): Remove documentation.
5045
bb8b6697
JM
5046 * manual/Makefile (libc-texi-generated): New variable. Include
5047 version.texi.
5048 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5049 $(libc-texi-generated), not duplicated list of files.
5050 (version.texi, stamp-version): New rules.
5051 (realclean): Remove $(libc-texi-generated), not individual files
5052 from that list. Do not remove dir-add.texinfo.
5053 * manual/libc.texinfo: Comment out uses of edition numbers and
5054 references to printed manual. Remove last-updated dates.
5055 (EDITION): Comment out.
5056 (ISBN): Likewise.
5057 (VERSION, UPDATED): Remove.
5058 (version.texi): Include.
5059
12e5c3b9
AS
50602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5061
5062 * sysdeps/posix/spawni.c: Include <signal.h>.
5063 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5064 * sysdeps/pthread/aio_fsync.c: Likewise.
5065
4efeffc1 50662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5067
ba63ba08
UD
5068 * conform/Makefile (tests): Run only when not cross-compiling and
5069 when fast-check is not defined.
5070
d94a4670
UD
5071 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5072 * conform/data/limits.h-data: Fixes for POSIX2008.
5073 * conform/run-conformtest.sh: Run all tests.
5074 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5075 headers.
5076 * include/bits/dlfcn.h: Likewise.
5077 * include/langinfo.h: Likewise.
5078 * include/monetary.h: Likewise.
5079 * include/sys/poll.h: Likewise.
5080
5081 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5082 for __USE_GNU.
5083 * posix/spawn.h: Define __need_sigset_t.
5084 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5085 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5086 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5087 to get sigevent_t only.
5088 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5089 only for __USE_GNU.
5090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5091 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5092 process_vm_writev only for __USE_GNU.
5093 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5094
5095 * conform/Makefile: For now ignore errors from run-conformtest.
5096 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5097 POSIX to avoid namespace pollution. Don't prepend headers.
5098 * conform/data/aio.h-data: Fixes for POSIX testing.
5099 * conform/data/fcntl.h-data: Likewise.
5100 * conform/data/glob.h-data: Likewise.
5101 * conform/data/grp.h-data: Likewise.
5102 * conform/data/pthread.h-data: Likewise.
5103 * conform/data/pwd.h-data: Likewise.
5104 * conform/data/signal.h-data: Likewise.
5105 * conform/data/spawn.h-data: Likewise.
5106 * conform/data/stdio.h-data: Likewise.
5107 * conform/data/stdlib.h-data: Likewise.
5108 * conform/data/stropts.h-data: Likewise.
5109 * conform/data/sys/mman.h-data: Likewise.
5110 * conform/data/sys/stat.h-data: Likewise.
5111 * conform/data/sys/types.h-data: Likewise.
5112 * conform/data/sys/wait.h-data: Likewise.
5113 * conform/data/time.h-data: Likewise.
5114 * conform/data/unistd.h-data: Likewise.
5115 * conform/data/utime.h-data: Likewise.
5116
5117 * io/sys/stat.h: fchmod was always in POSIX.
5118 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5119 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5120 * rt/aio.h: Define __need_timespec before including <time.h>.
5121 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5122 struct. Add forward declaration of pthread_attr_t and use it in
5123 sigevent.
5124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5126 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5127 always remove CLK_TCK definition.
5128
c20105c3
AS
51292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5130
5131 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5132
7a270350
UD
51332012-02-25 Ulrich Drepper <drepper@gmail.com>
5134
31341567
UD
5135 * conform/run-conformtest.sh: New file.
5136 * conform/Makefile: Run run-conformtest for tests.
5137 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5138 support.
5139
5140 * conform/data/uchar.h-data: New file.
5141 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5142 * conform/data/arpa/inet.h-data: Likewise.
5143 * conform/data/assert.h-data: Likewise.
5144 * conform/data/complex.h-data: Likewise.
5145 * conform/data/cpio.h-data: Likewise.
5146 * conform/data/ctype.h-data: Likewise.
5147 * conform/data/dirent.h-data: Likewise.
5148 * conform/data/dlfcn.h-data: Likewise.
5149 * conform/data/errno.h-data: Likewise.
5150 * conform/data/fcntl.h-data: Likewise.
5151 * conform/data/float.h-data: Likewise.
5152 * conform/data/fmtmsg.h-data: Likewise.
5153 * conform/data/fnmatch.h-data: Likewise.
5154 * conform/data/ftw.h-data: Likewise.
5155 * conform/data/glob.h-data: Likewise.
5156 * conform/data/grp.h-data: Likewise.
5157 * conform/data/iconv.h-data: Likewise.
5158 * conform/data/inttypes.h-data: Likewise.
5159 * conform/data/langinfo.h-data: Likewise.
5160 * conform/data/libgen.h-data: Likewise.
5161 * conform/data/limits.h-data: Likewise.
5162 * conform/data/locale.h-data: Likewise.
5163 * conform/data/math.h-data: Likewise.
5164 * conform/data/monetary.h-data: Likewise.
5165 * conform/data/mqueue.h-data: Likewise.
5166 * conform/data/ndbm.h-data: Likewise.
5167 * conform/data/net/if.h-data: Likewise.
5168 * conform/data/netdb.h-data: Likewise.
5169 * conform/data/netinet/in.h-data: Likewise.
5170 * conform/data/nl_types.h-data: Likewise.
5171 * conform/data/poll.h-data: Likewise.
5172 * conform/data/pthread.h-data: Likewise.
5173 * conform/data/pwd.h-data: Likewise.
5174 * conform/data/regex.h-data: Likewise.
5175 * conform/data/sched.h-data: Likewise.
5176 * conform/data/search.h-data: Likewise.
5177 * conform/data/semaphore.h-data: Likewise.
5178 * conform/data/setjmp.h-data: Likewise.
5179 * conform/data/signal.h-data: Likewise.
5180 * conform/data/spawn.h-data: Likewise.
5181 * conform/data/stdarg.h-data: Likewise.
5182 * conform/data/stdio.h-data: Likewise.
5183 * conform/data/stdlib.h-data: Likewise.
5184 * conform/data/string.h-data: Likewise.
5185 * conform/data/strings.h-data: Likewise.
5186 * conform/data/stropts.h-data: Likewise.
5187 * conform/data/sys/ipc.h-data: Likewise.
5188 * conform/data/sys/mman.h-data: Likewise.
5189 * conform/data/sys/msg.h-data: Likewise.
5190 * conform/data/sys/resource.h-data: Likewise.
5191 * conform/data/sys/select.h-data: Likewise.
5192 * conform/data/sys/sem.h-data: Likewise.
5193 * conform/data/sys/shm.h-data: Likewise.
5194 * conform/data/sys/socket.h-data: Likewise.
5195 * conform/data/sys/stat.h-data: Likewise.
5196 * conform/data/sys/statvfs.h-data: Likewise.
5197 * conform/data/sys/time.h-data: Likewise.
5198 * conform/data/sys/timeb.h-data: Likewise.
5199 * conform/data/sys/times.h-data: Likewise.
5200 * conform/data/sys/types.h-data: Likewise.
5201 * conform/data/sys/uio.h-data: Likewise.
5202 * conform/data/sys/un.h-data: Likewise.
5203 * conform/data/sys/utsname.h-data: Likewise.
5204 * conform/data/sys/wait.h-data: Likewise.
5205 * conform/data/syslog.h-data: Likewise.
5206 * conform/data/tar.h-data: Likewise.
5207 * conform/data/termios.h-data: Likewise.
5208 * conform/data/utime.h-data: Likewise.
5209 * conform/data/utmpx.h-data: Likewise.
5210 * conform/data/varargs.h-data: Likewise.
5211 * conform/data/wchar.h-data: Likewise.
5212 * conform/data/wctype.h-data: Likewise.
5213 * conform/data/wordexp.h-data: Likewise.
5214
5215 * include/stropts.h: New file.
5216 * include/uchar.h: New file.
5217 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5218 * include/assert.h: Likewise.
5219 * include/ctype.h: Likewise.
5220 * include/dirent.h: Likewise.
5221 * include/dlfcn.h: Likewise.
5222 * include/fcntl.h: Likewise.
5223 * include/fnmatch.h: Likewise.
5224 * include/glob.h: Likewise.
5225 * include/grp.h: Likewise.
5226 * include/libio.h: Likewise.
5227 * include/locale.h: Likewise.
5228 * include/math.h: Likewise.
5229 * include/net/if.h: Likewise.
5230 * include/netdb.h: Likewise.
5231 * include/netinet/in.h: Likewise.
5232 * include/pthread.h: Likewise.
5233 * include/pwd.h: Likewise.
5234 * include/regex.h: Likewise.
5235 * include/sched.h: Likewise.
5236 * include/search.h: Likewise.
5237 * include/setjmp.h: Likewise.
5238 * include/signal.h: Likewise.
5239 * include/stdio.h: Likewise.
5240 * include/stdlib.h: Likewise.
5241 * include/string.h: Likewise.
5242 * include/sys/cdefs.h: Likewise.
5243 * include/sys/mman.h: Likewise.
5244 * include/sys/msg.h: Likewise.
5245 * include/sys/resource.h: Likewise.
5246 * include/sys/select.h: Likewise.
5247 * include/sys/socket.h: Likewise.
5248 * include/sys/stat.h: Likewise.
5249 * include/sys/statvfs.h: Likewise.
5250 * include/sys/time.h: Likewise.
5251 * include/sys/times.h: Likewise.
5252 * include/sys/uio.h: Likewise.
5253 * include/sys/utsname.h: Likewise.
5254 * include/sys/wait.h: Likewise.
5255 * include/termios.h: Likewise.
5256 * include/time.h: Likewise.
5257 * include/ulimit.h: Likewise.
5258 * include/unistd.h: Likewise.
5259 * include/utime.h: Likewise.
5260 * include/wchar.h: Likewise.
5261 * include/wctype.h: Likewise.
5262 * include/wordexp.h: Likewise.
5263
5264 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5265
7a270350
UD
5266 * time/time.h: TIME_UTC must be a macro.
5267 Make timespec_get available for ISO C11 only as well.
5268
7724defc
UD
52692012-02-24 Ulrich Drepper <drepper@gmail.com>
5270
5271 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5272 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5273
6b1d1d46
JM
52742012-02-24 Joseph Myers <joseph@codesourcery.com>
5275
5276 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5277
0f8bbd69
JM
52782012-02-24 Joseph Myers <joseph@codesourcery.com>
5279
5280 * manual/texinfo.tex: Update to version 2012-01-19.16.
5281
66ab80bc
JM
52822012-02-24 Joseph Myers <joseph@codesourcery.com>
5283
5284 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5285
74981cc5
RM
52862012-02-24 Roland McGrath <roland@hack.frob.com>
5287
ee968201
RM
5288 [BZ #13738]
5289 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5290 * manual/fdl-1.3.texi: New file.
5291 * manual/fdl-1.1.texi: File removed.
5292
74981cc5
RM
5293 [BZ #13738]
5294 * manual/libc.texinfo (FDL_VERSION): New @set.
5295 Use it for mention of FDL in cover text.
5296 (Documentation License): Use it in @include file name.
5297
7bb764bc
JM
52982012-02-22 Joseph Myers <joseph@codesourcery.com>
5299 Roland McGrath <roland@hack.frob.com>
5300
5301 [BZ #5461]
5302 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5303 not LONG_LONG_MAX and LONG_LONG_MIN.
5304 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5305 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5306 name.
5307 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5308
6cbeae47
JM
53092012-02-22 Joseph Myers <joseph@codesourcery.com>
5310
5311 [BZ #2547]
5312 [BZ #11365]
5313 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5314 manipulate bits before adding and subtracting TWO23[sx].
5315 * math/libm-test.inc (nearbyint_test): Add more tests.
5316
fe45ce09
JM
53172012-02-22 Joseph Myers <joseph@codesourcery.com>
5318
5319 [BZ #2548]
5320 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5321 bits before adding and subtracting TWO23[sx].
5322 * math/libm-test.inc (rint_test): Add more tests.
5323 (rint_test_tonearest): Likewise.
5324 (rint_test_towardzero): Likewise.
5325 (rint_test_downward): Likewise.
5326 (rint_test_upward: Likewise.
5327
ff3b3d82
JM
53282012-02-22 Joseph Myers <joseph@codesourcery.com>
5329
5330 [BZ #10110]
5331 * include/stdc-predef.h: New file. Extracted from features.h.
5332 * include/features.h: Include stdc-predef.h.
5333 * Makefile (headers): Add stdc-predef.h.
5334 * CONFORMANCE (Compiler limitations): Update.
5335
ef0aab35
JM
53362012-02-22 Joseph Myers <joseph@codesourcery.com>
5337
5338 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5339
58639409
DM
53402012-02-21 David S. Miller <davem@davemloft.net>
5341
5342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5344
c0e70b25
DM
53452012-02-20 David S. Miller <davem@davemloft.net>
5346
5347 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5348 using a normal save/restore sequence, rather than allocating a
5349 dummy stack frame just to store a frame pointer and restore.
5350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5351
fb06851d
JM
53522012-02-21 Joseph Myers <joseph@codesourcery.com>
5353
5354 * manual/install.texi: Fix stray word in line-wrapped comment.
5355
7a8b71c3
DM
53562012-02-20 David S. Miller <davem@davemloft.net>
5357
d510c123
DM
5358 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5359 both binutils and gcc support GOTDATA.
5360
0722d7c2
DM
5361 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5362 "rd %pc" in the PIC register setup sequences.
5363
3d2b3019
DM
5364 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5365 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5367 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5373 (SYSCALL_ERROR_HANDLER): Likewise.
5374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5377 (SYSCALL_ERROR_HANDLER): Likewise.
5378
c80098a9
DM
5379 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5380 (HAVE_GCC_GOTDATA): New.
5381 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5382 relocation support in both binutils and gcc.
5383 * sysdeps/sparc/elf/configure: Regenerate.
5384
3a2545a0
DM
5385 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5386 * sysdeps/sparc/sparc32/elf/configure: Delete.
5387 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5388 * sysdeps/sparc/sparc64/elf/configure: Delete.
5389 * sysdeps/sparc/elf/configure.in: New file.
5390 * sysdeps/sparc/elf/configure: Generate.
5391
7a8b71c3
DM
5392 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5393 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5394 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5395 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5396 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5397
f1e86fca
JM
53982012-02-21 Joseph Myers <joseph@codesourcery.com>
5399
5400 * manual/install.texi: Do not mention specific glibc version
5401 numbers.
5402 * manual/libc.texinfo (VERSION, UPDATED): Update.
5403 (@copying): Use @copyright{} and range of years.
5404
0e7dfaef
JM
54052012-02-21 Joseph Myers <joseph@codesourcery.com>
5406
5407 [BZ #13695]
5408 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5409 [crti.S not in sysdirs] (generated): Do not append.
5410 [crti.S not in sysdirs] (omit-deps): Likewise.
5411 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5412 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5413 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5414 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5415 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5416 Likewise.
5417 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5418 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5419 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5420 * csu/defs.awk: Remove file.
5421 * sysdeps/generic/initfini.c: Likewise.
5422 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5423 variable.
5424 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5425 Likewise.
5426
599af3ca
JM
54272012-02-20 Joseph Myers <joseph@codesourcery.com>
5428
5429 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5431 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5434 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5435 <bits/epoll.h>.
5436 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5437 (__EPOLL_PACKED): Define to empty if not defined by
5438 <bits/epoll.h>.
5439 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5441 bits/epoll.h.
5442
0e499750
JM
54432012-02-20 Joseph Myers <joseph@codesourcery.com>
5444
5445 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5446 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5449 <bits/timerfd.h>.
5450 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5452 bits/timerfd.h.
5453
5ad91f6e
JM
54542012-02-20 Joseph Myers <joseph@codesourcery.com>
5455
5456 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5457 in C locale.
5458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5462
06b99b02
AJ
54632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5464
5465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5467
7638c0fd
AS
54682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5469
5470 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5471 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5472 defined.
5473 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5474 Likewise.
5475 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5476 entry for 2.16.
5477
92221550
AJ
54782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5479
5480 * math/w_acos.c: Use non-signaling floating-point comparisons.
5481 * math/w_acosf.c: Likewise.
5482 * math/w_acosh.c: Likewise.
5483 * math/w_acoshf.c: Likewise.
5484 * math/w_acoshl.c: Likewise.
5485 * math/w_acosl.c: Likewise.
5486 * math/w_asin.c: Likewise.
5487 * math/w_asinf.c: Likewise.
5488 * math/w_asinl.c: Likewise.
5489 * math/w_atanh.c: Likewise.
5490 * math/w_atanhf.c: Likewise.
5491 * math/w_atanhl.c: Likewise.
5492 * math/w_exp2.c: Likewise.
5493 * math/w_exp2f.c: Likewise.
5494 * math/w_exp2l.c: Likewise.
5495 * math/w_j0.c: Likewise.
5496 * math/w_j0f.c: Likewise.
5497 * math/w_j0l.c: Likewise.
5498 * math/w_j1.c: Likewise.
5499 * math/w_j1f.c: Likewise.
5500 * math/w_j1l.c: Likewise.
5501 * math/w_jn.c: Likewise.
5502 * math/w_jnf.c: Likewise.
5503 * math/w_log.c: Likewise.
5504 * math/w_log10.c: Likewise.
5505 * math/w_log10f.c: Likewise.
5506 * math/w_log10l.c: Likewise.
5507 * math/w_log2.c: Likewise.
5508 * math/w_log2f.c: Likewise.
5509 * math/w_log2l.c: Likewise.
5510 * math/w_logf.c: Likewise.
5511 * math/w_logl.c: Likewise.
5512 * math/w_sqrt.c: Likewise.
5513 * math/w_sqrtf.c: Likewise.
5514 * math/w_sqrtl.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5520
ebaf36eb
JM
55212012-02-19 Joseph Myers <joseph@codesourcery.com>
5522
5523 [BZ #9739]
5524 * manual/string.texi (strnlen): Use correct parameter name in
5525 equivalent expression.
5526
71c254a6
JM
55272012-02-19 Joseph Myers <joseph@codesourcery.com>
5528
5529 [BZ #11174]
5530 * manual/users.texi (seteuid): Consistently use neweuid for
5531 argument name.
5532
16d2c631
JM
55332012-02-19 Joseph Myers <joseph@codesourcery.com>
5534
5535 [BZ #13704]
5536 * manual/nss.texi (Services in the NSS configuration): Correct
5537 list of services in example configuration file.
5538
cd837b09
NB
55392012-02-19 Nick Bowler <nbowler@draconx.ca>
5540
5541 [BZ #11322]
5542 * manual/arith.texi: Remove statements about negative zero
5543 behaving identically to zero.
5544
02c4bbad
JM
55452012-02-18 Joseph Myers <joseph@codesourcery.com>
5546
5547 [BZ #5993]
5548 * manual/install.texi: Do not document upgrading from libc5.
5549
366842e7
JM
55502012-02-18 Joseph Myers <joseph@codesourcery.com>
5551
5552 [BZ #4596]
5553 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5554
dd54084d
DM
55552012-02-18 David S. Miller <davem@davemloft.net>
5556
5557 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5558 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5559 %o7 across the call.
5560 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5561 instead.
5562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5563 SETUP_PIC_REG_LEAF.
5564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5565 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5566 * sysdeps/sparc/crtn.S: Likewise.
5567
2bcc53a3
UD
55682012-02-17 Ulrich Drepper <drepper@gmail.com>
5569
5570 * aout/Makefile: Remove.
5571
09c093b5
RK
55722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5573
5574 [BZ #13058]
5575 * manual/examples/argp-ex1.c (main): Format definition in GNU
5576 style.
5577 * manual/examples/argp-ex2.c (main): Likewise.
5578 * manual/examples/argp-ex3.c (main): Likewise.
5579 * manual/examples/argp-ex4.c (main): Likewise.
5580 * manual/examples/longopt.c (main): Use new-style prototype
5581 definition.
5582 * manual/examples/strncat.c (main): Specify return type and use
5583 (void) for arguments.
5584 * manual/examples/subopt.c (main): Use char **argv argument.
5585
2ee633a2
JM
55862012-02-17 Joseph Myers <joseph@codesourcery.com>
5587
5588 [BZ #5077]
5589 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5590 rounding modes.
5591
0520adde
FB
55922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5593
5594 [BZ #6907]
5595 * manual/string.texi (strchr): Change when strchrnul is
5596 recommended.
5597
3f4081cd
DGM
55982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5599
5600 [BZ #174]
5601 * manual/locale.texi (setlocale): Document LOCPATH.
5602
d1b10e78
JM
56032012-02-17 Joseph Myers <joseph@codesourcery.com>
5604
5605 [BZ #10210]
5606 * manual/process.texi (execle): Move @dots{} before last argument.
5607
79c6869c
PB
56082012-02-17 Paul Bolle <pebolle@tiscali.nl>
5609
5610 [BZ #12047]
5611 * manual/charset.texi (Generic Charset Conversion): Fix typo
5612 (LC_TYPE -> LC_CTYPE).
5613
cc6e48bc
NB
56142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5615
5616 [BZ #5805]
5617 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5618 (scalbnf): Likewise.
5619 (scalbnl): Likewise.
5620 (scalbln): Likewise.
5621 (scalblnf): Likewise.
5622 (scalblnl): Likewise.
5623 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5624 (vwarnx): Likewise.
5625 (verr): Likewise.
5626 (verrx): Likewise.
5627 * manual/filesys.texi (telldir): Use braces around return type.
5628 * manual/llio.texi (mmap): Add space after comma.
5629 (mmap64): Likewise.
5630 * manual/math.texi (jn): Use @var{} on parameter names.
5631 (jnf): Likewise.
5632 (jnl): Likewise.
5633 (yn): Likewise.
5634 (ynf): Likewise.
5635 (ynl): Likewise.
5636 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5637 line.
5638 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5639 "...".
5640 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5641 (sched_get_priority_max): Likewise.
5642 * manual/signal.texi (sigvec): Add space after comma.
5643 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5644 names.
5645 (if_indextoname): Likewise.
5646 (if_freenameindex): Likewise.
5647 (sendto): Use ',' instead of '.' in prototype.
5648 * manual/startup.texi (syscall): Use @dots{} instead of literal
5649 "...".
5650 * manual/stdio.texi (__fpending): Separate initial words of
5651 paragraph from @deftypefun line.
5652 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5653 "...".
5654 (vsyslog): Use @var{} on parameter names.
5655 * manual/terminal.texi (stty): Use @var{} on parameter names.
5656 * manual/users.texi (getutmp): Use @var{} on parameter names.
5657 (getutmpx): Likewise.
5658
5b23062f
JM
56592012-02-17 Joseph Myers <joseph@codesourcery.com>
5660
5661 [BZ #6884]
5662 * manual/stdio.texi (fopen): Fix typos in description of
5663 ",ccs=STRING".
5664
8dee4833
AJ
56652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5666
5667 [BZ #4026]
5668 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5669 get clock_id definition.
5670
9078ce93
TS
56712012-02-17 Thomas Schwinge <thomas@schwinge.name>
5672
5673 [BZ #4822]
5674 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5675 (madvise): Cast every argument to void on its own.
5676
3835c55f
JM
56772012-02-17 Joseph Myers <joseph@codesourcery.com>
5678
5679 [BZ #9902]
5680 * manual/startup.texi (Exit Status): Fix typo.
5681
35c47e37
JM
56822012-02-17 Joseph Myers <joseph@codesourcery.com>
5683
5684 [BZ #10140]
5685 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5686 * manual/examples/argp-ex2.c: Likewise.
5687 * manual/examples/argp-ex3.c: Likewise.
5688
e3b69ca7
RH
56892012-02-16 Richard Henderson <rth@redhat.com>
5690
5691 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5692 * sysdeps/s390/s390-32/initfini.c: Remove.
5693 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5694 * sysdeps/s390/s390-64/initfini.c: Remove.
5695
df83af67
KK
56962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5697
5698 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5699 compiler output for sysdeps/generic/initfini.c.
5700 * sysdeps/sh/elf/initfini.c: Remove file.
5701
f63f3380
DM
57022012-02-16 David S. Miller <davem@davemloft.net>
5703
fb59b3a4
DM
5704 [BZ #11494]
5705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5706
f63f3380
DM
5707 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5708 * sysdeps/sparc/crti.S: New file.
5709 * sysdeps/sparc/crtn.S: New file.
5710 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5711 * sysdeps/sparc/sparc64/Makefile: Likewise.
5712
df6a4a4a
MF
57132012-02-15 Mike Frysinger <vapier@gentoo.org>
5714
6dd8f3dc 5715 [BZ #3335]
df6a4a4a
MF
5716 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5717
1cac7236
RM
57182012-02-15 Roland McGrath <roland@hack.frob.com>
5719
d2c736f8
RM
5720 [BZ #4822]
5721 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5722
1cac7236
RM
5723 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5724 (write, read, close): Likewise.
5725 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5726
8e475601
JM
57272012-02-15 Joseph Myers <joseph@codesourcery.com>
5728
5729 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5730 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5731 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5732 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5733 <bits/signalfd.h>.
5734 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5736 bits/signalfd.h.
5737
ed656b40
MP
57382012-02-14 Marek Polacek <polacek@redhat.com>
5739
5740 * sysdeps/x86_64/crti.S: New file.
5741 * sysdeps/x86_64/crtn.S: New file.
5742 * sysdeps/x86_64/elf/initfini.c: Remove file.
5743
2a979d3a
JM
57442012-02-13 Joseph Myers <joseph@codesourcery.com>
5745
5746 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5747 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5748 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5749 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5750 <bits/inotify.h>.
5751 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5753 bits/inotify.h.
5754
2a418ac3
JM
57552012-02-13 Joseph Myers <joseph@codesourcery.com>
5756
5757 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5758 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5759 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5760 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5761 <bits/eventfd.h>.
5762 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5764 bits/eventfd.h.
5765
fb779be7
TS
57662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5767
e19e83c5
RM
5768 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5769 __feraiseexcept instead of feraiseexcept.
7c35ffed 5770
fb779be7
TS
5771 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5772 nanosleep invocations.
5773 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5774 strings, and add error checking for a nanosleep invocations.
5775
59ba27a6
PE
57762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5777
5778 Replace FSF snail mail address with URLs, as per GNU coding standards.
5779 Most of the snail mail addresses were wrong anyway, and omitting
5780 them makes the source code easier to maintain. Almost all of the
5781 changes are to license notices and to locale LC_IDENTIFICATION
5782 addresses, except for this one:
5783 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5784 not its snail mail address.
5785
57b957eb
RH
57862012-02-09 Richard Henderson <rth@twiddle.net>
5787
af850b1c
RH
5788 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5789 of kernel-features.h.
5790
57b957eb
RH
5791 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5792
6b73181a
MP
57932012-02-08 Marek Polacek <polacek@redhat.com>
5794
5795 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5796 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5797 * sysdeps/gnu/_G_config.h: Likewise.
5798 * sysdeps/generic/_G_config.h: Likewise.
5799
26ecc33a
AS
58002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5801
6c6dbc63
AS
5802 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5803 tests.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5805
e216c012
AS
5806 * sysdeps/powerpc/powerpc32/crti.S: New file.
5807 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5808 * sysdeps/powerpc/powerpc64/crti.S: New file.
5809 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5810
26ecc33a
AS
5811 * Makeconfig (have-initfini): Don't set.
5812 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5813 * configure.in (nopic_initfini): Don't substitute.
5814 * config.h.in (HAVE_INITFINI): Don't #undef.
5815 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5816 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5817
3add8e13
JM
58182012-02-08 Joseph Myers <joseph@codesourcery.com>
5819
5820 Support crti.S and crtn.S provided directly by architectures.
5821 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5822 [crti.S in sysdirs] (omit-deps): Likewise.
5823 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5824 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5825 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5826 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5827 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5828 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5829 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5830 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5831 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5832 compiler output for sysdeps/generic/initfini.c.
5833 * sysdeps/i386/elf/Makefile: Remove file.
5834 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5835
a22f12b4
MP
58362012-02-07 Marek Polacek <polacek@redhat.com>
5837
5838 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5839 * sysdeps/gnu/_G_config.h: Likewise.
5840 * sysdeps/mach/hurd/_G_config.h: Likewise.
5841
148cf100
MP
58422012-02-07 Marek Polacek <polacek@redhat.com>
5843
5844 * math/Makefile (tests): Add tst-CMPLX2.
5845 * math/tst-CMPLX2.c: New file.
5846
cfdc0dd7
AS
58472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5848
84ba42c4
AS
5849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5850
cfdc0dd7
AS
5851 * math/libm-test.inc (jn_test): Add missing L suffix.
5852
622c86f4
MP
58532012-02-06 Marek Polacek <polacek@redhat.com>
5854
5855 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5856 * sysdeps/i386/fpu/e_powf.S: Likewise.
5857 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5860 * sysdeps/i386/fpu/e_pow.S: Likewise.
5861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5865 * sysdeps/i386/fpu/e_log2.S: Likewise.
5866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5868 * sysdeps/i386/fpu/e_powl.S: Likewise.
5869 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5872 * sysdeps/i386/fpu/e_logl.S: Likewise.
5873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5874 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5879 * sysdeps/i386/fpu/e_log.S: Likewise.
5880 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5882 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5883 * sysdeps/i386/fpu/e_logf.S: Likewise.
5884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5886 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5888 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5889 * sysdeps/i386/fpu/e_log10.S: Likewise.
5890 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5892 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5893 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5896 * sysdeps/i386/asm-syntax.h: Likewise.
5897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5900 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5901 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5906 * sysdeps/powerpc/sysdep.h: Likewise.
5907 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5909
d4a54ac6
JM
59102012-02-06 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #411]
5913 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5914
314054ea
JM
59152012-02-06 Joseph Myers <joseph@codesourcery.com>
5916
5917 * sysdeps/i386/sysdep.h: Include <features.h>.
5918 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5919 version.
5920
d8e0ca50
JM
59212012-02-05 Joseph Myers <joseph@codesourcery.com>
5922
5923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5924 Define.
5925 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5926 LOAD_PIC_REG_STR.
5927
b1da7dd9
JM
59282012-02-03 Joseph Myers <joseph@codesourcery.com>
5929
5930 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5931 (SETUP_PIC_REG): Use GET_PC_THUNK.
5932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5933 macro.
5934
9a1d9254
JM
59352012-02-03 Joseph Myers <joseph@codesourcery.com>
5936
5937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5938 for non-PIC compilation.
5939 (SETUP_PIC_REG): Add .p2align directive.
5940 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5941 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5943 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5945 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5946 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5948 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5949 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5950 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5951 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5952 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5953 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5954 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5955 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5956 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5962 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5972 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5973 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5974 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5975 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5976 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5977 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5978 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5979 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5980 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5981
65dc3b75
JM
59822012-02-03 Joseph Myers <joseph@codesourcery.com>
5983
5984 * math/tst-CMPLX.c: Include <stdio.h>.
5985
d55bf177
JM
59862012-01-31 Joseph Myers <joseph@codesourcery.com>
5987
5988 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5989 float.
5990 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5991 * sysdeps/sparc/bits/mathdef.h: Likewise.
5992
69db4f8f
MP
59932012-01-31 Marek Polacek <polacek@redhat.com>
5994
5995 * libio/libio.h: Don't define _PARAMS.
5996 * locale/programs/config.h: Don't define PARAMS.
5997 * stdlib/strtol_l.c: Likewise.
5998 (__strtol_l): Remove PARAMS from the prototype.
5999
41b81892
UD
60002012-01-31 Ulrich Drepper <drepper@gmail.com>
6001
3b49edc0
UD
6002 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6003 names. Just use the correct names. Remove unnecessary wrapper
6004 functions.
6005 * malloc/arena.c: Likewise.
6006 * malloc/hooks.c: Likewise.
6007
41b81892
UD
6008 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6009 ARENA_TEST says not to. Simplify test for creation of a new arena.
6010 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6011
27a25b6e
UD
60122012-01-30 Ulrich Drepper <drepper@gmail.com>
6013
6014 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6015 into tail calls.
6016 (update_get_addr): New function.
6017 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6018 GET_ADDR_MODULE parameter.
6019
c8a89e7d
JM
60202012-01-30 Joseph Myers <joseph@codesourcery.com>
6021
6022 * crypt/cert.c: Remove __STDC__ conditionals.
6023 * crypt/crypt-entry.c: Likewise.
6024 * crypt/crypt_util.c: Likewise.
6025 * libio/filedoalloc.c: Likewise.
6026 * libio/fileops.c: Likewise.
6027 * libio/genops.c: Likewise.
6028 * libio/iofclose.c: Likewise.
6029 * libio/iofdopen.c: Likewise.
6030 * libio/iofopen.c: Likewise.
6031 * libio/iofopen64.c: Likewise.
6032 * libio/iogetdelim.c: Likewise.
6033 * libio/iopopen.c: Likewise.
6034 * libio/obprintf.c: Likewise.
6035 * libio/oldfileops.c: Likewise.
6036 * libio/oldiofclose.c: Likewise.
6037 * libio/oldiofdopen.c: Likewise.
6038 * libio/oldiofopen.c: Likewise.
6039 * libio/oldiopopen.c: Likewise.
6040 * libio/wfiledoalloc.c: Likewise.
6041 * libio/wgenops.c: Likewise.
6042 * locale/programs/xmalloc.c: Likewise.
6043 * misc/syslog.c: Likewise.
6044 * stdio-common/xbug.c: Likewise.
6045 * string/memchr.c: Likewise.
6046 * string/memcmp.c: Likewise.
6047 * string/memrchr.c: Likewise.
6048 * string/rawmemchr.c: Likewise.
6049 * sysdeps/posix/getcwd.c: Likewise.
6050 * time/strftime_l.c: Likewise.
6051
3b100462
JM
60522012-01-30 Joseph Myers <joseph@codesourcery.com>
6053
6054 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6055 * config.make.in (config-cflags-sse2avx): Define.
6056 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6057 Fix typo.
6058
607998af
CM
60592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6060
6061 * scripts/config.guess: Update from upstream config git repository.
6062 * scripts/config.sub: Likewise.
6063
3601428f
CM
60642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6065
3ac8b282
CM
6066 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6067 (EM_NUM): Update.
6068 (R_TILEPRO_*, R_TILEGX_*): New macros.
6069
e034841e
CM
6070 * scripts/firstversions.awk: Fix bug in version range handling.
6071
540d7568
CM
6072 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6073
3601428f
CM
6074 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6075
463de862
CM
6076 * include/sys/epoll.h: New file.
6077 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6078 libc_hidden_def.
6079
73139a76
UD
60802012-01-28 Ulrich Drepper <drepper@gmail.com>
6081
96bc5b45
UD
6082 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6083 Avoid unnecessary __WORDSIZE == 64 test.
6084 (fmaxf): Use VEX format if possible.
6085 (fmax): Likewise.
6086 (fminf): Likewise.
6087 (fmin): Likewise.
6088
56f6f6a2
UD
6089 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6090 * math/math_private.h: Remove libc_fegetround* and
6091 libc_fesetround*.
6092 * sysdeps/i386/configure.in: Check for -msse2avx.
6093 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6094 also if SSE2AVX is defined.
6095 Remove libc_fegetround* and libc_fesetround*.
6096 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6097 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6099 of HAS_YMM_USABLE.
6100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6105
73139a76
UD
6106 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6107
d73f93a4
AZ
61082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6109
6110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6111 size is not set.
6112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6113
6ee65ed6
UD
61142012-01-27 Ulrich Drepper <drepper@gmail.com>
6115
6116 [BZ #13618]
6117 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6118 relocation.
6119 * Makeconfig (libm): Define.
6120 * elf/Makefile: Add rules to build and run tst-relsort1.
6121 * elf/tst-relsort1.c: New file.
6122 * elf/tst-relsort1mod1.c: New file.
6123 * elf/tst-relsort1mod2.c: New file.
6124
8db21882
JM
61252012-01-27 Joseph Myers <joseph@codesourcery.com>
6126
6127 * math/s_ldexp.c: Remove __STDC__ conditionals.
6128 * math/s_ldexpf.c: Likewise.
6129 * math/s_ldexpl.c: Likewise.
6130 * math/s_nextafter.c: Likewise.
6131 * math/s_nexttowardf.c: Likewise.
6132 * math/s_significand.c: Likewise.
6133 * math/s_significandf.c: Likewise.
6134 * math/s_significandl.c: Likewise.
6135 * math/w_jnl.c: Likewise.
6136 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6137 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6138 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6139 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6140 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6168 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6169 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6170 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6173 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6174 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6175 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6176 * sysdeps/ieee754/k_standard.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6195 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6213 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6238 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6256 * sysdeps/ieee754/s_matherr.c: Likewise.
6257 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6261
965a54a4
JM
62622012-01-26 Joseph Myers <joseph@codesourcery.com>
6263
6264 * crypt/md5.h: Remove __STDC__ conditionals.
6265 * libio/libioP.h: Likewise.
6266 * locale/programs/config.h: Likewise.
6267 * sysdeps/generic/sysdep.h: Likewise.
6268 * sysdeps/i386/asm-syntax.h: Likewise.
6269 * sysdeps/s390/asm-syntax.h: Likewise.
6270 * sysdeps/unix/sysdep.h: Likewise.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6273
7071ad79
JM
62742012-01-26 Joseph Myers <joseph@codesourcery.com>
6275
6276 * libio/libio.h: Remove __STDC__ conditionals.
6277 * malloc/obstack.h: Likewise.
6278 * math/complex.h: Likewise.
6279 * math/math.h: Likewise.
6280 * sysdeps/generic/_G_config.h: Likewise.
6281 * sysdeps/gnu/_G_config.h: Likewise.
6282 * sysdeps/mach/hurd/_G_config.h: Likewise.
6283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6284 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6285 * sysdeps/sparc/bits/mathdef.h: Likewise.
6286
afc5ed09
UD
62872012-01-26 Ulrich Drepper <drepper@gmail.com>
6288
6289 [BZ #13583]
6290 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6291 Clean up HAS_* macros.
afc5ed09 6292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6293 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6294 possible.
6295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6296 HAS_AVX.
6297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6302
bdb6de1d
JM
63032012-01-25 Joseph Myers <joseph@codesourcery.com>
6304
6305 * elf/tst-unique3.cc (gets): Remove declaration.
6306 * elf/tst-unique3lib.cc (gets): Likewise.
6307 * elf/tst-unique3lib2.cc (gets): Likewise.
6308 * elf/tst-unique4.cc (gets): Likewise.
6309
b15549e6
UD
63102012-01-24 Ulrich Drepper <drepper@gmail.com>
6311
6312 * include/stdio.h: Add C++ protection. Add gets declarations and
6313 definitions.
6314 * debug/tst-chk1.c: Don't declare gets here.
6315 * stdio-common/tst-gets.c: Likewise.
6316
a037381f
JM
63172012-01-24 Joseph Myers <joseph@codesourcery.com>
6318
6319 * posix/glob: Remove directory.
6320
f1d4aa75
JM
63212012-01-24 Joseph Myers <joseph@codesourcery.com>
6322
6323 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6324
81c0c964
PT
63252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6326
6327 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6328 of the non-standard EPFNOSUPPORT.
6329
0ea698ae
ST
63302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6331
6332 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6333 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6334 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6335
d220b117
UD
63362012-01-21 Ulrich Drepper <drepper@gmail.com>
6337
6338 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6339
3e1aa84e
UD
63402012-01-20 Ulrich Drepper <drepper@gmail.com>
6341
6342 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6343 transient errors.
6344 * nscd/grpcache.c (cache_addgr): Likewise.
6345 * nscd/hstcache.c (cache_addhst): Likewise.
6346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6347 * nscd/pwdcache.c (cache_addpw): Likewise.
6348 * nscd/servicescache.c (cache_addserv): Likewise.
6349
400aa020
UD
63502012-01-16 Ulrich Drepper <drepper@gmail.com>
6351
d77e7869
UD
6352 * malloc/malloc.c: Various cleanups.
6353 * malloc/hooks.c: Likewise.
6354
400aa020
UD
6355 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6356 * stdlib/bug-fmtmsg1.c: New file.
6357
6358 * stdlib/fmtmsg.c (init): Add missing unlock.
6359 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6360
e0a309cf
MP
63612012-01-12 Marek Polacek <polacek@redhat.com>
6362
6363 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6364 and _GNU_SOURCE.
6365
929d11c7
WS
63662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6367
6368 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6370 macro to ensure uniqueness of label name.
6371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6373
41d0e869
UD
63742012-01-11 Ulrich Drepper <drepper@gmail.com>
6375
0cc5ed3b
UD
6376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6377
41d0e869
UD
6378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6379 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6382
a47a831a
UD
63832012-01-10 Ulrich Drepper <drepper@gmail.com>
6384
daa891c0
UD
6385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6386
6387 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6388 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6390
e58ef0f2
UD
6391 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6392
a47a831a 6393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6394 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6397
6398 * math/bits/math-finite.h: Add ldexp support.
6399
a0bfc9c7
MP
64002012-01-10 Marek Polacek <polacek@redhat.com>
6401
6402 * locale/programs/localedef.h (show_archive_content): Add noreturn
6403 attribute.
6404
d6e97a1d
UD
64052012-01-09 Ulrich Drepper <drepper@gmail.com>
6406
6407 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6408
d5835c26
UD
64092012-01-08 Ulrich Drepper <drepper@gmail.com>
6410
e5f484c6
UD
6411 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6412
d5835c26
UD
6413 * io/Makefile (headers): Add bits/poll2.h.
6414
d1f741e9
WS
64152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6416
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6418 typo #include statement.
6419
ec09c1c4
UD
64202012-01-08 Ulrich Drepper <drepper@gmail.com>
6421
6422 * include/sys/cdefs.h: Define __attribute_alloc_size.
6423 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6424 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6425 * elf/pldd.c: Likewise.
6426 * iconv/iconv_charmap.c: Likewise.
6427 * iconv/iconvconfig.c: Likewise.
6428 * iconv/strtab.c: Likewise.
6429 * locale/programs/locale.c: Likewise.
6430 * locale/programs/localedef.h: Likewise.
6431 * locale/programs/simple-hash.c: Likewise.
6432 * nscd/nscd.h: Likewise.
6433 * nss/makedb.c: Likewise.
6434 * sysdeps/generic/ldconfig.h: Likewise.
6435 * locale/programs/localedef.c: Remove xmalloc prototype.
6436 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6437
20b38e03
PP
64382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6439
6440 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6441 appropriate.
6442
a0da5fe1
UD
64432012-01-08 Ulrich Drepper <drepper@gmail.com>
6444
1d5a644a 6445 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6446 * math/tst-CMPLX.c: New file.
1d5a644a 6447
8784a6db
UD
6448 * math/complex.h (CMPLXL): Fix typo.
6449
d9a216c0
UD
6450 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6451 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6452 GLIBC_2.16.
6453 * debug/tst-chk1.c: Add poll and ppoll tests.
6454 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6455 * include/sys/poll.h: Add hidden proto for ppoll.
6456 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6457 * sysdeps/mach/hurd/ppoll.c: Likewise.
6458 * io/ppoll.c: Likewise.
6459 * debug/poll_chk.c: New file.
6460 * debug/ppoll_chk.c: New file.
6461 * include/bits/poll2.h: New file.
6462 * io/bits/poll2.h: New file.
6463
ac097f5c
UD
6464 [BZ #1350]
6465 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6466
2119dcfa
UD
6467 * configure.in: static is always set to yes. Remove.
6468 * config.make.in: Don't set build-static.
6469 * Makeconfig: Remove use of build-static.
6470 * dlfcn/Makefile: Likewise.
6471 * elf/Makefile: Likewise.
6472 * math/Makefile: Likewise.
6473 * misc/Makefile: Likewise.
6474 * nptl/Makefile: Likewise.
6475 * sysdeps/mach/hurd/Makefile: Likewise.
6476
121766a9
UD
6477 * configure.in: PWD_P is not used anymore.
6478 * config.make.in: Remove PWD_P entry.
6479
51a1d39c 6480 * configure.in: Remove last remnants of RANLIB.
8720d066 6481 No need to check for signed size_t anymore.
215f4bdc
UD
6482 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6483 and IA-64.
3857022a 6484 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6485 * aclocal.m4: Likewise.
6486
d3ed7225
UD
6487 * wcsmbs/mbrtoc16.c: Implement using towc function.
6488 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6489 * wcsmbs/wcsmbsload.c: Likewise.
6490 * iconv/gconv_simple.c: Likewise.
6491 * iconv/gconv_int.h: Likewise.
6492 * iconv/gconv_builtin.h: Likewise.
6493 * iconv/iconv_prog.c: Remove CHAR16 handling.
6494
6495 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6496
6497 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6498
a0da5fe1
UD
6499 * configure.in: Remove --with-elf and --enable-bounded options.
6500 Dont set base_machine for ia64. More non-ELF conditions removed.
6501 Remove testing and setting of leading underscore information.
6502 * config.make.in (build-bounded): Set to no.
6503 * config.h.in: Remove NO_UNDERSCORES entry.
6504 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6505 them.
6506 * csu/start.c: Remove !NO_UNDERSCORE code.
6507 * locale/localeinfo.h: Likewise.
6508 * sysdeps/generic/machine-gmon.h: Likewise.
6509 * sysdeps/generic/sysdep.h: Likewise.
6510 * sysdeps/i386/sysdep.h: Likewise.
6511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6512 * sysdeps/mach/sysdep.h: Likewise.
6513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6515 * sysdeps/sh/sysdep.h: Likewise.
6516 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6517 * sysdeps/unix/i386/sysdep.S: Likewise.
6518 * sysdeps/unix/sparc/start.c: Likewise.
6519 * sysdeps/unix/sparc/sysdep.S: Likewise.
6520 * sysdeps/unix/sparc/sysdep.h: Likewise.
6521 * sysdeps/unix/start.c: Likewise.
6522 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6523 * sysdeps/x86_64/sysdep.h: Likewise.
6524
df78418a
UD
65252012-01-07 Ulrich Drepper <drepper@gmail.com>
6526
a784e502
UD
6527 [BZ #13553]
6528 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6529 for non-gcc.
6530 * argp/argp-fmtstream.h: Use const instead __const.
6531 * argp/argp.h: Likewise.
6532 * assert/assert.h: Likewise.
6533 * bits/fenv.h: Likewise.
6534 * bits/sched.h: Likewise.
6535 * bits/sigset.h: Likewise.
6536 * bits/sigthread.h: Likewise.
6537 * catgets/nl_types.h: Likewise.
6538 * conform/data/pthread.h-data: Likewise.
6539 * crypt/crypt-private.h: Likewise.
6540 * crypt/crypt.h: Likewise.
6541 * crypt/crypt_util.c: Likewise.
6542 * ctype/ctype.h: Likewise.
6543 * debug/execinfo.h: Likewise.
6544 * debug/mbsnrtowcs_chk.c: Likewise.
6545 * debug/mbsrtowcs_chk.c: Likewise.
6546 * debug/wcsnrtombs_chk.c: Likewise.
6547 * debug/wcsrtombs_chk.c: Likewise.
6548 * debug/wcstombs_chk.c: Likewise.
6549 * dirent/dirent.h: Likewise.
6550 * dlfcn/dlfcn.h: Likewise.
6551 * elf/neededtest4.c: Likewise.
6552 * grp/grp.h: Likewise.
6553 * gshadow/gshadow.h: Likewise.
6554 * iconv/gconv.h: Likewise.
6555 * iconv/gconv_int.h: Likewise.
6556 * iconv/gconv_simple.c: Likewise.
6557 * iconv/iconv.h: Likewise.
6558 * iconv/loop.c: Likewise.
6559 * iconv/skeleton.c: Likewise.
6560 * include/aio.h: Likewise.
6561 * include/aliases.h: Likewise.
6562 * include/argz.h: Likewise.
6563 * include/arpa/inet.h: Likewise.
6564 * include/assert.h: Likewise.
6565 * include/dirent.h: Likewise.
6566 * include/dlfcn.h: Likewise.
6567 * include/execinfo.h: Likewise.
6568 * include/fcntl.h: Likewise.
6569 * include/fenv.h: Likewise.
6570 * include/glob.h: Likewise.
6571 * include/grp.h: Likewise.
6572 * include/libintl.h: Likewise.
6573 * include/mntent.h: Likewise.
6574 * include/netdb.h: Likewise.
6575 * include/pwd.h: Likewise.
6576 * include/rpc/netdb.h: Likewise.
6577 * include/sched.h: Likewise.
6578 * include/search.h: Likewise.
6579 * include/shadow.h: Likewise.
6580 * include/signal.h: Likewise.
6581 * include/stdio.h: Likewise.
6582 * include/stdlib.h: Likewise.
6583 * include/string.h: Likewise.
6584 * include/sys/socket.h: Likewise.
6585 * include/sys/stat.h: Likewise.
6586 * include/sys/statfs.h: Likewise.
6587 * include/sys/statvfs.h: Likewise.
6588 * include/sys/syslog.h: Likewise.
6589 * include/sys/time.h: Likewise.
6590 * include/sys/uio.h: Likewise.
6591 * include/time.h: Likewise.
6592 * include/unistd.h: Likewise.
6593 * include/utmp.h: Likewise.
6594 * include/wchar.h: Likewise.
6595 * include/wctype.h: Likewise.
6596 * inet/aliases.h: Likewise.
6597 * inet/arpa/inet.h: Likewise.
6598 * inet/netinet/ether.h: Likewise.
6599 * inet/netinet/in.h: Likewise.
6600 * intl/libintl.h: Likewise.
6601 * io/bits/fcntl2.h: Likewise.
6602 * io/fcntl.h: Likewise.
6603 * io/ftw.h: Likewise.
6604 * io/sys/poll.h: Likewise.
6605 * io/sys/stat.h: Likewise.
6606 * io/sys/statfs.h: Likewise.
6607 * io/sys/statvfs.h: Likewise.
6608 * io/utime.h: Likewise.
6609 * libio/bits/stdio.h: Likewise.
6610 * libio/bits/stdio2.h: Likewise.
6611 * libio/libio.h: Likewise.
6612 * libio/libioP.h: Likewise.
6613 * libio/stdio.h: Likewise.
6614 * locale/lc-ctype.c: Likewise.
6615 * locale/locale.h: Likewise.
6616 * login/utmp.h: Likewise.
6617 * malloc/arena.c: Likewise.
6618 * malloc/malloc.c: Likewise.
6619 * malloc/malloc.h: Likewise.
6620 * malloc/mcheck.c: Likewise.
6621 * malloc/mtrace.c: Likewise.
6622 * math/bits/mathcalls.h: Likewise.
6623 * math/fenv.h: Likewise.
6624 * math/math_private.h: Likewise.
6625 * misc/bits/error.h: Likewise.
6626 * misc/bits/syslog.h: Likewise.
6627 * misc/err.h: Likewise.
6628 * misc/error.h: Likewise.
6629 * misc/fstab.h: Likewise.
6630 * misc/mntent.h: Likewise.
6631 * misc/regexp.h: Likewise.
6632 * misc/search.h: Likewise.
6633 * misc/sgtty.h: Likewise.
6634 * misc/sys/mman.h: Likewise.
6635 * misc/sys/syslog.h: Likewise.
6636 * misc/sys/uio.h: Likewise.
6637 * misc/sys/xattr.h: Likewise.
6638 * misc/ttyent.h: Likewise.
6639 * nis/rpcsvc/ypclnt.h: Likewise.
6640 * nss/nss.h: Likewise.
6641 * posix/bits/unistd.h: Likewise.
6642 * posix/fnmatch.h: Likewise.
6643 * posix/glob.h: Likewise.
6644 * posix/sched.h: Likewise.
6645 * posix/spawn.h: Likewise.
6646 * posix/sys/wait.h: Likewise.
6647 * posix/unistd.h: Likewise.
6648 * posix/wordexp.h: Likewise.
6649 * pwd/pwd.h: Likewise.
6650 * resolv/netdb.h: Likewise.
6651 * resource/sys/resource.h: Likewise.
6652 * rt/aio.h: Likewise.
6653 * rt/bits/mqueue2.h: Likewise.
6654 * rt/mqueue.h: Likewise.
6655 * shadow/shadow.h: Likewise.
6656 * signal/signal.h: Likewise.
6657 * socket/send.c: Likewise.
6658 * socket/sendto.c: Likewise.
6659 * socket/sys/socket.h: Likewise.
6660 * stdio-common/printf.h: Likewise.
6661 * stdlib/bits/stdlib.h: Likewise.
6662 * stdlib/fmtmsg.h: Likewise.
6663 * stdlib/monetary.h: Likewise.
6664 * stdlib/stdlib.h: Likewise.
6665 * stdlib/ucontext.h: Likewise.
6666 * streams/stropts.h: Likewise.
6667 * string/argz.h: Likewise.
6668 * string/bits/string2.h: Likewise.
6669 * string/string.h: Likewise.
6670 * string/strings.h: Likewise.
6671 * sunrpc/rpc/auth.h: Likewise.
6672 * sunrpc/rpc/auth_des.h: Likewise.
6673 * sunrpc/rpc/clnt.h: Likewise.
6674 * sunrpc/rpc/netdb.h: Likewise.
6675 * sunrpc/rpc/pmap_clnt.h: Likewise.
6676 * sunrpc/rpc/xdr.h: Likewise.
6677 * sysdeps/generic/inttypes.h: Likewise.
6678 * sysdeps/generic/net/if.h: Likewise.
6679 * sysdeps/generic/sys/swap.h: Likewise.
6680 * sysdeps/gnu/net/if.h: Likewise.
6681 * sysdeps/gnu/utmpx.h: Likewise.
6682 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6683 * sysdeps/i386/i486/bits/string.h: Likewise.
6684 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6685 * sysdeps/s390/bits/string.h: Likewise.
6686 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6687 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6688 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6689 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6690 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6691 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6692 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6693 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6694 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6695 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6696 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6697 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6698 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6699 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6700 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6701 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6702 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6708 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6709 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6710 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6711 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6712 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6714 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6716 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6717 * sysvipc/sys/ipc.h: Likewise.
6718 * sysvipc/sys/msg.h: Likewise.
6719 * sysvipc/sys/sem.h: Likewise.
6720 * sysvipc/sys/shm.h: Likewise.
6721 * termios/termios.h: Likewise.
6722 * time/sys/time.h: Likewise.
6723 * time/time.h: Likewise.
6724 * wcsmbs/bits/wchar2.h: Likewise.
6725 * wcsmbs/uchar.h: Likewise.
6726 * wcsmbs/wchar.h: Likewise.
6727 * wctype/wctype.h: Likewise.
6728
0269750c
UD
6729 [BZ #13551]
6730 * Makeconfig: Remove all but ELF support including AIX support.
6731 * Makerules: Likewise.
6732 * config.h.in: Likewise.
6733 * config.make.in: Likewise.
6734 * configure: Likewise.
6735 * configure.in: Likewise.
6736 * csu/Makefile: Likewise.
6737 * csu/version.c: Likewise.
6738 * debug/Makefile: Likewise.
6739 * dlfcn/Makefile: Likewise.
6740 * elf/Makefile: Likewise.
6741 * extra-lib.mk: Likewise.
6742 * iconv/Makefile: Likewise.
6743 * include/libc-symbols.h: Likewise.
6744 * include/shlib-compat.h: Likewise.
6745 * resolv/Makefile: Likewise.
6746 * resolv/res_libc.c: Likewise.
6747 * rt/Makefile: Likewise.
6748 * sysdeps/i386/asm-syntax.h: Likewise.
6749 * sysdeps/i386/sysdep.h: Likewise.
6750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6751 * sysdeps/mach/sysdep.h: Likewise.
6752 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6753 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6754 * sysdeps/s390/asm-syntax.h: Likewise.
6755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6757 * sysdeps/sh/sysdep.h: Likewise.
6758 * sysdeps/unix/sparc/sysdep.h: Likewise.
6759 * sysdeps/wordsize-32/divdi3.c: Likewise.
6760 * sysdeps/x86_64/sysdep.h: Likewise.
6761
00bbd29b
UD
6762 * argp/Versions: Remove _argp_unlock_xxx.
6763
6764 [BZ #13559]
6765 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6766 * abilist/libBrokenLocale.abilist: Likewise.
6767 * abilist/libanl.abilist: Likewise.
6768 * abilist/libc.abilist: Likewise.
6769 * abilist/libcrypt.abilist: Likewise.
6770 * abilist/libdl.abilist: Likewise.
6771 * abilist/libm.abilist: Likewise.
6772 * abilist/libnsl.abilist: Likewise.
6773 * abilist/libpthread.abilist: Likewise.
6774 * abilist/libresolv.abilist: Likewise.
6775 * abilist/librt.abilist: Likewise.
6776 * abilist/libthread_db.abilist: Likewise.
6777 * abilist/libutil.abilist: Likewise.
6778 * abilist/libnss_db.abilist: New file.
6779
6780 * scripts/abilist.awk: Add support for indirect functions.
6781
a2693a0e
UD
6782 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6783
3f05895f
UD
6784 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6785
ecb6fb48
UD
6786 * shlib-versions: Remove entries for ports architectures.
6787
664f8cb9
UD
6788 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6789 files in ports.
6790 * elf/stackguard-macros.h: Remove support for IA-64.
6791 * elf/tst-auditmod1.c: Likewise.
6792 * sysdeps/generic/ldsodefs.h: Likewise.
6793
7ae81d88
UD
6794 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6795 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6796 configure files.
6797
bdeba135
UD
6798 [BZ #13552]
6799 * configure.in: Remove --enable-omitfp support.
6800 * FAQ.in: Adjust.
6801 * config.make.in: Likewise.
6802 * Makeconfig: Likewise.
6803 * manual/install.texi: Likewise.
6804
d75a0a62
UD
6805 In case anyone cares, the IA-64 architecture could move to ports.
6806 * sysdeps/ia64/*: Removed.
6807 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6808 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6809
dcc9756b
UD
6810 [BZ #13555]
6811 * configure.in: Remove entries for unsupported architectures.
6812
d3761ebc 6813 [BZ #13533]
9954432e
UD
6814 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6815 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6816 routines.
6817 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6818 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6819 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6820 fall back to using wcrtomb.
6821 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6822 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6823 renaming.
6824 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6825 * wcsmbs/tst-c16c32-1.c: New file.
6826
6827 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6828 local variable.
6829
c3a87236
UD
6830 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6831
28926a1b
UD
6832 * elf/tst-unique3.cc: Add explicit declaration of gets.
6833 * elf/tst-unique3lib.cc: Likewise.
6834 * elf/tst-unique3lib2.cc: Likewise.
6835 * elf/tst-unique4.cc: Likewise.
6836
df78418a
UD
6837 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6838
8ecd6b2a
JM
68392012-01-06 Joseph Myers <joseph@codesourcery.com>
6840
6841 [BZ #13566]
6842 * assert/assert.h (static_assert): Don't define for C++.
6843 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6844 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6845
9f115170
UD
68462012-01-03 Ulrich Drepper <drepper@gmail.com>
6847
5e0d0300
UD
6848 * iconv/loop.c (single loop): Fix assertion in storing of
6849 remaining bytes.
6850
9f115170
UD
6851 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6852
81fb02b0
UD
68532012-01-01 Ulrich Drepper <drepper@gmail.com>
6854
6855 * posix/getconf.c: Update copyright year.
6856 * nss/getent.c: Likewise.
a316c1f6 6857 * nss/makedb.c: Likewise.
81fb02b0
UD
6858 * iconv/iconvconfig.c: Likewise.
6859 * iconv/iconv_prog.c: Likewise.
6860 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6861 * elf/pldd.c: Likewise.
6862 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6863 * catgets/gencat.c: Likewise.
6864 * csu/version.c: Likewise.
6865 * elf/ldd.bash.in: Likewise.
6866 * elf/sprof.c (print_version): Likewise.
6867 * locale/programs/locale.c: Likewise.
6868 * locale/programs/localedef.c: Likewise.
a316c1f6 6869 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6870 * nscd/nscd.c (print_version): Likewise.
6871 * debug/xtrace.sh: Likewise.
6872 * malloc/memusage.sh: Likewise.
6873 * malloc/mtrace.pl: Likewise.
6874 * debug/catchsegv.sh: Likewise.
6875
2ba92745
JJ
68762011-12-30 Jakub Jelinek <jakub@redhat.com>
6877
6878 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6879 pure attribute.
6880
dadebdae
UD
68812011-12-24 Ulrich Drepper <drepper@gmail.com>
6882
d3761ebc 6883 [BZ #13533]
db6af3eb
UD
6884 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6885 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6886 transformations.
6887 * iconv/gconv_int.h: Likewise.
6888 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6889 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6890 from libc for GLIBC_2.16.
6891 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6892 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6893 * wcsmbs/uchar.h: Really define mbstate_t.
6894 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6895 * wcsmbs/c16rtomb.c: New file.
6896 * wcsmbs/mbrtoc16.c: New file.
6897 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6898 for C/POSIX locale.
6899 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6900 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6901
dadebdae
UD
6902 * wcsmbs/wchar.h: Add missing __restrict.
6903
67371b56
UD
69042011-12-23 Ulrich Drepper <drepper@gmail.com>
6905
74033a25
UD
6906 [BZ #13532]
6907 * time/Makefile (routines): Add timespec_get.
6908 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6909 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6910 timespec for ISO C11.
6911 * time/timespec_get.c: New file.
6912 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6913 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6914
380d7e87
UD
6915 [BZ #13531]
6916 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6917 * stdlib/stdlib.h: Declare aligned_alloc.
6918 * Versions.def: Add GLIBC_2.16 for libc.
6919 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6920
4e9e7a35
UD
6921 [BZ 13527]
6922 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6923 ISO C11.
6924
380d7e87 6925 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6926 code.
6927
03a71829
UD
6928 [BZ #13528]
6929 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6930
839e283e
UD
6931 [BZ #13529]
6932 * assert/assert.h (static_assert): Define.
6933
ce5294e2 6934 * version.h: Update for 2.16 development version.
90fa7312 6935
8d44e150 6936 [BZ #13526]
d7809905
UD
6937 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6938 _ISOC11_SOURCE.
6939
c0da14cd
UD
6940 * version.h (RELEASE): Bump for 2.15 release.
6941 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6942
530a3249
MP
6943 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6944 Patch by Marek Polacek <mpolacek@redhat.com>.
6945
67371b56
UD
6946 * bits/byteswap.h: Protect long long constants with __extension__.
6947 * sysdeps/i386/bits/byteswap.h: Likewise.
6948 * sysdeps/ia64/bits/byteswap.h: Likewise.
6949 * sysdeps/s390/bits/byteswap.h: Likewise.
6950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6951
15db4de1
LD
69522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6953
6954 [BZ #13540]
bbe315ea
LD
6955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6956 destination buffer.
15db4de1
LD
6957 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6958
2b2596b1
MP
69592011-12-23 Marek Polacek <polacek@redhat.com>
6960
6961 * elf/dl-addr.c (determine_info): Add inline keyword.
6962 * elf/tst-auditmod4b.c (check_avx): Likewise.
6963 * elf/tst-auditmod6b.c (check_avx): Likewise.
6964 * elf/tst-auditmod6c.c (check_avx): Likewise.
6965 * elf/tst-auditmod7b.c (check_avx): Likewise.
6966
70c6c246
UD
69672011-12-23 Ulrich Drepper <drepper@gmail.com>
6968
6969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6970 !__SSE_MATH__.
6971
c044cf14
LD
69722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6973
15db4de1 6974 [BZ #13540]
c044cf14
LD
6975 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6976 processing for last bytes.
6977
6b13d9d9
BH
69782011-08-06 Bruno Haible <bruno@clisp.org>
6979
d455f537
BH
6980 [BZ #13061]
6981 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6982 U+0385, not to U+1FEE.
6983
6b13d9d9
BH
6984 [BZ #13062]
6985 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6986 entry for U+00A5 U+0301.
6987
db910efd
UD
69882011-12-22 Ulrich Drepper <drepper@gmail.com>
6989
27deeafc
UD
6990 [BZ #13166]
6991 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6992 buffer for the output is too small.
6993
aed9d171
UD
6994 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6995 optimization.
6996
db910efd
UD
6997 [BZ #13185]
6998 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6999 SSE flags if possible.
7000
2bd779ae
LD
70012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7002
e7f9dac3 7003 [BZ #13540]
2bd779ae
LD
7004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7005 processing for last bytes.
7006
154bfc16
JM
70072011-12-22 Joseph Myers <joseph@codesourcery.com>
7008
7009 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7010 (syscall-list-default-options, syscall-list-default-condition)
7011 (syscall-list-includes): Define.
7012 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7013 list of ABIs and options and #if conditions for each ABI. Do not
7014 handle common syscalls between ABIs specially.
7015 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7016 Remove.
7017 (syscall-list-variants, syscall-list-32bit-options)
7018 (syscall-list-32bit-condition, syscall-list-64bit-options)
7019 (syscall-list-64bit-condition): Define.
7020 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7021 (syscall-list-variants, syscall-list-32bit-options)
7022 (syscall-list-32bit-condition, syscall-list-64bit-options)
7023 (syscall-list-64bit-condition): Define.
7024 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7025 Remove.
7026 (syscall-list-variants, syscall-list-32bit-options)
7027 (syscall-list-32bit-condition, syscall-list-64bit-options)
7028 (syscall-list-64bit-condition): Define.
7029 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7030 Remove.
7031 (syscall-list-variants, syscall-list-32bit-options)
7032 (syscall-list-32bit-condition, syscall-list-64bit-options)
7033 (syscall-list-64bit-condition): Define.
7034
21eaf3a5
UD
70352011-12-22 Ulrich Drepper <drepper@gmail.com>
7036
16c6f992
UD
7037 * locale/iso-639.def: Add brx entry.
7038
41043168
UD
7039 [BZ #13328]
7040 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7041 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7042
21eaf3a5
UD
7043 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7044 __feraiseexcept_renamed.
7045
e3a851a2
UD
70462011-12-21 Ulrich Drepper <drepper@gmail.com>
7047
4920765e
UD
7048 [BZ #13538]
7049 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7050 EPOLLET with unsigned values.
7051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7053
e3a851a2
UD
7054 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7055 to large cancellation.
7056 * math/s_cacoshf.c: Likewise.
7057 * math/s_cacoshl.c: Likewise.
7058
b27e24b8
RK
70592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7060
7061 [BZ #13305]
aebefeee 7062 [BZ #12786]
b27e24b8
RK
7063 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7064 * math/s_cacoshf.c: Likewise.
7065 * math/s_cacoshl.c: Likewise.
7066
ee190f67
UD
70672011-12-21 Ulrich Drepper <drepper@gmail.com>
7068
7069 [BZ #13439]
7070 * iconv/gconv.h: Define __GCONV_SWAP.
7071 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7072 * iconvdata/utf-16.c: Likewise.
7073 * iconvdata/utf-32.c: Likewise.
7074
707f25df
AS
70752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7076
7077 [BZ #13524]
7078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7079 numerator after shifting it by one limb.
7080
d2daaa1e
RÁE
70812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7082
7083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7084 under [__USE_EXTERN_INLINES].
7085
a4647e72
UD
70862011-12-17 Ulrich Drepper <drepper@gmail.com>
7087
7088 [BZ #13446]
7089 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7090
f0b264f1
AZ
70912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7092
7093 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7094 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7095 optimized code.
7096 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7098 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7099 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7100 for strncasecmp/strncasecmp_l compilation.
7101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7102 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7103
8ef4f244
MP
71042011-12-08 Marek Polacek <mpolacek@redhat.com>
7105
7106 [BZ #13484]
7107 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7108 of __asm__.
7109
97ac2654
UD
71102011-12-17 Ulrich Drepper <drepper@gmail.com>
7111
7112 [BZ #13506]
7113 * time/tzfile.c (__tzfile_read): Check values from file header.
7114
91d2a845
WS
71152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7116
7117 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7118 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7119 * powerpc/powerpc32/dl-start.S: Likewise.
7120 * powerpc/powerpc32/elf/start.S: Likewise.
7121 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7122 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7123 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7124 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7125 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7126 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7127 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7128 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7129 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7130 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7131 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7132 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7133 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7134 * powerpc/powerpc32/memset.S: Likewise.
7135 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7136 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7137 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7138 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7139 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7140 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7141 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7142 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7143 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7144 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7145 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7148
a1267ba1
AZ
71492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7150
7151 * math/libm-test.inc: Added more nearbyint tests.
7152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7156
ad8ac1bd
RL
71572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7158
7159 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7160 FD_CLOEXEC.
7161
1d3e4b61
UD
71622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7163
7164 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7165 Add wcscpy-ssse3 wcscpy-c.
7166 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7167 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7168 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7169 * sysdeps/x86_64/wcschr.S: New file.
7170 * sysdeps/x86_64/wcsrchr.S: New file.
7171 * string/test-strcmp.c: Remove checking of wcscmp function for
7172 wrong alignments.
7173 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7174 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7175 wcsrchr-sse2 wcsrchr-c.
7176 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7177 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7178 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7179 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7180 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7181 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7182 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7183 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7185 * wcsmbc/wcschr.c (WCSCHR): New macro.
7186
5b330a2d
UD
71872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7188
7189 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7190 * wcsmbs/test-wcsrchr.c: New file.
7191 * string/test-strrchr.c: Add wcsrchr support.
7192 (WIDE): New macro.
7193 * wcsmbs/test-wcscpy.c: New file.
7194 * string/test-strcpy.c: Add wcscpy support.
7195 (WIDE): New macro.
26428b7c 7196
f039c043
UD
71972011-12-10 Ulrich Drepper <drepper@gmail.com>
7198
7199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7200 the inner loop.
7201
850fb039
AS
72022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7203
7204 [BZ #13472]
7205 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7206
4efbd5cb
UD
72072011-12-04 Ulrich Drepper <drepper@gmail.com>
7208
52ff5dd0 7209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7210 Minor optimizations.
52ff5dd0 7211
4efbd5cb
UD
7212 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7213 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7214 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7215
8a426e12
UD
72162011-12-03 Ulrich Drepper <drepper@gmail.com>
7217
aff2453d
UD
7218 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7219 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7220 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7221 for gcc to avoid warnings.
7222 * inet/Makefile (tests): Add tst-checks.
7223 * inet/tst-checks.c: New file.
7224
7225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7226 warning.
7227
7228 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7229 __wmemcmp_sse2.
7230
7231 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7232 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7233
8a426e12
UD
7234 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7235
9bea3473
UD
72362011-12-02 Ulrich Drepper <drepper@gmail.com>
7237
3a965496
UD
7238 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7239 problem.
7240
9bea3473
UD
7241 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7242
f101631b
UD
72432011-11-29 Joseph Myers <joseph@codesourcery.com>
7244
7245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7246 conditional on GCC version.
7247 (__arch_compare_and_exchange_val_8_acq)
7248 (__arch_compare_and_exchange_val_16_acq)
7249 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7250 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7251 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7252
a98275aa
UD
72532011-12-02 Joseph Myers <joseph@codesourcery.com>
7254
7255 * sysdeps/sh/backtrace.c: New file.
7256
d4cc29a2
AS
72572011-12-02 Andreas Schwab <schwab@redhat.com>
7258
7259 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7260 parenthesis.
7261
6257af2d
AS
72622011-12-01 Andreas Schwab <schwab@redhat.com>
7263
7264 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7265 falling back to utime.
7266
b5f44c1a
AS
72672011-11-30 Andreas Schwab <schwab@redhat.com>
7268
7269 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7270 expectations for float.
7271
f3a6cc0a
AS
72722011-11-29 Andreas Schwab <schwab@redhat.com>
7273
7274 * locale/weight.h (findidx): Add parameter len.
7275 * locale/weightwc.h (findidx): Likewise.
7276 * posix/fnmatch_loop.c (FCT): Adjust caller.
7277 * posix/regcomp.c (build_equiv_class): Likewise.
7278 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7279 * posix/regexec.c (check_node_accept_bytes): Likewise.
7280 * string/strcoll_l.c (STRCOLL): Likewise.
7281 * string/strxfrm_l.c (STRXFRM): Likewise.
7282
9d65ea3a
UD
72832011-11-17 Ulrich Drepper <drepper@gmail.com>
7284
7285 * Makefile.in: Remove CVSOPT handling.
7286 * configure.in: Remove use of AC_REVISION.
7287 * iconvdata/Makefile (distribute): No need to filter out CVS.
7288 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7289 handling.
7290
5583a086
AS
72912011-11-16 Andreas Schwab <schwab@redhat.com>
7292
7293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7294 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7295 [USE_AS_STRNCASECMP_L]: Likewise.
7296 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7297 NO_TLS_DIRECT_SEG_REFS.
7298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7299 Fix argument offsets for non-PIC.
7300 [USE_AS_STRNCASECMP_L]: Likewise.
7301 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7302 NO_TLS_DIRECT_SEG_REFS.
7303
d62a8200
UD
73042011-11-15 Ulrich Drepper <drepper@gmail.com>
7305
9d65ea3a 7306 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7307 O_CLOEXEC.
7308 * locale/loadlocale.c (_nl_load_locale): Likewise.
7309
09f93bd3
AS
73102011-11-15 Andreas Schwab <schwab@redhat.com>
7311
446514f9
AS
7312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7313 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7315 (SYSCALL_GETTIME): Set errno on error.
7316
09f93bd3
AS
7317 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7318 count references to noai6ai_cached.
7319
312be3f9
UD
73202011-11-15 Ulrich Drepper <drepper@gmail.com>
7321
7322 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7323
7324 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7325 FD_CLOEXEC for /proc/self/maps.
7326
7327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7328 FD_CLOEXEC for /proc/meminfo.
7329
7330 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7331 gai.conf.
7332
7333 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7334 FD_CLOEXEC for given file.
7335
7336 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7337
7338 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7339 FD_CLOEXEC for /etc/hosts.
7340 (_gethtent): Likewise.
7341
7342 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7343
7344 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7345 cancellation and set FD_CLOEXEC for /etc/netgroup.
7346
7347 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7348 reading /etc/publickey.
7349
7350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7351 allow cancellation when reading /etc/group.
7352
7353 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7354 cancellation.
7355 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7356
7357 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7358 when using data file.
7359
7360 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7361
7362 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7363 (write_nis_obj): Use "c" and "e" in fopen.
7364
7365 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7366
7367 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7368
7369 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7370
7371 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7372
7373 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7374 locale.alias.
7375
7376 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7377
7378 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7379
7380 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7381
7382 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7383 file parsing and set FD_CLOEXEC.
7384
82af0fa8
UD
73852011-11-14 Ulrich Drepper <drepper@gmail.com>
7386
7387 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7388
a5fb313c
AS
73892011-11-14 Andreas Schwab <schwab@redhat.com>
7390
7391 * malloc/arena.c (arena_get2): Don't call reused_arena when
7392 _int_new_arena failed.
7393
6abf3465
UD
73942011-11-14 Ulrich Drepper <drepper@gmail.com>
7395
7396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7397 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7402 to compile strcasecmp and strncasecmp.
7403 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7404 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7405
7406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7407
76e3966e
UD
74082011-11-13 Ulrich Drepper <drepper@gmail.com>
7409
7410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7411 locale-defines.sym to gen-as-const-headers.
7412 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7413 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7415 to compile strcasecmp and strncasecmp.
7416 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7417 strcasecmp_l and strncasecmp_l.
7418 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7419 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7420 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7422 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7424 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7425 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7426 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7427 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7428 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7429
ab26144e
UD
74302011-11-12 Ulrich Drepper <drepper@gmail.com>
7431
7edb22ef
UD
7432 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7433 result of SYSDEP_GETTIME_CPU to retval.
7434 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7435 parameter list to macro. Remove trailing semicolon. Adjust users.
7436
9694fc44
UD
7437 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7438 variable.
7439
8ad89ef8
UD
7440 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7441 mantissa words.
7442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7443
0c822ef9
UD
7444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7445 from unused variable.
7446
874e0564
UD
7447 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7448 DWARF definitions.
7449 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7450 for assembling.
7451
3a2edc79
UD
7452 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7453 over namespaces.
7454
f3c2577f
UD
7455 * sunrpc/rpc_prot.c (rejected): Fix case value.
7456
294ce126
UD
7457 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7458 unsigned long long int to avoid warnings in shift.
7459
5e2b63c6
UD
7460 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7461 of use of trans.
7462 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7463 variable tmp.
7464
e7f4b08e
UD
7465 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7466 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7468
ab26144e
UD
7469 * nis/nis_table.c (nis_list): Use variable of correct type for
7470 result of __follow_path call.
7471
8a6d5255
AZ
74722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473
7474 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7475 of math functions ceil, trunc, floor, round, and sqrt, when
7476 avaliable on the platform.
7477 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7478 name clash.
7479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7482
aaddc98c
MP
74832011-10-30 Marek Polacek <mpolacek@redhat.com>
7484
7485 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7487
95b7042b
RM
74882011-11-11 Roland McGrath <roland@hack.frob.com>
7489
7490 * include/unistd.h: Fix __readlink return type.
7491 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7492
57769839
UD
74932011-11-11 Ulrich Drepper <drepper@gmail.com>
7494
7495 * stdlib/ucontext.h: Undo last change for makecontext.
7496
edc5984d
AS
74972011-11-11 Andreas Schwab <schwab@redhat.com>
7498
98591e58
AS
7499 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7500
edc5984d
AS
7501 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7502 * setjmp/setjmp.h: Mark functions as non-leaf.
7503 * setjmp/bits/setjmp2.h: Likewise.
7504 * stdlib/ucontext.h: Likewise.
7505
77cdc054
AS
75062011-11-10 Andreas Schwab <schwab@redhat.com>
7507
7508 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7509 (reused_arena): Don't check arena limit.
7510 (arena_get2): Atomically check arena limit.
7511
fe72eebd
UD
75122011-11-08 Ulrich Drepper <drepper@gmail.com>
7513
5f078c32
UD
7514 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7515 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7516
fe72eebd
UD
7517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7518 instructions.
7519
ae1bc2fa
AS
75202011-11-07 Andreas Schwab <schwab@redhat.com>
7521
7583a88d
AS
7522 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7523 handler when locking.
7524
ae1bc2fa
AS
7525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7526 Fix size of allocated buffer.
7527
10fb0bfa
AS
75282011-11-04 Andreas Schwab <schwab@redhat.com>
7529
998832a4
AS
7530 [BZ #10103]
7531 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7532 declarations for long double functions.
7533 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7534
10fb0bfa
AS
7535 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7536
3d7ba52b
AS
75372011-11-03 Andreas Schwab <schwab@redhat.com>
7538
a9ae54a1
AS
7539 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7540 installed.
7541
3d7ba52b
AS
7542 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7543 is disabled.
7544
bc8db248
ST
75452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7546
7547 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7548
45b96dd6
AS
75492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7550
647776f6
AS
7551 * include/alloca.h (stackinfo_alloca_round): Define.
7552 (extend_alloca): Use it.
7553 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7554 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7555 here.
7556
d91a8b93
AS
7557 * scripts/check-local-headers.sh: Ignore libaudit.h.
7558
45b96dd6
AS
7559 * nscd/Makefile (extra-objs): Make recursively expanded.
7560
432d41ce
UD
75612011-11-01 Ulrich Drepper <drepper@gmail.com>
7562
34372fc6
UD
7563 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7565
fadb59f8
UD
7566 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7567 * posix/tst-rfc3484-2.c: Likewise.
7568 * posix/tst-rfc3484-3.c: Likewise.
7569
78239589
UD
7570 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7571 process_vm_writev.
7572 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7573 process_vm_writev.
7574 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7575 process_vm_writev from libc using GLIBC_2.15 version.
7576
432d41ce
UD
7577 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7578
02f9c6cf
PP
75792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7580
7581 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7582 stack usage.
7583
3a2c0242
UD
75842011-10-31 Ulrich Drepper <drepper@gmail.com>
7585
f4ec4833
UD
7586 [BZ #13367]
7587 * nss/getent.c (initgroups_keys): Show error message in case no group
7588 names are given.
7589
3a2c0242
UD
7590 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7591 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7592 __bump_nl_timestamp.
7593 * nscd/connections (nscd_init): When host database is served open
7594 netlink socket and request notification about configuration changes.
7595 (main_loop_poll): Track netlink file descriptor and bump timestamp
7596 in case data becomes available.
7597 (main_loop_epoll): Likewise.
7598 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7599 (database_pers_head): Add extra_data fileds.
7600 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7602 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7603 Adjust caller.
7604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7605 in6ai data, call __free_in6ai.
7606 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7607 Add -DHAVE_NETLINK.
7608 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7609 interface information. Reuse previous data if netlink timestamp
7610 is not changed.
7611 (__bump_nl_timestamp): New function.
7612 (__free_in6ai): New function.
7613
636064eb
UD
76142011-10-30 Ulrich Drepper <drepper@gmail.com>
7615
7616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7617 close_not_cancel_no_status here.
7618 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7619
9beb2334
UD
76202011-10-29 Ulrich Drepper <drepper@gmail.com>
7621
6ef76f3b
UD
7622 [BZ #13276]
7623 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7624 return value.
7625
0ffc4f3e 7626 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7627 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7628 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7629
cb95113e
UD
76302011-07-03 Andreas Jaeger <aj@suse.de>
7631
7632 [BZ #10709]
7633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7634 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7635 * math/libm-test.inc (sin_test): Add test case.
7636
a1b560ff
UD
76372011-10-29 Ulrich Drepper <drepper@gmail.com>
7638
c9aaface
UD
7639 [BZ #13337]
7640 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7641 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7642
d272e7f1
UD
7643 * elf/chroot_canon.c (chroot_canon): Cleanups.
7644
1bc33071
UD
7645 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7646
1760874d
TJ
7647 [BZ #13335]
7648 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7649 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7650
51d91b18
UD
7651 * string/test-strchr.c: Make usable for strchrnul testing.
7652 * string/test-strchrnul.c: New file.
7653 * string/Makefile (strop-tests): Add strchrnul.
7654
a1b560ff 7655 * po/it.po: Update from translation team.
b611fb81 7656 * po/es.po: Likewise.
a1b560ff 7657
a5b81e1f
UD
76582011-10-28 Ulrich Drepper <drepper@gmail.com>
7659
fd52bc6d
UD
7660 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7661 the three constants needed as parameters. Drop the others.
7662 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7663 __m128i_strloadu_tolower.
52e4b9eb
UD
7664 Create and initialize variable zero and use it in all the places
7665 where _mm_setzero_si128 was used.
fd52bc6d 7666
a5b81e1f
UD
7667 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7668 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7669 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7670 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7671 anymore.
7672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7673 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7674 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7675 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7676 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7677 __mpranred, __mptan.
7678 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7679 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7680 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7681 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7682 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7683 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7685 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7686 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7687
b4343346
AS
76882011-10-28 Andreas Schwab <schwab@redhat.com>
7689
0c92d8a8
AS
7690 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7691 redefine if SHARED.
7692 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7693
b4343346
AS
7694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7695 wide char related routines to wcsmbs subdir.
7696
3871f58f
AS
76972011-10-27 Andreas Schwab <schwab@redhat.com>
7698
7699 [BZ #13344]
7700 * misc/sys/cdefs.h (__THROWNL): Define.
7701 * posix/unistd.h: Use __THREADNL instead of __THREAD
7702 for memory synchronization functions.
7703
94d44d9f
RM
77042011-10-26 Roland McGrath <roland@hack.frob.com>
7705
21b64b15 7706 [BZ #13349]
94d44d9f
RM
7707 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7708 doesn't exist.
7709 * manual/stdio.texi (Obstack Streams): Node removed.
7710
f6ce9294
AS
77112011-10-26 Andreas Schwab <schwab@redhat.com>
7712
80479147
AS
7713 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7714 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7716
f6ce9294
AS
7717 * math/math_private.h (math_force_eval): Allow non-addressable
7718 arguments.
7719 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7720
618280a1
UD
77212011-10-25 Ulrich Drepper <drepper@gmail.com>
7722
e0016b11
UD
7723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7724 file is not needed.
7725
7726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7733 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7734 Add AVX variants.
7735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7740 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7741 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7745 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7746 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7748 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7753 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7754
7755 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7756 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7757
618280a1
UD
7758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7759 place. Use VEX encoding when compiling for AVX.
7760
37822576
AS
77612011-10-25 Andreas Schwab <schwab@redhat.com>
7762
1f1e1947
AS
7763 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7765
37822576
AS
7766 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7767
31ea014d
UD
77682011-10-25 Ulrich Drepper <drepper@gmail.com>
7769
d7826aa1 7770 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7771 useless if() expression.
d7826aa1
UD
7772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7783 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7786 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7787 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7791
31ea014d
UD
7792 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7793
16437fec
AS
77942011-10-25 Andreas Schwab <schwab@redhat.com>
7795
7796 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7797 condition.
7798 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7799
31d3cc00
UD
78002011-10-25 Ulrich Drepper <drepper@gmail.com>
7801
7802 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7803 .text section. Avoid duplicate constants.
7804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7816 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7826 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7828 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7829 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7830 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7831 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7835 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7836 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7837 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7838 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7840 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7842 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7849
58985aa9
UD
78502011-10-24 Ulrich Drepper <drepper@gmail.com>
7851
202c9deb
UD
7852 * sysdeps/x86_64/dla.h: Move to ...
7853 * sysdeps/x86_64/fpu/dla.h: ...here.
7854 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7855 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7856
af968f62
UD
7857 * config.make.in: Add have-mfma4 entry.
7858 * configure.in: Substitute libc_cv_cc_fma4.
7859 * math/Makefile (dbl-only-routines): Add sincostab.
7860 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7861 Use __sincostab not sincos.
7862 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7863 name is a macro.
7864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7868 using __copysign.
7869 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7870 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7871 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7872 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7873 and __inv.
7874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7875 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7876 __copysign.
7877 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7878 define aliases when function name is a macro.
7879 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7880 sysdeps/ieee754/dbl-64/sincos.tbl.
7881 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7882 fma4-enabled routines.
7883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7884 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7885 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7886 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7892 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7893 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7895 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7913
58985aa9
UD
7914 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7915 rename.
7916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7924
a201fbcf
AS
79252011-10-24 Andreas Schwab <schwab@redhat.com>
7926
7927 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7928
fc2ee42a
LD
79292011-10-23 Ulrich Drepper <drepper@gmail.com>
7930
bb3129bd
UD
7931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7932
0275fff8
UD
7933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7934 prediction.
7935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7936
2fa2ae85
UD
7937 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7938 Remove unused variable magic_bits.
7939 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7940
fc2ee42a
LD
7941 * string/strnlen.c: Define and use STRNLEN macro.
7942 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7943 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7945 * wcsmbs/wcslen.c: Define and use WCSLEN.
7946 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7947 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7948 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7949 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7950 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7951 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7953
ce7dd29f
LD
79542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7955
7956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7957 strnlen-sse2-no-bsf.
7958 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7961 Add strnlen support.
7962 (USE_AS_STRNLEN): New macro.
7963 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7965 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7966 * sysdeps/x86_64/wcslen.S: New file.
7967
979c70a3
MZ
79682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7969
7970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7971 XMM-moves are used for copying on small sizes.
7972
2d09f82f
LD
79732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7974
7975 * wcsmbs/Makefile (strop-tests): Add wcschr.
7976 * wcsmbs/test-wcschr.c: New file.
7977 * string/test-strchr.c: Update.
7978 Add wcschr support.
7979 (WIDE): New macro.
7980
619fccca
LD
79812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7982
2d09f82f 7983 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7984 * wcsmbs/test-wcslen.c: New file.
7985 * string/test-strlen.c: Update.
7986 Add wcslen support.
7987 (WIDE): New macro.
7988
09f699ea
UD
79892011-10-23 Ulrich Drepper <drepper@gmail.com>
7990
7991 * po/it.po: Update from translation team.
7992
95584d3b
LD
79932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7994
7995 * sysdeps/x86_64/wcscmp.S: Update.
7996 Fix wrong comparison semantics.
7997 wcscmp shall use signed comparison not unsigned.
7998 Don't use substraction to avoid overflow bug.
7999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8000 * wcsmbc/wcscmp.c: Likewise.
8001 * string/test-strcmp.c: Likewise.
8002 Add new tests to check cases with negative values.
8003
c8b3296b
UD
80042011-10-23 Ulrich Drepper <drepper@gmail.com>
8005
8006 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8007 * sysdeps/x86_64/dla.h: ...here. New file.
8008 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
80182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8019
8020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8021 __ynl_finite aliases.
8022
a1a87169
UD
80232011-10-22 Ulrich Drepper <drepper@gmail.com>
8024
0d355eb7
UD
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8026
a1a87169
UD
8027 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8028 define DLA_FMA.
8029 [DLA_FMA] (EMULV): Use DLA_FMA.
8030 [DLA_FMA] (MUL12): Use EMULV.
8031 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8032 that are not needed.
8033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8040
ee2aafe0
AS
80412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8042
8043 * math/s_nan.c: Undef __nan.
8044 * math/s_nanf.c: Undef __nanf.
8045 * math/s_nanl.c: Undef __nanl.
8046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8047 "math_private.h".
8048
bc62c2fb
UD
80492011-10-22 Ulrich Drepper <drepper@gmail.com>
8050
77425c63
UD
8051 * math/s_catan.c: Add branch predictions.
8052 * math/s_catanf.c: Likewise.
8053 * math/s_catanh.c: Likewise.
8054 * math/s_catanhf.c: Likewise.
8055 * math/s_catanhl.c: Likewise.
8056 * math/s_catanl.c: Likewise.
8057 * math/s_cexp.c: Likewise.
8058 * math/s_cexpf.c: Likewise.
8059 * math/s_cexpl.c: Likewise.
8060 * math/s_clog.c: Likewise.
8061 * math/s_clog10.c: Likewise.
8062 * math/s_clog10f.c: Likewise.
8063 * math/s_clog10l.c: Likewise.
8064 * math/s_clogf.c: Likewise.
8065 * math/s_clogl.c: Likewise.
8066 * math/s_csqrt.c: Likewise.
8067 * math/s_csqrtf.c: Likewise.
8068 * math/s_csqrtl.c: Likewise.
8069 * math/s_ctanf.c: Likewise.
8070 * math/s_ctanh.c: Likewise.
8071 * math/s_ctanhf.c: Likewise.
8072 * math/s_ctanhl.c: Likewise.
8073 * math/s_ctanl.c: Likewise.
8074
bc62c2fb
UD
8075 * math/math_private.h: Define __nan, __nanf, __nanl.
8076 * math/s_cacosh.c: Include <math_private.h>.
8077 * math/s_cacoshl.c: Likewise.
8078 * math/s_casinh.c: Likewise.
8079 * math/s_casinhf.c: Likewise.
8080 * math/s_casinhl.c: Likewise.
8081 * math/s_ccos.c: Rely entire on ccosh.
8082 * math/s_ccosf.c: Rely entire on ccoshf.
8083 * math/s_ccosl.c: Rely entirely on ccoshl.
8084 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8085 Remove tests for FE_INVALID.
8086 * math/s_ccoshf.c: Likewise.
8087 * math/s_ccoshl.c: Likewise.
8088 * math/s_csin.c: Likewise.
8089 * math/s_csinf.c: Likewise.
8090 * math/s_csinh.c Likewise.
8091 * math/s_csinhf.c: Likewise.
8092 * math/s_csinhl.c: Likewise.
8093 * math/s_csinl.c: Likewise.
8094 * math/s_ctan.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8096 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8098
8ec250a4
UD
80992011-10-21 Ulrich Drepper <drepper@gmail.com>
8100
c196fed8
UD
8101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8102 compilation problems.
8103
8ec250a4
UD
8104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8105 __builtin_expect.
8106
8d4f46c6
UD
81072011-10-20 Ulrich Drepper <drepper@gmail.com>
8108
ed72b654
UD
8109 * sysdeps/i386/configure.in: Test for -mfma4 option.
8110 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8111 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8112 COMMON_CPUID_INDEX_80000001.
8113 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8114 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8115 use it if FMA3 is not supported.
8116 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8117
8d4f46c6
UD
8118 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8120
d45c60c2
AS
81212011-10-20 Andreas Schwab <schwab@redhat.com>
8122
8123 [BZ #12892]
8124 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8125 it would create a cycle with a link time dependency.
8126
d9a4d2ab
UD
81272011-10-19 Ulrich Drepper <drepper@gmail.com>
8128
855d1560
UD
8129 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8130 instruction.
8131 * string/Makefile (strop-tests): Add rawmemchr.
8132 * string/test-rawmemchr.c: New file.
8133
d9a4d2ab
UD
8134 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8136 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8137 when compiling str{,n}casecmp and when AVX is available. Hook up
8138 new optimized code in initializers.
8139
8f3b1ffe
AS
81402011-10-19 Andreas Schwab <schwab@redhat.com>
8141
8142 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8143 __feraiseexcept instead of feraiseexcept.
8144
d38f1dba
UD
81452011-10-18 Ulrich Drepper <drepper@gmail.com>
8146
d9a8d0ab
UD
8147 * math/math_private.h: Define defaults for libc_fetestexcept and
8148 libc_feupdateenv.
8149 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8150 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8154 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8155 libc_fetestexcept and libc_feupdateenv.
8156
4855e3dd
UD
8157 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8158 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8159 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8160 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8161 libc_feholdexcept_setround.
8162
581d30e3
UD
8163 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8164 Add s_nearbyint-c and s_nearbyintf-c.
8165 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8166 nearbyintf inlines.
8167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8171
d38f1dba
UD
8172 * math/math_private.h: Define defaults for libc_fegetround,
8173 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8174 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8175 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8176 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8177 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8178 standard functions.
8179 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8180 Remove comments and hacks for old compiler versions.
8181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8182 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8183 libc_feholdexceptl.
8184
caa6c9d8
AS
81852011-10-18 Andreas Schwab <schwab@redhat.com>
8186
8187 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8188 (__feraiseexcept_renamed): Add __NTH.
8189 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8190 namespace violations.
8191
97c066e6
UD
81922011-10-17 Ulrich Drepper <drepper@gmail.com>
8193
99ce7b04
UD
8194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8195
1004d182
UD
8196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8197
228a984d
UD
8198 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8199 recently added interfaces.
8200 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8201
c8553a6a
UD
8202 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8203 about macro parameter expansion.
8204
ed22dcf6
UD
8205 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8206 __NO_MATH_INLINES is defined. Cleanups.
8207
8208 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8209 and __floorf is target has SSE4.1.
8210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8212 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8214
b171c137
UD
8215 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8216 name.
8217 (floorf): Likewise.
8218
97c066e6
UD
8219 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8220
629f62ef
AS
82212011-10-17 Andreas Schwab <schwab@redhat.com>
8222
49a43d80
AS
8223 * misc/sys/cdefs.h: Fix last change.
8224
629f62ef
AS
8225 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8226 database lookup.
8227
e453f6cd
UD
82282011-10-16 Ulrich Drepper <drepper@gmail.com>
8229
aa78043a
UD
8230 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8231
ad0f5cad
UD
8232 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8241 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8242 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8243 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8244 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8247 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8249 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8251 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8253 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8254
8255 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8256 ceil, ceilf, floor, floorf.
8257
8258 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8259 Perform IRELATIVE relocations last.
8260
e453f6cd
UD
8261 * elf/do-rel.h: Add another parameter nrelative, replacing the
8262 local variable with the same name. Change name of the function
8263 to end in Rel or Rela (uppercase).
8264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8265 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8266 elf_dynamic_do_##reloc function.
8267
fd5bdc09
UD
82682011-10-15 Ulrich Drepper <drepper@gmail.com>
8269
79b195b5
UD
8270 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8271 is sufficient, at least on modern CPUs.
8272
d4a28569
UD
8273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8274
b61099b5
UD
8275 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8277
bcf01e6d
UD
8278 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8279 __expl_finite.
8280 * math/bits/math-finite.h: Add entries for exp.
8281 * math/e_expl.c: Add __*_finite alias.
8282 * sysdeps/i386/fpu/e_exp.S: Likewise.
8283 * sysdeps/i386/fpu/e_expf.S: Likewise.
8284 * sysdeps/i386/fpu/e_expl.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8290 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8292
ba1a0d59
UD
8293 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8294 is sufficient, at least on modern CPUs.
8295
fd5bdc09
UD
8296 * ctype/ctype-info.c (__ctype_init): Define.
8297 * include/ctype.h (__ctype_init): Declare.
8298 (__ctype_b_loc): The variable is always initialized.
8299 (__ctype_toupper_loc): Likewise.
8300 (__ctype_tolower_loc): Likewise.
8301 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8302 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8303
7872cfb0
AS
83042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8305
b468825a
AS
8306 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8307
7872cfb0
AS
8308 * configure.in: Also look in $cxxmachine/include for C++ system
8309 headers.
8310
be13f7bf
LD
83112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8312
8313 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8314 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8315 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8316 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8318 (USE_AS_WMEMCMP): New macro.
8319 Fixing indents.
8320 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8321 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8322 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8323 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8325 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8326 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8327 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8328 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8329 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8331 (USE_AS_WMEMCMP): New macro.
8332 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8333 * sysdeps/string/test-memcmp.c: Update.
8334 Fix simple_wmemcmp.
8335 Add new tests.
8336 * wcsmbs/wmemcmp.c: Update.
8337 (WMEMCMP): New macro.
8338 Fix overflow bug.
8339
556a2007
AJ
83402011-10-12 Andreas Jaeger <aj@suse.de>
8341
8342 [BZ #13268]
8343 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8344
538faaa7
UD
83452011-10-15 Ulrich Drepper <drepper@gmail.com>
8346
ab6737ff
UD
8347 * libio/iofwide.c (do_length): Avoid warning.
8348
538faaa7
UD
8349 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8350
396a21b1
UD
83512011-10-14 Ulrich Drepper <drepper@gmail.com>
8352
cdf2901f
UD
8353 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8354
38ad40ce
UD
8355 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8356 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8357 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8358 * sysdeps/i386/i686/fpu/e_log.S: New file.
8359 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8360 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8361
396a21b1
UD
8362 * ctype/ctype.h: Add support for inlined isXXX functions when
8363 compiling C++ code.
8364
6b1f68c9
AS
83652011-10-14 Andreas Schwab <schwab@redhat.com>
8366
349290c0
AS
8367 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8368
6b1f68c9
AS
8369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8370
f2282d42
RM
83712011-10-13 Roland McGrath <roland@hack.frob.com>
8372
8373 [BZ #13291]
8374 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8375
5298ffa8
AS
83762011-10-13 Andreas Schwab <schwab@redhat.com>
8377
714fad23
AS
8378 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8379 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8380 feraiseexcept.
8381
81dcc7fb
AS
8382 * sysdeps/x86_64/memrchr.S: Check for zero size.
8383
5298ffa8
AS
8384 * string/stratcliff.c: Add memrchr tests.
8385
951fbcec
LD
83862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8387
8388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8389 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8390 rawmemchr-sse2 rawmemchr-sse2-bsf.
8391 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8392 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8393 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8394 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8395 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8396 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8397 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8398 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8399 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8401 * string/memrchr.c (MEMRCHR): New macro.
8402
0ac5ae23
UD
84032011-10-12 Ulrich Drepper <drepper@gmail.com>
8404
8405 Add integration with gcc's -ffinite-math-only and optimize wrapper
8406 functions in libm.
8407 * Versions.def: Define GLIBC_2.15 version for libm.
8408 * math/Makefile (headers): Add bits/math-finite.h.
8409 * math/bits/math-finite.h: New file.
8410 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8411 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8412 * math/e_acoshl.c: Add __*_finite alias.
8413 * math/e_acosl.c: Likewise.
8414 * math/e_asinl.c: Likewise.
8415 * math/e_atan2l.c: Likewise.
8416 * math/e_atanhl.c: Likewise.
8417 * math/e_coshl.c: Likewise.
8418 * math/e_exp10.c: Likewise.
8419 * math/e_exp10f.c: Likewise.
8420 * math/e_exp10l.c: Likewise.
8421 * math/e_exp2l.c: Likewise.
8422 * math/e_fmodl.c: Likewise.
8423 * math/e_gammal_r.c: Likewise.
8424 * math/e_hypotl.c: Likewise.
8425 * math/e_j0l.c: Likewise.
8426 * math/e_j1l.c: Likewise.
8427 * math/e_jnl.c: Likewise.
8428 * math/e_lgammal_r.c: Likewise.
8429 * math/e_log10l.c: Likewise.
8430 * math/e_log2l.c: Likewise.
8431 * math/e_logl.c: Likewise.
8432 * math/e_powl.c: Likewise.
8433 * math/e_sinhl.c: Likewise.
8434 * math/e_sqrtl.c: Likewise.
8435 * math/e_scalb.c: Completely rewritten and optimized.
8436 * math/e_scalbf.c: Likewise.
8437 * math/e_scalbl.c: Likewise.
8438 * math/w_acos.c: Likewise.
8439 * math/w_acosf.c: Likewise.
8440 * math/w_acosl.c: Likewise.
8441 * math/w_acosh.c: Likewise.
8442 * math/w_acoshf.c: Likewise.
8443 * math/w_acoshl.c: Likewise.
8444 * math/w_asin.c: Likewise.
8445 * math/w_asinf.c: Likewise.
8446 * math/w_asinl.c: Likewise.
8447 * math/w_atan2.c: Likewise.
8448 * math/w_atan2f.c: Likewise.
8449 * math/w_atan2l.c: Likewise.
8450 * math/w_atanh.c: Likewise.
8451 * math/w_atanhf.c: Likewise.
8452 * math/w_atanhl.c: Likewise.
8453 * math/w_exp10.c: Likewise.
8454 * math/w_exp10f.c: Likewise.
8455 * math/w_exp10l.c: Likewise.
8456 * math/w_fmod.c: Likewise.
8457 * math/w_fmodf.c: Likewise.
8458 * math/w_fmodl.c: Likewise.
8459 * math/w_j0.c: Likewise.
8460 * math/w_j0f.c: Likewise.
8461 * math/w_j0l.c: Likewise.
8462 * math/w_j1.c: Likewise.
8463 * math/w_j1f.c: Likewise.
8464 * math/w_j1l.c: Likewise.
8465 * math/w_jn.c: Likewise.
8466 * math/w_jnf.c: Likewise.
8467 * math/w_log.c: Likewise.
8468 * math/w_logf.c: Likewise.
8469 * math/w_logl.c: Likewise.
8470 * math/w_log10.c: Likewise.
8471 * math/w_log10f.c: Likewise.
8472 * math/w_log10l.c: Likewise.
8473 * math/w_log2.c: Likewise.
8474 * math/w_log2f.c: Likewise.
8475 * math/w_log2l.c: Likewise.
8476 * math/w_pow.c: Likewise.
8477 * math/w_powf.c: Likewise.
8478 * math/w_powl.c: Likewise.
8479 * math/w_remainder.c: Likewise.
8480 * math/w_remainderf.c: Likewise.
8481 * math/w_remainderl.c: Likewise.
8482 * math/w_scalb.c: Likewise.
8483 * math/w_scalbf.c: Likewise.
8484 * math/w_scalbl.c: Likewise.
8485 * math/w_sqrt.c: Likewise.
8486 * math/w_sqrtf.c: Likewise.
8487 * math/w_sqrtl.c: Likewise.
8488 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8489 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8490 used.
8491 * math/math_private.h: Declare __kernel_standard_f.
8492 * math/w_cosh.c: Remove cruft and optimize a bit.
8493 * math/w_coshf.c: Likewise.
8494 * math/w_coshl.c: Likewise.
8495 * math/w_exp2.c: Likewise.
8496 * math/w_exp2f.c: Likewise.
8497 * math/w_exp2l.c: Likewise.
8498 * math/w_hypot.c: Likewise.
8499 * math/w_hypotf.c: Likewise.
8500 * math/w_hypotl.c: Likewise.
8501 * math/w_lgamma.c: Likewise.
8502 * math/w_lgamma_r.c: Likewise.
8503 * math/w_lgammaf.c: Likewise.
8504 * math/w_lgammaf_r.c: Likewise.
8505 * math/w_lgammal.c: Likewise.
8506 * math/w_lgammal_r.c: Likewise.
8507 * math/w_sinh.c: Likewise.
8508 * math/w_sinhf.c: Likewise.
8509 * math/w_sinhl.c: Likewise.
8510 * math/w_tgamma.c: Likewise.
8511 * math/w_tgammaf.c: Likewise.
8512 * math/w_tgammal.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8515 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8516 Minor optimizations. Pretty printing. Remove cruft.
8517 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8519 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8521 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8522 * sysdeps/i386/fpu/e_asin.S: Likewise.
8523 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8524 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8525 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8526 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8527 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8530 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8531 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8532 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8533 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8534 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8535 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8536 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8537 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8538 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8539 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8540 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8541 * sysdeps/i386/fpu/e_log.S: Likewise.
8542 * sysdeps/i386/fpu/e_log10.S: Likewise.
8543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8545 * sysdeps/i386/fpu/e_log2.S: Likewise.
8546 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8548 * sysdeps/i386/fpu/e_logf.S: Likewise.
8549 * sysdeps/i386/fpu/e_logl.S: Likewise.
8550 * sysdeps/i386/fpu/e_pow.S: Likewise.
8551 * sysdeps/i386/fpu/e_powf.S: Likewise.
8552 * sysdeps/i386/fpu/e_powl.S: Likewise.
8553 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8554 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8555 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8557 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8559 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8560 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8561 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8590 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8603 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8641 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8643 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8653 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8654 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8655 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8659 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8660 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8661 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8662 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8663 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8664 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8665 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8667 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8668 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8670 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8672 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8673 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8674 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8675 (__isnanf): Likewise.
8676 (__isinf_ns): Likewise.
8677 (__isinf_nsf): Likewise.
8678 (__finite): Likewise.
8679 (__finitef): Likewise.
8680 (__ieee754_sqrt): Define as macro.
8681 (__ieee754_sqrtf): Define as macro.
8682 (__ieee754_sqrtl): Define as macro.
8683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8684 inlined copy.
8685 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8686 __FINITE_MATH_ONLY__ consistent.
8687 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8688
12cc2fcd
AS
86892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8690
a843a204
AS
8691 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8692 of rawmemchr.
8693
12cc2fcd
AS
8694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8695
c853acd5
UD
86962011-10-09 Ulrich Drepper <drepper@gmail.com>
8697
8698 * po/ja.po: Update from translation team.
8699
c658d255
RM
87002011-10-08 Roland McGrath <roland@hack.frob.com>
8701
110946e4
RM
8702 * locale/programs/locarchive.c (prepare_address_space): New function.
8703 (create_archive, enlarge_archive, open_archive): Use it.
8704
50604220
RM
8705 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8706 inside [SHARED], where it is used.
8707
c658d255
RM
8708 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8709
8710 * nss/getent.c (netgroup_keys): Remove unused variable.
8711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8712
6a621eb7
UD
87132011-10-08 Ulrich Drepper <drepper@gmail.com>
8714
7edb55ce
UD
8715 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8716 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8721 * math/Makefile (libm-calls): Add s_isinf_ns.
8722 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8723 * math/multc3.c: Likewise.
8724 * math/s_casin.c: Likewise.
8725 * math/s_casinf.c: Likewise.
8726 * math/s_casinl.c: Likewise.
8727 * math/s_ccos.c: Likewise.
8728 * math/s_ccosf.c: Likewise.
8729 * math/s_ccosl.c: Likewise.
8730 * math/s_ctan.c: Likewise.
8731 * math/s_ctanf.c: Likewise.
8732 * math/s_ctanh.c: Likewise.
8733 * math/s_ctanhf.c: Likewise.
8734 * math/s_ctanhl.c: Likewise.
8735 * math/s_ctanl.c: Likewise.
8736 * math/w_fmod.c: Likewise.
8737 * math/w_fmodf.c: Likewise.
8738 * math/w_fmodl.c: Likewise.
8739 * math/w_remainder.c: Likewise.
8740 * math/w_remainderf.c: Likewise.
8741 * math/w_remainderl.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8743 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8746 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8747 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8748 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8749 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8750
187da0ae
UD
8751 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8752 of the number.
8753 * stdio-common/printf_fphex.c: Likewise.
8754 * stdio-common/printf_size.c: Likewise.
8755
9277c064
UD
8756 * math/e_exp10.c: Include math_private.h using <...> not "...".
8757 * math/e_exp10f.c: Likewise.
8758 * math/e_exp10l.c: Likewise.
8759 * math/e_exp2l.c: Likewise.
8760 * math/e_j0l.c: Likewise.
8761 * math/e_j1l.c: Likewise.
8762 * math/e_jnl.c: Likewise.
8763 * math/e_lgammal_r.c: Likewise.
8764 * math/e_rem_pio2l.c: Likewise.
8765 * math/e_scalb.c: Likewise.
8766 * math/e_scalbf.c: Likewise.
8767 * math/e_scalbl.c: Likewise.
8768 * math/k_cosl.c: Likewise.
8769 * math/k_sinl.c: Likewise.
8770 * math/k_tanl.c: Likewise.
8771 * math/s_cacoshf.c: Likewise.
8772 * math/s_catan.c: Likewise.
8773 * math/s_catanf.c: Likewise.
8774 * math/s_catanh.c: Likewise.
8775 * math/s_catanhf.c: Likewise.
8776 * math/s_catanhl.c: Likewise.
8777 * math/s_catanl.c: Likewise.
8778 * math/s_ccosh.c: Likewise.
8779 * math/s_ccoshf.c: Likewise.
8780 * math/s_ccoshl.c: Likewise.
8781 * math/s_cexp.c: Likewise.
8782 * math/s_cexpf.c: Likewise.
8783 * math/s_cexpl.c: Likewise.
8784 * math/s_clog.c: Likewise.
8785 * math/s_clog10.c: Likewise.
8786 * math/s_clog10f.c: Likewise.
8787 * math/s_clog10l.c: Likewise.
8788 * math/s_clogf.c: Likewise.
8789 * math/s_clogl.c: Likewise.
8790 * math/s_csin.c: Likewise.
8791 * math/s_csinf.c: Likewise.
8792 * math/s_csinh.c: Likewise.
8793 * math/s_csinhf.c: Likewise.
8794 * math/s_csinhl.c: Likewise.
8795 * math/s_csinl.c: Likewise.
8796 * math/s_csqrt.c: Likewise.
8797 * math/s_csqrtf.c: Likewise.
8798 * math/s_csqrtl.c: Likewise.
8799 * math/s_ctan.c: Likewise.
8800 * math/s_ctanf.c: Likewise.
8801 * math/s_ctanh.c: Likewise.
8802 * math/s_ctanhf.c: Likewise.
8803 * math/s_ctanhl.c: Likewise.
8804 * math/s_ctanl.c: Likewise.
8805 * math/s_ldexp.c: Likewise.
8806 * math/s_ldexpf.c: Likewise.
8807 * math/s_ldexpl.c: Likewise.
8808 * math/s_significand.c: Likewise.
8809 * math/s_significandf.c: Likewise.
8810 * math/s_significandl.c: Likewise.
8811 * math/w_acos.c: Likewise.
8812 * math/w_acosf.c: Likewise.
8813 * math/w_acosh.c: Likewise.
8814 * math/w_acoshf.c: Likewise.
8815 * math/w_acoshl.c: Likewise.
8816 * math/w_acosl.c: Likewise.
8817 * math/w_asin.c: Likewise.
8818 * math/w_asinf.c: Likewise.
8819 * math/w_asinl.c: Likewise.
8820 * math/w_atan2.c: Likewise.
8821 * math/w_atan2f.c: Likewise.
8822 * math/w_atan2l.c: Likewise.
8823 * math/w_atanh.c: Likewise.
8824 * math/w_atanhf.c: Likewise.
8825 * math/w_atanhl.c: Likewise.
8826 * math/w_cosh.c: Likewise.
8827 * math/w_coshf.c: Likewise.
8828 * math/w_coshl.c: Likewise.
8829 * math/w_dremf.c: Likewise.
8830 * math/w_exp10.c: Likewise.
8831 * math/w_exp10f.c: Likewise.
8832 * math/w_exp10l.c: Likewise.
8833 * math/w_exp2.c: Likewise.
8834 * math/w_exp2f.c: Likewise.
8835 * math/w_fmod.c: Likewise.
8836 * math/w_fmodf.c: Likewise.
8837 * math/w_fmodl.c: Likewise.
8838 * math/w_hypot.c: Likewise.
8839 * math/w_hypotf.c: Likewise.
8840 * math/w_hypotl.c: Likewise.
8841 * math/w_j0.c: Likewise.
8842 * math/w_j0f.c: Likewise.
8843 * math/w_j0l.c: Likewise.
8844 * math/w_j1.c: Likewise.
8845 * math/w_j1f.c: Likewise.
8846 * math/w_j1l.c: Likewise.
8847 * math/w_jn.c: Likewise.
8848 * math/w_jnf.c: Likewise.
8849 * math/w_jnl.c: Likewise.
8850 * math/w_lgamma.c: Likewise.
8851 * math/w_lgamma_r.c: Likewise.
8852 * math/w_lgammaf.c: Likewise.
8853 * math/w_lgammaf_r.c: Likewise.
8854 * math/w_lgammal.c: Likewise.
8855 * math/w_lgammal_r.c: Likewise.
8856 * math/w_log.c: Likewise.
8857 * math/w_log10.c: Likewise.
8858 * math/w_log10f.c: Likewise.
8859 * math/w_log10l.c: Likewise.
8860 * math/w_log2.c: Likewise.
8861 * math/w_log2f.c: Likewise.
8862 * math/w_log2l.c: Likewise.
8863 * math/w_logf.c: Likewise.
8864 * math/w_logl.c: Likewise.
8865 * math/w_pow.c: Likewise.
8866 * math/w_powf.c: Likewise.
8867 * math/w_powl.c: Likewise.
8868 * math/w_remainder.c: Likewise.
8869 * math/w_remainderf.c: Likewise.
8870 * math/w_remainderl.c: Likewise.
8871 * math/w_scalb.c: Likewise.
8872 * math/w_scalbf.c: Likewise.
8873 * math/w_scalbl.c: Likewise.
8874 * math/w_sinh.c: Likewise.
8875 * math/w_sinhf.c: Likewise.
8876 * math/w_sinhl.c: Likewise.
8877 * math/w_sqrt.c: Likewise.
8878 * math/w_sqrtf.c: Likewise.
8879 * math/w_sqrtl.c: Likewise.
8880 * math/w_tgamma.c: Likewise.
8881 * math/w_tgammaf.c: Likewise.
8882 * math/w_tgammal.c: Likewise.
8883
6a621eb7
UD
8884 * po/ja.po: Update from translation team.
8885
bf582445
AJ
88862011-09-29 Andreas Jaeger <aj@suse.de>
8887
f9efbf3a
AJ
8888 [BZ #13179]
8889 * sunrpc/netname.c (netname2host): Fix logic.
8890
bf582445
AJ
8891 [BZ #6779]
8892 [BZ #6783]
8893 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8894 correctly.
8895 * math/w_remainder.c (__remainder): Likewise.
8896 * math/w_remainderf.c (__remainderf): Likewise.
8897 * math/libm-test.inc (remainder_test): Add test cases.
8898
48693bea
AK
88992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8900
8901 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8902 sdiv_qrnnd.
8903
42622229
LD
89042011-10-07 Ulrich Drepper <drepper@gmail.com>
8905
8906 * string/test-memcmp.c: Avoid unncessary #defines.
8907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8908
093ecf92
LD
89092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8910
8911 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8912 Use new sse2 version for core i3 - i7 as it's faster
8913 than sse42 version.
8914 (bit_Prefer_PMINUB_for_stringop): New.
8915 * sysdeps/x86_64/rawmemchr.S: Update.
8916 Replace with faster SSE2 version.
8917 * sysdeps/x86_64/memrchr.S: New file.
8918 * sysdeps/x86_64/memchr.S: Update.
8919 Replace with faster SSE2 version.
8920
fde56e5c
MP
89212011-09-12 Marek Polacek <mpolacek@redhat.com>
8922
8923 * elf/dl-load.c (lose): Add cast to avoid warning.
8924
21fd49a9
UD
89252011-10-07 Ulrich Drepper <drepper@gmail.com>
8926
5a06e643
UD
8927 * po/ca.po: Update from translation team.
8928
684ae515
UD
8929 * inet/getnetgrent_r.c: Hook up nscd.
8930 * nscd/Makefile (routines): Add nscd_netgroup.
8931 (nscd-modules): Add netgroupcache.
8932 (CFLAGS-netgroupcache.c): Define.
8933 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8934 (cache_search): Add const to second parameter.
8935 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8936 INNETGR.
8937 (dbs): Add netgrdb entry.
8938 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8939 (verify_persistent_db): Handle netgrdb.
8940 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8941 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8942 GETFDNETGR.
8943 (netgroup_response_header): Define.
8944 (innetgroup_response_header): Define.
8945 (datahead): Add netgroup_response_header and innetgroup_response_header
8946 elements.
8947 * nscd/nscd.conf: Add entries for netgroup cache.
8948 * nscd/nscd.h (dbtype): Add netgrdb.
8949 (_PATH_NSCD_NETGROUP_DB): Define.
8950 (netgroup_iov_disabled): Declare.
8951 (xmalloc, xcalloc, xrealloc): Move declarations here.
8952 (cache_search): Adjust prototype.
8953 Add netgroup-related prototypes.
8954 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8955 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8956 (__nscd_innetgr): Declare.
8957 * nscd/selinux.c (perms): Use access_vector_t as element type and
8958 add netgroup-related initializers.
8959 * nscd/netgroupcache.c: New file.
8960 * nscd/nscd_netgroup.c: New file.
8961 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8962 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8963 For four parameters use innetgr.
8964 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8965 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8966 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8967 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8968
21fd49a9
UD
8969 * nscd/connections.c (register_traced_file): Don't register file
8970 for disabled databases.
8971
054c0457
UD
89722011-10-06 Ulrich Drepper <drepper@gmail.com>
8973
32b63198
UD
8974 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8975
054c0457
UD
8976 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8977 from tree and freeing node.
8978
64031225
JO
89792011-09-25 Jiri Olsa <jolsa@redhat.com>
8980
8981 * nss/nsswitch.c (__nss_database_lookup): Handle
8982 nss_parse_service_list out of memory case.
8983
0490345c
JO
89842011-09-15 Jiri Olsa <jolsa@redhat.com>
8985
8986 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8987 out of memory case.
8988
3a62d00d
AS
89892011-10-04 Andreas Schwab <schwab@redhat.com>
8990
8991 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8992 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8993 pass it down.
8994 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8995 elf_machine_rela, elf_machine_lazy_rel.
8996 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8997 (ELF_DYNAMIC_DO_REL): Likewise.
8998 (ELF_DYNAMIC_DO_RELA): Likewise.
8999 (ELF_DYNAMIC_RELOCATE): Likewise.
9000 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9001 to ELF_DYNAMIC_DO_REL.
9002 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9003 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9004 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9005 elf_machine_rela.
9006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9007 skip_ifunc, don't call ifunc function if non-zero.
9008 (elf_machine_rela): Likewise.
9009 (elf_machine_lazy_rel): Likewise.
9010 (elf_machine_lazy_rela): Likewise.
9011 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9012 (elf_machine_lazy_rel): Likewise.
9013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9014 Likewise.
9015 (elf_machine_lazy_rel): Likewise.
9016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9017 Likewise.
9018 (elf_machine_lazy_rel): Likewise.
9019 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9020 (elf_machine_lazy_rel): Likewise.
9021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9022 (elf_machine_lazy_rel): Likewise.
9023 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9024 (elf_machine_lazy_rel): Likewise.
9025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9026 (elf_machine_lazy_rel): Likewise.
9027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9028 (elf_machine_lazy_rel): Likewise.
9029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9030 (elf_machine_lazy_rel): Likewise.
9031
68577918
UD
90322011-09-28 Ulrich Drepper <drepper@gmail.com>
9033
9034 * nss/nss_files/files-init.c (_nss_files_init): Use static
9035 initialization for all the *_traced_file variables.
9036
68822d74
AS
90372011-09-28 Andreas Schwab <schwab@redhat.com>
9038
9039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9040
2056100b
RM
90412011-09-27 Roland McGrath <roland@hack.frob.com>
9042
9043 [BZ #13226]
9044 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9045
32c76b63
AS
90462011-09-27 Andreas Schwab <schwab@redhat.com>
9047
9048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9049 Reread the line before reparsing it.
9050
bf972c9d
AS
90512011-09-26 Andreas Schwab <schwab@redhat.com>
9052
9053 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9054
e057a1b5
JM
90552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9056 Maxim Kuvyrkov <maxim@codesourcery.com>
9057 Joseph Myers <joseph@codesourcery.com>
9058
9059 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9060 if needed for __stack_chk_guard.
9061
bc7e1c36
RM
90622011-09-19 Roland McGrath <roland@hack.frob.com>
9063
ecb1482f
RM
9064 * sysdeps/posix/spawni.c (script_execute): Always define it.
9065 It will be optimized away if unused.
9066 (maybe_script_execute): New function.
9067 (__spawni): Call it.
9068
bc7e1c36
RM
9069 * Makerules: Don't include tls.make.
9070 (config-tls): Always set to thread.
9071 * tls.make.c: File removed.
9072
1c3b002b
MF
90732011-09-19 Mike Frysinger <vapier@gentoo.org>
9074
9075 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9076 * config.make.in (CPPFLAGS-config): New substituted variable.
9077
2840865d
UD
90782011-09-15 Ulrich Drepper <drepper@gmail.com>
9079
88738eb6
UD
9080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9081
cbf645a6 9082 [BZ #13192]
2840865d
UD
9083 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9084 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9085
b402e91a
RM
90862011-09-15 Roland McGrath <roland@hack.frob.com>
9087
9088 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9089 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9091 (CALL_FAIL): Likewise.
9092 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9093 (CALL_FAIL): Macro removed.
9094 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9095
4c1a1f71
UD
90962011-09-15 Ulrich Drepper <drepper@gmail.com>
9097
9098 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9099 for __FINITE_MATH_ONLY__ == 1.
9100
edc121be
AS
91012011-09-15 Andreas Schwab <schwab@redhat.com>
9102
9103 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9104 __ieee754_sqrt instead of sqrt.
9105 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9106 __ieee754_sqrtf instead of sqrtf.
9107 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9108 __floorf instead of floorf.
9109 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9110 __floorf, __truncf instead of floorf, truncf.
9111
cd205654
UD
91122011-09-14 Ulrich Drepper <drepper@gmail.com>
9113
ee4d0315
UD
9114 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9115
cd205654
UD
9116 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9117 __extern_always_inline.
9118 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9119 32-bit.
9120
48b67d71
AS
91212011-09-14 Andreas Schwab <schwab@redhat.com>
9122
9123 * elf/rtld.c (dl_main): Also relocate in dependency order when
9124 doing symbol dependency testing.
9125
1ae12c75
AS
91262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9127
9128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9129 Always define `refsym'.
9130
995a80df
AS
91312011-09-13 Andreas Schwab <schwab@redhat.com>
9132
e529793b
AS
9133 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9134 (__FD_ELT): Renamed from __FDELT.
9135 * misc/bits/select2.h (__FD_ELT): Likewise.
9136 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9137 __FD_MASK instead of __FDELT, __FDMASK.
9138 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9139 Likewise.
9140 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9141 Likewise.
9142
52d4fef8
AS
9143 * elf/Makefile (gen-ldd): Fix pattern.
9144
995a80df
AS
9145 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9146 (init_tls): Likewise.
9147
8682f8b0
UD
91482011-09-12 Ulrich Drepper <drepper@gmail.com>
9149
9150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9151
de82006d
AS
91522011-09-12 Andreas Schwab <schwab@redhat.com>
9153
a7c8e6a1
AS
9154 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9155 `struct cmsghdr *' instead of `void *'.
9156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9157 Likewise.
9158
0f31fe77
AS
91592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9162 if non-absolute.
9163 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9164 ldd_rewrite_script.
0f31fe77 9165
32b4c839
UD
91662011-09-11 Ulrich Drepper <drepper@gmail.com>
9167
83cd1420
UD
9168 * configure.in: Remove --with-tls option.
9169 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9170 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9171 out in case it is missing.
9172 * sysdeps/ia64/elf/configure.in: Likewise.
9173 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9174 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9175 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9176 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9177 * sysdeps/sh/elf/configure.in: Likewise.
9178 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9180 * sysdeps/x86_64/elf/configure.in: Likewise.
9181 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9182 * sysdeps/mach/hurd/tls.h: Likewise.
9183
633f745d
UD
9184 [BZ #13067]
9185 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9186
f318beb8
UD
9187 [BZ #13090]
9188 * configure.in: Fix use of AC_INIT.
9189
32b4c839
UD
9190 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9191
3ce1f295
UD
91922011-09-10 Ulrich Drepper <drepper@gmail.com>
9193
bb016596
UD
9194 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9195 __set_errno.
8e58439c
UD
9196 * malloc/hooks.c: Likewise.
9197
aebae053 9198 [BZ #11929]
02d46fc4
UD
9199 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9200 variables statically.
9201 (narenas): Initialize.
9202 (list_lock): Initialize.
bb016596
UD
9203 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9204 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9205 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9206 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9207 Add initializers to main_arena and mp_.
9208 (malloc_state): Remove pagesize member. Change all users to use
9209 GLRO(dl_pagesize).
9210
9211 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9212 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9213 is always initialized.
9214
22a89187
UD
9215 * malloc/malloc.c: Removed unused configurations and dead code.
9216 * malloc/arena.c: Likewise.
9217 * malloc/hooks.c: Likewise.
02d46fc4 9218 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9219
d063d164
UD
9220 * include/tls.h: Removed. USE___THREAD must always be defined.
9221 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9222 * elf/dl-libc.c: Likewise.
9223 * elf/dl-tsd.c: Likewise.
9224 * include/errno.h: Likewise.
9225 * include/netdb.h: Likewise.
9226 * include/resolv.h: Likewise.
9227 * inet/herrno-loc.c: Likewise.
9228 * inet/herrno.c: Likewise.
9229 * malloc/arena.c: Likewise.
9230 * malloc/hooks.c: Likewise.
9231 * malloc/malloc.c: Likewise.
9232 * resolv/res-state.c: Likewise.
9233 * resolv/res_libc.c: Likewise.
9234 * sysdeps/i386/dl-machine.h: Likewise.
9235 * sysdeps/ia64/dl-machine.h: Likewise.
9236 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9238 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9239 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9240 * sysdeps/sh/dl-machine.h: Likewise.
9241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9243 * sysdeps/unix/i386/sysdep.S: Likewise.
9244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9245 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9250 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9255 * sysdeps/x86_64/dl-machine.h: Likewise.
9256 * tls.make.c: Likewise.
9257
3ce1f295
UD
9258 * configure.in: Remove --with-__thread option. Make tests for
9259 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9260 tls_model attribute fail if no support is available. Remove
9261 USE_IN_LIBIO.
9262 * Makeconfig: Adjust for dropped configure option. All features are
9263 now mandatory.
9264 * Makerules: Likewise.
9265 * Versions.def: Likewise.
9266 * argp/argp-fmtstream.c: Likewise.
9267 * argp/argp-fmtstream.h: Likewise.
9268 * argp/argp-help.c: Likewise.
9269 * assert/assert.c: Likewise.
9270 * config.h.in: Likewise.
9271 * config.make.in: Likewise.
9272 * configure: Likewise.
9273 * configure.in: Likewise.
9274 * csu/Versions: Likewise.
9275 * csu/init.c: Likewise.
9276 * elf/tst-audit2.c: Likewise.
9277 * elf/tst-tls10.c: Likewise.
9278 * elf/tst-tls10.h: Likewise.
9279 * elf/tst-tls11.c: Likewise.
9280 * elf/tst-tls12.c: Likewise.
9281 * elf/tst-tls14.c: Likewise.
9282 * elf/tst-tlsmod11.c: Likewise.
9283 * elf/tst-tlsmod12.c: Likewise.
9284 * elf/tst-tlsmod13.c: Likewise.
9285 * elf/tst-tlsmod13a.c: Likewise.
9286 * elf/tst-tlsmod14a.c: Likewise.
9287 * elf/tst-tlsmod15b.c: Likewise.
9288 * elf/tst-tlsmod16a.c: Likewise.
9289 * elf/tst-tlsmod16b.c: Likewise.
9290 * elf/tst-tlsmod7.c: Likewise.
9291 * elf/tst-tlsmod8.c: Likewise.
9292 * elf/tst-tlsmod9.c: Likewise.
9293 * gmon/gmon.c: Likewise.
9294 * grp/fgetgrent_r.c: Likewise.
9295 * grp/putgrent.c: Likewise.
9296 * hurd/fopenport.c: Likewise.
9297 * include/libc-symbols.h: Likewise.
9298 * include/tls.h: Likewise.
9299 * intl/gettextP.h: Likewise.
9300 * intl/loadinfo.h: Likewise.
9301 * locale/global-locale.c: Likewise.
9302 * locale/localeinfo.h: Likewise.
9303 * mach/devstream.c: Likewise.
9304 * malloc/arena.c: Likewise.
9305 * malloc/set-freeres.c: Likewise.
9306 * misc/err.c: Likewise.
9307 * misc/getttyent.c: Likewise.
9308 * misc/mntent_r.c: Likewise.
9309 * posix/getopt.c: Likewise.
9310 * posix/wordexp.c: Likewise.
9311 * pwd/fgetpwent_r.c: Likewise.
9312 * resolv/Versions: Likewise.
9313 * resolv/res_hconf.c: Likewise.
9314 * shadow/fgetspent_r.c: Likewise.
9315 * shadow/putspent.c: Likewise.
9316 * stdio-common/printf_fphex.c: Likewise.
9317 * stdio-common/tmpfile.c: Likewise.
9318 * stdlib/abort.c: Likewise.
9319 * stdlib/fmtmsg.c: Likewise.
9320 * sunrpc/auth_unix.c: Likewise.
9321 * sunrpc/clnt_perr.c: Likewise.
9322 * sunrpc/clnt_tcp.c: Likewise.
9323 * sunrpc/clnt_udp.c: Likewise.
9324 * sunrpc/clnt_unix.c: Likewise.
9325 * sunrpc/openchild.c: Likewise.
9326 * sunrpc/svc_simple.c: Likewise.
9327 * sunrpc/svc_tcp.c: Likewise.
9328 * sunrpc/svc_udp.c: Likewise.
9329 * sunrpc/svc_unix.c: Likewise.
9330 * sunrpc/xdr.c: Likewise.
9331 * sunrpc/xdr_array.c: Likewise.
9332 * sunrpc/xdr_rec.c: Likewise.
9333 * sunrpc/xdr_ref.c: Likewise.
9334 * sunrpc/xdr_stdio.c: Likewise.
9335
1248c1c4
PB
93362011-09-09 Ulrich Drepper <drepper@gmail.com>
9337
9338 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9339
93402011-07-03 Andreas Jaeger <aj@suse.de>
9341
9342 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9343 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9344 regenerate with gen-libm-tests.pl.
9345
93462010-05-12 Petr Baudis <pasky@suse.cz>
9347
9348 [BZ #11589]
9349 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9350 around j0() zero points by switching to j1().
9351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9355
f22e1074
UD
93562011-09-09 Ulrich Drepper <drepper@gmail.com>
9357
f19009c1
UD
9358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9359 instead of 0.
9360 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9361 instead of 0. .
9362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9363 Patch in part by Pavel Roskin <proski@gnu.org>.
9364
3f8cc204
UD
9365 [BZ #13138]
9366 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9367 realloc.
9368 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9369 Free memory block if necessary.
9370
f22e1074
UD
9371 [BZ #12847]
9372 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9373 be NULL. Don't lock in this case.
9374
0a2349f9
RM
93752011-09-09 Roland McGrath <roland@hack.frob.com>
9376
9377 * elf/elf.h (ELFOSABI_GNU): New macro.
9378 (ELFOSABI_LINUX): Define to that.
9379
f3cdd467
DZ
93802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9381
9382 * string/strncat.c (strncat): Undef the symbol in case it has been
9383 defined in bits/string.h.
9384
74718d13
UD
93852011-09-09 Ulrich Drepper <drepper@gmail.com>
9386
633e9e0f
UD
9387 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9388
0a2349f9 9389 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9390 link map.
9391
f9924780
AJ
93922011-08-17 Andreas Jaeger <aj@suse.de>
9393
9394 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9395
7f5517aa
PP
93962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9397 Ian Lance Taylor <iant@google.com>
9398
9399 * math/libm-test.inc (lround_test): New testcase.
9400 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9401
762011fe
UD
94022011-09-08 Ulrich Drepper <drepper@gmail.com>
9403
92963737
UD
9404 * Makefile: Remove support for automatic cvs check-ins.
9405 * Makerules: Likewise.
9406 * config.make.in: Likewise.
9407 * configure.in: Likewise.
9408 * intl/Makefile: Likewise.
9409 * locale/Makefile: Likewise.
9410 * po/Makefile: Likewise.
9411 * posix/Makefile: Likewise.
9412 * sysdeps/gnu/Makefile: Likewise.
9413 * sysdeps/mach/hurd/Makefile: Likewise.
9414 * sysdeps/sparc/sparc32/Makefile: Likewise.
9415
b0727fd8
JS
9416 [BZ #13118]
9417 * posix/Makefile (bug-regex32-ENV): Define.
9418 Patch by John Stanley <jpsinthemix@verizon.net>.
9419
a0f33f99
UD
9420 * misc/Makefile (headers): Add bits/select2.h.
9421 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9422 * misc/bits/select2.h: New file.
9423 * include/bits/select2.h: New file.
9424 * debug/Makefile (routines): Add fdelt_chk.
9425 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9426 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9427 FD_ISSET.
9428 * debug/fdelt_chk.c: New file.
9429
762011fe
UD
9430 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9431 * wcsmbs/test-wmemcmp.c: Likewise.
9432 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9433 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9434
94352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9436
9437 * string/Makefile (strop-tests): Add memcmp.
9438 * string/test-wmemcmp.c: New file.
9439 * string/test-memcmp.c: Add wmemcmp support.
9440
7f513ec8
RM
94412011-09-08 Roland McGrath <roland@hack.frob.com>
9442
0442afb4
RM
9443 [BZ #13153]
9444 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9445 2011-07-19 change.
9446
7f513ec8
RM
9447 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9448 garbage value in a __mach_port_mod_refs call in the cases of the
9449 task-self and thread-self ports.
9450
a12b2239
ST
94512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9452
9453 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9454
610f9ab4
AS
94552011-09-08 Andreas Schwab <schwab@redhat.com>
9456
7f513ec8 9457 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9458
48882a1a
LD
94592011-09-07 Ulrich Drepper <drepper@gmail.com>
9460
b49865be
UD
9461 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9462
fdc86bc9
UD
9463 * elf/dl-libc.c (dlerror_run): Pass back error code from
9464 dl_catch_error.
9465
c966526a
UD
9466 [BZ #13123]
9467 * elf/dl-load.c (lose): Free l_origin if it is valid.
9468
48882a1a
LD
9469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9470 names.
9471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9475 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9476 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9477
77a2a8b4
AZ
94782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9479
9480 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9481 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9482 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9483 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9484 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9485 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9486 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9487 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9488 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9489 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9490
24f579d8
AM
94912011-08-15 Alan Modra <amodra@gmail.com>
9492
9493 [BZ #13092]
9494 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9495 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9496 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9497 ppc_mcount to static-only-routines.
9498 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9499 __mcount_internal.
9500 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9501 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9502
3d4837df
UD
95032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9504
9505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9506 for finite and infinity parameters.
9507
22700377
WS
95082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9509
9510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9511 and add nop instructions for throughput optimization.
9512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9513
5025581e
WS
95142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9515
9516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9517 aligned copy for power7 with vector-scalar instructions.
9518 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9519
08a300c9
L
95202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9521
9522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9523 AVX check.
9524
59178ef9
AS
95252011-09-07 Andreas Schwab <schwab@redhat.com>
9526
9527 [BZ #13144]
9528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9529 last change.
9530
e38ba7ab
UD
95312011-09-07 Ulrich Drepper <drepper@gmail.com>
9532
9533 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9534 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9535 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9537 clock_gettime.
9538
d53a73ac
UD
95392011-09-06 Ulrich Drepper <drepper@gmail.com>
9540
fc8bffcc
UD
9541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9542 Forgot to demangle the pointer.
9543
ceaa0c5d
UD
9544 * sysdeps/i386/sysdep.h: Define atom_text_section.
9545 * sysdeps/x86_64/sysdep.h: Likewise.
9546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9547 section with atom_text_section.
9548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9550 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9553
a77d3c17
UD
9554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9555 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9556 already be defined. Change to take two parameters and don't assign
9557 result to variable. Adjust all users.
9558 Define INTERNAL_GETTIME if not already defined.
9559 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9560 call.
9561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9562 HAVE_CLOCK_GETTIME_VSYSCALL.
9563 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9564
d53a73ac
UD
9565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9566 gettimeofday vsyscall, just use time.
9567
a8f84144
AS
95682011-09-06 Andreas Schwab <schwab@redhat.com>
9569
9570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9571 <errno.h>.
9572
ef606249
UD
95732011-09-06 Ulrich Drepper <drepper@gmail.com>
9574
9575 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9576 syscall on x86-64.
9577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9578 syscall.
9579 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9581 syscall if possible.
9582
6585cb60
UD
95832011-09-05 Ulrich Drepper <drepper@gmail.com>
9584
9585 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9586 e_ident. Don't pass to find_mapsXX.
9587 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9588
a5f524e4
LD
95892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9590
9591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9592 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9593 * sysdeps/x86_64/multiarch/strchr.S: Update.
9594 Check bit_slow_BSF bit.
9595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9596 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9598
554881ef
UD
95992011-09-05 Ulrich Drepper <drepper@gmail.com>
9600
d96de963
UD
9601 [BZ #13134]
9602 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9603 before glibc 2.15.
9604 (tryshell): Define.
9605 (__spawni): Change last parameter to be flag. Test
9606 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9607 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9608 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9609 * posix/spawni.c: Likewise.
9610 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9611 * posix/spawnp.c: Likewise. Change normal version to use
9612 SPAWN_XFLAGS_USE_PATH.
9613 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9614 SPAWN_XFLAGS_TRY_SHELL.
9615
d48e5868
UD
9616 [BZ #13150]
9617 * posix/glob.h: Remove gcc 1.x support.
9618
554881ef
UD
9619 [BZ #13068]
9620 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9621
693fb948
LD
96222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9623
9624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9625 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9626 strrchr-sse2-bsf
9627 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9628 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9631 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9633
1b48c537
UD
96342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9635
49d42c37
UD
9636 * sysdeps/x86_64/wcscmp.S: New file.
9637
1b48c537
UD
9638 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9639 wcscmp-c wcscmp-sse2
9640 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9641 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9643 * wcsmbs/wcscmp.c: Allow renaming.
9644
15c95c5d
DM
96452011-09-05 David S. Miller <davem@davemloft.net>
9646
9647 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9648 stack slot, rather than the struct return pointer slot.
9649 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9650 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9653
2f0ad8f3
UD
96542011-09-05 Ulrich Drepper <drepper@gmail.com>
9655
d88ae418
UD
9656 * po/ja.po: Update from translation team.
9657
2f0ad8f3
UD
9658 [BZ #13144]
9659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9660 kernel in 64-bit binaries.
9661
5f4318d1
DM
96622011-09-01 David S. Miller <davem@davemloft.net>
9663
9664 * elf/elf.h (HWCAP_SPARC_*): Move to..
9665 * sysdeps/sparc/sysdep.h: this new file and add new values.
9666 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9667 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9668 _DL_HWCAP_COUNT to 24.
9669 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9670 entries.
9671 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9672 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9673 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9675 instead of magic constants.
9676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9677
3ba57516
DM
96782011-08-31 David S. Miller <davem@davemloft.net>
9679
9680 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9682 Reimplement to do errno handling inline.
9683 (SYSCALL_ERROR_HANDLER): New macro.
9684 (__SYSCALL_STRING): Do not do errno handling in asm.
9685 (__CLONE_SYSCALL_STRING): Delete.
9686 (__INTERNAL_SYSCALL_STRING): Delete.
9687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9688 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9689 (PSEUDO): Reimplement to do errno handling inline.
9690 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9691 (SYSCALL_ERROR_HANDLER): New macro.
9692 (__SYSCALL_STRING): Do not do errno handling in asm.
9693 (__CLONE_SYSCALL_STRING): Delete.
9694 (__INTERNAL_SYSCALL_STRING): Delete.
9695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9696 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9697 i386.
9698 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9699 (inline_syscall*): Add 'err' argument.
9700 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9701 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9702 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9703 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9704
9705 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9706 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9707
2bc17433
AS
97082011-08-30 Andreas Schwab <schwab@redhat.com>
9709
9710 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9711
fbeb5f4d
JO
97122011-08-29 Jiri Olsa <jolsa@redhat.com>
9713
9714 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9715 directive.
9716
ad69cc26
DM
97172011-08-24 David S. Miller <davem@davemloft.net>
9718
9719 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9720
39dd69df
AS
97212011-08-24 Andreas Schwab <schwab@redhat.com>
9722
9723 * elf/Makefile: Add rules to build and run unload8 test.
9724 * elf/unload8.c: New file.
9725 * elf/unload8mod1.c: New file.
9726 * elf/unload8mod1x.c: New file.
9727 * elf/unload8mod2.c: New file.
9728 * elf/unload8mod3.c: New file.
9729
9730 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9731 it wasn't used.
9732
2c0b250a
DM
97332011-08-23 David S. Miller <davem@davemloft.net>
9734
9735 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9736 subtract stack bias.
9737 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9738 %sp not %fp in calculations.
9739 (_JMPBUF_UNWINDS_ADJ): Likewise.
9740
22044b48
DM
9741 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9742 (aio_suspend): Call it to force an exception region around the
9743 AIO_MISC_WAIT() invocation.
9744
2cae4995
AS
97452011-08-23 Andreas Schwab <schwab@redhat.com>
9746
9747 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9748 backslash.
9749
873a772e
AJ
97502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9751
9752 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9753 protection macro.
9754 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9755 and <dl-machine.h>.
9756 (Elf64_FuncDesc): Remove.
9757
25ad0df1
DM
97582011-08-22 David S. Miller <davem@davemloft.net>
9759
9760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9761 sigaltstack check, add missing cfi directives.
9762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9763 missing cfi directives, and sigaltstack handling.
9764
e888bcbe
AS
97652011-08-16 Andreas Schwab <schwab@redhat.com>
9766
9767 [BZ #11724]
9768 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9769 object is seen twice.
9770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9771
9772 * elf/Makefile (distribute): Add tst-initorder2.c.
9773 (tests): Add tst-initorder2.
9774 (modules-names): Add tst-initorder2a tst-initorder2b
9775 tst-initorder2c tst-initorder2d. Add rules to build them.
9776 ($(objpfx)tst-initorder2.out): New rule.
9777 * elf/tst-initorder2.c: New file.
9778 * elf/tst-initorder2.exp: New file.
9779
87162f46
AS
97802011-08-22 Andreas Schwab <schwab@redhat.com>
9781
70538b7f
AS
9782 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9783
f55ffe58
AS
9784 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9785 dependencies back to end of function.
9786
87162f46
AS
9787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9788 $(elfobjdir)/ld.so.
9789
91b392a4
UD
97902011-08-21 Ulrich Drepper <drepper@gmail.com>
9791
9792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9793 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9795 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9796 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9797 of __vdso_gettimeofday.
9798 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9799 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9800 attribute_hidden.
9801 (_libc_vdso_platform_setup): Remove initialization of
9802 __vdso_gettimeofday and __vdso_time.
9803
5c43483f
UD
98042011-08-20 Ulrich Drepper <drepper@gmail.com>
9805
775a77e7
UD
9806 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9807 and fgetc_unlocked.
9808 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9809 getc_unlocked.
89f447ed 9810
49c74ba9
UD
9811 * elf/dl-open.c (add_to_global): Report additions to the global scope
9812 for LD_DEBUG=scopes.
9813 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9814 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9815
5c43483f
UD
9816 [BZ #13114]
9817 * stdio-common/Makefile (tests): Add bug24.
9818 * stdio-common/bug24.c: New file.
9819
a101b025
AJ
98202011-08-19 Andreas Jaeger <aj@suse.de>
9821
9822 [BZ #13114]
9823 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9824 non-existant file when using close-on-exec mode.
9825
c88f1766
UD
98262011-08-20 Ulrich Drepper <drepper@gmail.com>
9827
0276a718
UD
9828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9829 the very first instruction.
9830
c88f1766
UD
9831 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9832 the CFI state in the end.
9833 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9834 inclusion of dl-trampoline.h.
9835 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9836
51ccffa0
AS
98372011-08-19 Andreas Schwab <schwab@redhat.com>
9838
94d7165f
AS
9839 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9840 expectations for long double.
9841
51ccffa0
AS
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9843 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9844
fd708658 98452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9846
9847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9848 artificual limit depends upon the system page size.
9849
44f0a71e
UD
98502011-08-17 Ulrich Drepper <drepper@gmail.com>
9851
9852 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9853 * resolv/Makefile: Define CFLAGS-libresolv.
9854
8de79a24
AS
98552011-08-17 Andreas Schwab <schwab@redhat.com>
9856
9857 * nss/makedb.c (compute_tables): Make variables used in nested
9858 function static.
9859
27724598
UD
98602011-08-17 Ulrich Drepper <drepper@gmail.com>
9861
c5305d88
UD
9862 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9863 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9864 if buffer was too small.
9865
27724598
UD
9866 * elf/pldd.c (main): Attach to all threads in the process.
9867 Rewrite /proc handling to use *at functions.
9868
076fe015
UD
98692011-08-16 Ulrich Drepper <drepper@gmail.com>
9870
174baab3
UD
9871 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9872 specifies first scope to show.
9873 (dl_open_worker): Update callers. Move printing scope of new
9874 object to before the relocation.
44f0a71e 9875 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9876 * sysdeps/generic/ldsodefs.h: Update declaration.
9877
076fe015
UD
9878 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9879 string for the scope number.
9880
a60df2c3
UD
98812011-08-14 Ulrich Drepper <drepper@gmail.com>
9882
9883 * nscd/servicescache.c (cache_addserv): Make sure written is always
9884 initialized.
9885
5e4287d1
RM
98862011-08-14 Roland McGrath <roland@hack.frob.com>
9887
85ae0589
RM
9888 * sysdeps/i386/i486/bits/atomic.h
9889 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9890 statement expression, so as to suppress "set but not used" warning.
9891 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9892
69f63097
RM
9893 * string/strncat.c (STRNCAT): Use prototype definition.
9894
675456ef
RM
9895 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9896 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9897 -Iprograms here.
9898 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9899 (localedef-modules): Add localedef.
9900 (locale-modules): Add locale.
9901
5e4287d1
RM
9902 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9903 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9904 to avoid a warning.
9905
9c96ff23
DM
99062011-08-14 David S. Miller <davem@davemloft.net>
9907
9908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9909 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9910
f9ddf089
UD
99112011-08-13 Ulrich Drepper <drepper@gmail.com>
9912
44f0a71e 9913 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9914 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9915 * elf/rtld.c (dl_main): Set l_name of vDSO.
9916 Call _dl_show_scope when DL_DEBUG_SCOPES.
9917 (process_dl_debug): Recognize scopes flag and also set it for all.
9918 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9919 Declare _dl_show_scope.
9920
1dc27704
UD
9921 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9922 (do_dlopen): Pass caller_dlopen to dl_open.
9923 (__libc_dlopen_mode): Initialize caller_dlopen.
9924
f9ddf089
UD
9925 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9926 of libc. Make tolower call locale-independent. Optimize a bit by
9927 using isdigit instead of isalnum.
9928 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9929
9ac533d3
UD
99302011-08-12 Ulrich Drepper <drepper@gmail.com>
9931
9932 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9933 was a dependency or dynamically loaded.
9934
89edf2e9
UD
99352011-08-11 Ulrich Drepper <drepper@gmail.com>
9936
8e999d29
UD
9937 * intl/l10nflist.c: Allow architecture-specific pop function.
9938 * sysdeps/x86_64/l10nflist.c: New file.
9939
89edf2e9
UD
9940 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9941 classification.
9942
14d96785
AS
99432011-08-10 Andreas Schwab <schwab@redhat.com>
9944
9945 * include/dirent.h: Add libc_hidden_proto for scandirat and
9946 scandirat64. Don't declare __scandirat64.
9947 * dirent/scandirat.c: Add libc_hidden_def.
9948 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9949 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9950
6761ac04
DM
99512011-08-10 David S. Miller <davem@davemloft.net>
9952
9953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9954 enum.
9955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9958
c55fbd1e
UD
99592011-08-09 Ulrich Drepper <drepper@gmail.com>
9960
9961 * Versions.def [libc]: Add GLIBC_2.15.
9962 * dirent/Makefile (routines): Add scandirat and scandirat64.
9963 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9964 GLIBC_2.15.
9965 * dirent/dirent.h: Declare scandirat and scandirat64.
9966 * dirent/scandirat.c: New file.
9967 * dirent/scandirat64.c: New file.
9968 * sysdeps/wordsize-64/scandirat.c: New file.
9969 * sysdeps/wordsize-64/scandirat64.c: New file.
9970 * dirent/opendir.c: Define opendirat.
9971 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9972 using scandirat.
9973 * dirent/scandir64.c: Adjust for scandir.c change.
9974 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9975 __scandirat64, and __scandir_cancel_handler.
9976 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9977 additional parameter and use openat instead of open (outside of ld.so).
9978 Add new __opendir as wrapper around __opendirat.
9979 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9980 here without requiring old scandirat implementation.
9981
879165f2
UD
99822011-08-08 Ulrich Drepper <drepper@gmail.com>
9983
9984 * dirent/scandir.c (cancel_handler): Renamed to
9985 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9986 defined. Adjust users.
9987 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9988 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9989
cb7e923b
UD
99902011-08-04 Ulrich Drepper <drepper@gmail.com>
9991
16292edd
UD
9992 * string/test-string.h (IMPL): Use __STRING to expand name and then
9993 stringify it.
9994
cb7e923b
UD
9995 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9996 of cleanups.
9997
cff82933
LD
99982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9999
10000 * string/Makefile: Update.
10001 (strop-tests): Append strncat.
10002 * string/test-wcscmp.c: New file.
10003 New comprehensive test for wcscmp.
10004 * string/test-strcmp.c: Update.
10005 (WIDE): New define.
10006
9be9bfcc
AS
100072011-07-22 Andreas Schwab <schwab@redhat.com>
10008
10009 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10010 line.
10011
2e96f1c7
AS
100122011-07-26 Andreas Schwab <schwab@redhat.com>
10013
10014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10015 encoding to ACE if AI_IDN.
10016
85188888
JJ
100172011-08-01 Jakub Jelinek <jakub@redhat.com>
10018
10019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10020 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10021
5fa16e9b
LD
100222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10023
10024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10025 Fix overflow bug in strncat.
10026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10027
10028 * string/test-strncat.c: Update.
10029 Add new tests for checking overflow bugs.
10030
100312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10032
10033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10034 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10035 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10036 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10038 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10039 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10040 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10041 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10042
10043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10044 (USE_AS_STRCAT): Define.
10045 Add strcat and strncat support.
10046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10047
8c1a459f
AS
100482011-07-25 Andreas Schwab <schwab@redhat.com>
10049
10050 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10051 __n bigger than INT_MAX+1.
10052 (__strncmp_g): Likewise.
10053
bba33c28
UD
100542011-07-23 Ulrich Drepper <drepper@gmail.com>
10055
798be72d
UD
10056 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10057 * libio/stido.h: Likewise.
10058
8accd4dc
UD
10059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10060 (AF_NFC): Define.
10061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10062 (AF_NFC): Define.
10063
cbff0d96
UD
10064 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10069
9191c04a
UD
10070 [BZ #13021]
10071 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10072 installed.
10073
bba33c28
UD
10074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10075 typo.
10076 (_dl_x86_64_save_sse): Likewise.
10077
90f139dd
UD
100782011-07-22 Ulrich Drepper <drepper@gmail.com>
10079
1aae088a
UD
10080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10081 OSXSAVE.
10082 (_dl_x86_64_save_sse): Likewise.
10083
8e2045f5
UD
10084 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10085
90f139dd
UD
10086 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10087
1d002f25
AS
100882011-07-21 Andreas Schwab <schwab@redhat.com>
10089
10090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10091 change.
10092 (_dl_x86_64_save_sse): Use correct AVX check.
10093
21137f89
UD
100942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10095
10096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10097 bug in strncpy/strncat.
10098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10099
a65c0b7a
UD
101002011-07-21 Ulrich Drepper <drepper@gmail.com>
10101
10102 * string/tester.c (test_strcat): Add tests for different alignments
10103 of source and destination.
10104 (test_strncat): Likewise.
10105
6986b98a
UD
101062011-07-20 Ulrich Drepper <drepper@gmail.com>
10107
90bb2039
UD
10108 [BZ #12852]
10109 * posix/glob.c (glob): Check passed in values before using them in
10110 expressions to avoid some overflows.
10111 (glob_in_dir): Likewise.
10112
5644ef54
UD
10113 [BZ #13007]
10114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10115 check for AVX enablement so that we don't crash with old kernels and
10116 new hardware.
10117 * elf/tst-audit4.c: Add same checks here.
10118 * elf/tst-audit6.c: Likewise.
10119
10120 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10121
bfc9dc9b
AS
101222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10123
10124 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10125
702e64bb
UD
101262011-07-20 Ulrich Drepper <drepper@gmail.com>
10127
10128 * po/cs.po: Update from translation team.
10129 * po/bg.po: Likewise.
10130
295e904f
MP
101312011-07-12 Marek Polacek <mpolacek@redhat.com>
10132
10133 * misc/sys/cdefs.h: Add support for const attribute.
10134 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10135 to gnu_dev_{major,minor,makedev} functions.
10136
3ff94596
MP
101372011-07-20 Marek Polacek <mpolacek@redhat.com>
10138
10139 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10140
28b59fca
AS
101412011-07-20 Andreas Schwab <schwab@redhat.com>
10142
10143 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10144 strlen results.
10145
19df733e
AK
101462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10147
10148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10149 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10150 register in order to avoid conflicts with the soft frame pointer
10151 being held in r11 when necessary.
10152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10153 (INTERNAL_VSYSCALL_NCS): Likewise.
10154
c8835729
MP
101552011-07-14 Marek Polacek <mpolacek@redhat.com>
10156
10157 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10158 * elf/dl-fini.c (_dl_fini): Adjust caller.
10159 * elf/dl-close.c (_dl_close_worker): Likewise.
10160 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10161
b902330c
MP
101622011-07-15 Marek Polacek <mpolacek@redhat.com>
10163
8991e135
MP
10164 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10165 "aux_cache->nlibs < 0".
10166
b902330c
MP
10167 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10168 in the reload-count case.
10169
99710781
LD
101702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10171
10172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10173 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10174 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10176 * sysdeps/x86_64/multiarch/strcat.S: New file.
10177 * sysdeps/x86_64/multiarch/strncat.S: New file.
10178 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10179 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10180 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10181 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10183 (USE_AS_STRCAT): Define.
10184 Add strcat and strncat support.
10185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10187 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10188 * string/strncat.c: Update.
10189 (USE_AS_STRNCAT): Define.
10190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10191 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10192 and i7.
10193 * sysdeps/x86_64/multiarch/init-arch.h
10194 (bit_Prefer_PMINUB_for_stringop): New.
10195 (index_Prefer_PMINUB_for_stringop): Likewise.
10196 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10197 bit_Prefer_PMINUB_for_stringop.
10198
7dc6bd90
UD
101992011-07-19 Ulrich Drepper <drepper@gmail.com>
10200
10201 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10202 buffer64.
10203 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10204 of casting of buffer.
10205 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10206 buffer32 and buffer64.
10207 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10208 writes instead of casting of buffer.
10209 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10210 buffer32.
10211 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10212 casting of buffer.
10213
e0e72284
AS
102142011-07-19 Andreas Schwab <schwab@redhat.com>
10215
10216 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10217
feb1eb0b
UD
102182011-07-19 Ulrich Drepper <drepper@gmail.com>
10219
10220 * nscd/nscd.c (termination_handler): Don't do anything for a database
10221 if it has not yet been initialized.
10222
298711ff
UD
102232011-07-18 Ulrich Drepper <drepper@gmail.com>
10224
10225 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10226
102272011-07-15 Marek Polacek <mpolacek@redhat.com>
10228
10229 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10230
f9d68389
UD
102312011-07-18 Ulrich Drepper <drepper@gmail.com>
10232
10233 * po/nl.po: Update from translation team.
10234 * po/sv.po: Likewise.
10235
db290cf5
RM
102362011-07-16 Roland McGrath <roland@hack.frob.com>
10237
10238 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10239 now disallowed by GCC.
5c550700 10240
fd5e21c7
RM
10241 * configure.in (use-default-link): Default to yes if a test -shared
10242 link meets our qualifications.
10243 * configure: Regenerated.
10244
5c550700
RM
10245 * config.make.in (output-format): New variable.
10246 * configure.in: Check for ld --print-output-format support.
10247 * configure: Regenerated.
10248 * Makerules ($(common-objpfx)format.lds)
10249 [$(output-format) != unknown]: Just use $(output-format),
10250 instead of the linker-script munging.
10251
9fa2c032
RM
102522011-07-14 Roland McGrath <roland@hack.frob.com>
10253
a6928d51
RM
10254 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10255 of $(common-objpfx)shlib.lds.
10256 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10257
661607b3
RM
10258 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10259 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10260
9fa2c032
RM
10261 * configure.in (-z relro check): Adjust test code to add a large
10262 writable data section after it.
10263 * configure: Regenerated.
10264
defe9061
RM
102652011-07-11 Roland McGrath <roland@hack.frob.com>
10266
10267 * configure.in (-z relro check): Fix test code to make the variable
10268 truly const.
10269 * configure: Regenerated.
10270
319b9ad4
UD
102712011-07-11 Ulrich Drepper <drepper@gmail.com>
10272
10273 * nscd/nscd.h (struct traced_file): Define.
10274 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10275 elements. Add traced_files.
10276 (inotify_fd): Declare.
10277 (register_traced_file): Declare.
10278 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10279 (inotify_fd): Export.
10280 (resolv_conf_descr): Remove.
10281 (nscd_init): Move inotify descriptor creation to main.
10282 Don't register files for notification here.
10283 (register_traced_file): New function.
10284 (invalidate_cache): Don't use reset_res to determine whether to call
10285 res_init, go through the list of registered files.
10286 (main_loop_poll): The inotify descriptors are now stored in the
10287 structures for the traced files.
10288 (main_loop_epoll): Likewise
10289 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10290 to __nss_disable_nscd.
10291 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10292 for a database anymore. Check the records for all the registered
10293 files instead.
10294 * nss/Makefile (libnss_files-routines): Add files-init.
10295 (libnss_db-routines): Add db-init.
10296 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10297 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10298 * nss/nss_db/db-init.c: New file.
10299 * nss/nss_files/files-init.c: New file.
10300 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10301 __nss_lookup_function.
10302 (__nss_lookup_function): Call nss_load_library.
10303 (nss_load_all_libraries): New function.
10304 (__nss_disable_nscd): Take parameter with callback function for files
10305 to register. Set is_nscd. Load all the DSOs for the NSS modules
10306 used for the cached services.
10307 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10309 options for features to all the files in nscd.
10310
10311 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10312
23bee3e8
RM
103132011-07-10 Roland McGrath <roland@hack.frob.com>
10314
10315 * csu/elf-init.c (__libc_csu_init): Comment typo.
10316
46a5b7f0
UD
103172011-07-09 Ulrich Drepper <drepper@gmail.com>
10318
10319 * po/pl.po: Update from translation team.
10320 * po/ja.po: Likewise.
10321 * po/ru.po: Likewise.
10322 * po/ko.po: Likewise.
10323 * po/fr.po: Likewise.
10324
d30cf5bb
RM
103252011-07-09 Roland McGrath <roland@hack.frob.com>
10326
113ddea4
RM
10327 * configure.in (.ctors/.dtors header and trailer check):
10328 Use an empirical test on a built program.
10329 * configure: Regenerated.
10330
574920b4
RM
10331 * configure.in (-z relro check): Use an empirical test on a built DSO.
10332 Detect, but do not require, on ia64.
10333 * configure: Regenerated.
10334
d30cf5bb
RM
10335 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10336 Update tests that use readelf to use $READELF instead.
10337 * configure: Regenerated.
10338
8538fdb3
UD
103392011-07-08 Ulrich Drepper <drepper@gmail.com>
10340
10341 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10342 if the result is not used.
10343
04d08991
AJ
103442011-07-05 Andreas Jaeger <aj@suse.de>
10345
10346 [BZ#9696]
10347 * stdlib/tst-strtod.c: Add testcase.
10348
de283087
AD
103492011-07-07 Ulrich Drepper <drepper@gmail.com>
10350
4e5f31c8 10351 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10352 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10353 The latter has a higher limit. Take additional parameter to pass to
10354 the new function.
10355 (__pathconf): Pass file to __statfs_link_max.
10356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10357 __statfs_link_max.
10358 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10359 __statfs_link_max.
10360
de283087
AD
10361 [BZ #12868]
10362 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10364 Handle Lustre.
10365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10366 (__statfs_filesize_max): Likewise.
10367 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10368
c75fa153
AJ
103692011-07-05 Andreas Jaeger <aj@suse.de>
10370
10371 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10372
1a544854
UD
103732011-07-06 Marek Polacek <mpolacek@redhat.com>
10374
10375 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10376 `status' variable.
10377 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10378 Likewise.
10379
6f0eec67
UD
103802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 * Makefile (strop-tests): Add strncat.
10383 * string/test-strncat.c: New file.
10384
aae30307
UD
103852011-06-30 Marek Polacek <mpolacek@redhat.com>
10386
10387 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10388
c0cfb5eb
UD
103892011-06-21 Andreas Jaeger <aj@suse.de>
10390
10391 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10392 Copy rule from iconvdata/Makefile.
10393
01636b21
UD
103942011-07-06 Ulrich Drepper <drepper@gmail.com>
10395
10396 [BZ #12922]
10397 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10398 but no long options are defined, just return 'W'.
10399
9895c8bc
UD
104002011-06-22 Marek Polacek <mpolacek@redhat.com>
10401
10402 [BZ #9696]
10403 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10404
5d4cf042
UD
104052011-07-06 Ulrich Drepper <drepper@gmail.com>
10406
10407 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10408 netgroups to read.
960e5535 10409 (innetgr): Likewise.
5d4cf042 10410
751eb97e
RM
104112011-07-05 Roland McGrath <roland@hack.frob.com>
10412
10413 * config.make.in (install_root): Default to $(DESTDIR).
10414
f15f1e45
UD
104152011-07-05 Ulrich Drepper <drepper@gmail.com>
10416
10417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10418
4e34ac6a
RM
104192011-07-02 Roland McGrath <roland@hack.frob.com>
10420
5e9b6af4
RM
10421 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10422
84f9ea0f
RM
10423 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10424 containing directory rather than embedding absolute directory names.
10425
ea5ee9f7
RM
10426 * scripts/check-local-headers.sh: Rewritten using awk.
10427 Match by word, not by line. Print error messages for matches.
10428 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10429
1b74661a
RM
10430 * Makerules [shlib-lds-flags empty]:
10431 ($(common-objpfx)libc_pic.opts): New target.
10432 ($(common-objpfx)libc_pic.os.clean): New target.
10433 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10434
10435 * config.make.in (OBJCOPY): New variable.
10436 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10437 * configure: Regenerated.
10438
f781ef40
RM
10439 * config.make.in (use-default-link): New variable.
10440 * configure.in (use_default_link): Grok --with-default-link to set it.
10441 * configure: Regenerated.
10442 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10443 (shlib-lds, shlib-lds-flags): Define to empty.
10444
2d4fa81e
RM
10445 * Makerules (shlib-lds): New variable.
10446 (shlib-lds-flags): New variable.
10447 (build-shlib, build-moduile, build-module-asneeded): Use it.
10448 ($(common-objpfx)libc.so): Use $(shlib-lds).
10449 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10450 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10451
31fffa6b
RM
10452 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10453 DT_FLAGS/DT_FLAGS_1 with zero flags.
10454
4e34ac6a
RM
10455 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10456 linker script munging.
10457
fcfc776b
UD
104582011-07-02 Ulrich Drepper <drepper@gmail.com>
10459
10460 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10461 as 128-bit value.
10462 * crypt/sha512.c (sha512_process_block): Perform total addition using
10463 128-bit if possible.
10464 (__sha512_finish_ctx): Likewise.
10465 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10466 as 64-bit value.
10467 * crypt/sha256.c (SWAP64): Define.
10468 (sha256_process_block): Perform total addition using 64-bit if
10469 possible.
10470 (__sha256_finish_ctx): Likewise.
10471
99231d9a
UD
104722011-07-01 Ulrich Drepper <drepper@gmail.com>
10473
10474 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10476 * nscd/hstcache.c (cache_addhst): Likewise.
10477 * nscd/grpcache.c (cache_addgr): Likewise.
10478 * nscd/aicache.c (addhstaiX): Likewise
10479 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10480
445b4a53
TK
104812011-07-01 Thorsten Kukuk <kukuk@suse.de>
10482
10483 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10485 * nscd/hstcache.c (cache_addhst): Likewise.
10486 * nscd/grpcache.c (cache_addgr): Likewise.
10487 * nscd/aicache.c (addhstaiX): Likewise
10488
6d4d8e8e
AS
104892011-07-01 Andreas Schwab <schwab@redhat.com>
10490
10491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10492 domain only when needed.
10493
89f654c5
AS
104942011-06-30 Andreas Schwab <schwab@redhat.com>
10495
10496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10497 is always restored.
10498
cf3b23ff
UD
104992011-06-29 Ulrich Drepper <drepper@gmail.com>
10500
10501 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10502 are re-adding the entry.
10503 * nscd/servicescache.c (cache_addserv): Likewise.
10504
751626f9
AJ
105052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10506
10507 * sysdeps/generic/dl-irel.h: fix protection against multiple
10508 inclusions.
10509 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10510
9113ea1f
UD
105112011-06-28 Ulrich Drepper <drepper@gmail.com>
10512
5c0b8d90
UD
10513 [BZ #12935]
10514 * malloc/memusage.sh: Fix quoting in message.
10515 * debug/xtrace.sh: Likewise.
10516
9113ea1f
UD
10517 * configure.in: Remove support for --experimental-malloc option, make
10518 it the default.
10519 * config.make.in: Likewise.
10520 * malloc/Makefile: Likewise.
10521
a4172181
AS
105222011-06-27 Andreas Schwab <schwab@redhat.com>
10523
10524 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10525 two-byte characters.
10526
78a7eee7
RM
105272011-06-27 Roland McGrath <roland@hack.frob.com>
10528
62bede13
RM
10529 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10530 AC_CACHE_CHECK invocation.
10531 * configure: Regenerated.
10532
78a7eee7
RM
10533 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10534
5ce33a62
UD
105352011-06-27 Ulrich Drepper <drepper@gmail.com>
10536
034807a9
UD
10537 [BZ #12350]
10538 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10539 bit from old_res_options.
10540
4902da17
UD
10541 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10542
5ce33a62
UD
10543 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10544 value type for setfct.
10545
c2344f56
L
105462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10549 __gettimeofday instead of gettimeofday.
10550
68468076
UD
105512011-06-26 Ulrich Drepper <drepper@gmail.com>
10552
10553 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10554
acb0d739
L
105552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10556
10557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10558
10559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10560 info.
10561
8912479f
L
105622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10563
10564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10565 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10566 strcpy-sse2-unaligned strncpy-sse2-unaligned
10567 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10568 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10569 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10570 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10571 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10574 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10575 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10576 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10577 (STRCPY): Support SSE2 and SSSE3 versions.
10578
d5495a11
UD
105792011-06-24 Ulrich Drepper <drepper@gmail.com>
10580
10581 [BZ #12874]
10582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10583 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10584 kernels which artificially limit size of requests.
10585
0b1cbaae
L
105862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10587
10588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10589 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10590 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10591 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10592 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10593 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10594 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10595 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10598 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10599 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10600 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10601 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10602 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10604 Enable unaligned load optimization for Intel Core i3, i5 and i7
10605 processors.
10606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10607 Define.
10608 (index_Fast_Unaligned_Load): Define.
10609 (HAS_FAST_UNALIGNED_LOAD): Define.
10610
07f494a0
MP
106112011-06-23 Marek Polacek <mpolacek@redhat.com>
10612
10613 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10614
fa3fc0fe
UD
106152011-06-22 Ulrich Drepper <drepper@gmail.com>
10616
10617 [BZ #12907]
10618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10619 until it is clear that the information is realy needed.
10620 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10621
e12df166
AS
106222011-06-22 Andreas Schwab <schwab@redhat.com>
10623
10624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10625
852eb34d
UD
106262011-06-22 Ulrich Drepper <drepper@gmail.com>
10627
84e2a551
UD
10628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10629 /sys/devices/system/cpu/online if it is usable.
10630
852eb34d
UD
10631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10632 reading the information from the /proc filesystem to once a second.
10633
6e502e19
UD
106342011-06-21 Andreas Jaeger <aj@suse.de>
10635
10636 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10637 NULL after inclusion of kernel headers.
10638
75d39ff2
UD
106392011-06-21 Ulrich Drepper <drepper@gmail.com>
10640
51f9aa6a
UD
10641 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10642 calls to internal_setent.
10643
c0244a9d
UD
10644 [BZ #12885]
10645 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10646 addresses using gethostbyname4_r ignore IPv4 addresses.
10647
c5e3c2ae
UD
10648 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10649 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10650
75d39ff2
UD
10651 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10652
42675c6f
DM
106532011-06-20 David S. Miller <davem@davemloft.net>
10654
10655 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10656 inclusions.
10657 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10658
10659 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10660 (elf_irel): Use it.
10661 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10662 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10663 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10664 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10665 * sysdeps/x86_64/dl-irel.h: Likewise.
10666
10667 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10668 * elf/dl-sym.c: Likewise.
10669
57912a71
UD
106702011-06-15 Ulrich Drepper <drepper@gmail.com>
10671
10672 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10673 need to dereference resplen2.
10674
ee22793d
AS
106752011-06-14 Andreas Schwab <schwab@redhat.com>
10676
10677 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10678
a9e836b0
UD
106792011-06-15 Ulrich Drepper <drepper@gmail.com>
10680
77fb9117
UD
10681 * Makeconfig: Define vardbdir and inst_vardbdir.
10682 * nss/Makefile: Add rules to install db-Makefile.
10683
40c1b22c
UD
10684 * nss/nss_db/db-XXX.c: Cleanup.
10685
9f2da732
UD
10686 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10687 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10688 GLIBC_PRIVATE.
10689 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10690 * nss/makedb.c: Implement -g option to specify that value strings
10691 are generated and should not be added to table iterated over for
10692 get*ent calls.
10693 * nss/nss_db/db-initgroups.c: New file.
10694
82e9a1f7
UD
10695 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10696 interface.
10697
c41af17e
UD
10698 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10699 (internal_getgrouplist): Adjust to name change.
10700 Update use_initgroups_entry if this is not the first call.
10701 * nss/databases.def: Add initgroups entry.
10702
a9e836b0
UD
10703 * nss/makedb.c (compute_tables): Check result of multiple hash table
10704 sizes to minimize maximum chain length.
10705
2666d441
UD
107062011-06-14 Ulrich Drepper <drepper@gmail.com>
10707
10708 * Versions.def: Add entry for libnss_db.
10709 * shlib-versions: Likewise.
10710 * nss/Makefile: Add rules to build libnss_db.
10711 * nss/Versions: Add libnss_db information. Organize libnss_files
10712 entries better.
10713 * nss/db-Makefile: Add gshadow support. Change rules for the new
10714 makedb progra. Some minor improvements to generate smaller files.
10715 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10716 here from...
10717 * nss/makedb.c: ...here.
10718 Improve database format to be smaller and require less memory at
10719 runtime.
10720 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10721 db anymore.
10722 * nss/nss_db/db-netgrp.c: Likewise.
10723 * nss/nss_db/db-open.c: Likewise.
10724 * nss/nss_files/flies-XXX.x: Adjust comments.
10725 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10726 * nss/nss_files/files-grp.c: Likewise.
10727 * nss/nss_files/files-hosts.c: Likewise.
10728 * nss/nss_files/files-network.c: Likewise.
10729 * nss/nss_files/files-proto.c: Likewise.
10730 * nss/nss_files/files-pwd.c: Likewise.
10731 * nss/nss_files/files-rpc.c: Likewise.
10732 * nss/nss_files/files-service.c: Likewise.
10733 * nss/nss_files/files-sgrp.c: Likewise.
10734 * nss/nss_files/files-spwd.c: Likewise.
10735 * nss/nss_db/db-alias.c: Removed.
10736 * nss/nss_db/dummy-db.h: Removed.
10737
9ee76b5a
UD
107382011-06-02 Ulrich Drepper <drepper@gmail.com>
10739
10740 * nss/makedb.c: Rewritten to not use database library.
10741 * nss/Makefile: Update to build new makedb program.
10742
c71ca1f8
AJ
107432011-06-14 Andreas Jaeger <aj@suse.de>
10744
10745 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10746 memset declaration.
10747
3154bfb8
UD
107482011-06-10 Andreas Schwab <schwab@redhat.com>
10749
10750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10751 tmpbuf.
10752
b350afab
RM
107532011-06-10 Roland McGrath <roland@hack.frob.com>
10754
decd4e50
RM
10755 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10756 * elf/Makefile ($(objpfx)ld.so): Likewise.
10757
5615eaf2
RM
10758 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10759 Don't list ld.so twice in dependencies.
10760
10761 * posix/bug-regex31.c: Include <stdlib.h>.
10762
10763 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10764
10765 * nis/nss_compat/compat-spwd.c
10766 (getspent_next_nss_netgr): Remove unused variable.
10767 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10768
10769 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10770 nonmembers" output to use the right array.
10771
10772 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10773
10774 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10775
10776 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10777 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10778 * catgets/gencat.c (read_input_file): Likewise.
10779 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10780
10781 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10782 variable definition inside #if's controlling its use.
10783
10784 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10785
10786 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10787
10788 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10789
10790 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10791 unreachable code.
10792
10793 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10794
b68e08db
RM
10795 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10796 * configure: Regenerated.
10797
b350afab
RM
10798 * Makerules: Revert last change.
10799 * elf/Makefile: Likewise.
10800
28368601
RM
108012011-06-09 Roland McGrath <roland@hack.frob.com>
10802
10803 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10804 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10805 (reloc-link): Likewise.
10806
11988f8f
UD
108072011-06-09 Ulrich Drepper <drepper@gmail.com>
10808
10809 * elf/Makefile: Add rules to build pldd.
10810 * elf/pldd.c: New file.
10811 * elf/pldd-xx.c: New file.
10812
e80fab37
UD
108132011-06-07 Ulrich Drepper <drepper@gmail.com>
10814
10815 * version.h: Update for 2.15 development version.
10816
9b849836
DM
108172011-06-07 David S. Miller <davem@davemloft.net>
10818
10819 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10820 ifuncs.
10821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10822 elf_machine_lazy_rel): Likewise.
10823 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10825 elf_machine_lazy_rel): Likewise.
10826 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10827 dl_hwcap via passed in argument.
10828 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10829 Likewise.
10830
5a31b283
AK
108312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10832
10833 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10834
069e52f8
RM
108352011-06-06 Roland McGrath <roland@hack.frob.com>
10836
10837 [BZ #12849]
10838 * manual/fdl-1.1.texi: New file, verbatim from:
10839 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10840 * manual/lgpl-2.1.texi: New file, verbatim from:
10841 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10842 * manual/Makefile (licenses): New variable, list those new file names.
10843 (texis): Use it.
10844 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10845
10846 * manual/fdl.texi: File removed.
10847 * manual/lesser.texi: File removed.
10848 * manual/libc.texinfo (Copying, Documentation License):
10849 Use new @include file names, put @appendix directive before @include.
10850
f16846a5
JJ
108512011-06-04 Jakub Jelinek <jakub@redhat.com>
10852
10853 [BZ #12841]
10854 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10855 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10856 (mq_open): Add __NTH.
10857
3d29045b
L
108582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10859
10860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10861 Assume Intel Core i3/i5/i7 processor if AVX is available.
10862
8c297311
UD
108632011-05-31 Ulrich Drepper <drepper@gmail.com>
10864
10865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10866 typo.
10867
c8fc0c91
UD
108682011-05-31 Andreas Schwab <schwab@redhat.com>
10869
10870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10871 memory. Use alloca_account. Fix memory leak when retrying.
10872
5b27a807
UD
108732011-05-31 Ulrich Drepper <drepper@gmail.com>
10874
356f8bc6
UD
10875 * version.h (RELEASE): Bump for 2.14 release.
10876 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10877
5b27a807
UD
10878 * config.make.in (RANLIB): Remove entry.
10879
01f16ab0
UD
108802011-05-30 Ulrich Drepper <drepper@gmail.com>
10881
41fce8bd
UD
10882 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10883 (libc.pot): Work around missing support for .ksh extension in xgettext.
10884
4769ae77
UD
10885 [BZ #12684]
10886 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10887 if both request failed.
10888 (send_dg): In case of server errors clear resplen or *resplen2.
10889
6b1e7d19
UD
10890 [BZ #12454]
10891 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10892 when there are multiple maps.
10893 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10894 (_dl_fini): Remove test here.
10895
01f16ab0
UD
10896 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10897
b1ebd700
UD
108982011-05-29 Ulrich Drepper <drepper@gmail.com>
10899
7ae22829
UD
10900 [BZ #12350]
10901 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10902 bit from old_res_options.
10903 (gaih_inet): Likewise.
10904
553149f6 10905 [BZ #11099]
18a84741 10906 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10907 as signed.
10908
652ffab1
UD
10909 * resolv/res_init.c (res_setoptions): Make the code more compact.
10910
16985fd0
UD
10911 [BZ #11558]
10912 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10913 set RES_USEVC.
10914
0464f746
UD
10915 [BZ #11634]
10916 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10917
7d17596c
UD
10918 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10919
cf6bbbd7
UD
10920 [BZ #11781]
10921 * malloc/malloc.h: Declare malloc hook variables as volatile.
10922
13f1ab36
UD
10923 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10924 in last patch.
10925
b1ebd700
UD
10926 [BZ #11799]
10927 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10928 raise in the comment.
80e2212d
UD
10929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10931 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10932
ce67228d
UD
109332011-05-28 Ulrich Drepper <drepper@gmail.com>
10934
8887a920
UD
10935 [BZ #12811]
10936 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10937 grow the buffers more if it already has to be sufficient.
10938 (build_wcs_upper_buffer): Likewise.
10939 * posix/regexec.c (check_matching): Likewise.
10940 (clean_state_log_if_needed): Likewise.
10941 (extend_buffers): Don't enlarge buffers beyond size of the input
10942 buffer.
10943 Patches mostly by Emil Wojak <emil@wojak.eu>.
10944 * posix/bug-regex32.c: New file.
10945 * posix/Makefile (tests): Add bug-regex32.
10946
4f031072
UD
10947 * locale/findlocale.c (_nl_find_locale): Return right away if
10948 _nl_explode_name failed.
10949 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10950
d0478f0c
UD
10951 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10952
de81b246
UD
10953 * debug/xtrace.sh: Unify messages.
10954 * malloc/memusage.sh: Likewise.
10955
c738465a
UD
10956 [BZ #12813]
10957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10958 time symbol from vDSO. Substitute with vsyscall if not available.
10959 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10960 __vdso_time.
10961
f1f929d7
UD
10962 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10963 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10965 Add sendmmsg and internal_sendmmsg.
10966 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10967 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10969
ce67228d
UD
10970 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10971 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10973
e57420c6
UD
109742011-05-27 Ulrich Drepper <drepper@gmail.com>
10975
a8509ca5
UD
10976 [BZ #12813]
10977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10978 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10979 available.
10980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10981 __vdso_getcpu.
10982
e57420c6
UD
10983 [BZ #12814]
10984 * iconvdata/Makefile (tests): Add bug-iconv9.
10985 * iconvdata/bug-iconv9.c: New file.
10986
4d07db15
AS
109872011-05-27 Andreas Schwab <schwab@redhat.com>
10988
10989 [BZ #12814]
10990 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10991
ea486f69
JJ
109922011-05-25 Jakub Jelinek <jakub@redhat.com>
10993
10994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10995 (struct user_regs_struct): Change intcs field back to cs.
10996
6f038433
UD
109972011-05-25 Ulrich Drepper <drepper@gmail.com>
10998
10999 * po/ja.po: Update from translation team.
11000
67f86a25
UD
110012011-05-23 Ulrich Drepper <drepper@gmail.com>
11002
11003 [BZ #12795]
11004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11006
def7fbd6
AS
110072011-05-20 Andreas Schwab <schwab@redhat.com>
11008
11009 * stdlib/longlong.h: Update from GCC.
11010
f50ef8f1
AS
110112011-05-23 Andreas Schwab <schwab@redhat.com>
11012
11013 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11014 parameter name.
11015 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11016 Add parameter name.
11017 (__sysconf): Pass it down.
11018
de7ce8f1
UD
110192011-05-22 Ulrich Drepper <drepper@gmail.com>
11020
f2962a71
UD
11021 [BZ #12671]
11022 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11023 some situations.
11024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11025 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11026 add in in __libc_use_alloca calls. Adjust callers.
11027 (glob): Use malloc in some situations.
11028
de7ce8f1
UD
11029 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11030 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11031 pltexit.
11032
aec84f53
UD
110332011-05-21 Ulrich Drepper <drepper@gmail.com>
11034
05bb4a68
UD
11035 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11036 and CLOCK_BOOTTIME_ALARM.
11037
7ea72f99
UD
11038 [BZ #12782]
11039 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11040 is returned.
11041
7e4afad5
UD
11042 * string/_strerror.c (__strerror_r): Print negative errors as signed
11043 numbers.
11044
8e211fec
UD
11045 [BZ #12777]
11046 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11047 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11048 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11049
f7d82dc9
UD
11050 * configure.in: Fix typo in redirection and correct removal of test
11051 files in two cases.
11052
cc9e536d
UD
11053 [BZ #12788]
11054 * locale/setlocale.c (new_composite_name): Fix test to check for
11055 identical name of all categories.
11056
aec84f53
UD
11057 [BZ #12792]
11058 * libio/filedoalloc.c (local_isatty): New function.
11059 (_IO_file_doallocate): Use local_isatty.
11060 * stdio-common/perror.c (perror): In case a new stream is used
11061 forward the stream error.
11062 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11063 error flag.
11064
78e64fdc
RT
110652011-05-20 Ulrich Drepper <drepper@gmail.com>
11066
34a9094f
UD
11067 [BZ #11869]
11068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11069 alloca.
11070 * include/alloca.h (extend_alloca_account): Define.
11071
78e64fdc
RT
11072 [BZ #11857]
11073 * posix/regex.h: Fix comments with documentation of user-accessible
11074 fields after compilation and describe correct free'ing of pattern
11075 after re_compile_pattern.
11076 Patch by Reuben Thomas <rrt@sc3d.org>.
11077
457bddfc
RA
110782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11079
11080 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11081 and -mno-altivec to prevent the compiler from using Altivec and/or
11082 VSX instructions when the corresponding registers are not available.
11083
a4527b51
AS
110842011-05-19 Andreas Schwab <schwab@redhat.com>
11085
11086 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11087
ed690b2f
UD
110882011-05-19 Ulrich Drepper <drepper@gmail.com>
11089
11090 * libio/freopen.c (freopen): Use __dup2, not dup2.
11091 * libio/freopen64.c (freopen64): Likewise.
11092
8db73634
L
110932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 [BZ #12775]
11096 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11097 * math/Makefile (tests): Add test-powl.
11098 (CFLAGS-test-powl.c): Define.
11099 * math/test-powl.c: New file.
11100
0a197a9d
L
111012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11102
11103 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11104
ee30c380
UD
111052011-05-17 Ulrich Drepper <drepper@gmail.com>
11106
11107 [BZ #11837]
11108 * iconvdata/gb18030.c: Update to GB18020-2005.
11109
6ce75379
UD
111102011-05-16 Ulrich Drepper <drepper@gmail.com>
11111
a4b89fd8
AR
11112 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11113 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11114 Patch by Aharon Robbins <arnold@skeeve.com>.
11115
ea389b12
UD
11116 [BZ #11892]
11117 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11118 on the stack.
11119
68a3f91f
UD
11120 [BZ #11895]
11121 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11122 through underflows.
11123
15cc7dd1
UD
11124 [BZ #12766]
11125 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11126 point to strings before performing equality test for error_one_per_line
11127 mode.
11128
f3799213
UD
11129 [BZ #11697]
11130 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11131
d79a9c94
UD
11132 [BZ #11820]
11133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11134 (struct user_fpregs_struct): Avoid __uint*_t types.
11135
56e5eb46
UD
11136 [BZ #6420]
11137 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11138 symbol info. Use it instead of calling _dl_addr locally.
11139 (lock_and_info): New function.
11140 (tr_freehook): Call lock_and_info and pass symbol info as additional
11141 parameter to tr_where.
11142 (tr_mallochook): Likewise.
11143 (tr_reallochook): Likewise.
11144 (tr_memalignhook): Likewise.
11145
6ce75379
UD
11146 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11147 used and couldn't be at all thread-safe.
11148
f8a3b5bf
UD
111492011-05-15 Ulrich Drepper <drepper@gmail.com>
11150
94b7cc37
UD
11151 * libio/freopen.c (freopen): Don't close old file descriptor
11152 before the new one is opened. Instead dup the new file descriptor
11153 to the old one after the new stream is created.
11154 * libio/freopen64.c (freopen64): Likewise.
11155 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11156 * libio/fileops.c (_IO_new_file_close_it): Handle new
11157 _IO_FLAGS2_NOCLOSE flag.
11158 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11159 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11160 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11161 _IO_FLAGS2_NOCLOSE flag.
11162 * include/unistd.h: Add hidden_proto for dup3.
11163 Define __have_dup3.
11164 * io/dup3.c: Define hidden symbol.
11165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11166
bd25564e
UD
11167 [BZ #7101]
11168 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11169 when an incomplete long option is used.
11170 * posix/tst-getopt_long1.c: New file.
11171 * posix/Makefile (tests): Add tst-getopt_long1.
11172
c84cfef4
UD
11173 [BZ #10138]
11174 * scripts/config.guess: Update from autoconf-2.68.
11175 * scripts/config.sub: Likewise.
11176
3b85df27
UD
11177 [BZ #10157]
11178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11179 tests into ...
11180 (has_cpuclock): ...this. New function.
11181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11182 macro here based on has_cpuclock code.
11183
15a856b1
UD
11184 [BZ #10149]
11185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11186 First byte (not low byte) is now always NUL.
11187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11188
05f399e6
UD
11189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11190 Use non-cancelable interfaces.
11191
10a52685 11192 [BZ #9809]
94ecc67d
UD
11193 * locale/iso-639.def: Add entry for Sorani.
11194
f8a3b5bf
UD
11195 [BZ #11901]
11196 * include/stdlib.h: Move include protection to the right place.
11197 Define abort_msg_s. Declare __abort_msg with it.
11198 * stdlib/abort.c (__abort_msg): Adjust type.
11199 * assert/assert.c (__assert_fail_base): New function. Majority
11200 of code from __assert_fail. Allocate memory for __abort_msg with
11201 mmap.
11202 (__assert_fail): Now call __assert_fail_base.
11203 * assert/assert-perr.c: Remove bulk of implementation. Use
11204 __assert_fail_base.
11205 * include/assert.hL Declare __assert_fail_base.
11206 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11207 mmap.
11208 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11209
1af4e298
UD
112102011-05-14 Ulrich Drepper <drepper@gmail.com>
11211
f8a3b5bf 11212 [BZ #11952]
d26dfc60
MG
11213 [BZ #12453]
11214 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11215 until all modules are registered in the DTV.
11216 * elf/Makefile: Add rules to build and run tst-tls19.
11217 * elf/tst-tls19.c: New file.
11218 * elf/tst-tls19mod1.c: New file.
11219 * elf/tst-tls19mod2.c: New file.
11220 * elf/tst-tls19mod3.c: New file.
11221 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11222
2fc54d6f
UD
11223 [BZ #12083]
11224 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11225 correctly.
11226
98d76b46
UD
11227 [BZ #12601]
11228 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11229 two-byte sequence errors.
11230 * iconvdata/Makefile (tests): Add bug-iconv8.
11231 * iconvdata/bug-iconv8.c: New file.
11232
da3c19ef
UD
11233 [BZ #12626]
11234 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11235 buf2 definition.
11236
ca408c15
UD
11237 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11238
d6f67f7d
UD
11239 [BZ #12432]
11240 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11241 (dummy_getcfa): New function.
11242 (init): Get _Unwind_GetCFA address, use dummy if not found.
11243 (backtrace_helper): In recursion check, also check whether CFA changes.
11244 (__backtrace): Completely initialize arg.
11245
1af4e298 11246 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11247 storing incomplete byte sequence in state object. Avoid testing for
11248 guaranteed too small input if we know there is enough data available.
1af4e298 11249
da62f81b
AS
112502011-05-11 Andreas Schwab <schwab@redhat.com>
11251
11252 * Makeconfig (+link-pie): Indent.
11253 * Rules (binaries-pie): Define if $(have-fpie) and
11254 $(build-shared).
11255 (binaries-shared): Also filter out $(binaries-pie).
11256 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11257 * nscd/Makefile (others-pie): Add nscd.
11258 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11259 ($(objpfx)nscd): Remove command override.
11260 * login/Makefile (others-pie): Add pt_chown.
11261 ($(objpfx)pt_chown): Remove command override.
11262 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11263 remove command overrides.
11264
fcabc0f8
UD
112652011-05-13 Ulrich Drepper <drepper@gmail.com>
11266
20030ae6
UD
11267 * libio/tst_putwc.c: Fix error messages.
11268
fcabc0f8
UD
11269 [BZ #12724]
11270 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11271 currently writing and seek to current position when not.
11272 * libio/Makefile (tests): Add bug-fclose1.
11273 * libio/bug-fclose1.c: New file.
11274
320a5dc0
PB
112752011-05-12 Ulrich Drepper <drepper@gmail.com>
11276
11277 [BZ #12511]
11278 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11279 don't set DF_1_NODELETE here.
11280 (do_lookup_x): When entering new entry test for copy relocation
11281 and if necessary set DF_1_NODELETE flag.
11282 * elf/tst-unique4.cc: New file.
11283 * elf/tst-unique4.h: New file.
11284 * elf/tst-unique4lib.cc: New file.
11285 * elf/Makefile: Add rules to build and run tst-unique4.
11286 Patch by Piotr Bury <pbury@goahead.com>.
11287
22836f52
UD
112882011-05-11 Ulrich Drepper <drepper@gmail.com>
11289
f574184a
UD
11290 [BZ #12052]
11291 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11292
e1fb097f
UD
11293 [BZ #12625]
11294 * misc/mntent_r.c (addmntent): Flush the stream after the output
11295
22836f52
UD
11296 [BZ #12393]
11297 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11298 (is_trusted_path_normalize): Skip initial colon. Append slash
11299 to empty buffer. Duplicate is_trusted_path code but allow
11300 constructed patch to be prefix.
11301 (is_dst): Allow $ORIGIN followed by /.
11302 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11303 Correct testing of result of is_trusted_path_normalize
11304 (decompose_rpath): Fix warning.
11305
7b3b0b2a
UD
113062011-05-10 Ulrich Drepper <drepper@gmail.com>
11307
11308 [BZ #11257]
11309 * grp/initgroups.c (internal_getgrouplist): When we found the service
11310 list through the initgroups entry in nsswitch.conf do not always
11311 continue on a successful lookup. Don't always use the
eac80ce2 11312 __nss_group_database value if it is set.
7b3b0b2a
UD
11313 * nss/nsswitch.conf (initgroups): Change action for successful db
11314 lookup to continue for compatibility.
11315
2a81eaa5
UD
113162011-05-09 Ulrich Drepper <drepper@gmail.com>
11317
be97a69e
UD
11318 [BZ #11532]
11319 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11320 and CP774 modules.
11321 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11322 and CP774 modules.
11323 * iconvdata/tst-tables.sh: Likewise.
11324 * iconvdata/cp770.c: New file.
11325 * iconvdata/cp771.c: New file.
11326 * iconvdata/cp772.c: New file.
11327 * iconvdata/cp773.c: New file.
11328 * iconvdata/cp774.c: New file.
11329 * iconvdata/testdata/CP770: New file.
11330 * iconvdata/testdata/CP770..UTF8: New file.
11331 * iconvdata/testdata/CP771: New file.
11332 * iconvdata/testdata/CP771..UTF8: New file.
11333 * iconvdata/testdata/CP772: New file.
11334 * iconvdata/testdata/CP772..UTF8: New file.
11335 * iconvdata/testdata/CP773: New file.
11336 * iconvdata/testdata/CP773..UTF8: New file.
11337 * iconvdata/testdata/CP774: New file.
11338 * iconvdata/testdata/CP774..UTF8: New file.
11339
11340 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11341 END CHARMAP line.
11342 * iconvdata/gen-8bit-gap.sh: Likewise.
11343 * iconvdata/gen-8bit.sh: Likewise.
11344
c1e9e399
UD
11345 * locale/iso-639.def: Add ary entry.
11346
24c55fb3 11347 [BZ #11258]
96b4b1b0
UD
11348 * locale/C-translit.h.in: Add U20A1 transliteration.
11349
bdc2f971
KB
11350 [BZ #12178]
11351 * locale/iso-639.def: Add wae entry.
11352 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11353
2952b117
UD
11354 [BZ #12545]
11355 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11356 for n.
11357
2a81eaa5
UD
11358 [BZ #12711]
11359 * locale/C-translit.h.in: Add entry for U20B9.
11360 Patch by pravin.d.s@gmail.com.
11361
28377d1b
UD
113622011-05-08 Ulrich Drepper <drepper@gmail.com>
11363
7fb90fb8
UD
11364 [BZ #12713]
11365 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11366 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11367 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11368 in rtld. Use *stat64.
7fb90fb8 11369 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11370 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11371 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11372 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11373 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11374 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11375 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11376 __fstatat64 macros.
7fb90fb8
UD
11377 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11378 * dirent/rewinddir.c: Add libc_hidden_def.
11379 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11380 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11381
28377d1b
UD
11382 * include/dirent.h (__alloc_dir): Add flags parameter.
11383 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11384 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11385 __alloc_dir.
11386 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11387 from fdopendir if O_CLOEXEC is already set.
11388
66bdbaa4
AM
113892011-03-15 Alan Modra <amodra@gmail.com>
11390
11391 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11392 l_tls_firstbyte_offset non-zero. Save padding offset in
11393 l_tls_firstbyte_offset for later use.
11394 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11395 freeing static tls block.
11396
95721191
JN
113972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11398
11399 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11400 where #ifdef was intended. The intent is to prevent ARG_MAX from
11401 being defined by the kernel headers.
11402
f87dfb1f
UD
114032011-05-07 Ulrich Drepper <drepper@gmail.com>
11404
11405 [BZ #12734]
11406 * resolv/resolv.h: Define RES_NOTLDQUERY.
11407 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11408 no-tld-query and set RES_NOTLDQUERY.
11409 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11410 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11411 modern BIND to search name as TLD unless forbidden.
11412
47c3cd7a
UD
114132011-05-07 Petr Baudis <pasky@suse.cz>
11414 Ulrich Drepper <drepper@gmail.com>
11415
11416 [BZ #12393]
11417 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11418 (is_trusted_path): ...to here.
c1e9ea35 11419 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11420 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11421 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11422
8a35c912
PP
114232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11424
11425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11426 __BEGIN/__END_DECLS.
11427
acd41f47
UD
114282011-05-06 Ulrich Drepper <drepper@gmail.com>
11429
11430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11431 NSS_STATUS_NOTFOUND if no record was found.
11432
597df647
AS
114332011-05-05 Andreas Schwab <schwab@redhat.com>
11434
11435 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11436 (headers-not-in-tirpc): Remove rpc/netdb.h
11437 * resolv/netdb.h: Revert last change.
11438
b9af1301
PP
114392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11440
11441 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11442 circular dependency between libgcc.a and libc.a.
11443
4e34d5f5
AS
114442011-05-05 Andreas Schwab <schwab@redhat.com>
11445
11446 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11447 * nis/Makefile: Don't install rpcsvc/*.
11448 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11449 instead of <rpc/types.h>.
11450 (MAXHOSTNAMELEN): Define.
11451
00ee369c
AS
114522011-05-03 Andreas Schwab <schwab@redhat.com>
11453
11454 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11455
0b592a30
MB
114562011-04-28 Maciej Babinski <mbabinski@google.com>
11457
11458 [BZ #12714]
11459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11460 gethostbyname4_r when IPv6 results are possible.
11461
6e04cbbe
UD
114622011-05-02 Ulrich Drepper <drepper@gmail.com>
11463
11464 [BZ #12723]
11465 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11466 _PC_PIPE_BUF handling.
11467
e4ecafe0
BH
114682011-04-30 Bruno Haible <bruno@clisp.org>
11469
11470 [BZ #12717]
11471 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11472 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11473 to 'int'.
11474 * inet/getnameinfo.c (getnameinfo): Likewise.
11475
125ee683
UD
114762011-04-29 Ulrich Drepper <drepper@gmail.com>
11477
11478 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11479 to groups setting in database lookup.
11480 * nss/nsswitch.conf: Add initgroups entry.
11481
b722481a
EB
114822011-04-22 Ulrich Drepper <drepper@gmail.com>
11483
11484 [BZ #12685]
11485 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11486 mode string.
11487 Patch by Eric Blake <eblake@redhat.com>.
11488
4df46dbd
L
114892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 * sunrpc/Makefile (need-export-routines): Add svc_run.
11492 (routines): Remove svc_run.
11493 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11494 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11495 * sunrpc/svc_run.c (svc_run): Likewise.
11496 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11497
e84142d2
UD
114982011-04-21 Ulrich Drepper <drepper@gmail.com>
11499
11500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11501 problem in reallocation in last patch.
11502
877175d8
UD
115032011-04-20 Ulrich Drepper <drepper@gmail.com>
11504
11505 * sunrpc/Makefile: Move inclusion of Rules.
11506
ab8eed78
UD
115072011-04-19 Ulrich Drepper <drepper@gmail.com>
11508
11509 * nss/nss_files/files-initgroups.c: New file.
11510 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11511 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11512 _nss_files_initgroups_dyn.
11513
e3d8f584
RS
115142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11515
11516 * elf/elf.h (R_ARM_IRELATIVE): Define.
11517
af190f45
UD
115182011-04-19 Ulrich Drepper <drepper@gmail.com>
11519
11520 * po/ru.po: Update from translation team.
11521
53cf59ef
UD
115222011-04-17 Ulrich Drepper <drepper@gmail.com>
11523
11524 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11525 dependencies.
11526
4c559bcd
MF
115272011-02-06 Mike Frysinger <vapier@gentoo.org>
11528
11529 [BZ #12653]
11530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11531 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11535
4420675c
AS
115362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11537
11538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11539 differing bytes.
11540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11543
75ea32ab
UD
115442011-04-17 Ulrich Drepper <drepper@gmail.com>
11545
11546 [BZ #12420]
11547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11548 storing it.
11549 * stdlib/bug-getcontext.c: New file.
11550 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11551
27390476
AK
115522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11553
11554 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11555 instructions into .machine "z9-109".
11556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11557 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11558
10442705
AK
115592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11560
11561 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11562 between environment variables and auxiliary vector.
11563
7b57bfe5
UD
115642011-04-16 Ulrich Drepper <drepper@gmail.com>
11565
11566 * Makefile: Add rules to build linkobj/libc.so.
11567 * include/libc-symbols.h: Define libc_hidden_nolink.
11568 * include/rpc/auth.h: Mark functions which are to be hidden.
11569 * include/rpc/auth_des.h: Likewise.
11570 * include/rpc/auth_unix.h: Likewise.
11571 * include/rpc/clnt.h: Likewise.
11572 * include/rpc/des_crypt.h: Likewise.
11573 * include/rpc/key_prot.h: Likewise.
11574 * include/rpc/pmap_clnt.h: Likewise.
11575 * include/rpc/pmap_prot.h: Likewise.
11576 * include/rpc/pmap_rmt.h: Likewise.
11577 * include/rpc/rpc_msg.h: Likewise.
11578 * include/rpc/svc.h: Likewise.
11579 * include/rpc/svc_auth.h: Likewise.
11580 * include/rpc/xdr.h: Likewise.
11581 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11582 * nss/Makefile: Likewise.
11583 * sunrpc/Makefile: Don't install headers. Build library with normal
11584 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11585 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11586 for the compat linking library. Remove use of INTDEF/INTUSE.
11587 * sunrpc/auth_none.c: Likewise.
11588 * sunrpc/auth_unix.c: Likewise.
11589 * sunrpc/authdes_prot.c: Likewise.
11590 * sunrpc/authuxprot.c: Likewise.
11591 * sunrpc/clnt_gen.c: Likewise.
11592 * sunrpc/clnt_perr.c: Likewise.
11593 * sunrpc/clnt_raw.c: Likewise.
11594 * sunrpc/clnt_simp.c: Likewise.
11595 * sunrpc/clnt_tcp.c: Likewise.
11596 * sunrpc/clnt_udp.c: Likewise.
11597 * sunrpc/clnt_unix.c: Likewise.
11598 * sunrpc/des_crypt.c: Likewise.
11599 * sunrpc/des_soft.c: Likewise.
11600 * sunrpc/get_myaddr.c: Likewise.
11601 * sunrpc/key_call.c: Likewise.
11602 * sunrpc/key_prot.c: Likewise.
11603 * sunrpc/netname.c: Likewise.
11604 * sunrpc/pm_getmaps.c: Likewise.
11605 * sunrpc/pm_getport.c: Likewise.
11606 * sunrpc/pmap_clnt.c: Likewise.
11607 * sunrpc/pmap_prot.c: Likewise.
11608 * sunrpc/pmap_prot2.c: Likewise.
11609 * sunrpc/pmap_rmt.c: Likewise.
11610 * sunrpc/publickey.c: Likewise.
11611 * sunrpc/rpc_cmsg.c: Likewise.
11612 * sunrpc/rpc_common.c: Likewise.
11613 * sunrpc/rpc_dtable.c: Likewise.
11614 * sunrpc/rpc_prot.c: Likewise.
11615 * sunrpc/rpc_thread.c: Likewise.
11616 * sunrpc/rtime.c: Likewise.
11617 * sunrpc/svc.c: Likewise.
11618 * sunrpc/svc_auth.c: Likewise.
11619 * sunrpc/svc_authux.c: Likewise.
11620 * sunrpc/svc_raw.c: Likewise.
11621 * sunrpc/svc_run.c: Likewise.
11622 * sunrpc/svc_simple.c: Likewise.
11623 * sunrpc/svc_tcp.c: Likewise.
11624 * sunrpc/svc_udp.c: Likewise.
11625 * sunrpc/svc_unix.c: Likewise.
11626 * sunrpc/svcauth_des.c: Likewise.
11627 * sunrpc/xcrypt.c: Likewise.
11628 * sunrpc/xdr.c: Likewise.
11629 * sunrpc/xdr_array.c: Likewise.
11630 * sunrpc/xdr_float.c: Likewise.
11631 * sunrpc/xdr_intXX_t.c: Likewise.
11632 * sunrpc/xdr_mem.c: Likewise.
11633 * sunrpc/xdr_rec.c: Likewise.
11634 * sunrpc/xdr_ref.c: Likewise.
11635 * sunrpc/xdr_sizeof.c: Likewise.
11636 * sunrpc/xdr_stdio.c: Likewise.
11637
e6c61494
UD
116382011-04-10 Ulrich Drepper <drepper@gmail.com>
11639
11640 [BZ #12650]
11641 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11642 * sysdeps/ia64/dl-tls.h: Likewise.
11643 * sysdeps/powerpc/dl-tls.h: Likewise.
11644 * sysdeps/s390/dl-tls.h: Likewise.
11645 * sysdeps/sh/dl-tls.h: Likewise.
11646 * sysdeps/sparc/dl-tls.h: Likewise.
11647 * sysdeps/x86_64/dl-tls.h: Likewise.
11648 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11649
34fe483e
AS
116502011-03-14 Andreas Schwab <schwab@redhat.com>
11651
11652 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11653 rpath element also skip the following colon.
11654 (expand_dynamic_string_token): Add is_path parameter and pass
11655 down to DL_DST_REQUIRED and _dl_dst_substitute.
11656 (decompose_rpath): Call expand_dynamic_string_token with
11657 non-zero is_path. Ignore empty rpaths.
11658 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11659 with zero is_path.
11660
f12a32e6
AS
116612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11662
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11664 Make cancelable.
11665
38a7d692
UD
116662011-04-09 Ulrich Drepper <drepper@gmail.com>
11667
11668 [BZ #12655]
11669 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11670 Patch by Filipe David Manana <fdmanana@apache.org>.
11671
e451d22b
AS
116722011-04-07 Andreas Schwab <schwab@redhat.com>
11673
11674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11675 Maintain aligned stack.
11676 (CHECK_RSP): Remove unused macro.
11677
dedc7c7b
UD
116782011-04-03 Ulrich Drepper <drepper@gmail.com>
11679
11680 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11682
94521213
UD
116832011-04-02 Ulrich Drepper <drepper@gmail.com>
11684
11685 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11686
8cb700c0 11687 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11688
0354e355
L
116892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 [BZ #12518]
11692 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11693 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11694 * sysdeps/x86_64/memmove.c: New file.
11695 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11696 (memcpy): Renamed to ...
11697 (__new_memcpy): This.
11698 (memcpy): Provide GLIBC_2_14 memcpy.
11699 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11700 (memcpy): Provide GLIBC_2_2_5 memcpy.
11701
8593482f
UD
117022011-04-01 Ulrich Drepper <drepper@gmail.com>
11703
11704 [BZ #12631]
11705 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11706
81a5726b
AS
117072011-03-30 Andreas Schwab <schwab@redhat.com>
11708
11709 * misc/syncfs.c: New file.
11710 * misc/Makefile (routines): Add syncfs.
11711 * posix/unistd.h: Declare syncfs.
11712 * sysdeps/unix/syscalls.list: Add syncfs.
11713
00e5419f
AS
117142011-04-01 Andreas Schwab <schwab@redhat.com>
11715
11716 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11717 open_by_handle_at.
11718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11723 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11725
748876bf
UD
117262011-04-01 Ulrich Drepper <drepper@gmail.com>
11727
658e451d
UD
11728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11735
748876bf
UD
11736 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11737 sync_file_range.c with -fexceptions.
11738 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11739 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11740 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11741 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11743 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11745 sync_file_range as cancellation point
11746 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11747 now a wrapper around __call_sync_file_range with cancellation handling.
11748 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11750 function name to __call_sync_file_range.
11751 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11752 Add call_sync_file_range.
748876bf 11753
6e63d5e1
AS
117542011-04-01 Andreas Schwab <schwab@redhat.com>
11755
11756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11757 bits/timex.h.
6e63d5e1 11758
46998f74
UD
117592011-04-01 Ulrich Drepper <drepper@gmail.com>
11760
4c1423ed
UD
11761 * iconv/iconv.h: Fix typo in comment.
11762 * io/fcntl.h: Likewise.
11763 * libio/stdio.h: Likewise.
11764 * posix/spawn.h: Likewise.
11765 * posix/unistd.h: Likewise.
11766 * stdlib/stdlib.h: Likewise.
11767 * time/time.h: Likewise.
11768 * wcsmbs/wchar.h: Likewise.
11769
158648c0
UD
11770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11771 open_by_handle): Add.
11772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11773 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11774 Augment a few comments.
11775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11780 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11781 open_by_handle.
11782
46998f74
UD
11783 * io/fcntl.h (AT_EMPTY_PATH): Define.
11784
83fe108b
UD
117852011-03-30 Ulrich Drepper <drepper@gmail.com>
11786
11787 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11788 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11789 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11790 to...
11791 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11792 * Versions.def: Add GLIBC_2.14.
11793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11794 Export.
83fe108b 11795
bb242059
UD
117962011-03-22 Ulrich Drepper <drepper@gmail.com>
11797
11798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11799 round counter.
11800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11801
c97a1282
L
118022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11803
11804 [BZ #12597]
11805 * string/test-strncmp.c (do_page_test): New function.
11806 (check2): Likewise.
11807 (test_main): Call check2.
11808 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11809
2a115601
UD
118102011-03-20 Ulrich Drepper <drepper@gmail.com>
11811
11812 [BZ #12587]
11813 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11814 Handle cache information in CPU leaf 4.
11815 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11816
8126d904
UD
118172011-03-18 Ulrich Drepper <drepper@gmail.com>
11818
042c49c6 11819 [BZ #12583]
8126d904
UD
11820 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11821 character representation.
11822 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11823
ccfe366e
RA
118242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11825
11826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11827 END(__isnan) to END(__isnanf) to match function entry point/label
11828 EALIGN(__isnanf,...).
11829
c6e13027
JJ
118302011-03-10 Jakub Jelinek <jakub@redhat.com>
11831
11832 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11833
33f85a3f
UD
118342011-03-10 Ulrich Drepper <drepper@gmail.com>
11835
028478fa
UD
11836 [BZ #12510]
11837 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11838 copy from the symbol referenced in the relocation to initialize the
11839 used variable.
11840 Patch by Piotr Bury <pbury@goahead.com>.
11841 * elf/Makefile: Add rules to build and tst-unique3.
11842 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11843 * elf/tst-unique3.cc: New file.
11844 * elf/tst-unique3.h: New file.
11845 * elf/tst-unique3lib.cc: New file.
11846 * elf/tst-unique3lib2.cc: New file.
11847
33f85a3f
UD
11848 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11849
03592fc7
MF
118502011-03-10 Mike Frysinger <vapier@gentoo.org>
11851
11852 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11853 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11854 to _start.
03592fc7 11855
6a5ee102
UD
118562011-03-06 Ulrich Drepper <drepper@gmail.com>
11857
11858 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11859 to-be-loaded object along a path to loader is ld.so.
11860
7e4ba49c
HJ
118612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11862 Ulrich Drepper <drepper@gmail.com>
11863
11864 * sysdeps/x86_64/memset.S: After aligning destination, code
11865 branches to different locations depending on the value of
11866 misalignment, when multiarch is enabled. Fix this.
11867
118682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11869
11870 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11871 Set _x86_64_preferred_memory_instruction for AMD processsors.
11872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11873 Set bit_Prefer_SSE_for_memop for AMD processors.
11874
13a804de
UD
118752011-03-04 Ulrich Drepper <drepper@gmail.com>
11876
11877 * libio/fmemopen.c (fmemopen): Optimize a bit.
11878
9d25c392
AS
118792011-03-03 Andreas Schwab <schwab@redhat.com>
11880
11881 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11882
a5543c6a
RM
118832011-03-03 Roland McGrath <roland@redhat.com>
11884
11885 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11886
012d35f7
DM
118872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11888
7e4ba49c 11889 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11890 __bzero_ultra1 instead of __memset_ultra1.
11891
4bff6e01
AS
118922011-02-23 Andreas Schwab <schwab@redhat.com>
11893 Ulrich Drepper <drepper@gmail.com>
11894
11895 [BZ #12509]
11896 * include/link.h (struct link_map): Add l_orig_initfini.
11897 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11898 returning unsuccessfully.
11899 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11900 close of a file loaded at startup, restore the original l_initfini
11901 list.
11902 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11903 list, store the pointer.
11904 * elf/Makefile ($(objpfx)noload-mem): New rule.
11905 (noload-ENV): Define.
11906 (tests): Add $(objpfx)noload-mem.
11907 * elf/noload.c: Include <memcheck.h>.
11908 (main): Call mtrace. Close all opened handles.
11909
f2092faf
AS
119102011-02-17 Andreas Schwab <schwab@redhat.com>
11911
11912 [BZ #12454]
11913 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11914 dependencies are missing.
11915
6c8a2e88
ST
119162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11917
f2092faf 11918 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11919 Hurd needs munmap.
11920 * sysdeps/mach/hurd/ifreq.h: New file.
11921
84a42118
PB
119222011-01-27 Petr Baudis <pasky@suse.cz>
11923 Ulrich Drepper <drepper@gmail.com>
11924
071f805e 11925 [BZ 12445]#
84a42118
PB
11926 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11927 to extend_alloca().
11928 * stdio-common/bug23.c: New file.
11929 * stdio-common/Makefile (tests): Add bug23.
11930
e23fe25b
AS
119312010-09-28 Andreas Schwab <schwab@redhat.com>
11932 Ulrich Drepper <drepper@gmail.com>
11933
11934 [BZ #12489]
11935 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11936 before performing relro protection. At old place add assertion
11937 to make sure nothing changed.
11938
d3f02e10
NS
119392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11940 Glauber de Oliveira Costa <glommer@gmail.com>
11941
11942 * elf/elf.h: Add new ARM TLS relocs.
11943
d55fd7a5
RA
119442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11945
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11947 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11948 cast from r3.
11949 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11950 'tests' variable.
11951 * sysdeps/wordsize-64/tst-writev.c: New file.
11952
2206397e
RA
119532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11954
11955 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11956 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11957 insns in _dl_start to prevent a TOC reference before relocs are
11958 resolved.
11959
e9433893
UD
119602011-02-15 Ulrich Drepper <drepper@gmail.com>
11961
11962 [BZ #12469]
11963 * Makeconfig: Remove RANLIB definition.
11964 * Makerules: Don't use RANLIB.
11965 * aclocal.m4: Remove ranlib test.
11966 * configure.in: No need to check for ranlib.
11967 * elf/rtld-Rules: Don't use RANLIB.
11968
f75286c6
ST
119692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11970
8e31c82d
ST
11971 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11972 protection macro.
11973 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11974 inclusion protection macro.
11975
f75286c6
ST
11976 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11977 SIGRTMIN and SIGRTMAX and print information in that case only when
11978 SIGRTMIN is defined.
11979
c1d0e639
JJ
119802011-02-11 Jakub Jelinek <jakub@redhat.com>
11981
11982 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11983 arginfo fn returning -1.
11984
11985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11986 and thousands string is zero terminated.
11987
edf9294e
AS
119882011-02-03 Andreas Schwab <schwab@redhat.com>
11989
11990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11991 sysdeps/unix/sysv/linux/bits/socket.h.
11992
2b7e92df
ST
119932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11994
edf9294e
AS
11995 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11996 (__CPU_COUNT): Remove old macros.
11997 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11998 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11999 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12000 (__sched_cpualloc, __sched_cpufree): Add declarations.
12001
a4c7ea7b
UD
120022011-02-05 Ulrich Drepper <drepper@gmail.com>
12003
12004 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12005 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12006 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12007 (readdhstai): Return value of addhstaiX call.
12008 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12009 (addgrbyX): Return value returned by cache_addgr.
12010 (readdgrbyname): Return value returned by addgrbyX.
12011 (readdgrbygid): Likewise.
12012 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12013 (addpwbyX): Return value returned by cache_addpw.
12014 (readdpwbyname): Return value returned by addhstbyX.
12015 (readdpwbyuid): Likewise.
12016 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12017 (addservbyX): Return value returned by cache_addserv.
12018 (readdservbyname): Return value returned by addservbyX:
12019 (readdservbyport): Likewise.
12020 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12021 (addhstbyX): Return value returned by cache_addhst.
12022 (readdhstbyname): Return value returned by addhstbyX.
12023 (readdhstbyaddr): Likewise.
12024 (readdhstbynamev6): Likewise.
12025 (readdhstbyaddrv6): Likewise.
12026 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12027 (readdinitgroups): Return value returned by addinitgroupsX.
12028 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12029 (prune_cache): Keep track of timeout value of re-added entries.
12030 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12031 * nscd/nscd.h: Adjust prototypes of readd* functions.
12032
a0bf67cc
RM
120332011-02-04 Roland McGrath <roland@redhat.com>
12034
12035 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12036 (nis_stats): Likewise.
12037 * nis/nis_modify.c (nis_modify): Likewise.
12038 * nis/nis_remove.c (nis_remove): Likewise.
12039 * nis/nis_add.c (nis_add): Likewise.
12040
12041 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12042
12043 * posix/fnmatch_loop.c: Add some consts.
12044
12045 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12046
435b95eb
L
120472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 [BZ #12460]
12050 * config.make.in (config-cflags-novzeroupper): Define.
12051 * configure.in: Substitute libc_cv_cc_novzeroupper.
12052 * elf/Makefile (AVX-CFLAGS): Define.
12053 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12054 (CFLAGS-tst-auditmod4a.c): Likewise.
12055 (CFLAGS-tst-auditmod4b.c): Likewise.
12056 (CFLAGS-tst-auditmod6b.c): Likewise.
12057 (CFLAGS-tst-auditmod6c.c): Likewise.
12058 (CFLAGS-tst-auditmod7b.c): Likewise.
12059 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12060
8517b15e
UD
120612011-02-02 Ulrich Drepper <drepper@gmail.com>
12062
12063 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12064 function to the callback.
12065 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12066
10a656fe
AS
120672011-02-02 Andreas Schwab <schwab@redhat.com>
12068
12069 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12070 of errno.
12071
968dad0a
UD
120722011-01-19 Ulrich Drepper <drepper@gmail.com>
12073
9f94d2ea 12074 [BZ #11724]
968dad0a
UD
12075 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12076 of constructors.
12077 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12078 of destructors.
12079 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12080
12081 [BZ #11724]
12082 * elf/Makefile: Add rules to build and run new test.
12083 * elf/tst-initorder.c: New file.
12084 * elf/tst-initorder.exp: New file.
12085 * elf/tst-initordera1.c: New file.
12086 * elf/tst-initordera2.c: New file.
12087 * elf/tst-initordera3.c: New file.
12088 * elf/tst-initordera4.c: New file.
12089 * elf/tst-initorderb1.c: New file.
12090 * elf/tst-initorderb2.c: New file.
12091 * elf/tst-order-a1.c: New file.
12092 * elf/tst-order-a2.c: New file.
12093 * elf/tst-order-a3.c: New file.
12094 * elf/tst-order-a4.c: New file.
12095 * elf/tst-order-b1.c: New file.
12096 * elf/tst-order-b2.c: New file.
12097 * elf/tst-order-main.c: New file.
12098 New test case by George Gensure <werkt0@gmail.com>.
12099
86e92359
UD
121002010-10-01 Andreas Schwab <schwab@redhat.com>
12101
12102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12103 decoding ACE if AI_CANONIDN.
12104
5d5732b0
UD
121052011-01-18 Ulrich Drepper <drepper@gmail.com>
12106
12107 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12108
a77e8cbc
UD
121092011-01-17 Ulrich Drepper <drepper@gmail.com>
12110
6392473f
UD
12111 * version.h (RELEASE): Bump for 2.13 release.
12112 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12113
620a0529
UD
12114 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12115
18ba70a5
UD
12116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12117 MADV_NOHUGEPAGE.
32465c3e
UD
12118 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12124
c0dafcf1
UD
12125 * posix/getconf.c: Update copyright year.
12126 * catgets/gencat.c: Likewise.
12127 * csu/version.c: Likewise.
12128 * debug/catchsegv.sh: Likewise.
12129 * debug/xtrace.sh: Likewise.
12130 * elf/ldconfig.c: Likewise.
12131 * elf/ldd.bash.in: Likewise.
12132 * elf/sprof.c (print_version): Likewise.
12133 * iconv/iconv_prog.c: Likewise.
12134 * iconv/iconvconfig.c: Likewise.
12135 * locale/programs/locale.c: Likewise.
12136 * locale/programs/localedef.c: Likewise.
12137 * malloc/memusage.sh: Likewise.
12138 * malloc/mtrace.pl: Likewise.
12139 * nscd/nscd.c (print_version): Likewise.
12140 * nss/getent.c: Likewise.
12141
a77e8cbc
UD
12142 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12143 PF_CAIF, and PF_ALG.
12144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12145
77e8bddf
AS
121462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12147
1f20b93a
AS
12148 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12149 (modules-names): Use them.
12150 (ifunc-test-modules, ifunc-pie-tests): Define.
12151 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12152 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12153 (test-extras): Likewise.
12154 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12155 $(compile-command.c).
12156 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12157 (all-built-dso): Define.
12158 (check-textrel.out, check-execstack.out): Depend on it.
12159
77e8bddf
AS
12160 * configure.in: Don't override --enable-multi-arch.
12161
bc425b33
UD
121622011-01-15 Ulrich Drepper <drepper@gmail.com>
12163
12164 [BZ #6812]
12165 * nscd/hstcache.c (tryagain): Define.
12166 (cache_addhst): Return tryagain not notfound for temporary errors.
12167 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12168 failed.
12169
794c3ad3
UD
121702011-01-14 Ulrich Drepper <drepper@gmail.com>
12171
70181fdd
UD
12172 [BZ #10563]
12173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12174 to make the syscall.
12175 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12176
794c3ad3
UD
12177 [BZ #12378]
12178 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12179 and fall back to matching as normal character if the string ends before
12180 the matching ']' is found. This is what POSIX requires.
12181 * posix/testfnm.c: Adjust test result.
12182 * posix/globtest.sh: Adjust test result. Add new test.
12183 * posix/tst-fnmatch.input: Likewise.
12184 * posix/tst-fnmatch2.c: Add new test.
12185
68dc9497
AS
121862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12187
12188 * elf/Makefile (check-execstack): Revert last change. Depend on
12189 check-execstack.h.
12190 (check-execstack.h): New target.
12191 (generated): Add check-execstack.h.
12192 * elf/check-execstack.c: Include "check-execstack.h".
12193 (main): Revert last change.
12194 (handle_file): Return zero if GNU_STACK is absent and
12195 DEFAULT_STACK_PERMS doesn't include PF_X.
12196
451f001b
UD
121972011-01-13 Ulrich Drepper <drepper@gmail.com>
12198
cfa28e56
UD
12199 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12200 in child fails because the descriptor is already closed.
8cf8ce17
UD
12201 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12202 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12204
1086d70d
UD
12205 [BZ #12397]
12206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12207 syscall.
12208
451f001b
UD
12209 [BZ #10484]
12210 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12211 temporary buffer used to handle multi lookups locally.
a85b5cb4 12212 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12213
08769175
UD
122142011-01-12 Ulrich Drepper <drepper@gmail.com>
12215
12216 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12217 loader is ld.so.
12218
5e49c52e
UD
122192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12220
12221 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12222 alignment for SSE2.
12223
60522a5f
UD
122242011-01-12 Ulrich Drepper <drepper@gmail.com>
12225
12226 [BZ #12394]
12227 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12228 characters. When rounding increased number of integer digits recompute
12229 number of groups.
12230 * stdio-common/tst-grouping.c: New file.
12231 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12232
f257bbd7
UD
122332011-01-09 Ulrich Drepper <drepper@gmail.com>
12234
12235 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12236 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12237
12238 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12239 void.
12240 * bits/select.h: Likewise.
12241
fa9c15cb
UD
122422011-01-08 Ulrich Drepper <drepper@gmail.com>
12243
12244 * po/ja.po: Update from translation team.
12245
16c2895f
DM
122462011-01-04 David S. Miller <davem@sunset.davemloft.net>
12247
12248 [BZ #11155]
12249 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12250 implementation just like for lxstat, fxstatat, et al.
12251
2543fef2
JM
122522010-12-27 Jim Meyering <meyering@redhat.com>
12253
12254 [BZ #12348]
12255 * posix/regexec.c (build_trtable): Return failure indication upon
12256 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12257
98727dbe
UD
122582010-12-25 Ulrich Drepper <drepper@gmail.com>
12259
5bd6dc5c
UD
12260 [BZ #12201]
12261 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12262 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12265
97983464
UD
12266 [BZ #12207]
12267 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12268
98727dbe
UD
12269 [BZ #12204]
12270 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12271 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12272
4a531bb0
L
122732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12274
12275 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12276 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12277 script has SORT_BY_INIT_PRIORITY.
12278 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12279 NO_CTORS_DTORS_SECTIONS is defined.
12280 * elf/soinit.c: Likewise.
12281 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12282 NO_CTORS_DTORS_SECTIONS is defined.
12283 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12284 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12285 * sysdeps/sh/init-first.c: Likewise.
12286 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12287
07eb4b71
UD
122882010-12-24 Ulrich Drepper <drepper@gmail.com>
12289
12290 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12291 always use the slow path.
12292
30950a5f
RA
122932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12294
12295 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12296 similar rule which adds the sysdep directories to the header search in
12297 order to pick up the correct platform stackinfo.h.
12298 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12299 perform test if it is, otherwise return successfully without testing.
12300 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12301 DEFAULT_STACK_PERMS define in stackinfo.h.
12302 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12303 defined in stackinfo.h.
12304 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12305 DEFAULT_STACK_PERMS defined in stackinfo.h.
12306 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12307 * sysdeps/ia64/stackinfo.h: Likewise.
12308 * sysdeps/s390/stackinfo.h: Likewise.
12309 * sysdeps/sh/stackinfo.h: Likewise.
12310 * sysdeps/sparc/stackinfo.h: Likewise.
12311 * sysdeps/x86_64/stackinfo.h: Likewise.
12312 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12313 PF_X for powerpc64. Retain PF_X for powerpc32.
12314
db753e2c
UD
123152010-12-19 Ulrich Drepper <drepper@gmail.com>
12316
14b697f7
UD
12317 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12318 accurately.
db753e2c
UD
12319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12320 GETDENTS_64BIT_ALIGNED.
12321
28300719
UD
123222010-12-14 Ulrich Drepper <dreper@gmail.com>
12323
14b697f7 12324 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12325
4f197237
AS
123262010-12-10 Andreas Schwab <schwab@redhat.com>
12327
dbb0472f
AS
12328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12329 _GNU_SOURCE.
12330
4f197237
AS
12331 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12332 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12333 Remove __restrict.
12334 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12335 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12336
fb88ac72
UD
123372010-12-09 Ulrich Drepper <drepper@gmail.com>
12338
12339 [BZ #11655]
12340 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12341 are initialized.
12342
42acbb92
JJ
123432010-12-09 Jakub Jelinek <jakub@redhat.com>
12344
12345 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12346
c038d98d
UD
123472010-12-03 Ulrich Drepper <drepper@gmail.com>
12348
12349 * po/it.po: Update from translation team.
12350
3a4a2499
L
123512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12354 unused codes.
12355
1e24cf6e
UD
123562010-11-30 Ulrich Drepper <drepper@gmail.com>
12357
12358 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12359
a7690819
AS
123602010-11-24 Andreas Schwab <schwab@redhat.com>
12361
12362 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12363 specially.
12364 (gaih_getanswer_slice): Likewise.
12365
3bf8d1b1
JJ
123662010-10-20 Jakub Jelinek <jakub@redhat.com>
12367
12368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12369
6db52fbb
PB
123702010-05-31 Petr Baudis <pasky@suse.cz>
12371
12372 [BZ #11149]
12373 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12374 silently even in the chroot mode.
12375
eaca7569
UD
123762010-11-22 Ulrich Drepper <drepper@gmail.com>
12377
12378 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12379 last patch a bit. Pretty printing
12380
3056dcdb
UD
123812010-05-31 Petr Baudis <pasky@suse.cz>
12382
12383 [BZ #10085]
12384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12385 initialization of skip_initgroups_dyn.
12386
cf7c9078
UD
123872010-11-19 Ulrich Drepper <drepper@gmail.com>
12388
12389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12391
a1fb5e3e
UD
123922010-11-16 Ulrich Drepper <drepper@gmail.com>
12393
12394 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12395
3540d66b
AS
123962010-11-11 Andreas Schwab <schwab@redhat.com>
12397
12398 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12399 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12400 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12401 ($(objpfx)tst-fnmatch-mem): New rule.
12402 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12403 * posix/tst-fnmatch.c (main): Call mtrace.
12404
13b69574
L
124052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12406
12407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12408 Support Intel processor model 6 and model 0x2c.
12409
da93d214
LM
124102010-11-10 Luis Machado <luisgpm@br.ibm.com>
12411
12412 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12413 signed comparison.
12414
8ca52c6e
L
124152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12416
12417 [BZ #12205]
12418 * string/test-strncasecmp.c (check_result): New function.
12419 (do_one_test): Use it.
12420 (check1): New function.
12421 (test_main): Use it.
12422 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12423 Support strcasecmp and strncasecmp.
12424
69da074d
UD
124252010-11-08 Ulrich Drepper <drepper@gmail.com>
12426
12427 [BZ #12194]
12428 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12430
ff02d528
L
124312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12434 IFUNC support.
12435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12436 memset-x86-64.
12437 * sysdeps/x86_64/multiarch/bzero.S: New file.
12438 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12439 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12440 * sysdeps/x86_64/multiarch/memset.S: New file.
12441 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12443 Set bit_Prefer_SSE_for_memop for Intel processors.
12444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12445 Define.
12446 (index_Prefer_SSE_for_memop): Define.
12447 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12448
344d0b54
LM
124492010-11-04 Luis Machado <luisgpm@br.ibm.com>
12450
12451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12453
c0dde15b
UD
124542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 [BZ #12191]
12457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12458 (__x86_64_raw_data_cache_size_half): Likewise.
12459 (__x86_64_raw_shared_cache_size): Likewise.
12460 (__x86_64_raw_shared_cache_size_half): Likewise.
12461
12462 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12463 (__x86_64_raw_data_cache_size_half): Likewise.
12464 (__x86_64_raw_shared_cache_size): Likewise.
12465 (__x86_64_raw_shared_cache_size_half): Likewise.
12466 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12467 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12468 and __x86_64_raw_shared_cache_size_half. Round
12469 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12470 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12471 to multiple of 256 bytes.
12472
0e516e0e
MS
124732010-11-03 Ulrich Drepper <drepper@gmail.com>
12474
12475 [BZ #12167]
12476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12477 of inacessible symlinks. Verify result of symlink before returning it.
12478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12479 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12480
0e012e87
ER
124812010-10-28 Erich Ritz <erichritz@gmail.com>
12482
12483 * math/math.h (isinf): Fix typo in comment.
12484
de0ff7bc
UD
124852010-11-01 Ulrich Drepper <drepper@gmail.com>
12486
12487 * po/da.po: Update from translation team.
12488
fa41c84d
UD
124892010-10-26 Ulrich Drepper <drepper@gmail.com>
12490
12491 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12492 is added to the list.
12493
f0967738
AK
124942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12495 Ulrich Drepper <drepper@gmail.com>
12496
12497 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12498 the global list here. Move code to...
12499 (_dl_add_to_namespace_list): ...here. New function.
12500 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12501 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12502 * elf/dl-load.c (lose): Don't remove the element from the list.
12503 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12504 (_dl_map_object): Likewise.
12505
125062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12507
12508 [BZ #12159]
12509 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12510 into all bytes of SSE register.
12511 Patch by Richard Li <richardpku@gmail.com>.
12512
f0967738 125132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12514
12515 [BZ #12140]
12516 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12517 perturbing.
12518
d0b9e94f
MB
125192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12520
12521 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12522 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12526 submachine.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12528
8e9f92e9
AS
125292010-10-22 Andreas Schwab <schwab@redhat.com>
12530
12531 * include/dlfcn.h (__RTLD_SECURE): Define.
12532 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12533 mode & __RTLD_SECURE instead.
12534 (open_path): Rename preloaded parameter to secure.
12535 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12536 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12537 * elf/dl-deps.c (openaux): Likewise.
12538 * elf/rtld.c (struct map_args): Remove is_preloaded.
12539 (map_doit): Don't use it.
12540 (dl_main): Likewise.
12541 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12542 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12543
bc96fbda
AS
125442010-09-09 Andreas Schwab <schwab@redhat.com>
12545
12546 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12547 (sysd-rules-targets): Remove duplicates.
12548 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12549 rtld-%.$o dependency.
12550
22cd1c9b
AS
125512010-10-18 Andreas Schwab <schwab@redhat.com>
12552
12553 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12554 _dl_map_object do it.
12555
18edac48
UD
125562010-10-19 Ulrich Drepper <drepper@gmail.com>
12557
12558 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12559 fast fma builtins, define the macros in the C99 standard.
12560 (FP_FAST_FMAF): Likewise.
12561 (FP_FAST_FMAL): Likewise.
12562 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12563
12564 * bits/mathdef.h: Update copyright year.
12565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12566
d2050124
MM
125672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12568
12569 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12570 builtins, define the macros in the C99 standard.
12571 (FP_FAST_FMAF): Likewise.
12572 (FP_FAST_FMAL): Likewise.
12573 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12574 multiply/add.
12575 (FP_FAST_FMAF): Likewise.
12576
475facd1
JJ
125772010-10-15 Jakub Jelinek <jakub@redhat.com>
12578
12579 [BZ #3268]
12580 * math/libm-test.inc (fma_test): Some new testcases.
12581 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12583 y and infinite z. Do multiplication by C already in long double.
12584 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12586 y and infinite z. Do bitwise or of inexact bit into u.d.
12587 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12588 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12589 * sysdeps/i386/fpu/s_fma.S: Removed.
12590 * sysdeps/i386/fpu/s_fmal.S: Removed.
12591
7c08a05c
JJ
125922010-10-16 Jakub Jelinek <jakub@redhat.com>
12593
12594 [BZ #3268]
12595 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12597 computation is not scheduled after fetestexcept. Fix value
12598 of minimum denormal long double.
12599
f3f7372d
JJ
126002010-10-14 Jakub Jelinek <jakub@redhat.com>
12601
12602 [BZ #3268]
12603 * math/libm-test.inc (fma_test): Add some more tests.
12604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12605 correctly.
12606
14d43591
AS
126072010-10-15 Andreas Schwab <schwab@redhat.com>
12608
12609 * scripts/data/localplt-s390-linux-gnu.data: New file.
12610 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12611
5e908464
JJ
126122010-10-13 Jakub Jelinek <jakub@redhat.com>
12613
12614 [BZ #3268]
12615 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12616 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12617 instead of dbl-64.
12618 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12619 inlines.
12620 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12622 if one of x and y is very large and the other is subnormal.
12623 * sysdeps/s390/fpu/s_fmaf.c: New file.
12624 * sysdeps/s390/fpu/s_fma.c: New file.
12625 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12626 * sysdeps/powerpc/fpu/s_fma.S: New file.
12627 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12628 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12630
126312010-10-12 Jakub Jelinek <jakub@redhat.com>
12632
12633 [BZ #3268]
12634 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12635 fma tests.
12636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12637 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12638 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12639 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12640 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12641 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12643
b833d51f
UD
126442010-10-12 Ulrich Drepper <drepper@redhat.com>
12645
12646 [BZ #12078]
12647 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12648 * posix/bug-regex31.input: Add test case.
12649
1751705d
UD
126502010-10-11 Ulrich Drepper <drepper@gmail.com>
12651
e9b9cbf5
UD
12652 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12653 * posix/bug-regex31.input: New file.
12654
12655 [BZ #12078]
12656 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12657 (parse_sub_exp): Fix last change, use postorder.
12658
ef06edbe
UD
12659 * posix/bug-regex31.c: New file.
12660 * posix/Makefile: Add rules to build and run bug-regex31.
12661
a129c80d
UD
12662 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12663
12664 [BZ #12078]
12665 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12666
b76b818e
UD
12667 [BZ #12108]
12668 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12669 to have entries in sys_siglist.
12670
1751705d
UD
12671 [BZ #12093]
12672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12673 be NULL.
12674
9ff8d36f
JJ
126752010-10-07 Jakub Jelinek <jakub@redhat.com>
12676
12677 [BZ #3268]
12678 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12679 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12680 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12681 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12683 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12684 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12685 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12686 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12687 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12688 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12689 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12690 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12691 * math/ftestexcept.c (fetestexcept): Likewise.
12692 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12693 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12694 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12695 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12696 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12697 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12699
af325969
UD
127002010-10-11 Ulrich Drepper <drepper@gmail.com>
12701
c579b202 12702 [BZ #12107]
af325969
UD
12703 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12704 newline.
12705
67a67b95
UD
127062010-10-06 Ulrich Drepper <drepper@gmail.com>
12707
12708 * string/bug-strstr1.c: New file.
12709 * string/Makefile: Add rules to build and run bug-strstr1.
12710
5fb308bc
EB
127112010-10-05 Eric Blake <eblake@redhat.com>
12712
12713 [BZ #12092]
12714 * string/str-two-way.h (two_way_long_needle): Always clear memory
12715 when skipping input due to the shift table.
12716
45db99c7
UD
127172010-10-03 Ulrich Drepper <drepper@gmail.com>
12718
3b111893
UD
12719 [BZ #12005]
12720 * malloc/mcheck.c: Handle large requests.
12721
45db99c7
UD
12722 [BZ #12077]
12723 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12724 for strncmp and strncasecmp.
12725 * string/stratcliff.c: Add tests for strcmp and strncmp.
12726 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12727
cf7a1eb8
NI
127282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12729
12730 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12731 __set_fpscr.
12732
6484ba5e
AJ
127332010-09-30 Andreas Jaeger <aj@suse.de>
12734
12735 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12736 (CGROUP_SUPER_MAGIC): Define.
12737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12738 Handle btrfs and cgroup file systems.
12739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12740 Likewise.
12741
91c42559
LM
127422010-09-27 Luis Machado <luisgpm@br.ibm.com>
12743
12744 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12745 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12746
87a97932
AK
127472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12748
12749 [BZ #12067]
12750 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12751 trying to locate the ELF header.
12752
c21cc9bc
AS
127532010-09-27 Andreas Schwab <schwab@redhat.com>
12754
12755 [BZ #11611]
12756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12757 Mask out sign-bit copies when constructing f_fsid.
12758
315970f6
PB
127592010-09-24 Petr Baudis <pasky@suse.cz>
12760
12761 * debug/stack_chk_fail_local.c: Add missing licence exception.
12762 * debug/warning-nop.c: Likewise.
12763
1ac7a2c7
JM
127642010-09-15 Joseph Myers <joseph@codesourcery.com>
12765
12766 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12767 implementing getdents64 using getdents syscall, set d_type if
12768 __ASSUME_GETDENTS32_D_TYPE.
12769
56801c50
AS
127702010-09-16 Andreas Schwab <schwab@redhat.com>
12771
12772 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12773 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12774
dda51327
UD
127752010-09-21 Ulrich Drepper <drepper@redhat.com>
12776
12777 [BZ #12037]
12778 * posix/unistd.h: Undo change of feature selection for ftruncate from
12779 2010-01-11.
12780
8ffcee4a
UD
127812010-09-20 Ulrich Drepper <drepper@redhat.com>
12782
a545ecd9 12783 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12784 detection.
12785
e24f0a8b
AS
127862010-09-20 Andreas Schwab <schwab@redhat.com>
12787
12788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12789 fanotify_mark.
12790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12791
7291c56f
AS
127922010-09-14 Andreas Schwab <schwab@redhat.com>
12793
12794 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12795 variables after CHECK_SP call.
12796 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12797
bc5fb037
AS
127982010-09-13 Andreas Schwab <schwab@redhat.com>
12799 Ulrich Drepper <drepper@redhat.com>
12800
12801 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12802 re-relocationg ld.so.
12803 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12804 _dl_init_paths call.
12805 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12806 here anymore.
12807
e66e7419
UD
128082010-09-14 Ulrich Drepper <drepper@redhat.com>
12809
12810 * resolv/res_init.c (__res_vinit): Count the default server we added.
12811
c044aa75
CLT
128122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12813 Ulrich Drepper <drepper@redhat.com>
12814
12815 [BZ #11968]
12816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12817 (____longjmp_chk): Use %ebx for saving value across system call.
12818 Add unwind info.
12819
32cf4069
AS
128202010-09-06 Andreas Schwab <schwab@redhat.com>
12821
12822 * manual/Makefile: Don't mix pattern rules with normal rules.
12823
817328ee
AS
128242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12825
12826 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12827 operation.
12828 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12829 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12830 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12831 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12833 Likewise.
12834
29fddf61
UD
128352010-09-04 Ulrich Drepper <drepper@redhat.com>
12836
12837 [BZ #11979]
12838 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12839 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12840
0959ffc9
UD
128412010-09-02 Ulrich Drepper <drepper@redhat.com>
12842
12843 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12844 * sysdeps/x86_64/addmul_1.S: Likewise.
12845 * sysdeps/x86_64/lshift.S: Likewise.
12846 * sysdeps/x86_64/mul_1.S: Likewise.
12847 * sysdeps/x86_64/rshift.S: Likewise.
12848 * sysdeps/x86_64/sub_n.S: Likewise.
12849 * sysdeps/x86_64/submul_1.S: Likewise.
12850
ece29840
ST
128512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12852
0959ffc9
UD
12853 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12854 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12855 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12856 * bits/sched.h [__need_schedparam]
ece29840 12857 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12858 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12859 (__defined_schedparam): Define to 1.
ece29840
ST
12860 (__sched_param): New structure, identical to sched_param.
12861 (__need_schedparam): Undefine.
12862
e53a31fe
MF
128632010-08-31 Mike Frysinger <vapier@gentoo.org>
12864
fdc0c10d
MF
12865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12866 (epoll_create1): Declare.
12867
e53a31fe
MF
12868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12869
a726d796
AS
128702010-08-31 Andreas Schwab <schwab@redhat.com>
12871
12872 [BZ #7066]
12873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12874 shifting retval into place.
12875
2f3e3dc7
UD
128762010-09-01 Ulrich Drepper <drepper@redhat.com>
12877
f2933da9
UD
12878 * nis/rpcsvc/nis.h: Update copyright notice.
12879 * nis/rpcsvc/nis.x: Likewise.
12880 * nis/rpcsvc/nis_callback.h: Likewise.
12881 * nis/rpcsvc/nis_callback.x: Likewise.
12882 * nis/rpcsvc/nis_object.x: Likewise.
12883 * nis/rpcsvc/nis_tags.h: Likewise.
12884 * nis/rpcsvc/yp.h: Likewise.
12885 * nis/rpcsvc/yp.x: Likewise.
12886 * nis/rpcsvc/ypupd.h: Likewise.
12887 * nis/yp_xdr.c: Likewise.
12888 * nis/ypupdate_xdr.c: Likewise.
12889
2f3e3dc7
UD
12890 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12891 mainly the body of pmap_getport. Add parameters to specify timeouts.
12892 (pmap_getport): Use __libc_rpc_getport.
12893 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12894 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12895 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12896
f3dcc2f9
AS
128972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12898
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12900 fanotify_mark.
12901
6d34eb5b
RM
129022010-08-27 Roland McGrath <roland@redhat.com>
12903
12904 * sysdeps/i386/i686/multiarch/Makefile
12905 (CFLAGS-varshift.c): New variable.
12906
9ea3de11
UD
129072010-08-27 Ulrich Drepper <drepper@redhat.com>
12908
c96d23fc
UD
12909 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12910 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12911
9ea3de11
UD
12912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12913
12914 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12915
623aac7f
L
129162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12917
12918 * sysdeps/x86_64/strlen.S: Unroll the loop.
12919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12920 strlen-sse2 strlen-sse2-bsf.
12921 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12922 __strlen_no_bsf if bit_Slow_BSF is set.
12923 (__strlen_sse42): Removed.
12924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12925 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12926
8b2b7715
RM
129272010-08-25 Roland McGrath <roland@redhat.com>
12928
12929 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12930 * sysdeps/x86_64/multiarch/varshift.c: New file.
12931 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12932 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12933 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12935
e73015f2
L
129362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12939 strlen-sse2 strlen-sse2-bsf.
12940 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12941 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12942 (__strlen_sse2): Removed.
12943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12946 bit_Slow_BSF for Atom.
12947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12948 (index_Slow_BSF): Define.
12949 (HAS_SLOW_BSF): Define.
12950
df24a73e
UD
129512010-08-25 Ulrich Drepper <drepper@redhat.com>
12952
12953 [BZ #10851]
12954 * resolv/res_init.c (__res_vinit): When no server address at all
12955 is given default to loopback.
12956
f2ac4868
RM
129572010-08-24 Roland McGrath <roland@redhat.com>
12958
09055553
RM
12959 * configure.in: Remove config-name.h generation.
12960 * configure: Regenerated.
12961 * config-name.in: File removed.
12962 * scripts/config-uname.sh: New file.
12963 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12964 ($(objdir)config-name.h): New target.
12965
f2ac4868
RM
12966 * sunrpc/rpc_parse.h: Avoid nested comment.
12967
73f27d5e
RH
129682010-08-24 Richard Henderson <rth@redhat.com>
12969 Ulrich Drepper <drepper@redhat.com>
12970 H.J. Lu <hongjiu.lu@intel.com>
12971
12972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12974 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12975 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12976 _mm_alignr_epi8 with _mm_loadu_si128.
12977 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12978 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12979 (__m128i_shift_right): Removed.
12980 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12981 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12982 * sysdeps/x86_64/multiarch/varshift.h: New file.
12983 * sysdeps/x86_64/multiarch/varshift.S: New file.
12984
84b9230c
MF
129852010-08-21 Mike Frysinger <vapier@gentoo.org>
12986
12987 * configure.in: Move assembler checks to before sysdep dir checking.
12988
9bbd0ddc
PB
129892010-08-20 Petr Baudis <pasky@suse.cz>
12990
12991 * LICENSES: Sync the sunrpc license.
12992
9da4bb31
UD
129932010-08-19 Ulrich Drepper <drepper@redhat.com>
12994
a7ab6ec8
UD
12995 * sunrpc/auth_des.c: Update copyright notice once again.
12996 * sunrpc/auth_none.c: Likewise.
12997 * sunrpc/auth_unix.c: Likewise.
12998 * sunrpc/authdes_prot.c: Likewise.
12999 * sunrpc/authuxprot.c: Likewise.
13000 * sunrpc/bindrsvprt.c: Likewise.
13001 * sunrpc/clnt_gen.c: Likewise.
13002 * sunrpc/clnt_perr.c: Likewise.
13003 * sunrpc/clnt_raw.c: Likewise.
13004 * sunrpc/clnt_simp.c: Likewise.
13005 * sunrpc/clnt_tcp.c: Likewise.
13006 * sunrpc/clnt_udp.c: Likewise.
13007 * sunrpc/clnt_unix.c: Likewise.
13008 * sunrpc/des_crypt.c: Likewise.
13009 * sunrpc/des_soft.c: Likewise.
13010 * sunrpc/get_myaddr.c: Likewise.
13011 * sunrpc/getrpcport.c: Likewise.
13012 * sunrpc/key_call.c: Likewise.
13013 * sunrpc/key_prot.c: Likewise.
13014 * sunrpc/openchild.c: Likewise.
13015 * sunrpc/pm_getmaps.c: Likewise.
13016 * sunrpc/pm_getport.c: Likewise.
13017 * sunrpc/pmap_clnt.c: Likewise.
13018 * sunrpc/pmap_prot.c: Likewise.
13019 * sunrpc/pmap_prot2.c: Likewise.
13020 * sunrpc/pmap_rmt.c: Likewise.
13021 * sunrpc/rpc/auth.h: Likewise.
13022 * sunrpc/rpc/auth_unix.h: Likewise.
13023 * sunrpc/rpc/clnt.h: Likewise.
13024 * sunrpc/rpc/des_crypt.h: Likewise.
13025 * sunrpc/rpc/key_prot.h: Likewise.
13026 * sunrpc/rpc/netdb.h: Likewise.
13027 * sunrpc/rpc/pmap_clnt.h: Likewise.
13028 * sunrpc/rpc/pmap_prot.h: Likewise.
13029 * sunrpc/rpc/pmap_rmt.h: Likewise.
13030 * sunrpc/rpc/rpc.h: Likewise.
13031 * sunrpc/rpc/rpc_des.h: Likewise.
13032 * sunrpc/rpc/rpc_msg.h: Likewise.
13033 * sunrpc/rpc/svc.h: Likewise.
13034 * sunrpc/rpc/svc_auth.h: Likewise.
13035 * sunrpc/rpc/types.h: Likewise.
13036 * sunrpc/rpc/xdr.h: Likewise.
13037 * sunrpc/rpc_clntout.c: Likewise.
13038 * sunrpc/rpc_cmsg.c: Likewise.
13039 * sunrpc/rpc_common.c: Likewise.
13040 * sunrpc/rpc_cout.c: Likewise.
13041 * sunrpc/rpc_dtable.c: Likewise.
13042 * sunrpc/rpc_hout.c: Likewise.
13043 * sunrpc/rpc_main.c: Likewise.
13044 * sunrpc/rpc_parse.c: Likewise.
13045 * sunrpc/rpc_parse.h: Likewise.
13046 * sunrpc/rpc_prot.c: Likewise.
13047 * sunrpc/rpc_sample.c: Likewise.
13048 * sunrpc/rpc_scan.c: Likewise.
13049 * sunrpc/rpc_scan.h: Likewise.
13050 * sunrpc/rpc_svcout.c: Likewise.
13051 * sunrpc/rpc_tblout.c: Likewise.
13052 * sunrpc/rpc_util.c: Likewise.
13053 * sunrpc/rpc_util.h: Likewise.
13054 * sunrpc/rpcinfo.c: Likewise.
13055 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13056 * sunrpc/rpcsvc/key_prot.x: Likewise.
13057 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13058 * sunrpc/rpcsvc/mount.x: Likewise.
13059 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13060 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13061 * sunrpc/rpcsvc/rex.x: Likewise.
13062 * sunrpc/rpcsvc/rstat.x: Likewise.
13063 * sunrpc/rpcsvc/rusers.x: Likewise.
13064 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13065 * sunrpc/rpcsvc/spray.x: Likewise.
13066 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13067 * sunrpc/rtime.c: Likewise.
13068 * sunrpc/svc.c: Likewise.
13069 * sunrpc/svc_auth.c: Likewise.
13070 * sunrpc/svc_authux.c: Likewise.
13071 * sunrpc/svc_raw.c: Likewise.
13072 * sunrpc/svc_run.c: Likewise.
13073 * sunrpc/svc_simple.c: Likewise.
13074 * sunrpc/svc_tcp.c: Likewise.
13075 * sunrpc/svc_udp.c: Likewise.
13076 * sunrpc/svc_unix.c: Likewise.
13077 * sunrpc/svcauth_des.c: Likewise.
13078 * sunrpc/xcrypt.c: Likewise.
13079 * sunrpc/xdr.c: Likewise.
13080 * sunrpc/xdr_array.c: Likewise.
13081 * sunrpc/xdr_float.c: Likewise.
13082 * sunrpc/xdr_mem.c: Likewise.
13083 * sunrpc/xdr_rec.c: Likewise.
13084 * sunrpc/xdr_ref.c: Likewise.
13085 * sunrpc/xdr_sizeof.c: Likewise.
13086 * sunrpc/xdr_stdio.c: Likewise.
13087
9da4bb31
UD
13088 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13089 handling.
13090
bdaa77bc
AS
130912010-08-19 Andreas Schwab <schwab@redhat.com>
13092
13093 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13094
fe2f79db
LM
130952010-08-19 Luis Machado <luisgpm@br.ibm.com>
13096
13097 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13100 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13102 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13103 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13104 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13107 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13108 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13109 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13111
b9b42ee0
AB
131122010-07-26 Anton Blanchard <anton@samba.org>
13113
13114 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13115 * malloc/arena.c (heap_trim): Likewise.
13116
1c06ba31
UD
131172010-08-16 Ulrich Drepper <drepper@redhat.com>
13118
13119 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13120 here. Not...
13121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13122 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13123
f8392f40
L
131242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * sysdeps/i386/elf/Makefile: New file.
13127
3162f12e
AS
131282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13129
13130 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13131 from fanotify_init.
13132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13134
28c90b2c
UD
131352010-08-15 Ulrich Drepper <drepper@redhat.com>
13136
13137 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13138 of strncasecmp_l.
1feccb6c 13139 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13140
ca6bb004
UD
131412010-08-14 Ulrich Drepper <drepper@redhat.com>
13142
e9f82e0d
UD
13143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13144 strncase_l-nonascii.
13145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13146 Add strncase_l-ssse3.
13147 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13148 * sysdeps/x86_64/strcmp.S: Likewise.
13149 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13150 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13151 * sysdeps/x86_64/strncase.S: New file.
13152 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13153 * sysdeps/x86_64/strncase_l.S: New file.
13154 * string/Makefile (strop-tests): Add strncasecmp.
13155 * string/test-strncasecmp.c: New file.
13156
13157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13158 warning.
13159
ca6bb004
UD
13160 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13162
052fa7b3
AS
131632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13164
13165 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13166
962dba78
UD
131672010-08-12 Ulrich Drepper <drepper@redhat.com>
13168
13169 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13172
bebff237
AM
131732010-05-01 Alan Modra <amodra@gmail.com>
13174
13175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13176 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13177 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13178 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13179 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13180 tidying. Don't tail-call __sigjmp_save for static lib.
13181 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13182 save location.
13183 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13184 (CALL_MCOUNT): Add eh info, and nop after bl.
13185 (TAIL_CALL_SYSCALL_ERROR): New macro.
13186 (PSEUDO_RET): Use it.
13187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13188 Correct save location of integer regs and cr.
13189 (_dl_profile_resolve): Correct cr save location. Delete nops
13190 after bl when SHARED. Reduce cfi size a little by better
13191 placement of cfi directives.
13192 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13193 make a stack frame. Instead use parm save area as a temp.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13195 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13197 Don't make a stack frame for parent, use parm save area.
13198 Increase child stack frame to 112 bytes. Don't save unused reg,
13199 and adjust reg usage. Set up cfi on error recovery and
13200 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13202 (__makecontext): Add dummy nop after jump to exit.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13204 Use correct parm save area and cr save, reduce stack frame.
13205 Correct cfi for possible PSEUDO_RET frame setup.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13207 Branch to local label emitted by PSEUDO_RET rather than
13208 __syscall_error.
13209
02637374
AS
132102010-08-12 Andreas Schwab <schwab@redhat.com>
13211
13212 [BZ #11904]
13213 * locale/programs/locale.c (print_assignment): New function.
13214 (show_locale_vars): Use it.
13215
c3e2f19b
UD
132162010-08-11 Ulrich Drepper <drepper@redhat.com>
13217
3cdaa6ad
UD
13218 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13219 field.
13220 (struct statfs64): Likewise.
13221 (_STATFS_F_FLAGS): Define.
13222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13224 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13225 (ST_VALID): Define locally.
13226 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13227 __statvfs_getflags, use the provided value.
13228 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13229 __ASSUME_STATFS_F_FLAGS.
13230
754f7da3
UD
13231 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13232
10b3bedc
UD
13233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13234 Add sys/fanotify.h.
13235 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13236 fanotify_mask for GLIBC_2.13.
13237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13238 fanotify_init and fanotify_mark.
13239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13240 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13241
c08fb0d7
UD
13242 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13243 Add prlimit.
13244 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13245 prlimit64 for GLIBC_2.13.
13246 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13247 prlimit64.
13248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13249 syscall.
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13255 add prlimit alias.
13256 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13257
15bac72b
UD
13258 [BZ #11903]
13259 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13260 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13261
c3e2f19b
UD
13262 * nss/Makefile: Add rules to build and run tst-nss-test1.
13263 * shlib-versions: Add entry for libnss_test1.
13264 * nss/nss_test1.c: New file.
13265 * nss/tst-nss-test1.c: New file.
13266
13267 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13268 (__nss_configure_lookup): Set appropriate entry in
13269 __nss_configure_lookup to true.
13270 * nss/nsswitch.h: Define enum with indeces of databases in
13271 databases and __nss_database_custom arrays. Declare
13272 __nss_database_custom.
13273 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13274 to avoid using nscd when custom rules are installed.
13275 * nss/getXXbyYY_r.c: Likewise.
13276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13277
13278 * nss/nss_files/files-parse.c: Whitespace fixes.
13279
f15ce4d8
UD
132802010-08-09 Ulrich Drepper <drepper@redhat.com>
13281
13282 [BZ #11883]
13283 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13284 * posix/fnmatch_loop.c: Likewise.
13285
d22e4cc9
AK
132862010-07-17 Andi Kleen <ak@linux.intel.com>
13287
13288 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13289 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13290 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13291 * Versions.def [GLIBC_2.13]: Add.
13292
805bc17d
UD
132932010-08-06 Ulrich Drepper <drepper@redhat.com>
13294
13295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13296 Also fail if tpwd after pwuid call is NULL.
13297
5a42321d
ST
132982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13299
13300 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13301 when converting to ms.
13302
fd3ebeda
ST
133032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13304
13305 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13306 EOPNOTSUPP errors with ENOTTY.
13307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13308 EOPNOTSUPP errors with ENOTTY.
13309
73507d3a
UD
133102010-07-31 Ulrich Drepper <drepper@redhat.com>
13311
13312 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13313 Add strcasecmp_l-ssse3.
13314 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13315 strcasecmp.
13316 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13319
fe36dd02
UD
133202010-07-30 Ulrich Drepper <drepper@redhat.com>
13321
66f6765a
UD
13322 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13323
42e08a54
UD
13324 * string/Makefile (strop-tests): Add strcasecmp.
13325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13326 strcasecmp_l-nonascii.
13327 (gen-as-const-headers): Add locale-defines.sym.
13328 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13329 * sysdeps/x86_64/strcasecmp.S: New file.
13330 * sysdeps/x86_64/strcasecmp_l.S: New file.
13331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13332 * sysdeps/x86_64/locale-defines.sym: New file.
13333 * string/test-strcasecmp.c: New file.
13334
fe36dd02
UD
13335 * string/test-strcasestr.c: Test both ends of the range of characters.
13336 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13337
48cbc0d6
RM
133382010-07-29 Roland McGrath <roland@redhat.com>
13339
76e6d6bc 13340 [BZ #11856]
48cbc0d6
RM
13341 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13342
880113d9
UD
133432010-07-27 Ulrich Drepper <drepper@redhat.com>
13344
13345 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13346 for ld.so.
13347
deb9cabb
AS
133482010-07-27 Andreas Schwab <schwab@redhat.com>
13349
13350 * manual/memory.texi (Malloc Tunable Parameters): Document
13351 M_PERTURB.
13352
1c7570ff
RM
133532010-07-26 Roland McGrath <roland@redhat.com>
13354
13355 [BZ #11840]
13356 * configure.in (-fgnu89-inline check): Set and substitute
13357 gnu89_inline, not libc_cv_gnu89_inline.
13358 * configure: Regenerated.
13359 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13360
24fb0f88
UD
133612010-07-26 Ulrich Drepper <drepper@redhat.com>
13362
13363 * string/test-strnlen.c: New file.
13364 * string/Makefile (strop-tests): Add strnlen.
13365 * string/tester.c (test_strnlen): Add a few more test cases.
13366 * string/tst-strlen.c: Better error reporting.
13367
13368 * sysdeps/x86_64/strnlen.S: New file.
13369
8e96b93a
UD
133702010-07-24 Ulrich Drepper <drepper@redhat.com>
13371
13372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13373 lower-latency instructions.
13374
dbc676d4
UD
133752010-07-23 Ulrich Drepper <drepper@redhat.com>
13376
13377 * string/test-strcasestr.c: New file.
13378 * string/test-strstr.c: New file.
13379 * string/Makefile (strop-tests): Add strstr and strcasestr.
13380 * string/str-two-way.h: Don't undefine MAX.
13381 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13382
f6a31e0e
AS
133832010-07-21 Andreas Schwab <schwab@redhat.com>
13384
13385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13386 strcasestr-nonascii.
13387 (CFLAGS-strcasestr-nonascii.c): Define.
13388 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13390 Remove unused attribute.
13391
5dbc3b6c
RM
133922010-07-20 Roland McGrath <roland@redhat.com>
13393
13394 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13395 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13396 ld.so.cache was broken. With it, there is no way to disable dsocaps
13397 like LD_HWCAP_MASK can disable hwcaps.
13398
23d101d8
EPM
133992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13400
13401 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13402
cc9f2e47
UD
134032010-07-16 Ulrich Drepper <drepper@redhat.com>
13404
13405 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13406 call in strcasestr.
13407 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13408 __strcasestr_sse42_nonascii.
13409 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13410 strcasestr-nonascii.c.
13411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13412
77c1b069
LM
134132010-06-15 Luis Machado <luisgpm@br.ibm.com>
13414
13415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13419
440566c3
UD
134202010-07-09 Ulrich Drepper <drepper@redhat.com>
13421
13422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13423 fcntl.
13424
5be9d05d
AS
134252010-07-06 Andreas Schwab <schwab@redhat.com>
13426
c30b7ee2 13427 [BZ #11577]
5be9d05d
AS
13428 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13429 dl_signal_cerror.
13430
8a492a67
UD
134312010-07-06 Ulrich Drepper <drepper@redhat.com>
13432
13433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13434 _PC_PIPE_BUF using F_GETPIPE_SZ.
13435
713df3d5
RM
134362010-07-05 Roland McGrath <roland@redhat.com>
13437
13438 * manual/arith.texi (Rounding Functions): Fix rint description
13439 implicit in round description.
13440
702e8f14
UD
134412010-07-02 Ulrich Drepper <drepper@redhat.com>
13442
13443 * elf/Makefile: Fix linking for a few tests to make recent linker
13444 happy.
13445
52ed8be9
AS
134462010-06-30 Andreas Schwab <schwab@redhat.com>
13447
13448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13449 $(common-objpfx)libc_nonshared.a.
13450
f47c9a11
LM
134512010-06-21 Luis Machado <luisgpm@br.ibm.com>
13452
13453 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13454 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13455 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13456 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13457 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13458 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13459 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13460 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13475 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13476 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13477 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13478 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13479 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13480 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13481 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13482 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13483 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13484 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13485 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13486 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13501
6fb8cbcb
L
135022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13503
13504 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13505 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13506 * string/memmove.c (memmove): Renamed to ...
13507 (MEMMOVE): ...this. Default to memmove.
13508 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13509 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13510 (END_CHK): Define.
13511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13512 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13513 mempcpy-ssse3-back memmove-ssse3-back.
13514 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13517 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13518 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13519 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13520 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13521 * sysdeps/x86_64/multiarch/memmove.c: New file.
13522 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13523 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13524 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13525 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13528 Define.
13529 (index_Fast_Copy_Backward): Define.
13530 (HAS_ARCH_FEATURE): Define.
13531 (HAS_FAST_REP_STRING): Define.
13532 (HAS_FAST_COPY_BACKWARD): Define.
13533
4e733bac 135342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13535
13536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13537 Restore proper fallback handling.
13538
63c4ed22
UD
135392010-06-19 Ulrich Drepper <drepper@redhat.com>
13540
ac2b484c
UD
13541 [BZ #11701]
13542 * posix/group_member.c (__group_member): Correct checking loop.
13543
63c4ed22
UD
13544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13545 OOM in getpwuid_r correctly. Return error number when the caller
13546 should return, otherwise -1.
13547 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13548 call returning > 0 value.
13549 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13550
765ade4b
AS
135512010-06-07 Andreas Schwab <schwab@redhat.com>
13552
13553 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13554 libc_nonshared.a from targets in modules-names.
13555
80da2e09
KS
135562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13557
13558 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13559 requires it.
13560
158db122
LM
135612010-06-10 Luis Machado <luisgpm@br.ibm.com>
13562
13563 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13567
caa78cf8
AS
135682010-06-02 Andreas Schwab <schwab@redhat.com>
13569
13570 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13571
b2ef2c01
UD
135722010-06-14 Ulrich Drepper <drepper@redhat.com>
13573
13574 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13575 and F_GETPIPE_SZ.
13576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13582
fbd643b6
RM
135832010-06-14 Roland McGrath <roland@redhat.com>
13584
13585 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13586
f32f2869
JJ
135872010-06-07 Jakub Jelinek <jakub@redhat.com>
13588
13589 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13590 __REDIRECT followed by __THROW.
13591 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13592 * posix/getopt.h (getopt): Likewise.
13593
2a50c078
EPM
135942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13595
13596 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13597 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13598 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13599 in AT_FLAGS.
13600 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13601 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13602
eb5ad2eb
LM
136032010-05-28 Luis Machado <luisgpm@br.ibm.com>
13604
13605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13606
3c88fe1e
L
136072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13608
13609 [BZ #11640]
13610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13611 Properly check family and model.
13612
d2f73151
TY
136132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13614
13615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13616
ebd2e13d
LM
136172010-05-24 Luis Machado <luisgpm@br.ibm.com>
13618
13619 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13620
b32b8b45
UD
136212010-05-21 Ulrich Drepper <drepper@redhat.com>
13622
13623 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13624 symbol reference.
13625
9acbe24d
AS
136262010-05-19 Andreas Schwab <schwab@redhat.com>
13627
13628 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13629 symbol reference.
13630
f0ccf6ea
AS
136312010-05-21 Andreas Schwab <schwab@redhat.com>
13632
3d04ff3a
AS
13633 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13634 and internal_recvmmsg.
13635 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13636 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13638 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13639
f0ccf6ea
AS
13640 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13641 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13642 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13643
5b08ac57
AS
136442010-05-20 Andreas Schwab <schwab@redhat.com>
13645
13646 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13647
4828935d
LM
136482010-05-17 Luis Machado <luisgpm@br.ibm.com>
13649
13650 POWER7 optimizations.
13651 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13652 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13653
373d545e
UD
136542010-05-19 Ulrich Drepper <drepper@redhat.com>
13655
13656 * version.h: Update for 2.13 development version.
13657
21a2b1ae
AS
136582010-05-12 Andrew Stubbs <ams@codesourcery.com>
13659
13660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13661 exceptions. Return 0.
13662
3f7dcb2b
RM
136632010-05-07 Roland McGrath <roland@redhat.com>
13664
13665 * elf/ldconfig.c (main): Add a const.
13666
5f24d53a 136672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13668
a160f8d8
UD
13669 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13670 (args_options): Add no-idn option.
13671 (ahosts_keys_int): Add idn_flags to ai_flags.
13672 (parse_option): Handle 'i' option to clear idn_flags.
13673
5f24d53a
UD
13674 * malloc/malloc.c (_int_free): Possible race in the most recently
13675 added check. Only act on the data if no current modification
13676 happened.
265bb1ce
UD
13677
13678See ChangeLog.17 for earlier changes.