]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: bits/socket.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bcf55240
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
6960eb42
TS
3 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5 definitions.
6
eb43375f
TS
7 accept4 for GNU Hurd.
8 * include/sys/socket.h (__libc_accept4): New prototype.
9 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10 to implement __libc_accept4.
11 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12 __libc_accept4.
13 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14
bcf55240
TS
15 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18 signal-defines.sym.
19
6178c55b
ST
202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21
22 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23
6f080c2f
TS
242012-05-10 Thomas Schwinge <thomas@schwinge.name>
25
26 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27 assertion on O_CLOEXEC flag.
28 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29 * hurd/intern-fd.c: Likewise.
30 * hurd/port2fd.c: Likewise.
31
bcfe3a54
ST
322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33
34 [BZ #3906]
35 * bits/in.h (IPV6_PKTINFO): Define new macro.
36 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37
89c9aa49
AZ
382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39
40 [BZ #13954]
41 [BZ #13955]
42 [BZ #13956]
43 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49 * math/libm-test.inc (logb_test) : Additional logb tests.
50
021db4be
AJ
512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52 Andreas Jaeger <aj@suse.de>
53
54 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55 * configure: Regenerated.
56 * config.h.in (LINK_OBSOLETE_RPC): New macro.
57 * config.make.in (link-obsolete-rpc): New substituted variable.
58 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61 (shared-only-routines): Don't set it under [link-obsolete-rpc],
62 so that libc.a contains the symbols.
63 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65 * sunrpc/auth_none.c: Likewise.
66 * sunrpc/auth_unix.c: Likewise.
67 * sunrpc/authdes_prot.c: Likewise.
68 * sunrpc/authuxprot.c: Likewise.
69 * sunrpc/clnt_gen.c: Likewise.
70 * sunrpc/clnt_perr.c: Likewise.
71 * sunrpc/clnt_raw.c: Likewise.
72 * sunrpc/clnt_simp.c: Likewise.
73 * sunrpc/clnt_tcp.c: Likewise.
74 * sunrpc/clnt_udp.c: Likewise.
75 * sunrpc/clnt_unix.c: Likewise.
76 * sunrpc/des_crypt.c: Likewise.
77 * sunrpc/des_soft.c: Likewise.
78 * sunrpc/get_myaddr.c: Likewise.
79 * sunrpc/key_call.c: Likewise.
80 * sunrpc/key_prot.c: Likewise.
81 * sunrpc/netname.c: Likewise.
82 * sunrpc/pm_getmaps.c: Likewise.
83 * sunrpc/pm_getport.c: Likewise.
84 * sunrpc/pmap_clnt.c: Likewise.
85 * sunrpc/pmap_prot.c: Likewise.
86 * sunrpc/pmap_prot2.c: Likewise.
87 * sunrpc/pmap_rmt.c: Likewise.
88 * sunrpc/publickey.c: Likewise.
89 * sunrpc/rpc_cmsg.c: Likewise.
90 * sunrpc/rpc_common.c: Likewise.
91 * sunrpc/rpc_dtable.c: Likewise.
92 * sunrpc/rpc_prot.c: Likewise.
93 * sunrpc/rpc_thread.c: Likewise.
94 * sunrpc/rtime.c: Likewise.
95 * sunrpc/svc.c: Likewise.
96 * sunrpc/svc_auth.c: Likewise.
97 * sunrpc/svc_raw.c: Likewise.
98 * sunrpc/svc_run.c: Likewise.
99 * sunrpc/svc_tcp.c: Likewise.
100 * sunrpc/svc_udp.c: Likewise.
101 * sunrpc/svc_unix.c: Likewise.
102 * sunrpc/svcauth_des.c: Likewise.
103 * sunrpc/xcrypt.c: Likewise.
104 * sunrpc/xdr.c: Likewise.
105 * sunrpc/xdr_array.c: Likewise.
106 * sunrpc/xdr_float.c: Likewise.
107 * sunrpc/xdr_intXX_t.c: Likewise.
108 * sunrpc/xdr_mem.c: Likewise.
109 * sunrpc/xdr_rec.c: Likewise.
110 * sunrpc/xdr_ref.c: Likewise.
111 * sunrpc/xdr_sizeof.c: Likewise.
112 * sunrpc/xdr_stdio.c: Likewise.
113
b5c086a2
RM
1142012-05-10 Roland McGrath <roland@hack.frob.com>
115
116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
117 change. Update copyright years.
118
6d74dd09
JM
1192012-05-10 Joseph Myers <joseph@codesourcery.com>
120
121 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
122
28e72501
MK
1232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
124 Joseph Myers <joseph@codesourcery.com>
125 Paul Pluzhnikov <ppluzhnikov@google.com>
126
127 [BZ #14012]
128 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
129 requiring rpcgen.
130 [cross-compiling] (extra-libs): Likewise.
131 [cross-compiling] (extra-libs-others): Likewise.
132 [cross-compiling] (librpcsvc-routines): Likewise.
133 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
134 [cross-compiling] (omit-deps): Likewise.
135 (sunrpc-CPPFLAGS): New variable.
136 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
137 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
138 (cross-rpcgen-objs): New variable.
139 (extra-objs): Append $(cross-rpcgen-objs).
140 ($(cross-rpcgen-objs)): New rule.
141 ($(objpfx)cross-rpcgen): Likewise.
142 (rpcgen-cmd): Define to use $(built-program-file). Expand
143 comment.
144 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
145 ($(objpfx)x%.stmp): Likewise.
146 * sunrpc/proto.h [IS_IN_build] (_): Define.
147 [IS_IN_build] (_libc_intl_domainname): Likewise.
148
c8c59454
L
1492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
150
151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
152 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
153 and R_X86_64_TPOFF64.
154
6f27cd16
JM
1552012-05-10 Joseph Myers <joseph@codesourcery.com>
156
157 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
158 sysdeps/unix/sysv/syscalls.list.
159 (stime): Likewise.
160 (utime): Likewise.
161 * sysdeps/unix/sysv/syscalls.list: Remove file.
162
02467e1c
PE
1632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
164
165 [BZ #3440]
166 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
167 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
168 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
169 (__LC_IDENTIFICATION): Make these macros useful in #if
170 expressions, as required by C99.
171
da392631
AS
1722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
173
174 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
175 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
176 after this.
177
8115f29b
L
1782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
179
180 * stdlib/longlong.h: Updated from GCC.
181
bdd74070
AJ
1822012-05-09 Andreas Jaeger <aj@suse.de>
183
edfe0dbe
AJ
184 * nscd/nscd.c (run_modes): Make named enum, reorder so that
185 default is first entry.
186 (run_mode): Set type.
187 (main): Remove informal message about syslog.
188 (options): Fix typo.
189
bcfe3a54
ST
190 [BZ #14053]
191 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 192 to asm.
bcfe3a54
ST
193 (lrint): Likewise.
194 (llrintf): Likewise.
195 (llrint): Likewise.
196 (rint): Likewise.
197 (rintf): Likewise.
198 (nearbyint): Likewise.
199 (nearbyintf): Likewise.
bdd74070 200
91d8d69e
AJ
2012012-05-09 Andreas Jaeger <aj@suse.de>
202 Pedro Alves <palves@redhat.com>
203
204 * nscd/nscd.c (run_mode): Use enum.
205 (main): Cleanup coding style issue.
206
bb90b80b
AJ
2072012-05-09 Alexandre Oliva <aoliva@redhat.com>
208 Andreas Jaeger <aj@suse.de>
209
bcfe3a54
ST
210 * nscd/nscd.c (go_background): Replaced with...
211 (run_mode): ... this.
bb90b80b 212 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
213 (options): Add -F --foreground.
214 (main): Implement it.
215 (parse_opt): Parse it.
bb90b80b 216
1a4b75a1
AJ
2172012-05-09 Andreas Jaeger <aj@suse.de>
218
219 [BZ #14083]
220 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
221 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
222 -Wconversion warning.
223 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
224 Likewise.
225
b1cc2472
JM
2262012-05-09 Joseph Myers <joseph@codesourcery.com>
227
228 * conform/data/locale.h-data (NULL): Use macro-constant. Require
229 == 0.
230 (LC_ALL): Use macro-int-constant.
231 (LC_COLLATE): Likewise.
232 (LC_CTYPE): Likewise.
233 (LC_MESSAGES): Likewise.
234 (LC_MONETARY): Likewise.
235 (LC_NUMERIC): Likewise.
236 (LC_TIME): Likewise.
237 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
238 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
240 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
241 Specify type.
242 [C99-based standards] (float_t): Expect type.
243 [C99-based standards] (double_t): Expect type.
244 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
245 type.
246 [C99-based standards] (HUGE_VALL): Likewise.
247 [C99-based standards] (INFINITY): Likewise.
248 [C99-based standards] (NAN): Likewise.
249 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
250 [C99-based standards] (FP_NAN): Likewise.
251 [C99-based standards] (FP_NORMAL): Likewise.
252 [C99-based standards] (FP_SUBNORMAL): Likewise.
253 [C99-based standards] (FP_ZERO): Likewise.
254 [C99-based standards] (FP_FAST_FMA): Use
255 optional-macro-int-constant. Specify type. Require == 1.
256 [C99-based standards] (FP_FAST_FMAF): Likewise.
257 [C99-based standards] (FP_FAST_FMAL): Likewise.
258 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
259 [C99-based standards] (FP_ILOGBNAN): Likewise.
260 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
261 Specify type.
262 [C99-based standards] (MATH_ERREXCEPT): Likewise.
263 [C99-based standards] (math_errhandling): Specify type.
264 [ISO99 || ISO11] (signgam): Do not allow.
265 [non-C99-based standards] (copysignf): Do not allow.
266 [non-C99-based standards] (exp2f): Likewise.
267 [non-C99-based standards] (log2f): Likewise.
268 [non-C99-based standards] (modff): Allow.
269 [non-C99-based standards] (erff): Do not allow.
270 [non-C99-based standards] (erfcf): Likewise.
271 [non-C99-based standards] (gammaf): Likewise.
272 [non-C99-based standards] (hypotf): Likewise.
273 [non-C99-based standards] (j0f): Likewise.
274 [non-C99-based standards] (j1f): Likewise.
275 [non-C99-based standards] (jnf): Likewise.
276 [non-C99-based standards] (lgammaf): Likewise.
277 [non-C99-based standards] (tgammaf): Likewise.
278 [non-C99-based standards] (y0f): Likewise.
279 [non-C99-based standards] (y1f): Likewise.
280 [non-C99-based standards] (ynf): Likewise.
281 [non-C99-based standards] (isnanf): Likewise.
282 [non-C99-based standards] (acoshf): Likewise.
283 [non-C99-based standards] (asinhf): Likewise.
284 [non-C99-based standards] (atanhf): Likewise.
285 [non-C99-based standards] (cbrtf): Likewise.
286 [non-C99-based standards] (expm1f): Likewise.
287 [non-C99-based standards] (ilogbf): Likewise.
288 [non-C99-based standards] (log1pf): Likewise.
289 [non-C99-based standards] (logbf): Likewise.
290 [non-C99-based standards] (nextafterf): Likewise.
291 [non-C99-based standards] (remainderf): Likewise.
292 [non-C99-based standards] (rintf): Likewise.
293 [non-C99-based standards] (scalbf): Likewise.
294 [non-C99-based standards] (copysignl): Likewise.
295 [non-C99-based standards] (exp2l): Likewise.
296 [non-C99-based standards] (log2l): Likewise.
297 [non-C99-based standards] (modfl): Allow.
298 [non-C99-based standards] (erfl): Do not allow.
299 [non-C99-based standards] (erfcl): Likewise.
300 [non-C99-based standards] (gammal): Likewise.
301 [non-C99-based standards] (hypotl): Likewise.
302 [non-C99-based standards] (j0l): Likewise.
303 [non-C99-based standards] (j1l): Likewise.
304 [non-C99-based standards] (jnl): Likewise.
305 [non-C99-based standards] (lgammal): Likewise.
306 [non-C99-based standards] (tgammal): Likewise.
307 [non-C99-based standards] (y0l): Likewise.
308 [non-C99-based standards] (y1l): Likewise.
309 [non-C99-based standards] (ynl): Likewise.
310 [non-C99-based standards] (isnanl): Likewise.
311 [non-C99-based standards] (acoshl): Likewise.
312 [non-C99-based standards] (asinhl): Likewise.
313 [non-C99-based standards] (atanhl): Likewise.
314 [non-C99-based standards] (cbrtl): Likewise.
315 [non-C99-based standards] (expm1l): Likewise.
316 [non-C99-based standards] (ilogbl): Likewise.
317 [non-C99-based standards] (log1pl): Likewise.
318 [non-C99-based standards] (logbl): Likewise.
319 [non-C99-based standards] (nextafterl): Likewise.
320 [non-C99-based standards] (remainderl): Likewise.
321 [non-C99-based standards] (rintl): Likewise.
322 [non-C99-based standards] (scalbl): Likewise.
323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
324 [non-C99-based standards] (FP_*): Do not allow.
325 [C99-based standards] (FP_*): Change to
326 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
327 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
328 allow.
329 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
330 (SIG_ERR): Likewise.
331 [X/Open-based standards] (SIG_HOLD): Likewise.
332 (SIG_IGN): Likewise.
333 (SIGABRT): Use macro-int-constant. Specify type. Require
334 positive value.
335 (SIGFPE): Likewise.
336 (SIGILL): Likewise.
337 (SIGINT): Likewise.
338 (SIGSEGV): Likewise.
339 (SIGTER): Likewise.
340 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
341 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
342 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
343 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
344 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
345 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
346 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
347 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
348 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
349 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
350 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
351 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
352 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
353 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
354 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
355 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
356 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
357 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
358 [X/Open-based standards] (SIGTRAP): Likewise.
359 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
360 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
361 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
362 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
363 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
364 allow.
365
b9f1922d
IW
3662012-05-08 Ian Wienand <ianw@vmware.com>
367
368 [BZ #14080]
369 * time/tzset.c (__tzset_parse_tz): Update default rules for
370 daylight time changes in the Energy Policy Act of 2005.
371
1db86e88
AJ
3722012-05-09 Andreas Jaeger <aj@suse.de>
373
374 [BZ #13983]
375 * elf/ldconfig.c (parse_conf): Change string to make clear that
376 ldconfig only issued a warning if ld.so.conf does not exist.
377
dee4a4e3
DM
3782012-05-08 David S. Miller <davem@davemloft.net>
379
ee0db190
DM
380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
381 movxtod instead of popping the value on the stack.
382
dee4a4e3
DM
383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
384
6a43ec98
CD
3852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
386
387 * config.h.in: Add HAVE_ARM_PCS_VFP.
388
05c2c961
RMG
3892012-05-08 Roland Mc Grath <roland@hack.frob.com>
390
bcfe3a54
ST
391 [BZ #13979]
392 * include/features.h: Warn if user requests __FORTIFY_SOURCE
393 checking but the checks are disabled for any reason.
05c2c961 394
4b30f61a
L
3952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
396
397 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
398 and ELF64_R_TYPE with ELFW(R_TYPE).
399
eee2bc67
JM
4002012-05-08 Joseph Myers <joseph@codesourcery.com>
401
7ea5391a
JM
402 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
403 (ulimit): Likewise.
404
eee2bc67
JM
405 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
406 (settimeofday): Likewise.
407
abb66a67
MF
4082012-05-08 Mike Frysinger <vapier@gentoo.org>
409
410 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
411 a struct th_u2 inside the union, and move tu_block/tu_code into
412 a new th_u3 union of tu_block/tu_code inside of that. Move
413 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
414 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
415 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
416 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
417 (th_stuff): Change to th_u1.tu_stuff.
418 (th_data): Define.
419 (th_msg): Change to th_u1.th_u2.tu_data.
420
7f18b530
DM
4212012-05-07 David S. Miller <davem@davemloft.net>
422
05760585
DM
423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
424
7f18b530
DM
425 [BZ #14074]
426 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
427 (SETUP_PIC_REG): Use it.
428 (SETUP_PIC_REG_LEAF): Use it.
429
495fd99f
JM
4302012-05-07 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #13885]
433 [BZ #13923]
434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
435 USE_AS_EXPM1L.
436 (EXPL_FINITE): Likewise.
437 (FLDLOG): Likewise.
438 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
439 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
440 e_expl.S.
441 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
442 USE_AS_EXPM1L.
443 (EXPL_FINITE): Likewise.
444 (FLDLOG): Likewise.
445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
446 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
447 e_expl.S.
448 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
449 test of -max_value argument for long double.
450 * sysdeps/i386/fpu/libm-test-ulps: Update.
451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452
6693d694
DM
4532012-05-06 David S. Miller <davem@davemloft.net>
454
455 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
456 quad soft-float symbols whose references which are compiler
457 generated.
458 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
459
6c23e11c
JM
4602012-05-06 Joseph Myers <joseph@codesourcery.com>
461
d8b82cad
JM
462 [BZ #13884]
463 [BZ #13914]
464 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
465 USE_AS_EXP10L.
466 (EXPL_FINITE): Likewise.
467 (FLDLOG): Likewise.
468 (c0): Likewise.
469 (c1): Likewise.
470 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
471 Adjust comments for base varying.
472 (__expl_finite): Change alias to EXPL_FINITE.
473 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
474 e_expl.S.
475 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
476 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
477 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
478 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
480 USE_AS_EXP10L.
481 (EXPL_FINITE): Likewise.
482 (FLDLOG): Likewise.
483 (c0): Likewise.
484 (c1): Likewise.
485 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
486 Adjust comments for base varying.
487 (__expl_finite): Change alias to EXPL_FINITE.
488 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
489 tests for bugs.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
491
6c23e11c
JM
492 [BZ #14064]
493 * math/libm-test.inc (check_float_internal): Correct ulp
494 calculation for subnormal expected results.
495
29ba805c
AJ
4962012-05-06 Andreas Jaeger <aj@suse.de>
497
498 * Makeconfig (+math-flags): New, set to -frounding-math.
499 (+cflags): Add +math-flags so that all of glibc gets compiled with
500 it.
501
502 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
503
7b17aeda
JM
5042012-05-05 Joseph Myers <joseph@codesourcery.com>
505
5779f134
JM
506 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
507 Disable one test.
508
41498f4d
JM
509 [BZ #13787]
510 [BZ #13922]
511 [BZ #14036]
512 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
513 (__ieee754_expl): Allow for and saturate large arguments.
514 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
515 (u_threshold): Likewise.
516 (__exp): Call __ieee754_exp before checking for overflow and
517 underflow.
518 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
519 (u_threshold): Likewise.
520 (__expf): Call __ieee754_expf before checking for overflow and
521 underflow.
522 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
523 (u_threshold): Likewise.
524 (__expl): Call __ieee754_expl before checking for overflow and
525 underflow.
526 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
527 (__ieee754_expl): Allow for and saturate large arguments.
528 * math/libm-test.inc (exp_test): Add another test. Do not allow
529 missing overflow exception on overflow.
530 (expm1_test): Do not allow missing overflow exception on overflow.
531
6698b8bf
JM
532 * sysdeps/i386/fpu/e_expl.c: Move to ...
533 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
534 rather than using inline asm.
535 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
536 * sysdeps/x86_64/fpu/e_expl.S: Copy from
537 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
538
7b17aeda
JM
539 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
540 (nice): Likewise.
541 (poll): Likewise.
542 (signal): Likewise.
543 (time): Likewise.
544 (times): Likewise.
545
f7c85819
JM
5462012-05-04 Joseph Myers <joseph@codesourcery.com>
547
548 * sysdeps/unix/syscalls.list (adjtime): Add entry from
549 sysdeps/unix/common/syscalls.list.
550 (fchmod): Likewise.
551 (fchown): Likewise.
552 (ftruncate): Likewise.
553 (getrusage): Likewise.
554 (gettimeofday): Likewise.
555 (setpgid): Likewise.
556 (setregid): Likewise.
557 (setreuid): Likewise.
558 (sigaction): Likewise.
559 (truncate): Likewise.
560 (vhangup): Likewise.
561 * sysdeps/unix/common/syscalls.list: Remove file.
562 * sysdeps/unix/bsd/Implies: Don't include unix/common.
563 * sysdeps/unix/sysv/linux/Implies: Likewise.
564
336270d0
L
5652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
566
567 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
569 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
570 Moved to ...
571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
572 Here.
573 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
574 to ...
575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
576 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
577 to ...
578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
579 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
580 to ...
581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
582 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
583 to ...
584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
585 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
586 to ...
587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
588 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
589 to ...
590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
591 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
592 to ...
593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
594 Here.
595 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
596 to ...
597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
598 Here.
599 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
600 to ...
601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
602 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
603 Moved to ...
604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
605 Here.
606 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
607 to ...
608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
609
d128e450
JM
6102012-05-04 Joseph Myers <joseph@codesourcery.com>
611
fa8ee516
JM
612 * sysdeps/unix/common/bits/dirent.h: Remove file.
613 * sysdeps/unix/common/bits/fcntl.h: Likewise.
614
d128e450
JM
615 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
616 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
617 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
618 * sysdeps/unix/bsd/isatty.c: Likewise.
619 * sysdeps/unix/bsd/tcdrain.c: Likewise.
620 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
621 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
622
ff8faaf0 6232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 624
62881be4 625 [BZ #13563]
31dc8730
AZ
626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
627 long double comparison inaccuracies.
628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
630
6fef930c
AS
6312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
632
633 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
635
8f203e6c
JM
6362012-05-04 Joseph Myers <joseph@codesourcery.com>
637
638 [BZ #14049]
639 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
640 nonzero digits before rounding a hex value.
641 * stdlib/tst-strtod.c (tests): Add another test.
642
5197d9c2
AK
6432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
644
645 * sysdeps/s390/fpu/libm-test-ulps: Update.
646
f0c1dedf
AJ
6472012-05-03 Andreas Jaeger <aj@suse.de>
648
649 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
650 does not get optimized out.
651 (malloc_opt_barrier): New.
652
a65ef2ae 6532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 654 Roland McGrath <roland@hack.frob.com>
a65ef2ae 655
2b942cb7 656 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 657 intermediate file deletion.
2b942cb7 658 (generated): Add .symlist files.
a65ef2ae 659
54b71e02
JM
6602012-05-03 Joseph Myers <joseph@codesourcery.com>
661
662 [BZ #13775]
663 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
664 Redirect under this condition.
665 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
666 [__USE_GNU] (__dprintf_chk): Not under this condition.
667 [__USE_GNU] (__vdprintf_chk): Likewise.
668 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
669 under this condition.
670 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
671 [__USE_XOPEN2K8] (dprintf): Define under this condition.
672 [__USE_XOPEN2K8] (vdprintf): Likewise.
673 [__USE_GNU] (__dprintf_chk): Not under this condition.
674 [__USE_GNU] (__vdprintf_chk): Likewise.
675 [__USE_GNU] (dprintf): Likewise.
676 [__USE_GNU] (vdprintf): Likewise.
677
d3dfcc41
RM
6782012-05-03 Roland McGrath <roland@hack.frob.com>
679
680 * elf/Makefile (common-generated): Set this instead of generated for
681 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
682 $(all-built-dso)-derived lists.
683
7ac30cc5
AJ
6842012-05-03 Andreas Jaeger <aj@suse.de>
685
0c51e550
AJ
686 * sysdeps/i386/fpu/libm-test-ulps: Update.
687
7ac30cc5
AJ
688 * FAQ: Removed.
689 * FAQ.in: Likewise.
690 * scripts/gen-FAQ.pl: Likewise.
691 * manual/install.texi (Installation): Point to online location of
692 FAQ.
693 * Makefile (files-for-dist): Remove FAQ.
694 (FAQ): Remove.
695
d4c2917f
AM
6962012-05-02 Allan McRae <allan@archlinux.org>
697
698 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
699 (LDFLAGS-reldepmod5.so): Likewise.
700 (LDFLAGS-reldep6mod1.so): Likewise.
701 (LDFLAGS-reldep6mod4.so): Likewise.
702 (LDFLAGS-reldep8mod3.so): Likewise.
703 (LDFLAGS-unload4mod1.so): Likewise.
704 (LDFLAGS-unload4mod2.so): Likewise.
705 (LDFLAGS-tst-initorder): Likewise.
706 (LDFLAGS-tst-initordera2.so): Likewise.
707 (LDFLAGS-tst-initordera3.so): Likewise.
708 (LDFLAGS-tst-initordera4.so): Likewise.
709 (LDFLAGS-tst-initorderb2.so): Likewise.
710 (LDFLAGS-noload): Likewise.
711 (LDFLAGS-next): Likewise.
712 (LDFLAGS-order2mod1.so): Likewise.
713 (LDFLAGS-order2mod2.so): Likewise.
714 (LDFLAGS-tst-initorder2): Likewise.
715 (LDFLAGS-tst-initorder2a.so): Likewise.
716 (LDFLAGS-tst-initorder2b.so): Likewise.
717 (LDFLAGS-tst-initorder2c.so): Likewise.
718 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
719
d77f993f
DM
7202012-05-02 David S. Miller <davem@davemloft.net>
721
722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
723
171a70b4
PP
7242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
725
726 [BZ #14055]
727 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
728
0be196ad
AJ
7292012-05-02 Andreas Jaeger <aj@suse.de>
730
731 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
732 since we manipulate rounding mode.
733 (CPPFLAGS-test-idouble.c): Likewise.
734 (CPPFLAGS-test-ifloat.c): Likewise.
735 (CFLAGS-test-ldouble.c): Likewise.
736 (CFLAGS-test-double.c): Likewise.
737 (CFLAGS-test-float.c): Likewise.
738 (CFLAGS-test-misc.c): Likewise.
739 (CFLAGS-test-test-fenv.c): Likewise.
740
4f9d04aa
AZ
7412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742
2b942cb7
RM
743 [BZ #2550]
744 [BZ #2570]
745 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
746 comparisons to determine direction to adjust input.
4f9d04aa 747
82a79e7d
RM
7482012-05-01 Roland McGrath <roland@hack.frob.com>
749
f5a01ca9
RM
750 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
751 output to the target.
752
90fe4186
RM
753 * scripts/localplt.awk: New file.
754 * elf/Makefile ($(objpfx)check-localplt): Target removed.
755 (check-localplt-CFLAGS): Variable removed.
756 ($(all-built-dso:=.jmprel)): New static pattern rule.
757 (generated): Add those targets.
758 (localplt-built-dso): New variable.
759 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
760
761 * elf/check-localplt.c: File removed.
762
82397ed6
RM
763 * scripts/check-execstack.awk: New file.
764 * elf/Makefile ($(objpfx)check-execstack): Target removed.
765 (check-execstack-CFLAGS): Variable removed.
766 ($(objpfx)check-execstack.h): Target removed.
767 ($(objpfx)execstack-default): New target.
768 (generated): Add that instead of check-execstack.h.
769 ($(all-built-dso:=.phdr)): New static pattern rule.
770 (generated): Add those targets.
771 * elf/check-execstack.c: File removed.
772
82a79e7d
RM
773 * scripts/check-textrel.awk: New file.
774 * elf/Makefile ($(objpfx)check-textrel): Target removed.
775 (check-textrel-CFLAGS): Variable removed.
776 (all-built-dso): Use := to define.o
777 ($(all-built-dso:=.dyn)): New static pattern rule.
778 (generated): Add those targets.
779 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
780 * config.make.in (READELF): New substituted variable.
781 * elf/check-textrel.c: File removed.
782
62fde54f 7832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 784
615605c9
JM
785 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
786 allow.
787 * conform/data/ctype.h-data [C99-based standards] (isblank):
788 Expect function.
789 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
790 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
792 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
793 Specify type. Require positive value.
794 (EILSEQ): Likewise.
795 (ERANGE): Likewise.
796 [ISO || POSIX] (EILSEQ): Do not expect.
797 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
798 Specify type. Require positive value.
799 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
800 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
801 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
802 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
803 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
804 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
805 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
806 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
807 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
808 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
809 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
810 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
811 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
812 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
813 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
814 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
815 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
816 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
817 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
818 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
819 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
820 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
821 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
822 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
823 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
824 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
825 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
826 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
827 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
828 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
829 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
830 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
831 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
832 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
833 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
834 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
835 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
836 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
837 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
838 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
839 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
840 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
841 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
842 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
843 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
844 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
845 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
846 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
847 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
848 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
849 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
850 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
851 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
852 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
853 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
854 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
855 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
856 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
857 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
858 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
859 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
860 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
861 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
862 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
863 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
864 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
865 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
866 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
867 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
868 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
869 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
870 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
871 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
872 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
873 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
874 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
875 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
876 Require >= 2.
877 (FLT_ROUNDS): Expect as macro, not constant.
878 (FLT_MANT_DIG): Use macro-int-constant.
879 (DBL_MANT_DIG): Likewise.
880 (LDBL_MANT_DIG): Likewise.
881 (FLT_DIG): Likewise.
882 (DBL_DIG): Likewise.
883 (LDBL_DIG): Likewise.
884 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
885 (DBL_MIN_EXP): Likewise.
886 (LDBL_MIN_EXP): Likewise.
887 (FLT_MAX_EXP): Use macro-int-constant.
888 (DBL_MAX_EXP): Likewise.
889 (LDBL_MAX_EXP): Likewise.
890 (FLT_MAX_10_EXP): Likewise.
891 (DBL_MAX_10_EXP): Likewise.
892 (LDBL_MAX_10_EXP): Likewise.
893 (FLT_MAX): Use macro-constant.
894 (DBL_MAX): Likewise.
895 (LDBL_MAX): Likewise.
896 (FLT_EPSILON): Use macro-constant. Give upper bound.
897 (DBL_EPSILON): Likewise.
898 (LDBL_EPSILON): Likewise.
899 (FLT_MIN): Likewise.
900 (DBL_MIN): Likewise.
901 (LDBL_MIN): Likewise.
902 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
903 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
904 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
905 [ISO11] (FLT_HAS_SUBNORM): Likewise.
906 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
907 [ISO11] (DBL_DECIMAL_DIG): Likewise.
908 [ISO11] (FLT_DECIMAL_DIG): Likewise.
909 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
910 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
911 [ISO11] (FLT_TRUE_MIN): Likewise.
912 [ISO11] (LDBL_TRUE_MIN): Likewise.
913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
914 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
915 (SCHAR_MIN): Use macro-int-constant. Specify type.
916 (SCHAR_MAX): Likewise.
917 (UCHAR_MAX): Likewise.
918 (CHAR_MIN): Likewise.
919 (CHAR_MAX): Likewise.
920 (MB_LEN_MAX): Use macro-int-constant.
921 (SHRT_MIN): Use macro-int-constant. Specify type.
922 (SHRT_MAX): Likewise.
923 (USHRT_MAX): Likewise.
924 (INT_MAX): Likewise.
925 (INT_MIN): Use macro-int-constant. Specify type. Make upper
926 bound negative.
927 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
928 bound with "U".
929 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
930 bound with "L".
931 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
932 bound negative. Suffix upper bound with "L".
933 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
934 bound with "UL".
935 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
936 Specify type.
937 [C99-based standards] (LLONG_MAX): Likewise.
938 [C99-based standards] (ULLONG_MAX): Likewise.
939 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
940 == 0.
941 [ISO11] (max_align_t): Require type.
942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
943
c9140a62
JM
944 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
945 from $CFLAGS, without defining away __attribute__ calls.
946 (checknamespace): Use $CFLAGS_namespace.
947
9af0bf29
JM
948 * conform/conformtest.pl (@keywords): Only include C99 keywords
949 for standards based on C99 or C11.
950
343222a2
JM
951 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
952 Disable tests.
953 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
954 UNIX98]: Likewise.
955
661f8cf0
JM
956 * conform/conformtest.pl: Handle "macro-int-constant" and test for
957 usability of symbols in #if.
958
ee74b9cb
JM
959 * conform/conformtest.pl: If macro or constant types start
960 "promoted:", expect the symbol to be of the following type
961 promoted by the integer promotions.
62fde54f 962
aafc49b3
JM
963 * conform/conformtest.pl: Parse all "constant" and "macro" lines
964 in one place. Also handle "macro-constant".
965
fefdf574
JM
966 * conform/conformtest.pl: Only accept expected macro values with
967 "==". Parse all "macro" lines in one place.
968 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
969
f2d922fe
JM
970 * conform/conformtest.pl: Handle braced types on "constant" lines
971 instead of handling "typed-constant".
972 * conform/data/signal.h-data: Use "constant" instead of
973 "typed-constant".
974
d22956c9
JM
975 * conform/conformtest.pl: Handle "optional-" at start of lines in
976 one place rather than duplicating several cases. Handle each
977 format of "macro" line with initial "optional-".
978
028e2e38
JM
979 * conform/conformtest.pl: Only accept expected constant or
980 optional-constant values with "==". Parse all "constant" lines in
981 one place. Parse all "optional-constant" lines in one place.
982 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
983 * conform/data/fmtmsg.h-data: Likewise.
984 * conform/data/netinet/in.h-data: Likewise.
985 * conform/data/tar.h-data: Likewise.
986 * conform/data/limits.h-data: Use "==" form on "constant" and
987 "optional-constant" lines.
988
1b8f2850
JM
989 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
990 Use -std=c99 for XOPEN2K.
991 (@knownproblems): Remove.
992 (newtoken): Don't check %isknown.
993
a05a144b
JM
994 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
995 Do not expect macro.
996 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
997 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
998 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
999 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1008 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1009 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1026 [XPG3] (acosh): Likewise.
1027 [XPG3] (asinh): Likewise.
1028 [XPG3] (atanh): Likewise.
1029 [XPG3] (cbrt): Likewise.
1030 [XPG3] (expm1): Likewise.
1031 [XPG3] (ilogb): Likewise.
1032 [XPG3] (log1p): Likewise.
1033 [XPG3] (logb): Likewise.
1034 [XPG3] (nextafter): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1037 [XPG3] (remainder): Likewise.
1038 [XPG3] (rint): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1046 [UNIX98 || XOPEN2K] (scalb): Expect.
1047 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1048 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1184
73c5ebe3
JM
1185 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1186 _XOPEN_SOURCE_EXTENDED for XPG4.
1187
39c33b6c
JM
1188 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1189
62fde54f
JM
1190 * Makeconfig (localtime): Remove variable.
1191 (inst_localtime-file): Likewise.
1192
0741d64c
AS
11932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1194
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1196 Update.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1198 Update.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1200 Update.
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1202 Update.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1204 Update.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1206 Update.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1208 Update.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1210 Update.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1212 Update.
1213
7cb029ee
JM
12142012-05-01 Joseph Myers <joseph@codesourcery.com>
1215
1216 [BZ #2550]
1217 [BZ #2570]
1218 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1219 comparisons to determine direction to adjust input.
1220 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1221 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1223 Likewise.
1224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1225 Likewise.
1226 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1227 Likewise.
1228 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1229 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1230 Likewise.
1231 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1232 Likewise.
1233 * math/libm-test.inc (nexttoward_test): Add more tests.
1234
412bd966
AS
12352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1236
1237 [BZ #14040]
1238 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1239 in version GLIBC_2.1, not GLIBC_2.0.
1240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1241 Likewise.
1242
9568c0c2
JM
12432012-04-30 Joseph Myers <joseph@codesourcery.com>
1244
adfbc8ac
JM
1245 [BZ #13942]
1246 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1247 (1 - x) * (1 + x).
1248 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1249 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1250 * math/libm-test.inc (acos_test): Add more tests.
1251 (asin_test): Likewise.
1252 * sysdeps/i386/fpu/libm-test-ulps: Update.
1253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1254
5ba3cc69
JM
1255 [BZ #14034]
1256 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1257 of square root.
1258 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1259 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1260 * math/libm-test.inc (acos_test_tonearest): New function.
1261 (acos_test_towardzero): Likewise.
1262 (acos_test_downward): Likewise.
1263 (acos_test_upward): Likewise.
1264 (asin_test_tonearest): Likewise.
1265 (asin_test_towardzero): Likewise.
1266 (asin_test_downward): Likewise.
1267 (asin_test_upward): Likewise.
1268 (main): Call the new functions.
1269 * sysdeps/i386/fpu/libm-test-ulps: Update.
1270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1271
9568c0c2
JM
1272 [BZ #13884]
1273 [BZ #13924]
1274 * math/e_exp10.c: Include <float.h>.
1275 (__ieee754_exp10): Handle underflow here rather than multiplying
1276 large negative argument by M_LN10.
1277 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1278 of __ieee754_expf.
1279 * math/e_exp10l.c: Include <float.h>.
1280 (__ieee754_exp10l): Handle underflow here rather than multiplying
1281 large negative argument by M_LN10l.
1282 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1283 spurious overflow exception on underflow.
1284
5ac3ea17
MP
12852012-04-29 Marek Polacek <polacek@redhat.com>
1286
1287 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1288 (__fortify_function): New macro.
1289 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1290 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1291 __extern_always_inline.
1292 * libio/bits/stdio2.h: Likewise.
1293 * libio/bits/stdio.h: Likewise.
1294 * string/string.h: Likewise.
1295 * string/bits/string3.h: Likewise.
1296 * include/stdio.h: Likewise.
1297 * stdlib/bits/stdlib.h: Likewise.
1298 * stdlib/stdlib.h: Likewise.
1299 * rt/bits/mqueue2.h: Likewise.
1300 * rt/mqueue.h: Likewise.
1301 * posix/bits/unistd.h: Likewise.
1302 * posix/unistd.h: Likewise.
1303 * io/bits/poll2.h: Likewise.
1304 * io/bits/fcntl2.h: Likewise.
1305 * io/fcntl.h: Likewise.
1306 * io/sys/poll.h: Likewise.
1307 * misc/bits/syslog.h: Likewise.
1308 * misc/bits/syslog-ldbl.h: Likewise.
1309 * misc/sys/syslog.h: Likewise.
1310 * socket/bits/socket2.h: Likewise.
1311 * socket/sys/socket.h: Likewise.
1312 * debug/tst-chk1.c: Likewise.
1313 * wcsmbs/bits/wchar2.h: Likewise.
1314 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1315 * wcsmbs/wchar.h: Likewise.
1316
ecf0ebfb
AJ
13172012-04-29 Andreas Jaeger <aj@suse.de>
1318
1319 * Makerules (tests): Remove enable-check-abi protection.
1320 (check-abi-warn): Remove.
1321 (check-abi-%): Remove check-abi-warn usage.
1322
1323 * configure.in: Remove check-abi configure option.
1324 * configure: Regenerated.
1325 * config.make.in (enable-check-abi): Remove.
1326
6d5c57fa
AS
13272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1328
24c5d07e 1329 [BZ #14033]
ded5180a
AS
1330 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1331 double functions to double *_finite functions.
1332
7e0d315d
AS
1333 [BZ #13941]
1334 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1335 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1336 LDBL_MIN_EXP.
1337 * stdio-common/Makefile (tests): Add tst-sprintf3.
1338 * stdio-common/tst-sprintf3.c: New file.
1339
6d5c57fa
AS
1340 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1341 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1342
0749ff8b
JM
13432012-04-28 Joseph Myers <joseph@codesourcery.com>
1344
1345 * conform/conformtest.pl: Remove duplicate typed-constant
1346 handling.
1347
8dbd5d7b
DM
13482012-04-28 David S. Miller <davem@davemloft.net>
1349
1350 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1351 (check-abi-%): Remove AWK script prerequisite and explicit
1352 abilist directory.
1353 (check-abi): Rewrite to just diff the symlist with the abilist.
1354 (config-tls, config-abi-config): Delete, no longer used.
1355 (update-abi-%): Remove AWK script and explicit abilist directory.
1356 (update-abi): Rewrite to simply compare and conditionally copy the
1357 symlist and the sysdep abilist file. Remove update-abi-config
1358 checks.
1359 * abilist/ld.abilist: Remove.
1360 * abilist/libBrokenLocale.abilist: Remove.
1361 * abilist/libanl.abilist: Remove.
1362 * abilist/libcrypt.abilist: Remove.
1363 * abilist/libdl.abilist: Remove.
1364 * abilist/librt.abilist: Remove.
1365 * abilist/libthread_db.abilist: Remove.
1366 * abilist/libutil.abilist: Remove.
1367 * scripts/extract-abilist.awk: Remove.
1368 * scripts/merge-abilist.awk: Remove.
1369 * sysdeps/generic/libcidn.abilist: New file.
1370 * sysdeps/generic/libnss_compat.abilist: New file.
1371 * sysdeps/generic/libnss_db.abilist: New file.
1372 * sysdeps/generic/libnss_dns.abilist: New file.
1373 * sysdeps/generic/libnss_files.abilist: New file.
1374 * sysdeps/generic/libnss_hesiod.abilist: New file.
1375 * sysdeps/generic/libnss_nis.abilist: New file.
1376 * sysdeps/generic/libnss_nisplus.abilist: New file.
1377 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1378 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1379 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1380 file.
1381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1382 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1383 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1384 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1385 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1386 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1387 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1388 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1389 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1390 file.
1391 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1392 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1393 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1394 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1395 file.
1396 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1397 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1398 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1399 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1400 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1401 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1402 file.
1403 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1404 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1405 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1406 file.
1407 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1409 New file.
1410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1411 New file.
1412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1413 New file.
1414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1415 New file.
1416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1417 New file.
1418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1419 New file.
1420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1421 New file.
1422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1423 New file.
1424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1425 New file.
1426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1427 New file.
1428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1429 New file.
1430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1431 New file.
1432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1433 New file.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1435 file.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1437 New file.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1439 New file.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1441 file.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1443 New file.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1445 New file.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1447 file.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1449 New file.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1451 New file.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1453 New file.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1455 New file.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1457 New file.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1459 New file.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1462 file.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1464 New file.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1466 file.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1468 file.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1470 file.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1472 file.
1473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1474 file.
1475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1476 New file.
1477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1478 file.
1479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1480 file.
1481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1482 New file.
1483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1484 file.
1485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1487 file.
1488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1489 New file.
1490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1491 file.
1492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1493 file.
1494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1495 file.
1496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1497 file.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1499 file.
1500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1501 New file.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1503 file.
1504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1507 New file.
1508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1509 file.
1510 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1511 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1512 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1513 file.
1514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1515 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1516 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1517 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1518 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1519 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1520 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1521 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1522 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1523 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1528 New file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1530 file.
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1532 file.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1534 file.
1535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1536 file.
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1538 file.
1539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1540 New file.
1541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1542 New file.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1544 file.
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1546 New file.
1547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1548 file.
1549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1551 file.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1553 New file.
1554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1555 file.
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1557 file.
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1559 file.
1560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1561 file.
1562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1563 file.
1564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1565 New file.
1566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1567 New file.
1568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1569 file.
1570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1571 New file.
1572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1573 file.
1574
41d73a1b
JM
15752012-04-28 Joseph Myers <joseph@codesourcery.com>
1576
1577 * conform/conformtest.pl: Fix typo in handling typed-constant from
1578 allow-header.
1579
28aeeda4
JM
15802012-04-27 Joseph Myers <joseph@codesourcery.com>
1581
adae8f5e
JM
1582 * README: Cut down references to pre-2.6 Linux kernels and
1583 Linuxthreads. Update lists of configurations in libc and ports
1584 and sort alphabetically. Say "or newer" with Linux kernel version
1585 requirements.
1586
28aeeda4
JM
1587 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1588
a462cb63
RA
15892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1590
1591 [BZ #887]
1592 * math/libm-test.inc (logb_test_downward): New test to expose
1593 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1594 rounding mode.
1595
6ad3493e
JM
15962012-04-27 Joseph Myers <joseph@codesourcery.com>
1597
1598 [BZ #14027]
1599 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1600 to be done.
1601 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1602 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1603
2ce4f015
JM
16042012-04-26 Joseph Myers <joseph@codesourcery.com>
1605
5aeb141a
JM
1606 * sysdeps/unix/i386/brk.S: Remove file.
1607 * sysdeps/unix/i386/dl-brk.S: Likewise.
1608 * sysdeps/unix/i386/pipe.S: Likewise.
1609 * sysdeps/unix/i386/sigreturn.S: Likewise.
1610 * sysdeps/unix/i386/syscall.S: Likewise.
1611 * sysdeps/unix/i386/vfork.S: Likewise.
1612 * sysdeps/unix/i386/wait.S: Likewise.
1613
7143acae
JM
1614 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1615 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1616
2ce4f015
JM
1617 * configure.in (arm*-none*): Do not allow without
1618 --enable-hacker-mode.
1619 (netbsd*): Remove case setting base_os.
1620 (386bsd*): Likewise.
1621 (freebsd*): Likewise.
1622 (bsdi*): Likewise.
1623 (osf*): Likewise.
1624 (sunos*): Likewise.
1625 (ultrix*): Likewise.
1626 (newsos*): Likewise.
1627 (dynix*): Likewise.
1628 (*bsd*): Likewise.
1629 (sysv*): Likewise.
1630 (isc*): Likewise.
1631 (esix*): Likewise.
1632 (sco*): Likewise.
1633 (minix*): Likewise.
1634 (irix4*): Likewise.
1635 (irix6*): Likewise.
1636 (solaris[2-9]*): Likewise.
1637 (none): Likewise.
1638 * configure: Regenerated.
1639
0ac229c8
AZ
16402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 [BZ #11521]
1643 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1644 overflow or cancellation in calculating denominator.
1645 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1647 down expression to avoid unexpected rounding in newer GCCs.
1648 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1649
33f244f4
DM
16502012-04-26 David S. Miller <davem@davemloft.net>
1651
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1653 long-double compat symbols.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1667
cfa1f3e8
DM
16682012-04-25 David S. Miller <davem@davemloft.net>
1669
1670 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1671 HWCAP_* values only after the memory barriers have been defined.
1672 (atomic_full_barrier): Define.
1673 (atomic_read_barrier): Define.
1674 (atomic_write_barrier): Define.
1675
6e236b92
SP
16762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1677
1678 * shlib-versions: Add libgcc_s version information.
1679 * sysdeps/generic/libgcc_s.h: Remove.
1680 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1681 libgcc_s.h.
1682 * sysdeps/gnu/unwind-resume.c: Likewise.
1683 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1684
aab39a09
DM
16852012-04-25 David S. Miller <davem@davemloft.net>
1686
1687 * sysdeps/unix/sparc/brk.S: Delete.
1688 * sysdeps/unix/sparc/dl-brk.S: Delete.
1689 * sysdeps/unix/sparc/pipe.S: Delete.
1690 * sysdeps/unix/sparc/sysdep.S: Delete.
1691 * sysdeps/unix/sparc/sysdep.h: Delete.
1692 * sysdeps/unix/sparc/vfork.S: Delete.
1693 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1694 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1696 ret_ERRVAL, r0, r1, MOVE): Define.
1697 (JUMPTARGET): Remove.
1698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1699 sysdeps/unix/sparc/sysdep.h
1700 (ENTRY, END): Remove.
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1702
a3cc4f48
JM
17032012-04-25 Joseph Myers <joseph@codesourcery.com>
1704
2ed8cda2
JM
1705 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1706 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1707 -DIS_IN_build.
1708
35d76d59
JM
1709 * timezone/README: Update upstream location and email address for
1710 tzcode and tzdata.
1711 * timezone/zdump.c: Update from tzcode 2012b.
1712 * timezone/zic.c: Likewise.
1713
a3cc4f48
JM
1714 * configure.in (libc_cv_as_needed): Remove test.
1715 * configure: Regenerated.
1716 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1717 conditional definition.
1718 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1719 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1720 * config.make.in (have-as-needed): Remove variable.
1721
ceab42c3
SP
17222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1723 Paul Pluzhnikov <ppluzhnikov@google.com>
1724
1725 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1726 strings correctly.
1727
3ce2865f
CLT
17282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1729
1730 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1731 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1732 * sysdeps/sh/strlen.S: Likewise.
1733
f37e0d68
JM
17342012-04-24 Joseph Myers <joseph@codesourcery.com>
1735
ae186e9a
JM
1736 * sysdeps/unix/fork.S: Remove file.
1737 * sysdeps/unix/i386/fork.S: Likewise.
1738 * sysdeps/unix/sparc/fork.S: Likewise.
1739
b96914af
JM
1740 * sysdeps/unix/system.c: Remove file.
1741 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1742
f37e0d68
JM
1743 * sysdeps/unix/getegid.S: Remove file.
1744 * sysdeps/unix/geteuid.S: Likewise.
1745
87ef29ca
RM
17462012-04-24 Roland McGrath <roland@hack.frob.com>
1747
83bcd236
RM
1748 * scripts/check-localplt.awk: New file.
1749 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1750 of diff.
1751 * scripts/data/localplt-generic.data: Add a comment.
1752
87ef29ca
RM
1753 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1754 NODE when __dir_mkfile failed.
1755 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1756 Reported by Ludovic Courtès <ludo@gnu.org>.
1757
e5a6e567
AJ
17582012-04-24 Andreas Jaeger <aj@suse.de>
1759
1760 * Makerules (common-clean): Also remove gen-as-const-headers
1761 files.
1762
c1820385
JM
17632012-04-24 Joseph Myers <joseph@codesourcery.com>
1764
1765 * Makerules (native-compile): Do not change working directory for
1766 build. Use $(OUTPUT_OPTION) in command.
1767 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1768
94e02fc4
AZ
17692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770
1771 [BZ #13886]
1772 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1773 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1774 * math/libm-test.inc (floor_test): Add more tests.
1775 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1776
3a533ca3
JM
17772012-04-24 Joseph Myers <joseph@codesourcery.com>
1778
940ab4b3
JM
1779 * sysdeps/unix/getdents.c: Remove file.
1780 * sysdeps/unix/sysv/getdents.c: Likewise.
1781 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1782
90e037bd
JM
1783 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1784 sysdeps/unix/mman/syscalls.list.
1785 (mmap): Likewise.
1786 (mprotect): Likewise.
1787 (msync): Likewise.
1788 (munmap): Likewise.
1789 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1790 * sysdeps/unix/mman/syscalls.list: Remove.
1791 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1792
3a533ca3
JM
1793 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1794 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1795 * configure: Regenerated.
1796 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1797 $(libgcc_s_suffix).
1798 * config.make.in (libgcc_s_suffix): Remove variable.
1799
1ad743de
JM
18002012-04-23 Joseph Myers <joseph@codesourcery.com>
1801
4ad451e2
JM
1802 * sysdeps/unix/sysv/gethostname.c: Move to ...
1803 * sysdeps/posix/gethostname.c: ... here.
1804
5e37ce39
JM
1805 * sysdeps/unix/execve.S: Remove file.
1806
1ad743de
JM
1807 * sysdeps/unix/_exit.S: Remove file.
1808
4e681b5b
AJ
18092012-04-23 Andreas Jaeger <aj@suse.de>
1810
1811 [BZ #13739]
1812 * manual/Makefile: Remove make dist support, there's no
1813 need for a stand-alone documentation tar ball.
1814 (TEXI2DVI): Define always, it's not in Makeconfig.
1815 (dist): Removed.
1816 (tar-it): Removed.
1817 (edition): Removed.
1818 (glibc-doc-$(edition).tar): Removed
1819 (%.Z): Removed.
1820 (%.gz): Removed.
1821 (%.uu): Removed.
1822 (ETAGS): Remove, it's in Makeconfig.
1823 (move-if-change): Remove, it's in Makeconfig.
1824
c0baea34
PE
18252013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1826
1827 [BZ #13970]
1828 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1829 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1830 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1831 (strtod_l, strtof_l, strtold_l): Remove __wur.
1832 It is not necessarily an error to ignore strtol's return value.
1833 One can reliably look at the stored endptr to decide whether
1834 the number had valid syntax.
1835
7c0616fa
AJ
18362012-04-21 Andreas Jaeger <aj@suse.de>
1837
803cb6b7 1838 [BZ #13739]
7c0616fa
AJ
1839 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1840
b0fe253f
JM
18412012-04-21 Joseph Myers <joseph@codesourcery.com>
1842
1843 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1844 * sysdeps/unix/sysv/Versions: Remove file.
1845
8280f22d
MT
18462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1847
1848 [BZ #13927]
1849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1850
75ce411f 18512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1852
1853 [BZ #7064]
1854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1855 version from __vm86.
1856
097d59fa
JM
18572012-04-20 Joseph Myers <joseph@codesourcery.com>
1858
a90f3bcb
JM
1859 * sysdeps/unix/common/lxstat.c: Remove file.
1860 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1861
edc7ea78
JM
1862 * sysdeps/unix/sysv/Makefile: Remove file.
1863
cb78c221
JM
1864 * sysdeps/unix/sysv/direct.h: Remove file.
1865
efa6a45f
JM
1866 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1867 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1868 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1869 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1870 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1871 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1872 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1873
9c9f2d0c
JM
1874 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1875
4541c83b
JM
1876 * sysdeps/unix/xmknod.c: Remove file.
1877 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1878
f5d153a0
JM
1879 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1880
aa746595
JM
1881 * sysdeps/unix/sysv/i386/time.S: Remove file.
1882
cce5905e
JM
1883 * sysdeps/unix/fxstat.c: Remove file.
1884 * sysdeps/unix/xstat.c: Likewise.
1885 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1886
37fa3841
JM
1887 * sysdeps/unix/sysv/sigaction.c: Remove file.
1888
ff1962a3
JM
1889 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1890 (sysdep_headers): Remove variable.
1891 [termio.h not in sysdep_headers] (generated): Likewise.
1892 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1893 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1894 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1895 * sysdeps/unix/sysv/tcflow.c: Likewise.
1896 * sysdeps/unix/sysv/tcflush.c: Likewise.
1897 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1898 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1899 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1900 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1901 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1902
e7740d31
JM
1903 * sysdeps/unix/siglist.c: Remove file.
1904
ee06f18b
JM
1905 * sysdeps/unix/getppid.S: Remove file.
1906
097d59fa
JM
1907 * sysdeps/unix/mkdir.c: Remove file.
1908 * sysdeps/unix/rmdir.c: Likewise.
1909
ff3d51ec
AS
19102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1911
1912 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1913 ERR_MAX value.
1914 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1915 errlist-compat value.
1916
50f81fd7
DM
19172012-04-18 David S. Miller <davem@davemloft.net>
1918
1919 * sysdeps/generic/memcopy.h (reg_char): Delete.
1920 * debug/strcat_chk.c: Use char, not reg_char.
1921 * debug/strcpy_chk.c: Likewise.
1922 * debug/strncat_chk.c: Likewise.
1923 * debug/strncpy_chk.c: Likewise.
1924 * string/memchr.c: Likewise.
1925 * string/memrchr.c: Likewise.
1926 * string/rawmemchr.c: Likewise.
1927 * string/strcat.c: Likewise.
1928 * string/strchr.c: Likewise.
1929 * string/strchrnul.c: Likewise.
1930 * string/strcmp.c: Likewise.
1931 * string/strcpy.c: Likewise.
1932 * string/strncat.c: Likewise.
1933 * string/strncmp.c: Likewise.
1934 * string/strncpy.c: Likewise.
1935
8ff41c46
WS
19362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1937
1938 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1939 __builtin_memcopy is called when src and dest ranges are known to not
1940 overlap.
1941
6b652f46
WS
19422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1943
1944 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1945 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1946 fwd_align_merge macro call.
1947 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1948 bwd_align_merge macro call.
1949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1950
b282631e
WS
19512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1952
1953 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1954 bwd_align_merge macros.
1955 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1956 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1958
95aa737c
DM
19592012-04-18 David S. Miller <davem@davemloft.net>
1960
1961 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1962
7a99a614
AJ
19632012-04-18 Andreas Jaeger <aj@suse.de>
1964
1965 [BZ# 6794]
1966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1967 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1968 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1969
1970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1971 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1972 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1973
1974 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1975 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1976 Adjust for changed ldbl-128 files.
1977
1978 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1979 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1980 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1981
e5270c23
DM
19822012-04-17 David S. Miller <davem@davemloft.net>
1983
1984 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1985
fb5e92c9
AS
19862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1987
1988 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1989 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1990 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1991 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1992 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1993 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1994
76da7265
AZ
19952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996
1997 [BZ #6794]
1998 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1999 * math/libm-test.inc: Add ilogb errno and exception tests.
2000 * math/w_ilogb.c: New file: ilogb wrapper.
2001 * math/w_ilogbf.c: New file: ilogbf wrapper.
2002 * math/w_ilogbl.c: New file: ilogbl wrapper.
2003 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2004 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2005 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2006 exception being thrown with 0.0 as argument.
2007 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2008 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2009 exception being thrown with 0.0 as argument.
2010 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2011 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2012 exception being thrown with 0.0 as argument.
2013 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2014 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2015 exception being thrown with 0.0 as argument.
2016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2017 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2018 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2019 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2020 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2021 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2022 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2023 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2024 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2025
0396e69d
PB
20262012-04-17 Petr Baudis <pasky@ucw.cz>
2027
2028 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2029 with altivec.
2030
750b5926
MP
20312012-04-16 Marek Polacek <polacek@redhat.com>
2032
2033 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2034
751728a1
MP
20352012-04-16 Marek Polacek <polacek@redhat.com>
2036
2037 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2038 operands of fdivp instruction.
2039
34a27407
L
20402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2043 * elf/tst-auditmod3b.c: Likewise.
2044 * elf/tst-auditmod4b.c: Likewise.
2045 * elf/tst-auditmod5b.c: Likewise.
2046 * elf/tst-auditmod6b.c: Likewise.
2047 * elf/tst-auditmod6c.c: Likewise.
2048 * elf/tst-auditmod7b.c: Likewise.
2049 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2050 * sysdeps/x86_64/preconfigure.in: Likewise.
2051 * sysdeps/x86_64/preconfigure: Regenerated.
2052
7e73e17d
L
20532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2054
2055 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2056 __ILP32__.
2057
c7a6ab72
AB
20582012-04-13 Antoine Balestrat <merkil33@gmail.com>
2059
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2061 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2062
a9e8e0e0
CL
20632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2064
2065 [BZ #13973]
2066 * locale/iso-639.def: Fix gl language name. Spotted by
2067 Yaron Shahrabani.
2068
ec98af7d
RM
20692012-04-12 Roland McGrath <roland@hack.frob.com>
2070
2071 [BZ #2074]
2072 * libio/libio.h (__io_write_fn): Update comment.
2073
247c3ede
PB
20742012-04-12 Petr Baudis <pasky@ucw.cz>
2075
2076 [BZ #2074]
2077 * stdio.texi (Hook Functions): The user provided writer function
2078 is not allowed to return -1.
2079
55939d6d
DM
20802012-04-11 David S. Miller <davem@davemloft.net>
2081
2082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2083
90020f5a
MF
20842012-04-11 Mike Frysinger <vapier@gentoo.org>
2085
2086 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2087 Add a leading slash to rtkaio.
2088
288f9098
JM
20892012-04-11 Jim Meyering <meyering@redhat.com>
2090
90020f5a
MF
2091 [BZ #11959]
2092 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2093 It is not necessarily an error to ignore fwrite's return
2094 value. One can reliably use ferror to test for errors after
2095 the fact.
288f9098 2096
4be2b570
L
20972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * bits/types.h (__snseconds_t): New type.
2100 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2101
2102 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2104 (__SNSECONDS_T_TYPE): Likewise.
2105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2106 (__SNSECONDS_T_TYPE): Likewise.
2107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2108 (__SNSECONDS_T_TYPE): Likewise.
2109
288f9098 21102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2111
2112 [BZ #2636]
2113 * manual/time.texi (Processor Time): Return type of times is
2114 elapsed real time since an arbitrary point in the past.
2115 (CPU Time): Move CLK_TCK from here...
2116 (Processor Time): ...to here. Correct description.
2117 * manual/conf.texi (Constants for Sysconf): Correct description of
2118 _SC_CLK_TCK.
2119
d7dd4413
DM
21202012-04-10 David S. Miller <davem@davemloft.net>
2121
2122 [BZ #13967]
2123 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2124 where the is a gap between DT_REL(A) and DT_JMPREL.
2125
b46068fc
L
21262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2129 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2130 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2131
73d65cc3
SP
21322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2133
2134 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2135 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2136 (dl_main): Handle --inhibit-cache.
2137 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2138 _dl_inhibit_cache.
2139 * elf/dl-load.c (_dl_map_object): Use it.
2140 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2141
bcc8d661
JM
21422012-04-09 Joseph Myers <joseph@codesourcery.com>
2143
8f9a2fae
JM
2144 [BZ #13872]
2145 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2146 (__ieee754_powl): Saturate large exponents rather than testing for
2147 overflow of y*log2(x).
2148 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2149 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2150 exceptions.
2151
bcc8d661
JM
2152 [BZ #11521]
2153 * math/s_ctan.c: Include <float.h>.
2154 (__ctan): Avoid internal overflow or cancellation in calculating
2155 denominator.
2156 * math/s_ctanf.c: Likewise.
2157 * math/s_ctanl.c: Likewise.
2158 * math/s_ctanh.c: Likewise.
2159 * math/s_ctanhf.c: Likewise.
2160 * math/s_ctanhl.c: Likewise.
2161 * math/libm-test.inc (ctan_test): Add more tests.
2162 (ctanh_test): Likewise.
2163 * sysdeps/i386/fpu/libm-test-ulps: Update.
2164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2165
823fbbb4
AJ
21662012-04-09 Andreas Jaeger <aj@suse.de>
2167
03879793
AJ
2168 [BZ #6894]
2169 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2170 is an optional BSD extension.
2171
823fbbb4
AJ
2172 [BZ #10254]
2173 * manual/stdio.texi (Opening Streams): Document additional fopen
2174 parameters.
2175
8de131cb
RM
21762012-04-09 Roland McGrath <roland@hack.frob.com>
2177
2178 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2179 %eax without telling the compiler.
2180
c0ed9d7d
CD
21812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2182
2183 [BZ # 13963]
2184 * manual/install.texi: Use sourceware.org.
2185
c483f6b4
JM
21862012-04-09 Joseph Myers <joseph@codesourcery.com>
2187
d7dd9453
JM
2188 [BZ #13873]
2189 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2190 (__ieee754_pow): Generate overflow and underflow using huge*huge
2191 and tiny*tiny rather than just returning constant infinity or zero
2192 for large exponents.
2193 * math/libm-test.inc (pow_test): Require overflow exceptions for
2194 applicable cases of large exponents.
2195
c483f6b4
JM
2196 [BZ #706]
2197 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2198 (__ieee754_pow): Use iterative multiplication algorithm only for
2199 integer exponents with absolute value below 1024. Check for odd
2200 integer exponents when using algorithm for real exponents.
2201 * math/libm-test.inc (pow_test): Add more tests.
2202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2203
d2de7579
JM
22042012-04-08 Joseph Myers <joseph@codesourcery.com>
2205
2206 [BZ #13705]
2207 * math/libm-test.inc (exp_test): Do not allow overflow exception
2208 on underflow test.
2209
f77f1232
AJ
22102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2211
2212 [BZ #13705]
2213 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2214 instead of __kernel_standard_f.
2215
3884932b
MF
22162012-04-08 Mike Frysinger <vapier@gentoo.org>
2217
2218 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2219 * sysdeps/x86_64/memset_chk.S: Likewise.
2220
54472e9c
AJ
22212012-04-08 Andreas Jaeger <aj@suse.de>
2222
6ab0fbfc
AJ
2223 [BZ #10153]
2224 * manual/startup.texi (Environment Access): Describe return value
2225 for putenv and setenv.
2226
61efba8c
AJ
2227 [BZ #6895]
2228 * manual/filesys.texi (Directory Entries): Add description for
2229 DT_LNK.
2230
95c3f29a
AJ
2231 [BZ #6890]
2232 * manual/filesys.texi (Directory Entries): Clarify that it's file
2233 system not operating system in the description of DT_UNKNOWN.
2234
54472e9c
AJ
2235 [BZ #6578]
2236 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2237
624254b1
SC
22382012-04-08 Stephen Compall <s11@member.fsf.org>
2239
2240 [BZ #6649]
2241 * manual/llio.texi (Opening and Closing Files): Add cross
2242 reference to explain mode argument.
2243
1e4920e0
MF
22442012-04-07 Mike Frysinger <vapier@gentoo.org>
2245
2246 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2247 * sysdeps/x86_64/memset_chk.S: Likewise.
2248
5ed848f3
DM
22492012-04-07 David S. Miller <davem@davemloft.net>
2250
2251 * elf/elf.h (R_SPARC_WDISP10): Define.
2252 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2253 R_SPARC_SIZE32.
2254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2255 R_SPARC_SIZE64 and R_SPARC_H34.
2256
96154cd8
CD
22572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2258
2259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2260 conditions and remove no longer applicable assertion.
2261
9904dc47
L
22622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * bits/byteswap.h: Include <features.h>.
2265 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2266 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2267
f8887d0a
L
22682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 * bits/byteswap.h (__bswap_16): Removed.
2271 Include <bits/byteswap-16.h> to get __bswap_16.
2272 * sysdeps/i386/bits/byteswap.h: Likewise.
2273 * sysdeps/s390/bits/byteswap.h: Likewise.
2274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2275 * bits/byteswap-16.h: New file.
2276 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2277 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2278 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2279 * string/Makefile (headers): Add bits/byteswap-16.h.
2280
62470f60
PP
22812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2282
2283 [BZ #13895]
2284 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2285 extra indirection.
2286 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2287 * nss/tst-nss-static.c: New.
2288
4dad7bab
RM
22892012-04-06 Robert Millan <rmh@gnu.org>
2290
2291 [BZ #6486]
2292 * manual/llio.texi (File Position Primitive): lseek
2293 refers to WHENCE when it really means OFFSET.
2294
e9142a17
AJ
22952012-04-06 Andreas Jaeger <aj@suse.de>
2296
2c040eff
AJ
2297 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2298 strncmp declarations.
2299
e9142a17
AJ
2300 * abilist/libc.abilist: Add __poll and __ppoll.
2301
ff9f1c5f
DM
23022012-04-05 David S. Miller <davem@davemloft.net>
2303
dcd2ae90
DM
2304 * scripts/check-local-headers.sh: Accept a host triplet in the
2305 path matched by the exclude regexp.
2306
993eb054
DM
2307 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2308 definition.
2309 * sysdeps/powerpc/powerpc32/dl-machine.h
2310 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2311 * sysdeps/s390/s390-32/dl-machine.h
2312 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2313 * sysdeps/sparc/sparc32/dl-machine.h
2314 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2315 * sysdeps/sparc/sparc64/dl-machine.h
2316 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2317
ff9f1c5f
DM
2318 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2319 lazy binding.
48e2e132 2320 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2321 undefined symbol errors.
2322
48e2e132 2323 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2324 DT_NEEDED entries.
2325
e80d6f94
MM
23262012-04-05 Michael Matz <matz@suse.de>
2327
2328 [BZ #13592]
2329 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2330
349fa79f
AJ
23312012-04-05 Andreas Jaeger <aj@suse.de>
2332
2333 [BZ #13908]
2334 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2335 comment.
2336
f402708f
KK
23372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2338
2339 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2340 which ROUND is no valid rounding mode.
2341
2ecccfc9
KK
23422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2343
2344 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2345 read again.
2346 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2347
8a53f50f
KK
23482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2349
2350 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2351 an exception using FPU order intentionally.
2352
23532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2354
2355 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2356 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2357 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2358 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2359
d653abb7
SJ
23602012-04-05 Simon Josefsson <simon@josefsson.org>
2361
2362 [BZ #12340]
2363 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2364 EINVAL when BUFLEN is too smal.
2365
c3b1bf7d
TS
23662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2367
2368 [BZ #13553]
2369 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2370 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2371
b1aa60f3
AJ
23722012-04-03 Andreas Jaeger <aj@suse.de>
2373
c3b1bf7d 2374 [BZ #13938]
67f60a26
AJ
2375 * manual/setjmp.texi (System V contexts): Fix sentence.
2376
b1aa60f3
AJ
2377 [BZ #13926]
2378 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2379 New macro for this case.
2380 [!__GNUC__] (__bswap_64): New inline function for this case.
2381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2382 * bits/byteswap.h: Likewise.
2383 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2384 ull, guard with __GLIBC_HAVE_LONG_LONG.
2385
2386 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2387 __GLIBC_HAVE_LONG_LONG.
2388
2389 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2390 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2391
39c59c35
TMQMF
23922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2393
2394 [BZ #13691]
2395 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2396 inptr and inend, rather than using last_ch.
2397
135ffda8
DM
23982012-04-02 David S. Miller <davem@davemloft.net>
2399
2400 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2401 * stdio-common/printf-parse.h (read_int): Change return type to
2402 'int', return -1 on INT_MAX overflow.
2403 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2404 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2405 overflows INT_MAX. Check for overflow of in-format-string precision
2406 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2407 SIZE_MAX not INT_MAX for integer overflow test.
2408 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2409 skip the construct in the format string but do not record anything.
2410 * stdio-common/bug22.c: Adjust to test both width/prevision
2411 INT_MAX overflow as well as total length INT_MAX overflow. Check
2412 explicitly for proper errno values.
2413
228c019e
TS
24142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2415
302cadd3
TS
2416 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2417 CHAR_MAX.
2418 * string/test-strcmp.c [! WIDE]: Likewise.
2419 * time/tst-mktime2.c: Likewise for INT_MAX.
2420 * string/test-string.h: #include <sys/param.h> for MIN.
2421
228c019e
TS
2422 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2423 * sysdeps/i386/init-first.c (init): Likewise.
2424 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2425 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2426 * sysdeps/sh/init-first.c (init): Likewise.
2427
cfa633f5
UD
24282012-04-01 Ulrich Drepper <drepper@gmail.com>
2429
2430 * po/ru.po: Update from translation team.
d1635ef8 2431 * po/vi.po: Likewise.
cfa633f5 2432
6cd0a5ea
SP
24332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2434
2435 * resolv/nss_dns/dns-host.c: Merge copyright years.
2436
4b43400f
LD
24372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2438
2439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2440 Optimize memcpy with prefetch if
2441 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2442 src, dst pointers have unequal 16 byte alignments.
2443
48c41d04
SP
24442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #13928]
2447 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2448 from a CNAME entry and return the minimum ttl for the query.
2449 (gaih_getanswer_slice): Likewise.
2450
b8dc394d
JL
24512012-03-30 Jeff Law <law@redhat.com>
2452
2453 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2454 due to long keys.
2455 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2456 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2457
2f5a5ed0
JL
2458 * resolv/nss_dns/dns-host.c: Update copyright year.
2459
1d39e359
UD
24602012-03-30 Ulrich Drepper <drepper@gmail.com>
2461
c030f70c 2462 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2463 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2464
1d39e359
UD
2465 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2466 comments for sendmmsg.
2467
24682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2469
2470 [BZ #13691]
2471 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2472 with only 1 character between 0x0041 and 0x01b0.
2473 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2474 * wcsmbs/tst-mbsnrtowcs.c: New file.
2475
20fde227
DM
24762012-03-29 David S. Miller <davem@davemloft.net>
2477
2478 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2479 small copies by hand.
2480
984a4237
JL
24812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2482
2483 [BZ #13761]
2484 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2485 _nss_compat_initgroups_dyn): Fall back to malloc/free
2486 for large group memberships.
2487
18c9d62b
DM
24882012-03-28 David S. Miller <davem@davemloft.net>
2489
88d85d4f
DM
2490 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2491 that branches into memcpy.
2492 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2495 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2497 bits.
2498 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2499 implementation too.
2500 * sysdeps/sparc/mempcpy.S: New file.
2501
e5aa83e1
DM
2502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2503 the IFUNC routine in the libc case.
2504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2505
88570753
DM
2506 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2507 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2508 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2509 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2510 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2511 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2512 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2513 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2514
249d7567
DM
2515 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2516 loop to 256 bytes instead of 64 bytes and fix test signedness.
2517
18c9d62b
DM
2518 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2519 * sysdeps/sparc/sparc32/Makefile: rather than here...
2520 * sysdeps/sparc/sparc64/Makefile: and here.
2521
05f3d1f6
UD
25222012-03-28 Ulrich Drepper <drepper@gmail.com>
2523
2524 * malloc/mallocbug.c: Avoid warnings about unused variables.
2525
86ae07a8
JL
25262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2527
2528 [BZ #13760]
2529 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2530 in the right place. Discard and retry query if response is
2531 larger than input buffer size.
2532
41bf21a1
JM
25332012-03-28 Joseph Myers <joseph@codesourcery.com>
2534
d6270972
JM
2535 [BZ #369]
2536 [BZ #2678]
2537 [BZ #3866]
2538 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2539 x for large integer exponent.
2540 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2541 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2542 sign of result as needed afterwards.
2543 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2544 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2545 result for underflowing pow the same as for overflow.
2546 (__kernel_standard_l): Handle powl overflow and underflow here
2547 rather than calling __kernel_standard.
2548 * math/libm-test.inc (pow_test): Add more tests.
2549
414fca03 2550 [BZ #3868]
41bf21a1
JM
2551 [BZ #13879]
2552 [BZ #13910]
2553 [BZ #13911]
2554 [BZ #13912]
2555 [BZ #13913]
2556 [BZ #13915]
2557 [BZ #13916]
2558 [BZ #13917]
2559 [BZ #13918]
2560 [BZ #13919]
2561 [BZ #13920]
2562 [BZ #13921]
2563 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2564 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2565 (__kernel_standard_l): New function.
2566 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2567 __kernel_standard.
2568 * math/w_acosl.c (__acosl): Likewise.
2569 * math/w_asinl.c (__asinl): Likewise.
2570 * math/w_atan2l.c (__atan2l): Likewise.
2571 * math/w_atanhl.c (__atanhl): Likewise.
2572 * math/w_coshl.c (__coshl): Likewise.
2573 * math/w_exp10l.c (__exp10l): Likewise.
2574 * math/w_exp2l.c (__exp2l): Likewise.
2575 * math/w_fmodl.c (__fmodl): Likewise.
2576 * math/w_hypotl.c (__hypotl): Likewise.
2577 * math/w_j0l.c (__j0l, __y0l): Likewise.
2578 * math/w_j1l.c (__j1l, __y1l): Likewise.
2579 * math/w_jnl.c (__jnl, __ynl): Likewise.
2580 * math/w_lgammal.c (__lgammal): Likewise.
2581 * math/w_log10l.c (__log10l): Likewise.
2582 * math/w_log2l.c (__log2l): Likewise.
2583 * math/w_logl.c (__logl): Likewise.
2584 * math/w_powl.c (__powl): Likewise.
2585 * math/w_remainderl.c (__remainderl): Likewise.
2586 * math/w_scalbl.c (sysv_scalbl): Likewise.
2587 * math/w_sinhl.c (__sinhl): Likewise.
2588 * math/w_sqrtl.c (__sqrtl): Likewise.
2589 * math/w_tgammal.c (__tgammal): Likewise.
2590 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2591 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2592 * math/libm-test.inc (acos_test): Add more tests.
2593 (acosh_test): Likewise.
2594 (asin_test): Likewise.
2595 (atanh_test): Likewise.
2596 (exp_test): Likewise.
2597 (exp10_test): Likewise.
2598 (exp2_test): Likewise.
2599 (expm1_test): Likewise.
2600 (lgamma_test): Likewise.
2601 (log_test): Likewise.
2602 (log10_test): Likewise.
2603 (log1p_test): Likewise.
2604 (log2_test): Likewise.
2605 (pow_test): Do not allow some spurious overflow exceptions.
2606 (sqrt_test): Add more tests.
2607 (tgamma_test): Likewise.
2608 (y0_test): Likewise.
2609 (y1_test): Likewise.
2610 (yn_test): Likewise.
2611
dd62fda6
AB
26122012-03-27 Anton Blanchard <anton@samba.org>
2613
2614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2615 MAP_HUGETLB.
2616 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2617 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2618 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2619
1e3cdfda
AJ
26202012-03-27 David S. Miller <davem@davemloft.net>
2621
b855ab85
DM
2622 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2623
1e3cdfda
AJ
2624 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2625 have-as-vis3 check.
2626
26272012-03-27 Andreas Jaeger <aj@suse.de>
2628
2629 * sysdeps/x86_64/elf/configure.in: Moved to ...
2630 * sysdeps/x86_64/configure.in: ... here.
2631 * sysdeps/x86_64/elf/start.S: Moved to ...
2632 * sysdeps/x86_64/start.S: ... here.
2633 * sysdeps/x86_64/elf/configure: Delete.
2634
2635 * sysdeps/x86_64/configure.in: Merge contents from
2636 sysdeps/i386/configure.in (without i686 check).
2637
2638 * sysdeps/i386/elf/Versions: Merge into ...
2639 * sysdeps/i386/Versions: ... this.
2640 * sysdeps/i386/elf/Versions: Delete file.
2641 * sysdeps/i386/elf/start.S: Moved to ...
2642 * sysdeps/i386/start.S: ...here.
2643 * sysdeps/i386/elf/configure.in: Merge into...
2644 * sysdeps/i386/configure.in: ...here.
2645 * sysdeps/i386/elf/configure.in: Delete file.
2646 * sysdeps/i386/elf/configure: Delete file.
2647
2648 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2649 * debug/backtracesyms.c: ... here.
2650 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2651 * debug/backtracesymsfd.c: ... here.
2652 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2653 * sysdeps/generic/ifunc-sel.h: ... here.
2654
2655 * sysdeps/unix/i386/start.c: Delete file.
2656 * sysdeps/unix/sparc/start.c: Delete file.
2657 * sysdeps/unix/start.c: Delete file.
2658
2659 * sysdeps/sh/elf/configure.in: Moved to ...
2660 * sysdeps/sh/configure.in: ... here.
2661 * sysdeps/sh/elf/start.S: Moved to ...
2662 * sysdeps/sh/start.S: ... here.
2663 * sysdeps/sh/elf/configure: Delete file.
2664
2665 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2666 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2667 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2668 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2669 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2670 * sysdeps/powerpc/powerpc64/start.S: here.
2671 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2672 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2673 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2674 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2675 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2676
2677 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2678 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2679 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2680 * sysdeps/powerpc/powerpc32/start.S: ... here.
2681 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2682 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2683 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2684
2685 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2686 * sysdeps/powerpc/ifunc-sel.h: ... here.
2687 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2688 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2689
2690 * sysdeps/sparc/elf/configure.in: Moved to ...
2691 * sysdeps/sparc/configure.in: ... here.
2692 * sysdeps/sparc/elf/configure: Delete file.
2693 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2694 * sysdeps/sparc/sparc32/start.S: ... here.
2695 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2696 * sysdeps/sparc/sparc64/start.S: ... here.
2697 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2698 * sysdeps/sparc/sparc32/Makefile: ... this.
2699 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2700 * sysdeps/sparc/sparc64/Makefile: ... this.
2701
2702 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2703 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2704 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2705 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2706 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2707 * sysdeps/s390/s390-32/setjmp.S: ... here.
2708 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2709 * sysdeps/s390/s390-32/configure.in: ... here.
2710 * sysdeps/s390/s390-32/elf/configure: Delete file.
2711 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2712 * sysdeps/s390/s390-32/start.S: ... here.
2713
2714 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2715 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2716 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2717 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2718 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2719 * sysdeps/s390/s390-64/setjmp.S: ... here.
2720 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2721 * sysdeps/s390/s390-64/configure.in: ... here
2722 * sysdeps/s390/s390-64/elf/configure: Delete file.
2723 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2724 * sysdeps/s390/s390-64/start.S: ... here.
2725 * sysdeps/s390/s390-64/elf/configure: Delete.
2726
2727 * configure.in: Remove support for elf directories in sysdeps.
2728
2729 * configure: Regenerated.
2730 * sysdeps/i386/configure: Regenerated.
2731 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2732 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2733 * sysdeps/s390/s390-32/configure: Regenerated.
2734 * sysdeps/s390/s390-64/configure: Regenerated.
2735 * sysdeps/sh/configure: Regenerated.
2736 * sysdeps/sparc/configure: Regenerated.
2737 * sysdeps/x86_64/configure: Regenerated.
2738
a3f61311
AS
27392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2740
c876e002
AS
2741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2742
a3f61311
AS
2743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2744 denormal result into account.
2745
ac4c54f0
RM
27462012-03-25 Roland McGrath <roland@hack.frob.com>
2747
2748 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2749 Reported by Allan McRae <allan@archlinux.org>.
2750
6a9b9c02
JL
27512012-03-23 Jeff Law <law@redhat.com>
2752
2753 * nss/getnssent.c (__nss_getent): Fix typo.
2754
4c42a0c1
DM
27552012-03-23 David S. Miller <davem@davemloft.net>
2756
2757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2758
1532c7ac
L
27592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2762 to pad to uint64_t for each field.
2763 (dl_tls_index): Replace unsigned long with uint64_t.
2764
3ff42526
PP
27652012-03-23 Daniel Jacobowitz <dmj@google.com>
2766 Paul Pluzhnikov <ppluzhnikov@google.com>
2767
2768 [BZ #6528]
2769 * grp/Makefile (otherlibs): Don't set it.
2770 * inet/Makefile (otherlibs): Likewise.
2771 * login/Makefile (otherlibs): Likewise.
2772 * nscd/Makefile (otherlibs): Likewise.
2773 * posix/Makefile (otherlibs): Likewise.
2774 * pwd/Makefile (otherlibs): Likewise.
2775 * rt/Makefile (otherlibs): Likewise.
2776 * sunrpc/Makefile (otherlibs): Likewise.
2777 * nss/Makefile (otherlibs): Likewise.
2778 Add libnss_files to routines and static-only-routines.
2779 ($(objpfx)getent): Remove rule.
2780 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2781 static-only-routines.
2782
7c69cd14
JM
27832012-03-22 Joseph Myers <joseph@codesourcery.com>
2784
2785 [BZ #13892]
2786 * math/s_cexp.c: Include <float.h>.
2787 (__cexp): Handle exp result overflowing not necessarily
2788 overflowing both real and imaginary parts of result.
2789 * math/s_cexpf.c: Likewise.
2790 * math/s_cexpl.c: Likewise.
2791 * math/libm-test.inc (cexp_test): Add more tests.
2792 * sysdeps/i386/fpu/libm-test-ulps: Update.
2793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2794
81b035fe
L
27952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2796
2797 * include/link.h (ELFW): New macro.
2798 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2799 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2800
1da7940c
L
28012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2804 with uint64_t.
2805
b749dbb9
L
28062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2809 declaration.
2810 (struct La_x32_retval): Likewise.
2811
2ff87f3f
L
28122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 * sysdeps/x86_64/preconfigure.in: New file.
2815 * sysdeps/x86_64/preconfigure: New generated file.
2816
c0df8e69
JM
28172012-03-22 Joseph Myers <joseph@codesourcery.com>
2818
48e44791
JM
2819 [BZ #13824]
2820 * math/e_exp2l.c: Include <float.h>.
2821 (__ieee754_exp2l): Handle overflow and underflow cases
2822 separately. Only pass fractional part of argument to
2823 __ieee754_expl.
2824 * math/libm-test.inc (exp2_test): Add more tests.
2825
c0df8e69
JM
2826 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2827 negating x to take absolute value.
2828 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2829 Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2832 Likewise.
2833 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2834 computing low part if x was negated.
2835 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2836
c8e43ba7
L
28372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2840 la_x32_gnu_pltexit.
2841 (pltexit): Cast int_retval to ptrdiff_t.
2842 * elf/tst-auditmod3b.c: Likewise.
2843 * elf/tst-auditmod4b.c: Likewise.
2844 * elf/tst-auditmod5b.c: Likewise.
2845 * elf/tst-auditmod6b.c: Likewise.
2846 * elf/tst-auditmod6c.c: Likewise.
2847 * elf/tst-auditmod7b.c: Likewise.
2848
2849 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2850 and x32_gnu_pltexit.
2851
2852 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2853 __ELF_NATIVE_CLASS.
2854 (La_x32_regs): New macro.
2855 (La_x32_retval): Likewise.
2856 (la_x32_gnu_pltenter): New function prototype.
2857 (la_x32_gnu_pltexit): Likewise.
2858
7998fa78
AS
28592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2860
dcb33988
AS
2861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2862 exponent.
2863
233fc563
AS
2864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2865
7998fa78
AS
2866 * configure.in (libc_cv_cc_nofma): Check for option to disable
2867 generation of FMA instructions.
2868 * configure: Regenerate.
2869 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2870 * sysdeps/ieee754/dbl-64/Makefile: New file.
2871 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2872 Remove brandred-fma4.
2873 (CFLAGS-brandred-fma4.c): Remove.
2874 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2875 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2876 define.
2877 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2878 define.
2879
8e95c99a
L
28802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2881
2882 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2883 LLONG_MAX != LONG_MAX.
2884 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2885 (_fitoa_word): Likewise.
2886 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2887 LLONG_MAX != LONG_MAX.
2888 * stdio-common/_itowa.h: Include <_itoa.h>.
2889 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2890 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2891 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2892 only if not defined.
2893 (_ITOA_WORD_TYPE): Likewise.
2894 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2895 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2896
6f4db457
DM
28972012-03-21 David S. Miller <davem@davemloft.net>
2898
2899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2900
7785fe5a
L
29012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2904 of x86_64 when setting libc_cv_slibdir, libdir and
2905 libc_cv_localedir.
2906 * sysdeps/unix/sysv/linux/configure: Regenerated.
2907
4535cd55
JM
29082012-03-21 Joseph Myers <joseph@codesourcery.com>
2909
2910 * manual/lang.texi (Old Varargs): Remove section.
2911 (How Variadic): Update menu.
2912 (va_start): Do not mention varargs.h.
2913
17228132
TS
29142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2915 Joseph Myers <joseph@codesourcery.com>
2916
2917 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2918 link test.
2919 * configure: Regenerated.
2920
8149f976
TS
29212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2922
05f3d1f6
UD
2923 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2924 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2925 conformtest.pl
8149f976 2926
1a4ac776
JM
29272012-03-21 Joseph Myers <joseph@codesourcery.com>
2928
be22ce65
JM
2929 * NOTES: Remove.
2930 * Makefile (files-for-dist): Remove NOTES.
2931 (NOTES): Remove rule.
2932 * README: Don't refer to NOTES.
2933 * manual/creature.texi: Don't include macros.texi.
2934 * manual/intro.texi (creature.texi): Remove comment referring to
2935 NOTES.
2936
40b601fb
JM
2937 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2938 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2939 * configure: Regenerated.
2940 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2941 LIBC_TRY_CC_OPTION.
2942 (libc_cv_as_i686): Likewise.
2943 (libc_cv_cc_avx): Likewise.
2944 (libc_cv_cc_sse2avx): Likewise.
2945 (libc_cv_cc_fma4): Likewise.
2946 (libc_cv_cc_novzeroupper): Likewise.
2947 * sysdeps/i386/configure: Regenerated.
2948
1a4ac776
JM
2949 [BZ #13883]
2950 * sysdeps/i386/fpu/s_cexp.S: Remove.
2951 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2952 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2953 * math/libm-test.inc (cexp_test): Add more tests.
2954 * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956
a458e7fe
AM
29572012-03-21 Allan McRae <allan@archlinux.org>
2958
2959 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2960
0cb7efc5
JM
29612012-03-21 Joseph Myers <joseph@codesourcery.com>
2962
2963 [BZ #13871]
2964 * math/w_exp2.c: Do not include <float.h>.
2965 (o_threshold, u_threshold): Remove.
2966 (__exp2): Calculate result before checking finiteness and calling
2967 __kernel_standard.
2968 * math/w_exp2f.c: Likewise.
2969 * math/w_exp2l.c: Likewise.
2970 * math/libm-test.inc (exp2_test): Require overflow exception for
2971 1e6 input.
2460d3aa
JM
2972
2973 [BZ #3866]
2974 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2975 range of signed 64-bit integers before using fistpll. Remove
2976 checks for whether integers fit in mantissa bits.
2977 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2978 the range of signed 32-bit integers before using fistpl. Remove
2979 checks for whether integers fit in mantissa bits.
2980 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2981 (__ieee754_powl): Test for y outside the range of signed 64-bit
2982 integers before using fistpll. Reduce 64-bit values to 63-bit
2983 ones as needed.
2984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2985 divide-by-zero is raised for zero to large negative powers.
2986 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2987 (__ieee754_powl): Test for y outside the range of signed 64-bit
2988 integers before using fistpll. Reduce 64-bit values to 63-bit
2989 ones as needed.
2990 * math/libm-test.inc (pow_test): Add more tests.
2991
eb96ffb0
L
29922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2995 <stdio-common/_itoa.h>.
2996 * debug/segfault.c: Likewise.
2997 * elf/dl-cache.c: Likewise.
2998 * elf/dl-minimal.c: Likewise.
2999 * elf/dl-misc.c: Likewise.
3000 * elf/dl-sysdep.c: Likewise.
3001 * elf/dl-version.c: Likewise.
3002 * elf/rtld.c: Likewise.
3003 * hurd/hurdsock.c: Likewise.
3004 * hurd/lookup-retry.c: Likewise.
3005 * malloc/malloc.c: Likewise.
3006 * malloc/mtrace.c: Likewise.
3007 * nscd/nscd_getgr_r.c: Likewise.
3008 * nscd/nscd_getpw_r.c: Likewise.
3009 * nscd/nscd_getserv_r.c: Likewise.
3010 * posix/getopt_init.c: Likewise.
3011 * posix/wordexp.c: Likewise.
3012 * stdio-common/_itoa.c: Likewise.
3013 * stdio-common/printf_fphex.c: Likewise.
3014 * stdio-common/vfprintf.c: Likewise.
3015 * string/_strerror.c: Likewise.
3016 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3017 * sysdeps/i386/i686/hp-timing.h: Likewise.
3018 * sysdeps/mach/_strerror.c: Likewise.
3019 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3020 * sysdeps/mach/hurd/sethostid.c: Likewise.
3021 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3022 * sysdeps/mach/xpg-strerror.c: Likewise.
3023 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3024 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3025 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3026 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3027 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3028 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3030 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3031 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3032 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3033 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3034 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3035 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3036 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3037 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3038 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3041 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3042 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3043 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3044
3045 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3046
3047 * stdio-common/_itoa.h: Moved to ...
3048 * sysdeps/generic/_itoa.h: Here.
3049
3050 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3051
3052 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3053 instead of "_itoa.h" and "_itowa.h".
3054 * stdio-common/vfprintf.: Likewise.
3055
d1af992d
L
30562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3059 <bits/wordsize.h>.
3060 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3061 (__signbit): Likwise.
3062 (llrintf): Likwise.
3063 (llrint): Likwise.
3064
114883e0
L
30652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3066
3067 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3068 __WORDSIZE != 64.
3069
c135cc1b
JM
30702012-03-20 Joseph Myers <joseph@codesourcery.com>
3071
3072 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3073 OVERFLOW_EXCEPTION_OK.
3074 * math/libm-test.inc ("Philosophy"): Update comment about
3075 exception testing.
3076 (OVERFLOW_EXCEPTION): Define.
3077 (OVERFLOW_EXCEPTION_OK): Likewise.
3078 (INVALID_EXCEPTION_OK): Renumber.
3079 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3080 (IGNORE_ZERO_INF_SIGN): Likewise.
3081 (test_exceptions): Handle FE_OVERFLOW.
3082 (exp10_test): Expect overflow exceptions.
3083 (exp2_test): Likewise.
3084 (expm1_test): Likewise.
3085 (nextafter_test): Likewise.
3086 (pow_test): Likewise.
3087 (scalbn_test): Likewise.
3088 (scalbln_test): Likewise.
3089
95443d88
L
30902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3091
3092 * sysdeps/x86_64/bits/atomic.h
3093 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3094 64bit integer.
3095 (atomic_exchange_acq): Likewise.
3096 (__arch_exchange_and_add_body): Likewise.
3097 (__arch_add_body): Likewise.
3098 (atomic_add_negative): Likewise.
3099 (atomic_add_zero): Likewise.
3100
490df6c4
L
31012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3102
c2722551 3103 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3104 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3105
5e52b189
L
31062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3109 Check __x86_64__ instead of __WORDSIZE.
3110
a9879d4c
L
31112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3112
3113 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3114
5df98260
DM
31152012-03-19 David S. Miller <davem@davemloft.net>
3116
e1497744
DM
3117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3118
5df98260
DM
3119 * sysdeps/sparc/fpu/fenv_private.h: New file.
3120 * sysdeps/sparc/fpu/math_private.h: Use it.
3121 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3122 Remove.
3123 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3124 (libc_feholdexcept_setroundl): Remove.
3125 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3126 Remove.
3127 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3128 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3129
b4c35121
L
31302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3133 int64_t instead of long int.
3134 (INSERT_WORDS64): Likwise.
3135
56965fd7
L
31362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3137
3138 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3139 _Unwind_GetCFA return to _Unwind_Ptr first.
3140
83d1aec8
JM
31412012-03-19 Joseph Myers <joseph@codesourcery.com>
3142
1897ad44
JM
3143 [BZ #13629]
3144 * math/s_clog.c: Include <float.h>.
3145 (__clog): Scale large or subnormal inputs.
3146 * math/s_clogf.c: Likewise.
3147 * math/s_clogl.c: Likewise.
3148 * math/s_clog10.c: Include <float.h>.
3149 (M_LOG10_2): Define.
3150 (__clog10): Scale large or subnormal inputs.
3151 * math/s_clog10f.c: Likewise.
3152 * math/s_clog10l.c: Likewise.
3153 * math/libm-test.inc (clog_test): Add more tests.
3154 (clog10_test): Likewise.
3155 * sysdeps/i386/fpu/libm-test-ulps: Update.
3156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3157
7726d6a9
JM
3158 [BZ #11451]
3159 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3160 x and y.
3161 * math/libm-test.inc (atan2_test): Add another test.
3162
83d1aec8
JM
3163 * Makerules (common-objdir-compile): Remove.
3164 * sysdeps/unix/Makefile (config-generated): Do not add
3165 $(unix-generated) to variable.
3166 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3167 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3168 Remove rule.
3169 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3170 Likewise.
3171 [generic bits/local_lim.h] (before-compile): Do not append to
3172 variable.
3173 [generic bits/local_lim.h] (common-generated): Likewise.
3174 [generic sys/param.h] (before-compile): Do not append to variable.
3175 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3176 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3177 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3178 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3179 include.
3180 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3181 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3182 [generic sys/param.h] ($(addprefix
3183 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3184 [generic sys/param.h] (common-generated): Do not append to
3185 variable.
3186 [generic sys/param.h] (sysdep_headers): Likewise.
3187 [generic bits/errno.h] (before-compile): Do not append to
3188 variable.
3189 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3190 rule.
3191 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3192 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3193 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3194 [generic bits/errno.h] (common-generated): Do not append to
3195 variable.
3196 [generic bits/ioctls.h] (before-compile): Do not append to
3197 variable.
3198 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3199 rule.
3200 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3201 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3202 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3203 rule.
3204 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3205 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3206 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3207 [generic bits/ioctls.h] (common-generated): Do not append to
3208 variable.
3209 [generic sys/syscall.h] (syscall.h): Remove variable.
3210 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3211 rule.
3212 [generic sys/syscall.h] (before-compile): Do not append to
3213 variable.
3214 [generic sys/syscall.h] (common-generated): Likewise.
3215 * sysdeps/unix/errnos-tmpl.c: Remove file.
3216 * sysdeps/unix/errnos.awk: Likewise.
3217 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3218 * sysdeps/unix/ioctls.awk: Likewise.
3219 * sysdeps/unix/mk-local_lim.c: Likewise.
3220 * sysdeps/unix/snarf-ioctls: Likewise.
3221
4851a949
RH
32222012-03-19 Richard Henderson <rth@twiddle.net>
3223
bd37f2ee
RH
3224 * sysdeps/i386/fpu/fenv_private.h: New file.
3225 * sysdeps/i386/fpu/math_private.h: Use it.
3226 (math_opt_barrier, math_force_eval): Remove.
3227 (libc_feholdexcept_setround_53bit): Remove.
3228 (libc_feupdateenv_53bit): Remove.
3229 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3230 (math_opt_barrier, math_force_eval): Remove.
3231 (libc_feholdexcept): Remove.
3232 (libc_feholdexcept_setround): Remove.
3233 (libc_fetestexcept, libc_fesetenv): Remove.
3234 (libc_feupdateenv_test): Remove.
3235 (libc_feupdateenv, libc_feholdsetround): Remove.
3236 (libc_feresetround): Remove.
3237
d0adc922
RH
3238 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3239 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3240
0fe0f1f8
RH
3241 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3242 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3243 (libc_feupdateenv_testl): New.
3244 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3245 (libc_feupdateenv_testf): New.
3246 (libc_feupdateenv): Use libc_feupdateenv_test.
3247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3249
eb92c487
RH
3250 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3251 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3252 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3253 (libc_feresetround_noex): New.
3254 (libc_feresetround_noexf): New.
3255 (libc_feresetround_noexl): New.
3256 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3257 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3258 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3259 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3260 SET_RESTORE_ROUND.
3261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3263 (__cos): Likewise.
3264 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3265 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3266 SET_RESTORE_ROUND_NOEX.
3267 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3268 SET_RESTORE_ROUND_NOEXF.
3269 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3270 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3271 (libc_feholdsetroundf): New.
3272 (libc_feresetround, libc_feresetroundf): New.
3273
7d2e8012
RH
3274 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3275 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3276 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3277
b4dabbb4
RH
3278 * sysdeps/generic/math_private.h: Include <fenv.h>.
3279 (default_libc_feholdexcept): New.
3280 (default_libc_feholdexcept_setround): New.
3281 (default_libc_fesetenv, default_libc_feupdateenv): New.
3282 (libc_feholdexcept): Only define if undefined.
3283 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3284 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3285 (libc_feholdexcept_setroundl): Likewise.
3286 (libc_feholdexcept_setround_53bit): Likewise.
3287 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3288 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3289 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3290 (libc_feupdateenv_53bit): Likewise.
3291 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3292 (libc_feholdexcept): Convert from macro to inline function.
3293 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3294 (libc_fesetenv, libc_feupdateenv): Likewise.
3295
4851a949
RH
3296 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3297 not previously defined.
3298 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3299 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3300 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3301 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3302 * sysdeps/ieee754/flt-32/math_private.h: New file.
3303 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3304 math_private.h below SET_FLOAT_WORD.
3305 (__isnan, __isinf_ns, __finite): Remove.
3306 (__isnanf, __isinf_nsf, __finitef): Remove.
3307
e79d442e
AS
33082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3309
3310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3311
90b80344
DM
33122012-03-17 David S. Miller <davem@davemloft.net>
3313
3314 [BZ #6471]
3315 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3316 for 2.16.
3317
edc21804
DM
33182012-03-16 David S. Miller <davem@davemloft.net>
3319
77e927af
DM
3320 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3321 warnings.
3322
374976dd
DM
3323 [BZ #6471]
3324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3325 properly.
3326 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3327 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3328 sysdep_routines when subdir is sysvipc.
3329 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3330 __getshmlba helper.
3331
edc21804
DM
3332 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3333
473c3ef3
L
33342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3335
3336 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3337 [__LP64__].
3338
eb0f39b6
L
33392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3342 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3343 (__lround): Renamed to ...
3344 (__llround): This. Replace long int with long long int.
3345 Define lround functions as aliases of llround functions.
3346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3347
6b6cd74b
L
33482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3351 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3352 adresses to uintptr_t. Replace "long int" and "unsigned long
3353 int" with "greg_t" on va_arg.
3354
f1a77b01
L
33552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3358 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3359
3360 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3361 Move e_machine check before EI_CLASS check. Handle x32
3362 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3363 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3364 SKIP_EM_IA_64 and include
3365 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3366
3367 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3368 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3369 (add_system_dir): New macro.
3370
3371 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3372 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3373
11b90b9f
JM
33742012-03-16 Joseph Myers <joseph@codesourcery.com>
3375
c36e1d23
JM
3376 [BZ #2551]
3377 [BZ #2552]
3378 [BZ #2553]
3379 [BZ #2554]
3380 [BZ #2562]
3381 [BZ #2563]
3382 [BZ #2565]
3383 [BZ #2566]
3384 [BZ #2576]
3385 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3386 (y0): Likewise.
3387 * math/w_j0f.c (j0f): Likewise.
3388 (y0f): Likewise.
3389 * math/w_j0l.c (__j0l): Likewise.
3390 (__y0l): Likewise.
3391 * math/w_j1.c (j1): Likewise.
3392 (y1): Likewise.
3393 * math/w_j1f.c (j1f): Likewise.
3394 (y1f): Likewise.
3395 * math/w_j1l.c (__j1l): Likewise.
3396 (__y1l): Likewise.
3397 * math/w_jn.c (jn): Likewise.
3398 (yn): Likewise.
3399 * math/w_jnf.c (jnf): Likewise.
3400 (ynf): Likewise.
3401 * math/w_jnl.c (__jnl): Likewise.
3402 (__ynl): Likewise.
3403 * math/libm-test.inc (j0_test): Add more tests.
3404 (j1_test): Likewise.
3405 (jn_test): Likewise. Add trailing semicolon to existing test.
3406 (y0_test): Likewise.
3407 (y1_test): Likewise.
3408 * sysdeps/i386/fpu/libm-test-ulps: Update.
3409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3410
11b90b9f
JM
3411 [BZ #13851]
3412 [BZ #13854]
3413 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3414 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3415 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3416 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3417 (__tanl): Set errno for infinite argument.
3418 * sysdeps/i386/fpu/mptan.c: Remove.
3419 * sysdeps/i386/fpu/s_tan.S: Likewise.
3420 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3421 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3422 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3423 * math/libm-test.inc (tan_test): Add more tests and enable more
3424 tests for double and long double.
3425 * sysdeps/i386/fpu/libm-test-ulps: Update.
3426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427
6a1bd2a1
JK
34282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3429
3430 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3431 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3432
10a803e0
RM
34332012-03-16 Roland McGrath <roland@hack.frob.com>
3434
3435 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3436 * configure.in: Use it for both main tree and add-ons.
3437 * configure: Regenerated.
3438
f196c7f7
L
34392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3442
8848d99d
JM
34432012-03-16 Joseph Myers <joseph@codesourcery.com>
3444
96cbe7f4
JM
3445 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3446 in comment.
3447
8848d99d
JM
3448 [BZ #13851]
3449 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3450 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3453 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3454 infinite argument.
3455 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3457 != 0 for prec == 2.
3458 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3459 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3460 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3461 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3462 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3463 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3464 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3465 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3466 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3467 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3468 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3469 * math/libm-test.inc (cos_test): Add more tests and enable more
3470 tests for long double.
3471 (sin_test): Likewise.
3472 (sincos_test): Likewise.
3473 * sysdeps/i386/fpu/libm-test-ulps: Update.
3474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3475
dd7f4703
DM
34762012-03-16 David S. Miller <davem@davemloft.net>
3477
3478 * sysdeps/sparc/fpu/math_private.h: New file.
3479
006f1daa
DM
34802012-03-15 David S. Miller <davem@davemloft.net>
3481
c0c83bc8
DM
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3483 file.
e6a62e18 3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3486 file.
e6a62e18
DM
3487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3493 sysdep routines.
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3495
88cb87d9
DM
3496 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3497 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3498
006f1daa 3499 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3501 sparc-ifunc.h
006f1daa 3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3504 Likewise.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3506 Likewise.
006f1daa
DM
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3511 Likewise.
006f1daa
DM
3512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3517 Likewise.
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3519 Likewise.
006f1daa
DM
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3544
11e0098e
AS
35452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3546
3547 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3548 scaling.
3549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3550
e85b09d0
AJ
35512012-03-15 Andreas Jaeger <aj@suse.de>
3552
3553 [BZ #13852]
3554 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3555 ieee754/flt-32 implementation for sin, cos and sincos.
3556 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3557 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3558 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3559 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3560 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3561 ieee754/flt-32 implementation for tan.
3562
3563 * math/libm-test.inc (cos_test): Enable some large input tests for
3564 float as well
3565 (sin_test): Likewise.
3566 (sincos_test): Likewise.
3567 (tan_test): Add tests for large input.
3568
3569 * sysdeps/i386/fpu/libm-test-ulps: Update.
3570
81c64153
AJ
35712012-03-15 Andreas Jaeger <aj@suse.de>
3572
3573 [BZ #13658]
3574 * math/libm-test.inc (cos_test): Add more test cases.
3575 (sin_test): Likewise.
3576 (sincos_test): Likewise.
3577
7bbfa5c6
AJ
35782012-03-15 Andreas Jaeger <aj@suse.de>
3579
3580 [BZ #13837]
3581 * math/libm-test.inc (cos_test): Add a test case for large input
3582 value.
3583 (sin_test): Likewise.
3584 (sincos_test): Likewise.
3585
35862012-03-15 Andreas Jaeger <aj@suse.de>,
3587 Joseph Myers <joseph@codesourcery.com>
3588
3589 [BZ #13658]
0671f479 3590 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3591 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3592 * sysdeps/i386/fpu/branred.c: Likewise.
3593 * sysdeps/i386/fpu/dosincos.c: Likewise.
3594 * sysdeps/i386/fpu/mpa.c: Likewise.
3595 * sysdeps/i386/fpu/s_cos.S: Likewise.
3596 * sysdeps/i386/fpu/s_sin.S: Likewise.
3597 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3598 * sysdeps/i386/fpu/sincos32.c: Likewise.
3599
3600 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3601 Define.
3602 (libc_feupdateenv_53bit): Define.
3603 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3604 Define.
3605 (libc_feupdateenv_53bit): Define.
3606
3607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3608 53 bit (without extend i386 double precision).
3609
3610 * math/libm-test.inc (sincos_test): Add tests for large input.
3611 (sin): Likewise.
3612 (cos): Likewise.
3613
3614 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3615
9cad04ea
AS
36162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3617
3618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3619
f7062b9a
DM
36202012-03-15 David S. Miller <davem@davemloft.net>
3621
3622 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3624 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3625 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3638 file.
f7062b9a 3639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3641 file.
f7062b9a 3642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3644 file.
f7062b9a 3645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3647 file.
f7062b9a
DM
3648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3650 fmin/fmax sysdep routines.
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3652
7bd951ff
DM
36532012-03-14 David S. Miller <davem@davemloft.net>
3654
559398ab
DM
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3684 routines.
3685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3686 file.
559398ab 3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3689 file.
559398ab 3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3692 file.
559398ab 3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3695 file.
559398ab 3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3698 file.
559398ab 3699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3701 file.
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3703 file.
3704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3705 file.
3706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3707 file.
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3709 New file.
3710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3711 file.
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3713 file.
559398ab 3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3716 file.
559398ab 3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3719 file.
559398ab 3720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3722 file.
559398ab 3723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3725 VIS3 routines.
559398ab
DM
3726
3727 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3728 New file.
3729
5a1c1e32
DM
3730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3731
eae47a36
DM
3732 * sysdeps/sparc/configure.in: New file.
3733 * sysdeps/sparc/configure: Generate.
3734 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3735 * configure: Regenerate.
3736 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3737 * config.make.in (have-as-vis3): New.
3738 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3739 available use -Av9d instead of -Av9a.
3740 * sysdeps/sparc/sparc64/Makefile: Likewise.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3743 New file.
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3745 file.
3746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3747 New file.
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3749 file.
eae47a36
DM
3750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3755
c0c83bc8
DM
3756 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3757 fzeros/fnegs to load 0x80000000 into a float register instead of
3758 using the stack.
7bd951ff
DM
3759 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3760
bd951ccb
JM
37612012-03-14 Joseph Myers <joseph@codesourcery.com>
3762
3763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3764 bits/syscall.h.
3765 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3766 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3767 ($(inst_includedir)/bits/syscall.h): Remove rule.
3768 ($(objpfx)bits/syscall.d): Include instead of
3769 $(objpfx)syscall-list.d.
3770 (generated): Change syscall-list.h and syscall-list.d to
3771 bits/syscall.h and bits/syscall.d.
3772
bb4e6db2
RM
37732012-03-14 Roland McGrath <roland@hack.frob.com>
3774
3775 [BZ #13846]
3776 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3777
aa4a2ae1
JM
37782012-03-14 Joseph Myers <joseph@codesourcery.com>
3779
e456826d
JM
3780 [BZ #13841]
3781 * math/s_csqrt.c: Include <float.h>.
3782 (__csqrt): Scale large or subnormal inputs.
3783 * math/s_csqrtf.c: Likewise.
3784 * math/s_csqrtl.c: Likewise.
3785 * math/libm-test.inc (csqrt_test): Add more tests.
3786 * sysdeps/i386/fpu/libm-test-ulps: Update.
3787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3788
aa4a2ae1
JM
3789 [BZ #13840]
3790 * math/libm-test.inc (hypot_test): Add more tests.
3791
7c10fd35
DM
37922012-03-13 David S. Miller <davem@davemloft.net>
3793
3794 [BZ #13840]
3795 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3796 double-precision for the calculation instead of scaling.
3797
f453b98b
JM
37982012-03-13 Joseph Myers <joseph@codesourcery.com>
3799
3800 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3801 manipulate bits before adding and subtracting TWO52[sx].
3802 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3803 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3804 Likewise.
3805 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3806
09a3453f
DM
38072012-03-13 David S. Miller <davem@davemloft.net>
3808
8e59da90
DM
3809 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3810 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3812 rtld-global-offsets.h
3813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3814
2a8ab7f2
DM
3815 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3816 large parameters.
3817
10f62770
DM
3818 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3819
5f0bdb18
DM
3820 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3821 'err' in the ifdef scope in which it is actually used.
3822
09a3453f
DM
3823 * nss/nss_db/db-init.c: Include string.h
3824
b4b2eb5e
DM
38252012-03-12 David S. Miller <davem@davemloft.net>
3826
98bb2f1c
DM
3827 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3828 masking out of the most significant byte of random value used.
3829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3830 Fix coding style in previous change.
3831
b4b2eb5e
DM
3832 * sysdeps/unix/sysv/linux/kernel-features.h
3833 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3834 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3835 expression.
3836 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3837 later.
3838
6e226b09
DM
38392012-03-11 David S. Miller <davem@davemloft.net>
3840
a1bcbd40
DM
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3842 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3843 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3844 for 'resultvar' otherwise things get truncated on 64-bit.
3845
cb9d6174
DM
3846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3847 Fix masking out of the most significant byte of random value used.
3848
6e226b09
DM
3849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3850
058c132d
AS
38512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3852
3853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3854
2d2cd515
DM
38552012-03-09 David S. Miller <davem@davemloft.net>
3856
3857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3858 variables with appropriate CPP guards.
3859 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3860 frame pointer, not the stack pointer. Correct layout comments. Fix test
3861 on resulting framesize and the management of the outregs buffer for pltexit.
3862 Preserve floating point return values across _dl_call_pltexit call.
3863 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3864 framesize and the management of the outregs buffer for pltexit.
3865 Preserve floating point return values across _dl_call_pltexit
3866 call.
3867 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3868 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3869 (print_exit): Fix format string for return register value.
3870
9a07f9d0
JM
38712012-03-10 Joseph Myers <joseph@codesourcery.com>
3872
3873 * sunrpc/Makefile (others): Add rpcgen.
3874 ($(objpfx)rpcgen): Remove special build rule and dependency on
3875 libc.
3876 * sunrpc/rpcgen.c: New file.
3877
547b5e30
PE
38782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3879
c524201a
PE
3880 [BZ #13673]
3881 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3882 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3883 * sysdeps/i386/crti.S: Likewise.
3884 * sysdeps/i386/crtn.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3887 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3888 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3889 * sysdeps/sh/crti.S: Likewise.
3890 * sysdeps/sh/crtn.S: Likewise.
3891 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3892
7b6235f2
PE
3893 [BZ #13673]
3894 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3895 with URL.
3896 * locale/programs/locfile-kw.gperf: Likewise.
3897 * locale/programs/charmap-kw.h: Regenerated.
3898 * locale/programs/locfile-kw.h: Likewise.
3899
547b5e30
PE
3900 [BZ #13673]
3901 * intl/plural.y: Replace FSF snail mail address with URL.
3902 * intl/plural.c: Regenerated.
3903
5f0a5dae
RH
39042012-03-09 Richard Henderson <rth@twiddle.net>
3905
3906 * include/math_private.h: Remove file.
3907 * math/math_private.h: Move file ...
3908 * sysdeps/generic/math_private.h: ... here.
3909
b8c03620
RH
3910 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3911 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3913
4e234f5d 3914 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3915 and <math_private.h>.
3916 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3917 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3918 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3919 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3920 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4004 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4005 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4007 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4008 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4009 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4010 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4013 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4014 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4015 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4016 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4017 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4018 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4021 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4023 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4024 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4026 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4035 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4036 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4038 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4040 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4043 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4044 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4045 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4048 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4050 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4051 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4052 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4055 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4058 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4059 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4061 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4064 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4065 * sysdeps/ieee754/k_standard.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4214 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4226 * sysdeps/ieee754/s_lib_version.c: Likewise.
4227 * sysdeps/ieee754/s_matherr.c: Likewise.
4228 * sysdeps/ieee754/s_signgam.c: Likewise.
4229 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4231 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4232 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4233 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4234 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4235 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4236 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4237 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4238 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4239 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4240 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4241 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4242 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4243 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4250
1991fa03
JM
42512012-03-09 Joseph Myers <joseph@codesourcery.com>
4252
4253 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4254 * sunrpc/rpc_main.c: Likewise.
4255 * sunrpc/rpc_svcout.c: Likewise.
4256
60d6f5a6
DM
42572012-03-09 David S. Miller <davem@davemloft.net>
4258
4259 * include/math_private.h: New file.
4260
4962050e
JM
42612012-03-09 Joseph Myers <joseph@codesourcery.com>
4262
02a6f887
JM
4263 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4264 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4265 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4266 from <bits/socket_type.h>.
4267 (enum __socket_type): Don't define here.
4268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4270 bits/socket_type.h.
4271
c6e013c1
JM
4272 [BZ #13566]
4273 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4274 checking __USE_GNU.
4275
4962050e
JM
4276 * Makerules ($(inst_includedir)/%.h): New rule.
4277 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4278 (install-others): Remove variable setting.
4279 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4280
38842f45
RH
42812012-03-08 Richard Henderson <rth@twiddle.net>
4282
67bb6da6
RH
4283 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4284 from macro to inline function; merge with the
4285 !__LIBC_INTERNAL_MATH_INLINES version.
4286 (__ieee754_sqrtf): Likewise.
4287
15194b4b
RH
4288 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4289 to inline function.
4290 (__rintf, __floor, __floorf): Likewise.
4291
64e21ede
RH
4292 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4293 macro to inline function.
4294 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4295
38842f45
RH
4296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4297 not <math/math_private.h>.
4298
c64bf5fe
DM
42992012-03-08 David S. Miller <davem@davemloft.net>
4300
4301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4302 copyright year.
4303 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4304
82d86f28
TS
43052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4306
4307 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4308 normalization.
4309 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4310 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4311
aea5d727
UD
43122012-03-08 Ulrich Drepper <drepper@gmail.com>
4313
4314 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4315 be defined individually, they must be defined as a block. Define
4316 S for printing a string instead of hidint the different by using a
4317 macro for adding the 'l'.
4318 * stdio-common/tst-fphex-wide.c: Adjust.
4319
70bca0a3
MP
43202012-03-07 Marek Polacek <polacek@redhat.com>
4321
4322 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4323
65b81130
MP
43242012-03-08 Marek Polacek <polacek@redhat.com>
4325
4326 [BZ #13806]
4327 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4328 * stdio-common/tst-fphex.c: Define a few macros to make the
4329 test reusable. Use them.
4330 * stdio-common/tst-fphex-wide.c: New file.
4331
07037eeb
JM
43322012-03-08 Joseph Myers <joseph@codesourcery.com>
4333
a7a93d50
JM
4334 [BZ #6911]
4335 * manual/macros.texi (gnusystems): New macro.
4336 (nongnusystems): Likewise.
4337 (gnulinuxhurdsystems): Likewise.
4338 (gnuhurdsystems): Likewise..
4339 (gnulinuxsystems): Likewise.
4340 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4341 variants of the GNU system, not "GNU system".
4342 * manual/conf.texi: Likewise.
4343 * manual/errno.texi: Likewise. Update example of errno macro
4344 expansion.
4345 * manual/filesys.texi: Likewise.
4346 (getumask): Document as specific to GNU/Hurd.
4347 * manual/install.texi: Likewise. Reword some references to
4348 GNU/Linux.
4349 * manual/intro.texi: Likewise.
4350 * manual/io.texi: Likewise.
4351 (File Name Portability): Detail which constraints are inapplicable
4352 to all GNU systems and which are only inapplicable to GNU/Hurd.
4353 * manual/job.texi: Likewise.
4354 * manual/llio.texi: Likewise.
4355 (O_NOCTTY): Document as present on GNU/Linux.
4356 * manual/maint.texi: Likewise.
4357 * manual/memory.texi: Likewise.
4358 * manual/pattern.texi: Likewise.
4359 * manual/pipe.texi: Likewise.
4360 * manual/process.texi: Likewise.
4361 * manual/resource.texi: Likewise.
4362 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4363 child on GNU/Hurd.
4364 * manual/setjmp.texi: Likewise.
4365 * manual/signal.texi: Likewise.
4366 * manual/startup.texi: Likewise.
4367 * manual/stdio.texi: Likewise.
4368 * manual/terminal.texi: Likewise.
4369 (ONLCR): Document as POSIX.
4370 (OXTABS): Document availability on GNU/Linux as XTABS.
4371 (ONOEOT): Document availability separately from other bits.
4372 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4373 * manual/time.texi: Likewise.
4374 * manual/users.texi: Likewise.
4375 * INSTALL: Regenerated.
4376 * sysdeps/gnu/errlist.c: Regenerated.
4377
07037eeb
JM
4378 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4379 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4380 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4381 puts.
4382 * configure: Regenerated.
4383
d1d3431a
JM
43842012-03-07 Joseph Myers <joseph@codesourcery.com>
4385
af6a1e37
JM
4386 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4387 default includes instead of AC_HEADER_CHECK.
4388 * sysdeps/i386/configure: Regenerated.
4389
d1d3431a
JM
4390 [BZ #10716]
4391 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4392 * math/s_cacoshf.c (__cacoshf): Likewise.
4393 * math/s_cacoshl.c (__cacoshl): Likewise.
4394 * math/s_casinh.c (__casinh): Set signs of result from argument.
4395 * math/s_casinhf.c (__casinhf): Likewise.
4396 * math/s_casinhl.c (__casinhl): Likewise.
4397 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4398 (casinh_test): Add more tests.
4399 * sysdeps/i386/fpu/libm-test-ulps: Update.
4400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401
482ff4da
UD
44022012-03-07 Ulrich Drepper <drepper@gmail.com>
4403
872fda05
UD
4404 * po/zh_TW.po: Update from translation team.
4405
a4300c7a
UD
4406 * login/Makefile (distribute): Remove variable.
4407 * catgets/Makefile: Likewise.
4408 * mach/Makefile: Likewise.
4409 * malloc/Makefile: Likewise.
4410 * misc/Makefile: Likewise.
4411 * iconv/Makefile: Likewise.
4412 * nscd/Makefile: Likewise.
4413 * hurd/Makefile: Likewise.
4414 * manual/Makefile: Likewise.
4415 * locale/Makefile: Likewise.
4416 * intl/Makefile: Likewise.
4417 * conform/Makefile: Likewise.
4418 * nss/Makefile: Likewise.
4419 * time/Makefile: Likewise.
4420 * soft-fp/Makefile: Likewise.
4421 * dirent/Makefile: Likewise.
4422 * gmon/Makefile: Likewise.
4423 * po/Makefile: Likewise.
4424 * rt/Makefile: Likewise.
4425 * socket/Makefile: Likewise.
4426 * math/Makefile: Likewise.
4427 * signal/Makefile: Likewise.
4428 * debug/Makefile: Likewise.
4429 * elf/Makefile: Likewise.
4430 * timezone/Makefile: Likewise.
4431 * stdlib/Makefile: Likewise.
4432 * iconvdata/Makefile: Likewise.
4433 * sunrpc/Makefile: Likewise.
4434 * io/Makefile: Likewise.
4435 * argp/Makefile: Likewise.
4436 * inet/Makefile: Likewise.
4437 * hesiod/Makefile: Likewise.
4438 * grp/Makefile: Likewise.
4439 * csu/Makefile: Likewise.
4440 * wctype/Makefile: Likewise.
4441 * crypt/Makefile: Likewise.
4442 * libio/Makefile: Likewise.
4443 * string/Makefile: Likewise.
4444 * nis/Makefile: Likewise.
4445 * resolv/Makefile: Likewise.
4446 * stdio-common/Makefile: Likewise.
4447 * wcsmbs/Makefile: Likewise.
4448 * dlfcn/Makefile: Likewise.
4449 * posix/Makefile: Likewise.
4450
3b7c4e74 4451 [BZ #6959]
482ff4da
UD
4452 * timezone/Makefile: Don't install timezone files, just the programs
4453 and scripts.
4454
f72ed77d
UD
44552012-03-06 Ulrich Drepper <drepper@gmail.com>
4456
a000466f
UD
4457 * nss/databases.def: Add missing gshadow entry.
4458
f72ed77d
UD
4459 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4460
a53b7a4e
MP
44612012-03-06 Marek Polacek <polacek@redhat.com>
4462
4463 [BZ #13726]
4464 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4465 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4466 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4467 * stdio-common/tst-long-dbl-fphex.c: New file.
4468
e9258400
DM
44692012-03-06 David S. Miller <davem@davemloft.net>
4470
4471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4472 (set_obp_int): New function.
4473 (get_obp_int): New function.
4474 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4476 Avoid unused variable warnings on 'val' and use builtin_expect.
4477 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4478 __builtin_expect.
e9258400
DM
4479 (INLINE_CLONE_SYSCALL): Likewise.
4480
3bd2c723
DM
44812012-03-05 David S. Miller <davem@davemloft.net>
4482
4483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4484
bbb78d03
AS
44852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4486
884c5db4
AS
4487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4488
bbb78d03
AS
4489 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4490 only for |x| >= 40.
4491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4492
1c9f702a 44932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4494
4495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4496 Replace gettimeofday with __vdso_gettimeofday.
4497
7be16f82
RM
4498 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4499 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4500 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4501
4502 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4503 time with __vdso_time.
4504
ed58a00f
JM
45052012-03-05 Joseph Myers <joseph@codesourcery.com>
4506
4507 * manual/lang.texi (size_t): Note types to which size_t may be
4508 equivalent with the GNU C Library, but do not describe when
4509 differences between them are significant.
4510
30ee4ced
AJ
45112012-03-05 Andreas Jaeger <aj@suse.de>
4512
4513 * sysdeps/i386/fpu/libm-test-ulps: Update.
4514
b7cd39e8
JM
45152012-03-05 Joseph Myers <joseph@codesourcery.com>
4516
4517 [BZ #3976]
4518 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4519 (__ieee754_pow): Save and restore rounding mode and use
4520 round-to-nearest for main computations.
4521 * math/libm-test.inc (pow_test_tonearest): New function.
4522 (pow_test_towardzero): Likewise.
4523 (pow_test_downward): Likewise.
4524 (pow_test_upward): Likewise.
4525 (main): Call the new functions.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4528
4529 [BZ #3976]
4530 * math/libm-test.inc (cosh_test_tonearest): New function.
4531 (cosh_test_towardzero): Likewise.
4532 (cosh_test_downward): Likewise.
4533 (cosh_test_upward): Likewise.
4534 (sinh_test_tonearest): Likewise.
4535 (sinh_test_towardzero): Likewise.
4536 (sinh_test_downward): Likewise.
4537 (sinh_test_upward): Likewise.
4538 (main): Call the new functions.
4539 * sysdeps/i386/fpu/libm-test-ulps: Update.
4540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4541
6c6a98c9
TV
45422012-03-05 Tom de Vries <tom@codesourcery.com>
4543
4544 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4545 default stack guard is set in last bytes.
4546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4547
21bb2d2e 45482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4549
21bb2d2e 4550 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4551
21bb2d2e
AJ
4552 [BZ #13656]
4553 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4554 possibly allocate from heap instead of stack.
4555 * stdio-common/bug-vfprintf-nargs.c: New file.
4556 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4557
c6922934
AS
45582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4559
4560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4561
bc957d53
MP
45622012-03-03 Marek Polacek <polacek@redhat.com>
4563
4564 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4565 * math/math_private.h: Likewise.
4566 * stdlib/tst-strtod.c: Likewise.
4567 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4568 * sysdeps/x86_64/bits/atomic.h: Likewise.
4569
6358490d
DM
45702012-03-02 David S. Miller <davem@davemloft.net>
4571
4572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4576 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4577 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4578 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4579 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4580
01ae168d
RM
45812012-03-02 Roland McGrath <roland@hack.frob.com>
4582
d9a17c07
RM
4583 [BZ #13792]
4584 * manual/examples/README: New file, says the example source files
4585 can be used under GPL>=2.
4586 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4587 line containing just "*/".
4588 * manual/examples/add.c: Add copyright header (GPL>=2).
4589 * manual/examples/argp-ex1.c: Likewise.
4590 * manual/examples/argp-ex2.c: Likewise.
4591 * manual/examples/argp-ex3.c: Likewise.
4592 * manual/examples/argp-ex4.c: Likewise.
4593 * manual/examples/atexit.c: Likewise.
4594 * manual/examples/db.c: Likewise.
4595 * manual/examples/dir.c: Likewise.
4596 * manual/examples/dir2.c: Likewise.
4597 * manual/examples/execinfo.c: Likewise.
4598 * manual/examples/filecli.c: Likewise.
4599 * manual/examples/filesrv.c: Likewise.
4600 * manual/examples/fmtmsgexpl.c: Likewise.
4601 * manual/examples/genpass.c: Likewise.
4602 * manual/examples/inetcli.c: Likewise.
4603 * manual/examples/inetsrv.c: Likewise.
4604 * manual/examples/isockad.c: Likewise.
4605 * manual/examples/longopt.c: Likewise.
4606 * manual/examples/memopen.c: Likewise.
4607 * manual/examples/memstrm.c: Likewise.
4608 * manual/examples/mkfsock.c: Likewise.
4609 * manual/examples/mkisock.c: Likewise.
4610 * manual/examples/mygetpass.c: Likewise.
4611 * manual/examples/pipe.c: Likewise.
4612 * manual/examples/popen.c: Likewise.
4613 * manual/examples/rprintf.c: Likewise.
4614 * manual/examples/search.c: Likewise.
4615 * manual/examples/select.c: Likewise.
4616 * manual/examples/setjmp.c: Likewise.
4617 * manual/examples/sigh1.c: Likewise.
4618 * manual/examples/sigusr.c: Likewise.
4619 * manual/examples/stpcpy.c: Likewise.
4620 * manual/examples/strdupa.c: Likewise.
4621 * manual/examples/strftim.c: Likewise.
4622 * manual/examples/strncat.c: Likewise.
4623 * manual/examples/subopt.c: Likewise.
4624 * manual/examples/swapcontext.c: Likewise.
4625 * manual/examples/termios.c: Likewise.
4626 * manual/examples/testopt.c: Likewise.
4627 * manual/examples/testpass.c: Likewise.
4628 * manual/examples/timeval_subtract.c: Likewise.
4629
01ae168d
RM
4630 [BZ #13792]
4631 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4632 function to ...
4633 * manual/timeval_subtract.c.texi: ... here, new file.
4634
49efa33d
DM
46352012-03-02 David S. Miller <davem@davemloft.net>
4636
4637 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4638
28afd92d
JM
46392012-03-02 Joseph Myers <joseph@codesourcery.com>
4640
804360ed
JM
4641 [BZ #3976]
4642 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4643 (__sin): Save and restore rounding mode and use round-to-nearest
4644 for all computations.
4645 (__cos): Save and restore rounding mode and use round-to-nearest
4646 for all computations.
4647 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4648 <fenv.h>.
4649 (tan): Save and restore rounding mode and use round-to-nearest for
4650 all computations.
4651 * math/libm-test.inc (cos_test_tonearest): New function.
4652 (cos_test_towardzero): Likewise.
4653 (cos_test_downward): Likewise.
4654 (cos_test_upward): Likewise.
4655 (sin_test_tonearest): Likewise.
4656 (sin_test_towardzero): Likewise.
4657 (sin_test_downward): Likewise.
4658 (sin_test_upward): Likewise.
4659 (tan_test_tonearest): Likewise.
4660 (tan_test_towardzero): Likewise.
4661 (tan_test_downward): Likewise.
4662 (tan_test_upward): Likewise.
4663 (main): Call the new functions.
4664 * sysdeps/i386/fpu/libm-test-ulps: Update.
4665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666
a6d06d7b
JM
4667 [BZ #10135]
4668 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4669 small n, then large n, before computing and testing k+n.
4670 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4672 Likewise.
4673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4674 Likewise.
4675 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4676 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4683 * math/libm-test.inc (scalbn_test): Add more tests.
4684 (scalbln_test): Likewise.
4685
07e12bb3
JM
4686 * manual/filesys.texi (mode_t): Describe constraints on size and
4687 signedness, not exact equivalence to a particular type.
4688 (ino_t): Likewise.
4689 (ino64_t): Likewise.
4690 (dev_t): Likewise.
4691 (nlink_t): Likewise.
4692 (blkcnt_t): Likewise.
4693 (blkcnt64_t): Likewise.
4694 * manual/llio.texi (off_t): Likewise.
4695
28afd92d
JM
4696 [BZ #3976]
4697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4698 (__ieee754_exp): Save and restore rounding mode and use
4699 round-to-nearest for all computations.
4700 * math/libm-test.inc (exp_test_tonearest): New function.
4701 (exp_test_towardzero): Likewise.
4702 (exp_test_downward): Likewise.
4703 (exp_test_upward): Likewise.
4704 (main): Call the new functions.
4705 * sysdeps/i386/fpu/libm-test-ulps: Update.
4706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4707
b1eeb65d
CD
47082012-03-01 Chris Demetriou <cgd@google.com>
4709
4710 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4711 have predictable order.
4712
53362a4b
DM
47132012-03-01 David S. Miller <davem@davemloft.net>
4714
3c969083
DM
4715 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4716
759707de
DM
4717 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4718 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4719 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4720 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4721
dfdb8ff2
DM
4722 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4723 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4724 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4727 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4728 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4729 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4730 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4731
ead89f96
DM
4732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4733
7f66bd07
DM
4734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4735 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4736 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4737
53362a4b
DM
4738 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4740 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4741 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4742 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4745 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4746 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4754 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4755 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4756 * sysdeps/sparc/elf/configure: Regenerated.
4757
7b1902cb
JM
47582012-03-01 Joseph Myers <joseph@codesourcery.com>
4759
bec039bc
JM
4760 * configure.in (AS, LD): Require binutils 2.20 or later.
4761 * configure: Regenerated.
4762 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4763 as required minimum version.
4764 * INSTALL: Regenerated.
4765
7b1902cb
JM
4766 [BZ #2541]
4767 [BZ #4108]
4768 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4769 before squaring exponent.
4770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4771 bottom long double and 27 bits of top long double before squaring
4772 exponent.
4773 * math/libm-test.inc (erfc_test): Add more tests.
4774 * sysdeps/i386/fpu/libm-test-ulps: Update.
4775 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4777
f775c276
KT
47782012-03-01 Kai Tietz <ktietz@redhat.com>
4779
4780 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4781 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4782 containing bit-fields.
4783 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4784 * soft-fp/single.h (_FP_UNION_S): Likewise.
4785 * soft-fp/double.h (_FP_UNION_D): Likewise.
4786
5b8a4d4a
JM
47872012-02-29 Joseph Myers <joseph@codesourcery.com>
4788
0bab47b6
JM
4789 [BZ #13786]
4790 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4791 not include ../strcmp.S.
4792 [USE_AS_STRNCASECMP_L]: Likewise.
4793 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4794 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4795 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4796 (__strncasecmp_l_ia32): Define as alias to
4797 __strncasecmp_l_nonascii.
4798
0fcad3e2
JM
4799 [BZ #5794]
4800 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803
5b8a4d4a
JM
4804 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
8fdceb2e
JL
48072012-02-29 Jeff Law <law@redhat.com>
4808
4809 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4810 out of bounds read.
4811
1f393a11
MP
48122012-02-29 Marek Polacek <polacek@redhat.com>
4813
4814 [BZ #13706]
4815 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4816 * elf/Makefile: Add rules to run tst-unused-dep.out.
4817
8847f037
DM
48182012-02-28 David S. Miller <davem@davemloft.net>
4819
4820 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4821 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4824 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4826
169d7f11
JM
48272012-02-29 Joseph Myers <joseph@codesourcery.com>
4828
4829 * math/libm-test.inc (llround_test): Move one test from
4830 lround_test. Use TEST_f_L in moved test.
4831 (lround_test): Move misplaced test to llround_test. Add testcase
4832 from bug 2561.
4833
39adf059
UD
48342012-02-28 Ulrich Drepper <drepper@gmail.com>
4835
4836 * sysdeps/x86_64/fpu/e_expf.S: New file.
4837 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4838
71b5d1c5
SB
48392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4840
4841 [BZ #13637]
4842 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4843 of remain_len that may cause incomplete multi-byte character and
4844 false match.
4845 * posix/bug-regex33.c: New file.
4846 * posix/Makefile (tests): Add bug-regex33.
4847
1f77f049
JM
48482012-02-28 Joseph Myers <joseph@codesourcery.com>
4849
4850 * manual/macros.texi: New file.
4851 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4852 * manual/libc.texinfo: Include macros.texi.
4853 * manual/creatute.texi: Likewise.
4854 * manual/install.texi: Likewise.
4855 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4856 @glibcadj{} in references to the GNU C Library.
4857 * manual/charset.texi: Likewise.
4858 * manual/conf.texi: Likewise.
4859 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4860 when not using those macros.
4861 * manual/creature.texi: Likewise.
4862 * manual/crypt.texi: Likewise.
4863 * manual/errno.texi: Likewise.
4864 * manual/filesys.texi: Likewise.
4865 * manual/header.texi: Likewise.
4866 * manual/install.texi: Likewise.
4867 * manual/intro.texi: Likewise.
4868 * manual/io.texi: Likewise.
4869 * manual/job.texi: Likewise.
4870 * manual/lang.texi: Likewise.
4871 * manual/libc.texiinfo: Likewise.
4872 * manual/llio.texi: Likewise.
4873 * manual/locale.texi: Likewise.
4874 * manual/maint.texi: Likewise.
4875 * manual/math.texi: Likewise.
4876 * manual/memory.texi: Likewise.
4877 * manual/message.texi: Likewise.
4878 * manual/nss.texi: Likewise.
4879 * manual/pattern.texi: Likewise.
4880 * manual/process.texi: Likewise.
4881 * manual/resource.texi: Likewise.
4882 * manual/search.texi: Likewise.
4883 * manual/setjmp.texi: Likewise.
4884 * manual/signal.texi: Likewise.
4885 * manual/socket.texi: Likewise.
4886 * manual/startup.texi: Likewise.
4887 * manual/stdio.texi: Likewise.
4888 * manual/string.texi: Likewise.
4889 * manual/sysinfo.texi: Likewise.
4890 * manual/syslog.texi: Likewise.
4891 * manual/terminal.texi: Likewise.
4892 * manual/time.texi: Likewise.
4893 * manual/users.texi: Likewise.
4894 * INSTALL: Regenerated.
4895 * NOTES: Regenerated.
d40c5d54 4896 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4897
450bf206
AS
48982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4899
4900 * include/dirent.h: Include <dirstream.h> before
4901 <dirent/dirent.h>.
4902
741a235b
DM
49032012-02-28 David S. Miller <davem@davemloft.net>
4904
4905 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4906 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4907 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4908 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4909
d6b5aa58
DM
49102012-02-27 David S. Miller <davem@davemloft.net>
4911
1aff59a3
DM
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4914 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4915 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4916
d6b5aa58
DM
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4918 frame pointer instead of stack pointer relative arg slot.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4920 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4921 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4922
433f48bf
CD
49232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4924
4925 [BZ #3992]
4926 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4927
d674b76d
DM
49282012-02-27 David S. Miller <davem@davemloft.net>
4929
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4934 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4935 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4936 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4937 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4938
0e7727f7
JM
49392012-02-27 Joseph Myers <joseph@codesourcery.com>
4940
4941 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4942 later. Allow versions 5-9.
43be4ca2 4943 * configure: Regenerated.
0e7727f7
JM
4944 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4945 required minimum version and 4.6 as recommended version. Do not
4946 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4947 * INSTALL: Regenerated.
0e7727f7 4948
a78bc654
DM
49492012-02-27 David S. Miller <davem@davemloft.net>
4950
428d5830
DM
4951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4955 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4956 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4957 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4958 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4959
a78bc654
DM
4960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4961 manipulate bits before adding and subtracting TWO112[sx].
4962 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4963
4579f81c
RM
49642012-02-27 Roland McGrath <roland@hack.frob.com>
4965
36c8acb4
RM
4966 [BZ #13775]
4967 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4968 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4969 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4970 being in POSIX, because they are in 1003.1-2008.
4971
84ad622b
RM
4972 * rt/tst-aio.c: Include <fcntl.h>.
4973 * rt/tst-aio7.c: Likewise.
4974 * rt/tst-aio64.c: Likewise.
4975
4579f81c
RM
4976 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4977
abd923db
JM
49782012-02-27 Joseph Myers <joseph@codesourcery.com>
4979
4980 * manual/install.texi (--with-headers): Describe headers as
4981 interface headers, not private headers.
4982 (Specific advice for GNU/Linux systems): Describe use of headers
4983 from "make headers_install", not private headers from older
4984 kernels.
43be4ca2 4985 * INSTALL: Regenerated.
abd923db
JM
4986 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4987 Change to 2.6.19.
4988 * sysdeps/unix/sysv/linux/configure: Regenerated.
4989
6664049b
JM
4990 * manual/llio.texi (fclean): Remove documentation.
4991
bb8b6697
JM
4992 * manual/Makefile (libc-texi-generated): New variable. Include
4993 version.texi.
4994 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4995 $(libc-texi-generated), not duplicated list of files.
4996 (version.texi, stamp-version): New rules.
4997 (realclean): Remove $(libc-texi-generated), not individual files
4998 from that list. Do not remove dir-add.texinfo.
4999 * manual/libc.texinfo: Comment out uses of edition numbers and
5000 references to printed manual. Remove last-updated dates.
5001 (EDITION): Comment out.
5002 (ISBN): Likewise.
5003 (VERSION, UPDATED): Remove.
5004 (version.texi): Include.
5005
12e5c3b9
AS
50062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5007
5008 * sysdeps/posix/spawni.c: Include <signal.h>.
5009 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5010 * sysdeps/pthread/aio_fsync.c: Likewise.
5011
4efeffc1 50122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5013
ba63ba08
UD
5014 * conform/Makefile (tests): Run only when not cross-compiling and
5015 when fast-check is not defined.
5016
d94a4670
UD
5017 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5018 * conform/data/limits.h-data: Fixes for POSIX2008.
5019 * conform/run-conformtest.sh: Run all tests.
5020 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5021 headers.
5022 * include/bits/dlfcn.h: Likewise.
5023 * include/langinfo.h: Likewise.
5024 * include/monetary.h: Likewise.
5025 * include/sys/poll.h: Likewise.
5026
5027 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5028 for __USE_GNU.
5029 * posix/spawn.h: Define __need_sigset_t.
5030 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5031 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5032 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5033 to get sigevent_t only.
5034 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5035 only for __USE_GNU.
5036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5037 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5038 process_vm_writev only for __USE_GNU.
5039 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5040
5041 * conform/Makefile: For now ignore errors from run-conformtest.
5042 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5043 POSIX to avoid namespace pollution. Don't prepend headers.
5044 * conform/data/aio.h-data: Fixes for POSIX testing.
5045 * conform/data/fcntl.h-data: Likewise.
5046 * conform/data/glob.h-data: Likewise.
5047 * conform/data/grp.h-data: Likewise.
5048 * conform/data/pthread.h-data: Likewise.
5049 * conform/data/pwd.h-data: Likewise.
5050 * conform/data/signal.h-data: Likewise.
5051 * conform/data/spawn.h-data: Likewise.
5052 * conform/data/stdio.h-data: Likewise.
5053 * conform/data/stdlib.h-data: Likewise.
5054 * conform/data/stropts.h-data: Likewise.
5055 * conform/data/sys/mman.h-data: Likewise.
5056 * conform/data/sys/stat.h-data: Likewise.
5057 * conform/data/sys/types.h-data: Likewise.
5058 * conform/data/sys/wait.h-data: Likewise.
5059 * conform/data/time.h-data: Likewise.
5060 * conform/data/unistd.h-data: Likewise.
5061 * conform/data/utime.h-data: Likewise.
5062
5063 * io/sys/stat.h: fchmod was always in POSIX.
5064 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5065 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5066 * rt/aio.h: Define __need_timespec before including <time.h>.
5067 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5068 struct. Add forward declaration of pthread_attr_t and use it in
5069 sigevent.
5070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5072 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5073 always remove CLK_TCK definition.
5074
c20105c3
AS
50752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5076
5077 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5078
7a270350
UD
50792012-02-25 Ulrich Drepper <drepper@gmail.com>
5080
31341567
UD
5081 * conform/run-conformtest.sh: New file.
5082 * conform/Makefile: Run run-conformtest for tests.
5083 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5084 support.
5085
5086 * conform/data/uchar.h-data: New file.
5087 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5088 * conform/data/arpa/inet.h-data: Likewise.
5089 * conform/data/assert.h-data: Likewise.
5090 * conform/data/complex.h-data: Likewise.
5091 * conform/data/cpio.h-data: Likewise.
5092 * conform/data/ctype.h-data: Likewise.
5093 * conform/data/dirent.h-data: Likewise.
5094 * conform/data/dlfcn.h-data: Likewise.
5095 * conform/data/errno.h-data: Likewise.
5096 * conform/data/fcntl.h-data: Likewise.
5097 * conform/data/float.h-data: Likewise.
5098 * conform/data/fmtmsg.h-data: Likewise.
5099 * conform/data/fnmatch.h-data: Likewise.
5100 * conform/data/ftw.h-data: Likewise.
5101 * conform/data/glob.h-data: Likewise.
5102 * conform/data/grp.h-data: Likewise.
5103 * conform/data/iconv.h-data: Likewise.
5104 * conform/data/inttypes.h-data: Likewise.
5105 * conform/data/langinfo.h-data: Likewise.
5106 * conform/data/libgen.h-data: Likewise.
5107 * conform/data/limits.h-data: Likewise.
5108 * conform/data/locale.h-data: Likewise.
5109 * conform/data/math.h-data: Likewise.
5110 * conform/data/monetary.h-data: Likewise.
5111 * conform/data/mqueue.h-data: Likewise.
5112 * conform/data/ndbm.h-data: Likewise.
5113 * conform/data/net/if.h-data: Likewise.
5114 * conform/data/netdb.h-data: Likewise.
5115 * conform/data/netinet/in.h-data: Likewise.
5116 * conform/data/nl_types.h-data: Likewise.
5117 * conform/data/poll.h-data: Likewise.
5118 * conform/data/pthread.h-data: Likewise.
5119 * conform/data/pwd.h-data: Likewise.
5120 * conform/data/regex.h-data: Likewise.
5121 * conform/data/sched.h-data: Likewise.
5122 * conform/data/search.h-data: Likewise.
5123 * conform/data/semaphore.h-data: Likewise.
5124 * conform/data/setjmp.h-data: Likewise.
5125 * conform/data/signal.h-data: Likewise.
5126 * conform/data/spawn.h-data: Likewise.
5127 * conform/data/stdarg.h-data: Likewise.
5128 * conform/data/stdio.h-data: Likewise.
5129 * conform/data/stdlib.h-data: Likewise.
5130 * conform/data/string.h-data: Likewise.
5131 * conform/data/strings.h-data: Likewise.
5132 * conform/data/stropts.h-data: Likewise.
5133 * conform/data/sys/ipc.h-data: Likewise.
5134 * conform/data/sys/mman.h-data: Likewise.
5135 * conform/data/sys/msg.h-data: Likewise.
5136 * conform/data/sys/resource.h-data: Likewise.
5137 * conform/data/sys/select.h-data: Likewise.
5138 * conform/data/sys/sem.h-data: Likewise.
5139 * conform/data/sys/shm.h-data: Likewise.
5140 * conform/data/sys/socket.h-data: Likewise.
5141 * conform/data/sys/stat.h-data: Likewise.
5142 * conform/data/sys/statvfs.h-data: Likewise.
5143 * conform/data/sys/time.h-data: Likewise.
5144 * conform/data/sys/timeb.h-data: Likewise.
5145 * conform/data/sys/times.h-data: Likewise.
5146 * conform/data/sys/types.h-data: Likewise.
5147 * conform/data/sys/uio.h-data: Likewise.
5148 * conform/data/sys/un.h-data: Likewise.
5149 * conform/data/sys/utsname.h-data: Likewise.
5150 * conform/data/sys/wait.h-data: Likewise.
5151 * conform/data/syslog.h-data: Likewise.
5152 * conform/data/tar.h-data: Likewise.
5153 * conform/data/termios.h-data: Likewise.
5154 * conform/data/utime.h-data: Likewise.
5155 * conform/data/utmpx.h-data: Likewise.
5156 * conform/data/varargs.h-data: Likewise.
5157 * conform/data/wchar.h-data: Likewise.
5158 * conform/data/wctype.h-data: Likewise.
5159 * conform/data/wordexp.h-data: Likewise.
5160
5161 * include/stropts.h: New file.
5162 * include/uchar.h: New file.
5163 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5164 * include/assert.h: Likewise.
5165 * include/ctype.h: Likewise.
5166 * include/dirent.h: Likewise.
5167 * include/dlfcn.h: Likewise.
5168 * include/fcntl.h: Likewise.
5169 * include/fnmatch.h: Likewise.
5170 * include/glob.h: Likewise.
5171 * include/grp.h: Likewise.
5172 * include/libio.h: Likewise.
5173 * include/locale.h: Likewise.
5174 * include/math.h: Likewise.
5175 * include/net/if.h: Likewise.
5176 * include/netdb.h: Likewise.
5177 * include/netinet/in.h: Likewise.
5178 * include/pthread.h: Likewise.
5179 * include/pwd.h: Likewise.
5180 * include/regex.h: Likewise.
5181 * include/sched.h: Likewise.
5182 * include/search.h: Likewise.
5183 * include/setjmp.h: Likewise.
5184 * include/signal.h: Likewise.
5185 * include/stdio.h: Likewise.
5186 * include/stdlib.h: Likewise.
5187 * include/string.h: Likewise.
5188 * include/sys/cdefs.h: Likewise.
5189 * include/sys/mman.h: Likewise.
5190 * include/sys/msg.h: Likewise.
5191 * include/sys/resource.h: Likewise.
5192 * include/sys/select.h: Likewise.
5193 * include/sys/socket.h: Likewise.
5194 * include/sys/stat.h: Likewise.
5195 * include/sys/statvfs.h: Likewise.
5196 * include/sys/time.h: Likewise.
5197 * include/sys/times.h: Likewise.
5198 * include/sys/uio.h: Likewise.
5199 * include/sys/utsname.h: Likewise.
5200 * include/sys/wait.h: Likewise.
5201 * include/termios.h: Likewise.
5202 * include/time.h: Likewise.
5203 * include/ulimit.h: Likewise.
5204 * include/unistd.h: Likewise.
5205 * include/utime.h: Likewise.
5206 * include/wchar.h: Likewise.
5207 * include/wctype.h: Likewise.
5208 * include/wordexp.h: Likewise.
5209
5210 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5211
7a270350
UD
5212 * time/time.h: TIME_UTC must be a macro.
5213 Make timespec_get available for ISO C11 only as well.
5214
7724defc
UD
52152012-02-24 Ulrich Drepper <drepper@gmail.com>
5216
5217 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5218 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5219
6b1d1d46
JM
52202012-02-24 Joseph Myers <joseph@codesourcery.com>
5221
5222 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5223
0f8bbd69
JM
52242012-02-24 Joseph Myers <joseph@codesourcery.com>
5225
5226 * manual/texinfo.tex: Update to version 2012-01-19.16.
5227
66ab80bc
JM
52282012-02-24 Joseph Myers <joseph@codesourcery.com>
5229
5230 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5231
74981cc5
RM
52322012-02-24 Roland McGrath <roland@hack.frob.com>
5233
ee968201
RM
5234 [BZ #13738]
5235 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5236 * manual/fdl-1.3.texi: New file.
5237 * manual/fdl-1.1.texi: File removed.
5238
74981cc5
RM
5239 [BZ #13738]
5240 * manual/libc.texinfo (FDL_VERSION): New @set.
5241 Use it for mention of FDL in cover text.
5242 (Documentation License): Use it in @include file name.
5243
7bb764bc
JM
52442012-02-22 Joseph Myers <joseph@codesourcery.com>
5245 Roland McGrath <roland@hack.frob.com>
5246
5247 [BZ #5461]
5248 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5249 not LONG_LONG_MAX and LONG_LONG_MIN.
5250 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5251 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5252 name.
5253 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5254
6cbeae47
JM
52552012-02-22 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #2547]
5258 [BZ #11365]
5259 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5260 manipulate bits before adding and subtracting TWO23[sx].
5261 * math/libm-test.inc (nearbyint_test): Add more tests.
5262
fe45ce09
JM
52632012-02-22 Joseph Myers <joseph@codesourcery.com>
5264
5265 [BZ #2548]
5266 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5267 bits before adding and subtracting TWO23[sx].
5268 * math/libm-test.inc (rint_test): Add more tests.
5269 (rint_test_tonearest): Likewise.
5270 (rint_test_towardzero): Likewise.
5271 (rint_test_downward): Likewise.
5272 (rint_test_upward: Likewise.
5273
ff3b3d82
JM
52742012-02-22 Joseph Myers <joseph@codesourcery.com>
5275
5276 [BZ #10110]
5277 * include/stdc-predef.h: New file. Extracted from features.h.
5278 * include/features.h: Include stdc-predef.h.
5279 * Makefile (headers): Add stdc-predef.h.
5280 * CONFORMANCE (Compiler limitations): Update.
5281
ef0aab35
JM
52822012-02-22 Joseph Myers <joseph@codesourcery.com>
5283
5284 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5285
58639409
DM
52862012-02-21 David S. Miller <davem@davemloft.net>
5287
5288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5290
c0e70b25
DM
52912012-02-20 David S. Miller <davem@davemloft.net>
5292
5293 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5294 using a normal save/restore sequence, rather than allocating a
5295 dummy stack frame just to store a frame pointer and restore.
5296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5297
fb06851d
JM
52982012-02-21 Joseph Myers <joseph@codesourcery.com>
5299
5300 * manual/install.texi: Fix stray word in line-wrapped comment.
5301
7a8b71c3
DM
53022012-02-20 David S. Miller <davem@davemloft.net>
5303
d510c123
DM
5304 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5305 both binutils and gcc support GOTDATA.
5306
0722d7c2
DM
5307 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5308 "rd %pc" in the PIC register setup sequences.
5309
3d2b3019
DM
5310 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5311 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5312 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5313 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5314 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5319 (SYSCALL_ERROR_HANDLER): Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5321 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5323 (SYSCALL_ERROR_HANDLER): Likewise.
5324
c80098a9
DM
5325 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5326 (HAVE_GCC_GOTDATA): New.
5327 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5328 relocation support in both binutils and gcc.
5329 * sysdeps/sparc/elf/configure: Regenerate.
5330
3a2545a0
DM
5331 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5332 * sysdeps/sparc/sparc32/elf/configure: Delete.
5333 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5334 * sysdeps/sparc/sparc64/elf/configure: Delete.
5335 * sysdeps/sparc/elf/configure.in: New file.
5336 * sysdeps/sparc/elf/configure: Generate.
5337
7a8b71c3
DM
5338 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5339 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5340 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5341 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5342 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5343
f1e86fca
JM
53442012-02-21 Joseph Myers <joseph@codesourcery.com>
5345
5346 * manual/install.texi: Do not mention specific glibc version
5347 numbers.
5348 * manual/libc.texinfo (VERSION, UPDATED): Update.
5349 (@copying): Use @copyright{} and range of years.
5350
0e7dfaef
JM
53512012-02-21 Joseph Myers <joseph@codesourcery.com>
5352
5353 [BZ #13695]
5354 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5355 [crti.S not in sysdirs] (generated): Do not append.
5356 [crti.S not in sysdirs] (omit-deps): Likewise.
5357 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5358 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5359 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5360 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5361 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5362 Likewise.
5363 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5364 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5365 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5366 * csu/defs.awk: Remove file.
5367 * sysdeps/generic/initfini.c: Likewise.
5368 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5369 variable.
5370 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5371 Likewise.
5372
599af3ca
JM
53732012-02-20 Joseph Myers <joseph@codesourcery.com>
5374
5375 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5376 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5377 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5379 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5380 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5381 <bits/epoll.h>.
5382 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5383 (__EPOLL_PACKED): Define to empty if not defined by
5384 <bits/epoll.h>.
5385 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5387 bits/epoll.h.
5388
0e499750
JM
53892012-02-20 Joseph Myers <joseph@codesourcery.com>
5390
5391 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5392 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5393 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5394 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5395 <bits/timerfd.h>.
5396 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5398 bits/timerfd.h.
5399
5ad91f6e
JM
54002012-02-20 Joseph Myers <joseph@codesourcery.com>
5401
5402 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5403 in C locale.
5404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5408
06b99b02
AJ
54092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5410
5411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5413
7638c0fd
AS
54142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5415
5416 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5417 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5418 defined.
5419 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5420 Likewise.
5421 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5422 entry for 2.16.
5423
92221550
AJ
54242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5425
5426 * math/w_acos.c: Use non-signaling floating-point comparisons.
5427 * math/w_acosf.c: Likewise.
5428 * math/w_acosh.c: Likewise.
5429 * math/w_acoshf.c: Likewise.
5430 * math/w_acoshl.c: Likewise.
5431 * math/w_acosl.c: Likewise.
5432 * math/w_asin.c: Likewise.
5433 * math/w_asinf.c: Likewise.
5434 * math/w_asinl.c: Likewise.
5435 * math/w_atanh.c: Likewise.
5436 * math/w_atanhf.c: Likewise.
5437 * math/w_atanhl.c: Likewise.
5438 * math/w_exp2.c: Likewise.
5439 * math/w_exp2f.c: Likewise.
5440 * math/w_exp2l.c: Likewise.
5441 * math/w_j0.c: Likewise.
5442 * math/w_j0f.c: Likewise.
5443 * math/w_j0l.c: Likewise.
5444 * math/w_j1.c: Likewise.
5445 * math/w_j1f.c: Likewise.
5446 * math/w_j1l.c: Likewise.
5447 * math/w_jn.c: Likewise.
5448 * math/w_jnf.c: Likewise.
5449 * math/w_log.c: Likewise.
5450 * math/w_log10.c: Likewise.
5451 * math/w_log10f.c: Likewise.
5452 * math/w_log10l.c: Likewise.
5453 * math/w_log2.c: Likewise.
5454 * math/w_log2f.c: Likewise.
5455 * math/w_log2l.c: Likewise.
5456 * math/w_logf.c: Likewise.
5457 * math/w_logl.c: Likewise.
5458 * math/w_sqrt.c: Likewise.
5459 * math/w_sqrtf.c: Likewise.
5460 * math/w_sqrtl.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5462 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5463 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5464 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5465 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5466
ebaf36eb
JM
54672012-02-19 Joseph Myers <joseph@codesourcery.com>
5468
5469 [BZ #9739]
5470 * manual/string.texi (strnlen): Use correct parameter name in
5471 equivalent expression.
5472
71c254a6
JM
54732012-02-19 Joseph Myers <joseph@codesourcery.com>
5474
5475 [BZ #11174]
5476 * manual/users.texi (seteuid): Consistently use neweuid for
5477 argument name.
5478
16d2c631
JM
54792012-02-19 Joseph Myers <joseph@codesourcery.com>
5480
5481 [BZ #13704]
5482 * manual/nss.texi (Services in the NSS configuration): Correct
5483 list of services in example configuration file.
5484
cd837b09
NB
54852012-02-19 Nick Bowler <nbowler@draconx.ca>
5486
5487 [BZ #11322]
5488 * manual/arith.texi: Remove statements about negative zero
5489 behaving identically to zero.
5490
02c4bbad
JM
54912012-02-18 Joseph Myers <joseph@codesourcery.com>
5492
5493 [BZ #5993]
5494 * manual/install.texi: Do not document upgrading from libc5.
5495
366842e7
JM
54962012-02-18 Joseph Myers <joseph@codesourcery.com>
5497
5498 [BZ #4596]
5499 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5500
dd54084d
DM
55012012-02-18 David S. Miller <davem@davemloft.net>
5502
5503 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5504 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5505 %o7 across the call.
5506 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5507 instead.
5508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5509 SETUP_PIC_REG_LEAF.
5510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5511 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5512 * sysdeps/sparc/crtn.S: Likewise.
5513
2bcc53a3
UD
55142012-02-17 Ulrich Drepper <drepper@gmail.com>
5515
5516 * aout/Makefile: Remove.
5517
09c093b5
RK
55182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5519
5520 [BZ #13058]
5521 * manual/examples/argp-ex1.c (main): Format definition in GNU
5522 style.
5523 * manual/examples/argp-ex2.c (main): Likewise.
5524 * manual/examples/argp-ex3.c (main): Likewise.
5525 * manual/examples/argp-ex4.c (main): Likewise.
5526 * manual/examples/longopt.c (main): Use new-style prototype
5527 definition.
5528 * manual/examples/strncat.c (main): Specify return type and use
5529 (void) for arguments.
5530 * manual/examples/subopt.c (main): Use char **argv argument.
5531
2ee633a2
JM
55322012-02-17 Joseph Myers <joseph@codesourcery.com>
5533
5534 [BZ #5077]
5535 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5536 rounding modes.
5537
0520adde
FB
55382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5539
5540 [BZ #6907]
5541 * manual/string.texi (strchr): Change when strchrnul is
5542 recommended.
5543
3f4081cd
DGM
55442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5545
5546 [BZ #174]
5547 * manual/locale.texi (setlocale): Document LOCPATH.
5548
d1b10e78
JM
55492012-02-17 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #10210]
5552 * manual/process.texi (execle): Move @dots{} before last argument.
5553
79c6869c
PB
55542012-02-17 Paul Bolle <pebolle@tiscali.nl>
5555
5556 [BZ #12047]
5557 * manual/charset.texi (Generic Charset Conversion): Fix typo
5558 (LC_TYPE -> LC_CTYPE).
5559
cc6e48bc
NB
55602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5561
5562 [BZ #5805]
5563 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5564 (scalbnf): Likewise.
5565 (scalbnl): Likewise.
5566 (scalbln): Likewise.
5567 (scalblnf): Likewise.
5568 (scalblnl): Likewise.
5569 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5570 (vwarnx): Likewise.
5571 (verr): Likewise.
5572 (verrx): Likewise.
5573 * manual/filesys.texi (telldir): Use braces around return type.
5574 * manual/llio.texi (mmap): Add space after comma.
5575 (mmap64): Likewise.
5576 * manual/math.texi (jn): Use @var{} on parameter names.
5577 (jnf): Likewise.
5578 (jnl): Likewise.
5579 (yn): Likewise.
5580 (ynf): Likewise.
5581 (ynl): Likewise.
5582 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5583 line.
5584 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5585 "...".
5586 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5587 (sched_get_priority_max): Likewise.
5588 * manual/signal.texi (sigvec): Add space after comma.
5589 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5590 names.
5591 (if_indextoname): Likewise.
5592 (if_freenameindex): Likewise.
5593 (sendto): Use ',' instead of '.' in prototype.
5594 * manual/startup.texi (syscall): Use @dots{} instead of literal
5595 "...".
5596 * manual/stdio.texi (__fpending): Separate initial words of
5597 paragraph from @deftypefun line.
5598 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5599 "...".
5600 (vsyslog): Use @var{} on parameter names.
5601 * manual/terminal.texi (stty): Use @var{} on parameter names.
5602 * manual/users.texi (getutmp): Use @var{} on parameter names.
5603 (getutmpx): Likewise.
5604
5b23062f
JM
56052012-02-17 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #6884]
5608 * manual/stdio.texi (fopen): Fix typos in description of
5609 ",ccs=STRING".
5610
8dee4833
AJ
56112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5612
5613 [BZ #4026]
5614 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5615 get clock_id definition.
5616
9078ce93
TS
56172012-02-17 Thomas Schwinge <thomas@schwinge.name>
5618
5619 [BZ #4822]
5620 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5621 (madvise): Cast every argument to void on its own.
5622
3835c55f
JM
56232012-02-17 Joseph Myers <joseph@codesourcery.com>
5624
5625 [BZ #9902]
5626 * manual/startup.texi (Exit Status): Fix typo.
5627
35c47e37
JM
56282012-02-17 Joseph Myers <joseph@codesourcery.com>
5629
5630 [BZ #10140]
5631 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5632 * manual/examples/argp-ex2.c: Likewise.
5633 * manual/examples/argp-ex3.c: Likewise.
5634
e3b69ca7
RH
56352012-02-16 Richard Henderson <rth@redhat.com>
5636
5637 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5638 * sysdeps/s390/s390-32/initfini.c: Remove.
5639 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5640 * sysdeps/s390/s390-64/initfini.c: Remove.
5641
df83af67
KK
56422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5643
5644 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5645 compiler output for sysdeps/generic/initfini.c.
5646 * sysdeps/sh/elf/initfini.c: Remove file.
5647
f63f3380
DM
56482012-02-16 David S. Miller <davem@davemloft.net>
5649
fb59b3a4
DM
5650 [BZ #11494]
5651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5652
f63f3380
DM
5653 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5654 * sysdeps/sparc/crti.S: New file.
5655 * sysdeps/sparc/crtn.S: New file.
5656 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5657 * sysdeps/sparc/sparc64/Makefile: Likewise.
5658
df6a4a4a
MF
56592012-02-15 Mike Frysinger <vapier@gentoo.org>
5660
6dd8f3dc 5661 [BZ #3335]
df6a4a4a
MF
5662 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5663
1cac7236
RM
56642012-02-15 Roland McGrath <roland@hack.frob.com>
5665
d2c736f8
RM
5666 [BZ #4822]
5667 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5668
1cac7236
RM
5669 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5670 (write, read, close): Likewise.
5671 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5672
8e475601
JM
56732012-02-15 Joseph Myers <joseph@codesourcery.com>
5674
5675 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5676 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5678 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5679 <bits/signalfd.h>.
5680 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5682 bits/signalfd.h.
5683
ed656b40
MP
56842012-02-14 Marek Polacek <polacek@redhat.com>
5685
5686 * sysdeps/x86_64/crti.S: New file.
5687 * sysdeps/x86_64/crtn.S: New file.
5688 * sysdeps/x86_64/elf/initfini.c: Remove file.
5689
2a979d3a
JM
56902012-02-13 Joseph Myers <joseph@codesourcery.com>
5691
5692 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5693 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5695 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5696 <bits/inotify.h>.
5697 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5699 bits/inotify.h.
5700
2a418ac3
JM
57012012-02-13 Joseph Myers <joseph@codesourcery.com>
5702
5703 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5704 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5706 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5707 <bits/eventfd.h>.
5708 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5710 bits/eventfd.h.
5711
fb779be7
TS
57122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5713
e19e83c5
RM
5714 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5715 __feraiseexcept instead of feraiseexcept.
7c35ffed 5716
fb779be7
TS
5717 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5718 nanosleep invocations.
5719 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5720 strings, and add error checking for a nanosleep invocations.
5721
59ba27a6
PE
57222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5723
5724 Replace FSF snail mail address with URLs, as per GNU coding standards.
5725 Most of the snail mail addresses were wrong anyway, and omitting
5726 them makes the source code easier to maintain. Almost all of the
5727 changes are to license notices and to locale LC_IDENTIFICATION
5728 addresses, except for this one:
5729 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5730 not its snail mail address.
5731
57b957eb
RH
57322012-02-09 Richard Henderson <rth@twiddle.net>
5733
af850b1c
RH
5734 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5735 of kernel-features.h.
5736
57b957eb
RH
5737 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5738
6b73181a
MP
57392012-02-08 Marek Polacek <polacek@redhat.com>
5740
5741 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5742 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5743 * sysdeps/gnu/_G_config.h: Likewise.
5744 * sysdeps/generic/_G_config.h: Likewise.
5745
26ecc33a
AS
57462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5747
6c6dbc63
AS
5748 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5749 tests.
5750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5751
e216c012
AS
5752 * sysdeps/powerpc/powerpc32/crti.S: New file.
5753 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5754 * sysdeps/powerpc/powerpc64/crti.S: New file.
5755 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5756
26ecc33a
AS
5757 * Makeconfig (have-initfini): Don't set.
5758 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5759 * configure.in (nopic_initfini): Don't substitute.
5760 * config.h.in (HAVE_INITFINI): Don't #undef.
5761 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5762 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5763
3add8e13
JM
57642012-02-08 Joseph Myers <joseph@codesourcery.com>
5765
5766 Support crti.S and crtn.S provided directly by architectures.
5767 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5768 [crti.S in sysdirs] (omit-deps): Likewise.
5769 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5770 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5771 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5772 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5773 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5774 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5775 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5776 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5777 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5778 compiler output for sysdeps/generic/initfini.c.
5779 * sysdeps/i386/elf/Makefile: Remove file.
5780 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5781
a22f12b4
MP
57822012-02-07 Marek Polacek <polacek@redhat.com>
5783
5784 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5785 * sysdeps/gnu/_G_config.h: Likewise.
5786 * sysdeps/mach/hurd/_G_config.h: Likewise.
5787
148cf100
MP
57882012-02-07 Marek Polacek <polacek@redhat.com>
5789
5790 * math/Makefile (tests): Add tst-CMPLX2.
5791 * math/tst-CMPLX2.c: New file.
5792
cfdc0dd7
AS
57932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5794
84ba42c4
AS
5795 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5796
cfdc0dd7
AS
5797 * math/libm-test.inc (jn_test): Add missing L suffix.
5798
622c86f4
MP
57992012-02-06 Marek Polacek <polacek@redhat.com>
5800
5801 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5802 * sysdeps/i386/fpu/e_powf.S: Likewise.
5803 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5804 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5805 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5806 * sysdeps/i386/fpu/e_pow.S: Likewise.
5807 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5808 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5809 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5810 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5811 * sysdeps/i386/fpu/e_log2.S: Likewise.
5812 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5813 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5814 * sysdeps/i386/fpu/e_powl.S: Likewise.
5815 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5817 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5818 * sysdeps/i386/fpu/e_logl.S: Likewise.
5819 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5820 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5821 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5822 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5823 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5825 * sysdeps/i386/fpu/e_log.S: Likewise.
5826 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5827 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5828 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5829 * sysdeps/i386/fpu/e_logf.S: Likewise.
5830 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5832 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5833 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5835 * sysdeps/i386/fpu/e_log10.S: Likewise.
5836 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5838 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5839 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5840 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5841 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5842 * sysdeps/i386/asm-syntax.h: Likewise.
5843 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5844 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5845 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5846 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5847 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5848 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5849 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5850 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5852 * sysdeps/powerpc/sysdep.h: Likewise.
5853 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5854 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5855
d4a54ac6
JM
58562012-02-06 Joseph Myers <joseph@codesourcery.com>
5857
5858 [BZ #411]
5859 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5860
314054ea
JM
58612012-02-06 Joseph Myers <joseph@codesourcery.com>
5862
5863 * sysdeps/i386/sysdep.h: Include <features.h>.
5864 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5865 version.
5866
d8e0ca50
JM
58672012-02-05 Joseph Myers <joseph@codesourcery.com>
5868
5869 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5870 Define.
5871 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5872 LOAD_PIC_REG_STR.
5873
b1da7dd9
JM
58742012-02-03 Joseph Myers <joseph@codesourcery.com>
5875
5876 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5877 (SETUP_PIC_REG): Use GET_PC_THUNK.
5878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5879 macro.
5880
9a1d9254
JM
58812012-02-03 Joseph Myers <joseph@codesourcery.com>
5882
5883 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5884 for non-PIC compilation.
5885 (SETUP_PIC_REG): Add .p2align directive.
5886 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5887 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5890 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5891 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5892 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5894 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5895 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5896 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5897 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5898 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5899 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5900 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5901 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5902 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5903 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5904 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5905 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5908 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5909 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5913 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5914 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5915 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5916 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5917 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5918 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5919 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5920 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5921 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5923 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5924 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5926 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5927
65dc3b75
JM
59282012-02-03 Joseph Myers <joseph@codesourcery.com>
5929
5930 * math/tst-CMPLX.c: Include <stdio.h>.
5931
d55bf177
JM
59322012-01-31 Joseph Myers <joseph@codesourcery.com>
5933
5934 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5935 float.
5936 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5937 * sysdeps/sparc/bits/mathdef.h: Likewise.
5938
69db4f8f
MP
59392012-01-31 Marek Polacek <polacek@redhat.com>
5940
5941 * libio/libio.h: Don't define _PARAMS.
5942 * locale/programs/config.h: Don't define PARAMS.
5943 * stdlib/strtol_l.c: Likewise.
5944 (__strtol_l): Remove PARAMS from the prototype.
5945
41b81892
UD
59462012-01-31 Ulrich Drepper <drepper@gmail.com>
5947
3b49edc0
UD
5948 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5949 names. Just use the correct names. Remove unnecessary wrapper
5950 functions.
5951 * malloc/arena.c: Likewise.
5952 * malloc/hooks.c: Likewise.
5953
41b81892
UD
5954 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5955 ARENA_TEST says not to. Simplify test for creation of a new arena.
5956 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5957
27a25b6e
UD
59582012-01-30 Ulrich Drepper <drepper@gmail.com>
5959
5960 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5961 into tail calls.
5962 (update_get_addr): New function.
5963 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5964 GET_ADDR_MODULE parameter.
5965
c8a89e7d
JM
59662012-01-30 Joseph Myers <joseph@codesourcery.com>
5967
5968 * crypt/cert.c: Remove __STDC__ conditionals.
5969 * crypt/crypt-entry.c: Likewise.
5970 * crypt/crypt_util.c: Likewise.
5971 * libio/filedoalloc.c: Likewise.
5972 * libio/fileops.c: Likewise.
5973 * libio/genops.c: Likewise.
5974 * libio/iofclose.c: Likewise.
5975 * libio/iofdopen.c: Likewise.
5976 * libio/iofopen.c: Likewise.
5977 * libio/iofopen64.c: Likewise.
5978 * libio/iogetdelim.c: Likewise.
5979 * libio/iopopen.c: Likewise.
5980 * libio/obprintf.c: Likewise.
5981 * libio/oldfileops.c: Likewise.
5982 * libio/oldiofclose.c: Likewise.
5983 * libio/oldiofdopen.c: Likewise.
5984 * libio/oldiofopen.c: Likewise.
5985 * libio/oldiopopen.c: Likewise.
5986 * libio/wfiledoalloc.c: Likewise.
5987 * libio/wgenops.c: Likewise.
5988 * locale/programs/xmalloc.c: Likewise.
5989 * misc/syslog.c: Likewise.
5990 * stdio-common/xbug.c: Likewise.
5991 * string/memchr.c: Likewise.
5992 * string/memcmp.c: Likewise.
5993 * string/memrchr.c: Likewise.
5994 * string/rawmemchr.c: Likewise.
5995 * sysdeps/posix/getcwd.c: Likewise.
5996 * time/strftime_l.c: Likewise.
5997
3b100462
JM
59982012-01-30 Joseph Myers <joseph@codesourcery.com>
5999
6000 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6001 * config.make.in (config-cflags-sse2avx): Define.
6002 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6003 Fix typo.
6004
607998af
CM
60052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6006
6007 * scripts/config.guess: Update from upstream config git repository.
6008 * scripts/config.sub: Likewise.
6009
3601428f
CM
60102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6011
3ac8b282
CM
6012 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6013 (EM_NUM): Update.
6014 (R_TILEPRO_*, R_TILEGX_*): New macros.
6015
e034841e
CM
6016 * scripts/firstversions.awk: Fix bug in version range handling.
6017
540d7568
CM
6018 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6019
3601428f
CM
6020 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6021
463de862
CM
6022 * include/sys/epoll.h: New file.
6023 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6024 libc_hidden_def.
6025
73139a76
UD
60262012-01-28 Ulrich Drepper <drepper@gmail.com>
6027
96bc5b45
UD
6028 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6029 Avoid unnecessary __WORDSIZE == 64 test.
6030 (fmaxf): Use VEX format if possible.
6031 (fmax): Likewise.
6032 (fminf): Likewise.
6033 (fmin): Likewise.
6034
56f6f6a2
UD
6035 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6036 * math/math_private.h: Remove libc_fegetround* and
6037 libc_fesetround*.
6038 * sysdeps/i386/configure.in: Check for -msse2avx.
6039 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6040 also if SSE2AVX is defined.
6041 Remove libc_fegetround* and libc_fesetround*.
6042 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6043 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6044 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6045 of HAS_YMM_USABLE.
6046 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6047 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6048 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6049 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6051
73139a76
UD
6052 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6053
d73f93a4
AZ
60542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055
6056 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6057 size is not set.
6058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6059
6ee65ed6
UD
60602012-01-27 Ulrich Drepper <drepper@gmail.com>
6061
6062 [BZ #13618]
6063 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6064 relocation.
6065 * Makeconfig (libm): Define.
6066 * elf/Makefile: Add rules to build and run tst-relsort1.
6067 * elf/tst-relsort1.c: New file.
6068 * elf/tst-relsort1mod1.c: New file.
6069 * elf/tst-relsort1mod2.c: New file.
6070
8db21882
JM
60712012-01-27 Joseph Myers <joseph@codesourcery.com>
6072
6073 * math/s_ldexp.c: Remove __STDC__ conditionals.
6074 * math/s_ldexpf.c: Likewise.
6075 * math/s_ldexpl.c: Likewise.
6076 * math/s_nextafter.c: Likewise.
6077 * math/s_nexttowardf.c: Likewise.
6078 * math/s_significand.c: Likewise.
6079 * math/s_significandf.c: Likewise.
6080 * math/s_significandl.c: Likewise.
6081 * math/w_jnl.c: Likewise.
6082 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6083 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6084 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6085 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6086 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6104 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6105 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6106 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6107 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6108 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6109 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6110 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6111 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6112 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6113 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6118 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6122 * sysdeps/ieee754/k_standard.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6184 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6195 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6198 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6202 * sysdeps/ieee754/s_matherr.c: Likewise.
6203 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6204 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6207
965a54a4
JM
62082012-01-26 Joseph Myers <joseph@codesourcery.com>
6209
6210 * crypt/md5.h: Remove __STDC__ conditionals.
6211 * libio/libioP.h: Likewise.
6212 * locale/programs/config.h: Likewise.
6213 * sysdeps/generic/sysdep.h: Likewise.
6214 * sysdeps/i386/asm-syntax.h: Likewise.
6215 * sysdeps/s390/asm-syntax.h: Likewise.
6216 * sysdeps/unix/sysdep.h: Likewise.
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6219
7071ad79
JM
62202012-01-26 Joseph Myers <joseph@codesourcery.com>
6221
6222 * libio/libio.h: Remove __STDC__ conditionals.
6223 * malloc/obstack.h: Likewise.
6224 * math/complex.h: Likewise.
6225 * math/math.h: Likewise.
6226 * sysdeps/generic/_G_config.h: Likewise.
6227 * sysdeps/gnu/_G_config.h: Likewise.
6228 * sysdeps/mach/hurd/_G_config.h: Likewise.
6229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6230 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6231 * sysdeps/sparc/bits/mathdef.h: Likewise.
6232
afc5ed09
UD
62332012-01-26 Ulrich Drepper <drepper@gmail.com>
6234
6235 [BZ #13583]
6236 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6237 Clean up HAS_* macros.
afc5ed09 6238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6239 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6240 possible.
6241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6242 HAS_AVX.
6243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6248
bdb6de1d
JM
62492012-01-25 Joseph Myers <joseph@codesourcery.com>
6250
6251 * elf/tst-unique3.cc (gets): Remove declaration.
6252 * elf/tst-unique3lib.cc (gets): Likewise.
6253 * elf/tst-unique3lib2.cc (gets): Likewise.
6254 * elf/tst-unique4.cc (gets): Likewise.
6255
b15549e6
UD
62562012-01-24 Ulrich Drepper <drepper@gmail.com>
6257
6258 * include/stdio.h: Add C++ protection. Add gets declarations and
6259 definitions.
6260 * debug/tst-chk1.c: Don't declare gets here.
6261 * stdio-common/tst-gets.c: Likewise.
6262
a037381f
JM
62632012-01-24 Joseph Myers <joseph@codesourcery.com>
6264
6265 * posix/glob: Remove directory.
6266
f1d4aa75
JM
62672012-01-24 Joseph Myers <joseph@codesourcery.com>
6268
6269 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6270
81c0c964
PT
62712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6272
6273 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6274 of the non-standard EPFNOSUPPORT.
6275
0ea698ae
ST
62762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6277
6278 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6279 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6280 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6281
d220b117
UD
62822012-01-21 Ulrich Drepper <drepper@gmail.com>
6283
6284 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6285
3e1aa84e
UD
62862012-01-20 Ulrich Drepper <drepper@gmail.com>
6287
6288 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6289 transient errors.
6290 * nscd/grpcache.c (cache_addgr): Likewise.
6291 * nscd/hstcache.c (cache_addhst): Likewise.
6292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6293 * nscd/pwdcache.c (cache_addpw): Likewise.
6294 * nscd/servicescache.c (cache_addserv): Likewise.
6295
400aa020
UD
62962012-01-16 Ulrich Drepper <drepper@gmail.com>
6297
d77e7869
UD
6298 * malloc/malloc.c: Various cleanups.
6299 * malloc/hooks.c: Likewise.
6300
400aa020
UD
6301 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6302 * stdlib/bug-fmtmsg1.c: New file.
6303
6304 * stdlib/fmtmsg.c (init): Add missing unlock.
6305 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6306
e0a309cf
MP
63072012-01-12 Marek Polacek <polacek@redhat.com>
6308
6309 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6310 and _GNU_SOURCE.
6311
929d11c7
WS
63122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6313
6314 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6315 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6316 macro to ensure uniqueness of label name.
6317 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6318 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6319
41d0e869
UD
63202012-01-11 Ulrich Drepper <drepper@gmail.com>
6321
0cc5ed3b
UD
6322 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6323
41d0e869
UD
6324 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6325 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6328
a47a831a
UD
63292012-01-10 Ulrich Drepper <drepper@gmail.com>
6330
daa891c0
UD
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6332
6333 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6334 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6335 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6336
e58ef0f2
UD
6337 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6338
a47a831a 6339 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6340 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6343
6344 * math/bits/math-finite.h: Add ldexp support.
6345
a0bfc9c7
MP
63462012-01-10 Marek Polacek <polacek@redhat.com>
6347
6348 * locale/programs/localedef.h (show_archive_content): Add noreturn
6349 attribute.
6350
d6e97a1d
UD
63512012-01-09 Ulrich Drepper <drepper@gmail.com>
6352
6353 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6354
d5835c26
UD
63552012-01-08 Ulrich Drepper <drepper@gmail.com>
6356
e5f484c6
UD
6357 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6358
d5835c26
UD
6359 * io/Makefile (headers): Add bits/poll2.h.
6360
d1f741e9
WS
63612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6362
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6364 typo #include statement.
6365
ec09c1c4
UD
63662012-01-08 Ulrich Drepper <drepper@gmail.com>
6367
6368 * include/sys/cdefs.h: Define __attribute_alloc_size.
6369 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6370 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6371 * elf/pldd.c: Likewise.
6372 * iconv/iconv_charmap.c: Likewise.
6373 * iconv/iconvconfig.c: Likewise.
6374 * iconv/strtab.c: Likewise.
6375 * locale/programs/locale.c: Likewise.
6376 * locale/programs/localedef.h: Likewise.
6377 * locale/programs/simple-hash.c: Likewise.
6378 * nscd/nscd.h: Likewise.
6379 * nss/makedb.c: Likewise.
6380 * sysdeps/generic/ldconfig.h: Likewise.
6381 * locale/programs/localedef.c: Remove xmalloc prototype.
6382 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6383
20b38e03
PP
63842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6385
6386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6387 appropriate.
6388
a0da5fe1
UD
63892012-01-08 Ulrich Drepper <drepper@gmail.com>
6390
1d5a644a 6391 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6392 * math/tst-CMPLX.c: New file.
1d5a644a 6393
8784a6db
UD
6394 * math/complex.h (CMPLXL): Fix typo.
6395
d9a216c0
UD
6396 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6397 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6398 GLIBC_2.16.
6399 * debug/tst-chk1.c: Add poll and ppoll tests.
6400 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6401 * include/sys/poll.h: Add hidden proto for ppoll.
6402 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6403 * sysdeps/mach/hurd/ppoll.c: Likewise.
6404 * io/ppoll.c: Likewise.
6405 * debug/poll_chk.c: New file.
6406 * debug/ppoll_chk.c: New file.
6407 * include/bits/poll2.h: New file.
6408 * io/bits/poll2.h: New file.
6409
ac097f5c
UD
6410 [BZ #1350]
6411 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6412
2119dcfa
UD
6413 * configure.in: static is always set to yes. Remove.
6414 * config.make.in: Don't set build-static.
6415 * Makeconfig: Remove use of build-static.
6416 * dlfcn/Makefile: Likewise.
6417 * elf/Makefile: Likewise.
6418 * math/Makefile: Likewise.
6419 * misc/Makefile: Likewise.
6420 * nptl/Makefile: Likewise.
6421 * sysdeps/mach/hurd/Makefile: Likewise.
6422
121766a9
UD
6423 * configure.in: PWD_P is not used anymore.
6424 * config.make.in: Remove PWD_P entry.
6425
51a1d39c 6426 * configure.in: Remove last remnants of RANLIB.
8720d066 6427 No need to check for signed size_t anymore.
215f4bdc
UD
6428 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6429 and IA-64.
3857022a 6430 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6431 * aclocal.m4: Likewise.
6432
d3ed7225
UD
6433 * wcsmbs/mbrtoc16.c: Implement using towc function.
6434 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6435 * wcsmbs/wcsmbsload.c: Likewise.
6436 * iconv/gconv_simple.c: Likewise.
6437 * iconv/gconv_int.h: Likewise.
6438 * iconv/gconv_builtin.h: Likewise.
6439 * iconv/iconv_prog.c: Remove CHAR16 handling.
6440
6441 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6442
6443 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6444
a0da5fe1
UD
6445 * configure.in: Remove --with-elf and --enable-bounded options.
6446 Dont set base_machine for ia64. More non-ELF conditions removed.
6447 Remove testing and setting of leading underscore information.
6448 * config.make.in (build-bounded): Set to no.
6449 * config.h.in: Remove NO_UNDERSCORES entry.
6450 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6451 them.
6452 * csu/start.c: Remove !NO_UNDERSCORE code.
6453 * locale/localeinfo.h: Likewise.
6454 * sysdeps/generic/machine-gmon.h: Likewise.
6455 * sysdeps/generic/sysdep.h: Likewise.
6456 * sysdeps/i386/sysdep.h: Likewise.
6457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6458 * sysdeps/mach/sysdep.h: Likewise.
6459 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6461 * sysdeps/sh/sysdep.h: Likewise.
6462 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6463 * sysdeps/unix/i386/sysdep.S: Likewise.
6464 * sysdeps/unix/sparc/start.c: Likewise.
6465 * sysdeps/unix/sparc/sysdep.S: Likewise.
6466 * sysdeps/unix/sparc/sysdep.h: Likewise.
6467 * sysdeps/unix/start.c: Likewise.
6468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6469 * sysdeps/x86_64/sysdep.h: Likewise.
6470
df78418a
UD
64712012-01-07 Ulrich Drepper <drepper@gmail.com>
6472
a784e502
UD
6473 [BZ #13553]
6474 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6475 for non-gcc.
6476 * argp/argp-fmtstream.h: Use const instead __const.
6477 * argp/argp.h: Likewise.
6478 * assert/assert.h: Likewise.
6479 * bits/fenv.h: Likewise.
6480 * bits/sched.h: Likewise.
6481 * bits/sigset.h: Likewise.
6482 * bits/sigthread.h: Likewise.
6483 * catgets/nl_types.h: Likewise.
6484 * conform/data/pthread.h-data: Likewise.
6485 * crypt/crypt-private.h: Likewise.
6486 * crypt/crypt.h: Likewise.
6487 * crypt/crypt_util.c: Likewise.
6488 * ctype/ctype.h: Likewise.
6489 * debug/execinfo.h: Likewise.
6490 * debug/mbsnrtowcs_chk.c: Likewise.
6491 * debug/mbsrtowcs_chk.c: Likewise.
6492 * debug/wcsnrtombs_chk.c: Likewise.
6493 * debug/wcsrtombs_chk.c: Likewise.
6494 * debug/wcstombs_chk.c: Likewise.
6495 * dirent/dirent.h: Likewise.
6496 * dlfcn/dlfcn.h: Likewise.
6497 * elf/neededtest4.c: Likewise.
6498 * grp/grp.h: Likewise.
6499 * gshadow/gshadow.h: Likewise.
6500 * iconv/gconv.h: Likewise.
6501 * iconv/gconv_int.h: Likewise.
6502 * iconv/gconv_simple.c: Likewise.
6503 * iconv/iconv.h: Likewise.
6504 * iconv/loop.c: Likewise.
6505 * iconv/skeleton.c: Likewise.
6506 * include/aio.h: Likewise.
6507 * include/aliases.h: Likewise.
6508 * include/argz.h: Likewise.
6509 * include/arpa/inet.h: Likewise.
6510 * include/assert.h: Likewise.
6511 * include/dirent.h: Likewise.
6512 * include/dlfcn.h: Likewise.
6513 * include/execinfo.h: Likewise.
6514 * include/fcntl.h: Likewise.
6515 * include/fenv.h: Likewise.
6516 * include/glob.h: Likewise.
6517 * include/grp.h: Likewise.
6518 * include/libintl.h: Likewise.
6519 * include/mntent.h: Likewise.
6520 * include/netdb.h: Likewise.
6521 * include/pwd.h: Likewise.
6522 * include/rpc/netdb.h: Likewise.
6523 * include/sched.h: Likewise.
6524 * include/search.h: Likewise.
6525 * include/shadow.h: Likewise.
6526 * include/signal.h: Likewise.
6527 * include/stdio.h: Likewise.
6528 * include/stdlib.h: Likewise.
6529 * include/string.h: Likewise.
6530 * include/sys/socket.h: Likewise.
6531 * include/sys/stat.h: Likewise.
6532 * include/sys/statfs.h: Likewise.
6533 * include/sys/statvfs.h: Likewise.
6534 * include/sys/syslog.h: Likewise.
6535 * include/sys/time.h: Likewise.
6536 * include/sys/uio.h: Likewise.
6537 * include/time.h: Likewise.
6538 * include/unistd.h: Likewise.
6539 * include/utmp.h: Likewise.
6540 * include/wchar.h: Likewise.
6541 * include/wctype.h: Likewise.
6542 * inet/aliases.h: Likewise.
6543 * inet/arpa/inet.h: Likewise.
6544 * inet/netinet/ether.h: Likewise.
6545 * inet/netinet/in.h: Likewise.
6546 * intl/libintl.h: Likewise.
6547 * io/bits/fcntl2.h: Likewise.
6548 * io/fcntl.h: Likewise.
6549 * io/ftw.h: Likewise.
6550 * io/sys/poll.h: Likewise.
6551 * io/sys/stat.h: Likewise.
6552 * io/sys/statfs.h: Likewise.
6553 * io/sys/statvfs.h: Likewise.
6554 * io/utime.h: Likewise.
6555 * libio/bits/stdio.h: Likewise.
6556 * libio/bits/stdio2.h: Likewise.
6557 * libio/libio.h: Likewise.
6558 * libio/libioP.h: Likewise.
6559 * libio/stdio.h: Likewise.
6560 * locale/lc-ctype.c: Likewise.
6561 * locale/locale.h: Likewise.
6562 * login/utmp.h: Likewise.
6563 * malloc/arena.c: Likewise.
6564 * malloc/malloc.c: Likewise.
6565 * malloc/malloc.h: Likewise.
6566 * malloc/mcheck.c: Likewise.
6567 * malloc/mtrace.c: Likewise.
6568 * math/bits/mathcalls.h: Likewise.
6569 * math/fenv.h: Likewise.
6570 * math/math_private.h: Likewise.
6571 * misc/bits/error.h: Likewise.
6572 * misc/bits/syslog.h: Likewise.
6573 * misc/err.h: Likewise.
6574 * misc/error.h: Likewise.
6575 * misc/fstab.h: Likewise.
6576 * misc/mntent.h: Likewise.
6577 * misc/regexp.h: Likewise.
6578 * misc/search.h: Likewise.
6579 * misc/sgtty.h: Likewise.
6580 * misc/sys/mman.h: Likewise.
6581 * misc/sys/syslog.h: Likewise.
6582 * misc/sys/uio.h: Likewise.
6583 * misc/sys/xattr.h: Likewise.
6584 * misc/ttyent.h: Likewise.
6585 * nis/rpcsvc/ypclnt.h: Likewise.
6586 * nss/nss.h: Likewise.
6587 * posix/bits/unistd.h: Likewise.
6588 * posix/fnmatch.h: Likewise.
6589 * posix/glob.h: Likewise.
6590 * posix/sched.h: Likewise.
6591 * posix/spawn.h: Likewise.
6592 * posix/sys/wait.h: Likewise.
6593 * posix/unistd.h: Likewise.
6594 * posix/wordexp.h: Likewise.
6595 * pwd/pwd.h: Likewise.
6596 * resolv/netdb.h: Likewise.
6597 * resource/sys/resource.h: Likewise.
6598 * rt/aio.h: Likewise.
6599 * rt/bits/mqueue2.h: Likewise.
6600 * rt/mqueue.h: Likewise.
6601 * shadow/shadow.h: Likewise.
6602 * signal/signal.h: Likewise.
6603 * socket/send.c: Likewise.
6604 * socket/sendto.c: Likewise.
6605 * socket/sys/socket.h: Likewise.
6606 * stdio-common/printf.h: Likewise.
6607 * stdlib/bits/stdlib.h: Likewise.
6608 * stdlib/fmtmsg.h: Likewise.
6609 * stdlib/monetary.h: Likewise.
6610 * stdlib/stdlib.h: Likewise.
6611 * stdlib/ucontext.h: Likewise.
6612 * streams/stropts.h: Likewise.
6613 * string/argz.h: Likewise.
6614 * string/bits/string2.h: Likewise.
6615 * string/string.h: Likewise.
6616 * string/strings.h: Likewise.
6617 * sunrpc/rpc/auth.h: Likewise.
6618 * sunrpc/rpc/auth_des.h: Likewise.
6619 * sunrpc/rpc/clnt.h: Likewise.
6620 * sunrpc/rpc/netdb.h: Likewise.
6621 * sunrpc/rpc/pmap_clnt.h: Likewise.
6622 * sunrpc/rpc/xdr.h: Likewise.
6623 * sysdeps/generic/inttypes.h: Likewise.
6624 * sysdeps/generic/net/if.h: Likewise.
6625 * sysdeps/generic/sys/swap.h: Likewise.
6626 * sysdeps/gnu/net/if.h: Likewise.
6627 * sysdeps/gnu/utmpx.h: Likewise.
6628 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6629 * sysdeps/i386/i486/bits/string.h: Likewise.
6630 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6631 * sysdeps/s390/bits/string.h: Likewise.
6632 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6633 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6634 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6635 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6636 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6637 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6638 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6639 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6640 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6641 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6642 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6643 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6644 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6645 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6646 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6647 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6648 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6651 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6654 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6655 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6656 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6657 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6658 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6659 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6660 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6661 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6662 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6663 * sysvipc/sys/ipc.h: Likewise.
6664 * sysvipc/sys/msg.h: Likewise.
6665 * sysvipc/sys/sem.h: Likewise.
6666 * sysvipc/sys/shm.h: Likewise.
6667 * termios/termios.h: Likewise.
6668 * time/sys/time.h: Likewise.
6669 * time/time.h: Likewise.
6670 * wcsmbs/bits/wchar2.h: Likewise.
6671 * wcsmbs/uchar.h: Likewise.
6672 * wcsmbs/wchar.h: Likewise.
6673 * wctype/wctype.h: Likewise.
6674
0269750c
UD
6675 [BZ #13551]
6676 * Makeconfig: Remove all but ELF support including AIX support.
6677 * Makerules: Likewise.
6678 * config.h.in: Likewise.
6679 * config.make.in: Likewise.
6680 * configure: Likewise.
6681 * configure.in: Likewise.
6682 * csu/Makefile: Likewise.
6683 * csu/version.c: Likewise.
6684 * debug/Makefile: Likewise.
6685 * dlfcn/Makefile: Likewise.
6686 * elf/Makefile: Likewise.
6687 * extra-lib.mk: Likewise.
6688 * iconv/Makefile: Likewise.
6689 * include/libc-symbols.h: Likewise.
6690 * include/shlib-compat.h: Likewise.
6691 * resolv/Makefile: Likewise.
6692 * resolv/res_libc.c: Likewise.
6693 * rt/Makefile: Likewise.
6694 * sysdeps/i386/asm-syntax.h: Likewise.
6695 * sysdeps/i386/sysdep.h: Likewise.
6696 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6697 * sysdeps/mach/sysdep.h: Likewise.
6698 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6699 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6700 * sysdeps/s390/asm-syntax.h: Likewise.
6701 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6703 * sysdeps/sh/sysdep.h: Likewise.
6704 * sysdeps/unix/sparc/sysdep.h: Likewise.
6705 * sysdeps/wordsize-32/divdi3.c: Likewise.
6706 * sysdeps/x86_64/sysdep.h: Likewise.
6707
00bbd29b
UD
6708 * argp/Versions: Remove _argp_unlock_xxx.
6709
6710 [BZ #13559]
6711 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6712 * abilist/libBrokenLocale.abilist: Likewise.
6713 * abilist/libanl.abilist: Likewise.
6714 * abilist/libc.abilist: Likewise.
6715 * abilist/libcrypt.abilist: Likewise.
6716 * abilist/libdl.abilist: Likewise.
6717 * abilist/libm.abilist: Likewise.
6718 * abilist/libnsl.abilist: Likewise.
6719 * abilist/libpthread.abilist: Likewise.
6720 * abilist/libresolv.abilist: Likewise.
6721 * abilist/librt.abilist: Likewise.
6722 * abilist/libthread_db.abilist: Likewise.
6723 * abilist/libutil.abilist: Likewise.
6724 * abilist/libnss_db.abilist: New file.
6725
6726 * scripts/abilist.awk: Add support for indirect functions.
6727
a2693a0e
UD
6728 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6729
3f05895f
UD
6730 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6731
ecb6fb48
UD
6732 * shlib-versions: Remove entries for ports architectures.
6733
664f8cb9
UD
6734 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6735 files in ports.
6736 * elf/stackguard-macros.h: Remove support for IA-64.
6737 * elf/tst-auditmod1.c: Likewise.
6738 * sysdeps/generic/ldsodefs.h: Likewise.
6739
7ae81d88
UD
6740 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6741 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6742 configure files.
6743
bdeba135
UD
6744 [BZ #13552]
6745 * configure.in: Remove --enable-omitfp support.
6746 * FAQ.in: Adjust.
6747 * config.make.in: Likewise.
6748 * Makeconfig: Likewise.
6749 * manual/install.texi: Likewise.
6750
d75a0a62
UD
6751 In case anyone cares, the IA-64 architecture could move to ports.
6752 * sysdeps/ia64/*: Removed.
6753 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6754 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6755
dcc9756b
UD
6756 [BZ #13555]
6757 * configure.in: Remove entries for unsupported architectures.
6758
d3761ebc 6759 [BZ #13533]
9954432e
UD
6760 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6761 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6762 routines.
6763 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6764 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6765 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6766 fall back to using wcrtomb.
6767 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6768 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6769 renaming.
6770 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6771 * wcsmbs/tst-c16c32-1.c: New file.
6772
6773 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6774 local variable.
6775
c3a87236
UD
6776 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6777
28926a1b
UD
6778 * elf/tst-unique3.cc: Add explicit declaration of gets.
6779 * elf/tst-unique3lib.cc: Likewise.
6780 * elf/tst-unique3lib2.cc: Likewise.
6781 * elf/tst-unique4.cc: Likewise.
6782
df78418a
UD
6783 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6784
8ecd6b2a
JM
67852012-01-06 Joseph Myers <joseph@codesourcery.com>
6786
6787 [BZ #13566]
6788 * assert/assert.h (static_assert): Don't define for C++.
6789 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6790 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6791
9f115170
UD
67922012-01-03 Ulrich Drepper <drepper@gmail.com>
6793
5e0d0300
UD
6794 * iconv/loop.c (single loop): Fix assertion in storing of
6795 remaining bytes.
6796
9f115170
UD
6797 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6798
81fb02b0
UD
67992012-01-01 Ulrich Drepper <drepper@gmail.com>
6800
6801 * posix/getconf.c: Update copyright year.
6802 * nss/getent.c: Likewise.
a316c1f6 6803 * nss/makedb.c: Likewise.
81fb02b0
UD
6804 * iconv/iconvconfig.c: Likewise.
6805 * iconv/iconv_prog.c: Likewise.
6806 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6807 * elf/pldd.c: Likewise.
6808 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6809 * catgets/gencat.c: Likewise.
6810 * csu/version.c: Likewise.
6811 * elf/ldd.bash.in: Likewise.
6812 * elf/sprof.c (print_version): Likewise.
6813 * locale/programs/locale.c: Likewise.
6814 * locale/programs/localedef.c: Likewise.
a316c1f6 6815 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6816 * nscd/nscd.c (print_version): Likewise.
6817 * debug/xtrace.sh: Likewise.
6818 * malloc/memusage.sh: Likewise.
6819 * malloc/mtrace.pl: Likewise.
6820 * debug/catchsegv.sh: Likewise.
6821
2ba92745
JJ
68222011-12-30 Jakub Jelinek <jakub@redhat.com>
6823
6824 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6825 pure attribute.
6826
dadebdae
UD
68272011-12-24 Ulrich Drepper <drepper@gmail.com>
6828
d3761ebc 6829 [BZ #13533]
db6af3eb
UD
6830 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6831 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6832 transformations.
6833 * iconv/gconv_int.h: Likewise.
6834 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6835 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6836 from libc for GLIBC_2.16.
6837 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6838 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6839 * wcsmbs/uchar.h: Really define mbstate_t.
6840 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6841 * wcsmbs/c16rtomb.c: New file.
6842 * wcsmbs/mbrtoc16.c: New file.
6843 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6844 for C/POSIX locale.
6845 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6846 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6847
dadebdae
UD
6848 * wcsmbs/wchar.h: Add missing __restrict.
6849
67371b56
UD
68502011-12-23 Ulrich Drepper <drepper@gmail.com>
6851
74033a25
UD
6852 [BZ #13532]
6853 * time/Makefile (routines): Add timespec_get.
6854 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6855 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6856 timespec for ISO C11.
6857 * time/timespec_get.c: New file.
6858 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6859 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6860
380d7e87
UD
6861 [BZ #13531]
6862 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6863 * stdlib/stdlib.h: Declare aligned_alloc.
6864 * Versions.def: Add GLIBC_2.16 for libc.
6865 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6866
4e9e7a35
UD
6867 [BZ 13527]
6868 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6869 ISO C11.
6870
380d7e87 6871 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6872 code.
6873
03a71829
UD
6874 [BZ #13528]
6875 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6876
839e283e
UD
6877 [BZ #13529]
6878 * assert/assert.h (static_assert): Define.
6879
ce5294e2 6880 * version.h: Update for 2.16 development version.
90fa7312 6881
8d44e150 6882 [BZ #13526]
d7809905
UD
6883 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6884 _ISOC11_SOURCE.
6885
c0da14cd
UD
6886 * version.h (RELEASE): Bump for 2.15 release.
6887 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6888
530a3249
MP
6889 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6890 Patch by Marek Polacek <mpolacek@redhat.com>.
6891
67371b56
UD
6892 * bits/byteswap.h: Protect long long constants with __extension__.
6893 * sysdeps/i386/bits/byteswap.h: Likewise.
6894 * sysdeps/ia64/bits/byteswap.h: Likewise.
6895 * sysdeps/s390/bits/byteswap.h: Likewise.
6896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6897
15db4de1
LD
68982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6899
6900 [BZ #13540]
bbe315ea
LD
6901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6902 destination buffer.
15db4de1
LD
6903 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6904
2b2596b1
MP
69052011-12-23 Marek Polacek <polacek@redhat.com>
6906
6907 * elf/dl-addr.c (determine_info): Add inline keyword.
6908 * elf/tst-auditmod4b.c (check_avx): Likewise.
6909 * elf/tst-auditmod6b.c (check_avx): Likewise.
6910 * elf/tst-auditmod6c.c (check_avx): Likewise.
6911 * elf/tst-auditmod7b.c (check_avx): Likewise.
6912
70c6c246
UD
69132011-12-23 Ulrich Drepper <drepper@gmail.com>
6914
6915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6916 !__SSE_MATH__.
6917
c044cf14
LD
69182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6919
15db4de1 6920 [BZ #13540]
c044cf14
LD
6921 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6922 processing for last bytes.
6923
6b13d9d9
BH
69242011-08-06 Bruno Haible <bruno@clisp.org>
6925
d455f537
BH
6926 [BZ #13061]
6927 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6928 U+0385, not to U+1FEE.
6929
6b13d9d9
BH
6930 [BZ #13062]
6931 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6932 entry for U+00A5 U+0301.
6933
db910efd
UD
69342011-12-22 Ulrich Drepper <drepper@gmail.com>
6935
27deeafc
UD
6936 [BZ #13166]
6937 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6938 buffer for the output is too small.
6939
aed9d171
UD
6940 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6941 optimization.
6942
db910efd
UD
6943 [BZ #13185]
6944 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6945 SSE flags if possible.
6946
2bd779ae
LD
69472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6948
e7f9dac3 6949 [BZ #13540]
2bd779ae
LD
6950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6951 processing for last bytes.
6952
154bfc16
JM
69532011-12-22 Joseph Myers <joseph@codesourcery.com>
6954
6955 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6956 (syscall-list-default-options, syscall-list-default-condition)
6957 (syscall-list-includes): Define.
6958 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6959 list of ABIs and options and #if conditions for each ABI. Do not
6960 handle common syscalls between ABIs specially.
6961 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6962 Remove.
6963 (syscall-list-variants, syscall-list-32bit-options)
6964 (syscall-list-32bit-condition, syscall-list-64bit-options)
6965 (syscall-list-64bit-condition): Define.
6966 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6967 (syscall-list-variants, syscall-list-32bit-options)
6968 (syscall-list-32bit-condition, syscall-list-64bit-options)
6969 (syscall-list-64bit-condition): Define.
6970 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6971 Remove.
6972 (syscall-list-variants, syscall-list-32bit-options)
6973 (syscall-list-32bit-condition, syscall-list-64bit-options)
6974 (syscall-list-64bit-condition): Define.
6975 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6976 Remove.
6977 (syscall-list-variants, syscall-list-32bit-options)
6978 (syscall-list-32bit-condition, syscall-list-64bit-options)
6979 (syscall-list-64bit-condition): Define.
6980
21eaf3a5
UD
69812011-12-22 Ulrich Drepper <drepper@gmail.com>
6982
16c6f992
UD
6983 * locale/iso-639.def: Add brx entry.
6984
41043168
UD
6985 [BZ #13328]
6986 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6987 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6988
21eaf3a5
UD
6989 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6990 __feraiseexcept_renamed.
6991
e3a851a2
UD
69922011-12-21 Ulrich Drepper <drepper@gmail.com>
6993
4920765e
UD
6994 [BZ #13538]
6995 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6996 EPOLLET with unsigned values.
6997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6999
e3a851a2
UD
7000 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7001 to large cancellation.
7002 * math/s_cacoshf.c: Likewise.
7003 * math/s_cacoshl.c: Likewise.
7004
b27e24b8
RK
70052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7006
7007 [BZ #13305]
aebefeee 7008 [BZ #12786]
b27e24b8
RK
7009 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7010 * math/s_cacoshf.c: Likewise.
7011 * math/s_cacoshl.c: Likewise.
7012
ee190f67
UD
70132011-12-21 Ulrich Drepper <drepper@gmail.com>
7014
7015 [BZ #13439]
7016 * iconv/gconv.h: Define __GCONV_SWAP.
7017 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7018 * iconvdata/utf-16.c: Likewise.
7019 * iconvdata/utf-32.c: Likewise.
7020
707f25df
AS
70212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7022
7023 [BZ #13524]
7024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7025 numerator after shifting it by one limb.
7026
d2daaa1e
RÁE
70272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7028
7029 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7030 under [__USE_EXTERN_INLINES].
7031
a4647e72
UD
70322011-12-17 Ulrich Drepper <drepper@gmail.com>
7033
7034 [BZ #13446]
7035 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7036
f0b264f1
AZ
70372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038
7039 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7040 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7041 optimized code.
7042 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7043 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7044 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7045 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7046 for strncasecmp/strncasecmp_l compilation.
7047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7048 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7049
8ef4f244
MP
70502011-12-08 Marek Polacek <mpolacek@redhat.com>
7051
7052 [BZ #13484]
7053 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7054 of __asm__.
7055
97ac2654
UD
70562011-12-17 Ulrich Drepper <drepper@gmail.com>
7057
7058 [BZ #13506]
7059 * time/tzfile.c (__tzfile_read): Check values from file header.
7060
91d2a845
WS
70612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7062
7063 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7064 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7065 * powerpc/powerpc32/dl-start.S: Likewise.
7066 * powerpc/powerpc32/elf/start.S: Likewise.
7067 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7068 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7069 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7070 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7071 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7072 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7073 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7074 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7075 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7076 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7077 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7078 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7079 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7080 * powerpc/powerpc32/memset.S: Likewise.
7081 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7082 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7083 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7084 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7085 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7086 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7087 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7088 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7089 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7090 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7091 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7092 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7093 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7094
a1267ba1
AZ
70952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096
7097 * math/libm-test.inc: Added more nearbyint tests.
7098 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7102
ad8ac1bd
RL
71032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7104
7105 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7106 FD_CLOEXEC.
7107
1d3e4b61
UD
71082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7109
7110 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7111 Add wcscpy-ssse3 wcscpy-c.
7112 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7113 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7114 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7115 * sysdeps/x86_64/wcschr.S: New file.
7116 * sysdeps/x86_64/wcsrchr.S: New file.
7117 * string/test-strcmp.c: Remove checking of wcscmp function for
7118 wrong alignments.
7119 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7120 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7121 wcsrchr-sse2 wcsrchr-c.
7122 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7123 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7124 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7125 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7126 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7127 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7128 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7129 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7130 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7131 * wcsmbc/wcschr.c (WCSCHR): New macro.
7132
5b330a2d
UD
71332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7134
7135 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7136 * wcsmbs/test-wcsrchr.c: New file.
7137 * string/test-strrchr.c: Add wcsrchr support.
7138 (WIDE): New macro.
7139 * wcsmbs/test-wcscpy.c: New file.
7140 * string/test-strcpy.c: Add wcscpy support.
7141 (WIDE): New macro.
26428b7c 7142
f039c043
UD
71432011-12-10 Ulrich Drepper <drepper@gmail.com>
7144
7145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7146 the inner loop.
7147
850fb039
AS
71482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7149
7150 [BZ #13472]
7151 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7152
4efbd5cb
UD
71532011-12-04 Ulrich Drepper <drepper@gmail.com>
7154
52ff5dd0 7155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7156 Minor optimizations.
52ff5dd0 7157
4efbd5cb
UD
7158 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7159 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7160 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7161
8a426e12
UD
71622011-12-03 Ulrich Drepper <drepper@gmail.com>
7163
aff2453d
UD
7164 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7165 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7166 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7167 for gcc to avoid warnings.
7168 * inet/Makefile (tests): Add tst-checks.
7169 * inet/tst-checks.c: New file.
7170
7171 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7172 warning.
7173
7174 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7175 __wmemcmp_sse2.
7176
7177 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7178 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7179
8a426e12
UD
7180 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7181
9bea3473
UD
71822011-12-02 Ulrich Drepper <drepper@gmail.com>
7183
3a965496
UD
7184 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7185 problem.
7186
9bea3473
UD
7187 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7188
f101631b
UD
71892011-11-29 Joseph Myers <joseph@codesourcery.com>
7190
7191 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7192 conditional on GCC version.
7193 (__arch_compare_and_exchange_val_8_acq)
7194 (__arch_compare_and_exchange_val_16_acq)
7195 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7196 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7197 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7198
a98275aa
UD
71992011-12-02 Joseph Myers <joseph@codesourcery.com>
7200
7201 * sysdeps/sh/backtrace.c: New file.
7202
d4cc29a2
AS
72032011-12-02 Andreas Schwab <schwab@redhat.com>
7204
7205 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7206 parenthesis.
7207
6257af2d
AS
72082011-12-01 Andreas Schwab <schwab@redhat.com>
7209
7210 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7211 falling back to utime.
7212
b5f44c1a
AS
72132011-11-30 Andreas Schwab <schwab@redhat.com>
7214
7215 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7216 expectations for float.
7217
f3a6cc0a
AS
72182011-11-29 Andreas Schwab <schwab@redhat.com>
7219
7220 * locale/weight.h (findidx): Add parameter len.
7221 * locale/weightwc.h (findidx): Likewise.
7222 * posix/fnmatch_loop.c (FCT): Adjust caller.
7223 * posix/regcomp.c (build_equiv_class): Likewise.
7224 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7225 * posix/regexec.c (check_node_accept_bytes): Likewise.
7226 * string/strcoll_l.c (STRCOLL): Likewise.
7227 * string/strxfrm_l.c (STRXFRM): Likewise.
7228
9d65ea3a
UD
72292011-11-17 Ulrich Drepper <drepper@gmail.com>
7230
7231 * Makefile.in: Remove CVSOPT handling.
7232 * configure.in: Remove use of AC_REVISION.
7233 * iconvdata/Makefile (distribute): No need to filter out CVS.
7234 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7235 handling.
7236
5583a086
AS
72372011-11-16 Andreas Schwab <schwab@redhat.com>
7238
7239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7240 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7241 [USE_AS_STRNCASECMP_L]: Likewise.
7242 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7243 NO_TLS_DIRECT_SEG_REFS.
7244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7245 Fix argument offsets for non-PIC.
7246 [USE_AS_STRNCASECMP_L]: Likewise.
7247 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7248 NO_TLS_DIRECT_SEG_REFS.
7249
d62a8200
UD
72502011-11-15 Ulrich Drepper <drepper@gmail.com>
7251
9d65ea3a 7252 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7253 O_CLOEXEC.
7254 * locale/loadlocale.c (_nl_load_locale): Likewise.
7255
09f93bd3
AS
72562011-11-15 Andreas Schwab <schwab@redhat.com>
7257
446514f9
AS
7258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7259 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7260 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7261 (SYSCALL_GETTIME): Set errno on error.
7262
09f93bd3
AS
7263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7264 count references to noai6ai_cached.
7265
312be3f9
UD
72662011-11-15 Ulrich Drepper <drepper@gmail.com>
7267
7268 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7269
7270 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7271 FD_CLOEXEC for /proc/self/maps.
7272
7273 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7274 FD_CLOEXEC for /proc/meminfo.
7275
7276 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7277 gai.conf.
7278
7279 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7280 FD_CLOEXEC for given file.
7281
7282 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7283
7284 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7285 FD_CLOEXEC for /etc/hosts.
7286 (_gethtent): Likewise.
7287
7288 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7289
7290 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7291 cancellation and set FD_CLOEXEC for /etc/netgroup.
7292
7293 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7294 reading /etc/publickey.
7295
7296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7297 allow cancellation when reading /etc/group.
7298
7299 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7300 cancellation.
7301 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7302
7303 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7304 when using data file.
7305
7306 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7307
7308 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7309 (write_nis_obj): Use "c" and "e" in fopen.
7310
7311 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7312
7313 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7314
7315 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7316
7317 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7318
7319 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7320 locale.alias.
7321
7322 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7323
7324 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7325
7326 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7327
7328 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7329 file parsing and set FD_CLOEXEC.
7330
82af0fa8
UD
73312011-11-14 Ulrich Drepper <drepper@gmail.com>
7332
7333 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7334
a5fb313c
AS
73352011-11-14 Andreas Schwab <schwab@redhat.com>
7336
7337 * malloc/arena.c (arena_get2): Don't call reused_arena when
7338 _int_new_arena failed.
7339
6abf3465
UD
73402011-11-14 Ulrich Drepper <drepper@gmail.com>
7341
7342 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7343 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7346 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7348 to compile strcasecmp and strncasecmp.
7349 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7350 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7351
7352 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7353
76e3966e
UD
73542011-11-13 Ulrich Drepper <drepper@gmail.com>
7355
7356 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7357 locale-defines.sym to gen-as-const-headers.
7358 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7359 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7361 to compile strcasecmp and strncasecmp.
7362 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7363 strcasecmp_l and strncasecmp_l.
7364 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7365 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7366 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7367 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7368 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7369 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7370 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7371 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7372 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7373 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7374 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7375
ab26144e
UD
73762011-11-12 Ulrich Drepper <drepper@gmail.com>
7377
7edb22ef
UD
7378 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7379 result of SYSDEP_GETTIME_CPU to retval.
7380 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7381 parameter list to macro. Remove trailing semicolon. Adjust users.
7382
9694fc44
UD
7383 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7384 variable.
7385
8ad89ef8
UD
7386 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7387 mantissa words.
7388 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7389
0c822ef9
UD
7390 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7391 from unused variable.
7392
874e0564
UD
7393 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7394 DWARF definitions.
7395 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7396 for assembling.
7397
3a2edc79
UD
7398 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7399 over namespaces.
7400
f3c2577f
UD
7401 * sunrpc/rpc_prot.c (rejected): Fix case value.
7402
294ce126
UD
7403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7404 unsigned long long int to avoid warnings in shift.
7405
5e2b63c6
UD
7406 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7407 of use of trans.
7408 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7409 variable tmp.
7410
e7f4b08e
UD
7411 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7412 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7414
ab26144e
UD
7415 * nis/nis_table.c (nis_list): Use variable of correct type for
7416 result of __follow_path call.
7417
8a6d5255
AZ
74182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7419
7420 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7421 of math functions ceil, trunc, floor, round, and sqrt, when
7422 avaliable on the platform.
7423 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7424 name clash.
7425 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7426 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7427 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7428
aaddc98c
MP
74292011-10-30 Marek Polacek <mpolacek@redhat.com>
7430
7431 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7433
95b7042b
RM
74342011-11-11 Roland McGrath <roland@hack.frob.com>
7435
7436 * include/unistd.h: Fix __readlink return type.
7437 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7438
57769839
UD
74392011-11-11 Ulrich Drepper <drepper@gmail.com>
7440
7441 * stdlib/ucontext.h: Undo last change for makecontext.
7442
edc5984d
AS
74432011-11-11 Andreas Schwab <schwab@redhat.com>
7444
98591e58
AS
7445 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7446
edc5984d
AS
7447 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7448 * setjmp/setjmp.h: Mark functions as non-leaf.
7449 * setjmp/bits/setjmp2.h: Likewise.
7450 * stdlib/ucontext.h: Likewise.
7451
77cdc054
AS
74522011-11-10 Andreas Schwab <schwab@redhat.com>
7453
7454 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7455 (reused_arena): Don't check arena limit.
7456 (arena_get2): Atomically check arena limit.
7457
fe72eebd
UD
74582011-11-08 Ulrich Drepper <drepper@gmail.com>
7459
5f078c32
UD
7460 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7461 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7462
fe72eebd
UD
7463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7464 instructions.
7465
ae1bc2fa
AS
74662011-11-07 Andreas Schwab <schwab@redhat.com>
7467
7583a88d
AS
7468 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7469 handler when locking.
7470
ae1bc2fa
AS
7471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7472 Fix size of allocated buffer.
7473
10fb0bfa
AS
74742011-11-04 Andreas Schwab <schwab@redhat.com>
7475
998832a4
AS
7476 [BZ #10103]
7477 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7478 declarations for long double functions.
7479 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7480
10fb0bfa
AS
7481 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7482
3d7ba52b
AS
74832011-11-03 Andreas Schwab <schwab@redhat.com>
7484
a9ae54a1
AS
7485 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7486 installed.
7487
3d7ba52b
AS
7488 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7489 is disabled.
7490
bc8db248
ST
74912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7492
7493 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7494
45b96dd6
AS
74952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7496
647776f6
AS
7497 * include/alloca.h (stackinfo_alloca_round): Define.
7498 (extend_alloca): Use it.
7499 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7500 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7501 here.
7502
d91a8b93
AS
7503 * scripts/check-local-headers.sh: Ignore libaudit.h.
7504
45b96dd6
AS
7505 * nscd/Makefile (extra-objs): Make recursively expanded.
7506
432d41ce
UD
75072011-11-01 Ulrich Drepper <drepper@gmail.com>
7508
34372fc6
UD
7509 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7511
fadb59f8
UD
7512 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7513 * posix/tst-rfc3484-2.c: Likewise.
7514 * posix/tst-rfc3484-3.c: Likewise.
7515
78239589
UD
7516 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7517 process_vm_writev.
7518 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7519 process_vm_writev.
7520 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7521 process_vm_writev from libc using GLIBC_2.15 version.
7522
432d41ce
UD
7523 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7524
02f9c6cf
PP
75252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7526
7527 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7528 stack usage.
7529
3a2c0242
UD
75302011-10-31 Ulrich Drepper <drepper@gmail.com>
7531
f4ec4833
UD
7532 [BZ #13367]
7533 * nss/getent.c (initgroups_keys): Show error message in case no group
7534 names are given.
7535
3a2c0242
UD
7536 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7537 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7538 __bump_nl_timestamp.
7539 * nscd/connections (nscd_init): When host database is served open
7540 netlink socket and request notification about configuration changes.
7541 (main_loop_poll): Track netlink file descriptor and bump timestamp
7542 in case data becomes available.
7543 (main_loop_epoll): Likewise.
7544 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7545 (database_pers_head): Add extra_data fileds.
7546 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7547 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7548 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7549 Adjust caller.
7550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7551 in6ai data, call __free_in6ai.
7552 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7553 Add -DHAVE_NETLINK.
7554 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7555 interface information. Reuse previous data if netlink timestamp
7556 is not changed.
7557 (__bump_nl_timestamp): New function.
7558 (__free_in6ai): New function.
7559
636064eb
UD
75602011-10-30 Ulrich Drepper <drepper@gmail.com>
7561
7562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7563 close_not_cancel_no_status here.
7564 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7565
9beb2334
UD
75662011-10-29 Ulrich Drepper <drepper@gmail.com>
7567
6ef76f3b
UD
7568 [BZ #13276]
7569 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7570 return value.
7571
0ffc4f3e 7572 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7573 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7574 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7575
cb95113e
UD
75762011-07-03 Andreas Jaeger <aj@suse.de>
7577
7578 [BZ #10709]
7579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7580 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7581 * math/libm-test.inc (sin_test): Add test case.
7582
a1b560ff
UD
75832011-10-29 Ulrich Drepper <drepper@gmail.com>
7584
c9aaface
UD
7585 [BZ #13337]
7586 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7587 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7588
d272e7f1
UD
7589 * elf/chroot_canon.c (chroot_canon): Cleanups.
7590
1bc33071
UD
7591 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7592
1760874d
TJ
7593 [BZ #13335]
7594 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7595 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7596
51d91b18
UD
7597 * string/test-strchr.c: Make usable for strchrnul testing.
7598 * string/test-strchrnul.c: New file.
7599 * string/Makefile (strop-tests): Add strchrnul.
7600
a1b560ff 7601 * po/it.po: Update from translation team.
b611fb81 7602 * po/es.po: Likewise.
a1b560ff 7603
a5b81e1f
UD
76042011-10-28 Ulrich Drepper <drepper@gmail.com>
7605
fd52bc6d
UD
7606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7607 the three constants needed as parameters. Drop the others.
7608 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7609 __m128i_strloadu_tolower.
52e4b9eb
UD
7610 Create and initialize variable zero and use it in all the places
7611 where _mm_setzero_si128 was used.
fd52bc6d 7612
a5b81e1f
UD
7613 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7614 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7615 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7617 anymore.
7618 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7619 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7620 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7621 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7622 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7623 __mpranred, __mptan.
7624 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7625 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7626 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7627 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7628 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7629 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7630 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7631 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7632 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7633
b4343346
AS
76342011-10-28 Andreas Schwab <schwab@redhat.com>
7635
0c92d8a8
AS
7636 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7637 redefine if SHARED.
7638 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7639
b4343346
AS
7640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7641 wide char related routines to wcsmbs subdir.
7642
3871f58f
AS
76432011-10-27 Andreas Schwab <schwab@redhat.com>
7644
7645 [BZ #13344]
7646 * misc/sys/cdefs.h (__THROWNL): Define.
7647 * posix/unistd.h: Use __THREADNL instead of __THREAD
7648 for memory synchronization functions.
7649
94d44d9f
RM
76502011-10-26 Roland McGrath <roland@hack.frob.com>
7651
21b64b15 7652 [BZ #13349]
94d44d9f
RM
7653 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7654 doesn't exist.
7655 * manual/stdio.texi (Obstack Streams): Node removed.
7656
f6ce9294
AS
76572011-10-26 Andreas Schwab <schwab@redhat.com>
7658
80479147
AS
7659 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7660 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7661 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7662
f6ce9294
AS
7663 * math/math_private.h (math_force_eval): Allow non-addressable
7664 arguments.
7665 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7666
618280a1
UD
76672011-10-25 Ulrich Drepper <drepper@gmail.com>
7668
e0016b11
UD
7669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7670 file is not needed.
7671
7672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7674 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7675 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7678 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7679 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7680 Add AVX variants.
7681 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7682 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7683 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7684 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7685 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7687 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7688 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7689 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7690 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7691 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7692 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7694 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7695 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7696 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7697 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7698 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7699 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7700
7701 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7702 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7703
618280a1
UD
7704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7705 place. Use VEX encoding when compiling for AVX.
7706
37822576
AS
77072011-10-25 Andreas Schwab <schwab@redhat.com>
7708
1f1e1947
AS
7709 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7710 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7711
37822576
AS
7712 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7713
31ea014d
UD
77142011-10-25 Ulrich Drepper <drepper@gmail.com>
7715
d7826aa1 7716 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7717 useless if() expression.
d7826aa1
UD
7718 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7727 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7729 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7730 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7732 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7737
31ea014d
UD
7738 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7739
16437fec
AS
77402011-10-25 Andreas Schwab <schwab@redhat.com>
7741
7742 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7743 condition.
7744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7745
31d3cc00
UD
77462011-10-25 Ulrich Drepper <drepper@gmail.com>
7747
7748 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7749 .text section. Avoid duplicate constants.
7750 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7760 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7762 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7767 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7779 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7781 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7783 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7784 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7785 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7786 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7788 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7795
58985aa9
UD
77962011-10-24 Ulrich Drepper <drepper@gmail.com>
7797
202c9deb
UD
7798 * sysdeps/x86_64/dla.h: Move to ...
7799 * sysdeps/x86_64/fpu/dla.h: ...here.
7800 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7801 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7802
af968f62
UD
7803 * config.make.in: Add have-mfma4 entry.
7804 * configure.in: Substitute libc_cv_cc_fma4.
7805 * math/Makefile (dbl-only-routines): Add sincostab.
7806 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7807 Use __sincostab not sincos.
7808 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7809 name is a macro.
7810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7814 using __copysign.
7815 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7816 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7817 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7818 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7819 and __inv.
7820 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7821 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7822 __copysign.
7823 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7824 define aliases when function name is a macro.
7825 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7826 sysdeps/ieee754/dbl-64/sincos.tbl.
7827 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7828 fma4-enabled routines.
7829 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7830 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7831 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7832 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7833 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7834 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7837 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7839 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7841 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7842 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7844 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7845 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7846 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7847 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7849 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7850 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7852 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7853 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7854 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7856 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7857 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7858 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7859
58985aa9
UD
7860 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7861 rename.
7862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7870
a201fbcf
AS
78712011-10-24 Andreas Schwab <schwab@redhat.com>
7872
7873 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7874
fc2ee42a
LD
78752011-10-23 Ulrich Drepper <drepper@gmail.com>
7876
bb3129bd
UD
7877 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7878
0275fff8
UD
7879 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7880 prediction.
7881 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7882
2fa2ae85
UD
7883 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7884 Remove unused variable magic_bits.
7885 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7886
fc2ee42a
LD
7887 * string/strnlen.c: Define and use STRNLEN macro.
7888 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7889 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7891 * wcsmbs/wcslen.c: Define and use WCSLEN.
7892 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7893 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7894 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7895 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7896 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7897 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7898 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7899
ce7dd29f
LD
79002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7901
7902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7903 strnlen-sse2-no-bsf.
7904 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7905 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7906 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7907 Add strnlen support.
7908 (USE_AS_STRNLEN): New macro.
7909 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7910 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7911 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7912 * sysdeps/x86_64/wcslen.S: New file.
7913
979c70a3
MZ
79142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7915
7916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7917 XMM-moves are used for copying on small sizes.
7918
2d09f82f
LD
79192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7920
7921 * wcsmbs/Makefile (strop-tests): Add wcschr.
7922 * wcsmbs/test-wcschr.c: New file.
7923 * string/test-strchr.c: Update.
7924 Add wcschr support.
7925 (WIDE): New macro.
7926
619fccca
LD
79272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7928
2d09f82f 7929 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7930 * wcsmbs/test-wcslen.c: New file.
7931 * string/test-strlen.c: Update.
7932 Add wcslen support.
7933 (WIDE): New macro.
7934
09f699ea
UD
79352011-10-23 Ulrich Drepper <drepper@gmail.com>
7936
7937 * po/it.po: Update from translation team.
7938
95584d3b
LD
79392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7940
7941 * sysdeps/x86_64/wcscmp.S: Update.
7942 Fix wrong comparison semantics.
7943 wcscmp shall use signed comparison not unsigned.
7944 Don't use substraction to avoid overflow bug.
7945 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7946 * wcsmbc/wcscmp.c: Likewise.
7947 * string/test-strcmp.c: Likewise.
7948 Add new tests to check cases with negative values.
7949
c8b3296b
UD
79502011-10-23 Ulrich Drepper <drepper@gmail.com>
7951
7952 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7953 * sysdeps/x86_64/dla.h: ...here. New file.
7954 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7963
246ad57a
AS
79642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7965
7966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7967 __ynl_finite aliases.
7968
a1a87169
UD
79692011-10-22 Ulrich Drepper <drepper@gmail.com>
7970
0d355eb7
UD
7971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7972
a1a87169
UD
7973 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7974 define DLA_FMA.
7975 [DLA_FMA] (EMULV): Use DLA_FMA.
7976 [DLA_FMA] (MUL12): Use EMULV.
7977 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7978 that are not needed.
7979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7986
ee2aafe0
AS
79872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7988
7989 * math/s_nan.c: Undef __nan.
7990 * math/s_nanf.c: Undef __nanf.
7991 * math/s_nanl.c: Undef __nanl.
7992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7993 "math_private.h".
7994
bc62c2fb
UD
79952011-10-22 Ulrich Drepper <drepper@gmail.com>
7996
77425c63
UD
7997 * math/s_catan.c: Add branch predictions.
7998 * math/s_catanf.c: Likewise.
7999 * math/s_catanh.c: Likewise.
8000 * math/s_catanhf.c: Likewise.
8001 * math/s_catanhl.c: Likewise.
8002 * math/s_catanl.c: Likewise.
8003 * math/s_cexp.c: Likewise.
8004 * math/s_cexpf.c: Likewise.
8005 * math/s_cexpl.c: Likewise.
8006 * math/s_clog.c: Likewise.
8007 * math/s_clog10.c: Likewise.
8008 * math/s_clog10f.c: Likewise.
8009 * math/s_clog10l.c: Likewise.
8010 * math/s_clogf.c: Likewise.
8011 * math/s_clogl.c: Likewise.
8012 * math/s_csqrt.c: Likewise.
8013 * math/s_csqrtf.c: Likewise.
8014 * math/s_csqrtl.c: Likewise.
8015 * math/s_ctanf.c: Likewise.
8016 * math/s_ctanh.c: Likewise.
8017 * math/s_ctanhf.c: Likewise.
8018 * math/s_ctanhl.c: Likewise.
8019 * math/s_ctanl.c: Likewise.
8020
bc62c2fb
UD
8021 * math/math_private.h: Define __nan, __nanf, __nanl.
8022 * math/s_cacosh.c: Include <math_private.h>.
8023 * math/s_cacoshl.c: Likewise.
8024 * math/s_casinh.c: Likewise.
8025 * math/s_casinhf.c: Likewise.
8026 * math/s_casinhl.c: Likewise.
8027 * math/s_ccos.c: Rely entire on ccosh.
8028 * math/s_ccosf.c: Rely entire on ccoshf.
8029 * math/s_ccosl.c: Rely entirely on ccoshl.
8030 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8031 Remove tests for FE_INVALID.
8032 * math/s_ccoshf.c: Likewise.
8033 * math/s_ccoshl.c: Likewise.
8034 * math/s_csin.c: Likewise.
8035 * math/s_csinf.c: Likewise.
8036 * math/s_csinh.c Likewise.
8037 * math/s_csinhf.c: Likewise.
8038 * math/s_csinhl.c: Likewise.
8039 * math/s_csinl.c: Likewise.
8040 * math/s_ctan.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8042 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8043 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8044
8ec250a4
UD
80452011-10-21 Ulrich Drepper <drepper@gmail.com>
8046
c196fed8
UD
8047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8048 compilation problems.
8049
8ec250a4
UD
8050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8051 __builtin_expect.
8052
8d4f46c6
UD
80532011-10-20 Ulrich Drepper <drepper@gmail.com>
8054
ed72b654
UD
8055 * sysdeps/i386/configure.in: Test for -mfma4 option.
8056 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8057 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8058 COMMON_CPUID_INDEX_80000001.
8059 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8060 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8061 use it if FMA3 is not supported.
8062 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8063
8d4f46c6
UD
8064 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8065 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8066
d45c60c2
AS
80672011-10-20 Andreas Schwab <schwab@redhat.com>
8068
8069 [BZ #12892]
8070 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8071 it would create a cycle with a link time dependency.
8072
d9a4d2ab
UD
80732011-10-19 Ulrich Drepper <drepper@gmail.com>
8074
855d1560
UD
8075 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8076 instruction.
8077 * string/Makefile (strop-tests): Add rawmemchr.
8078 * string/test-rawmemchr.c: New file.
8079
d9a4d2ab
UD
8080 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8081 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8082 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8083 when compiling str{,n}casecmp and when AVX is available. Hook up
8084 new optimized code in initializers.
8085
8f3b1ffe
AS
80862011-10-19 Andreas Schwab <schwab@redhat.com>
8087
8088 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8089 __feraiseexcept instead of feraiseexcept.
8090
d38f1dba
UD
80912011-10-18 Ulrich Drepper <drepper@gmail.com>
8092
d9a8d0ab
UD
8093 * math/math_private.h: Define defaults for libc_fetestexcept and
8094 libc_feupdateenv.
8095 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8096 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8097 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8098 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8099 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8100 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8101 libc_fetestexcept and libc_feupdateenv.
8102
4855e3dd
UD
8103 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8104 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8105 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8106 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8107 libc_feholdexcept_setround.
8108
581d30e3
UD
8109 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8110 Add s_nearbyint-c and s_nearbyintf-c.
8111 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8112 nearbyintf inlines.
8113 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8114 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8115 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8116 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8117
d38f1dba
UD
8118 * math/math_private.h: Define defaults for libc_fegetround,
8119 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8120 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8121 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8123 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8124 standard functions.
8125 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8126 Remove comments and hacks for old compiler versions.
8127 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8128 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8129 libc_feholdexceptl.
8130
caa6c9d8
AS
81312011-10-18 Andreas Schwab <schwab@redhat.com>
8132
8133 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8134 (__feraiseexcept_renamed): Add __NTH.
8135 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8136 namespace violations.
8137
97c066e6
UD
81382011-10-17 Ulrich Drepper <drepper@gmail.com>
8139
99ce7b04
UD
8140 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8141
1004d182
UD
8142 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8143
228a984d
UD
8144 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8145 recently added interfaces.
8146 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8147
c8553a6a
UD
8148 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8149 about macro parameter expansion.
8150
ed22dcf6
UD
8151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8152 __NO_MATH_INLINES is defined. Cleanups.
8153
8154 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8155 and __floorf is target has SSE4.1.
8156 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8157 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8158 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8159 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8160
b171c137
UD
8161 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8162 name.
8163 (floorf): Likewise.
8164
97c066e6
UD
8165 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8166
629f62ef
AS
81672011-10-17 Andreas Schwab <schwab@redhat.com>
8168
49a43d80
AS
8169 * misc/sys/cdefs.h: Fix last change.
8170
629f62ef
AS
8171 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8172 database lookup.
8173
e453f6cd
UD
81742011-10-16 Ulrich Drepper <drepper@gmail.com>
8175
aa78043a
UD
8176 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8177
ad0f5cad
UD
8178 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8186 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8187 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8188 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8189 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8190 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8191 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8193 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8194 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8195 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8196 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8197 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8198 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8199 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8200
8201 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8202 ceil, ceilf, floor, floorf.
8203
8204 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8205 Perform IRELATIVE relocations last.
8206
e453f6cd
UD
8207 * elf/do-rel.h: Add another parameter nrelative, replacing the
8208 local variable with the same name. Change name of the function
8209 to end in Rel or Rela (uppercase).
8210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8211 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8212 elf_dynamic_do_##reloc function.
8213
fd5bdc09
UD
82142011-10-15 Ulrich Drepper <drepper@gmail.com>
8215
79b195b5
UD
8216 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8217 is sufficient, at least on modern CPUs.
8218
d4a28569
UD
8219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8220
b61099b5
UD
8221 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8222 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8223
bcf01e6d
UD
8224 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8225 __expl_finite.
8226 * math/bits/math-finite.h: Add entries for exp.
8227 * math/e_expl.c: Add __*_finite alias.
8228 * sysdeps/i386/fpu/e_exp.S: Likewise.
8229 * sysdeps/i386/fpu/e_expf.S: Likewise.
8230 * sysdeps/i386/fpu/e_expl.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8232 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8236 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8237 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8238
ba1a0d59
UD
8239 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8240 is sufficient, at least on modern CPUs.
8241
fd5bdc09
UD
8242 * ctype/ctype-info.c (__ctype_init): Define.
8243 * include/ctype.h (__ctype_init): Declare.
8244 (__ctype_b_loc): The variable is always initialized.
8245 (__ctype_toupper_loc): Likewise.
8246 (__ctype_tolower_loc): Likewise.
8247 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8248 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8249
7872cfb0
AS
82502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8251
b468825a
AS
8252 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8253
7872cfb0
AS
8254 * configure.in: Also look in $cxxmachine/include for C++ system
8255 headers.
8256
be13f7bf
LD
82572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8258
8259 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8260 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8261 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8262 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8264 (USE_AS_WMEMCMP): New macro.
8265 Fixing indents.
8266 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8267 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8268 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8269 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8271 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8272 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8273 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8274 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8275 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8277 (USE_AS_WMEMCMP): New macro.
8278 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8279 * sysdeps/string/test-memcmp.c: Update.
8280 Fix simple_wmemcmp.
8281 Add new tests.
8282 * wcsmbs/wmemcmp.c: Update.
8283 (WMEMCMP): New macro.
8284 Fix overflow bug.
8285
556a2007
AJ
82862011-10-12 Andreas Jaeger <aj@suse.de>
8287
8288 [BZ #13268]
8289 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8290
538faaa7
UD
82912011-10-15 Ulrich Drepper <drepper@gmail.com>
8292
ab6737ff
UD
8293 * libio/iofwide.c (do_length): Avoid warning.
8294
538faaa7
UD
8295 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8296
396a21b1
UD
82972011-10-14 Ulrich Drepper <drepper@gmail.com>
8298
cdf2901f
UD
8299 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8300
38ad40ce
UD
8301 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8302 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8303 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8304 * sysdeps/i386/i686/fpu/e_log.S: New file.
8305 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8306 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8307
396a21b1
UD
8308 * ctype/ctype.h: Add support for inlined isXXX functions when
8309 compiling C++ code.
8310
6b1f68c9
AS
83112011-10-14 Andreas Schwab <schwab@redhat.com>
8312
349290c0
AS
8313 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8314
6b1f68c9
AS
8315 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8316
f2282d42
RM
83172011-10-13 Roland McGrath <roland@hack.frob.com>
8318
8319 [BZ #13291]
8320 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8321
5298ffa8
AS
83222011-10-13 Andreas Schwab <schwab@redhat.com>
8323
714fad23
AS
8324 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8325 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8326 feraiseexcept.
8327
81dcc7fb
AS
8328 * sysdeps/x86_64/memrchr.S: Check for zero size.
8329
5298ffa8
AS
8330 * string/stratcliff.c: Add memrchr tests.
8331
951fbcec
LD
83322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8333
8334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8335 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8336 rawmemchr-sse2 rawmemchr-sse2-bsf.
8337 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8338 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8339 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8340 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8341 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8342 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8343 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8344 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8345 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8346 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8347 * string/memrchr.c (MEMRCHR): New macro.
8348
0ac5ae23
UD
83492011-10-12 Ulrich Drepper <drepper@gmail.com>
8350
8351 Add integration with gcc's -ffinite-math-only and optimize wrapper
8352 functions in libm.
8353 * Versions.def: Define GLIBC_2.15 version for libm.
8354 * math/Makefile (headers): Add bits/math-finite.h.
8355 * math/bits/math-finite.h: New file.
8356 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8357 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8358 * math/e_acoshl.c: Add __*_finite alias.
8359 * math/e_acosl.c: Likewise.
8360 * math/e_asinl.c: Likewise.
8361 * math/e_atan2l.c: Likewise.
8362 * math/e_atanhl.c: Likewise.
8363 * math/e_coshl.c: Likewise.
8364 * math/e_exp10.c: Likewise.
8365 * math/e_exp10f.c: Likewise.
8366 * math/e_exp10l.c: Likewise.
8367 * math/e_exp2l.c: Likewise.
8368 * math/e_fmodl.c: Likewise.
8369 * math/e_gammal_r.c: Likewise.
8370 * math/e_hypotl.c: Likewise.
8371 * math/e_j0l.c: Likewise.
8372 * math/e_j1l.c: Likewise.
8373 * math/e_jnl.c: Likewise.
8374 * math/e_lgammal_r.c: Likewise.
8375 * math/e_log10l.c: Likewise.
8376 * math/e_log2l.c: Likewise.
8377 * math/e_logl.c: Likewise.
8378 * math/e_powl.c: Likewise.
8379 * math/e_sinhl.c: Likewise.
8380 * math/e_sqrtl.c: Likewise.
8381 * math/e_scalb.c: Completely rewritten and optimized.
8382 * math/e_scalbf.c: Likewise.
8383 * math/e_scalbl.c: Likewise.
8384 * math/w_acos.c: Likewise.
8385 * math/w_acosf.c: Likewise.
8386 * math/w_acosl.c: Likewise.
8387 * math/w_acosh.c: Likewise.
8388 * math/w_acoshf.c: Likewise.
8389 * math/w_acoshl.c: Likewise.
8390 * math/w_asin.c: Likewise.
8391 * math/w_asinf.c: Likewise.
8392 * math/w_asinl.c: Likewise.
8393 * math/w_atan2.c: Likewise.
8394 * math/w_atan2f.c: Likewise.
8395 * math/w_atan2l.c: Likewise.
8396 * math/w_atanh.c: Likewise.
8397 * math/w_atanhf.c: Likewise.
8398 * math/w_atanhl.c: Likewise.
8399 * math/w_exp10.c: Likewise.
8400 * math/w_exp10f.c: Likewise.
8401 * math/w_exp10l.c: Likewise.
8402 * math/w_fmod.c: Likewise.
8403 * math/w_fmodf.c: Likewise.
8404 * math/w_fmodl.c: Likewise.
8405 * math/w_j0.c: Likewise.
8406 * math/w_j0f.c: Likewise.
8407 * math/w_j0l.c: Likewise.
8408 * math/w_j1.c: Likewise.
8409 * math/w_j1f.c: Likewise.
8410 * math/w_j1l.c: Likewise.
8411 * math/w_jn.c: Likewise.
8412 * math/w_jnf.c: Likewise.
8413 * math/w_log.c: Likewise.
8414 * math/w_logf.c: Likewise.
8415 * math/w_logl.c: Likewise.
8416 * math/w_log10.c: Likewise.
8417 * math/w_log10f.c: Likewise.
8418 * math/w_log10l.c: Likewise.
8419 * math/w_log2.c: Likewise.
8420 * math/w_log2f.c: Likewise.
8421 * math/w_log2l.c: Likewise.
8422 * math/w_pow.c: Likewise.
8423 * math/w_powf.c: Likewise.
8424 * math/w_powl.c: Likewise.
8425 * math/w_remainder.c: Likewise.
8426 * math/w_remainderf.c: Likewise.
8427 * math/w_remainderl.c: Likewise.
8428 * math/w_scalb.c: Likewise.
8429 * math/w_scalbf.c: Likewise.
8430 * math/w_scalbl.c: Likewise.
8431 * math/w_sqrt.c: Likewise.
8432 * math/w_sqrtf.c: Likewise.
8433 * math/w_sqrtl.c: Likewise.
8434 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8435 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8436 used.
8437 * math/math_private.h: Declare __kernel_standard_f.
8438 * math/w_cosh.c: Remove cruft and optimize a bit.
8439 * math/w_coshf.c: Likewise.
8440 * math/w_coshl.c: Likewise.
8441 * math/w_exp2.c: Likewise.
8442 * math/w_exp2f.c: Likewise.
8443 * math/w_exp2l.c: Likewise.
8444 * math/w_hypot.c: Likewise.
8445 * math/w_hypotf.c: Likewise.
8446 * math/w_hypotl.c: Likewise.
8447 * math/w_lgamma.c: Likewise.
8448 * math/w_lgamma_r.c: Likewise.
8449 * math/w_lgammaf.c: Likewise.
8450 * math/w_lgammaf_r.c: Likewise.
8451 * math/w_lgammal.c: Likewise.
8452 * math/w_lgammal_r.c: Likewise.
8453 * math/w_sinh.c: Likewise.
8454 * math/w_sinhf.c: Likewise.
8455 * math/w_sinhl.c: Likewise.
8456 * math/w_tgamma.c: Likewise.
8457 * math/w_tgammaf.c: Likewise.
8458 * math/w_tgammal.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8461 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8462 Minor optimizations. Pretty printing. Remove cruft.
8463 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8465 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8466 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8467 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8468 * sysdeps/i386/fpu/e_asin.S: Likewise.
8469 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8470 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8471 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8472 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8473 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8476 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8477 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8478 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8479 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8480 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8481 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8482 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8483 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8484 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8485 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8486 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8487 * sysdeps/i386/fpu/e_log.S: Likewise.
8488 * sysdeps/i386/fpu/e_log10.S: Likewise.
8489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8491 * sysdeps/i386/fpu/e_log2.S: Likewise.
8492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8493 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8494 * sysdeps/i386/fpu/e_logf.S: Likewise.
8495 * sysdeps/i386/fpu/e_logl.S: Likewise.
8496 * sysdeps/i386/fpu/e_pow.S: Likewise.
8497 * sysdeps/i386/fpu/e_powf.S: Likewise.
8498 * sysdeps/i386/fpu/e_powl.S: Likewise.
8499 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8500 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8501 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8503 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8505 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8506 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8507 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8529 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8530 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8531 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8532 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8533 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8536 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8537 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8538 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8539 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8540 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8542 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8543 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8544 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8545 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8546 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8547 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8548 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8549 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8591 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8593 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8594 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8596 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8599 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8601 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8604 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8605 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8606 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8607 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8608 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8609 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8610 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8611 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8612 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8613 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8616 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8617 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8618 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8619 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8620 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8621 (__isnanf): Likewise.
8622 (__isinf_ns): Likewise.
8623 (__isinf_nsf): Likewise.
8624 (__finite): Likewise.
8625 (__finitef): Likewise.
8626 (__ieee754_sqrt): Define as macro.
8627 (__ieee754_sqrtf): Define as macro.
8628 (__ieee754_sqrtl): Define as macro.
8629 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8630 inlined copy.
8631 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8632 __FINITE_MATH_ONLY__ consistent.
8633 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8634
12cc2fcd
AS
86352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8636
a843a204
AS
8637 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8638 of rawmemchr.
8639
12cc2fcd
AS
8640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8641
c853acd5
UD
86422011-10-09 Ulrich Drepper <drepper@gmail.com>
8643
8644 * po/ja.po: Update from translation team.
8645
c658d255
RM
86462011-10-08 Roland McGrath <roland@hack.frob.com>
8647
110946e4
RM
8648 * locale/programs/locarchive.c (prepare_address_space): New function.
8649 (create_archive, enlarge_archive, open_archive): Use it.
8650
50604220
RM
8651 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8652 inside [SHARED], where it is used.
8653
c658d255
RM
8654 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8655
8656 * nss/getent.c (netgroup_keys): Remove unused variable.
8657 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8658
6a621eb7
UD
86592011-10-08 Ulrich Drepper <drepper@gmail.com>
8660
7edb55ce
UD
8661 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8662 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8665 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8666 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8667 * math/Makefile (libm-calls): Add s_isinf_ns.
8668 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8669 * math/multc3.c: Likewise.
8670 * math/s_casin.c: Likewise.
8671 * math/s_casinf.c: Likewise.
8672 * math/s_casinl.c: Likewise.
8673 * math/s_ccos.c: Likewise.
8674 * math/s_ccosf.c: Likewise.
8675 * math/s_ccosl.c: Likewise.
8676 * math/s_ctan.c: Likewise.
8677 * math/s_ctanf.c: Likewise.
8678 * math/s_ctanh.c: Likewise.
8679 * math/s_ctanhf.c: Likewise.
8680 * math/s_ctanhl.c: Likewise.
8681 * math/s_ctanl.c: Likewise.
8682 * math/w_fmod.c: Likewise.
8683 * math/w_fmodf.c: Likewise.
8684 * math/w_fmodl.c: Likewise.
8685 * math/w_remainder.c: Likewise.
8686 * math/w_remainderf.c: Likewise.
8687 * math/w_remainderl.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8689 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8692 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8693 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8694 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8695 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8696
187da0ae
UD
8697 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8698 of the number.
8699 * stdio-common/printf_fphex.c: Likewise.
8700 * stdio-common/printf_size.c: Likewise.
8701
9277c064
UD
8702 * math/e_exp10.c: Include math_private.h using <...> not "...".
8703 * math/e_exp10f.c: Likewise.
8704 * math/e_exp10l.c: Likewise.
8705 * math/e_exp2l.c: Likewise.
8706 * math/e_j0l.c: Likewise.
8707 * math/e_j1l.c: Likewise.
8708 * math/e_jnl.c: Likewise.
8709 * math/e_lgammal_r.c: Likewise.
8710 * math/e_rem_pio2l.c: Likewise.
8711 * math/e_scalb.c: Likewise.
8712 * math/e_scalbf.c: Likewise.
8713 * math/e_scalbl.c: Likewise.
8714 * math/k_cosl.c: Likewise.
8715 * math/k_sinl.c: Likewise.
8716 * math/k_tanl.c: Likewise.
8717 * math/s_cacoshf.c: Likewise.
8718 * math/s_catan.c: Likewise.
8719 * math/s_catanf.c: Likewise.
8720 * math/s_catanh.c: Likewise.
8721 * math/s_catanhf.c: Likewise.
8722 * math/s_catanhl.c: Likewise.
8723 * math/s_catanl.c: Likewise.
8724 * math/s_ccosh.c: Likewise.
8725 * math/s_ccoshf.c: Likewise.
8726 * math/s_ccoshl.c: Likewise.
8727 * math/s_cexp.c: Likewise.
8728 * math/s_cexpf.c: Likewise.
8729 * math/s_cexpl.c: Likewise.
8730 * math/s_clog.c: Likewise.
8731 * math/s_clog10.c: Likewise.
8732 * math/s_clog10f.c: Likewise.
8733 * math/s_clog10l.c: Likewise.
8734 * math/s_clogf.c: Likewise.
8735 * math/s_clogl.c: Likewise.
8736 * math/s_csin.c: Likewise.
8737 * math/s_csinf.c: Likewise.
8738 * math/s_csinh.c: Likewise.
8739 * math/s_csinhf.c: Likewise.
8740 * math/s_csinhl.c: Likewise.
8741 * math/s_csinl.c: Likewise.
8742 * math/s_csqrt.c: Likewise.
8743 * math/s_csqrtf.c: Likewise.
8744 * math/s_csqrtl.c: Likewise.
8745 * math/s_ctan.c: Likewise.
8746 * math/s_ctanf.c: Likewise.
8747 * math/s_ctanh.c: Likewise.
8748 * math/s_ctanhf.c: Likewise.
8749 * math/s_ctanhl.c: Likewise.
8750 * math/s_ctanl.c: Likewise.
8751 * math/s_ldexp.c: Likewise.
8752 * math/s_ldexpf.c: Likewise.
8753 * math/s_ldexpl.c: Likewise.
8754 * math/s_significand.c: Likewise.
8755 * math/s_significandf.c: Likewise.
8756 * math/s_significandl.c: Likewise.
8757 * math/w_acos.c: Likewise.
8758 * math/w_acosf.c: Likewise.
8759 * math/w_acosh.c: Likewise.
8760 * math/w_acoshf.c: Likewise.
8761 * math/w_acoshl.c: Likewise.
8762 * math/w_acosl.c: Likewise.
8763 * math/w_asin.c: Likewise.
8764 * math/w_asinf.c: Likewise.
8765 * math/w_asinl.c: Likewise.
8766 * math/w_atan2.c: Likewise.
8767 * math/w_atan2f.c: Likewise.
8768 * math/w_atan2l.c: Likewise.
8769 * math/w_atanh.c: Likewise.
8770 * math/w_atanhf.c: Likewise.
8771 * math/w_atanhl.c: Likewise.
8772 * math/w_cosh.c: Likewise.
8773 * math/w_coshf.c: Likewise.
8774 * math/w_coshl.c: Likewise.
8775 * math/w_dremf.c: Likewise.
8776 * math/w_exp10.c: Likewise.
8777 * math/w_exp10f.c: Likewise.
8778 * math/w_exp10l.c: Likewise.
8779 * math/w_exp2.c: Likewise.
8780 * math/w_exp2f.c: Likewise.
8781 * math/w_fmod.c: Likewise.
8782 * math/w_fmodf.c: Likewise.
8783 * math/w_fmodl.c: Likewise.
8784 * math/w_hypot.c: Likewise.
8785 * math/w_hypotf.c: Likewise.
8786 * math/w_hypotl.c: Likewise.
8787 * math/w_j0.c: Likewise.
8788 * math/w_j0f.c: Likewise.
8789 * math/w_j0l.c: Likewise.
8790 * math/w_j1.c: Likewise.
8791 * math/w_j1f.c: Likewise.
8792 * math/w_j1l.c: Likewise.
8793 * math/w_jn.c: Likewise.
8794 * math/w_jnf.c: Likewise.
8795 * math/w_jnl.c: Likewise.
8796 * math/w_lgamma.c: Likewise.
8797 * math/w_lgamma_r.c: Likewise.
8798 * math/w_lgammaf.c: Likewise.
8799 * math/w_lgammaf_r.c: Likewise.
8800 * math/w_lgammal.c: Likewise.
8801 * math/w_lgammal_r.c: Likewise.
8802 * math/w_log.c: Likewise.
8803 * math/w_log10.c: Likewise.
8804 * math/w_log10f.c: Likewise.
8805 * math/w_log10l.c: Likewise.
8806 * math/w_log2.c: Likewise.
8807 * math/w_log2f.c: Likewise.
8808 * math/w_log2l.c: Likewise.
8809 * math/w_logf.c: Likewise.
8810 * math/w_logl.c: Likewise.
8811 * math/w_pow.c: Likewise.
8812 * math/w_powf.c: Likewise.
8813 * math/w_powl.c: Likewise.
8814 * math/w_remainder.c: Likewise.
8815 * math/w_remainderf.c: Likewise.
8816 * math/w_remainderl.c: Likewise.
8817 * math/w_scalb.c: Likewise.
8818 * math/w_scalbf.c: Likewise.
8819 * math/w_scalbl.c: Likewise.
8820 * math/w_sinh.c: Likewise.
8821 * math/w_sinhf.c: Likewise.
8822 * math/w_sinhl.c: Likewise.
8823 * math/w_sqrt.c: Likewise.
8824 * math/w_sqrtf.c: Likewise.
8825 * math/w_sqrtl.c: Likewise.
8826 * math/w_tgamma.c: Likewise.
8827 * math/w_tgammaf.c: Likewise.
8828 * math/w_tgammal.c: Likewise.
8829
6a621eb7
UD
8830 * po/ja.po: Update from translation team.
8831
bf582445
AJ
88322011-09-29 Andreas Jaeger <aj@suse.de>
8833
f9efbf3a
AJ
8834 [BZ #13179]
8835 * sunrpc/netname.c (netname2host): Fix logic.
8836
bf582445
AJ
8837 [BZ #6779]
8838 [BZ #6783]
8839 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8840 correctly.
8841 * math/w_remainder.c (__remainder): Likewise.
8842 * math/w_remainderf.c (__remainderf): Likewise.
8843 * math/libm-test.inc (remainder_test): Add test cases.
8844
48693bea
AK
88452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8846
8847 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8848 sdiv_qrnnd.
8849
42622229
LD
88502011-10-07 Ulrich Drepper <drepper@gmail.com>
8851
8852 * string/test-memcmp.c: Avoid unncessary #defines.
8853 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8854
093ecf92
LD
88552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8856
8857 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8858 Use new sse2 version for core i3 - i7 as it's faster
8859 than sse42 version.
8860 (bit_Prefer_PMINUB_for_stringop): New.
8861 * sysdeps/x86_64/rawmemchr.S: Update.
8862 Replace with faster SSE2 version.
8863 * sysdeps/x86_64/memrchr.S: New file.
8864 * sysdeps/x86_64/memchr.S: Update.
8865 Replace with faster SSE2 version.
8866
fde56e5c
MP
88672011-09-12 Marek Polacek <mpolacek@redhat.com>
8868
8869 * elf/dl-load.c (lose): Add cast to avoid warning.
8870
21fd49a9
UD
88712011-10-07 Ulrich Drepper <drepper@gmail.com>
8872
5a06e643
UD
8873 * po/ca.po: Update from translation team.
8874
684ae515
UD
8875 * inet/getnetgrent_r.c: Hook up nscd.
8876 * nscd/Makefile (routines): Add nscd_netgroup.
8877 (nscd-modules): Add netgroupcache.
8878 (CFLAGS-netgroupcache.c): Define.
8879 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8880 (cache_search): Add const to second parameter.
8881 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8882 INNETGR.
8883 (dbs): Add netgrdb entry.
8884 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8885 (verify_persistent_db): Handle netgrdb.
8886 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8887 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8888 GETFDNETGR.
8889 (netgroup_response_header): Define.
8890 (innetgroup_response_header): Define.
8891 (datahead): Add netgroup_response_header and innetgroup_response_header
8892 elements.
8893 * nscd/nscd.conf: Add entries for netgroup cache.
8894 * nscd/nscd.h (dbtype): Add netgrdb.
8895 (_PATH_NSCD_NETGROUP_DB): Define.
8896 (netgroup_iov_disabled): Declare.
8897 (xmalloc, xcalloc, xrealloc): Move declarations here.
8898 (cache_search): Adjust prototype.
8899 Add netgroup-related prototypes.
8900 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8901 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8902 (__nscd_innetgr): Declare.
8903 * nscd/selinux.c (perms): Use access_vector_t as element type and
8904 add netgroup-related initializers.
8905 * nscd/netgroupcache.c: New file.
8906 * nscd/nscd_netgroup.c: New file.
8907 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8908 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8909 For four parameters use innetgr.
8910 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8911 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8912 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8913 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8914
21fd49a9
UD
8915 * nscd/connections.c (register_traced_file): Don't register file
8916 for disabled databases.
8917
054c0457
UD
89182011-10-06 Ulrich Drepper <drepper@gmail.com>
8919
32b63198
UD
8920 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8921
054c0457
UD
8922 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8923 from tree and freeing node.
8924
64031225
JO
89252011-09-25 Jiri Olsa <jolsa@redhat.com>
8926
8927 * nss/nsswitch.c (__nss_database_lookup): Handle
8928 nss_parse_service_list out of memory case.
8929
0490345c
JO
89302011-09-15 Jiri Olsa <jolsa@redhat.com>
8931
8932 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8933 out of memory case.
8934
3a62d00d
AS
89352011-10-04 Andreas Schwab <schwab@redhat.com>
8936
8937 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8938 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8939 pass it down.
8940 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8941 elf_machine_rela, elf_machine_lazy_rel.
8942 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8943 (ELF_DYNAMIC_DO_REL): Likewise.
8944 (ELF_DYNAMIC_DO_RELA): Likewise.
8945 (ELF_DYNAMIC_RELOCATE): Likewise.
8946 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8947 to ELF_DYNAMIC_DO_REL.
8948 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8949 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8950 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8951 elf_machine_rela.
8952 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8953 skip_ifunc, don't call ifunc function if non-zero.
8954 (elf_machine_rela): Likewise.
8955 (elf_machine_lazy_rel): Likewise.
8956 (elf_machine_lazy_rela): Likewise.
8957 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8958 (elf_machine_lazy_rel): Likewise.
8959 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8960 Likewise.
8961 (elf_machine_lazy_rel): Likewise.
8962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8963 Likewise.
8964 (elf_machine_lazy_rel): Likewise.
8965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8966 (elf_machine_lazy_rel): Likewise.
8967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8968 (elf_machine_lazy_rel): Likewise.
8969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8970 (elf_machine_lazy_rel): Likewise.
8971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8972 (elf_machine_lazy_rel): Likewise.
8973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8974 (elf_machine_lazy_rel): Likewise.
8975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8976 (elf_machine_lazy_rel): Likewise.
8977
68577918
UD
89782011-09-28 Ulrich Drepper <drepper@gmail.com>
8979
8980 * nss/nss_files/files-init.c (_nss_files_init): Use static
8981 initialization for all the *_traced_file variables.
8982
68822d74
AS
89832011-09-28 Andreas Schwab <schwab@redhat.com>
8984
8985 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8986
2056100b
RM
89872011-09-27 Roland McGrath <roland@hack.frob.com>
8988
8989 [BZ #13226]
8990 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8991
32c76b63
AS
89922011-09-27 Andreas Schwab <schwab@redhat.com>
8993
8994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8995 Reread the line before reparsing it.
8996
bf972c9d
AS
89972011-09-26 Andreas Schwab <schwab@redhat.com>
8998
8999 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9000
e057a1b5
JM
90012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9002 Maxim Kuvyrkov <maxim@codesourcery.com>
9003 Joseph Myers <joseph@codesourcery.com>
9004
9005 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9006 if needed for __stack_chk_guard.
9007
bc7e1c36
RM
90082011-09-19 Roland McGrath <roland@hack.frob.com>
9009
ecb1482f
RM
9010 * sysdeps/posix/spawni.c (script_execute): Always define it.
9011 It will be optimized away if unused.
9012 (maybe_script_execute): New function.
9013 (__spawni): Call it.
9014
bc7e1c36
RM
9015 * Makerules: Don't include tls.make.
9016 (config-tls): Always set to thread.
9017 * tls.make.c: File removed.
9018
1c3b002b
MF
90192011-09-19 Mike Frysinger <vapier@gentoo.org>
9020
9021 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9022 * config.make.in (CPPFLAGS-config): New substituted variable.
9023
2840865d
UD
90242011-09-15 Ulrich Drepper <drepper@gmail.com>
9025
88738eb6
UD
9026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9027
cbf645a6 9028 [BZ #13192]
2840865d
UD
9029 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9030 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9031
b402e91a
RM
90322011-09-15 Roland McGrath <roland@hack.frob.com>
9033
9034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9035 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9037 (CALL_FAIL): Likewise.
9038 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9039 (CALL_FAIL): Macro removed.
9040 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9041
4c1a1f71
UD
90422011-09-15 Ulrich Drepper <drepper@gmail.com>
9043
9044 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9045 for __FINITE_MATH_ONLY__ == 1.
9046
edc121be
AS
90472011-09-15 Andreas Schwab <schwab@redhat.com>
9048
9049 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9050 __ieee754_sqrt instead of sqrt.
9051 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9052 __ieee754_sqrtf instead of sqrtf.
9053 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9054 __floorf instead of floorf.
9055 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9056 __floorf, __truncf instead of floorf, truncf.
9057
cd205654
UD
90582011-09-14 Ulrich Drepper <drepper@gmail.com>
9059
ee4d0315
UD
9060 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9061
cd205654
UD
9062 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9063 __extern_always_inline.
9064 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9065 32-bit.
9066
48b67d71
AS
90672011-09-14 Andreas Schwab <schwab@redhat.com>
9068
9069 * elf/rtld.c (dl_main): Also relocate in dependency order when
9070 doing symbol dependency testing.
9071
1ae12c75
AS
90722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9073
9074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9075 Always define `refsym'.
9076
995a80df
AS
90772011-09-13 Andreas Schwab <schwab@redhat.com>
9078
e529793b
AS
9079 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9080 (__FD_ELT): Renamed from __FDELT.
9081 * misc/bits/select2.h (__FD_ELT): Likewise.
9082 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9083 __FD_MASK instead of __FDELT, __FDMASK.
9084 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9085 Likewise.
9086 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9087 Likewise.
9088
52d4fef8
AS
9089 * elf/Makefile (gen-ldd): Fix pattern.
9090
995a80df
AS
9091 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9092 (init_tls): Likewise.
9093
8682f8b0
UD
90942011-09-12 Ulrich Drepper <drepper@gmail.com>
9095
9096 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9097
de82006d
AS
90982011-09-12 Andreas Schwab <schwab@redhat.com>
9099
a7c8e6a1
AS
9100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9101 `struct cmsghdr *' instead of `void *'.
9102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9103 Likewise.
9104
0f31fe77
AS
91052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9106
9107 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9108 if non-absolute.
9109 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9110 ldd_rewrite_script.
0f31fe77 9111
32b4c839
UD
91122011-09-11 Ulrich Drepper <drepper@gmail.com>
9113
83cd1420
UD
9114 * configure.in: Remove --with-tls option.
9115 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9116 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9117 out in case it is missing.
9118 * sysdeps/ia64/elf/configure.in: Likewise.
9119 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9120 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9121 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9122 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9123 * sysdeps/sh/elf/configure.in: Likewise.
9124 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9125 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9126 * sysdeps/x86_64/elf/configure.in: Likewise.
9127 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9128 * sysdeps/mach/hurd/tls.h: Likewise.
9129
633f745d
UD
9130 [BZ #13067]
9131 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9132
f318beb8
UD
9133 [BZ #13090]
9134 * configure.in: Fix use of AC_INIT.
9135
32b4c839
UD
9136 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9137
3ce1f295
UD
91382011-09-10 Ulrich Drepper <drepper@gmail.com>
9139
bb016596
UD
9140 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9141 __set_errno.
8e58439c
UD
9142 * malloc/hooks.c: Likewise.
9143
aebae053 9144 [BZ #11929]
02d46fc4
UD
9145 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9146 variables statically.
9147 (narenas): Initialize.
9148 (list_lock): Initialize.
bb016596
UD
9149 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9150 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9151 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9152 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9153 Add initializers to main_arena and mp_.
9154 (malloc_state): Remove pagesize member. Change all users to use
9155 GLRO(dl_pagesize).
9156
9157 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9158 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9159 is always initialized.
9160
22a89187
UD
9161 * malloc/malloc.c: Removed unused configurations and dead code.
9162 * malloc/arena.c: Likewise.
9163 * malloc/hooks.c: Likewise.
02d46fc4 9164 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9165
d063d164
UD
9166 * include/tls.h: Removed. USE___THREAD must always be defined.
9167 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9168 * elf/dl-libc.c: Likewise.
9169 * elf/dl-tsd.c: Likewise.
9170 * include/errno.h: Likewise.
9171 * include/netdb.h: Likewise.
9172 * include/resolv.h: Likewise.
9173 * inet/herrno-loc.c: Likewise.
9174 * inet/herrno.c: Likewise.
9175 * malloc/arena.c: Likewise.
9176 * malloc/hooks.c: Likewise.
9177 * malloc/malloc.c: Likewise.
9178 * resolv/res-state.c: Likewise.
9179 * resolv/res_libc.c: Likewise.
9180 * sysdeps/i386/dl-machine.h: Likewise.
9181 * sysdeps/ia64/dl-machine.h: Likewise.
9182 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9183 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9184 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9185 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9186 * sysdeps/sh/dl-machine.h: Likewise.
9187 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9188 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9189 * sysdeps/unix/i386/sysdep.S: Likewise.
9190 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9191 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9192 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9196 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9201 * sysdeps/x86_64/dl-machine.h: Likewise.
9202 * tls.make.c: Likewise.
9203
3ce1f295
UD
9204 * configure.in: Remove --with-__thread option. Make tests for
9205 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9206 tls_model attribute fail if no support is available. Remove
9207 USE_IN_LIBIO.
9208 * Makeconfig: Adjust for dropped configure option. All features are
9209 now mandatory.
9210 * Makerules: Likewise.
9211 * Versions.def: Likewise.
9212 * argp/argp-fmtstream.c: Likewise.
9213 * argp/argp-fmtstream.h: Likewise.
9214 * argp/argp-help.c: Likewise.
9215 * assert/assert.c: Likewise.
9216 * config.h.in: Likewise.
9217 * config.make.in: Likewise.
9218 * configure: Likewise.
9219 * configure.in: Likewise.
9220 * csu/Versions: Likewise.
9221 * csu/init.c: Likewise.
9222 * elf/tst-audit2.c: Likewise.
9223 * elf/tst-tls10.c: Likewise.
9224 * elf/tst-tls10.h: Likewise.
9225 * elf/tst-tls11.c: Likewise.
9226 * elf/tst-tls12.c: Likewise.
9227 * elf/tst-tls14.c: Likewise.
9228 * elf/tst-tlsmod11.c: Likewise.
9229 * elf/tst-tlsmod12.c: Likewise.
9230 * elf/tst-tlsmod13.c: Likewise.
9231 * elf/tst-tlsmod13a.c: Likewise.
9232 * elf/tst-tlsmod14a.c: Likewise.
9233 * elf/tst-tlsmod15b.c: Likewise.
9234 * elf/tst-tlsmod16a.c: Likewise.
9235 * elf/tst-tlsmod16b.c: Likewise.
9236 * elf/tst-tlsmod7.c: Likewise.
9237 * elf/tst-tlsmod8.c: Likewise.
9238 * elf/tst-tlsmod9.c: Likewise.
9239 * gmon/gmon.c: Likewise.
9240 * grp/fgetgrent_r.c: Likewise.
9241 * grp/putgrent.c: Likewise.
9242 * hurd/fopenport.c: Likewise.
9243 * include/libc-symbols.h: Likewise.
9244 * include/tls.h: Likewise.
9245 * intl/gettextP.h: Likewise.
9246 * intl/loadinfo.h: Likewise.
9247 * locale/global-locale.c: Likewise.
9248 * locale/localeinfo.h: Likewise.
9249 * mach/devstream.c: Likewise.
9250 * malloc/arena.c: Likewise.
9251 * malloc/set-freeres.c: Likewise.
9252 * misc/err.c: Likewise.
9253 * misc/getttyent.c: Likewise.
9254 * misc/mntent_r.c: Likewise.
9255 * posix/getopt.c: Likewise.
9256 * posix/wordexp.c: Likewise.
9257 * pwd/fgetpwent_r.c: Likewise.
9258 * resolv/Versions: Likewise.
9259 * resolv/res_hconf.c: Likewise.
9260 * shadow/fgetspent_r.c: Likewise.
9261 * shadow/putspent.c: Likewise.
9262 * stdio-common/printf_fphex.c: Likewise.
9263 * stdio-common/tmpfile.c: Likewise.
9264 * stdlib/abort.c: Likewise.
9265 * stdlib/fmtmsg.c: Likewise.
9266 * sunrpc/auth_unix.c: Likewise.
9267 * sunrpc/clnt_perr.c: Likewise.
9268 * sunrpc/clnt_tcp.c: Likewise.
9269 * sunrpc/clnt_udp.c: Likewise.
9270 * sunrpc/clnt_unix.c: Likewise.
9271 * sunrpc/openchild.c: Likewise.
9272 * sunrpc/svc_simple.c: Likewise.
9273 * sunrpc/svc_tcp.c: Likewise.
9274 * sunrpc/svc_udp.c: Likewise.
9275 * sunrpc/svc_unix.c: Likewise.
9276 * sunrpc/xdr.c: Likewise.
9277 * sunrpc/xdr_array.c: Likewise.
9278 * sunrpc/xdr_rec.c: Likewise.
9279 * sunrpc/xdr_ref.c: Likewise.
9280 * sunrpc/xdr_stdio.c: Likewise.
9281
1248c1c4
PB
92822011-09-09 Ulrich Drepper <drepper@gmail.com>
9283
9284 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9285
92862011-07-03 Andreas Jaeger <aj@suse.de>
9287
9288 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9290 regenerate with gen-libm-tests.pl.
9291
92922010-05-12 Petr Baudis <pasky@suse.cz>
9293
9294 [BZ #11589]
9295 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9296 around j0() zero points by switching to j1().
9297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9301
f22e1074
UD
93022011-09-09 Ulrich Drepper <drepper@gmail.com>
9303
f19009c1
UD
9304 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9305 instead of 0.
9306 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9307 instead of 0. .
9308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9309 Patch in part by Pavel Roskin <proski@gnu.org>.
9310
3f8cc204
UD
9311 [BZ #13138]
9312 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9313 realloc.
9314 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9315 Free memory block if necessary.
9316
f22e1074
UD
9317 [BZ #12847]
9318 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9319 be NULL. Don't lock in this case.
9320
0a2349f9
RM
93212011-09-09 Roland McGrath <roland@hack.frob.com>
9322
9323 * elf/elf.h (ELFOSABI_GNU): New macro.
9324 (ELFOSABI_LINUX): Define to that.
9325
f3cdd467
DZ
93262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9327
9328 * string/strncat.c (strncat): Undef the symbol in case it has been
9329 defined in bits/string.h.
9330
74718d13
UD
93312011-09-09 Ulrich Drepper <drepper@gmail.com>
9332
633e9e0f
UD
9333 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9334
0a2349f9 9335 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9336 link map.
9337
f9924780
AJ
93382011-08-17 Andreas Jaeger <aj@suse.de>
9339
9340 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9341
7f5517aa
PP
93422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9343 Ian Lance Taylor <iant@google.com>
9344
9345 * math/libm-test.inc (lround_test): New testcase.
9346 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9347
762011fe
UD
93482011-09-08 Ulrich Drepper <drepper@gmail.com>
9349
92963737
UD
9350 * Makefile: Remove support for automatic cvs check-ins.
9351 * Makerules: Likewise.
9352 * config.make.in: Likewise.
9353 * configure.in: Likewise.
9354 * intl/Makefile: Likewise.
9355 * locale/Makefile: Likewise.
9356 * po/Makefile: Likewise.
9357 * posix/Makefile: Likewise.
9358 * sysdeps/gnu/Makefile: Likewise.
9359 * sysdeps/mach/hurd/Makefile: Likewise.
9360 * sysdeps/sparc/sparc32/Makefile: Likewise.
9361
b0727fd8
JS
9362 [BZ #13118]
9363 * posix/Makefile (bug-regex32-ENV): Define.
9364 Patch by John Stanley <jpsinthemix@verizon.net>.
9365
a0f33f99
UD
9366 * misc/Makefile (headers): Add bits/select2.h.
9367 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9368 * misc/bits/select2.h: New file.
9369 * include/bits/select2.h: New file.
9370 * debug/Makefile (routines): Add fdelt_chk.
9371 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9372 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9373 FD_ISSET.
9374 * debug/fdelt_chk.c: New file.
9375
762011fe
UD
9376 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9377 * wcsmbs/test-wmemcmp.c: Likewise.
9378 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9379 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9380
93812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9382
9383 * string/Makefile (strop-tests): Add memcmp.
9384 * string/test-wmemcmp.c: New file.
9385 * string/test-memcmp.c: Add wmemcmp support.
9386
7f513ec8
RM
93872011-09-08 Roland McGrath <roland@hack.frob.com>
9388
0442afb4
RM
9389 [BZ #13153]
9390 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9391 2011-07-19 change.
9392
7f513ec8
RM
9393 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9394 garbage value in a __mach_port_mod_refs call in the cases of the
9395 task-self and thread-self ports.
9396
a12b2239
ST
93972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9398
9399 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9400
610f9ab4
AS
94012011-09-08 Andreas Schwab <schwab@redhat.com>
9402
7f513ec8 9403 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9404
48882a1a
LD
94052011-09-07 Ulrich Drepper <drepper@gmail.com>
9406
b49865be
UD
9407 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9408
fdc86bc9
UD
9409 * elf/dl-libc.c (dlerror_run): Pass back error code from
9410 dl_catch_error.
9411
c966526a
UD
9412 [BZ #13123]
9413 * elf/dl-load.c (lose): Free l_origin if it is valid.
9414
48882a1a
LD
9415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9416 names.
9417 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9418 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9419 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9421 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9422 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9423
77a2a8b4
AZ
94242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9425
9426 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9427 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9428 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9429 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9430 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9431 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9432 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9433 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9434 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9435 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9436
24f579d8
AM
94372011-08-15 Alan Modra <amodra@gmail.com>
9438
9439 [BZ #13092]
9440 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9441 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9442 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9443 ppc_mcount to static-only-routines.
9444 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9445 __mcount_internal.
9446 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9447 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9448
3d4837df
UD
94492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9450
9451 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9452 for finite and infinity parameters.
9453
22700377
WS
94542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9455
9456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9457 and add nop instructions for throughput optimization.
9458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9459
5025581e
WS
94602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9461
9462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9463 aligned copy for power7 with vector-scalar instructions.
9464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9465
08a300c9
L
94662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9467
9468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9469 AVX check.
9470
59178ef9
AS
94712011-09-07 Andreas Schwab <schwab@redhat.com>
9472
9473 [BZ #13144]
9474 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9475 last change.
9476
e38ba7ab
UD
94772011-09-07 Ulrich Drepper <drepper@gmail.com>
9478
9479 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9480 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9481 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9482 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9483 clock_gettime.
9484
d53a73ac
UD
94852011-09-06 Ulrich Drepper <drepper@gmail.com>
9486
fc8bffcc
UD
9487 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9488 Forgot to demangle the pointer.
9489
ceaa0c5d
UD
9490 * sysdeps/i386/sysdep.h: Define atom_text_section.
9491 * sysdeps/x86_64/sysdep.h: Likewise.
9492 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9493 section with atom_text_section.
9494 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9496 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9498 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9499
a77d3c17
UD
9500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9501 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9502 already be defined. Change to take two parameters and don't assign
9503 result to variable. Adjust all users.
9504 Define INTERNAL_GETTIME if not already defined.
9505 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9506 call.
9507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9508 HAVE_CLOCK_GETTIME_VSYSCALL.
9509 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9510
d53a73ac
UD
9511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9512 gettimeofday vsyscall, just use time.
9513
a8f84144
AS
95142011-09-06 Andreas Schwab <schwab@redhat.com>
9515
9516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9517 <errno.h>.
9518
ef606249
UD
95192011-09-06 Ulrich Drepper <drepper@gmail.com>
9520
9521 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9522 syscall on x86-64.
9523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9524 syscall.
9525 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9527 syscall if possible.
9528
6585cb60
UD
95292011-09-05 Ulrich Drepper <drepper@gmail.com>
9530
9531 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9532 e_ident. Don't pass to find_mapsXX.
9533 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9534
a5f524e4
LD
95352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9536
9537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9538 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9539 * sysdeps/x86_64/multiarch/strchr.S: Update.
9540 Check bit_slow_BSF bit.
9541 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9542 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9543 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9544
554881ef
UD
95452011-09-05 Ulrich Drepper <drepper@gmail.com>
9546
d96de963
UD
9547 [BZ #13134]
9548 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9549 before glibc 2.15.
9550 (tryshell): Define.
9551 (__spawni): Change last parameter to be flag. Test
9552 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9553 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9554 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9555 * posix/spawni.c: Likewise.
9556 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9557 * posix/spawnp.c: Likewise. Change normal version to use
9558 SPAWN_XFLAGS_USE_PATH.
9559 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9560 SPAWN_XFLAGS_TRY_SHELL.
9561
d48e5868
UD
9562 [BZ #13150]
9563 * posix/glob.h: Remove gcc 1.x support.
9564
554881ef
UD
9565 [BZ #13068]
9566 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9567
693fb948
LD
95682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9569
9570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9571 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9572 strrchr-sse2-bsf
9573 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9574 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9575 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9577 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9579
1b48c537
UD
95802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9581
49d42c37
UD
9582 * sysdeps/x86_64/wcscmp.S: New file.
9583
1b48c537
UD
9584 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9585 wcscmp-c wcscmp-sse2
9586 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9587 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9588 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9589 * wcsmbs/wcscmp.c: Allow renaming.
9590
15c95c5d
DM
95912011-09-05 David S. Miller <davem@davemloft.net>
9592
9593 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9594 stack slot, rather than the struct return pointer slot.
9595 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9596 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9598 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9599
2f0ad8f3
UD
96002011-09-05 Ulrich Drepper <drepper@gmail.com>
9601
d88ae418
UD
9602 * po/ja.po: Update from translation team.
9603
2f0ad8f3
UD
9604 [BZ #13144]
9605 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9606 kernel in 64-bit binaries.
9607
5f4318d1
DM
96082011-09-01 David S. Miller <davem@davemloft.net>
9609
9610 * elf/elf.h (HWCAP_SPARC_*): Move to..
9611 * sysdeps/sparc/sysdep.h: this new file and add new values.
9612 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9613 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9614 _DL_HWCAP_COUNT to 24.
9615 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9616 entries.
9617 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9618 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9619 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9621 instead of magic constants.
9622 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9623
3ba57516
DM
96242011-08-31 David S. Miller <davem@davemloft.net>
9625
9626 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9628 Reimplement to do errno handling inline.
9629 (SYSCALL_ERROR_HANDLER): New macro.
9630 (__SYSCALL_STRING): Do not do errno handling in asm.
9631 (__CLONE_SYSCALL_STRING): Delete.
9632 (__INTERNAL_SYSCALL_STRING): Delete.
9633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9634 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9635 (PSEUDO): Reimplement to do errno handling inline.
9636 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9637 (SYSCALL_ERROR_HANDLER): New macro.
9638 (__SYSCALL_STRING): Do not do errno handling in asm.
9639 (__CLONE_SYSCALL_STRING): Delete.
9640 (__INTERNAL_SYSCALL_STRING): Delete.
9641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9642 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9643 i386.
9644 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9645 (inline_syscall*): Add 'err' argument.
9646 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9647 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9648 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9649 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9650
9651 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9652 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9653
2bc17433
AS
96542011-08-30 Andreas Schwab <schwab@redhat.com>
9655
9656 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9657
fbeb5f4d
JO
96582011-08-29 Jiri Olsa <jolsa@redhat.com>
9659
9660 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9661 directive.
9662
ad69cc26
DM
96632011-08-24 David S. Miller <davem@davemloft.net>
9664
9665 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9666
39dd69df
AS
96672011-08-24 Andreas Schwab <schwab@redhat.com>
9668
9669 * elf/Makefile: Add rules to build and run unload8 test.
9670 * elf/unload8.c: New file.
9671 * elf/unload8mod1.c: New file.
9672 * elf/unload8mod1x.c: New file.
9673 * elf/unload8mod2.c: New file.
9674 * elf/unload8mod3.c: New file.
9675
9676 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9677 it wasn't used.
9678
2c0b250a
DM
96792011-08-23 David S. Miller <davem@davemloft.net>
9680
9681 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9682 subtract stack bias.
9683 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9684 %sp not %fp in calculations.
9685 (_JMPBUF_UNWINDS_ADJ): Likewise.
9686
22044b48
DM
9687 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9688 (aio_suspend): Call it to force an exception region around the
9689 AIO_MISC_WAIT() invocation.
9690
2cae4995
AS
96912011-08-23 Andreas Schwab <schwab@redhat.com>
9692
9693 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9694 backslash.
9695
873a772e
AJ
96962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9697
9698 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9699 protection macro.
9700 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9701 and <dl-machine.h>.
9702 (Elf64_FuncDesc): Remove.
9703
25ad0df1
DM
97042011-08-22 David S. Miller <davem@davemloft.net>
9705
9706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9707 sigaltstack check, add missing cfi directives.
9708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9709 missing cfi directives, and sigaltstack handling.
9710
e888bcbe
AS
97112011-08-16 Andreas Schwab <schwab@redhat.com>
9712
9713 [BZ #11724]
9714 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9715 object is seen twice.
9716 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9717
9718 * elf/Makefile (distribute): Add tst-initorder2.c.
9719 (tests): Add tst-initorder2.
9720 (modules-names): Add tst-initorder2a tst-initorder2b
9721 tst-initorder2c tst-initorder2d. Add rules to build them.
9722 ($(objpfx)tst-initorder2.out): New rule.
9723 * elf/tst-initorder2.c: New file.
9724 * elf/tst-initorder2.exp: New file.
9725
87162f46
AS
97262011-08-22 Andreas Schwab <schwab@redhat.com>
9727
70538b7f
AS
9728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9729
f55ffe58
AS
9730 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9731 dependencies back to end of function.
9732
87162f46
AS
9733 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9734 $(elfobjdir)/ld.so.
9735
91b392a4
UD
97362011-08-21 Ulrich Drepper <drepper@gmail.com>
9737
9738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9739 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9741 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9742 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9743 of __vdso_gettimeofday.
9744 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9745 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9746 attribute_hidden.
9747 (_libc_vdso_platform_setup): Remove initialization of
9748 __vdso_gettimeofday and __vdso_time.
9749
5c43483f
UD
97502011-08-20 Ulrich Drepper <drepper@gmail.com>
9751
775a77e7
UD
9752 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9753 and fgetc_unlocked.
9754 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9755 getc_unlocked.
89f447ed 9756
49c74ba9
UD
9757 * elf/dl-open.c (add_to_global): Report additions to the global scope
9758 for LD_DEBUG=scopes.
9759 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9760 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9761
5c43483f
UD
9762 [BZ #13114]
9763 * stdio-common/Makefile (tests): Add bug24.
9764 * stdio-common/bug24.c: New file.
9765
a101b025
AJ
97662011-08-19 Andreas Jaeger <aj@suse.de>
9767
9768 [BZ #13114]
9769 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9770 non-existant file when using close-on-exec mode.
9771
c88f1766
UD
97722011-08-20 Ulrich Drepper <drepper@gmail.com>
9773
0276a718
UD
9774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9775 the very first instruction.
9776
c88f1766
UD
9777 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9778 the CFI state in the end.
9779 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9780 inclusion of dl-trampoline.h.
9781 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9782
51ccffa0
AS
97832011-08-19 Andreas Schwab <schwab@redhat.com>
9784
94d7165f
AS
9785 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9786 expectations for long double.
9787
51ccffa0
AS
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9789 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9790
fd708658 97912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9792
9793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9794 artificual limit depends upon the system page size.
9795
44f0a71e
UD
97962011-08-17 Ulrich Drepper <drepper@gmail.com>
9797
9798 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9799 * resolv/Makefile: Define CFLAGS-libresolv.
9800
8de79a24
AS
98012011-08-17 Andreas Schwab <schwab@redhat.com>
9802
9803 * nss/makedb.c (compute_tables): Make variables used in nested
9804 function static.
9805
27724598
UD
98062011-08-17 Ulrich Drepper <drepper@gmail.com>
9807
c5305d88
UD
9808 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9809 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9810 if buffer was too small.
9811
27724598
UD
9812 * elf/pldd.c (main): Attach to all threads in the process.
9813 Rewrite /proc handling to use *at functions.
9814
076fe015
UD
98152011-08-16 Ulrich Drepper <drepper@gmail.com>
9816
174baab3
UD
9817 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9818 specifies first scope to show.
9819 (dl_open_worker): Update callers. Move printing scope of new
9820 object to before the relocation.
44f0a71e 9821 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9822 * sysdeps/generic/ldsodefs.h: Update declaration.
9823
076fe015
UD
9824 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9825 string for the scope number.
9826
a60df2c3
UD
98272011-08-14 Ulrich Drepper <drepper@gmail.com>
9828
9829 * nscd/servicescache.c (cache_addserv): Make sure written is always
9830 initialized.
9831
5e4287d1
RM
98322011-08-14 Roland McGrath <roland@hack.frob.com>
9833
85ae0589
RM
9834 * sysdeps/i386/i486/bits/atomic.h
9835 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9836 statement expression, so as to suppress "set but not used" warning.
9837 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9838
69f63097
RM
9839 * string/strncat.c (STRNCAT): Use prototype definition.
9840
675456ef
RM
9841 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9842 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9843 -Iprograms here.
9844 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9845 (localedef-modules): Add localedef.
9846 (locale-modules): Add locale.
9847
5e4287d1
RM
9848 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9849 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9850 to avoid a warning.
9851
9c96ff23
DM
98522011-08-14 David S. Miller <davem@davemloft.net>
9853
9854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9855 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9856
f9ddf089
UD
98572011-08-13 Ulrich Drepper <drepper@gmail.com>
9858
44f0a71e 9859 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9860 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9861 * elf/rtld.c (dl_main): Set l_name of vDSO.
9862 Call _dl_show_scope when DL_DEBUG_SCOPES.
9863 (process_dl_debug): Recognize scopes flag and also set it for all.
9864 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9865 Declare _dl_show_scope.
9866
1dc27704
UD
9867 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9868 (do_dlopen): Pass caller_dlopen to dl_open.
9869 (__libc_dlopen_mode): Initialize caller_dlopen.
9870
f9ddf089
UD
9871 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9872 of libc. Make tolower call locale-independent. Optimize a bit by
9873 using isdigit instead of isalnum.
9874 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9875
9ac533d3
UD
98762011-08-12 Ulrich Drepper <drepper@gmail.com>
9877
9878 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9879 was a dependency or dynamically loaded.
9880
89edf2e9
UD
98812011-08-11 Ulrich Drepper <drepper@gmail.com>
9882
8e999d29
UD
9883 * intl/l10nflist.c: Allow architecture-specific pop function.
9884 * sysdeps/x86_64/l10nflist.c: New file.
9885
89edf2e9
UD
9886 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9887 classification.
9888
14d96785
AS
98892011-08-10 Andreas Schwab <schwab@redhat.com>
9890
9891 * include/dirent.h: Add libc_hidden_proto for scandirat and
9892 scandirat64. Don't declare __scandirat64.
9893 * dirent/scandirat.c: Add libc_hidden_def.
9894 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9895 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9896
6761ac04
DM
98972011-08-10 David S. Miller <davem@davemloft.net>
9898
9899 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9900 enum.
9901 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9902 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9903 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9904
c55fbd1e
UD
99052011-08-09 Ulrich Drepper <drepper@gmail.com>
9906
9907 * Versions.def [libc]: Add GLIBC_2.15.
9908 * dirent/Makefile (routines): Add scandirat and scandirat64.
9909 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9910 GLIBC_2.15.
9911 * dirent/dirent.h: Declare scandirat and scandirat64.
9912 * dirent/scandirat.c: New file.
9913 * dirent/scandirat64.c: New file.
9914 * sysdeps/wordsize-64/scandirat.c: New file.
9915 * sysdeps/wordsize-64/scandirat64.c: New file.
9916 * dirent/opendir.c: Define opendirat.
9917 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9918 using scandirat.
9919 * dirent/scandir64.c: Adjust for scandir.c change.
9920 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9921 __scandirat64, and __scandir_cancel_handler.
9922 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9923 additional parameter and use openat instead of open (outside of ld.so).
9924 Add new __opendir as wrapper around __opendirat.
9925 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9926 here without requiring old scandirat implementation.
9927
879165f2
UD
99282011-08-08 Ulrich Drepper <drepper@gmail.com>
9929
9930 * dirent/scandir.c (cancel_handler): Renamed to
9931 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9932 defined. Adjust users.
9933 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9934 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9935
cb7e923b
UD
99362011-08-04 Ulrich Drepper <drepper@gmail.com>
9937
16292edd
UD
9938 * string/test-string.h (IMPL): Use __STRING to expand name and then
9939 stringify it.
9940
cb7e923b
UD
9941 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9942 of cleanups.
9943
cff82933
LD
99442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9945
9946 * string/Makefile: Update.
9947 (strop-tests): Append strncat.
9948 * string/test-wcscmp.c: New file.
9949 New comprehensive test for wcscmp.
9950 * string/test-strcmp.c: Update.
9951 (WIDE): New define.
9952
9be9bfcc
AS
99532011-07-22 Andreas Schwab <schwab@redhat.com>
9954
9955 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9956 line.
9957
2e96f1c7
AS
99582011-07-26 Andreas Schwab <schwab@redhat.com>
9959
9960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9961 encoding to ACE if AI_IDN.
9962
85188888
JJ
99632011-08-01 Jakub Jelinek <jakub@redhat.com>
9964
9965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9966 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9967
5fa16e9b
LD
99682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9969
9970 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9971 Fix overflow bug in strncat.
9972 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9973
9974 * string/test-strncat.c: Update.
9975 Add new tests for checking overflow bugs.
9976
99772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9978
9979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9980 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9981 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9982 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9983 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9984 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9985 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9986 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9987 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9988
9989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9990 (USE_AS_STRCAT): Define.
9991 Add strcat and strncat support.
9992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9993
8c1a459f
AS
99942011-07-25 Andreas Schwab <schwab@redhat.com>
9995
9996 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9997 __n bigger than INT_MAX+1.
9998 (__strncmp_g): Likewise.
9999
bba33c28
UD
100002011-07-23 Ulrich Drepper <drepper@gmail.com>
10001
798be72d
UD
10002 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10003 * libio/stido.h: Likewise.
10004
8accd4dc
UD
10005 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10006 (AF_NFC): Define.
10007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10008 (AF_NFC): Define.
10009
cbff0d96
UD
10010 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10011 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10013 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10015
9191c04a
UD
10016 [BZ #13021]
10017 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10018 installed.
10019
bba33c28
UD
10020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10021 typo.
10022 (_dl_x86_64_save_sse): Likewise.
10023
90f139dd
UD
100242011-07-22 Ulrich Drepper <drepper@gmail.com>
10025
1aae088a
UD
10026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10027 OSXSAVE.
10028 (_dl_x86_64_save_sse): Likewise.
10029
8e2045f5
UD
10030 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10031
90f139dd
UD
10032 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10033
1d002f25
AS
100342011-07-21 Andreas Schwab <schwab@redhat.com>
10035
10036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10037 change.
10038 (_dl_x86_64_save_sse): Use correct AVX check.
10039
21137f89
UD
100402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10041
10042 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10043 bug in strncpy/strncat.
10044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10045
a65c0b7a
UD
100462011-07-21 Ulrich Drepper <drepper@gmail.com>
10047
10048 * string/tester.c (test_strcat): Add tests for different alignments
10049 of source and destination.
10050 (test_strncat): Likewise.
10051
6986b98a
UD
100522011-07-20 Ulrich Drepper <drepper@gmail.com>
10053
90bb2039
UD
10054 [BZ #12852]
10055 * posix/glob.c (glob): Check passed in values before using them in
10056 expressions to avoid some overflows.
10057 (glob_in_dir): Likewise.
10058
5644ef54
UD
10059 [BZ #13007]
10060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10061 check for AVX enablement so that we don't crash with old kernels and
10062 new hardware.
10063 * elf/tst-audit4.c: Add same checks here.
10064 * elf/tst-audit6.c: Likewise.
10065
10066 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10067
bfc9dc9b
AS
100682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10069
10070 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10071
702e64bb
UD
100722011-07-20 Ulrich Drepper <drepper@gmail.com>
10073
10074 * po/cs.po: Update from translation team.
10075 * po/bg.po: Likewise.
10076
295e904f
MP
100772011-07-12 Marek Polacek <mpolacek@redhat.com>
10078
10079 * misc/sys/cdefs.h: Add support for const attribute.
10080 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10081 to gnu_dev_{major,minor,makedev} functions.
10082
3ff94596
MP
100832011-07-20 Marek Polacek <mpolacek@redhat.com>
10084
10085 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10086
28b59fca
AS
100872011-07-20 Andreas Schwab <schwab@redhat.com>
10088
10089 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10090 strlen results.
10091
19df733e
AK
100922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10093
10094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10095 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10096 register in order to avoid conflicts with the soft frame pointer
10097 being held in r11 when necessary.
10098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10099 (INTERNAL_VSYSCALL_NCS): Likewise.
10100
c8835729
MP
101012011-07-14 Marek Polacek <mpolacek@redhat.com>
10102
10103 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10104 * elf/dl-fini.c (_dl_fini): Adjust caller.
10105 * elf/dl-close.c (_dl_close_worker): Likewise.
10106 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10107
b902330c
MP
101082011-07-15 Marek Polacek <mpolacek@redhat.com>
10109
8991e135
MP
10110 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10111 "aux_cache->nlibs < 0".
10112
b902330c
MP
10113 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10114 in the reload-count case.
10115
99710781
LD
101162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10117
10118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10119 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10120 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10121 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10122 * sysdeps/x86_64/multiarch/strcat.S: New file.
10123 * sysdeps/x86_64/multiarch/strncat.S: New file.
10124 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10125 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10126 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10127 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10128 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10129 (USE_AS_STRCAT): Define.
10130 Add strcat and strncat support.
10131 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10132 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10133 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10134 * string/strncat.c: Update.
10135 (USE_AS_STRNCAT): Define.
10136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10137 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10138 and i7.
10139 * sysdeps/x86_64/multiarch/init-arch.h
10140 (bit_Prefer_PMINUB_for_stringop): New.
10141 (index_Prefer_PMINUB_for_stringop): Likewise.
10142 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10143 bit_Prefer_PMINUB_for_stringop.
10144
7dc6bd90
UD
101452011-07-19 Ulrich Drepper <drepper@gmail.com>
10146
10147 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10148 buffer64.
10149 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10150 of casting of buffer.
10151 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10152 buffer32 and buffer64.
10153 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10154 writes instead of casting of buffer.
10155 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10156 buffer32.
10157 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10158 casting of buffer.
10159
e0e72284
AS
101602011-07-19 Andreas Schwab <schwab@redhat.com>
10161
10162 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10163
feb1eb0b
UD
101642011-07-19 Ulrich Drepper <drepper@gmail.com>
10165
10166 * nscd/nscd.c (termination_handler): Don't do anything for a database
10167 if it has not yet been initialized.
10168
298711ff
UD
101692011-07-18 Ulrich Drepper <drepper@gmail.com>
10170
10171 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10172
101732011-07-15 Marek Polacek <mpolacek@redhat.com>
10174
10175 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10176
f9d68389
UD
101772011-07-18 Ulrich Drepper <drepper@gmail.com>
10178
10179 * po/nl.po: Update from translation team.
10180 * po/sv.po: Likewise.
10181
db290cf5
RM
101822011-07-16 Roland McGrath <roland@hack.frob.com>
10183
10184 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10185 now disallowed by GCC.
5c550700 10186
fd5e21c7
RM
10187 * configure.in (use-default-link): Default to yes if a test -shared
10188 link meets our qualifications.
10189 * configure: Regenerated.
10190
5c550700
RM
10191 * config.make.in (output-format): New variable.
10192 * configure.in: Check for ld --print-output-format support.
10193 * configure: Regenerated.
10194 * Makerules ($(common-objpfx)format.lds)
10195 [$(output-format) != unknown]: Just use $(output-format),
10196 instead of the linker-script munging.
10197
9fa2c032
RM
101982011-07-14 Roland McGrath <roland@hack.frob.com>
10199
a6928d51
RM
10200 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10201 of $(common-objpfx)shlib.lds.
10202 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10203
661607b3
RM
10204 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10205 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10206
9fa2c032
RM
10207 * configure.in (-z relro check): Adjust test code to add a large
10208 writable data section after it.
10209 * configure: Regenerated.
10210
defe9061
RM
102112011-07-11 Roland McGrath <roland@hack.frob.com>
10212
10213 * configure.in (-z relro check): Fix test code to make the variable
10214 truly const.
10215 * configure: Regenerated.
10216
319b9ad4
UD
102172011-07-11 Ulrich Drepper <drepper@gmail.com>
10218
10219 * nscd/nscd.h (struct traced_file): Define.
10220 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10221 elements. Add traced_files.
10222 (inotify_fd): Declare.
10223 (register_traced_file): Declare.
10224 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10225 (inotify_fd): Export.
10226 (resolv_conf_descr): Remove.
10227 (nscd_init): Move inotify descriptor creation to main.
10228 Don't register files for notification here.
10229 (register_traced_file): New function.
10230 (invalidate_cache): Don't use reset_res to determine whether to call
10231 res_init, go through the list of registered files.
10232 (main_loop_poll): The inotify descriptors are now stored in the
10233 structures for the traced files.
10234 (main_loop_epoll): Likewise
10235 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10236 to __nss_disable_nscd.
10237 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10238 for a database anymore. Check the records for all the registered
10239 files instead.
10240 * nss/Makefile (libnss_files-routines): Add files-init.
10241 (libnss_db-routines): Add db-init.
10242 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10243 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10244 * nss/nss_db/db-init.c: New file.
10245 * nss/nss_files/files-init.c: New file.
10246 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10247 __nss_lookup_function.
10248 (__nss_lookup_function): Call nss_load_library.
10249 (nss_load_all_libraries): New function.
10250 (__nss_disable_nscd): Take parameter with callback function for files
10251 to register. Set is_nscd. Load all the DSOs for the NSS modules
10252 used for the cached services.
10253 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10254 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10255 options for features to all the files in nscd.
10256
10257 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10258
23bee3e8
RM
102592011-07-10 Roland McGrath <roland@hack.frob.com>
10260
10261 * csu/elf-init.c (__libc_csu_init): Comment typo.
10262
46a5b7f0
UD
102632011-07-09 Ulrich Drepper <drepper@gmail.com>
10264
10265 * po/pl.po: Update from translation team.
10266 * po/ja.po: Likewise.
10267 * po/ru.po: Likewise.
10268 * po/ko.po: Likewise.
10269 * po/fr.po: Likewise.
10270
d30cf5bb
RM
102712011-07-09 Roland McGrath <roland@hack.frob.com>
10272
113ddea4
RM
10273 * configure.in (.ctors/.dtors header and trailer check):
10274 Use an empirical test on a built program.
10275 * configure: Regenerated.
10276
574920b4
RM
10277 * configure.in (-z relro check): Use an empirical test on a built DSO.
10278 Detect, but do not require, on ia64.
10279 * configure: Regenerated.
10280
d30cf5bb
RM
10281 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10282 Update tests that use readelf to use $READELF instead.
10283 * configure: Regenerated.
10284
8538fdb3
UD
102852011-07-08 Ulrich Drepper <drepper@gmail.com>
10286
10287 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10288 if the result is not used.
10289
04d08991
AJ
102902011-07-05 Andreas Jaeger <aj@suse.de>
10291
10292 [BZ#9696]
10293 * stdlib/tst-strtod.c: Add testcase.
10294
de283087
AD
102952011-07-07 Ulrich Drepper <drepper@gmail.com>
10296
4e5f31c8 10297 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10298 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10299 The latter has a higher limit. Take additional parameter to pass to
10300 the new function.
10301 (__pathconf): Pass file to __statfs_link_max.
10302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10303 __statfs_link_max.
10304 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10305 __statfs_link_max.
10306
de283087
AD
10307 [BZ #12868]
10308 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10310 Handle Lustre.
10311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10312 (__statfs_filesize_max): Likewise.
10313 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10314
c75fa153
AJ
103152011-07-05 Andreas Jaeger <aj@suse.de>
10316
10317 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10318
1a544854
UD
103192011-07-06 Marek Polacek <mpolacek@redhat.com>
10320
10321 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10322 `status' variable.
10323 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10324 Likewise.
10325
6f0eec67
UD
103262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10327
10328 * Makefile (strop-tests): Add strncat.
10329 * string/test-strncat.c: New file.
10330
aae30307
UD
103312011-06-30 Marek Polacek <mpolacek@redhat.com>
10332
10333 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10334
c0cfb5eb
UD
103352011-06-21 Andreas Jaeger <aj@suse.de>
10336
10337 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10338 Copy rule from iconvdata/Makefile.
10339
01636b21
UD
103402011-07-06 Ulrich Drepper <drepper@gmail.com>
10341
10342 [BZ #12922]
10343 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10344 but no long options are defined, just return 'W'.
10345
9895c8bc
UD
103462011-06-22 Marek Polacek <mpolacek@redhat.com>
10347
10348 [BZ #9696]
10349 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10350
5d4cf042
UD
103512011-07-06 Ulrich Drepper <drepper@gmail.com>
10352
10353 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10354 netgroups to read.
960e5535 10355 (innetgr): Likewise.
5d4cf042 10356
751eb97e
RM
103572011-07-05 Roland McGrath <roland@hack.frob.com>
10358
10359 * config.make.in (install_root): Default to $(DESTDIR).
10360
f15f1e45
UD
103612011-07-05 Ulrich Drepper <drepper@gmail.com>
10362
10363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10364
4e34ac6a
RM
103652011-07-02 Roland McGrath <roland@hack.frob.com>
10366
5e9b6af4
RM
10367 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10368
84f9ea0f
RM
10369 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10370 containing directory rather than embedding absolute directory names.
10371
ea5ee9f7
RM
10372 * scripts/check-local-headers.sh: Rewritten using awk.
10373 Match by word, not by line. Print error messages for matches.
10374 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10375
1b74661a
RM
10376 * Makerules [shlib-lds-flags empty]:
10377 ($(common-objpfx)libc_pic.opts): New target.
10378 ($(common-objpfx)libc_pic.os.clean): New target.
10379 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10380
10381 * config.make.in (OBJCOPY): New variable.
10382 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10383 * configure: Regenerated.
10384
f781ef40
RM
10385 * config.make.in (use-default-link): New variable.
10386 * configure.in (use_default_link): Grok --with-default-link to set it.
10387 * configure: Regenerated.
10388 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10389 (shlib-lds, shlib-lds-flags): Define to empty.
10390
2d4fa81e
RM
10391 * Makerules (shlib-lds): New variable.
10392 (shlib-lds-flags): New variable.
10393 (build-shlib, build-moduile, build-module-asneeded): Use it.
10394 ($(common-objpfx)libc.so): Use $(shlib-lds).
10395 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10396 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10397
31fffa6b
RM
10398 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10399 DT_FLAGS/DT_FLAGS_1 with zero flags.
10400
4e34ac6a
RM
10401 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10402 linker script munging.
10403
fcfc776b
UD
104042011-07-02 Ulrich Drepper <drepper@gmail.com>
10405
10406 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10407 as 128-bit value.
10408 * crypt/sha512.c (sha512_process_block): Perform total addition using
10409 128-bit if possible.
10410 (__sha512_finish_ctx): Likewise.
10411 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10412 as 64-bit value.
10413 * crypt/sha256.c (SWAP64): Define.
10414 (sha256_process_block): Perform total addition using 64-bit if
10415 possible.
10416 (__sha256_finish_ctx): Likewise.
10417
99231d9a
UD
104182011-07-01 Ulrich Drepper <drepper@gmail.com>
10419
10420 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10422 * nscd/hstcache.c (cache_addhst): Likewise.
10423 * nscd/grpcache.c (cache_addgr): Likewise.
10424 * nscd/aicache.c (addhstaiX): Likewise
10425 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10426
445b4a53
TK
104272011-07-01 Thorsten Kukuk <kukuk@suse.de>
10428
10429 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10431 * nscd/hstcache.c (cache_addhst): Likewise.
10432 * nscd/grpcache.c (cache_addgr): Likewise.
10433 * nscd/aicache.c (addhstaiX): Likewise
10434
6d4d8e8e
AS
104352011-07-01 Andreas Schwab <schwab@redhat.com>
10436
10437 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10438 domain only when needed.
10439
89f654c5
AS
104402011-06-30 Andreas Schwab <schwab@redhat.com>
10441
10442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10443 is always restored.
10444
cf3b23ff
UD
104452011-06-29 Ulrich Drepper <drepper@gmail.com>
10446
10447 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10448 are re-adding the entry.
10449 * nscd/servicescache.c (cache_addserv): Likewise.
10450
751626f9
AJ
104512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10452
10453 * sysdeps/generic/dl-irel.h: fix protection against multiple
10454 inclusions.
10455 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10456
9113ea1f
UD
104572011-06-28 Ulrich Drepper <drepper@gmail.com>
10458
5c0b8d90
UD
10459 [BZ #12935]
10460 * malloc/memusage.sh: Fix quoting in message.
10461 * debug/xtrace.sh: Likewise.
10462
9113ea1f
UD
10463 * configure.in: Remove support for --experimental-malloc option, make
10464 it the default.
10465 * config.make.in: Likewise.
10466 * malloc/Makefile: Likewise.
10467
a4172181
AS
104682011-06-27 Andreas Schwab <schwab@redhat.com>
10469
10470 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10471 two-byte characters.
10472
78a7eee7
RM
104732011-06-27 Roland McGrath <roland@hack.frob.com>
10474
62bede13
RM
10475 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10476 AC_CACHE_CHECK invocation.
10477 * configure: Regenerated.
10478
78a7eee7
RM
10479 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10480
5ce33a62
UD
104812011-06-27 Ulrich Drepper <drepper@gmail.com>
10482
034807a9
UD
10483 [BZ #12350]
10484 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10485 bit from old_res_options.
10486
4902da17
UD
10487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10488
5ce33a62
UD
10489 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10490 value type for setfct.
10491
c2344f56
L
104922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10493
10494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10495 __gettimeofday instead of gettimeofday.
10496
68468076
UD
104972011-06-26 Ulrich Drepper <drepper@gmail.com>
10498
10499 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10500
acb0d739
L
105012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10502
10503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10504
10505 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10506 info.
10507
8912479f
L
105082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10509
10510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10511 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10512 strcpy-sse2-unaligned strncpy-sse2-unaligned
10513 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10514 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10515 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10516 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10517 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10518 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10519 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10520 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10521 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10522 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10523 (STRCPY): Support SSE2 and SSSE3 versions.
10524
d5495a11
UD
105252011-06-24 Ulrich Drepper <drepper@gmail.com>
10526
10527 [BZ #12874]
10528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10529 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10530 kernels which artificially limit size of requests.
10531
0b1cbaae
L
105322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10535 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10536 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10537 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10538 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10539 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10540 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10541 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10544 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10545 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10546 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10547 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10548 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10550 Enable unaligned load optimization for Intel Core i3, i5 and i7
10551 processors.
10552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10553 Define.
10554 (index_Fast_Unaligned_Load): Define.
10555 (HAS_FAST_UNALIGNED_LOAD): Define.
10556
07f494a0
MP
105572011-06-23 Marek Polacek <mpolacek@redhat.com>
10558
10559 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10560
fa3fc0fe
UD
105612011-06-22 Ulrich Drepper <drepper@gmail.com>
10562
10563 [BZ #12907]
10564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10565 until it is clear that the information is realy needed.
10566 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10567
e12df166
AS
105682011-06-22 Andreas Schwab <schwab@redhat.com>
10569
10570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10571
852eb34d
UD
105722011-06-22 Ulrich Drepper <drepper@gmail.com>
10573
84e2a551
UD
10574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10575 /sys/devices/system/cpu/online if it is usable.
10576
852eb34d
UD
10577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10578 reading the information from the /proc filesystem to once a second.
10579
6e502e19
UD
105802011-06-21 Andreas Jaeger <aj@suse.de>
10581
10582 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10583 NULL after inclusion of kernel headers.
10584
75d39ff2
UD
105852011-06-21 Ulrich Drepper <drepper@gmail.com>
10586
51f9aa6a
UD
10587 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10588 calls to internal_setent.
10589
c0244a9d
UD
10590 [BZ #12885]
10591 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10592 addresses using gethostbyname4_r ignore IPv4 addresses.
10593
c5e3c2ae
UD
10594 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10595 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10596
75d39ff2
UD
10597 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10598
42675c6f
DM
105992011-06-20 David S. Miller <davem@davemloft.net>
10600
10601 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10602 inclusions.
10603 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10604
10605 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10606 (elf_irel): Use it.
10607 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10608 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10609 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10610 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10611 * sysdeps/x86_64/dl-irel.h: Likewise.
10612
10613 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10614 * elf/dl-sym.c: Likewise.
10615
57912a71
UD
106162011-06-15 Ulrich Drepper <drepper@gmail.com>
10617
10618 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10619 need to dereference resplen2.
10620
ee22793d
AS
106212011-06-14 Andreas Schwab <schwab@redhat.com>
10622
10623 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10624
a9e836b0
UD
106252011-06-15 Ulrich Drepper <drepper@gmail.com>
10626
77fb9117
UD
10627 * Makeconfig: Define vardbdir and inst_vardbdir.
10628 * nss/Makefile: Add rules to install db-Makefile.
10629
40c1b22c
UD
10630 * nss/nss_db/db-XXX.c: Cleanup.
10631
9f2da732
UD
10632 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10633 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10634 GLIBC_PRIVATE.
10635 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10636 * nss/makedb.c: Implement -g option to specify that value strings
10637 are generated and should not be added to table iterated over for
10638 get*ent calls.
10639 * nss/nss_db/db-initgroups.c: New file.
10640
82e9a1f7
UD
10641 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10642 interface.
10643
c41af17e
UD
10644 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10645 (internal_getgrouplist): Adjust to name change.
10646 Update use_initgroups_entry if this is not the first call.
10647 * nss/databases.def: Add initgroups entry.
10648
a9e836b0
UD
10649 * nss/makedb.c (compute_tables): Check result of multiple hash table
10650 sizes to minimize maximum chain length.
10651
2666d441
UD
106522011-06-14 Ulrich Drepper <drepper@gmail.com>
10653
10654 * Versions.def: Add entry for libnss_db.
10655 * shlib-versions: Likewise.
10656 * nss/Makefile: Add rules to build libnss_db.
10657 * nss/Versions: Add libnss_db information. Organize libnss_files
10658 entries better.
10659 * nss/db-Makefile: Add gshadow support. Change rules for the new
10660 makedb progra. Some minor improvements to generate smaller files.
10661 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10662 here from...
10663 * nss/makedb.c: ...here.
10664 Improve database format to be smaller and require less memory at
10665 runtime.
10666 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10667 db anymore.
10668 * nss/nss_db/db-netgrp.c: Likewise.
10669 * nss/nss_db/db-open.c: Likewise.
10670 * nss/nss_files/flies-XXX.x: Adjust comments.
10671 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10672 * nss/nss_files/files-grp.c: Likewise.
10673 * nss/nss_files/files-hosts.c: Likewise.
10674 * nss/nss_files/files-network.c: Likewise.
10675 * nss/nss_files/files-proto.c: Likewise.
10676 * nss/nss_files/files-pwd.c: Likewise.
10677 * nss/nss_files/files-rpc.c: Likewise.
10678 * nss/nss_files/files-service.c: Likewise.
10679 * nss/nss_files/files-sgrp.c: Likewise.
10680 * nss/nss_files/files-spwd.c: Likewise.
10681 * nss/nss_db/db-alias.c: Removed.
10682 * nss/nss_db/dummy-db.h: Removed.
10683
9ee76b5a
UD
106842011-06-02 Ulrich Drepper <drepper@gmail.com>
10685
10686 * nss/makedb.c: Rewritten to not use database library.
10687 * nss/Makefile: Update to build new makedb program.
10688
c71ca1f8
AJ
106892011-06-14 Andreas Jaeger <aj@suse.de>
10690
10691 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10692 memset declaration.
10693
3154bfb8
UD
106942011-06-10 Andreas Schwab <schwab@redhat.com>
10695
10696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10697 tmpbuf.
10698
b350afab
RM
106992011-06-10 Roland McGrath <roland@hack.frob.com>
10700
decd4e50
RM
10701 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10702 * elf/Makefile ($(objpfx)ld.so): Likewise.
10703
5615eaf2
RM
10704 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10705 Don't list ld.so twice in dependencies.
10706
10707 * posix/bug-regex31.c: Include <stdlib.h>.
10708
10709 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10710
10711 * nis/nss_compat/compat-spwd.c
10712 (getspent_next_nss_netgr): Remove unused variable.
10713 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10714
10715 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10716 nonmembers" output to use the right array.
10717
10718 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10719
10720 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10721
10722 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10723 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10724 * catgets/gencat.c (read_input_file): Likewise.
10725 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10726
10727 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10728 variable definition inside #if's controlling its use.
10729
10730 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10731
10732 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10733
10734 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10735
10736 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10737 unreachable code.
10738
10739 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10740
b68e08db
RM
10741 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10742 * configure: Regenerated.
10743
b350afab
RM
10744 * Makerules: Revert last change.
10745 * elf/Makefile: Likewise.
10746
28368601
RM
107472011-06-09 Roland McGrath <roland@hack.frob.com>
10748
10749 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10750 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10751 (reloc-link): Likewise.
10752
11988f8f
UD
107532011-06-09 Ulrich Drepper <drepper@gmail.com>
10754
10755 * elf/Makefile: Add rules to build pldd.
10756 * elf/pldd.c: New file.
10757 * elf/pldd-xx.c: New file.
10758
e80fab37
UD
107592011-06-07 Ulrich Drepper <drepper@gmail.com>
10760
10761 * version.h: Update for 2.15 development version.
10762
9b849836
DM
107632011-06-07 David S. Miller <davem@davemloft.net>
10764
10765 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10766 ifuncs.
10767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10768 elf_machine_lazy_rel): Likewise.
10769 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10771 elf_machine_lazy_rel): Likewise.
10772 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10773 dl_hwcap via passed in argument.
10774 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10775 Likewise.
10776
5a31b283
AK
107772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10778
10779 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10780
069e52f8
RM
107812011-06-06 Roland McGrath <roland@hack.frob.com>
10782
10783 [BZ #12849]
10784 * manual/fdl-1.1.texi: New file, verbatim from:
10785 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10786 * manual/lgpl-2.1.texi: New file, verbatim from:
10787 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10788 * manual/Makefile (licenses): New variable, list those new file names.
10789 (texis): Use it.
10790 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10791
10792 * manual/fdl.texi: File removed.
10793 * manual/lesser.texi: File removed.
10794 * manual/libc.texinfo (Copying, Documentation License):
10795 Use new @include file names, put @appendix directive before @include.
10796
f16846a5
JJ
107972011-06-04 Jakub Jelinek <jakub@redhat.com>
10798
10799 [BZ #12841]
10800 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10801 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10802 (mq_open): Add __NTH.
10803
3d29045b
L
108042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10805
10806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10807 Assume Intel Core i3/i5/i7 processor if AVX is available.
10808
8c297311
UD
108092011-05-31 Ulrich Drepper <drepper@gmail.com>
10810
10811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10812 typo.
10813
c8fc0c91
UD
108142011-05-31 Andreas Schwab <schwab@redhat.com>
10815
10816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10817 memory. Use alloca_account. Fix memory leak when retrying.
10818
5b27a807
UD
108192011-05-31 Ulrich Drepper <drepper@gmail.com>
10820
356f8bc6
UD
10821 * version.h (RELEASE): Bump for 2.14 release.
10822 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10823
5b27a807
UD
10824 * config.make.in (RANLIB): Remove entry.
10825
01f16ab0
UD
108262011-05-30 Ulrich Drepper <drepper@gmail.com>
10827
41fce8bd
UD
10828 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10829 (libc.pot): Work around missing support for .ksh extension in xgettext.
10830
4769ae77
UD
10831 [BZ #12684]
10832 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10833 if both request failed.
10834 (send_dg): In case of server errors clear resplen or *resplen2.
10835
6b1e7d19
UD
10836 [BZ #12454]
10837 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10838 when there are multiple maps.
10839 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10840 (_dl_fini): Remove test here.
10841
01f16ab0
UD
10842 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10843
b1ebd700
UD
108442011-05-29 Ulrich Drepper <drepper@gmail.com>
10845
7ae22829
UD
10846 [BZ #12350]
10847 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10848 bit from old_res_options.
10849 (gaih_inet): Likewise.
10850
553149f6 10851 [BZ #11099]
18a84741 10852 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10853 as signed.
10854
652ffab1
UD
10855 * resolv/res_init.c (res_setoptions): Make the code more compact.
10856
16985fd0
UD
10857 [BZ #11558]
10858 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10859 set RES_USEVC.
10860
0464f746
UD
10861 [BZ #11634]
10862 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10863
7d17596c
UD
10864 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10865
cf6bbbd7
UD
10866 [BZ #11781]
10867 * malloc/malloc.h: Declare malloc hook variables as volatile.
10868
13f1ab36
UD
10869 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10870 in last patch.
10871
b1ebd700
UD
10872 [BZ #11799]
10873 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10874 raise in the comment.
80e2212d
UD
10875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10877 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10878
ce67228d
UD
108792011-05-28 Ulrich Drepper <drepper@gmail.com>
10880
8887a920
UD
10881 [BZ #12811]
10882 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10883 grow the buffers more if it already has to be sufficient.
10884 (build_wcs_upper_buffer): Likewise.
10885 * posix/regexec.c (check_matching): Likewise.
10886 (clean_state_log_if_needed): Likewise.
10887 (extend_buffers): Don't enlarge buffers beyond size of the input
10888 buffer.
10889 Patches mostly by Emil Wojak <emil@wojak.eu>.
10890 * posix/bug-regex32.c: New file.
10891 * posix/Makefile (tests): Add bug-regex32.
10892
4f031072
UD
10893 * locale/findlocale.c (_nl_find_locale): Return right away if
10894 _nl_explode_name failed.
10895 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10896
d0478f0c
UD
10897 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10898
de81b246
UD
10899 * debug/xtrace.sh: Unify messages.
10900 * malloc/memusage.sh: Likewise.
10901
c738465a
UD
10902 [BZ #12813]
10903 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10904 time symbol from vDSO. Substitute with vsyscall if not available.
10905 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10906 __vdso_time.
10907
f1f929d7
UD
10908 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10909 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10910 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10911 Add sendmmsg and internal_sendmmsg.
10912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10913 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10914 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10915
ce67228d
UD
10916 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10917 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10919
e57420c6
UD
109202011-05-27 Ulrich Drepper <drepper@gmail.com>
10921
a8509ca5
UD
10922 [BZ #12813]
10923 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10924 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10925 available.
10926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10927 __vdso_getcpu.
10928
e57420c6
UD
10929 [BZ #12814]
10930 * iconvdata/Makefile (tests): Add bug-iconv9.
10931 * iconvdata/bug-iconv9.c: New file.
10932
4d07db15
AS
109332011-05-27 Andreas Schwab <schwab@redhat.com>
10934
10935 [BZ #12814]
10936 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10937
ea486f69
JJ
109382011-05-25 Jakub Jelinek <jakub@redhat.com>
10939
10940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10941 (struct user_regs_struct): Change intcs field back to cs.
10942
6f038433
UD
109432011-05-25 Ulrich Drepper <drepper@gmail.com>
10944
10945 * po/ja.po: Update from translation team.
10946
67f86a25
UD
109472011-05-23 Ulrich Drepper <drepper@gmail.com>
10948
10949 [BZ #12795]
10950 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10951 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10952
def7fbd6
AS
109532011-05-20 Andreas Schwab <schwab@redhat.com>
10954
10955 * stdlib/longlong.h: Update from GCC.
10956
f50ef8f1
AS
109572011-05-23 Andreas Schwab <schwab@redhat.com>
10958
10959 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10960 parameter name.
10961 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10962 Add parameter name.
10963 (__sysconf): Pass it down.
10964
de7ce8f1
UD
109652011-05-22 Ulrich Drepper <drepper@gmail.com>
10966
f2962a71
UD
10967 [BZ #12671]
10968 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10969 some situations.
10970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10971 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10972 add in in __libc_use_alloca calls. Adjust callers.
10973 (glob): Use malloc in some situations.
10974
de7ce8f1
UD
10975 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10976 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10977 pltexit.
10978
aec84f53
UD
109792011-05-21 Ulrich Drepper <drepper@gmail.com>
10980
05bb4a68
UD
10981 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10982 and CLOCK_BOOTTIME_ALARM.
10983
7ea72f99
UD
10984 [BZ #12782]
10985 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10986 is returned.
10987
7e4afad5
UD
10988 * string/_strerror.c (__strerror_r): Print negative errors as signed
10989 numbers.
10990
8e211fec
UD
10991 [BZ #12777]
10992 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10993 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10994 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10995
f7d82dc9
UD
10996 * configure.in: Fix typo in redirection and correct removal of test
10997 files in two cases.
10998
cc9e536d
UD
10999 [BZ #12788]
11000 * locale/setlocale.c (new_composite_name): Fix test to check for
11001 identical name of all categories.
11002
aec84f53
UD
11003 [BZ #12792]
11004 * libio/filedoalloc.c (local_isatty): New function.
11005 (_IO_file_doallocate): Use local_isatty.
11006 * stdio-common/perror.c (perror): In case a new stream is used
11007 forward the stream error.
11008 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11009 error flag.
11010
78e64fdc
RT
110112011-05-20 Ulrich Drepper <drepper@gmail.com>
11012
34a9094f
UD
11013 [BZ #11869]
11014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11015 alloca.
11016 * include/alloca.h (extend_alloca_account): Define.
11017
78e64fdc
RT
11018 [BZ #11857]
11019 * posix/regex.h: Fix comments with documentation of user-accessible
11020 fields after compilation and describe correct free'ing of pattern
11021 after re_compile_pattern.
11022 Patch by Reuben Thomas <rrt@sc3d.org>.
11023
457bddfc
RA
110242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11025
11026 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11027 and -mno-altivec to prevent the compiler from using Altivec and/or
11028 VSX instructions when the corresponding registers are not available.
11029
a4527b51
AS
110302011-05-19 Andreas Schwab <schwab@redhat.com>
11031
11032 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11033
ed690b2f
UD
110342011-05-19 Ulrich Drepper <drepper@gmail.com>
11035
11036 * libio/freopen.c (freopen): Use __dup2, not dup2.
11037 * libio/freopen64.c (freopen64): Likewise.
11038
8db73634
L
110392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11040
11041 [BZ #12775]
11042 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11043 * math/Makefile (tests): Add test-powl.
11044 (CFLAGS-test-powl.c): Define.
11045 * math/test-powl.c: New file.
11046
0a197a9d
L
110472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11050
ee30c380
UD
110512011-05-17 Ulrich Drepper <drepper@gmail.com>
11052
11053 [BZ #11837]
11054 * iconvdata/gb18030.c: Update to GB18020-2005.
11055
6ce75379
UD
110562011-05-16 Ulrich Drepper <drepper@gmail.com>
11057
a4b89fd8
AR
11058 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11059 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11060 Patch by Aharon Robbins <arnold@skeeve.com>.
11061
ea389b12
UD
11062 [BZ #11892]
11063 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11064 on the stack.
11065
68a3f91f
UD
11066 [BZ #11895]
11067 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11068 through underflows.
11069
15cc7dd1
UD
11070 [BZ #12766]
11071 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11072 point to strings before performing equality test for error_one_per_line
11073 mode.
11074
f3799213
UD
11075 [BZ #11697]
11076 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11077
d79a9c94
UD
11078 [BZ #11820]
11079 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11080 (struct user_fpregs_struct): Avoid __uint*_t types.
11081
56e5eb46
UD
11082 [BZ #6420]
11083 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11084 symbol info. Use it instead of calling _dl_addr locally.
11085 (lock_and_info): New function.
11086 (tr_freehook): Call lock_and_info and pass symbol info as additional
11087 parameter to tr_where.
11088 (tr_mallochook): Likewise.
11089 (tr_reallochook): Likewise.
11090 (tr_memalignhook): Likewise.
11091
6ce75379
UD
11092 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11093 used and couldn't be at all thread-safe.
11094
f8a3b5bf
UD
110952011-05-15 Ulrich Drepper <drepper@gmail.com>
11096
94b7cc37
UD
11097 * libio/freopen.c (freopen): Don't close old file descriptor
11098 before the new one is opened. Instead dup the new file descriptor
11099 to the old one after the new stream is created.
11100 * libio/freopen64.c (freopen64): Likewise.
11101 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11102 * libio/fileops.c (_IO_new_file_close_it): Handle new
11103 _IO_FLAGS2_NOCLOSE flag.
11104 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11105 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11106 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11107 _IO_FLAGS2_NOCLOSE flag.
11108 * include/unistd.h: Add hidden_proto for dup3.
11109 Define __have_dup3.
11110 * io/dup3.c: Define hidden symbol.
11111 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11112
bd25564e
UD
11113 [BZ #7101]
11114 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11115 when an incomplete long option is used.
11116 * posix/tst-getopt_long1.c: New file.
11117 * posix/Makefile (tests): Add tst-getopt_long1.
11118
c84cfef4
UD
11119 [BZ #10138]
11120 * scripts/config.guess: Update from autoconf-2.68.
11121 * scripts/config.sub: Likewise.
11122
3b85df27
UD
11123 [BZ #10157]
11124 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11125 tests into ...
11126 (has_cpuclock): ...this. New function.
11127 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11128 macro here based on has_cpuclock code.
11129
15a856b1
UD
11130 [BZ #10149]
11131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11132 First byte (not low byte) is now always NUL.
11133 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11134
05f399e6
UD
11135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11136 Use non-cancelable interfaces.
11137
10a52685 11138 [BZ #9809]
94ecc67d
UD
11139 * locale/iso-639.def: Add entry for Sorani.
11140
f8a3b5bf
UD
11141 [BZ #11901]
11142 * include/stdlib.h: Move include protection to the right place.
11143 Define abort_msg_s. Declare __abort_msg with it.
11144 * stdlib/abort.c (__abort_msg): Adjust type.
11145 * assert/assert.c (__assert_fail_base): New function. Majority
11146 of code from __assert_fail. Allocate memory for __abort_msg with
11147 mmap.
11148 (__assert_fail): Now call __assert_fail_base.
11149 * assert/assert-perr.c: Remove bulk of implementation. Use
11150 __assert_fail_base.
11151 * include/assert.hL Declare __assert_fail_base.
11152 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11153 mmap.
11154 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11155
1af4e298
UD
111562011-05-14 Ulrich Drepper <drepper@gmail.com>
11157
f8a3b5bf 11158 [BZ #11952]
d26dfc60
MG
11159 [BZ #12453]
11160 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11161 until all modules are registered in the DTV.
11162 * elf/Makefile: Add rules to build and run tst-tls19.
11163 * elf/tst-tls19.c: New file.
11164 * elf/tst-tls19mod1.c: New file.
11165 * elf/tst-tls19mod2.c: New file.
11166 * elf/tst-tls19mod3.c: New file.
11167 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11168
2fc54d6f
UD
11169 [BZ #12083]
11170 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11171 correctly.
11172
98d76b46
UD
11173 [BZ #12601]
11174 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11175 two-byte sequence errors.
11176 * iconvdata/Makefile (tests): Add bug-iconv8.
11177 * iconvdata/bug-iconv8.c: New file.
11178
da3c19ef
UD
11179 [BZ #12626]
11180 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11181 buf2 definition.
11182
ca408c15
UD
11183 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11184
d6f67f7d
UD
11185 [BZ #12432]
11186 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11187 (dummy_getcfa): New function.
11188 (init): Get _Unwind_GetCFA address, use dummy if not found.
11189 (backtrace_helper): In recursion check, also check whether CFA changes.
11190 (__backtrace): Completely initialize arg.
11191
1af4e298 11192 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11193 storing incomplete byte sequence in state object. Avoid testing for
11194 guaranteed too small input if we know there is enough data available.
1af4e298 11195
da62f81b
AS
111962011-05-11 Andreas Schwab <schwab@redhat.com>
11197
11198 * Makeconfig (+link-pie): Indent.
11199 * Rules (binaries-pie): Define if $(have-fpie) and
11200 $(build-shared).
11201 (binaries-shared): Also filter out $(binaries-pie).
11202 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11203 * nscd/Makefile (others-pie): Add nscd.
11204 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11205 ($(objpfx)nscd): Remove command override.
11206 * login/Makefile (others-pie): Add pt_chown.
11207 ($(objpfx)pt_chown): Remove command override.
11208 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11209 remove command overrides.
11210
fcabc0f8
UD
112112011-05-13 Ulrich Drepper <drepper@gmail.com>
11212
20030ae6
UD
11213 * libio/tst_putwc.c: Fix error messages.
11214
fcabc0f8
UD
11215 [BZ #12724]
11216 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11217 currently writing and seek to current position when not.
11218 * libio/Makefile (tests): Add bug-fclose1.
11219 * libio/bug-fclose1.c: New file.
11220
320a5dc0
PB
112212011-05-12 Ulrich Drepper <drepper@gmail.com>
11222
11223 [BZ #12511]
11224 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11225 don't set DF_1_NODELETE here.
11226 (do_lookup_x): When entering new entry test for copy relocation
11227 and if necessary set DF_1_NODELETE flag.
11228 * elf/tst-unique4.cc: New file.
11229 * elf/tst-unique4.h: New file.
11230 * elf/tst-unique4lib.cc: New file.
11231 * elf/Makefile: Add rules to build and run tst-unique4.
11232 Patch by Piotr Bury <pbury@goahead.com>.
11233
22836f52
UD
112342011-05-11 Ulrich Drepper <drepper@gmail.com>
11235
f574184a
UD
11236 [BZ #12052]
11237 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11238
e1fb097f
UD
11239 [BZ #12625]
11240 * misc/mntent_r.c (addmntent): Flush the stream after the output
11241
22836f52
UD
11242 [BZ #12393]
11243 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11244 (is_trusted_path_normalize): Skip initial colon. Append slash
11245 to empty buffer. Duplicate is_trusted_path code but allow
11246 constructed patch to be prefix.
11247 (is_dst): Allow $ORIGIN followed by /.
11248 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11249 Correct testing of result of is_trusted_path_normalize
11250 (decompose_rpath): Fix warning.
11251
7b3b0b2a
UD
112522011-05-10 Ulrich Drepper <drepper@gmail.com>
11253
11254 [BZ #11257]
11255 * grp/initgroups.c (internal_getgrouplist): When we found the service
11256 list through the initgroups entry in nsswitch.conf do not always
11257 continue on a successful lookup. Don't always use the
eac80ce2 11258 __nss_group_database value if it is set.
7b3b0b2a
UD
11259 * nss/nsswitch.conf (initgroups): Change action for successful db
11260 lookup to continue for compatibility.
11261
2a81eaa5
UD
112622011-05-09 Ulrich Drepper <drepper@gmail.com>
11263
be97a69e
UD
11264 [BZ #11532]
11265 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11266 and CP774 modules.
11267 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11268 and CP774 modules.
11269 * iconvdata/tst-tables.sh: Likewise.
11270 * iconvdata/cp770.c: New file.
11271 * iconvdata/cp771.c: New file.
11272 * iconvdata/cp772.c: New file.
11273 * iconvdata/cp773.c: New file.
11274 * iconvdata/cp774.c: New file.
11275 * iconvdata/testdata/CP770: New file.
11276 * iconvdata/testdata/CP770..UTF8: New file.
11277 * iconvdata/testdata/CP771: New file.
11278 * iconvdata/testdata/CP771..UTF8: New file.
11279 * iconvdata/testdata/CP772: New file.
11280 * iconvdata/testdata/CP772..UTF8: New file.
11281 * iconvdata/testdata/CP773: New file.
11282 * iconvdata/testdata/CP773..UTF8: New file.
11283 * iconvdata/testdata/CP774: New file.
11284 * iconvdata/testdata/CP774..UTF8: New file.
11285
11286 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11287 END CHARMAP line.
11288 * iconvdata/gen-8bit-gap.sh: Likewise.
11289 * iconvdata/gen-8bit.sh: Likewise.
11290
c1e9e399
UD
11291 * locale/iso-639.def: Add ary entry.
11292
24c55fb3 11293 [BZ #11258]
96b4b1b0
UD
11294 * locale/C-translit.h.in: Add U20A1 transliteration.
11295
bdc2f971
KB
11296 [BZ #12178]
11297 * locale/iso-639.def: Add wae entry.
11298 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11299
2952b117
UD
11300 [BZ #12545]
11301 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11302 for n.
11303
2a81eaa5
UD
11304 [BZ #12711]
11305 * locale/C-translit.h.in: Add entry for U20B9.
11306 Patch by pravin.d.s@gmail.com.
11307
28377d1b
UD
113082011-05-08 Ulrich Drepper <drepper@gmail.com>
11309
7fb90fb8
UD
11310 [BZ #12713]
11311 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11312 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11313 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11314 in rtld. Use *stat64.
7fb90fb8 11315 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11316 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11317 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11318 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11319 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11320 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11321 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11322 __fstatat64 macros.
7fb90fb8
UD
11323 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11324 * dirent/rewinddir.c: Add libc_hidden_def.
11325 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11326 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11327
28377d1b
UD
11328 * include/dirent.h (__alloc_dir): Add flags parameter.
11329 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11330 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11331 __alloc_dir.
11332 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11333 from fdopendir if O_CLOEXEC is already set.
11334
66bdbaa4
AM
113352011-03-15 Alan Modra <amodra@gmail.com>
11336
11337 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11338 l_tls_firstbyte_offset non-zero. Save padding offset in
11339 l_tls_firstbyte_offset for later use.
11340 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11341 freeing static tls block.
11342
95721191
JN
113432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11344
11345 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11346 where #ifdef was intended. The intent is to prevent ARG_MAX from
11347 being defined by the kernel headers.
11348
f87dfb1f
UD
113492011-05-07 Ulrich Drepper <drepper@gmail.com>
11350
11351 [BZ #12734]
11352 * resolv/resolv.h: Define RES_NOTLDQUERY.
11353 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11354 no-tld-query and set RES_NOTLDQUERY.
11355 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11356 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11357 modern BIND to search name as TLD unless forbidden.
11358
47c3cd7a
UD
113592011-05-07 Petr Baudis <pasky@suse.cz>
11360 Ulrich Drepper <drepper@gmail.com>
11361
11362 [BZ #12393]
11363 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11364 (is_trusted_path): ...to here.
c1e9ea35 11365 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11366 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11367 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11368
8a35c912
PP
113692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11370
11371 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11372 __BEGIN/__END_DECLS.
11373
acd41f47
UD
113742011-05-06 Ulrich Drepper <drepper@gmail.com>
11375
11376 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11377 NSS_STATUS_NOTFOUND if no record was found.
11378
597df647
AS
113792011-05-05 Andreas Schwab <schwab@redhat.com>
11380
11381 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11382 (headers-not-in-tirpc): Remove rpc/netdb.h
11383 * resolv/netdb.h: Revert last change.
11384
b9af1301
PP
113852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11386
11387 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11388 circular dependency between libgcc.a and libc.a.
11389
4e34d5f5
AS
113902011-05-05 Andreas Schwab <schwab@redhat.com>
11391
11392 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11393 * nis/Makefile: Don't install rpcsvc/*.
11394 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11395 instead of <rpc/types.h>.
11396 (MAXHOSTNAMELEN): Define.
11397
00ee369c
AS
113982011-05-03 Andreas Schwab <schwab@redhat.com>
11399
11400 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11401
0b592a30
MB
114022011-04-28 Maciej Babinski <mbabinski@google.com>
11403
11404 [BZ #12714]
11405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11406 gethostbyname4_r when IPv6 results are possible.
11407
6e04cbbe
UD
114082011-05-02 Ulrich Drepper <drepper@gmail.com>
11409
11410 [BZ #12723]
11411 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11412 _PC_PIPE_BUF handling.
11413
e4ecafe0
BH
114142011-04-30 Bruno Haible <bruno@clisp.org>
11415
11416 [BZ #12717]
11417 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11418 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11419 to 'int'.
11420 * inet/getnameinfo.c (getnameinfo): Likewise.
11421
125ee683
UD
114222011-04-29 Ulrich Drepper <drepper@gmail.com>
11423
11424 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11425 to groups setting in database lookup.
11426 * nss/nsswitch.conf: Add initgroups entry.
11427
b722481a
EB
114282011-04-22 Ulrich Drepper <drepper@gmail.com>
11429
11430 [BZ #12685]
11431 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11432 mode string.
11433 Patch by Eric Blake <eblake@redhat.com>.
11434
4df46dbd
L
114352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11436
11437 * sunrpc/Makefile (need-export-routines): Add svc_run.
11438 (routines): Remove svc_run.
11439 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11440 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11441 * sunrpc/svc_run.c (svc_run): Likewise.
11442 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11443
e84142d2
UD
114442011-04-21 Ulrich Drepper <drepper@gmail.com>
11445
11446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11447 problem in reallocation in last patch.
11448
877175d8
UD
114492011-04-20 Ulrich Drepper <drepper@gmail.com>
11450
11451 * sunrpc/Makefile: Move inclusion of Rules.
11452
ab8eed78
UD
114532011-04-19 Ulrich Drepper <drepper@gmail.com>
11454
11455 * nss/nss_files/files-initgroups.c: New file.
11456 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11457 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11458 _nss_files_initgroups_dyn.
11459
e3d8f584
RS
114602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11461
11462 * elf/elf.h (R_ARM_IRELATIVE): Define.
11463
af190f45
UD
114642011-04-19 Ulrich Drepper <drepper@gmail.com>
11465
11466 * po/ru.po: Update from translation team.
11467
53cf59ef
UD
114682011-04-17 Ulrich Drepper <drepper@gmail.com>
11469
11470 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11471 dependencies.
11472
4c559bcd
MF
114732011-02-06 Mike Frysinger <vapier@gentoo.org>
11474
11475 [BZ #12653]
11476 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11477 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11481
4420675c
AS
114822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11483
11484 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11485 differing bytes.
11486 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11489
75ea32ab
UD
114902011-04-17 Ulrich Drepper <drepper@gmail.com>
11491
11492 [BZ #12420]
11493 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11494 storing it.
11495 * stdlib/bug-getcontext.c: New file.
11496 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11497
27390476
AK
114982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11499
11500 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11501 instructions into .machine "z9-109".
11502 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11503 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11504
10442705
AK
115052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11506
11507 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11508 between environment variables and auxiliary vector.
11509
7b57bfe5
UD
115102011-04-16 Ulrich Drepper <drepper@gmail.com>
11511
11512 * Makefile: Add rules to build linkobj/libc.so.
11513 * include/libc-symbols.h: Define libc_hidden_nolink.
11514 * include/rpc/auth.h: Mark functions which are to be hidden.
11515 * include/rpc/auth_des.h: Likewise.
11516 * include/rpc/auth_unix.h: Likewise.
11517 * include/rpc/clnt.h: Likewise.
11518 * include/rpc/des_crypt.h: Likewise.
11519 * include/rpc/key_prot.h: Likewise.
11520 * include/rpc/pmap_clnt.h: Likewise.
11521 * include/rpc/pmap_prot.h: Likewise.
11522 * include/rpc/pmap_rmt.h: Likewise.
11523 * include/rpc/rpc_msg.h: Likewise.
11524 * include/rpc/svc.h: Likewise.
11525 * include/rpc/svc_auth.h: Likewise.
11526 * include/rpc/xdr.h: Likewise.
11527 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11528 * nss/Makefile: Likewise.
11529 * sunrpc/Makefile: Don't install headers. Build library with normal
11530 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11531 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11532 for the compat linking library. Remove use of INTDEF/INTUSE.
11533 * sunrpc/auth_none.c: Likewise.
11534 * sunrpc/auth_unix.c: Likewise.
11535 * sunrpc/authdes_prot.c: Likewise.
11536 * sunrpc/authuxprot.c: Likewise.
11537 * sunrpc/clnt_gen.c: Likewise.
11538 * sunrpc/clnt_perr.c: Likewise.
11539 * sunrpc/clnt_raw.c: Likewise.
11540 * sunrpc/clnt_simp.c: Likewise.
11541 * sunrpc/clnt_tcp.c: Likewise.
11542 * sunrpc/clnt_udp.c: Likewise.
11543 * sunrpc/clnt_unix.c: Likewise.
11544 * sunrpc/des_crypt.c: Likewise.
11545 * sunrpc/des_soft.c: Likewise.
11546 * sunrpc/get_myaddr.c: Likewise.
11547 * sunrpc/key_call.c: Likewise.
11548 * sunrpc/key_prot.c: Likewise.
11549 * sunrpc/netname.c: Likewise.
11550 * sunrpc/pm_getmaps.c: Likewise.
11551 * sunrpc/pm_getport.c: Likewise.
11552 * sunrpc/pmap_clnt.c: Likewise.
11553 * sunrpc/pmap_prot.c: Likewise.
11554 * sunrpc/pmap_prot2.c: Likewise.
11555 * sunrpc/pmap_rmt.c: Likewise.
11556 * sunrpc/publickey.c: Likewise.
11557 * sunrpc/rpc_cmsg.c: Likewise.
11558 * sunrpc/rpc_common.c: Likewise.
11559 * sunrpc/rpc_dtable.c: Likewise.
11560 * sunrpc/rpc_prot.c: Likewise.
11561 * sunrpc/rpc_thread.c: Likewise.
11562 * sunrpc/rtime.c: Likewise.
11563 * sunrpc/svc.c: Likewise.
11564 * sunrpc/svc_auth.c: Likewise.
11565 * sunrpc/svc_authux.c: Likewise.
11566 * sunrpc/svc_raw.c: Likewise.
11567 * sunrpc/svc_run.c: Likewise.
11568 * sunrpc/svc_simple.c: Likewise.
11569 * sunrpc/svc_tcp.c: Likewise.
11570 * sunrpc/svc_udp.c: Likewise.
11571 * sunrpc/svc_unix.c: Likewise.
11572 * sunrpc/svcauth_des.c: Likewise.
11573 * sunrpc/xcrypt.c: Likewise.
11574 * sunrpc/xdr.c: Likewise.
11575 * sunrpc/xdr_array.c: Likewise.
11576 * sunrpc/xdr_float.c: Likewise.
11577 * sunrpc/xdr_intXX_t.c: Likewise.
11578 * sunrpc/xdr_mem.c: Likewise.
11579 * sunrpc/xdr_rec.c: Likewise.
11580 * sunrpc/xdr_ref.c: Likewise.
11581 * sunrpc/xdr_sizeof.c: Likewise.
11582 * sunrpc/xdr_stdio.c: Likewise.
11583
e6c61494
UD
115842011-04-10 Ulrich Drepper <drepper@gmail.com>
11585
11586 [BZ #12650]
11587 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11588 * sysdeps/ia64/dl-tls.h: Likewise.
11589 * sysdeps/powerpc/dl-tls.h: Likewise.
11590 * sysdeps/s390/dl-tls.h: Likewise.
11591 * sysdeps/sh/dl-tls.h: Likewise.
11592 * sysdeps/sparc/dl-tls.h: Likewise.
11593 * sysdeps/x86_64/dl-tls.h: Likewise.
11594 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11595
34fe483e
AS
115962011-03-14 Andreas Schwab <schwab@redhat.com>
11597
11598 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11599 rpath element also skip the following colon.
11600 (expand_dynamic_string_token): Add is_path parameter and pass
11601 down to DL_DST_REQUIRED and _dl_dst_substitute.
11602 (decompose_rpath): Call expand_dynamic_string_token with
11603 non-zero is_path. Ignore empty rpaths.
11604 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11605 with zero is_path.
11606
f12a32e6
AS
116072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11608
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11610 Make cancelable.
11611
38a7d692
UD
116122011-04-09 Ulrich Drepper <drepper@gmail.com>
11613
11614 [BZ #12655]
11615 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11616 Patch by Filipe David Manana <fdmanana@apache.org>.
11617
e451d22b
AS
116182011-04-07 Andreas Schwab <schwab@redhat.com>
11619
11620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11621 Maintain aligned stack.
11622 (CHECK_RSP): Remove unused macro.
11623
dedc7c7b
UD
116242011-04-03 Ulrich Drepper <drepper@gmail.com>
11625
11626 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11628
94521213
UD
116292011-04-02 Ulrich Drepper <drepper@gmail.com>
11630
11631 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11632
8cb700c0 11633 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11634
0354e355
L
116352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 [BZ #12518]
11638 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11639 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11640 * sysdeps/x86_64/memmove.c: New file.
11641 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11642 (memcpy): Renamed to ...
11643 (__new_memcpy): This.
11644 (memcpy): Provide GLIBC_2_14 memcpy.
11645 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11646 (memcpy): Provide GLIBC_2_2_5 memcpy.
11647
8593482f
UD
116482011-04-01 Ulrich Drepper <drepper@gmail.com>
11649
11650 [BZ #12631]
11651 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11652
81a5726b
AS
116532011-03-30 Andreas Schwab <schwab@redhat.com>
11654
11655 * misc/syncfs.c: New file.
11656 * misc/Makefile (routines): Add syncfs.
11657 * posix/unistd.h: Declare syncfs.
11658 * sysdeps/unix/syscalls.list: Add syncfs.
11659
00e5419f
AS
116602011-04-01 Andreas Schwab <schwab@redhat.com>
11661
11662 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11663 open_by_handle_at.
11664 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11669 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11671
748876bf
UD
116722011-04-01 Ulrich Drepper <drepper@gmail.com>
11673
658e451d
UD
11674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11676 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11681
748876bf
UD
11682 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11683 sync_file_range.c with -fexceptions.
11684 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11685 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11686 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11687 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11688 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11689 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11691 sync_file_range as cancellation point
11692 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11693 now a wrapper around __call_sync_file_range with cancellation handling.
11694 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11695 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11696 function name to __call_sync_file_range.
11697 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11698 Add call_sync_file_range.
748876bf 11699
6e63d5e1
AS
117002011-04-01 Andreas Schwab <schwab@redhat.com>
11701
11702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11703 bits/timex.h.
6e63d5e1 11704
46998f74
UD
117052011-04-01 Ulrich Drepper <drepper@gmail.com>
11706
4c1423ed
UD
11707 * iconv/iconv.h: Fix typo in comment.
11708 * io/fcntl.h: Likewise.
11709 * libio/stdio.h: Likewise.
11710 * posix/spawn.h: Likewise.
11711 * posix/unistd.h: Likewise.
11712 * stdlib/stdlib.h: Likewise.
11713 * time/time.h: Likewise.
11714 * wcsmbs/wchar.h: Likewise.
11715
158648c0
UD
11716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11717 open_by_handle): Add.
11718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11719 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11720 Augment a few comments.
11721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11726 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11727 open_by_handle.
11728
46998f74
UD
11729 * io/fcntl.h (AT_EMPTY_PATH): Define.
11730
83fe108b
UD
117312011-03-30 Ulrich Drepper <drepper@gmail.com>
11732
11733 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11734 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11735 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11736 to...
11737 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11738 * Versions.def: Add GLIBC_2.14.
11739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11740 Export.
83fe108b 11741
bb242059
UD
117422011-03-22 Ulrich Drepper <drepper@gmail.com>
11743
11744 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11745 round counter.
11746 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11747
c97a1282
L
117482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 [BZ #12597]
11751 * string/test-strncmp.c (do_page_test): New function.
11752 (check2): Likewise.
11753 (test_main): Call check2.
11754 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11755
2a115601
UD
117562011-03-20 Ulrich Drepper <drepper@gmail.com>
11757
11758 [BZ #12587]
11759 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11760 Handle cache information in CPU leaf 4.
11761 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11762
8126d904
UD
117632011-03-18 Ulrich Drepper <drepper@gmail.com>
11764
042c49c6 11765 [BZ #12583]
8126d904
UD
11766 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11767 character representation.
11768 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11769
ccfe366e
RA
117702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11771
11772 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11773 END(__isnan) to END(__isnanf) to match function entry point/label
11774 EALIGN(__isnanf,...).
11775
c6e13027
JJ
117762011-03-10 Jakub Jelinek <jakub@redhat.com>
11777
11778 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11779
33f85a3f
UD
117802011-03-10 Ulrich Drepper <drepper@gmail.com>
11781
028478fa
UD
11782 [BZ #12510]
11783 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11784 copy from the symbol referenced in the relocation to initialize the
11785 used variable.
11786 Patch by Piotr Bury <pbury@goahead.com>.
11787 * elf/Makefile: Add rules to build and tst-unique3.
11788 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11789 * elf/tst-unique3.cc: New file.
11790 * elf/tst-unique3.h: New file.
11791 * elf/tst-unique3lib.cc: New file.
11792 * elf/tst-unique3lib2.cc: New file.
11793
33f85a3f
UD
11794 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11795
03592fc7
MF
117962011-03-10 Mike Frysinger <vapier@gentoo.org>
11797
11798 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11799 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11800 to _start.
03592fc7 11801
6a5ee102
UD
118022011-03-06 Ulrich Drepper <drepper@gmail.com>
11803
11804 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11805 to-be-loaded object along a path to loader is ld.so.
11806
7e4ba49c
HJ
118072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11808 Ulrich Drepper <drepper@gmail.com>
11809
11810 * sysdeps/x86_64/memset.S: After aligning destination, code
11811 branches to different locations depending on the value of
11812 misalignment, when multiarch is enabled. Fix this.
11813
118142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11815
11816 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11817 Set _x86_64_preferred_memory_instruction for AMD processsors.
11818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11819 Set bit_Prefer_SSE_for_memop for AMD processors.
11820
13a804de
UD
118212011-03-04 Ulrich Drepper <drepper@gmail.com>
11822
11823 * libio/fmemopen.c (fmemopen): Optimize a bit.
11824
9d25c392
AS
118252011-03-03 Andreas Schwab <schwab@redhat.com>
11826
11827 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11828
a5543c6a
RM
118292011-03-03 Roland McGrath <roland@redhat.com>
11830
11831 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11832
012d35f7
DM
118332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11834
7e4ba49c 11835 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11836 __bzero_ultra1 instead of __memset_ultra1.
11837
4bff6e01
AS
118382011-02-23 Andreas Schwab <schwab@redhat.com>
11839 Ulrich Drepper <drepper@gmail.com>
11840
11841 [BZ #12509]
11842 * include/link.h (struct link_map): Add l_orig_initfini.
11843 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11844 returning unsuccessfully.
11845 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11846 close of a file loaded at startup, restore the original l_initfini
11847 list.
11848 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11849 list, store the pointer.
11850 * elf/Makefile ($(objpfx)noload-mem): New rule.
11851 (noload-ENV): Define.
11852 (tests): Add $(objpfx)noload-mem.
11853 * elf/noload.c: Include <memcheck.h>.
11854 (main): Call mtrace. Close all opened handles.
11855
f2092faf
AS
118562011-02-17 Andreas Schwab <schwab@redhat.com>
11857
11858 [BZ #12454]
11859 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11860 dependencies are missing.
11861
6c8a2e88
ST
118622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11863
f2092faf 11864 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11865 Hurd needs munmap.
11866 * sysdeps/mach/hurd/ifreq.h: New file.
11867
84a42118
PB
118682011-01-27 Petr Baudis <pasky@suse.cz>
11869 Ulrich Drepper <drepper@gmail.com>
11870
071f805e 11871 [BZ 12445]#
84a42118
PB
11872 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11873 to extend_alloca().
11874 * stdio-common/bug23.c: New file.
11875 * stdio-common/Makefile (tests): Add bug23.
11876
e23fe25b
AS
118772010-09-28 Andreas Schwab <schwab@redhat.com>
11878 Ulrich Drepper <drepper@gmail.com>
11879
11880 [BZ #12489]
11881 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11882 before performing relro protection. At old place add assertion
11883 to make sure nothing changed.
11884
d3f02e10
NS
118852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11886 Glauber de Oliveira Costa <glommer@gmail.com>
11887
11888 * elf/elf.h: Add new ARM TLS relocs.
11889
d55fd7a5
RA
118902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11891
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11893 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11894 cast from r3.
11895 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11896 'tests' variable.
11897 * sysdeps/wordsize-64/tst-writev.c: New file.
11898
2206397e
RA
118992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11900
11901 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11902 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11903 insns in _dl_start to prevent a TOC reference before relocs are
11904 resolved.
11905
e9433893
UD
119062011-02-15 Ulrich Drepper <drepper@gmail.com>
11907
11908 [BZ #12469]
11909 * Makeconfig: Remove RANLIB definition.
11910 * Makerules: Don't use RANLIB.
11911 * aclocal.m4: Remove ranlib test.
11912 * configure.in: No need to check for ranlib.
11913 * elf/rtld-Rules: Don't use RANLIB.
11914
f75286c6
ST
119152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11916
8e31c82d
ST
11917 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11918 protection macro.
11919 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11920 inclusion protection macro.
11921
f75286c6
ST
11922 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11923 SIGRTMIN and SIGRTMAX and print information in that case only when
11924 SIGRTMIN is defined.
11925
c1d0e639
JJ
119262011-02-11 Jakub Jelinek <jakub@redhat.com>
11927
11928 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11929 arginfo fn returning -1.
11930
11931 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11932 and thousands string is zero terminated.
11933
edf9294e
AS
119342011-02-03 Andreas Schwab <schwab@redhat.com>
11935
11936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11937 sysdeps/unix/sysv/linux/bits/socket.h.
11938
2b7e92df
ST
119392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11940
edf9294e
AS
11941 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11942 (__CPU_COUNT): Remove old macros.
11943 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11944 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11945 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11946 (__sched_cpualloc, __sched_cpufree): Add declarations.
11947
a4c7ea7b
UD
119482011-02-05 Ulrich Drepper <drepper@gmail.com>
11949
11950 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11951 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11952 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11953 (readdhstai): Return value of addhstaiX call.
11954 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11955 (addgrbyX): Return value returned by cache_addgr.
11956 (readdgrbyname): Return value returned by addgrbyX.
11957 (readdgrbygid): Likewise.
11958 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11959 (addpwbyX): Return value returned by cache_addpw.
11960 (readdpwbyname): Return value returned by addhstbyX.
11961 (readdpwbyuid): Likewise.
11962 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11963 (addservbyX): Return value returned by cache_addserv.
11964 (readdservbyname): Return value returned by addservbyX:
11965 (readdservbyport): Likewise.
11966 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11967 (addhstbyX): Return value returned by cache_addhst.
11968 (readdhstbyname): Return value returned by addhstbyX.
11969 (readdhstbyaddr): Likewise.
11970 (readdhstbynamev6): Likewise.
11971 (readdhstbyaddrv6): Likewise.
11972 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11973 (readdinitgroups): Return value returned by addinitgroupsX.
11974 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11975 (prune_cache): Keep track of timeout value of re-added entries.
11976 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11977 * nscd/nscd.h: Adjust prototypes of readd* functions.
11978
a0bf67cc
RM
119792011-02-04 Roland McGrath <roland@redhat.com>
11980
11981 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11982 (nis_stats): Likewise.
11983 * nis/nis_modify.c (nis_modify): Likewise.
11984 * nis/nis_remove.c (nis_remove): Likewise.
11985 * nis/nis_add.c (nis_add): Likewise.
11986
11987 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11988
11989 * posix/fnmatch_loop.c: Add some consts.
11990
11991 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11992
435b95eb
L
119932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 [BZ #12460]
11996 * config.make.in (config-cflags-novzeroupper): Define.
11997 * configure.in: Substitute libc_cv_cc_novzeroupper.
11998 * elf/Makefile (AVX-CFLAGS): Define.
11999 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12000 (CFLAGS-tst-auditmod4a.c): Likewise.
12001 (CFLAGS-tst-auditmod4b.c): Likewise.
12002 (CFLAGS-tst-auditmod6b.c): Likewise.
12003 (CFLAGS-tst-auditmod6c.c): Likewise.
12004 (CFLAGS-tst-auditmod7b.c): Likewise.
12005 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12006
8517b15e
UD
120072011-02-02 Ulrich Drepper <drepper@gmail.com>
12008
12009 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12010 function to the callback.
12011 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12012
10a656fe
AS
120132011-02-02 Andreas Schwab <schwab@redhat.com>
12014
12015 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12016 of errno.
12017
968dad0a
UD
120182011-01-19 Ulrich Drepper <drepper@gmail.com>
12019
9f94d2ea 12020 [BZ #11724]
968dad0a
UD
12021 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12022 of constructors.
12023 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12024 of destructors.
12025 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12026
12027 [BZ #11724]
12028 * elf/Makefile: Add rules to build and run new test.
12029 * elf/tst-initorder.c: New file.
12030 * elf/tst-initorder.exp: New file.
12031 * elf/tst-initordera1.c: New file.
12032 * elf/tst-initordera2.c: New file.
12033 * elf/tst-initordera3.c: New file.
12034 * elf/tst-initordera4.c: New file.
12035 * elf/tst-initorderb1.c: New file.
12036 * elf/tst-initorderb2.c: New file.
12037 * elf/tst-order-a1.c: New file.
12038 * elf/tst-order-a2.c: New file.
12039 * elf/tst-order-a3.c: New file.
12040 * elf/tst-order-a4.c: New file.
12041 * elf/tst-order-b1.c: New file.
12042 * elf/tst-order-b2.c: New file.
12043 * elf/tst-order-main.c: New file.
12044 New test case by George Gensure <werkt0@gmail.com>.
12045
86e92359
UD
120462010-10-01 Andreas Schwab <schwab@redhat.com>
12047
12048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12049 decoding ACE if AI_CANONIDN.
12050
5d5732b0
UD
120512011-01-18 Ulrich Drepper <drepper@gmail.com>
12052
12053 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12054
a77e8cbc
UD
120552011-01-17 Ulrich Drepper <drepper@gmail.com>
12056
6392473f
UD
12057 * version.h (RELEASE): Bump for 2.13 release.
12058 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12059
620a0529
UD
12060 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12061
18ba70a5
UD
12062 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12063 MADV_NOHUGEPAGE.
32465c3e
UD
12064 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12066 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12067 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12068 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12070
c0dafcf1
UD
12071 * posix/getconf.c: Update copyright year.
12072 * catgets/gencat.c: Likewise.
12073 * csu/version.c: Likewise.
12074 * debug/catchsegv.sh: Likewise.
12075 * debug/xtrace.sh: Likewise.
12076 * elf/ldconfig.c: Likewise.
12077 * elf/ldd.bash.in: Likewise.
12078 * elf/sprof.c (print_version): Likewise.
12079 * iconv/iconv_prog.c: Likewise.
12080 * iconv/iconvconfig.c: Likewise.
12081 * locale/programs/locale.c: Likewise.
12082 * locale/programs/localedef.c: Likewise.
12083 * malloc/memusage.sh: Likewise.
12084 * malloc/mtrace.pl: Likewise.
12085 * nscd/nscd.c (print_version): Likewise.
12086 * nss/getent.c: Likewise.
12087
a77e8cbc
UD
12088 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12089 PF_CAIF, and PF_ALG.
12090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12091
77e8bddf
AS
120922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12093
1f20b93a
AS
12094 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12095 (modules-names): Use them.
12096 (ifunc-test-modules, ifunc-pie-tests): Define.
12097 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12098 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12099 (test-extras): Likewise.
12100 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12101 $(compile-command.c).
12102 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12103 (all-built-dso): Define.
12104 (check-textrel.out, check-execstack.out): Depend on it.
12105
77e8bddf
AS
12106 * configure.in: Don't override --enable-multi-arch.
12107
bc425b33
UD
121082011-01-15 Ulrich Drepper <drepper@gmail.com>
12109
12110 [BZ #6812]
12111 * nscd/hstcache.c (tryagain): Define.
12112 (cache_addhst): Return tryagain not notfound for temporary errors.
12113 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12114 failed.
12115
794c3ad3
UD
121162011-01-14 Ulrich Drepper <drepper@gmail.com>
12117
70181fdd
UD
12118 [BZ #10563]
12119 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12120 to make the syscall.
12121 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12122
794c3ad3
UD
12123 [BZ #12378]
12124 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12125 and fall back to matching as normal character if the string ends before
12126 the matching ']' is found. This is what POSIX requires.
12127 * posix/testfnm.c: Adjust test result.
12128 * posix/globtest.sh: Adjust test result. Add new test.
12129 * posix/tst-fnmatch.input: Likewise.
12130 * posix/tst-fnmatch2.c: Add new test.
12131
68dc9497
AS
121322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12133
12134 * elf/Makefile (check-execstack): Revert last change. Depend on
12135 check-execstack.h.
12136 (check-execstack.h): New target.
12137 (generated): Add check-execstack.h.
12138 * elf/check-execstack.c: Include "check-execstack.h".
12139 (main): Revert last change.
12140 (handle_file): Return zero if GNU_STACK is absent and
12141 DEFAULT_STACK_PERMS doesn't include PF_X.
12142
451f001b
UD
121432011-01-13 Ulrich Drepper <drepper@gmail.com>
12144
cfa28e56
UD
12145 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12146 in child fails because the descriptor is already closed.
8cf8ce17
UD
12147 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12148 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12150
1086d70d
UD
12151 [BZ #12397]
12152 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12153 syscall.
12154
451f001b
UD
12155 [BZ #10484]
12156 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12157 temporary buffer used to handle multi lookups locally.
a85b5cb4 12158 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12159
08769175
UD
121602011-01-12 Ulrich Drepper <drepper@gmail.com>
12161
12162 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12163 loader is ld.so.
12164
5e49c52e
UD
121652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12166
12167 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12168 alignment for SSE2.
12169
60522a5f
UD
121702011-01-12 Ulrich Drepper <drepper@gmail.com>
12171
12172 [BZ #12394]
12173 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12174 characters. When rounding increased number of integer digits recompute
12175 number of groups.
12176 * stdio-common/tst-grouping.c: New file.
12177 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12178
f257bbd7
UD
121792011-01-09 Ulrich Drepper <drepper@gmail.com>
12180
12181 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12182 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12183
12184 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12185 void.
12186 * bits/select.h: Likewise.
12187
fa9c15cb
UD
121882011-01-08 Ulrich Drepper <drepper@gmail.com>
12189
12190 * po/ja.po: Update from translation team.
12191
16c2895f
DM
121922011-01-04 David S. Miller <davem@sunset.davemloft.net>
12193
12194 [BZ #11155]
12195 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12196 implementation just like for lxstat, fxstatat, et al.
12197
2543fef2
JM
121982010-12-27 Jim Meyering <meyering@redhat.com>
12199
12200 [BZ #12348]
12201 * posix/regexec.c (build_trtable): Return failure indication upon
12202 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12203
98727dbe
UD
122042010-12-25 Ulrich Drepper <drepper@gmail.com>
12205
5bd6dc5c
UD
12206 [BZ #12201]
12207 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12208 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12211
97983464
UD
12212 [BZ #12207]
12213 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12214
98727dbe
UD
12215 [BZ #12204]
12216 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12217 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12218
4a531bb0
L
122192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12222 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12223 script has SORT_BY_INIT_PRIORITY.
12224 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12225 NO_CTORS_DTORS_SECTIONS is defined.
12226 * elf/soinit.c: Likewise.
12227 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12228 NO_CTORS_DTORS_SECTIONS is defined.
12229 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12230 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12231 * sysdeps/sh/init-first.c: Likewise.
12232 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12233
07eb4b71
UD
122342010-12-24 Ulrich Drepper <drepper@gmail.com>
12235
12236 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12237 always use the slow path.
12238
30950a5f
RA
122392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12240
12241 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12242 similar rule which adds the sysdep directories to the header search in
12243 order to pick up the correct platform stackinfo.h.
12244 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12245 perform test if it is, otherwise return successfully without testing.
12246 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12247 DEFAULT_STACK_PERMS define in stackinfo.h.
12248 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12249 defined in stackinfo.h.
12250 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12251 DEFAULT_STACK_PERMS defined in stackinfo.h.
12252 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12253 * sysdeps/ia64/stackinfo.h: Likewise.
12254 * sysdeps/s390/stackinfo.h: Likewise.
12255 * sysdeps/sh/stackinfo.h: Likewise.
12256 * sysdeps/sparc/stackinfo.h: Likewise.
12257 * sysdeps/x86_64/stackinfo.h: Likewise.
12258 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12259 PF_X for powerpc64. Retain PF_X for powerpc32.
12260
db753e2c
UD
122612010-12-19 Ulrich Drepper <drepper@gmail.com>
12262
14b697f7
UD
12263 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12264 accurately.
db753e2c
UD
12265 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12266 GETDENTS_64BIT_ALIGNED.
12267
28300719
UD
122682010-12-14 Ulrich Drepper <dreper@gmail.com>
12269
14b697f7 12270 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12271
4f197237
AS
122722010-12-10 Andreas Schwab <schwab@redhat.com>
12273
dbb0472f
AS
12274 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12275 _GNU_SOURCE.
12276
4f197237
AS
12277 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12278 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12279 Remove __restrict.
12280 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12281 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12282
fb88ac72
UD
122832010-12-09 Ulrich Drepper <drepper@gmail.com>
12284
12285 [BZ #11655]
12286 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12287 are initialized.
12288
42acbb92
JJ
122892010-12-09 Jakub Jelinek <jakub@redhat.com>
12290
12291 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12292
c038d98d
UD
122932010-12-03 Ulrich Drepper <drepper@gmail.com>
12294
12295 * po/it.po: Update from translation team.
12296
3a4a2499
L
122972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12300 unused codes.
12301
1e24cf6e
UD
123022010-11-30 Ulrich Drepper <drepper@gmail.com>
12303
12304 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12305
a7690819
AS
123062010-11-24 Andreas Schwab <schwab@redhat.com>
12307
12308 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12309 specially.
12310 (gaih_getanswer_slice): Likewise.
12311
3bf8d1b1
JJ
123122010-10-20 Jakub Jelinek <jakub@redhat.com>
12313
12314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12315
6db52fbb
PB
123162010-05-31 Petr Baudis <pasky@suse.cz>
12317
12318 [BZ #11149]
12319 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12320 silently even in the chroot mode.
12321
eaca7569
UD
123222010-11-22 Ulrich Drepper <drepper@gmail.com>
12323
12324 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12325 last patch a bit. Pretty printing
12326
3056dcdb
UD
123272010-05-31 Petr Baudis <pasky@suse.cz>
12328
12329 [BZ #10085]
12330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12331 initialization of skip_initgroups_dyn.
12332
cf7c9078
UD
123332010-11-19 Ulrich Drepper <drepper@gmail.com>
12334
12335 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12336 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12337
a1fb5e3e
UD
123382010-11-16 Ulrich Drepper <drepper@gmail.com>
12339
12340 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12341
3540d66b
AS
123422010-11-11 Andreas Schwab <schwab@redhat.com>
12343
12344 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12345 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12346 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12347 ($(objpfx)tst-fnmatch-mem): New rule.
12348 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12349 * posix/tst-fnmatch.c (main): Call mtrace.
12350
13b69574
L
123512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12354 Support Intel processor model 6 and model 0x2c.
12355
da93d214
LM
123562010-11-10 Luis Machado <luisgpm@br.ibm.com>
12357
12358 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12359 signed comparison.
12360
8ca52c6e
L
123612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12362
12363 [BZ #12205]
12364 * string/test-strncasecmp.c (check_result): New function.
12365 (do_one_test): Use it.
12366 (check1): New function.
12367 (test_main): Use it.
12368 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12369 Support strcasecmp and strncasecmp.
12370
69da074d
UD
123712010-11-08 Ulrich Drepper <drepper@gmail.com>
12372
12373 [BZ #12194]
12374 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12376
ff02d528
L
123772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12378
12379 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12380 IFUNC support.
12381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12382 memset-x86-64.
12383 * sysdeps/x86_64/multiarch/bzero.S: New file.
12384 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12385 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12386 * sysdeps/x86_64/multiarch/memset.S: New file.
12387 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12389 Set bit_Prefer_SSE_for_memop for Intel processors.
12390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12391 Define.
12392 (index_Prefer_SSE_for_memop): Define.
12393 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12394
344d0b54
LM
123952010-11-04 Luis Machado <luisgpm@br.ibm.com>
12396
12397 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12398 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12399
c0dde15b
UD
124002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12401
12402 [BZ #12191]
12403 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12404 (__x86_64_raw_data_cache_size_half): Likewise.
12405 (__x86_64_raw_shared_cache_size): Likewise.
12406 (__x86_64_raw_shared_cache_size_half): Likewise.
12407
12408 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12409 (__x86_64_raw_data_cache_size_half): Likewise.
12410 (__x86_64_raw_shared_cache_size): Likewise.
12411 (__x86_64_raw_shared_cache_size_half): Likewise.
12412 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12413 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12414 and __x86_64_raw_shared_cache_size_half. Round
12415 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12416 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12417 to multiple of 256 bytes.
12418
0e516e0e
MS
124192010-11-03 Ulrich Drepper <drepper@gmail.com>
12420
12421 [BZ #12167]
12422 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12423 of inacessible symlinks. Verify result of symlink before returning it.
12424 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12425 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12426
0e012e87
ER
124272010-10-28 Erich Ritz <erichritz@gmail.com>
12428
12429 * math/math.h (isinf): Fix typo in comment.
12430
de0ff7bc
UD
124312010-11-01 Ulrich Drepper <drepper@gmail.com>
12432
12433 * po/da.po: Update from translation team.
12434
fa41c84d
UD
124352010-10-26 Ulrich Drepper <drepper@gmail.com>
12436
12437 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12438 is added to the list.
12439
f0967738
AK
124402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12441 Ulrich Drepper <drepper@gmail.com>
12442
12443 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12444 the global list here. Move code to...
12445 (_dl_add_to_namespace_list): ...here. New function.
12446 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12447 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12448 * elf/dl-load.c (lose): Don't remove the element from the list.
12449 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12450 (_dl_map_object): Likewise.
12451
124522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12453
12454 [BZ #12159]
12455 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12456 into all bytes of SSE register.
12457 Patch by Richard Li <richardpku@gmail.com>.
12458
f0967738 124592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12460
12461 [BZ #12140]
12462 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12463 perturbing.
12464
d0b9e94f
MB
124652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12466
12467 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12468 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12469 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12470 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12472 submachine.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12474
8e9f92e9
AS
124752010-10-22 Andreas Schwab <schwab@redhat.com>
12476
12477 * include/dlfcn.h (__RTLD_SECURE): Define.
12478 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12479 mode & __RTLD_SECURE instead.
12480 (open_path): Rename preloaded parameter to secure.
12481 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12482 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12483 * elf/dl-deps.c (openaux): Likewise.
12484 * elf/rtld.c (struct map_args): Remove is_preloaded.
12485 (map_doit): Don't use it.
12486 (dl_main): Likewise.
12487 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12488 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12489
bc96fbda
AS
124902010-09-09 Andreas Schwab <schwab@redhat.com>
12491
12492 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12493 (sysd-rules-targets): Remove duplicates.
12494 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12495 rtld-%.$o dependency.
12496
22cd1c9b
AS
124972010-10-18 Andreas Schwab <schwab@redhat.com>
12498
12499 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12500 _dl_map_object do it.
12501
18edac48
UD
125022010-10-19 Ulrich Drepper <drepper@gmail.com>
12503
12504 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12505 fast fma builtins, define the macros in the C99 standard.
12506 (FP_FAST_FMAF): Likewise.
12507 (FP_FAST_FMAL): Likewise.
12508 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12509
12510 * bits/mathdef.h: Update copyright year.
12511 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12512
d2050124
MM
125132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12514
12515 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12516 builtins, define the macros in the C99 standard.
12517 (FP_FAST_FMAF): Likewise.
12518 (FP_FAST_FMAL): Likewise.
12519 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12520 multiply/add.
12521 (FP_FAST_FMAF): Likewise.
12522
475facd1
JJ
125232010-10-15 Jakub Jelinek <jakub@redhat.com>
12524
12525 [BZ #3268]
12526 * math/libm-test.inc (fma_test): Some new testcases.
12527 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12528 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12529 y and infinite z. Do multiplication by C already in long double.
12530 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12532 y and infinite z. Do bitwise or of inexact bit into u.d.
12533 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12534 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12535 * sysdeps/i386/fpu/s_fma.S: Removed.
12536 * sysdeps/i386/fpu/s_fmal.S: Removed.
12537
7c08a05c
JJ
125382010-10-16 Jakub Jelinek <jakub@redhat.com>
12539
12540 [BZ #3268]
12541 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12543 computation is not scheduled after fetestexcept. Fix value
12544 of minimum denormal long double.
12545
f3f7372d
JJ
125462010-10-14 Jakub Jelinek <jakub@redhat.com>
12547
12548 [BZ #3268]
12549 * math/libm-test.inc (fma_test): Add some more tests.
12550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12551 correctly.
12552
14d43591
AS
125532010-10-15 Andreas Schwab <schwab@redhat.com>
12554
12555 * scripts/data/localplt-s390-linux-gnu.data: New file.
12556 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12557
5e908464
JJ
125582010-10-13 Jakub Jelinek <jakub@redhat.com>
12559
12560 [BZ #3268]
12561 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12562 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12563 instead of dbl-64.
12564 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12565 inlines.
12566 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12568 if one of x and y is very large and the other is subnormal.
12569 * sysdeps/s390/fpu/s_fmaf.c: New file.
12570 * sysdeps/s390/fpu/s_fma.c: New file.
12571 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12572 * sysdeps/powerpc/fpu/s_fma.S: New file.
12573 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12574 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12575 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12576
125772010-10-12 Jakub Jelinek <jakub@redhat.com>
12578
12579 [BZ #3268]
12580 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12581 fma tests.
12582 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12583 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12584 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12585 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12586 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12587 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12589
b833d51f
UD
125902010-10-12 Ulrich Drepper <drepper@redhat.com>
12591
12592 [BZ #12078]
12593 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12594 * posix/bug-regex31.input: Add test case.
12595
1751705d
UD
125962010-10-11 Ulrich Drepper <drepper@gmail.com>
12597
e9b9cbf5
UD
12598 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12599 * posix/bug-regex31.input: New file.
12600
12601 [BZ #12078]
12602 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12603 (parse_sub_exp): Fix last change, use postorder.
12604
ef06edbe
UD
12605 * posix/bug-regex31.c: New file.
12606 * posix/Makefile: Add rules to build and run bug-regex31.
12607
a129c80d
UD
12608 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12609
12610 [BZ #12078]
12611 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12612
b76b818e
UD
12613 [BZ #12108]
12614 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12615 to have entries in sys_siglist.
12616
1751705d
UD
12617 [BZ #12093]
12618 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12619 be NULL.
12620
9ff8d36f
JJ
126212010-10-07 Jakub Jelinek <jakub@redhat.com>
12622
12623 [BZ #3268]
12624 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12625 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12626 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12627 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12628 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12629 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12630 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12631 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12632 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12633 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12634 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12635 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12636 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12637 * math/ftestexcept.c (fetestexcept): Likewise.
12638 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12639 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12640 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12641 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12642 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12643 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12644 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12645
af325969
UD
126462010-10-11 Ulrich Drepper <drepper@gmail.com>
12647
c579b202 12648 [BZ #12107]
af325969
UD
12649 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12650 newline.
12651
67a67b95
UD
126522010-10-06 Ulrich Drepper <drepper@gmail.com>
12653
12654 * string/bug-strstr1.c: New file.
12655 * string/Makefile: Add rules to build and run bug-strstr1.
12656
5fb308bc
EB
126572010-10-05 Eric Blake <eblake@redhat.com>
12658
12659 [BZ #12092]
12660 * string/str-two-way.h (two_way_long_needle): Always clear memory
12661 when skipping input due to the shift table.
12662
45db99c7
UD
126632010-10-03 Ulrich Drepper <drepper@gmail.com>
12664
3b111893
UD
12665 [BZ #12005]
12666 * malloc/mcheck.c: Handle large requests.
12667
45db99c7
UD
12668 [BZ #12077]
12669 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12670 for strncmp and strncasecmp.
12671 * string/stratcliff.c: Add tests for strcmp and strncmp.
12672 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12673
cf7a1eb8
NI
126742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12675
12676 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12677 __set_fpscr.
12678
6484ba5e
AJ
126792010-09-30 Andreas Jaeger <aj@suse.de>
12680
12681 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12682 (CGROUP_SUPER_MAGIC): Define.
12683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12684 Handle btrfs and cgroup file systems.
12685 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12686 Likewise.
12687
91c42559
LM
126882010-09-27 Luis Machado <luisgpm@br.ibm.com>
12689
12690 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12691 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12692
87a97932
AK
126932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12694
12695 [BZ #12067]
12696 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12697 trying to locate the ELF header.
12698
c21cc9bc
AS
126992010-09-27 Andreas Schwab <schwab@redhat.com>
12700
12701 [BZ #11611]
12702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12703 Mask out sign-bit copies when constructing f_fsid.
12704
315970f6
PB
127052010-09-24 Petr Baudis <pasky@suse.cz>
12706
12707 * debug/stack_chk_fail_local.c: Add missing licence exception.
12708 * debug/warning-nop.c: Likewise.
12709
1ac7a2c7
JM
127102010-09-15 Joseph Myers <joseph@codesourcery.com>
12711
12712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12713 implementing getdents64 using getdents syscall, set d_type if
12714 __ASSUME_GETDENTS32_D_TYPE.
12715
56801c50
AS
127162010-09-16 Andreas Schwab <schwab@redhat.com>
12717
12718 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12719 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12720
dda51327
UD
127212010-09-21 Ulrich Drepper <drepper@redhat.com>
12722
12723 [BZ #12037]
12724 * posix/unistd.h: Undo change of feature selection for ftruncate from
12725 2010-01-11.
12726
8ffcee4a
UD
127272010-09-20 Ulrich Drepper <drepper@redhat.com>
12728
a545ecd9 12729 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12730 detection.
12731
e24f0a8b
AS
127322010-09-20 Andreas Schwab <schwab@redhat.com>
12733
12734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12735 fanotify_mark.
12736 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12737
7291c56f
AS
127382010-09-14 Andreas Schwab <schwab@redhat.com>
12739
12740 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12741 variables after CHECK_SP call.
12742 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12743
bc5fb037
AS
127442010-09-13 Andreas Schwab <schwab@redhat.com>
12745 Ulrich Drepper <drepper@redhat.com>
12746
12747 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12748 re-relocationg ld.so.
12749 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12750 _dl_init_paths call.
12751 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12752 here anymore.
12753
e66e7419
UD
127542010-09-14 Ulrich Drepper <drepper@redhat.com>
12755
12756 * resolv/res_init.c (__res_vinit): Count the default server we added.
12757
c044aa75
CLT
127582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12759 Ulrich Drepper <drepper@redhat.com>
12760
12761 [BZ #11968]
12762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12763 (____longjmp_chk): Use %ebx for saving value across system call.
12764 Add unwind info.
12765
32cf4069
AS
127662010-09-06 Andreas Schwab <schwab@redhat.com>
12767
12768 * manual/Makefile: Don't mix pattern rules with normal rules.
12769
817328ee
AS
127702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12771
12772 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12773 operation.
12774 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12775 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12776 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12777 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12779 Likewise.
12780
29fddf61
UD
127812010-09-04 Ulrich Drepper <drepper@redhat.com>
12782
12783 [BZ #11979]
12784 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12785 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12786
0959ffc9
UD
127872010-09-02 Ulrich Drepper <drepper@redhat.com>
12788
12789 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12790 * sysdeps/x86_64/addmul_1.S: Likewise.
12791 * sysdeps/x86_64/lshift.S: Likewise.
12792 * sysdeps/x86_64/mul_1.S: Likewise.
12793 * sysdeps/x86_64/rshift.S: Likewise.
12794 * sysdeps/x86_64/sub_n.S: Likewise.
12795 * sysdeps/x86_64/submul_1.S: Likewise.
12796
ece29840
ST
127972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12798
0959ffc9
UD
12799 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12800 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12801 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12802 * bits/sched.h [__need_schedparam]
ece29840 12803 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12804 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12805 (__defined_schedparam): Define to 1.
ece29840
ST
12806 (__sched_param): New structure, identical to sched_param.
12807 (__need_schedparam): Undefine.
12808
e53a31fe
MF
128092010-08-31 Mike Frysinger <vapier@gentoo.org>
12810
fdc0c10d
MF
12811 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12812 (epoll_create1): Declare.
12813
e53a31fe
MF
12814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12815
a726d796
AS
128162010-08-31 Andreas Schwab <schwab@redhat.com>
12817
12818 [BZ #7066]
12819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12820 shifting retval into place.
12821
2f3e3dc7
UD
128222010-09-01 Ulrich Drepper <drepper@redhat.com>
12823
f2933da9
UD
12824 * nis/rpcsvc/nis.h: Update copyright notice.
12825 * nis/rpcsvc/nis.x: Likewise.
12826 * nis/rpcsvc/nis_callback.h: Likewise.
12827 * nis/rpcsvc/nis_callback.x: Likewise.
12828 * nis/rpcsvc/nis_object.x: Likewise.
12829 * nis/rpcsvc/nis_tags.h: Likewise.
12830 * nis/rpcsvc/yp.h: Likewise.
12831 * nis/rpcsvc/yp.x: Likewise.
12832 * nis/rpcsvc/ypupd.h: Likewise.
12833 * nis/yp_xdr.c: Likewise.
12834 * nis/ypupdate_xdr.c: Likewise.
12835
2f3e3dc7
UD
12836 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12837 mainly the body of pmap_getport. Add parameters to specify timeouts.
12838 (pmap_getport): Use __libc_rpc_getport.
12839 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12840 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12841 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12842
f3dcc2f9
AS
128432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12844
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12846 fanotify_mark.
12847
6d34eb5b
RM
128482010-08-27 Roland McGrath <roland@redhat.com>
12849
12850 * sysdeps/i386/i686/multiarch/Makefile
12851 (CFLAGS-varshift.c): New variable.
12852
9ea3de11
UD
128532010-08-27 Ulrich Drepper <drepper@redhat.com>
12854
c96d23fc
UD
12855 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12856 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12857
9ea3de11
UD
12858 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12859
12860 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12861
623aac7f
L
128622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 * sysdeps/x86_64/strlen.S: Unroll the loop.
12865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12866 strlen-sse2 strlen-sse2-bsf.
12867 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12868 __strlen_no_bsf if bit_Slow_BSF is set.
12869 (__strlen_sse42): Removed.
12870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12871 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12872
8b2b7715
RM
128732010-08-25 Roland McGrath <roland@redhat.com>
12874
12875 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12876 * sysdeps/x86_64/multiarch/varshift.c: New file.
12877 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12878 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12879 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12880 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12881
e73015f2
L
128822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12883
12884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12885 strlen-sse2 strlen-sse2-bsf.
12886 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12887 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12888 (__strlen_sse2): Removed.
12889 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12892 bit_Slow_BSF for Atom.
12893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12894 (index_Slow_BSF): Define.
12895 (HAS_SLOW_BSF): Define.
12896
df24a73e
UD
128972010-08-25 Ulrich Drepper <drepper@redhat.com>
12898
12899 [BZ #10851]
12900 * resolv/res_init.c (__res_vinit): When no server address at all
12901 is given default to loopback.
12902
f2ac4868
RM
129032010-08-24 Roland McGrath <roland@redhat.com>
12904
09055553
RM
12905 * configure.in: Remove config-name.h generation.
12906 * configure: Regenerated.
12907 * config-name.in: File removed.
12908 * scripts/config-uname.sh: New file.
12909 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12910 ($(objdir)config-name.h): New target.
12911
f2ac4868
RM
12912 * sunrpc/rpc_parse.h: Avoid nested comment.
12913
73f27d5e
RH
129142010-08-24 Richard Henderson <rth@redhat.com>
12915 Ulrich Drepper <drepper@redhat.com>
12916 H.J. Lu <hongjiu.lu@intel.com>
12917
12918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12920 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12921 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12922 _mm_alignr_epi8 with _mm_loadu_si128.
12923 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12924 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12925 (__m128i_shift_right): Removed.
12926 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12927 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12928 * sysdeps/x86_64/multiarch/varshift.h: New file.
12929 * sysdeps/x86_64/multiarch/varshift.S: New file.
12930
84b9230c
MF
129312010-08-21 Mike Frysinger <vapier@gentoo.org>
12932
12933 * configure.in: Move assembler checks to before sysdep dir checking.
12934
9bbd0ddc
PB
129352010-08-20 Petr Baudis <pasky@suse.cz>
12936
12937 * LICENSES: Sync the sunrpc license.
12938
9da4bb31
UD
129392010-08-19 Ulrich Drepper <drepper@redhat.com>
12940
a7ab6ec8
UD
12941 * sunrpc/auth_des.c: Update copyright notice once again.
12942 * sunrpc/auth_none.c: Likewise.
12943 * sunrpc/auth_unix.c: Likewise.
12944 * sunrpc/authdes_prot.c: Likewise.
12945 * sunrpc/authuxprot.c: Likewise.
12946 * sunrpc/bindrsvprt.c: Likewise.
12947 * sunrpc/clnt_gen.c: Likewise.
12948 * sunrpc/clnt_perr.c: Likewise.
12949 * sunrpc/clnt_raw.c: Likewise.
12950 * sunrpc/clnt_simp.c: Likewise.
12951 * sunrpc/clnt_tcp.c: Likewise.
12952 * sunrpc/clnt_udp.c: Likewise.
12953 * sunrpc/clnt_unix.c: Likewise.
12954 * sunrpc/des_crypt.c: Likewise.
12955 * sunrpc/des_soft.c: Likewise.
12956 * sunrpc/get_myaddr.c: Likewise.
12957 * sunrpc/getrpcport.c: Likewise.
12958 * sunrpc/key_call.c: Likewise.
12959 * sunrpc/key_prot.c: Likewise.
12960 * sunrpc/openchild.c: Likewise.
12961 * sunrpc/pm_getmaps.c: Likewise.
12962 * sunrpc/pm_getport.c: Likewise.
12963 * sunrpc/pmap_clnt.c: Likewise.
12964 * sunrpc/pmap_prot.c: Likewise.
12965 * sunrpc/pmap_prot2.c: Likewise.
12966 * sunrpc/pmap_rmt.c: Likewise.
12967 * sunrpc/rpc/auth.h: Likewise.
12968 * sunrpc/rpc/auth_unix.h: Likewise.
12969 * sunrpc/rpc/clnt.h: Likewise.
12970 * sunrpc/rpc/des_crypt.h: Likewise.
12971 * sunrpc/rpc/key_prot.h: Likewise.
12972 * sunrpc/rpc/netdb.h: Likewise.
12973 * sunrpc/rpc/pmap_clnt.h: Likewise.
12974 * sunrpc/rpc/pmap_prot.h: Likewise.
12975 * sunrpc/rpc/pmap_rmt.h: Likewise.
12976 * sunrpc/rpc/rpc.h: Likewise.
12977 * sunrpc/rpc/rpc_des.h: Likewise.
12978 * sunrpc/rpc/rpc_msg.h: Likewise.
12979 * sunrpc/rpc/svc.h: Likewise.
12980 * sunrpc/rpc/svc_auth.h: Likewise.
12981 * sunrpc/rpc/types.h: Likewise.
12982 * sunrpc/rpc/xdr.h: Likewise.
12983 * sunrpc/rpc_clntout.c: Likewise.
12984 * sunrpc/rpc_cmsg.c: Likewise.
12985 * sunrpc/rpc_common.c: Likewise.
12986 * sunrpc/rpc_cout.c: Likewise.
12987 * sunrpc/rpc_dtable.c: Likewise.
12988 * sunrpc/rpc_hout.c: Likewise.
12989 * sunrpc/rpc_main.c: Likewise.
12990 * sunrpc/rpc_parse.c: Likewise.
12991 * sunrpc/rpc_parse.h: Likewise.
12992 * sunrpc/rpc_prot.c: Likewise.
12993 * sunrpc/rpc_sample.c: Likewise.
12994 * sunrpc/rpc_scan.c: Likewise.
12995 * sunrpc/rpc_scan.h: Likewise.
12996 * sunrpc/rpc_svcout.c: Likewise.
12997 * sunrpc/rpc_tblout.c: Likewise.
12998 * sunrpc/rpc_util.c: Likewise.
12999 * sunrpc/rpc_util.h: Likewise.
13000 * sunrpc/rpcinfo.c: Likewise.
13001 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13002 * sunrpc/rpcsvc/key_prot.x: Likewise.
13003 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13004 * sunrpc/rpcsvc/mount.x: Likewise.
13005 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13006 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13007 * sunrpc/rpcsvc/rex.x: Likewise.
13008 * sunrpc/rpcsvc/rstat.x: Likewise.
13009 * sunrpc/rpcsvc/rusers.x: Likewise.
13010 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13011 * sunrpc/rpcsvc/spray.x: Likewise.
13012 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13013 * sunrpc/rtime.c: Likewise.
13014 * sunrpc/svc.c: Likewise.
13015 * sunrpc/svc_auth.c: Likewise.
13016 * sunrpc/svc_authux.c: Likewise.
13017 * sunrpc/svc_raw.c: Likewise.
13018 * sunrpc/svc_run.c: Likewise.
13019 * sunrpc/svc_simple.c: Likewise.
13020 * sunrpc/svc_tcp.c: Likewise.
13021 * sunrpc/svc_udp.c: Likewise.
13022 * sunrpc/svc_unix.c: Likewise.
13023 * sunrpc/svcauth_des.c: Likewise.
13024 * sunrpc/xcrypt.c: Likewise.
13025 * sunrpc/xdr.c: Likewise.
13026 * sunrpc/xdr_array.c: Likewise.
13027 * sunrpc/xdr_float.c: Likewise.
13028 * sunrpc/xdr_mem.c: Likewise.
13029 * sunrpc/xdr_rec.c: Likewise.
13030 * sunrpc/xdr_ref.c: Likewise.
13031 * sunrpc/xdr_sizeof.c: Likewise.
13032 * sunrpc/xdr_stdio.c: Likewise.
13033
9da4bb31
UD
13034 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13035 handling.
13036
bdaa77bc
AS
130372010-08-19 Andreas Schwab <schwab@redhat.com>
13038
13039 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13040
fe2f79db
LM
130412010-08-19 Luis Machado <luisgpm@br.ibm.com>
13042
13043 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13046 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13047 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13048 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13049 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13050 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13053 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13055 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13056 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13057
b9b42ee0
AB
130582010-07-26 Anton Blanchard <anton@samba.org>
13059
13060 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13061 * malloc/arena.c (heap_trim): Likewise.
13062
1c06ba31
UD
130632010-08-16 Ulrich Drepper <drepper@redhat.com>
13064
13065 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13066 here. Not...
13067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13068 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13069
f8392f40
L
130702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13071
13072 * sysdeps/i386/elf/Makefile: New file.
13073
3162f12e
AS
130742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13075
13076 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13077 from fanotify_init.
13078 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13080
28c90b2c
UD
130812010-08-15 Ulrich Drepper <drepper@redhat.com>
13082
13083 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13084 of strncasecmp_l.
1feccb6c 13085 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13086
ca6bb004
UD
130872010-08-14 Ulrich Drepper <drepper@redhat.com>
13088
e9f82e0d
UD
13089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13090 strncase_l-nonascii.
13091 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13092 Add strncase_l-ssse3.
13093 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13094 * sysdeps/x86_64/strcmp.S: Likewise.
13095 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13096 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13097 * sysdeps/x86_64/strncase.S: New file.
13098 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13099 * sysdeps/x86_64/strncase_l.S: New file.
13100 * string/Makefile (strop-tests): Add strncasecmp.
13101 * string/test-strncasecmp.c: New file.
13102
13103 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13104 warning.
13105
ca6bb004
UD
13106 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13107 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13108
052fa7b3
AS
131092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13110
13111 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13112
962dba78
UD
131132010-08-12 Ulrich Drepper <drepper@redhat.com>
13114
13115 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13117 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13118
bebff237
AM
131192010-05-01 Alan Modra <amodra@gmail.com>
13120
13121 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13122 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13123 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13124 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13125 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13126 tidying. Don't tail-call __sigjmp_save for static lib.
13127 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13128 save location.
13129 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13130 (CALL_MCOUNT): Add eh info, and nop after bl.
13131 (TAIL_CALL_SYSCALL_ERROR): New macro.
13132 (PSEUDO_RET): Use it.
13133 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13134 Correct save location of integer regs and cr.
13135 (_dl_profile_resolve): Correct cr save location. Delete nops
13136 after bl when SHARED. Reduce cfi size a little by better
13137 placement of cfi directives.
13138 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13139 make a stack frame. Instead use parm save area as a temp.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13141 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13143 Don't make a stack frame for parent, use parm save area.
13144 Increase child stack frame to 112 bytes. Don't save unused reg,
13145 and adjust reg usage. Set up cfi on error recovery and
13146 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13148 (__makecontext): Add dummy nop after jump to exit.
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13150 Use correct parm save area and cr save, reduce stack frame.
13151 Correct cfi for possible PSEUDO_RET frame setup.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13153 Branch to local label emitted by PSEUDO_RET rather than
13154 __syscall_error.
13155
02637374
AS
131562010-08-12 Andreas Schwab <schwab@redhat.com>
13157
13158 [BZ #11904]
13159 * locale/programs/locale.c (print_assignment): New function.
13160 (show_locale_vars): Use it.
13161
c3e2f19b
UD
131622010-08-11 Ulrich Drepper <drepper@redhat.com>
13163
3cdaa6ad
UD
13164 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13165 field.
13166 (struct statfs64): Likewise.
13167 (_STATFS_F_FLAGS): Define.
13168 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13170 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13171 (ST_VALID): Define locally.
13172 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13173 __statvfs_getflags, use the provided value.
13174 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13175 __ASSUME_STATFS_F_FLAGS.
13176
754f7da3
UD
13177 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13178
10b3bedc
UD
13179 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13180 Add sys/fanotify.h.
13181 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13182 fanotify_mask for GLIBC_2.13.
13183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13184 fanotify_init and fanotify_mark.
13185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13186 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13187
c08fb0d7
UD
13188 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13189 Add prlimit.
13190 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13191 prlimit64 for GLIBC_2.13.
13192 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13193 prlimit64.
13194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13195 syscall.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13197 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13198 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13199 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13201 add prlimit alias.
13202 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13203
15bac72b
UD
13204 [BZ #11903]
13205 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13206 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13207
c3e2f19b
UD
13208 * nss/Makefile: Add rules to build and run tst-nss-test1.
13209 * shlib-versions: Add entry for libnss_test1.
13210 * nss/nss_test1.c: New file.
13211 * nss/tst-nss-test1.c: New file.
13212
13213 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13214 (__nss_configure_lookup): Set appropriate entry in
13215 __nss_configure_lookup to true.
13216 * nss/nsswitch.h: Define enum with indeces of databases in
13217 databases and __nss_database_custom arrays. Declare
13218 __nss_database_custom.
13219 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13220 to avoid using nscd when custom rules are installed.
13221 * nss/getXXbyYY_r.c: Likewise.
13222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13223
13224 * nss/nss_files/files-parse.c: Whitespace fixes.
13225
f15ce4d8
UD
132262010-08-09 Ulrich Drepper <drepper@redhat.com>
13227
13228 [BZ #11883]
13229 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13230 * posix/fnmatch_loop.c: Likewise.
13231
d22e4cc9
AK
132322010-07-17 Andi Kleen <ak@linux.intel.com>
13233
13234 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13235 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13236 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13237 * Versions.def [GLIBC_2.13]: Add.
13238
805bc17d
UD
132392010-08-06 Ulrich Drepper <drepper@redhat.com>
13240
13241 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13242 Also fail if tpwd after pwuid call is NULL.
13243
5a42321d
ST
132442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13245
13246 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13247 when converting to ms.
13248
fd3ebeda
ST
132492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13250
13251 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13252 EOPNOTSUPP errors with ENOTTY.
13253 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13254 EOPNOTSUPP errors with ENOTTY.
13255
73507d3a
UD
132562010-07-31 Ulrich Drepper <drepper@redhat.com>
13257
13258 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13259 Add strcasecmp_l-ssse3.
13260 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13261 strcasecmp.
13262 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13263 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13264 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13265
fe36dd02
UD
132662010-07-30 Ulrich Drepper <drepper@redhat.com>
13267
66f6765a
UD
13268 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13269
42e08a54
UD
13270 * string/Makefile (strop-tests): Add strcasecmp.
13271 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13272 strcasecmp_l-nonascii.
13273 (gen-as-const-headers): Add locale-defines.sym.
13274 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13275 * sysdeps/x86_64/strcasecmp.S: New file.
13276 * sysdeps/x86_64/strcasecmp_l.S: New file.
13277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13278 * sysdeps/x86_64/locale-defines.sym: New file.
13279 * string/test-strcasecmp.c: New file.
13280
fe36dd02
UD
13281 * string/test-strcasestr.c: Test both ends of the range of characters.
13282 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13283
48cbc0d6
RM
132842010-07-29 Roland McGrath <roland@redhat.com>
13285
76e6d6bc 13286 [BZ #11856]
48cbc0d6
RM
13287 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13288
880113d9
UD
132892010-07-27 Ulrich Drepper <drepper@redhat.com>
13290
13291 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13292 for ld.so.
13293
deb9cabb
AS
132942010-07-27 Andreas Schwab <schwab@redhat.com>
13295
13296 * manual/memory.texi (Malloc Tunable Parameters): Document
13297 M_PERTURB.
13298
1c7570ff
RM
132992010-07-26 Roland McGrath <roland@redhat.com>
13300
13301 [BZ #11840]
13302 * configure.in (-fgnu89-inline check): Set and substitute
13303 gnu89_inline, not libc_cv_gnu89_inline.
13304 * configure: Regenerated.
13305 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13306
24fb0f88
UD
133072010-07-26 Ulrich Drepper <drepper@redhat.com>
13308
13309 * string/test-strnlen.c: New file.
13310 * string/Makefile (strop-tests): Add strnlen.
13311 * string/tester.c (test_strnlen): Add a few more test cases.
13312 * string/tst-strlen.c: Better error reporting.
13313
13314 * sysdeps/x86_64/strnlen.S: New file.
13315
8e96b93a
UD
133162010-07-24 Ulrich Drepper <drepper@redhat.com>
13317
13318 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13319 lower-latency instructions.
13320
dbc676d4
UD
133212010-07-23 Ulrich Drepper <drepper@redhat.com>
13322
13323 * string/test-strcasestr.c: New file.
13324 * string/test-strstr.c: New file.
13325 * string/Makefile (strop-tests): Add strstr and strcasestr.
13326 * string/str-two-way.h: Don't undefine MAX.
13327 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13328
f6a31e0e
AS
133292010-07-21 Andreas Schwab <schwab@redhat.com>
13330
13331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13332 strcasestr-nonascii.
13333 (CFLAGS-strcasestr-nonascii.c): Define.
13334 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13336 Remove unused attribute.
13337
5dbc3b6c
RM
133382010-07-20 Roland McGrath <roland@redhat.com>
13339
13340 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13341 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13342 ld.so.cache was broken. With it, there is no way to disable dsocaps
13343 like LD_HWCAP_MASK can disable hwcaps.
13344
23d101d8
EPM
133452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13346
13347 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13348
cc9f2e47
UD
133492010-07-16 Ulrich Drepper <drepper@redhat.com>
13350
13351 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13352 call in strcasestr.
13353 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13354 __strcasestr_sse42_nonascii.
13355 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13356 strcasestr-nonascii.c.
13357 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13358
77c1b069
LM
133592010-06-15 Luis Machado <luisgpm@br.ibm.com>
13360
13361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13363 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13365
440566c3
UD
133662010-07-09 Ulrich Drepper <drepper@redhat.com>
13367
13368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13369 fcntl.
13370
5be9d05d
AS
133712010-07-06 Andreas Schwab <schwab@redhat.com>
13372
c30b7ee2 13373 [BZ #11577]
5be9d05d
AS
13374 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13375 dl_signal_cerror.
13376
8a492a67
UD
133772010-07-06 Ulrich Drepper <drepper@redhat.com>
13378
13379 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13380 _PC_PIPE_BUF using F_GETPIPE_SZ.
13381
713df3d5
RM
133822010-07-05 Roland McGrath <roland@redhat.com>
13383
13384 * manual/arith.texi (Rounding Functions): Fix rint description
13385 implicit in round description.
13386
702e8f14
UD
133872010-07-02 Ulrich Drepper <drepper@redhat.com>
13388
13389 * elf/Makefile: Fix linking for a few tests to make recent linker
13390 happy.
13391
52ed8be9
AS
133922010-06-30 Andreas Schwab <schwab@redhat.com>
13393
13394 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13395 $(common-objpfx)libc_nonshared.a.
13396
f47c9a11
LM
133972010-06-21 Luis Machado <luisgpm@br.ibm.com>
13398
13399 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13400 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13401 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13402 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13403 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13404 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13405 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13406 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13421 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13422 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13423 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13424 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13425 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13426 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13427 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13428 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13429 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13430 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13431 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13432 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13447
6fb8cbcb
L
134482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13449
13450 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13451 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13452 * string/memmove.c (memmove): Renamed to ...
13453 (MEMMOVE): ...this. Default to memmove.
13454 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13455 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13456 (END_CHK): Define.
13457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13458 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13459 mempcpy-ssse3-back memmove-ssse3-back.
13460 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13463 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13464 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13465 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13466 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13467 * sysdeps/x86_64/multiarch/memmove.c: New file.
13468 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13469 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13470 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13471 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13472 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13474 Define.
13475 (index_Fast_Copy_Backward): Define.
13476 (HAS_ARCH_FEATURE): Define.
13477 (HAS_FAST_REP_STRING): Define.
13478 (HAS_FAST_COPY_BACKWARD): Define.
13479
4e733bac 134802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13481
13482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13483 Restore proper fallback handling.
13484
63c4ed22
UD
134852010-06-19 Ulrich Drepper <drepper@redhat.com>
13486
ac2b484c
UD
13487 [BZ #11701]
13488 * posix/group_member.c (__group_member): Correct checking loop.
13489
63c4ed22
UD
13490 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13491 OOM in getpwuid_r correctly. Return error number when the caller
13492 should return, otherwise -1.
13493 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13494 call returning > 0 value.
13495 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13496
765ade4b
AS
134972010-06-07 Andreas Schwab <schwab@redhat.com>
13498
13499 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13500 libc_nonshared.a from targets in modules-names.
13501
80da2e09
KS
135022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13503
13504 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13505 requires it.
13506
158db122
LM
135072010-06-10 Luis Machado <luisgpm@br.ibm.com>
13508
13509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13513
caa78cf8
AS
135142010-06-02 Andreas Schwab <schwab@redhat.com>
13515
13516 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13517
b2ef2c01
UD
135182010-06-14 Ulrich Drepper <drepper@redhat.com>
13519
13520 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13521 and F_GETPIPE_SZ.
13522 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13526 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13528
fbd643b6
RM
135292010-06-14 Roland McGrath <roland@redhat.com>
13530
13531 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13532
f32f2869
JJ
135332010-06-07 Jakub Jelinek <jakub@redhat.com>
13534
13535 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13536 __REDIRECT followed by __THROW.
13537 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13538 * posix/getopt.h (getopt): Likewise.
13539
2a50c078
EPM
135402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13541
13542 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13543 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13544 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13545 in AT_FLAGS.
13546 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13547 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13548
eb5ad2eb
LM
135492010-05-28 Luis Machado <luisgpm@br.ibm.com>
13550
13551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13552
3c88fe1e
L
135532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13554
13555 [BZ #11640]
13556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13557 Properly check family and model.
13558
d2f73151
TY
135592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13560
13561 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13562
ebd2e13d
LM
135632010-05-24 Luis Machado <luisgpm@br.ibm.com>
13564
13565 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13566
b32b8b45
UD
135672010-05-21 Ulrich Drepper <drepper@redhat.com>
13568
13569 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13570 symbol reference.
13571
9acbe24d
AS
135722010-05-19 Andreas Schwab <schwab@redhat.com>
13573
13574 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13575 symbol reference.
13576
f0ccf6ea
AS
135772010-05-21 Andreas Schwab <schwab@redhat.com>
13578
3d04ff3a
AS
13579 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13580 and internal_recvmmsg.
13581 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13582 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13583 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13584 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13585
f0ccf6ea
AS
13586 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13587 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13588 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13589
5b08ac57
AS
135902010-05-20 Andreas Schwab <schwab@redhat.com>
13591
13592 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13593
4828935d
LM
135942010-05-17 Luis Machado <luisgpm@br.ibm.com>
13595
13596 POWER7 optimizations.
13597 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13598 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13599
373d545e
UD
136002010-05-19 Ulrich Drepper <drepper@redhat.com>
13601
13602 * version.h: Update for 2.13 development version.
13603
21a2b1ae
AS
136042010-05-12 Andrew Stubbs <ams@codesourcery.com>
13605
13606 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13607 exceptions. Return 0.
13608
3f7dcb2b
RM
136092010-05-07 Roland McGrath <roland@redhat.com>
13610
13611 * elf/ldconfig.c (main): Add a const.
13612
5f24d53a 136132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13614
a160f8d8
UD
13615 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13616 (args_options): Add no-idn option.
13617 (ahosts_keys_int): Add idn_flags to ai_flags.
13618 (parse_option): Handle 'i' option to clear idn_flags.
13619
5f24d53a
UD
13620 * malloc/malloc.c (_int_free): Possible race in the most recently
13621 added check. Only act on the data if no current modification
13622 happened.
265bb1ce
UD
13623
13624See ChangeLog.17 for earlier changes.