]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: accept4
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bcf55240
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
eb43375f
TS
3 accept4 for GNU Hurd.
4 * include/sys/socket.h (__libc_accept4): New prototype.
5 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6 to implement __libc_accept4.
7 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8 __libc_accept4.
9 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10
bcf55240
TS
11 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14 signal-defines.sym.
15
6178c55b
ST
162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17
18 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19
6f080c2f
TS
202012-05-10 Thomas Schwinge <thomas@schwinge.name>
21
22 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23 assertion on O_CLOEXEC flag.
24 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25 * hurd/intern-fd.c: Likewise.
26 * hurd/port2fd.c: Likewise.
27
bcfe3a54
ST
282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29
30 [BZ #3906]
31 * bits/in.h (IPV6_PKTINFO): Define new macro.
32 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33
89c9aa49
AZ
342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 [BZ #13954]
37 [BZ #13955]
38 [BZ #13956]
39 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45 * math/libm-test.inc (logb_test) : Additional logb tests.
46
021db4be
AJ
472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48 Andreas Jaeger <aj@suse.de>
49
50 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51 * configure: Regenerated.
52 * config.h.in (LINK_OBSOLETE_RPC): New macro.
53 * config.make.in (link-obsolete-rpc): New substituted variable.
54 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57 (shared-only-routines): Don't set it under [link-obsolete-rpc],
58 so that libc.a contains the symbols.
59 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61 * sunrpc/auth_none.c: Likewise.
62 * sunrpc/auth_unix.c: Likewise.
63 * sunrpc/authdes_prot.c: Likewise.
64 * sunrpc/authuxprot.c: Likewise.
65 * sunrpc/clnt_gen.c: Likewise.
66 * sunrpc/clnt_perr.c: Likewise.
67 * sunrpc/clnt_raw.c: Likewise.
68 * sunrpc/clnt_simp.c: Likewise.
69 * sunrpc/clnt_tcp.c: Likewise.
70 * sunrpc/clnt_udp.c: Likewise.
71 * sunrpc/clnt_unix.c: Likewise.
72 * sunrpc/des_crypt.c: Likewise.
73 * sunrpc/des_soft.c: Likewise.
74 * sunrpc/get_myaddr.c: Likewise.
75 * sunrpc/key_call.c: Likewise.
76 * sunrpc/key_prot.c: Likewise.
77 * sunrpc/netname.c: Likewise.
78 * sunrpc/pm_getmaps.c: Likewise.
79 * sunrpc/pm_getport.c: Likewise.
80 * sunrpc/pmap_clnt.c: Likewise.
81 * sunrpc/pmap_prot.c: Likewise.
82 * sunrpc/pmap_prot2.c: Likewise.
83 * sunrpc/pmap_rmt.c: Likewise.
84 * sunrpc/publickey.c: Likewise.
85 * sunrpc/rpc_cmsg.c: Likewise.
86 * sunrpc/rpc_common.c: Likewise.
87 * sunrpc/rpc_dtable.c: Likewise.
88 * sunrpc/rpc_prot.c: Likewise.
89 * sunrpc/rpc_thread.c: Likewise.
90 * sunrpc/rtime.c: Likewise.
91 * sunrpc/svc.c: Likewise.
92 * sunrpc/svc_auth.c: Likewise.
93 * sunrpc/svc_raw.c: Likewise.
94 * sunrpc/svc_run.c: Likewise.
95 * sunrpc/svc_tcp.c: Likewise.
96 * sunrpc/svc_udp.c: Likewise.
97 * sunrpc/svc_unix.c: Likewise.
98 * sunrpc/svcauth_des.c: Likewise.
99 * sunrpc/xcrypt.c: Likewise.
100 * sunrpc/xdr.c: Likewise.
101 * sunrpc/xdr_array.c: Likewise.
102 * sunrpc/xdr_float.c: Likewise.
103 * sunrpc/xdr_intXX_t.c: Likewise.
104 * sunrpc/xdr_mem.c: Likewise.
105 * sunrpc/xdr_rec.c: Likewise.
106 * sunrpc/xdr_ref.c: Likewise.
107 * sunrpc/xdr_sizeof.c: Likewise.
108 * sunrpc/xdr_stdio.c: Likewise.
109
b5c086a2
RM
1102012-05-10 Roland McGrath <roland@hack.frob.com>
111
112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
113 change. Update copyright years.
114
6d74dd09
JM
1152012-05-10 Joseph Myers <joseph@codesourcery.com>
116
117 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
118
28e72501
MK
1192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
120 Joseph Myers <joseph@codesourcery.com>
121 Paul Pluzhnikov <ppluzhnikov@google.com>
122
123 [BZ #14012]
124 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
125 requiring rpcgen.
126 [cross-compiling] (extra-libs): Likewise.
127 [cross-compiling] (extra-libs-others): Likewise.
128 [cross-compiling] (librpcsvc-routines): Likewise.
129 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
130 [cross-compiling] (omit-deps): Likewise.
131 (sunrpc-CPPFLAGS): New variable.
132 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
133 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
134 (cross-rpcgen-objs): New variable.
135 (extra-objs): Append $(cross-rpcgen-objs).
136 ($(cross-rpcgen-objs)): New rule.
137 ($(objpfx)cross-rpcgen): Likewise.
138 (rpcgen-cmd): Define to use $(built-program-file). Expand
139 comment.
140 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
141 ($(objpfx)x%.stmp): Likewise.
142 * sunrpc/proto.h [IS_IN_build] (_): Define.
143 [IS_IN_build] (_libc_intl_domainname): Likewise.
144
c8c59454
L
1452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
146
147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
148 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
149 and R_X86_64_TPOFF64.
150
6f27cd16
JM
1512012-05-10 Joseph Myers <joseph@codesourcery.com>
152
153 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
154 sysdeps/unix/sysv/syscalls.list.
155 (stime): Likewise.
156 (utime): Likewise.
157 * sysdeps/unix/sysv/syscalls.list: Remove file.
158
02467e1c
PE
1592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
160
161 [BZ #3440]
162 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
163 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
164 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
165 (__LC_IDENTIFICATION): Make these macros useful in #if
166 expressions, as required by C99.
167
da392631
AS
1682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
169
170 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
171 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
172 after this.
173
8115f29b
L
1742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
175
176 * stdlib/longlong.h: Updated from GCC.
177
bdd74070
AJ
1782012-05-09 Andreas Jaeger <aj@suse.de>
179
edfe0dbe
AJ
180 * nscd/nscd.c (run_modes): Make named enum, reorder so that
181 default is first entry.
182 (run_mode): Set type.
183 (main): Remove informal message about syslog.
184 (options): Fix typo.
185
bcfe3a54
ST
186 [BZ #14053]
187 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 188 to asm.
bcfe3a54
ST
189 (lrint): Likewise.
190 (llrintf): Likewise.
191 (llrint): Likewise.
192 (rint): Likewise.
193 (rintf): Likewise.
194 (nearbyint): Likewise.
195 (nearbyintf): Likewise.
bdd74070 196
91d8d69e
AJ
1972012-05-09 Andreas Jaeger <aj@suse.de>
198 Pedro Alves <palves@redhat.com>
199
200 * nscd/nscd.c (run_mode): Use enum.
201 (main): Cleanup coding style issue.
202
bb90b80b
AJ
2032012-05-09 Alexandre Oliva <aoliva@redhat.com>
204 Andreas Jaeger <aj@suse.de>
205
bcfe3a54
ST
206 * nscd/nscd.c (go_background): Replaced with...
207 (run_mode): ... this.
bb90b80b 208 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
209 (options): Add -F --foreground.
210 (main): Implement it.
211 (parse_opt): Parse it.
bb90b80b 212
1a4b75a1
AJ
2132012-05-09 Andreas Jaeger <aj@suse.de>
214
215 [BZ #14083]
216 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
217 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
218 -Wconversion warning.
219 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
220 Likewise.
221
b1cc2472
JM
2222012-05-09 Joseph Myers <joseph@codesourcery.com>
223
224 * conform/data/locale.h-data (NULL): Use macro-constant. Require
225 == 0.
226 (LC_ALL): Use macro-int-constant.
227 (LC_COLLATE): Likewise.
228 (LC_CTYPE): Likewise.
229 (LC_MESSAGES): Likewise.
230 (LC_MONETARY): Likewise.
231 (LC_NUMERIC): Likewise.
232 (LC_TIME): Likewise.
233 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
234 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
236 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
237 Specify type.
238 [C99-based standards] (float_t): Expect type.
239 [C99-based standards] (double_t): Expect type.
240 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
241 type.
242 [C99-based standards] (HUGE_VALL): Likewise.
243 [C99-based standards] (INFINITY): Likewise.
244 [C99-based standards] (NAN): Likewise.
245 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
246 [C99-based standards] (FP_NAN): Likewise.
247 [C99-based standards] (FP_NORMAL): Likewise.
248 [C99-based standards] (FP_SUBNORMAL): Likewise.
249 [C99-based standards] (FP_ZERO): Likewise.
250 [C99-based standards] (FP_FAST_FMA): Use
251 optional-macro-int-constant. Specify type. Require == 1.
252 [C99-based standards] (FP_FAST_FMAF): Likewise.
253 [C99-based standards] (FP_FAST_FMAL): Likewise.
254 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
255 [C99-based standards] (FP_ILOGBNAN): Likewise.
256 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
257 Specify type.
258 [C99-based standards] (MATH_ERREXCEPT): Likewise.
259 [C99-based standards] (math_errhandling): Specify type.
260 [ISO99 || ISO11] (signgam): Do not allow.
261 [non-C99-based standards] (copysignf): Do not allow.
262 [non-C99-based standards] (exp2f): Likewise.
263 [non-C99-based standards] (log2f): Likewise.
264 [non-C99-based standards] (modff): Allow.
265 [non-C99-based standards] (erff): Do not allow.
266 [non-C99-based standards] (erfcf): Likewise.
267 [non-C99-based standards] (gammaf): Likewise.
268 [non-C99-based standards] (hypotf): Likewise.
269 [non-C99-based standards] (j0f): Likewise.
270 [non-C99-based standards] (j1f): Likewise.
271 [non-C99-based standards] (jnf): Likewise.
272 [non-C99-based standards] (lgammaf): Likewise.
273 [non-C99-based standards] (tgammaf): Likewise.
274 [non-C99-based standards] (y0f): Likewise.
275 [non-C99-based standards] (y1f): Likewise.
276 [non-C99-based standards] (ynf): Likewise.
277 [non-C99-based standards] (isnanf): Likewise.
278 [non-C99-based standards] (acoshf): Likewise.
279 [non-C99-based standards] (asinhf): Likewise.
280 [non-C99-based standards] (atanhf): Likewise.
281 [non-C99-based standards] (cbrtf): Likewise.
282 [non-C99-based standards] (expm1f): Likewise.
283 [non-C99-based standards] (ilogbf): Likewise.
284 [non-C99-based standards] (log1pf): Likewise.
285 [non-C99-based standards] (logbf): Likewise.
286 [non-C99-based standards] (nextafterf): Likewise.
287 [non-C99-based standards] (remainderf): Likewise.
288 [non-C99-based standards] (rintf): Likewise.
289 [non-C99-based standards] (scalbf): Likewise.
290 [non-C99-based standards] (copysignl): Likewise.
291 [non-C99-based standards] (exp2l): Likewise.
292 [non-C99-based standards] (log2l): Likewise.
293 [non-C99-based standards] (modfl): Allow.
294 [non-C99-based standards] (erfl): Do not allow.
295 [non-C99-based standards] (erfcl): Likewise.
296 [non-C99-based standards] (gammal): Likewise.
297 [non-C99-based standards] (hypotl): Likewise.
298 [non-C99-based standards] (j0l): Likewise.
299 [non-C99-based standards] (j1l): Likewise.
300 [non-C99-based standards] (jnl): Likewise.
301 [non-C99-based standards] (lgammal): Likewise.
302 [non-C99-based standards] (tgammal): Likewise.
303 [non-C99-based standards] (y0l): Likewise.
304 [non-C99-based standards] (y1l): Likewise.
305 [non-C99-based standards] (ynl): Likewise.
306 [non-C99-based standards] (isnanl): Likewise.
307 [non-C99-based standards] (acoshl): Likewise.
308 [non-C99-based standards] (asinhl): Likewise.
309 [non-C99-based standards] (atanhl): Likewise.
310 [non-C99-based standards] (cbrtl): Likewise.
311 [non-C99-based standards] (expm1l): Likewise.
312 [non-C99-based standards] (ilogbl): Likewise.
313 [non-C99-based standards] (log1pl): Likewise.
314 [non-C99-based standards] (logbl): Likewise.
315 [non-C99-based standards] (nextafterl): Likewise.
316 [non-C99-based standards] (remainderl): Likewise.
317 [non-C99-based standards] (rintl): Likewise.
318 [non-C99-based standards] (scalbl): Likewise.
319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
320 [non-C99-based standards] (FP_*): Do not allow.
321 [C99-based standards] (FP_*): Change to
322 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
323 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
324 allow.
325 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
326 (SIG_ERR): Likewise.
327 [X/Open-based standards] (SIG_HOLD): Likewise.
328 (SIG_IGN): Likewise.
329 (SIGABRT): Use macro-int-constant. Specify type. Require
330 positive value.
331 (SIGFPE): Likewise.
332 (SIGILL): Likewise.
333 (SIGINT): Likewise.
334 (SIGSEGV): Likewise.
335 (SIGTER): Likewise.
336 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
337 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
338 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
339 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
340 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
341 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
342 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
343 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
344 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
345 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
346 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
347 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
348 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
349 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
350 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
351 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
352 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
353 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
354 [X/Open-based standards] (SIGTRAP): Likewise.
355 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
356 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
357 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
358 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
359 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
360 allow.
361
b9f1922d
IW
3622012-05-08 Ian Wienand <ianw@vmware.com>
363
364 [BZ #14080]
365 * time/tzset.c (__tzset_parse_tz): Update default rules for
366 daylight time changes in the Energy Policy Act of 2005.
367
1db86e88
AJ
3682012-05-09 Andreas Jaeger <aj@suse.de>
369
370 [BZ #13983]
371 * elf/ldconfig.c (parse_conf): Change string to make clear that
372 ldconfig only issued a warning if ld.so.conf does not exist.
373
dee4a4e3
DM
3742012-05-08 David S. Miller <davem@davemloft.net>
375
ee0db190
DM
376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
377 movxtod instead of popping the value on the stack.
378
dee4a4e3
DM
379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
380
6a43ec98
CD
3812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
382
383 * config.h.in: Add HAVE_ARM_PCS_VFP.
384
05c2c961
RMG
3852012-05-08 Roland Mc Grath <roland@hack.frob.com>
386
bcfe3a54
ST
387 [BZ #13979]
388 * include/features.h: Warn if user requests __FORTIFY_SOURCE
389 checking but the checks are disabled for any reason.
05c2c961 390
4b30f61a
L
3912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
392
393 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
394 and ELF64_R_TYPE with ELFW(R_TYPE).
395
eee2bc67
JM
3962012-05-08 Joseph Myers <joseph@codesourcery.com>
397
7ea5391a
JM
398 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
399 (ulimit): Likewise.
400
eee2bc67
JM
401 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
402 (settimeofday): Likewise.
403
abb66a67
MF
4042012-05-08 Mike Frysinger <vapier@gentoo.org>
405
406 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
407 a struct th_u2 inside the union, and move tu_block/tu_code into
408 a new th_u3 union of tu_block/tu_code inside of that. Move
409 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
410 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
411 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
412 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
413 (th_stuff): Change to th_u1.tu_stuff.
414 (th_data): Define.
415 (th_msg): Change to th_u1.th_u2.tu_data.
416
7f18b530
DM
4172012-05-07 David S. Miller <davem@davemloft.net>
418
05760585
DM
419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
420
7f18b530
DM
421 [BZ #14074]
422 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
423 (SETUP_PIC_REG): Use it.
424 (SETUP_PIC_REG_LEAF): Use it.
425
495fd99f
JM
4262012-05-07 Joseph Myers <joseph@codesourcery.com>
427
428 [BZ #13885]
429 [BZ #13923]
430 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
431 USE_AS_EXPM1L.
432 (EXPL_FINITE): Likewise.
433 (FLDLOG): Likewise.
434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
435 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
436 e_expl.S.
437 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
438 USE_AS_EXPM1L.
439 (EXPL_FINITE): Likewise.
440 (FLDLOG): Likewise.
441 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
442 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
443 e_expl.S.
444 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
445 test of -max_value argument for long double.
446 * sysdeps/i386/fpu/libm-test-ulps: Update.
447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
448
6693d694
DM
4492012-05-06 David S. Miller <davem@davemloft.net>
450
451 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
452 quad soft-float symbols whose references which are compiler
453 generated.
454 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
455
6c23e11c
JM
4562012-05-06 Joseph Myers <joseph@codesourcery.com>
457
d8b82cad
JM
458 [BZ #13884]
459 [BZ #13914]
460 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
461 USE_AS_EXP10L.
462 (EXPL_FINITE): Likewise.
463 (FLDLOG): Likewise.
464 (c0): Likewise.
465 (c1): Likewise.
466 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
467 Adjust comments for base varying.
468 (__expl_finite): Change alias to EXPL_FINITE.
469 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
470 e_expl.S.
471 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
472 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
473 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
474 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
475 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
476 USE_AS_EXP10L.
477 (EXPL_FINITE): Likewise.
478 (FLDLOG): Likewise.
479 (c0): Likewise.
480 (c1): Likewise.
481 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
482 Adjust comments for base varying.
483 (__expl_finite): Change alias to EXPL_FINITE.
484 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
485 tests for bugs.
486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
487
6c23e11c
JM
488 [BZ #14064]
489 * math/libm-test.inc (check_float_internal): Correct ulp
490 calculation for subnormal expected results.
491
29ba805c
AJ
4922012-05-06 Andreas Jaeger <aj@suse.de>
493
494 * Makeconfig (+math-flags): New, set to -frounding-math.
495 (+cflags): Add +math-flags so that all of glibc gets compiled with
496 it.
497
498 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
499
7b17aeda
JM
5002012-05-05 Joseph Myers <joseph@codesourcery.com>
501
5779f134
JM
502 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
503 Disable one test.
504
41498f4d
JM
505 [BZ #13787]
506 [BZ #13922]
507 [BZ #14036]
508 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
509 (__ieee754_expl): Allow for and saturate large arguments.
510 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
511 (u_threshold): Likewise.
512 (__exp): Call __ieee754_exp before checking for overflow and
513 underflow.
514 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
515 (u_threshold): Likewise.
516 (__expf): Call __ieee754_expf before checking for overflow and
517 underflow.
518 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
519 (u_threshold): Likewise.
520 (__expl): Call __ieee754_expl before checking for overflow and
521 underflow.
522 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
523 (__ieee754_expl): Allow for and saturate large arguments.
524 * math/libm-test.inc (exp_test): Add another test. Do not allow
525 missing overflow exception on overflow.
526 (expm1_test): Do not allow missing overflow exception on overflow.
527
6698b8bf
JM
528 * sysdeps/i386/fpu/e_expl.c: Move to ...
529 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
530 rather than using inline asm.
531 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
532 * sysdeps/x86_64/fpu/e_expl.S: Copy from
533 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
534
7b17aeda
JM
535 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
536 (nice): Likewise.
537 (poll): Likewise.
538 (signal): Likewise.
539 (time): Likewise.
540 (times): Likewise.
541
f7c85819
JM
5422012-05-04 Joseph Myers <joseph@codesourcery.com>
543
544 * sysdeps/unix/syscalls.list (adjtime): Add entry from
545 sysdeps/unix/common/syscalls.list.
546 (fchmod): Likewise.
547 (fchown): Likewise.
548 (ftruncate): Likewise.
549 (getrusage): Likewise.
550 (gettimeofday): Likewise.
551 (setpgid): Likewise.
552 (setregid): Likewise.
553 (setreuid): Likewise.
554 (sigaction): Likewise.
555 (truncate): Likewise.
556 (vhangup): Likewise.
557 * sysdeps/unix/common/syscalls.list: Remove file.
558 * sysdeps/unix/bsd/Implies: Don't include unix/common.
559 * sysdeps/unix/sysv/linux/Implies: Likewise.
560
336270d0
L
5612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
562
563 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
565 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
566 Moved to ...
567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
568 Here.
569 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
570 to ...
571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
572 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
573 to ...
574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
575 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
576 to ...
577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
578 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
579 to ...
580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
581 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
582 to ...
583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
584 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
585 to ...
586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
587 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
588 to ...
589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
590 Here.
591 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
592 to ...
593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
594 Here.
595 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
596 to ...
597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
598 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
599 Moved to ...
600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
601 Here.
602 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
603 to ...
604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
605
d128e450
JM
6062012-05-04 Joseph Myers <joseph@codesourcery.com>
607
fa8ee516
JM
608 * sysdeps/unix/common/bits/dirent.h: Remove file.
609 * sysdeps/unix/common/bits/fcntl.h: Likewise.
610
d128e450
JM
611 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
612 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
613 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
614 * sysdeps/unix/bsd/isatty.c: Likewise.
615 * sysdeps/unix/bsd/tcdrain.c: Likewise.
616 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
617 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
618
ff8faaf0 6192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 620
62881be4 621 [BZ #13563]
31dc8730
AZ
622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
623 long double comparison inaccuracies.
624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
626
6fef930c
AS
6272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
628
629 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
631
8f203e6c
JM
6322012-05-04 Joseph Myers <joseph@codesourcery.com>
633
634 [BZ #14049]
635 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
636 nonzero digits before rounding a hex value.
637 * stdlib/tst-strtod.c (tests): Add another test.
638
5197d9c2
AK
6392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
640
641 * sysdeps/s390/fpu/libm-test-ulps: Update.
642
f0c1dedf
AJ
6432012-05-03 Andreas Jaeger <aj@suse.de>
644
645 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
646 does not get optimized out.
647 (malloc_opt_barrier): New.
648
a65ef2ae 6492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 650 Roland McGrath <roland@hack.frob.com>
a65ef2ae 651
2b942cb7 652 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 653 intermediate file deletion.
2b942cb7 654 (generated): Add .symlist files.
a65ef2ae 655
54b71e02
JM
6562012-05-03 Joseph Myers <joseph@codesourcery.com>
657
658 [BZ #13775]
659 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
660 Redirect under this condition.
661 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
662 [__USE_GNU] (__dprintf_chk): Not under this condition.
663 [__USE_GNU] (__vdprintf_chk): Likewise.
664 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
665 under this condition.
666 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
667 [__USE_XOPEN2K8] (dprintf): Define under this condition.
668 [__USE_XOPEN2K8] (vdprintf): Likewise.
669 [__USE_GNU] (__dprintf_chk): Not under this condition.
670 [__USE_GNU] (__vdprintf_chk): Likewise.
671 [__USE_GNU] (dprintf): Likewise.
672 [__USE_GNU] (vdprintf): Likewise.
673
d3dfcc41
RM
6742012-05-03 Roland McGrath <roland@hack.frob.com>
675
676 * elf/Makefile (common-generated): Set this instead of generated for
677 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
678 $(all-built-dso)-derived lists.
679
7ac30cc5
AJ
6802012-05-03 Andreas Jaeger <aj@suse.de>
681
0c51e550
AJ
682 * sysdeps/i386/fpu/libm-test-ulps: Update.
683
7ac30cc5
AJ
684 * FAQ: Removed.
685 * FAQ.in: Likewise.
686 * scripts/gen-FAQ.pl: Likewise.
687 * manual/install.texi (Installation): Point to online location of
688 FAQ.
689 * Makefile (files-for-dist): Remove FAQ.
690 (FAQ): Remove.
691
d4c2917f
AM
6922012-05-02 Allan McRae <allan@archlinux.org>
693
694 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
695 (LDFLAGS-reldepmod5.so): Likewise.
696 (LDFLAGS-reldep6mod1.so): Likewise.
697 (LDFLAGS-reldep6mod4.so): Likewise.
698 (LDFLAGS-reldep8mod3.so): Likewise.
699 (LDFLAGS-unload4mod1.so): Likewise.
700 (LDFLAGS-unload4mod2.so): Likewise.
701 (LDFLAGS-tst-initorder): Likewise.
702 (LDFLAGS-tst-initordera2.so): Likewise.
703 (LDFLAGS-tst-initordera3.so): Likewise.
704 (LDFLAGS-tst-initordera4.so): Likewise.
705 (LDFLAGS-tst-initorderb2.so): Likewise.
706 (LDFLAGS-noload): Likewise.
707 (LDFLAGS-next): Likewise.
708 (LDFLAGS-order2mod1.so): Likewise.
709 (LDFLAGS-order2mod2.so): Likewise.
710 (LDFLAGS-tst-initorder2): Likewise.
711 (LDFLAGS-tst-initorder2a.so): Likewise.
712 (LDFLAGS-tst-initorder2b.so): Likewise.
713 (LDFLAGS-tst-initorder2c.so): Likewise.
714 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
715
d77f993f
DM
7162012-05-02 David S. Miller <davem@davemloft.net>
717
718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
719
171a70b4
PP
7202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
721
722 [BZ #14055]
723 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
724
0be196ad
AJ
7252012-05-02 Andreas Jaeger <aj@suse.de>
726
727 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
728 since we manipulate rounding mode.
729 (CPPFLAGS-test-idouble.c): Likewise.
730 (CPPFLAGS-test-ifloat.c): Likewise.
731 (CFLAGS-test-ldouble.c): Likewise.
732 (CFLAGS-test-double.c): Likewise.
733 (CFLAGS-test-float.c): Likewise.
734 (CFLAGS-test-misc.c): Likewise.
735 (CFLAGS-test-test-fenv.c): Likewise.
736
4f9d04aa
AZ
7372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738
2b942cb7
RM
739 [BZ #2550]
740 [BZ #2570]
741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
742 comparisons to determine direction to adjust input.
4f9d04aa 743
82a79e7d
RM
7442012-05-01 Roland McGrath <roland@hack.frob.com>
745
f5a01ca9
RM
746 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
747 output to the target.
748
90fe4186
RM
749 * scripts/localplt.awk: New file.
750 * elf/Makefile ($(objpfx)check-localplt): Target removed.
751 (check-localplt-CFLAGS): Variable removed.
752 ($(all-built-dso:=.jmprel)): New static pattern rule.
753 (generated): Add those targets.
754 (localplt-built-dso): New variable.
755 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
756
757 * elf/check-localplt.c: File removed.
758
82397ed6
RM
759 * scripts/check-execstack.awk: New file.
760 * elf/Makefile ($(objpfx)check-execstack): Target removed.
761 (check-execstack-CFLAGS): Variable removed.
762 ($(objpfx)check-execstack.h): Target removed.
763 ($(objpfx)execstack-default): New target.
764 (generated): Add that instead of check-execstack.h.
765 ($(all-built-dso:=.phdr)): New static pattern rule.
766 (generated): Add those targets.
767 * elf/check-execstack.c: File removed.
768
82a79e7d
RM
769 * scripts/check-textrel.awk: New file.
770 * elf/Makefile ($(objpfx)check-textrel): Target removed.
771 (check-textrel-CFLAGS): Variable removed.
772 (all-built-dso): Use := to define.o
773 ($(all-built-dso:=.dyn)): New static pattern rule.
774 (generated): Add those targets.
775 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
776 * config.make.in (READELF): New substituted variable.
777 * elf/check-textrel.c: File removed.
778
62fde54f 7792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 780
615605c9
JM
781 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
782 allow.
783 * conform/data/ctype.h-data [C99-based standards] (isblank):
784 Expect function.
785 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
786 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
788 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
789 Specify type. Require positive value.
790 (EILSEQ): Likewise.
791 (ERANGE): Likewise.
792 [ISO || POSIX] (EILSEQ): Do not expect.
793 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
794 Specify type. Require positive value.
795 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
796 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
797 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
798 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
799 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
800 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
801 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
802 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
803 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
804 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
805 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
806 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
807 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
808 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
809 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
810 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
811 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
812 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
813 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
814 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
815 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
816 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
817 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
818 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
819 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
820 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
821 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
822 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
823 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
824 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
825 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
826 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
827 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
828 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
829 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
830 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
831 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
832 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
833 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
834 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
835 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
836 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
837 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
838 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
839 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
840 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
841 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
842 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
843 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
844 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
845 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
846 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
847 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
848 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
849 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
850 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
851 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
852 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
853 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
854 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
855 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
856 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
857 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
858 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
859 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
860 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
861 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
862 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
863 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
864 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
865 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
866 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
867 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
868 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
869 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
870 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
871 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
872 Require >= 2.
873 (FLT_ROUNDS): Expect as macro, not constant.
874 (FLT_MANT_DIG): Use macro-int-constant.
875 (DBL_MANT_DIG): Likewise.
876 (LDBL_MANT_DIG): Likewise.
877 (FLT_DIG): Likewise.
878 (DBL_DIG): Likewise.
879 (LDBL_DIG): Likewise.
880 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
881 (DBL_MIN_EXP): Likewise.
882 (LDBL_MIN_EXP): Likewise.
883 (FLT_MAX_EXP): Use macro-int-constant.
884 (DBL_MAX_EXP): Likewise.
885 (LDBL_MAX_EXP): Likewise.
886 (FLT_MAX_10_EXP): Likewise.
887 (DBL_MAX_10_EXP): Likewise.
888 (LDBL_MAX_10_EXP): Likewise.
889 (FLT_MAX): Use macro-constant.
890 (DBL_MAX): Likewise.
891 (LDBL_MAX): Likewise.
892 (FLT_EPSILON): Use macro-constant. Give upper bound.
893 (DBL_EPSILON): Likewise.
894 (LDBL_EPSILON): Likewise.
895 (FLT_MIN): Likewise.
896 (DBL_MIN): Likewise.
897 (LDBL_MIN): Likewise.
898 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
899 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
900 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
901 [ISO11] (FLT_HAS_SUBNORM): Likewise.
902 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
903 [ISO11] (DBL_DECIMAL_DIG): Likewise.
904 [ISO11] (FLT_DECIMAL_DIG): Likewise.
905 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
906 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
907 [ISO11] (FLT_TRUE_MIN): Likewise.
908 [ISO11] (LDBL_TRUE_MIN): Likewise.
909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
910 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
911 (SCHAR_MIN): Use macro-int-constant. Specify type.
912 (SCHAR_MAX): Likewise.
913 (UCHAR_MAX): Likewise.
914 (CHAR_MIN): Likewise.
915 (CHAR_MAX): Likewise.
916 (MB_LEN_MAX): Use macro-int-constant.
917 (SHRT_MIN): Use macro-int-constant. Specify type.
918 (SHRT_MAX): Likewise.
919 (USHRT_MAX): Likewise.
920 (INT_MAX): Likewise.
921 (INT_MIN): Use macro-int-constant. Specify type. Make upper
922 bound negative.
923 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
924 bound with "U".
925 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
926 bound with "L".
927 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
928 bound negative. Suffix upper bound with "L".
929 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
930 bound with "UL".
931 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
932 Specify type.
933 [C99-based standards] (LLONG_MAX): Likewise.
934 [C99-based standards] (ULLONG_MAX): Likewise.
935 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
936 == 0.
937 [ISO11] (max_align_t): Require type.
938 [ISO || ISO99 || ISO11] (*_t): Do not allow.
939
c9140a62
JM
940 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
941 from $CFLAGS, without defining away __attribute__ calls.
942 (checknamespace): Use $CFLAGS_namespace.
943
9af0bf29
JM
944 * conform/conformtest.pl (@keywords): Only include C99 keywords
945 for standards based on C99 or C11.
946
343222a2
JM
947 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
948 Disable tests.
949 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
950 UNIX98]: Likewise.
951
661f8cf0
JM
952 * conform/conformtest.pl: Handle "macro-int-constant" and test for
953 usability of symbols in #if.
954
ee74b9cb
JM
955 * conform/conformtest.pl: If macro or constant types start
956 "promoted:", expect the symbol to be of the following type
957 promoted by the integer promotions.
62fde54f 958
aafc49b3
JM
959 * conform/conformtest.pl: Parse all "constant" and "macro" lines
960 in one place. Also handle "macro-constant".
961
fefdf574
JM
962 * conform/conformtest.pl: Only accept expected macro values with
963 "==". Parse all "macro" lines in one place.
964 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
965
f2d922fe
JM
966 * conform/conformtest.pl: Handle braced types on "constant" lines
967 instead of handling "typed-constant".
968 * conform/data/signal.h-data: Use "constant" instead of
969 "typed-constant".
970
d22956c9
JM
971 * conform/conformtest.pl: Handle "optional-" at start of lines in
972 one place rather than duplicating several cases. Handle each
973 format of "macro" line with initial "optional-".
974
028e2e38
JM
975 * conform/conformtest.pl: Only accept expected constant or
976 optional-constant values with "==". Parse all "constant" lines in
977 one place. Parse all "optional-constant" lines in one place.
978 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
979 * conform/data/fmtmsg.h-data: Likewise.
980 * conform/data/netinet/in.h-data: Likewise.
981 * conform/data/tar.h-data: Likewise.
982 * conform/data/limits.h-data: Use "==" form on "constant" and
983 "optional-constant" lines.
984
1b8f2850
JM
985 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
986 Use -std=c99 for XOPEN2K.
987 (@knownproblems): Remove.
988 (newtoken): Don't check %isknown.
989
a05a144b
JM
990 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
991 Do not expect macro.
992 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
993 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
994 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
995 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
996 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
997 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
998 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
999 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1004 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1005 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1022 [XPG3] (acosh): Likewise.
1023 [XPG3] (asinh): Likewise.
1024 [XPG3] (atanh): Likewise.
1025 [XPG3] (cbrt): Likewise.
1026 [XPG3] (expm1): Likewise.
1027 [XPG3] (ilogb): Likewise.
1028 [XPG3] (log1p): Likewise.
1029 [XPG3] (logb): Likewise.
1030 [XPG3] (nextafter): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1033 [XPG3] (remainder): Likewise.
1034 [XPG3] (rint): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1042 [UNIX98 || XOPEN2K] (scalb): Expect.
1043 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1044 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1180
73c5ebe3
JM
1181 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1182 _XOPEN_SOURCE_EXTENDED for XPG4.
1183
39c33b6c
JM
1184 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1185
62fde54f
JM
1186 * Makeconfig (localtime): Remove variable.
1187 (inst_localtime-file): Likewise.
1188
0741d64c
AS
11892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1190
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1192 Update.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1194 Update.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1196 Update.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1198 Update.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1200 Update.
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1202 Update.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1204 Update.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1206 Update.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1208 Update.
1209
7cb029ee
JM
12102012-05-01 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #2550]
1213 [BZ #2570]
1214 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1215 comparisons to determine direction to adjust input.
1216 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1217 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1218 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1219 Likewise.
1220 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1221 Likewise.
1222 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1223 Likewise.
1224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1226 Likewise.
1227 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1228 Likewise.
1229 * math/libm-test.inc (nexttoward_test): Add more tests.
1230
412bd966
AS
12312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1232
1233 [BZ #14040]
1234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1235 in version GLIBC_2.1, not GLIBC_2.0.
1236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1237 Likewise.
1238
9568c0c2
JM
12392012-04-30 Joseph Myers <joseph@codesourcery.com>
1240
adfbc8ac
JM
1241 [BZ #13942]
1242 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1243 (1 - x) * (1 + x).
1244 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1245 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1246 * math/libm-test.inc (acos_test): Add more tests.
1247 (asin_test): Likewise.
1248 * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1250
5ba3cc69
JM
1251 [BZ #14034]
1252 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1253 of square root.
1254 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1255 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1256 * math/libm-test.inc (acos_test_tonearest): New function.
1257 (acos_test_towardzero): Likewise.
1258 (acos_test_downward): Likewise.
1259 (acos_test_upward): Likewise.
1260 (asin_test_tonearest): Likewise.
1261 (asin_test_towardzero): Likewise.
1262 (asin_test_downward): Likewise.
1263 (asin_test_upward): Likewise.
1264 (main): Call the new functions.
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1267
9568c0c2
JM
1268 [BZ #13884]
1269 [BZ #13924]
1270 * math/e_exp10.c: Include <float.h>.
1271 (__ieee754_exp10): Handle underflow here rather than multiplying
1272 large negative argument by M_LN10.
1273 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1274 of __ieee754_expf.
1275 * math/e_exp10l.c: Include <float.h>.
1276 (__ieee754_exp10l): Handle underflow here rather than multiplying
1277 large negative argument by M_LN10l.
1278 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1279 spurious overflow exception on underflow.
1280
5ac3ea17
MP
12812012-04-29 Marek Polacek <polacek@redhat.com>
1282
1283 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1284 (__fortify_function): New macro.
1285 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1286 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1287 __extern_always_inline.
1288 * libio/bits/stdio2.h: Likewise.
1289 * libio/bits/stdio.h: Likewise.
1290 * string/string.h: Likewise.
1291 * string/bits/string3.h: Likewise.
1292 * include/stdio.h: Likewise.
1293 * stdlib/bits/stdlib.h: Likewise.
1294 * stdlib/stdlib.h: Likewise.
1295 * rt/bits/mqueue2.h: Likewise.
1296 * rt/mqueue.h: Likewise.
1297 * posix/bits/unistd.h: Likewise.
1298 * posix/unistd.h: Likewise.
1299 * io/bits/poll2.h: Likewise.
1300 * io/bits/fcntl2.h: Likewise.
1301 * io/fcntl.h: Likewise.
1302 * io/sys/poll.h: Likewise.
1303 * misc/bits/syslog.h: Likewise.
1304 * misc/bits/syslog-ldbl.h: Likewise.
1305 * misc/sys/syslog.h: Likewise.
1306 * socket/bits/socket2.h: Likewise.
1307 * socket/sys/socket.h: Likewise.
1308 * debug/tst-chk1.c: Likewise.
1309 * wcsmbs/bits/wchar2.h: Likewise.
1310 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1311 * wcsmbs/wchar.h: Likewise.
1312
ecf0ebfb
AJ
13132012-04-29 Andreas Jaeger <aj@suse.de>
1314
1315 * Makerules (tests): Remove enable-check-abi protection.
1316 (check-abi-warn): Remove.
1317 (check-abi-%): Remove check-abi-warn usage.
1318
1319 * configure.in: Remove check-abi configure option.
1320 * configure: Regenerated.
1321 * config.make.in (enable-check-abi): Remove.
1322
6d5c57fa
AS
13232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1324
24c5d07e 1325 [BZ #14033]
ded5180a
AS
1326 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1327 double functions to double *_finite functions.
1328
7e0d315d
AS
1329 [BZ #13941]
1330 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1331 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1332 LDBL_MIN_EXP.
1333 * stdio-common/Makefile (tests): Add tst-sprintf3.
1334 * stdio-common/tst-sprintf3.c: New file.
1335
6d5c57fa
AS
1336 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1337 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1338
0749ff8b
JM
13392012-04-28 Joseph Myers <joseph@codesourcery.com>
1340
1341 * conform/conformtest.pl: Remove duplicate typed-constant
1342 handling.
1343
8dbd5d7b
DM
13442012-04-28 David S. Miller <davem@davemloft.net>
1345
1346 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1347 (check-abi-%): Remove AWK script prerequisite and explicit
1348 abilist directory.
1349 (check-abi): Rewrite to just diff the symlist with the abilist.
1350 (config-tls, config-abi-config): Delete, no longer used.
1351 (update-abi-%): Remove AWK script and explicit abilist directory.
1352 (update-abi): Rewrite to simply compare and conditionally copy the
1353 symlist and the sysdep abilist file. Remove update-abi-config
1354 checks.
1355 * abilist/ld.abilist: Remove.
1356 * abilist/libBrokenLocale.abilist: Remove.
1357 * abilist/libanl.abilist: Remove.
1358 * abilist/libcrypt.abilist: Remove.
1359 * abilist/libdl.abilist: Remove.
1360 * abilist/librt.abilist: Remove.
1361 * abilist/libthread_db.abilist: Remove.
1362 * abilist/libutil.abilist: Remove.
1363 * scripts/extract-abilist.awk: Remove.
1364 * scripts/merge-abilist.awk: Remove.
1365 * sysdeps/generic/libcidn.abilist: New file.
1366 * sysdeps/generic/libnss_compat.abilist: New file.
1367 * sysdeps/generic/libnss_db.abilist: New file.
1368 * sysdeps/generic/libnss_dns.abilist: New file.
1369 * sysdeps/generic/libnss_files.abilist: New file.
1370 * sysdeps/generic/libnss_hesiod.abilist: New file.
1371 * sysdeps/generic/libnss_nis.abilist: New file.
1372 * sysdeps/generic/libnss_nisplus.abilist: New file.
1373 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1374 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1375 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1376 file.
1377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1378 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1379 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1380 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1381 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1382 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1383 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1384 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1385 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1386 file.
1387 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1388 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1389 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1390 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1391 file.
1392 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1393 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1394 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1395 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1396 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1397 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1398 file.
1399 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1400 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1401 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1402 file.
1403 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1405 New file.
1406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1407 New file.
1408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1409 New file.
1410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1411 New file.
1412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1413 New file.
1414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1415 New file.
1416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1417 New file.
1418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1419 New file.
1420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1421 New file.
1422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1423 New file.
1424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1425 New file.
1426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1427 New file.
1428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1429 New file.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1431 file.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1433 New file.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1435 New file.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1437 file.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1439 New file.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1441 New file.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1443 file.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1445 New file.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1447 New file.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1449 New file.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1451 New file.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1453 New file.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1455 New file.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1458 file.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1460 New file.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1462 file.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1464 file.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1466 file.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1468 file.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1470 file.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1472 New file.
1473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1474 file.
1475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1476 file.
1477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1478 New file.
1479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1480 file.
1481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1483 file.
1484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1485 New file.
1486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1487 file.
1488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1489 file.
1490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1491 file.
1492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1493 file.
1494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1495 file.
1496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1497 New file.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1499 file.
1500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1503 New file.
1504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1507 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1508 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1509 file.
1510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1511 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1512 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1513 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1514 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1515 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1516 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1517 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1518 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1519 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1522 file.
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1524 New file.
1525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1528 file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1530 file.
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1532 file.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1534 file.
1535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1536 New file.
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1538 New file.
1539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1540 file.
1541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1542 New file.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1544 file.
1545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1547 file.
1548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1549 New file.
1550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1551 file.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1553 file.
1554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1555 file.
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1557 file.
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1559 file.
1560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1561 New file.
1562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1563 New file.
1564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1565 file.
1566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1567 New file.
1568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1569 file.
1570
41d73a1b
JM
15712012-04-28 Joseph Myers <joseph@codesourcery.com>
1572
1573 * conform/conformtest.pl: Fix typo in handling typed-constant from
1574 allow-header.
1575
28aeeda4
JM
15762012-04-27 Joseph Myers <joseph@codesourcery.com>
1577
adae8f5e
JM
1578 * README: Cut down references to pre-2.6 Linux kernels and
1579 Linuxthreads. Update lists of configurations in libc and ports
1580 and sort alphabetically. Say "or newer" with Linux kernel version
1581 requirements.
1582
28aeeda4
JM
1583 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1584
a462cb63
RA
15852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1586
1587 [BZ #887]
1588 * math/libm-test.inc (logb_test_downward): New test to expose
1589 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1590 rounding mode.
1591
6ad3493e
JM
15922012-04-27 Joseph Myers <joseph@codesourcery.com>
1593
1594 [BZ #14027]
1595 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1596 to be done.
1597 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1598 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1599
2ce4f015
JM
16002012-04-26 Joseph Myers <joseph@codesourcery.com>
1601
5aeb141a
JM
1602 * sysdeps/unix/i386/brk.S: Remove file.
1603 * sysdeps/unix/i386/dl-brk.S: Likewise.
1604 * sysdeps/unix/i386/pipe.S: Likewise.
1605 * sysdeps/unix/i386/sigreturn.S: Likewise.
1606 * sysdeps/unix/i386/syscall.S: Likewise.
1607 * sysdeps/unix/i386/vfork.S: Likewise.
1608 * sysdeps/unix/i386/wait.S: Likewise.
1609
7143acae
JM
1610 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1611 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1612
2ce4f015
JM
1613 * configure.in (arm*-none*): Do not allow without
1614 --enable-hacker-mode.
1615 (netbsd*): Remove case setting base_os.
1616 (386bsd*): Likewise.
1617 (freebsd*): Likewise.
1618 (bsdi*): Likewise.
1619 (osf*): Likewise.
1620 (sunos*): Likewise.
1621 (ultrix*): Likewise.
1622 (newsos*): Likewise.
1623 (dynix*): Likewise.
1624 (*bsd*): Likewise.
1625 (sysv*): Likewise.
1626 (isc*): Likewise.
1627 (esix*): Likewise.
1628 (sco*): Likewise.
1629 (minix*): Likewise.
1630 (irix4*): Likewise.
1631 (irix6*): Likewise.
1632 (solaris[2-9]*): Likewise.
1633 (none): Likewise.
1634 * configure: Regenerated.
1635
0ac229c8
AZ
16362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637
1638 [BZ #11521]
1639 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1640 overflow or cancellation in calculating denominator.
1641 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1643 down expression to avoid unexpected rounding in newer GCCs.
1644 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1645
33f244f4
DM
16462012-04-26 David S. Miller <davem@davemloft.net>
1647
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1649 long-double compat symbols.
1650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1663
cfa1f3e8
DM
16642012-04-25 David S. Miller <davem@davemloft.net>
1665
1666 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1667 HWCAP_* values only after the memory barriers have been defined.
1668 (atomic_full_barrier): Define.
1669 (atomic_read_barrier): Define.
1670 (atomic_write_barrier): Define.
1671
6e236b92
SP
16722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1673
1674 * shlib-versions: Add libgcc_s version information.
1675 * sysdeps/generic/libgcc_s.h: Remove.
1676 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1677 libgcc_s.h.
1678 * sysdeps/gnu/unwind-resume.c: Likewise.
1679 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1680
aab39a09
DM
16812012-04-25 David S. Miller <davem@davemloft.net>
1682
1683 * sysdeps/unix/sparc/brk.S: Delete.
1684 * sysdeps/unix/sparc/dl-brk.S: Delete.
1685 * sysdeps/unix/sparc/pipe.S: Delete.
1686 * sysdeps/unix/sparc/sysdep.S: Delete.
1687 * sysdeps/unix/sparc/sysdep.h: Delete.
1688 * sysdeps/unix/sparc/vfork.S: Delete.
1689 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1690 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1692 ret_ERRVAL, r0, r1, MOVE): Define.
1693 (JUMPTARGET): Remove.
1694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1695 sysdeps/unix/sparc/sysdep.h
1696 (ENTRY, END): Remove.
1697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1698
a3cc4f48
JM
16992012-04-25 Joseph Myers <joseph@codesourcery.com>
1700
2ed8cda2
JM
1701 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1702 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1703 -DIS_IN_build.
1704
35d76d59
JM
1705 * timezone/README: Update upstream location and email address for
1706 tzcode and tzdata.
1707 * timezone/zdump.c: Update from tzcode 2012b.
1708 * timezone/zic.c: Likewise.
1709
a3cc4f48
JM
1710 * configure.in (libc_cv_as_needed): Remove test.
1711 * configure: Regenerated.
1712 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1713 conditional definition.
1714 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1715 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1716 * config.make.in (have-as-needed): Remove variable.
1717
ceab42c3
SP
17182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1719 Paul Pluzhnikov <ppluzhnikov@google.com>
1720
1721 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1722 strings correctly.
1723
3ce2865f
CLT
17242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1725
1726 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1727 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1728 * sysdeps/sh/strlen.S: Likewise.
1729
f37e0d68
JM
17302012-04-24 Joseph Myers <joseph@codesourcery.com>
1731
ae186e9a
JM
1732 * sysdeps/unix/fork.S: Remove file.
1733 * sysdeps/unix/i386/fork.S: Likewise.
1734 * sysdeps/unix/sparc/fork.S: Likewise.
1735
b96914af
JM
1736 * sysdeps/unix/system.c: Remove file.
1737 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1738
f37e0d68
JM
1739 * sysdeps/unix/getegid.S: Remove file.
1740 * sysdeps/unix/geteuid.S: Likewise.
1741
87ef29ca
RM
17422012-04-24 Roland McGrath <roland@hack.frob.com>
1743
83bcd236
RM
1744 * scripts/check-localplt.awk: New file.
1745 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1746 of diff.
1747 * scripts/data/localplt-generic.data: Add a comment.
1748
87ef29ca
RM
1749 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1750 NODE when __dir_mkfile failed.
1751 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1752 Reported by Ludovic Courtès <ludo@gnu.org>.
1753
e5a6e567
AJ
17542012-04-24 Andreas Jaeger <aj@suse.de>
1755
1756 * Makerules (common-clean): Also remove gen-as-const-headers
1757 files.
1758
c1820385
JM
17592012-04-24 Joseph Myers <joseph@codesourcery.com>
1760
1761 * Makerules (native-compile): Do not change working directory for
1762 build. Use $(OUTPUT_OPTION) in command.
1763 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1764
94e02fc4
AZ
17652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766
1767 [BZ #13886]
1768 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1769 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1770 * math/libm-test.inc (floor_test): Add more tests.
1771 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1772
3a533ca3
JM
17732012-04-24 Joseph Myers <joseph@codesourcery.com>
1774
940ab4b3
JM
1775 * sysdeps/unix/getdents.c: Remove file.
1776 * sysdeps/unix/sysv/getdents.c: Likewise.
1777 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1778
90e037bd
JM
1779 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1780 sysdeps/unix/mman/syscalls.list.
1781 (mmap): Likewise.
1782 (mprotect): Likewise.
1783 (msync): Likewise.
1784 (munmap): Likewise.
1785 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1786 * sysdeps/unix/mman/syscalls.list: Remove.
1787 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1788
3a533ca3
JM
1789 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1790 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1791 * configure: Regenerated.
1792 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1793 $(libgcc_s_suffix).
1794 * config.make.in (libgcc_s_suffix): Remove variable.
1795
1ad743de
JM
17962012-04-23 Joseph Myers <joseph@codesourcery.com>
1797
4ad451e2
JM
1798 * sysdeps/unix/sysv/gethostname.c: Move to ...
1799 * sysdeps/posix/gethostname.c: ... here.
1800
5e37ce39
JM
1801 * sysdeps/unix/execve.S: Remove file.
1802
1ad743de
JM
1803 * sysdeps/unix/_exit.S: Remove file.
1804
4e681b5b
AJ
18052012-04-23 Andreas Jaeger <aj@suse.de>
1806
1807 [BZ #13739]
1808 * manual/Makefile: Remove make dist support, there's no
1809 need for a stand-alone documentation tar ball.
1810 (TEXI2DVI): Define always, it's not in Makeconfig.
1811 (dist): Removed.
1812 (tar-it): Removed.
1813 (edition): Removed.
1814 (glibc-doc-$(edition).tar): Removed
1815 (%.Z): Removed.
1816 (%.gz): Removed.
1817 (%.uu): Removed.
1818 (ETAGS): Remove, it's in Makeconfig.
1819 (move-if-change): Remove, it's in Makeconfig.
1820
c0baea34
PE
18212013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1822
1823 [BZ #13970]
1824 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1825 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1826 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1827 (strtod_l, strtof_l, strtold_l): Remove __wur.
1828 It is not necessarily an error to ignore strtol's return value.
1829 One can reliably look at the stored endptr to decide whether
1830 the number had valid syntax.
1831
7c0616fa
AJ
18322012-04-21 Andreas Jaeger <aj@suse.de>
1833
803cb6b7 1834 [BZ #13739]
7c0616fa
AJ
1835 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1836
b0fe253f
JM
18372012-04-21 Joseph Myers <joseph@codesourcery.com>
1838
1839 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1840 * sysdeps/unix/sysv/Versions: Remove file.
1841
8280f22d
MT
18422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1843
1844 [BZ #13927]
1845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1846
75ce411f 18472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1848
1849 [BZ #7064]
1850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1851 version from __vm86.
1852
097d59fa
JM
18532012-04-20 Joseph Myers <joseph@codesourcery.com>
1854
a90f3bcb
JM
1855 * sysdeps/unix/common/lxstat.c: Remove file.
1856 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1857
edc7ea78
JM
1858 * sysdeps/unix/sysv/Makefile: Remove file.
1859
cb78c221
JM
1860 * sysdeps/unix/sysv/direct.h: Remove file.
1861
efa6a45f
JM
1862 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1863 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1864 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1865 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1866 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1867 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1868 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1869
9c9f2d0c
JM
1870 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1871
4541c83b
JM
1872 * sysdeps/unix/xmknod.c: Remove file.
1873 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1874
f5d153a0
JM
1875 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1876
aa746595
JM
1877 * sysdeps/unix/sysv/i386/time.S: Remove file.
1878
cce5905e
JM
1879 * sysdeps/unix/fxstat.c: Remove file.
1880 * sysdeps/unix/xstat.c: Likewise.
1881 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1882
37fa3841
JM
1883 * sysdeps/unix/sysv/sigaction.c: Remove file.
1884
ff1962a3
JM
1885 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1886 (sysdep_headers): Remove variable.
1887 [termio.h not in sysdep_headers] (generated): Likewise.
1888 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1889 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1890 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1891 * sysdeps/unix/sysv/tcflow.c: Likewise.
1892 * sysdeps/unix/sysv/tcflush.c: Likewise.
1893 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1894 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1895 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1896 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1897 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1898
e7740d31
JM
1899 * sysdeps/unix/siglist.c: Remove file.
1900
ee06f18b
JM
1901 * sysdeps/unix/getppid.S: Remove file.
1902
097d59fa
JM
1903 * sysdeps/unix/mkdir.c: Remove file.
1904 * sysdeps/unix/rmdir.c: Likewise.
1905
ff3d51ec
AS
19062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1907
1908 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1909 ERR_MAX value.
1910 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1911 errlist-compat value.
1912
50f81fd7
DM
19132012-04-18 David S. Miller <davem@davemloft.net>
1914
1915 * sysdeps/generic/memcopy.h (reg_char): Delete.
1916 * debug/strcat_chk.c: Use char, not reg_char.
1917 * debug/strcpy_chk.c: Likewise.
1918 * debug/strncat_chk.c: Likewise.
1919 * debug/strncpy_chk.c: Likewise.
1920 * string/memchr.c: Likewise.
1921 * string/memrchr.c: Likewise.
1922 * string/rawmemchr.c: Likewise.
1923 * string/strcat.c: Likewise.
1924 * string/strchr.c: Likewise.
1925 * string/strchrnul.c: Likewise.
1926 * string/strcmp.c: Likewise.
1927 * string/strcpy.c: Likewise.
1928 * string/strncat.c: Likewise.
1929 * string/strncmp.c: Likewise.
1930 * string/strncpy.c: Likewise.
1931
8ff41c46
WS
19322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1933
1934 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1935 __builtin_memcopy is called when src and dest ranges are known to not
1936 overlap.
1937
6b652f46
WS
19382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1939
1940 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1941 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1942 fwd_align_merge macro call.
1943 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1944 bwd_align_merge macro call.
1945 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1946
b282631e
WS
19472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1948
1949 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1950 bwd_align_merge macros.
1951 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1952 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1954
95aa737c
DM
19552012-04-18 David S. Miller <davem@davemloft.net>
1956
1957 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1958
7a99a614
AJ
19592012-04-18 Andreas Jaeger <aj@suse.de>
1960
1961 [BZ# 6794]
1962 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1963 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1964 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1965
1966 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1967 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1968 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1969
1970 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1971 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1972 Adjust for changed ldbl-128 files.
1973
1974 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1975 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1977
e5270c23
DM
19782012-04-17 David S. Miller <davem@davemloft.net>
1979
1980 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1981
fb5e92c9
AS
19822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1983
1984 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1985 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1986 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1987 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1988 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1989 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1990
76da7265
AZ
19912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1992
1993 [BZ #6794]
1994 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1995 * math/libm-test.inc: Add ilogb errno and exception tests.
1996 * math/w_ilogb.c: New file: ilogb wrapper.
1997 * math/w_ilogbf.c: New file: ilogbf wrapper.
1998 * math/w_ilogbl.c: New file: ilogbl wrapper.
1999 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2000 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2001 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2002 exception being thrown with 0.0 as argument.
2003 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2004 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2005 exception being thrown with 0.0 as argument.
2006 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2007 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2008 exception being thrown with 0.0 as argument.
2009 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2010 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2011 exception being thrown with 0.0 as argument.
2012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2013 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2014 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2015 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2016 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2017 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2018 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2019 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2020 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2021
0396e69d
PB
20222012-04-17 Petr Baudis <pasky@ucw.cz>
2023
2024 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2025 with altivec.
2026
750b5926
MP
20272012-04-16 Marek Polacek <polacek@redhat.com>
2028
2029 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2030
751728a1
MP
20312012-04-16 Marek Polacek <polacek@redhat.com>
2032
2033 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2034 operands of fdivp instruction.
2035
34a27407
L
20362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2037
2038 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2039 * elf/tst-auditmod3b.c: Likewise.
2040 * elf/tst-auditmod4b.c: Likewise.
2041 * elf/tst-auditmod5b.c: Likewise.
2042 * elf/tst-auditmod6b.c: Likewise.
2043 * elf/tst-auditmod6c.c: Likewise.
2044 * elf/tst-auditmod7b.c: Likewise.
2045 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2046 * sysdeps/x86_64/preconfigure.in: Likewise.
2047 * sysdeps/x86_64/preconfigure: Regenerated.
2048
7e73e17d
L
20492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2052 __ILP32__.
2053
c7a6ab72
AB
20542012-04-13 Antoine Balestrat <merkil33@gmail.com>
2055
2056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2057 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2058
a9e8e0e0
CL
20592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2060
2061 [BZ #13973]
2062 * locale/iso-639.def: Fix gl language name. Spotted by
2063 Yaron Shahrabani.
2064
ec98af7d
RM
20652012-04-12 Roland McGrath <roland@hack.frob.com>
2066
2067 [BZ #2074]
2068 * libio/libio.h (__io_write_fn): Update comment.
2069
247c3ede
PB
20702012-04-12 Petr Baudis <pasky@ucw.cz>
2071
2072 [BZ #2074]
2073 * stdio.texi (Hook Functions): The user provided writer function
2074 is not allowed to return -1.
2075
55939d6d
DM
20762012-04-11 David S. Miller <davem@davemloft.net>
2077
2078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2079
90020f5a
MF
20802012-04-11 Mike Frysinger <vapier@gentoo.org>
2081
2082 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2083 Add a leading slash to rtkaio.
2084
288f9098
JM
20852012-04-11 Jim Meyering <meyering@redhat.com>
2086
90020f5a
MF
2087 [BZ #11959]
2088 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2089 It is not necessarily an error to ignore fwrite's return
2090 value. One can reliably use ferror to test for errors after
2091 the fact.
288f9098 2092
4be2b570
L
20932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2094
2095 * bits/types.h (__snseconds_t): New type.
2096 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2097
2098 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2100 (__SNSECONDS_T_TYPE): Likewise.
2101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2102 (__SNSECONDS_T_TYPE): Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2104 (__SNSECONDS_T_TYPE): Likewise.
2105
288f9098 21062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2107
2108 [BZ #2636]
2109 * manual/time.texi (Processor Time): Return type of times is
2110 elapsed real time since an arbitrary point in the past.
2111 (CPU Time): Move CLK_TCK from here...
2112 (Processor Time): ...to here. Correct description.
2113 * manual/conf.texi (Constants for Sysconf): Correct description of
2114 _SC_CLK_TCK.
2115
d7dd4413
DM
21162012-04-10 David S. Miller <davem@davemloft.net>
2117
2118 [BZ #13967]
2119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2120 where the is a gap between DT_REL(A) and DT_JMPREL.
2121
b46068fc
L
21222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2125 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2126 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2127
73d65cc3
SP
21282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2129
2130 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2131 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2132 (dl_main): Handle --inhibit-cache.
2133 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2134 _dl_inhibit_cache.
2135 * elf/dl-load.c (_dl_map_object): Use it.
2136 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2137
bcc8d661
JM
21382012-04-09 Joseph Myers <joseph@codesourcery.com>
2139
8f9a2fae
JM
2140 [BZ #13872]
2141 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2142 (__ieee754_powl): Saturate large exponents rather than testing for
2143 overflow of y*log2(x).
2144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2145 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2146 exceptions.
2147
bcc8d661
JM
2148 [BZ #11521]
2149 * math/s_ctan.c: Include <float.h>.
2150 (__ctan): Avoid internal overflow or cancellation in calculating
2151 denominator.
2152 * math/s_ctanf.c: Likewise.
2153 * math/s_ctanl.c: Likewise.
2154 * math/s_ctanh.c: Likewise.
2155 * math/s_ctanhf.c: Likewise.
2156 * math/s_ctanhl.c: Likewise.
2157 * math/libm-test.inc (ctan_test): Add more tests.
2158 (ctanh_test): Likewise.
2159 * sysdeps/i386/fpu/libm-test-ulps: Update.
2160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2161
823fbbb4
AJ
21622012-04-09 Andreas Jaeger <aj@suse.de>
2163
03879793
AJ
2164 [BZ #6894]
2165 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2166 is an optional BSD extension.
2167
823fbbb4
AJ
2168 [BZ #10254]
2169 * manual/stdio.texi (Opening Streams): Document additional fopen
2170 parameters.
2171
8de131cb
RM
21722012-04-09 Roland McGrath <roland@hack.frob.com>
2173
2174 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2175 %eax without telling the compiler.
2176
c0ed9d7d
CD
21772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2178
2179 [BZ # 13963]
2180 * manual/install.texi: Use sourceware.org.
2181
c483f6b4
JM
21822012-04-09 Joseph Myers <joseph@codesourcery.com>
2183
d7dd9453
JM
2184 [BZ #13873]
2185 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2186 (__ieee754_pow): Generate overflow and underflow using huge*huge
2187 and tiny*tiny rather than just returning constant infinity or zero
2188 for large exponents.
2189 * math/libm-test.inc (pow_test): Require overflow exceptions for
2190 applicable cases of large exponents.
2191
c483f6b4
JM
2192 [BZ #706]
2193 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2194 (__ieee754_pow): Use iterative multiplication algorithm only for
2195 integer exponents with absolute value below 1024. Check for odd
2196 integer exponents when using algorithm for real exponents.
2197 * math/libm-test.inc (pow_test): Add more tests.
2198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2199
d2de7579
JM
22002012-04-08 Joseph Myers <joseph@codesourcery.com>
2201
2202 [BZ #13705]
2203 * math/libm-test.inc (exp_test): Do not allow overflow exception
2204 on underflow test.
2205
f77f1232
AJ
22062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2207
2208 [BZ #13705]
2209 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2210 instead of __kernel_standard_f.
2211
3884932b
MF
22122012-04-08 Mike Frysinger <vapier@gentoo.org>
2213
2214 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2215 * sysdeps/x86_64/memset_chk.S: Likewise.
2216
54472e9c
AJ
22172012-04-08 Andreas Jaeger <aj@suse.de>
2218
6ab0fbfc
AJ
2219 [BZ #10153]
2220 * manual/startup.texi (Environment Access): Describe return value
2221 for putenv and setenv.
2222
61efba8c
AJ
2223 [BZ #6895]
2224 * manual/filesys.texi (Directory Entries): Add description for
2225 DT_LNK.
2226
95c3f29a
AJ
2227 [BZ #6890]
2228 * manual/filesys.texi (Directory Entries): Clarify that it's file
2229 system not operating system in the description of DT_UNKNOWN.
2230
54472e9c
AJ
2231 [BZ #6578]
2232 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2233
624254b1
SC
22342012-04-08 Stephen Compall <s11@member.fsf.org>
2235
2236 [BZ #6649]
2237 * manual/llio.texi (Opening and Closing Files): Add cross
2238 reference to explain mode argument.
2239
1e4920e0
MF
22402012-04-07 Mike Frysinger <vapier@gentoo.org>
2241
2242 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2243 * sysdeps/x86_64/memset_chk.S: Likewise.
2244
5ed848f3
DM
22452012-04-07 David S. Miller <davem@davemloft.net>
2246
2247 * elf/elf.h (R_SPARC_WDISP10): Define.
2248 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2249 R_SPARC_SIZE32.
2250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2251 R_SPARC_SIZE64 and R_SPARC_H34.
2252
96154cd8
CD
22532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2254
2255 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2256 conditions and remove no longer applicable assertion.
2257
9904dc47
L
22582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 * bits/byteswap.h: Include <features.h>.
2261 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2262 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2263
f8887d0a
L
22642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 * bits/byteswap.h (__bswap_16): Removed.
2267 Include <bits/byteswap-16.h> to get __bswap_16.
2268 * sysdeps/i386/bits/byteswap.h: Likewise.
2269 * sysdeps/s390/bits/byteswap.h: Likewise.
2270 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2271 * bits/byteswap-16.h: New file.
2272 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2273 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2274 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2275 * string/Makefile (headers): Add bits/byteswap-16.h.
2276
62470f60
PP
22772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2278
2279 [BZ #13895]
2280 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2281 extra indirection.
2282 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2283 * nss/tst-nss-static.c: New.
2284
4dad7bab
RM
22852012-04-06 Robert Millan <rmh@gnu.org>
2286
2287 [BZ #6486]
2288 * manual/llio.texi (File Position Primitive): lseek
2289 refers to WHENCE when it really means OFFSET.
2290
e9142a17
AJ
22912012-04-06 Andreas Jaeger <aj@suse.de>
2292
2c040eff
AJ
2293 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2294 strncmp declarations.
2295
e9142a17
AJ
2296 * abilist/libc.abilist: Add __poll and __ppoll.
2297
ff9f1c5f
DM
22982012-04-05 David S. Miller <davem@davemloft.net>
2299
dcd2ae90
DM
2300 * scripts/check-local-headers.sh: Accept a host triplet in the
2301 path matched by the exclude regexp.
2302
993eb054
DM
2303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2304 definition.
2305 * sysdeps/powerpc/powerpc32/dl-machine.h
2306 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2307 * sysdeps/s390/s390-32/dl-machine.h
2308 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2309 * sysdeps/sparc/sparc32/dl-machine.h
2310 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2311 * sysdeps/sparc/sparc64/dl-machine.h
2312 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2313
ff9f1c5f
DM
2314 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2315 lazy binding.
48e2e132 2316 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2317 undefined symbol errors.
2318
48e2e132 2319 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2320 DT_NEEDED entries.
2321
e80d6f94
MM
23222012-04-05 Michael Matz <matz@suse.de>
2323
2324 [BZ #13592]
2325 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2326
349fa79f
AJ
23272012-04-05 Andreas Jaeger <aj@suse.de>
2328
2329 [BZ #13908]
2330 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2331 comment.
2332
f402708f
KK
23332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2334
2335 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2336 which ROUND is no valid rounding mode.
2337
2ecccfc9
KK
23382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2339
2340 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2341 read again.
2342 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2343
8a53f50f
KK
23442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2345
2346 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2347 an exception using FPU order intentionally.
2348
23492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2350
2351 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2352 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2353 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2354 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2355
d653abb7
SJ
23562012-04-05 Simon Josefsson <simon@josefsson.org>
2357
2358 [BZ #12340]
2359 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2360 EINVAL when BUFLEN is too smal.
2361
c3b1bf7d
TS
23622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2363
2364 [BZ #13553]
2365 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2366 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2367
b1aa60f3
AJ
23682012-04-03 Andreas Jaeger <aj@suse.de>
2369
c3b1bf7d 2370 [BZ #13938]
67f60a26
AJ
2371 * manual/setjmp.texi (System V contexts): Fix sentence.
2372
b1aa60f3
AJ
2373 [BZ #13926]
2374 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2375 New macro for this case.
2376 [!__GNUC__] (__bswap_64): New inline function for this case.
2377 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2378 * bits/byteswap.h: Likewise.
2379 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2380 ull, guard with __GLIBC_HAVE_LONG_LONG.
2381
2382 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2383 __GLIBC_HAVE_LONG_LONG.
2384
2385 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2386 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2387
39c59c35
TMQMF
23882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2389
2390 [BZ #13691]
2391 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2392 inptr and inend, rather than using last_ch.
2393
135ffda8
DM
23942012-04-02 David S. Miller <davem@davemloft.net>
2395
2396 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2397 * stdio-common/printf-parse.h (read_int): Change return type to
2398 'int', return -1 on INT_MAX overflow.
2399 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2400 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2401 overflows INT_MAX. Check for overflow of in-format-string precision
2402 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2403 SIZE_MAX not INT_MAX for integer overflow test.
2404 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2405 skip the construct in the format string but do not record anything.
2406 * stdio-common/bug22.c: Adjust to test both width/prevision
2407 INT_MAX overflow as well as total length INT_MAX overflow. Check
2408 explicitly for proper errno values.
2409
228c019e
TS
24102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2411
302cadd3
TS
2412 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2413 CHAR_MAX.
2414 * string/test-strcmp.c [! WIDE]: Likewise.
2415 * time/tst-mktime2.c: Likewise for INT_MAX.
2416 * string/test-string.h: #include <sys/param.h> for MIN.
2417
228c019e
TS
2418 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2419 * sysdeps/i386/init-first.c (init): Likewise.
2420 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2421 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2422 * sysdeps/sh/init-first.c (init): Likewise.
2423
cfa633f5
UD
24242012-04-01 Ulrich Drepper <drepper@gmail.com>
2425
2426 * po/ru.po: Update from translation team.
d1635ef8 2427 * po/vi.po: Likewise.
cfa633f5 2428
6cd0a5ea
SP
24292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2430
2431 * resolv/nss_dns/dns-host.c: Merge copyright years.
2432
4b43400f
LD
24332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2434
2435 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2436 Optimize memcpy with prefetch if
2437 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2438 src, dst pointers have unequal 16 byte alignments.
2439
48c41d04
SP
24402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
2442 [BZ #13928]
2443 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2444 from a CNAME entry and return the minimum ttl for the query.
2445 (gaih_getanswer_slice): Likewise.
2446
b8dc394d
JL
24472012-03-30 Jeff Law <law@redhat.com>
2448
2449 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2450 due to long keys.
2451 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2452 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2453
2f5a5ed0
JL
2454 * resolv/nss_dns/dns-host.c: Update copyright year.
2455
1d39e359
UD
24562012-03-30 Ulrich Drepper <drepper@gmail.com>
2457
c030f70c 2458 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2459 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2460
1d39e359
UD
2461 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2462 comments for sendmmsg.
2463
24642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2465
2466 [BZ #13691]
2467 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2468 with only 1 character between 0x0041 and 0x01b0.
2469 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2470 * wcsmbs/tst-mbsnrtowcs.c: New file.
2471
20fde227
DM
24722012-03-29 David S. Miller <davem@davemloft.net>
2473
2474 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2475 small copies by hand.
2476
984a4237
JL
24772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2478
2479 [BZ #13761]
2480 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2481 _nss_compat_initgroups_dyn): Fall back to malloc/free
2482 for large group memberships.
2483
18c9d62b
DM
24842012-03-28 David S. Miller <davem@davemloft.net>
2485
88d85d4f
DM
2486 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2487 that branches into memcpy.
2488 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2489 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2490 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2491 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2493 bits.
2494 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2495 implementation too.
2496 * sysdeps/sparc/mempcpy.S: New file.
2497
e5aa83e1
DM
2498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2499 the IFUNC routine in the libc case.
2500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2501
88570753
DM
2502 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2503 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2504 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2505 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2506 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2507 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2508 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2509 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2510
249d7567
DM
2511 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2512 loop to 256 bytes instead of 64 bytes and fix test signedness.
2513
18c9d62b
DM
2514 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2515 * sysdeps/sparc/sparc32/Makefile: rather than here...
2516 * sysdeps/sparc/sparc64/Makefile: and here.
2517
05f3d1f6
UD
25182012-03-28 Ulrich Drepper <drepper@gmail.com>
2519
2520 * malloc/mallocbug.c: Avoid warnings about unused variables.
2521
86ae07a8
JL
25222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2523
2524 [BZ #13760]
2525 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2526 in the right place. Discard and retry query if response is
2527 larger than input buffer size.
2528
41bf21a1
JM
25292012-03-28 Joseph Myers <joseph@codesourcery.com>
2530
d6270972
JM
2531 [BZ #369]
2532 [BZ #2678]
2533 [BZ #3866]
2534 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2535 x for large integer exponent.
2536 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2537 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2538 sign of result as needed afterwards.
2539 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2540 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2541 result for underflowing pow the same as for overflow.
2542 (__kernel_standard_l): Handle powl overflow and underflow here
2543 rather than calling __kernel_standard.
2544 * math/libm-test.inc (pow_test): Add more tests.
2545
414fca03 2546 [BZ #3868]
41bf21a1
JM
2547 [BZ #13879]
2548 [BZ #13910]
2549 [BZ #13911]
2550 [BZ #13912]
2551 [BZ #13913]
2552 [BZ #13915]
2553 [BZ #13916]
2554 [BZ #13917]
2555 [BZ #13918]
2556 [BZ #13919]
2557 [BZ #13920]
2558 [BZ #13921]
2559 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2560 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2561 (__kernel_standard_l): New function.
2562 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2563 __kernel_standard.
2564 * math/w_acosl.c (__acosl): Likewise.
2565 * math/w_asinl.c (__asinl): Likewise.
2566 * math/w_atan2l.c (__atan2l): Likewise.
2567 * math/w_atanhl.c (__atanhl): Likewise.
2568 * math/w_coshl.c (__coshl): Likewise.
2569 * math/w_exp10l.c (__exp10l): Likewise.
2570 * math/w_exp2l.c (__exp2l): Likewise.
2571 * math/w_fmodl.c (__fmodl): Likewise.
2572 * math/w_hypotl.c (__hypotl): Likewise.
2573 * math/w_j0l.c (__j0l, __y0l): Likewise.
2574 * math/w_j1l.c (__j1l, __y1l): Likewise.
2575 * math/w_jnl.c (__jnl, __ynl): Likewise.
2576 * math/w_lgammal.c (__lgammal): Likewise.
2577 * math/w_log10l.c (__log10l): Likewise.
2578 * math/w_log2l.c (__log2l): Likewise.
2579 * math/w_logl.c (__logl): Likewise.
2580 * math/w_powl.c (__powl): Likewise.
2581 * math/w_remainderl.c (__remainderl): Likewise.
2582 * math/w_scalbl.c (sysv_scalbl): Likewise.
2583 * math/w_sinhl.c (__sinhl): Likewise.
2584 * math/w_sqrtl.c (__sqrtl): Likewise.
2585 * math/w_tgammal.c (__tgammal): Likewise.
2586 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2587 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2588 * math/libm-test.inc (acos_test): Add more tests.
2589 (acosh_test): Likewise.
2590 (asin_test): Likewise.
2591 (atanh_test): Likewise.
2592 (exp_test): Likewise.
2593 (exp10_test): Likewise.
2594 (exp2_test): Likewise.
2595 (expm1_test): Likewise.
2596 (lgamma_test): Likewise.
2597 (log_test): Likewise.
2598 (log10_test): Likewise.
2599 (log1p_test): Likewise.
2600 (log2_test): Likewise.
2601 (pow_test): Do not allow some spurious overflow exceptions.
2602 (sqrt_test): Add more tests.
2603 (tgamma_test): Likewise.
2604 (y0_test): Likewise.
2605 (y1_test): Likewise.
2606 (yn_test): Likewise.
2607
dd62fda6
AB
26082012-03-27 Anton Blanchard <anton@samba.org>
2609
2610 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2611 MAP_HUGETLB.
2612 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2613 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2614 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2615
1e3cdfda
AJ
26162012-03-27 David S. Miller <davem@davemloft.net>
2617
b855ab85
DM
2618 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2619
1e3cdfda
AJ
2620 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2621 have-as-vis3 check.
2622
26232012-03-27 Andreas Jaeger <aj@suse.de>
2624
2625 * sysdeps/x86_64/elf/configure.in: Moved to ...
2626 * sysdeps/x86_64/configure.in: ... here.
2627 * sysdeps/x86_64/elf/start.S: Moved to ...
2628 * sysdeps/x86_64/start.S: ... here.
2629 * sysdeps/x86_64/elf/configure: Delete.
2630
2631 * sysdeps/x86_64/configure.in: Merge contents from
2632 sysdeps/i386/configure.in (without i686 check).
2633
2634 * sysdeps/i386/elf/Versions: Merge into ...
2635 * sysdeps/i386/Versions: ... this.
2636 * sysdeps/i386/elf/Versions: Delete file.
2637 * sysdeps/i386/elf/start.S: Moved to ...
2638 * sysdeps/i386/start.S: ...here.
2639 * sysdeps/i386/elf/configure.in: Merge into...
2640 * sysdeps/i386/configure.in: ...here.
2641 * sysdeps/i386/elf/configure.in: Delete file.
2642 * sysdeps/i386/elf/configure: Delete file.
2643
2644 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2645 * debug/backtracesyms.c: ... here.
2646 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2647 * debug/backtracesymsfd.c: ... here.
2648 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2649 * sysdeps/generic/ifunc-sel.h: ... here.
2650
2651 * sysdeps/unix/i386/start.c: Delete file.
2652 * sysdeps/unix/sparc/start.c: Delete file.
2653 * sysdeps/unix/start.c: Delete file.
2654
2655 * sysdeps/sh/elf/configure.in: Moved to ...
2656 * sysdeps/sh/configure.in: ... here.
2657 * sysdeps/sh/elf/start.S: Moved to ...
2658 * sysdeps/sh/start.S: ... here.
2659 * sysdeps/sh/elf/configure: Delete file.
2660
2661 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2662 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2663 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2664 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2665 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2666 * sysdeps/powerpc/powerpc64/start.S: here.
2667 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2668 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2669 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2670 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2671 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2672
2673 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2674 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2675 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2676 * sysdeps/powerpc/powerpc32/start.S: ... here.
2677 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2678 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2679 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2680
2681 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2682 * sysdeps/powerpc/ifunc-sel.h: ... here.
2683 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2684 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2685
2686 * sysdeps/sparc/elf/configure.in: Moved to ...
2687 * sysdeps/sparc/configure.in: ... here.
2688 * sysdeps/sparc/elf/configure: Delete file.
2689 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2690 * sysdeps/sparc/sparc32/start.S: ... here.
2691 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2692 * sysdeps/sparc/sparc64/start.S: ... here.
2693 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2694 * sysdeps/sparc/sparc32/Makefile: ... this.
2695 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2696 * sysdeps/sparc/sparc64/Makefile: ... this.
2697
2698 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2699 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2700 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2701 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2702 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2703 * sysdeps/s390/s390-32/setjmp.S: ... here.
2704 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2705 * sysdeps/s390/s390-32/configure.in: ... here.
2706 * sysdeps/s390/s390-32/elf/configure: Delete file.
2707 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2708 * sysdeps/s390/s390-32/start.S: ... here.
2709
2710 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2711 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2712 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2713 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2714 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2715 * sysdeps/s390/s390-64/setjmp.S: ... here.
2716 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2717 * sysdeps/s390/s390-64/configure.in: ... here
2718 * sysdeps/s390/s390-64/elf/configure: Delete file.
2719 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2720 * sysdeps/s390/s390-64/start.S: ... here.
2721 * sysdeps/s390/s390-64/elf/configure: Delete.
2722
2723 * configure.in: Remove support for elf directories in sysdeps.
2724
2725 * configure: Regenerated.
2726 * sysdeps/i386/configure: Regenerated.
2727 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2728 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2729 * sysdeps/s390/s390-32/configure: Regenerated.
2730 * sysdeps/s390/s390-64/configure: Regenerated.
2731 * sysdeps/sh/configure: Regenerated.
2732 * sysdeps/sparc/configure: Regenerated.
2733 * sysdeps/x86_64/configure: Regenerated.
2734
a3f61311
AS
27352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2736
c876e002
AS
2737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2738
a3f61311
AS
2739 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2740 denormal result into account.
2741
ac4c54f0
RM
27422012-03-25 Roland McGrath <roland@hack.frob.com>
2743
2744 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2745 Reported by Allan McRae <allan@archlinux.org>.
2746
6a9b9c02
JL
27472012-03-23 Jeff Law <law@redhat.com>
2748
2749 * nss/getnssent.c (__nss_getent): Fix typo.
2750
4c42a0c1
DM
27512012-03-23 David S. Miller <davem@davemloft.net>
2752
2753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2754
1532c7ac
L
27552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2758 to pad to uint64_t for each field.
2759 (dl_tls_index): Replace unsigned long with uint64_t.
2760
3ff42526
PP
27612012-03-23 Daniel Jacobowitz <dmj@google.com>
2762 Paul Pluzhnikov <ppluzhnikov@google.com>
2763
2764 [BZ #6528]
2765 * grp/Makefile (otherlibs): Don't set it.
2766 * inet/Makefile (otherlibs): Likewise.
2767 * login/Makefile (otherlibs): Likewise.
2768 * nscd/Makefile (otherlibs): Likewise.
2769 * posix/Makefile (otherlibs): Likewise.
2770 * pwd/Makefile (otherlibs): Likewise.
2771 * rt/Makefile (otherlibs): Likewise.
2772 * sunrpc/Makefile (otherlibs): Likewise.
2773 * nss/Makefile (otherlibs): Likewise.
2774 Add libnss_files to routines and static-only-routines.
2775 ($(objpfx)getent): Remove rule.
2776 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2777 static-only-routines.
2778
7c69cd14
JM
27792012-03-22 Joseph Myers <joseph@codesourcery.com>
2780
2781 [BZ #13892]
2782 * math/s_cexp.c: Include <float.h>.
2783 (__cexp): Handle exp result overflowing not necessarily
2784 overflowing both real and imaginary parts of result.
2785 * math/s_cexpf.c: Likewise.
2786 * math/s_cexpl.c: Likewise.
2787 * math/libm-test.inc (cexp_test): Add more tests.
2788 * sysdeps/i386/fpu/libm-test-ulps: Update.
2789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2790
81b035fe
L
27912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2792
2793 * include/link.h (ELFW): New macro.
2794 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2795 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2796
1da7940c
L
27972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2798
2799 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2800 with uint64_t.
2801
b749dbb9
L
28022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2805 declaration.
2806 (struct La_x32_retval): Likewise.
2807
2ff87f3f
L
28082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 * sysdeps/x86_64/preconfigure.in: New file.
2811 * sysdeps/x86_64/preconfigure: New generated file.
2812
c0df8e69
JM
28132012-03-22 Joseph Myers <joseph@codesourcery.com>
2814
48e44791
JM
2815 [BZ #13824]
2816 * math/e_exp2l.c: Include <float.h>.
2817 (__ieee754_exp2l): Handle overflow and underflow cases
2818 separately. Only pass fractional part of argument to
2819 __ieee754_expl.
2820 * math/libm-test.inc (exp2_test): Add more tests.
2821
c0df8e69
JM
2822 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2823 negating x to take absolute value.
2824 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2825 Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2828 Likewise.
2829 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2830 computing low part if x was negated.
2831 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2832
c8e43ba7
L
28332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2836 la_x32_gnu_pltexit.
2837 (pltexit): Cast int_retval to ptrdiff_t.
2838 * elf/tst-auditmod3b.c: Likewise.
2839 * elf/tst-auditmod4b.c: Likewise.
2840 * elf/tst-auditmod5b.c: Likewise.
2841 * elf/tst-auditmod6b.c: Likewise.
2842 * elf/tst-auditmod6c.c: Likewise.
2843 * elf/tst-auditmod7b.c: Likewise.
2844
2845 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2846 and x32_gnu_pltexit.
2847
2848 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2849 __ELF_NATIVE_CLASS.
2850 (La_x32_regs): New macro.
2851 (La_x32_retval): Likewise.
2852 (la_x32_gnu_pltenter): New function prototype.
2853 (la_x32_gnu_pltexit): Likewise.
2854
7998fa78
AS
28552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2856
dcb33988
AS
2857 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2858 exponent.
2859
233fc563
AS
2860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2861
7998fa78
AS
2862 * configure.in (libc_cv_cc_nofma): Check for option to disable
2863 generation of FMA instructions.
2864 * configure: Regenerate.
2865 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2866 * sysdeps/ieee754/dbl-64/Makefile: New file.
2867 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2868 Remove brandred-fma4.
2869 (CFLAGS-brandred-fma4.c): Remove.
2870 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2871 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2872 define.
2873 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2874 define.
2875
8e95c99a
L
28762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2879 LLONG_MAX != LONG_MAX.
2880 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2881 (_fitoa_word): Likewise.
2882 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2883 LLONG_MAX != LONG_MAX.
2884 * stdio-common/_itowa.h: Include <_itoa.h>.
2885 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2886 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2887 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2888 only if not defined.
2889 (_ITOA_WORD_TYPE): Likewise.
2890 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2891 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2892
6f4db457
DM
28932012-03-21 David S. Miller <davem@davemloft.net>
2894
2895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2896
7785fe5a
L
28972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2900 of x86_64 when setting libc_cv_slibdir, libdir and
2901 libc_cv_localedir.
2902 * sysdeps/unix/sysv/linux/configure: Regenerated.
2903
4535cd55
JM
29042012-03-21 Joseph Myers <joseph@codesourcery.com>
2905
2906 * manual/lang.texi (Old Varargs): Remove section.
2907 (How Variadic): Update menu.
2908 (va_start): Do not mention varargs.h.
2909
17228132
TS
29102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2911 Joseph Myers <joseph@codesourcery.com>
2912
2913 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2914 link test.
2915 * configure: Regenerated.
2916
8149f976
TS
29172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2918
05f3d1f6
UD
2919 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2920 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2921 conformtest.pl
8149f976 2922
1a4ac776
JM
29232012-03-21 Joseph Myers <joseph@codesourcery.com>
2924
be22ce65
JM
2925 * NOTES: Remove.
2926 * Makefile (files-for-dist): Remove NOTES.
2927 (NOTES): Remove rule.
2928 * README: Don't refer to NOTES.
2929 * manual/creature.texi: Don't include macros.texi.
2930 * manual/intro.texi (creature.texi): Remove comment referring to
2931 NOTES.
2932
40b601fb
JM
2933 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2934 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2935 * configure: Regenerated.
2936 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2937 LIBC_TRY_CC_OPTION.
2938 (libc_cv_as_i686): Likewise.
2939 (libc_cv_cc_avx): Likewise.
2940 (libc_cv_cc_sse2avx): Likewise.
2941 (libc_cv_cc_fma4): Likewise.
2942 (libc_cv_cc_novzeroupper): Likewise.
2943 * sysdeps/i386/configure: Regenerated.
2944
1a4ac776
JM
2945 [BZ #13883]
2946 * sysdeps/i386/fpu/s_cexp.S: Remove.
2947 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2948 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2949 * math/libm-test.inc (cexp_test): Add more tests.
2950 * sysdeps/i386/fpu/libm-test-ulps: Update.
2951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2952
a458e7fe
AM
29532012-03-21 Allan McRae <allan@archlinux.org>
2954
2955 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2956
0cb7efc5
JM
29572012-03-21 Joseph Myers <joseph@codesourcery.com>
2958
2959 [BZ #13871]
2960 * math/w_exp2.c: Do not include <float.h>.
2961 (o_threshold, u_threshold): Remove.
2962 (__exp2): Calculate result before checking finiteness and calling
2963 __kernel_standard.
2964 * math/w_exp2f.c: Likewise.
2965 * math/w_exp2l.c: Likewise.
2966 * math/libm-test.inc (exp2_test): Require overflow exception for
2967 1e6 input.
2460d3aa
JM
2968
2969 [BZ #3866]
2970 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2971 range of signed 64-bit integers before using fistpll. Remove
2972 checks for whether integers fit in mantissa bits.
2973 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2974 the range of signed 32-bit integers before using fistpl. Remove
2975 checks for whether integers fit in mantissa bits.
2976 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2977 (__ieee754_powl): Test for y outside the range of signed 64-bit
2978 integers before using fistpll. Reduce 64-bit values to 63-bit
2979 ones as needed.
2980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2981 divide-by-zero is raised for zero to large negative powers.
2982 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2983 (__ieee754_powl): Test for y outside the range of signed 64-bit
2984 integers before using fistpll. Reduce 64-bit values to 63-bit
2985 ones as needed.
2986 * math/libm-test.inc (pow_test): Add more tests.
2987
eb96ffb0
L
29882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2989
2990 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2991 <stdio-common/_itoa.h>.
2992 * debug/segfault.c: Likewise.
2993 * elf/dl-cache.c: Likewise.
2994 * elf/dl-minimal.c: Likewise.
2995 * elf/dl-misc.c: Likewise.
2996 * elf/dl-sysdep.c: Likewise.
2997 * elf/dl-version.c: Likewise.
2998 * elf/rtld.c: Likewise.
2999 * hurd/hurdsock.c: Likewise.
3000 * hurd/lookup-retry.c: Likewise.
3001 * malloc/malloc.c: Likewise.
3002 * malloc/mtrace.c: Likewise.
3003 * nscd/nscd_getgr_r.c: Likewise.
3004 * nscd/nscd_getpw_r.c: Likewise.
3005 * nscd/nscd_getserv_r.c: Likewise.
3006 * posix/getopt_init.c: Likewise.
3007 * posix/wordexp.c: Likewise.
3008 * stdio-common/_itoa.c: Likewise.
3009 * stdio-common/printf_fphex.c: Likewise.
3010 * stdio-common/vfprintf.c: Likewise.
3011 * string/_strerror.c: Likewise.
3012 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3013 * sysdeps/i386/i686/hp-timing.h: Likewise.
3014 * sysdeps/mach/_strerror.c: Likewise.
3015 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3016 * sysdeps/mach/hurd/sethostid.c: Likewise.
3017 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3018 * sysdeps/mach/xpg-strerror.c: Likewise.
3019 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3020 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3021 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3022 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3023 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3024 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3025 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3026 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3027 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3028 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3029 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3030 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3031 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3032 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3033 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3034 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3035 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3037 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3038 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3039 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3040
3041 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3042
3043 * stdio-common/_itoa.h: Moved to ...
3044 * sysdeps/generic/_itoa.h: Here.
3045
3046 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3047
3048 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3049 instead of "_itoa.h" and "_itowa.h".
3050 * stdio-common/vfprintf.: Likewise.
3051
d1af992d
L
30522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3053
3054 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3055 <bits/wordsize.h>.
3056 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3057 (__signbit): Likwise.
3058 (llrintf): Likwise.
3059 (llrint): Likwise.
3060
114883e0
L
30612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3062
3063 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3064 __WORDSIZE != 64.
3065
c135cc1b
JM
30662012-03-20 Joseph Myers <joseph@codesourcery.com>
3067
3068 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3069 OVERFLOW_EXCEPTION_OK.
3070 * math/libm-test.inc ("Philosophy"): Update comment about
3071 exception testing.
3072 (OVERFLOW_EXCEPTION): Define.
3073 (OVERFLOW_EXCEPTION_OK): Likewise.
3074 (INVALID_EXCEPTION_OK): Renumber.
3075 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3076 (IGNORE_ZERO_INF_SIGN): Likewise.
3077 (test_exceptions): Handle FE_OVERFLOW.
3078 (exp10_test): Expect overflow exceptions.
3079 (exp2_test): Likewise.
3080 (expm1_test): Likewise.
3081 (nextafter_test): Likewise.
3082 (pow_test): Likewise.
3083 (scalbn_test): Likewise.
3084 (scalbln_test): Likewise.
3085
95443d88
L
30862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/x86_64/bits/atomic.h
3089 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3090 64bit integer.
3091 (atomic_exchange_acq): Likewise.
3092 (__arch_exchange_and_add_body): Likewise.
3093 (__arch_add_body): Likewise.
3094 (atomic_add_negative): Likewise.
3095 (atomic_add_zero): Likewise.
3096
490df6c4
L
30972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3098
c2722551 3099 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3100 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3101
5e52b189
L
31022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3103
3104 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3105 Check __x86_64__ instead of __WORDSIZE.
3106
a9879d4c
L
31072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3110
5df98260
DM
31112012-03-19 David S. Miller <davem@davemloft.net>
3112
e1497744
DM
3113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3114
5df98260
DM
3115 * sysdeps/sparc/fpu/fenv_private.h: New file.
3116 * sysdeps/sparc/fpu/math_private.h: Use it.
3117 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3118 Remove.
3119 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3120 (libc_feholdexcept_setroundl): Remove.
3121 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3122 Remove.
3123 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3124 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3125
b4c35121
L
31262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3127
3128 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3129 int64_t instead of long int.
3130 (INSERT_WORDS64): Likwise.
3131
56965fd7
L
31322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3133
3134 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3135 _Unwind_GetCFA return to _Unwind_Ptr first.
3136
83d1aec8
JM
31372012-03-19 Joseph Myers <joseph@codesourcery.com>
3138
1897ad44
JM
3139 [BZ #13629]
3140 * math/s_clog.c: Include <float.h>.
3141 (__clog): Scale large or subnormal inputs.
3142 * math/s_clogf.c: Likewise.
3143 * math/s_clogl.c: Likewise.
3144 * math/s_clog10.c: Include <float.h>.
3145 (M_LOG10_2): Define.
3146 (__clog10): Scale large or subnormal inputs.
3147 * math/s_clog10f.c: Likewise.
3148 * math/s_clog10l.c: Likewise.
3149 * math/libm-test.inc (clog_test): Add more tests.
3150 (clog10_test): Likewise.
3151 * sysdeps/i386/fpu/libm-test-ulps: Update.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
7726d6a9
JM
3154 [BZ #11451]
3155 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3156 x and y.
3157 * math/libm-test.inc (atan2_test): Add another test.
3158
83d1aec8
JM
3159 * Makerules (common-objdir-compile): Remove.
3160 * sysdeps/unix/Makefile (config-generated): Do not add
3161 $(unix-generated) to variable.
3162 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3163 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3164 Remove rule.
3165 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3166 Likewise.
3167 [generic bits/local_lim.h] (before-compile): Do not append to
3168 variable.
3169 [generic bits/local_lim.h] (common-generated): Likewise.
3170 [generic sys/param.h] (before-compile): Do not append to variable.
3171 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3172 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3173 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3174 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3175 include.
3176 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3177 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3178 [generic sys/param.h] ($(addprefix
3179 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3180 [generic sys/param.h] (common-generated): Do not append to
3181 variable.
3182 [generic sys/param.h] (sysdep_headers): Likewise.
3183 [generic bits/errno.h] (before-compile): Do not append to
3184 variable.
3185 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3186 rule.
3187 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3188 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3189 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3190 [generic bits/errno.h] (common-generated): Do not append to
3191 variable.
3192 [generic bits/ioctls.h] (before-compile): Do not append to
3193 variable.
3194 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3195 rule.
3196 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3197 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3198 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3199 rule.
3200 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3201 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3202 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3203 [generic bits/ioctls.h] (common-generated): Do not append to
3204 variable.
3205 [generic sys/syscall.h] (syscall.h): Remove variable.
3206 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3207 rule.
3208 [generic sys/syscall.h] (before-compile): Do not append to
3209 variable.
3210 [generic sys/syscall.h] (common-generated): Likewise.
3211 * sysdeps/unix/errnos-tmpl.c: Remove file.
3212 * sysdeps/unix/errnos.awk: Likewise.
3213 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3214 * sysdeps/unix/ioctls.awk: Likewise.
3215 * sysdeps/unix/mk-local_lim.c: Likewise.
3216 * sysdeps/unix/snarf-ioctls: Likewise.
3217
4851a949
RH
32182012-03-19 Richard Henderson <rth@twiddle.net>
3219
bd37f2ee
RH
3220 * sysdeps/i386/fpu/fenv_private.h: New file.
3221 * sysdeps/i386/fpu/math_private.h: Use it.
3222 (math_opt_barrier, math_force_eval): Remove.
3223 (libc_feholdexcept_setround_53bit): Remove.
3224 (libc_feupdateenv_53bit): Remove.
3225 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3226 (math_opt_barrier, math_force_eval): Remove.
3227 (libc_feholdexcept): Remove.
3228 (libc_feholdexcept_setround): Remove.
3229 (libc_fetestexcept, libc_fesetenv): Remove.
3230 (libc_feupdateenv_test): Remove.
3231 (libc_feupdateenv, libc_feholdsetround): Remove.
3232 (libc_feresetround): Remove.
3233
d0adc922
RH
3234 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3235 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3236
0fe0f1f8
RH
3237 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3238 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3239 (libc_feupdateenv_testl): New.
3240 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3241 (libc_feupdateenv_testf): New.
3242 (libc_feupdateenv): Use libc_feupdateenv_test.
3243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3244 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3245
eb92c487
RH
3246 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3247 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3248 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3249 (libc_feresetround_noex): New.
3250 (libc_feresetround_noexf): New.
3251 (libc_feresetround_noexl): New.
3252 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3253 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3254 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3255 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3256 SET_RESTORE_ROUND.
3257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3259 (__cos): Likewise.
3260 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3261 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3262 SET_RESTORE_ROUND_NOEX.
3263 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3264 SET_RESTORE_ROUND_NOEXF.
3265 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3266 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3267 (libc_feholdsetroundf): New.
3268 (libc_feresetround, libc_feresetroundf): New.
3269
7d2e8012
RH
3270 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3271 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3272 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3273
b4dabbb4
RH
3274 * sysdeps/generic/math_private.h: Include <fenv.h>.
3275 (default_libc_feholdexcept): New.
3276 (default_libc_feholdexcept_setround): New.
3277 (default_libc_fesetenv, default_libc_feupdateenv): New.
3278 (libc_feholdexcept): Only define if undefined.
3279 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3280 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3281 (libc_feholdexcept_setroundl): Likewise.
3282 (libc_feholdexcept_setround_53bit): Likewise.
3283 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3284 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3285 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3286 (libc_feupdateenv_53bit): Likewise.
3287 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3288 (libc_feholdexcept): Convert from macro to inline function.
3289 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3290 (libc_fesetenv, libc_feupdateenv): Likewise.
3291
4851a949
RH
3292 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3293 not previously defined.
3294 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3295 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3296 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3297 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3298 * sysdeps/ieee754/flt-32/math_private.h: New file.
3299 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3300 math_private.h below SET_FLOAT_WORD.
3301 (__isnan, __isinf_ns, __finite): Remove.
3302 (__isnanf, __isinf_nsf, __finitef): Remove.
3303
e79d442e
AS
33042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3305
3306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3307
90b80344
DM
33082012-03-17 David S. Miller <davem@davemloft.net>
3309
3310 [BZ #6471]
3311 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3312 for 2.16.
3313
edc21804
DM
33142012-03-16 David S. Miller <davem@davemloft.net>
3315
77e927af
DM
3316 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3317 warnings.
3318
374976dd
DM
3319 [BZ #6471]
3320 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3321 properly.
3322 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3323 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3324 sysdep_routines when subdir is sysvipc.
3325 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3326 __getshmlba helper.
3327
edc21804
DM
3328 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3329
473c3ef3
L
33302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3331
3332 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3333 [__LP64__].
3334
eb0f39b6
L
33352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3338 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3339 (__lround): Renamed to ...
3340 (__llround): This. Replace long int with long long int.
3341 Define lround functions as aliases of llround functions.
3342 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3343
6b6cd74b
L
33442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3345
3346 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3347 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3348 adresses to uintptr_t. Replace "long int" and "unsigned long
3349 int" with "greg_t" on va_arg.
3350
f1a77b01
L
33512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3352
3353 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3354 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3355
3356 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3357 Move e_machine check before EI_CLASS check. Handle x32
3358 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3359 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3360 SKIP_EM_IA_64 and include
3361 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3362
3363 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3364 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3365 (add_system_dir): New macro.
3366
3367 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3368 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3369
11b90b9f
JM
33702012-03-16 Joseph Myers <joseph@codesourcery.com>
3371
c36e1d23
JM
3372 [BZ #2551]
3373 [BZ #2552]
3374 [BZ #2553]
3375 [BZ #2554]
3376 [BZ #2562]
3377 [BZ #2563]
3378 [BZ #2565]
3379 [BZ #2566]
3380 [BZ #2576]
3381 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3382 (y0): Likewise.
3383 * math/w_j0f.c (j0f): Likewise.
3384 (y0f): Likewise.
3385 * math/w_j0l.c (__j0l): Likewise.
3386 (__y0l): Likewise.
3387 * math/w_j1.c (j1): Likewise.
3388 (y1): Likewise.
3389 * math/w_j1f.c (j1f): Likewise.
3390 (y1f): Likewise.
3391 * math/w_j1l.c (__j1l): Likewise.
3392 (__y1l): Likewise.
3393 * math/w_jn.c (jn): Likewise.
3394 (yn): Likewise.
3395 * math/w_jnf.c (jnf): Likewise.
3396 (ynf): Likewise.
3397 * math/w_jnl.c (__jnl): Likewise.
3398 (__ynl): Likewise.
3399 * math/libm-test.inc (j0_test): Add more tests.
3400 (j1_test): Likewise.
3401 (jn_test): Likewise. Add trailing semicolon to existing test.
3402 (y0_test): Likewise.
3403 (y1_test): Likewise.
3404 * sysdeps/i386/fpu/libm-test-ulps: Update.
3405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3406
11b90b9f
JM
3407 [BZ #13851]
3408 [BZ #13854]
3409 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3410 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3411 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3412 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3413 (__tanl): Set errno for infinite argument.
3414 * sysdeps/i386/fpu/mptan.c: Remove.
3415 * sysdeps/i386/fpu/s_tan.S: Likewise.
3416 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3417 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3418 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3419 * math/libm-test.inc (tan_test): Add more tests and enable more
3420 tests for double and long double.
3421 * sysdeps/i386/fpu/libm-test-ulps: Update.
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3423
6a1bd2a1
JK
34242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3425
3426 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3427 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3428
10a803e0
RM
34292012-03-16 Roland McGrath <roland@hack.frob.com>
3430
3431 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3432 * configure.in: Use it for both main tree and add-ons.
3433 * configure: Regenerated.
3434
f196c7f7
L
34352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3436
3437 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3438
8848d99d
JM
34392012-03-16 Joseph Myers <joseph@codesourcery.com>
3440
96cbe7f4
JM
3441 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3442 in comment.
3443
8848d99d
JM
3444 [BZ #13851]
3445 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3446 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3448 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3450 infinite argument.
3451 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3452 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3453 != 0 for prec == 2.
3454 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3455 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3456 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3457 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3458 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3459 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3460 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3461 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3462 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3463 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3464 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3465 * math/libm-test.inc (cos_test): Add more tests and enable more
3466 tests for long double.
3467 (sin_test): Likewise.
3468 (sincos_test): Likewise.
3469 * sysdeps/i386/fpu/libm-test-ulps: Update.
3470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3471
dd7f4703
DM
34722012-03-16 David S. Miller <davem@davemloft.net>
3473
3474 * sysdeps/sparc/fpu/math_private.h: New file.
3475
006f1daa
DM
34762012-03-15 David S. Miller <davem@davemloft.net>
3477
c0c83bc8
DM
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3479 file.
e6a62e18 3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3482 file.
e6a62e18
DM
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3489 sysdep routines.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3491
88cb87d9
DM
3492 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3493 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3494
006f1daa 3495 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3497 sparc-ifunc.h
006f1daa 3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3500 Likewise.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3502 Likewise.
006f1daa
DM
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3507 Likewise.
006f1daa
DM
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3513 Likewise.
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3515 Likewise.
006f1daa
DM
3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3540
11e0098e
AS
35412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3542
3543 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3544 scaling.
3545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3546
e85b09d0
AJ
35472012-03-15 Andreas Jaeger <aj@suse.de>
3548
3549 [BZ #13852]
3550 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3551 ieee754/flt-32 implementation for sin, cos and sincos.
3552 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3553 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3554 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3555 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3556 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3557 ieee754/flt-32 implementation for tan.
3558
3559 * math/libm-test.inc (cos_test): Enable some large input tests for
3560 float as well
3561 (sin_test): Likewise.
3562 (sincos_test): Likewise.
3563 (tan_test): Add tests for large input.
3564
3565 * sysdeps/i386/fpu/libm-test-ulps: Update.
3566
81c64153
AJ
35672012-03-15 Andreas Jaeger <aj@suse.de>
3568
3569 [BZ #13658]
3570 * math/libm-test.inc (cos_test): Add more test cases.
3571 (sin_test): Likewise.
3572 (sincos_test): Likewise.
3573
7bbfa5c6
AJ
35742012-03-15 Andreas Jaeger <aj@suse.de>
3575
3576 [BZ #13837]
3577 * math/libm-test.inc (cos_test): Add a test case for large input
3578 value.
3579 (sin_test): Likewise.
3580 (sincos_test): Likewise.
3581
35822012-03-15 Andreas Jaeger <aj@suse.de>,
3583 Joseph Myers <joseph@codesourcery.com>
3584
3585 [BZ #13658]
0671f479 3586 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3587 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3588 * sysdeps/i386/fpu/branred.c: Likewise.
3589 * sysdeps/i386/fpu/dosincos.c: Likewise.
3590 * sysdeps/i386/fpu/mpa.c: Likewise.
3591 * sysdeps/i386/fpu/s_cos.S: Likewise.
3592 * sysdeps/i386/fpu/s_sin.S: Likewise.
3593 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3594 * sysdeps/i386/fpu/sincos32.c: Likewise.
3595
3596 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3597 Define.
3598 (libc_feupdateenv_53bit): Define.
3599 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3600 Define.
3601 (libc_feupdateenv_53bit): Define.
3602
3603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3604 53 bit (without extend i386 double precision).
3605
3606 * math/libm-test.inc (sincos_test): Add tests for large input.
3607 (sin): Likewise.
3608 (cos): Likewise.
3609
3610 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3611
9cad04ea
AS
36122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3613
3614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3615
f7062b9a
DM
36162012-03-15 David S. Miller <davem@davemloft.net>
3617
3618 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3619 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3620 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3634 file.
f7062b9a 3635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3637 file.
f7062b9a 3638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3640 file.
f7062b9a 3641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3643 file.
f7062b9a
DM
3644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3646 fmin/fmax sysdep routines.
3647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3648
7bd951ff
DM
36492012-03-14 David S. Miller <davem@davemloft.net>
3650
559398ab
DM
3651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3658 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3680 routines.
3681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3682 file.
559398ab 3683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3685 file.
559398ab 3686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3688 file.
559398ab 3689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3691 file.
559398ab 3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3694 file.
559398ab 3695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3697 file.
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3699 file.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3701 file.
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3703 file.
3704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3705 New file.
3706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3707 file.
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3709 file.
559398ab 3710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3712 file.
559398ab 3713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3715 file.
559398ab 3716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3718 file.
559398ab 3719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3721 VIS3 routines.
559398ab
DM
3722
3723 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3724 New file.
3725
5a1c1e32
DM
3726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3727
eae47a36
DM
3728 * sysdeps/sparc/configure.in: New file.
3729 * sysdeps/sparc/configure: Generate.
3730 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3731 * configure: Regenerate.
3732 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3733 * config.make.in (have-as-vis3): New.
3734 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3735 available use -Av9d instead of -Av9a.
3736 * sysdeps/sparc/sparc64/Makefile: Likewise.
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3739 New file.
3740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3741 file.
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3743 New file.
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3745 file.
eae47a36
DM
3746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3750 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3751
c0c83bc8
DM
3752 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3753 fzeros/fnegs to load 0x80000000 into a float register instead of
3754 using the stack.
7bd951ff
DM
3755 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3756
bd951ccb
JM
37572012-03-14 Joseph Myers <joseph@codesourcery.com>
3758
3759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3760 bits/syscall.h.
3761 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3762 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3763 ($(inst_includedir)/bits/syscall.h): Remove rule.
3764 ($(objpfx)bits/syscall.d): Include instead of
3765 $(objpfx)syscall-list.d.
3766 (generated): Change syscall-list.h and syscall-list.d to
3767 bits/syscall.h and bits/syscall.d.
3768
bb4e6db2
RM
37692012-03-14 Roland McGrath <roland@hack.frob.com>
3770
3771 [BZ #13846]
3772 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3773
aa4a2ae1
JM
37742012-03-14 Joseph Myers <joseph@codesourcery.com>
3775
e456826d
JM
3776 [BZ #13841]
3777 * math/s_csqrt.c: Include <float.h>.
3778 (__csqrt): Scale large or subnormal inputs.
3779 * math/s_csqrtf.c: Likewise.
3780 * math/s_csqrtl.c: Likewise.
3781 * math/libm-test.inc (csqrt_test): Add more tests.
3782 * sysdeps/i386/fpu/libm-test-ulps: Update.
3783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3784
aa4a2ae1
JM
3785 [BZ #13840]
3786 * math/libm-test.inc (hypot_test): Add more tests.
3787
7c10fd35
DM
37882012-03-13 David S. Miller <davem@davemloft.net>
3789
3790 [BZ #13840]
3791 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3792 double-precision for the calculation instead of scaling.
3793
f453b98b
JM
37942012-03-13 Joseph Myers <joseph@codesourcery.com>
3795
3796 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3797 manipulate bits before adding and subtracting TWO52[sx].
3798 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3800 Likewise.
3801 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3802
09a3453f
DM
38032012-03-13 David S. Miller <davem@davemloft.net>
3804
8e59da90
DM
3805 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3806 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3808 rtld-global-offsets.h
3809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3810
2a8ab7f2
DM
3811 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3812 large parameters.
3813
10f62770
DM
3814 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3815
5f0bdb18
DM
3816 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3817 'err' in the ifdef scope in which it is actually used.
3818
09a3453f
DM
3819 * nss/nss_db/db-init.c: Include string.h
3820
b4b2eb5e
DM
38212012-03-12 David S. Miller <davem@davemloft.net>
3822
98bb2f1c
DM
3823 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3824 masking out of the most significant byte of random value used.
3825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3826 Fix coding style in previous change.
3827
b4b2eb5e
DM
3828 * sysdeps/unix/sysv/linux/kernel-features.h
3829 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3830 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3831 expression.
3832 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3833 later.
3834
6e226b09
DM
38352012-03-11 David S. Miller <davem@davemloft.net>
3836
a1bcbd40
DM
3837 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3838 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3839 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3840 for 'resultvar' otherwise things get truncated on 64-bit.
3841
cb9d6174
DM
3842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3843 Fix masking out of the most significant byte of random value used.
3844
6e226b09
DM
3845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3846
058c132d
AS
38472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3848
3849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3850
2d2cd515
DM
38512012-03-09 David S. Miller <davem@davemloft.net>
3852
3853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3854 variables with appropriate CPP guards.
3855 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3856 frame pointer, not the stack pointer. Correct layout comments. Fix test
3857 on resulting framesize and the management of the outregs buffer for pltexit.
3858 Preserve floating point return values across _dl_call_pltexit call.
3859 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3860 framesize and the management of the outregs buffer for pltexit.
3861 Preserve floating point return values across _dl_call_pltexit
3862 call.
3863 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3864 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3865 (print_exit): Fix format string for return register value.
3866
9a07f9d0
JM
38672012-03-10 Joseph Myers <joseph@codesourcery.com>
3868
3869 * sunrpc/Makefile (others): Add rpcgen.
3870 ($(objpfx)rpcgen): Remove special build rule and dependency on
3871 libc.
3872 * sunrpc/rpcgen.c: New file.
3873
547b5e30
PE
38742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3875
c524201a
PE
3876 [BZ #13673]
3877 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3878 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3879 * sysdeps/i386/crti.S: Likewise.
3880 * sysdeps/i386/crtn.S: Likewise.
3881 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3882 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3883 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3884 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3885 * sysdeps/sh/crti.S: Likewise.
3886 * sysdeps/sh/crtn.S: Likewise.
3887 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3888
7b6235f2
PE
3889 [BZ #13673]
3890 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3891 with URL.
3892 * locale/programs/locfile-kw.gperf: Likewise.
3893 * locale/programs/charmap-kw.h: Regenerated.
3894 * locale/programs/locfile-kw.h: Likewise.
3895
547b5e30
PE
3896 [BZ #13673]
3897 * intl/plural.y: Replace FSF snail mail address with URL.
3898 * intl/plural.c: Regenerated.
3899
5f0a5dae
RH
39002012-03-09 Richard Henderson <rth@twiddle.net>
3901
3902 * include/math_private.h: Remove file.
3903 * math/math_private.h: Move file ...
3904 * sysdeps/generic/math_private.h: ... here.
3905
b8c03620
RH
3906 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3907 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3908 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3909
4e234f5d 3910 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3911 and <math_private.h>.
3912 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3913 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3914 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3915 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3916 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4000 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4001 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4002 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4003 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4005 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4006 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4007 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4008 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4009 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4010 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4012 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4013 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4014 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4015 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4017 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4021 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4022 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4023 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4024 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4026 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4031 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4032 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4034 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4035 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4040 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4043 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4044 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4045 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4047 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4048 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4050 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4051 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4052 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4055 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4056 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4058 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4059 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4061 * sysdeps/ieee754/k_standard.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4222 * sysdeps/ieee754/s_lib_version.c: Likewise.
4223 * sysdeps/ieee754/s_matherr.c: Likewise.
4224 * sysdeps/ieee754/s_signgam.c: Likewise.
4225 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4226 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4227 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4228 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4229 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4230 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4231 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4232 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4233 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4234 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4235 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4236 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4237 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4238 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4239 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4240 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4241 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4242 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4243 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4246
1991fa03
JM
42472012-03-09 Joseph Myers <joseph@codesourcery.com>
4248
4249 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4250 * sunrpc/rpc_main.c: Likewise.
4251 * sunrpc/rpc_svcout.c: Likewise.
4252
60d6f5a6
DM
42532012-03-09 David S. Miller <davem@davemloft.net>
4254
4255 * include/math_private.h: New file.
4256
4962050e
JM
42572012-03-09 Joseph Myers <joseph@codesourcery.com>
4258
02a6f887
JM
4259 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4260 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4261 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4262 from <bits/socket_type.h>.
4263 (enum __socket_type): Don't define here.
4264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4266 bits/socket_type.h.
4267
c6e013c1
JM
4268 [BZ #13566]
4269 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4270 checking __USE_GNU.
4271
4962050e
JM
4272 * Makerules ($(inst_includedir)/%.h): New rule.
4273 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4274 (install-others): Remove variable setting.
4275 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4276
38842f45
RH
42772012-03-08 Richard Henderson <rth@twiddle.net>
4278
67bb6da6
RH
4279 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4280 from macro to inline function; merge with the
4281 !__LIBC_INTERNAL_MATH_INLINES version.
4282 (__ieee754_sqrtf): Likewise.
4283
15194b4b
RH
4284 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4285 to inline function.
4286 (__rintf, __floor, __floorf): Likewise.
4287
64e21ede
RH
4288 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4289 macro to inline function.
4290 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4291
38842f45
RH
4292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4293 not <math/math_private.h>.
4294
c64bf5fe
DM
42952012-03-08 David S. Miller <davem@davemloft.net>
4296
4297 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4298 copyright year.
4299 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4300
82d86f28
TS
43012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4302
4303 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4304 normalization.
4305 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4306 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4307
aea5d727
UD
43082012-03-08 Ulrich Drepper <drepper@gmail.com>
4309
4310 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4311 be defined individually, they must be defined as a block. Define
4312 S for printing a string instead of hidint the different by using a
4313 macro for adding the 'l'.
4314 * stdio-common/tst-fphex-wide.c: Adjust.
4315
70bca0a3
MP
43162012-03-07 Marek Polacek <polacek@redhat.com>
4317
4318 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4319
65b81130
MP
43202012-03-08 Marek Polacek <polacek@redhat.com>
4321
4322 [BZ #13806]
4323 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4324 * stdio-common/tst-fphex.c: Define a few macros to make the
4325 test reusable. Use them.
4326 * stdio-common/tst-fphex-wide.c: New file.
4327
07037eeb
JM
43282012-03-08 Joseph Myers <joseph@codesourcery.com>
4329
a7a93d50
JM
4330 [BZ #6911]
4331 * manual/macros.texi (gnusystems): New macro.
4332 (nongnusystems): Likewise.
4333 (gnulinuxhurdsystems): Likewise.
4334 (gnuhurdsystems): Likewise..
4335 (gnulinuxsystems): Likewise.
4336 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4337 variants of the GNU system, not "GNU system".
4338 * manual/conf.texi: Likewise.
4339 * manual/errno.texi: Likewise. Update example of errno macro
4340 expansion.
4341 * manual/filesys.texi: Likewise.
4342 (getumask): Document as specific to GNU/Hurd.
4343 * manual/install.texi: Likewise. Reword some references to
4344 GNU/Linux.
4345 * manual/intro.texi: Likewise.
4346 * manual/io.texi: Likewise.
4347 (File Name Portability): Detail which constraints are inapplicable
4348 to all GNU systems and which are only inapplicable to GNU/Hurd.
4349 * manual/job.texi: Likewise.
4350 * manual/llio.texi: Likewise.
4351 (O_NOCTTY): Document as present on GNU/Linux.
4352 * manual/maint.texi: Likewise.
4353 * manual/memory.texi: Likewise.
4354 * manual/pattern.texi: Likewise.
4355 * manual/pipe.texi: Likewise.
4356 * manual/process.texi: Likewise.
4357 * manual/resource.texi: Likewise.
4358 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4359 child on GNU/Hurd.
4360 * manual/setjmp.texi: Likewise.
4361 * manual/signal.texi: Likewise.
4362 * manual/startup.texi: Likewise.
4363 * manual/stdio.texi: Likewise.
4364 * manual/terminal.texi: Likewise.
4365 (ONLCR): Document as POSIX.
4366 (OXTABS): Document availability on GNU/Linux as XTABS.
4367 (ONOEOT): Document availability separately from other bits.
4368 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4369 * manual/time.texi: Likewise.
4370 * manual/users.texi: Likewise.
4371 * INSTALL: Regenerated.
4372 * sysdeps/gnu/errlist.c: Regenerated.
4373
07037eeb
JM
4374 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4375 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4376 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4377 puts.
4378 * configure: Regenerated.
4379
d1d3431a
JM
43802012-03-07 Joseph Myers <joseph@codesourcery.com>
4381
af6a1e37
JM
4382 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4383 default includes instead of AC_HEADER_CHECK.
4384 * sysdeps/i386/configure: Regenerated.
4385
d1d3431a
JM
4386 [BZ #10716]
4387 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4388 * math/s_cacoshf.c (__cacoshf): Likewise.
4389 * math/s_cacoshl.c (__cacoshl): Likewise.
4390 * math/s_casinh.c (__casinh): Set signs of result from argument.
4391 * math/s_casinhf.c (__casinhf): Likewise.
4392 * math/s_casinhl.c (__casinhl): Likewise.
4393 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4394 (casinh_test): Add more tests.
4395 * sysdeps/i386/fpu/libm-test-ulps: Update.
4396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4397
482ff4da
UD
43982012-03-07 Ulrich Drepper <drepper@gmail.com>
4399
872fda05
UD
4400 * po/zh_TW.po: Update from translation team.
4401
a4300c7a
UD
4402 * login/Makefile (distribute): Remove variable.
4403 * catgets/Makefile: Likewise.
4404 * mach/Makefile: Likewise.
4405 * malloc/Makefile: Likewise.
4406 * misc/Makefile: Likewise.
4407 * iconv/Makefile: Likewise.
4408 * nscd/Makefile: Likewise.
4409 * hurd/Makefile: Likewise.
4410 * manual/Makefile: Likewise.
4411 * locale/Makefile: Likewise.
4412 * intl/Makefile: Likewise.
4413 * conform/Makefile: Likewise.
4414 * nss/Makefile: Likewise.
4415 * time/Makefile: Likewise.
4416 * soft-fp/Makefile: Likewise.
4417 * dirent/Makefile: Likewise.
4418 * gmon/Makefile: Likewise.
4419 * po/Makefile: Likewise.
4420 * rt/Makefile: Likewise.
4421 * socket/Makefile: Likewise.
4422 * math/Makefile: Likewise.
4423 * signal/Makefile: Likewise.
4424 * debug/Makefile: Likewise.
4425 * elf/Makefile: Likewise.
4426 * timezone/Makefile: Likewise.
4427 * stdlib/Makefile: Likewise.
4428 * iconvdata/Makefile: Likewise.
4429 * sunrpc/Makefile: Likewise.
4430 * io/Makefile: Likewise.
4431 * argp/Makefile: Likewise.
4432 * inet/Makefile: Likewise.
4433 * hesiod/Makefile: Likewise.
4434 * grp/Makefile: Likewise.
4435 * csu/Makefile: Likewise.
4436 * wctype/Makefile: Likewise.
4437 * crypt/Makefile: Likewise.
4438 * libio/Makefile: Likewise.
4439 * string/Makefile: Likewise.
4440 * nis/Makefile: Likewise.
4441 * resolv/Makefile: Likewise.
4442 * stdio-common/Makefile: Likewise.
4443 * wcsmbs/Makefile: Likewise.
4444 * dlfcn/Makefile: Likewise.
4445 * posix/Makefile: Likewise.
4446
3b7c4e74 4447 [BZ #6959]
482ff4da
UD
4448 * timezone/Makefile: Don't install timezone files, just the programs
4449 and scripts.
4450
f72ed77d
UD
44512012-03-06 Ulrich Drepper <drepper@gmail.com>
4452
a000466f
UD
4453 * nss/databases.def: Add missing gshadow entry.
4454
f72ed77d
UD
4455 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4456
a53b7a4e
MP
44572012-03-06 Marek Polacek <polacek@redhat.com>
4458
4459 [BZ #13726]
4460 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4461 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4462 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4463 * stdio-common/tst-long-dbl-fphex.c: New file.
4464
e9258400
DM
44652012-03-06 David S. Miller <davem@davemloft.net>
4466
4467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4468 (set_obp_int): New function.
4469 (get_obp_int): New function.
4470 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4471 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4472 Avoid unused variable warnings on 'val' and use builtin_expect.
4473 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4474 __builtin_expect.
e9258400
DM
4475 (INLINE_CLONE_SYSCALL): Likewise.
4476
3bd2c723
DM
44772012-03-05 David S. Miller <davem@davemloft.net>
4478
4479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4480
bbb78d03
AS
44812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4482
884c5db4
AS
4483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4484
bbb78d03
AS
4485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4486 only for |x| >= 40.
4487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4488
1c9f702a 44892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4490
4491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4492 Replace gettimeofday with __vdso_gettimeofday.
4493
7be16f82
RM
4494 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4495 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4496 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4497
4498 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4499 time with __vdso_time.
4500
ed58a00f
JM
45012012-03-05 Joseph Myers <joseph@codesourcery.com>
4502
4503 * manual/lang.texi (size_t): Note types to which size_t may be
4504 equivalent with the GNU C Library, but do not describe when
4505 differences between them are significant.
4506
30ee4ced
AJ
45072012-03-05 Andreas Jaeger <aj@suse.de>
4508
4509 * sysdeps/i386/fpu/libm-test-ulps: Update.
4510
b7cd39e8
JM
45112012-03-05 Joseph Myers <joseph@codesourcery.com>
4512
4513 [BZ #3976]
4514 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4515 (__ieee754_pow): Save and restore rounding mode and use
4516 round-to-nearest for main computations.
4517 * math/libm-test.inc (pow_test_tonearest): New function.
4518 (pow_test_towardzero): Likewise.
4519 (pow_test_downward): Likewise.
4520 (pow_test_upward): Likewise.
4521 (main): Call the new functions.
4522 * sysdeps/i386/fpu/libm-test-ulps: Update.
4523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4524
4525 [BZ #3976]
4526 * math/libm-test.inc (cosh_test_tonearest): New function.
4527 (cosh_test_towardzero): Likewise.
4528 (cosh_test_downward): Likewise.
4529 (cosh_test_upward): Likewise.
4530 (sinh_test_tonearest): Likewise.
4531 (sinh_test_towardzero): Likewise.
4532 (sinh_test_downward): Likewise.
4533 (sinh_test_upward): Likewise.
4534 (main): Call the new functions.
4535 * sysdeps/i386/fpu/libm-test-ulps: Update.
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4537
6c6a98c9
TV
45382012-03-05 Tom de Vries <tom@codesourcery.com>
4539
4540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4541 default stack guard is set in last bytes.
4542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4543
21bb2d2e 45442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4545
21bb2d2e 4546 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4547
21bb2d2e
AJ
4548 [BZ #13656]
4549 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4550 possibly allocate from heap instead of stack.
4551 * stdio-common/bug-vfprintf-nargs.c: New file.
4552 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4553
c6922934
AS
45542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4555
4556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4557
bc957d53
MP
45582012-03-03 Marek Polacek <polacek@redhat.com>
4559
4560 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4561 * math/math_private.h: Likewise.
4562 * stdlib/tst-strtod.c: Likewise.
4563 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4564 * sysdeps/x86_64/bits/atomic.h: Likewise.
4565
6358490d
DM
45662012-03-02 David S. Miller <davem@davemloft.net>
4567
4568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4573 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4574 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4575 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4576
01ae168d
RM
45772012-03-02 Roland McGrath <roland@hack.frob.com>
4578
d9a17c07
RM
4579 [BZ #13792]
4580 * manual/examples/README: New file, says the example source files
4581 can be used under GPL>=2.
4582 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4583 line containing just "*/".
4584 * manual/examples/add.c: Add copyright header (GPL>=2).
4585 * manual/examples/argp-ex1.c: Likewise.
4586 * manual/examples/argp-ex2.c: Likewise.
4587 * manual/examples/argp-ex3.c: Likewise.
4588 * manual/examples/argp-ex4.c: Likewise.
4589 * manual/examples/atexit.c: Likewise.
4590 * manual/examples/db.c: Likewise.
4591 * manual/examples/dir.c: Likewise.
4592 * manual/examples/dir2.c: Likewise.
4593 * manual/examples/execinfo.c: Likewise.
4594 * manual/examples/filecli.c: Likewise.
4595 * manual/examples/filesrv.c: Likewise.
4596 * manual/examples/fmtmsgexpl.c: Likewise.
4597 * manual/examples/genpass.c: Likewise.
4598 * manual/examples/inetcli.c: Likewise.
4599 * manual/examples/inetsrv.c: Likewise.
4600 * manual/examples/isockad.c: Likewise.
4601 * manual/examples/longopt.c: Likewise.
4602 * manual/examples/memopen.c: Likewise.
4603 * manual/examples/memstrm.c: Likewise.
4604 * manual/examples/mkfsock.c: Likewise.
4605 * manual/examples/mkisock.c: Likewise.
4606 * manual/examples/mygetpass.c: Likewise.
4607 * manual/examples/pipe.c: Likewise.
4608 * manual/examples/popen.c: Likewise.
4609 * manual/examples/rprintf.c: Likewise.
4610 * manual/examples/search.c: Likewise.
4611 * manual/examples/select.c: Likewise.
4612 * manual/examples/setjmp.c: Likewise.
4613 * manual/examples/sigh1.c: Likewise.
4614 * manual/examples/sigusr.c: Likewise.
4615 * manual/examples/stpcpy.c: Likewise.
4616 * manual/examples/strdupa.c: Likewise.
4617 * manual/examples/strftim.c: Likewise.
4618 * manual/examples/strncat.c: Likewise.
4619 * manual/examples/subopt.c: Likewise.
4620 * manual/examples/swapcontext.c: Likewise.
4621 * manual/examples/termios.c: Likewise.
4622 * manual/examples/testopt.c: Likewise.
4623 * manual/examples/testpass.c: Likewise.
4624 * manual/examples/timeval_subtract.c: Likewise.
4625
01ae168d
RM
4626 [BZ #13792]
4627 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4628 function to ...
4629 * manual/timeval_subtract.c.texi: ... here, new file.
4630
49efa33d
DM
46312012-03-02 David S. Miller <davem@davemloft.net>
4632
4633 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4634
28afd92d
JM
46352012-03-02 Joseph Myers <joseph@codesourcery.com>
4636
804360ed
JM
4637 [BZ #3976]
4638 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4639 (__sin): Save and restore rounding mode and use round-to-nearest
4640 for all computations.
4641 (__cos): Save and restore rounding mode and use round-to-nearest
4642 for all computations.
4643 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4644 <fenv.h>.
4645 (tan): Save and restore rounding mode and use round-to-nearest for
4646 all computations.
4647 * math/libm-test.inc (cos_test_tonearest): New function.
4648 (cos_test_towardzero): Likewise.
4649 (cos_test_downward): Likewise.
4650 (cos_test_upward): Likewise.
4651 (sin_test_tonearest): Likewise.
4652 (sin_test_towardzero): Likewise.
4653 (sin_test_downward): Likewise.
4654 (sin_test_upward): Likewise.
4655 (tan_test_tonearest): Likewise.
4656 (tan_test_towardzero): Likewise.
4657 (tan_test_downward): Likewise.
4658 (tan_test_upward): Likewise.
4659 (main): Call the new functions.
4660 * sysdeps/i386/fpu/libm-test-ulps: Update.
4661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4662
a6d06d7b
JM
4663 [BZ #10135]
4664 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4665 small n, then large n, before computing and testing k+n.
4666 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4668 Likewise.
4669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4670 Likewise.
4671 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4672 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4677 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4678 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4679 * math/libm-test.inc (scalbn_test): Add more tests.
4680 (scalbln_test): Likewise.
4681
07e12bb3
JM
4682 * manual/filesys.texi (mode_t): Describe constraints on size and
4683 signedness, not exact equivalence to a particular type.
4684 (ino_t): Likewise.
4685 (ino64_t): Likewise.
4686 (dev_t): Likewise.
4687 (nlink_t): Likewise.
4688 (blkcnt_t): Likewise.
4689 (blkcnt64_t): Likewise.
4690 * manual/llio.texi (off_t): Likewise.
4691
28afd92d
JM
4692 [BZ #3976]
4693 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4694 (__ieee754_exp): Save and restore rounding mode and use
4695 round-to-nearest for all computations.
4696 * math/libm-test.inc (exp_test_tonearest): New function.
4697 (exp_test_towardzero): Likewise.
4698 (exp_test_downward): Likewise.
4699 (exp_test_upward): Likewise.
4700 (main): Call the new functions.
4701 * sysdeps/i386/fpu/libm-test-ulps: Update.
4702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4703
b1eeb65d
CD
47042012-03-01 Chris Demetriou <cgd@google.com>
4705
4706 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4707 have predictable order.
4708
53362a4b
DM
47092012-03-01 David S. Miller <davem@davemloft.net>
4710
3c969083
DM
4711 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4712
759707de
DM
4713 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4714 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4715 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4716 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4717
dfdb8ff2
DM
4718 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4719 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4720 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4722 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4723 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4724 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4725 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4727
ead89f96
DM
4728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4729
7f66bd07
DM
4730 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4731 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4732 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4733
53362a4b
DM
4734 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4735 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4736 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4737 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4738 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4742 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4743 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4744 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4747 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4750 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4751 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4752 * sysdeps/sparc/elf/configure: Regenerated.
4753
7b1902cb
JM
47542012-03-01 Joseph Myers <joseph@codesourcery.com>
4755
bec039bc
JM
4756 * configure.in (AS, LD): Require binutils 2.20 or later.
4757 * configure: Regenerated.
4758 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4759 as required minimum version.
4760 * INSTALL: Regenerated.
4761
7b1902cb
JM
4762 [BZ #2541]
4763 [BZ #4108]
4764 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4765 before squaring exponent.
4766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4767 bottom long double and 27 bits of top long double before squaring
4768 exponent.
4769 * math/libm-test.inc (erfc_test): Add more tests.
4770 * sysdeps/i386/fpu/libm-test-ulps: Update.
4771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4773
f775c276
KT
47742012-03-01 Kai Tietz <ktietz@redhat.com>
4775
4776 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4777 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4778 containing bit-fields.
4779 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4780 * soft-fp/single.h (_FP_UNION_S): Likewise.
4781 * soft-fp/double.h (_FP_UNION_D): Likewise.
4782
5b8a4d4a
JM
47832012-02-29 Joseph Myers <joseph@codesourcery.com>
4784
0bab47b6
JM
4785 [BZ #13786]
4786 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4787 not include ../strcmp.S.
4788 [USE_AS_STRNCASECMP_L]: Likewise.
4789 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4790 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4791 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4792 (__strncasecmp_l_ia32): Define as alias to
4793 __strncasecmp_l_nonascii.
4794
0fcad3e2
JM
4795 [BZ #5794]
4796 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4797 * sysdeps/i386/fpu/libm-test-ulps: Update.
4798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4799
5b8a4d4a
JM
4800 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4802
8fdceb2e
JL
48032012-02-29 Jeff Law <law@redhat.com>
4804
4805 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4806 out of bounds read.
4807
1f393a11
MP
48082012-02-29 Marek Polacek <polacek@redhat.com>
4809
4810 [BZ #13706]
4811 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4812 * elf/Makefile: Add rules to run tst-unused-dep.out.
4813
8847f037
DM
48142012-02-28 David S. Miller <davem@davemloft.net>
4815
4816 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4817 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4822
169d7f11
JM
48232012-02-29 Joseph Myers <joseph@codesourcery.com>
4824
4825 * math/libm-test.inc (llround_test): Move one test from
4826 lround_test. Use TEST_f_L in moved test.
4827 (lround_test): Move misplaced test to llround_test. Add testcase
4828 from bug 2561.
4829
39adf059
UD
48302012-02-28 Ulrich Drepper <drepper@gmail.com>
4831
4832 * sysdeps/x86_64/fpu/e_expf.S: New file.
4833 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4834
71b5d1c5
SB
48352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4836
4837 [BZ #13637]
4838 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4839 of remain_len that may cause incomplete multi-byte character and
4840 false match.
4841 * posix/bug-regex33.c: New file.
4842 * posix/Makefile (tests): Add bug-regex33.
4843
1f77f049
JM
48442012-02-28 Joseph Myers <joseph@codesourcery.com>
4845
4846 * manual/macros.texi: New file.
4847 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4848 * manual/libc.texinfo: Include macros.texi.
4849 * manual/creatute.texi: Likewise.
4850 * manual/install.texi: Likewise.
4851 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4852 @glibcadj{} in references to the GNU C Library.
4853 * manual/charset.texi: Likewise.
4854 * manual/conf.texi: Likewise.
4855 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4856 when not using those macros.
4857 * manual/creature.texi: Likewise.
4858 * manual/crypt.texi: Likewise.
4859 * manual/errno.texi: Likewise.
4860 * manual/filesys.texi: Likewise.
4861 * manual/header.texi: Likewise.
4862 * manual/install.texi: Likewise.
4863 * manual/intro.texi: Likewise.
4864 * manual/io.texi: Likewise.
4865 * manual/job.texi: Likewise.
4866 * manual/lang.texi: Likewise.
4867 * manual/libc.texiinfo: Likewise.
4868 * manual/llio.texi: Likewise.
4869 * manual/locale.texi: Likewise.
4870 * manual/maint.texi: Likewise.
4871 * manual/math.texi: Likewise.
4872 * manual/memory.texi: Likewise.
4873 * manual/message.texi: Likewise.
4874 * manual/nss.texi: Likewise.
4875 * manual/pattern.texi: Likewise.
4876 * manual/process.texi: Likewise.
4877 * manual/resource.texi: Likewise.
4878 * manual/search.texi: Likewise.
4879 * manual/setjmp.texi: Likewise.
4880 * manual/signal.texi: Likewise.
4881 * manual/socket.texi: Likewise.
4882 * manual/startup.texi: Likewise.
4883 * manual/stdio.texi: Likewise.
4884 * manual/string.texi: Likewise.
4885 * manual/sysinfo.texi: Likewise.
4886 * manual/syslog.texi: Likewise.
4887 * manual/terminal.texi: Likewise.
4888 * manual/time.texi: Likewise.
4889 * manual/users.texi: Likewise.
4890 * INSTALL: Regenerated.
4891 * NOTES: Regenerated.
d40c5d54 4892 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4893
450bf206
AS
48942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4895
4896 * include/dirent.h: Include <dirstream.h> before
4897 <dirent/dirent.h>.
4898
741a235b
DM
48992012-02-28 David S. Miller <davem@davemloft.net>
4900
4901 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4902 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4905
d6b5aa58
DM
49062012-02-27 David S. Miller <davem@davemloft.net>
4907
1aff59a3
DM
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4910 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4911 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4912
d6b5aa58
DM
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4914 frame pointer instead of stack pointer relative arg slot.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4916 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4917 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4918
433f48bf
CD
49192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4920
4921 [BZ #3992]
4922 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4923
d674b76d
DM
49242012-02-27 David S. Miller <davem@davemloft.net>
4925
4926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4932 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4933 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4934
0e7727f7
JM
49352012-02-27 Joseph Myers <joseph@codesourcery.com>
4936
4937 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4938 later. Allow versions 5-9.
43be4ca2 4939 * configure: Regenerated.
0e7727f7
JM
4940 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4941 required minimum version and 4.6 as recommended version. Do not
4942 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4943 * INSTALL: Regenerated.
0e7727f7 4944
a78bc654
DM
49452012-02-27 David S. Miller <davem@davemloft.net>
4946
428d5830
DM
4947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4953 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4954 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4955
a78bc654
DM
4956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4957 manipulate bits before adding and subtracting TWO112[sx].
4958 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4959
4579f81c
RM
49602012-02-27 Roland McGrath <roland@hack.frob.com>
4961
36c8acb4
RM
4962 [BZ #13775]
4963 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4964 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4965 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4966 being in POSIX, because they are in 1003.1-2008.
4967
84ad622b
RM
4968 * rt/tst-aio.c: Include <fcntl.h>.
4969 * rt/tst-aio7.c: Likewise.
4970 * rt/tst-aio64.c: Likewise.
4971
4579f81c
RM
4972 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4973
abd923db
JM
49742012-02-27 Joseph Myers <joseph@codesourcery.com>
4975
4976 * manual/install.texi (--with-headers): Describe headers as
4977 interface headers, not private headers.
4978 (Specific advice for GNU/Linux systems): Describe use of headers
4979 from "make headers_install", not private headers from older
4980 kernels.
43be4ca2 4981 * INSTALL: Regenerated.
abd923db
JM
4982 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4983 Change to 2.6.19.
4984 * sysdeps/unix/sysv/linux/configure: Regenerated.
4985
6664049b
JM
4986 * manual/llio.texi (fclean): Remove documentation.
4987
bb8b6697
JM
4988 * manual/Makefile (libc-texi-generated): New variable. Include
4989 version.texi.
4990 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4991 $(libc-texi-generated), not duplicated list of files.
4992 (version.texi, stamp-version): New rules.
4993 (realclean): Remove $(libc-texi-generated), not individual files
4994 from that list. Do not remove dir-add.texinfo.
4995 * manual/libc.texinfo: Comment out uses of edition numbers and
4996 references to printed manual. Remove last-updated dates.
4997 (EDITION): Comment out.
4998 (ISBN): Likewise.
4999 (VERSION, UPDATED): Remove.
5000 (version.texi): Include.
5001
12e5c3b9
AS
50022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5003
5004 * sysdeps/posix/spawni.c: Include <signal.h>.
5005 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5006 * sysdeps/pthread/aio_fsync.c: Likewise.
5007
4efeffc1 50082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5009
ba63ba08
UD
5010 * conform/Makefile (tests): Run only when not cross-compiling and
5011 when fast-check is not defined.
5012
d94a4670
UD
5013 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5014 * conform/data/limits.h-data: Fixes for POSIX2008.
5015 * conform/run-conformtest.sh: Run all tests.
5016 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5017 headers.
5018 * include/bits/dlfcn.h: Likewise.
5019 * include/langinfo.h: Likewise.
5020 * include/monetary.h: Likewise.
5021 * include/sys/poll.h: Likewise.
5022
5023 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5024 for __USE_GNU.
5025 * posix/spawn.h: Define __need_sigset_t.
5026 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5027 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5028 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5029 to get sigevent_t only.
5030 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5031 only for __USE_GNU.
5032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5033 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5034 process_vm_writev only for __USE_GNU.
5035 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5036
5037 * conform/Makefile: For now ignore errors from run-conformtest.
5038 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5039 POSIX to avoid namespace pollution. Don't prepend headers.
5040 * conform/data/aio.h-data: Fixes for POSIX testing.
5041 * conform/data/fcntl.h-data: Likewise.
5042 * conform/data/glob.h-data: Likewise.
5043 * conform/data/grp.h-data: Likewise.
5044 * conform/data/pthread.h-data: Likewise.
5045 * conform/data/pwd.h-data: Likewise.
5046 * conform/data/signal.h-data: Likewise.
5047 * conform/data/spawn.h-data: Likewise.
5048 * conform/data/stdio.h-data: Likewise.
5049 * conform/data/stdlib.h-data: Likewise.
5050 * conform/data/stropts.h-data: Likewise.
5051 * conform/data/sys/mman.h-data: Likewise.
5052 * conform/data/sys/stat.h-data: Likewise.
5053 * conform/data/sys/types.h-data: Likewise.
5054 * conform/data/sys/wait.h-data: Likewise.
5055 * conform/data/time.h-data: Likewise.
5056 * conform/data/unistd.h-data: Likewise.
5057 * conform/data/utime.h-data: Likewise.
5058
5059 * io/sys/stat.h: fchmod was always in POSIX.
5060 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5061 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5062 * rt/aio.h: Define __need_timespec before including <time.h>.
5063 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5064 struct. Add forward declaration of pthread_attr_t and use it in
5065 sigevent.
5066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5068 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5069 always remove CLK_TCK definition.
5070
c20105c3
AS
50712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5072
5073 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5074
7a270350
UD
50752012-02-25 Ulrich Drepper <drepper@gmail.com>
5076
31341567
UD
5077 * conform/run-conformtest.sh: New file.
5078 * conform/Makefile: Run run-conformtest for tests.
5079 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5080 support.
5081
5082 * conform/data/uchar.h-data: New file.
5083 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5084 * conform/data/arpa/inet.h-data: Likewise.
5085 * conform/data/assert.h-data: Likewise.
5086 * conform/data/complex.h-data: Likewise.
5087 * conform/data/cpio.h-data: Likewise.
5088 * conform/data/ctype.h-data: Likewise.
5089 * conform/data/dirent.h-data: Likewise.
5090 * conform/data/dlfcn.h-data: Likewise.
5091 * conform/data/errno.h-data: Likewise.
5092 * conform/data/fcntl.h-data: Likewise.
5093 * conform/data/float.h-data: Likewise.
5094 * conform/data/fmtmsg.h-data: Likewise.
5095 * conform/data/fnmatch.h-data: Likewise.
5096 * conform/data/ftw.h-data: Likewise.
5097 * conform/data/glob.h-data: Likewise.
5098 * conform/data/grp.h-data: Likewise.
5099 * conform/data/iconv.h-data: Likewise.
5100 * conform/data/inttypes.h-data: Likewise.
5101 * conform/data/langinfo.h-data: Likewise.
5102 * conform/data/libgen.h-data: Likewise.
5103 * conform/data/limits.h-data: Likewise.
5104 * conform/data/locale.h-data: Likewise.
5105 * conform/data/math.h-data: Likewise.
5106 * conform/data/monetary.h-data: Likewise.
5107 * conform/data/mqueue.h-data: Likewise.
5108 * conform/data/ndbm.h-data: Likewise.
5109 * conform/data/net/if.h-data: Likewise.
5110 * conform/data/netdb.h-data: Likewise.
5111 * conform/data/netinet/in.h-data: Likewise.
5112 * conform/data/nl_types.h-data: Likewise.
5113 * conform/data/poll.h-data: Likewise.
5114 * conform/data/pthread.h-data: Likewise.
5115 * conform/data/pwd.h-data: Likewise.
5116 * conform/data/regex.h-data: Likewise.
5117 * conform/data/sched.h-data: Likewise.
5118 * conform/data/search.h-data: Likewise.
5119 * conform/data/semaphore.h-data: Likewise.
5120 * conform/data/setjmp.h-data: Likewise.
5121 * conform/data/signal.h-data: Likewise.
5122 * conform/data/spawn.h-data: Likewise.
5123 * conform/data/stdarg.h-data: Likewise.
5124 * conform/data/stdio.h-data: Likewise.
5125 * conform/data/stdlib.h-data: Likewise.
5126 * conform/data/string.h-data: Likewise.
5127 * conform/data/strings.h-data: Likewise.
5128 * conform/data/stropts.h-data: Likewise.
5129 * conform/data/sys/ipc.h-data: Likewise.
5130 * conform/data/sys/mman.h-data: Likewise.
5131 * conform/data/sys/msg.h-data: Likewise.
5132 * conform/data/sys/resource.h-data: Likewise.
5133 * conform/data/sys/select.h-data: Likewise.
5134 * conform/data/sys/sem.h-data: Likewise.
5135 * conform/data/sys/shm.h-data: Likewise.
5136 * conform/data/sys/socket.h-data: Likewise.
5137 * conform/data/sys/stat.h-data: Likewise.
5138 * conform/data/sys/statvfs.h-data: Likewise.
5139 * conform/data/sys/time.h-data: Likewise.
5140 * conform/data/sys/timeb.h-data: Likewise.
5141 * conform/data/sys/times.h-data: Likewise.
5142 * conform/data/sys/types.h-data: Likewise.
5143 * conform/data/sys/uio.h-data: Likewise.
5144 * conform/data/sys/un.h-data: Likewise.
5145 * conform/data/sys/utsname.h-data: Likewise.
5146 * conform/data/sys/wait.h-data: Likewise.
5147 * conform/data/syslog.h-data: Likewise.
5148 * conform/data/tar.h-data: Likewise.
5149 * conform/data/termios.h-data: Likewise.
5150 * conform/data/utime.h-data: Likewise.
5151 * conform/data/utmpx.h-data: Likewise.
5152 * conform/data/varargs.h-data: Likewise.
5153 * conform/data/wchar.h-data: Likewise.
5154 * conform/data/wctype.h-data: Likewise.
5155 * conform/data/wordexp.h-data: Likewise.
5156
5157 * include/stropts.h: New file.
5158 * include/uchar.h: New file.
5159 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5160 * include/assert.h: Likewise.
5161 * include/ctype.h: Likewise.
5162 * include/dirent.h: Likewise.
5163 * include/dlfcn.h: Likewise.
5164 * include/fcntl.h: Likewise.
5165 * include/fnmatch.h: Likewise.
5166 * include/glob.h: Likewise.
5167 * include/grp.h: Likewise.
5168 * include/libio.h: Likewise.
5169 * include/locale.h: Likewise.
5170 * include/math.h: Likewise.
5171 * include/net/if.h: Likewise.
5172 * include/netdb.h: Likewise.
5173 * include/netinet/in.h: Likewise.
5174 * include/pthread.h: Likewise.
5175 * include/pwd.h: Likewise.
5176 * include/regex.h: Likewise.
5177 * include/sched.h: Likewise.
5178 * include/search.h: Likewise.
5179 * include/setjmp.h: Likewise.
5180 * include/signal.h: Likewise.
5181 * include/stdio.h: Likewise.
5182 * include/stdlib.h: Likewise.
5183 * include/string.h: Likewise.
5184 * include/sys/cdefs.h: Likewise.
5185 * include/sys/mman.h: Likewise.
5186 * include/sys/msg.h: Likewise.
5187 * include/sys/resource.h: Likewise.
5188 * include/sys/select.h: Likewise.
5189 * include/sys/socket.h: Likewise.
5190 * include/sys/stat.h: Likewise.
5191 * include/sys/statvfs.h: Likewise.
5192 * include/sys/time.h: Likewise.
5193 * include/sys/times.h: Likewise.
5194 * include/sys/uio.h: Likewise.
5195 * include/sys/utsname.h: Likewise.
5196 * include/sys/wait.h: Likewise.
5197 * include/termios.h: Likewise.
5198 * include/time.h: Likewise.
5199 * include/ulimit.h: Likewise.
5200 * include/unistd.h: Likewise.
5201 * include/utime.h: Likewise.
5202 * include/wchar.h: Likewise.
5203 * include/wctype.h: Likewise.
5204 * include/wordexp.h: Likewise.
5205
5206 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5207
7a270350
UD
5208 * time/time.h: TIME_UTC must be a macro.
5209 Make timespec_get available for ISO C11 only as well.
5210
7724defc
UD
52112012-02-24 Ulrich Drepper <drepper@gmail.com>
5212
5213 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5214 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5215
6b1d1d46
JM
52162012-02-24 Joseph Myers <joseph@codesourcery.com>
5217
5218 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5219
0f8bbd69
JM
52202012-02-24 Joseph Myers <joseph@codesourcery.com>
5221
5222 * manual/texinfo.tex: Update to version 2012-01-19.16.
5223
66ab80bc
JM
52242012-02-24 Joseph Myers <joseph@codesourcery.com>
5225
5226 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5227
74981cc5
RM
52282012-02-24 Roland McGrath <roland@hack.frob.com>
5229
ee968201
RM
5230 [BZ #13738]
5231 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5232 * manual/fdl-1.3.texi: New file.
5233 * manual/fdl-1.1.texi: File removed.
5234
74981cc5
RM
5235 [BZ #13738]
5236 * manual/libc.texinfo (FDL_VERSION): New @set.
5237 Use it for mention of FDL in cover text.
5238 (Documentation License): Use it in @include file name.
5239
7bb764bc
JM
52402012-02-22 Joseph Myers <joseph@codesourcery.com>
5241 Roland McGrath <roland@hack.frob.com>
5242
5243 [BZ #5461]
5244 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5245 not LONG_LONG_MAX and LONG_LONG_MIN.
5246 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5247 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5248 name.
5249 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5250
6cbeae47
JM
52512012-02-22 Joseph Myers <joseph@codesourcery.com>
5252
5253 [BZ #2547]
5254 [BZ #11365]
5255 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5256 manipulate bits before adding and subtracting TWO23[sx].
5257 * math/libm-test.inc (nearbyint_test): Add more tests.
5258
fe45ce09
JM
52592012-02-22 Joseph Myers <joseph@codesourcery.com>
5260
5261 [BZ #2548]
5262 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5263 bits before adding and subtracting TWO23[sx].
5264 * math/libm-test.inc (rint_test): Add more tests.
5265 (rint_test_tonearest): Likewise.
5266 (rint_test_towardzero): Likewise.
5267 (rint_test_downward): Likewise.
5268 (rint_test_upward: Likewise.
5269
ff3b3d82
JM
52702012-02-22 Joseph Myers <joseph@codesourcery.com>
5271
5272 [BZ #10110]
5273 * include/stdc-predef.h: New file. Extracted from features.h.
5274 * include/features.h: Include stdc-predef.h.
5275 * Makefile (headers): Add stdc-predef.h.
5276 * CONFORMANCE (Compiler limitations): Update.
5277
ef0aab35
JM
52782012-02-22 Joseph Myers <joseph@codesourcery.com>
5279
5280 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5281
58639409
DM
52822012-02-21 David S. Miller <davem@davemloft.net>
5283
5284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5286
c0e70b25
DM
52872012-02-20 David S. Miller <davem@davemloft.net>
5288
5289 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5290 using a normal save/restore sequence, rather than allocating a
5291 dummy stack frame just to store a frame pointer and restore.
5292 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5293
fb06851d
JM
52942012-02-21 Joseph Myers <joseph@codesourcery.com>
5295
5296 * manual/install.texi: Fix stray word in line-wrapped comment.
5297
7a8b71c3
DM
52982012-02-20 David S. Miller <davem@davemloft.net>
5299
d510c123
DM
5300 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5301 both binutils and gcc support GOTDATA.
5302
0722d7c2
DM
5303 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5304 "rd %pc" in the PIC register setup sequences.
5305
3d2b3019
DM
5306 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5307 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5308 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5309 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5310 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5312 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5315 (SYSCALL_ERROR_HANDLER): Likewise.
5316 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5319 (SYSCALL_ERROR_HANDLER): Likewise.
5320
c80098a9
DM
5321 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5322 (HAVE_GCC_GOTDATA): New.
5323 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5324 relocation support in both binutils and gcc.
5325 * sysdeps/sparc/elf/configure: Regenerate.
5326
3a2545a0
DM
5327 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5328 * sysdeps/sparc/sparc32/elf/configure: Delete.
5329 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5330 * sysdeps/sparc/sparc64/elf/configure: Delete.
5331 * sysdeps/sparc/elf/configure.in: New file.
5332 * sysdeps/sparc/elf/configure: Generate.
5333
7a8b71c3
DM
5334 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5335 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5336 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5337 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5338 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5339
f1e86fca
JM
53402012-02-21 Joseph Myers <joseph@codesourcery.com>
5341
5342 * manual/install.texi: Do not mention specific glibc version
5343 numbers.
5344 * manual/libc.texinfo (VERSION, UPDATED): Update.
5345 (@copying): Use @copyright{} and range of years.
5346
0e7dfaef
JM
53472012-02-21 Joseph Myers <joseph@codesourcery.com>
5348
5349 [BZ #13695]
5350 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5351 [crti.S not in sysdirs] (generated): Do not append.
5352 [crti.S not in sysdirs] (omit-deps): Likewise.
5353 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5354 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5355 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5356 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5357 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5358 Likewise.
5359 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5360 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5361 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5362 * csu/defs.awk: Remove file.
5363 * sysdeps/generic/initfini.c: Likewise.
5364 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5365 variable.
5366 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5367 Likewise.
5368
599af3ca
JM
53692012-02-20 Joseph Myers <joseph@codesourcery.com>
5370
5371 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5372 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5375 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5376 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5377 <bits/epoll.h>.
5378 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5379 (__EPOLL_PACKED): Define to empty if not defined by
5380 <bits/epoll.h>.
5381 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5383 bits/epoll.h.
5384
0e499750
JM
53852012-02-20 Joseph Myers <joseph@codesourcery.com>
5386
5387 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5388 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5389 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5390 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5391 <bits/timerfd.h>.
5392 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5394 bits/timerfd.h.
5395
5ad91f6e
JM
53962012-02-20 Joseph Myers <joseph@codesourcery.com>
5397
5398 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5399 in C locale.
5400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5401 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5402 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404
06b99b02
AJ
54052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5406
5407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5408 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5409
7638c0fd
AS
54102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5411
5412 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5413 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5414 defined.
5415 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5416 Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5418 entry for 2.16.
5419
92221550
AJ
54202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5421
5422 * math/w_acos.c: Use non-signaling floating-point comparisons.
5423 * math/w_acosf.c: Likewise.
5424 * math/w_acosh.c: Likewise.
5425 * math/w_acoshf.c: Likewise.
5426 * math/w_acoshl.c: Likewise.
5427 * math/w_acosl.c: Likewise.
5428 * math/w_asin.c: Likewise.
5429 * math/w_asinf.c: Likewise.
5430 * math/w_asinl.c: Likewise.
5431 * math/w_atanh.c: Likewise.
5432 * math/w_atanhf.c: Likewise.
5433 * math/w_atanhl.c: Likewise.
5434 * math/w_exp2.c: Likewise.
5435 * math/w_exp2f.c: Likewise.
5436 * math/w_exp2l.c: Likewise.
5437 * math/w_j0.c: Likewise.
5438 * math/w_j0f.c: Likewise.
5439 * math/w_j0l.c: Likewise.
5440 * math/w_j1.c: Likewise.
5441 * math/w_j1f.c: Likewise.
5442 * math/w_j1l.c: Likewise.
5443 * math/w_jn.c: Likewise.
5444 * math/w_jnf.c: Likewise.
5445 * math/w_log.c: Likewise.
5446 * math/w_log10.c: Likewise.
5447 * math/w_log10f.c: Likewise.
5448 * math/w_log10l.c: Likewise.
5449 * math/w_log2.c: Likewise.
5450 * math/w_log2f.c: Likewise.
5451 * math/w_log2l.c: Likewise.
5452 * math/w_logf.c: Likewise.
5453 * math/w_logl.c: Likewise.
5454 * math/w_sqrt.c: Likewise.
5455 * math/w_sqrtf.c: Likewise.
5456 * math/w_sqrtl.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5462
ebaf36eb
JM
54632012-02-19 Joseph Myers <joseph@codesourcery.com>
5464
5465 [BZ #9739]
5466 * manual/string.texi (strnlen): Use correct parameter name in
5467 equivalent expression.
5468
71c254a6
JM
54692012-02-19 Joseph Myers <joseph@codesourcery.com>
5470
5471 [BZ #11174]
5472 * manual/users.texi (seteuid): Consistently use neweuid for
5473 argument name.
5474
16d2c631
JM
54752012-02-19 Joseph Myers <joseph@codesourcery.com>
5476
5477 [BZ #13704]
5478 * manual/nss.texi (Services in the NSS configuration): Correct
5479 list of services in example configuration file.
5480
cd837b09
NB
54812012-02-19 Nick Bowler <nbowler@draconx.ca>
5482
5483 [BZ #11322]
5484 * manual/arith.texi: Remove statements about negative zero
5485 behaving identically to zero.
5486
02c4bbad
JM
54872012-02-18 Joseph Myers <joseph@codesourcery.com>
5488
5489 [BZ #5993]
5490 * manual/install.texi: Do not document upgrading from libc5.
5491
366842e7
JM
54922012-02-18 Joseph Myers <joseph@codesourcery.com>
5493
5494 [BZ #4596]
5495 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5496
dd54084d
DM
54972012-02-18 David S. Miller <davem@davemloft.net>
5498
5499 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5500 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5501 %o7 across the call.
5502 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5503 instead.
5504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5505 SETUP_PIC_REG_LEAF.
5506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5507 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5508 * sysdeps/sparc/crtn.S: Likewise.
5509
2bcc53a3
UD
55102012-02-17 Ulrich Drepper <drepper@gmail.com>
5511
5512 * aout/Makefile: Remove.
5513
09c093b5
RK
55142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5515
5516 [BZ #13058]
5517 * manual/examples/argp-ex1.c (main): Format definition in GNU
5518 style.
5519 * manual/examples/argp-ex2.c (main): Likewise.
5520 * manual/examples/argp-ex3.c (main): Likewise.
5521 * manual/examples/argp-ex4.c (main): Likewise.
5522 * manual/examples/longopt.c (main): Use new-style prototype
5523 definition.
5524 * manual/examples/strncat.c (main): Specify return type and use
5525 (void) for arguments.
5526 * manual/examples/subopt.c (main): Use char **argv argument.
5527
2ee633a2
JM
55282012-02-17 Joseph Myers <joseph@codesourcery.com>
5529
5530 [BZ #5077]
5531 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5532 rounding modes.
5533
0520adde
FB
55342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5535
5536 [BZ #6907]
5537 * manual/string.texi (strchr): Change when strchrnul is
5538 recommended.
5539
3f4081cd
DGM
55402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5541
5542 [BZ #174]
5543 * manual/locale.texi (setlocale): Document LOCPATH.
5544
d1b10e78
JM
55452012-02-17 Joseph Myers <joseph@codesourcery.com>
5546
5547 [BZ #10210]
5548 * manual/process.texi (execle): Move @dots{} before last argument.
5549
79c6869c
PB
55502012-02-17 Paul Bolle <pebolle@tiscali.nl>
5551
5552 [BZ #12047]
5553 * manual/charset.texi (Generic Charset Conversion): Fix typo
5554 (LC_TYPE -> LC_CTYPE).
5555
cc6e48bc
NB
55562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5557
5558 [BZ #5805]
5559 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5560 (scalbnf): Likewise.
5561 (scalbnl): Likewise.
5562 (scalbln): Likewise.
5563 (scalblnf): Likewise.
5564 (scalblnl): Likewise.
5565 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5566 (vwarnx): Likewise.
5567 (verr): Likewise.
5568 (verrx): Likewise.
5569 * manual/filesys.texi (telldir): Use braces around return type.
5570 * manual/llio.texi (mmap): Add space after comma.
5571 (mmap64): Likewise.
5572 * manual/math.texi (jn): Use @var{} on parameter names.
5573 (jnf): Likewise.
5574 (jnl): Likewise.
5575 (yn): Likewise.
5576 (ynf): Likewise.
5577 (ynl): Likewise.
5578 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5579 line.
5580 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5581 "...".
5582 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5583 (sched_get_priority_max): Likewise.
5584 * manual/signal.texi (sigvec): Add space after comma.
5585 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5586 names.
5587 (if_indextoname): Likewise.
5588 (if_freenameindex): Likewise.
5589 (sendto): Use ',' instead of '.' in prototype.
5590 * manual/startup.texi (syscall): Use @dots{} instead of literal
5591 "...".
5592 * manual/stdio.texi (__fpending): Separate initial words of
5593 paragraph from @deftypefun line.
5594 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5595 "...".
5596 (vsyslog): Use @var{} on parameter names.
5597 * manual/terminal.texi (stty): Use @var{} on parameter names.
5598 * manual/users.texi (getutmp): Use @var{} on parameter names.
5599 (getutmpx): Likewise.
5600
5b23062f
JM
56012012-02-17 Joseph Myers <joseph@codesourcery.com>
5602
5603 [BZ #6884]
5604 * manual/stdio.texi (fopen): Fix typos in description of
5605 ",ccs=STRING".
5606
8dee4833
AJ
56072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5608
5609 [BZ #4026]
5610 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5611 get clock_id definition.
5612
9078ce93
TS
56132012-02-17 Thomas Schwinge <thomas@schwinge.name>
5614
5615 [BZ #4822]
5616 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5617 (madvise): Cast every argument to void on its own.
5618
3835c55f
JM
56192012-02-17 Joseph Myers <joseph@codesourcery.com>
5620
5621 [BZ #9902]
5622 * manual/startup.texi (Exit Status): Fix typo.
5623
35c47e37
JM
56242012-02-17 Joseph Myers <joseph@codesourcery.com>
5625
5626 [BZ #10140]
5627 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5628 * manual/examples/argp-ex2.c: Likewise.
5629 * manual/examples/argp-ex3.c: Likewise.
5630
e3b69ca7
RH
56312012-02-16 Richard Henderson <rth@redhat.com>
5632
5633 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5634 * sysdeps/s390/s390-32/initfini.c: Remove.
5635 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5636 * sysdeps/s390/s390-64/initfini.c: Remove.
5637
df83af67
KK
56382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5639
5640 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5641 compiler output for sysdeps/generic/initfini.c.
5642 * sysdeps/sh/elf/initfini.c: Remove file.
5643
f63f3380
DM
56442012-02-16 David S. Miller <davem@davemloft.net>
5645
fb59b3a4
DM
5646 [BZ #11494]
5647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5648
f63f3380
DM
5649 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5650 * sysdeps/sparc/crti.S: New file.
5651 * sysdeps/sparc/crtn.S: New file.
5652 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5653 * sysdeps/sparc/sparc64/Makefile: Likewise.
5654
df6a4a4a
MF
56552012-02-15 Mike Frysinger <vapier@gentoo.org>
5656
6dd8f3dc 5657 [BZ #3335]
df6a4a4a
MF
5658 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5659
1cac7236
RM
56602012-02-15 Roland McGrath <roland@hack.frob.com>
5661
d2c736f8
RM
5662 [BZ #4822]
5663 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5664
1cac7236
RM
5665 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5666 (write, read, close): Likewise.
5667 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5668
8e475601
JM
56692012-02-15 Joseph Myers <joseph@codesourcery.com>
5670
5671 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5672 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5673 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5674 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5675 <bits/signalfd.h>.
5676 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5678 bits/signalfd.h.
5679
ed656b40
MP
56802012-02-14 Marek Polacek <polacek@redhat.com>
5681
5682 * sysdeps/x86_64/crti.S: New file.
5683 * sysdeps/x86_64/crtn.S: New file.
5684 * sysdeps/x86_64/elf/initfini.c: Remove file.
5685
2a979d3a
JM
56862012-02-13 Joseph Myers <joseph@codesourcery.com>
5687
5688 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5689 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5690 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5691 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5692 <bits/inotify.h>.
5693 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5695 bits/inotify.h.
5696
2a418ac3
JM
56972012-02-13 Joseph Myers <joseph@codesourcery.com>
5698
5699 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5700 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5702 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5703 <bits/eventfd.h>.
5704 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5706 bits/eventfd.h.
5707
fb779be7
TS
57082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5709
e19e83c5
RM
5710 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5711 __feraiseexcept instead of feraiseexcept.
7c35ffed 5712
fb779be7
TS
5713 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5714 nanosleep invocations.
5715 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5716 strings, and add error checking for a nanosleep invocations.
5717
59ba27a6
PE
57182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5719
5720 Replace FSF snail mail address with URLs, as per GNU coding standards.
5721 Most of the snail mail addresses were wrong anyway, and omitting
5722 them makes the source code easier to maintain. Almost all of the
5723 changes are to license notices and to locale LC_IDENTIFICATION
5724 addresses, except for this one:
5725 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5726 not its snail mail address.
5727
57b957eb
RH
57282012-02-09 Richard Henderson <rth@twiddle.net>
5729
af850b1c
RH
5730 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5731 of kernel-features.h.
5732
57b957eb
RH
5733 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5734
6b73181a
MP
57352012-02-08 Marek Polacek <polacek@redhat.com>
5736
5737 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5738 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5739 * sysdeps/gnu/_G_config.h: Likewise.
5740 * sysdeps/generic/_G_config.h: Likewise.
5741
26ecc33a
AS
57422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5743
6c6dbc63
AS
5744 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5745 tests.
5746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747
e216c012
AS
5748 * sysdeps/powerpc/powerpc32/crti.S: New file.
5749 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5750 * sysdeps/powerpc/powerpc64/crti.S: New file.
5751 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5752
26ecc33a
AS
5753 * Makeconfig (have-initfini): Don't set.
5754 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5755 * configure.in (nopic_initfini): Don't substitute.
5756 * config.h.in (HAVE_INITFINI): Don't #undef.
5757 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5758 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5759
3add8e13
JM
57602012-02-08 Joseph Myers <joseph@codesourcery.com>
5761
5762 Support crti.S and crtn.S provided directly by architectures.
5763 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5764 [crti.S in sysdirs] (omit-deps): Likewise.
5765 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5766 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5767 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5768 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5769 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5770 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5771 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5772 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5773 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5774 compiler output for sysdeps/generic/initfini.c.
5775 * sysdeps/i386/elf/Makefile: Remove file.
5776 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5777
a22f12b4
MP
57782012-02-07 Marek Polacek <polacek@redhat.com>
5779
5780 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5781 * sysdeps/gnu/_G_config.h: Likewise.
5782 * sysdeps/mach/hurd/_G_config.h: Likewise.
5783
148cf100
MP
57842012-02-07 Marek Polacek <polacek@redhat.com>
5785
5786 * math/Makefile (tests): Add tst-CMPLX2.
5787 * math/tst-CMPLX2.c: New file.
5788
cfdc0dd7
AS
57892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5790
84ba42c4
AS
5791 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5792
cfdc0dd7
AS
5793 * math/libm-test.inc (jn_test): Add missing L suffix.
5794
622c86f4
MP
57952012-02-06 Marek Polacek <polacek@redhat.com>
5796
5797 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5798 * sysdeps/i386/fpu/e_powf.S: Likewise.
5799 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5800 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5801 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5802 * sysdeps/i386/fpu/e_pow.S: Likewise.
5803 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5804 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5805 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5806 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5807 * sysdeps/i386/fpu/e_log2.S: Likewise.
5808 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5809 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5810 * sysdeps/i386/fpu/e_powl.S: Likewise.
5811 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5813 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5814 * sysdeps/i386/fpu/e_logl.S: Likewise.
5815 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5816 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5821 * sysdeps/i386/fpu/e_log.S: Likewise.
5822 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5823 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5824 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5825 * sysdeps/i386/fpu/e_logf.S: Likewise.
5826 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5827 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5828 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5829 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5830 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5831 * sysdeps/i386/fpu/e_log10.S: Likewise.
5832 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5833 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5834 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5835 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5836 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5837 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5838 * sysdeps/i386/asm-syntax.h: Likewise.
5839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5842 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5843 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5844 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5845 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5846 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5847 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5848 * sysdeps/powerpc/sysdep.h: Likewise.
5849 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5850 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5851
d4a54ac6
JM
58522012-02-06 Joseph Myers <joseph@codesourcery.com>
5853
5854 [BZ #411]
5855 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5856
314054ea
JM
58572012-02-06 Joseph Myers <joseph@codesourcery.com>
5858
5859 * sysdeps/i386/sysdep.h: Include <features.h>.
5860 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5861 version.
5862
d8e0ca50
JM
58632012-02-05 Joseph Myers <joseph@codesourcery.com>
5864
5865 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5866 Define.
5867 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5868 LOAD_PIC_REG_STR.
5869
b1da7dd9
JM
58702012-02-03 Joseph Myers <joseph@codesourcery.com>
5871
5872 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5873 (SETUP_PIC_REG): Use GET_PC_THUNK.
5874 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5875 macro.
5876
9a1d9254
JM
58772012-02-03 Joseph Myers <joseph@codesourcery.com>
5878
5879 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5880 for non-PIC compilation.
5881 (SETUP_PIC_REG): Add .p2align directive.
5882 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5883 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5884 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5885 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5886 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5890 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5891 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5892 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5893 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5894 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5895 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5896 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5897 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5898 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5899 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5900 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5901 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5902 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5903 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5904 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5905 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5910 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5911 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5912 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5913 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5914 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5915 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5916 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5917 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5918 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5919 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5920 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5921 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5922 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5923
65dc3b75
JM
59242012-02-03 Joseph Myers <joseph@codesourcery.com>
5925
5926 * math/tst-CMPLX.c: Include <stdio.h>.
5927
d55bf177
JM
59282012-01-31 Joseph Myers <joseph@codesourcery.com>
5929
5930 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5931 float.
5932 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5933 * sysdeps/sparc/bits/mathdef.h: Likewise.
5934
69db4f8f
MP
59352012-01-31 Marek Polacek <polacek@redhat.com>
5936
5937 * libio/libio.h: Don't define _PARAMS.
5938 * locale/programs/config.h: Don't define PARAMS.
5939 * stdlib/strtol_l.c: Likewise.
5940 (__strtol_l): Remove PARAMS from the prototype.
5941
41b81892
UD
59422012-01-31 Ulrich Drepper <drepper@gmail.com>
5943
3b49edc0
UD
5944 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5945 names. Just use the correct names. Remove unnecessary wrapper
5946 functions.
5947 * malloc/arena.c: Likewise.
5948 * malloc/hooks.c: Likewise.
5949
41b81892
UD
5950 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5951 ARENA_TEST says not to. Simplify test for creation of a new arena.
5952 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5953
27a25b6e
UD
59542012-01-30 Ulrich Drepper <drepper@gmail.com>
5955
5956 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5957 into tail calls.
5958 (update_get_addr): New function.
5959 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5960 GET_ADDR_MODULE parameter.
5961
c8a89e7d
JM
59622012-01-30 Joseph Myers <joseph@codesourcery.com>
5963
5964 * crypt/cert.c: Remove __STDC__ conditionals.
5965 * crypt/crypt-entry.c: Likewise.
5966 * crypt/crypt_util.c: Likewise.
5967 * libio/filedoalloc.c: Likewise.
5968 * libio/fileops.c: Likewise.
5969 * libio/genops.c: Likewise.
5970 * libio/iofclose.c: Likewise.
5971 * libio/iofdopen.c: Likewise.
5972 * libio/iofopen.c: Likewise.
5973 * libio/iofopen64.c: Likewise.
5974 * libio/iogetdelim.c: Likewise.
5975 * libio/iopopen.c: Likewise.
5976 * libio/obprintf.c: Likewise.
5977 * libio/oldfileops.c: Likewise.
5978 * libio/oldiofclose.c: Likewise.
5979 * libio/oldiofdopen.c: Likewise.
5980 * libio/oldiofopen.c: Likewise.
5981 * libio/oldiopopen.c: Likewise.
5982 * libio/wfiledoalloc.c: Likewise.
5983 * libio/wgenops.c: Likewise.
5984 * locale/programs/xmalloc.c: Likewise.
5985 * misc/syslog.c: Likewise.
5986 * stdio-common/xbug.c: Likewise.
5987 * string/memchr.c: Likewise.
5988 * string/memcmp.c: Likewise.
5989 * string/memrchr.c: Likewise.
5990 * string/rawmemchr.c: Likewise.
5991 * sysdeps/posix/getcwd.c: Likewise.
5992 * time/strftime_l.c: Likewise.
5993
3b100462
JM
59942012-01-30 Joseph Myers <joseph@codesourcery.com>
5995
5996 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5997 * config.make.in (config-cflags-sse2avx): Define.
5998 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5999 Fix typo.
6000
607998af
CM
60012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6002
6003 * scripts/config.guess: Update from upstream config git repository.
6004 * scripts/config.sub: Likewise.
6005
3601428f
CM
60062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6007
3ac8b282
CM
6008 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6009 (EM_NUM): Update.
6010 (R_TILEPRO_*, R_TILEGX_*): New macros.
6011
e034841e
CM
6012 * scripts/firstversions.awk: Fix bug in version range handling.
6013
540d7568
CM
6014 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6015
3601428f
CM
6016 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6017
463de862
CM
6018 * include/sys/epoll.h: New file.
6019 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6020 libc_hidden_def.
6021
73139a76
UD
60222012-01-28 Ulrich Drepper <drepper@gmail.com>
6023
96bc5b45
UD
6024 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6025 Avoid unnecessary __WORDSIZE == 64 test.
6026 (fmaxf): Use VEX format if possible.
6027 (fmax): Likewise.
6028 (fminf): Likewise.
6029 (fmin): Likewise.
6030
56f6f6a2
UD
6031 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6032 * math/math_private.h: Remove libc_fegetround* and
6033 libc_fesetround*.
6034 * sysdeps/i386/configure.in: Check for -msse2avx.
6035 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6036 also if SSE2AVX is defined.
6037 Remove libc_fegetround* and libc_fesetround*.
6038 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6039 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6040 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6041 of HAS_YMM_USABLE.
6042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6044 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6045 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6047
73139a76
UD
6048 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6049
d73f93a4
AZ
60502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6053 size is not set.
6054 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6055
6ee65ed6
UD
60562012-01-27 Ulrich Drepper <drepper@gmail.com>
6057
6058 [BZ #13618]
6059 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6060 relocation.
6061 * Makeconfig (libm): Define.
6062 * elf/Makefile: Add rules to build and run tst-relsort1.
6063 * elf/tst-relsort1.c: New file.
6064 * elf/tst-relsort1mod1.c: New file.
6065 * elf/tst-relsort1mod2.c: New file.
6066
8db21882
JM
60672012-01-27 Joseph Myers <joseph@codesourcery.com>
6068
6069 * math/s_ldexp.c: Remove __STDC__ conditionals.
6070 * math/s_ldexpf.c: Likewise.
6071 * math/s_ldexpl.c: Likewise.
6072 * math/s_nextafter.c: Likewise.
6073 * math/s_nexttowardf.c: Likewise.
6074 * math/s_significand.c: Likewise.
6075 * math/s_significandf.c: Likewise.
6076 * math/s_significandl.c: Likewise.
6077 * math/w_jnl.c: Likewise.
6078 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6079 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6080 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6081 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6082 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6099 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6100 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6101 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6102 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6103 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6104 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6105 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6106 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6107 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6108 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6109 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6110 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6112 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6113 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6114 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6118 * sysdeps/ieee754/k_standard.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6185 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6193 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6195 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6198 * sysdeps/ieee754/s_matherr.c: Likewise.
6199 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6200 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6203
965a54a4
JM
62042012-01-26 Joseph Myers <joseph@codesourcery.com>
6205
6206 * crypt/md5.h: Remove __STDC__ conditionals.
6207 * libio/libioP.h: Likewise.
6208 * locale/programs/config.h: Likewise.
6209 * sysdeps/generic/sysdep.h: Likewise.
6210 * sysdeps/i386/asm-syntax.h: Likewise.
6211 * sysdeps/s390/asm-syntax.h: Likewise.
6212 * sysdeps/unix/sysdep.h: Likewise.
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6215
7071ad79
JM
62162012-01-26 Joseph Myers <joseph@codesourcery.com>
6217
6218 * libio/libio.h: Remove __STDC__ conditionals.
6219 * malloc/obstack.h: Likewise.
6220 * math/complex.h: Likewise.
6221 * math/math.h: Likewise.
6222 * sysdeps/generic/_G_config.h: Likewise.
6223 * sysdeps/gnu/_G_config.h: Likewise.
6224 * sysdeps/mach/hurd/_G_config.h: Likewise.
6225 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6226 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6227 * sysdeps/sparc/bits/mathdef.h: Likewise.
6228
afc5ed09
UD
62292012-01-26 Ulrich Drepper <drepper@gmail.com>
6230
6231 [BZ #13583]
6232 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6233 Clean up HAS_* macros.
afc5ed09 6234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6235 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6236 possible.
6237 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6238 HAS_AVX.
6239 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6240 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6241 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6244
bdb6de1d
JM
62452012-01-25 Joseph Myers <joseph@codesourcery.com>
6246
6247 * elf/tst-unique3.cc (gets): Remove declaration.
6248 * elf/tst-unique3lib.cc (gets): Likewise.
6249 * elf/tst-unique3lib2.cc (gets): Likewise.
6250 * elf/tst-unique4.cc (gets): Likewise.
6251
b15549e6
UD
62522012-01-24 Ulrich Drepper <drepper@gmail.com>
6253
6254 * include/stdio.h: Add C++ protection. Add gets declarations and
6255 definitions.
6256 * debug/tst-chk1.c: Don't declare gets here.
6257 * stdio-common/tst-gets.c: Likewise.
6258
a037381f
JM
62592012-01-24 Joseph Myers <joseph@codesourcery.com>
6260
6261 * posix/glob: Remove directory.
6262
f1d4aa75
JM
62632012-01-24 Joseph Myers <joseph@codesourcery.com>
6264
6265 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6266
81c0c964
PT
62672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6268
6269 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6270 of the non-standard EPFNOSUPPORT.
6271
0ea698ae
ST
62722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6273
6274 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6275 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6276 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6277
d220b117
UD
62782012-01-21 Ulrich Drepper <drepper@gmail.com>
6279
6280 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6281
3e1aa84e
UD
62822012-01-20 Ulrich Drepper <drepper@gmail.com>
6283
6284 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6285 transient errors.
6286 * nscd/grpcache.c (cache_addgr): Likewise.
6287 * nscd/hstcache.c (cache_addhst): Likewise.
6288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6289 * nscd/pwdcache.c (cache_addpw): Likewise.
6290 * nscd/servicescache.c (cache_addserv): Likewise.
6291
400aa020
UD
62922012-01-16 Ulrich Drepper <drepper@gmail.com>
6293
d77e7869
UD
6294 * malloc/malloc.c: Various cleanups.
6295 * malloc/hooks.c: Likewise.
6296
400aa020
UD
6297 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6298 * stdlib/bug-fmtmsg1.c: New file.
6299
6300 * stdlib/fmtmsg.c (init): Add missing unlock.
6301 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6302
e0a309cf
MP
63032012-01-12 Marek Polacek <polacek@redhat.com>
6304
6305 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6306 and _GNU_SOURCE.
6307
929d11c7
WS
63082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6309
6310 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6311 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6312 macro to ensure uniqueness of label name.
6313 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6314 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6315
41d0e869
UD
63162012-01-11 Ulrich Drepper <drepper@gmail.com>
6317
0cc5ed3b
UD
6318 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6319
41d0e869
UD
6320 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6321 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6322 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6324
a47a831a
UD
63252012-01-10 Ulrich Drepper <drepper@gmail.com>
6326
daa891c0
UD
6327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6328
6329 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6330 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6332
e58ef0f2
UD
6333 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6334
a47a831a 6335 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6336 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6337 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6339
6340 * math/bits/math-finite.h: Add ldexp support.
6341
a0bfc9c7
MP
63422012-01-10 Marek Polacek <polacek@redhat.com>
6343
6344 * locale/programs/localedef.h (show_archive_content): Add noreturn
6345 attribute.
6346
d6e97a1d
UD
63472012-01-09 Ulrich Drepper <drepper@gmail.com>
6348
6349 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6350
d5835c26
UD
63512012-01-08 Ulrich Drepper <drepper@gmail.com>
6352
e5f484c6
UD
6353 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6354
d5835c26
UD
6355 * io/Makefile (headers): Add bits/poll2.h.
6356
d1f741e9
WS
63572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6358
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6360 typo #include statement.
6361
ec09c1c4
UD
63622012-01-08 Ulrich Drepper <drepper@gmail.com>
6363
6364 * include/sys/cdefs.h: Define __attribute_alloc_size.
6365 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6366 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6367 * elf/pldd.c: Likewise.
6368 * iconv/iconv_charmap.c: Likewise.
6369 * iconv/iconvconfig.c: Likewise.
6370 * iconv/strtab.c: Likewise.
6371 * locale/programs/locale.c: Likewise.
6372 * locale/programs/localedef.h: Likewise.
6373 * locale/programs/simple-hash.c: Likewise.
6374 * nscd/nscd.h: Likewise.
6375 * nss/makedb.c: Likewise.
6376 * sysdeps/generic/ldconfig.h: Likewise.
6377 * locale/programs/localedef.c: Remove xmalloc prototype.
6378 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6379
20b38e03
PP
63802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6381
6382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6383 appropriate.
6384
a0da5fe1
UD
63852012-01-08 Ulrich Drepper <drepper@gmail.com>
6386
1d5a644a 6387 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6388 * math/tst-CMPLX.c: New file.
1d5a644a 6389
8784a6db
UD
6390 * math/complex.h (CMPLXL): Fix typo.
6391
d9a216c0
UD
6392 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6393 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6394 GLIBC_2.16.
6395 * debug/tst-chk1.c: Add poll and ppoll tests.
6396 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6397 * include/sys/poll.h: Add hidden proto for ppoll.
6398 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6399 * sysdeps/mach/hurd/ppoll.c: Likewise.
6400 * io/ppoll.c: Likewise.
6401 * debug/poll_chk.c: New file.
6402 * debug/ppoll_chk.c: New file.
6403 * include/bits/poll2.h: New file.
6404 * io/bits/poll2.h: New file.
6405
ac097f5c
UD
6406 [BZ #1350]
6407 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6408
2119dcfa
UD
6409 * configure.in: static is always set to yes. Remove.
6410 * config.make.in: Don't set build-static.
6411 * Makeconfig: Remove use of build-static.
6412 * dlfcn/Makefile: Likewise.
6413 * elf/Makefile: Likewise.
6414 * math/Makefile: Likewise.
6415 * misc/Makefile: Likewise.
6416 * nptl/Makefile: Likewise.
6417 * sysdeps/mach/hurd/Makefile: Likewise.
6418
121766a9
UD
6419 * configure.in: PWD_P is not used anymore.
6420 * config.make.in: Remove PWD_P entry.
6421
51a1d39c 6422 * configure.in: Remove last remnants of RANLIB.
8720d066 6423 No need to check for signed size_t anymore.
215f4bdc
UD
6424 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6425 and IA-64.
3857022a 6426 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6427 * aclocal.m4: Likewise.
6428
d3ed7225
UD
6429 * wcsmbs/mbrtoc16.c: Implement using towc function.
6430 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6431 * wcsmbs/wcsmbsload.c: Likewise.
6432 * iconv/gconv_simple.c: Likewise.
6433 * iconv/gconv_int.h: Likewise.
6434 * iconv/gconv_builtin.h: Likewise.
6435 * iconv/iconv_prog.c: Remove CHAR16 handling.
6436
6437 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6438
6439 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6440
a0da5fe1
UD
6441 * configure.in: Remove --with-elf and --enable-bounded options.
6442 Dont set base_machine for ia64. More non-ELF conditions removed.
6443 Remove testing and setting of leading underscore information.
6444 * config.make.in (build-bounded): Set to no.
6445 * config.h.in: Remove NO_UNDERSCORES entry.
6446 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6447 them.
6448 * csu/start.c: Remove !NO_UNDERSCORE code.
6449 * locale/localeinfo.h: Likewise.
6450 * sysdeps/generic/machine-gmon.h: Likewise.
6451 * sysdeps/generic/sysdep.h: Likewise.
6452 * sysdeps/i386/sysdep.h: Likewise.
6453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6454 * sysdeps/mach/sysdep.h: Likewise.
6455 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6456 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6457 * sysdeps/sh/sysdep.h: Likewise.
6458 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6459 * sysdeps/unix/i386/sysdep.S: Likewise.
6460 * sysdeps/unix/sparc/start.c: Likewise.
6461 * sysdeps/unix/sparc/sysdep.S: Likewise.
6462 * sysdeps/unix/sparc/sysdep.h: Likewise.
6463 * sysdeps/unix/start.c: Likewise.
6464 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6465 * sysdeps/x86_64/sysdep.h: Likewise.
6466
df78418a
UD
64672012-01-07 Ulrich Drepper <drepper@gmail.com>
6468
a784e502
UD
6469 [BZ #13553]
6470 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6471 for non-gcc.
6472 * argp/argp-fmtstream.h: Use const instead __const.
6473 * argp/argp.h: Likewise.
6474 * assert/assert.h: Likewise.
6475 * bits/fenv.h: Likewise.
6476 * bits/sched.h: Likewise.
6477 * bits/sigset.h: Likewise.
6478 * bits/sigthread.h: Likewise.
6479 * catgets/nl_types.h: Likewise.
6480 * conform/data/pthread.h-data: Likewise.
6481 * crypt/crypt-private.h: Likewise.
6482 * crypt/crypt.h: Likewise.
6483 * crypt/crypt_util.c: Likewise.
6484 * ctype/ctype.h: Likewise.
6485 * debug/execinfo.h: Likewise.
6486 * debug/mbsnrtowcs_chk.c: Likewise.
6487 * debug/mbsrtowcs_chk.c: Likewise.
6488 * debug/wcsnrtombs_chk.c: Likewise.
6489 * debug/wcsrtombs_chk.c: Likewise.
6490 * debug/wcstombs_chk.c: Likewise.
6491 * dirent/dirent.h: Likewise.
6492 * dlfcn/dlfcn.h: Likewise.
6493 * elf/neededtest4.c: Likewise.
6494 * grp/grp.h: Likewise.
6495 * gshadow/gshadow.h: Likewise.
6496 * iconv/gconv.h: Likewise.
6497 * iconv/gconv_int.h: Likewise.
6498 * iconv/gconv_simple.c: Likewise.
6499 * iconv/iconv.h: Likewise.
6500 * iconv/loop.c: Likewise.
6501 * iconv/skeleton.c: Likewise.
6502 * include/aio.h: Likewise.
6503 * include/aliases.h: Likewise.
6504 * include/argz.h: Likewise.
6505 * include/arpa/inet.h: Likewise.
6506 * include/assert.h: Likewise.
6507 * include/dirent.h: Likewise.
6508 * include/dlfcn.h: Likewise.
6509 * include/execinfo.h: Likewise.
6510 * include/fcntl.h: Likewise.
6511 * include/fenv.h: Likewise.
6512 * include/glob.h: Likewise.
6513 * include/grp.h: Likewise.
6514 * include/libintl.h: Likewise.
6515 * include/mntent.h: Likewise.
6516 * include/netdb.h: Likewise.
6517 * include/pwd.h: Likewise.
6518 * include/rpc/netdb.h: Likewise.
6519 * include/sched.h: Likewise.
6520 * include/search.h: Likewise.
6521 * include/shadow.h: Likewise.
6522 * include/signal.h: Likewise.
6523 * include/stdio.h: Likewise.
6524 * include/stdlib.h: Likewise.
6525 * include/string.h: Likewise.
6526 * include/sys/socket.h: Likewise.
6527 * include/sys/stat.h: Likewise.
6528 * include/sys/statfs.h: Likewise.
6529 * include/sys/statvfs.h: Likewise.
6530 * include/sys/syslog.h: Likewise.
6531 * include/sys/time.h: Likewise.
6532 * include/sys/uio.h: Likewise.
6533 * include/time.h: Likewise.
6534 * include/unistd.h: Likewise.
6535 * include/utmp.h: Likewise.
6536 * include/wchar.h: Likewise.
6537 * include/wctype.h: Likewise.
6538 * inet/aliases.h: Likewise.
6539 * inet/arpa/inet.h: Likewise.
6540 * inet/netinet/ether.h: Likewise.
6541 * inet/netinet/in.h: Likewise.
6542 * intl/libintl.h: Likewise.
6543 * io/bits/fcntl2.h: Likewise.
6544 * io/fcntl.h: Likewise.
6545 * io/ftw.h: Likewise.
6546 * io/sys/poll.h: Likewise.
6547 * io/sys/stat.h: Likewise.
6548 * io/sys/statfs.h: Likewise.
6549 * io/sys/statvfs.h: Likewise.
6550 * io/utime.h: Likewise.
6551 * libio/bits/stdio.h: Likewise.
6552 * libio/bits/stdio2.h: Likewise.
6553 * libio/libio.h: Likewise.
6554 * libio/libioP.h: Likewise.
6555 * libio/stdio.h: Likewise.
6556 * locale/lc-ctype.c: Likewise.
6557 * locale/locale.h: Likewise.
6558 * login/utmp.h: Likewise.
6559 * malloc/arena.c: Likewise.
6560 * malloc/malloc.c: Likewise.
6561 * malloc/malloc.h: Likewise.
6562 * malloc/mcheck.c: Likewise.
6563 * malloc/mtrace.c: Likewise.
6564 * math/bits/mathcalls.h: Likewise.
6565 * math/fenv.h: Likewise.
6566 * math/math_private.h: Likewise.
6567 * misc/bits/error.h: Likewise.
6568 * misc/bits/syslog.h: Likewise.
6569 * misc/err.h: Likewise.
6570 * misc/error.h: Likewise.
6571 * misc/fstab.h: Likewise.
6572 * misc/mntent.h: Likewise.
6573 * misc/regexp.h: Likewise.
6574 * misc/search.h: Likewise.
6575 * misc/sgtty.h: Likewise.
6576 * misc/sys/mman.h: Likewise.
6577 * misc/sys/syslog.h: Likewise.
6578 * misc/sys/uio.h: Likewise.
6579 * misc/sys/xattr.h: Likewise.
6580 * misc/ttyent.h: Likewise.
6581 * nis/rpcsvc/ypclnt.h: Likewise.
6582 * nss/nss.h: Likewise.
6583 * posix/bits/unistd.h: Likewise.
6584 * posix/fnmatch.h: Likewise.
6585 * posix/glob.h: Likewise.
6586 * posix/sched.h: Likewise.
6587 * posix/spawn.h: Likewise.
6588 * posix/sys/wait.h: Likewise.
6589 * posix/unistd.h: Likewise.
6590 * posix/wordexp.h: Likewise.
6591 * pwd/pwd.h: Likewise.
6592 * resolv/netdb.h: Likewise.
6593 * resource/sys/resource.h: Likewise.
6594 * rt/aio.h: Likewise.
6595 * rt/bits/mqueue2.h: Likewise.
6596 * rt/mqueue.h: Likewise.
6597 * shadow/shadow.h: Likewise.
6598 * signal/signal.h: Likewise.
6599 * socket/send.c: Likewise.
6600 * socket/sendto.c: Likewise.
6601 * socket/sys/socket.h: Likewise.
6602 * stdio-common/printf.h: Likewise.
6603 * stdlib/bits/stdlib.h: Likewise.
6604 * stdlib/fmtmsg.h: Likewise.
6605 * stdlib/monetary.h: Likewise.
6606 * stdlib/stdlib.h: Likewise.
6607 * stdlib/ucontext.h: Likewise.
6608 * streams/stropts.h: Likewise.
6609 * string/argz.h: Likewise.
6610 * string/bits/string2.h: Likewise.
6611 * string/string.h: Likewise.
6612 * string/strings.h: Likewise.
6613 * sunrpc/rpc/auth.h: Likewise.
6614 * sunrpc/rpc/auth_des.h: Likewise.
6615 * sunrpc/rpc/clnt.h: Likewise.
6616 * sunrpc/rpc/netdb.h: Likewise.
6617 * sunrpc/rpc/pmap_clnt.h: Likewise.
6618 * sunrpc/rpc/xdr.h: Likewise.
6619 * sysdeps/generic/inttypes.h: Likewise.
6620 * sysdeps/generic/net/if.h: Likewise.
6621 * sysdeps/generic/sys/swap.h: Likewise.
6622 * sysdeps/gnu/net/if.h: Likewise.
6623 * sysdeps/gnu/utmpx.h: Likewise.
6624 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6625 * sysdeps/i386/i486/bits/string.h: Likewise.
6626 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6627 * sysdeps/s390/bits/string.h: Likewise.
6628 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6629 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6630 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6631 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6632 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6633 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6634 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6635 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6636 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6637 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6638 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6639 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6640 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6641 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6642 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6643 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6644 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6650 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6651 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6652 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6653 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6654 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6655 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6656 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6658 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6659 * sysvipc/sys/ipc.h: Likewise.
6660 * sysvipc/sys/msg.h: Likewise.
6661 * sysvipc/sys/sem.h: Likewise.
6662 * sysvipc/sys/shm.h: Likewise.
6663 * termios/termios.h: Likewise.
6664 * time/sys/time.h: Likewise.
6665 * time/time.h: Likewise.
6666 * wcsmbs/bits/wchar2.h: Likewise.
6667 * wcsmbs/uchar.h: Likewise.
6668 * wcsmbs/wchar.h: Likewise.
6669 * wctype/wctype.h: Likewise.
6670
0269750c
UD
6671 [BZ #13551]
6672 * Makeconfig: Remove all but ELF support including AIX support.
6673 * Makerules: Likewise.
6674 * config.h.in: Likewise.
6675 * config.make.in: Likewise.
6676 * configure: Likewise.
6677 * configure.in: Likewise.
6678 * csu/Makefile: Likewise.
6679 * csu/version.c: Likewise.
6680 * debug/Makefile: Likewise.
6681 * dlfcn/Makefile: Likewise.
6682 * elf/Makefile: Likewise.
6683 * extra-lib.mk: Likewise.
6684 * iconv/Makefile: Likewise.
6685 * include/libc-symbols.h: Likewise.
6686 * include/shlib-compat.h: Likewise.
6687 * resolv/Makefile: Likewise.
6688 * resolv/res_libc.c: Likewise.
6689 * rt/Makefile: Likewise.
6690 * sysdeps/i386/asm-syntax.h: Likewise.
6691 * sysdeps/i386/sysdep.h: Likewise.
6692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6693 * sysdeps/mach/sysdep.h: Likewise.
6694 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6695 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6696 * sysdeps/s390/asm-syntax.h: Likewise.
6697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6698 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6699 * sysdeps/sh/sysdep.h: Likewise.
6700 * sysdeps/unix/sparc/sysdep.h: Likewise.
6701 * sysdeps/wordsize-32/divdi3.c: Likewise.
6702 * sysdeps/x86_64/sysdep.h: Likewise.
6703
00bbd29b
UD
6704 * argp/Versions: Remove _argp_unlock_xxx.
6705
6706 [BZ #13559]
6707 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6708 * abilist/libBrokenLocale.abilist: Likewise.
6709 * abilist/libanl.abilist: Likewise.
6710 * abilist/libc.abilist: Likewise.
6711 * abilist/libcrypt.abilist: Likewise.
6712 * abilist/libdl.abilist: Likewise.
6713 * abilist/libm.abilist: Likewise.
6714 * abilist/libnsl.abilist: Likewise.
6715 * abilist/libpthread.abilist: Likewise.
6716 * abilist/libresolv.abilist: Likewise.
6717 * abilist/librt.abilist: Likewise.
6718 * abilist/libthread_db.abilist: Likewise.
6719 * abilist/libutil.abilist: Likewise.
6720 * abilist/libnss_db.abilist: New file.
6721
6722 * scripts/abilist.awk: Add support for indirect functions.
6723
a2693a0e
UD
6724 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6725
3f05895f
UD
6726 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6727
ecb6fb48
UD
6728 * shlib-versions: Remove entries for ports architectures.
6729
664f8cb9
UD
6730 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6731 files in ports.
6732 * elf/stackguard-macros.h: Remove support for IA-64.
6733 * elf/tst-auditmod1.c: Likewise.
6734 * sysdeps/generic/ldsodefs.h: Likewise.
6735
7ae81d88
UD
6736 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6737 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6738 configure files.
6739
bdeba135
UD
6740 [BZ #13552]
6741 * configure.in: Remove --enable-omitfp support.
6742 * FAQ.in: Adjust.
6743 * config.make.in: Likewise.
6744 * Makeconfig: Likewise.
6745 * manual/install.texi: Likewise.
6746
d75a0a62
UD
6747 In case anyone cares, the IA-64 architecture could move to ports.
6748 * sysdeps/ia64/*: Removed.
6749 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6750 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6751
dcc9756b
UD
6752 [BZ #13555]
6753 * configure.in: Remove entries for unsupported architectures.
6754
d3761ebc 6755 [BZ #13533]
9954432e
UD
6756 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6757 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6758 routines.
6759 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6760 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6761 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6762 fall back to using wcrtomb.
6763 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6764 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6765 renaming.
6766 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6767 * wcsmbs/tst-c16c32-1.c: New file.
6768
6769 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6770 local variable.
6771
c3a87236
UD
6772 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6773
28926a1b
UD
6774 * elf/tst-unique3.cc: Add explicit declaration of gets.
6775 * elf/tst-unique3lib.cc: Likewise.
6776 * elf/tst-unique3lib2.cc: Likewise.
6777 * elf/tst-unique4.cc: Likewise.
6778
df78418a
UD
6779 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6780
8ecd6b2a
JM
67812012-01-06 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #13566]
6784 * assert/assert.h (static_assert): Don't define for C++.
6785 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6786 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6787
9f115170
UD
67882012-01-03 Ulrich Drepper <drepper@gmail.com>
6789
5e0d0300
UD
6790 * iconv/loop.c (single loop): Fix assertion in storing of
6791 remaining bytes.
6792
9f115170
UD
6793 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6794
81fb02b0
UD
67952012-01-01 Ulrich Drepper <drepper@gmail.com>
6796
6797 * posix/getconf.c: Update copyright year.
6798 * nss/getent.c: Likewise.
a316c1f6 6799 * nss/makedb.c: Likewise.
81fb02b0
UD
6800 * iconv/iconvconfig.c: Likewise.
6801 * iconv/iconv_prog.c: Likewise.
6802 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6803 * elf/pldd.c: Likewise.
6804 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6805 * catgets/gencat.c: Likewise.
6806 * csu/version.c: Likewise.
6807 * elf/ldd.bash.in: Likewise.
6808 * elf/sprof.c (print_version): Likewise.
6809 * locale/programs/locale.c: Likewise.
6810 * locale/programs/localedef.c: Likewise.
a316c1f6 6811 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6812 * nscd/nscd.c (print_version): Likewise.
6813 * debug/xtrace.sh: Likewise.
6814 * malloc/memusage.sh: Likewise.
6815 * malloc/mtrace.pl: Likewise.
6816 * debug/catchsegv.sh: Likewise.
6817
2ba92745
JJ
68182011-12-30 Jakub Jelinek <jakub@redhat.com>
6819
6820 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6821 pure attribute.
6822
dadebdae
UD
68232011-12-24 Ulrich Drepper <drepper@gmail.com>
6824
d3761ebc 6825 [BZ #13533]
db6af3eb
UD
6826 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6827 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6828 transformations.
6829 * iconv/gconv_int.h: Likewise.
6830 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6831 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6832 from libc for GLIBC_2.16.
6833 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6834 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6835 * wcsmbs/uchar.h: Really define mbstate_t.
6836 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6837 * wcsmbs/c16rtomb.c: New file.
6838 * wcsmbs/mbrtoc16.c: New file.
6839 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6840 for C/POSIX locale.
6841 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6842 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6843
dadebdae
UD
6844 * wcsmbs/wchar.h: Add missing __restrict.
6845
67371b56
UD
68462011-12-23 Ulrich Drepper <drepper@gmail.com>
6847
74033a25
UD
6848 [BZ #13532]
6849 * time/Makefile (routines): Add timespec_get.
6850 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6851 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6852 timespec for ISO C11.
6853 * time/timespec_get.c: New file.
6854 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6855 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6856
380d7e87
UD
6857 [BZ #13531]
6858 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6859 * stdlib/stdlib.h: Declare aligned_alloc.
6860 * Versions.def: Add GLIBC_2.16 for libc.
6861 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6862
4e9e7a35
UD
6863 [BZ 13527]
6864 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6865 ISO C11.
6866
380d7e87 6867 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6868 code.
6869
03a71829
UD
6870 [BZ #13528]
6871 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6872
839e283e
UD
6873 [BZ #13529]
6874 * assert/assert.h (static_assert): Define.
6875
ce5294e2 6876 * version.h: Update for 2.16 development version.
90fa7312 6877
8d44e150 6878 [BZ #13526]
d7809905
UD
6879 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6880 _ISOC11_SOURCE.
6881
c0da14cd
UD
6882 * version.h (RELEASE): Bump for 2.15 release.
6883 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6884
530a3249
MP
6885 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6886 Patch by Marek Polacek <mpolacek@redhat.com>.
6887
67371b56
UD
6888 * bits/byteswap.h: Protect long long constants with __extension__.
6889 * sysdeps/i386/bits/byteswap.h: Likewise.
6890 * sysdeps/ia64/bits/byteswap.h: Likewise.
6891 * sysdeps/s390/bits/byteswap.h: Likewise.
6892 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6893
15db4de1
LD
68942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6895
6896 [BZ #13540]
bbe315ea
LD
6897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6898 destination buffer.
15db4de1
LD
6899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6900
2b2596b1
MP
69012011-12-23 Marek Polacek <polacek@redhat.com>
6902
6903 * elf/dl-addr.c (determine_info): Add inline keyword.
6904 * elf/tst-auditmod4b.c (check_avx): Likewise.
6905 * elf/tst-auditmod6b.c (check_avx): Likewise.
6906 * elf/tst-auditmod6c.c (check_avx): Likewise.
6907 * elf/tst-auditmod7b.c (check_avx): Likewise.
6908
70c6c246
UD
69092011-12-23 Ulrich Drepper <drepper@gmail.com>
6910
6911 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6912 !__SSE_MATH__.
6913
c044cf14
LD
69142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6915
15db4de1 6916 [BZ #13540]
c044cf14
LD
6917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6918 processing for last bytes.
6919
6b13d9d9
BH
69202011-08-06 Bruno Haible <bruno@clisp.org>
6921
d455f537
BH
6922 [BZ #13061]
6923 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6924 U+0385, not to U+1FEE.
6925
6b13d9d9
BH
6926 [BZ #13062]
6927 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6928 entry for U+00A5 U+0301.
6929
db910efd
UD
69302011-12-22 Ulrich Drepper <drepper@gmail.com>
6931
27deeafc
UD
6932 [BZ #13166]
6933 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6934 buffer for the output is too small.
6935
aed9d171
UD
6936 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6937 optimization.
6938
db910efd
UD
6939 [BZ #13185]
6940 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6941 SSE flags if possible.
6942
2bd779ae
LD
69432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6944
e7f9dac3 6945 [BZ #13540]
2bd779ae
LD
6946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6947 processing for last bytes.
6948
154bfc16
JM
69492011-12-22 Joseph Myers <joseph@codesourcery.com>
6950
6951 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6952 (syscall-list-default-options, syscall-list-default-condition)
6953 (syscall-list-includes): Define.
6954 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6955 list of ABIs and options and #if conditions for each ABI. Do not
6956 handle common syscalls between ABIs specially.
6957 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6958 Remove.
6959 (syscall-list-variants, syscall-list-32bit-options)
6960 (syscall-list-32bit-condition, syscall-list-64bit-options)
6961 (syscall-list-64bit-condition): Define.
6962 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
6967 Remove.
6968 (syscall-list-variants, syscall-list-32bit-options)
6969 (syscall-list-32bit-condition, syscall-list-64bit-options)
6970 (syscall-list-64bit-condition): Define.
6971 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6972 Remove.
6973 (syscall-list-variants, syscall-list-32bit-options)
6974 (syscall-list-32bit-condition, syscall-list-64bit-options)
6975 (syscall-list-64bit-condition): Define.
6976
21eaf3a5
UD
69772011-12-22 Ulrich Drepper <drepper@gmail.com>
6978
16c6f992
UD
6979 * locale/iso-639.def: Add brx entry.
6980
41043168
UD
6981 [BZ #13328]
6982 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6983 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6984
21eaf3a5
UD
6985 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6986 __feraiseexcept_renamed.
6987
e3a851a2
UD
69882011-12-21 Ulrich Drepper <drepper@gmail.com>
6989
4920765e
UD
6990 [BZ #13538]
6991 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6992 EPOLLET with unsigned values.
6993 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6995
e3a851a2
UD
6996 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6997 to large cancellation.
6998 * math/s_cacoshf.c: Likewise.
6999 * math/s_cacoshl.c: Likewise.
7000
b27e24b8
RK
70012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7002
7003 [BZ #13305]
aebefeee 7004 [BZ #12786]
b27e24b8
RK
7005 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7006 * math/s_cacoshf.c: Likewise.
7007 * math/s_cacoshl.c: Likewise.
7008
ee190f67
UD
70092011-12-21 Ulrich Drepper <drepper@gmail.com>
7010
7011 [BZ #13439]
7012 * iconv/gconv.h: Define __GCONV_SWAP.
7013 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7014 * iconvdata/utf-16.c: Likewise.
7015 * iconvdata/utf-32.c: Likewise.
7016
707f25df
AS
70172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7018
7019 [BZ #13524]
7020 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7021 numerator after shifting it by one limb.
7022
d2daaa1e
RÁE
70232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7024
7025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7026 under [__USE_EXTERN_INLINES].
7027
a4647e72
UD
70282011-12-17 Ulrich Drepper <drepper@gmail.com>
7029
7030 [BZ #13446]
7031 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7032
f0b264f1
AZ
70332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034
7035 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7036 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7037 optimized code.
7038 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7039 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7040 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7041 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7042 for strncasecmp/strncasecmp_l compilation.
7043 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7044 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7045
8ef4f244
MP
70462011-12-08 Marek Polacek <mpolacek@redhat.com>
7047
7048 [BZ #13484]
7049 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7050 of __asm__.
7051
97ac2654
UD
70522011-12-17 Ulrich Drepper <drepper@gmail.com>
7053
7054 [BZ #13506]
7055 * time/tzfile.c (__tzfile_read): Check values from file header.
7056
91d2a845
WS
70572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7058
7059 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7060 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7061 * powerpc/powerpc32/dl-start.S: Likewise.
7062 * powerpc/powerpc32/elf/start.S: Likewise.
7063 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7064 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7065 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7066 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7067 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7068 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7069 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7070 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7071 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7072 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7073 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7074 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7075 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7076 * powerpc/powerpc32/memset.S: Likewise.
7077 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7078 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7079 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7080 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7081 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7082 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7083 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7084 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7085 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7086 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7087 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7088 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7089 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7090
a1267ba1
AZ
70912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7092
7093 * math/libm-test.inc: Added more nearbyint tests.
7094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7095 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7096 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7097 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7098
ad8ac1bd
RL
70992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7100
7101 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7102 FD_CLOEXEC.
7103
1d3e4b61
UD
71042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7105
7106 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7107 Add wcscpy-ssse3 wcscpy-c.
7108 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7109 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7110 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7111 * sysdeps/x86_64/wcschr.S: New file.
7112 * sysdeps/x86_64/wcsrchr.S: New file.
7113 * string/test-strcmp.c: Remove checking of wcscmp function for
7114 wrong alignments.
7115 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7116 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7117 wcsrchr-sse2 wcsrchr-c.
7118 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7119 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7120 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7121 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7122 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7123 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7124 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7125 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7126 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7127 * wcsmbc/wcschr.c (WCSCHR): New macro.
7128
5b330a2d
UD
71292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7130
7131 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7132 * wcsmbs/test-wcsrchr.c: New file.
7133 * string/test-strrchr.c: Add wcsrchr support.
7134 (WIDE): New macro.
7135 * wcsmbs/test-wcscpy.c: New file.
7136 * string/test-strcpy.c: Add wcscpy support.
7137 (WIDE): New macro.
26428b7c 7138
f039c043
UD
71392011-12-10 Ulrich Drepper <drepper@gmail.com>
7140
7141 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7142 the inner loop.
7143
850fb039
AS
71442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7145
7146 [BZ #13472]
7147 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7148
4efbd5cb
UD
71492011-12-04 Ulrich Drepper <drepper@gmail.com>
7150
52ff5dd0 7151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7152 Minor optimizations.
52ff5dd0 7153
4efbd5cb
UD
7154 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7155 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7156 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7157
8a426e12
UD
71582011-12-03 Ulrich Drepper <drepper@gmail.com>
7159
aff2453d
UD
7160 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7161 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7162 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7163 for gcc to avoid warnings.
7164 * inet/Makefile (tests): Add tst-checks.
7165 * inet/tst-checks.c: New file.
7166
7167 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7168 warning.
7169
7170 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7171 __wmemcmp_sse2.
7172
7173 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7174 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7175
8a426e12
UD
7176 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7177
9bea3473
UD
71782011-12-02 Ulrich Drepper <drepper@gmail.com>
7179
3a965496
UD
7180 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7181 problem.
7182
9bea3473
UD
7183 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7184
f101631b
UD
71852011-11-29 Joseph Myers <joseph@codesourcery.com>
7186
7187 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7188 conditional on GCC version.
7189 (__arch_compare_and_exchange_val_8_acq)
7190 (__arch_compare_and_exchange_val_16_acq)
7191 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7192 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7193 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7194
a98275aa
UD
71952011-12-02 Joseph Myers <joseph@codesourcery.com>
7196
7197 * sysdeps/sh/backtrace.c: New file.
7198
d4cc29a2
AS
71992011-12-02 Andreas Schwab <schwab@redhat.com>
7200
7201 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7202 parenthesis.
7203
6257af2d
AS
72042011-12-01 Andreas Schwab <schwab@redhat.com>
7205
7206 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7207 falling back to utime.
7208
b5f44c1a
AS
72092011-11-30 Andreas Schwab <schwab@redhat.com>
7210
7211 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7212 expectations for float.
7213
f3a6cc0a
AS
72142011-11-29 Andreas Schwab <schwab@redhat.com>
7215
7216 * locale/weight.h (findidx): Add parameter len.
7217 * locale/weightwc.h (findidx): Likewise.
7218 * posix/fnmatch_loop.c (FCT): Adjust caller.
7219 * posix/regcomp.c (build_equiv_class): Likewise.
7220 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7221 * posix/regexec.c (check_node_accept_bytes): Likewise.
7222 * string/strcoll_l.c (STRCOLL): Likewise.
7223 * string/strxfrm_l.c (STRXFRM): Likewise.
7224
9d65ea3a
UD
72252011-11-17 Ulrich Drepper <drepper@gmail.com>
7226
7227 * Makefile.in: Remove CVSOPT handling.
7228 * configure.in: Remove use of AC_REVISION.
7229 * iconvdata/Makefile (distribute): No need to filter out CVS.
7230 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7231 handling.
7232
5583a086
AS
72332011-11-16 Andreas Schwab <schwab@redhat.com>
7234
7235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7236 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7237 [USE_AS_STRNCASECMP_L]: Likewise.
7238 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7239 NO_TLS_DIRECT_SEG_REFS.
7240 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7241 Fix argument offsets for non-PIC.
7242 [USE_AS_STRNCASECMP_L]: Likewise.
7243 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7244 NO_TLS_DIRECT_SEG_REFS.
7245
d62a8200
UD
72462011-11-15 Ulrich Drepper <drepper@gmail.com>
7247
9d65ea3a 7248 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7249 O_CLOEXEC.
7250 * locale/loadlocale.c (_nl_load_locale): Likewise.
7251
09f93bd3
AS
72522011-11-15 Andreas Schwab <schwab@redhat.com>
7253
446514f9
AS
7254 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7255 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7257 (SYSCALL_GETTIME): Set errno on error.
7258
09f93bd3
AS
7259 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7260 count references to noai6ai_cached.
7261
312be3f9
UD
72622011-11-15 Ulrich Drepper <drepper@gmail.com>
7263
7264 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7265
7266 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7267 FD_CLOEXEC for /proc/self/maps.
7268
7269 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7270 FD_CLOEXEC for /proc/meminfo.
7271
7272 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7273 gai.conf.
7274
7275 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7276 FD_CLOEXEC for given file.
7277
7278 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7279
7280 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7281 FD_CLOEXEC for /etc/hosts.
7282 (_gethtent): Likewise.
7283
7284 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7285
7286 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7287 cancellation and set FD_CLOEXEC for /etc/netgroup.
7288
7289 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7290 reading /etc/publickey.
7291
7292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7293 allow cancellation when reading /etc/group.
7294
7295 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7296 cancellation.
7297 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7298
7299 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7300 when using data file.
7301
7302 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7303
7304 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7305 (write_nis_obj): Use "c" and "e" in fopen.
7306
7307 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7308
7309 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7310
7311 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7312
7313 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7314
7315 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7316 locale.alias.
7317
7318 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7319
7320 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7321
7322 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7323
7324 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7325 file parsing and set FD_CLOEXEC.
7326
82af0fa8
UD
73272011-11-14 Ulrich Drepper <drepper@gmail.com>
7328
7329 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7330
a5fb313c
AS
73312011-11-14 Andreas Schwab <schwab@redhat.com>
7332
7333 * malloc/arena.c (arena_get2): Don't call reused_arena when
7334 _int_new_arena failed.
7335
6abf3465
UD
73362011-11-14 Ulrich Drepper <drepper@gmail.com>
7337
7338 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7339 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7341 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7342 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7344 to compile strcasecmp and strncasecmp.
7345 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7346 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7347
7348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7349
76e3966e
UD
73502011-11-13 Ulrich Drepper <drepper@gmail.com>
7351
7352 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7353 locale-defines.sym to gen-as-const-headers.
7354 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7355 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7357 to compile strcasecmp and strncasecmp.
7358 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7359 strcasecmp_l and strncasecmp_l.
7360 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7361 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7362 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7363 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7364 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7365 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7366 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7367 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7368 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7369 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7370 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7371
ab26144e
UD
73722011-11-12 Ulrich Drepper <drepper@gmail.com>
7373
7edb22ef
UD
7374 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7375 result of SYSDEP_GETTIME_CPU to retval.
7376 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7377 parameter list to macro. Remove trailing semicolon. Adjust users.
7378
9694fc44
UD
7379 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7380 variable.
7381
8ad89ef8
UD
7382 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7383 mantissa words.
7384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7385
0c822ef9
UD
7386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7387 from unused variable.
7388
874e0564
UD
7389 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7390 DWARF definitions.
7391 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7392 for assembling.
7393
3a2edc79
UD
7394 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7395 over namespaces.
7396
f3c2577f
UD
7397 * sunrpc/rpc_prot.c (rejected): Fix case value.
7398
294ce126
UD
7399 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7400 unsigned long long int to avoid warnings in shift.
7401
5e2b63c6
UD
7402 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7403 of use of trans.
7404 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7405 variable tmp.
7406
e7f4b08e
UD
7407 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7408 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7409 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7410
ab26144e
UD
7411 * nis/nis_table.c (nis_list): Use variable of correct type for
7412 result of __follow_path call.
7413
8a6d5255
AZ
74142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7415
7416 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7417 of math functions ceil, trunc, floor, round, and sqrt, when
7418 avaliable on the platform.
7419 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7420 name clash.
7421 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7422 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7423 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7424
aaddc98c
MP
74252011-10-30 Marek Polacek <mpolacek@redhat.com>
7426
7427 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7428 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7429
95b7042b
RM
74302011-11-11 Roland McGrath <roland@hack.frob.com>
7431
7432 * include/unistd.h: Fix __readlink return type.
7433 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7434
57769839
UD
74352011-11-11 Ulrich Drepper <drepper@gmail.com>
7436
7437 * stdlib/ucontext.h: Undo last change for makecontext.
7438
edc5984d
AS
74392011-11-11 Andreas Schwab <schwab@redhat.com>
7440
98591e58
AS
7441 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7442
edc5984d
AS
7443 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7444 * setjmp/setjmp.h: Mark functions as non-leaf.
7445 * setjmp/bits/setjmp2.h: Likewise.
7446 * stdlib/ucontext.h: Likewise.
7447
77cdc054
AS
74482011-11-10 Andreas Schwab <schwab@redhat.com>
7449
7450 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7451 (reused_arena): Don't check arena limit.
7452 (arena_get2): Atomically check arena limit.
7453
fe72eebd
UD
74542011-11-08 Ulrich Drepper <drepper@gmail.com>
7455
5f078c32
UD
7456 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7457 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7458
fe72eebd
UD
7459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7460 instructions.
7461
ae1bc2fa
AS
74622011-11-07 Andreas Schwab <schwab@redhat.com>
7463
7583a88d
AS
7464 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7465 handler when locking.
7466
ae1bc2fa
AS
7467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7468 Fix size of allocated buffer.
7469
10fb0bfa
AS
74702011-11-04 Andreas Schwab <schwab@redhat.com>
7471
998832a4
AS
7472 [BZ #10103]
7473 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7474 declarations for long double functions.
7475 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7476
10fb0bfa
AS
7477 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7478
3d7ba52b
AS
74792011-11-03 Andreas Schwab <schwab@redhat.com>
7480
a9ae54a1
AS
7481 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7482 installed.
7483
3d7ba52b
AS
7484 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7485 is disabled.
7486
bc8db248
ST
74872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7488
7489 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7490
45b96dd6
AS
74912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7492
647776f6
AS
7493 * include/alloca.h (stackinfo_alloca_round): Define.
7494 (extend_alloca): Use it.
7495 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7496 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7497 here.
7498
d91a8b93
AS
7499 * scripts/check-local-headers.sh: Ignore libaudit.h.
7500
45b96dd6
AS
7501 * nscd/Makefile (extra-objs): Make recursively expanded.
7502
432d41ce
UD
75032011-11-01 Ulrich Drepper <drepper@gmail.com>
7504
34372fc6
UD
7505 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7507
fadb59f8
UD
7508 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7509 * posix/tst-rfc3484-2.c: Likewise.
7510 * posix/tst-rfc3484-3.c: Likewise.
7511
78239589
UD
7512 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7513 process_vm_writev.
7514 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7515 process_vm_writev.
7516 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7517 process_vm_writev from libc using GLIBC_2.15 version.
7518
432d41ce
UD
7519 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7520
02f9c6cf
PP
75212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7522
7523 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7524 stack usage.
7525
3a2c0242
UD
75262011-10-31 Ulrich Drepper <drepper@gmail.com>
7527
f4ec4833
UD
7528 [BZ #13367]
7529 * nss/getent.c (initgroups_keys): Show error message in case no group
7530 names are given.
7531
3a2c0242
UD
7532 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7533 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7534 __bump_nl_timestamp.
7535 * nscd/connections (nscd_init): When host database is served open
7536 netlink socket and request notification about configuration changes.
7537 (main_loop_poll): Track netlink file descriptor and bump timestamp
7538 in case data becomes available.
7539 (main_loop_epoll): Likewise.
7540 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7541 (database_pers_head): Add extra_data fileds.
7542 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7543 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7544 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7545 Adjust caller.
7546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7547 in6ai data, call __free_in6ai.
7548 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7549 Add -DHAVE_NETLINK.
7550 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7551 interface information. Reuse previous data if netlink timestamp
7552 is not changed.
7553 (__bump_nl_timestamp): New function.
7554 (__free_in6ai): New function.
7555
636064eb
UD
75562011-10-30 Ulrich Drepper <drepper@gmail.com>
7557
7558 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7559 close_not_cancel_no_status here.
7560 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7561
9beb2334
UD
75622011-10-29 Ulrich Drepper <drepper@gmail.com>
7563
6ef76f3b
UD
7564 [BZ #13276]
7565 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7566 return value.
7567
0ffc4f3e 7568 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7569 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7570 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7571
cb95113e
UD
75722011-07-03 Andreas Jaeger <aj@suse.de>
7573
7574 [BZ #10709]
7575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7576 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7577 * math/libm-test.inc (sin_test): Add test case.
7578
a1b560ff
UD
75792011-10-29 Ulrich Drepper <drepper@gmail.com>
7580
c9aaface
UD
7581 [BZ #13337]
7582 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7583 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7584
d272e7f1
UD
7585 * elf/chroot_canon.c (chroot_canon): Cleanups.
7586
1bc33071
UD
7587 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7588
1760874d
TJ
7589 [BZ #13335]
7590 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7591 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7592
51d91b18
UD
7593 * string/test-strchr.c: Make usable for strchrnul testing.
7594 * string/test-strchrnul.c: New file.
7595 * string/Makefile (strop-tests): Add strchrnul.
7596
a1b560ff 7597 * po/it.po: Update from translation team.
b611fb81 7598 * po/es.po: Likewise.
a1b560ff 7599
a5b81e1f
UD
76002011-10-28 Ulrich Drepper <drepper@gmail.com>
7601
fd52bc6d
UD
7602 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7603 the three constants needed as parameters. Drop the others.
7604 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7605 __m128i_strloadu_tolower.
52e4b9eb
UD
7606 Create and initialize variable zero and use it in all the places
7607 where _mm_setzero_si128 was used.
fd52bc6d 7608
a5b81e1f
UD
7609 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7610 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7611 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7612 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7613 anymore.
7614 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7615 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7616 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7617 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7618 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7619 __mpranred, __mptan.
7620 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7621 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7622 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7623 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7624 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7625 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7627 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7628 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7629
b4343346
AS
76302011-10-28 Andreas Schwab <schwab@redhat.com>
7631
0c92d8a8
AS
7632 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7633 redefine if SHARED.
7634 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7635
b4343346
AS
7636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7637 wide char related routines to wcsmbs subdir.
7638
3871f58f
AS
76392011-10-27 Andreas Schwab <schwab@redhat.com>
7640
7641 [BZ #13344]
7642 * misc/sys/cdefs.h (__THROWNL): Define.
7643 * posix/unistd.h: Use __THREADNL instead of __THREAD
7644 for memory synchronization functions.
7645
94d44d9f
RM
76462011-10-26 Roland McGrath <roland@hack.frob.com>
7647
21b64b15 7648 [BZ #13349]
94d44d9f
RM
7649 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7650 doesn't exist.
7651 * manual/stdio.texi (Obstack Streams): Node removed.
7652
f6ce9294
AS
76532011-10-26 Andreas Schwab <schwab@redhat.com>
7654
80479147
AS
7655 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7656 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7657 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7658
f6ce9294
AS
7659 * math/math_private.h (math_force_eval): Allow non-addressable
7660 arguments.
7661 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7662
618280a1
UD
76632011-10-25 Ulrich Drepper <drepper@gmail.com>
7664
e0016b11
UD
7665 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7666 file is not needed.
7667
7668 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7670 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7671 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7672 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7673 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7674 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7675 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7676 Add AVX variants.
7677 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7678 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7679 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7680 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7681 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7682 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7683 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7684 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7685 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7687 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7688 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7691 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7692 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7693 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7694 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7695 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7696
7697 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7698 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7699
618280a1
UD
7700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7701 place. Use VEX encoding when compiling for AVX.
7702
37822576
AS
77032011-10-25 Andreas Schwab <schwab@redhat.com>
7704
1f1e1947
AS
7705 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7706 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7707
37822576
AS
7708 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7709
31ea014d
UD
77102011-10-25 Ulrich Drepper <drepper@gmail.com>
7711
d7826aa1 7712 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7713 useless if() expression.
d7826aa1
UD
7714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7724 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7725 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7726 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7727 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7728 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7729 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7733
31ea014d
UD
7734 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7735
16437fec
AS
77362011-10-25 Andreas Schwab <schwab@redhat.com>
7737
7738 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7739 condition.
7740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7741
31d3cc00
UD
77422011-10-25 Ulrich Drepper <drepper@gmail.com>
7743
7744 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7745 .text section. Avoid duplicate constants.
7746 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7756 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7758 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7763 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7769 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7770 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7771 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7775 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7776 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7777 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7778 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7779 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7780 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7781 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7784 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7785 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7786 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7787 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7788 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7791
58985aa9
UD
77922011-10-24 Ulrich Drepper <drepper@gmail.com>
7793
202c9deb
UD
7794 * sysdeps/x86_64/dla.h: Move to ...
7795 * sysdeps/x86_64/fpu/dla.h: ...here.
7796 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7797 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7798
af968f62
UD
7799 * config.make.in: Add have-mfma4 entry.
7800 * configure.in: Substitute libc_cv_cc_fma4.
7801 * math/Makefile (dbl-only-routines): Add sincostab.
7802 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7803 Use __sincostab not sincos.
7804 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7805 name is a macro.
7806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7810 using __copysign.
7811 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7812 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7813 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7814 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7815 and __inv.
7816 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7817 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7818 __copysign.
7819 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7820 define aliases when function name is a macro.
7821 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7822 sysdeps/ieee754/dbl-64/sincos.tbl.
7823 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7824 fma4-enabled routines.
7825 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7826 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7827 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7828 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7829 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7830 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7834 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7835 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7836 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7837 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7838 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7839 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7840 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7841 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7842 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7843 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7844 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7845 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7846 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7849 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7855
58985aa9
UD
7856 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7857 rename.
7858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7866
a201fbcf
AS
78672011-10-24 Andreas Schwab <schwab@redhat.com>
7868
7869 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7870
fc2ee42a
LD
78712011-10-23 Ulrich Drepper <drepper@gmail.com>
7872
bb3129bd
UD
7873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7874
0275fff8
UD
7875 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7876 prediction.
7877 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7878
2fa2ae85
UD
7879 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7880 Remove unused variable magic_bits.
7881 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7882
fc2ee42a
LD
7883 * string/strnlen.c: Define and use STRNLEN macro.
7884 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7885 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7886 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7887 * wcsmbs/wcslen.c: Define and use WCSLEN.
7888 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7889 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7890 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7891 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7892 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7893 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7894 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7895
ce7dd29f
LD
78962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7897
7898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7899 strnlen-sse2-no-bsf.
7900 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7902 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7903 Add strnlen support.
7904 (USE_AS_STRNLEN): New macro.
7905 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7906 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7907 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7908 * sysdeps/x86_64/wcslen.S: New file.
7909
979c70a3
MZ
79102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7911
7912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7913 XMM-moves are used for copying on small sizes.
7914
2d09f82f
LD
79152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7916
7917 * wcsmbs/Makefile (strop-tests): Add wcschr.
7918 * wcsmbs/test-wcschr.c: New file.
7919 * string/test-strchr.c: Update.
7920 Add wcschr support.
7921 (WIDE): New macro.
7922
619fccca
LD
79232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7924
2d09f82f 7925 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7926 * wcsmbs/test-wcslen.c: New file.
7927 * string/test-strlen.c: Update.
7928 Add wcslen support.
7929 (WIDE): New macro.
7930
09f699ea
UD
79312011-10-23 Ulrich Drepper <drepper@gmail.com>
7932
7933 * po/it.po: Update from translation team.
7934
95584d3b
LD
79352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7936
7937 * sysdeps/x86_64/wcscmp.S: Update.
7938 Fix wrong comparison semantics.
7939 wcscmp shall use signed comparison not unsigned.
7940 Don't use substraction to avoid overflow bug.
7941 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7942 * wcsmbc/wcscmp.c: Likewise.
7943 * string/test-strcmp.c: Likewise.
7944 Add new tests to check cases with negative values.
7945
c8b3296b
UD
79462011-10-23 Ulrich Drepper <drepper@gmail.com>
7947
7948 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7949 * sysdeps/x86_64/dla.h: ...here. New file.
7950 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7955 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7959
246ad57a
AS
79602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7961
7962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7963 __ynl_finite aliases.
7964
a1a87169
UD
79652011-10-22 Ulrich Drepper <drepper@gmail.com>
7966
0d355eb7
UD
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7968
a1a87169
UD
7969 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7970 define DLA_FMA.
7971 [DLA_FMA] (EMULV): Use DLA_FMA.
7972 [DLA_FMA] (MUL12): Use EMULV.
7973 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7974 that are not needed.
7975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7982
ee2aafe0
AS
79832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7984
7985 * math/s_nan.c: Undef __nan.
7986 * math/s_nanf.c: Undef __nanf.
7987 * math/s_nanl.c: Undef __nanl.
7988 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7989 "math_private.h".
7990
bc62c2fb
UD
79912011-10-22 Ulrich Drepper <drepper@gmail.com>
7992
77425c63
UD
7993 * math/s_catan.c: Add branch predictions.
7994 * math/s_catanf.c: Likewise.
7995 * math/s_catanh.c: Likewise.
7996 * math/s_catanhf.c: Likewise.
7997 * math/s_catanhl.c: Likewise.
7998 * math/s_catanl.c: Likewise.
7999 * math/s_cexp.c: Likewise.
8000 * math/s_cexpf.c: Likewise.
8001 * math/s_cexpl.c: Likewise.
8002 * math/s_clog.c: Likewise.
8003 * math/s_clog10.c: Likewise.
8004 * math/s_clog10f.c: Likewise.
8005 * math/s_clog10l.c: Likewise.
8006 * math/s_clogf.c: Likewise.
8007 * math/s_clogl.c: Likewise.
8008 * math/s_csqrt.c: Likewise.
8009 * math/s_csqrtf.c: Likewise.
8010 * math/s_csqrtl.c: Likewise.
8011 * math/s_ctanf.c: Likewise.
8012 * math/s_ctanh.c: Likewise.
8013 * math/s_ctanhf.c: Likewise.
8014 * math/s_ctanhl.c: Likewise.
8015 * math/s_ctanl.c: Likewise.
8016
bc62c2fb
UD
8017 * math/math_private.h: Define __nan, __nanf, __nanl.
8018 * math/s_cacosh.c: Include <math_private.h>.
8019 * math/s_cacoshl.c: Likewise.
8020 * math/s_casinh.c: Likewise.
8021 * math/s_casinhf.c: Likewise.
8022 * math/s_casinhl.c: Likewise.
8023 * math/s_ccos.c: Rely entire on ccosh.
8024 * math/s_ccosf.c: Rely entire on ccoshf.
8025 * math/s_ccosl.c: Rely entirely on ccoshl.
8026 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8027 Remove tests for FE_INVALID.
8028 * math/s_ccoshf.c: Likewise.
8029 * math/s_ccoshl.c: Likewise.
8030 * math/s_csin.c: Likewise.
8031 * math/s_csinf.c: Likewise.
8032 * math/s_csinh.c Likewise.
8033 * math/s_csinhf.c: Likewise.
8034 * math/s_csinhl.c: Likewise.
8035 * math/s_csinl.c: Likewise.
8036 * math/s_ctan.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8038 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8039 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8040
8ec250a4
UD
80412011-10-21 Ulrich Drepper <drepper@gmail.com>
8042
c196fed8
UD
8043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8044 compilation problems.
8045
8ec250a4
UD
8046 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8047 __builtin_expect.
8048
8d4f46c6
UD
80492011-10-20 Ulrich Drepper <drepper@gmail.com>
8050
ed72b654
UD
8051 * sysdeps/i386/configure.in: Test for -mfma4 option.
8052 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8053 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8054 COMMON_CPUID_INDEX_80000001.
8055 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8056 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8057 use it if FMA3 is not supported.
8058 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8059
8d4f46c6
UD
8060 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8061 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8062
d45c60c2
AS
80632011-10-20 Andreas Schwab <schwab@redhat.com>
8064
8065 [BZ #12892]
8066 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8067 it would create a cycle with a link time dependency.
8068
d9a4d2ab
UD
80692011-10-19 Ulrich Drepper <drepper@gmail.com>
8070
855d1560
UD
8071 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8072 instruction.
8073 * string/Makefile (strop-tests): Add rawmemchr.
8074 * string/test-rawmemchr.c: New file.
8075
d9a4d2ab
UD
8076 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8078 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8079 when compiling str{,n}casecmp and when AVX is available. Hook up
8080 new optimized code in initializers.
8081
8f3b1ffe
AS
80822011-10-19 Andreas Schwab <schwab@redhat.com>
8083
8084 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8085 __feraiseexcept instead of feraiseexcept.
8086
d38f1dba
UD
80872011-10-18 Ulrich Drepper <drepper@gmail.com>
8088
d9a8d0ab
UD
8089 * math/math_private.h: Define defaults for libc_fetestexcept and
8090 libc_feupdateenv.
8091 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8092 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8094 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8095 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8096 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8097 libc_fetestexcept and libc_feupdateenv.
8098
4855e3dd
UD
8099 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8100 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8101 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8102 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8103 libc_feholdexcept_setround.
8104
581d30e3
UD
8105 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8106 Add s_nearbyint-c and s_nearbyintf-c.
8107 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8108 nearbyintf inlines.
8109 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8110 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8111 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8112 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8113
d38f1dba
UD
8114 * math/math_private.h: Define defaults for libc_fegetround,
8115 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8116 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8117 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8118 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8119 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8120 standard functions.
8121 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8122 Remove comments and hacks for old compiler versions.
8123 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8124 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8125 libc_feholdexceptl.
8126
caa6c9d8
AS
81272011-10-18 Andreas Schwab <schwab@redhat.com>
8128
8129 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8130 (__feraiseexcept_renamed): Add __NTH.
8131 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8132 namespace violations.
8133
97c066e6
UD
81342011-10-17 Ulrich Drepper <drepper@gmail.com>
8135
99ce7b04
UD
8136 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8137
1004d182
UD
8138 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8139
228a984d
UD
8140 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8141 recently added interfaces.
8142 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8143
c8553a6a
UD
8144 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8145 about macro parameter expansion.
8146
ed22dcf6
UD
8147 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8148 __NO_MATH_INLINES is defined. Cleanups.
8149
8150 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8151 and __floorf is target has SSE4.1.
8152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8153 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8154 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8155 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8156
b171c137
UD
8157 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8158 name.
8159 (floorf): Likewise.
8160
97c066e6
UD
8161 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8162
629f62ef
AS
81632011-10-17 Andreas Schwab <schwab@redhat.com>
8164
49a43d80
AS
8165 * misc/sys/cdefs.h: Fix last change.
8166
629f62ef
AS
8167 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8168 database lookup.
8169
e453f6cd
UD
81702011-10-16 Ulrich Drepper <drepper@gmail.com>
8171
aa78043a
UD
8172 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8173
ad0f5cad
UD
8174 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8175 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8180 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8182 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8183 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8184 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8185 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8186 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8187 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8188 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8189 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8190 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8191 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8192 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8193 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8194 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8195 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8196
8197 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8198 ceil, ceilf, floor, floorf.
8199
8200 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8201 Perform IRELATIVE relocations last.
8202
e453f6cd
UD
8203 * elf/do-rel.h: Add another parameter nrelative, replacing the
8204 local variable with the same name. Change name of the function
8205 to end in Rel or Rela (uppercase).
8206 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8207 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8208 elf_dynamic_do_##reloc function.
8209
fd5bdc09
UD
82102011-10-15 Ulrich Drepper <drepper@gmail.com>
8211
79b195b5
UD
8212 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8213 is sufficient, at least on modern CPUs.
8214
d4a28569
UD
8215 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8216
b61099b5
UD
8217 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8218 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8219
bcf01e6d
UD
8220 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8221 __expl_finite.
8222 * math/bits/math-finite.h: Add entries for exp.
8223 * math/e_expl.c: Add __*_finite alias.
8224 * sysdeps/i386/fpu/e_exp.S: Likewise.
8225 * sysdeps/i386/fpu/e_expf.S: Likewise.
8226 * sysdeps/i386/fpu/e_expl.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8228 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8232 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8233 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8234
ba1a0d59
UD
8235 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8236 is sufficient, at least on modern CPUs.
8237
fd5bdc09
UD
8238 * ctype/ctype-info.c (__ctype_init): Define.
8239 * include/ctype.h (__ctype_init): Declare.
8240 (__ctype_b_loc): The variable is always initialized.
8241 (__ctype_toupper_loc): Likewise.
8242 (__ctype_tolower_loc): Likewise.
8243 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8244 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8245
7872cfb0
AS
82462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8247
b468825a
AS
8248 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8249
7872cfb0
AS
8250 * configure.in: Also look in $cxxmachine/include for C++ system
8251 headers.
8252
be13f7bf
LD
82532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8254
8255 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8256 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8257 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8258 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8259 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8260 (USE_AS_WMEMCMP): New macro.
8261 Fixing indents.
8262 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8263 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8264 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8265 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8267 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8268 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8269 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8270 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8271 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8272 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8273 (USE_AS_WMEMCMP): New macro.
8274 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8275 * sysdeps/string/test-memcmp.c: Update.
8276 Fix simple_wmemcmp.
8277 Add new tests.
8278 * wcsmbs/wmemcmp.c: Update.
8279 (WMEMCMP): New macro.
8280 Fix overflow bug.
8281
556a2007
AJ
82822011-10-12 Andreas Jaeger <aj@suse.de>
8283
8284 [BZ #13268]
8285 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8286
538faaa7
UD
82872011-10-15 Ulrich Drepper <drepper@gmail.com>
8288
ab6737ff
UD
8289 * libio/iofwide.c (do_length): Avoid warning.
8290
538faaa7
UD
8291 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8292
396a21b1
UD
82932011-10-14 Ulrich Drepper <drepper@gmail.com>
8294
cdf2901f
UD
8295 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8296
38ad40ce
UD
8297 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8298 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8299 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8300 * sysdeps/i386/i686/fpu/e_log.S: New file.
8301 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8302 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8303
396a21b1
UD
8304 * ctype/ctype.h: Add support for inlined isXXX functions when
8305 compiling C++ code.
8306
6b1f68c9
AS
83072011-10-14 Andreas Schwab <schwab@redhat.com>
8308
349290c0
AS
8309 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8310
6b1f68c9
AS
8311 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8312
f2282d42
RM
83132011-10-13 Roland McGrath <roland@hack.frob.com>
8314
8315 [BZ #13291]
8316 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8317
5298ffa8
AS
83182011-10-13 Andreas Schwab <schwab@redhat.com>
8319
714fad23
AS
8320 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8321 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8322 feraiseexcept.
8323
81dcc7fb
AS
8324 * sysdeps/x86_64/memrchr.S: Check for zero size.
8325
5298ffa8
AS
8326 * string/stratcliff.c: Add memrchr tests.
8327
951fbcec
LD
83282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8329
8330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8331 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8332 rawmemchr-sse2 rawmemchr-sse2-bsf.
8333 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8334 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8335 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8336 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8337 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8338 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8339 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8340 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8341 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8342 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8343 * string/memrchr.c (MEMRCHR): New macro.
8344
0ac5ae23
UD
83452011-10-12 Ulrich Drepper <drepper@gmail.com>
8346
8347 Add integration with gcc's -ffinite-math-only and optimize wrapper
8348 functions in libm.
8349 * Versions.def: Define GLIBC_2.15 version for libm.
8350 * math/Makefile (headers): Add bits/math-finite.h.
8351 * math/bits/math-finite.h: New file.
8352 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8353 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8354 * math/e_acoshl.c: Add __*_finite alias.
8355 * math/e_acosl.c: Likewise.
8356 * math/e_asinl.c: Likewise.
8357 * math/e_atan2l.c: Likewise.
8358 * math/e_atanhl.c: Likewise.
8359 * math/e_coshl.c: Likewise.
8360 * math/e_exp10.c: Likewise.
8361 * math/e_exp10f.c: Likewise.
8362 * math/e_exp10l.c: Likewise.
8363 * math/e_exp2l.c: Likewise.
8364 * math/e_fmodl.c: Likewise.
8365 * math/e_gammal_r.c: Likewise.
8366 * math/e_hypotl.c: Likewise.
8367 * math/e_j0l.c: Likewise.
8368 * math/e_j1l.c: Likewise.
8369 * math/e_jnl.c: Likewise.
8370 * math/e_lgammal_r.c: Likewise.
8371 * math/e_log10l.c: Likewise.
8372 * math/e_log2l.c: Likewise.
8373 * math/e_logl.c: Likewise.
8374 * math/e_powl.c: Likewise.
8375 * math/e_sinhl.c: Likewise.
8376 * math/e_sqrtl.c: Likewise.
8377 * math/e_scalb.c: Completely rewritten and optimized.
8378 * math/e_scalbf.c: Likewise.
8379 * math/e_scalbl.c: Likewise.
8380 * math/w_acos.c: Likewise.
8381 * math/w_acosf.c: Likewise.
8382 * math/w_acosl.c: Likewise.
8383 * math/w_acosh.c: Likewise.
8384 * math/w_acoshf.c: Likewise.
8385 * math/w_acoshl.c: Likewise.
8386 * math/w_asin.c: Likewise.
8387 * math/w_asinf.c: Likewise.
8388 * math/w_asinl.c: Likewise.
8389 * math/w_atan2.c: Likewise.
8390 * math/w_atan2f.c: Likewise.
8391 * math/w_atan2l.c: Likewise.
8392 * math/w_atanh.c: Likewise.
8393 * math/w_atanhf.c: Likewise.
8394 * math/w_atanhl.c: Likewise.
8395 * math/w_exp10.c: Likewise.
8396 * math/w_exp10f.c: Likewise.
8397 * math/w_exp10l.c: Likewise.
8398 * math/w_fmod.c: Likewise.
8399 * math/w_fmodf.c: Likewise.
8400 * math/w_fmodl.c: Likewise.
8401 * math/w_j0.c: Likewise.
8402 * math/w_j0f.c: Likewise.
8403 * math/w_j0l.c: Likewise.
8404 * math/w_j1.c: Likewise.
8405 * math/w_j1f.c: Likewise.
8406 * math/w_j1l.c: Likewise.
8407 * math/w_jn.c: Likewise.
8408 * math/w_jnf.c: Likewise.
8409 * math/w_log.c: Likewise.
8410 * math/w_logf.c: Likewise.
8411 * math/w_logl.c: Likewise.
8412 * math/w_log10.c: Likewise.
8413 * math/w_log10f.c: Likewise.
8414 * math/w_log10l.c: Likewise.
8415 * math/w_log2.c: Likewise.
8416 * math/w_log2f.c: Likewise.
8417 * math/w_log2l.c: Likewise.
8418 * math/w_pow.c: Likewise.
8419 * math/w_powf.c: Likewise.
8420 * math/w_powl.c: Likewise.
8421 * math/w_remainder.c: Likewise.
8422 * math/w_remainderf.c: Likewise.
8423 * math/w_remainderl.c: Likewise.
8424 * math/w_scalb.c: Likewise.
8425 * math/w_scalbf.c: Likewise.
8426 * math/w_scalbl.c: Likewise.
8427 * math/w_sqrt.c: Likewise.
8428 * math/w_sqrtf.c: Likewise.
8429 * math/w_sqrtl.c: Likewise.
8430 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8431 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8432 used.
8433 * math/math_private.h: Declare __kernel_standard_f.
8434 * math/w_cosh.c: Remove cruft and optimize a bit.
8435 * math/w_coshf.c: Likewise.
8436 * math/w_coshl.c: Likewise.
8437 * math/w_exp2.c: Likewise.
8438 * math/w_exp2f.c: Likewise.
8439 * math/w_exp2l.c: Likewise.
8440 * math/w_hypot.c: Likewise.
8441 * math/w_hypotf.c: Likewise.
8442 * math/w_hypotl.c: Likewise.
8443 * math/w_lgamma.c: Likewise.
8444 * math/w_lgamma_r.c: Likewise.
8445 * math/w_lgammaf.c: Likewise.
8446 * math/w_lgammaf_r.c: Likewise.
8447 * math/w_lgammal.c: Likewise.
8448 * math/w_lgammal_r.c: Likewise.
8449 * math/w_sinh.c: Likewise.
8450 * math/w_sinhf.c: Likewise.
8451 * math/w_sinhl.c: Likewise.
8452 * math/w_tgamma.c: Likewise.
8453 * math/w_tgammaf.c: Likewise.
8454 * math/w_tgammal.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8456 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8457 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8458 Minor optimizations. Pretty printing. Remove cruft.
8459 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8460 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8462 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8463 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8464 * sysdeps/i386/fpu/e_asin.S: Likewise.
8465 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8466 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8467 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8468 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8470 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8471 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8472 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8473 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8474 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8475 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8476 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8477 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8478 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8479 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8480 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8481 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8482 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8483 * sysdeps/i386/fpu/e_log.S: Likewise.
8484 * sysdeps/i386/fpu/e_log10.S: Likewise.
8485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8486 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8487 * sysdeps/i386/fpu/e_log2.S: Likewise.
8488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8489 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8490 * sysdeps/i386/fpu/e_logf.S: Likewise.
8491 * sysdeps/i386/fpu/e_logl.S: Likewise.
8492 * sysdeps/i386/fpu/e_pow.S: Likewise.
8493 * sysdeps/i386/fpu/e_powf.S: Likewise.
8494 * sysdeps/i386/fpu/e_powl.S: Likewise.
8495 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8496 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8497 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8498 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8499 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8500 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8501 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8502 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8503 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8525 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8526 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8527 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8528 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8529 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8530 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8531 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8532 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8533 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8536 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8538 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8539 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8540 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8543 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8544 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8545 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8587 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8589 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8590 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8592 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8595 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8596 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8597 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8598 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8600 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8601 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8602 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8603 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8604 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8605 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8606 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8607 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8608 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8609 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8610 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8611 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8612 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8613 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8614 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8615 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8616 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8617 (__isnanf): Likewise.
8618 (__isinf_ns): Likewise.
8619 (__isinf_nsf): Likewise.
8620 (__finite): Likewise.
8621 (__finitef): Likewise.
8622 (__ieee754_sqrt): Define as macro.
8623 (__ieee754_sqrtf): Define as macro.
8624 (__ieee754_sqrtl): Define as macro.
8625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8626 inlined copy.
8627 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8628 __FINITE_MATH_ONLY__ consistent.
8629 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8630
12cc2fcd
AS
86312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8632
a843a204
AS
8633 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8634 of rawmemchr.
8635
12cc2fcd
AS
8636 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8637
c853acd5
UD
86382011-10-09 Ulrich Drepper <drepper@gmail.com>
8639
8640 * po/ja.po: Update from translation team.
8641
c658d255
RM
86422011-10-08 Roland McGrath <roland@hack.frob.com>
8643
110946e4
RM
8644 * locale/programs/locarchive.c (prepare_address_space): New function.
8645 (create_archive, enlarge_archive, open_archive): Use it.
8646
50604220
RM
8647 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8648 inside [SHARED], where it is used.
8649
c658d255
RM
8650 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8651
8652 * nss/getent.c (netgroup_keys): Remove unused variable.
8653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8654
6a621eb7
UD
86552011-10-08 Ulrich Drepper <drepper@gmail.com>
8656
7edb55ce
UD
8657 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8658 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8660 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8661 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8662 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8663 * math/Makefile (libm-calls): Add s_isinf_ns.
8664 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8665 * math/multc3.c: Likewise.
8666 * math/s_casin.c: Likewise.
8667 * math/s_casinf.c: Likewise.
8668 * math/s_casinl.c: Likewise.
8669 * math/s_ccos.c: Likewise.
8670 * math/s_ccosf.c: Likewise.
8671 * math/s_ccosl.c: Likewise.
8672 * math/s_ctan.c: Likewise.
8673 * math/s_ctanf.c: Likewise.
8674 * math/s_ctanh.c: Likewise.
8675 * math/s_ctanhf.c: Likewise.
8676 * math/s_ctanhl.c: Likewise.
8677 * math/s_ctanl.c: Likewise.
8678 * math/w_fmod.c: Likewise.
8679 * math/w_fmodf.c: Likewise.
8680 * math/w_fmodl.c: Likewise.
8681 * math/w_remainder.c: Likewise.
8682 * math/w_remainderf.c: Likewise.
8683 * math/w_remainderl.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8685 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8688 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8689 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8690 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8691 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8692
187da0ae
UD
8693 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8694 of the number.
8695 * stdio-common/printf_fphex.c: Likewise.
8696 * stdio-common/printf_size.c: Likewise.
8697
9277c064
UD
8698 * math/e_exp10.c: Include math_private.h using <...> not "...".
8699 * math/e_exp10f.c: Likewise.
8700 * math/e_exp10l.c: Likewise.
8701 * math/e_exp2l.c: Likewise.
8702 * math/e_j0l.c: Likewise.
8703 * math/e_j1l.c: Likewise.
8704 * math/e_jnl.c: Likewise.
8705 * math/e_lgammal_r.c: Likewise.
8706 * math/e_rem_pio2l.c: Likewise.
8707 * math/e_scalb.c: Likewise.
8708 * math/e_scalbf.c: Likewise.
8709 * math/e_scalbl.c: Likewise.
8710 * math/k_cosl.c: Likewise.
8711 * math/k_sinl.c: Likewise.
8712 * math/k_tanl.c: Likewise.
8713 * math/s_cacoshf.c: Likewise.
8714 * math/s_catan.c: Likewise.
8715 * math/s_catanf.c: Likewise.
8716 * math/s_catanh.c: Likewise.
8717 * math/s_catanhf.c: Likewise.
8718 * math/s_catanhl.c: Likewise.
8719 * math/s_catanl.c: Likewise.
8720 * math/s_ccosh.c: Likewise.
8721 * math/s_ccoshf.c: Likewise.
8722 * math/s_ccoshl.c: Likewise.
8723 * math/s_cexp.c: Likewise.
8724 * math/s_cexpf.c: Likewise.
8725 * math/s_cexpl.c: Likewise.
8726 * math/s_clog.c: Likewise.
8727 * math/s_clog10.c: Likewise.
8728 * math/s_clog10f.c: Likewise.
8729 * math/s_clog10l.c: Likewise.
8730 * math/s_clogf.c: Likewise.
8731 * math/s_clogl.c: Likewise.
8732 * math/s_csin.c: Likewise.
8733 * math/s_csinf.c: Likewise.
8734 * math/s_csinh.c: Likewise.
8735 * math/s_csinhf.c: Likewise.
8736 * math/s_csinhl.c: Likewise.
8737 * math/s_csinl.c: Likewise.
8738 * math/s_csqrt.c: Likewise.
8739 * math/s_csqrtf.c: Likewise.
8740 * math/s_csqrtl.c: Likewise.
8741 * math/s_ctan.c: Likewise.
8742 * math/s_ctanf.c: Likewise.
8743 * math/s_ctanh.c: Likewise.
8744 * math/s_ctanhf.c: Likewise.
8745 * math/s_ctanhl.c: Likewise.
8746 * math/s_ctanl.c: Likewise.
8747 * math/s_ldexp.c: Likewise.
8748 * math/s_ldexpf.c: Likewise.
8749 * math/s_ldexpl.c: Likewise.
8750 * math/s_significand.c: Likewise.
8751 * math/s_significandf.c: Likewise.
8752 * math/s_significandl.c: Likewise.
8753 * math/w_acos.c: Likewise.
8754 * math/w_acosf.c: Likewise.
8755 * math/w_acosh.c: Likewise.
8756 * math/w_acoshf.c: Likewise.
8757 * math/w_acoshl.c: Likewise.
8758 * math/w_acosl.c: Likewise.
8759 * math/w_asin.c: Likewise.
8760 * math/w_asinf.c: Likewise.
8761 * math/w_asinl.c: Likewise.
8762 * math/w_atan2.c: Likewise.
8763 * math/w_atan2f.c: Likewise.
8764 * math/w_atan2l.c: Likewise.
8765 * math/w_atanh.c: Likewise.
8766 * math/w_atanhf.c: Likewise.
8767 * math/w_atanhl.c: Likewise.
8768 * math/w_cosh.c: Likewise.
8769 * math/w_coshf.c: Likewise.
8770 * math/w_coshl.c: Likewise.
8771 * math/w_dremf.c: Likewise.
8772 * math/w_exp10.c: Likewise.
8773 * math/w_exp10f.c: Likewise.
8774 * math/w_exp10l.c: Likewise.
8775 * math/w_exp2.c: Likewise.
8776 * math/w_exp2f.c: Likewise.
8777 * math/w_fmod.c: Likewise.
8778 * math/w_fmodf.c: Likewise.
8779 * math/w_fmodl.c: Likewise.
8780 * math/w_hypot.c: Likewise.
8781 * math/w_hypotf.c: Likewise.
8782 * math/w_hypotl.c: Likewise.
8783 * math/w_j0.c: Likewise.
8784 * math/w_j0f.c: Likewise.
8785 * math/w_j0l.c: Likewise.
8786 * math/w_j1.c: Likewise.
8787 * math/w_j1f.c: Likewise.
8788 * math/w_j1l.c: Likewise.
8789 * math/w_jn.c: Likewise.
8790 * math/w_jnf.c: Likewise.
8791 * math/w_jnl.c: Likewise.
8792 * math/w_lgamma.c: Likewise.
8793 * math/w_lgamma_r.c: Likewise.
8794 * math/w_lgammaf.c: Likewise.
8795 * math/w_lgammaf_r.c: Likewise.
8796 * math/w_lgammal.c: Likewise.
8797 * math/w_lgammal_r.c: Likewise.
8798 * math/w_log.c: Likewise.
8799 * math/w_log10.c: Likewise.
8800 * math/w_log10f.c: Likewise.
8801 * math/w_log10l.c: Likewise.
8802 * math/w_log2.c: Likewise.
8803 * math/w_log2f.c: Likewise.
8804 * math/w_log2l.c: Likewise.
8805 * math/w_logf.c: Likewise.
8806 * math/w_logl.c: Likewise.
8807 * math/w_pow.c: Likewise.
8808 * math/w_powf.c: Likewise.
8809 * math/w_powl.c: Likewise.
8810 * math/w_remainder.c: Likewise.
8811 * math/w_remainderf.c: Likewise.
8812 * math/w_remainderl.c: Likewise.
8813 * math/w_scalb.c: Likewise.
8814 * math/w_scalbf.c: Likewise.
8815 * math/w_scalbl.c: Likewise.
8816 * math/w_sinh.c: Likewise.
8817 * math/w_sinhf.c: Likewise.
8818 * math/w_sinhl.c: Likewise.
8819 * math/w_sqrt.c: Likewise.
8820 * math/w_sqrtf.c: Likewise.
8821 * math/w_sqrtl.c: Likewise.
8822 * math/w_tgamma.c: Likewise.
8823 * math/w_tgammaf.c: Likewise.
8824 * math/w_tgammal.c: Likewise.
8825
6a621eb7
UD
8826 * po/ja.po: Update from translation team.
8827
bf582445
AJ
88282011-09-29 Andreas Jaeger <aj@suse.de>
8829
f9efbf3a
AJ
8830 [BZ #13179]
8831 * sunrpc/netname.c (netname2host): Fix logic.
8832
bf582445
AJ
8833 [BZ #6779]
8834 [BZ #6783]
8835 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8836 correctly.
8837 * math/w_remainder.c (__remainder): Likewise.
8838 * math/w_remainderf.c (__remainderf): Likewise.
8839 * math/libm-test.inc (remainder_test): Add test cases.
8840
48693bea
AK
88412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8842
8843 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8844 sdiv_qrnnd.
8845
42622229
LD
88462011-10-07 Ulrich Drepper <drepper@gmail.com>
8847
8848 * string/test-memcmp.c: Avoid unncessary #defines.
8849 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8850
093ecf92
LD
88512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8852
8853 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8854 Use new sse2 version for core i3 - i7 as it's faster
8855 than sse42 version.
8856 (bit_Prefer_PMINUB_for_stringop): New.
8857 * sysdeps/x86_64/rawmemchr.S: Update.
8858 Replace with faster SSE2 version.
8859 * sysdeps/x86_64/memrchr.S: New file.
8860 * sysdeps/x86_64/memchr.S: Update.
8861 Replace with faster SSE2 version.
8862
fde56e5c
MP
88632011-09-12 Marek Polacek <mpolacek@redhat.com>
8864
8865 * elf/dl-load.c (lose): Add cast to avoid warning.
8866
21fd49a9
UD
88672011-10-07 Ulrich Drepper <drepper@gmail.com>
8868
5a06e643
UD
8869 * po/ca.po: Update from translation team.
8870
684ae515
UD
8871 * inet/getnetgrent_r.c: Hook up nscd.
8872 * nscd/Makefile (routines): Add nscd_netgroup.
8873 (nscd-modules): Add netgroupcache.
8874 (CFLAGS-netgroupcache.c): Define.
8875 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8876 (cache_search): Add const to second parameter.
8877 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8878 INNETGR.
8879 (dbs): Add netgrdb entry.
8880 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8881 (verify_persistent_db): Handle netgrdb.
8882 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8883 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8884 GETFDNETGR.
8885 (netgroup_response_header): Define.
8886 (innetgroup_response_header): Define.
8887 (datahead): Add netgroup_response_header and innetgroup_response_header
8888 elements.
8889 * nscd/nscd.conf: Add entries for netgroup cache.
8890 * nscd/nscd.h (dbtype): Add netgrdb.
8891 (_PATH_NSCD_NETGROUP_DB): Define.
8892 (netgroup_iov_disabled): Declare.
8893 (xmalloc, xcalloc, xrealloc): Move declarations here.
8894 (cache_search): Adjust prototype.
8895 Add netgroup-related prototypes.
8896 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8897 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8898 (__nscd_innetgr): Declare.
8899 * nscd/selinux.c (perms): Use access_vector_t as element type and
8900 add netgroup-related initializers.
8901 * nscd/netgroupcache.c: New file.
8902 * nscd/nscd_netgroup.c: New file.
8903 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8904 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8905 For four parameters use innetgr.
8906 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8907 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8908 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8909 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8910
21fd49a9
UD
8911 * nscd/connections.c (register_traced_file): Don't register file
8912 for disabled databases.
8913
054c0457
UD
89142011-10-06 Ulrich Drepper <drepper@gmail.com>
8915
32b63198
UD
8916 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8917
054c0457
UD
8918 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8919 from tree and freeing node.
8920
64031225
JO
89212011-09-25 Jiri Olsa <jolsa@redhat.com>
8922
8923 * nss/nsswitch.c (__nss_database_lookup): Handle
8924 nss_parse_service_list out of memory case.
8925
0490345c
JO
89262011-09-15 Jiri Olsa <jolsa@redhat.com>
8927
8928 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8929 out of memory case.
8930
3a62d00d
AS
89312011-10-04 Andreas Schwab <schwab@redhat.com>
8932
8933 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8934 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8935 pass it down.
8936 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8937 elf_machine_rela, elf_machine_lazy_rel.
8938 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8939 (ELF_DYNAMIC_DO_REL): Likewise.
8940 (ELF_DYNAMIC_DO_RELA): Likewise.
8941 (ELF_DYNAMIC_RELOCATE): Likewise.
8942 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8943 to ELF_DYNAMIC_DO_REL.
8944 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8945 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8946 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8947 elf_machine_rela.
8948 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8949 skip_ifunc, don't call ifunc function if non-zero.
8950 (elf_machine_rela): Likewise.
8951 (elf_machine_lazy_rel): Likewise.
8952 (elf_machine_lazy_rela): Likewise.
8953 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8954 (elf_machine_lazy_rel): Likewise.
8955 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8956 Likewise.
8957 (elf_machine_lazy_rel): Likewise.
8958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8959 Likewise.
8960 (elf_machine_lazy_rel): Likewise.
8961 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8962 (elf_machine_lazy_rel): Likewise.
8963 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8964 (elf_machine_lazy_rel): Likewise.
8965 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8966 (elf_machine_lazy_rel): Likewise.
8967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8968 (elf_machine_lazy_rel): Likewise.
8969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8970 (elf_machine_lazy_rel): Likewise.
8971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8972 (elf_machine_lazy_rel): Likewise.
8973
68577918
UD
89742011-09-28 Ulrich Drepper <drepper@gmail.com>
8975
8976 * nss/nss_files/files-init.c (_nss_files_init): Use static
8977 initialization for all the *_traced_file variables.
8978
68822d74
AS
89792011-09-28 Andreas Schwab <schwab@redhat.com>
8980
8981 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8982
2056100b
RM
89832011-09-27 Roland McGrath <roland@hack.frob.com>
8984
8985 [BZ #13226]
8986 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8987
32c76b63
AS
89882011-09-27 Andreas Schwab <schwab@redhat.com>
8989
8990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8991 Reread the line before reparsing it.
8992
bf972c9d
AS
89932011-09-26 Andreas Schwab <schwab@redhat.com>
8994
8995 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8996
e057a1b5
JM
89972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8998 Maxim Kuvyrkov <maxim@codesourcery.com>
8999 Joseph Myers <joseph@codesourcery.com>
9000
9001 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9002 if needed for __stack_chk_guard.
9003
bc7e1c36
RM
90042011-09-19 Roland McGrath <roland@hack.frob.com>
9005
ecb1482f
RM
9006 * sysdeps/posix/spawni.c (script_execute): Always define it.
9007 It will be optimized away if unused.
9008 (maybe_script_execute): New function.
9009 (__spawni): Call it.
9010
bc7e1c36
RM
9011 * Makerules: Don't include tls.make.
9012 (config-tls): Always set to thread.
9013 * tls.make.c: File removed.
9014
1c3b002b
MF
90152011-09-19 Mike Frysinger <vapier@gentoo.org>
9016
9017 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9018 * config.make.in (CPPFLAGS-config): New substituted variable.
9019
2840865d
UD
90202011-09-15 Ulrich Drepper <drepper@gmail.com>
9021
88738eb6
UD
9022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9023
cbf645a6 9024 [BZ #13192]
2840865d
UD
9025 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9026 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9027
b402e91a
RM
90282011-09-15 Roland McGrath <roland@hack.frob.com>
9029
9030 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9031 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9033 (CALL_FAIL): Likewise.
9034 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9035 (CALL_FAIL): Macro removed.
9036 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9037
4c1a1f71
UD
90382011-09-15 Ulrich Drepper <drepper@gmail.com>
9039
9040 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9041 for __FINITE_MATH_ONLY__ == 1.
9042
edc121be
AS
90432011-09-15 Andreas Schwab <schwab@redhat.com>
9044
9045 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9046 __ieee754_sqrt instead of sqrt.
9047 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9048 __ieee754_sqrtf instead of sqrtf.
9049 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9050 __floorf instead of floorf.
9051 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9052 __floorf, __truncf instead of floorf, truncf.
9053
cd205654
UD
90542011-09-14 Ulrich Drepper <drepper@gmail.com>
9055
ee4d0315
UD
9056 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9057
cd205654
UD
9058 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9059 __extern_always_inline.
9060 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9061 32-bit.
9062
48b67d71
AS
90632011-09-14 Andreas Schwab <schwab@redhat.com>
9064
9065 * elf/rtld.c (dl_main): Also relocate in dependency order when
9066 doing symbol dependency testing.
9067
1ae12c75
AS
90682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9071 Always define `refsym'.
9072
995a80df
AS
90732011-09-13 Andreas Schwab <schwab@redhat.com>
9074
e529793b
AS
9075 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9076 (__FD_ELT): Renamed from __FDELT.
9077 * misc/bits/select2.h (__FD_ELT): Likewise.
9078 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9079 __FD_MASK instead of __FDELT, __FDMASK.
9080 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9081 Likewise.
9082 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9083 Likewise.
9084
52d4fef8
AS
9085 * elf/Makefile (gen-ldd): Fix pattern.
9086
995a80df
AS
9087 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9088 (init_tls): Likewise.
9089
8682f8b0
UD
90902011-09-12 Ulrich Drepper <drepper@gmail.com>
9091
9092 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9093
de82006d
AS
90942011-09-12 Andreas Schwab <schwab@redhat.com>
9095
a7c8e6a1
AS
9096 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9097 `struct cmsghdr *' instead of `void *'.
9098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9099 Likewise.
9100
0f31fe77
AS
91012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9102
9103 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9104 if non-absolute.
9105 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9106 ldd_rewrite_script.
0f31fe77 9107
32b4c839
UD
91082011-09-11 Ulrich Drepper <drepper@gmail.com>
9109
83cd1420
UD
9110 * configure.in: Remove --with-tls option.
9111 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9112 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9113 out in case it is missing.
9114 * sysdeps/ia64/elf/configure.in: Likewise.
9115 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9116 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9117 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9118 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9119 * sysdeps/sh/elf/configure.in: Likewise.
9120 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9121 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9122 * sysdeps/x86_64/elf/configure.in: Likewise.
9123 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9124 * sysdeps/mach/hurd/tls.h: Likewise.
9125
633f745d
UD
9126 [BZ #13067]
9127 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9128
f318beb8
UD
9129 [BZ #13090]
9130 * configure.in: Fix use of AC_INIT.
9131
32b4c839
UD
9132 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9133
3ce1f295
UD
91342011-09-10 Ulrich Drepper <drepper@gmail.com>
9135
bb016596
UD
9136 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9137 __set_errno.
8e58439c
UD
9138 * malloc/hooks.c: Likewise.
9139
aebae053 9140 [BZ #11929]
02d46fc4
UD
9141 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9142 variables statically.
9143 (narenas): Initialize.
9144 (list_lock): Initialize.
bb016596
UD
9145 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9146 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9147 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9148 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9149 Add initializers to main_arena and mp_.
9150 (malloc_state): Remove pagesize member. Change all users to use
9151 GLRO(dl_pagesize).
9152
9153 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9154 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9155 is always initialized.
9156
22a89187
UD
9157 * malloc/malloc.c: Removed unused configurations and dead code.
9158 * malloc/arena.c: Likewise.
9159 * malloc/hooks.c: Likewise.
02d46fc4 9160 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9161
d063d164
UD
9162 * include/tls.h: Removed. USE___THREAD must always be defined.
9163 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9164 * elf/dl-libc.c: Likewise.
9165 * elf/dl-tsd.c: Likewise.
9166 * include/errno.h: Likewise.
9167 * include/netdb.h: Likewise.
9168 * include/resolv.h: Likewise.
9169 * inet/herrno-loc.c: Likewise.
9170 * inet/herrno.c: Likewise.
9171 * malloc/arena.c: Likewise.
9172 * malloc/hooks.c: Likewise.
9173 * malloc/malloc.c: Likewise.
9174 * resolv/res-state.c: Likewise.
9175 * resolv/res_libc.c: Likewise.
9176 * sysdeps/i386/dl-machine.h: Likewise.
9177 * sysdeps/ia64/dl-machine.h: Likewise.
9178 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9179 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9180 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9181 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9182 * sysdeps/sh/dl-machine.h: Likewise.
9183 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9185 * sysdeps/unix/i386/sysdep.S: Likewise.
9186 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9187 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9192 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9196 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9197 * sysdeps/x86_64/dl-machine.h: Likewise.
9198 * tls.make.c: Likewise.
9199
3ce1f295
UD
9200 * configure.in: Remove --with-__thread option. Make tests for
9201 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9202 tls_model attribute fail if no support is available. Remove
9203 USE_IN_LIBIO.
9204 * Makeconfig: Adjust for dropped configure option. All features are
9205 now mandatory.
9206 * Makerules: Likewise.
9207 * Versions.def: Likewise.
9208 * argp/argp-fmtstream.c: Likewise.
9209 * argp/argp-fmtstream.h: Likewise.
9210 * argp/argp-help.c: Likewise.
9211 * assert/assert.c: Likewise.
9212 * config.h.in: Likewise.
9213 * config.make.in: Likewise.
9214 * configure: Likewise.
9215 * configure.in: Likewise.
9216 * csu/Versions: Likewise.
9217 * csu/init.c: Likewise.
9218 * elf/tst-audit2.c: Likewise.
9219 * elf/tst-tls10.c: Likewise.
9220 * elf/tst-tls10.h: Likewise.
9221 * elf/tst-tls11.c: Likewise.
9222 * elf/tst-tls12.c: Likewise.
9223 * elf/tst-tls14.c: Likewise.
9224 * elf/tst-tlsmod11.c: Likewise.
9225 * elf/tst-tlsmod12.c: Likewise.
9226 * elf/tst-tlsmod13.c: Likewise.
9227 * elf/tst-tlsmod13a.c: Likewise.
9228 * elf/tst-tlsmod14a.c: Likewise.
9229 * elf/tst-tlsmod15b.c: Likewise.
9230 * elf/tst-tlsmod16a.c: Likewise.
9231 * elf/tst-tlsmod16b.c: Likewise.
9232 * elf/tst-tlsmod7.c: Likewise.
9233 * elf/tst-tlsmod8.c: Likewise.
9234 * elf/tst-tlsmod9.c: Likewise.
9235 * gmon/gmon.c: Likewise.
9236 * grp/fgetgrent_r.c: Likewise.
9237 * grp/putgrent.c: Likewise.
9238 * hurd/fopenport.c: Likewise.
9239 * include/libc-symbols.h: Likewise.
9240 * include/tls.h: Likewise.
9241 * intl/gettextP.h: Likewise.
9242 * intl/loadinfo.h: Likewise.
9243 * locale/global-locale.c: Likewise.
9244 * locale/localeinfo.h: Likewise.
9245 * mach/devstream.c: Likewise.
9246 * malloc/arena.c: Likewise.
9247 * malloc/set-freeres.c: Likewise.
9248 * misc/err.c: Likewise.
9249 * misc/getttyent.c: Likewise.
9250 * misc/mntent_r.c: Likewise.
9251 * posix/getopt.c: Likewise.
9252 * posix/wordexp.c: Likewise.
9253 * pwd/fgetpwent_r.c: Likewise.
9254 * resolv/Versions: Likewise.
9255 * resolv/res_hconf.c: Likewise.
9256 * shadow/fgetspent_r.c: Likewise.
9257 * shadow/putspent.c: Likewise.
9258 * stdio-common/printf_fphex.c: Likewise.
9259 * stdio-common/tmpfile.c: Likewise.
9260 * stdlib/abort.c: Likewise.
9261 * stdlib/fmtmsg.c: Likewise.
9262 * sunrpc/auth_unix.c: Likewise.
9263 * sunrpc/clnt_perr.c: Likewise.
9264 * sunrpc/clnt_tcp.c: Likewise.
9265 * sunrpc/clnt_udp.c: Likewise.
9266 * sunrpc/clnt_unix.c: Likewise.
9267 * sunrpc/openchild.c: Likewise.
9268 * sunrpc/svc_simple.c: Likewise.
9269 * sunrpc/svc_tcp.c: Likewise.
9270 * sunrpc/svc_udp.c: Likewise.
9271 * sunrpc/svc_unix.c: Likewise.
9272 * sunrpc/xdr.c: Likewise.
9273 * sunrpc/xdr_array.c: Likewise.
9274 * sunrpc/xdr_rec.c: Likewise.
9275 * sunrpc/xdr_ref.c: Likewise.
9276 * sunrpc/xdr_stdio.c: Likewise.
9277
1248c1c4
PB
92782011-09-09 Ulrich Drepper <drepper@gmail.com>
9279
9280 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9281
92822011-07-03 Andreas Jaeger <aj@suse.de>
9283
9284 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9285 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9286 regenerate with gen-libm-tests.pl.
9287
92882010-05-12 Petr Baudis <pasky@suse.cz>
9289
9290 [BZ #11589]
9291 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9292 around j0() zero points by switching to j1().
9293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9297
f22e1074
UD
92982011-09-09 Ulrich Drepper <drepper@gmail.com>
9299
f19009c1
UD
9300 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9301 instead of 0.
9302 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9303 instead of 0. .
9304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9305 Patch in part by Pavel Roskin <proski@gnu.org>.
9306
3f8cc204
UD
9307 [BZ #13138]
9308 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9309 realloc.
9310 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9311 Free memory block if necessary.
9312
f22e1074
UD
9313 [BZ #12847]
9314 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9315 be NULL. Don't lock in this case.
9316
0a2349f9
RM
93172011-09-09 Roland McGrath <roland@hack.frob.com>
9318
9319 * elf/elf.h (ELFOSABI_GNU): New macro.
9320 (ELFOSABI_LINUX): Define to that.
9321
f3cdd467
DZ
93222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9323
9324 * string/strncat.c (strncat): Undef the symbol in case it has been
9325 defined in bits/string.h.
9326
74718d13
UD
93272011-09-09 Ulrich Drepper <drepper@gmail.com>
9328
633e9e0f
UD
9329 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9330
0a2349f9 9331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9332 link map.
9333
f9924780
AJ
93342011-08-17 Andreas Jaeger <aj@suse.de>
9335
9336 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9337
7f5517aa
PP
93382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9339 Ian Lance Taylor <iant@google.com>
9340
9341 * math/libm-test.inc (lround_test): New testcase.
9342 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9343
762011fe
UD
93442011-09-08 Ulrich Drepper <drepper@gmail.com>
9345
92963737
UD
9346 * Makefile: Remove support for automatic cvs check-ins.
9347 * Makerules: Likewise.
9348 * config.make.in: Likewise.
9349 * configure.in: Likewise.
9350 * intl/Makefile: Likewise.
9351 * locale/Makefile: Likewise.
9352 * po/Makefile: Likewise.
9353 * posix/Makefile: Likewise.
9354 * sysdeps/gnu/Makefile: Likewise.
9355 * sysdeps/mach/hurd/Makefile: Likewise.
9356 * sysdeps/sparc/sparc32/Makefile: Likewise.
9357
b0727fd8
JS
9358 [BZ #13118]
9359 * posix/Makefile (bug-regex32-ENV): Define.
9360 Patch by John Stanley <jpsinthemix@verizon.net>.
9361
a0f33f99
UD
9362 * misc/Makefile (headers): Add bits/select2.h.
9363 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9364 * misc/bits/select2.h: New file.
9365 * include/bits/select2.h: New file.
9366 * debug/Makefile (routines): Add fdelt_chk.
9367 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9368 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9369 FD_ISSET.
9370 * debug/fdelt_chk.c: New file.
9371
762011fe
UD
9372 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9373 * wcsmbs/test-wmemcmp.c: Likewise.
9374 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9375 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9376
93772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9378
9379 * string/Makefile (strop-tests): Add memcmp.
9380 * string/test-wmemcmp.c: New file.
9381 * string/test-memcmp.c: Add wmemcmp support.
9382
7f513ec8
RM
93832011-09-08 Roland McGrath <roland@hack.frob.com>
9384
0442afb4
RM
9385 [BZ #13153]
9386 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9387 2011-07-19 change.
9388
7f513ec8
RM
9389 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9390 garbage value in a __mach_port_mod_refs call in the cases of the
9391 task-self and thread-self ports.
9392
a12b2239
ST
93932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9394
9395 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9396
610f9ab4
AS
93972011-09-08 Andreas Schwab <schwab@redhat.com>
9398
7f513ec8 9399 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9400
48882a1a
LD
94012011-09-07 Ulrich Drepper <drepper@gmail.com>
9402
b49865be
UD
9403 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9404
fdc86bc9
UD
9405 * elf/dl-libc.c (dlerror_run): Pass back error code from
9406 dl_catch_error.
9407
c966526a
UD
9408 [BZ #13123]
9409 * elf/dl-load.c (lose): Free l_origin if it is valid.
9410
48882a1a
LD
9411 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9412 names.
9413 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9414 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9415 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9416 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9417 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9418 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9419
77a2a8b4
AZ
94202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9421
9422 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9423 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9424 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9425 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9426 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9427 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9428 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9429 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9430 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9431 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9432
24f579d8
AM
94332011-08-15 Alan Modra <amodra@gmail.com>
9434
9435 [BZ #13092]
9436 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9437 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9438 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9439 ppc_mcount to static-only-routines.
9440 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9441 __mcount_internal.
9442 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9443 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9444
3d4837df
UD
94452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9446
9447 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9448 for finite and infinity parameters.
9449
22700377
WS
94502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9451
9452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9453 and add nop instructions for throughput optimization.
9454 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9455
5025581e
WS
94562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9457
9458 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9459 aligned copy for power7 with vector-scalar instructions.
9460 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9461
08a300c9
L
94622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9463
9464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9465 AVX check.
9466
59178ef9
AS
94672011-09-07 Andreas Schwab <schwab@redhat.com>
9468
9469 [BZ #13144]
9470 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9471 last change.
9472
e38ba7ab
UD
94732011-09-07 Ulrich Drepper <drepper@gmail.com>
9474
9475 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9476 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9477 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9478 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9479 clock_gettime.
9480
d53a73ac
UD
94812011-09-06 Ulrich Drepper <drepper@gmail.com>
9482
fc8bffcc
UD
9483 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9484 Forgot to demangle the pointer.
9485
ceaa0c5d
UD
9486 * sysdeps/i386/sysdep.h: Define atom_text_section.
9487 * sysdeps/x86_64/sysdep.h: Likewise.
9488 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9489 section with atom_text_section.
9490 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9491 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9492 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9494 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9495
a77d3c17
UD
9496 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9497 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9498 already be defined. Change to take two parameters and don't assign
9499 result to variable. Adjust all users.
9500 Define INTERNAL_GETTIME if not already defined.
9501 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9502 call.
9503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9504 HAVE_CLOCK_GETTIME_VSYSCALL.
9505 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9506
d53a73ac
UD
9507 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9508 gettimeofday vsyscall, just use time.
9509
a8f84144
AS
95102011-09-06 Andreas Schwab <schwab@redhat.com>
9511
9512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9513 <errno.h>.
9514
ef606249
UD
95152011-09-06 Ulrich Drepper <drepper@gmail.com>
9516
9517 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9518 syscall on x86-64.
9519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9520 syscall.
9521 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9523 syscall if possible.
9524
6585cb60
UD
95252011-09-05 Ulrich Drepper <drepper@gmail.com>
9526
9527 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9528 e_ident. Don't pass to find_mapsXX.
9529 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9530
a5f524e4
LD
95312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9532
9533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9534 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9535 * sysdeps/x86_64/multiarch/strchr.S: Update.
9536 Check bit_slow_BSF bit.
9537 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9538 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9540
554881ef
UD
95412011-09-05 Ulrich Drepper <drepper@gmail.com>
9542
d96de963
UD
9543 [BZ #13134]
9544 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9545 before glibc 2.15.
9546 (tryshell): Define.
9547 (__spawni): Change last parameter to be flag. Test
9548 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9549 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9550 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9551 * posix/spawni.c: Likewise.
9552 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9553 * posix/spawnp.c: Likewise. Change normal version to use
9554 SPAWN_XFLAGS_USE_PATH.
9555 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9556 SPAWN_XFLAGS_TRY_SHELL.
9557
d48e5868
UD
9558 [BZ #13150]
9559 * posix/glob.h: Remove gcc 1.x support.
9560
554881ef
UD
9561 [BZ #13068]
9562 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9563
693fb948
LD
95642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9565
9566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9567 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9568 strrchr-sse2-bsf
9569 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9570 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9571 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9572 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9573 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9574 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9575
1b48c537
UD
95762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9577
49d42c37
UD
9578 * sysdeps/x86_64/wcscmp.S: New file.
9579
1b48c537
UD
9580 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9581 wcscmp-c wcscmp-sse2
9582 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9583 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9584 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9585 * wcsmbs/wcscmp.c: Allow renaming.
9586
15c95c5d
DM
95872011-09-05 David S. Miller <davem@davemloft.net>
9588
9589 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9590 stack slot, rather than the struct return pointer slot.
9591 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9592 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9594 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9595
2f0ad8f3
UD
95962011-09-05 Ulrich Drepper <drepper@gmail.com>
9597
d88ae418
UD
9598 * po/ja.po: Update from translation team.
9599
2f0ad8f3
UD
9600 [BZ #13144]
9601 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9602 kernel in 64-bit binaries.
9603
5f4318d1
DM
96042011-09-01 David S. Miller <davem@davemloft.net>
9605
9606 * elf/elf.h (HWCAP_SPARC_*): Move to..
9607 * sysdeps/sparc/sysdep.h: this new file and add new values.
9608 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9609 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9610 _DL_HWCAP_COUNT to 24.
9611 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9612 entries.
9613 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9614 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9615 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9617 instead of magic constants.
9618 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9619
3ba57516
DM
96202011-08-31 David S. Miller <davem@davemloft.net>
9621
9622 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9624 Reimplement to do errno handling inline.
9625 (SYSCALL_ERROR_HANDLER): New macro.
9626 (__SYSCALL_STRING): Do not do errno handling in asm.
9627 (__CLONE_SYSCALL_STRING): Delete.
9628 (__INTERNAL_SYSCALL_STRING): Delete.
9629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9630 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9631 (PSEUDO): Reimplement to do errno handling inline.
9632 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9633 (SYSCALL_ERROR_HANDLER): New macro.
9634 (__SYSCALL_STRING): Do not do errno handling in asm.
9635 (__CLONE_SYSCALL_STRING): Delete.
9636 (__INTERNAL_SYSCALL_STRING): Delete.
9637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9638 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9639 i386.
9640 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9641 (inline_syscall*): Add 'err' argument.
9642 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9643 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9644 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9645 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9646
9647 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9648 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9649
2bc17433
AS
96502011-08-30 Andreas Schwab <schwab@redhat.com>
9651
9652 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9653
fbeb5f4d
JO
96542011-08-29 Jiri Olsa <jolsa@redhat.com>
9655
9656 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9657 directive.
9658
ad69cc26
DM
96592011-08-24 David S. Miller <davem@davemloft.net>
9660
9661 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9662
39dd69df
AS
96632011-08-24 Andreas Schwab <schwab@redhat.com>
9664
9665 * elf/Makefile: Add rules to build and run unload8 test.
9666 * elf/unload8.c: New file.
9667 * elf/unload8mod1.c: New file.
9668 * elf/unload8mod1x.c: New file.
9669 * elf/unload8mod2.c: New file.
9670 * elf/unload8mod3.c: New file.
9671
9672 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9673 it wasn't used.
9674
2c0b250a
DM
96752011-08-23 David S. Miller <davem@davemloft.net>
9676
9677 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9678 subtract stack bias.
9679 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9680 %sp not %fp in calculations.
9681 (_JMPBUF_UNWINDS_ADJ): Likewise.
9682
22044b48
DM
9683 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9684 (aio_suspend): Call it to force an exception region around the
9685 AIO_MISC_WAIT() invocation.
9686
2cae4995
AS
96872011-08-23 Andreas Schwab <schwab@redhat.com>
9688
9689 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9690 backslash.
9691
873a772e
AJ
96922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9693
9694 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9695 protection macro.
9696 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9697 and <dl-machine.h>.
9698 (Elf64_FuncDesc): Remove.
9699
25ad0df1
DM
97002011-08-22 David S. Miller <davem@davemloft.net>
9701
9702 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9703 sigaltstack check, add missing cfi directives.
9704 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9705 missing cfi directives, and sigaltstack handling.
9706
e888bcbe
AS
97072011-08-16 Andreas Schwab <schwab@redhat.com>
9708
9709 [BZ #11724]
9710 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9711 object is seen twice.
9712 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9713
9714 * elf/Makefile (distribute): Add tst-initorder2.c.
9715 (tests): Add tst-initorder2.
9716 (modules-names): Add tst-initorder2a tst-initorder2b
9717 tst-initorder2c tst-initorder2d. Add rules to build them.
9718 ($(objpfx)tst-initorder2.out): New rule.
9719 * elf/tst-initorder2.c: New file.
9720 * elf/tst-initorder2.exp: New file.
9721
87162f46
AS
97222011-08-22 Andreas Schwab <schwab@redhat.com>
9723
70538b7f
AS
9724 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9725
f55ffe58
AS
9726 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9727 dependencies back to end of function.
9728
87162f46
AS
9729 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9730 $(elfobjdir)/ld.so.
9731
91b392a4
UD
97322011-08-21 Ulrich Drepper <drepper@gmail.com>
9733
9734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9735 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9737 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9738 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9739 of __vdso_gettimeofday.
9740 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9741 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9742 attribute_hidden.
9743 (_libc_vdso_platform_setup): Remove initialization of
9744 __vdso_gettimeofday and __vdso_time.
9745
5c43483f
UD
97462011-08-20 Ulrich Drepper <drepper@gmail.com>
9747
775a77e7
UD
9748 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9749 and fgetc_unlocked.
9750 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9751 getc_unlocked.
89f447ed 9752
49c74ba9
UD
9753 * elf/dl-open.c (add_to_global): Report additions to the global scope
9754 for LD_DEBUG=scopes.
9755 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9756 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9757
5c43483f
UD
9758 [BZ #13114]
9759 * stdio-common/Makefile (tests): Add bug24.
9760 * stdio-common/bug24.c: New file.
9761
a101b025
AJ
97622011-08-19 Andreas Jaeger <aj@suse.de>
9763
9764 [BZ #13114]
9765 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9766 non-existant file when using close-on-exec mode.
9767
c88f1766
UD
97682011-08-20 Ulrich Drepper <drepper@gmail.com>
9769
0276a718
UD
9770 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9771 the very first instruction.
9772
c88f1766
UD
9773 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9774 the CFI state in the end.
9775 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9776 inclusion of dl-trampoline.h.
9777 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9778
51ccffa0
AS
97792011-08-19 Andreas Schwab <schwab@redhat.com>
9780
94d7165f
AS
9781 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9782 expectations for long double.
9783
51ccffa0
AS
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9785 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9786
fd708658 97872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9788
9789 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9790 artificual limit depends upon the system page size.
9791
44f0a71e
UD
97922011-08-17 Ulrich Drepper <drepper@gmail.com>
9793
9794 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9795 * resolv/Makefile: Define CFLAGS-libresolv.
9796
8de79a24
AS
97972011-08-17 Andreas Schwab <schwab@redhat.com>
9798
9799 * nss/makedb.c (compute_tables): Make variables used in nested
9800 function static.
9801
27724598
UD
98022011-08-17 Ulrich Drepper <drepper@gmail.com>
9803
c5305d88
UD
9804 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9805 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9806 if buffer was too small.
9807
27724598
UD
9808 * elf/pldd.c (main): Attach to all threads in the process.
9809 Rewrite /proc handling to use *at functions.
9810
076fe015
UD
98112011-08-16 Ulrich Drepper <drepper@gmail.com>
9812
174baab3
UD
9813 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9814 specifies first scope to show.
9815 (dl_open_worker): Update callers. Move printing scope of new
9816 object to before the relocation.
44f0a71e 9817 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9818 * sysdeps/generic/ldsodefs.h: Update declaration.
9819
076fe015
UD
9820 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9821 string for the scope number.
9822
a60df2c3
UD
98232011-08-14 Ulrich Drepper <drepper@gmail.com>
9824
9825 * nscd/servicescache.c (cache_addserv): Make sure written is always
9826 initialized.
9827
5e4287d1
RM
98282011-08-14 Roland McGrath <roland@hack.frob.com>
9829
85ae0589
RM
9830 * sysdeps/i386/i486/bits/atomic.h
9831 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9832 statement expression, so as to suppress "set but not used" warning.
9833 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9834
69f63097
RM
9835 * string/strncat.c (STRNCAT): Use prototype definition.
9836
675456ef
RM
9837 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9838 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9839 -Iprograms here.
9840 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9841 (localedef-modules): Add localedef.
9842 (locale-modules): Add locale.
9843
5e4287d1
RM
9844 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9845 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9846 to avoid a warning.
9847
9c96ff23
DM
98482011-08-14 David S. Miller <davem@davemloft.net>
9849
9850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9851 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9852
f9ddf089
UD
98532011-08-13 Ulrich Drepper <drepper@gmail.com>
9854
44f0a71e 9855 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9856 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9857 * elf/rtld.c (dl_main): Set l_name of vDSO.
9858 Call _dl_show_scope when DL_DEBUG_SCOPES.
9859 (process_dl_debug): Recognize scopes flag and also set it for all.
9860 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9861 Declare _dl_show_scope.
9862
1dc27704
UD
9863 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9864 (do_dlopen): Pass caller_dlopen to dl_open.
9865 (__libc_dlopen_mode): Initialize caller_dlopen.
9866
f9ddf089
UD
9867 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9868 of libc. Make tolower call locale-independent. Optimize a bit by
9869 using isdigit instead of isalnum.
9870 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9871
9ac533d3
UD
98722011-08-12 Ulrich Drepper <drepper@gmail.com>
9873
9874 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9875 was a dependency or dynamically loaded.
9876
89edf2e9
UD
98772011-08-11 Ulrich Drepper <drepper@gmail.com>
9878
8e999d29
UD
9879 * intl/l10nflist.c: Allow architecture-specific pop function.
9880 * sysdeps/x86_64/l10nflist.c: New file.
9881
89edf2e9
UD
9882 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9883 classification.
9884
14d96785
AS
98852011-08-10 Andreas Schwab <schwab@redhat.com>
9886
9887 * include/dirent.h: Add libc_hidden_proto for scandirat and
9888 scandirat64. Don't declare __scandirat64.
9889 * dirent/scandirat.c: Add libc_hidden_def.
9890 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9891 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9892
6761ac04
DM
98932011-08-10 David S. Miller <davem@davemloft.net>
9894
9895 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9896 enum.
9897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9898 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9900
c55fbd1e
UD
99012011-08-09 Ulrich Drepper <drepper@gmail.com>
9902
9903 * Versions.def [libc]: Add GLIBC_2.15.
9904 * dirent/Makefile (routines): Add scandirat and scandirat64.
9905 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9906 GLIBC_2.15.
9907 * dirent/dirent.h: Declare scandirat and scandirat64.
9908 * dirent/scandirat.c: New file.
9909 * dirent/scandirat64.c: New file.
9910 * sysdeps/wordsize-64/scandirat.c: New file.
9911 * sysdeps/wordsize-64/scandirat64.c: New file.
9912 * dirent/opendir.c: Define opendirat.
9913 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9914 using scandirat.
9915 * dirent/scandir64.c: Adjust for scandir.c change.
9916 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9917 __scandirat64, and __scandir_cancel_handler.
9918 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9919 additional parameter and use openat instead of open (outside of ld.so).
9920 Add new __opendir as wrapper around __opendirat.
9921 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9922 here without requiring old scandirat implementation.
9923
879165f2
UD
99242011-08-08 Ulrich Drepper <drepper@gmail.com>
9925
9926 * dirent/scandir.c (cancel_handler): Renamed to
9927 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9928 defined. Adjust users.
9929 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9930 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9931
cb7e923b
UD
99322011-08-04 Ulrich Drepper <drepper@gmail.com>
9933
16292edd
UD
9934 * string/test-string.h (IMPL): Use __STRING to expand name and then
9935 stringify it.
9936
cb7e923b
UD
9937 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9938 of cleanups.
9939
cff82933
LD
99402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9941
9942 * string/Makefile: Update.
9943 (strop-tests): Append strncat.
9944 * string/test-wcscmp.c: New file.
9945 New comprehensive test for wcscmp.
9946 * string/test-strcmp.c: Update.
9947 (WIDE): New define.
9948
9be9bfcc
AS
99492011-07-22 Andreas Schwab <schwab@redhat.com>
9950
9951 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9952 line.
9953
2e96f1c7
AS
99542011-07-26 Andreas Schwab <schwab@redhat.com>
9955
9956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9957 encoding to ACE if AI_IDN.
9958
85188888
JJ
99592011-08-01 Jakub Jelinek <jakub@redhat.com>
9960
9961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9962 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9963
5fa16e9b
LD
99642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9965
9966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9967 Fix overflow bug in strncat.
9968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9969
9970 * string/test-strncat.c: Update.
9971 Add new tests for checking overflow bugs.
9972
99732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9974
9975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9976 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9977 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9978 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9979 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9980 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9981 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9982 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9983 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9984
9985 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9986 (USE_AS_STRCAT): Define.
9987 Add strcat and strncat support.
9988 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9989
8c1a459f
AS
99902011-07-25 Andreas Schwab <schwab@redhat.com>
9991
9992 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9993 __n bigger than INT_MAX+1.
9994 (__strncmp_g): Likewise.
9995
bba33c28
UD
99962011-07-23 Ulrich Drepper <drepper@gmail.com>
9997
798be72d
UD
9998 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9999 * libio/stido.h: Likewise.
10000
8accd4dc
UD
10001 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10002 (AF_NFC): Define.
10003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10004 (AF_NFC): Define.
10005
cbff0d96
UD
10006 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10009 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10010 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10011
9191c04a
UD
10012 [BZ #13021]
10013 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10014 installed.
10015
bba33c28
UD
10016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10017 typo.
10018 (_dl_x86_64_save_sse): Likewise.
10019
90f139dd
UD
100202011-07-22 Ulrich Drepper <drepper@gmail.com>
10021
1aae088a
UD
10022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10023 OSXSAVE.
10024 (_dl_x86_64_save_sse): Likewise.
10025
8e2045f5
UD
10026 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10027
90f139dd
UD
10028 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10029
1d002f25
AS
100302011-07-21 Andreas Schwab <schwab@redhat.com>
10031
10032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10033 change.
10034 (_dl_x86_64_save_sse): Use correct AVX check.
10035
21137f89
UD
100362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10037
10038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10039 bug in strncpy/strncat.
10040 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10041
a65c0b7a
UD
100422011-07-21 Ulrich Drepper <drepper@gmail.com>
10043
10044 * string/tester.c (test_strcat): Add tests for different alignments
10045 of source and destination.
10046 (test_strncat): Likewise.
10047
6986b98a
UD
100482011-07-20 Ulrich Drepper <drepper@gmail.com>
10049
90bb2039
UD
10050 [BZ #12852]
10051 * posix/glob.c (glob): Check passed in values before using them in
10052 expressions to avoid some overflows.
10053 (glob_in_dir): Likewise.
10054
5644ef54
UD
10055 [BZ #13007]
10056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10057 check for AVX enablement so that we don't crash with old kernels and
10058 new hardware.
10059 * elf/tst-audit4.c: Add same checks here.
10060 * elf/tst-audit6.c: Likewise.
10061
10062 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10063
bfc9dc9b
AS
100642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10065
10066 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10067
702e64bb
UD
100682011-07-20 Ulrich Drepper <drepper@gmail.com>
10069
10070 * po/cs.po: Update from translation team.
10071 * po/bg.po: Likewise.
10072
295e904f
MP
100732011-07-12 Marek Polacek <mpolacek@redhat.com>
10074
10075 * misc/sys/cdefs.h: Add support for const attribute.
10076 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10077 to gnu_dev_{major,minor,makedev} functions.
10078
3ff94596
MP
100792011-07-20 Marek Polacek <mpolacek@redhat.com>
10080
10081 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10082
28b59fca
AS
100832011-07-20 Andreas Schwab <schwab@redhat.com>
10084
10085 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10086 strlen results.
10087
19df733e
AK
100882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10089
10090 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10091 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10092 register in order to avoid conflicts with the soft frame pointer
10093 being held in r11 when necessary.
10094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10095 (INTERNAL_VSYSCALL_NCS): Likewise.
10096
c8835729
MP
100972011-07-14 Marek Polacek <mpolacek@redhat.com>
10098
10099 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10100 * elf/dl-fini.c (_dl_fini): Adjust caller.
10101 * elf/dl-close.c (_dl_close_worker): Likewise.
10102 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10103
b902330c
MP
101042011-07-15 Marek Polacek <mpolacek@redhat.com>
10105
8991e135
MP
10106 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10107 "aux_cache->nlibs < 0".
10108
b902330c
MP
10109 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10110 in the reload-count case.
10111
99710781
LD
101122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10113
10114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10115 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10116 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10117 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10118 * sysdeps/x86_64/multiarch/strcat.S: New file.
10119 * sysdeps/x86_64/multiarch/strncat.S: New file.
10120 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10121 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10122 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10123 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10125 (USE_AS_STRCAT): Define.
10126 Add strcat and strncat support.
10127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10129 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10130 * string/strncat.c: Update.
10131 (USE_AS_STRNCAT): Define.
10132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10133 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10134 and i7.
10135 * sysdeps/x86_64/multiarch/init-arch.h
10136 (bit_Prefer_PMINUB_for_stringop): New.
10137 (index_Prefer_PMINUB_for_stringop): Likewise.
10138 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10139 bit_Prefer_PMINUB_for_stringop.
10140
7dc6bd90
UD
101412011-07-19 Ulrich Drepper <drepper@gmail.com>
10142
10143 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10144 buffer64.
10145 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10146 of casting of buffer.
10147 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10148 buffer32 and buffer64.
10149 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10150 writes instead of casting of buffer.
10151 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10152 buffer32.
10153 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10154 casting of buffer.
10155
e0e72284
AS
101562011-07-19 Andreas Schwab <schwab@redhat.com>
10157
10158 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10159
feb1eb0b
UD
101602011-07-19 Ulrich Drepper <drepper@gmail.com>
10161
10162 * nscd/nscd.c (termination_handler): Don't do anything for a database
10163 if it has not yet been initialized.
10164
298711ff
UD
101652011-07-18 Ulrich Drepper <drepper@gmail.com>
10166
10167 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10168
101692011-07-15 Marek Polacek <mpolacek@redhat.com>
10170
10171 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10172
f9d68389
UD
101732011-07-18 Ulrich Drepper <drepper@gmail.com>
10174
10175 * po/nl.po: Update from translation team.
10176 * po/sv.po: Likewise.
10177
db290cf5
RM
101782011-07-16 Roland McGrath <roland@hack.frob.com>
10179
10180 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10181 now disallowed by GCC.
5c550700 10182
fd5e21c7
RM
10183 * configure.in (use-default-link): Default to yes if a test -shared
10184 link meets our qualifications.
10185 * configure: Regenerated.
10186
5c550700
RM
10187 * config.make.in (output-format): New variable.
10188 * configure.in: Check for ld --print-output-format support.
10189 * configure: Regenerated.
10190 * Makerules ($(common-objpfx)format.lds)
10191 [$(output-format) != unknown]: Just use $(output-format),
10192 instead of the linker-script munging.
10193
9fa2c032
RM
101942011-07-14 Roland McGrath <roland@hack.frob.com>
10195
a6928d51
RM
10196 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10197 of $(common-objpfx)shlib.lds.
10198 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10199
661607b3
RM
10200 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10201 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10202
9fa2c032
RM
10203 * configure.in (-z relro check): Adjust test code to add a large
10204 writable data section after it.
10205 * configure: Regenerated.
10206
defe9061
RM
102072011-07-11 Roland McGrath <roland@hack.frob.com>
10208
10209 * configure.in (-z relro check): Fix test code to make the variable
10210 truly const.
10211 * configure: Regenerated.
10212
319b9ad4
UD
102132011-07-11 Ulrich Drepper <drepper@gmail.com>
10214
10215 * nscd/nscd.h (struct traced_file): Define.
10216 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10217 elements. Add traced_files.
10218 (inotify_fd): Declare.
10219 (register_traced_file): Declare.
10220 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10221 (inotify_fd): Export.
10222 (resolv_conf_descr): Remove.
10223 (nscd_init): Move inotify descriptor creation to main.
10224 Don't register files for notification here.
10225 (register_traced_file): New function.
10226 (invalidate_cache): Don't use reset_res to determine whether to call
10227 res_init, go through the list of registered files.
10228 (main_loop_poll): The inotify descriptors are now stored in the
10229 structures for the traced files.
10230 (main_loop_epoll): Likewise
10231 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10232 to __nss_disable_nscd.
10233 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10234 for a database anymore. Check the records for all the registered
10235 files instead.
10236 * nss/Makefile (libnss_files-routines): Add files-init.
10237 (libnss_db-routines): Add db-init.
10238 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10239 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10240 * nss/nss_db/db-init.c: New file.
10241 * nss/nss_files/files-init.c: New file.
10242 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10243 __nss_lookup_function.
10244 (__nss_lookup_function): Call nss_load_library.
10245 (nss_load_all_libraries): New function.
10246 (__nss_disable_nscd): Take parameter with callback function for files
10247 to register. Set is_nscd. Load all the DSOs for the NSS modules
10248 used for the cached services.
10249 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10250 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10251 options for features to all the files in nscd.
10252
10253 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10254
23bee3e8
RM
102552011-07-10 Roland McGrath <roland@hack.frob.com>
10256
10257 * csu/elf-init.c (__libc_csu_init): Comment typo.
10258
46a5b7f0
UD
102592011-07-09 Ulrich Drepper <drepper@gmail.com>
10260
10261 * po/pl.po: Update from translation team.
10262 * po/ja.po: Likewise.
10263 * po/ru.po: Likewise.
10264 * po/ko.po: Likewise.
10265 * po/fr.po: Likewise.
10266
d30cf5bb
RM
102672011-07-09 Roland McGrath <roland@hack.frob.com>
10268
113ddea4
RM
10269 * configure.in (.ctors/.dtors header and trailer check):
10270 Use an empirical test on a built program.
10271 * configure: Regenerated.
10272
574920b4
RM
10273 * configure.in (-z relro check): Use an empirical test on a built DSO.
10274 Detect, but do not require, on ia64.
10275 * configure: Regenerated.
10276
d30cf5bb
RM
10277 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10278 Update tests that use readelf to use $READELF instead.
10279 * configure: Regenerated.
10280
8538fdb3
UD
102812011-07-08 Ulrich Drepper <drepper@gmail.com>
10282
10283 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10284 if the result is not used.
10285
04d08991
AJ
102862011-07-05 Andreas Jaeger <aj@suse.de>
10287
10288 [BZ#9696]
10289 * stdlib/tst-strtod.c: Add testcase.
10290
de283087
AD
102912011-07-07 Ulrich Drepper <drepper@gmail.com>
10292
4e5f31c8 10293 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10294 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10295 The latter has a higher limit. Take additional parameter to pass to
10296 the new function.
10297 (__pathconf): Pass file to __statfs_link_max.
10298 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10299 __statfs_link_max.
10300 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10301 __statfs_link_max.
10302
de283087
AD
10303 [BZ #12868]
10304 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10306 Handle Lustre.
10307 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10308 (__statfs_filesize_max): Likewise.
10309 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10310
c75fa153
AJ
103112011-07-05 Andreas Jaeger <aj@suse.de>
10312
10313 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10314
1a544854
UD
103152011-07-06 Marek Polacek <mpolacek@redhat.com>
10316
10317 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10318 `status' variable.
10319 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10320 Likewise.
10321
6f0eec67
UD
103222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10323
10324 * Makefile (strop-tests): Add strncat.
10325 * string/test-strncat.c: New file.
10326
aae30307
UD
103272011-06-30 Marek Polacek <mpolacek@redhat.com>
10328
10329 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10330
c0cfb5eb
UD
103312011-06-21 Andreas Jaeger <aj@suse.de>
10332
10333 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10334 Copy rule from iconvdata/Makefile.
10335
01636b21
UD
103362011-07-06 Ulrich Drepper <drepper@gmail.com>
10337
10338 [BZ #12922]
10339 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10340 but no long options are defined, just return 'W'.
10341
9895c8bc
UD
103422011-06-22 Marek Polacek <mpolacek@redhat.com>
10343
10344 [BZ #9696]
10345 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10346
5d4cf042
UD
103472011-07-06 Ulrich Drepper <drepper@gmail.com>
10348
10349 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10350 netgroups to read.
960e5535 10351 (innetgr): Likewise.
5d4cf042 10352
751eb97e
RM
103532011-07-05 Roland McGrath <roland@hack.frob.com>
10354
10355 * config.make.in (install_root): Default to $(DESTDIR).
10356
f15f1e45
UD
103572011-07-05 Ulrich Drepper <drepper@gmail.com>
10358
10359 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10360
4e34ac6a
RM
103612011-07-02 Roland McGrath <roland@hack.frob.com>
10362
5e9b6af4
RM
10363 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10364
84f9ea0f
RM
10365 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10366 containing directory rather than embedding absolute directory names.
10367
ea5ee9f7
RM
10368 * scripts/check-local-headers.sh: Rewritten using awk.
10369 Match by word, not by line. Print error messages for matches.
10370 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10371
1b74661a
RM
10372 * Makerules [shlib-lds-flags empty]:
10373 ($(common-objpfx)libc_pic.opts): New target.
10374 ($(common-objpfx)libc_pic.os.clean): New target.
10375 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10376
10377 * config.make.in (OBJCOPY): New variable.
10378 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10379 * configure: Regenerated.
10380
f781ef40
RM
10381 * config.make.in (use-default-link): New variable.
10382 * configure.in (use_default_link): Grok --with-default-link to set it.
10383 * configure: Regenerated.
10384 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10385 (shlib-lds, shlib-lds-flags): Define to empty.
10386
2d4fa81e
RM
10387 * Makerules (shlib-lds): New variable.
10388 (shlib-lds-flags): New variable.
10389 (build-shlib, build-moduile, build-module-asneeded): Use it.
10390 ($(common-objpfx)libc.so): Use $(shlib-lds).
10391 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10392 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10393
31fffa6b
RM
10394 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10395 DT_FLAGS/DT_FLAGS_1 with zero flags.
10396
4e34ac6a
RM
10397 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10398 linker script munging.
10399
fcfc776b
UD
104002011-07-02 Ulrich Drepper <drepper@gmail.com>
10401
10402 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10403 as 128-bit value.
10404 * crypt/sha512.c (sha512_process_block): Perform total addition using
10405 128-bit if possible.
10406 (__sha512_finish_ctx): Likewise.
10407 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10408 as 64-bit value.
10409 * crypt/sha256.c (SWAP64): Define.
10410 (sha256_process_block): Perform total addition using 64-bit if
10411 possible.
10412 (__sha256_finish_ctx): Likewise.
10413
99231d9a
UD
104142011-07-01 Ulrich Drepper <drepper@gmail.com>
10415
10416 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10418 * nscd/hstcache.c (cache_addhst): Likewise.
10419 * nscd/grpcache.c (cache_addgr): Likewise.
10420 * nscd/aicache.c (addhstaiX): Likewise
10421 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10422
445b4a53
TK
104232011-07-01 Thorsten Kukuk <kukuk@suse.de>
10424
10425 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10427 * nscd/hstcache.c (cache_addhst): Likewise.
10428 * nscd/grpcache.c (cache_addgr): Likewise.
10429 * nscd/aicache.c (addhstaiX): Likewise
10430
6d4d8e8e
AS
104312011-07-01 Andreas Schwab <schwab@redhat.com>
10432
10433 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10434 domain only when needed.
10435
89f654c5
AS
104362011-06-30 Andreas Schwab <schwab@redhat.com>
10437
10438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10439 is always restored.
10440
cf3b23ff
UD
104412011-06-29 Ulrich Drepper <drepper@gmail.com>
10442
10443 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10444 are re-adding the entry.
10445 * nscd/servicescache.c (cache_addserv): Likewise.
10446
751626f9
AJ
104472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10448
10449 * sysdeps/generic/dl-irel.h: fix protection against multiple
10450 inclusions.
10451 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10452
9113ea1f
UD
104532011-06-28 Ulrich Drepper <drepper@gmail.com>
10454
5c0b8d90
UD
10455 [BZ #12935]
10456 * malloc/memusage.sh: Fix quoting in message.
10457 * debug/xtrace.sh: Likewise.
10458
9113ea1f
UD
10459 * configure.in: Remove support for --experimental-malloc option, make
10460 it the default.
10461 * config.make.in: Likewise.
10462 * malloc/Makefile: Likewise.
10463
a4172181
AS
104642011-06-27 Andreas Schwab <schwab@redhat.com>
10465
10466 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10467 two-byte characters.
10468
78a7eee7
RM
104692011-06-27 Roland McGrath <roland@hack.frob.com>
10470
62bede13
RM
10471 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10472 AC_CACHE_CHECK invocation.
10473 * configure: Regenerated.
10474
78a7eee7
RM
10475 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10476
5ce33a62
UD
104772011-06-27 Ulrich Drepper <drepper@gmail.com>
10478
034807a9
UD
10479 [BZ #12350]
10480 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10481 bit from old_res_options.
10482
4902da17
UD
10483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10484
5ce33a62
UD
10485 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10486 value type for setfct.
10487
c2344f56
L
104882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10491 __gettimeofday instead of gettimeofday.
10492
68468076
UD
104932011-06-26 Ulrich Drepper <drepper@gmail.com>
10494
10495 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10496
acb0d739
L
104972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10500
10501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10502 info.
10503
8912479f
L
105042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10505
10506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10507 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10508 strcpy-sse2-unaligned strncpy-sse2-unaligned
10509 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10510 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10511 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10512 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10513 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10514 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10515 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10516 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10517 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10518 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10519 (STRCPY): Support SSE2 and SSSE3 versions.
10520
d5495a11
UD
105212011-06-24 Ulrich Drepper <drepper@gmail.com>
10522
10523 [BZ #12874]
10524 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10525 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10526 kernels which artificially limit size of requests.
10527
0b1cbaae
L
105282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10529
10530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10531 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10532 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10533 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10534 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10535 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10536 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10537 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10540 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10541 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10542 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10543 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10544 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10546 Enable unaligned load optimization for Intel Core i3, i5 and i7
10547 processors.
10548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10549 Define.
10550 (index_Fast_Unaligned_Load): Define.
10551 (HAS_FAST_UNALIGNED_LOAD): Define.
10552
07f494a0
MP
105532011-06-23 Marek Polacek <mpolacek@redhat.com>
10554
10555 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10556
fa3fc0fe
UD
105572011-06-22 Ulrich Drepper <drepper@gmail.com>
10558
10559 [BZ #12907]
10560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10561 until it is clear that the information is realy needed.
10562 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10563
e12df166
AS
105642011-06-22 Andreas Schwab <schwab@redhat.com>
10565
10566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10567
852eb34d
UD
105682011-06-22 Ulrich Drepper <drepper@gmail.com>
10569
84e2a551
UD
10570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10571 /sys/devices/system/cpu/online if it is usable.
10572
852eb34d
UD
10573 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10574 reading the information from the /proc filesystem to once a second.
10575
6e502e19
UD
105762011-06-21 Andreas Jaeger <aj@suse.de>
10577
10578 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10579 NULL after inclusion of kernel headers.
10580
75d39ff2
UD
105812011-06-21 Ulrich Drepper <drepper@gmail.com>
10582
51f9aa6a
UD
10583 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10584 calls to internal_setent.
10585
c0244a9d
UD
10586 [BZ #12885]
10587 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10588 addresses using gethostbyname4_r ignore IPv4 addresses.
10589
c5e3c2ae
UD
10590 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10591 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10592
75d39ff2
UD
10593 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10594
42675c6f
DM
105952011-06-20 David S. Miller <davem@davemloft.net>
10596
10597 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10598 inclusions.
10599 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10600
10601 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10602 (elf_irel): Use it.
10603 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10604 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10605 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10606 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10607 * sysdeps/x86_64/dl-irel.h: Likewise.
10608
10609 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10610 * elf/dl-sym.c: Likewise.
10611
57912a71
UD
106122011-06-15 Ulrich Drepper <drepper@gmail.com>
10613
10614 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10615 need to dereference resplen2.
10616
ee22793d
AS
106172011-06-14 Andreas Schwab <schwab@redhat.com>
10618
10619 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10620
a9e836b0
UD
106212011-06-15 Ulrich Drepper <drepper@gmail.com>
10622
77fb9117
UD
10623 * Makeconfig: Define vardbdir and inst_vardbdir.
10624 * nss/Makefile: Add rules to install db-Makefile.
10625
40c1b22c
UD
10626 * nss/nss_db/db-XXX.c: Cleanup.
10627
9f2da732
UD
10628 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10629 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10630 GLIBC_PRIVATE.
10631 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10632 * nss/makedb.c: Implement -g option to specify that value strings
10633 are generated and should not be added to table iterated over for
10634 get*ent calls.
10635 * nss/nss_db/db-initgroups.c: New file.
10636
82e9a1f7
UD
10637 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10638 interface.
10639
c41af17e
UD
10640 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10641 (internal_getgrouplist): Adjust to name change.
10642 Update use_initgroups_entry if this is not the first call.
10643 * nss/databases.def: Add initgroups entry.
10644
a9e836b0
UD
10645 * nss/makedb.c (compute_tables): Check result of multiple hash table
10646 sizes to minimize maximum chain length.
10647
2666d441
UD
106482011-06-14 Ulrich Drepper <drepper@gmail.com>
10649
10650 * Versions.def: Add entry for libnss_db.
10651 * shlib-versions: Likewise.
10652 * nss/Makefile: Add rules to build libnss_db.
10653 * nss/Versions: Add libnss_db information. Organize libnss_files
10654 entries better.
10655 * nss/db-Makefile: Add gshadow support. Change rules for the new
10656 makedb progra. Some minor improvements to generate smaller files.
10657 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10658 here from...
10659 * nss/makedb.c: ...here.
10660 Improve database format to be smaller and require less memory at
10661 runtime.
10662 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10663 db anymore.
10664 * nss/nss_db/db-netgrp.c: Likewise.
10665 * nss/nss_db/db-open.c: Likewise.
10666 * nss/nss_files/flies-XXX.x: Adjust comments.
10667 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10668 * nss/nss_files/files-grp.c: Likewise.
10669 * nss/nss_files/files-hosts.c: Likewise.
10670 * nss/nss_files/files-network.c: Likewise.
10671 * nss/nss_files/files-proto.c: Likewise.
10672 * nss/nss_files/files-pwd.c: Likewise.
10673 * nss/nss_files/files-rpc.c: Likewise.
10674 * nss/nss_files/files-service.c: Likewise.
10675 * nss/nss_files/files-sgrp.c: Likewise.
10676 * nss/nss_files/files-spwd.c: Likewise.
10677 * nss/nss_db/db-alias.c: Removed.
10678 * nss/nss_db/dummy-db.h: Removed.
10679
9ee76b5a
UD
106802011-06-02 Ulrich Drepper <drepper@gmail.com>
10681
10682 * nss/makedb.c: Rewritten to not use database library.
10683 * nss/Makefile: Update to build new makedb program.
10684
c71ca1f8
AJ
106852011-06-14 Andreas Jaeger <aj@suse.de>
10686
10687 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10688 memset declaration.
10689
3154bfb8
UD
106902011-06-10 Andreas Schwab <schwab@redhat.com>
10691
10692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10693 tmpbuf.
10694
b350afab
RM
106952011-06-10 Roland McGrath <roland@hack.frob.com>
10696
decd4e50
RM
10697 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10698 * elf/Makefile ($(objpfx)ld.so): Likewise.
10699
5615eaf2
RM
10700 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10701 Don't list ld.so twice in dependencies.
10702
10703 * posix/bug-regex31.c: Include <stdlib.h>.
10704
10705 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10706
10707 * nis/nss_compat/compat-spwd.c
10708 (getspent_next_nss_netgr): Remove unused variable.
10709 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10710
10711 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10712 nonmembers" output to use the right array.
10713
10714 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10715
10716 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10717
10718 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10719 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10720 * catgets/gencat.c (read_input_file): Likewise.
10721 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10722
10723 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10724 variable definition inside #if's controlling its use.
10725
10726 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10727
10728 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10729
10730 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10731
10732 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10733 unreachable code.
10734
10735 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10736
b68e08db
RM
10737 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10738 * configure: Regenerated.
10739
b350afab
RM
10740 * Makerules: Revert last change.
10741 * elf/Makefile: Likewise.
10742
28368601
RM
107432011-06-09 Roland McGrath <roland@hack.frob.com>
10744
10745 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10746 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10747 (reloc-link): Likewise.
10748
11988f8f
UD
107492011-06-09 Ulrich Drepper <drepper@gmail.com>
10750
10751 * elf/Makefile: Add rules to build pldd.
10752 * elf/pldd.c: New file.
10753 * elf/pldd-xx.c: New file.
10754
e80fab37
UD
107552011-06-07 Ulrich Drepper <drepper@gmail.com>
10756
10757 * version.h: Update for 2.15 development version.
10758
9b849836
DM
107592011-06-07 David S. Miller <davem@davemloft.net>
10760
10761 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10762 ifuncs.
10763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10764 elf_machine_lazy_rel): Likewise.
10765 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10767 elf_machine_lazy_rel): Likewise.
10768 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10769 dl_hwcap via passed in argument.
10770 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10771 Likewise.
10772
5a31b283
AK
107732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10774
10775 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10776
069e52f8
RM
107772011-06-06 Roland McGrath <roland@hack.frob.com>
10778
10779 [BZ #12849]
10780 * manual/fdl-1.1.texi: New file, verbatim from:
10781 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10782 * manual/lgpl-2.1.texi: New file, verbatim from:
10783 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10784 * manual/Makefile (licenses): New variable, list those new file names.
10785 (texis): Use it.
10786 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10787
10788 * manual/fdl.texi: File removed.
10789 * manual/lesser.texi: File removed.
10790 * manual/libc.texinfo (Copying, Documentation License):
10791 Use new @include file names, put @appendix directive before @include.
10792
f16846a5
JJ
107932011-06-04 Jakub Jelinek <jakub@redhat.com>
10794
10795 [BZ #12841]
10796 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10797 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10798 (mq_open): Add __NTH.
10799
3d29045b
L
108002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10801
10802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10803 Assume Intel Core i3/i5/i7 processor if AVX is available.
10804
8c297311
UD
108052011-05-31 Ulrich Drepper <drepper@gmail.com>
10806
10807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10808 typo.
10809
c8fc0c91
UD
108102011-05-31 Andreas Schwab <schwab@redhat.com>
10811
10812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10813 memory. Use alloca_account. Fix memory leak when retrying.
10814
5b27a807
UD
108152011-05-31 Ulrich Drepper <drepper@gmail.com>
10816
356f8bc6
UD
10817 * version.h (RELEASE): Bump for 2.14 release.
10818 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10819
5b27a807
UD
10820 * config.make.in (RANLIB): Remove entry.
10821
01f16ab0
UD
108222011-05-30 Ulrich Drepper <drepper@gmail.com>
10823
41fce8bd
UD
10824 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10825 (libc.pot): Work around missing support for .ksh extension in xgettext.
10826
4769ae77
UD
10827 [BZ #12684]
10828 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10829 if both request failed.
10830 (send_dg): In case of server errors clear resplen or *resplen2.
10831
6b1e7d19
UD
10832 [BZ #12454]
10833 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10834 when there are multiple maps.
10835 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10836 (_dl_fini): Remove test here.
10837
01f16ab0
UD
10838 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10839
b1ebd700
UD
108402011-05-29 Ulrich Drepper <drepper@gmail.com>
10841
7ae22829
UD
10842 [BZ #12350]
10843 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10844 bit from old_res_options.
10845 (gaih_inet): Likewise.
10846
553149f6 10847 [BZ #11099]
18a84741 10848 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10849 as signed.
10850
652ffab1
UD
10851 * resolv/res_init.c (res_setoptions): Make the code more compact.
10852
16985fd0
UD
10853 [BZ #11558]
10854 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10855 set RES_USEVC.
10856
0464f746
UD
10857 [BZ #11634]
10858 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10859
7d17596c
UD
10860 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10861
cf6bbbd7
UD
10862 [BZ #11781]
10863 * malloc/malloc.h: Declare malloc hook variables as volatile.
10864
13f1ab36
UD
10865 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10866 in last patch.
10867
b1ebd700
UD
10868 [BZ #11799]
10869 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10870 raise in the comment.
80e2212d
UD
10871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10873 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10874
ce67228d
UD
108752011-05-28 Ulrich Drepper <drepper@gmail.com>
10876
8887a920
UD
10877 [BZ #12811]
10878 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10879 grow the buffers more if it already has to be sufficient.
10880 (build_wcs_upper_buffer): Likewise.
10881 * posix/regexec.c (check_matching): Likewise.
10882 (clean_state_log_if_needed): Likewise.
10883 (extend_buffers): Don't enlarge buffers beyond size of the input
10884 buffer.
10885 Patches mostly by Emil Wojak <emil@wojak.eu>.
10886 * posix/bug-regex32.c: New file.
10887 * posix/Makefile (tests): Add bug-regex32.
10888
4f031072
UD
10889 * locale/findlocale.c (_nl_find_locale): Return right away if
10890 _nl_explode_name failed.
10891 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10892
d0478f0c
UD
10893 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10894
de81b246
UD
10895 * debug/xtrace.sh: Unify messages.
10896 * malloc/memusage.sh: Likewise.
10897
c738465a
UD
10898 [BZ #12813]
10899 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10900 time symbol from vDSO. Substitute with vsyscall if not available.
10901 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10902 __vdso_time.
10903
f1f929d7
UD
10904 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10905 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10907 Add sendmmsg and internal_sendmmsg.
10908 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10909 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10910 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10911
ce67228d
UD
10912 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10913 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10914 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10915
e57420c6
UD
109162011-05-27 Ulrich Drepper <drepper@gmail.com>
10917
a8509ca5
UD
10918 [BZ #12813]
10919 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10920 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10921 available.
10922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10923 __vdso_getcpu.
10924
e57420c6
UD
10925 [BZ #12814]
10926 * iconvdata/Makefile (tests): Add bug-iconv9.
10927 * iconvdata/bug-iconv9.c: New file.
10928
4d07db15
AS
109292011-05-27 Andreas Schwab <schwab@redhat.com>
10930
10931 [BZ #12814]
10932 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10933
ea486f69
JJ
109342011-05-25 Jakub Jelinek <jakub@redhat.com>
10935
10936 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10937 (struct user_regs_struct): Change intcs field back to cs.
10938
6f038433
UD
109392011-05-25 Ulrich Drepper <drepper@gmail.com>
10940
10941 * po/ja.po: Update from translation team.
10942
67f86a25
UD
109432011-05-23 Ulrich Drepper <drepper@gmail.com>
10944
10945 [BZ #12795]
10946 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10947 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10948
def7fbd6
AS
109492011-05-20 Andreas Schwab <schwab@redhat.com>
10950
10951 * stdlib/longlong.h: Update from GCC.
10952
f50ef8f1
AS
109532011-05-23 Andreas Schwab <schwab@redhat.com>
10954
10955 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10956 parameter name.
10957 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10958 Add parameter name.
10959 (__sysconf): Pass it down.
10960
de7ce8f1
UD
109612011-05-22 Ulrich Drepper <drepper@gmail.com>
10962
f2962a71
UD
10963 [BZ #12671]
10964 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10965 some situations.
10966 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10967 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10968 add in in __libc_use_alloca calls. Adjust callers.
10969 (glob): Use malloc in some situations.
10970
de7ce8f1
UD
10971 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10972 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10973 pltexit.
10974
aec84f53
UD
109752011-05-21 Ulrich Drepper <drepper@gmail.com>
10976
05bb4a68
UD
10977 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10978 and CLOCK_BOOTTIME_ALARM.
10979
7ea72f99
UD
10980 [BZ #12782]
10981 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10982 is returned.
10983
7e4afad5
UD
10984 * string/_strerror.c (__strerror_r): Print negative errors as signed
10985 numbers.
10986
8e211fec
UD
10987 [BZ #12777]
10988 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10989 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10990 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10991
f7d82dc9
UD
10992 * configure.in: Fix typo in redirection and correct removal of test
10993 files in two cases.
10994
cc9e536d
UD
10995 [BZ #12788]
10996 * locale/setlocale.c (new_composite_name): Fix test to check for
10997 identical name of all categories.
10998
aec84f53
UD
10999 [BZ #12792]
11000 * libio/filedoalloc.c (local_isatty): New function.
11001 (_IO_file_doallocate): Use local_isatty.
11002 * stdio-common/perror.c (perror): In case a new stream is used
11003 forward the stream error.
11004 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11005 error flag.
11006
78e64fdc
RT
110072011-05-20 Ulrich Drepper <drepper@gmail.com>
11008
34a9094f
UD
11009 [BZ #11869]
11010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11011 alloca.
11012 * include/alloca.h (extend_alloca_account): Define.
11013
78e64fdc
RT
11014 [BZ #11857]
11015 * posix/regex.h: Fix comments with documentation of user-accessible
11016 fields after compilation and describe correct free'ing of pattern
11017 after re_compile_pattern.
11018 Patch by Reuben Thomas <rrt@sc3d.org>.
11019
457bddfc
RA
110202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11021
11022 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11023 and -mno-altivec to prevent the compiler from using Altivec and/or
11024 VSX instructions when the corresponding registers are not available.
11025
a4527b51
AS
110262011-05-19 Andreas Schwab <schwab@redhat.com>
11027
11028 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11029
ed690b2f
UD
110302011-05-19 Ulrich Drepper <drepper@gmail.com>
11031
11032 * libio/freopen.c (freopen): Use __dup2, not dup2.
11033 * libio/freopen64.c (freopen64): Likewise.
11034
8db73634
L
110352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11036
11037 [BZ #12775]
11038 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11039 * math/Makefile (tests): Add test-powl.
11040 (CFLAGS-test-powl.c): Define.
11041 * math/test-powl.c: New file.
11042
0a197a9d
L
110432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11046
ee30c380
UD
110472011-05-17 Ulrich Drepper <drepper@gmail.com>
11048
11049 [BZ #11837]
11050 * iconvdata/gb18030.c: Update to GB18020-2005.
11051
6ce75379
UD
110522011-05-16 Ulrich Drepper <drepper@gmail.com>
11053
a4b89fd8
AR
11054 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11055 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11056 Patch by Aharon Robbins <arnold@skeeve.com>.
11057
ea389b12
UD
11058 [BZ #11892]
11059 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11060 on the stack.
11061
68a3f91f
UD
11062 [BZ #11895]
11063 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11064 through underflows.
11065
15cc7dd1
UD
11066 [BZ #12766]
11067 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11068 point to strings before performing equality test for error_one_per_line
11069 mode.
11070
f3799213
UD
11071 [BZ #11697]
11072 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11073
d79a9c94
UD
11074 [BZ #11820]
11075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11076 (struct user_fpregs_struct): Avoid __uint*_t types.
11077
56e5eb46
UD
11078 [BZ #6420]
11079 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11080 symbol info. Use it instead of calling _dl_addr locally.
11081 (lock_and_info): New function.
11082 (tr_freehook): Call lock_and_info and pass symbol info as additional
11083 parameter to tr_where.
11084 (tr_mallochook): Likewise.
11085 (tr_reallochook): Likewise.
11086 (tr_memalignhook): Likewise.
11087
6ce75379
UD
11088 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11089 used and couldn't be at all thread-safe.
11090
f8a3b5bf
UD
110912011-05-15 Ulrich Drepper <drepper@gmail.com>
11092
94b7cc37
UD
11093 * libio/freopen.c (freopen): Don't close old file descriptor
11094 before the new one is opened. Instead dup the new file descriptor
11095 to the old one after the new stream is created.
11096 * libio/freopen64.c (freopen64): Likewise.
11097 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11098 * libio/fileops.c (_IO_new_file_close_it): Handle new
11099 _IO_FLAGS2_NOCLOSE flag.
11100 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11101 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11102 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11103 _IO_FLAGS2_NOCLOSE flag.
11104 * include/unistd.h: Add hidden_proto for dup3.
11105 Define __have_dup3.
11106 * io/dup3.c: Define hidden symbol.
11107 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11108
bd25564e
UD
11109 [BZ #7101]
11110 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11111 when an incomplete long option is used.
11112 * posix/tst-getopt_long1.c: New file.
11113 * posix/Makefile (tests): Add tst-getopt_long1.
11114
c84cfef4
UD
11115 [BZ #10138]
11116 * scripts/config.guess: Update from autoconf-2.68.
11117 * scripts/config.sub: Likewise.
11118
3b85df27
UD
11119 [BZ #10157]
11120 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11121 tests into ...
11122 (has_cpuclock): ...this. New function.
11123 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11124 macro here based on has_cpuclock code.
11125
15a856b1
UD
11126 [BZ #10149]
11127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11128 First byte (not low byte) is now always NUL.
11129 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11130
05f399e6
UD
11131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11132 Use non-cancelable interfaces.
11133
10a52685 11134 [BZ #9809]
94ecc67d
UD
11135 * locale/iso-639.def: Add entry for Sorani.
11136
f8a3b5bf
UD
11137 [BZ #11901]
11138 * include/stdlib.h: Move include protection to the right place.
11139 Define abort_msg_s. Declare __abort_msg with it.
11140 * stdlib/abort.c (__abort_msg): Adjust type.
11141 * assert/assert.c (__assert_fail_base): New function. Majority
11142 of code from __assert_fail. Allocate memory for __abort_msg with
11143 mmap.
11144 (__assert_fail): Now call __assert_fail_base.
11145 * assert/assert-perr.c: Remove bulk of implementation. Use
11146 __assert_fail_base.
11147 * include/assert.hL Declare __assert_fail_base.
11148 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11149 mmap.
11150 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11151
1af4e298
UD
111522011-05-14 Ulrich Drepper <drepper@gmail.com>
11153
f8a3b5bf 11154 [BZ #11952]
d26dfc60
MG
11155 [BZ #12453]
11156 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11157 until all modules are registered in the DTV.
11158 * elf/Makefile: Add rules to build and run tst-tls19.
11159 * elf/tst-tls19.c: New file.
11160 * elf/tst-tls19mod1.c: New file.
11161 * elf/tst-tls19mod2.c: New file.
11162 * elf/tst-tls19mod3.c: New file.
11163 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11164
2fc54d6f
UD
11165 [BZ #12083]
11166 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11167 correctly.
11168
98d76b46
UD
11169 [BZ #12601]
11170 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11171 two-byte sequence errors.
11172 * iconvdata/Makefile (tests): Add bug-iconv8.
11173 * iconvdata/bug-iconv8.c: New file.
11174
da3c19ef
UD
11175 [BZ #12626]
11176 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11177 buf2 definition.
11178
ca408c15
UD
11179 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11180
d6f67f7d
UD
11181 [BZ #12432]
11182 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11183 (dummy_getcfa): New function.
11184 (init): Get _Unwind_GetCFA address, use dummy if not found.
11185 (backtrace_helper): In recursion check, also check whether CFA changes.
11186 (__backtrace): Completely initialize arg.
11187
1af4e298 11188 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11189 storing incomplete byte sequence in state object. Avoid testing for
11190 guaranteed too small input if we know there is enough data available.
1af4e298 11191
da62f81b
AS
111922011-05-11 Andreas Schwab <schwab@redhat.com>
11193
11194 * Makeconfig (+link-pie): Indent.
11195 * Rules (binaries-pie): Define if $(have-fpie) and
11196 $(build-shared).
11197 (binaries-shared): Also filter out $(binaries-pie).
11198 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11199 * nscd/Makefile (others-pie): Add nscd.
11200 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11201 ($(objpfx)nscd): Remove command override.
11202 * login/Makefile (others-pie): Add pt_chown.
11203 ($(objpfx)pt_chown): Remove command override.
11204 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11205 remove command overrides.
11206
fcabc0f8
UD
112072011-05-13 Ulrich Drepper <drepper@gmail.com>
11208
20030ae6
UD
11209 * libio/tst_putwc.c: Fix error messages.
11210
fcabc0f8
UD
11211 [BZ #12724]
11212 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11213 currently writing and seek to current position when not.
11214 * libio/Makefile (tests): Add bug-fclose1.
11215 * libio/bug-fclose1.c: New file.
11216
320a5dc0
PB
112172011-05-12 Ulrich Drepper <drepper@gmail.com>
11218
11219 [BZ #12511]
11220 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11221 don't set DF_1_NODELETE here.
11222 (do_lookup_x): When entering new entry test for copy relocation
11223 and if necessary set DF_1_NODELETE flag.
11224 * elf/tst-unique4.cc: New file.
11225 * elf/tst-unique4.h: New file.
11226 * elf/tst-unique4lib.cc: New file.
11227 * elf/Makefile: Add rules to build and run tst-unique4.
11228 Patch by Piotr Bury <pbury@goahead.com>.
11229
22836f52
UD
112302011-05-11 Ulrich Drepper <drepper@gmail.com>
11231
f574184a
UD
11232 [BZ #12052]
11233 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11234
e1fb097f
UD
11235 [BZ #12625]
11236 * misc/mntent_r.c (addmntent): Flush the stream after the output
11237
22836f52
UD
11238 [BZ #12393]
11239 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11240 (is_trusted_path_normalize): Skip initial colon. Append slash
11241 to empty buffer. Duplicate is_trusted_path code but allow
11242 constructed patch to be prefix.
11243 (is_dst): Allow $ORIGIN followed by /.
11244 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11245 Correct testing of result of is_trusted_path_normalize
11246 (decompose_rpath): Fix warning.
11247
7b3b0b2a
UD
112482011-05-10 Ulrich Drepper <drepper@gmail.com>
11249
11250 [BZ #11257]
11251 * grp/initgroups.c (internal_getgrouplist): When we found the service
11252 list through the initgroups entry in nsswitch.conf do not always
11253 continue on a successful lookup. Don't always use the
eac80ce2 11254 __nss_group_database value if it is set.
7b3b0b2a
UD
11255 * nss/nsswitch.conf (initgroups): Change action for successful db
11256 lookup to continue for compatibility.
11257
2a81eaa5
UD
112582011-05-09 Ulrich Drepper <drepper@gmail.com>
11259
be97a69e
UD
11260 [BZ #11532]
11261 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11262 and CP774 modules.
11263 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11264 and CP774 modules.
11265 * iconvdata/tst-tables.sh: Likewise.
11266 * iconvdata/cp770.c: New file.
11267 * iconvdata/cp771.c: New file.
11268 * iconvdata/cp772.c: New file.
11269 * iconvdata/cp773.c: New file.
11270 * iconvdata/cp774.c: New file.
11271 * iconvdata/testdata/CP770: New file.
11272 * iconvdata/testdata/CP770..UTF8: New file.
11273 * iconvdata/testdata/CP771: New file.
11274 * iconvdata/testdata/CP771..UTF8: New file.
11275 * iconvdata/testdata/CP772: New file.
11276 * iconvdata/testdata/CP772..UTF8: New file.
11277 * iconvdata/testdata/CP773: New file.
11278 * iconvdata/testdata/CP773..UTF8: New file.
11279 * iconvdata/testdata/CP774: New file.
11280 * iconvdata/testdata/CP774..UTF8: New file.
11281
11282 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11283 END CHARMAP line.
11284 * iconvdata/gen-8bit-gap.sh: Likewise.
11285 * iconvdata/gen-8bit.sh: Likewise.
11286
c1e9e399
UD
11287 * locale/iso-639.def: Add ary entry.
11288
24c55fb3 11289 [BZ #11258]
96b4b1b0
UD
11290 * locale/C-translit.h.in: Add U20A1 transliteration.
11291
bdc2f971
KB
11292 [BZ #12178]
11293 * locale/iso-639.def: Add wae entry.
11294 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11295
2952b117
UD
11296 [BZ #12545]
11297 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11298 for n.
11299
2a81eaa5
UD
11300 [BZ #12711]
11301 * locale/C-translit.h.in: Add entry for U20B9.
11302 Patch by pravin.d.s@gmail.com.
11303
28377d1b
UD
113042011-05-08 Ulrich Drepper <drepper@gmail.com>
11305
7fb90fb8
UD
11306 [BZ #12713]
11307 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11308 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11309 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11310 in rtld. Use *stat64.
7fb90fb8 11311 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11312 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11313 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11314 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11315 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11316 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11317 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11318 __fstatat64 macros.
7fb90fb8
UD
11319 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11320 * dirent/rewinddir.c: Add libc_hidden_def.
11321 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11322 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11323
28377d1b
UD
11324 * include/dirent.h (__alloc_dir): Add flags parameter.
11325 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11326 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11327 __alloc_dir.
11328 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11329 from fdopendir if O_CLOEXEC is already set.
11330
66bdbaa4
AM
113312011-03-15 Alan Modra <amodra@gmail.com>
11332
11333 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11334 l_tls_firstbyte_offset non-zero. Save padding offset in
11335 l_tls_firstbyte_offset for later use.
11336 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11337 freeing static tls block.
11338
95721191
JN
113392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11340
11341 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11342 where #ifdef was intended. The intent is to prevent ARG_MAX from
11343 being defined by the kernel headers.
11344
f87dfb1f
UD
113452011-05-07 Ulrich Drepper <drepper@gmail.com>
11346
11347 [BZ #12734]
11348 * resolv/resolv.h: Define RES_NOTLDQUERY.
11349 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11350 no-tld-query and set RES_NOTLDQUERY.
11351 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11352 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11353 modern BIND to search name as TLD unless forbidden.
11354
47c3cd7a
UD
113552011-05-07 Petr Baudis <pasky@suse.cz>
11356 Ulrich Drepper <drepper@gmail.com>
11357
11358 [BZ #12393]
11359 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11360 (is_trusted_path): ...to here.
c1e9ea35 11361 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11362 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11363 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11364
8a35c912
PP
113652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11366
11367 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11368 __BEGIN/__END_DECLS.
11369
acd41f47
UD
113702011-05-06 Ulrich Drepper <drepper@gmail.com>
11371
11372 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11373 NSS_STATUS_NOTFOUND if no record was found.
11374
597df647
AS
113752011-05-05 Andreas Schwab <schwab@redhat.com>
11376
11377 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11378 (headers-not-in-tirpc): Remove rpc/netdb.h
11379 * resolv/netdb.h: Revert last change.
11380
b9af1301
PP
113812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11382
11383 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11384 circular dependency between libgcc.a and libc.a.
11385
4e34d5f5
AS
113862011-05-05 Andreas Schwab <schwab@redhat.com>
11387
11388 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11389 * nis/Makefile: Don't install rpcsvc/*.
11390 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11391 instead of <rpc/types.h>.
11392 (MAXHOSTNAMELEN): Define.
11393
00ee369c
AS
113942011-05-03 Andreas Schwab <schwab@redhat.com>
11395
11396 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11397
0b592a30
MB
113982011-04-28 Maciej Babinski <mbabinski@google.com>
11399
11400 [BZ #12714]
11401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11402 gethostbyname4_r when IPv6 results are possible.
11403
6e04cbbe
UD
114042011-05-02 Ulrich Drepper <drepper@gmail.com>
11405
11406 [BZ #12723]
11407 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11408 _PC_PIPE_BUF handling.
11409
e4ecafe0
BH
114102011-04-30 Bruno Haible <bruno@clisp.org>
11411
11412 [BZ #12717]
11413 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11414 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11415 to 'int'.
11416 * inet/getnameinfo.c (getnameinfo): Likewise.
11417
125ee683
UD
114182011-04-29 Ulrich Drepper <drepper@gmail.com>
11419
11420 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11421 to groups setting in database lookup.
11422 * nss/nsswitch.conf: Add initgroups entry.
11423
b722481a
EB
114242011-04-22 Ulrich Drepper <drepper@gmail.com>
11425
11426 [BZ #12685]
11427 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11428 mode string.
11429 Patch by Eric Blake <eblake@redhat.com>.
11430
4df46dbd
L
114312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11432
11433 * sunrpc/Makefile (need-export-routines): Add svc_run.
11434 (routines): Remove svc_run.
11435 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11436 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11437 * sunrpc/svc_run.c (svc_run): Likewise.
11438 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11439
e84142d2
UD
114402011-04-21 Ulrich Drepper <drepper@gmail.com>
11441
11442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11443 problem in reallocation in last patch.
11444
877175d8
UD
114452011-04-20 Ulrich Drepper <drepper@gmail.com>
11446
11447 * sunrpc/Makefile: Move inclusion of Rules.
11448
ab8eed78
UD
114492011-04-19 Ulrich Drepper <drepper@gmail.com>
11450
11451 * nss/nss_files/files-initgroups.c: New file.
11452 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11453 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11454 _nss_files_initgroups_dyn.
11455
e3d8f584
RS
114562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11457
11458 * elf/elf.h (R_ARM_IRELATIVE): Define.
11459
af190f45
UD
114602011-04-19 Ulrich Drepper <drepper@gmail.com>
11461
11462 * po/ru.po: Update from translation team.
11463
53cf59ef
UD
114642011-04-17 Ulrich Drepper <drepper@gmail.com>
11465
11466 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11467 dependencies.
11468
4c559bcd
MF
114692011-02-06 Mike Frysinger <vapier@gentoo.org>
11470
11471 [BZ #12653]
11472 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11473 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11477
4420675c
AS
114782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11479
11480 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11481 differing bytes.
11482 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11485
75ea32ab
UD
114862011-04-17 Ulrich Drepper <drepper@gmail.com>
11487
11488 [BZ #12420]
11489 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11490 storing it.
11491 * stdlib/bug-getcontext.c: New file.
11492 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11493
27390476
AK
114942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11495
11496 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11497 instructions into .machine "z9-109".
11498 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11499 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11500
10442705
AK
115012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11502
11503 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11504 between environment variables and auxiliary vector.
11505
7b57bfe5
UD
115062011-04-16 Ulrich Drepper <drepper@gmail.com>
11507
11508 * Makefile: Add rules to build linkobj/libc.so.
11509 * include/libc-symbols.h: Define libc_hidden_nolink.
11510 * include/rpc/auth.h: Mark functions which are to be hidden.
11511 * include/rpc/auth_des.h: Likewise.
11512 * include/rpc/auth_unix.h: Likewise.
11513 * include/rpc/clnt.h: Likewise.
11514 * include/rpc/des_crypt.h: Likewise.
11515 * include/rpc/key_prot.h: Likewise.
11516 * include/rpc/pmap_clnt.h: Likewise.
11517 * include/rpc/pmap_prot.h: Likewise.
11518 * include/rpc/pmap_rmt.h: Likewise.
11519 * include/rpc/rpc_msg.h: Likewise.
11520 * include/rpc/svc.h: Likewise.
11521 * include/rpc/svc_auth.h: Likewise.
11522 * include/rpc/xdr.h: Likewise.
11523 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11524 * nss/Makefile: Likewise.
11525 * sunrpc/Makefile: Don't install headers. Build library with normal
11526 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11527 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11528 for the compat linking library. Remove use of INTDEF/INTUSE.
11529 * sunrpc/auth_none.c: Likewise.
11530 * sunrpc/auth_unix.c: Likewise.
11531 * sunrpc/authdes_prot.c: Likewise.
11532 * sunrpc/authuxprot.c: Likewise.
11533 * sunrpc/clnt_gen.c: Likewise.
11534 * sunrpc/clnt_perr.c: Likewise.
11535 * sunrpc/clnt_raw.c: Likewise.
11536 * sunrpc/clnt_simp.c: Likewise.
11537 * sunrpc/clnt_tcp.c: Likewise.
11538 * sunrpc/clnt_udp.c: Likewise.
11539 * sunrpc/clnt_unix.c: Likewise.
11540 * sunrpc/des_crypt.c: Likewise.
11541 * sunrpc/des_soft.c: Likewise.
11542 * sunrpc/get_myaddr.c: Likewise.
11543 * sunrpc/key_call.c: Likewise.
11544 * sunrpc/key_prot.c: Likewise.
11545 * sunrpc/netname.c: Likewise.
11546 * sunrpc/pm_getmaps.c: Likewise.
11547 * sunrpc/pm_getport.c: Likewise.
11548 * sunrpc/pmap_clnt.c: Likewise.
11549 * sunrpc/pmap_prot.c: Likewise.
11550 * sunrpc/pmap_prot2.c: Likewise.
11551 * sunrpc/pmap_rmt.c: Likewise.
11552 * sunrpc/publickey.c: Likewise.
11553 * sunrpc/rpc_cmsg.c: Likewise.
11554 * sunrpc/rpc_common.c: Likewise.
11555 * sunrpc/rpc_dtable.c: Likewise.
11556 * sunrpc/rpc_prot.c: Likewise.
11557 * sunrpc/rpc_thread.c: Likewise.
11558 * sunrpc/rtime.c: Likewise.
11559 * sunrpc/svc.c: Likewise.
11560 * sunrpc/svc_auth.c: Likewise.
11561 * sunrpc/svc_authux.c: Likewise.
11562 * sunrpc/svc_raw.c: Likewise.
11563 * sunrpc/svc_run.c: Likewise.
11564 * sunrpc/svc_simple.c: Likewise.
11565 * sunrpc/svc_tcp.c: Likewise.
11566 * sunrpc/svc_udp.c: Likewise.
11567 * sunrpc/svc_unix.c: Likewise.
11568 * sunrpc/svcauth_des.c: Likewise.
11569 * sunrpc/xcrypt.c: Likewise.
11570 * sunrpc/xdr.c: Likewise.
11571 * sunrpc/xdr_array.c: Likewise.
11572 * sunrpc/xdr_float.c: Likewise.
11573 * sunrpc/xdr_intXX_t.c: Likewise.
11574 * sunrpc/xdr_mem.c: Likewise.
11575 * sunrpc/xdr_rec.c: Likewise.
11576 * sunrpc/xdr_ref.c: Likewise.
11577 * sunrpc/xdr_sizeof.c: Likewise.
11578 * sunrpc/xdr_stdio.c: Likewise.
11579
e6c61494
UD
115802011-04-10 Ulrich Drepper <drepper@gmail.com>
11581
11582 [BZ #12650]
11583 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11584 * sysdeps/ia64/dl-tls.h: Likewise.
11585 * sysdeps/powerpc/dl-tls.h: Likewise.
11586 * sysdeps/s390/dl-tls.h: Likewise.
11587 * sysdeps/sh/dl-tls.h: Likewise.
11588 * sysdeps/sparc/dl-tls.h: Likewise.
11589 * sysdeps/x86_64/dl-tls.h: Likewise.
11590 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11591
34fe483e
AS
115922011-03-14 Andreas Schwab <schwab@redhat.com>
11593
11594 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11595 rpath element also skip the following colon.
11596 (expand_dynamic_string_token): Add is_path parameter and pass
11597 down to DL_DST_REQUIRED and _dl_dst_substitute.
11598 (decompose_rpath): Call expand_dynamic_string_token with
11599 non-zero is_path. Ignore empty rpaths.
11600 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11601 with zero is_path.
11602
f12a32e6
AS
116032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11604
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11606 Make cancelable.
11607
38a7d692
UD
116082011-04-09 Ulrich Drepper <drepper@gmail.com>
11609
11610 [BZ #12655]
11611 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11612 Patch by Filipe David Manana <fdmanana@apache.org>.
11613
e451d22b
AS
116142011-04-07 Andreas Schwab <schwab@redhat.com>
11615
11616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11617 Maintain aligned stack.
11618 (CHECK_RSP): Remove unused macro.
11619
dedc7c7b
UD
116202011-04-03 Ulrich Drepper <drepper@gmail.com>
11621
11622 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11623 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11624
94521213
UD
116252011-04-02 Ulrich Drepper <drepper@gmail.com>
11626
11627 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11628
8cb700c0 11629 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11630
0354e355
L
116312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11632
11633 [BZ #12518]
11634 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11635 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11636 * sysdeps/x86_64/memmove.c: New file.
11637 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11638 (memcpy): Renamed to ...
11639 (__new_memcpy): This.
11640 (memcpy): Provide GLIBC_2_14 memcpy.
11641 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11642 (memcpy): Provide GLIBC_2_2_5 memcpy.
11643
8593482f
UD
116442011-04-01 Ulrich Drepper <drepper@gmail.com>
11645
11646 [BZ #12631]
11647 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11648
81a5726b
AS
116492011-03-30 Andreas Schwab <schwab@redhat.com>
11650
11651 * misc/syncfs.c: New file.
11652 * misc/Makefile (routines): Add syncfs.
11653 * posix/unistd.h: Declare syncfs.
11654 * sysdeps/unix/syscalls.list: Add syncfs.
11655
00e5419f
AS
116562011-04-01 Andreas Schwab <schwab@redhat.com>
11657
11658 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11659 open_by_handle_at.
11660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11665 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11667
748876bf
UD
116682011-04-01 Ulrich Drepper <drepper@gmail.com>
11669
658e451d
UD
11670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11677
748876bf
UD
11678 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11679 sync_file_range.c with -fexceptions.
11680 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11681 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11682 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11683 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11684 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11685 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11687 sync_file_range as cancellation point
11688 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11689 now a wrapper around __call_sync_file_range with cancellation handling.
11690 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11691 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11692 function name to __call_sync_file_range.
11693 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11694 Add call_sync_file_range.
748876bf 11695
6e63d5e1
AS
116962011-04-01 Andreas Schwab <schwab@redhat.com>
11697
11698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11699 bits/timex.h.
6e63d5e1 11700
46998f74
UD
117012011-04-01 Ulrich Drepper <drepper@gmail.com>
11702
4c1423ed
UD
11703 * iconv/iconv.h: Fix typo in comment.
11704 * io/fcntl.h: Likewise.
11705 * libio/stdio.h: Likewise.
11706 * posix/spawn.h: Likewise.
11707 * posix/unistd.h: Likewise.
11708 * stdlib/stdlib.h: Likewise.
11709 * time/time.h: Likewise.
11710 * wcsmbs/wchar.h: Likewise.
11711
158648c0
UD
11712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11713 open_by_handle): Add.
11714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11715 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11716 Augment a few comments.
11717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11722 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11723 open_by_handle.
11724
46998f74
UD
11725 * io/fcntl.h (AT_EMPTY_PATH): Define.
11726
83fe108b
UD
117272011-03-30 Ulrich Drepper <drepper@gmail.com>
11728
11729 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11730 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11731 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11732 to...
11733 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11734 * Versions.def: Add GLIBC_2.14.
11735 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11736 Export.
83fe108b 11737
bb242059
UD
117382011-03-22 Ulrich Drepper <drepper@gmail.com>
11739
11740 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11741 round counter.
11742 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11743
c97a1282
L
117442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11745
11746 [BZ #12597]
11747 * string/test-strncmp.c (do_page_test): New function.
11748 (check2): Likewise.
11749 (test_main): Call check2.
11750 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11751
2a115601
UD
117522011-03-20 Ulrich Drepper <drepper@gmail.com>
11753
11754 [BZ #12587]
11755 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11756 Handle cache information in CPU leaf 4.
11757 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11758
8126d904
UD
117592011-03-18 Ulrich Drepper <drepper@gmail.com>
11760
042c49c6 11761 [BZ #12583]
8126d904
UD
11762 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11763 character representation.
11764 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11765
ccfe366e
RA
117662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11767
11768 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11769 END(__isnan) to END(__isnanf) to match function entry point/label
11770 EALIGN(__isnanf,...).
11771
c6e13027
JJ
117722011-03-10 Jakub Jelinek <jakub@redhat.com>
11773
11774 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11775
33f85a3f
UD
117762011-03-10 Ulrich Drepper <drepper@gmail.com>
11777
028478fa
UD
11778 [BZ #12510]
11779 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11780 copy from the symbol referenced in the relocation to initialize the
11781 used variable.
11782 Patch by Piotr Bury <pbury@goahead.com>.
11783 * elf/Makefile: Add rules to build and tst-unique3.
11784 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11785 * elf/tst-unique3.cc: New file.
11786 * elf/tst-unique3.h: New file.
11787 * elf/tst-unique3lib.cc: New file.
11788 * elf/tst-unique3lib2.cc: New file.
11789
33f85a3f
UD
11790 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11791
03592fc7
MF
117922011-03-10 Mike Frysinger <vapier@gentoo.org>
11793
11794 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11795 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11796 to _start.
03592fc7 11797
6a5ee102
UD
117982011-03-06 Ulrich Drepper <drepper@gmail.com>
11799
11800 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11801 to-be-loaded object along a path to loader is ld.so.
11802
7e4ba49c
HJ
118032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11804 Ulrich Drepper <drepper@gmail.com>
11805
11806 * sysdeps/x86_64/memset.S: After aligning destination, code
11807 branches to different locations depending on the value of
11808 misalignment, when multiarch is enabled. Fix this.
11809
118102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11811
11812 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11813 Set _x86_64_preferred_memory_instruction for AMD processsors.
11814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11815 Set bit_Prefer_SSE_for_memop for AMD processors.
11816
13a804de
UD
118172011-03-04 Ulrich Drepper <drepper@gmail.com>
11818
11819 * libio/fmemopen.c (fmemopen): Optimize a bit.
11820
9d25c392
AS
118212011-03-03 Andreas Schwab <schwab@redhat.com>
11822
11823 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11824
a5543c6a
RM
118252011-03-03 Roland McGrath <roland@redhat.com>
11826
11827 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11828
012d35f7
DM
118292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11830
7e4ba49c 11831 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11832 __bzero_ultra1 instead of __memset_ultra1.
11833
4bff6e01
AS
118342011-02-23 Andreas Schwab <schwab@redhat.com>
11835 Ulrich Drepper <drepper@gmail.com>
11836
11837 [BZ #12509]
11838 * include/link.h (struct link_map): Add l_orig_initfini.
11839 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11840 returning unsuccessfully.
11841 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11842 close of a file loaded at startup, restore the original l_initfini
11843 list.
11844 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11845 list, store the pointer.
11846 * elf/Makefile ($(objpfx)noload-mem): New rule.
11847 (noload-ENV): Define.
11848 (tests): Add $(objpfx)noload-mem.
11849 * elf/noload.c: Include <memcheck.h>.
11850 (main): Call mtrace. Close all opened handles.
11851
f2092faf
AS
118522011-02-17 Andreas Schwab <schwab@redhat.com>
11853
11854 [BZ #12454]
11855 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11856 dependencies are missing.
11857
6c8a2e88
ST
118582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11859
f2092faf 11860 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11861 Hurd needs munmap.
11862 * sysdeps/mach/hurd/ifreq.h: New file.
11863
84a42118
PB
118642011-01-27 Petr Baudis <pasky@suse.cz>
11865 Ulrich Drepper <drepper@gmail.com>
11866
071f805e 11867 [BZ 12445]#
84a42118
PB
11868 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11869 to extend_alloca().
11870 * stdio-common/bug23.c: New file.
11871 * stdio-common/Makefile (tests): Add bug23.
11872
e23fe25b
AS
118732010-09-28 Andreas Schwab <schwab@redhat.com>
11874 Ulrich Drepper <drepper@gmail.com>
11875
11876 [BZ #12489]
11877 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11878 before performing relro protection. At old place add assertion
11879 to make sure nothing changed.
11880
d3f02e10
NS
118812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11882 Glauber de Oliveira Costa <glommer@gmail.com>
11883
11884 * elf/elf.h: Add new ARM TLS relocs.
11885
d55fd7a5
RA
118862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11887
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11889 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11890 cast from r3.
11891 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11892 'tests' variable.
11893 * sysdeps/wordsize-64/tst-writev.c: New file.
11894
2206397e
RA
118952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11896
11897 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11898 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11899 insns in _dl_start to prevent a TOC reference before relocs are
11900 resolved.
11901
e9433893
UD
119022011-02-15 Ulrich Drepper <drepper@gmail.com>
11903
11904 [BZ #12469]
11905 * Makeconfig: Remove RANLIB definition.
11906 * Makerules: Don't use RANLIB.
11907 * aclocal.m4: Remove ranlib test.
11908 * configure.in: No need to check for ranlib.
11909 * elf/rtld-Rules: Don't use RANLIB.
11910
f75286c6
ST
119112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11912
8e31c82d
ST
11913 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11914 protection macro.
11915 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11916 inclusion protection macro.
11917
f75286c6
ST
11918 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11919 SIGRTMIN and SIGRTMAX and print information in that case only when
11920 SIGRTMIN is defined.
11921
c1d0e639
JJ
119222011-02-11 Jakub Jelinek <jakub@redhat.com>
11923
11924 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11925 arginfo fn returning -1.
11926
11927 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11928 and thousands string is zero terminated.
11929
edf9294e
AS
119302011-02-03 Andreas Schwab <schwab@redhat.com>
11931
11932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11933 sysdeps/unix/sysv/linux/bits/socket.h.
11934
2b7e92df
ST
119352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11936
edf9294e
AS
11937 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11938 (__CPU_COUNT): Remove old macros.
11939 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11940 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11941 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11942 (__sched_cpualloc, __sched_cpufree): Add declarations.
11943
a4c7ea7b
UD
119442011-02-05 Ulrich Drepper <drepper@gmail.com>
11945
11946 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11947 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11948 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11949 (readdhstai): Return value of addhstaiX call.
11950 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11951 (addgrbyX): Return value returned by cache_addgr.
11952 (readdgrbyname): Return value returned by addgrbyX.
11953 (readdgrbygid): Likewise.
11954 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11955 (addpwbyX): Return value returned by cache_addpw.
11956 (readdpwbyname): Return value returned by addhstbyX.
11957 (readdpwbyuid): Likewise.
11958 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11959 (addservbyX): Return value returned by cache_addserv.
11960 (readdservbyname): Return value returned by addservbyX:
11961 (readdservbyport): Likewise.
11962 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11963 (addhstbyX): Return value returned by cache_addhst.
11964 (readdhstbyname): Return value returned by addhstbyX.
11965 (readdhstbyaddr): Likewise.
11966 (readdhstbynamev6): Likewise.
11967 (readdhstbyaddrv6): Likewise.
11968 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11969 (readdinitgroups): Return value returned by addinitgroupsX.
11970 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11971 (prune_cache): Keep track of timeout value of re-added entries.
11972 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11973 * nscd/nscd.h: Adjust prototypes of readd* functions.
11974
a0bf67cc
RM
119752011-02-04 Roland McGrath <roland@redhat.com>
11976
11977 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11978 (nis_stats): Likewise.
11979 * nis/nis_modify.c (nis_modify): Likewise.
11980 * nis/nis_remove.c (nis_remove): Likewise.
11981 * nis/nis_add.c (nis_add): Likewise.
11982
11983 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11984
11985 * posix/fnmatch_loop.c: Add some consts.
11986
11987 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11988
435b95eb
L
119892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 [BZ #12460]
11992 * config.make.in (config-cflags-novzeroupper): Define.
11993 * configure.in: Substitute libc_cv_cc_novzeroupper.
11994 * elf/Makefile (AVX-CFLAGS): Define.
11995 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11996 (CFLAGS-tst-auditmod4a.c): Likewise.
11997 (CFLAGS-tst-auditmod4b.c): Likewise.
11998 (CFLAGS-tst-auditmod6b.c): Likewise.
11999 (CFLAGS-tst-auditmod6c.c): Likewise.
12000 (CFLAGS-tst-auditmod7b.c): Likewise.
12001 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12002
8517b15e
UD
120032011-02-02 Ulrich Drepper <drepper@gmail.com>
12004
12005 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12006 function to the callback.
12007 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12008
10a656fe
AS
120092011-02-02 Andreas Schwab <schwab@redhat.com>
12010
12011 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12012 of errno.
12013
968dad0a
UD
120142011-01-19 Ulrich Drepper <drepper@gmail.com>
12015
9f94d2ea 12016 [BZ #11724]
968dad0a
UD
12017 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12018 of constructors.
12019 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12020 of destructors.
12021 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12022
12023 [BZ #11724]
12024 * elf/Makefile: Add rules to build and run new test.
12025 * elf/tst-initorder.c: New file.
12026 * elf/tst-initorder.exp: New file.
12027 * elf/tst-initordera1.c: New file.
12028 * elf/tst-initordera2.c: New file.
12029 * elf/tst-initordera3.c: New file.
12030 * elf/tst-initordera4.c: New file.
12031 * elf/tst-initorderb1.c: New file.
12032 * elf/tst-initorderb2.c: New file.
12033 * elf/tst-order-a1.c: New file.
12034 * elf/tst-order-a2.c: New file.
12035 * elf/tst-order-a3.c: New file.
12036 * elf/tst-order-a4.c: New file.
12037 * elf/tst-order-b1.c: New file.
12038 * elf/tst-order-b2.c: New file.
12039 * elf/tst-order-main.c: New file.
12040 New test case by George Gensure <werkt0@gmail.com>.
12041
86e92359
UD
120422010-10-01 Andreas Schwab <schwab@redhat.com>
12043
12044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12045 decoding ACE if AI_CANONIDN.
12046
5d5732b0
UD
120472011-01-18 Ulrich Drepper <drepper@gmail.com>
12048
12049 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12050
a77e8cbc
UD
120512011-01-17 Ulrich Drepper <drepper@gmail.com>
12052
6392473f
UD
12053 * version.h (RELEASE): Bump for 2.13 release.
12054 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12055
620a0529
UD
12056 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12057
18ba70a5
UD
12058 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12059 MADV_NOHUGEPAGE.
32465c3e
UD
12060 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12061 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12063 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12065 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12066
c0dafcf1
UD
12067 * posix/getconf.c: Update copyright year.
12068 * catgets/gencat.c: Likewise.
12069 * csu/version.c: Likewise.
12070 * debug/catchsegv.sh: Likewise.
12071 * debug/xtrace.sh: Likewise.
12072 * elf/ldconfig.c: Likewise.
12073 * elf/ldd.bash.in: Likewise.
12074 * elf/sprof.c (print_version): Likewise.
12075 * iconv/iconv_prog.c: Likewise.
12076 * iconv/iconvconfig.c: Likewise.
12077 * locale/programs/locale.c: Likewise.
12078 * locale/programs/localedef.c: Likewise.
12079 * malloc/memusage.sh: Likewise.
12080 * malloc/mtrace.pl: Likewise.
12081 * nscd/nscd.c (print_version): Likewise.
12082 * nss/getent.c: Likewise.
12083
a77e8cbc
UD
12084 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12085 PF_CAIF, and PF_ALG.
12086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12087
77e8bddf
AS
120882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12089
1f20b93a
AS
12090 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12091 (modules-names): Use them.
12092 (ifunc-test-modules, ifunc-pie-tests): Define.
12093 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12094 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12095 (test-extras): Likewise.
12096 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12097 $(compile-command.c).
12098 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12099 (all-built-dso): Define.
12100 (check-textrel.out, check-execstack.out): Depend on it.
12101
77e8bddf
AS
12102 * configure.in: Don't override --enable-multi-arch.
12103
bc425b33
UD
121042011-01-15 Ulrich Drepper <drepper@gmail.com>
12105
12106 [BZ #6812]
12107 * nscd/hstcache.c (tryagain): Define.
12108 (cache_addhst): Return tryagain not notfound for temporary errors.
12109 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12110 failed.
12111
794c3ad3
UD
121122011-01-14 Ulrich Drepper <drepper@gmail.com>
12113
70181fdd
UD
12114 [BZ #10563]
12115 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12116 to make the syscall.
12117 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12118
794c3ad3
UD
12119 [BZ #12378]
12120 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12121 and fall back to matching as normal character if the string ends before
12122 the matching ']' is found. This is what POSIX requires.
12123 * posix/testfnm.c: Adjust test result.
12124 * posix/globtest.sh: Adjust test result. Add new test.
12125 * posix/tst-fnmatch.input: Likewise.
12126 * posix/tst-fnmatch2.c: Add new test.
12127
68dc9497
AS
121282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12129
12130 * elf/Makefile (check-execstack): Revert last change. Depend on
12131 check-execstack.h.
12132 (check-execstack.h): New target.
12133 (generated): Add check-execstack.h.
12134 * elf/check-execstack.c: Include "check-execstack.h".
12135 (main): Revert last change.
12136 (handle_file): Return zero if GNU_STACK is absent and
12137 DEFAULT_STACK_PERMS doesn't include PF_X.
12138
451f001b
UD
121392011-01-13 Ulrich Drepper <drepper@gmail.com>
12140
cfa28e56
UD
12141 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12142 in child fails because the descriptor is already closed.
8cf8ce17
UD
12143 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12144 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12145 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12146
1086d70d
UD
12147 [BZ #12397]
12148 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12149 syscall.
12150
451f001b
UD
12151 [BZ #10484]
12152 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12153 temporary buffer used to handle multi lookups locally.
a85b5cb4 12154 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12155
08769175
UD
121562011-01-12 Ulrich Drepper <drepper@gmail.com>
12157
12158 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12159 loader is ld.so.
12160
5e49c52e
UD
121612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12162
12163 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12164 alignment for SSE2.
12165
60522a5f
UD
121662011-01-12 Ulrich Drepper <drepper@gmail.com>
12167
12168 [BZ #12394]
12169 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12170 characters. When rounding increased number of integer digits recompute
12171 number of groups.
12172 * stdio-common/tst-grouping.c: New file.
12173 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12174
f257bbd7
UD
121752011-01-09 Ulrich Drepper <drepper@gmail.com>
12176
12177 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12178 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12179
12180 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12181 void.
12182 * bits/select.h: Likewise.
12183
fa9c15cb
UD
121842011-01-08 Ulrich Drepper <drepper@gmail.com>
12185
12186 * po/ja.po: Update from translation team.
12187
16c2895f
DM
121882011-01-04 David S. Miller <davem@sunset.davemloft.net>
12189
12190 [BZ #11155]
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12192 implementation just like for lxstat, fxstatat, et al.
12193
2543fef2
JM
121942010-12-27 Jim Meyering <meyering@redhat.com>
12195
12196 [BZ #12348]
12197 * posix/regexec.c (build_trtable): Return failure indication upon
12198 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12199
98727dbe
UD
122002010-12-25 Ulrich Drepper <drepper@gmail.com>
12201
5bd6dc5c
UD
12202 [BZ #12201]
12203 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12204 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12205 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12206 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12207
97983464
UD
12208 [BZ #12207]
12209 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12210
98727dbe
UD
12211 [BZ #12204]
12212 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12213 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12214
4a531bb0
L
122152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12216
12217 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12218 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12219 script has SORT_BY_INIT_PRIORITY.
12220 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12221 NO_CTORS_DTORS_SECTIONS is defined.
12222 * elf/soinit.c: Likewise.
12223 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12224 NO_CTORS_DTORS_SECTIONS is defined.
12225 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12226 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12227 * sysdeps/sh/init-first.c: Likewise.
12228 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12229
07eb4b71
UD
122302010-12-24 Ulrich Drepper <drepper@gmail.com>
12231
12232 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12233 always use the slow path.
12234
30950a5f
RA
122352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12236
12237 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12238 similar rule which adds the sysdep directories to the header search in
12239 order to pick up the correct platform stackinfo.h.
12240 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12241 perform test if it is, otherwise return successfully without testing.
12242 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12243 DEFAULT_STACK_PERMS define in stackinfo.h.
12244 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12245 defined in stackinfo.h.
12246 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12247 DEFAULT_STACK_PERMS defined in stackinfo.h.
12248 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12249 * sysdeps/ia64/stackinfo.h: Likewise.
12250 * sysdeps/s390/stackinfo.h: Likewise.
12251 * sysdeps/sh/stackinfo.h: Likewise.
12252 * sysdeps/sparc/stackinfo.h: Likewise.
12253 * sysdeps/x86_64/stackinfo.h: Likewise.
12254 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12255 PF_X for powerpc64. Retain PF_X for powerpc32.
12256
db753e2c
UD
122572010-12-19 Ulrich Drepper <drepper@gmail.com>
12258
14b697f7
UD
12259 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12260 accurately.
db753e2c
UD
12261 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12262 GETDENTS_64BIT_ALIGNED.
12263
28300719
UD
122642010-12-14 Ulrich Drepper <dreper@gmail.com>
12265
14b697f7 12266 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12267
4f197237
AS
122682010-12-10 Andreas Schwab <schwab@redhat.com>
12269
dbb0472f
AS
12270 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12271 _GNU_SOURCE.
12272
4f197237
AS
12273 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12274 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12275 Remove __restrict.
12276 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12277 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12278
fb88ac72
UD
122792010-12-09 Ulrich Drepper <drepper@gmail.com>
12280
12281 [BZ #11655]
12282 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12283 are initialized.
12284
42acbb92
JJ
122852010-12-09 Jakub Jelinek <jakub@redhat.com>
12286
12287 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12288
c038d98d
UD
122892010-12-03 Ulrich Drepper <drepper@gmail.com>
12290
12291 * po/it.po: Update from translation team.
12292
3a4a2499
L
122932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12294
12295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12296 unused codes.
12297
1e24cf6e
UD
122982010-11-30 Ulrich Drepper <drepper@gmail.com>
12299
12300 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12301
a7690819
AS
123022010-11-24 Andreas Schwab <schwab@redhat.com>
12303
12304 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12305 specially.
12306 (gaih_getanswer_slice): Likewise.
12307
3bf8d1b1
JJ
123082010-10-20 Jakub Jelinek <jakub@redhat.com>
12309
12310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12311
6db52fbb
PB
123122010-05-31 Petr Baudis <pasky@suse.cz>
12313
12314 [BZ #11149]
12315 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12316 silently even in the chroot mode.
12317
eaca7569
UD
123182010-11-22 Ulrich Drepper <drepper@gmail.com>
12319
12320 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12321 last patch a bit. Pretty printing
12322
3056dcdb
UD
123232010-05-31 Petr Baudis <pasky@suse.cz>
12324
12325 [BZ #10085]
12326 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12327 initialization of skip_initgroups_dyn.
12328
cf7c9078
UD
123292010-11-19 Ulrich Drepper <drepper@gmail.com>
12330
12331 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12332 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12333
a1fb5e3e
UD
123342010-11-16 Ulrich Drepper <drepper@gmail.com>
12335
12336 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12337
3540d66b
AS
123382010-11-11 Andreas Schwab <schwab@redhat.com>
12339
12340 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12341 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12342 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12343 ($(objpfx)tst-fnmatch-mem): New rule.
12344 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12345 * posix/tst-fnmatch.c (main): Call mtrace.
12346
13b69574
L
123472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12348
12349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12350 Support Intel processor model 6 and model 0x2c.
12351
da93d214
LM
123522010-11-10 Luis Machado <luisgpm@br.ibm.com>
12353
12354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12355 signed comparison.
12356
8ca52c6e
L
123572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 [BZ #12205]
12360 * string/test-strncasecmp.c (check_result): New function.
12361 (do_one_test): Use it.
12362 (check1): New function.
12363 (test_main): Use it.
12364 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12365 Support strcasecmp and strncasecmp.
12366
69da074d
UD
123672010-11-08 Ulrich Drepper <drepper@gmail.com>
12368
12369 [BZ #12194]
12370 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12371 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12372
ff02d528
L
123732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12374
12375 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12376 IFUNC support.
12377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12378 memset-x86-64.
12379 * sysdeps/x86_64/multiarch/bzero.S: New file.
12380 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12381 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12382 * sysdeps/x86_64/multiarch/memset.S: New file.
12383 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12385 Set bit_Prefer_SSE_for_memop for Intel processors.
12386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12387 Define.
12388 (index_Prefer_SSE_for_memop): Define.
12389 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12390
344d0b54
LM
123912010-11-04 Luis Machado <luisgpm@br.ibm.com>
12392
12393 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12394 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12395
c0dde15b
UD
123962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 [BZ #12191]
12399 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12400 (__x86_64_raw_data_cache_size_half): Likewise.
12401 (__x86_64_raw_shared_cache_size): Likewise.
12402 (__x86_64_raw_shared_cache_size_half): Likewise.
12403
12404 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12405 (__x86_64_raw_data_cache_size_half): Likewise.
12406 (__x86_64_raw_shared_cache_size): Likewise.
12407 (__x86_64_raw_shared_cache_size_half): Likewise.
12408 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12409 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12410 and __x86_64_raw_shared_cache_size_half. Round
12411 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12412 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12413 to multiple of 256 bytes.
12414
0e516e0e
MS
124152010-11-03 Ulrich Drepper <drepper@gmail.com>
12416
12417 [BZ #12167]
12418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12419 of inacessible symlinks. Verify result of symlink before returning it.
12420 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12421 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12422
0e012e87
ER
124232010-10-28 Erich Ritz <erichritz@gmail.com>
12424
12425 * math/math.h (isinf): Fix typo in comment.
12426
de0ff7bc
UD
124272010-11-01 Ulrich Drepper <drepper@gmail.com>
12428
12429 * po/da.po: Update from translation team.
12430
fa41c84d
UD
124312010-10-26 Ulrich Drepper <drepper@gmail.com>
12432
12433 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12434 is added to the list.
12435
f0967738
AK
124362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12437 Ulrich Drepper <drepper@gmail.com>
12438
12439 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12440 the global list here. Move code to...
12441 (_dl_add_to_namespace_list): ...here. New function.
12442 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12443 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12444 * elf/dl-load.c (lose): Don't remove the element from the list.
12445 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12446 (_dl_map_object): Likewise.
12447
124482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12449
12450 [BZ #12159]
12451 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12452 into all bytes of SSE register.
12453 Patch by Richard Li <richardpku@gmail.com>.
12454
f0967738 124552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12456
12457 [BZ #12140]
12458 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12459 perturbing.
12460
d0b9e94f
MB
124612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12462
12463 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12464 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12465 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12466 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12468 submachine.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12470
8e9f92e9
AS
124712010-10-22 Andreas Schwab <schwab@redhat.com>
12472
12473 * include/dlfcn.h (__RTLD_SECURE): Define.
12474 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12475 mode & __RTLD_SECURE instead.
12476 (open_path): Rename preloaded parameter to secure.
12477 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12478 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12479 * elf/dl-deps.c (openaux): Likewise.
12480 * elf/rtld.c (struct map_args): Remove is_preloaded.
12481 (map_doit): Don't use it.
12482 (dl_main): Likewise.
12483 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12484 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12485
bc96fbda
AS
124862010-09-09 Andreas Schwab <schwab@redhat.com>
12487
12488 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12489 (sysd-rules-targets): Remove duplicates.
12490 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12491 rtld-%.$o dependency.
12492
22cd1c9b
AS
124932010-10-18 Andreas Schwab <schwab@redhat.com>
12494
12495 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12496 _dl_map_object do it.
12497
18edac48
UD
124982010-10-19 Ulrich Drepper <drepper@gmail.com>
12499
12500 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12501 fast fma builtins, define the macros in the C99 standard.
12502 (FP_FAST_FMAF): Likewise.
12503 (FP_FAST_FMAL): Likewise.
12504 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12505
12506 * bits/mathdef.h: Update copyright year.
12507 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12508
d2050124
MM
125092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12510
12511 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12512 builtins, define the macros in the C99 standard.
12513 (FP_FAST_FMAF): Likewise.
12514 (FP_FAST_FMAL): Likewise.
12515 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12516 multiply/add.
12517 (FP_FAST_FMAF): Likewise.
12518
475facd1
JJ
125192010-10-15 Jakub Jelinek <jakub@redhat.com>
12520
12521 [BZ #3268]
12522 * math/libm-test.inc (fma_test): Some new testcases.
12523 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12524 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12525 y and infinite z. Do multiplication by C already in long double.
12526 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12528 y and infinite z. Do bitwise or of inexact bit into u.d.
12529 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12530 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12531 * sysdeps/i386/fpu/s_fma.S: Removed.
12532 * sysdeps/i386/fpu/s_fmal.S: Removed.
12533
7c08a05c
JJ
125342010-10-16 Jakub Jelinek <jakub@redhat.com>
12535
12536 [BZ #3268]
12537 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12539 computation is not scheduled after fetestexcept. Fix value
12540 of minimum denormal long double.
12541
f3f7372d
JJ
125422010-10-14 Jakub Jelinek <jakub@redhat.com>
12543
12544 [BZ #3268]
12545 * math/libm-test.inc (fma_test): Add some more tests.
12546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12547 correctly.
12548
14d43591
AS
125492010-10-15 Andreas Schwab <schwab@redhat.com>
12550
12551 * scripts/data/localplt-s390-linux-gnu.data: New file.
12552 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12553
5e908464
JJ
125542010-10-13 Jakub Jelinek <jakub@redhat.com>
12555
12556 [BZ #3268]
12557 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12558 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12559 instead of dbl-64.
12560 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12561 inlines.
12562 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12564 if one of x and y is very large and the other is subnormal.
12565 * sysdeps/s390/fpu/s_fmaf.c: New file.
12566 * sysdeps/s390/fpu/s_fma.c: New file.
12567 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12568 * sysdeps/powerpc/fpu/s_fma.S: New file.
12569 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12570 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12571 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12572
125732010-10-12 Jakub Jelinek <jakub@redhat.com>
12574
12575 [BZ #3268]
12576 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12577 fma tests.
12578 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12579 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12580 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12581 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12582 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12583 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12585
b833d51f
UD
125862010-10-12 Ulrich Drepper <drepper@redhat.com>
12587
12588 [BZ #12078]
12589 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12590 * posix/bug-regex31.input: Add test case.
12591
1751705d
UD
125922010-10-11 Ulrich Drepper <drepper@gmail.com>
12593
e9b9cbf5
UD
12594 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12595 * posix/bug-regex31.input: New file.
12596
12597 [BZ #12078]
12598 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12599 (parse_sub_exp): Fix last change, use postorder.
12600
ef06edbe
UD
12601 * posix/bug-regex31.c: New file.
12602 * posix/Makefile: Add rules to build and run bug-regex31.
12603
a129c80d
UD
12604 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12605
12606 [BZ #12078]
12607 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12608
b76b818e
UD
12609 [BZ #12108]
12610 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12611 to have entries in sys_siglist.
12612
1751705d
UD
12613 [BZ #12093]
12614 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12615 be NULL.
12616
9ff8d36f
JJ
126172010-10-07 Jakub Jelinek <jakub@redhat.com>
12618
12619 [BZ #3268]
12620 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12621 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12622 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12623 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12625 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12626 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12627 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12628 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12629 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12630 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12631 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12632 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12633 * math/ftestexcept.c (fetestexcept): Likewise.
12634 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12635 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12636 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12638 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12639 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12640 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12641
af325969
UD
126422010-10-11 Ulrich Drepper <drepper@gmail.com>
12643
c579b202 12644 [BZ #12107]
af325969
UD
12645 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12646 newline.
12647
67a67b95
UD
126482010-10-06 Ulrich Drepper <drepper@gmail.com>
12649
12650 * string/bug-strstr1.c: New file.
12651 * string/Makefile: Add rules to build and run bug-strstr1.
12652
5fb308bc
EB
126532010-10-05 Eric Blake <eblake@redhat.com>
12654
12655 [BZ #12092]
12656 * string/str-two-way.h (two_way_long_needle): Always clear memory
12657 when skipping input due to the shift table.
12658
45db99c7
UD
126592010-10-03 Ulrich Drepper <drepper@gmail.com>
12660
3b111893
UD
12661 [BZ #12005]
12662 * malloc/mcheck.c: Handle large requests.
12663
45db99c7
UD
12664 [BZ #12077]
12665 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12666 for strncmp and strncasecmp.
12667 * string/stratcliff.c: Add tests for strcmp and strncmp.
12668 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12669
cf7a1eb8
NI
126702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12671
12672 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12673 __set_fpscr.
12674
6484ba5e
AJ
126752010-09-30 Andreas Jaeger <aj@suse.de>
12676
12677 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12678 (CGROUP_SUPER_MAGIC): Define.
12679 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12680 Handle btrfs and cgroup file systems.
12681 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12682 Likewise.
12683
91c42559
LM
126842010-09-27 Luis Machado <luisgpm@br.ibm.com>
12685
12686 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12687 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12688
87a97932
AK
126892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12690
12691 [BZ #12067]
12692 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12693 trying to locate the ELF header.
12694
c21cc9bc
AS
126952010-09-27 Andreas Schwab <schwab@redhat.com>
12696
12697 [BZ #11611]
12698 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12699 Mask out sign-bit copies when constructing f_fsid.
12700
315970f6
PB
127012010-09-24 Petr Baudis <pasky@suse.cz>
12702
12703 * debug/stack_chk_fail_local.c: Add missing licence exception.
12704 * debug/warning-nop.c: Likewise.
12705
1ac7a2c7
JM
127062010-09-15 Joseph Myers <joseph@codesourcery.com>
12707
12708 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12709 implementing getdents64 using getdents syscall, set d_type if
12710 __ASSUME_GETDENTS32_D_TYPE.
12711
56801c50
AS
127122010-09-16 Andreas Schwab <schwab@redhat.com>
12713
12714 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12715 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12716
dda51327
UD
127172010-09-21 Ulrich Drepper <drepper@redhat.com>
12718
12719 [BZ #12037]
12720 * posix/unistd.h: Undo change of feature selection for ftruncate from
12721 2010-01-11.
12722
8ffcee4a
UD
127232010-09-20 Ulrich Drepper <drepper@redhat.com>
12724
a545ecd9 12725 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12726 detection.
12727
e24f0a8b
AS
127282010-09-20 Andreas Schwab <schwab@redhat.com>
12729
12730 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12731 fanotify_mark.
12732 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12733
7291c56f
AS
127342010-09-14 Andreas Schwab <schwab@redhat.com>
12735
12736 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12737 variables after CHECK_SP call.
12738 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12739
bc5fb037
AS
127402010-09-13 Andreas Schwab <schwab@redhat.com>
12741 Ulrich Drepper <drepper@redhat.com>
12742
12743 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12744 re-relocationg ld.so.
12745 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12746 _dl_init_paths call.
12747 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12748 here anymore.
12749
e66e7419
UD
127502010-09-14 Ulrich Drepper <drepper@redhat.com>
12751
12752 * resolv/res_init.c (__res_vinit): Count the default server we added.
12753
c044aa75
CLT
127542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12755 Ulrich Drepper <drepper@redhat.com>
12756
12757 [BZ #11968]
12758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12759 (____longjmp_chk): Use %ebx for saving value across system call.
12760 Add unwind info.
12761
32cf4069
AS
127622010-09-06 Andreas Schwab <schwab@redhat.com>
12763
12764 * manual/Makefile: Don't mix pattern rules with normal rules.
12765
817328ee
AS
127662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12767
12768 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12769 operation.
12770 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12771 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12772 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12773 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12775 Likewise.
12776
29fddf61
UD
127772010-09-04 Ulrich Drepper <drepper@redhat.com>
12778
12779 [BZ #11979]
12780 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12781 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12782
0959ffc9
UD
127832010-09-02 Ulrich Drepper <drepper@redhat.com>
12784
12785 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12786 * sysdeps/x86_64/addmul_1.S: Likewise.
12787 * sysdeps/x86_64/lshift.S: Likewise.
12788 * sysdeps/x86_64/mul_1.S: Likewise.
12789 * sysdeps/x86_64/rshift.S: Likewise.
12790 * sysdeps/x86_64/sub_n.S: Likewise.
12791 * sysdeps/x86_64/submul_1.S: Likewise.
12792
ece29840
ST
127932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12794
0959ffc9
UD
12795 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12796 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12797 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12798 * bits/sched.h [__need_schedparam]
ece29840 12799 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12800 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12801 (__defined_schedparam): Define to 1.
ece29840
ST
12802 (__sched_param): New structure, identical to sched_param.
12803 (__need_schedparam): Undefine.
12804
e53a31fe
MF
128052010-08-31 Mike Frysinger <vapier@gentoo.org>
12806
fdc0c10d
MF
12807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12808 (epoll_create1): Declare.
12809
e53a31fe
MF
12810 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12811
a726d796
AS
128122010-08-31 Andreas Schwab <schwab@redhat.com>
12813
12814 [BZ #7066]
12815 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12816 shifting retval into place.
12817
2f3e3dc7
UD
128182010-09-01 Ulrich Drepper <drepper@redhat.com>
12819
f2933da9
UD
12820 * nis/rpcsvc/nis.h: Update copyright notice.
12821 * nis/rpcsvc/nis.x: Likewise.
12822 * nis/rpcsvc/nis_callback.h: Likewise.
12823 * nis/rpcsvc/nis_callback.x: Likewise.
12824 * nis/rpcsvc/nis_object.x: Likewise.
12825 * nis/rpcsvc/nis_tags.h: Likewise.
12826 * nis/rpcsvc/yp.h: Likewise.
12827 * nis/rpcsvc/yp.x: Likewise.
12828 * nis/rpcsvc/ypupd.h: Likewise.
12829 * nis/yp_xdr.c: Likewise.
12830 * nis/ypupdate_xdr.c: Likewise.
12831
2f3e3dc7
UD
12832 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12833 mainly the body of pmap_getport. Add parameters to specify timeouts.
12834 (pmap_getport): Use __libc_rpc_getport.
12835 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12836 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12837 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12838
f3dcc2f9
AS
128392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12840
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12842 fanotify_mark.
12843
6d34eb5b
RM
128442010-08-27 Roland McGrath <roland@redhat.com>
12845
12846 * sysdeps/i386/i686/multiarch/Makefile
12847 (CFLAGS-varshift.c): New variable.
12848
9ea3de11
UD
128492010-08-27 Ulrich Drepper <drepper@redhat.com>
12850
c96d23fc
UD
12851 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12852 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12853
9ea3de11
UD
12854 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12855
12856 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12857
623aac7f
L
128582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12859
12860 * sysdeps/x86_64/strlen.S: Unroll the loop.
12861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12862 strlen-sse2 strlen-sse2-bsf.
12863 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12864 __strlen_no_bsf if bit_Slow_BSF is set.
12865 (__strlen_sse42): Removed.
12866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12867 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12868
8b2b7715
RM
128692010-08-25 Roland McGrath <roland@redhat.com>
12870
12871 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12872 * sysdeps/x86_64/multiarch/varshift.c: New file.
12873 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12874 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12875 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12876 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12877
e73015f2
L
128782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12879
12880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12881 strlen-sse2 strlen-sse2-bsf.
12882 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12883 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12884 (__strlen_sse2): Removed.
12885 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12886 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12888 bit_Slow_BSF for Atom.
12889 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12890 (index_Slow_BSF): Define.
12891 (HAS_SLOW_BSF): Define.
12892
df24a73e
UD
128932010-08-25 Ulrich Drepper <drepper@redhat.com>
12894
12895 [BZ #10851]
12896 * resolv/res_init.c (__res_vinit): When no server address at all
12897 is given default to loopback.
12898
f2ac4868
RM
128992010-08-24 Roland McGrath <roland@redhat.com>
12900
09055553
RM
12901 * configure.in: Remove config-name.h generation.
12902 * configure: Regenerated.
12903 * config-name.in: File removed.
12904 * scripts/config-uname.sh: New file.
12905 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12906 ($(objdir)config-name.h): New target.
12907
f2ac4868
RM
12908 * sunrpc/rpc_parse.h: Avoid nested comment.
12909
73f27d5e
RH
129102010-08-24 Richard Henderson <rth@redhat.com>
12911 Ulrich Drepper <drepper@redhat.com>
12912 H.J. Lu <hongjiu.lu@intel.com>
12913
12914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12916 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12917 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12918 _mm_alignr_epi8 with _mm_loadu_si128.
12919 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12920 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12921 (__m128i_shift_right): Removed.
12922 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12923 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12924 * sysdeps/x86_64/multiarch/varshift.h: New file.
12925 * sysdeps/x86_64/multiarch/varshift.S: New file.
12926
84b9230c
MF
129272010-08-21 Mike Frysinger <vapier@gentoo.org>
12928
12929 * configure.in: Move assembler checks to before sysdep dir checking.
12930
9bbd0ddc
PB
129312010-08-20 Petr Baudis <pasky@suse.cz>
12932
12933 * LICENSES: Sync the sunrpc license.
12934
9da4bb31
UD
129352010-08-19 Ulrich Drepper <drepper@redhat.com>
12936
a7ab6ec8
UD
12937 * sunrpc/auth_des.c: Update copyright notice once again.
12938 * sunrpc/auth_none.c: Likewise.
12939 * sunrpc/auth_unix.c: Likewise.
12940 * sunrpc/authdes_prot.c: Likewise.
12941 * sunrpc/authuxprot.c: Likewise.
12942 * sunrpc/bindrsvprt.c: Likewise.
12943 * sunrpc/clnt_gen.c: Likewise.
12944 * sunrpc/clnt_perr.c: Likewise.
12945 * sunrpc/clnt_raw.c: Likewise.
12946 * sunrpc/clnt_simp.c: Likewise.
12947 * sunrpc/clnt_tcp.c: Likewise.
12948 * sunrpc/clnt_udp.c: Likewise.
12949 * sunrpc/clnt_unix.c: Likewise.
12950 * sunrpc/des_crypt.c: Likewise.
12951 * sunrpc/des_soft.c: Likewise.
12952 * sunrpc/get_myaddr.c: Likewise.
12953 * sunrpc/getrpcport.c: Likewise.
12954 * sunrpc/key_call.c: Likewise.
12955 * sunrpc/key_prot.c: Likewise.
12956 * sunrpc/openchild.c: Likewise.
12957 * sunrpc/pm_getmaps.c: Likewise.
12958 * sunrpc/pm_getport.c: Likewise.
12959 * sunrpc/pmap_clnt.c: Likewise.
12960 * sunrpc/pmap_prot.c: Likewise.
12961 * sunrpc/pmap_prot2.c: Likewise.
12962 * sunrpc/pmap_rmt.c: Likewise.
12963 * sunrpc/rpc/auth.h: Likewise.
12964 * sunrpc/rpc/auth_unix.h: Likewise.
12965 * sunrpc/rpc/clnt.h: Likewise.
12966 * sunrpc/rpc/des_crypt.h: Likewise.
12967 * sunrpc/rpc/key_prot.h: Likewise.
12968 * sunrpc/rpc/netdb.h: Likewise.
12969 * sunrpc/rpc/pmap_clnt.h: Likewise.
12970 * sunrpc/rpc/pmap_prot.h: Likewise.
12971 * sunrpc/rpc/pmap_rmt.h: Likewise.
12972 * sunrpc/rpc/rpc.h: Likewise.
12973 * sunrpc/rpc/rpc_des.h: Likewise.
12974 * sunrpc/rpc/rpc_msg.h: Likewise.
12975 * sunrpc/rpc/svc.h: Likewise.
12976 * sunrpc/rpc/svc_auth.h: Likewise.
12977 * sunrpc/rpc/types.h: Likewise.
12978 * sunrpc/rpc/xdr.h: Likewise.
12979 * sunrpc/rpc_clntout.c: Likewise.
12980 * sunrpc/rpc_cmsg.c: Likewise.
12981 * sunrpc/rpc_common.c: Likewise.
12982 * sunrpc/rpc_cout.c: Likewise.
12983 * sunrpc/rpc_dtable.c: Likewise.
12984 * sunrpc/rpc_hout.c: Likewise.
12985 * sunrpc/rpc_main.c: Likewise.
12986 * sunrpc/rpc_parse.c: Likewise.
12987 * sunrpc/rpc_parse.h: Likewise.
12988 * sunrpc/rpc_prot.c: Likewise.
12989 * sunrpc/rpc_sample.c: Likewise.
12990 * sunrpc/rpc_scan.c: Likewise.
12991 * sunrpc/rpc_scan.h: Likewise.
12992 * sunrpc/rpc_svcout.c: Likewise.
12993 * sunrpc/rpc_tblout.c: Likewise.
12994 * sunrpc/rpc_util.c: Likewise.
12995 * sunrpc/rpc_util.h: Likewise.
12996 * sunrpc/rpcinfo.c: Likewise.
12997 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12998 * sunrpc/rpcsvc/key_prot.x: Likewise.
12999 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13000 * sunrpc/rpcsvc/mount.x: Likewise.
13001 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13002 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13003 * sunrpc/rpcsvc/rex.x: Likewise.
13004 * sunrpc/rpcsvc/rstat.x: Likewise.
13005 * sunrpc/rpcsvc/rusers.x: Likewise.
13006 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13007 * sunrpc/rpcsvc/spray.x: Likewise.
13008 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13009 * sunrpc/rtime.c: Likewise.
13010 * sunrpc/svc.c: Likewise.
13011 * sunrpc/svc_auth.c: Likewise.
13012 * sunrpc/svc_authux.c: Likewise.
13013 * sunrpc/svc_raw.c: Likewise.
13014 * sunrpc/svc_run.c: Likewise.
13015 * sunrpc/svc_simple.c: Likewise.
13016 * sunrpc/svc_tcp.c: Likewise.
13017 * sunrpc/svc_udp.c: Likewise.
13018 * sunrpc/svc_unix.c: Likewise.
13019 * sunrpc/svcauth_des.c: Likewise.
13020 * sunrpc/xcrypt.c: Likewise.
13021 * sunrpc/xdr.c: Likewise.
13022 * sunrpc/xdr_array.c: Likewise.
13023 * sunrpc/xdr_float.c: Likewise.
13024 * sunrpc/xdr_mem.c: Likewise.
13025 * sunrpc/xdr_rec.c: Likewise.
13026 * sunrpc/xdr_ref.c: Likewise.
13027 * sunrpc/xdr_sizeof.c: Likewise.
13028 * sunrpc/xdr_stdio.c: Likewise.
13029
9da4bb31
UD
13030 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13031 handling.
13032
bdaa77bc
AS
130332010-08-19 Andreas Schwab <schwab@redhat.com>
13034
13035 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13036
fe2f79db
LM
130372010-08-19 Luis Machado <luisgpm@br.ibm.com>
13038
13039 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13040 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13041 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13042 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13043 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13044 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13045 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13046 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13048 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13049 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13050 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13051 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13052 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13053
b9b42ee0
AB
130542010-07-26 Anton Blanchard <anton@samba.org>
13055
13056 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13057 * malloc/arena.c (heap_trim): Likewise.
13058
1c06ba31
UD
130592010-08-16 Ulrich Drepper <drepper@redhat.com>
13060
13061 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13062 here. Not...
13063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13064 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13065
f8392f40
L
130662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13067
13068 * sysdeps/i386/elf/Makefile: New file.
13069
3162f12e
AS
130702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13071
13072 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13073 from fanotify_init.
13074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13076
28c90b2c
UD
130772010-08-15 Ulrich Drepper <drepper@redhat.com>
13078
13079 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13080 of strncasecmp_l.
1feccb6c 13081 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13082
ca6bb004
UD
130832010-08-14 Ulrich Drepper <drepper@redhat.com>
13084
e9f82e0d
UD
13085 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13086 strncase_l-nonascii.
13087 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13088 Add strncase_l-ssse3.
13089 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13090 * sysdeps/x86_64/strcmp.S: Likewise.
13091 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13092 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13093 * sysdeps/x86_64/strncase.S: New file.
13094 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13095 * sysdeps/x86_64/strncase_l.S: New file.
13096 * string/Makefile (strop-tests): Add strncasecmp.
13097 * string/test-strncasecmp.c: New file.
13098
13099 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13100 warning.
13101
ca6bb004
UD
13102 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13103 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13104
052fa7b3
AS
131052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13106
13107 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13108
962dba78
UD
131092010-08-12 Ulrich Drepper <drepper@redhat.com>
13110
13111 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13113 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13114
bebff237
AM
131152010-05-01 Alan Modra <amodra@gmail.com>
13116
13117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13118 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13119 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13120 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13121 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13122 tidying. Don't tail-call __sigjmp_save for static lib.
13123 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13124 save location.
13125 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13126 (CALL_MCOUNT): Add eh info, and nop after bl.
13127 (TAIL_CALL_SYSCALL_ERROR): New macro.
13128 (PSEUDO_RET): Use it.
13129 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13130 Correct save location of integer regs and cr.
13131 (_dl_profile_resolve): Correct cr save location. Delete nops
13132 after bl when SHARED. Reduce cfi size a little by better
13133 placement of cfi directives.
13134 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13135 make a stack frame. Instead use parm save area as a temp.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13137 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13139 Don't make a stack frame for parent, use parm save area.
13140 Increase child stack frame to 112 bytes. Don't save unused reg,
13141 and adjust reg usage. Set up cfi on error recovery and
13142 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13144 (__makecontext): Add dummy nop after jump to exit.
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13146 Use correct parm save area and cr save, reduce stack frame.
13147 Correct cfi for possible PSEUDO_RET frame setup.
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13149 Branch to local label emitted by PSEUDO_RET rather than
13150 __syscall_error.
13151
02637374
AS
131522010-08-12 Andreas Schwab <schwab@redhat.com>
13153
13154 [BZ #11904]
13155 * locale/programs/locale.c (print_assignment): New function.
13156 (show_locale_vars): Use it.
13157
c3e2f19b
UD
131582010-08-11 Ulrich Drepper <drepper@redhat.com>
13159
3cdaa6ad
UD
13160 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13161 field.
13162 (struct statfs64): Likewise.
13163 (_STATFS_F_FLAGS): Define.
13164 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13165 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13166 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13167 (ST_VALID): Define locally.
13168 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13169 __statvfs_getflags, use the provided value.
13170 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13171 __ASSUME_STATFS_F_FLAGS.
13172
754f7da3
UD
13173 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13174
10b3bedc
UD
13175 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13176 Add sys/fanotify.h.
13177 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13178 fanotify_mask for GLIBC_2.13.
13179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13180 fanotify_init and fanotify_mark.
13181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13182 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13183
c08fb0d7
UD
13184 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13185 Add prlimit.
13186 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13187 prlimit64 for GLIBC_2.13.
13188 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13189 prlimit64.
13190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13191 syscall.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13193 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13194 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13195 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13197 add prlimit alias.
13198 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13199
15bac72b
UD
13200 [BZ #11903]
13201 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13202 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13203
c3e2f19b
UD
13204 * nss/Makefile: Add rules to build and run tst-nss-test1.
13205 * shlib-versions: Add entry for libnss_test1.
13206 * nss/nss_test1.c: New file.
13207 * nss/tst-nss-test1.c: New file.
13208
13209 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13210 (__nss_configure_lookup): Set appropriate entry in
13211 __nss_configure_lookup to true.
13212 * nss/nsswitch.h: Define enum with indeces of databases in
13213 databases and __nss_database_custom arrays. Declare
13214 __nss_database_custom.
13215 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13216 to avoid using nscd when custom rules are installed.
13217 * nss/getXXbyYY_r.c: Likewise.
13218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13219
13220 * nss/nss_files/files-parse.c: Whitespace fixes.
13221
f15ce4d8
UD
132222010-08-09 Ulrich Drepper <drepper@redhat.com>
13223
13224 [BZ #11883]
13225 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13226 * posix/fnmatch_loop.c: Likewise.
13227
d22e4cc9
AK
132282010-07-17 Andi Kleen <ak@linux.intel.com>
13229
13230 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13231 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13232 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13233 * Versions.def [GLIBC_2.13]: Add.
13234
805bc17d
UD
132352010-08-06 Ulrich Drepper <drepper@redhat.com>
13236
13237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13238 Also fail if tpwd after pwuid call is NULL.
13239
5a42321d
ST
132402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13241
13242 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13243 when converting to ms.
13244
fd3ebeda
ST
132452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13246
13247 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13248 EOPNOTSUPP errors with ENOTTY.
13249 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13250 EOPNOTSUPP errors with ENOTTY.
13251
73507d3a
UD
132522010-07-31 Ulrich Drepper <drepper@redhat.com>
13253
13254 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13255 Add strcasecmp_l-ssse3.
13256 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13257 strcasecmp.
13258 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13259 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13260 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13261
fe36dd02
UD
132622010-07-30 Ulrich Drepper <drepper@redhat.com>
13263
66f6765a
UD
13264 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13265
42e08a54
UD
13266 * string/Makefile (strop-tests): Add strcasecmp.
13267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13268 strcasecmp_l-nonascii.
13269 (gen-as-const-headers): Add locale-defines.sym.
13270 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13271 * sysdeps/x86_64/strcasecmp.S: New file.
13272 * sysdeps/x86_64/strcasecmp_l.S: New file.
13273 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13274 * sysdeps/x86_64/locale-defines.sym: New file.
13275 * string/test-strcasecmp.c: New file.
13276
fe36dd02
UD
13277 * string/test-strcasestr.c: Test both ends of the range of characters.
13278 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13279
48cbc0d6
RM
132802010-07-29 Roland McGrath <roland@redhat.com>
13281
76e6d6bc 13282 [BZ #11856]
48cbc0d6
RM
13283 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13284
880113d9
UD
132852010-07-27 Ulrich Drepper <drepper@redhat.com>
13286
13287 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13288 for ld.so.
13289
deb9cabb
AS
132902010-07-27 Andreas Schwab <schwab@redhat.com>
13291
13292 * manual/memory.texi (Malloc Tunable Parameters): Document
13293 M_PERTURB.
13294
1c7570ff
RM
132952010-07-26 Roland McGrath <roland@redhat.com>
13296
13297 [BZ #11840]
13298 * configure.in (-fgnu89-inline check): Set and substitute
13299 gnu89_inline, not libc_cv_gnu89_inline.
13300 * configure: Regenerated.
13301 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13302
24fb0f88
UD
133032010-07-26 Ulrich Drepper <drepper@redhat.com>
13304
13305 * string/test-strnlen.c: New file.
13306 * string/Makefile (strop-tests): Add strnlen.
13307 * string/tester.c (test_strnlen): Add a few more test cases.
13308 * string/tst-strlen.c: Better error reporting.
13309
13310 * sysdeps/x86_64/strnlen.S: New file.
13311
8e96b93a
UD
133122010-07-24 Ulrich Drepper <drepper@redhat.com>
13313
13314 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13315 lower-latency instructions.
13316
dbc676d4
UD
133172010-07-23 Ulrich Drepper <drepper@redhat.com>
13318
13319 * string/test-strcasestr.c: New file.
13320 * string/test-strstr.c: New file.
13321 * string/Makefile (strop-tests): Add strstr and strcasestr.
13322 * string/str-two-way.h: Don't undefine MAX.
13323 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13324
f6a31e0e
AS
133252010-07-21 Andreas Schwab <schwab@redhat.com>
13326
13327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13328 strcasestr-nonascii.
13329 (CFLAGS-strcasestr-nonascii.c): Define.
13330 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13332 Remove unused attribute.
13333
5dbc3b6c
RM
133342010-07-20 Roland McGrath <roland@redhat.com>
13335
13336 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13337 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13338 ld.so.cache was broken. With it, there is no way to disable dsocaps
13339 like LD_HWCAP_MASK can disable hwcaps.
13340
23d101d8
EPM
133412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13342
13343 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13344
cc9f2e47
UD
133452010-07-16 Ulrich Drepper <drepper@redhat.com>
13346
13347 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13348 call in strcasestr.
13349 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13350 __strcasestr_sse42_nonascii.
13351 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13352 strcasestr-nonascii.c.
13353 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13354
77c1b069
LM
133552010-06-15 Luis Machado <luisgpm@br.ibm.com>
13356
13357 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13358 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13359 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13360 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13361
440566c3
UD
133622010-07-09 Ulrich Drepper <drepper@redhat.com>
13363
13364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13365 fcntl.
13366
5be9d05d
AS
133672010-07-06 Andreas Schwab <schwab@redhat.com>
13368
c30b7ee2 13369 [BZ #11577]
5be9d05d
AS
13370 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13371 dl_signal_cerror.
13372
8a492a67
UD
133732010-07-06 Ulrich Drepper <drepper@redhat.com>
13374
13375 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13376 _PC_PIPE_BUF using F_GETPIPE_SZ.
13377
713df3d5
RM
133782010-07-05 Roland McGrath <roland@redhat.com>
13379
13380 * manual/arith.texi (Rounding Functions): Fix rint description
13381 implicit in round description.
13382
702e8f14
UD
133832010-07-02 Ulrich Drepper <drepper@redhat.com>
13384
13385 * elf/Makefile: Fix linking for a few tests to make recent linker
13386 happy.
13387
52ed8be9
AS
133882010-06-30 Andreas Schwab <schwab@redhat.com>
13389
13390 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13391 $(common-objpfx)libc_nonshared.a.
13392
f47c9a11
LM
133932010-06-21 Luis Machado <luisgpm@br.ibm.com>
13394
13395 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13396 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13397 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13398 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13399 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13400 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13401 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13402 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13417 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13418 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13419 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13420 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13421 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13422 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13423 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13424 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13425 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13426 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13427 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13428 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13443
6fb8cbcb
L
134442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13447 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13448 * string/memmove.c (memmove): Renamed to ...
13449 (MEMMOVE): ...this. Default to memmove.
13450 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13451 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13452 (END_CHK): Define.
13453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13454 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13455 mempcpy-ssse3-back memmove-ssse3-back.
13456 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13458 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13459 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13460 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13461 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13462 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13463 * sysdeps/x86_64/multiarch/memmove.c: New file.
13464 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13465 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13466 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13467 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13468 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13469 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13470 Define.
13471 (index_Fast_Copy_Backward): Define.
13472 (HAS_ARCH_FEATURE): Define.
13473 (HAS_FAST_REP_STRING): Define.
13474 (HAS_FAST_COPY_BACKWARD): Define.
13475
4e733bac 134762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13477
13478 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13479 Restore proper fallback handling.
13480
63c4ed22
UD
134812010-06-19 Ulrich Drepper <drepper@redhat.com>
13482
ac2b484c
UD
13483 [BZ #11701]
13484 * posix/group_member.c (__group_member): Correct checking loop.
13485
63c4ed22
UD
13486 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13487 OOM in getpwuid_r correctly. Return error number when the caller
13488 should return, otherwise -1.
13489 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13490 call returning > 0 value.
13491 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13492
765ade4b
AS
134932010-06-07 Andreas Schwab <schwab@redhat.com>
13494
13495 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13496 libc_nonshared.a from targets in modules-names.
13497
80da2e09
KS
134982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13499
13500 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13501 requires it.
13502
158db122
LM
135032010-06-10 Luis Machado <luisgpm@br.ibm.com>
13504
13505 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13509
caa78cf8
AS
135102010-06-02 Andreas Schwab <schwab@redhat.com>
13511
13512 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13513
b2ef2c01
UD
135142010-06-14 Ulrich Drepper <drepper@redhat.com>
13515
13516 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13517 and F_GETPIPE_SZ.
13518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13523 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13524
fbd643b6
RM
135252010-06-14 Roland McGrath <roland@redhat.com>
13526
13527 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13528
f32f2869
JJ
135292010-06-07 Jakub Jelinek <jakub@redhat.com>
13530
13531 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13532 __REDIRECT followed by __THROW.
13533 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13534 * posix/getopt.h (getopt): Likewise.
13535
2a50c078
EPM
135362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13537
13538 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13539 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13540 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13541 in AT_FLAGS.
13542 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13543 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13544
eb5ad2eb
LM
135452010-05-28 Luis Machado <luisgpm@br.ibm.com>
13546
13547 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13548
3c88fe1e
L
135492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13550
13551 [BZ #11640]
13552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13553 Properly check family and model.
13554
d2f73151
TY
135552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13556
13557 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13558
ebd2e13d
LM
135592010-05-24 Luis Machado <luisgpm@br.ibm.com>
13560
13561 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13562
b32b8b45
UD
135632010-05-21 Ulrich Drepper <drepper@redhat.com>
13564
13565 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13566 symbol reference.
13567
9acbe24d
AS
135682010-05-19 Andreas Schwab <schwab@redhat.com>
13569
13570 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13571 symbol reference.
13572
f0ccf6ea
AS
135732010-05-21 Andreas Schwab <schwab@redhat.com>
13574
3d04ff3a
AS
13575 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13576 and internal_recvmmsg.
13577 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13578 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13579 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13580 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13581
f0ccf6ea
AS
13582 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13583 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13584 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13585
5b08ac57
AS
135862010-05-20 Andreas Schwab <schwab@redhat.com>
13587
13588 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13589
4828935d
LM
135902010-05-17 Luis Machado <luisgpm@br.ibm.com>
13591
13592 POWER7 optimizations.
13593 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13594 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13595
373d545e
UD
135962010-05-19 Ulrich Drepper <drepper@redhat.com>
13597
13598 * version.h: Update for 2.13 development version.
13599
21a2b1ae
AS
136002010-05-12 Andrew Stubbs <ams@codesourcery.com>
13601
13602 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13603 exceptions. Return 0.
13604
3f7dcb2b
RM
136052010-05-07 Roland McGrath <roland@redhat.com>
13606
13607 * elf/ldconfig.c (main): Add a const.
13608
5f24d53a 136092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13610
a160f8d8
UD
13611 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13612 (args_options): Add no-idn option.
13613 (ahosts_keys_int): Add idn_flags to ai_flags.
13614 (parse_option): Handle 'i' option to clear idn_flags.
13615
5f24d53a
UD
13616 * malloc/malloc.c (_int_free): Possible race in the most recently
13617 added check. Only act on the data if no current modification
13618 happened.
265bb1ce
UD
13619
13620See ChangeLog.17 for earlier changes.