]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: ____longjmp_chk
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bcf55240
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
3 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6 signal-defines.sym.
7
6178c55b
ST
82012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9
10 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11
6f080c2f
TS
122012-05-10 Thomas Schwinge <thomas@schwinge.name>
13
14 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15 assertion on O_CLOEXEC flag.
16 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17 * hurd/intern-fd.c: Likewise.
18 * hurd/port2fd.c: Likewise.
19
bcfe3a54
ST
202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21
22 [BZ #3906]
23 * bits/in.h (IPV6_PKTINFO): Define new macro.
24 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25
89c9aa49
AZ
262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27
28 [BZ #13954]
29 [BZ #13955]
30 [BZ #13956]
31 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37 * math/libm-test.inc (logb_test) : Additional logb tests.
38
021db4be
AJ
392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40 Andreas Jaeger <aj@suse.de>
41
42 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43 * configure: Regenerated.
44 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45 * config.make.in (link-obsolete-rpc): New substituted variable.
46 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49 (shared-only-routines): Don't set it under [link-obsolete-rpc],
50 so that libc.a contains the symbols.
51 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53 * sunrpc/auth_none.c: Likewise.
54 * sunrpc/auth_unix.c: Likewise.
55 * sunrpc/authdes_prot.c: Likewise.
56 * sunrpc/authuxprot.c: Likewise.
57 * sunrpc/clnt_gen.c: Likewise.
58 * sunrpc/clnt_perr.c: Likewise.
59 * sunrpc/clnt_raw.c: Likewise.
60 * sunrpc/clnt_simp.c: Likewise.
61 * sunrpc/clnt_tcp.c: Likewise.
62 * sunrpc/clnt_udp.c: Likewise.
63 * sunrpc/clnt_unix.c: Likewise.
64 * sunrpc/des_crypt.c: Likewise.
65 * sunrpc/des_soft.c: Likewise.
66 * sunrpc/get_myaddr.c: Likewise.
67 * sunrpc/key_call.c: Likewise.
68 * sunrpc/key_prot.c: Likewise.
69 * sunrpc/netname.c: Likewise.
70 * sunrpc/pm_getmaps.c: Likewise.
71 * sunrpc/pm_getport.c: Likewise.
72 * sunrpc/pmap_clnt.c: Likewise.
73 * sunrpc/pmap_prot.c: Likewise.
74 * sunrpc/pmap_prot2.c: Likewise.
75 * sunrpc/pmap_rmt.c: Likewise.
76 * sunrpc/publickey.c: Likewise.
77 * sunrpc/rpc_cmsg.c: Likewise.
78 * sunrpc/rpc_common.c: Likewise.
79 * sunrpc/rpc_dtable.c: Likewise.
80 * sunrpc/rpc_prot.c: Likewise.
81 * sunrpc/rpc_thread.c: Likewise.
82 * sunrpc/rtime.c: Likewise.
83 * sunrpc/svc.c: Likewise.
84 * sunrpc/svc_auth.c: Likewise.
85 * sunrpc/svc_raw.c: Likewise.
86 * sunrpc/svc_run.c: Likewise.
87 * sunrpc/svc_tcp.c: Likewise.
88 * sunrpc/svc_udp.c: Likewise.
89 * sunrpc/svc_unix.c: Likewise.
90 * sunrpc/svcauth_des.c: Likewise.
91 * sunrpc/xcrypt.c: Likewise.
92 * sunrpc/xdr.c: Likewise.
93 * sunrpc/xdr_array.c: Likewise.
94 * sunrpc/xdr_float.c: Likewise.
95 * sunrpc/xdr_intXX_t.c: Likewise.
96 * sunrpc/xdr_mem.c: Likewise.
97 * sunrpc/xdr_rec.c: Likewise.
98 * sunrpc/xdr_ref.c: Likewise.
99 * sunrpc/xdr_sizeof.c: Likewise.
100 * sunrpc/xdr_stdio.c: Likewise.
101
b5c086a2
RM
1022012-05-10 Roland McGrath <roland@hack.frob.com>
103
104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
105 change. Update copyright years.
106
6d74dd09
JM
1072012-05-10 Joseph Myers <joseph@codesourcery.com>
108
109 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
110
28e72501
MK
1112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
112 Joseph Myers <joseph@codesourcery.com>
113 Paul Pluzhnikov <ppluzhnikov@google.com>
114
115 [BZ #14012]
116 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
117 requiring rpcgen.
118 [cross-compiling] (extra-libs): Likewise.
119 [cross-compiling] (extra-libs-others): Likewise.
120 [cross-compiling] (librpcsvc-routines): Likewise.
121 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
122 [cross-compiling] (omit-deps): Likewise.
123 (sunrpc-CPPFLAGS): New variable.
124 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
125 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
126 (cross-rpcgen-objs): New variable.
127 (extra-objs): Append $(cross-rpcgen-objs).
128 ($(cross-rpcgen-objs)): New rule.
129 ($(objpfx)cross-rpcgen): Likewise.
130 (rpcgen-cmd): Define to use $(built-program-file). Expand
131 comment.
132 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
133 ($(objpfx)x%.stmp): Likewise.
134 * sunrpc/proto.h [IS_IN_build] (_): Define.
135 [IS_IN_build] (_libc_intl_domainname): Likewise.
136
c8c59454
L
1372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
140 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
141 and R_X86_64_TPOFF64.
142
6f27cd16
JM
1432012-05-10 Joseph Myers <joseph@codesourcery.com>
144
145 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
146 sysdeps/unix/sysv/syscalls.list.
147 (stime): Likewise.
148 (utime): Likewise.
149 * sysdeps/unix/sysv/syscalls.list: Remove file.
150
02467e1c
PE
1512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
152
153 [BZ #3440]
154 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
155 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
156 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
157 (__LC_IDENTIFICATION): Make these macros useful in #if
158 expressions, as required by C99.
159
da392631
AS
1602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
161
162 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
163 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
164 after this.
165
8115f29b
L
1662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
167
168 * stdlib/longlong.h: Updated from GCC.
169
bdd74070
AJ
1702012-05-09 Andreas Jaeger <aj@suse.de>
171
edfe0dbe
AJ
172 * nscd/nscd.c (run_modes): Make named enum, reorder so that
173 default is first entry.
174 (run_mode): Set type.
175 (main): Remove informal message about syslog.
176 (options): Fix typo.
177
bcfe3a54
ST
178 [BZ #14053]
179 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 180 to asm.
bcfe3a54
ST
181 (lrint): Likewise.
182 (llrintf): Likewise.
183 (llrint): Likewise.
184 (rint): Likewise.
185 (rintf): Likewise.
186 (nearbyint): Likewise.
187 (nearbyintf): Likewise.
bdd74070 188
91d8d69e
AJ
1892012-05-09 Andreas Jaeger <aj@suse.de>
190 Pedro Alves <palves@redhat.com>
191
192 * nscd/nscd.c (run_mode): Use enum.
193 (main): Cleanup coding style issue.
194
bb90b80b
AJ
1952012-05-09 Alexandre Oliva <aoliva@redhat.com>
196 Andreas Jaeger <aj@suse.de>
197
bcfe3a54
ST
198 * nscd/nscd.c (go_background): Replaced with...
199 (run_mode): ... this.
bb90b80b 200 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
201 (options): Add -F --foreground.
202 (main): Implement it.
203 (parse_opt): Parse it.
bb90b80b 204
1a4b75a1
AJ
2052012-05-09 Andreas Jaeger <aj@suse.de>
206
207 [BZ #14083]
208 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
209 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
210 -Wconversion warning.
211 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
212 Likewise.
213
b1cc2472
JM
2142012-05-09 Joseph Myers <joseph@codesourcery.com>
215
216 * conform/data/locale.h-data (NULL): Use macro-constant. Require
217 == 0.
218 (LC_ALL): Use macro-int-constant.
219 (LC_COLLATE): Likewise.
220 (LC_CTYPE): Likewise.
221 (LC_MESSAGES): Likewise.
222 (LC_MONETARY): Likewise.
223 (LC_NUMERIC): Likewise.
224 (LC_TIME): Likewise.
225 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
226 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
228 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
229 Specify type.
230 [C99-based standards] (float_t): Expect type.
231 [C99-based standards] (double_t): Expect type.
232 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
233 type.
234 [C99-based standards] (HUGE_VALL): Likewise.
235 [C99-based standards] (INFINITY): Likewise.
236 [C99-based standards] (NAN): Likewise.
237 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
238 [C99-based standards] (FP_NAN): Likewise.
239 [C99-based standards] (FP_NORMAL): Likewise.
240 [C99-based standards] (FP_SUBNORMAL): Likewise.
241 [C99-based standards] (FP_ZERO): Likewise.
242 [C99-based standards] (FP_FAST_FMA): Use
243 optional-macro-int-constant. Specify type. Require == 1.
244 [C99-based standards] (FP_FAST_FMAF): Likewise.
245 [C99-based standards] (FP_FAST_FMAL): Likewise.
246 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
247 [C99-based standards] (FP_ILOGBNAN): Likewise.
248 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
249 Specify type.
250 [C99-based standards] (MATH_ERREXCEPT): Likewise.
251 [C99-based standards] (math_errhandling): Specify type.
252 [ISO99 || ISO11] (signgam): Do not allow.
253 [non-C99-based standards] (copysignf): Do not allow.
254 [non-C99-based standards] (exp2f): Likewise.
255 [non-C99-based standards] (log2f): Likewise.
256 [non-C99-based standards] (modff): Allow.
257 [non-C99-based standards] (erff): Do not allow.
258 [non-C99-based standards] (erfcf): Likewise.
259 [non-C99-based standards] (gammaf): Likewise.
260 [non-C99-based standards] (hypotf): Likewise.
261 [non-C99-based standards] (j0f): Likewise.
262 [non-C99-based standards] (j1f): Likewise.
263 [non-C99-based standards] (jnf): Likewise.
264 [non-C99-based standards] (lgammaf): Likewise.
265 [non-C99-based standards] (tgammaf): Likewise.
266 [non-C99-based standards] (y0f): Likewise.
267 [non-C99-based standards] (y1f): Likewise.
268 [non-C99-based standards] (ynf): Likewise.
269 [non-C99-based standards] (isnanf): Likewise.
270 [non-C99-based standards] (acoshf): Likewise.
271 [non-C99-based standards] (asinhf): Likewise.
272 [non-C99-based standards] (atanhf): Likewise.
273 [non-C99-based standards] (cbrtf): Likewise.
274 [non-C99-based standards] (expm1f): Likewise.
275 [non-C99-based standards] (ilogbf): Likewise.
276 [non-C99-based standards] (log1pf): Likewise.
277 [non-C99-based standards] (logbf): Likewise.
278 [non-C99-based standards] (nextafterf): Likewise.
279 [non-C99-based standards] (remainderf): Likewise.
280 [non-C99-based standards] (rintf): Likewise.
281 [non-C99-based standards] (scalbf): Likewise.
282 [non-C99-based standards] (copysignl): Likewise.
283 [non-C99-based standards] (exp2l): Likewise.
284 [non-C99-based standards] (log2l): Likewise.
285 [non-C99-based standards] (modfl): Allow.
286 [non-C99-based standards] (erfl): Do not allow.
287 [non-C99-based standards] (erfcl): Likewise.
288 [non-C99-based standards] (gammal): Likewise.
289 [non-C99-based standards] (hypotl): Likewise.
290 [non-C99-based standards] (j0l): Likewise.
291 [non-C99-based standards] (j1l): Likewise.
292 [non-C99-based standards] (jnl): Likewise.
293 [non-C99-based standards] (lgammal): Likewise.
294 [non-C99-based standards] (tgammal): Likewise.
295 [non-C99-based standards] (y0l): Likewise.
296 [non-C99-based standards] (y1l): Likewise.
297 [non-C99-based standards] (ynl): Likewise.
298 [non-C99-based standards] (isnanl): Likewise.
299 [non-C99-based standards] (acoshl): Likewise.
300 [non-C99-based standards] (asinhl): Likewise.
301 [non-C99-based standards] (atanhl): Likewise.
302 [non-C99-based standards] (cbrtl): Likewise.
303 [non-C99-based standards] (expm1l): Likewise.
304 [non-C99-based standards] (ilogbl): Likewise.
305 [non-C99-based standards] (log1pl): Likewise.
306 [non-C99-based standards] (logbl): Likewise.
307 [non-C99-based standards] (nextafterl): Likewise.
308 [non-C99-based standards] (remainderl): Likewise.
309 [non-C99-based standards] (rintl): Likewise.
310 [non-C99-based standards] (scalbl): Likewise.
311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
312 [non-C99-based standards] (FP_*): Do not allow.
313 [C99-based standards] (FP_*): Change to
314 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
315 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
316 allow.
317 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
318 (SIG_ERR): Likewise.
319 [X/Open-based standards] (SIG_HOLD): Likewise.
320 (SIG_IGN): Likewise.
321 (SIGABRT): Use macro-int-constant. Specify type. Require
322 positive value.
323 (SIGFPE): Likewise.
324 (SIGILL): Likewise.
325 (SIGINT): Likewise.
326 (SIGSEGV): Likewise.
327 (SIGTER): Likewise.
328 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
329 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
330 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
331 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
332 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
333 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
334 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
335 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
336 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
337 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
338 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
339 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
340 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
341 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
342 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
343 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
344 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
345 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
346 [X/Open-based standards] (SIGTRAP): Likewise.
347 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
348 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
349 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
350 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
351 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
352 allow.
353
b9f1922d
IW
3542012-05-08 Ian Wienand <ianw@vmware.com>
355
356 [BZ #14080]
357 * time/tzset.c (__tzset_parse_tz): Update default rules for
358 daylight time changes in the Energy Policy Act of 2005.
359
1db86e88
AJ
3602012-05-09 Andreas Jaeger <aj@suse.de>
361
362 [BZ #13983]
363 * elf/ldconfig.c (parse_conf): Change string to make clear that
364 ldconfig only issued a warning if ld.so.conf does not exist.
365
dee4a4e3
DM
3662012-05-08 David S. Miller <davem@davemloft.net>
367
ee0db190
DM
368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
369 movxtod instead of popping the value on the stack.
370
dee4a4e3
DM
371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
372
6a43ec98
CD
3732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
374
375 * config.h.in: Add HAVE_ARM_PCS_VFP.
376
05c2c961
RMG
3772012-05-08 Roland Mc Grath <roland@hack.frob.com>
378
bcfe3a54
ST
379 [BZ #13979]
380 * include/features.h: Warn if user requests __FORTIFY_SOURCE
381 checking but the checks are disabled for any reason.
05c2c961 382
4b30f61a
L
3832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
384
385 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
386 and ELF64_R_TYPE with ELFW(R_TYPE).
387
eee2bc67
JM
3882012-05-08 Joseph Myers <joseph@codesourcery.com>
389
7ea5391a
JM
390 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
391 (ulimit): Likewise.
392
eee2bc67
JM
393 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
394 (settimeofday): Likewise.
395
abb66a67
MF
3962012-05-08 Mike Frysinger <vapier@gentoo.org>
397
398 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
399 a struct th_u2 inside the union, and move tu_block/tu_code into
400 a new th_u3 union of tu_block/tu_code inside of that. Move
401 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
402 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
403 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
404 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
405 (th_stuff): Change to th_u1.tu_stuff.
406 (th_data): Define.
407 (th_msg): Change to th_u1.th_u2.tu_data.
408
7f18b530
DM
4092012-05-07 David S. Miller <davem@davemloft.net>
410
05760585
DM
411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
412
7f18b530
DM
413 [BZ #14074]
414 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
415 (SETUP_PIC_REG): Use it.
416 (SETUP_PIC_REG_LEAF): Use it.
417
495fd99f
JM
4182012-05-07 Joseph Myers <joseph@codesourcery.com>
419
420 [BZ #13885]
421 [BZ #13923]
422 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
423 USE_AS_EXPM1L.
424 (EXPL_FINITE): Likewise.
425 (FLDLOG): Likewise.
426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
427 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
428 e_expl.S.
429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
430 USE_AS_EXPM1L.
431 (EXPL_FINITE): Likewise.
432 (FLDLOG): Likewise.
433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
434 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
435 e_expl.S.
436 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
437 test of -max_value argument for long double.
438 * sysdeps/i386/fpu/libm-test-ulps: Update.
439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
440
6693d694
DM
4412012-05-06 David S. Miller <davem@davemloft.net>
442
443 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
444 quad soft-float symbols whose references which are compiler
445 generated.
446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
447
6c23e11c
JM
4482012-05-06 Joseph Myers <joseph@codesourcery.com>
449
d8b82cad
JM
450 [BZ #13884]
451 [BZ #13914]
452 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
453 USE_AS_EXP10L.
454 (EXPL_FINITE): Likewise.
455 (FLDLOG): Likewise.
456 (c0): Likewise.
457 (c1): Likewise.
458 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
459 Adjust comments for base varying.
460 (__expl_finite): Change alias to EXPL_FINITE.
461 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
462 e_expl.S.
463 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
464 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
465 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
466 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
468 USE_AS_EXP10L.
469 (EXPL_FINITE): Likewise.
470 (FLDLOG): Likewise.
471 (c0): Likewise.
472 (c1): Likewise.
473 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
474 Adjust comments for base varying.
475 (__expl_finite): Change alias to EXPL_FINITE.
476 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
477 tests for bugs.
478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
479
6c23e11c
JM
480 [BZ #14064]
481 * math/libm-test.inc (check_float_internal): Correct ulp
482 calculation for subnormal expected results.
483
29ba805c
AJ
4842012-05-06 Andreas Jaeger <aj@suse.de>
485
486 * Makeconfig (+math-flags): New, set to -frounding-math.
487 (+cflags): Add +math-flags so that all of glibc gets compiled with
488 it.
489
490 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
491
7b17aeda
JM
4922012-05-05 Joseph Myers <joseph@codesourcery.com>
493
5779f134
JM
494 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
495 Disable one test.
496
41498f4d
JM
497 [BZ #13787]
498 [BZ #13922]
499 [BZ #14036]
500 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
501 (__ieee754_expl): Allow for and saturate large arguments.
502 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
503 (u_threshold): Likewise.
504 (__exp): Call __ieee754_exp before checking for overflow and
505 underflow.
506 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
507 (u_threshold): Likewise.
508 (__expf): Call __ieee754_expf before checking for overflow and
509 underflow.
510 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
511 (u_threshold): Likewise.
512 (__expl): Call __ieee754_expl before checking for overflow and
513 underflow.
514 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
515 (__ieee754_expl): Allow for and saturate large arguments.
516 * math/libm-test.inc (exp_test): Add another test. Do not allow
517 missing overflow exception on overflow.
518 (expm1_test): Do not allow missing overflow exception on overflow.
519
6698b8bf
JM
520 * sysdeps/i386/fpu/e_expl.c: Move to ...
521 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
522 rather than using inline asm.
523 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
524 * sysdeps/x86_64/fpu/e_expl.S: Copy from
525 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
526
7b17aeda
JM
527 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
528 (nice): Likewise.
529 (poll): Likewise.
530 (signal): Likewise.
531 (time): Likewise.
532 (times): Likewise.
533
f7c85819
JM
5342012-05-04 Joseph Myers <joseph@codesourcery.com>
535
536 * sysdeps/unix/syscalls.list (adjtime): Add entry from
537 sysdeps/unix/common/syscalls.list.
538 (fchmod): Likewise.
539 (fchown): Likewise.
540 (ftruncate): Likewise.
541 (getrusage): Likewise.
542 (gettimeofday): Likewise.
543 (setpgid): Likewise.
544 (setregid): Likewise.
545 (setreuid): Likewise.
546 (sigaction): Likewise.
547 (truncate): Likewise.
548 (vhangup): Likewise.
549 * sysdeps/unix/common/syscalls.list: Remove file.
550 * sysdeps/unix/bsd/Implies: Don't include unix/common.
551 * sysdeps/unix/sysv/linux/Implies: Likewise.
552
336270d0
L
5532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
554
555 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
557 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
558 Moved to ...
559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
560 Here.
561 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
562 to ...
563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
564 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
565 to ...
566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
567 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
568 to ...
569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
570 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
571 to ...
572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
573 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
574 to ...
575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
576 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
577 to ...
578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
580 to ...
581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
582 Here.
583 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
584 to ...
585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
586 Here.
587 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
588 to ...
589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
590 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
591 Moved to ...
592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
593 Here.
594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
595 to ...
596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
597
d128e450
JM
5982012-05-04 Joseph Myers <joseph@codesourcery.com>
599
fa8ee516
JM
600 * sysdeps/unix/common/bits/dirent.h: Remove file.
601 * sysdeps/unix/common/bits/fcntl.h: Likewise.
602
d128e450
JM
603 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
604 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
605 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
606 * sysdeps/unix/bsd/isatty.c: Likewise.
607 * sysdeps/unix/bsd/tcdrain.c: Likewise.
608 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
609 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
610
ff8faaf0 6112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 612
62881be4 613 [BZ #13563]
31dc8730
AZ
614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
615 long double comparison inaccuracies.
616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
618
6fef930c
AS
6192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
620
621 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
623
8f203e6c
JM
6242012-05-04 Joseph Myers <joseph@codesourcery.com>
625
626 [BZ #14049]
627 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
628 nonzero digits before rounding a hex value.
629 * stdlib/tst-strtod.c (tests): Add another test.
630
5197d9c2
AK
6312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
632
633 * sysdeps/s390/fpu/libm-test-ulps: Update.
634
f0c1dedf
AJ
6352012-05-03 Andreas Jaeger <aj@suse.de>
636
637 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
638 does not get optimized out.
639 (malloc_opt_barrier): New.
640
a65ef2ae 6412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 642 Roland McGrath <roland@hack.frob.com>
a65ef2ae 643
2b942cb7 644 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 645 intermediate file deletion.
2b942cb7 646 (generated): Add .symlist files.
a65ef2ae 647
54b71e02
JM
6482012-05-03 Joseph Myers <joseph@codesourcery.com>
649
650 [BZ #13775]
651 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
652 Redirect under this condition.
653 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
654 [__USE_GNU] (__dprintf_chk): Not under this condition.
655 [__USE_GNU] (__vdprintf_chk): Likewise.
656 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
657 under this condition.
658 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
659 [__USE_XOPEN2K8] (dprintf): Define under this condition.
660 [__USE_XOPEN2K8] (vdprintf): Likewise.
661 [__USE_GNU] (__dprintf_chk): Not under this condition.
662 [__USE_GNU] (__vdprintf_chk): Likewise.
663 [__USE_GNU] (dprintf): Likewise.
664 [__USE_GNU] (vdprintf): Likewise.
665
d3dfcc41
RM
6662012-05-03 Roland McGrath <roland@hack.frob.com>
667
668 * elf/Makefile (common-generated): Set this instead of generated for
669 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
670 $(all-built-dso)-derived lists.
671
7ac30cc5
AJ
6722012-05-03 Andreas Jaeger <aj@suse.de>
673
0c51e550
AJ
674 * sysdeps/i386/fpu/libm-test-ulps: Update.
675
7ac30cc5
AJ
676 * FAQ: Removed.
677 * FAQ.in: Likewise.
678 * scripts/gen-FAQ.pl: Likewise.
679 * manual/install.texi (Installation): Point to online location of
680 FAQ.
681 * Makefile (files-for-dist): Remove FAQ.
682 (FAQ): Remove.
683
d4c2917f
AM
6842012-05-02 Allan McRae <allan@archlinux.org>
685
686 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
687 (LDFLAGS-reldepmod5.so): Likewise.
688 (LDFLAGS-reldep6mod1.so): Likewise.
689 (LDFLAGS-reldep6mod4.so): Likewise.
690 (LDFLAGS-reldep8mod3.so): Likewise.
691 (LDFLAGS-unload4mod1.so): Likewise.
692 (LDFLAGS-unload4mod2.so): Likewise.
693 (LDFLAGS-tst-initorder): Likewise.
694 (LDFLAGS-tst-initordera2.so): Likewise.
695 (LDFLAGS-tst-initordera3.so): Likewise.
696 (LDFLAGS-tst-initordera4.so): Likewise.
697 (LDFLAGS-tst-initorderb2.so): Likewise.
698 (LDFLAGS-noload): Likewise.
699 (LDFLAGS-next): Likewise.
700 (LDFLAGS-order2mod1.so): Likewise.
701 (LDFLAGS-order2mod2.so): Likewise.
702 (LDFLAGS-tst-initorder2): Likewise.
703 (LDFLAGS-tst-initorder2a.so): Likewise.
704 (LDFLAGS-tst-initorder2b.so): Likewise.
705 (LDFLAGS-tst-initorder2c.so): Likewise.
706 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
707
d77f993f
DM
7082012-05-02 David S. Miller <davem@davemloft.net>
709
710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
711
171a70b4
PP
7122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
713
714 [BZ #14055]
715 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
716
0be196ad
AJ
7172012-05-02 Andreas Jaeger <aj@suse.de>
718
719 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
720 since we manipulate rounding mode.
721 (CPPFLAGS-test-idouble.c): Likewise.
722 (CPPFLAGS-test-ifloat.c): Likewise.
723 (CFLAGS-test-ldouble.c): Likewise.
724 (CFLAGS-test-double.c): Likewise.
725 (CFLAGS-test-float.c): Likewise.
726 (CFLAGS-test-misc.c): Likewise.
727 (CFLAGS-test-test-fenv.c): Likewise.
728
4f9d04aa
AZ
7292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730
2b942cb7
RM
731 [BZ #2550]
732 [BZ #2570]
733 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
734 comparisons to determine direction to adjust input.
4f9d04aa 735
82a79e7d
RM
7362012-05-01 Roland McGrath <roland@hack.frob.com>
737
f5a01ca9
RM
738 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
739 output to the target.
740
90fe4186
RM
741 * scripts/localplt.awk: New file.
742 * elf/Makefile ($(objpfx)check-localplt): Target removed.
743 (check-localplt-CFLAGS): Variable removed.
744 ($(all-built-dso:=.jmprel)): New static pattern rule.
745 (generated): Add those targets.
746 (localplt-built-dso): New variable.
747 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
748
749 * elf/check-localplt.c: File removed.
750
82397ed6
RM
751 * scripts/check-execstack.awk: New file.
752 * elf/Makefile ($(objpfx)check-execstack): Target removed.
753 (check-execstack-CFLAGS): Variable removed.
754 ($(objpfx)check-execstack.h): Target removed.
755 ($(objpfx)execstack-default): New target.
756 (generated): Add that instead of check-execstack.h.
757 ($(all-built-dso:=.phdr)): New static pattern rule.
758 (generated): Add those targets.
759 * elf/check-execstack.c: File removed.
760
82a79e7d
RM
761 * scripts/check-textrel.awk: New file.
762 * elf/Makefile ($(objpfx)check-textrel): Target removed.
763 (check-textrel-CFLAGS): Variable removed.
764 (all-built-dso): Use := to define.o
765 ($(all-built-dso:=.dyn)): New static pattern rule.
766 (generated): Add those targets.
767 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
768 * config.make.in (READELF): New substituted variable.
769 * elf/check-textrel.c: File removed.
770
62fde54f 7712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 772
615605c9
JM
773 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
774 allow.
775 * conform/data/ctype.h-data [C99-based standards] (isblank):
776 Expect function.
777 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
778 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
780 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
781 Specify type. Require positive value.
782 (EILSEQ): Likewise.
783 (ERANGE): Likewise.
784 [ISO || POSIX] (EILSEQ): Do not expect.
785 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
786 Specify type. Require positive value.
787 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
788 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
789 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
790 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
791 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
792 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
793 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
794 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
795 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
796 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
797 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
798 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
799 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
800 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
801 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
802 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
803 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
804 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
805 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
806 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
807 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
808 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
809 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
810 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
811 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
812 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
813 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
814 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
815 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
816 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
817 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
818 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
819 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
820 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
821 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
822 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
823 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
824 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
825 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
826 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
827 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
828 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
829 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
830 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
831 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
832 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
833 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
834 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
835 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
836 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
837 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
838 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
839 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
840 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
841 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
842 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
843 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
844 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
845 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
846 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
847 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
848 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
849 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
850 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
851 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
852 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
853 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
854 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
855 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
856 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
857 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
858 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
859 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
860 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
861 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
862 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
863 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
864 Require >= 2.
865 (FLT_ROUNDS): Expect as macro, not constant.
866 (FLT_MANT_DIG): Use macro-int-constant.
867 (DBL_MANT_DIG): Likewise.
868 (LDBL_MANT_DIG): Likewise.
869 (FLT_DIG): Likewise.
870 (DBL_DIG): Likewise.
871 (LDBL_DIG): Likewise.
872 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
873 (DBL_MIN_EXP): Likewise.
874 (LDBL_MIN_EXP): Likewise.
875 (FLT_MAX_EXP): Use macro-int-constant.
876 (DBL_MAX_EXP): Likewise.
877 (LDBL_MAX_EXP): Likewise.
878 (FLT_MAX_10_EXP): Likewise.
879 (DBL_MAX_10_EXP): Likewise.
880 (LDBL_MAX_10_EXP): Likewise.
881 (FLT_MAX): Use macro-constant.
882 (DBL_MAX): Likewise.
883 (LDBL_MAX): Likewise.
884 (FLT_EPSILON): Use macro-constant. Give upper bound.
885 (DBL_EPSILON): Likewise.
886 (LDBL_EPSILON): Likewise.
887 (FLT_MIN): Likewise.
888 (DBL_MIN): Likewise.
889 (LDBL_MIN): Likewise.
890 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
891 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
892 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
893 [ISO11] (FLT_HAS_SUBNORM): Likewise.
894 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
895 [ISO11] (DBL_DECIMAL_DIG): Likewise.
896 [ISO11] (FLT_DECIMAL_DIG): Likewise.
897 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
898 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
899 [ISO11] (FLT_TRUE_MIN): Likewise.
900 [ISO11] (LDBL_TRUE_MIN): Likewise.
901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
902 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
903 (SCHAR_MIN): Use macro-int-constant. Specify type.
904 (SCHAR_MAX): Likewise.
905 (UCHAR_MAX): Likewise.
906 (CHAR_MIN): Likewise.
907 (CHAR_MAX): Likewise.
908 (MB_LEN_MAX): Use macro-int-constant.
909 (SHRT_MIN): Use macro-int-constant. Specify type.
910 (SHRT_MAX): Likewise.
911 (USHRT_MAX): Likewise.
912 (INT_MAX): Likewise.
913 (INT_MIN): Use macro-int-constant. Specify type. Make upper
914 bound negative.
915 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
916 bound with "U".
917 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
918 bound with "L".
919 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
920 bound negative. Suffix upper bound with "L".
921 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
922 bound with "UL".
923 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
924 Specify type.
925 [C99-based standards] (LLONG_MAX): Likewise.
926 [C99-based standards] (ULLONG_MAX): Likewise.
927 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
928 == 0.
929 [ISO11] (max_align_t): Require type.
930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
931
c9140a62
JM
932 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
933 from $CFLAGS, without defining away __attribute__ calls.
934 (checknamespace): Use $CFLAGS_namespace.
935
9af0bf29
JM
936 * conform/conformtest.pl (@keywords): Only include C99 keywords
937 for standards based on C99 or C11.
938
343222a2
JM
939 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
940 Disable tests.
941 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
942 UNIX98]: Likewise.
943
661f8cf0
JM
944 * conform/conformtest.pl: Handle "macro-int-constant" and test for
945 usability of symbols in #if.
946
ee74b9cb
JM
947 * conform/conformtest.pl: If macro or constant types start
948 "promoted:", expect the symbol to be of the following type
949 promoted by the integer promotions.
62fde54f 950
aafc49b3
JM
951 * conform/conformtest.pl: Parse all "constant" and "macro" lines
952 in one place. Also handle "macro-constant".
953
fefdf574
JM
954 * conform/conformtest.pl: Only accept expected macro values with
955 "==". Parse all "macro" lines in one place.
956 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
957
f2d922fe
JM
958 * conform/conformtest.pl: Handle braced types on "constant" lines
959 instead of handling "typed-constant".
960 * conform/data/signal.h-data: Use "constant" instead of
961 "typed-constant".
962
d22956c9
JM
963 * conform/conformtest.pl: Handle "optional-" at start of lines in
964 one place rather than duplicating several cases. Handle each
965 format of "macro" line with initial "optional-".
966
028e2e38
JM
967 * conform/conformtest.pl: Only accept expected constant or
968 optional-constant values with "==". Parse all "constant" lines in
969 one place. Parse all "optional-constant" lines in one place.
970 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
971 * conform/data/fmtmsg.h-data: Likewise.
972 * conform/data/netinet/in.h-data: Likewise.
973 * conform/data/tar.h-data: Likewise.
974 * conform/data/limits.h-data: Use "==" form on "constant" and
975 "optional-constant" lines.
976
1b8f2850
JM
977 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
978 Use -std=c99 for XOPEN2K.
979 (@knownproblems): Remove.
980 (newtoken): Don't check %isknown.
981
a05a144b
JM
982 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
983 Do not expect macro.
984 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
985 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
986 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
987 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
988 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
989 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
990 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
991 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
992 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
993 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
994 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
995 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
996 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
997 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
998 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
999 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1014 [XPG3] (acosh): Likewise.
1015 [XPG3] (asinh): Likewise.
1016 [XPG3] (atanh): Likewise.
1017 [XPG3] (cbrt): Likewise.
1018 [XPG3] (expm1): Likewise.
1019 [XPG3] (ilogb): Likewise.
1020 [XPG3] (log1p): Likewise.
1021 [XPG3] (logb): Likewise.
1022 [XPG3] (nextafter): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1025 [XPG3] (remainder): Likewise.
1026 [XPG3] (rint): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1034 [UNIX98 || XOPEN2K] (scalb): Expect.
1035 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1036 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1172
73c5ebe3
JM
1173 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1174 _XOPEN_SOURCE_EXTENDED for XPG4.
1175
39c33b6c
JM
1176 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1177
62fde54f
JM
1178 * Makeconfig (localtime): Remove variable.
1179 (inst_localtime-file): Likewise.
1180
0741d64c
AS
11812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1182
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1184 Update.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1186 Update.
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1188 Update.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1190 Update.
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1192 Update.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1194 Update.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1196 Update.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1198 Update.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1200 Update.
1201
7cb029ee
JM
12022012-05-01 Joseph Myers <joseph@codesourcery.com>
1203
1204 [BZ #2550]
1205 [BZ #2570]
1206 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1207 comparisons to determine direction to adjust input.
1208 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1209 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1211 Likewise.
1212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1213 Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1215 Likewise.
1216 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1217 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1218 Likewise.
1219 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1220 Likewise.
1221 * math/libm-test.inc (nexttoward_test): Add more tests.
1222
412bd966
AS
12232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1224
1225 [BZ #14040]
1226 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1227 in version GLIBC_2.1, not GLIBC_2.0.
1228 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1229 Likewise.
1230
9568c0c2
JM
12312012-04-30 Joseph Myers <joseph@codesourcery.com>
1232
adfbc8ac
JM
1233 [BZ #13942]
1234 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1235 (1 - x) * (1 + x).
1236 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1237 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1238 * math/libm-test.inc (acos_test): Add more tests.
1239 (asin_test): Likewise.
1240 * sysdeps/i386/fpu/libm-test-ulps: Update.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1242
5ba3cc69
JM
1243 [BZ #14034]
1244 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1245 of square root.
1246 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1247 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1248 * math/libm-test.inc (acos_test_tonearest): New function.
1249 (acos_test_towardzero): Likewise.
1250 (acos_test_downward): Likewise.
1251 (acos_test_upward): Likewise.
1252 (asin_test_tonearest): Likewise.
1253 (asin_test_towardzero): Likewise.
1254 (asin_test_downward): Likewise.
1255 (asin_test_upward): Likewise.
1256 (main): Call the new functions.
1257 * sysdeps/i386/fpu/libm-test-ulps: Update.
1258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1259
9568c0c2
JM
1260 [BZ #13884]
1261 [BZ #13924]
1262 * math/e_exp10.c: Include <float.h>.
1263 (__ieee754_exp10): Handle underflow here rather than multiplying
1264 large negative argument by M_LN10.
1265 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1266 of __ieee754_expf.
1267 * math/e_exp10l.c: Include <float.h>.
1268 (__ieee754_exp10l): Handle underflow here rather than multiplying
1269 large negative argument by M_LN10l.
1270 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1271 spurious overflow exception on underflow.
1272
5ac3ea17
MP
12732012-04-29 Marek Polacek <polacek@redhat.com>
1274
1275 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1276 (__fortify_function): New macro.
1277 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1278 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1279 __extern_always_inline.
1280 * libio/bits/stdio2.h: Likewise.
1281 * libio/bits/stdio.h: Likewise.
1282 * string/string.h: Likewise.
1283 * string/bits/string3.h: Likewise.
1284 * include/stdio.h: Likewise.
1285 * stdlib/bits/stdlib.h: Likewise.
1286 * stdlib/stdlib.h: Likewise.
1287 * rt/bits/mqueue2.h: Likewise.
1288 * rt/mqueue.h: Likewise.
1289 * posix/bits/unistd.h: Likewise.
1290 * posix/unistd.h: Likewise.
1291 * io/bits/poll2.h: Likewise.
1292 * io/bits/fcntl2.h: Likewise.
1293 * io/fcntl.h: Likewise.
1294 * io/sys/poll.h: Likewise.
1295 * misc/bits/syslog.h: Likewise.
1296 * misc/bits/syslog-ldbl.h: Likewise.
1297 * misc/sys/syslog.h: Likewise.
1298 * socket/bits/socket2.h: Likewise.
1299 * socket/sys/socket.h: Likewise.
1300 * debug/tst-chk1.c: Likewise.
1301 * wcsmbs/bits/wchar2.h: Likewise.
1302 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1303 * wcsmbs/wchar.h: Likewise.
1304
ecf0ebfb
AJ
13052012-04-29 Andreas Jaeger <aj@suse.de>
1306
1307 * Makerules (tests): Remove enable-check-abi protection.
1308 (check-abi-warn): Remove.
1309 (check-abi-%): Remove check-abi-warn usage.
1310
1311 * configure.in: Remove check-abi configure option.
1312 * configure: Regenerated.
1313 * config.make.in (enable-check-abi): Remove.
1314
6d5c57fa
AS
13152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1316
24c5d07e 1317 [BZ #14033]
ded5180a
AS
1318 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1319 double functions to double *_finite functions.
1320
7e0d315d
AS
1321 [BZ #13941]
1322 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1323 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1324 LDBL_MIN_EXP.
1325 * stdio-common/Makefile (tests): Add tst-sprintf3.
1326 * stdio-common/tst-sprintf3.c: New file.
1327
6d5c57fa
AS
1328 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1329 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1330
0749ff8b
JM
13312012-04-28 Joseph Myers <joseph@codesourcery.com>
1332
1333 * conform/conformtest.pl: Remove duplicate typed-constant
1334 handling.
1335
8dbd5d7b
DM
13362012-04-28 David S. Miller <davem@davemloft.net>
1337
1338 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1339 (check-abi-%): Remove AWK script prerequisite and explicit
1340 abilist directory.
1341 (check-abi): Rewrite to just diff the symlist with the abilist.
1342 (config-tls, config-abi-config): Delete, no longer used.
1343 (update-abi-%): Remove AWK script and explicit abilist directory.
1344 (update-abi): Rewrite to simply compare and conditionally copy the
1345 symlist and the sysdep abilist file. Remove update-abi-config
1346 checks.
1347 * abilist/ld.abilist: Remove.
1348 * abilist/libBrokenLocale.abilist: Remove.
1349 * abilist/libanl.abilist: Remove.
1350 * abilist/libcrypt.abilist: Remove.
1351 * abilist/libdl.abilist: Remove.
1352 * abilist/librt.abilist: Remove.
1353 * abilist/libthread_db.abilist: Remove.
1354 * abilist/libutil.abilist: Remove.
1355 * scripts/extract-abilist.awk: Remove.
1356 * scripts/merge-abilist.awk: Remove.
1357 * sysdeps/generic/libcidn.abilist: New file.
1358 * sysdeps/generic/libnss_compat.abilist: New file.
1359 * sysdeps/generic/libnss_db.abilist: New file.
1360 * sysdeps/generic/libnss_dns.abilist: New file.
1361 * sysdeps/generic/libnss_files.abilist: New file.
1362 * sysdeps/generic/libnss_hesiod.abilist: New file.
1363 * sysdeps/generic/libnss_nis.abilist: New file.
1364 * sysdeps/generic/libnss_nisplus.abilist: New file.
1365 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1366 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1367 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1368 file.
1369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1370 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1371 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1372 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1373 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1374 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1375 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1376 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1377 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1378 file.
1379 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1380 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1381 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1382 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1383 file.
1384 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1385 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1386 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1387 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1388 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1389 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1390 file.
1391 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1392 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1393 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1394 file.
1395 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1397 New file.
1398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1399 New file.
1400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1401 New file.
1402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1403 New file.
1404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1405 New file.
1406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1407 New file.
1408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1409 New file.
1410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1411 New file.
1412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1413 New file.
1414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1415 New file.
1416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1417 New file.
1418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1419 New file.
1420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1421 New file.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1423 file.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1425 New file.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1427 New file.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1429 file.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1431 New file.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1433 New file.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1435 file.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1437 New file.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1439 New file.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1441 New file.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1443 New file.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1445 New file.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1447 New file.
1448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1450 file.
1451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1452 New file.
1453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1454 file.
1455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1456 file.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1458 file.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1460 file.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1462 file.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1464 New file.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1466 file.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1468 file.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1470 New file.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1472 file.
1473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1475 file.
1476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1477 New file.
1478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1479 file.
1480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1481 file.
1482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1483 file.
1484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1485 file.
1486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1487 file.
1488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1489 New file.
1490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1491 file.
1492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1493 file.
1494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1495 New file.
1496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1497 file.
1498 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1499 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1500 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1503 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1504 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1505 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1506 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1507 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1508 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1509 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1510 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1511 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1514 file.
1515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1516 New file.
1517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1518 file.
1519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1520 file.
1521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1522 file.
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1524 file.
1525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1528 New file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1530 New file.
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1532 file.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1534 New file.
1535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1536 file.
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1539 file.
1540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1541 New file.
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1543 file.
1544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1545 file.
1546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1547 file.
1548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1549 file.
1550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1551 file.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1553 New file.
1554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1555 New file.
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1557 file.
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1559 New file.
1560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1561 file.
1562
41d73a1b
JM
15632012-04-28 Joseph Myers <joseph@codesourcery.com>
1564
1565 * conform/conformtest.pl: Fix typo in handling typed-constant from
1566 allow-header.
1567
28aeeda4
JM
15682012-04-27 Joseph Myers <joseph@codesourcery.com>
1569
adae8f5e
JM
1570 * README: Cut down references to pre-2.6 Linux kernels and
1571 Linuxthreads. Update lists of configurations in libc and ports
1572 and sort alphabetically. Say "or newer" with Linux kernel version
1573 requirements.
1574
28aeeda4
JM
1575 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1576
a462cb63
RA
15772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1578
1579 [BZ #887]
1580 * math/libm-test.inc (logb_test_downward): New test to expose
1581 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1582 rounding mode.
1583
6ad3493e
JM
15842012-04-27 Joseph Myers <joseph@codesourcery.com>
1585
1586 [BZ #14027]
1587 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1588 to be done.
1589 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1590 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1591
2ce4f015
JM
15922012-04-26 Joseph Myers <joseph@codesourcery.com>
1593
5aeb141a
JM
1594 * sysdeps/unix/i386/brk.S: Remove file.
1595 * sysdeps/unix/i386/dl-brk.S: Likewise.
1596 * sysdeps/unix/i386/pipe.S: Likewise.
1597 * sysdeps/unix/i386/sigreturn.S: Likewise.
1598 * sysdeps/unix/i386/syscall.S: Likewise.
1599 * sysdeps/unix/i386/vfork.S: Likewise.
1600 * sysdeps/unix/i386/wait.S: Likewise.
1601
7143acae
JM
1602 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1603 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1604
2ce4f015
JM
1605 * configure.in (arm*-none*): Do not allow without
1606 --enable-hacker-mode.
1607 (netbsd*): Remove case setting base_os.
1608 (386bsd*): Likewise.
1609 (freebsd*): Likewise.
1610 (bsdi*): Likewise.
1611 (osf*): Likewise.
1612 (sunos*): Likewise.
1613 (ultrix*): Likewise.
1614 (newsos*): Likewise.
1615 (dynix*): Likewise.
1616 (*bsd*): Likewise.
1617 (sysv*): Likewise.
1618 (isc*): Likewise.
1619 (esix*): Likewise.
1620 (sco*): Likewise.
1621 (minix*): Likewise.
1622 (irix4*): Likewise.
1623 (irix6*): Likewise.
1624 (solaris[2-9]*): Likewise.
1625 (none): Likewise.
1626 * configure: Regenerated.
1627
0ac229c8
AZ
16282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629
1630 [BZ #11521]
1631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1632 overflow or cancellation in calculating denominator.
1633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1635 down expression to avoid unexpected rounding in newer GCCs.
1636 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1637
33f244f4
DM
16382012-04-26 David S. Miller <davem@davemloft.net>
1639
1640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1641 long-double compat symbols.
1642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1655
cfa1f3e8
DM
16562012-04-25 David S. Miller <davem@davemloft.net>
1657
1658 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1659 HWCAP_* values only after the memory barriers have been defined.
1660 (atomic_full_barrier): Define.
1661 (atomic_read_barrier): Define.
1662 (atomic_write_barrier): Define.
1663
6e236b92
SP
16642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1665
1666 * shlib-versions: Add libgcc_s version information.
1667 * sysdeps/generic/libgcc_s.h: Remove.
1668 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1669 libgcc_s.h.
1670 * sysdeps/gnu/unwind-resume.c: Likewise.
1671 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1672
aab39a09
DM
16732012-04-25 David S. Miller <davem@davemloft.net>
1674
1675 * sysdeps/unix/sparc/brk.S: Delete.
1676 * sysdeps/unix/sparc/dl-brk.S: Delete.
1677 * sysdeps/unix/sparc/pipe.S: Delete.
1678 * sysdeps/unix/sparc/sysdep.S: Delete.
1679 * sysdeps/unix/sparc/sysdep.h: Delete.
1680 * sysdeps/unix/sparc/vfork.S: Delete.
1681 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1682 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1684 ret_ERRVAL, r0, r1, MOVE): Define.
1685 (JUMPTARGET): Remove.
1686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1687 sysdeps/unix/sparc/sysdep.h
1688 (ENTRY, END): Remove.
1689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1690
a3cc4f48
JM
16912012-04-25 Joseph Myers <joseph@codesourcery.com>
1692
2ed8cda2
JM
1693 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1694 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1695 -DIS_IN_build.
1696
35d76d59
JM
1697 * timezone/README: Update upstream location and email address for
1698 tzcode and tzdata.
1699 * timezone/zdump.c: Update from tzcode 2012b.
1700 * timezone/zic.c: Likewise.
1701
a3cc4f48
JM
1702 * configure.in (libc_cv_as_needed): Remove test.
1703 * configure: Regenerated.
1704 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1705 conditional definition.
1706 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1707 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1708 * config.make.in (have-as-needed): Remove variable.
1709
ceab42c3
SP
17102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1711 Paul Pluzhnikov <ppluzhnikov@google.com>
1712
1713 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1714 strings correctly.
1715
3ce2865f
CLT
17162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1717
1718 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1719 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1720 * sysdeps/sh/strlen.S: Likewise.
1721
f37e0d68
JM
17222012-04-24 Joseph Myers <joseph@codesourcery.com>
1723
ae186e9a
JM
1724 * sysdeps/unix/fork.S: Remove file.
1725 * sysdeps/unix/i386/fork.S: Likewise.
1726 * sysdeps/unix/sparc/fork.S: Likewise.
1727
b96914af
JM
1728 * sysdeps/unix/system.c: Remove file.
1729 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1730
f37e0d68
JM
1731 * sysdeps/unix/getegid.S: Remove file.
1732 * sysdeps/unix/geteuid.S: Likewise.
1733
87ef29ca
RM
17342012-04-24 Roland McGrath <roland@hack.frob.com>
1735
83bcd236
RM
1736 * scripts/check-localplt.awk: New file.
1737 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1738 of diff.
1739 * scripts/data/localplt-generic.data: Add a comment.
1740
87ef29ca
RM
1741 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1742 NODE when __dir_mkfile failed.
1743 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1744 Reported by Ludovic Courtès <ludo@gnu.org>.
1745
e5a6e567
AJ
17462012-04-24 Andreas Jaeger <aj@suse.de>
1747
1748 * Makerules (common-clean): Also remove gen-as-const-headers
1749 files.
1750
c1820385
JM
17512012-04-24 Joseph Myers <joseph@codesourcery.com>
1752
1753 * Makerules (native-compile): Do not change working directory for
1754 build. Use $(OUTPUT_OPTION) in command.
1755 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1756
94e02fc4
AZ
17572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758
1759 [BZ #13886]
1760 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1761 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1762 * math/libm-test.inc (floor_test): Add more tests.
1763 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1764
3a533ca3
JM
17652012-04-24 Joseph Myers <joseph@codesourcery.com>
1766
940ab4b3
JM
1767 * sysdeps/unix/getdents.c: Remove file.
1768 * sysdeps/unix/sysv/getdents.c: Likewise.
1769 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1770
90e037bd
JM
1771 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1772 sysdeps/unix/mman/syscalls.list.
1773 (mmap): Likewise.
1774 (mprotect): Likewise.
1775 (msync): Likewise.
1776 (munmap): Likewise.
1777 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1778 * sysdeps/unix/mman/syscalls.list: Remove.
1779 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1780
3a533ca3
JM
1781 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1782 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1783 * configure: Regenerated.
1784 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1785 $(libgcc_s_suffix).
1786 * config.make.in (libgcc_s_suffix): Remove variable.
1787
1ad743de
JM
17882012-04-23 Joseph Myers <joseph@codesourcery.com>
1789
4ad451e2
JM
1790 * sysdeps/unix/sysv/gethostname.c: Move to ...
1791 * sysdeps/posix/gethostname.c: ... here.
1792
5e37ce39
JM
1793 * sysdeps/unix/execve.S: Remove file.
1794
1ad743de
JM
1795 * sysdeps/unix/_exit.S: Remove file.
1796
4e681b5b
AJ
17972012-04-23 Andreas Jaeger <aj@suse.de>
1798
1799 [BZ #13739]
1800 * manual/Makefile: Remove make dist support, there's no
1801 need for a stand-alone documentation tar ball.
1802 (TEXI2DVI): Define always, it's not in Makeconfig.
1803 (dist): Removed.
1804 (tar-it): Removed.
1805 (edition): Removed.
1806 (glibc-doc-$(edition).tar): Removed
1807 (%.Z): Removed.
1808 (%.gz): Removed.
1809 (%.uu): Removed.
1810 (ETAGS): Remove, it's in Makeconfig.
1811 (move-if-change): Remove, it's in Makeconfig.
1812
c0baea34
PE
18132013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1814
1815 [BZ #13970]
1816 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1817 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1818 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1819 (strtod_l, strtof_l, strtold_l): Remove __wur.
1820 It is not necessarily an error to ignore strtol's return value.
1821 One can reliably look at the stored endptr to decide whether
1822 the number had valid syntax.
1823
7c0616fa
AJ
18242012-04-21 Andreas Jaeger <aj@suse.de>
1825
803cb6b7 1826 [BZ #13739]
7c0616fa
AJ
1827 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1828
b0fe253f
JM
18292012-04-21 Joseph Myers <joseph@codesourcery.com>
1830
1831 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1832 * sysdeps/unix/sysv/Versions: Remove file.
1833
8280f22d
MT
18342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1835
1836 [BZ #13927]
1837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1838
75ce411f 18392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1840
1841 [BZ #7064]
1842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1843 version from __vm86.
1844
097d59fa
JM
18452012-04-20 Joseph Myers <joseph@codesourcery.com>
1846
a90f3bcb
JM
1847 * sysdeps/unix/common/lxstat.c: Remove file.
1848 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1849
edc7ea78
JM
1850 * sysdeps/unix/sysv/Makefile: Remove file.
1851
cb78c221
JM
1852 * sysdeps/unix/sysv/direct.h: Remove file.
1853
efa6a45f
JM
1854 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1855 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1856 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1857 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1858 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1859 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1860 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1861
9c9f2d0c
JM
1862 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1863
4541c83b
JM
1864 * sysdeps/unix/xmknod.c: Remove file.
1865 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1866
f5d153a0
JM
1867 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1868
aa746595
JM
1869 * sysdeps/unix/sysv/i386/time.S: Remove file.
1870
cce5905e
JM
1871 * sysdeps/unix/fxstat.c: Remove file.
1872 * sysdeps/unix/xstat.c: Likewise.
1873 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1874
37fa3841
JM
1875 * sysdeps/unix/sysv/sigaction.c: Remove file.
1876
ff1962a3
JM
1877 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1878 (sysdep_headers): Remove variable.
1879 [termio.h not in sysdep_headers] (generated): Likewise.
1880 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1881 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1882 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1883 * sysdeps/unix/sysv/tcflow.c: Likewise.
1884 * sysdeps/unix/sysv/tcflush.c: Likewise.
1885 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1886 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1887 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1888 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1889 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1890
e7740d31
JM
1891 * sysdeps/unix/siglist.c: Remove file.
1892
ee06f18b
JM
1893 * sysdeps/unix/getppid.S: Remove file.
1894
097d59fa
JM
1895 * sysdeps/unix/mkdir.c: Remove file.
1896 * sysdeps/unix/rmdir.c: Likewise.
1897
ff3d51ec
AS
18982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1899
1900 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1901 ERR_MAX value.
1902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1903 errlist-compat value.
1904
50f81fd7
DM
19052012-04-18 David S. Miller <davem@davemloft.net>
1906
1907 * sysdeps/generic/memcopy.h (reg_char): Delete.
1908 * debug/strcat_chk.c: Use char, not reg_char.
1909 * debug/strcpy_chk.c: Likewise.
1910 * debug/strncat_chk.c: Likewise.
1911 * debug/strncpy_chk.c: Likewise.
1912 * string/memchr.c: Likewise.
1913 * string/memrchr.c: Likewise.
1914 * string/rawmemchr.c: Likewise.
1915 * string/strcat.c: Likewise.
1916 * string/strchr.c: Likewise.
1917 * string/strchrnul.c: Likewise.
1918 * string/strcmp.c: Likewise.
1919 * string/strcpy.c: Likewise.
1920 * string/strncat.c: Likewise.
1921 * string/strncmp.c: Likewise.
1922 * string/strncpy.c: Likewise.
1923
8ff41c46
WS
19242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1925
1926 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1927 __builtin_memcopy is called when src and dest ranges are known to not
1928 overlap.
1929
6b652f46
WS
19302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1933 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1934 fwd_align_merge macro call.
1935 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1936 bwd_align_merge macro call.
1937 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1938
b282631e
WS
19392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1940
1941 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1942 bwd_align_merge macros.
1943 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1944 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1945 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1946
95aa737c
DM
19472012-04-18 David S. Miller <davem@davemloft.net>
1948
1949 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1950
7a99a614
AJ
19512012-04-18 Andreas Jaeger <aj@suse.de>
1952
1953 [BZ# 6794]
1954 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1955 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1956 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1957
1958 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1959 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1960 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1961
1962 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1963 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1964 Adjust for changed ldbl-128 files.
1965
1966 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1967 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1968 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1969
e5270c23
DM
19702012-04-17 David S. Miller <davem@davemloft.net>
1971
1972 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1973
fb5e92c9
AS
19742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1975
1976 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1977 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1978 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1979 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1980 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1981 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1982
76da7265
AZ
19832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984
1985 [BZ #6794]
1986 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1987 * math/libm-test.inc: Add ilogb errno and exception tests.
1988 * math/w_ilogb.c: New file: ilogb wrapper.
1989 * math/w_ilogbf.c: New file: ilogbf wrapper.
1990 * math/w_ilogbl.c: New file: ilogbl wrapper.
1991 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1992 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1993 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1994 exception being thrown with 0.0 as argument.
1995 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1996 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1997 exception being thrown with 0.0 as argument.
1998 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1999 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2000 exception being thrown with 0.0 as argument.
2001 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2002 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2003 exception being thrown with 0.0 as argument.
2004 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2005 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2006 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2007 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2008 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2009 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2010 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2011 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2012 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2013
0396e69d
PB
20142012-04-17 Petr Baudis <pasky@ucw.cz>
2015
2016 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2017 with altivec.
2018
750b5926
MP
20192012-04-16 Marek Polacek <polacek@redhat.com>
2020
2021 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2022
751728a1
MP
20232012-04-16 Marek Polacek <polacek@redhat.com>
2024
2025 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2026 operands of fdivp instruction.
2027
34a27407
L
20282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2031 * elf/tst-auditmod3b.c: Likewise.
2032 * elf/tst-auditmod4b.c: Likewise.
2033 * elf/tst-auditmod5b.c: Likewise.
2034 * elf/tst-auditmod6b.c: Likewise.
2035 * elf/tst-auditmod6c.c: Likewise.
2036 * elf/tst-auditmod7b.c: Likewise.
2037 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2038 * sysdeps/x86_64/preconfigure.in: Likewise.
2039 * sysdeps/x86_64/preconfigure: Regenerated.
2040
7e73e17d
L
20412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2042
2043 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2044 __ILP32__.
2045
c7a6ab72
AB
20462012-04-13 Antoine Balestrat <merkil33@gmail.com>
2047
2048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2049 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2050
a9e8e0e0
CL
20512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2052
2053 [BZ #13973]
2054 * locale/iso-639.def: Fix gl language name. Spotted by
2055 Yaron Shahrabani.
2056
ec98af7d
RM
20572012-04-12 Roland McGrath <roland@hack.frob.com>
2058
2059 [BZ #2074]
2060 * libio/libio.h (__io_write_fn): Update comment.
2061
247c3ede
PB
20622012-04-12 Petr Baudis <pasky@ucw.cz>
2063
2064 [BZ #2074]
2065 * stdio.texi (Hook Functions): The user provided writer function
2066 is not allowed to return -1.
2067
55939d6d
DM
20682012-04-11 David S. Miller <davem@davemloft.net>
2069
2070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2071
90020f5a
MF
20722012-04-11 Mike Frysinger <vapier@gentoo.org>
2073
2074 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2075 Add a leading slash to rtkaio.
2076
288f9098
JM
20772012-04-11 Jim Meyering <meyering@redhat.com>
2078
90020f5a
MF
2079 [BZ #11959]
2080 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2081 It is not necessarily an error to ignore fwrite's return
2082 value. One can reliably use ferror to test for errors after
2083 the fact.
288f9098 2084
4be2b570
L
20852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2086
2087 * bits/types.h (__snseconds_t): New type.
2088 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2089
2090 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2092 (__SNSECONDS_T_TYPE): Likewise.
2093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2094 (__SNSECONDS_T_TYPE): Likewise.
2095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2096 (__SNSECONDS_T_TYPE): Likewise.
2097
288f9098 20982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2099
2100 [BZ #2636]
2101 * manual/time.texi (Processor Time): Return type of times is
2102 elapsed real time since an arbitrary point in the past.
2103 (CPU Time): Move CLK_TCK from here...
2104 (Processor Time): ...to here. Correct description.
2105 * manual/conf.texi (Constants for Sysconf): Correct description of
2106 _SC_CLK_TCK.
2107
d7dd4413
DM
21082012-04-10 David S. Miller <davem@davemloft.net>
2109
2110 [BZ #13967]
2111 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2112 where the is a gap between DT_REL(A) and DT_JMPREL.
2113
b46068fc
L
21142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2117 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2118 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2119
73d65cc3
SP
21202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2123 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2124 (dl_main): Handle --inhibit-cache.
2125 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2126 _dl_inhibit_cache.
2127 * elf/dl-load.c (_dl_map_object): Use it.
2128 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2129
bcc8d661
JM
21302012-04-09 Joseph Myers <joseph@codesourcery.com>
2131
8f9a2fae
JM
2132 [BZ #13872]
2133 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2134 (__ieee754_powl): Saturate large exponents rather than testing for
2135 overflow of y*log2(x).
2136 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2137 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2138 exceptions.
2139
bcc8d661
JM
2140 [BZ #11521]
2141 * math/s_ctan.c: Include <float.h>.
2142 (__ctan): Avoid internal overflow or cancellation in calculating
2143 denominator.
2144 * math/s_ctanf.c: Likewise.
2145 * math/s_ctanl.c: Likewise.
2146 * math/s_ctanh.c: Likewise.
2147 * math/s_ctanhf.c: Likewise.
2148 * math/s_ctanhl.c: Likewise.
2149 * math/libm-test.inc (ctan_test): Add more tests.
2150 (ctanh_test): Likewise.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2153
823fbbb4
AJ
21542012-04-09 Andreas Jaeger <aj@suse.de>
2155
03879793
AJ
2156 [BZ #6894]
2157 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2158 is an optional BSD extension.
2159
823fbbb4
AJ
2160 [BZ #10254]
2161 * manual/stdio.texi (Opening Streams): Document additional fopen
2162 parameters.
2163
8de131cb
RM
21642012-04-09 Roland McGrath <roland@hack.frob.com>
2165
2166 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2167 %eax without telling the compiler.
2168
c0ed9d7d
CD
21692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2170
2171 [BZ # 13963]
2172 * manual/install.texi: Use sourceware.org.
2173
c483f6b4
JM
21742012-04-09 Joseph Myers <joseph@codesourcery.com>
2175
d7dd9453
JM
2176 [BZ #13873]
2177 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2178 (__ieee754_pow): Generate overflow and underflow using huge*huge
2179 and tiny*tiny rather than just returning constant infinity or zero
2180 for large exponents.
2181 * math/libm-test.inc (pow_test): Require overflow exceptions for
2182 applicable cases of large exponents.
2183
c483f6b4
JM
2184 [BZ #706]
2185 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2186 (__ieee754_pow): Use iterative multiplication algorithm only for
2187 integer exponents with absolute value below 1024. Check for odd
2188 integer exponents when using algorithm for real exponents.
2189 * math/libm-test.inc (pow_test): Add more tests.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2191
d2de7579
JM
21922012-04-08 Joseph Myers <joseph@codesourcery.com>
2193
2194 [BZ #13705]
2195 * math/libm-test.inc (exp_test): Do not allow overflow exception
2196 on underflow test.
2197
f77f1232
AJ
21982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2199
2200 [BZ #13705]
2201 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2202 instead of __kernel_standard_f.
2203
3884932b
MF
22042012-04-08 Mike Frysinger <vapier@gentoo.org>
2205
2206 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2207 * sysdeps/x86_64/memset_chk.S: Likewise.
2208
54472e9c
AJ
22092012-04-08 Andreas Jaeger <aj@suse.de>
2210
6ab0fbfc
AJ
2211 [BZ #10153]
2212 * manual/startup.texi (Environment Access): Describe return value
2213 for putenv and setenv.
2214
61efba8c
AJ
2215 [BZ #6895]
2216 * manual/filesys.texi (Directory Entries): Add description for
2217 DT_LNK.
2218
95c3f29a
AJ
2219 [BZ #6890]
2220 * manual/filesys.texi (Directory Entries): Clarify that it's file
2221 system not operating system in the description of DT_UNKNOWN.
2222
54472e9c
AJ
2223 [BZ #6578]
2224 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2225
624254b1
SC
22262012-04-08 Stephen Compall <s11@member.fsf.org>
2227
2228 [BZ #6649]
2229 * manual/llio.texi (Opening and Closing Files): Add cross
2230 reference to explain mode argument.
2231
1e4920e0
MF
22322012-04-07 Mike Frysinger <vapier@gentoo.org>
2233
2234 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2235 * sysdeps/x86_64/memset_chk.S: Likewise.
2236
5ed848f3
DM
22372012-04-07 David S. Miller <davem@davemloft.net>
2238
2239 * elf/elf.h (R_SPARC_WDISP10): Define.
2240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2241 R_SPARC_SIZE32.
2242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2243 R_SPARC_SIZE64 and R_SPARC_H34.
2244
96154cd8
CD
22452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2246
2247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2248 conditions and remove no longer applicable assertion.
2249
9904dc47
L
22502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * bits/byteswap.h: Include <features.h>.
2253 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2254 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2255
f8887d0a
L
22562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 * bits/byteswap.h (__bswap_16): Removed.
2259 Include <bits/byteswap-16.h> to get __bswap_16.
2260 * sysdeps/i386/bits/byteswap.h: Likewise.
2261 * sysdeps/s390/bits/byteswap.h: Likewise.
2262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2263 * bits/byteswap-16.h: New file.
2264 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2265 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2266 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2267 * string/Makefile (headers): Add bits/byteswap-16.h.
2268
62470f60
PP
22692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2270
2271 [BZ #13895]
2272 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2273 extra indirection.
2274 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2275 * nss/tst-nss-static.c: New.
2276
4dad7bab
RM
22772012-04-06 Robert Millan <rmh@gnu.org>
2278
2279 [BZ #6486]
2280 * manual/llio.texi (File Position Primitive): lseek
2281 refers to WHENCE when it really means OFFSET.
2282
e9142a17
AJ
22832012-04-06 Andreas Jaeger <aj@suse.de>
2284
2c040eff
AJ
2285 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2286 strncmp declarations.
2287
e9142a17
AJ
2288 * abilist/libc.abilist: Add __poll and __ppoll.
2289
ff9f1c5f
DM
22902012-04-05 David S. Miller <davem@davemloft.net>
2291
dcd2ae90
DM
2292 * scripts/check-local-headers.sh: Accept a host triplet in the
2293 path matched by the exclude regexp.
2294
993eb054
DM
2295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2296 definition.
2297 * sysdeps/powerpc/powerpc32/dl-machine.h
2298 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2299 * sysdeps/s390/s390-32/dl-machine.h
2300 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2301 * sysdeps/sparc/sparc32/dl-machine.h
2302 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2303 * sysdeps/sparc/sparc64/dl-machine.h
2304 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2305
ff9f1c5f
DM
2306 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2307 lazy binding.
48e2e132 2308 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2309 undefined symbol errors.
2310
48e2e132 2311 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2312 DT_NEEDED entries.
2313
e80d6f94
MM
23142012-04-05 Michael Matz <matz@suse.de>
2315
2316 [BZ #13592]
2317 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2318
349fa79f
AJ
23192012-04-05 Andreas Jaeger <aj@suse.de>
2320
2321 [BZ #13908]
2322 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2323 comment.
2324
f402708f
KK
23252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2326
2327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2328 which ROUND is no valid rounding mode.
2329
2ecccfc9
KK
23302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2331
2332 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2333 read again.
2334 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2335
8a53f50f
KK
23362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2337
2338 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2339 an exception using FPU order intentionally.
2340
23412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2342
2343 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2344 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2345 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2346 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2347
d653abb7
SJ
23482012-04-05 Simon Josefsson <simon@josefsson.org>
2349
2350 [BZ #12340]
2351 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2352 EINVAL when BUFLEN is too smal.
2353
c3b1bf7d
TS
23542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2355
2356 [BZ #13553]
2357 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2358 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2359
b1aa60f3
AJ
23602012-04-03 Andreas Jaeger <aj@suse.de>
2361
c3b1bf7d 2362 [BZ #13938]
67f60a26
AJ
2363 * manual/setjmp.texi (System V contexts): Fix sentence.
2364
b1aa60f3
AJ
2365 [BZ #13926]
2366 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2367 New macro for this case.
2368 [!__GNUC__] (__bswap_64): New inline function for this case.
2369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2370 * bits/byteswap.h: Likewise.
2371 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2372 ull, guard with __GLIBC_HAVE_LONG_LONG.
2373
2374 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2375 __GLIBC_HAVE_LONG_LONG.
2376
2377 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2378 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2379
39c59c35
TMQMF
23802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2381
2382 [BZ #13691]
2383 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2384 inptr and inend, rather than using last_ch.
2385
135ffda8
DM
23862012-04-02 David S. Miller <davem@davemloft.net>
2387
2388 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2389 * stdio-common/printf-parse.h (read_int): Change return type to
2390 'int', return -1 on INT_MAX overflow.
2391 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2392 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2393 overflows INT_MAX. Check for overflow of in-format-string precision
2394 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2395 SIZE_MAX not INT_MAX for integer overflow test.
2396 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2397 skip the construct in the format string but do not record anything.
2398 * stdio-common/bug22.c: Adjust to test both width/prevision
2399 INT_MAX overflow as well as total length INT_MAX overflow. Check
2400 explicitly for proper errno values.
2401
228c019e
TS
24022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2403
302cadd3
TS
2404 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2405 CHAR_MAX.
2406 * string/test-strcmp.c [! WIDE]: Likewise.
2407 * time/tst-mktime2.c: Likewise for INT_MAX.
2408 * string/test-string.h: #include <sys/param.h> for MIN.
2409
228c019e
TS
2410 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2411 * sysdeps/i386/init-first.c (init): Likewise.
2412 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2413 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2414 * sysdeps/sh/init-first.c (init): Likewise.
2415
cfa633f5
UD
24162012-04-01 Ulrich Drepper <drepper@gmail.com>
2417
2418 * po/ru.po: Update from translation team.
d1635ef8 2419 * po/vi.po: Likewise.
cfa633f5 2420
6cd0a5ea
SP
24212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2422
2423 * resolv/nss_dns/dns-host.c: Merge copyright years.
2424
4b43400f
LD
24252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2426
2427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2428 Optimize memcpy with prefetch if
2429 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2430 src, dst pointers have unequal 16 byte alignments.
2431
48c41d04
SP
24322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2433
2434 [BZ #13928]
2435 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2436 from a CNAME entry and return the minimum ttl for the query.
2437 (gaih_getanswer_slice): Likewise.
2438
b8dc394d
JL
24392012-03-30 Jeff Law <law@redhat.com>
2440
2441 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2442 due to long keys.
2443 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2444 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2445
2f5a5ed0
JL
2446 * resolv/nss_dns/dns-host.c: Update copyright year.
2447
1d39e359
UD
24482012-03-30 Ulrich Drepper <drepper@gmail.com>
2449
c030f70c 2450 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2451 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2452
1d39e359
UD
2453 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2454 comments for sendmmsg.
2455
24562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2457
2458 [BZ #13691]
2459 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2460 with only 1 character between 0x0041 and 0x01b0.
2461 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2462 * wcsmbs/tst-mbsnrtowcs.c: New file.
2463
20fde227
DM
24642012-03-29 David S. Miller <davem@davemloft.net>
2465
2466 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2467 small copies by hand.
2468
984a4237
JL
24692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2470
2471 [BZ #13761]
2472 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2473 _nss_compat_initgroups_dyn): Fall back to malloc/free
2474 for large group memberships.
2475
18c9d62b
DM
24762012-03-28 David S. Miller <davem@davemloft.net>
2477
88d85d4f
DM
2478 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2479 that branches into memcpy.
2480 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2483 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2485 bits.
2486 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2487 implementation too.
2488 * sysdeps/sparc/mempcpy.S: New file.
2489
e5aa83e1
DM
2490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2491 the IFUNC routine in the libc case.
2492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2493
88570753
DM
2494 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2495 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2496 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2497 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2498 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2499 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2500 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2501 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2502
249d7567
DM
2503 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2504 loop to 256 bytes instead of 64 bytes and fix test signedness.
2505
18c9d62b
DM
2506 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2507 * sysdeps/sparc/sparc32/Makefile: rather than here...
2508 * sysdeps/sparc/sparc64/Makefile: and here.
2509
05f3d1f6
UD
25102012-03-28 Ulrich Drepper <drepper@gmail.com>
2511
2512 * malloc/mallocbug.c: Avoid warnings about unused variables.
2513
86ae07a8
JL
25142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2515
2516 [BZ #13760]
2517 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2518 in the right place. Discard and retry query if response is
2519 larger than input buffer size.
2520
41bf21a1
JM
25212012-03-28 Joseph Myers <joseph@codesourcery.com>
2522
d6270972
JM
2523 [BZ #369]
2524 [BZ #2678]
2525 [BZ #3866]
2526 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2527 x for large integer exponent.
2528 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2529 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2530 sign of result as needed afterwards.
2531 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2532 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2533 result for underflowing pow the same as for overflow.
2534 (__kernel_standard_l): Handle powl overflow and underflow here
2535 rather than calling __kernel_standard.
2536 * math/libm-test.inc (pow_test): Add more tests.
2537
414fca03 2538 [BZ #3868]
41bf21a1
JM
2539 [BZ #13879]
2540 [BZ #13910]
2541 [BZ #13911]
2542 [BZ #13912]
2543 [BZ #13913]
2544 [BZ #13915]
2545 [BZ #13916]
2546 [BZ #13917]
2547 [BZ #13918]
2548 [BZ #13919]
2549 [BZ #13920]
2550 [BZ #13921]
2551 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2552 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2553 (__kernel_standard_l): New function.
2554 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2555 __kernel_standard.
2556 * math/w_acosl.c (__acosl): Likewise.
2557 * math/w_asinl.c (__asinl): Likewise.
2558 * math/w_atan2l.c (__atan2l): Likewise.
2559 * math/w_atanhl.c (__atanhl): Likewise.
2560 * math/w_coshl.c (__coshl): Likewise.
2561 * math/w_exp10l.c (__exp10l): Likewise.
2562 * math/w_exp2l.c (__exp2l): Likewise.
2563 * math/w_fmodl.c (__fmodl): Likewise.
2564 * math/w_hypotl.c (__hypotl): Likewise.
2565 * math/w_j0l.c (__j0l, __y0l): Likewise.
2566 * math/w_j1l.c (__j1l, __y1l): Likewise.
2567 * math/w_jnl.c (__jnl, __ynl): Likewise.
2568 * math/w_lgammal.c (__lgammal): Likewise.
2569 * math/w_log10l.c (__log10l): Likewise.
2570 * math/w_log2l.c (__log2l): Likewise.
2571 * math/w_logl.c (__logl): Likewise.
2572 * math/w_powl.c (__powl): Likewise.
2573 * math/w_remainderl.c (__remainderl): Likewise.
2574 * math/w_scalbl.c (sysv_scalbl): Likewise.
2575 * math/w_sinhl.c (__sinhl): Likewise.
2576 * math/w_sqrtl.c (__sqrtl): Likewise.
2577 * math/w_tgammal.c (__tgammal): Likewise.
2578 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2579 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2580 * math/libm-test.inc (acos_test): Add more tests.
2581 (acosh_test): Likewise.
2582 (asin_test): Likewise.
2583 (atanh_test): Likewise.
2584 (exp_test): Likewise.
2585 (exp10_test): Likewise.
2586 (exp2_test): Likewise.
2587 (expm1_test): Likewise.
2588 (lgamma_test): Likewise.
2589 (log_test): Likewise.
2590 (log10_test): Likewise.
2591 (log1p_test): Likewise.
2592 (log2_test): Likewise.
2593 (pow_test): Do not allow some spurious overflow exceptions.
2594 (sqrt_test): Add more tests.
2595 (tgamma_test): Likewise.
2596 (y0_test): Likewise.
2597 (y1_test): Likewise.
2598 (yn_test): Likewise.
2599
dd62fda6
AB
26002012-03-27 Anton Blanchard <anton@samba.org>
2601
2602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2603 MAP_HUGETLB.
2604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2607
1e3cdfda
AJ
26082012-03-27 David S. Miller <davem@davemloft.net>
2609
b855ab85
DM
2610 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2611
1e3cdfda
AJ
2612 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2613 have-as-vis3 check.
2614
26152012-03-27 Andreas Jaeger <aj@suse.de>
2616
2617 * sysdeps/x86_64/elf/configure.in: Moved to ...
2618 * sysdeps/x86_64/configure.in: ... here.
2619 * sysdeps/x86_64/elf/start.S: Moved to ...
2620 * sysdeps/x86_64/start.S: ... here.
2621 * sysdeps/x86_64/elf/configure: Delete.
2622
2623 * sysdeps/x86_64/configure.in: Merge contents from
2624 sysdeps/i386/configure.in (without i686 check).
2625
2626 * sysdeps/i386/elf/Versions: Merge into ...
2627 * sysdeps/i386/Versions: ... this.
2628 * sysdeps/i386/elf/Versions: Delete file.
2629 * sysdeps/i386/elf/start.S: Moved to ...
2630 * sysdeps/i386/start.S: ...here.
2631 * sysdeps/i386/elf/configure.in: Merge into...
2632 * sysdeps/i386/configure.in: ...here.
2633 * sysdeps/i386/elf/configure.in: Delete file.
2634 * sysdeps/i386/elf/configure: Delete file.
2635
2636 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2637 * debug/backtracesyms.c: ... here.
2638 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2639 * debug/backtracesymsfd.c: ... here.
2640 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2641 * sysdeps/generic/ifunc-sel.h: ... here.
2642
2643 * sysdeps/unix/i386/start.c: Delete file.
2644 * sysdeps/unix/sparc/start.c: Delete file.
2645 * sysdeps/unix/start.c: Delete file.
2646
2647 * sysdeps/sh/elf/configure.in: Moved to ...
2648 * sysdeps/sh/configure.in: ... here.
2649 * sysdeps/sh/elf/start.S: Moved to ...
2650 * sysdeps/sh/start.S: ... here.
2651 * sysdeps/sh/elf/configure: Delete file.
2652
2653 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2654 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2655 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2656 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2657 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2658 * sysdeps/powerpc/powerpc64/start.S: here.
2659 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2660 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2661 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2662 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2663 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2664
2665 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2666 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2667 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2668 * sysdeps/powerpc/powerpc32/start.S: ... here.
2669 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2670 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2671 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2672
2673 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2674 * sysdeps/powerpc/ifunc-sel.h: ... here.
2675 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2676 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2677
2678 * sysdeps/sparc/elf/configure.in: Moved to ...
2679 * sysdeps/sparc/configure.in: ... here.
2680 * sysdeps/sparc/elf/configure: Delete file.
2681 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2682 * sysdeps/sparc/sparc32/start.S: ... here.
2683 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2684 * sysdeps/sparc/sparc64/start.S: ... here.
2685 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2686 * sysdeps/sparc/sparc32/Makefile: ... this.
2687 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2688 * sysdeps/sparc/sparc64/Makefile: ... this.
2689
2690 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2691 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2692 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2693 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2694 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2695 * sysdeps/s390/s390-32/setjmp.S: ... here.
2696 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2697 * sysdeps/s390/s390-32/configure.in: ... here.
2698 * sysdeps/s390/s390-32/elf/configure: Delete file.
2699 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2700 * sysdeps/s390/s390-32/start.S: ... here.
2701
2702 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2703 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2704 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2705 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2706 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2707 * sysdeps/s390/s390-64/setjmp.S: ... here.
2708 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2709 * sysdeps/s390/s390-64/configure.in: ... here
2710 * sysdeps/s390/s390-64/elf/configure: Delete file.
2711 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2712 * sysdeps/s390/s390-64/start.S: ... here.
2713 * sysdeps/s390/s390-64/elf/configure: Delete.
2714
2715 * configure.in: Remove support for elf directories in sysdeps.
2716
2717 * configure: Regenerated.
2718 * sysdeps/i386/configure: Regenerated.
2719 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2720 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2721 * sysdeps/s390/s390-32/configure: Regenerated.
2722 * sysdeps/s390/s390-64/configure: Regenerated.
2723 * sysdeps/sh/configure: Regenerated.
2724 * sysdeps/sparc/configure: Regenerated.
2725 * sysdeps/x86_64/configure: Regenerated.
2726
a3f61311
AS
27272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2728
c876e002
AS
2729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2730
a3f61311
AS
2731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2732 denormal result into account.
2733
ac4c54f0
RM
27342012-03-25 Roland McGrath <roland@hack.frob.com>
2735
2736 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2737 Reported by Allan McRae <allan@archlinux.org>.
2738
6a9b9c02
JL
27392012-03-23 Jeff Law <law@redhat.com>
2740
2741 * nss/getnssent.c (__nss_getent): Fix typo.
2742
4c42a0c1
DM
27432012-03-23 David S. Miller <davem@davemloft.net>
2744
2745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2746
1532c7ac
L
27472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2750 to pad to uint64_t for each field.
2751 (dl_tls_index): Replace unsigned long with uint64_t.
2752
3ff42526
PP
27532012-03-23 Daniel Jacobowitz <dmj@google.com>
2754 Paul Pluzhnikov <ppluzhnikov@google.com>
2755
2756 [BZ #6528]
2757 * grp/Makefile (otherlibs): Don't set it.
2758 * inet/Makefile (otherlibs): Likewise.
2759 * login/Makefile (otherlibs): Likewise.
2760 * nscd/Makefile (otherlibs): Likewise.
2761 * posix/Makefile (otherlibs): Likewise.
2762 * pwd/Makefile (otherlibs): Likewise.
2763 * rt/Makefile (otherlibs): Likewise.
2764 * sunrpc/Makefile (otherlibs): Likewise.
2765 * nss/Makefile (otherlibs): Likewise.
2766 Add libnss_files to routines and static-only-routines.
2767 ($(objpfx)getent): Remove rule.
2768 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2769 static-only-routines.
2770
7c69cd14
JM
27712012-03-22 Joseph Myers <joseph@codesourcery.com>
2772
2773 [BZ #13892]
2774 * math/s_cexp.c: Include <float.h>.
2775 (__cexp): Handle exp result overflowing not necessarily
2776 overflowing both real and imaginary parts of result.
2777 * math/s_cexpf.c: Likewise.
2778 * math/s_cexpl.c: Likewise.
2779 * math/libm-test.inc (cexp_test): Add more tests.
2780 * sysdeps/i386/fpu/libm-test-ulps: Update.
2781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2782
81b035fe
L
27832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * include/link.h (ELFW): New macro.
2786 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2787 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2788
1da7940c
L
27892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2790
2791 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2792 with uint64_t.
2793
b749dbb9
L
27942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2795
2796 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2797 declaration.
2798 (struct La_x32_retval): Likewise.
2799
2ff87f3f
L
28002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * sysdeps/x86_64/preconfigure.in: New file.
2803 * sysdeps/x86_64/preconfigure: New generated file.
2804
c0df8e69
JM
28052012-03-22 Joseph Myers <joseph@codesourcery.com>
2806
48e44791
JM
2807 [BZ #13824]
2808 * math/e_exp2l.c: Include <float.h>.
2809 (__ieee754_exp2l): Handle overflow and underflow cases
2810 separately. Only pass fractional part of argument to
2811 __ieee754_expl.
2812 * math/libm-test.inc (exp2_test): Add more tests.
2813
c0df8e69
JM
2814 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2815 negating x to take absolute value.
2816 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2817 Likewise.
2818 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2820 Likewise.
2821 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2822 computing low part if x was negated.
2823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2824
c8e43ba7
L
28252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2828 la_x32_gnu_pltexit.
2829 (pltexit): Cast int_retval to ptrdiff_t.
2830 * elf/tst-auditmod3b.c: Likewise.
2831 * elf/tst-auditmod4b.c: Likewise.
2832 * elf/tst-auditmod5b.c: Likewise.
2833 * elf/tst-auditmod6b.c: Likewise.
2834 * elf/tst-auditmod6c.c: Likewise.
2835 * elf/tst-auditmod7b.c: Likewise.
2836
2837 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2838 and x32_gnu_pltexit.
2839
2840 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2841 __ELF_NATIVE_CLASS.
2842 (La_x32_regs): New macro.
2843 (La_x32_retval): Likewise.
2844 (la_x32_gnu_pltenter): New function prototype.
2845 (la_x32_gnu_pltexit): Likewise.
2846
7998fa78
AS
28472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2848
dcb33988
AS
2849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2850 exponent.
2851
233fc563
AS
2852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2853
7998fa78
AS
2854 * configure.in (libc_cv_cc_nofma): Check for option to disable
2855 generation of FMA instructions.
2856 * configure: Regenerate.
2857 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2858 * sysdeps/ieee754/dbl-64/Makefile: New file.
2859 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2860 Remove brandred-fma4.
2861 (CFLAGS-brandred-fma4.c): Remove.
2862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2863 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2864 define.
2865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2866 define.
2867
8e95c99a
L
28682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2869
2870 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2871 LLONG_MAX != LONG_MAX.
2872 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2873 (_fitoa_word): Likewise.
2874 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2875 LLONG_MAX != LONG_MAX.
2876 * stdio-common/_itowa.h: Include <_itoa.h>.
2877 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2878 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2879 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2880 only if not defined.
2881 (_ITOA_WORD_TYPE): Likewise.
2882 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2883 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2884
6f4db457
DM
28852012-03-21 David S. Miller <davem@davemloft.net>
2886
2887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2888
7785fe5a
L
28892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2890
2891 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2892 of x86_64 when setting libc_cv_slibdir, libdir and
2893 libc_cv_localedir.
2894 * sysdeps/unix/sysv/linux/configure: Regenerated.
2895
4535cd55
JM
28962012-03-21 Joseph Myers <joseph@codesourcery.com>
2897
2898 * manual/lang.texi (Old Varargs): Remove section.
2899 (How Variadic): Update menu.
2900 (va_start): Do not mention varargs.h.
2901
17228132
TS
29022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2903 Joseph Myers <joseph@codesourcery.com>
2904
2905 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2906 link test.
2907 * configure: Regenerated.
2908
8149f976
TS
29092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2910
05f3d1f6
UD
2911 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2912 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2913 conformtest.pl
8149f976 2914
1a4ac776
JM
29152012-03-21 Joseph Myers <joseph@codesourcery.com>
2916
be22ce65
JM
2917 * NOTES: Remove.
2918 * Makefile (files-for-dist): Remove NOTES.
2919 (NOTES): Remove rule.
2920 * README: Don't refer to NOTES.
2921 * manual/creature.texi: Don't include macros.texi.
2922 * manual/intro.texi (creature.texi): Remove comment referring to
2923 NOTES.
2924
40b601fb
JM
2925 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2926 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2927 * configure: Regenerated.
2928 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2929 LIBC_TRY_CC_OPTION.
2930 (libc_cv_as_i686): Likewise.
2931 (libc_cv_cc_avx): Likewise.
2932 (libc_cv_cc_sse2avx): Likewise.
2933 (libc_cv_cc_fma4): Likewise.
2934 (libc_cv_cc_novzeroupper): Likewise.
2935 * sysdeps/i386/configure: Regenerated.
2936
1a4ac776
JM
2937 [BZ #13883]
2938 * sysdeps/i386/fpu/s_cexp.S: Remove.
2939 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2940 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2941 * math/libm-test.inc (cexp_test): Add more tests.
2942 * sysdeps/i386/fpu/libm-test-ulps: Update.
2943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2944
a458e7fe
AM
29452012-03-21 Allan McRae <allan@archlinux.org>
2946
2947 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2948
0cb7efc5
JM
29492012-03-21 Joseph Myers <joseph@codesourcery.com>
2950
2951 [BZ #13871]
2952 * math/w_exp2.c: Do not include <float.h>.
2953 (o_threshold, u_threshold): Remove.
2954 (__exp2): Calculate result before checking finiteness and calling
2955 __kernel_standard.
2956 * math/w_exp2f.c: Likewise.
2957 * math/w_exp2l.c: Likewise.
2958 * math/libm-test.inc (exp2_test): Require overflow exception for
2959 1e6 input.
2460d3aa
JM
2960
2961 [BZ #3866]
2962 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2963 range of signed 64-bit integers before using fistpll. Remove
2964 checks for whether integers fit in mantissa bits.
2965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2966 the range of signed 32-bit integers before using fistpl. Remove
2967 checks for whether integers fit in mantissa bits.
2968 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2969 (__ieee754_powl): Test for y outside the range of signed 64-bit
2970 integers before using fistpll. Reduce 64-bit values to 63-bit
2971 ones as needed.
2972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2973 divide-by-zero is raised for zero to large negative powers.
2974 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2975 (__ieee754_powl): Test for y outside the range of signed 64-bit
2976 integers before using fistpll. Reduce 64-bit values to 63-bit
2977 ones as needed.
2978 * math/libm-test.inc (pow_test): Add more tests.
2979
eb96ffb0
L
29802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2983 <stdio-common/_itoa.h>.
2984 * debug/segfault.c: Likewise.
2985 * elf/dl-cache.c: Likewise.
2986 * elf/dl-minimal.c: Likewise.
2987 * elf/dl-misc.c: Likewise.
2988 * elf/dl-sysdep.c: Likewise.
2989 * elf/dl-version.c: Likewise.
2990 * elf/rtld.c: Likewise.
2991 * hurd/hurdsock.c: Likewise.
2992 * hurd/lookup-retry.c: Likewise.
2993 * malloc/malloc.c: Likewise.
2994 * malloc/mtrace.c: Likewise.
2995 * nscd/nscd_getgr_r.c: Likewise.
2996 * nscd/nscd_getpw_r.c: Likewise.
2997 * nscd/nscd_getserv_r.c: Likewise.
2998 * posix/getopt_init.c: Likewise.
2999 * posix/wordexp.c: Likewise.
3000 * stdio-common/_itoa.c: Likewise.
3001 * stdio-common/printf_fphex.c: Likewise.
3002 * stdio-common/vfprintf.c: Likewise.
3003 * string/_strerror.c: Likewise.
3004 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3005 * sysdeps/i386/i686/hp-timing.h: Likewise.
3006 * sysdeps/mach/_strerror.c: Likewise.
3007 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3008 * sysdeps/mach/hurd/sethostid.c: Likewise.
3009 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3010 * sysdeps/mach/xpg-strerror.c: Likewise.
3011 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3012 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3013 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3014 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3015 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3016 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3017 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3018 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3019 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3020 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3021 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3022 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3023 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3024 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3025 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3026 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3029 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3030 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3031 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3032
3033 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3034
3035 * stdio-common/_itoa.h: Moved to ...
3036 * sysdeps/generic/_itoa.h: Here.
3037
3038 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3039
3040 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3041 instead of "_itoa.h" and "_itowa.h".
3042 * stdio-common/vfprintf.: Likewise.
3043
d1af992d
L
30442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3047 <bits/wordsize.h>.
3048 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3049 (__signbit): Likwise.
3050 (llrintf): Likwise.
3051 (llrint): Likwise.
3052
114883e0
L
30532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3056 __WORDSIZE != 64.
3057
c135cc1b
JM
30582012-03-20 Joseph Myers <joseph@codesourcery.com>
3059
3060 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3061 OVERFLOW_EXCEPTION_OK.
3062 * math/libm-test.inc ("Philosophy"): Update comment about
3063 exception testing.
3064 (OVERFLOW_EXCEPTION): Define.
3065 (OVERFLOW_EXCEPTION_OK): Likewise.
3066 (INVALID_EXCEPTION_OK): Renumber.
3067 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3068 (IGNORE_ZERO_INF_SIGN): Likewise.
3069 (test_exceptions): Handle FE_OVERFLOW.
3070 (exp10_test): Expect overflow exceptions.
3071 (exp2_test): Likewise.
3072 (expm1_test): Likewise.
3073 (nextafter_test): Likewise.
3074 (pow_test): Likewise.
3075 (scalbn_test): Likewise.
3076 (scalbln_test): Likewise.
3077
95443d88
L
30782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3079
3080 * sysdeps/x86_64/bits/atomic.h
3081 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3082 64bit integer.
3083 (atomic_exchange_acq): Likewise.
3084 (__arch_exchange_and_add_body): Likewise.
3085 (__arch_add_body): Likewise.
3086 (atomic_add_negative): Likewise.
3087 (atomic_add_zero): Likewise.
3088
490df6c4
L
30892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3090
c2722551 3091 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3092 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3093
5e52b189
L
30942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3097 Check __x86_64__ instead of __WORDSIZE.
3098
a9879d4c
L
30992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3102
5df98260
DM
31032012-03-19 David S. Miller <davem@davemloft.net>
3104
e1497744
DM
3105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3106
5df98260
DM
3107 * sysdeps/sparc/fpu/fenv_private.h: New file.
3108 * sysdeps/sparc/fpu/math_private.h: Use it.
3109 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3110 Remove.
3111 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3112 (libc_feholdexcept_setroundl): Remove.
3113 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3114 Remove.
3115 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3116 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3117
b4c35121
L
31182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3121 int64_t instead of long int.
3122 (INSERT_WORDS64): Likwise.
3123
56965fd7
L
31242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3127 _Unwind_GetCFA return to _Unwind_Ptr first.
3128
83d1aec8
JM
31292012-03-19 Joseph Myers <joseph@codesourcery.com>
3130
1897ad44
JM
3131 [BZ #13629]
3132 * math/s_clog.c: Include <float.h>.
3133 (__clog): Scale large or subnormal inputs.
3134 * math/s_clogf.c: Likewise.
3135 * math/s_clogl.c: Likewise.
3136 * math/s_clog10.c: Include <float.h>.
3137 (M_LOG10_2): Define.
3138 (__clog10): Scale large or subnormal inputs.
3139 * math/s_clog10f.c: Likewise.
3140 * math/s_clog10l.c: Likewise.
3141 * math/libm-test.inc (clog_test): Add more tests.
3142 (clog10_test): Likewise.
3143 * sysdeps/i386/fpu/libm-test-ulps: Update.
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3145
7726d6a9
JM
3146 [BZ #11451]
3147 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3148 x and y.
3149 * math/libm-test.inc (atan2_test): Add another test.
3150
83d1aec8
JM
3151 * Makerules (common-objdir-compile): Remove.
3152 * sysdeps/unix/Makefile (config-generated): Do not add
3153 $(unix-generated) to variable.
3154 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3155 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3156 Remove rule.
3157 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3158 Likewise.
3159 [generic bits/local_lim.h] (before-compile): Do not append to
3160 variable.
3161 [generic bits/local_lim.h] (common-generated): Likewise.
3162 [generic sys/param.h] (before-compile): Do not append to variable.
3163 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3164 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3165 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3166 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3167 include.
3168 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3169 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3170 [generic sys/param.h] ($(addprefix
3171 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3172 [generic sys/param.h] (common-generated): Do not append to
3173 variable.
3174 [generic sys/param.h] (sysdep_headers): Likewise.
3175 [generic bits/errno.h] (before-compile): Do not append to
3176 variable.
3177 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3178 rule.
3179 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3180 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3181 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3182 [generic bits/errno.h] (common-generated): Do not append to
3183 variable.
3184 [generic bits/ioctls.h] (before-compile): Do not append to
3185 variable.
3186 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3187 rule.
3188 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3189 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3190 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3191 rule.
3192 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3193 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3194 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3195 [generic bits/ioctls.h] (common-generated): Do not append to
3196 variable.
3197 [generic sys/syscall.h] (syscall.h): Remove variable.
3198 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3199 rule.
3200 [generic sys/syscall.h] (before-compile): Do not append to
3201 variable.
3202 [generic sys/syscall.h] (common-generated): Likewise.
3203 * sysdeps/unix/errnos-tmpl.c: Remove file.
3204 * sysdeps/unix/errnos.awk: Likewise.
3205 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3206 * sysdeps/unix/ioctls.awk: Likewise.
3207 * sysdeps/unix/mk-local_lim.c: Likewise.
3208 * sysdeps/unix/snarf-ioctls: Likewise.
3209
4851a949
RH
32102012-03-19 Richard Henderson <rth@twiddle.net>
3211
bd37f2ee
RH
3212 * sysdeps/i386/fpu/fenv_private.h: New file.
3213 * sysdeps/i386/fpu/math_private.h: Use it.
3214 (math_opt_barrier, math_force_eval): Remove.
3215 (libc_feholdexcept_setround_53bit): Remove.
3216 (libc_feupdateenv_53bit): Remove.
3217 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3218 (math_opt_barrier, math_force_eval): Remove.
3219 (libc_feholdexcept): Remove.
3220 (libc_feholdexcept_setround): Remove.
3221 (libc_fetestexcept, libc_fesetenv): Remove.
3222 (libc_feupdateenv_test): Remove.
3223 (libc_feupdateenv, libc_feholdsetround): Remove.
3224 (libc_feresetround): Remove.
3225
d0adc922
RH
3226 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3227 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3228
0fe0f1f8
RH
3229 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3230 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3231 (libc_feupdateenv_testl): New.
3232 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3233 (libc_feupdateenv_testf): New.
3234 (libc_feupdateenv): Use libc_feupdateenv_test.
3235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3236 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3237
eb92c487
RH
3238 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3239 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3240 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3241 (libc_feresetround_noex): New.
3242 (libc_feresetround_noexf): New.
3243 (libc_feresetround_noexl): New.
3244 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3245 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3246 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3247 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3248 SET_RESTORE_ROUND.
3249 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3251 (__cos): Likewise.
3252 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3253 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3254 SET_RESTORE_ROUND_NOEX.
3255 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3256 SET_RESTORE_ROUND_NOEXF.
3257 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3258 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3259 (libc_feholdsetroundf): New.
3260 (libc_feresetround, libc_feresetroundf): New.
3261
7d2e8012
RH
3262 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3263 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3264 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3265
b4dabbb4
RH
3266 * sysdeps/generic/math_private.h: Include <fenv.h>.
3267 (default_libc_feholdexcept): New.
3268 (default_libc_feholdexcept_setround): New.
3269 (default_libc_fesetenv, default_libc_feupdateenv): New.
3270 (libc_feholdexcept): Only define if undefined.
3271 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3272 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3273 (libc_feholdexcept_setroundl): Likewise.
3274 (libc_feholdexcept_setround_53bit): Likewise.
3275 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3276 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3277 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3278 (libc_feupdateenv_53bit): Likewise.
3279 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3280 (libc_feholdexcept): Convert from macro to inline function.
3281 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3282 (libc_fesetenv, libc_feupdateenv): Likewise.
3283
4851a949
RH
3284 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3285 not previously defined.
3286 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3287 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3288 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3289 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3290 * sysdeps/ieee754/flt-32/math_private.h: New file.
3291 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3292 math_private.h below SET_FLOAT_WORD.
3293 (__isnan, __isinf_ns, __finite): Remove.
3294 (__isnanf, __isinf_nsf, __finitef): Remove.
3295
e79d442e
AS
32962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3297
3298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3299
90b80344
DM
33002012-03-17 David S. Miller <davem@davemloft.net>
3301
3302 [BZ #6471]
3303 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3304 for 2.16.
3305
edc21804
DM
33062012-03-16 David S. Miller <davem@davemloft.net>
3307
77e927af
DM
3308 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3309 warnings.
3310
374976dd
DM
3311 [BZ #6471]
3312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3313 properly.
3314 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3315 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3316 sysdep_routines when subdir is sysvipc.
3317 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3318 __getshmlba helper.
3319
edc21804
DM
3320 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3321
473c3ef3
L
33222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3323
3324 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3325 [__LP64__].
3326
eb0f39b6
L
33272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3330 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3331 (__lround): Renamed to ...
3332 (__llround): This. Replace long int with long long int.
3333 Define lround functions as aliases of llround functions.
3334 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3335
6b6cd74b
L
33362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3339 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3340 adresses to uintptr_t. Replace "long int" and "unsigned long
3341 int" with "greg_t" on va_arg.
3342
f1a77b01
L
33432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3344
3345 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3346 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3347
3348 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3349 Move e_machine check before EI_CLASS check. Handle x32
3350 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3351 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3352 SKIP_EM_IA_64 and include
3353 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3354
3355 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3356 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3357 (add_system_dir): New macro.
3358
3359 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3360 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3361
11b90b9f
JM
33622012-03-16 Joseph Myers <joseph@codesourcery.com>
3363
c36e1d23
JM
3364 [BZ #2551]
3365 [BZ #2552]
3366 [BZ #2553]
3367 [BZ #2554]
3368 [BZ #2562]
3369 [BZ #2563]
3370 [BZ #2565]
3371 [BZ #2566]
3372 [BZ #2576]
3373 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3374 (y0): Likewise.
3375 * math/w_j0f.c (j0f): Likewise.
3376 (y0f): Likewise.
3377 * math/w_j0l.c (__j0l): Likewise.
3378 (__y0l): Likewise.
3379 * math/w_j1.c (j1): Likewise.
3380 (y1): Likewise.
3381 * math/w_j1f.c (j1f): Likewise.
3382 (y1f): Likewise.
3383 * math/w_j1l.c (__j1l): Likewise.
3384 (__y1l): Likewise.
3385 * math/w_jn.c (jn): Likewise.
3386 (yn): Likewise.
3387 * math/w_jnf.c (jnf): Likewise.
3388 (ynf): Likewise.
3389 * math/w_jnl.c (__jnl): Likewise.
3390 (__ynl): Likewise.
3391 * math/libm-test.inc (j0_test): Add more tests.
3392 (j1_test): Likewise.
3393 (jn_test): Likewise. Add trailing semicolon to existing test.
3394 (y0_test): Likewise.
3395 (y1_test): Likewise.
3396 * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3398
11b90b9f
JM
3399 [BZ #13851]
3400 [BZ #13854]
3401 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3402 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3403 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3405 (__tanl): Set errno for infinite argument.
3406 * sysdeps/i386/fpu/mptan.c: Remove.
3407 * sysdeps/i386/fpu/s_tan.S: Likewise.
3408 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3409 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3410 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3411 * math/libm-test.inc (tan_test): Add more tests and enable more
3412 tests for double and long double.
3413 * sysdeps/i386/fpu/libm-test-ulps: Update.
3414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3415
6a1bd2a1
JK
34162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3417
3418 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3419 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3420
10a803e0
RM
34212012-03-16 Roland McGrath <roland@hack.frob.com>
3422
3423 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3424 * configure.in: Use it for both main tree and add-ons.
3425 * configure: Regenerated.
3426
f196c7f7
L
34272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3428
3429 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3430
8848d99d
JM
34312012-03-16 Joseph Myers <joseph@codesourcery.com>
3432
96cbe7f4
JM
3433 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3434 in comment.
3435
8848d99d
JM
3436 [BZ #13851]
3437 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3438 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3442 infinite argument.
3443 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3445 != 0 for prec == 2.
3446 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3447 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3448 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3449 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3450 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3451 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3452 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3453 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3454 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3455 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3456 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3457 * math/libm-test.inc (cos_test): Add more tests and enable more
3458 tests for long double.
3459 (sin_test): Likewise.
3460 (sincos_test): Likewise.
3461 * sysdeps/i386/fpu/libm-test-ulps: Update.
3462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3463
dd7f4703
DM
34642012-03-16 David S. Miller <davem@davemloft.net>
3465
3466 * sysdeps/sparc/fpu/math_private.h: New file.
3467
006f1daa
DM
34682012-03-15 David S. Miller <davem@davemloft.net>
3469
c0c83bc8
DM
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3471 file.
e6a62e18 3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3474 file.
e6a62e18
DM
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3481 sysdep routines.
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3483
88cb87d9
DM
3484 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3485 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3486
006f1daa 3487 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3489 sparc-ifunc.h
006f1daa 3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3492 Likewise.
3493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3494 Likewise.
006f1daa
DM
3495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3499 Likewise.
006f1daa
DM
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3505 Likewise.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3507 Likewise.
006f1daa
DM
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3532
11e0098e
AS
35332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3534
3535 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3536 scaling.
3537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3538
e85b09d0
AJ
35392012-03-15 Andreas Jaeger <aj@suse.de>
3540
3541 [BZ #13852]
3542 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3543 ieee754/flt-32 implementation for sin, cos and sincos.
3544 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3545 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3546 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3547 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3548 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3549 ieee754/flt-32 implementation for tan.
3550
3551 * math/libm-test.inc (cos_test): Enable some large input tests for
3552 float as well
3553 (sin_test): Likewise.
3554 (sincos_test): Likewise.
3555 (tan_test): Add tests for large input.
3556
3557 * sysdeps/i386/fpu/libm-test-ulps: Update.
3558
81c64153
AJ
35592012-03-15 Andreas Jaeger <aj@suse.de>
3560
3561 [BZ #13658]
3562 * math/libm-test.inc (cos_test): Add more test cases.
3563 (sin_test): Likewise.
3564 (sincos_test): Likewise.
3565
7bbfa5c6
AJ
35662012-03-15 Andreas Jaeger <aj@suse.de>
3567
3568 [BZ #13837]
3569 * math/libm-test.inc (cos_test): Add a test case for large input
3570 value.
3571 (sin_test): Likewise.
3572 (sincos_test): Likewise.
3573
35742012-03-15 Andreas Jaeger <aj@suse.de>,
3575 Joseph Myers <joseph@codesourcery.com>
3576
3577 [BZ #13658]
0671f479 3578 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3579 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3580 * sysdeps/i386/fpu/branred.c: Likewise.
3581 * sysdeps/i386/fpu/dosincos.c: Likewise.
3582 * sysdeps/i386/fpu/mpa.c: Likewise.
3583 * sysdeps/i386/fpu/s_cos.S: Likewise.
3584 * sysdeps/i386/fpu/s_sin.S: Likewise.
3585 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3586 * sysdeps/i386/fpu/sincos32.c: Likewise.
3587
3588 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3589 Define.
3590 (libc_feupdateenv_53bit): Define.
3591 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3592 Define.
3593 (libc_feupdateenv_53bit): Define.
3594
3595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3596 53 bit (without extend i386 double precision).
3597
3598 * math/libm-test.inc (sincos_test): Add tests for large input.
3599 (sin): Likewise.
3600 (cos): Likewise.
3601
3602 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3603
9cad04ea
AS
36042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3605
3606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3607
f7062b9a
DM
36082012-03-15 David S. Miller <davem@davemloft.net>
3609
3610 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3611 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3612 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3613 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3626 file.
f7062b9a 3627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3629 file.
f7062b9a 3630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3632 file.
f7062b9a 3633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3635 file.
f7062b9a
DM
3636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3638 fmin/fmax sysdep routines.
3639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3640
7bd951ff
DM
36412012-03-14 David S. Miller <davem@davemloft.net>
3642
559398ab
DM
3643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3672 routines.
3673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3674 file.
559398ab 3675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3677 file.
559398ab 3678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3680 file.
559398ab 3681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3683 file.
559398ab 3684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3686 file.
559398ab 3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3689 file.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3691 file.
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3693 file.
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3695 file.
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3697 New file.
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3699 file.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3701 file.
559398ab 3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3704 file.
559398ab 3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3707 file.
559398ab 3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3710 file.
559398ab 3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3713 VIS3 routines.
559398ab
DM
3714
3715 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3716 New file.
3717
5a1c1e32
DM
3718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3719
eae47a36
DM
3720 * sysdeps/sparc/configure.in: New file.
3721 * sysdeps/sparc/configure: Generate.
3722 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3723 * configure: Regenerate.
3724 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3725 * config.make.in (have-as-vis3): New.
3726 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3727 available use -Av9d instead of -Av9a.
3728 * sysdeps/sparc/sparc64/Makefile: Likewise.
3729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3731 New file.
3732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3733 file.
3734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3735 New file.
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3737 file.
eae47a36
DM
3738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3743
c0c83bc8
DM
3744 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3745 fzeros/fnegs to load 0x80000000 into a float register instead of
3746 using the stack.
7bd951ff
DM
3747 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3748
bd951ccb
JM
37492012-03-14 Joseph Myers <joseph@codesourcery.com>
3750
3751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3752 bits/syscall.h.
3753 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3754 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3755 ($(inst_includedir)/bits/syscall.h): Remove rule.
3756 ($(objpfx)bits/syscall.d): Include instead of
3757 $(objpfx)syscall-list.d.
3758 (generated): Change syscall-list.h and syscall-list.d to
3759 bits/syscall.h and bits/syscall.d.
3760
bb4e6db2
RM
37612012-03-14 Roland McGrath <roland@hack.frob.com>
3762
3763 [BZ #13846]
3764 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3765
aa4a2ae1
JM
37662012-03-14 Joseph Myers <joseph@codesourcery.com>
3767
e456826d
JM
3768 [BZ #13841]
3769 * math/s_csqrt.c: Include <float.h>.
3770 (__csqrt): Scale large or subnormal inputs.
3771 * math/s_csqrtf.c: Likewise.
3772 * math/s_csqrtl.c: Likewise.
3773 * math/libm-test.inc (csqrt_test): Add more tests.
3774 * sysdeps/i386/fpu/libm-test-ulps: Update.
3775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3776
aa4a2ae1
JM
3777 [BZ #13840]
3778 * math/libm-test.inc (hypot_test): Add more tests.
3779
7c10fd35
DM
37802012-03-13 David S. Miller <davem@davemloft.net>
3781
3782 [BZ #13840]
3783 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3784 double-precision for the calculation instead of scaling.
3785
f453b98b
JM
37862012-03-13 Joseph Myers <joseph@codesourcery.com>
3787
3788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3789 manipulate bits before adding and subtracting TWO52[sx].
3790 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3792 Likewise.
3793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3794
09a3453f
DM
37952012-03-13 David S. Miller <davem@davemloft.net>
3796
8e59da90
DM
3797 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3798 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3800 rtld-global-offsets.h
3801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3802
2a8ab7f2
DM
3803 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3804 large parameters.
3805
10f62770
DM
3806 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3807
5f0bdb18
DM
3808 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3809 'err' in the ifdef scope in which it is actually used.
3810
09a3453f
DM
3811 * nss/nss_db/db-init.c: Include string.h
3812
b4b2eb5e
DM
38132012-03-12 David S. Miller <davem@davemloft.net>
3814
98bb2f1c
DM
3815 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3816 masking out of the most significant byte of random value used.
3817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3818 Fix coding style in previous change.
3819
b4b2eb5e
DM
3820 * sysdeps/unix/sysv/linux/kernel-features.h
3821 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3822 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3823 expression.
3824 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3825 later.
3826
6e226b09
DM
38272012-03-11 David S. Miller <davem@davemloft.net>
3828
a1bcbd40
DM
3829 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3830 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3832 for 'resultvar' otherwise things get truncated on 64-bit.
3833
cb9d6174
DM
3834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3835 Fix masking out of the most significant byte of random value used.
3836
6e226b09
DM
3837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3838
058c132d
AS
38392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3840
3841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3842
2d2cd515
DM
38432012-03-09 David S. Miller <davem@davemloft.net>
3844
3845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3846 variables with appropriate CPP guards.
3847 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3848 frame pointer, not the stack pointer. Correct layout comments. Fix test
3849 on resulting framesize and the management of the outregs buffer for pltexit.
3850 Preserve floating point return values across _dl_call_pltexit call.
3851 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3852 framesize and the management of the outregs buffer for pltexit.
3853 Preserve floating point return values across _dl_call_pltexit
3854 call.
3855 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3856 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3857 (print_exit): Fix format string for return register value.
3858
9a07f9d0
JM
38592012-03-10 Joseph Myers <joseph@codesourcery.com>
3860
3861 * sunrpc/Makefile (others): Add rpcgen.
3862 ($(objpfx)rpcgen): Remove special build rule and dependency on
3863 libc.
3864 * sunrpc/rpcgen.c: New file.
3865
547b5e30
PE
38662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3867
c524201a
PE
3868 [BZ #13673]
3869 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3870 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3871 * sysdeps/i386/crti.S: Likewise.
3872 * sysdeps/i386/crtn.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3874 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3877 * sysdeps/sh/crti.S: Likewise.
3878 * sysdeps/sh/crtn.S: Likewise.
3879 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3880
7b6235f2
PE
3881 [BZ #13673]
3882 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3883 with URL.
3884 * locale/programs/locfile-kw.gperf: Likewise.
3885 * locale/programs/charmap-kw.h: Regenerated.
3886 * locale/programs/locfile-kw.h: Likewise.
3887
547b5e30
PE
3888 [BZ #13673]
3889 * intl/plural.y: Replace FSF snail mail address with URL.
3890 * intl/plural.c: Regenerated.
3891
5f0a5dae
RH
38922012-03-09 Richard Henderson <rth@twiddle.net>
3893
3894 * include/math_private.h: Remove file.
3895 * math/math_private.h: Move file ...
3896 * sysdeps/generic/math_private.h: ... here.
3897
b8c03620
RH
3898 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3899 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3900 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3901
4e234f5d 3902 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3903 and <math_private.h>.
3904 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3905 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3906 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3907 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3908 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3913 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3992 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3993 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3994 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3995 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3996 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4001 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4002 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4003 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4004 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4005 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4006 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4007 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4008 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4009 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4010 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4014 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4015 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4017 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4023 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4024 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4026 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4032 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4035 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4040 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4043 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4044 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4045 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4047 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4048 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4050 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4051 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4052 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4053 * sysdeps/ieee754/k_standard.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4173 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4174 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4214 * sysdeps/ieee754/s_lib_version.c: Likewise.
4215 * sysdeps/ieee754/s_matherr.c: Likewise.
4216 * sysdeps/ieee754/s_signgam.c: Likewise.
4217 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4218 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4219 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4220 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4221 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4222 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4223 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4224 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4225 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4226 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4227 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4228 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4229 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4230 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4231 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4232 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4233 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4234 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4235 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4238
1991fa03
JM
42392012-03-09 Joseph Myers <joseph@codesourcery.com>
4240
4241 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4242 * sunrpc/rpc_main.c: Likewise.
4243 * sunrpc/rpc_svcout.c: Likewise.
4244
60d6f5a6
DM
42452012-03-09 David S. Miller <davem@davemloft.net>
4246
4247 * include/math_private.h: New file.
4248
4962050e
JM
42492012-03-09 Joseph Myers <joseph@codesourcery.com>
4250
02a6f887
JM
4251 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4252 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4253 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4254 from <bits/socket_type.h>.
4255 (enum __socket_type): Don't define here.
4256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4258 bits/socket_type.h.
4259
c6e013c1
JM
4260 [BZ #13566]
4261 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4262 checking __USE_GNU.
4263
4962050e
JM
4264 * Makerules ($(inst_includedir)/%.h): New rule.
4265 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4266 (install-others): Remove variable setting.
4267 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4268
38842f45
RH
42692012-03-08 Richard Henderson <rth@twiddle.net>
4270
67bb6da6
RH
4271 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4272 from macro to inline function; merge with the
4273 !__LIBC_INTERNAL_MATH_INLINES version.
4274 (__ieee754_sqrtf): Likewise.
4275
15194b4b
RH
4276 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4277 to inline function.
4278 (__rintf, __floor, __floorf): Likewise.
4279
64e21ede
RH
4280 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4281 macro to inline function.
4282 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4283
38842f45
RH
4284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4285 not <math/math_private.h>.
4286
c64bf5fe
DM
42872012-03-08 David S. Miller <davem@davemloft.net>
4288
4289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4290 copyright year.
4291 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4292
82d86f28
TS
42932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4294
4295 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4296 normalization.
4297 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4298 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4299
aea5d727
UD
43002012-03-08 Ulrich Drepper <drepper@gmail.com>
4301
4302 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4303 be defined individually, they must be defined as a block. Define
4304 S for printing a string instead of hidint the different by using a
4305 macro for adding the 'l'.
4306 * stdio-common/tst-fphex-wide.c: Adjust.
4307
70bca0a3
MP
43082012-03-07 Marek Polacek <polacek@redhat.com>
4309
4310 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4311
65b81130
MP
43122012-03-08 Marek Polacek <polacek@redhat.com>
4313
4314 [BZ #13806]
4315 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4316 * stdio-common/tst-fphex.c: Define a few macros to make the
4317 test reusable. Use them.
4318 * stdio-common/tst-fphex-wide.c: New file.
4319
07037eeb
JM
43202012-03-08 Joseph Myers <joseph@codesourcery.com>
4321
a7a93d50
JM
4322 [BZ #6911]
4323 * manual/macros.texi (gnusystems): New macro.
4324 (nongnusystems): Likewise.
4325 (gnulinuxhurdsystems): Likewise.
4326 (gnuhurdsystems): Likewise..
4327 (gnulinuxsystems): Likewise.
4328 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4329 variants of the GNU system, not "GNU system".
4330 * manual/conf.texi: Likewise.
4331 * manual/errno.texi: Likewise. Update example of errno macro
4332 expansion.
4333 * manual/filesys.texi: Likewise.
4334 (getumask): Document as specific to GNU/Hurd.
4335 * manual/install.texi: Likewise. Reword some references to
4336 GNU/Linux.
4337 * manual/intro.texi: Likewise.
4338 * manual/io.texi: Likewise.
4339 (File Name Portability): Detail which constraints are inapplicable
4340 to all GNU systems and which are only inapplicable to GNU/Hurd.
4341 * manual/job.texi: Likewise.
4342 * manual/llio.texi: Likewise.
4343 (O_NOCTTY): Document as present on GNU/Linux.
4344 * manual/maint.texi: Likewise.
4345 * manual/memory.texi: Likewise.
4346 * manual/pattern.texi: Likewise.
4347 * manual/pipe.texi: Likewise.
4348 * manual/process.texi: Likewise.
4349 * manual/resource.texi: Likewise.
4350 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4351 child on GNU/Hurd.
4352 * manual/setjmp.texi: Likewise.
4353 * manual/signal.texi: Likewise.
4354 * manual/startup.texi: Likewise.
4355 * manual/stdio.texi: Likewise.
4356 * manual/terminal.texi: Likewise.
4357 (ONLCR): Document as POSIX.
4358 (OXTABS): Document availability on GNU/Linux as XTABS.
4359 (ONOEOT): Document availability separately from other bits.
4360 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4361 * manual/time.texi: Likewise.
4362 * manual/users.texi: Likewise.
4363 * INSTALL: Regenerated.
4364 * sysdeps/gnu/errlist.c: Regenerated.
4365
07037eeb
JM
4366 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4367 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4368 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4369 puts.
4370 * configure: Regenerated.
4371
d1d3431a
JM
43722012-03-07 Joseph Myers <joseph@codesourcery.com>
4373
af6a1e37
JM
4374 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4375 default includes instead of AC_HEADER_CHECK.
4376 * sysdeps/i386/configure: Regenerated.
4377
d1d3431a
JM
4378 [BZ #10716]
4379 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4380 * math/s_cacoshf.c (__cacoshf): Likewise.
4381 * math/s_cacoshl.c (__cacoshl): Likewise.
4382 * math/s_casinh.c (__casinh): Set signs of result from argument.
4383 * math/s_casinhf.c (__casinhf): Likewise.
4384 * math/s_casinhl.c (__casinhl): Likewise.
4385 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4386 (casinh_test): Add more tests.
4387 * sysdeps/i386/fpu/libm-test-ulps: Update.
4388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4389
482ff4da
UD
43902012-03-07 Ulrich Drepper <drepper@gmail.com>
4391
872fda05
UD
4392 * po/zh_TW.po: Update from translation team.
4393
a4300c7a
UD
4394 * login/Makefile (distribute): Remove variable.
4395 * catgets/Makefile: Likewise.
4396 * mach/Makefile: Likewise.
4397 * malloc/Makefile: Likewise.
4398 * misc/Makefile: Likewise.
4399 * iconv/Makefile: Likewise.
4400 * nscd/Makefile: Likewise.
4401 * hurd/Makefile: Likewise.
4402 * manual/Makefile: Likewise.
4403 * locale/Makefile: Likewise.
4404 * intl/Makefile: Likewise.
4405 * conform/Makefile: Likewise.
4406 * nss/Makefile: Likewise.
4407 * time/Makefile: Likewise.
4408 * soft-fp/Makefile: Likewise.
4409 * dirent/Makefile: Likewise.
4410 * gmon/Makefile: Likewise.
4411 * po/Makefile: Likewise.
4412 * rt/Makefile: Likewise.
4413 * socket/Makefile: Likewise.
4414 * math/Makefile: Likewise.
4415 * signal/Makefile: Likewise.
4416 * debug/Makefile: Likewise.
4417 * elf/Makefile: Likewise.
4418 * timezone/Makefile: Likewise.
4419 * stdlib/Makefile: Likewise.
4420 * iconvdata/Makefile: Likewise.
4421 * sunrpc/Makefile: Likewise.
4422 * io/Makefile: Likewise.
4423 * argp/Makefile: Likewise.
4424 * inet/Makefile: Likewise.
4425 * hesiod/Makefile: Likewise.
4426 * grp/Makefile: Likewise.
4427 * csu/Makefile: Likewise.
4428 * wctype/Makefile: Likewise.
4429 * crypt/Makefile: Likewise.
4430 * libio/Makefile: Likewise.
4431 * string/Makefile: Likewise.
4432 * nis/Makefile: Likewise.
4433 * resolv/Makefile: Likewise.
4434 * stdio-common/Makefile: Likewise.
4435 * wcsmbs/Makefile: Likewise.
4436 * dlfcn/Makefile: Likewise.
4437 * posix/Makefile: Likewise.
4438
3b7c4e74 4439 [BZ #6959]
482ff4da
UD
4440 * timezone/Makefile: Don't install timezone files, just the programs
4441 and scripts.
4442
f72ed77d
UD
44432012-03-06 Ulrich Drepper <drepper@gmail.com>
4444
a000466f
UD
4445 * nss/databases.def: Add missing gshadow entry.
4446
f72ed77d
UD
4447 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4448
a53b7a4e
MP
44492012-03-06 Marek Polacek <polacek@redhat.com>
4450
4451 [BZ #13726]
4452 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4453 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4454 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4455 * stdio-common/tst-long-dbl-fphex.c: New file.
4456
e9258400
DM
44572012-03-06 David S. Miller <davem@davemloft.net>
4458
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4460 (set_obp_int): New function.
4461 (get_obp_int): New function.
4462 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4464 Avoid unused variable warnings on 'val' and use builtin_expect.
4465 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4466 __builtin_expect.
e9258400
DM
4467 (INLINE_CLONE_SYSCALL): Likewise.
4468
3bd2c723
DM
44692012-03-05 David S. Miller <davem@davemloft.net>
4470
4471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4472
bbb78d03
AS
44732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4474
884c5db4
AS
4475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4476
bbb78d03
AS
4477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4478 only for |x| >= 40.
4479 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4480
1c9f702a 44812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4482
4483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4484 Replace gettimeofday with __vdso_gettimeofday.
4485
7be16f82
RM
4486 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4487 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4488 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4489
4490 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4491 time with __vdso_time.
4492
ed58a00f
JM
44932012-03-05 Joseph Myers <joseph@codesourcery.com>
4494
4495 * manual/lang.texi (size_t): Note types to which size_t may be
4496 equivalent with the GNU C Library, but do not describe when
4497 differences between them are significant.
4498
30ee4ced
AJ
44992012-03-05 Andreas Jaeger <aj@suse.de>
4500
4501 * sysdeps/i386/fpu/libm-test-ulps: Update.
4502
b7cd39e8
JM
45032012-03-05 Joseph Myers <joseph@codesourcery.com>
4504
4505 [BZ #3976]
4506 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4507 (__ieee754_pow): Save and restore rounding mode and use
4508 round-to-nearest for main computations.
4509 * math/libm-test.inc (pow_test_tonearest): New function.
4510 (pow_test_towardzero): Likewise.
4511 (pow_test_downward): Likewise.
4512 (pow_test_upward): Likewise.
4513 (main): Call the new functions.
4514 * sysdeps/i386/fpu/libm-test-ulps: Update.
4515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4516
4517 [BZ #3976]
4518 * math/libm-test.inc (cosh_test_tonearest): New function.
4519 (cosh_test_towardzero): Likewise.
4520 (cosh_test_downward): Likewise.
4521 (cosh_test_upward): Likewise.
4522 (sinh_test_tonearest): Likewise.
4523 (sinh_test_towardzero): Likewise.
4524 (sinh_test_downward): Likewise.
4525 (sinh_test_upward): Likewise.
4526 (main): Call the new functions.
4527 * sysdeps/i386/fpu/libm-test-ulps: Update.
4528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4529
6c6a98c9
TV
45302012-03-05 Tom de Vries <tom@codesourcery.com>
4531
4532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4533 default stack guard is set in last bytes.
4534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4535
21bb2d2e 45362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4537
21bb2d2e 4538 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4539
21bb2d2e
AJ
4540 [BZ #13656]
4541 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4542 possibly allocate from heap instead of stack.
4543 * stdio-common/bug-vfprintf-nargs.c: New file.
4544 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4545
c6922934
AS
45462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4547
4548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4549
bc957d53
MP
45502012-03-03 Marek Polacek <polacek@redhat.com>
4551
4552 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4553 * math/math_private.h: Likewise.
4554 * stdlib/tst-strtod.c: Likewise.
4555 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4556 * sysdeps/x86_64/bits/atomic.h: Likewise.
4557
6358490d
DM
45582012-03-02 David S. Miller <davem@davemloft.net>
4559
4560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4564 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4565 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4566 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4567 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4568
01ae168d
RM
45692012-03-02 Roland McGrath <roland@hack.frob.com>
4570
d9a17c07
RM
4571 [BZ #13792]
4572 * manual/examples/README: New file, says the example source files
4573 can be used under GPL>=2.
4574 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4575 line containing just "*/".
4576 * manual/examples/add.c: Add copyright header (GPL>=2).
4577 * manual/examples/argp-ex1.c: Likewise.
4578 * manual/examples/argp-ex2.c: Likewise.
4579 * manual/examples/argp-ex3.c: Likewise.
4580 * manual/examples/argp-ex4.c: Likewise.
4581 * manual/examples/atexit.c: Likewise.
4582 * manual/examples/db.c: Likewise.
4583 * manual/examples/dir.c: Likewise.
4584 * manual/examples/dir2.c: Likewise.
4585 * manual/examples/execinfo.c: Likewise.
4586 * manual/examples/filecli.c: Likewise.
4587 * manual/examples/filesrv.c: Likewise.
4588 * manual/examples/fmtmsgexpl.c: Likewise.
4589 * manual/examples/genpass.c: Likewise.
4590 * manual/examples/inetcli.c: Likewise.
4591 * manual/examples/inetsrv.c: Likewise.
4592 * manual/examples/isockad.c: Likewise.
4593 * manual/examples/longopt.c: Likewise.
4594 * manual/examples/memopen.c: Likewise.
4595 * manual/examples/memstrm.c: Likewise.
4596 * manual/examples/mkfsock.c: Likewise.
4597 * manual/examples/mkisock.c: Likewise.
4598 * manual/examples/mygetpass.c: Likewise.
4599 * manual/examples/pipe.c: Likewise.
4600 * manual/examples/popen.c: Likewise.
4601 * manual/examples/rprintf.c: Likewise.
4602 * manual/examples/search.c: Likewise.
4603 * manual/examples/select.c: Likewise.
4604 * manual/examples/setjmp.c: Likewise.
4605 * manual/examples/sigh1.c: Likewise.
4606 * manual/examples/sigusr.c: Likewise.
4607 * manual/examples/stpcpy.c: Likewise.
4608 * manual/examples/strdupa.c: Likewise.
4609 * manual/examples/strftim.c: Likewise.
4610 * manual/examples/strncat.c: Likewise.
4611 * manual/examples/subopt.c: Likewise.
4612 * manual/examples/swapcontext.c: Likewise.
4613 * manual/examples/termios.c: Likewise.
4614 * manual/examples/testopt.c: Likewise.
4615 * manual/examples/testpass.c: Likewise.
4616 * manual/examples/timeval_subtract.c: Likewise.
4617
01ae168d
RM
4618 [BZ #13792]
4619 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4620 function to ...
4621 * manual/timeval_subtract.c.texi: ... here, new file.
4622
49efa33d
DM
46232012-03-02 David S. Miller <davem@davemloft.net>
4624
4625 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4626
28afd92d
JM
46272012-03-02 Joseph Myers <joseph@codesourcery.com>
4628
804360ed
JM
4629 [BZ #3976]
4630 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4631 (__sin): Save and restore rounding mode and use round-to-nearest
4632 for all computations.
4633 (__cos): Save and restore rounding mode and use round-to-nearest
4634 for all computations.
4635 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4636 <fenv.h>.
4637 (tan): Save and restore rounding mode and use round-to-nearest for
4638 all computations.
4639 * math/libm-test.inc (cos_test_tonearest): New function.
4640 (cos_test_towardzero): Likewise.
4641 (cos_test_downward): Likewise.
4642 (cos_test_upward): Likewise.
4643 (sin_test_tonearest): Likewise.
4644 (sin_test_towardzero): Likewise.
4645 (sin_test_downward): Likewise.
4646 (sin_test_upward): Likewise.
4647 (tan_test_tonearest): Likewise.
4648 (tan_test_towardzero): Likewise.
4649 (tan_test_downward): Likewise.
4650 (tan_test_upward): Likewise.
4651 (main): Call the new functions.
4652 * sysdeps/i386/fpu/libm-test-ulps: Update.
4653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4654
a6d06d7b
JM
4655 [BZ #10135]
4656 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4657 small n, then large n, before computing and testing k+n.
4658 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4660 Likewise.
4661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4662 Likewise.
4663 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4664 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4670 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4671 * math/libm-test.inc (scalbn_test): Add more tests.
4672 (scalbln_test): Likewise.
4673
07e12bb3
JM
4674 * manual/filesys.texi (mode_t): Describe constraints on size and
4675 signedness, not exact equivalence to a particular type.
4676 (ino_t): Likewise.
4677 (ino64_t): Likewise.
4678 (dev_t): Likewise.
4679 (nlink_t): Likewise.
4680 (blkcnt_t): Likewise.
4681 (blkcnt64_t): Likewise.
4682 * manual/llio.texi (off_t): Likewise.
4683
28afd92d
JM
4684 [BZ #3976]
4685 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4686 (__ieee754_exp): Save and restore rounding mode and use
4687 round-to-nearest for all computations.
4688 * math/libm-test.inc (exp_test_tonearest): New function.
4689 (exp_test_towardzero): Likewise.
4690 (exp_test_downward): Likewise.
4691 (exp_test_upward): Likewise.
4692 (main): Call the new functions.
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695
b1eeb65d
CD
46962012-03-01 Chris Demetriou <cgd@google.com>
4697
4698 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4699 have predictable order.
4700
53362a4b
DM
47012012-03-01 David S. Miller <davem@davemloft.net>
4702
3c969083
DM
4703 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4704
759707de
DM
4705 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4706 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4707 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4708 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4709
dfdb8ff2
DM
4710 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4711 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4712 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4714 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4715 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4716 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4717 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4718 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4719
ead89f96
DM
4720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4721
7f66bd07
DM
4722 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4723 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4724 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4725
53362a4b
DM
4726 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4727 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4728 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4729 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4730 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4733 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4742 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4743 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4744 * sysdeps/sparc/elf/configure: Regenerated.
4745
7b1902cb
JM
47462012-03-01 Joseph Myers <joseph@codesourcery.com>
4747
bec039bc
JM
4748 * configure.in (AS, LD): Require binutils 2.20 or later.
4749 * configure: Regenerated.
4750 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4751 as required minimum version.
4752 * INSTALL: Regenerated.
4753
7b1902cb
JM
4754 [BZ #2541]
4755 [BZ #4108]
4756 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4757 before squaring exponent.
4758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4759 bottom long double and 27 bits of top long double before squaring
4760 exponent.
4761 * math/libm-test.inc (erfc_test): Add more tests.
4762 * sysdeps/i386/fpu/libm-test-ulps: Update.
4763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765
f775c276
KT
47662012-03-01 Kai Tietz <ktietz@redhat.com>
4767
4768 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4769 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4770 containing bit-fields.
4771 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4772 * soft-fp/single.h (_FP_UNION_S): Likewise.
4773 * soft-fp/double.h (_FP_UNION_D): Likewise.
4774
5b8a4d4a
JM
47752012-02-29 Joseph Myers <joseph@codesourcery.com>
4776
0bab47b6
JM
4777 [BZ #13786]
4778 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4779 not include ../strcmp.S.
4780 [USE_AS_STRNCASECMP_L]: Likewise.
4781 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4782 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4783 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4784 (__strncasecmp_l_ia32): Define as alias to
4785 __strncasecmp_l_nonascii.
4786
0fcad3e2
JM
4787 [BZ #5794]
4788 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4789 * sysdeps/i386/fpu/libm-test-ulps: Update.
4790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4791
5b8a4d4a
JM
4792 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4794
8fdceb2e
JL
47952012-02-29 Jeff Law <law@redhat.com>
4796
4797 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4798 out of bounds read.
4799
1f393a11
MP
48002012-02-29 Marek Polacek <polacek@redhat.com>
4801
4802 [BZ #13706]
4803 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4804 * elf/Makefile: Add rules to run tst-unused-dep.out.
4805
8847f037
DM
48062012-02-28 David S. Miller <davem@davemloft.net>
4807
4808 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4809 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4812 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4813 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4814
169d7f11
JM
48152012-02-29 Joseph Myers <joseph@codesourcery.com>
4816
4817 * math/libm-test.inc (llround_test): Move one test from
4818 lround_test. Use TEST_f_L in moved test.
4819 (lround_test): Move misplaced test to llround_test. Add testcase
4820 from bug 2561.
4821
39adf059
UD
48222012-02-28 Ulrich Drepper <drepper@gmail.com>
4823
4824 * sysdeps/x86_64/fpu/e_expf.S: New file.
4825 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4826
71b5d1c5
SB
48272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4828
4829 [BZ #13637]
4830 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4831 of remain_len that may cause incomplete multi-byte character and
4832 false match.
4833 * posix/bug-regex33.c: New file.
4834 * posix/Makefile (tests): Add bug-regex33.
4835
1f77f049
JM
48362012-02-28 Joseph Myers <joseph@codesourcery.com>
4837
4838 * manual/macros.texi: New file.
4839 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4840 * manual/libc.texinfo: Include macros.texi.
4841 * manual/creatute.texi: Likewise.
4842 * manual/install.texi: Likewise.
4843 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4844 @glibcadj{} in references to the GNU C Library.
4845 * manual/charset.texi: Likewise.
4846 * manual/conf.texi: Likewise.
4847 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4848 when not using those macros.
4849 * manual/creature.texi: Likewise.
4850 * manual/crypt.texi: Likewise.
4851 * manual/errno.texi: Likewise.
4852 * manual/filesys.texi: Likewise.
4853 * manual/header.texi: Likewise.
4854 * manual/install.texi: Likewise.
4855 * manual/intro.texi: Likewise.
4856 * manual/io.texi: Likewise.
4857 * manual/job.texi: Likewise.
4858 * manual/lang.texi: Likewise.
4859 * manual/libc.texiinfo: Likewise.
4860 * manual/llio.texi: Likewise.
4861 * manual/locale.texi: Likewise.
4862 * manual/maint.texi: Likewise.
4863 * manual/math.texi: Likewise.
4864 * manual/memory.texi: Likewise.
4865 * manual/message.texi: Likewise.
4866 * manual/nss.texi: Likewise.
4867 * manual/pattern.texi: Likewise.
4868 * manual/process.texi: Likewise.
4869 * manual/resource.texi: Likewise.
4870 * manual/search.texi: Likewise.
4871 * manual/setjmp.texi: Likewise.
4872 * manual/signal.texi: Likewise.
4873 * manual/socket.texi: Likewise.
4874 * manual/startup.texi: Likewise.
4875 * manual/stdio.texi: Likewise.
4876 * manual/string.texi: Likewise.
4877 * manual/sysinfo.texi: Likewise.
4878 * manual/syslog.texi: Likewise.
4879 * manual/terminal.texi: Likewise.
4880 * manual/time.texi: Likewise.
4881 * manual/users.texi: Likewise.
4882 * INSTALL: Regenerated.
4883 * NOTES: Regenerated.
d40c5d54 4884 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4885
450bf206
AS
48862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4887
4888 * include/dirent.h: Include <dirstream.h> before
4889 <dirent/dirent.h>.
4890
741a235b
DM
48912012-02-28 David S. Miller <davem@davemloft.net>
4892
4893 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4894 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4895 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4896 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4897
d6b5aa58
DM
48982012-02-27 David S. Miller <davem@davemloft.net>
4899
1aff59a3
DM
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4902 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4904
d6b5aa58
DM
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4906 frame pointer instead of stack pointer relative arg slot.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4908 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4909 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4910
433f48bf
CD
49112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4912
4913 [BZ #3992]
4914 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4915
d674b76d
DM
49162012-02-27 David S. Miller <davem@davemloft.net>
4917
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4922 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4923 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4924 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4925 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4926
0e7727f7
JM
49272012-02-27 Joseph Myers <joseph@codesourcery.com>
4928
4929 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4930 later. Allow versions 5-9.
43be4ca2 4931 * configure: Regenerated.
0e7727f7
JM
4932 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4933 required minimum version and 4.6 as recommended version. Do not
4934 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4935 * INSTALL: Regenerated.
0e7727f7 4936
a78bc654
DM
49372012-02-27 David S. Miller <davem@davemloft.net>
4938
428d5830
DM
4939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4947
a78bc654
DM
4948 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4949 manipulate bits before adding and subtracting TWO112[sx].
4950 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4951
4579f81c
RM
49522012-02-27 Roland McGrath <roland@hack.frob.com>
4953
36c8acb4
RM
4954 [BZ #13775]
4955 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4956 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4957 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4958 being in POSIX, because they are in 1003.1-2008.
4959
84ad622b
RM
4960 * rt/tst-aio.c: Include <fcntl.h>.
4961 * rt/tst-aio7.c: Likewise.
4962 * rt/tst-aio64.c: Likewise.
4963
4579f81c
RM
4964 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4965
abd923db
JM
49662012-02-27 Joseph Myers <joseph@codesourcery.com>
4967
4968 * manual/install.texi (--with-headers): Describe headers as
4969 interface headers, not private headers.
4970 (Specific advice for GNU/Linux systems): Describe use of headers
4971 from "make headers_install", not private headers from older
4972 kernels.
43be4ca2 4973 * INSTALL: Regenerated.
abd923db
JM
4974 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4975 Change to 2.6.19.
4976 * sysdeps/unix/sysv/linux/configure: Regenerated.
4977
6664049b
JM
4978 * manual/llio.texi (fclean): Remove documentation.
4979
bb8b6697
JM
4980 * manual/Makefile (libc-texi-generated): New variable. Include
4981 version.texi.
4982 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4983 $(libc-texi-generated), not duplicated list of files.
4984 (version.texi, stamp-version): New rules.
4985 (realclean): Remove $(libc-texi-generated), not individual files
4986 from that list. Do not remove dir-add.texinfo.
4987 * manual/libc.texinfo: Comment out uses of edition numbers and
4988 references to printed manual. Remove last-updated dates.
4989 (EDITION): Comment out.
4990 (ISBN): Likewise.
4991 (VERSION, UPDATED): Remove.
4992 (version.texi): Include.
4993
12e5c3b9
AS
49942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4995
4996 * sysdeps/posix/spawni.c: Include <signal.h>.
4997 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4998 * sysdeps/pthread/aio_fsync.c: Likewise.
4999
4efeffc1 50002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5001
ba63ba08
UD
5002 * conform/Makefile (tests): Run only when not cross-compiling and
5003 when fast-check is not defined.
5004
d94a4670
UD
5005 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5006 * conform/data/limits.h-data: Fixes for POSIX2008.
5007 * conform/run-conformtest.sh: Run all tests.
5008 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5009 headers.
5010 * include/bits/dlfcn.h: Likewise.
5011 * include/langinfo.h: Likewise.
5012 * include/monetary.h: Likewise.
5013 * include/sys/poll.h: Likewise.
5014
5015 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5016 for __USE_GNU.
5017 * posix/spawn.h: Define __need_sigset_t.
5018 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5019 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5020 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5021 to get sigevent_t only.
5022 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5023 only for __USE_GNU.
5024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5025 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5026 process_vm_writev only for __USE_GNU.
5027 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5028
5029 * conform/Makefile: For now ignore errors from run-conformtest.
5030 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5031 POSIX to avoid namespace pollution. Don't prepend headers.
5032 * conform/data/aio.h-data: Fixes for POSIX testing.
5033 * conform/data/fcntl.h-data: Likewise.
5034 * conform/data/glob.h-data: Likewise.
5035 * conform/data/grp.h-data: Likewise.
5036 * conform/data/pthread.h-data: Likewise.
5037 * conform/data/pwd.h-data: Likewise.
5038 * conform/data/signal.h-data: Likewise.
5039 * conform/data/spawn.h-data: Likewise.
5040 * conform/data/stdio.h-data: Likewise.
5041 * conform/data/stdlib.h-data: Likewise.
5042 * conform/data/stropts.h-data: Likewise.
5043 * conform/data/sys/mman.h-data: Likewise.
5044 * conform/data/sys/stat.h-data: Likewise.
5045 * conform/data/sys/types.h-data: Likewise.
5046 * conform/data/sys/wait.h-data: Likewise.
5047 * conform/data/time.h-data: Likewise.
5048 * conform/data/unistd.h-data: Likewise.
5049 * conform/data/utime.h-data: Likewise.
5050
5051 * io/sys/stat.h: fchmod was always in POSIX.
5052 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5053 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5054 * rt/aio.h: Define __need_timespec before including <time.h>.
5055 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5056 struct. Add forward declaration of pthread_attr_t and use it in
5057 sigevent.
5058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5060 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5061 always remove CLK_TCK definition.
5062
c20105c3
AS
50632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5064
5065 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5066
7a270350
UD
50672012-02-25 Ulrich Drepper <drepper@gmail.com>
5068
31341567
UD
5069 * conform/run-conformtest.sh: New file.
5070 * conform/Makefile: Run run-conformtest for tests.
5071 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5072 support.
5073
5074 * conform/data/uchar.h-data: New file.
5075 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5076 * conform/data/arpa/inet.h-data: Likewise.
5077 * conform/data/assert.h-data: Likewise.
5078 * conform/data/complex.h-data: Likewise.
5079 * conform/data/cpio.h-data: Likewise.
5080 * conform/data/ctype.h-data: Likewise.
5081 * conform/data/dirent.h-data: Likewise.
5082 * conform/data/dlfcn.h-data: Likewise.
5083 * conform/data/errno.h-data: Likewise.
5084 * conform/data/fcntl.h-data: Likewise.
5085 * conform/data/float.h-data: Likewise.
5086 * conform/data/fmtmsg.h-data: Likewise.
5087 * conform/data/fnmatch.h-data: Likewise.
5088 * conform/data/ftw.h-data: Likewise.
5089 * conform/data/glob.h-data: Likewise.
5090 * conform/data/grp.h-data: Likewise.
5091 * conform/data/iconv.h-data: Likewise.
5092 * conform/data/inttypes.h-data: Likewise.
5093 * conform/data/langinfo.h-data: Likewise.
5094 * conform/data/libgen.h-data: Likewise.
5095 * conform/data/limits.h-data: Likewise.
5096 * conform/data/locale.h-data: Likewise.
5097 * conform/data/math.h-data: Likewise.
5098 * conform/data/monetary.h-data: Likewise.
5099 * conform/data/mqueue.h-data: Likewise.
5100 * conform/data/ndbm.h-data: Likewise.
5101 * conform/data/net/if.h-data: Likewise.
5102 * conform/data/netdb.h-data: Likewise.
5103 * conform/data/netinet/in.h-data: Likewise.
5104 * conform/data/nl_types.h-data: Likewise.
5105 * conform/data/poll.h-data: Likewise.
5106 * conform/data/pthread.h-data: Likewise.
5107 * conform/data/pwd.h-data: Likewise.
5108 * conform/data/regex.h-data: Likewise.
5109 * conform/data/sched.h-data: Likewise.
5110 * conform/data/search.h-data: Likewise.
5111 * conform/data/semaphore.h-data: Likewise.
5112 * conform/data/setjmp.h-data: Likewise.
5113 * conform/data/signal.h-data: Likewise.
5114 * conform/data/spawn.h-data: Likewise.
5115 * conform/data/stdarg.h-data: Likewise.
5116 * conform/data/stdio.h-data: Likewise.
5117 * conform/data/stdlib.h-data: Likewise.
5118 * conform/data/string.h-data: Likewise.
5119 * conform/data/strings.h-data: Likewise.
5120 * conform/data/stropts.h-data: Likewise.
5121 * conform/data/sys/ipc.h-data: Likewise.
5122 * conform/data/sys/mman.h-data: Likewise.
5123 * conform/data/sys/msg.h-data: Likewise.
5124 * conform/data/sys/resource.h-data: Likewise.
5125 * conform/data/sys/select.h-data: Likewise.
5126 * conform/data/sys/sem.h-data: Likewise.
5127 * conform/data/sys/shm.h-data: Likewise.
5128 * conform/data/sys/socket.h-data: Likewise.
5129 * conform/data/sys/stat.h-data: Likewise.
5130 * conform/data/sys/statvfs.h-data: Likewise.
5131 * conform/data/sys/time.h-data: Likewise.
5132 * conform/data/sys/timeb.h-data: Likewise.
5133 * conform/data/sys/times.h-data: Likewise.
5134 * conform/data/sys/types.h-data: Likewise.
5135 * conform/data/sys/uio.h-data: Likewise.
5136 * conform/data/sys/un.h-data: Likewise.
5137 * conform/data/sys/utsname.h-data: Likewise.
5138 * conform/data/sys/wait.h-data: Likewise.
5139 * conform/data/syslog.h-data: Likewise.
5140 * conform/data/tar.h-data: Likewise.
5141 * conform/data/termios.h-data: Likewise.
5142 * conform/data/utime.h-data: Likewise.
5143 * conform/data/utmpx.h-data: Likewise.
5144 * conform/data/varargs.h-data: Likewise.
5145 * conform/data/wchar.h-data: Likewise.
5146 * conform/data/wctype.h-data: Likewise.
5147 * conform/data/wordexp.h-data: Likewise.
5148
5149 * include/stropts.h: New file.
5150 * include/uchar.h: New file.
5151 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5152 * include/assert.h: Likewise.
5153 * include/ctype.h: Likewise.
5154 * include/dirent.h: Likewise.
5155 * include/dlfcn.h: Likewise.
5156 * include/fcntl.h: Likewise.
5157 * include/fnmatch.h: Likewise.
5158 * include/glob.h: Likewise.
5159 * include/grp.h: Likewise.
5160 * include/libio.h: Likewise.
5161 * include/locale.h: Likewise.
5162 * include/math.h: Likewise.
5163 * include/net/if.h: Likewise.
5164 * include/netdb.h: Likewise.
5165 * include/netinet/in.h: Likewise.
5166 * include/pthread.h: Likewise.
5167 * include/pwd.h: Likewise.
5168 * include/regex.h: Likewise.
5169 * include/sched.h: Likewise.
5170 * include/search.h: Likewise.
5171 * include/setjmp.h: Likewise.
5172 * include/signal.h: Likewise.
5173 * include/stdio.h: Likewise.
5174 * include/stdlib.h: Likewise.
5175 * include/string.h: Likewise.
5176 * include/sys/cdefs.h: Likewise.
5177 * include/sys/mman.h: Likewise.
5178 * include/sys/msg.h: Likewise.
5179 * include/sys/resource.h: Likewise.
5180 * include/sys/select.h: Likewise.
5181 * include/sys/socket.h: Likewise.
5182 * include/sys/stat.h: Likewise.
5183 * include/sys/statvfs.h: Likewise.
5184 * include/sys/time.h: Likewise.
5185 * include/sys/times.h: Likewise.
5186 * include/sys/uio.h: Likewise.
5187 * include/sys/utsname.h: Likewise.
5188 * include/sys/wait.h: Likewise.
5189 * include/termios.h: Likewise.
5190 * include/time.h: Likewise.
5191 * include/ulimit.h: Likewise.
5192 * include/unistd.h: Likewise.
5193 * include/utime.h: Likewise.
5194 * include/wchar.h: Likewise.
5195 * include/wctype.h: Likewise.
5196 * include/wordexp.h: Likewise.
5197
5198 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5199
7a270350
UD
5200 * time/time.h: TIME_UTC must be a macro.
5201 Make timespec_get available for ISO C11 only as well.
5202
7724defc
UD
52032012-02-24 Ulrich Drepper <drepper@gmail.com>
5204
5205 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5206 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5207
6b1d1d46
JM
52082012-02-24 Joseph Myers <joseph@codesourcery.com>
5209
5210 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5211
0f8bbd69
JM
52122012-02-24 Joseph Myers <joseph@codesourcery.com>
5213
5214 * manual/texinfo.tex: Update to version 2012-01-19.16.
5215
66ab80bc
JM
52162012-02-24 Joseph Myers <joseph@codesourcery.com>
5217
5218 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5219
74981cc5
RM
52202012-02-24 Roland McGrath <roland@hack.frob.com>
5221
ee968201
RM
5222 [BZ #13738]
5223 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5224 * manual/fdl-1.3.texi: New file.
5225 * manual/fdl-1.1.texi: File removed.
5226
74981cc5
RM
5227 [BZ #13738]
5228 * manual/libc.texinfo (FDL_VERSION): New @set.
5229 Use it for mention of FDL in cover text.
5230 (Documentation License): Use it in @include file name.
5231
7bb764bc
JM
52322012-02-22 Joseph Myers <joseph@codesourcery.com>
5233 Roland McGrath <roland@hack.frob.com>
5234
5235 [BZ #5461]
5236 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5237 not LONG_LONG_MAX and LONG_LONG_MIN.
5238 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5239 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5240 name.
5241 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5242
6cbeae47
JM
52432012-02-22 Joseph Myers <joseph@codesourcery.com>
5244
5245 [BZ #2547]
5246 [BZ #11365]
5247 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5248 manipulate bits before adding and subtracting TWO23[sx].
5249 * math/libm-test.inc (nearbyint_test): Add more tests.
5250
fe45ce09
JM
52512012-02-22 Joseph Myers <joseph@codesourcery.com>
5252
5253 [BZ #2548]
5254 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5255 bits before adding and subtracting TWO23[sx].
5256 * math/libm-test.inc (rint_test): Add more tests.
5257 (rint_test_tonearest): Likewise.
5258 (rint_test_towardzero): Likewise.
5259 (rint_test_downward): Likewise.
5260 (rint_test_upward: Likewise.
5261
ff3b3d82
JM
52622012-02-22 Joseph Myers <joseph@codesourcery.com>
5263
5264 [BZ #10110]
5265 * include/stdc-predef.h: New file. Extracted from features.h.
5266 * include/features.h: Include stdc-predef.h.
5267 * Makefile (headers): Add stdc-predef.h.
5268 * CONFORMANCE (Compiler limitations): Update.
5269
ef0aab35
JM
52702012-02-22 Joseph Myers <joseph@codesourcery.com>
5271
5272 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5273
58639409
DM
52742012-02-21 David S. Miller <davem@davemloft.net>
5275
5276 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5277 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5278
c0e70b25
DM
52792012-02-20 David S. Miller <davem@davemloft.net>
5280
5281 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5282 using a normal save/restore sequence, rather than allocating a
5283 dummy stack frame just to store a frame pointer and restore.
5284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5285
fb06851d
JM
52862012-02-21 Joseph Myers <joseph@codesourcery.com>
5287
5288 * manual/install.texi: Fix stray word in line-wrapped comment.
5289
7a8b71c3
DM
52902012-02-20 David S. Miller <davem@davemloft.net>
5291
d510c123
DM
5292 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5293 both binutils and gcc support GOTDATA.
5294
0722d7c2
DM
5295 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5296 "rd %pc" in the PIC register setup sequences.
5297
3d2b3019
DM
5298 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5299 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5300 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5301 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5302 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5304 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5307 (SYSCALL_ERROR_HANDLER): Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5311 (SYSCALL_ERROR_HANDLER): Likewise.
5312
c80098a9
DM
5313 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5314 (HAVE_GCC_GOTDATA): New.
5315 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5316 relocation support in both binutils and gcc.
5317 * sysdeps/sparc/elf/configure: Regenerate.
5318
3a2545a0
DM
5319 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5320 * sysdeps/sparc/sparc32/elf/configure: Delete.
5321 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5322 * sysdeps/sparc/sparc64/elf/configure: Delete.
5323 * sysdeps/sparc/elf/configure.in: New file.
5324 * sysdeps/sparc/elf/configure: Generate.
5325
7a8b71c3
DM
5326 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5327 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5328 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5329 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5330 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5331
f1e86fca
JM
53322012-02-21 Joseph Myers <joseph@codesourcery.com>
5333
5334 * manual/install.texi: Do not mention specific glibc version
5335 numbers.
5336 * manual/libc.texinfo (VERSION, UPDATED): Update.
5337 (@copying): Use @copyright{} and range of years.
5338
0e7dfaef
JM
53392012-02-21 Joseph Myers <joseph@codesourcery.com>
5340
5341 [BZ #13695]
5342 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5343 [crti.S not in sysdirs] (generated): Do not append.
5344 [crti.S not in sysdirs] (omit-deps): Likewise.
5345 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5346 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5347 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5348 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5349 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5350 Likewise.
5351 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5352 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5353 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5354 * csu/defs.awk: Remove file.
5355 * sysdeps/generic/initfini.c: Likewise.
5356 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5357 variable.
5358 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5359 Likewise.
5360
599af3ca
JM
53612012-02-20 Joseph Myers <joseph@codesourcery.com>
5362
5363 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5364 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5365 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5366 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5367 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5368 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5369 <bits/epoll.h>.
5370 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5371 (__EPOLL_PACKED): Define to empty if not defined by
5372 <bits/epoll.h>.
5373 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5375 bits/epoll.h.
5376
0e499750
JM
53772012-02-20 Joseph Myers <joseph@codesourcery.com>
5378
5379 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5380 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5382 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5383 <bits/timerfd.h>.
5384 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5386 bits/timerfd.h.
5387
5ad91f6e
JM
53882012-02-20 Joseph Myers <joseph@codesourcery.com>
5389
5390 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5391 in C locale.
5392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5393 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5394 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5396
06b99b02
AJ
53972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5398
5399 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5401
7638c0fd
AS
54022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5403
5404 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5405 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5406 defined.
5407 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5408 Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5410 entry for 2.16.
5411
92221550
AJ
54122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5413
5414 * math/w_acos.c: Use non-signaling floating-point comparisons.
5415 * math/w_acosf.c: Likewise.
5416 * math/w_acosh.c: Likewise.
5417 * math/w_acoshf.c: Likewise.
5418 * math/w_acoshl.c: Likewise.
5419 * math/w_acosl.c: Likewise.
5420 * math/w_asin.c: Likewise.
5421 * math/w_asinf.c: Likewise.
5422 * math/w_asinl.c: Likewise.
5423 * math/w_atanh.c: Likewise.
5424 * math/w_atanhf.c: Likewise.
5425 * math/w_atanhl.c: Likewise.
5426 * math/w_exp2.c: Likewise.
5427 * math/w_exp2f.c: Likewise.
5428 * math/w_exp2l.c: Likewise.
5429 * math/w_j0.c: Likewise.
5430 * math/w_j0f.c: Likewise.
5431 * math/w_j0l.c: Likewise.
5432 * math/w_j1.c: Likewise.
5433 * math/w_j1f.c: Likewise.
5434 * math/w_j1l.c: Likewise.
5435 * math/w_jn.c: Likewise.
5436 * math/w_jnf.c: Likewise.
5437 * math/w_log.c: Likewise.
5438 * math/w_log10.c: Likewise.
5439 * math/w_log10f.c: Likewise.
5440 * math/w_log10l.c: Likewise.
5441 * math/w_log2.c: Likewise.
5442 * math/w_log2f.c: Likewise.
5443 * math/w_log2l.c: Likewise.
5444 * math/w_logf.c: Likewise.
5445 * math/w_logl.c: Likewise.
5446 * math/w_sqrt.c: Likewise.
5447 * math/w_sqrtf.c: Likewise.
5448 * math/w_sqrtl.c: Likewise.
5449 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5450 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5451 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5453 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5454
ebaf36eb
JM
54552012-02-19 Joseph Myers <joseph@codesourcery.com>
5456
5457 [BZ #9739]
5458 * manual/string.texi (strnlen): Use correct parameter name in
5459 equivalent expression.
5460
71c254a6
JM
54612012-02-19 Joseph Myers <joseph@codesourcery.com>
5462
5463 [BZ #11174]
5464 * manual/users.texi (seteuid): Consistently use neweuid for
5465 argument name.
5466
16d2c631
JM
54672012-02-19 Joseph Myers <joseph@codesourcery.com>
5468
5469 [BZ #13704]
5470 * manual/nss.texi (Services in the NSS configuration): Correct
5471 list of services in example configuration file.
5472
cd837b09
NB
54732012-02-19 Nick Bowler <nbowler@draconx.ca>
5474
5475 [BZ #11322]
5476 * manual/arith.texi: Remove statements about negative zero
5477 behaving identically to zero.
5478
02c4bbad
JM
54792012-02-18 Joseph Myers <joseph@codesourcery.com>
5480
5481 [BZ #5993]
5482 * manual/install.texi: Do not document upgrading from libc5.
5483
366842e7
JM
54842012-02-18 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #4596]
5487 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5488
dd54084d
DM
54892012-02-18 David S. Miller <davem@davemloft.net>
5490
5491 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5492 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5493 %o7 across the call.
5494 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5495 instead.
5496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5497 SETUP_PIC_REG_LEAF.
5498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5499 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5500 * sysdeps/sparc/crtn.S: Likewise.
5501
2bcc53a3
UD
55022012-02-17 Ulrich Drepper <drepper@gmail.com>
5503
5504 * aout/Makefile: Remove.
5505
09c093b5
RK
55062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5507
5508 [BZ #13058]
5509 * manual/examples/argp-ex1.c (main): Format definition in GNU
5510 style.
5511 * manual/examples/argp-ex2.c (main): Likewise.
5512 * manual/examples/argp-ex3.c (main): Likewise.
5513 * manual/examples/argp-ex4.c (main): Likewise.
5514 * manual/examples/longopt.c (main): Use new-style prototype
5515 definition.
5516 * manual/examples/strncat.c (main): Specify return type and use
5517 (void) for arguments.
5518 * manual/examples/subopt.c (main): Use char **argv argument.
5519
2ee633a2
JM
55202012-02-17 Joseph Myers <joseph@codesourcery.com>
5521
5522 [BZ #5077]
5523 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5524 rounding modes.
5525
0520adde
FB
55262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5527
5528 [BZ #6907]
5529 * manual/string.texi (strchr): Change when strchrnul is
5530 recommended.
5531
3f4081cd
DGM
55322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5533
5534 [BZ #174]
5535 * manual/locale.texi (setlocale): Document LOCPATH.
5536
d1b10e78
JM
55372012-02-17 Joseph Myers <joseph@codesourcery.com>
5538
5539 [BZ #10210]
5540 * manual/process.texi (execle): Move @dots{} before last argument.
5541
79c6869c
PB
55422012-02-17 Paul Bolle <pebolle@tiscali.nl>
5543
5544 [BZ #12047]
5545 * manual/charset.texi (Generic Charset Conversion): Fix typo
5546 (LC_TYPE -> LC_CTYPE).
5547
cc6e48bc
NB
55482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5549
5550 [BZ #5805]
5551 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5552 (scalbnf): Likewise.
5553 (scalbnl): Likewise.
5554 (scalbln): Likewise.
5555 (scalblnf): Likewise.
5556 (scalblnl): Likewise.
5557 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5558 (vwarnx): Likewise.
5559 (verr): Likewise.
5560 (verrx): Likewise.
5561 * manual/filesys.texi (telldir): Use braces around return type.
5562 * manual/llio.texi (mmap): Add space after comma.
5563 (mmap64): Likewise.
5564 * manual/math.texi (jn): Use @var{} on parameter names.
5565 (jnf): Likewise.
5566 (jnl): Likewise.
5567 (yn): Likewise.
5568 (ynf): Likewise.
5569 (ynl): Likewise.
5570 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5571 line.
5572 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5573 "...".
5574 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5575 (sched_get_priority_max): Likewise.
5576 * manual/signal.texi (sigvec): Add space after comma.
5577 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5578 names.
5579 (if_indextoname): Likewise.
5580 (if_freenameindex): Likewise.
5581 (sendto): Use ',' instead of '.' in prototype.
5582 * manual/startup.texi (syscall): Use @dots{} instead of literal
5583 "...".
5584 * manual/stdio.texi (__fpending): Separate initial words of
5585 paragraph from @deftypefun line.
5586 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5587 "...".
5588 (vsyslog): Use @var{} on parameter names.
5589 * manual/terminal.texi (stty): Use @var{} on parameter names.
5590 * manual/users.texi (getutmp): Use @var{} on parameter names.
5591 (getutmpx): Likewise.
5592
5b23062f
JM
55932012-02-17 Joseph Myers <joseph@codesourcery.com>
5594
5595 [BZ #6884]
5596 * manual/stdio.texi (fopen): Fix typos in description of
5597 ",ccs=STRING".
5598
8dee4833
AJ
55992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5600
5601 [BZ #4026]
5602 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5603 get clock_id definition.
5604
9078ce93
TS
56052012-02-17 Thomas Schwinge <thomas@schwinge.name>
5606
5607 [BZ #4822]
5608 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5609 (madvise): Cast every argument to void on its own.
5610
3835c55f
JM
56112012-02-17 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #9902]
5614 * manual/startup.texi (Exit Status): Fix typo.
5615
35c47e37
JM
56162012-02-17 Joseph Myers <joseph@codesourcery.com>
5617
5618 [BZ #10140]
5619 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5620 * manual/examples/argp-ex2.c: Likewise.
5621 * manual/examples/argp-ex3.c: Likewise.
5622
e3b69ca7
RH
56232012-02-16 Richard Henderson <rth@redhat.com>
5624
5625 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5626 * sysdeps/s390/s390-32/initfini.c: Remove.
5627 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5628 * sysdeps/s390/s390-64/initfini.c: Remove.
5629
df83af67
KK
56302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5631
5632 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5633 compiler output for sysdeps/generic/initfini.c.
5634 * sysdeps/sh/elf/initfini.c: Remove file.
5635
f63f3380
DM
56362012-02-16 David S. Miller <davem@davemloft.net>
5637
fb59b3a4
DM
5638 [BZ #11494]
5639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5640
f63f3380
DM
5641 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5642 * sysdeps/sparc/crti.S: New file.
5643 * sysdeps/sparc/crtn.S: New file.
5644 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5645 * sysdeps/sparc/sparc64/Makefile: Likewise.
5646
df6a4a4a
MF
56472012-02-15 Mike Frysinger <vapier@gentoo.org>
5648
6dd8f3dc 5649 [BZ #3335]
df6a4a4a
MF
5650 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5651
1cac7236
RM
56522012-02-15 Roland McGrath <roland@hack.frob.com>
5653
d2c736f8
RM
5654 [BZ #4822]
5655 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5656
1cac7236
RM
5657 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5658 (write, read, close): Likewise.
5659 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5660
8e475601
JM
56612012-02-15 Joseph Myers <joseph@codesourcery.com>
5662
5663 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5664 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5665 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5666 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5667 <bits/signalfd.h>.
5668 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5670 bits/signalfd.h.
5671
ed656b40
MP
56722012-02-14 Marek Polacek <polacek@redhat.com>
5673
5674 * sysdeps/x86_64/crti.S: New file.
5675 * sysdeps/x86_64/crtn.S: New file.
5676 * sysdeps/x86_64/elf/initfini.c: Remove file.
5677
2a979d3a
JM
56782012-02-13 Joseph Myers <joseph@codesourcery.com>
5679
5680 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5681 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5683 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5684 <bits/inotify.h>.
5685 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5687 bits/inotify.h.
5688
2a418ac3
JM
56892012-02-13 Joseph Myers <joseph@codesourcery.com>
5690
5691 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5692 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5693 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5694 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5695 <bits/eventfd.h>.
5696 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5698 bits/eventfd.h.
5699
fb779be7
TS
57002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5701
e19e83c5
RM
5702 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5703 __feraiseexcept instead of feraiseexcept.
7c35ffed 5704
fb779be7
TS
5705 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5706 nanosleep invocations.
5707 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5708 strings, and add error checking for a nanosleep invocations.
5709
59ba27a6
PE
57102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5711
5712 Replace FSF snail mail address with URLs, as per GNU coding standards.
5713 Most of the snail mail addresses were wrong anyway, and omitting
5714 them makes the source code easier to maintain. Almost all of the
5715 changes are to license notices and to locale LC_IDENTIFICATION
5716 addresses, except for this one:
5717 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5718 not its snail mail address.
5719
57b957eb
RH
57202012-02-09 Richard Henderson <rth@twiddle.net>
5721
af850b1c
RH
5722 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5723 of kernel-features.h.
5724
57b957eb
RH
5725 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5726
6b73181a
MP
57272012-02-08 Marek Polacek <polacek@redhat.com>
5728
5729 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5730 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5731 * sysdeps/gnu/_G_config.h: Likewise.
5732 * sysdeps/generic/_G_config.h: Likewise.
5733
26ecc33a
AS
57342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5735
6c6dbc63
AS
5736 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5737 tests.
5738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5739
e216c012
AS
5740 * sysdeps/powerpc/powerpc32/crti.S: New file.
5741 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5742 * sysdeps/powerpc/powerpc64/crti.S: New file.
5743 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5744
26ecc33a
AS
5745 * Makeconfig (have-initfini): Don't set.
5746 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5747 * configure.in (nopic_initfini): Don't substitute.
5748 * config.h.in (HAVE_INITFINI): Don't #undef.
5749 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5750 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5751
3add8e13
JM
57522012-02-08 Joseph Myers <joseph@codesourcery.com>
5753
5754 Support crti.S and crtn.S provided directly by architectures.
5755 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5756 [crti.S in sysdirs] (omit-deps): Likewise.
5757 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5758 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5759 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5760 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5761 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5762 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5763 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5764 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5765 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5766 compiler output for sysdeps/generic/initfini.c.
5767 * sysdeps/i386/elf/Makefile: Remove file.
5768 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5769
a22f12b4
MP
57702012-02-07 Marek Polacek <polacek@redhat.com>
5771
5772 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5773 * sysdeps/gnu/_G_config.h: Likewise.
5774 * sysdeps/mach/hurd/_G_config.h: Likewise.
5775
148cf100
MP
57762012-02-07 Marek Polacek <polacek@redhat.com>
5777
5778 * math/Makefile (tests): Add tst-CMPLX2.
5779 * math/tst-CMPLX2.c: New file.
5780
cfdc0dd7
AS
57812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5782
84ba42c4
AS
5783 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5784
cfdc0dd7
AS
5785 * math/libm-test.inc (jn_test): Add missing L suffix.
5786
622c86f4
MP
57872012-02-06 Marek Polacek <polacek@redhat.com>
5788
5789 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5790 * sysdeps/i386/fpu/e_powf.S: Likewise.
5791 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5792 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5793 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5794 * sysdeps/i386/fpu/e_pow.S: Likewise.
5795 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5796 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5797 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5798 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5799 * sysdeps/i386/fpu/e_log2.S: Likewise.
5800 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5801 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5802 * sysdeps/i386/fpu/e_powl.S: Likewise.
5803 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5804 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5805 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5806 * sysdeps/i386/fpu/e_logl.S: Likewise.
5807 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5808 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5809 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5810 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5811 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5812 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5813 * sysdeps/i386/fpu/e_log.S: Likewise.
5814 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5815 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5816 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5817 * sysdeps/i386/fpu/e_logf.S: Likewise.
5818 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5819 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5820 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5821 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5822 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5823 * sysdeps/i386/fpu/e_log10.S: Likewise.
5824 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5825 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5826 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5827 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5828 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5829 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5830 * sysdeps/i386/asm-syntax.h: Likewise.
5831 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5832 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5833 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5834 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5835 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5836 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5837 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5838 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5839 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5840 * sysdeps/powerpc/sysdep.h: Likewise.
5841 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5842 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5843
d4a54ac6
JM
58442012-02-06 Joseph Myers <joseph@codesourcery.com>
5845
5846 [BZ #411]
5847 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5848
314054ea
JM
58492012-02-06 Joseph Myers <joseph@codesourcery.com>
5850
5851 * sysdeps/i386/sysdep.h: Include <features.h>.
5852 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5853 version.
5854
d8e0ca50
JM
58552012-02-05 Joseph Myers <joseph@codesourcery.com>
5856
5857 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5858 Define.
5859 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5860 LOAD_PIC_REG_STR.
5861
b1da7dd9
JM
58622012-02-03 Joseph Myers <joseph@codesourcery.com>
5863
5864 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5865 (SETUP_PIC_REG): Use GET_PC_THUNK.
5866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5867 macro.
5868
9a1d9254
JM
58692012-02-03 Joseph Myers <joseph@codesourcery.com>
5870
5871 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5872 for non-PIC compilation.
5873 (SETUP_PIC_REG): Add .p2align directive.
5874 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5875 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5877 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5878 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5879 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5880 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5882 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5883 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5884 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5885 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5886 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5890 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5891 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5892 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5893 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5894 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5895 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5896 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5897 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5898 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5900 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5902 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5903 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5904 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5906 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5907 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5908 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5909 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5910 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5911 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5912 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5913 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5914 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5915
65dc3b75
JM
59162012-02-03 Joseph Myers <joseph@codesourcery.com>
5917
5918 * math/tst-CMPLX.c: Include <stdio.h>.
5919
d55bf177
JM
59202012-01-31 Joseph Myers <joseph@codesourcery.com>
5921
5922 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5923 float.
5924 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5925 * sysdeps/sparc/bits/mathdef.h: Likewise.
5926
69db4f8f
MP
59272012-01-31 Marek Polacek <polacek@redhat.com>
5928
5929 * libio/libio.h: Don't define _PARAMS.
5930 * locale/programs/config.h: Don't define PARAMS.
5931 * stdlib/strtol_l.c: Likewise.
5932 (__strtol_l): Remove PARAMS from the prototype.
5933
41b81892
UD
59342012-01-31 Ulrich Drepper <drepper@gmail.com>
5935
3b49edc0
UD
5936 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5937 names. Just use the correct names. Remove unnecessary wrapper
5938 functions.
5939 * malloc/arena.c: Likewise.
5940 * malloc/hooks.c: Likewise.
5941
41b81892
UD
5942 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5943 ARENA_TEST says not to. Simplify test for creation of a new arena.
5944 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5945
27a25b6e
UD
59462012-01-30 Ulrich Drepper <drepper@gmail.com>
5947
5948 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5949 into tail calls.
5950 (update_get_addr): New function.
5951 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5952 GET_ADDR_MODULE parameter.
5953
c8a89e7d
JM
59542012-01-30 Joseph Myers <joseph@codesourcery.com>
5955
5956 * crypt/cert.c: Remove __STDC__ conditionals.
5957 * crypt/crypt-entry.c: Likewise.
5958 * crypt/crypt_util.c: Likewise.
5959 * libio/filedoalloc.c: Likewise.
5960 * libio/fileops.c: Likewise.
5961 * libio/genops.c: Likewise.
5962 * libio/iofclose.c: Likewise.
5963 * libio/iofdopen.c: Likewise.
5964 * libio/iofopen.c: Likewise.
5965 * libio/iofopen64.c: Likewise.
5966 * libio/iogetdelim.c: Likewise.
5967 * libio/iopopen.c: Likewise.
5968 * libio/obprintf.c: Likewise.
5969 * libio/oldfileops.c: Likewise.
5970 * libio/oldiofclose.c: Likewise.
5971 * libio/oldiofdopen.c: Likewise.
5972 * libio/oldiofopen.c: Likewise.
5973 * libio/oldiopopen.c: Likewise.
5974 * libio/wfiledoalloc.c: Likewise.
5975 * libio/wgenops.c: Likewise.
5976 * locale/programs/xmalloc.c: Likewise.
5977 * misc/syslog.c: Likewise.
5978 * stdio-common/xbug.c: Likewise.
5979 * string/memchr.c: Likewise.
5980 * string/memcmp.c: Likewise.
5981 * string/memrchr.c: Likewise.
5982 * string/rawmemchr.c: Likewise.
5983 * sysdeps/posix/getcwd.c: Likewise.
5984 * time/strftime_l.c: Likewise.
5985
3b100462
JM
59862012-01-30 Joseph Myers <joseph@codesourcery.com>
5987
5988 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5989 * config.make.in (config-cflags-sse2avx): Define.
5990 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5991 Fix typo.
5992
607998af
CM
59932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5994
5995 * scripts/config.guess: Update from upstream config git repository.
5996 * scripts/config.sub: Likewise.
5997
3601428f
CM
59982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5999
3ac8b282
CM
6000 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6001 (EM_NUM): Update.
6002 (R_TILEPRO_*, R_TILEGX_*): New macros.
6003
e034841e
CM
6004 * scripts/firstversions.awk: Fix bug in version range handling.
6005
540d7568
CM
6006 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6007
3601428f
CM
6008 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6009
463de862
CM
6010 * include/sys/epoll.h: New file.
6011 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6012 libc_hidden_def.
6013
73139a76
UD
60142012-01-28 Ulrich Drepper <drepper@gmail.com>
6015
96bc5b45
UD
6016 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6017 Avoid unnecessary __WORDSIZE == 64 test.
6018 (fmaxf): Use VEX format if possible.
6019 (fmax): Likewise.
6020 (fminf): Likewise.
6021 (fmin): Likewise.
6022
56f6f6a2
UD
6023 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6024 * math/math_private.h: Remove libc_fegetround* and
6025 libc_fesetround*.
6026 * sysdeps/i386/configure.in: Check for -msse2avx.
6027 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6028 also if SSE2AVX is defined.
6029 Remove libc_fegetround* and libc_fesetround*.
6030 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6031 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6033 of HAS_YMM_USABLE.
6034 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6035 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6039
73139a76
UD
6040 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6041
d73f93a4
AZ
60422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6045 size is not set.
6046 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6047
6ee65ed6
UD
60482012-01-27 Ulrich Drepper <drepper@gmail.com>
6049
6050 [BZ #13618]
6051 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6052 relocation.
6053 * Makeconfig (libm): Define.
6054 * elf/Makefile: Add rules to build and run tst-relsort1.
6055 * elf/tst-relsort1.c: New file.
6056 * elf/tst-relsort1mod1.c: New file.
6057 * elf/tst-relsort1mod2.c: New file.
6058
8db21882
JM
60592012-01-27 Joseph Myers <joseph@codesourcery.com>
6060
6061 * math/s_ldexp.c: Remove __STDC__ conditionals.
6062 * math/s_ldexpf.c: Likewise.
6063 * math/s_ldexpl.c: Likewise.
6064 * math/s_nextafter.c: Likewise.
6065 * math/s_nexttowardf.c: Likewise.
6066 * math/s_significand.c: Likewise.
6067 * math/s_significandf.c: Likewise.
6068 * math/s_significandl.c: Likewise.
6069 * math/w_jnl.c: Likewise.
6070 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6071 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6072 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6073 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6074 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6091 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6092 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6094 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6095 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6096 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6097 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6098 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6099 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6100 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6101 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6102 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6103 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6104 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6105 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6106 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6107 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6108 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6109 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6110 * sysdeps/ieee754/k_standard.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6172 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6177 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6185 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6190 * sysdeps/ieee754/s_matherr.c: Likewise.
6191 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6192 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6195
965a54a4
JM
61962012-01-26 Joseph Myers <joseph@codesourcery.com>
6197
6198 * crypt/md5.h: Remove __STDC__ conditionals.
6199 * libio/libioP.h: Likewise.
6200 * locale/programs/config.h: Likewise.
6201 * sysdeps/generic/sysdep.h: Likewise.
6202 * sysdeps/i386/asm-syntax.h: Likewise.
6203 * sysdeps/s390/asm-syntax.h: Likewise.
6204 * sysdeps/unix/sysdep.h: Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6207
7071ad79
JM
62082012-01-26 Joseph Myers <joseph@codesourcery.com>
6209
6210 * libio/libio.h: Remove __STDC__ conditionals.
6211 * malloc/obstack.h: Likewise.
6212 * math/complex.h: Likewise.
6213 * math/math.h: Likewise.
6214 * sysdeps/generic/_G_config.h: Likewise.
6215 * sysdeps/gnu/_G_config.h: Likewise.
6216 * sysdeps/mach/hurd/_G_config.h: Likewise.
6217 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6218 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6219 * sysdeps/sparc/bits/mathdef.h: Likewise.
6220
afc5ed09
UD
62212012-01-26 Ulrich Drepper <drepper@gmail.com>
6222
6223 [BZ #13583]
6224 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6225 Clean up HAS_* macros.
afc5ed09 6226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6227 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6228 possible.
6229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6230 HAS_AVX.
6231 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6232 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6233 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6236
bdb6de1d
JM
62372012-01-25 Joseph Myers <joseph@codesourcery.com>
6238
6239 * elf/tst-unique3.cc (gets): Remove declaration.
6240 * elf/tst-unique3lib.cc (gets): Likewise.
6241 * elf/tst-unique3lib2.cc (gets): Likewise.
6242 * elf/tst-unique4.cc (gets): Likewise.
6243
b15549e6
UD
62442012-01-24 Ulrich Drepper <drepper@gmail.com>
6245
6246 * include/stdio.h: Add C++ protection. Add gets declarations and
6247 definitions.
6248 * debug/tst-chk1.c: Don't declare gets here.
6249 * stdio-common/tst-gets.c: Likewise.
6250
a037381f
JM
62512012-01-24 Joseph Myers <joseph@codesourcery.com>
6252
6253 * posix/glob: Remove directory.
6254
f1d4aa75
JM
62552012-01-24 Joseph Myers <joseph@codesourcery.com>
6256
6257 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6258
81c0c964
PT
62592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6260
6261 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6262 of the non-standard EPFNOSUPPORT.
6263
0ea698ae
ST
62642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6265
6266 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6267 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6268 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6269
d220b117
UD
62702012-01-21 Ulrich Drepper <drepper@gmail.com>
6271
6272 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6273
3e1aa84e
UD
62742012-01-20 Ulrich Drepper <drepper@gmail.com>
6275
6276 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6277 transient errors.
6278 * nscd/grpcache.c (cache_addgr): Likewise.
6279 * nscd/hstcache.c (cache_addhst): Likewise.
6280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6281 * nscd/pwdcache.c (cache_addpw): Likewise.
6282 * nscd/servicescache.c (cache_addserv): Likewise.
6283
400aa020
UD
62842012-01-16 Ulrich Drepper <drepper@gmail.com>
6285
d77e7869
UD
6286 * malloc/malloc.c: Various cleanups.
6287 * malloc/hooks.c: Likewise.
6288
400aa020
UD
6289 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6290 * stdlib/bug-fmtmsg1.c: New file.
6291
6292 * stdlib/fmtmsg.c (init): Add missing unlock.
6293 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6294
e0a309cf
MP
62952012-01-12 Marek Polacek <polacek@redhat.com>
6296
6297 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6298 and _GNU_SOURCE.
6299
929d11c7
WS
63002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6301
6302 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6303 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6304 macro to ensure uniqueness of label name.
6305 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6306 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6307
41d0e869
UD
63082012-01-11 Ulrich Drepper <drepper@gmail.com>
6309
0cc5ed3b
UD
6310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6311
41d0e869
UD
6312 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6313 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6314 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6316
a47a831a
UD
63172012-01-10 Ulrich Drepper <drepper@gmail.com>
6318
daa891c0
UD
6319 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6320
6321 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6322 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6324
e58ef0f2
UD
6325 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6326
a47a831a 6327 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6328 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6329 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6331
6332 * math/bits/math-finite.h: Add ldexp support.
6333
a0bfc9c7
MP
63342012-01-10 Marek Polacek <polacek@redhat.com>
6335
6336 * locale/programs/localedef.h (show_archive_content): Add noreturn
6337 attribute.
6338
d6e97a1d
UD
63392012-01-09 Ulrich Drepper <drepper@gmail.com>
6340
6341 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6342
d5835c26
UD
63432012-01-08 Ulrich Drepper <drepper@gmail.com>
6344
e5f484c6
UD
6345 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6346
d5835c26
UD
6347 * io/Makefile (headers): Add bits/poll2.h.
6348
d1f741e9
WS
63492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6350
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6352 typo #include statement.
6353
ec09c1c4
UD
63542012-01-08 Ulrich Drepper <drepper@gmail.com>
6355
6356 * include/sys/cdefs.h: Define __attribute_alloc_size.
6357 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6358 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6359 * elf/pldd.c: Likewise.
6360 * iconv/iconv_charmap.c: Likewise.
6361 * iconv/iconvconfig.c: Likewise.
6362 * iconv/strtab.c: Likewise.
6363 * locale/programs/locale.c: Likewise.
6364 * locale/programs/localedef.h: Likewise.
6365 * locale/programs/simple-hash.c: Likewise.
6366 * nscd/nscd.h: Likewise.
6367 * nss/makedb.c: Likewise.
6368 * sysdeps/generic/ldconfig.h: Likewise.
6369 * locale/programs/localedef.c: Remove xmalloc prototype.
6370 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6371
20b38e03
PP
63722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6373
6374 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6375 appropriate.
6376
a0da5fe1
UD
63772012-01-08 Ulrich Drepper <drepper@gmail.com>
6378
1d5a644a 6379 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6380 * math/tst-CMPLX.c: New file.
1d5a644a 6381
8784a6db
UD
6382 * math/complex.h (CMPLXL): Fix typo.
6383
d9a216c0
UD
6384 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6385 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6386 GLIBC_2.16.
6387 * debug/tst-chk1.c: Add poll and ppoll tests.
6388 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6389 * include/sys/poll.h: Add hidden proto for ppoll.
6390 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6391 * sysdeps/mach/hurd/ppoll.c: Likewise.
6392 * io/ppoll.c: Likewise.
6393 * debug/poll_chk.c: New file.
6394 * debug/ppoll_chk.c: New file.
6395 * include/bits/poll2.h: New file.
6396 * io/bits/poll2.h: New file.
6397
ac097f5c
UD
6398 [BZ #1350]
6399 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6400
2119dcfa
UD
6401 * configure.in: static is always set to yes. Remove.
6402 * config.make.in: Don't set build-static.
6403 * Makeconfig: Remove use of build-static.
6404 * dlfcn/Makefile: Likewise.
6405 * elf/Makefile: Likewise.
6406 * math/Makefile: Likewise.
6407 * misc/Makefile: Likewise.
6408 * nptl/Makefile: Likewise.
6409 * sysdeps/mach/hurd/Makefile: Likewise.
6410
121766a9
UD
6411 * configure.in: PWD_P is not used anymore.
6412 * config.make.in: Remove PWD_P entry.
6413
51a1d39c 6414 * configure.in: Remove last remnants of RANLIB.
8720d066 6415 No need to check for signed size_t anymore.
215f4bdc
UD
6416 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6417 and IA-64.
3857022a 6418 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6419 * aclocal.m4: Likewise.
6420
d3ed7225
UD
6421 * wcsmbs/mbrtoc16.c: Implement using towc function.
6422 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6423 * wcsmbs/wcsmbsload.c: Likewise.
6424 * iconv/gconv_simple.c: Likewise.
6425 * iconv/gconv_int.h: Likewise.
6426 * iconv/gconv_builtin.h: Likewise.
6427 * iconv/iconv_prog.c: Remove CHAR16 handling.
6428
6429 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6430
6431 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6432
a0da5fe1
UD
6433 * configure.in: Remove --with-elf and --enable-bounded options.
6434 Dont set base_machine for ia64. More non-ELF conditions removed.
6435 Remove testing and setting of leading underscore information.
6436 * config.make.in (build-bounded): Set to no.
6437 * config.h.in: Remove NO_UNDERSCORES entry.
6438 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6439 them.
6440 * csu/start.c: Remove !NO_UNDERSCORE code.
6441 * locale/localeinfo.h: Likewise.
6442 * sysdeps/generic/machine-gmon.h: Likewise.
6443 * sysdeps/generic/sysdep.h: Likewise.
6444 * sysdeps/i386/sysdep.h: Likewise.
6445 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6446 * sysdeps/mach/sysdep.h: Likewise.
6447 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6449 * sysdeps/sh/sysdep.h: Likewise.
6450 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6451 * sysdeps/unix/i386/sysdep.S: Likewise.
6452 * sysdeps/unix/sparc/start.c: Likewise.
6453 * sysdeps/unix/sparc/sysdep.S: Likewise.
6454 * sysdeps/unix/sparc/sysdep.h: Likewise.
6455 * sysdeps/unix/start.c: Likewise.
6456 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6457 * sysdeps/x86_64/sysdep.h: Likewise.
6458
df78418a
UD
64592012-01-07 Ulrich Drepper <drepper@gmail.com>
6460
a784e502
UD
6461 [BZ #13553]
6462 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6463 for non-gcc.
6464 * argp/argp-fmtstream.h: Use const instead __const.
6465 * argp/argp.h: Likewise.
6466 * assert/assert.h: Likewise.
6467 * bits/fenv.h: Likewise.
6468 * bits/sched.h: Likewise.
6469 * bits/sigset.h: Likewise.
6470 * bits/sigthread.h: Likewise.
6471 * catgets/nl_types.h: Likewise.
6472 * conform/data/pthread.h-data: Likewise.
6473 * crypt/crypt-private.h: Likewise.
6474 * crypt/crypt.h: Likewise.
6475 * crypt/crypt_util.c: Likewise.
6476 * ctype/ctype.h: Likewise.
6477 * debug/execinfo.h: Likewise.
6478 * debug/mbsnrtowcs_chk.c: Likewise.
6479 * debug/mbsrtowcs_chk.c: Likewise.
6480 * debug/wcsnrtombs_chk.c: Likewise.
6481 * debug/wcsrtombs_chk.c: Likewise.
6482 * debug/wcstombs_chk.c: Likewise.
6483 * dirent/dirent.h: Likewise.
6484 * dlfcn/dlfcn.h: Likewise.
6485 * elf/neededtest4.c: Likewise.
6486 * grp/grp.h: Likewise.
6487 * gshadow/gshadow.h: Likewise.
6488 * iconv/gconv.h: Likewise.
6489 * iconv/gconv_int.h: Likewise.
6490 * iconv/gconv_simple.c: Likewise.
6491 * iconv/iconv.h: Likewise.
6492 * iconv/loop.c: Likewise.
6493 * iconv/skeleton.c: Likewise.
6494 * include/aio.h: Likewise.
6495 * include/aliases.h: Likewise.
6496 * include/argz.h: Likewise.
6497 * include/arpa/inet.h: Likewise.
6498 * include/assert.h: Likewise.
6499 * include/dirent.h: Likewise.
6500 * include/dlfcn.h: Likewise.
6501 * include/execinfo.h: Likewise.
6502 * include/fcntl.h: Likewise.
6503 * include/fenv.h: Likewise.
6504 * include/glob.h: Likewise.
6505 * include/grp.h: Likewise.
6506 * include/libintl.h: Likewise.
6507 * include/mntent.h: Likewise.
6508 * include/netdb.h: Likewise.
6509 * include/pwd.h: Likewise.
6510 * include/rpc/netdb.h: Likewise.
6511 * include/sched.h: Likewise.
6512 * include/search.h: Likewise.
6513 * include/shadow.h: Likewise.
6514 * include/signal.h: Likewise.
6515 * include/stdio.h: Likewise.
6516 * include/stdlib.h: Likewise.
6517 * include/string.h: Likewise.
6518 * include/sys/socket.h: Likewise.
6519 * include/sys/stat.h: Likewise.
6520 * include/sys/statfs.h: Likewise.
6521 * include/sys/statvfs.h: Likewise.
6522 * include/sys/syslog.h: Likewise.
6523 * include/sys/time.h: Likewise.
6524 * include/sys/uio.h: Likewise.
6525 * include/time.h: Likewise.
6526 * include/unistd.h: Likewise.
6527 * include/utmp.h: Likewise.
6528 * include/wchar.h: Likewise.
6529 * include/wctype.h: Likewise.
6530 * inet/aliases.h: Likewise.
6531 * inet/arpa/inet.h: Likewise.
6532 * inet/netinet/ether.h: Likewise.
6533 * inet/netinet/in.h: Likewise.
6534 * intl/libintl.h: Likewise.
6535 * io/bits/fcntl2.h: Likewise.
6536 * io/fcntl.h: Likewise.
6537 * io/ftw.h: Likewise.
6538 * io/sys/poll.h: Likewise.
6539 * io/sys/stat.h: Likewise.
6540 * io/sys/statfs.h: Likewise.
6541 * io/sys/statvfs.h: Likewise.
6542 * io/utime.h: Likewise.
6543 * libio/bits/stdio.h: Likewise.
6544 * libio/bits/stdio2.h: Likewise.
6545 * libio/libio.h: Likewise.
6546 * libio/libioP.h: Likewise.
6547 * libio/stdio.h: Likewise.
6548 * locale/lc-ctype.c: Likewise.
6549 * locale/locale.h: Likewise.
6550 * login/utmp.h: Likewise.
6551 * malloc/arena.c: Likewise.
6552 * malloc/malloc.c: Likewise.
6553 * malloc/malloc.h: Likewise.
6554 * malloc/mcheck.c: Likewise.
6555 * malloc/mtrace.c: Likewise.
6556 * math/bits/mathcalls.h: Likewise.
6557 * math/fenv.h: Likewise.
6558 * math/math_private.h: Likewise.
6559 * misc/bits/error.h: Likewise.
6560 * misc/bits/syslog.h: Likewise.
6561 * misc/err.h: Likewise.
6562 * misc/error.h: Likewise.
6563 * misc/fstab.h: Likewise.
6564 * misc/mntent.h: Likewise.
6565 * misc/regexp.h: Likewise.
6566 * misc/search.h: Likewise.
6567 * misc/sgtty.h: Likewise.
6568 * misc/sys/mman.h: Likewise.
6569 * misc/sys/syslog.h: Likewise.
6570 * misc/sys/uio.h: Likewise.
6571 * misc/sys/xattr.h: Likewise.
6572 * misc/ttyent.h: Likewise.
6573 * nis/rpcsvc/ypclnt.h: Likewise.
6574 * nss/nss.h: Likewise.
6575 * posix/bits/unistd.h: Likewise.
6576 * posix/fnmatch.h: Likewise.
6577 * posix/glob.h: Likewise.
6578 * posix/sched.h: Likewise.
6579 * posix/spawn.h: Likewise.
6580 * posix/sys/wait.h: Likewise.
6581 * posix/unistd.h: Likewise.
6582 * posix/wordexp.h: Likewise.
6583 * pwd/pwd.h: Likewise.
6584 * resolv/netdb.h: Likewise.
6585 * resource/sys/resource.h: Likewise.
6586 * rt/aio.h: Likewise.
6587 * rt/bits/mqueue2.h: Likewise.
6588 * rt/mqueue.h: Likewise.
6589 * shadow/shadow.h: Likewise.
6590 * signal/signal.h: Likewise.
6591 * socket/send.c: Likewise.
6592 * socket/sendto.c: Likewise.
6593 * socket/sys/socket.h: Likewise.
6594 * stdio-common/printf.h: Likewise.
6595 * stdlib/bits/stdlib.h: Likewise.
6596 * stdlib/fmtmsg.h: Likewise.
6597 * stdlib/monetary.h: Likewise.
6598 * stdlib/stdlib.h: Likewise.
6599 * stdlib/ucontext.h: Likewise.
6600 * streams/stropts.h: Likewise.
6601 * string/argz.h: Likewise.
6602 * string/bits/string2.h: Likewise.
6603 * string/string.h: Likewise.
6604 * string/strings.h: Likewise.
6605 * sunrpc/rpc/auth.h: Likewise.
6606 * sunrpc/rpc/auth_des.h: Likewise.
6607 * sunrpc/rpc/clnt.h: Likewise.
6608 * sunrpc/rpc/netdb.h: Likewise.
6609 * sunrpc/rpc/pmap_clnt.h: Likewise.
6610 * sunrpc/rpc/xdr.h: Likewise.
6611 * sysdeps/generic/inttypes.h: Likewise.
6612 * sysdeps/generic/net/if.h: Likewise.
6613 * sysdeps/generic/sys/swap.h: Likewise.
6614 * sysdeps/gnu/net/if.h: Likewise.
6615 * sysdeps/gnu/utmpx.h: Likewise.
6616 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6617 * sysdeps/i386/i486/bits/string.h: Likewise.
6618 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6619 * sysdeps/s390/bits/string.h: Likewise.
6620 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6621 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6622 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6623 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6624 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6625 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6626 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6627 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6628 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6629 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6630 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6631 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6632 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6633 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6634 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6635 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6636 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6638 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6639 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6640 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6641 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6642 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6643 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6645 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6646 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6647 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6648 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6649 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6650 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6651 * sysvipc/sys/ipc.h: Likewise.
6652 * sysvipc/sys/msg.h: Likewise.
6653 * sysvipc/sys/sem.h: Likewise.
6654 * sysvipc/sys/shm.h: Likewise.
6655 * termios/termios.h: Likewise.
6656 * time/sys/time.h: Likewise.
6657 * time/time.h: Likewise.
6658 * wcsmbs/bits/wchar2.h: Likewise.
6659 * wcsmbs/uchar.h: Likewise.
6660 * wcsmbs/wchar.h: Likewise.
6661 * wctype/wctype.h: Likewise.
6662
0269750c
UD
6663 [BZ #13551]
6664 * Makeconfig: Remove all but ELF support including AIX support.
6665 * Makerules: Likewise.
6666 * config.h.in: Likewise.
6667 * config.make.in: Likewise.
6668 * configure: Likewise.
6669 * configure.in: Likewise.
6670 * csu/Makefile: Likewise.
6671 * csu/version.c: Likewise.
6672 * debug/Makefile: Likewise.
6673 * dlfcn/Makefile: Likewise.
6674 * elf/Makefile: Likewise.
6675 * extra-lib.mk: Likewise.
6676 * iconv/Makefile: Likewise.
6677 * include/libc-symbols.h: Likewise.
6678 * include/shlib-compat.h: Likewise.
6679 * resolv/Makefile: Likewise.
6680 * resolv/res_libc.c: Likewise.
6681 * rt/Makefile: Likewise.
6682 * sysdeps/i386/asm-syntax.h: Likewise.
6683 * sysdeps/i386/sysdep.h: Likewise.
6684 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6685 * sysdeps/mach/sysdep.h: Likewise.
6686 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6687 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6688 * sysdeps/s390/asm-syntax.h: Likewise.
6689 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6690 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6691 * sysdeps/sh/sysdep.h: Likewise.
6692 * sysdeps/unix/sparc/sysdep.h: Likewise.
6693 * sysdeps/wordsize-32/divdi3.c: Likewise.
6694 * sysdeps/x86_64/sysdep.h: Likewise.
6695
00bbd29b
UD
6696 * argp/Versions: Remove _argp_unlock_xxx.
6697
6698 [BZ #13559]
6699 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6700 * abilist/libBrokenLocale.abilist: Likewise.
6701 * abilist/libanl.abilist: Likewise.
6702 * abilist/libc.abilist: Likewise.
6703 * abilist/libcrypt.abilist: Likewise.
6704 * abilist/libdl.abilist: Likewise.
6705 * abilist/libm.abilist: Likewise.
6706 * abilist/libnsl.abilist: Likewise.
6707 * abilist/libpthread.abilist: Likewise.
6708 * abilist/libresolv.abilist: Likewise.
6709 * abilist/librt.abilist: Likewise.
6710 * abilist/libthread_db.abilist: Likewise.
6711 * abilist/libutil.abilist: Likewise.
6712 * abilist/libnss_db.abilist: New file.
6713
6714 * scripts/abilist.awk: Add support for indirect functions.
6715
a2693a0e
UD
6716 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6717
3f05895f
UD
6718 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6719
ecb6fb48
UD
6720 * shlib-versions: Remove entries for ports architectures.
6721
664f8cb9
UD
6722 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6723 files in ports.
6724 * elf/stackguard-macros.h: Remove support for IA-64.
6725 * elf/tst-auditmod1.c: Likewise.
6726 * sysdeps/generic/ldsodefs.h: Likewise.
6727
7ae81d88
UD
6728 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6729 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6730 configure files.
6731
bdeba135
UD
6732 [BZ #13552]
6733 * configure.in: Remove --enable-omitfp support.
6734 * FAQ.in: Adjust.
6735 * config.make.in: Likewise.
6736 * Makeconfig: Likewise.
6737 * manual/install.texi: Likewise.
6738
d75a0a62
UD
6739 In case anyone cares, the IA-64 architecture could move to ports.
6740 * sysdeps/ia64/*: Removed.
6741 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6742 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6743
dcc9756b
UD
6744 [BZ #13555]
6745 * configure.in: Remove entries for unsupported architectures.
6746
d3761ebc 6747 [BZ #13533]
9954432e
UD
6748 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6749 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6750 routines.
6751 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6752 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6753 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6754 fall back to using wcrtomb.
6755 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6756 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6757 renaming.
6758 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6759 * wcsmbs/tst-c16c32-1.c: New file.
6760
6761 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6762 local variable.
6763
c3a87236
UD
6764 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6765
28926a1b
UD
6766 * elf/tst-unique3.cc: Add explicit declaration of gets.
6767 * elf/tst-unique3lib.cc: Likewise.
6768 * elf/tst-unique3lib2.cc: Likewise.
6769 * elf/tst-unique4.cc: Likewise.
6770
df78418a
UD
6771 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6772
8ecd6b2a
JM
67732012-01-06 Joseph Myers <joseph@codesourcery.com>
6774
6775 [BZ #13566]
6776 * assert/assert.h (static_assert): Don't define for C++.
6777 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6778 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6779
9f115170
UD
67802012-01-03 Ulrich Drepper <drepper@gmail.com>
6781
5e0d0300
UD
6782 * iconv/loop.c (single loop): Fix assertion in storing of
6783 remaining bytes.
6784
9f115170
UD
6785 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6786
81fb02b0
UD
67872012-01-01 Ulrich Drepper <drepper@gmail.com>
6788
6789 * posix/getconf.c: Update copyright year.
6790 * nss/getent.c: Likewise.
a316c1f6 6791 * nss/makedb.c: Likewise.
81fb02b0
UD
6792 * iconv/iconvconfig.c: Likewise.
6793 * iconv/iconv_prog.c: Likewise.
6794 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6795 * elf/pldd.c: Likewise.
6796 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6797 * catgets/gencat.c: Likewise.
6798 * csu/version.c: Likewise.
6799 * elf/ldd.bash.in: Likewise.
6800 * elf/sprof.c (print_version): Likewise.
6801 * locale/programs/locale.c: Likewise.
6802 * locale/programs/localedef.c: Likewise.
a316c1f6 6803 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6804 * nscd/nscd.c (print_version): Likewise.
6805 * debug/xtrace.sh: Likewise.
6806 * malloc/memusage.sh: Likewise.
6807 * malloc/mtrace.pl: Likewise.
6808 * debug/catchsegv.sh: Likewise.
6809
2ba92745
JJ
68102011-12-30 Jakub Jelinek <jakub@redhat.com>
6811
6812 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6813 pure attribute.
6814
dadebdae
UD
68152011-12-24 Ulrich Drepper <drepper@gmail.com>
6816
d3761ebc 6817 [BZ #13533]
db6af3eb
UD
6818 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6819 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6820 transformations.
6821 * iconv/gconv_int.h: Likewise.
6822 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6823 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6824 from libc for GLIBC_2.16.
6825 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6826 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6827 * wcsmbs/uchar.h: Really define mbstate_t.
6828 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6829 * wcsmbs/c16rtomb.c: New file.
6830 * wcsmbs/mbrtoc16.c: New file.
6831 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6832 for C/POSIX locale.
6833 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6834 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6835
dadebdae
UD
6836 * wcsmbs/wchar.h: Add missing __restrict.
6837
67371b56
UD
68382011-12-23 Ulrich Drepper <drepper@gmail.com>
6839
74033a25
UD
6840 [BZ #13532]
6841 * time/Makefile (routines): Add timespec_get.
6842 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6843 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6844 timespec for ISO C11.
6845 * time/timespec_get.c: New file.
6846 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6847 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6848
380d7e87
UD
6849 [BZ #13531]
6850 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6851 * stdlib/stdlib.h: Declare aligned_alloc.
6852 * Versions.def: Add GLIBC_2.16 for libc.
6853 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6854
4e9e7a35
UD
6855 [BZ 13527]
6856 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6857 ISO C11.
6858
380d7e87 6859 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6860 code.
6861
03a71829
UD
6862 [BZ #13528]
6863 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6864
839e283e
UD
6865 [BZ #13529]
6866 * assert/assert.h (static_assert): Define.
6867
ce5294e2 6868 * version.h: Update for 2.16 development version.
90fa7312 6869
8d44e150 6870 [BZ #13526]
d7809905
UD
6871 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6872 _ISOC11_SOURCE.
6873
c0da14cd
UD
6874 * version.h (RELEASE): Bump for 2.15 release.
6875 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6876
530a3249
MP
6877 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6878 Patch by Marek Polacek <mpolacek@redhat.com>.
6879
67371b56
UD
6880 * bits/byteswap.h: Protect long long constants with __extension__.
6881 * sysdeps/i386/bits/byteswap.h: Likewise.
6882 * sysdeps/ia64/bits/byteswap.h: Likewise.
6883 * sysdeps/s390/bits/byteswap.h: Likewise.
6884 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6885
15db4de1
LD
68862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6887
6888 [BZ #13540]
bbe315ea
LD
6889 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6890 destination buffer.
15db4de1
LD
6891 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6892
2b2596b1
MP
68932011-12-23 Marek Polacek <polacek@redhat.com>
6894
6895 * elf/dl-addr.c (determine_info): Add inline keyword.
6896 * elf/tst-auditmod4b.c (check_avx): Likewise.
6897 * elf/tst-auditmod6b.c (check_avx): Likewise.
6898 * elf/tst-auditmod6c.c (check_avx): Likewise.
6899 * elf/tst-auditmod7b.c (check_avx): Likewise.
6900
70c6c246
UD
69012011-12-23 Ulrich Drepper <drepper@gmail.com>
6902
6903 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6904 !__SSE_MATH__.
6905
c044cf14
LD
69062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6907
15db4de1 6908 [BZ #13540]
c044cf14
LD
6909 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6910 processing for last bytes.
6911
6b13d9d9
BH
69122011-08-06 Bruno Haible <bruno@clisp.org>
6913
d455f537
BH
6914 [BZ #13061]
6915 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6916 U+0385, not to U+1FEE.
6917
6b13d9d9
BH
6918 [BZ #13062]
6919 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6920 entry for U+00A5 U+0301.
6921
db910efd
UD
69222011-12-22 Ulrich Drepper <drepper@gmail.com>
6923
27deeafc
UD
6924 [BZ #13166]
6925 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6926 buffer for the output is too small.
6927
aed9d171
UD
6928 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6929 optimization.
6930
db910efd
UD
6931 [BZ #13185]
6932 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6933 SSE flags if possible.
6934
2bd779ae
LD
69352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6936
e7f9dac3 6937 [BZ #13540]
2bd779ae
LD
6938 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6939 processing for last bytes.
6940
154bfc16
JM
69412011-12-22 Joseph Myers <joseph@codesourcery.com>
6942
6943 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6944 (syscall-list-default-options, syscall-list-default-condition)
6945 (syscall-list-includes): Define.
6946 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6947 list of ABIs and options and #if conditions for each ABI. Do not
6948 handle common syscalls between ABIs specially.
6949 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6950 Remove.
6951 (syscall-list-variants, syscall-list-32bit-options)
6952 (syscall-list-32bit-condition, syscall-list-64bit-options)
6953 (syscall-list-64bit-condition): Define.
6954 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6955 (syscall-list-variants, syscall-list-32bit-options)
6956 (syscall-list-32bit-condition, syscall-list-64bit-options)
6957 (syscall-list-64bit-condition): Define.
6958 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6959 Remove.
6960 (syscall-list-variants, syscall-list-32bit-options)
6961 (syscall-list-32bit-condition, syscall-list-64bit-options)
6962 (syscall-list-64bit-condition): Define.
6963 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6964 Remove.
6965 (syscall-list-variants, syscall-list-32bit-options)
6966 (syscall-list-32bit-condition, syscall-list-64bit-options)
6967 (syscall-list-64bit-condition): Define.
6968
21eaf3a5
UD
69692011-12-22 Ulrich Drepper <drepper@gmail.com>
6970
16c6f992
UD
6971 * locale/iso-639.def: Add brx entry.
6972
41043168
UD
6973 [BZ #13328]
6974 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6975 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6976
21eaf3a5
UD
6977 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6978 __feraiseexcept_renamed.
6979
e3a851a2
UD
69802011-12-21 Ulrich Drepper <drepper@gmail.com>
6981
4920765e
UD
6982 [BZ #13538]
6983 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6984 EPOLLET with unsigned values.
6985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6986 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6987
e3a851a2
UD
6988 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6989 to large cancellation.
6990 * math/s_cacoshf.c: Likewise.
6991 * math/s_cacoshl.c: Likewise.
6992
b27e24b8
RK
69932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6994
6995 [BZ #13305]
aebefeee 6996 [BZ #12786]
b27e24b8
RK
6997 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6998 * math/s_cacoshf.c: Likewise.
6999 * math/s_cacoshl.c: Likewise.
7000
ee190f67
UD
70012011-12-21 Ulrich Drepper <drepper@gmail.com>
7002
7003 [BZ #13439]
7004 * iconv/gconv.h: Define __GCONV_SWAP.
7005 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7006 * iconvdata/utf-16.c: Likewise.
7007 * iconvdata/utf-32.c: Likewise.
7008
707f25df
AS
70092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7010
7011 [BZ #13524]
7012 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7013 numerator after shifting it by one limb.
7014
d2daaa1e
RÁE
70152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7016
7017 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7018 under [__USE_EXTERN_INLINES].
7019
a4647e72
UD
70202011-12-17 Ulrich Drepper <drepper@gmail.com>
7021
7022 [BZ #13446]
7023 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7024
f0b264f1
AZ
70252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7026
7027 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7028 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7029 optimized code.
7030 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7031 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7032 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7033 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7034 for strncasecmp/strncasecmp_l compilation.
7035 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7036 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7037
8ef4f244
MP
70382011-12-08 Marek Polacek <mpolacek@redhat.com>
7039
7040 [BZ #13484]
7041 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7042 of __asm__.
7043
97ac2654
UD
70442011-12-17 Ulrich Drepper <drepper@gmail.com>
7045
7046 [BZ #13506]
7047 * time/tzfile.c (__tzfile_read): Check values from file header.
7048
91d2a845
WS
70492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7050
7051 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7052 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7053 * powerpc/powerpc32/dl-start.S: Likewise.
7054 * powerpc/powerpc32/elf/start.S: Likewise.
7055 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7056 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7057 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7058 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7059 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7060 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7061 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7062 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7063 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7064 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7065 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7066 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7067 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7068 * powerpc/powerpc32/memset.S: Likewise.
7069 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7070 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7071 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7072 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7073 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7074 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7075 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7076 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7077 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7078 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7079 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7080 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7081 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7082
a1267ba1
AZ
70832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7084
7085 * math/libm-test.inc: Added more nearbyint tests.
7086 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7090
ad8ac1bd
RL
70912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7092
7093 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7094 FD_CLOEXEC.
7095
1d3e4b61
UD
70962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7097
7098 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7099 Add wcscpy-ssse3 wcscpy-c.
7100 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7101 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7102 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7103 * sysdeps/x86_64/wcschr.S: New file.
7104 * sysdeps/x86_64/wcsrchr.S: New file.
7105 * string/test-strcmp.c: Remove checking of wcscmp function for
7106 wrong alignments.
7107 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7108 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7109 wcsrchr-sse2 wcsrchr-c.
7110 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7111 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7112 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7113 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7114 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7115 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7116 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7117 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7118 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7119 * wcsmbc/wcschr.c (WCSCHR): New macro.
7120
5b330a2d
UD
71212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7122
7123 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7124 * wcsmbs/test-wcsrchr.c: New file.
7125 * string/test-strrchr.c: Add wcsrchr support.
7126 (WIDE): New macro.
7127 * wcsmbs/test-wcscpy.c: New file.
7128 * string/test-strcpy.c: Add wcscpy support.
7129 (WIDE): New macro.
26428b7c 7130
f039c043
UD
71312011-12-10 Ulrich Drepper <drepper@gmail.com>
7132
7133 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7134 the inner loop.
7135
850fb039
AS
71362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7137
7138 [BZ #13472]
7139 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7140
4efbd5cb
UD
71412011-12-04 Ulrich Drepper <drepper@gmail.com>
7142
52ff5dd0 7143 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7144 Minor optimizations.
52ff5dd0 7145
4efbd5cb
UD
7146 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7147 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7148 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7149
8a426e12
UD
71502011-12-03 Ulrich Drepper <drepper@gmail.com>
7151
aff2453d
UD
7152 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7153 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7154 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7155 for gcc to avoid warnings.
7156 * inet/Makefile (tests): Add tst-checks.
7157 * inet/tst-checks.c: New file.
7158
7159 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7160 warning.
7161
7162 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7163 __wmemcmp_sse2.
7164
7165 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7166 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7167
8a426e12
UD
7168 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7169
9bea3473
UD
71702011-12-02 Ulrich Drepper <drepper@gmail.com>
7171
3a965496
UD
7172 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7173 problem.
7174
9bea3473
UD
7175 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7176
f101631b
UD
71772011-11-29 Joseph Myers <joseph@codesourcery.com>
7178
7179 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7180 conditional on GCC version.
7181 (__arch_compare_and_exchange_val_8_acq)
7182 (__arch_compare_and_exchange_val_16_acq)
7183 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7184 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7185 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7186
a98275aa
UD
71872011-12-02 Joseph Myers <joseph@codesourcery.com>
7188
7189 * sysdeps/sh/backtrace.c: New file.
7190
d4cc29a2
AS
71912011-12-02 Andreas Schwab <schwab@redhat.com>
7192
7193 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7194 parenthesis.
7195
6257af2d
AS
71962011-12-01 Andreas Schwab <schwab@redhat.com>
7197
7198 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7199 falling back to utime.
7200
b5f44c1a
AS
72012011-11-30 Andreas Schwab <schwab@redhat.com>
7202
7203 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7204 expectations for float.
7205
f3a6cc0a
AS
72062011-11-29 Andreas Schwab <schwab@redhat.com>
7207
7208 * locale/weight.h (findidx): Add parameter len.
7209 * locale/weightwc.h (findidx): Likewise.
7210 * posix/fnmatch_loop.c (FCT): Adjust caller.
7211 * posix/regcomp.c (build_equiv_class): Likewise.
7212 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7213 * posix/regexec.c (check_node_accept_bytes): Likewise.
7214 * string/strcoll_l.c (STRCOLL): Likewise.
7215 * string/strxfrm_l.c (STRXFRM): Likewise.
7216
9d65ea3a
UD
72172011-11-17 Ulrich Drepper <drepper@gmail.com>
7218
7219 * Makefile.in: Remove CVSOPT handling.
7220 * configure.in: Remove use of AC_REVISION.
7221 * iconvdata/Makefile (distribute): No need to filter out CVS.
7222 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7223 handling.
7224
5583a086
AS
72252011-11-16 Andreas Schwab <schwab@redhat.com>
7226
7227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7228 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7229 [USE_AS_STRNCASECMP_L]: Likewise.
7230 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7231 NO_TLS_DIRECT_SEG_REFS.
7232 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7233 Fix argument offsets for non-PIC.
7234 [USE_AS_STRNCASECMP_L]: Likewise.
7235 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7236 NO_TLS_DIRECT_SEG_REFS.
7237
d62a8200
UD
72382011-11-15 Ulrich Drepper <drepper@gmail.com>
7239
9d65ea3a 7240 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7241 O_CLOEXEC.
7242 * locale/loadlocale.c (_nl_load_locale): Likewise.
7243
09f93bd3
AS
72442011-11-15 Andreas Schwab <schwab@redhat.com>
7245
446514f9
AS
7246 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7247 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7248 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7249 (SYSCALL_GETTIME): Set errno on error.
7250
09f93bd3
AS
7251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7252 count references to noai6ai_cached.
7253
312be3f9
UD
72542011-11-15 Ulrich Drepper <drepper@gmail.com>
7255
7256 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7257
7258 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7259 FD_CLOEXEC for /proc/self/maps.
7260
7261 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7262 FD_CLOEXEC for /proc/meminfo.
7263
7264 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7265 gai.conf.
7266
7267 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7268 FD_CLOEXEC for given file.
7269
7270 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7271
7272 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7273 FD_CLOEXEC for /etc/hosts.
7274 (_gethtent): Likewise.
7275
7276 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7277
7278 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7279 cancellation and set FD_CLOEXEC for /etc/netgroup.
7280
7281 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7282 reading /etc/publickey.
7283
7284 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7285 allow cancellation when reading /etc/group.
7286
7287 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7288 cancellation.
7289 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7290
7291 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7292 when using data file.
7293
7294 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7295
7296 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7297 (write_nis_obj): Use "c" and "e" in fopen.
7298
7299 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7300
7301 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7302
7303 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7304
7305 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7306
7307 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7308 locale.alias.
7309
7310 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7311
7312 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7313
7314 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7315
7316 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7317 file parsing and set FD_CLOEXEC.
7318
82af0fa8
UD
73192011-11-14 Ulrich Drepper <drepper@gmail.com>
7320
7321 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7322
a5fb313c
AS
73232011-11-14 Andreas Schwab <schwab@redhat.com>
7324
7325 * malloc/arena.c (arena_get2): Don't call reused_arena when
7326 _int_new_arena failed.
7327
6abf3465
UD
73282011-11-14 Ulrich Drepper <drepper@gmail.com>
7329
7330 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7331 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7333 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7334 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7336 to compile strcasecmp and strncasecmp.
7337 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7338 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7339
7340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7341
76e3966e
UD
73422011-11-13 Ulrich Drepper <drepper@gmail.com>
7343
7344 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7345 locale-defines.sym to gen-as-const-headers.
7346 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7347 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7349 to compile strcasecmp and strncasecmp.
7350 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7351 strcasecmp_l and strncasecmp_l.
7352 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7353 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7354 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7355 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7356 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7357 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7358 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7359 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7360 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7361 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7362 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7363
ab26144e
UD
73642011-11-12 Ulrich Drepper <drepper@gmail.com>
7365
7edb22ef
UD
7366 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7367 result of SYSDEP_GETTIME_CPU to retval.
7368 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7369 parameter list to macro. Remove trailing semicolon. Adjust users.
7370
9694fc44
UD
7371 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7372 variable.
7373
8ad89ef8
UD
7374 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7375 mantissa words.
7376 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7377
0c822ef9
UD
7378 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7379 from unused variable.
7380
874e0564
UD
7381 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7382 DWARF definitions.
7383 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7384 for assembling.
7385
3a2edc79
UD
7386 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7387 over namespaces.
7388
f3c2577f
UD
7389 * sunrpc/rpc_prot.c (rejected): Fix case value.
7390
294ce126
UD
7391 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7392 unsigned long long int to avoid warnings in shift.
7393
5e2b63c6
UD
7394 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7395 of use of trans.
7396 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7397 variable tmp.
7398
e7f4b08e
UD
7399 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7400 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7401 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7402
ab26144e
UD
7403 * nis/nis_table.c (nis_list): Use variable of correct type for
7404 result of __follow_path call.
7405
8a6d5255
AZ
74062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7407
7408 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7409 of math functions ceil, trunc, floor, round, and sqrt, when
7410 avaliable on the platform.
7411 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7412 name clash.
7413 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7414 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7415 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7416
aaddc98c
MP
74172011-10-30 Marek Polacek <mpolacek@redhat.com>
7418
7419 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7420 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7421
95b7042b
RM
74222011-11-11 Roland McGrath <roland@hack.frob.com>
7423
7424 * include/unistd.h: Fix __readlink return type.
7425 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7426
57769839
UD
74272011-11-11 Ulrich Drepper <drepper@gmail.com>
7428
7429 * stdlib/ucontext.h: Undo last change for makecontext.
7430
edc5984d
AS
74312011-11-11 Andreas Schwab <schwab@redhat.com>
7432
98591e58
AS
7433 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7434
edc5984d
AS
7435 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7436 * setjmp/setjmp.h: Mark functions as non-leaf.
7437 * setjmp/bits/setjmp2.h: Likewise.
7438 * stdlib/ucontext.h: Likewise.
7439
77cdc054
AS
74402011-11-10 Andreas Schwab <schwab@redhat.com>
7441
7442 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7443 (reused_arena): Don't check arena limit.
7444 (arena_get2): Atomically check arena limit.
7445
fe72eebd
UD
74462011-11-08 Ulrich Drepper <drepper@gmail.com>
7447
5f078c32
UD
7448 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7449 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7450
fe72eebd
UD
7451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7452 instructions.
7453
ae1bc2fa
AS
74542011-11-07 Andreas Schwab <schwab@redhat.com>
7455
7583a88d
AS
7456 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7457 handler when locking.
7458
ae1bc2fa
AS
7459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7460 Fix size of allocated buffer.
7461
10fb0bfa
AS
74622011-11-04 Andreas Schwab <schwab@redhat.com>
7463
998832a4
AS
7464 [BZ #10103]
7465 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7466 declarations for long double functions.
7467 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7468
10fb0bfa
AS
7469 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7470
3d7ba52b
AS
74712011-11-03 Andreas Schwab <schwab@redhat.com>
7472
a9ae54a1
AS
7473 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7474 installed.
7475
3d7ba52b
AS
7476 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7477 is disabled.
7478
bc8db248
ST
74792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7480
7481 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7482
45b96dd6
AS
74832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7484
647776f6
AS
7485 * include/alloca.h (stackinfo_alloca_round): Define.
7486 (extend_alloca): Use it.
7487 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7488 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7489 here.
7490
d91a8b93
AS
7491 * scripts/check-local-headers.sh: Ignore libaudit.h.
7492
45b96dd6
AS
7493 * nscd/Makefile (extra-objs): Make recursively expanded.
7494
432d41ce
UD
74952011-11-01 Ulrich Drepper <drepper@gmail.com>
7496
34372fc6
UD
7497 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7499
fadb59f8
UD
7500 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7501 * posix/tst-rfc3484-2.c: Likewise.
7502 * posix/tst-rfc3484-3.c: Likewise.
7503
78239589
UD
7504 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7505 process_vm_writev.
7506 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7507 process_vm_writev.
7508 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7509 process_vm_writev from libc using GLIBC_2.15 version.
7510
432d41ce
UD
7511 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7512
02f9c6cf
PP
75132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7514
7515 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7516 stack usage.
7517
3a2c0242
UD
75182011-10-31 Ulrich Drepper <drepper@gmail.com>
7519
f4ec4833
UD
7520 [BZ #13367]
7521 * nss/getent.c (initgroups_keys): Show error message in case no group
7522 names are given.
7523
3a2c0242
UD
7524 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7525 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7526 __bump_nl_timestamp.
7527 * nscd/connections (nscd_init): When host database is served open
7528 netlink socket and request notification about configuration changes.
7529 (main_loop_poll): Track netlink file descriptor and bump timestamp
7530 in case data becomes available.
7531 (main_loop_epoll): Likewise.
7532 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7533 (database_pers_head): Add extra_data fileds.
7534 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7535 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7536 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7537 Adjust caller.
7538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7539 in6ai data, call __free_in6ai.
7540 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7541 Add -DHAVE_NETLINK.
7542 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7543 interface information. Reuse previous data if netlink timestamp
7544 is not changed.
7545 (__bump_nl_timestamp): New function.
7546 (__free_in6ai): New function.
7547
636064eb
UD
75482011-10-30 Ulrich Drepper <drepper@gmail.com>
7549
7550 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7551 close_not_cancel_no_status here.
7552 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7553
9beb2334
UD
75542011-10-29 Ulrich Drepper <drepper@gmail.com>
7555
6ef76f3b
UD
7556 [BZ #13276]
7557 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7558 return value.
7559
0ffc4f3e 7560 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7561 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7562 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7563
cb95113e
UD
75642011-07-03 Andreas Jaeger <aj@suse.de>
7565
7566 [BZ #10709]
7567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7568 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7569 * math/libm-test.inc (sin_test): Add test case.
7570
a1b560ff
UD
75712011-10-29 Ulrich Drepper <drepper@gmail.com>
7572
c9aaface
UD
7573 [BZ #13337]
7574 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7575 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7576
d272e7f1
UD
7577 * elf/chroot_canon.c (chroot_canon): Cleanups.
7578
1bc33071
UD
7579 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7580
1760874d
TJ
7581 [BZ #13335]
7582 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7583 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7584
51d91b18
UD
7585 * string/test-strchr.c: Make usable for strchrnul testing.
7586 * string/test-strchrnul.c: New file.
7587 * string/Makefile (strop-tests): Add strchrnul.
7588
a1b560ff 7589 * po/it.po: Update from translation team.
b611fb81 7590 * po/es.po: Likewise.
a1b560ff 7591
a5b81e1f
UD
75922011-10-28 Ulrich Drepper <drepper@gmail.com>
7593
fd52bc6d
UD
7594 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7595 the three constants needed as parameters. Drop the others.
7596 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7597 __m128i_strloadu_tolower.
52e4b9eb
UD
7598 Create and initialize variable zero and use it in all the places
7599 where _mm_setzero_si128 was used.
fd52bc6d 7600
a5b81e1f
UD
7601 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7602 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7603 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7604 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7605 anymore.
7606 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7607 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7608 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7609 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7610 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7611 __mpranred, __mptan.
7612 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7613 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7614 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7615 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7616 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7617 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7618 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7619 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7620 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7621
b4343346
AS
76222011-10-28 Andreas Schwab <schwab@redhat.com>
7623
0c92d8a8
AS
7624 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7625 redefine if SHARED.
7626 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7627
b4343346
AS
7628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7629 wide char related routines to wcsmbs subdir.
7630
3871f58f
AS
76312011-10-27 Andreas Schwab <schwab@redhat.com>
7632
7633 [BZ #13344]
7634 * misc/sys/cdefs.h (__THROWNL): Define.
7635 * posix/unistd.h: Use __THREADNL instead of __THREAD
7636 for memory synchronization functions.
7637
94d44d9f
RM
76382011-10-26 Roland McGrath <roland@hack.frob.com>
7639
21b64b15 7640 [BZ #13349]
94d44d9f
RM
7641 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7642 doesn't exist.
7643 * manual/stdio.texi (Obstack Streams): Node removed.
7644
f6ce9294
AS
76452011-10-26 Andreas Schwab <schwab@redhat.com>
7646
80479147
AS
7647 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7648 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7649 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7650
f6ce9294
AS
7651 * math/math_private.h (math_force_eval): Allow non-addressable
7652 arguments.
7653 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7654
618280a1
UD
76552011-10-25 Ulrich Drepper <drepper@gmail.com>
7656
e0016b11
UD
7657 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7658 file is not needed.
7659
7660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7667 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7668 Add AVX variants.
7669 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7670 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7671 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7672 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7673 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7674 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7675 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7676 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7677 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7678 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7679 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7680 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7681 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7682 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7683 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7684 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7685 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7687 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7688
7689 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7690 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7691
618280a1
UD
7692 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7693 place. Use VEX encoding when compiling for AVX.
7694
37822576
AS
76952011-10-25 Andreas Schwab <schwab@redhat.com>
7696
1f1e1947
AS
7697 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7698 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7699
37822576
AS
7700 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7701
31ea014d
UD
77022011-10-25 Ulrich Drepper <drepper@gmail.com>
7703
d7826aa1 7704 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7705 useless if() expression.
d7826aa1
UD
7706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7710 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7715 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7716 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7717 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7719 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7720 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7724 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7725
31ea014d
UD
7726 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7727
16437fec
AS
77282011-10-25 Andreas Schwab <schwab@redhat.com>
7729
7730 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7731 condition.
7732 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7733
31d3cc00
UD
77342011-10-25 Ulrich Drepper <drepper@gmail.com>
7735
7736 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7737 .text section. Avoid duplicate constants.
7738 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7748 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7750 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7753 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7755 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7762 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7763 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7764 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7765 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7766 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7767 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7768 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7769 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7770 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7771 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7775 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7776 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7777 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7778 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7779 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7780 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7781 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7783
58985aa9
UD
77842011-10-24 Ulrich Drepper <drepper@gmail.com>
7785
202c9deb
UD
7786 * sysdeps/x86_64/dla.h: Move to ...
7787 * sysdeps/x86_64/fpu/dla.h: ...here.
7788 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7789 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7790
af968f62
UD
7791 * config.make.in: Add have-mfma4 entry.
7792 * configure.in: Substitute libc_cv_cc_fma4.
7793 * math/Makefile (dbl-only-routines): Add sincostab.
7794 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7795 Use __sincostab not sincos.
7796 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7797 name is a macro.
7798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7802 using __copysign.
7803 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7804 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7805 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7806 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7807 and __inv.
7808 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7809 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7810 __copysign.
7811 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7812 define aliases when function name is a macro.
7813 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7814 sysdeps/ieee754/dbl-64/sincos.tbl.
7815 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7816 fma4-enabled routines.
7817 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7818 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7819 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7820 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7821 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7822 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7823 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7824 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7825 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7826 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7827 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7828 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7829 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7830 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7832 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7833 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7834 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7835 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7837 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7838 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7839 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7844 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7845 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7846 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7847
58985aa9
UD
7848 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7849 rename.
7850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7858
a201fbcf
AS
78592011-10-24 Andreas Schwab <schwab@redhat.com>
7860
7861 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7862
fc2ee42a
LD
78632011-10-23 Ulrich Drepper <drepper@gmail.com>
7864
bb3129bd
UD
7865 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7866
0275fff8
UD
7867 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7868 prediction.
7869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7870
2fa2ae85
UD
7871 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7872 Remove unused variable magic_bits.
7873 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7874
fc2ee42a
LD
7875 * string/strnlen.c: Define and use STRNLEN macro.
7876 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7877 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7878 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7879 * wcsmbs/wcslen.c: Define and use WCSLEN.
7880 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7881 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7882 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7883 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7884 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7885 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7886 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7887
ce7dd29f
LD
78882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7889
7890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7891 strnlen-sse2-no-bsf.
7892 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7893 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7894 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7895 Add strnlen support.
7896 (USE_AS_STRNLEN): New macro.
7897 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7898 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7899 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7900 * sysdeps/x86_64/wcslen.S: New file.
7901
979c70a3
MZ
79022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7903
7904 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7905 XMM-moves are used for copying on small sizes.
7906
2d09f82f
LD
79072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7908
7909 * wcsmbs/Makefile (strop-tests): Add wcschr.
7910 * wcsmbs/test-wcschr.c: New file.
7911 * string/test-strchr.c: Update.
7912 Add wcschr support.
7913 (WIDE): New macro.
7914
619fccca
LD
79152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7916
2d09f82f 7917 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7918 * wcsmbs/test-wcslen.c: New file.
7919 * string/test-strlen.c: Update.
7920 Add wcslen support.
7921 (WIDE): New macro.
7922
09f699ea
UD
79232011-10-23 Ulrich Drepper <drepper@gmail.com>
7924
7925 * po/it.po: Update from translation team.
7926
95584d3b
LD
79272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7928
7929 * sysdeps/x86_64/wcscmp.S: Update.
7930 Fix wrong comparison semantics.
7931 wcscmp shall use signed comparison not unsigned.
7932 Don't use substraction to avoid overflow bug.
7933 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7934 * wcsmbc/wcscmp.c: Likewise.
7935 * string/test-strcmp.c: Likewise.
7936 Add new tests to check cases with negative values.
7937
c8b3296b
UD
79382011-10-23 Ulrich Drepper <drepper@gmail.com>
7939
7940 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7941 * sysdeps/x86_64/dla.h: ...here. New file.
7942 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7951
246ad57a
AS
79522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7953
7954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7955 __ynl_finite aliases.
7956
a1a87169
UD
79572011-10-22 Ulrich Drepper <drepper@gmail.com>
7958
0d355eb7
UD
7959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7960
a1a87169
UD
7961 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7962 define DLA_FMA.
7963 [DLA_FMA] (EMULV): Use DLA_FMA.
7964 [DLA_FMA] (MUL12): Use EMULV.
7965 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7966 that are not needed.
7967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7974
ee2aafe0
AS
79752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7976
7977 * math/s_nan.c: Undef __nan.
7978 * math/s_nanf.c: Undef __nanf.
7979 * math/s_nanl.c: Undef __nanl.
7980 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7981 "math_private.h".
7982
bc62c2fb
UD
79832011-10-22 Ulrich Drepper <drepper@gmail.com>
7984
77425c63
UD
7985 * math/s_catan.c: Add branch predictions.
7986 * math/s_catanf.c: Likewise.
7987 * math/s_catanh.c: Likewise.
7988 * math/s_catanhf.c: Likewise.
7989 * math/s_catanhl.c: Likewise.
7990 * math/s_catanl.c: Likewise.
7991 * math/s_cexp.c: Likewise.
7992 * math/s_cexpf.c: Likewise.
7993 * math/s_cexpl.c: Likewise.
7994 * math/s_clog.c: Likewise.
7995 * math/s_clog10.c: Likewise.
7996 * math/s_clog10f.c: Likewise.
7997 * math/s_clog10l.c: Likewise.
7998 * math/s_clogf.c: Likewise.
7999 * math/s_clogl.c: Likewise.
8000 * math/s_csqrt.c: Likewise.
8001 * math/s_csqrtf.c: Likewise.
8002 * math/s_csqrtl.c: Likewise.
8003 * math/s_ctanf.c: Likewise.
8004 * math/s_ctanh.c: Likewise.
8005 * math/s_ctanhf.c: Likewise.
8006 * math/s_ctanhl.c: Likewise.
8007 * math/s_ctanl.c: Likewise.
8008
bc62c2fb
UD
8009 * math/math_private.h: Define __nan, __nanf, __nanl.
8010 * math/s_cacosh.c: Include <math_private.h>.
8011 * math/s_cacoshl.c: Likewise.
8012 * math/s_casinh.c: Likewise.
8013 * math/s_casinhf.c: Likewise.
8014 * math/s_casinhl.c: Likewise.
8015 * math/s_ccos.c: Rely entire on ccosh.
8016 * math/s_ccosf.c: Rely entire on ccoshf.
8017 * math/s_ccosl.c: Rely entirely on ccoshl.
8018 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8019 Remove tests for FE_INVALID.
8020 * math/s_ccoshf.c: Likewise.
8021 * math/s_ccoshl.c: Likewise.
8022 * math/s_csin.c: Likewise.
8023 * math/s_csinf.c: Likewise.
8024 * math/s_csinh.c Likewise.
8025 * math/s_csinhf.c: Likewise.
8026 * math/s_csinhl.c: Likewise.
8027 * math/s_csinl.c: Likewise.
8028 * math/s_ctan.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8030 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8031 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8032
8ec250a4
UD
80332011-10-21 Ulrich Drepper <drepper@gmail.com>
8034
c196fed8
UD
8035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8036 compilation problems.
8037
8ec250a4
UD
8038 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8039 __builtin_expect.
8040
8d4f46c6
UD
80412011-10-20 Ulrich Drepper <drepper@gmail.com>
8042
ed72b654
UD
8043 * sysdeps/i386/configure.in: Test for -mfma4 option.
8044 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8045 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8046 COMMON_CPUID_INDEX_80000001.
8047 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8048 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8049 use it if FMA3 is not supported.
8050 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8051
8d4f46c6
UD
8052 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8053 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8054
d45c60c2
AS
80552011-10-20 Andreas Schwab <schwab@redhat.com>
8056
8057 [BZ #12892]
8058 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8059 it would create a cycle with a link time dependency.
8060
d9a4d2ab
UD
80612011-10-19 Ulrich Drepper <drepper@gmail.com>
8062
855d1560
UD
8063 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8064 instruction.
8065 * string/Makefile (strop-tests): Add rawmemchr.
8066 * string/test-rawmemchr.c: New file.
8067
d9a4d2ab
UD
8068 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8070 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8071 when compiling str{,n}casecmp and when AVX is available. Hook up
8072 new optimized code in initializers.
8073
8f3b1ffe
AS
80742011-10-19 Andreas Schwab <schwab@redhat.com>
8075
8076 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8077 __feraiseexcept instead of feraiseexcept.
8078
d38f1dba
UD
80792011-10-18 Ulrich Drepper <drepper@gmail.com>
8080
d9a8d0ab
UD
8081 * math/math_private.h: Define defaults for libc_fetestexcept and
8082 libc_feupdateenv.
8083 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8084 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8086 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8087 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8088 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8089 libc_fetestexcept and libc_feupdateenv.
8090
4855e3dd
UD
8091 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8092 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8093 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8094 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8095 libc_feholdexcept_setround.
8096
581d30e3
UD
8097 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8098 Add s_nearbyint-c and s_nearbyintf-c.
8099 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8100 nearbyintf inlines.
8101 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8103 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8104 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8105
d38f1dba
UD
8106 * math/math_private.h: Define defaults for libc_fegetround,
8107 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8108 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8109 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8110 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8111 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8112 standard functions.
8113 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8114 Remove comments and hacks for old compiler versions.
8115 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8116 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8117 libc_feholdexceptl.
8118
caa6c9d8
AS
81192011-10-18 Andreas Schwab <schwab@redhat.com>
8120
8121 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8122 (__feraiseexcept_renamed): Add __NTH.
8123 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8124 namespace violations.
8125
97c066e6
UD
81262011-10-17 Ulrich Drepper <drepper@gmail.com>
8127
99ce7b04
UD
8128 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8129
1004d182
UD
8130 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8131
228a984d
UD
8132 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8133 recently added interfaces.
8134 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8135
c8553a6a
UD
8136 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8137 about macro parameter expansion.
8138
ed22dcf6
UD
8139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8140 __NO_MATH_INLINES is defined. Cleanups.
8141
8142 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8143 and __floorf is target has SSE4.1.
8144 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8145 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8146 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8147 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8148
b171c137
UD
8149 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8150 name.
8151 (floorf): Likewise.
8152
97c066e6
UD
8153 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8154
629f62ef
AS
81552011-10-17 Andreas Schwab <schwab@redhat.com>
8156
49a43d80
AS
8157 * misc/sys/cdefs.h: Fix last change.
8158
629f62ef
AS
8159 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8160 database lookup.
8161
e453f6cd
UD
81622011-10-16 Ulrich Drepper <drepper@gmail.com>
8163
aa78043a
UD
8164 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8165
ad0f5cad
UD
8166 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8172 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8173 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8174 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8175 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8176 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8177 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8178 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8179 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8180 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8181 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8182 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8183 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8184 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8185 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8186 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8187 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8188
8189 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8190 ceil, ceilf, floor, floorf.
8191
8192 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8193 Perform IRELATIVE relocations last.
8194
e453f6cd
UD
8195 * elf/do-rel.h: Add another parameter nrelative, replacing the
8196 local variable with the same name. Change name of the function
8197 to end in Rel or Rela (uppercase).
8198 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8199 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8200 elf_dynamic_do_##reloc function.
8201
fd5bdc09
UD
82022011-10-15 Ulrich Drepper <drepper@gmail.com>
8203
79b195b5
UD
8204 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8205 is sufficient, at least on modern CPUs.
8206
d4a28569
UD
8207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8208
b61099b5
UD
8209 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8210 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8211
bcf01e6d
UD
8212 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8213 __expl_finite.
8214 * math/bits/math-finite.h: Add entries for exp.
8215 * math/e_expl.c: Add __*_finite alias.
8216 * sysdeps/i386/fpu/e_exp.S: Likewise.
8217 * sysdeps/i386/fpu/e_expf.S: Likewise.
8218 * sysdeps/i386/fpu/e_expl.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8220 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8224 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8225 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8226
ba1a0d59
UD
8227 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8228 is sufficient, at least on modern CPUs.
8229
fd5bdc09
UD
8230 * ctype/ctype-info.c (__ctype_init): Define.
8231 * include/ctype.h (__ctype_init): Declare.
8232 (__ctype_b_loc): The variable is always initialized.
8233 (__ctype_toupper_loc): Likewise.
8234 (__ctype_tolower_loc): Likewise.
8235 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8236 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8237
7872cfb0
AS
82382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8239
b468825a
AS
8240 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8241
7872cfb0
AS
8242 * configure.in: Also look in $cxxmachine/include for C++ system
8243 headers.
8244
be13f7bf
LD
82452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8246
8247 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8248 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8249 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8250 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8251 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8252 (USE_AS_WMEMCMP): New macro.
8253 Fixing indents.
8254 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8255 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8256 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8257 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8259 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8260 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8261 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8262 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8263 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8264 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8265 (USE_AS_WMEMCMP): New macro.
8266 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8267 * sysdeps/string/test-memcmp.c: Update.
8268 Fix simple_wmemcmp.
8269 Add new tests.
8270 * wcsmbs/wmemcmp.c: Update.
8271 (WMEMCMP): New macro.
8272 Fix overflow bug.
8273
556a2007
AJ
82742011-10-12 Andreas Jaeger <aj@suse.de>
8275
8276 [BZ #13268]
8277 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8278
538faaa7
UD
82792011-10-15 Ulrich Drepper <drepper@gmail.com>
8280
ab6737ff
UD
8281 * libio/iofwide.c (do_length): Avoid warning.
8282
538faaa7
UD
8283 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8284
396a21b1
UD
82852011-10-14 Ulrich Drepper <drepper@gmail.com>
8286
cdf2901f
UD
8287 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8288
38ad40ce
UD
8289 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8290 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8291 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8292 * sysdeps/i386/i686/fpu/e_log.S: New file.
8293 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8294 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8295
396a21b1
UD
8296 * ctype/ctype.h: Add support for inlined isXXX functions when
8297 compiling C++ code.
8298
6b1f68c9
AS
82992011-10-14 Andreas Schwab <schwab@redhat.com>
8300
349290c0
AS
8301 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8302
6b1f68c9
AS
8303 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8304
f2282d42
RM
83052011-10-13 Roland McGrath <roland@hack.frob.com>
8306
8307 [BZ #13291]
8308 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8309
5298ffa8
AS
83102011-10-13 Andreas Schwab <schwab@redhat.com>
8311
714fad23
AS
8312 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8313 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8314 feraiseexcept.
8315
81dcc7fb
AS
8316 * sysdeps/x86_64/memrchr.S: Check for zero size.
8317
5298ffa8
AS
8318 * string/stratcliff.c: Add memrchr tests.
8319
951fbcec
LD
83202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8321
8322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8323 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8324 rawmemchr-sse2 rawmemchr-sse2-bsf.
8325 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8326 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8327 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8328 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8329 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8330 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8331 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8332 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8333 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8334 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8335 * string/memrchr.c (MEMRCHR): New macro.
8336
0ac5ae23
UD
83372011-10-12 Ulrich Drepper <drepper@gmail.com>
8338
8339 Add integration with gcc's -ffinite-math-only and optimize wrapper
8340 functions in libm.
8341 * Versions.def: Define GLIBC_2.15 version for libm.
8342 * math/Makefile (headers): Add bits/math-finite.h.
8343 * math/bits/math-finite.h: New file.
8344 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8345 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8346 * math/e_acoshl.c: Add __*_finite alias.
8347 * math/e_acosl.c: Likewise.
8348 * math/e_asinl.c: Likewise.
8349 * math/e_atan2l.c: Likewise.
8350 * math/e_atanhl.c: Likewise.
8351 * math/e_coshl.c: Likewise.
8352 * math/e_exp10.c: Likewise.
8353 * math/e_exp10f.c: Likewise.
8354 * math/e_exp10l.c: Likewise.
8355 * math/e_exp2l.c: Likewise.
8356 * math/e_fmodl.c: Likewise.
8357 * math/e_gammal_r.c: Likewise.
8358 * math/e_hypotl.c: Likewise.
8359 * math/e_j0l.c: Likewise.
8360 * math/e_j1l.c: Likewise.
8361 * math/e_jnl.c: Likewise.
8362 * math/e_lgammal_r.c: Likewise.
8363 * math/e_log10l.c: Likewise.
8364 * math/e_log2l.c: Likewise.
8365 * math/e_logl.c: Likewise.
8366 * math/e_powl.c: Likewise.
8367 * math/e_sinhl.c: Likewise.
8368 * math/e_sqrtl.c: Likewise.
8369 * math/e_scalb.c: Completely rewritten and optimized.
8370 * math/e_scalbf.c: Likewise.
8371 * math/e_scalbl.c: Likewise.
8372 * math/w_acos.c: Likewise.
8373 * math/w_acosf.c: Likewise.
8374 * math/w_acosl.c: Likewise.
8375 * math/w_acosh.c: Likewise.
8376 * math/w_acoshf.c: Likewise.
8377 * math/w_acoshl.c: Likewise.
8378 * math/w_asin.c: Likewise.
8379 * math/w_asinf.c: Likewise.
8380 * math/w_asinl.c: Likewise.
8381 * math/w_atan2.c: Likewise.
8382 * math/w_atan2f.c: Likewise.
8383 * math/w_atan2l.c: Likewise.
8384 * math/w_atanh.c: Likewise.
8385 * math/w_atanhf.c: Likewise.
8386 * math/w_atanhl.c: Likewise.
8387 * math/w_exp10.c: Likewise.
8388 * math/w_exp10f.c: Likewise.
8389 * math/w_exp10l.c: Likewise.
8390 * math/w_fmod.c: Likewise.
8391 * math/w_fmodf.c: Likewise.
8392 * math/w_fmodl.c: Likewise.
8393 * math/w_j0.c: Likewise.
8394 * math/w_j0f.c: Likewise.
8395 * math/w_j0l.c: Likewise.
8396 * math/w_j1.c: Likewise.
8397 * math/w_j1f.c: Likewise.
8398 * math/w_j1l.c: Likewise.
8399 * math/w_jn.c: Likewise.
8400 * math/w_jnf.c: Likewise.
8401 * math/w_log.c: Likewise.
8402 * math/w_logf.c: Likewise.
8403 * math/w_logl.c: Likewise.
8404 * math/w_log10.c: Likewise.
8405 * math/w_log10f.c: Likewise.
8406 * math/w_log10l.c: Likewise.
8407 * math/w_log2.c: Likewise.
8408 * math/w_log2f.c: Likewise.
8409 * math/w_log2l.c: Likewise.
8410 * math/w_pow.c: Likewise.
8411 * math/w_powf.c: Likewise.
8412 * math/w_powl.c: Likewise.
8413 * math/w_remainder.c: Likewise.
8414 * math/w_remainderf.c: Likewise.
8415 * math/w_remainderl.c: Likewise.
8416 * math/w_scalb.c: Likewise.
8417 * math/w_scalbf.c: Likewise.
8418 * math/w_scalbl.c: Likewise.
8419 * math/w_sqrt.c: Likewise.
8420 * math/w_sqrtf.c: Likewise.
8421 * math/w_sqrtl.c: Likewise.
8422 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8423 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8424 used.
8425 * math/math_private.h: Declare __kernel_standard_f.
8426 * math/w_cosh.c: Remove cruft and optimize a bit.
8427 * math/w_coshf.c: Likewise.
8428 * math/w_coshl.c: Likewise.
8429 * math/w_exp2.c: Likewise.
8430 * math/w_exp2f.c: Likewise.
8431 * math/w_exp2l.c: Likewise.
8432 * math/w_hypot.c: Likewise.
8433 * math/w_hypotf.c: Likewise.
8434 * math/w_hypotl.c: Likewise.
8435 * math/w_lgamma.c: Likewise.
8436 * math/w_lgamma_r.c: Likewise.
8437 * math/w_lgammaf.c: Likewise.
8438 * math/w_lgammaf_r.c: Likewise.
8439 * math/w_lgammal.c: Likewise.
8440 * math/w_lgammal_r.c: Likewise.
8441 * math/w_sinh.c: Likewise.
8442 * math/w_sinhf.c: Likewise.
8443 * math/w_sinhl.c: Likewise.
8444 * math/w_tgamma.c: Likewise.
8445 * math/w_tgammaf.c: Likewise.
8446 * math/w_tgammal.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8449 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8450 Minor optimizations. Pretty printing. Remove cruft.
8451 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8452 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8453 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8454 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8455 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8456 * sysdeps/i386/fpu/e_asin.S: Likewise.
8457 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8458 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8459 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8460 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8461 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8462 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8463 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8464 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8465 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8466 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8467 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8468 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8469 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8470 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8471 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8472 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8473 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8474 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8475 * sysdeps/i386/fpu/e_log.S: Likewise.
8476 * sysdeps/i386/fpu/e_log10.S: Likewise.
8477 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8478 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8479 * sysdeps/i386/fpu/e_log2.S: Likewise.
8480 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8481 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8482 * sysdeps/i386/fpu/e_logf.S: Likewise.
8483 * sysdeps/i386/fpu/e_logl.S: Likewise.
8484 * sysdeps/i386/fpu/e_pow.S: Likewise.
8485 * sysdeps/i386/fpu/e_powf.S: Likewise.
8486 * sysdeps/i386/fpu/e_powl.S: Likewise.
8487 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8488 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8489 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8490 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8492 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8493 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8494 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8495 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8517 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8518 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8519 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8520 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8521 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8522 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8523 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8524 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8525 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8526 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8527 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8528 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8529 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8530 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8531 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8532 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8533 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8536 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8537 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8576 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8579 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8581 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8584 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8587 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8588 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8589 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8590 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8592 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8593 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8594 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8595 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8596 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8597 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8598 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8599 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8600 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8601 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8602 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8603 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8604 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8605 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8606 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8607 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8608 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8609 (__isnanf): Likewise.
8610 (__isinf_ns): Likewise.
8611 (__isinf_nsf): Likewise.
8612 (__finite): Likewise.
8613 (__finitef): Likewise.
8614 (__ieee754_sqrt): Define as macro.
8615 (__ieee754_sqrtf): Define as macro.
8616 (__ieee754_sqrtl): Define as macro.
8617 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8618 inlined copy.
8619 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8620 __FINITE_MATH_ONLY__ consistent.
8621 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8622
12cc2fcd
AS
86232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8624
a843a204
AS
8625 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8626 of rawmemchr.
8627
12cc2fcd
AS
8628 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8629
c853acd5
UD
86302011-10-09 Ulrich Drepper <drepper@gmail.com>
8631
8632 * po/ja.po: Update from translation team.
8633
c658d255
RM
86342011-10-08 Roland McGrath <roland@hack.frob.com>
8635
110946e4
RM
8636 * locale/programs/locarchive.c (prepare_address_space): New function.
8637 (create_archive, enlarge_archive, open_archive): Use it.
8638
50604220
RM
8639 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8640 inside [SHARED], where it is used.
8641
c658d255
RM
8642 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8643
8644 * nss/getent.c (netgroup_keys): Remove unused variable.
8645 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8646
6a621eb7
UD
86472011-10-08 Ulrich Drepper <drepper@gmail.com>
8648
7edb55ce
UD
8649 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8652 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8653 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8654 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8655 * math/Makefile (libm-calls): Add s_isinf_ns.
8656 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8657 * math/multc3.c: Likewise.
8658 * math/s_casin.c: Likewise.
8659 * math/s_casinf.c: Likewise.
8660 * math/s_casinl.c: Likewise.
8661 * math/s_ccos.c: Likewise.
8662 * math/s_ccosf.c: Likewise.
8663 * math/s_ccosl.c: Likewise.
8664 * math/s_ctan.c: Likewise.
8665 * math/s_ctanf.c: Likewise.
8666 * math/s_ctanh.c: Likewise.
8667 * math/s_ctanhf.c: Likewise.
8668 * math/s_ctanhl.c: Likewise.
8669 * math/s_ctanl.c: Likewise.
8670 * math/w_fmod.c: Likewise.
8671 * math/w_fmodf.c: Likewise.
8672 * math/w_fmodl.c: Likewise.
8673 * math/w_remainder.c: Likewise.
8674 * math/w_remainderf.c: Likewise.
8675 * math/w_remainderl.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8677 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8678 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8680 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8681 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8682 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8683 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8684
187da0ae
UD
8685 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8686 of the number.
8687 * stdio-common/printf_fphex.c: Likewise.
8688 * stdio-common/printf_size.c: Likewise.
8689
9277c064
UD
8690 * math/e_exp10.c: Include math_private.h using <...> not "...".
8691 * math/e_exp10f.c: Likewise.
8692 * math/e_exp10l.c: Likewise.
8693 * math/e_exp2l.c: Likewise.
8694 * math/e_j0l.c: Likewise.
8695 * math/e_j1l.c: Likewise.
8696 * math/e_jnl.c: Likewise.
8697 * math/e_lgammal_r.c: Likewise.
8698 * math/e_rem_pio2l.c: Likewise.
8699 * math/e_scalb.c: Likewise.
8700 * math/e_scalbf.c: Likewise.
8701 * math/e_scalbl.c: Likewise.
8702 * math/k_cosl.c: Likewise.
8703 * math/k_sinl.c: Likewise.
8704 * math/k_tanl.c: Likewise.
8705 * math/s_cacoshf.c: Likewise.
8706 * math/s_catan.c: Likewise.
8707 * math/s_catanf.c: Likewise.
8708 * math/s_catanh.c: Likewise.
8709 * math/s_catanhf.c: Likewise.
8710 * math/s_catanhl.c: Likewise.
8711 * math/s_catanl.c: Likewise.
8712 * math/s_ccosh.c: Likewise.
8713 * math/s_ccoshf.c: Likewise.
8714 * math/s_ccoshl.c: Likewise.
8715 * math/s_cexp.c: Likewise.
8716 * math/s_cexpf.c: Likewise.
8717 * math/s_cexpl.c: Likewise.
8718 * math/s_clog.c: Likewise.
8719 * math/s_clog10.c: Likewise.
8720 * math/s_clog10f.c: Likewise.
8721 * math/s_clog10l.c: Likewise.
8722 * math/s_clogf.c: Likewise.
8723 * math/s_clogl.c: Likewise.
8724 * math/s_csin.c: Likewise.
8725 * math/s_csinf.c: Likewise.
8726 * math/s_csinh.c: Likewise.
8727 * math/s_csinhf.c: Likewise.
8728 * math/s_csinhl.c: Likewise.
8729 * math/s_csinl.c: Likewise.
8730 * math/s_csqrt.c: Likewise.
8731 * math/s_csqrtf.c: Likewise.
8732 * math/s_csqrtl.c: Likewise.
8733 * math/s_ctan.c: Likewise.
8734 * math/s_ctanf.c: Likewise.
8735 * math/s_ctanh.c: Likewise.
8736 * math/s_ctanhf.c: Likewise.
8737 * math/s_ctanhl.c: Likewise.
8738 * math/s_ctanl.c: Likewise.
8739 * math/s_ldexp.c: Likewise.
8740 * math/s_ldexpf.c: Likewise.
8741 * math/s_ldexpl.c: Likewise.
8742 * math/s_significand.c: Likewise.
8743 * math/s_significandf.c: Likewise.
8744 * math/s_significandl.c: Likewise.
8745 * math/w_acos.c: Likewise.
8746 * math/w_acosf.c: Likewise.
8747 * math/w_acosh.c: Likewise.
8748 * math/w_acoshf.c: Likewise.
8749 * math/w_acoshl.c: Likewise.
8750 * math/w_acosl.c: Likewise.
8751 * math/w_asin.c: Likewise.
8752 * math/w_asinf.c: Likewise.
8753 * math/w_asinl.c: Likewise.
8754 * math/w_atan2.c: Likewise.
8755 * math/w_atan2f.c: Likewise.
8756 * math/w_atan2l.c: Likewise.
8757 * math/w_atanh.c: Likewise.
8758 * math/w_atanhf.c: Likewise.
8759 * math/w_atanhl.c: Likewise.
8760 * math/w_cosh.c: Likewise.
8761 * math/w_coshf.c: Likewise.
8762 * math/w_coshl.c: Likewise.
8763 * math/w_dremf.c: Likewise.
8764 * math/w_exp10.c: Likewise.
8765 * math/w_exp10f.c: Likewise.
8766 * math/w_exp10l.c: Likewise.
8767 * math/w_exp2.c: Likewise.
8768 * math/w_exp2f.c: Likewise.
8769 * math/w_fmod.c: Likewise.
8770 * math/w_fmodf.c: Likewise.
8771 * math/w_fmodl.c: Likewise.
8772 * math/w_hypot.c: Likewise.
8773 * math/w_hypotf.c: Likewise.
8774 * math/w_hypotl.c: Likewise.
8775 * math/w_j0.c: Likewise.
8776 * math/w_j0f.c: Likewise.
8777 * math/w_j0l.c: Likewise.
8778 * math/w_j1.c: Likewise.
8779 * math/w_j1f.c: Likewise.
8780 * math/w_j1l.c: Likewise.
8781 * math/w_jn.c: Likewise.
8782 * math/w_jnf.c: Likewise.
8783 * math/w_jnl.c: Likewise.
8784 * math/w_lgamma.c: Likewise.
8785 * math/w_lgamma_r.c: Likewise.
8786 * math/w_lgammaf.c: Likewise.
8787 * math/w_lgammaf_r.c: Likewise.
8788 * math/w_lgammal.c: Likewise.
8789 * math/w_lgammal_r.c: Likewise.
8790 * math/w_log.c: Likewise.
8791 * math/w_log10.c: Likewise.
8792 * math/w_log10f.c: Likewise.
8793 * math/w_log10l.c: Likewise.
8794 * math/w_log2.c: Likewise.
8795 * math/w_log2f.c: Likewise.
8796 * math/w_log2l.c: Likewise.
8797 * math/w_logf.c: Likewise.
8798 * math/w_logl.c: Likewise.
8799 * math/w_pow.c: Likewise.
8800 * math/w_powf.c: Likewise.
8801 * math/w_powl.c: Likewise.
8802 * math/w_remainder.c: Likewise.
8803 * math/w_remainderf.c: Likewise.
8804 * math/w_remainderl.c: Likewise.
8805 * math/w_scalb.c: Likewise.
8806 * math/w_scalbf.c: Likewise.
8807 * math/w_scalbl.c: Likewise.
8808 * math/w_sinh.c: Likewise.
8809 * math/w_sinhf.c: Likewise.
8810 * math/w_sinhl.c: Likewise.
8811 * math/w_sqrt.c: Likewise.
8812 * math/w_sqrtf.c: Likewise.
8813 * math/w_sqrtl.c: Likewise.
8814 * math/w_tgamma.c: Likewise.
8815 * math/w_tgammaf.c: Likewise.
8816 * math/w_tgammal.c: Likewise.
8817
6a621eb7
UD
8818 * po/ja.po: Update from translation team.
8819
bf582445
AJ
88202011-09-29 Andreas Jaeger <aj@suse.de>
8821
f9efbf3a
AJ
8822 [BZ #13179]
8823 * sunrpc/netname.c (netname2host): Fix logic.
8824
bf582445
AJ
8825 [BZ #6779]
8826 [BZ #6783]
8827 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8828 correctly.
8829 * math/w_remainder.c (__remainder): Likewise.
8830 * math/w_remainderf.c (__remainderf): Likewise.
8831 * math/libm-test.inc (remainder_test): Add test cases.
8832
48693bea
AK
88332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8834
8835 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8836 sdiv_qrnnd.
8837
42622229
LD
88382011-10-07 Ulrich Drepper <drepper@gmail.com>
8839
8840 * string/test-memcmp.c: Avoid unncessary #defines.
8841 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8842
093ecf92
LD
88432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8844
8845 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8846 Use new sse2 version for core i3 - i7 as it's faster
8847 than sse42 version.
8848 (bit_Prefer_PMINUB_for_stringop): New.
8849 * sysdeps/x86_64/rawmemchr.S: Update.
8850 Replace with faster SSE2 version.
8851 * sysdeps/x86_64/memrchr.S: New file.
8852 * sysdeps/x86_64/memchr.S: Update.
8853 Replace with faster SSE2 version.
8854
fde56e5c
MP
88552011-09-12 Marek Polacek <mpolacek@redhat.com>
8856
8857 * elf/dl-load.c (lose): Add cast to avoid warning.
8858
21fd49a9
UD
88592011-10-07 Ulrich Drepper <drepper@gmail.com>
8860
5a06e643
UD
8861 * po/ca.po: Update from translation team.
8862
684ae515
UD
8863 * inet/getnetgrent_r.c: Hook up nscd.
8864 * nscd/Makefile (routines): Add nscd_netgroup.
8865 (nscd-modules): Add netgroupcache.
8866 (CFLAGS-netgroupcache.c): Define.
8867 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8868 (cache_search): Add const to second parameter.
8869 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8870 INNETGR.
8871 (dbs): Add netgrdb entry.
8872 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8873 (verify_persistent_db): Handle netgrdb.
8874 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8875 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8876 GETFDNETGR.
8877 (netgroup_response_header): Define.
8878 (innetgroup_response_header): Define.
8879 (datahead): Add netgroup_response_header and innetgroup_response_header
8880 elements.
8881 * nscd/nscd.conf: Add entries for netgroup cache.
8882 * nscd/nscd.h (dbtype): Add netgrdb.
8883 (_PATH_NSCD_NETGROUP_DB): Define.
8884 (netgroup_iov_disabled): Declare.
8885 (xmalloc, xcalloc, xrealloc): Move declarations here.
8886 (cache_search): Adjust prototype.
8887 Add netgroup-related prototypes.
8888 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8889 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8890 (__nscd_innetgr): Declare.
8891 * nscd/selinux.c (perms): Use access_vector_t as element type and
8892 add netgroup-related initializers.
8893 * nscd/netgroupcache.c: New file.
8894 * nscd/nscd_netgroup.c: New file.
8895 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8896 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8897 For four parameters use innetgr.
8898 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8899 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8900 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8901 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8902
21fd49a9
UD
8903 * nscd/connections.c (register_traced_file): Don't register file
8904 for disabled databases.
8905
054c0457
UD
89062011-10-06 Ulrich Drepper <drepper@gmail.com>
8907
32b63198
UD
8908 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8909
054c0457
UD
8910 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8911 from tree and freeing node.
8912
64031225
JO
89132011-09-25 Jiri Olsa <jolsa@redhat.com>
8914
8915 * nss/nsswitch.c (__nss_database_lookup): Handle
8916 nss_parse_service_list out of memory case.
8917
0490345c
JO
89182011-09-15 Jiri Olsa <jolsa@redhat.com>
8919
8920 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8921 out of memory case.
8922
3a62d00d
AS
89232011-10-04 Andreas Schwab <schwab@redhat.com>
8924
8925 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8926 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8927 pass it down.
8928 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8929 elf_machine_rela, elf_machine_lazy_rel.
8930 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8931 (ELF_DYNAMIC_DO_REL): Likewise.
8932 (ELF_DYNAMIC_DO_RELA): Likewise.
8933 (ELF_DYNAMIC_RELOCATE): Likewise.
8934 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8935 to ELF_DYNAMIC_DO_REL.
8936 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8937 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8938 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8939 elf_machine_rela.
8940 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8941 skip_ifunc, don't call ifunc function if non-zero.
8942 (elf_machine_rela): Likewise.
8943 (elf_machine_lazy_rel): Likewise.
8944 (elf_machine_lazy_rela): Likewise.
8945 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8946 (elf_machine_lazy_rel): Likewise.
8947 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8948 Likewise.
8949 (elf_machine_lazy_rel): Likewise.
8950 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8951 Likewise.
8952 (elf_machine_lazy_rel): Likewise.
8953 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8954 (elf_machine_lazy_rel): Likewise.
8955 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8956 (elf_machine_lazy_rel): Likewise.
8957 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8958 (elf_machine_lazy_rel): Likewise.
8959 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8960 (elf_machine_lazy_rel): Likewise.
8961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8962 (elf_machine_lazy_rel): Likewise.
8963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8964 (elf_machine_lazy_rel): Likewise.
8965
68577918
UD
89662011-09-28 Ulrich Drepper <drepper@gmail.com>
8967
8968 * nss/nss_files/files-init.c (_nss_files_init): Use static
8969 initialization for all the *_traced_file variables.
8970
68822d74
AS
89712011-09-28 Andreas Schwab <schwab@redhat.com>
8972
8973 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8974
2056100b
RM
89752011-09-27 Roland McGrath <roland@hack.frob.com>
8976
8977 [BZ #13226]
8978 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8979
32c76b63
AS
89802011-09-27 Andreas Schwab <schwab@redhat.com>
8981
8982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8983 Reread the line before reparsing it.
8984
bf972c9d
AS
89852011-09-26 Andreas Schwab <schwab@redhat.com>
8986
8987 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8988
e057a1b5
JM
89892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8990 Maxim Kuvyrkov <maxim@codesourcery.com>
8991 Joseph Myers <joseph@codesourcery.com>
8992
8993 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8994 if needed for __stack_chk_guard.
8995
bc7e1c36
RM
89962011-09-19 Roland McGrath <roland@hack.frob.com>
8997
ecb1482f
RM
8998 * sysdeps/posix/spawni.c (script_execute): Always define it.
8999 It will be optimized away if unused.
9000 (maybe_script_execute): New function.
9001 (__spawni): Call it.
9002
bc7e1c36
RM
9003 * Makerules: Don't include tls.make.
9004 (config-tls): Always set to thread.
9005 * tls.make.c: File removed.
9006
1c3b002b
MF
90072011-09-19 Mike Frysinger <vapier@gentoo.org>
9008
9009 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9010 * config.make.in (CPPFLAGS-config): New substituted variable.
9011
2840865d
UD
90122011-09-15 Ulrich Drepper <drepper@gmail.com>
9013
88738eb6
UD
9014 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9015
cbf645a6 9016 [BZ #13192]
2840865d
UD
9017 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9018 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9019
b402e91a
RM
90202011-09-15 Roland McGrath <roland@hack.frob.com>
9021
9022 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9023 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9024 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9025 (CALL_FAIL): Likewise.
9026 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9027 (CALL_FAIL): Macro removed.
9028 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9029
4c1a1f71
UD
90302011-09-15 Ulrich Drepper <drepper@gmail.com>
9031
9032 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9033 for __FINITE_MATH_ONLY__ == 1.
9034
edc121be
AS
90352011-09-15 Andreas Schwab <schwab@redhat.com>
9036
9037 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9038 __ieee754_sqrt instead of sqrt.
9039 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9040 __ieee754_sqrtf instead of sqrtf.
9041 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9042 __floorf instead of floorf.
9043 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9044 __floorf, __truncf instead of floorf, truncf.
9045
cd205654
UD
90462011-09-14 Ulrich Drepper <drepper@gmail.com>
9047
ee4d0315
UD
9048 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9049
cd205654
UD
9050 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9051 __extern_always_inline.
9052 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9053 32-bit.
9054
48b67d71
AS
90552011-09-14 Andreas Schwab <schwab@redhat.com>
9056
9057 * elf/rtld.c (dl_main): Also relocate in dependency order when
9058 doing symbol dependency testing.
9059
1ae12c75
AS
90602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9061
9062 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9063 Always define `refsym'.
9064
995a80df
AS
90652011-09-13 Andreas Schwab <schwab@redhat.com>
9066
e529793b
AS
9067 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9068 (__FD_ELT): Renamed from __FDELT.
9069 * misc/bits/select2.h (__FD_ELT): Likewise.
9070 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9071 __FD_MASK instead of __FDELT, __FDMASK.
9072 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9073 Likewise.
9074 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9075 Likewise.
9076
52d4fef8
AS
9077 * elf/Makefile (gen-ldd): Fix pattern.
9078
995a80df
AS
9079 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9080 (init_tls): Likewise.
9081
8682f8b0
UD
90822011-09-12 Ulrich Drepper <drepper@gmail.com>
9083
9084 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9085
de82006d
AS
90862011-09-12 Andreas Schwab <schwab@redhat.com>
9087
a7c8e6a1
AS
9088 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9089 `struct cmsghdr *' instead of `void *'.
9090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9091 Likewise.
9092
0f31fe77
AS
90932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9094
9095 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9096 if non-absolute.
9097 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9098 ldd_rewrite_script.
0f31fe77 9099
32b4c839
UD
91002011-09-11 Ulrich Drepper <drepper@gmail.com>
9101
83cd1420
UD
9102 * configure.in: Remove --with-tls option.
9103 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9104 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9105 out in case it is missing.
9106 * sysdeps/ia64/elf/configure.in: Likewise.
9107 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9108 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9109 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9110 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9111 * sysdeps/sh/elf/configure.in: Likewise.
9112 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9113 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9114 * sysdeps/x86_64/elf/configure.in: Likewise.
9115 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9116 * sysdeps/mach/hurd/tls.h: Likewise.
9117
633f745d
UD
9118 [BZ #13067]
9119 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9120
f318beb8
UD
9121 [BZ #13090]
9122 * configure.in: Fix use of AC_INIT.
9123
32b4c839
UD
9124 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9125
3ce1f295
UD
91262011-09-10 Ulrich Drepper <drepper@gmail.com>
9127
bb016596
UD
9128 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9129 __set_errno.
8e58439c
UD
9130 * malloc/hooks.c: Likewise.
9131
aebae053 9132 [BZ #11929]
02d46fc4
UD
9133 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9134 variables statically.
9135 (narenas): Initialize.
9136 (list_lock): Initialize.
bb016596
UD
9137 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9138 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9139 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9140 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9141 Add initializers to main_arena and mp_.
9142 (malloc_state): Remove pagesize member. Change all users to use
9143 GLRO(dl_pagesize).
9144
9145 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9146 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9147 is always initialized.
9148
22a89187
UD
9149 * malloc/malloc.c: Removed unused configurations and dead code.
9150 * malloc/arena.c: Likewise.
9151 * malloc/hooks.c: Likewise.
02d46fc4 9152 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9153
d063d164
UD
9154 * include/tls.h: Removed. USE___THREAD must always be defined.
9155 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9156 * elf/dl-libc.c: Likewise.
9157 * elf/dl-tsd.c: Likewise.
9158 * include/errno.h: Likewise.
9159 * include/netdb.h: Likewise.
9160 * include/resolv.h: Likewise.
9161 * inet/herrno-loc.c: Likewise.
9162 * inet/herrno.c: Likewise.
9163 * malloc/arena.c: Likewise.
9164 * malloc/hooks.c: Likewise.
9165 * malloc/malloc.c: Likewise.
9166 * resolv/res-state.c: Likewise.
9167 * resolv/res_libc.c: Likewise.
9168 * sysdeps/i386/dl-machine.h: Likewise.
9169 * sysdeps/ia64/dl-machine.h: Likewise.
9170 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9171 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9172 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9173 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9174 * sysdeps/sh/dl-machine.h: Likewise.
9175 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9176 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9177 * sysdeps/unix/i386/sysdep.S: Likewise.
9178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9179 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9184 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9188 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9189 * sysdeps/x86_64/dl-machine.h: Likewise.
9190 * tls.make.c: Likewise.
9191
3ce1f295
UD
9192 * configure.in: Remove --with-__thread option. Make tests for
9193 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9194 tls_model attribute fail if no support is available. Remove
9195 USE_IN_LIBIO.
9196 * Makeconfig: Adjust for dropped configure option. All features are
9197 now mandatory.
9198 * Makerules: Likewise.
9199 * Versions.def: Likewise.
9200 * argp/argp-fmtstream.c: Likewise.
9201 * argp/argp-fmtstream.h: Likewise.
9202 * argp/argp-help.c: Likewise.
9203 * assert/assert.c: Likewise.
9204 * config.h.in: Likewise.
9205 * config.make.in: Likewise.
9206 * configure: Likewise.
9207 * configure.in: Likewise.
9208 * csu/Versions: Likewise.
9209 * csu/init.c: Likewise.
9210 * elf/tst-audit2.c: Likewise.
9211 * elf/tst-tls10.c: Likewise.
9212 * elf/tst-tls10.h: Likewise.
9213 * elf/tst-tls11.c: Likewise.
9214 * elf/tst-tls12.c: Likewise.
9215 * elf/tst-tls14.c: Likewise.
9216 * elf/tst-tlsmod11.c: Likewise.
9217 * elf/tst-tlsmod12.c: Likewise.
9218 * elf/tst-tlsmod13.c: Likewise.
9219 * elf/tst-tlsmod13a.c: Likewise.
9220 * elf/tst-tlsmod14a.c: Likewise.
9221 * elf/tst-tlsmod15b.c: Likewise.
9222 * elf/tst-tlsmod16a.c: Likewise.
9223 * elf/tst-tlsmod16b.c: Likewise.
9224 * elf/tst-tlsmod7.c: Likewise.
9225 * elf/tst-tlsmod8.c: Likewise.
9226 * elf/tst-tlsmod9.c: Likewise.
9227 * gmon/gmon.c: Likewise.
9228 * grp/fgetgrent_r.c: Likewise.
9229 * grp/putgrent.c: Likewise.
9230 * hurd/fopenport.c: Likewise.
9231 * include/libc-symbols.h: Likewise.
9232 * include/tls.h: Likewise.
9233 * intl/gettextP.h: Likewise.
9234 * intl/loadinfo.h: Likewise.
9235 * locale/global-locale.c: Likewise.
9236 * locale/localeinfo.h: Likewise.
9237 * mach/devstream.c: Likewise.
9238 * malloc/arena.c: Likewise.
9239 * malloc/set-freeres.c: Likewise.
9240 * misc/err.c: Likewise.
9241 * misc/getttyent.c: Likewise.
9242 * misc/mntent_r.c: Likewise.
9243 * posix/getopt.c: Likewise.
9244 * posix/wordexp.c: Likewise.
9245 * pwd/fgetpwent_r.c: Likewise.
9246 * resolv/Versions: Likewise.
9247 * resolv/res_hconf.c: Likewise.
9248 * shadow/fgetspent_r.c: Likewise.
9249 * shadow/putspent.c: Likewise.
9250 * stdio-common/printf_fphex.c: Likewise.
9251 * stdio-common/tmpfile.c: Likewise.
9252 * stdlib/abort.c: Likewise.
9253 * stdlib/fmtmsg.c: Likewise.
9254 * sunrpc/auth_unix.c: Likewise.
9255 * sunrpc/clnt_perr.c: Likewise.
9256 * sunrpc/clnt_tcp.c: Likewise.
9257 * sunrpc/clnt_udp.c: Likewise.
9258 * sunrpc/clnt_unix.c: Likewise.
9259 * sunrpc/openchild.c: Likewise.
9260 * sunrpc/svc_simple.c: Likewise.
9261 * sunrpc/svc_tcp.c: Likewise.
9262 * sunrpc/svc_udp.c: Likewise.
9263 * sunrpc/svc_unix.c: Likewise.
9264 * sunrpc/xdr.c: Likewise.
9265 * sunrpc/xdr_array.c: Likewise.
9266 * sunrpc/xdr_rec.c: Likewise.
9267 * sunrpc/xdr_ref.c: Likewise.
9268 * sunrpc/xdr_stdio.c: Likewise.
9269
1248c1c4
PB
92702011-09-09 Ulrich Drepper <drepper@gmail.com>
9271
9272 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9273
92742011-07-03 Andreas Jaeger <aj@suse.de>
9275
9276 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9277 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9278 regenerate with gen-libm-tests.pl.
9279
92802010-05-12 Petr Baudis <pasky@suse.cz>
9281
9282 [BZ #11589]
9283 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9284 around j0() zero points by switching to j1().
9285 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9289
f22e1074
UD
92902011-09-09 Ulrich Drepper <drepper@gmail.com>
9291
f19009c1
UD
9292 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9293 instead of 0.
9294 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9295 instead of 0. .
9296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9297 Patch in part by Pavel Roskin <proski@gnu.org>.
9298
3f8cc204
UD
9299 [BZ #13138]
9300 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9301 realloc.
9302 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9303 Free memory block if necessary.
9304
f22e1074
UD
9305 [BZ #12847]
9306 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9307 be NULL. Don't lock in this case.
9308
0a2349f9
RM
93092011-09-09 Roland McGrath <roland@hack.frob.com>
9310
9311 * elf/elf.h (ELFOSABI_GNU): New macro.
9312 (ELFOSABI_LINUX): Define to that.
9313
f3cdd467
DZ
93142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9315
9316 * string/strncat.c (strncat): Undef the symbol in case it has been
9317 defined in bits/string.h.
9318
74718d13
UD
93192011-09-09 Ulrich Drepper <drepper@gmail.com>
9320
633e9e0f
UD
9321 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9322
0a2349f9 9323 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9324 link map.
9325
f9924780
AJ
93262011-08-17 Andreas Jaeger <aj@suse.de>
9327
9328 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9329
7f5517aa
PP
93302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9331 Ian Lance Taylor <iant@google.com>
9332
9333 * math/libm-test.inc (lround_test): New testcase.
9334 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9335
762011fe
UD
93362011-09-08 Ulrich Drepper <drepper@gmail.com>
9337
92963737
UD
9338 * Makefile: Remove support for automatic cvs check-ins.
9339 * Makerules: Likewise.
9340 * config.make.in: Likewise.
9341 * configure.in: Likewise.
9342 * intl/Makefile: Likewise.
9343 * locale/Makefile: Likewise.
9344 * po/Makefile: Likewise.
9345 * posix/Makefile: Likewise.
9346 * sysdeps/gnu/Makefile: Likewise.
9347 * sysdeps/mach/hurd/Makefile: Likewise.
9348 * sysdeps/sparc/sparc32/Makefile: Likewise.
9349
b0727fd8
JS
9350 [BZ #13118]
9351 * posix/Makefile (bug-regex32-ENV): Define.
9352 Patch by John Stanley <jpsinthemix@verizon.net>.
9353
a0f33f99
UD
9354 * misc/Makefile (headers): Add bits/select2.h.
9355 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9356 * misc/bits/select2.h: New file.
9357 * include/bits/select2.h: New file.
9358 * debug/Makefile (routines): Add fdelt_chk.
9359 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9360 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9361 FD_ISSET.
9362 * debug/fdelt_chk.c: New file.
9363
762011fe
UD
9364 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9365 * wcsmbs/test-wmemcmp.c: Likewise.
9366 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9367 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9368
93692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9370
9371 * string/Makefile (strop-tests): Add memcmp.
9372 * string/test-wmemcmp.c: New file.
9373 * string/test-memcmp.c: Add wmemcmp support.
9374
7f513ec8
RM
93752011-09-08 Roland McGrath <roland@hack.frob.com>
9376
0442afb4
RM
9377 [BZ #13153]
9378 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9379 2011-07-19 change.
9380
7f513ec8
RM
9381 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9382 garbage value in a __mach_port_mod_refs call in the cases of the
9383 task-self and thread-self ports.
9384
a12b2239
ST
93852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9386
9387 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9388
610f9ab4
AS
93892011-09-08 Andreas Schwab <schwab@redhat.com>
9390
7f513ec8 9391 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9392
48882a1a
LD
93932011-09-07 Ulrich Drepper <drepper@gmail.com>
9394
b49865be
UD
9395 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9396
fdc86bc9
UD
9397 * elf/dl-libc.c (dlerror_run): Pass back error code from
9398 dl_catch_error.
9399
c966526a
UD
9400 [BZ #13123]
9401 * elf/dl-load.c (lose): Free l_origin if it is valid.
9402
48882a1a
LD
9403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9404 names.
9405 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9406 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9407 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9408 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9409 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9410 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9411
77a2a8b4
AZ
94122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9413
9414 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9415 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9416 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9417 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9418 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9419 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9420 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9421 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9422 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9423 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9424
24f579d8
AM
94252011-08-15 Alan Modra <amodra@gmail.com>
9426
9427 [BZ #13092]
9428 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9429 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9430 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9431 ppc_mcount to static-only-routines.
9432 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9433 __mcount_internal.
9434 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9435 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9436
3d4837df
UD
94372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9438
9439 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9440 for finite and infinity parameters.
9441
22700377
WS
94422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9443
9444 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9445 and add nop instructions for throughput optimization.
9446 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9447
5025581e
WS
94482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9449
9450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9451 aligned copy for power7 with vector-scalar instructions.
9452 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9453
08a300c9
L
94542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9457 AVX check.
9458
59178ef9
AS
94592011-09-07 Andreas Schwab <schwab@redhat.com>
9460
9461 [BZ #13144]
9462 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9463 last change.
9464
e38ba7ab
UD
94652011-09-07 Ulrich Drepper <drepper@gmail.com>
9466
9467 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9468 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9469 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9470 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9471 clock_gettime.
9472
d53a73ac
UD
94732011-09-06 Ulrich Drepper <drepper@gmail.com>
9474
fc8bffcc
UD
9475 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9476 Forgot to demangle the pointer.
9477
ceaa0c5d
UD
9478 * sysdeps/i386/sysdep.h: Define atom_text_section.
9479 * sysdeps/x86_64/sysdep.h: Likewise.
9480 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9481 section with atom_text_section.
9482 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9483 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9484 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9486 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9487
a77d3c17
UD
9488 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9489 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9490 already be defined. Change to take two parameters and don't assign
9491 result to variable. Adjust all users.
9492 Define INTERNAL_GETTIME if not already defined.
9493 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9494 call.
9495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9496 HAVE_CLOCK_GETTIME_VSYSCALL.
9497 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9498
d53a73ac
UD
9499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9500 gettimeofday vsyscall, just use time.
9501
a8f84144
AS
95022011-09-06 Andreas Schwab <schwab@redhat.com>
9503
9504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9505 <errno.h>.
9506
ef606249
UD
95072011-09-06 Ulrich Drepper <drepper@gmail.com>
9508
9509 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9510 syscall on x86-64.
9511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9512 syscall.
9513 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9515 syscall if possible.
9516
6585cb60
UD
95172011-09-05 Ulrich Drepper <drepper@gmail.com>
9518
9519 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9520 e_ident. Don't pass to find_mapsXX.
9521 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9522
a5f524e4
LD
95232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9524
9525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9526 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9527 * sysdeps/x86_64/multiarch/strchr.S: Update.
9528 Check bit_slow_BSF bit.
9529 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9530 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9531 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9532
554881ef
UD
95332011-09-05 Ulrich Drepper <drepper@gmail.com>
9534
d96de963
UD
9535 [BZ #13134]
9536 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9537 before glibc 2.15.
9538 (tryshell): Define.
9539 (__spawni): Change last parameter to be flag. Test
9540 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9541 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9542 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9543 * posix/spawni.c: Likewise.
9544 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9545 * posix/spawnp.c: Likewise. Change normal version to use
9546 SPAWN_XFLAGS_USE_PATH.
9547 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9548 SPAWN_XFLAGS_TRY_SHELL.
9549
d48e5868
UD
9550 [BZ #13150]
9551 * posix/glob.h: Remove gcc 1.x support.
9552
554881ef
UD
9553 [BZ #13068]
9554 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9555
693fb948
LD
95562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9557
9558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9559 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9560 strrchr-sse2-bsf
9561 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9562 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9563 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9564 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9565 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9566 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9567
1b48c537
UD
95682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9569
49d42c37
UD
9570 * sysdeps/x86_64/wcscmp.S: New file.
9571
1b48c537
UD
9572 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9573 wcscmp-c wcscmp-sse2
9574 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9575 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9576 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9577 * wcsmbs/wcscmp.c: Allow renaming.
9578
15c95c5d
DM
95792011-09-05 David S. Miller <davem@davemloft.net>
9580
9581 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9582 stack slot, rather than the struct return pointer slot.
9583 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9584 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9586 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9587
2f0ad8f3
UD
95882011-09-05 Ulrich Drepper <drepper@gmail.com>
9589
d88ae418
UD
9590 * po/ja.po: Update from translation team.
9591
2f0ad8f3
UD
9592 [BZ #13144]
9593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9594 kernel in 64-bit binaries.
9595
5f4318d1
DM
95962011-09-01 David S. Miller <davem@davemloft.net>
9597
9598 * elf/elf.h (HWCAP_SPARC_*): Move to..
9599 * sysdeps/sparc/sysdep.h: this new file and add new values.
9600 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9601 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9602 _DL_HWCAP_COUNT to 24.
9603 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9604 entries.
9605 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9606 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9607 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9608 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9609 instead of magic constants.
9610 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9611
3ba57516
DM
96122011-08-31 David S. Miller <davem@davemloft.net>
9613
9614 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9615 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9616 Reimplement to do errno handling inline.
9617 (SYSCALL_ERROR_HANDLER): New macro.
9618 (__SYSCALL_STRING): Do not do errno handling in asm.
9619 (__CLONE_SYSCALL_STRING): Delete.
9620 (__INTERNAL_SYSCALL_STRING): Delete.
9621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9622 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9623 (PSEUDO): Reimplement to do errno handling inline.
9624 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
9630 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9631 i386.
9632 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9633 (inline_syscall*): Add 'err' argument.
9634 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9635 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9636 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9637 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9638
9639 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9640 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9641
2bc17433
AS
96422011-08-30 Andreas Schwab <schwab@redhat.com>
9643
9644 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9645
fbeb5f4d
JO
96462011-08-29 Jiri Olsa <jolsa@redhat.com>
9647
9648 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9649 directive.
9650
ad69cc26
DM
96512011-08-24 David S. Miller <davem@davemloft.net>
9652
9653 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9654
39dd69df
AS
96552011-08-24 Andreas Schwab <schwab@redhat.com>
9656
9657 * elf/Makefile: Add rules to build and run unload8 test.
9658 * elf/unload8.c: New file.
9659 * elf/unload8mod1.c: New file.
9660 * elf/unload8mod1x.c: New file.
9661 * elf/unload8mod2.c: New file.
9662 * elf/unload8mod3.c: New file.
9663
9664 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9665 it wasn't used.
9666
2c0b250a
DM
96672011-08-23 David S. Miller <davem@davemloft.net>
9668
9669 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9670 subtract stack bias.
9671 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9672 %sp not %fp in calculations.
9673 (_JMPBUF_UNWINDS_ADJ): Likewise.
9674
22044b48
DM
9675 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9676 (aio_suspend): Call it to force an exception region around the
9677 AIO_MISC_WAIT() invocation.
9678
2cae4995
AS
96792011-08-23 Andreas Schwab <schwab@redhat.com>
9680
9681 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9682 backslash.
9683
873a772e
AJ
96842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9685
9686 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9687 protection macro.
9688 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9689 and <dl-machine.h>.
9690 (Elf64_FuncDesc): Remove.
9691
25ad0df1
DM
96922011-08-22 David S. Miller <davem@davemloft.net>
9693
9694 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9695 sigaltstack check, add missing cfi directives.
9696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9697 missing cfi directives, and sigaltstack handling.
9698
e888bcbe
AS
96992011-08-16 Andreas Schwab <schwab@redhat.com>
9700
9701 [BZ #11724]
9702 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9703 object is seen twice.
9704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9705
9706 * elf/Makefile (distribute): Add tst-initorder2.c.
9707 (tests): Add tst-initorder2.
9708 (modules-names): Add tst-initorder2a tst-initorder2b
9709 tst-initorder2c tst-initorder2d. Add rules to build them.
9710 ($(objpfx)tst-initorder2.out): New rule.
9711 * elf/tst-initorder2.c: New file.
9712 * elf/tst-initorder2.exp: New file.
9713
87162f46
AS
97142011-08-22 Andreas Schwab <schwab@redhat.com>
9715
70538b7f
AS
9716 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9717
f55ffe58
AS
9718 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9719 dependencies back to end of function.
9720
87162f46
AS
9721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9722 $(elfobjdir)/ld.so.
9723
91b392a4
UD
97242011-08-21 Ulrich Drepper <drepper@gmail.com>
9725
9726 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9727 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9729 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9730 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9731 of __vdso_gettimeofday.
9732 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9733 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9734 attribute_hidden.
9735 (_libc_vdso_platform_setup): Remove initialization of
9736 __vdso_gettimeofday and __vdso_time.
9737
5c43483f
UD
97382011-08-20 Ulrich Drepper <drepper@gmail.com>
9739
775a77e7
UD
9740 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9741 and fgetc_unlocked.
9742 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9743 getc_unlocked.
89f447ed 9744
49c74ba9
UD
9745 * elf/dl-open.c (add_to_global): Report additions to the global scope
9746 for LD_DEBUG=scopes.
9747 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9748 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9749
5c43483f
UD
9750 [BZ #13114]
9751 * stdio-common/Makefile (tests): Add bug24.
9752 * stdio-common/bug24.c: New file.
9753
a101b025
AJ
97542011-08-19 Andreas Jaeger <aj@suse.de>
9755
9756 [BZ #13114]
9757 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9758 non-existant file when using close-on-exec mode.
9759
c88f1766
UD
97602011-08-20 Ulrich Drepper <drepper@gmail.com>
9761
0276a718
UD
9762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9763 the very first instruction.
9764
c88f1766
UD
9765 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9766 the CFI state in the end.
9767 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9768 inclusion of dl-trampoline.h.
9769 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9770
51ccffa0
AS
97712011-08-19 Andreas Schwab <schwab@redhat.com>
9772
94d7165f
AS
9773 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9774 expectations for long double.
9775
51ccffa0
AS
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9777 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9778
fd708658 97792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9780
9781 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9782 artificual limit depends upon the system page size.
9783
44f0a71e
UD
97842011-08-17 Ulrich Drepper <drepper@gmail.com>
9785
9786 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9787 * resolv/Makefile: Define CFLAGS-libresolv.
9788
8de79a24
AS
97892011-08-17 Andreas Schwab <schwab@redhat.com>
9790
9791 * nss/makedb.c (compute_tables): Make variables used in nested
9792 function static.
9793
27724598
UD
97942011-08-17 Ulrich Drepper <drepper@gmail.com>
9795
c5305d88
UD
9796 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9797 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9798 if buffer was too small.
9799
27724598
UD
9800 * elf/pldd.c (main): Attach to all threads in the process.
9801 Rewrite /proc handling to use *at functions.
9802
076fe015
UD
98032011-08-16 Ulrich Drepper <drepper@gmail.com>
9804
174baab3
UD
9805 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9806 specifies first scope to show.
9807 (dl_open_worker): Update callers. Move printing scope of new
9808 object to before the relocation.
44f0a71e 9809 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9810 * sysdeps/generic/ldsodefs.h: Update declaration.
9811
076fe015
UD
9812 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9813 string for the scope number.
9814
a60df2c3
UD
98152011-08-14 Ulrich Drepper <drepper@gmail.com>
9816
9817 * nscd/servicescache.c (cache_addserv): Make sure written is always
9818 initialized.
9819
5e4287d1
RM
98202011-08-14 Roland McGrath <roland@hack.frob.com>
9821
85ae0589
RM
9822 * sysdeps/i386/i486/bits/atomic.h
9823 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9824 statement expression, so as to suppress "set but not used" warning.
9825 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9826
69f63097
RM
9827 * string/strncat.c (STRNCAT): Use prototype definition.
9828
675456ef
RM
9829 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9830 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9831 -Iprograms here.
9832 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9833 (localedef-modules): Add localedef.
9834 (locale-modules): Add locale.
9835
5e4287d1
RM
9836 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9837 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9838 to avoid a warning.
9839
9c96ff23
DM
98402011-08-14 David S. Miller <davem@davemloft.net>
9841
9842 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9843 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9844
f9ddf089
UD
98452011-08-13 Ulrich Drepper <drepper@gmail.com>
9846
44f0a71e 9847 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9848 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9849 * elf/rtld.c (dl_main): Set l_name of vDSO.
9850 Call _dl_show_scope when DL_DEBUG_SCOPES.
9851 (process_dl_debug): Recognize scopes flag and also set it for all.
9852 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9853 Declare _dl_show_scope.
9854
1dc27704
UD
9855 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9856 (do_dlopen): Pass caller_dlopen to dl_open.
9857 (__libc_dlopen_mode): Initialize caller_dlopen.
9858
f9ddf089
UD
9859 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9860 of libc. Make tolower call locale-independent. Optimize a bit by
9861 using isdigit instead of isalnum.
9862 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9863
9ac533d3
UD
98642011-08-12 Ulrich Drepper <drepper@gmail.com>
9865
9866 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9867 was a dependency or dynamically loaded.
9868
89edf2e9
UD
98692011-08-11 Ulrich Drepper <drepper@gmail.com>
9870
8e999d29
UD
9871 * intl/l10nflist.c: Allow architecture-specific pop function.
9872 * sysdeps/x86_64/l10nflist.c: New file.
9873
89edf2e9
UD
9874 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9875 classification.
9876
14d96785
AS
98772011-08-10 Andreas Schwab <schwab@redhat.com>
9878
9879 * include/dirent.h: Add libc_hidden_proto for scandirat and
9880 scandirat64. Don't declare __scandirat64.
9881 * dirent/scandirat.c: Add libc_hidden_def.
9882 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9883 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9884
6761ac04
DM
98852011-08-10 David S. Miller <davem@davemloft.net>
9886
9887 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9888 enum.
9889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9892
c55fbd1e
UD
98932011-08-09 Ulrich Drepper <drepper@gmail.com>
9894
9895 * Versions.def [libc]: Add GLIBC_2.15.
9896 * dirent/Makefile (routines): Add scandirat and scandirat64.
9897 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9898 GLIBC_2.15.
9899 * dirent/dirent.h: Declare scandirat and scandirat64.
9900 * dirent/scandirat.c: New file.
9901 * dirent/scandirat64.c: New file.
9902 * sysdeps/wordsize-64/scandirat.c: New file.
9903 * sysdeps/wordsize-64/scandirat64.c: New file.
9904 * dirent/opendir.c: Define opendirat.
9905 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9906 using scandirat.
9907 * dirent/scandir64.c: Adjust for scandir.c change.
9908 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9909 __scandirat64, and __scandir_cancel_handler.
9910 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9911 additional parameter and use openat instead of open (outside of ld.so).
9912 Add new __opendir as wrapper around __opendirat.
9913 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9914 here without requiring old scandirat implementation.
9915
879165f2
UD
99162011-08-08 Ulrich Drepper <drepper@gmail.com>
9917
9918 * dirent/scandir.c (cancel_handler): Renamed to
9919 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9920 defined. Adjust users.
9921 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9922 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9923
cb7e923b
UD
99242011-08-04 Ulrich Drepper <drepper@gmail.com>
9925
16292edd
UD
9926 * string/test-string.h (IMPL): Use __STRING to expand name and then
9927 stringify it.
9928
cb7e923b
UD
9929 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9930 of cleanups.
9931
cff82933
LD
99322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9933
9934 * string/Makefile: Update.
9935 (strop-tests): Append strncat.
9936 * string/test-wcscmp.c: New file.
9937 New comprehensive test for wcscmp.
9938 * string/test-strcmp.c: Update.
9939 (WIDE): New define.
9940
9be9bfcc
AS
99412011-07-22 Andreas Schwab <schwab@redhat.com>
9942
9943 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9944 line.
9945
2e96f1c7
AS
99462011-07-26 Andreas Schwab <schwab@redhat.com>
9947
9948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9949 encoding to ACE if AI_IDN.
9950
85188888
JJ
99512011-08-01 Jakub Jelinek <jakub@redhat.com>
9952
9953 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9954 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9955
5fa16e9b
LD
99562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9957
9958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9959 Fix overflow bug in strncat.
9960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9961
9962 * string/test-strncat.c: Update.
9963 Add new tests for checking overflow bugs.
9964
99652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9966
9967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9968 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9969 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9970 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9971 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9972 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9973 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9974 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9975 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9976
9977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9978 (USE_AS_STRCAT): Define.
9979 Add strcat and strncat support.
9980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9981
8c1a459f
AS
99822011-07-25 Andreas Schwab <schwab@redhat.com>
9983
9984 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9985 __n bigger than INT_MAX+1.
9986 (__strncmp_g): Likewise.
9987
bba33c28
UD
99882011-07-23 Ulrich Drepper <drepper@gmail.com>
9989
798be72d
UD
9990 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9991 * libio/stido.h: Likewise.
9992
8accd4dc
UD
9993 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9994 (AF_NFC): Define.
9995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9996 (AF_NFC): Define.
9997
cbff0d96
UD
9998 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10001 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10002 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10003
9191c04a
UD
10004 [BZ #13021]
10005 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10006 installed.
10007
bba33c28
UD
10008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10009 typo.
10010 (_dl_x86_64_save_sse): Likewise.
10011
90f139dd
UD
100122011-07-22 Ulrich Drepper <drepper@gmail.com>
10013
1aae088a
UD
10014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10015 OSXSAVE.
10016 (_dl_x86_64_save_sse): Likewise.
10017
8e2045f5
UD
10018 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10019
90f139dd
UD
10020 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10021
1d002f25
AS
100222011-07-21 Andreas Schwab <schwab@redhat.com>
10023
10024 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10025 change.
10026 (_dl_x86_64_save_sse): Use correct AVX check.
10027
21137f89
UD
100282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10029
10030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10031 bug in strncpy/strncat.
10032 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10033
a65c0b7a
UD
100342011-07-21 Ulrich Drepper <drepper@gmail.com>
10035
10036 * string/tester.c (test_strcat): Add tests for different alignments
10037 of source and destination.
10038 (test_strncat): Likewise.
10039
6986b98a
UD
100402011-07-20 Ulrich Drepper <drepper@gmail.com>
10041
90bb2039
UD
10042 [BZ #12852]
10043 * posix/glob.c (glob): Check passed in values before using them in
10044 expressions to avoid some overflows.
10045 (glob_in_dir): Likewise.
10046
5644ef54
UD
10047 [BZ #13007]
10048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10049 check for AVX enablement so that we don't crash with old kernels and
10050 new hardware.
10051 * elf/tst-audit4.c: Add same checks here.
10052 * elf/tst-audit6.c: Likewise.
10053
10054 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10055
bfc9dc9b
AS
100562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10057
10058 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10059
702e64bb
UD
100602011-07-20 Ulrich Drepper <drepper@gmail.com>
10061
10062 * po/cs.po: Update from translation team.
10063 * po/bg.po: Likewise.
10064
295e904f
MP
100652011-07-12 Marek Polacek <mpolacek@redhat.com>
10066
10067 * misc/sys/cdefs.h: Add support for const attribute.
10068 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10069 to gnu_dev_{major,minor,makedev} functions.
10070
3ff94596
MP
100712011-07-20 Marek Polacek <mpolacek@redhat.com>
10072
10073 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10074
28b59fca
AS
100752011-07-20 Andreas Schwab <schwab@redhat.com>
10076
10077 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10078 strlen results.
10079
19df733e
AK
100802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10081
10082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10083 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10084 register in order to avoid conflicts with the soft frame pointer
10085 being held in r11 when necessary.
10086 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10087 (INTERNAL_VSYSCALL_NCS): Likewise.
10088
c8835729
MP
100892011-07-14 Marek Polacek <mpolacek@redhat.com>
10090
10091 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10092 * elf/dl-fini.c (_dl_fini): Adjust caller.
10093 * elf/dl-close.c (_dl_close_worker): Likewise.
10094 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10095
b902330c
MP
100962011-07-15 Marek Polacek <mpolacek@redhat.com>
10097
8991e135
MP
10098 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10099 "aux_cache->nlibs < 0".
10100
b902330c
MP
10101 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10102 in the reload-count case.
10103
99710781
LD
101042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10105
10106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10107 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10108 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10109 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10110 * sysdeps/x86_64/multiarch/strcat.S: New file.
10111 * sysdeps/x86_64/multiarch/strncat.S: New file.
10112 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10113 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10114 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10115 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10117 (USE_AS_STRCAT): Define.
10118 Add strcat and strncat support.
10119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10120 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10121 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10122 * string/strncat.c: Update.
10123 (USE_AS_STRNCAT): Define.
10124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10125 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10126 and i7.
10127 * sysdeps/x86_64/multiarch/init-arch.h
10128 (bit_Prefer_PMINUB_for_stringop): New.
10129 (index_Prefer_PMINUB_for_stringop): Likewise.
10130 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10131 bit_Prefer_PMINUB_for_stringop.
10132
7dc6bd90
UD
101332011-07-19 Ulrich Drepper <drepper@gmail.com>
10134
10135 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10136 buffer64.
10137 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10138 of casting of buffer.
10139 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10140 buffer32 and buffer64.
10141 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10142 writes instead of casting of buffer.
10143 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10144 buffer32.
10145 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10146 casting of buffer.
10147
e0e72284
AS
101482011-07-19 Andreas Schwab <schwab@redhat.com>
10149
10150 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10151
feb1eb0b
UD
101522011-07-19 Ulrich Drepper <drepper@gmail.com>
10153
10154 * nscd/nscd.c (termination_handler): Don't do anything for a database
10155 if it has not yet been initialized.
10156
298711ff
UD
101572011-07-18 Ulrich Drepper <drepper@gmail.com>
10158
10159 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10160
101612011-07-15 Marek Polacek <mpolacek@redhat.com>
10162
10163 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10164
f9d68389
UD
101652011-07-18 Ulrich Drepper <drepper@gmail.com>
10166
10167 * po/nl.po: Update from translation team.
10168 * po/sv.po: Likewise.
10169
db290cf5
RM
101702011-07-16 Roland McGrath <roland@hack.frob.com>
10171
10172 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10173 now disallowed by GCC.
5c550700 10174
fd5e21c7
RM
10175 * configure.in (use-default-link): Default to yes if a test -shared
10176 link meets our qualifications.
10177 * configure: Regenerated.
10178
5c550700
RM
10179 * config.make.in (output-format): New variable.
10180 * configure.in: Check for ld --print-output-format support.
10181 * configure: Regenerated.
10182 * Makerules ($(common-objpfx)format.lds)
10183 [$(output-format) != unknown]: Just use $(output-format),
10184 instead of the linker-script munging.
10185
9fa2c032
RM
101862011-07-14 Roland McGrath <roland@hack.frob.com>
10187
a6928d51
RM
10188 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10189 of $(common-objpfx)shlib.lds.
10190 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10191
661607b3
RM
10192 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10193 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10194
9fa2c032
RM
10195 * configure.in (-z relro check): Adjust test code to add a large
10196 writable data section after it.
10197 * configure: Regenerated.
10198
defe9061
RM
101992011-07-11 Roland McGrath <roland@hack.frob.com>
10200
10201 * configure.in (-z relro check): Fix test code to make the variable
10202 truly const.
10203 * configure: Regenerated.
10204
319b9ad4
UD
102052011-07-11 Ulrich Drepper <drepper@gmail.com>
10206
10207 * nscd/nscd.h (struct traced_file): Define.
10208 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10209 elements. Add traced_files.
10210 (inotify_fd): Declare.
10211 (register_traced_file): Declare.
10212 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10213 (inotify_fd): Export.
10214 (resolv_conf_descr): Remove.
10215 (nscd_init): Move inotify descriptor creation to main.
10216 Don't register files for notification here.
10217 (register_traced_file): New function.
10218 (invalidate_cache): Don't use reset_res to determine whether to call
10219 res_init, go through the list of registered files.
10220 (main_loop_poll): The inotify descriptors are now stored in the
10221 structures for the traced files.
10222 (main_loop_epoll): Likewise
10223 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10224 to __nss_disable_nscd.
10225 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10226 for a database anymore. Check the records for all the registered
10227 files instead.
10228 * nss/Makefile (libnss_files-routines): Add files-init.
10229 (libnss_db-routines): Add db-init.
10230 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10231 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10232 * nss/nss_db/db-init.c: New file.
10233 * nss/nss_files/files-init.c: New file.
10234 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10235 __nss_lookup_function.
10236 (__nss_lookup_function): Call nss_load_library.
10237 (nss_load_all_libraries): New function.
10238 (__nss_disable_nscd): Take parameter with callback function for files
10239 to register. Set is_nscd. Load all the DSOs for the NSS modules
10240 used for the cached services.
10241 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10242 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10243 options for features to all the files in nscd.
10244
10245 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10246
23bee3e8
RM
102472011-07-10 Roland McGrath <roland@hack.frob.com>
10248
10249 * csu/elf-init.c (__libc_csu_init): Comment typo.
10250
46a5b7f0
UD
102512011-07-09 Ulrich Drepper <drepper@gmail.com>
10252
10253 * po/pl.po: Update from translation team.
10254 * po/ja.po: Likewise.
10255 * po/ru.po: Likewise.
10256 * po/ko.po: Likewise.
10257 * po/fr.po: Likewise.
10258
d30cf5bb
RM
102592011-07-09 Roland McGrath <roland@hack.frob.com>
10260
113ddea4
RM
10261 * configure.in (.ctors/.dtors header and trailer check):
10262 Use an empirical test on a built program.
10263 * configure: Regenerated.
10264
574920b4
RM
10265 * configure.in (-z relro check): Use an empirical test on a built DSO.
10266 Detect, but do not require, on ia64.
10267 * configure: Regenerated.
10268
d30cf5bb
RM
10269 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10270 Update tests that use readelf to use $READELF instead.
10271 * configure: Regenerated.
10272
8538fdb3
UD
102732011-07-08 Ulrich Drepper <drepper@gmail.com>
10274
10275 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10276 if the result is not used.
10277
04d08991
AJ
102782011-07-05 Andreas Jaeger <aj@suse.de>
10279
10280 [BZ#9696]
10281 * stdlib/tst-strtod.c: Add testcase.
10282
de283087
AD
102832011-07-07 Ulrich Drepper <drepper@gmail.com>
10284
4e5f31c8 10285 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10286 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10287 The latter has a higher limit. Take additional parameter to pass to
10288 the new function.
10289 (__pathconf): Pass file to __statfs_link_max.
10290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10291 __statfs_link_max.
10292 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10293 __statfs_link_max.
10294
de283087
AD
10295 [BZ #12868]
10296 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10297 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10298 Handle Lustre.
10299 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10300 (__statfs_filesize_max): Likewise.
10301 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10302
c75fa153
AJ
103032011-07-05 Andreas Jaeger <aj@suse.de>
10304
10305 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10306
1a544854
UD
103072011-07-06 Marek Polacek <mpolacek@redhat.com>
10308
10309 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10310 `status' variable.
10311 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10312 Likewise.
10313
6f0eec67
UD
103142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * Makefile (strop-tests): Add strncat.
10317 * string/test-strncat.c: New file.
10318
aae30307
UD
103192011-06-30 Marek Polacek <mpolacek@redhat.com>
10320
10321 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10322
c0cfb5eb
UD
103232011-06-21 Andreas Jaeger <aj@suse.de>
10324
10325 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10326 Copy rule from iconvdata/Makefile.
10327
01636b21
UD
103282011-07-06 Ulrich Drepper <drepper@gmail.com>
10329
10330 [BZ #12922]
10331 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10332 but no long options are defined, just return 'W'.
10333
9895c8bc
UD
103342011-06-22 Marek Polacek <mpolacek@redhat.com>
10335
10336 [BZ #9696]
10337 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10338
5d4cf042
UD
103392011-07-06 Ulrich Drepper <drepper@gmail.com>
10340
10341 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10342 netgroups to read.
960e5535 10343 (innetgr): Likewise.
5d4cf042 10344
751eb97e
RM
103452011-07-05 Roland McGrath <roland@hack.frob.com>
10346
10347 * config.make.in (install_root): Default to $(DESTDIR).
10348
f15f1e45
UD
103492011-07-05 Ulrich Drepper <drepper@gmail.com>
10350
10351 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10352
4e34ac6a
RM
103532011-07-02 Roland McGrath <roland@hack.frob.com>
10354
5e9b6af4
RM
10355 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10356
84f9ea0f
RM
10357 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10358 containing directory rather than embedding absolute directory names.
10359
ea5ee9f7
RM
10360 * scripts/check-local-headers.sh: Rewritten using awk.
10361 Match by word, not by line. Print error messages for matches.
10362 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10363
1b74661a
RM
10364 * Makerules [shlib-lds-flags empty]:
10365 ($(common-objpfx)libc_pic.opts): New target.
10366 ($(common-objpfx)libc_pic.os.clean): New target.
10367 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10368
10369 * config.make.in (OBJCOPY): New variable.
10370 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10371 * configure: Regenerated.
10372
f781ef40
RM
10373 * config.make.in (use-default-link): New variable.
10374 * configure.in (use_default_link): Grok --with-default-link to set it.
10375 * configure: Regenerated.
10376 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10377 (shlib-lds, shlib-lds-flags): Define to empty.
10378
2d4fa81e
RM
10379 * Makerules (shlib-lds): New variable.
10380 (shlib-lds-flags): New variable.
10381 (build-shlib, build-moduile, build-module-asneeded): Use it.
10382 ($(common-objpfx)libc.so): Use $(shlib-lds).
10383 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10384 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10385
31fffa6b
RM
10386 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10387 DT_FLAGS/DT_FLAGS_1 with zero flags.
10388
4e34ac6a
RM
10389 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10390 linker script munging.
10391
fcfc776b
UD
103922011-07-02 Ulrich Drepper <drepper@gmail.com>
10393
10394 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10395 as 128-bit value.
10396 * crypt/sha512.c (sha512_process_block): Perform total addition using
10397 128-bit if possible.
10398 (__sha512_finish_ctx): Likewise.
10399 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10400 as 64-bit value.
10401 * crypt/sha256.c (SWAP64): Define.
10402 (sha256_process_block): Perform total addition using 64-bit if
10403 possible.
10404 (__sha256_finish_ctx): Likewise.
10405
99231d9a
UD
104062011-07-01 Ulrich Drepper <drepper@gmail.com>
10407
10408 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10409 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10410 * nscd/hstcache.c (cache_addhst): Likewise.
10411 * nscd/grpcache.c (cache_addgr): Likewise.
10412 * nscd/aicache.c (addhstaiX): Likewise
10413 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10414
445b4a53
TK
104152011-07-01 Thorsten Kukuk <kukuk@suse.de>
10416
10417 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10418 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10419 * nscd/hstcache.c (cache_addhst): Likewise.
10420 * nscd/grpcache.c (cache_addgr): Likewise.
10421 * nscd/aicache.c (addhstaiX): Likewise
10422
6d4d8e8e
AS
104232011-07-01 Andreas Schwab <schwab@redhat.com>
10424
10425 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10426 domain only when needed.
10427
89f654c5
AS
104282011-06-30 Andreas Schwab <schwab@redhat.com>
10429
10430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10431 is always restored.
10432
cf3b23ff
UD
104332011-06-29 Ulrich Drepper <drepper@gmail.com>
10434
10435 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10436 are re-adding the entry.
10437 * nscd/servicescache.c (cache_addserv): Likewise.
10438
751626f9
AJ
104392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10440
10441 * sysdeps/generic/dl-irel.h: fix protection against multiple
10442 inclusions.
10443 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10444
9113ea1f
UD
104452011-06-28 Ulrich Drepper <drepper@gmail.com>
10446
5c0b8d90
UD
10447 [BZ #12935]
10448 * malloc/memusage.sh: Fix quoting in message.
10449 * debug/xtrace.sh: Likewise.
10450
9113ea1f
UD
10451 * configure.in: Remove support for --experimental-malloc option, make
10452 it the default.
10453 * config.make.in: Likewise.
10454 * malloc/Makefile: Likewise.
10455
a4172181
AS
104562011-06-27 Andreas Schwab <schwab@redhat.com>
10457
10458 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10459 two-byte characters.
10460
78a7eee7
RM
104612011-06-27 Roland McGrath <roland@hack.frob.com>
10462
62bede13
RM
10463 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10464 AC_CACHE_CHECK invocation.
10465 * configure: Regenerated.
10466
78a7eee7
RM
10467 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10468
5ce33a62
UD
104692011-06-27 Ulrich Drepper <drepper@gmail.com>
10470
034807a9
UD
10471 [BZ #12350]
10472 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10473 bit from old_res_options.
10474
4902da17
UD
10475 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10476
5ce33a62
UD
10477 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10478 value type for setfct.
10479
c2344f56
L
104802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10481
10482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10483 __gettimeofday instead of gettimeofday.
10484
68468076
UD
104852011-06-26 Ulrich Drepper <drepper@gmail.com>
10486
10487 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10488
acb0d739
L
104892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10490
10491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10492
10493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10494 info.
10495
8912479f
L
104962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10499 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10500 strcpy-sse2-unaligned strncpy-sse2-unaligned
10501 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10502 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10503 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10504 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10505 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10508 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10509 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10510 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10511 (STRCPY): Support SSE2 and SSSE3 versions.
10512
d5495a11
UD
105132011-06-24 Ulrich Drepper <drepper@gmail.com>
10514
10515 [BZ #12874]
10516 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10517 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10518 kernels which artificially limit size of requests.
10519
0b1cbaae
L
105202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10521
10522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10523 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10524 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10525 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10526 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10527 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10528 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10529 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10532 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10533 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10534 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10535 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10536 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10538 Enable unaligned load optimization for Intel Core i3, i5 and i7
10539 processors.
10540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10541 Define.
10542 (index_Fast_Unaligned_Load): Define.
10543 (HAS_FAST_UNALIGNED_LOAD): Define.
10544
07f494a0
MP
105452011-06-23 Marek Polacek <mpolacek@redhat.com>
10546
10547 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10548
fa3fc0fe
UD
105492011-06-22 Ulrich Drepper <drepper@gmail.com>
10550
10551 [BZ #12907]
10552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10553 until it is clear that the information is realy needed.
10554 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10555
e12df166
AS
105562011-06-22 Andreas Schwab <schwab@redhat.com>
10557
10558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10559
852eb34d
UD
105602011-06-22 Ulrich Drepper <drepper@gmail.com>
10561
84e2a551
UD
10562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10563 /sys/devices/system/cpu/online if it is usable.
10564
852eb34d
UD
10565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10566 reading the information from the /proc filesystem to once a second.
10567
6e502e19
UD
105682011-06-21 Andreas Jaeger <aj@suse.de>
10569
10570 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10571 NULL after inclusion of kernel headers.
10572
75d39ff2
UD
105732011-06-21 Ulrich Drepper <drepper@gmail.com>
10574
51f9aa6a
UD
10575 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10576 calls to internal_setent.
10577
c0244a9d
UD
10578 [BZ #12885]
10579 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10580 addresses using gethostbyname4_r ignore IPv4 addresses.
10581
c5e3c2ae
UD
10582 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10583 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10584
75d39ff2
UD
10585 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10586
42675c6f
DM
105872011-06-20 David S. Miller <davem@davemloft.net>
10588
10589 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10590 inclusions.
10591 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10592
10593 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10594 (elf_irel): Use it.
10595 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10596 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10597 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10598 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10599 * sysdeps/x86_64/dl-irel.h: Likewise.
10600
10601 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10602 * elf/dl-sym.c: Likewise.
10603
57912a71
UD
106042011-06-15 Ulrich Drepper <drepper@gmail.com>
10605
10606 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10607 need to dereference resplen2.
10608
ee22793d
AS
106092011-06-14 Andreas Schwab <schwab@redhat.com>
10610
10611 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10612
a9e836b0
UD
106132011-06-15 Ulrich Drepper <drepper@gmail.com>
10614
77fb9117
UD
10615 * Makeconfig: Define vardbdir and inst_vardbdir.
10616 * nss/Makefile: Add rules to install db-Makefile.
10617
40c1b22c
UD
10618 * nss/nss_db/db-XXX.c: Cleanup.
10619
9f2da732
UD
10620 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10621 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10622 GLIBC_PRIVATE.
10623 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10624 * nss/makedb.c: Implement -g option to specify that value strings
10625 are generated and should not be added to table iterated over for
10626 get*ent calls.
10627 * nss/nss_db/db-initgroups.c: New file.
10628
82e9a1f7
UD
10629 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10630 interface.
10631
c41af17e
UD
10632 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10633 (internal_getgrouplist): Adjust to name change.
10634 Update use_initgroups_entry if this is not the first call.
10635 * nss/databases.def: Add initgroups entry.
10636
a9e836b0
UD
10637 * nss/makedb.c (compute_tables): Check result of multiple hash table
10638 sizes to minimize maximum chain length.
10639
2666d441
UD
106402011-06-14 Ulrich Drepper <drepper@gmail.com>
10641
10642 * Versions.def: Add entry for libnss_db.
10643 * shlib-versions: Likewise.
10644 * nss/Makefile: Add rules to build libnss_db.
10645 * nss/Versions: Add libnss_db information. Organize libnss_files
10646 entries better.
10647 * nss/db-Makefile: Add gshadow support. Change rules for the new
10648 makedb progra. Some minor improvements to generate smaller files.
10649 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10650 here from...
10651 * nss/makedb.c: ...here.
10652 Improve database format to be smaller and require less memory at
10653 runtime.
10654 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10655 db anymore.
10656 * nss/nss_db/db-netgrp.c: Likewise.
10657 * nss/nss_db/db-open.c: Likewise.
10658 * nss/nss_files/flies-XXX.x: Adjust comments.
10659 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10660 * nss/nss_files/files-grp.c: Likewise.
10661 * nss/nss_files/files-hosts.c: Likewise.
10662 * nss/nss_files/files-network.c: Likewise.
10663 * nss/nss_files/files-proto.c: Likewise.
10664 * nss/nss_files/files-pwd.c: Likewise.
10665 * nss/nss_files/files-rpc.c: Likewise.
10666 * nss/nss_files/files-service.c: Likewise.
10667 * nss/nss_files/files-sgrp.c: Likewise.
10668 * nss/nss_files/files-spwd.c: Likewise.
10669 * nss/nss_db/db-alias.c: Removed.
10670 * nss/nss_db/dummy-db.h: Removed.
10671
9ee76b5a
UD
106722011-06-02 Ulrich Drepper <drepper@gmail.com>
10673
10674 * nss/makedb.c: Rewritten to not use database library.
10675 * nss/Makefile: Update to build new makedb program.
10676
c71ca1f8
AJ
106772011-06-14 Andreas Jaeger <aj@suse.de>
10678
10679 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10680 memset declaration.
10681
3154bfb8
UD
106822011-06-10 Andreas Schwab <schwab@redhat.com>
10683
10684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10685 tmpbuf.
10686
b350afab
RM
106872011-06-10 Roland McGrath <roland@hack.frob.com>
10688
decd4e50
RM
10689 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10690 * elf/Makefile ($(objpfx)ld.so): Likewise.
10691
5615eaf2
RM
10692 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10693 Don't list ld.so twice in dependencies.
10694
10695 * posix/bug-regex31.c: Include <stdlib.h>.
10696
10697 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10698
10699 * nis/nss_compat/compat-spwd.c
10700 (getspent_next_nss_netgr): Remove unused variable.
10701 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10702
10703 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10704 nonmembers" output to use the right array.
10705
10706 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10707
10708 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10709
10710 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10711 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10712 * catgets/gencat.c (read_input_file): Likewise.
10713 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10714
10715 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10716 variable definition inside #if's controlling its use.
10717
10718 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10719
10720 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10721
10722 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10723
10724 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10725 unreachable code.
10726
10727 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10728
b68e08db
RM
10729 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10730 * configure: Regenerated.
10731
b350afab
RM
10732 * Makerules: Revert last change.
10733 * elf/Makefile: Likewise.
10734
28368601
RM
107352011-06-09 Roland McGrath <roland@hack.frob.com>
10736
10737 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10738 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10739 (reloc-link): Likewise.
10740
11988f8f
UD
107412011-06-09 Ulrich Drepper <drepper@gmail.com>
10742
10743 * elf/Makefile: Add rules to build pldd.
10744 * elf/pldd.c: New file.
10745 * elf/pldd-xx.c: New file.
10746
e80fab37
UD
107472011-06-07 Ulrich Drepper <drepper@gmail.com>
10748
10749 * version.h: Update for 2.15 development version.
10750
9b849836
DM
107512011-06-07 David S. Miller <davem@davemloft.net>
10752
10753 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10754 ifuncs.
10755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10756 elf_machine_lazy_rel): Likewise.
10757 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10758 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10759 elf_machine_lazy_rel): Likewise.
10760 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10761 dl_hwcap via passed in argument.
10762 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10763 Likewise.
10764
5a31b283
AK
107652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10766
10767 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10768
069e52f8
RM
107692011-06-06 Roland McGrath <roland@hack.frob.com>
10770
10771 [BZ #12849]
10772 * manual/fdl-1.1.texi: New file, verbatim from:
10773 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10774 * manual/lgpl-2.1.texi: New file, verbatim from:
10775 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10776 * manual/Makefile (licenses): New variable, list those new file names.
10777 (texis): Use it.
10778 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10779
10780 * manual/fdl.texi: File removed.
10781 * manual/lesser.texi: File removed.
10782 * manual/libc.texinfo (Copying, Documentation License):
10783 Use new @include file names, put @appendix directive before @include.
10784
f16846a5
JJ
107852011-06-04 Jakub Jelinek <jakub@redhat.com>
10786
10787 [BZ #12841]
10788 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10789 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10790 (mq_open): Add __NTH.
10791
3d29045b
L
107922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10793
10794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10795 Assume Intel Core i3/i5/i7 processor if AVX is available.
10796
8c297311
UD
107972011-05-31 Ulrich Drepper <drepper@gmail.com>
10798
10799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10800 typo.
10801
c8fc0c91
UD
108022011-05-31 Andreas Schwab <schwab@redhat.com>
10803
10804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10805 memory. Use alloca_account. Fix memory leak when retrying.
10806
5b27a807
UD
108072011-05-31 Ulrich Drepper <drepper@gmail.com>
10808
356f8bc6
UD
10809 * version.h (RELEASE): Bump for 2.14 release.
10810 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10811
5b27a807
UD
10812 * config.make.in (RANLIB): Remove entry.
10813
01f16ab0
UD
108142011-05-30 Ulrich Drepper <drepper@gmail.com>
10815
41fce8bd
UD
10816 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10817 (libc.pot): Work around missing support for .ksh extension in xgettext.
10818
4769ae77
UD
10819 [BZ #12684]
10820 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10821 if both request failed.
10822 (send_dg): In case of server errors clear resplen or *resplen2.
10823
6b1e7d19
UD
10824 [BZ #12454]
10825 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10826 when there are multiple maps.
10827 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10828 (_dl_fini): Remove test here.
10829
01f16ab0
UD
10830 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10831
b1ebd700
UD
108322011-05-29 Ulrich Drepper <drepper@gmail.com>
10833
7ae22829
UD
10834 [BZ #12350]
10835 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10836 bit from old_res_options.
10837 (gaih_inet): Likewise.
10838
553149f6 10839 [BZ #11099]
18a84741 10840 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10841 as signed.
10842
652ffab1
UD
10843 * resolv/res_init.c (res_setoptions): Make the code more compact.
10844
16985fd0
UD
10845 [BZ #11558]
10846 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10847 set RES_USEVC.
10848
0464f746
UD
10849 [BZ #11634]
10850 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10851
7d17596c
UD
10852 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10853
cf6bbbd7
UD
10854 [BZ #11781]
10855 * malloc/malloc.h: Declare malloc hook variables as volatile.
10856
13f1ab36
UD
10857 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10858 in last patch.
10859
b1ebd700
UD
10860 [BZ #11799]
10861 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10862 raise in the comment.
80e2212d
UD
10863 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10865 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10866
ce67228d
UD
108672011-05-28 Ulrich Drepper <drepper@gmail.com>
10868
8887a920
UD
10869 [BZ #12811]
10870 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10871 grow the buffers more if it already has to be sufficient.
10872 (build_wcs_upper_buffer): Likewise.
10873 * posix/regexec.c (check_matching): Likewise.
10874 (clean_state_log_if_needed): Likewise.
10875 (extend_buffers): Don't enlarge buffers beyond size of the input
10876 buffer.
10877 Patches mostly by Emil Wojak <emil@wojak.eu>.
10878 * posix/bug-regex32.c: New file.
10879 * posix/Makefile (tests): Add bug-regex32.
10880
4f031072
UD
10881 * locale/findlocale.c (_nl_find_locale): Return right away if
10882 _nl_explode_name failed.
10883 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10884
d0478f0c
UD
10885 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10886
de81b246
UD
10887 * debug/xtrace.sh: Unify messages.
10888 * malloc/memusage.sh: Likewise.
10889
c738465a
UD
10890 [BZ #12813]
10891 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10892 time symbol from vDSO. Substitute with vsyscall if not available.
10893 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10894 __vdso_time.
10895
f1f929d7
UD
10896 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10897 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10898 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10899 Add sendmmsg and internal_sendmmsg.
10900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10901 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10902 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10903
ce67228d
UD
10904 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10905 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10906 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10907
e57420c6
UD
109082011-05-27 Ulrich Drepper <drepper@gmail.com>
10909
a8509ca5
UD
10910 [BZ #12813]
10911 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10912 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10913 available.
10914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10915 __vdso_getcpu.
10916
e57420c6
UD
10917 [BZ #12814]
10918 * iconvdata/Makefile (tests): Add bug-iconv9.
10919 * iconvdata/bug-iconv9.c: New file.
10920
4d07db15
AS
109212011-05-27 Andreas Schwab <schwab@redhat.com>
10922
10923 [BZ #12814]
10924 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10925
ea486f69
JJ
109262011-05-25 Jakub Jelinek <jakub@redhat.com>
10927
10928 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10929 (struct user_regs_struct): Change intcs field back to cs.
10930
6f038433
UD
109312011-05-25 Ulrich Drepper <drepper@gmail.com>
10932
10933 * po/ja.po: Update from translation team.
10934
67f86a25
UD
109352011-05-23 Ulrich Drepper <drepper@gmail.com>
10936
10937 [BZ #12795]
10938 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10939 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10940
def7fbd6
AS
109412011-05-20 Andreas Schwab <schwab@redhat.com>
10942
10943 * stdlib/longlong.h: Update from GCC.
10944
f50ef8f1
AS
109452011-05-23 Andreas Schwab <schwab@redhat.com>
10946
10947 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10948 parameter name.
10949 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10950 Add parameter name.
10951 (__sysconf): Pass it down.
10952
de7ce8f1
UD
109532011-05-22 Ulrich Drepper <drepper@gmail.com>
10954
f2962a71
UD
10955 [BZ #12671]
10956 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10957 some situations.
10958 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10959 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10960 add in in __libc_use_alloca calls. Adjust callers.
10961 (glob): Use malloc in some situations.
10962
de7ce8f1
UD
10963 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10964 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10965 pltexit.
10966
aec84f53
UD
109672011-05-21 Ulrich Drepper <drepper@gmail.com>
10968
05bb4a68
UD
10969 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10970 and CLOCK_BOOTTIME_ALARM.
10971
7ea72f99
UD
10972 [BZ #12782]
10973 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10974 is returned.
10975
7e4afad5
UD
10976 * string/_strerror.c (__strerror_r): Print negative errors as signed
10977 numbers.
10978
8e211fec
UD
10979 [BZ #12777]
10980 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10981 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10982 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10983
f7d82dc9
UD
10984 * configure.in: Fix typo in redirection and correct removal of test
10985 files in two cases.
10986
cc9e536d
UD
10987 [BZ #12788]
10988 * locale/setlocale.c (new_composite_name): Fix test to check for
10989 identical name of all categories.
10990
aec84f53
UD
10991 [BZ #12792]
10992 * libio/filedoalloc.c (local_isatty): New function.
10993 (_IO_file_doallocate): Use local_isatty.
10994 * stdio-common/perror.c (perror): In case a new stream is used
10995 forward the stream error.
10996 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10997 error flag.
10998
78e64fdc
RT
109992011-05-20 Ulrich Drepper <drepper@gmail.com>
11000
34a9094f
UD
11001 [BZ #11869]
11002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11003 alloca.
11004 * include/alloca.h (extend_alloca_account): Define.
11005
78e64fdc
RT
11006 [BZ #11857]
11007 * posix/regex.h: Fix comments with documentation of user-accessible
11008 fields after compilation and describe correct free'ing of pattern
11009 after re_compile_pattern.
11010 Patch by Reuben Thomas <rrt@sc3d.org>.
11011
457bddfc
RA
110122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11013
11014 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11015 and -mno-altivec to prevent the compiler from using Altivec and/or
11016 VSX instructions when the corresponding registers are not available.
11017
a4527b51
AS
110182011-05-19 Andreas Schwab <schwab@redhat.com>
11019
11020 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11021
ed690b2f
UD
110222011-05-19 Ulrich Drepper <drepper@gmail.com>
11023
11024 * libio/freopen.c (freopen): Use __dup2, not dup2.
11025 * libio/freopen64.c (freopen64): Likewise.
11026
8db73634
L
110272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11028
11029 [BZ #12775]
11030 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11031 * math/Makefile (tests): Add test-powl.
11032 (CFLAGS-test-powl.c): Define.
11033 * math/test-powl.c: New file.
11034
0a197a9d
L
110352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11036
11037 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11038
ee30c380
UD
110392011-05-17 Ulrich Drepper <drepper@gmail.com>
11040
11041 [BZ #11837]
11042 * iconvdata/gb18030.c: Update to GB18020-2005.
11043
6ce75379
UD
110442011-05-16 Ulrich Drepper <drepper@gmail.com>
11045
a4b89fd8
AR
11046 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11047 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11048 Patch by Aharon Robbins <arnold@skeeve.com>.
11049
ea389b12
UD
11050 [BZ #11892]
11051 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11052 on the stack.
11053
68a3f91f
UD
11054 [BZ #11895]
11055 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11056 through underflows.
11057
15cc7dd1
UD
11058 [BZ #12766]
11059 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11060 point to strings before performing equality test for error_one_per_line
11061 mode.
11062
f3799213
UD
11063 [BZ #11697]
11064 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11065
d79a9c94
UD
11066 [BZ #11820]
11067 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11068 (struct user_fpregs_struct): Avoid __uint*_t types.
11069
56e5eb46
UD
11070 [BZ #6420]
11071 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11072 symbol info. Use it instead of calling _dl_addr locally.
11073 (lock_and_info): New function.
11074 (tr_freehook): Call lock_and_info and pass symbol info as additional
11075 parameter to tr_where.
11076 (tr_mallochook): Likewise.
11077 (tr_reallochook): Likewise.
11078 (tr_memalignhook): Likewise.
11079
6ce75379
UD
11080 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11081 used and couldn't be at all thread-safe.
11082
f8a3b5bf
UD
110832011-05-15 Ulrich Drepper <drepper@gmail.com>
11084
94b7cc37
UD
11085 * libio/freopen.c (freopen): Don't close old file descriptor
11086 before the new one is opened. Instead dup the new file descriptor
11087 to the old one after the new stream is created.
11088 * libio/freopen64.c (freopen64): Likewise.
11089 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11090 * libio/fileops.c (_IO_new_file_close_it): Handle new
11091 _IO_FLAGS2_NOCLOSE flag.
11092 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11093 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11094 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11095 _IO_FLAGS2_NOCLOSE flag.
11096 * include/unistd.h: Add hidden_proto for dup3.
11097 Define __have_dup3.
11098 * io/dup3.c: Define hidden symbol.
11099 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11100
bd25564e
UD
11101 [BZ #7101]
11102 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11103 when an incomplete long option is used.
11104 * posix/tst-getopt_long1.c: New file.
11105 * posix/Makefile (tests): Add tst-getopt_long1.
11106
c84cfef4
UD
11107 [BZ #10138]
11108 * scripts/config.guess: Update from autoconf-2.68.
11109 * scripts/config.sub: Likewise.
11110
3b85df27
UD
11111 [BZ #10157]
11112 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11113 tests into ...
11114 (has_cpuclock): ...this. New function.
11115 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11116 macro here based on has_cpuclock code.
11117
15a856b1
UD
11118 [BZ #10149]
11119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11120 First byte (not low byte) is now always NUL.
11121 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11122
05f399e6
UD
11123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11124 Use non-cancelable interfaces.
11125
10a52685 11126 [BZ #9809]
94ecc67d
UD
11127 * locale/iso-639.def: Add entry for Sorani.
11128
f8a3b5bf
UD
11129 [BZ #11901]
11130 * include/stdlib.h: Move include protection to the right place.
11131 Define abort_msg_s. Declare __abort_msg with it.
11132 * stdlib/abort.c (__abort_msg): Adjust type.
11133 * assert/assert.c (__assert_fail_base): New function. Majority
11134 of code from __assert_fail. Allocate memory for __abort_msg with
11135 mmap.
11136 (__assert_fail): Now call __assert_fail_base.
11137 * assert/assert-perr.c: Remove bulk of implementation. Use
11138 __assert_fail_base.
11139 * include/assert.hL Declare __assert_fail_base.
11140 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11141 mmap.
11142 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11143
1af4e298
UD
111442011-05-14 Ulrich Drepper <drepper@gmail.com>
11145
f8a3b5bf 11146 [BZ #11952]
d26dfc60
MG
11147 [BZ #12453]
11148 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11149 until all modules are registered in the DTV.
11150 * elf/Makefile: Add rules to build and run tst-tls19.
11151 * elf/tst-tls19.c: New file.
11152 * elf/tst-tls19mod1.c: New file.
11153 * elf/tst-tls19mod2.c: New file.
11154 * elf/tst-tls19mod3.c: New file.
11155 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11156
2fc54d6f
UD
11157 [BZ #12083]
11158 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11159 correctly.
11160
98d76b46
UD
11161 [BZ #12601]
11162 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11163 two-byte sequence errors.
11164 * iconvdata/Makefile (tests): Add bug-iconv8.
11165 * iconvdata/bug-iconv8.c: New file.
11166
da3c19ef
UD
11167 [BZ #12626]
11168 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11169 buf2 definition.
11170
ca408c15
UD
11171 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11172
d6f67f7d
UD
11173 [BZ #12432]
11174 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11175 (dummy_getcfa): New function.
11176 (init): Get _Unwind_GetCFA address, use dummy if not found.
11177 (backtrace_helper): In recursion check, also check whether CFA changes.
11178 (__backtrace): Completely initialize arg.
11179
1af4e298 11180 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11181 storing incomplete byte sequence in state object. Avoid testing for
11182 guaranteed too small input if we know there is enough data available.
1af4e298 11183
da62f81b
AS
111842011-05-11 Andreas Schwab <schwab@redhat.com>
11185
11186 * Makeconfig (+link-pie): Indent.
11187 * Rules (binaries-pie): Define if $(have-fpie) and
11188 $(build-shared).
11189 (binaries-shared): Also filter out $(binaries-pie).
11190 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11191 * nscd/Makefile (others-pie): Add nscd.
11192 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11193 ($(objpfx)nscd): Remove command override.
11194 * login/Makefile (others-pie): Add pt_chown.
11195 ($(objpfx)pt_chown): Remove command override.
11196 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11197 remove command overrides.
11198
fcabc0f8
UD
111992011-05-13 Ulrich Drepper <drepper@gmail.com>
11200
20030ae6
UD
11201 * libio/tst_putwc.c: Fix error messages.
11202
fcabc0f8
UD
11203 [BZ #12724]
11204 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11205 currently writing and seek to current position when not.
11206 * libio/Makefile (tests): Add bug-fclose1.
11207 * libio/bug-fclose1.c: New file.
11208
320a5dc0
PB
112092011-05-12 Ulrich Drepper <drepper@gmail.com>
11210
11211 [BZ #12511]
11212 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11213 don't set DF_1_NODELETE here.
11214 (do_lookup_x): When entering new entry test for copy relocation
11215 and if necessary set DF_1_NODELETE flag.
11216 * elf/tst-unique4.cc: New file.
11217 * elf/tst-unique4.h: New file.
11218 * elf/tst-unique4lib.cc: New file.
11219 * elf/Makefile: Add rules to build and run tst-unique4.
11220 Patch by Piotr Bury <pbury@goahead.com>.
11221
22836f52
UD
112222011-05-11 Ulrich Drepper <drepper@gmail.com>
11223
f574184a
UD
11224 [BZ #12052]
11225 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11226
e1fb097f
UD
11227 [BZ #12625]
11228 * misc/mntent_r.c (addmntent): Flush the stream after the output
11229
22836f52
UD
11230 [BZ #12393]
11231 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11232 (is_trusted_path_normalize): Skip initial colon. Append slash
11233 to empty buffer. Duplicate is_trusted_path code but allow
11234 constructed patch to be prefix.
11235 (is_dst): Allow $ORIGIN followed by /.
11236 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11237 Correct testing of result of is_trusted_path_normalize
11238 (decompose_rpath): Fix warning.
11239
7b3b0b2a
UD
112402011-05-10 Ulrich Drepper <drepper@gmail.com>
11241
11242 [BZ #11257]
11243 * grp/initgroups.c (internal_getgrouplist): When we found the service
11244 list through the initgroups entry in nsswitch.conf do not always
11245 continue on a successful lookup. Don't always use the
eac80ce2 11246 __nss_group_database value if it is set.
7b3b0b2a
UD
11247 * nss/nsswitch.conf (initgroups): Change action for successful db
11248 lookup to continue for compatibility.
11249
2a81eaa5
UD
112502011-05-09 Ulrich Drepper <drepper@gmail.com>
11251
be97a69e
UD
11252 [BZ #11532]
11253 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11254 and CP774 modules.
11255 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11256 and CP774 modules.
11257 * iconvdata/tst-tables.sh: Likewise.
11258 * iconvdata/cp770.c: New file.
11259 * iconvdata/cp771.c: New file.
11260 * iconvdata/cp772.c: New file.
11261 * iconvdata/cp773.c: New file.
11262 * iconvdata/cp774.c: New file.
11263 * iconvdata/testdata/CP770: New file.
11264 * iconvdata/testdata/CP770..UTF8: New file.
11265 * iconvdata/testdata/CP771: New file.
11266 * iconvdata/testdata/CP771..UTF8: New file.
11267 * iconvdata/testdata/CP772: New file.
11268 * iconvdata/testdata/CP772..UTF8: New file.
11269 * iconvdata/testdata/CP773: New file.
11270 * iconvdata/testdata/CP773..UTF8: New file.
11271 * iconvdata/testdata/CP774: New file.
11272 * iconvdata/testdata/CP774..UTF8: New file.
11273
11274 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11275 END CHARMAP line.
11276 * iconvdata/gen-8bit-gap.sh: Likewise.
11277 * iconvdata/gen-8bit.sh: Likewise.
11278
c1e9e399
UD
11279 * locale/iso-639.def: Add ary entry.
11280
24c55fb3 11281 [BZ #11258]
96b4b1b0
UD
11282 * locale/C-translit.h.in: Add U20A1 transliteration.
11283
bdc2f971
KB
11284 [BZ #12178]
11285 * locale/iso-639.def: Add wae entry.
11286 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11287
2952b117
UD
11288 [BZ #12545]
11289 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11290 for n.
11291
2a81eaa5
UD
11292 [BZ #12711]
11293 * locale/C-translit.h.in: Add entry for U20B9.
11294 Patch by pravin.d.s@gmail.com.
11295
28377d1b
UD
112962011-05-08 Ulrich Drepper <drepper@gmail.com>
11297
7fb90fb8
UD
11298 [BZ #12713]
11299 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11300 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11301 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11302 in rtld. Use *stat64.
7fb90fb8 11303 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11304 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11305 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11306 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11307 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11308 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11309 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11310 __fstatat64 macros.
7fb90fb8
UD
11311 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11312 * dirent/rewinddir.c: Add libc_hidden_def.
11313 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11314 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11315
28377d1b
UD
11316 * include/dirent.h (__alloc_dir): Add flags parameter.
11317 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11318 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11319 __alloc_dir.
11320 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11321 from fdopendir if O_CLOEXEC is already set.
11322
66bdbaa4
AM
113232011-03-15 Alan Modra <amodra@gmail.com>
11324
11325 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11326 l_tls_firstbyte_offset non-zero. Save padding offset in
11327 l_tls_firstbyte_offset for later use.
11328 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11329 freeing static tls block.
11330
95721191
JN
113312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11332
11333 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11334 where #ifdef was intended. The intent is to prevent ARG_MAX from
11335 being defined by the kernel headers.
11336
f87dfb1f
UD
113372011-05-07 Ulrich Drepper <drepper@gmail.com>
11338
11339 [BZ #12734]
11340 * resolv/resolv.h: Define RES_NOTLDQUERY.
11341 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11342 no-tld-query and set RES_NOTLDQUERY.
11343 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11344 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11345 modern BIND to search name as TLD unless forbidden.
11346
47c3cd7a
UD
113472011-05-07 Petr Baudis <pasky@suse.cz>
11348 Ulrich Drepper <drepper@gmail.com>
11349
11350 [BZ #12393]
11351 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11352 (is_trusted_path): ...to here.
c1e9ea35 11353 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11354 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11355 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11356
8a35c912
PP
113572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11358
11359 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11360 __BEGIN/__END_DECLS.
11361
acd41f47
UD
113622011-05-06 Ulrich Drepper <drepper@gmail.com>
11363
11364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11365 NSS_STATUS_NOTFOUND if no record was found.
11366
597df647
AS
113672011-05-05 Andreas Schwab <schwab@redhat.com>
11368
11369 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11370 (headers-not-in-tirpc): Remove rpc/netdb.h
11371 * resolv/netdb.h: Revert last change.
11372
b9af1301
PP
113732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11374
11375 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11376 circular dependency between libgcc.a and libc.a.
11377
4e34d5f5
AS
113782011-05-05 Andreas Schwab <schwab@redhat.com>
11379
11380 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11381 * nis/Makefile: Don't install rpcsvc/*.
11382 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11383 instead of <rpc/types.h>.
11384 (MAXHOSTNAMELEN): Define.
11385
00ee369c
AS
113862011-05-03 Andreas Schwab <schwab@redhat.com>
11387
11388 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11389
0b592a30
MB
113902011-04-28 Maciej Babinski <mbabinski@google.com>
11391
11392 [BZ #12714]
11393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11394 gethostbyname4_r when IPv6 results are possible.
11395
6e04cbbe
UD
113962011-05-02 Ulrich Drepper <drepper@gmail.com>
11397
11398 [BZ #12723]
11399 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11400 _PC_PIPE_BUF handling.
11401
e4ecafe0
BH
114022011-04-30 Bruno Haible <bruno@clisp.org>
11403
11404 [BZ #12717]
11405 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11406 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11407 to 'int'.
11408 * inet/getnameinfo.c (getnameinfo): Likewise.
11409
125ee683
UD
114102011-04-29 Ulrich Drepper <drepper@gmail.com>
11411
11412 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11413 to groups setting in database lookup.
11414 * nss/nsswitch.conf: Add initgroups entry.
11415
b722481a
EB
114162011-04-22 Ulrich Drepper <drepper@gmail.com>
11417
11418 [BZ #12685]
11419 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11420 mode string.
11421 Patch by Eric Blake <eblake@redhat.com>.
11422
4df46dbd
L
114232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11424
11425 * sunrpc/Makefile (need-export-routines): Add svc_run.
11426 (routines): Remove svc_run.
11427 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11428 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11429 * sunrpc/svc_run.c (svc_run): Likewise.
11430 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11431
e84142d2
UD
114322011-04-21 Ulrich Drepper <drepper@gmail.com>
11433
11434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11435 problem in reallocation in last patch.
11436
877175d8
UD
114372011-04-20 Ulrich Drepper <drepper@gmail.com>
11438
11439 * sunrpc/Makefile: Move inclusion of Rules.
11440
ab8eed78
UD
114412011-04-19 Ulrich Drepper <drepper@gmail.com>
11442
11443 * nss/nss_files/files-initgroups.c: New file.
11444 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11445 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11446 _nss_files_initgroups_dyn.
11447
e3d8f584
RS
114482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11449
11450 * elf/elf.h (R_ARM_IRELATIVE): Define.
11451
af190f45
UD
114522011-04-19 Ulrich Drepper <drepper@gmail.com>
11453
11454 * po/ru.po: Update from translation team.
11455
53cf59ef
UD
114562011-04-17 Ulrich Drepper <drepper@gmail.com>
11457
11458 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11459 dependencies.
11460
4c559bcd
MF
114612011-02-06 Mike Frysinger <vapier@gentoo.org>
11462
11463 [BZ #12653]
11464 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11465 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11466 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11469
4420675c
AS
114702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11471
11472 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11473 differing bytes.
11474 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11476 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11477
75ea32ab
UD
114782011-04-17 Ulrich Drepper <drepper@gmail.com>
11479
11480 [BZ #12420]
11481 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11482 storing it.
11483 * stdlib/bug-getcontext.c: New file.
11484 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11485
27390476
AK
114862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11487
11488 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11489 instructions into .machine "z9-109".
11490 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11491 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11492
10442705
AK
114932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11494
11495 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11496 between environment variables and auxiliary vector.
11497
7b57bfe5
UD
114982011-04-16 Ulrich Drepper <drepper@gmail.com>
11499
11500 * Makefile: Add rules to build linkobj/libc.so.
11501 * include/libc-symbols.h: Define libc_hidden_nolink.
11502 * include/rpc/auth.h: Mark functions which are to be hidden.
11503 * include/rpc/auth_des.h: Likewise.
11504 * include/rpc/auth_unix.h: Likewise.
11505 * include/rpc/clnt.h: Likewise.
11506 * include/rpc/des_crypt.h: Likewise.
11507 * include/rpc/key_prot.h: Likewise.
11508 * include/rpc/pmap_clnt.h: Likewise.
11509 * include/rpc/pmap_prot.h: Likewise.
11510 * include/rpc/pmap_rmt.h: Likewise.
11511 * include/rpc/rpc_msg.h: Likewise.
11512 * include/rpc/svc.h: Likewise.
11513 * include/rpc/svc_auth.h: Likewise.
11514 * include/rpc/xdr.h: Likewise.
11515 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11516 * nss/Makefile: Likewise.
11517 * sunrpc/Makefile: Don't install headers. Build library with normal
11518 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11519 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11520 for the compat linking library. Remove use of INTDEF/INTUSE.
11521 * sunrpc/auth_none.c: Likewise.
11522 * sunrpc/auth_unix.c: Likewise.
11523 * sunrpc/authdes_prot.c: Likewise.
11524 * sunrpc/authuxprot.c: Likewise.
11525 * sunrpc/clnt_gen.c: Likewise.
11526 * sunrpc/clnt_perr.c: Likewise.
11527 * sunrpc/clnt_raw.c: Likewise.
11528 * sunrpc/clnt_simp.c: Likewise.
11529 * sunrpc/clnt_tcp.c: Likewise.
11530 * sunrpc/clnt_udp.c: Likewise.
11531 * sunrpc/clnt_unix.c: Likewise.
11532 * sunrpc/des_crypt.c: Likewise.
11533 * sunrpc/des_soft.c: Likewise.
11534 * sunrpc/get_myaddr.c: Likewise.
11535 * sunrpc/key_call.c: Likewise.
11536 * sunrpc/key_prot.c: Likewise.
11537 * sunrpc/netname.c: Likewise.
11538 * sunrpc/pm_getmaps.c: Likewise.
11539 * sunrpc/pm_getport.c: Likewise.
11540 * sunrpc/pmap_clnt.c: Likewise.
11541 * sunrpc/pmap_prot.c: Likewise.
11542 * sunrpc/pmap_prot2.c: Likewise.
11543 * sunrpc/pmap_rmt.c: Likewise.
11544 * sunrpc/publickey.c: Likewise.
11545 * sunrpc/rpc_cmsg.c: Likewise.
11546 * sunrpc/rpc_common.c: Likewise.
11547 * sunrpc/rpc_dtable.c: Likewise.
11548 * sunrpc/rpc_prot.c: Likewise.
11549 * sunrpc/rpc_thread.c: Likewise.
11550 * sunrpc/rtime.c: Likewise.
11551 * sunrpc/svc.c: Likewise.
11552 * sunrpc/svc_auth.c: Likewise.
11553 * sunrpc/svc_authux.c: Likewise.
11554 * sunrpc/svc_raw.c: Likewise.
11555 * sunrpc/svc_run.c: Likewise.
11556 * sunrpc/svc_simple.c: Likewise.
11557 * sunrpc/svc_tcp.c: Likewise.
11558 * sunrpc/svc_udp.c: Likewise.
11559 * sunrpc/svc_unix.c: Likewise.
11560 * sunrpc/svcauth_des.c: Likewise.
11561 * sunrpc/xcrypt.c: Likewise.
11562 * sunrpc/xdr.c: Likewise.
11563 * sunrpc/xdr_array.c: Likewise.
11564 * sunrpc/xdr_float.c: Likewise.
11565 * sunrpc/xdr_intXX_t.c: Likewise.
11566 * sunrpc/xdr_mem.c: Likewise.
11567 * sunrpc/xdr_rec.c: Likewise.
11568 * sunrpc/xdr_ref.c: Likewise.
11569 * sunrpc/xdr_sizeof.c: Likewise.
11570 * sunrpc/xdr_stdio.c: Likewise.
11571
e6c61494
UD
115722011-04-10 Ulrich Drepper <drepper@gmail.com>
11573
11574 [BZ #12650]
11575 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11576 * sysdeps/ia64/dl-tls.h: Likewise.
11577 * sysdeps/powerpc/dl-tls.h: Likewise.
11578 * sysdeps/s390/dl-tls.h: Likewise.
11579 * sysdeps/sh/dl-tls.h: Likewise.
11580 * sysdeps/sparc/dl-tls.h: Likewise.
11581 * sysdeps/x86_64/dl-tls.h: Likewise.
11582 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11583
34fe483e
AS
115842011-03-14 Andreas Schwab <schwab@redhat.com>
11585
11586 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11587 rpath element also skip the following colon.
11588 (expand_dynamic_string_token): Add is_path parameter and pass
11589 down to DL_DST_REQUIRED and _dl_dst_substitute.
11590 (decompose_rpath): Call expand_dynamic_string_token with
11591 non-zero is_path. Ignore empty rpaths.
11592 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11593 with zero is_path.
11594
f12a32e6
AS
115952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11596
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11598 Make cancelable.
11599
38a7d692
UD
116002011-04-09 Ulrich Drepper <drepper@gmail.com>
11601
11602 [BZ #12655]
11603 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11604 Patch by Filipe David Manana <fdmanana@apache.org>.
11605
e451d22b
AS
116062011-04-07 Andreas Schwab <schwab@redhat.com>
11607
11608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11609 Maintain aligned stack.
11610 (CHECK_RSP): Remove unused macro.
11611
dedc7c7b
UD
116122011-04-03 Ulrich Drepper <drepper@gmail.com>
11613
11614 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11615 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11616
94521213
UD
116172011-04-02 Ulrich Drepper <drepper@gmail.com>
11618
11619 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11620
8cb700c0 11621 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11622
0354e355
L
116232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11624
11625 [BZ #12518]
11626 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11627 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11628 * sysdeps/x86_64/memmove.c: New file.
11629 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11630 (memcpy): Renamed to ...
11631 (__new_memcpy): This.
11632 (memcpy): Provide GLIBC_2_14 memcpy.
11633 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11634 (memcpy): Provide GLIBC_2_2_5 memcpy.
11635
8593482f
UD
116362011-04-01 Ulrich Drepper <drepper@gmail.com>
11637
11638 [BZ #12631]
11639 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11640
81a5726b
AS
116412011-03-30 Andreas Schwab <schwab@redhat.com>
11642
11643 * misc/syncfs.c: New file.
11644 * misc/Makefile (routines): Add syncfs.
11645 * posix/unistd.h: Declare syncfs.
11646 * sysdeps/unix/syscalls.list: Add syncfs.
11647
00e5419f
AS
116482011-04-01 Andreas Schwab <schwab@redhat.com>
11649
11650 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11651 open_by_handle_at.
11652 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11653 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11657 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11658 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11659
748876bf
UD
116602011-04-01 Ulrich Drepper <drepper@gmail.com>
11661
658e451d
UD
11662 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11663 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11669
748876bf
UD
11670 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11671 sync_file_range.c with -fexceptions.
11672 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11673 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11674 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11675 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11676 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11677 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11679 sync_file_range as cancellation point
11680 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11681 now a wrapper around __call_sync_file_range with cancellation handling.
11682 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11683 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11684 function name to __call_sync_file_range.
11685 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11686 Add call_sync_file_range.
748876bf 11687
6e63d5e1
AS
116882011-04-01 Andreas Schwab <schwab@redhat.com>
11689
11690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11691 bits/timex.h.
6e63d5e1 11692
46998f74
UD
116932011-04-01 Ulrich Drepper <drepper@gmail.com>
11694
4c1423ed
UD
11695 * iconv/iconv.h: Fix typo in comment.
11696 * io/fcntl.h: Likewise.
11697 * libio/stdio.h: Likewise.
11698 * posix/spawn.h: Likewise.
11699 * posix/unistd.h: Likewise.
11700 * stdlib/stdlib.h: Likewise.
11701 * time/time.h: Likewise.
11702 * wcsmbs/wchar.h: Likewise.
11703
158648c0
UD
11704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11705 open_by_handle): Add.
11706 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11707 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11708 Augment a few comments.
11709 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11714 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11715 open_by_handle.
11716
46998f74
UD
11717 * io/fcntl.h (AT_EMPTY_PATH): Define.
11718
83fe108b
UD
117192011-03-30 Ulrich Drepper <drepper@gmail.com>
11720
11721 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11722 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11723 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11724 to...
11725 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11726 * Versions.def: Add GLIBC_2.14.
11727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11728 Export.
83fe108b 11729
bb242059
UD
117302011-03-22 Ulrich Drepper <drepper@gmail.com>
11731
11732 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11733 round counter.
11734 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11735
c97a1282
L
117362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 [BZ #12597]
11739 * string/test-strncmp.c (do_page_test): New function.
11740 (check2): Likewise.
11741 (test_main): Call check2.
11742 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11743
2a115601
UD
117442011-03-20 Ulrich Drepper <drepper@gmail.com>
11745
11746 [BZ #12587]
11747 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11748 Handle cache information in CPU leaf 4.
11749 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11750
8126d904
UD
117512011-03-18 Ulrich Drepper <drepper@gmail.com>
11752
042c49c6 11753 [BZ #12583]
8126d904
UD
11754 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11755 character representation.
11756 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11757
ccfe366e
RA
117582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11759
11760 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11761 END(__isnan) to END(__isnanf) to match function entry point/label
11762 EALIGN(__isnanf,...).
11763
c6e13027
JJ
117642011-03-10 Jakub Jelinek <jakub@redhat.com>
11765
11766 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11767
33f85a3f
UD
117682011-03-10 Ulrich Drepper <drepper@gmail.com>
11769
028478fa
UD
11770 [BZ #12510]
11771 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11772 copy from the symbol referenced in the relocation to initialize the
11773 used variable.
11774 Patch by Piotr Bury <pbury@goahead.com>.
11775 * elf/Makefile: Add rules to build and tst-unique3.
11776 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11777 * elf/tst-unique3.cc: New file.
11778 * elf/tst-unique3.h: New file.
11779 * elf/tst-unique3lib.cc: New file.
11780 * elf/tst-unique3lib2.cc: New file.
11781
33f85a3f
UD
11782 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11783
03592fc7
MF
117842011-03-10 Mike Frysinger <vapier@gentoo.org>
11785
11786 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11787 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11788 to _start.
03592fc7 11789
6a5ee102
UD
117902011-03-06 Ulrich Drepper <drepper@gmail.com>
11791
11792 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11793 to-be-loaded object along a path to loader is ld.so.
11794
7e4ba49c
HJ
117952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11796 Ulrich Drepper <drepper@gmail.com>
11797
11798 * sysdeps/x86_64/memset.S: After aligning destination, code
11799 branches to different locations depending on the value of
11800 misalignment, when multiarch is enabled. Fix this.
11801
118022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11803
11804 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11805 Set _x86_64_preferred_memory_instruction for AMD processsors.
11806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11807 Set bit_Prefer_SSE_for_memop for AMD processors.
11808
13a804de
UD
118092011-03-04 Ulrich Drepper <drepper@gmail.com>
11810
11811 * libio/fmemopen.c (fmemopen): Optimize a bit.
11812
9d25c392
AS
118132011-03-03 Andreas Schwab <schwab@redhat.com>
11814
11815 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11816
a5543c6a
RM
118172011-03-03 Roland McGrath <roland@redhat.com>
11818
11819 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11820
012d35f7
DM
118212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11822
7e4ba49c 11823 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11824 __bzero_ultra1 instead of __memset_ultra1.
11825
4bff6e01
AS
118262011-02-23 Andreas Schwab <schwab@redhat.com>
11827 Ulrich Drepper <drepper@gmail.com>
11828
11829 [BZ #12509]
11830 * include/link.h (struct link_map): Add l_orig_initfini.
11831 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11832 returning unsuccessfully.
11833 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11834 close of a file loaded at startup, restore the original l_initfini
11835 list.
11836 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11837 list, store the pointer.
11838 * elf/Makefile ($(objpfx)noload-mem): New rule.
11839 (noload-ENV): Define.
11840 (tests): Add $(objpfx)noload-mem.
11841 * elf/noload.c: Include <memcheck.h>.
11842 (main): Call mtrace. Close all opened handles.
11843
f2092faf
AS
118442011-02-17 Andreas Schwab <schwab@redhat.com>
11845
11846 [BZ #12454]
11847 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11848 dependencies are missing.
11849
6c8a2e88
ST
118502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11851
f2092faf 11852 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11853 Hurd needs munmap.
11854 * sysdeps/mach/hurd/ifreq.h: New file.
11855
84a42118
PB
118562011-01-27 Petr Baudis <pasky@suse.cz>
11857 Ulrich Drepper <drepper@gmail.com>
11858
071f805e 11859 [BZ 12445]#
84a42118
PB
11860 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11861 to extend_alloca().
11862 * stdio-common/bug23.c: New file.
11863 * stdio-common/Makefile (tests): Add bug23.
11864
e23fe25b
AS
118652010-09-28 Andreas Schwab <schwab@redhat.com>
11866 Ulrich Drepper <drepper@gmail.com>
11867
11868 [BZ #12489]
11869 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11870 before performing relro protection. At old place add assertion
11871 to make sure nothing changed.
11872
d3f02e10
NS
118732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11874 Glauber de Oliveira Costa <glommer@gmail.com>
11875
11876 * elf/elf.h: Add new ARM TLS relocs.
11877
d55fd7a5
RA
118782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11879
11880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11881 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11882 cast from r3.
11883 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11884 'tests' variable.
11885 * sysdeps/wordsize-64/tst-writev.c: New file.
11886
2206397e
RA
118872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11888
11889 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11890 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11891 insns in _dl_start to prevent a TOC reference before relocs are
11892 resolved.
11893
e9433893
UD
118942011-02-15 Ulrich Drepper <drepper@gmail.com>
11895
11896 [BZ #12469]
11897 * Makeconfig: Remove RANLIB definition.
11898 * Makerules: Don't use RANLIB.
11899 * aclocal.m4: Remove ranlib test.
11900 * configure.in: No need to check for ranlib.
11901 * elf/rtld-Rules: Don't use RANLIB.
11902
f75286c6
ST
119032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11904
8e31c82d
ST
11905 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11906 protection macro.
11907 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11908 inclusion protection macro.
11909
f75286c6
ST
11910 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11911 SIGRTMIN and SIGRTMAX and print information in that case only when
11912 SIGRTMIN is defined.
11913
c1d0e639
JJ
119142011-02-11 Jakub Jelinek <jakub@redhat.com>
11915
11916 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11917 arginfo fn returning -1.
11918
11919 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11920 and thousands string is zero terminated.
11921
edf9294e
AS
119222011-02-03 Andreas Schwab <schwab@redhat.com>
11923
11924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11925 sysdeps/unix/sysv/linux/bits/socket.h.
11926
2b7e92df
ST
119272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11928
edf9294e
AS
11929 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11930 (__CPU_COUNT): Remove old macros.
11931 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11932 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11933 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11934 (__sched_cpualloc, __sched_cpufree): Add declarations.
11935
a4c7ea7b
UD
119362011-02-05 Ulrich Drepper <drepper@gmail.com>
11937
11938 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11939 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11940 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11941 (readdhstai): Return value of addhstaiX call.
11942 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11943 (addgrbyX): Return value returned by cache_addgr.
11944 (readdgrbyname): Return value returned by addgrbyX.
11945 (readdgrbygid): Likewise.
11946 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11947 (addpwbyX): Return value returned by cache_addpw.
11948 (readdpwbyname): Return value returned by addhstbyX.
11949 (readdpwbyuid): Likewise.
11950 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11951 (addservbyX): Return value returned by cache_addserv.
11952 (readdservbyname): Return value returned by addservbyX:
11953 (readdservbyport): Likewise.
11954 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11955 (addhstbyX): Return value returned by cache_addhst.
11956 (readdhstbyname): Return value returned by addhstbyX.
11957 (readdhstbyaddr): Likewise.
11958 (readdhstbynamev6): Likewise.
11959 (readdhstbyaddrv6): Likewise.
11960 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11961 (readdinitgroups): Return value returned by addinitgroupsX.
11962 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11963 (prune_cache): Keep track of timeout value of re-added entries.
11964 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11965 * nscd/nscd.h: Adjust prototypes of readd* functions.
11966
a0bf67cc
RM
119672011-02-04 Roland McGrath <roland@redhat.com>
11968
11969 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11970 (nis_stats): Likewise.
11971 * nis/nis_modify.c (nis_modify): Likewise.
11972 * nis/nis_remove.c (nis_remove): Likewise.
11973 * nis/nis_add.c (nis_add): Likewise.
11974
11975 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11976
11977 * posix/fnmatch_loop.c: Add some consts.
11978
11979 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11980
435b95eb
L
119812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11982
11983 [BZ #12460]
11984 * config.make.in (config-cflags-novzeroupper): Define.
11985 * configure.in: Substitute libc_cv_cc_novzeroupper.
11986 * elf/Makefile (AVX-CFLAGS): Define.
11987 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11988 (CFLAGS-tst-auditmod4a.c): Likewise.
11989 (CFLAGS-tst-auditmod4b.c): Likewise.
11990 (CFLAGS-tst-auditmod6b.c): Likewise.
11991 (CFLAGS-tst-auditmod6c.c): Likewise.
11992 (CFLAGS-tst-auditmod7b.c): Likewise.
11993 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11994
8517b15e
UD
119952011-02-02 Ulrich Drepper <drepper@gmail.com>
11996
11997 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11998 function to the callback.
11999 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12000
10a656fe
AS
120012011-02-02 Andreas Schwab <schwab@redhat.com>
12002
12003 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12004 of errno.
12005
968dad0a
UD
120062011-01-19 Ulrich Drepper <drepper@gmail.com>
12007
9f94d2ea 12008 [BZ #11724]
968dad0a
UD
12009 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12010 of constructors.
12011 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12012 of destructors.
12013 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12014
12015 [BZ #11724]
12016 * elf/Makefile: Add rules to build and run new test.
12017 * elf/tst-initorder.c: New file.
12018 * elf/tst-initorder.exp: New file.
12019 * elf/tst-initordera1.c: New file.
12020 * elf/tst-initordera2.c: New file.
12021 * elf/tst-initordera3.c: New file.
12022 * elf/tst-initordera4.c: New file.
12023 * elf/tst-initorderb1.c: New file.
12024 * elf/tst-initorderb2.c: New file.
12025 * elf/tst-order-a1.c: New file.
12026 * elf/tst-order-a2.c: New file.
12027 * elf/tst-order-a3.c: New file.
12028 * elf/tst-order-a4.c: New file.
12029 * elf/tst-order-b1.c: New file.
12030 * elf/tst-order-b2.c: New file.
12031 * elf/tst-order-main.c: New file.
12032 New test case by George Gensure <werkt0@gmail.com>.
12033
86e92359
UD
120342010-10-01 Andreas Schwab <schwab@redhat.com>
12035
12036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12037 decoding ACE if AI_CANONIDN.
12038
5d5732b0
UD
120392011-01-18 Ulrich Drepper <drepper@gmail.com>
12040
12041 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12042
a77e8cbc
UD
120432011-01-17 Ulrich Drepper <drepper@gmail.com>
12044
6392473f
UD
12045 * version.h (RELEASE): Bump for 2.13 release.
12046 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12047
620a0529
UD
12048 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12049
18ba70a5
UD
12050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12051 MADV_NOHUGEPAGE.
32465c3e
UD
12052 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12054 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12055 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12057 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12058
c0dafcf1
UD
12059 * posix/getconf.c: Update copyright year.
12060 * catgets/gencat.c: Likewise.
12061 * csu/version.c: Likewise.
12062 * debug/catchsegv.sh: Likewise.
12063 * debug/xtrace.sh: Likewise.
12064 * elf/ldconfig.c: Likewise.
12065 * elf/ldd.bash.in: Likewise.
12066 * elf/sprof.c (print_version): Likewise.
12067 * iconv/iconv_prog.c: Likewise.
12068 * iconv/iconvconfig.c: Likewise.
12069 * locale/programs/locale.c: Likewise.
12070 * locale/programs/localedef.c: Likewise.
12071 * malloc/memusage.sh: Likewise.
12072 * malloc/mtrace.pl: Likewise.
12073 * nscd/nscd.c (print_version): Likewise.
12074 * nss/getent.c: Likewise.
12075
a77e8cbc
UD
12076 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12077 PF_CAIF, and PF_ALG.
12078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12079
77e8bddf
AS
120802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12081
1f20b93a
AS
12082 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12083 (modules-names): Use them.
12084 (ifunc-test-modules, ifunc-pie-tests): Define.
12085 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12086 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12087 (test-extras): Likewise.
12088 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12089 $(compile-command.c).
12090 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12091 (all-built-dso): Define.
12092 (check-textrel.out, check-execstack.out): Depend on it.
12093
77e8bddf
AS
12094 * configure.in: Don't override --enable-multi-arch.
12095
bc425b33
UD
120962011-01-15 Ulrich Drepper <drepper@gmail.com>
12097
12098 [BZ #6812]
12099 * nscd/hstcache.c (tryagain): Define.
12100 (cache_addhst): Return tryagain not notfound for temporary errors.
12101 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12102 failed.
12103
794c3ad3
UD
121042011-01-14 Ulrich Drepper <drepper@gmail.com>
12105
70181fdd
UD
12106 [BZ #10563]
12107 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12108 to make the syscall.
12109 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12110
794c3ad3
UD
12111 [BZ #12378]
12112 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12113 and fall back to matching as normal character if the string ends before
12114 the matching ']' is found. This is what POSIX requires.
12115 * posix/testfnm.c: Adjust test result.
12116 * posix/globtest.sh: Adjust test result. Add new test.
12117 * posix/tst-fnmatch.input: Likewise.
12118 * posix/tst-fnmatch2.c: Add new test.
12119
68dc9497
AS
121202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12121
12122 * elf/Makefile (check-execstack): Revert last change. Depend on
12123 check-execstack.h.
12124 (check-execstack.h): New target.
12125 (generated): Add check-execstack.h.
12126 * elf/check-execstack.c: Include "check-execstack.h".
12127 (main): Revert last change.
12128 (handle_file): Return zero if GNU_STACK is absent and
12129 DEFAULT_STACK_PERMS doesn't include PF_X.
12130
451f001b
UD
121312011-01-13 Ulrich Drepper <drepper@gmail.com>
12132
cfa28e56
UD
12133 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12134 in child fails because the descriptor is already closed.
8cf8ce17
UD
12135 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12136 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12137 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12138
1086d70d
UD
12139 [BZ #12397]
12140 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12141 syscall.
12142
451f001b
UD
12143 [BZ #10484]
12144 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12145 temporary buffer used to handle multi lookups locally.
a85b5cb4 12146 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12147
08769175
UD
121482011-01-12 Ulrich Drepper <drepper@gmail.com>
12149
12150 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12151 loader is ld.so.
12152
5e49c52e
UD
121532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12154
12155 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12156 alignment for SSE2.
12157
60522a5f
UD
121582011-01-12 Ulrich Drepper <drepper@gmail.com>
12159
12160 [BZ #12394]
12161 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12162 characters. When rounding increased number of integer digits recompute
12163 number of groups.
12164 * stdio-common/tst-grouping.c: New file.
12165 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12166
f257bbd7
UD
121672011-01-09 Ulrich Drepper <drepper@gmail.com>
12168
12169 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12170 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12171
12172 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12173 void.
12174 * bits/select.h: Likewise.
12175
fa9c15cb
UD
121762011-01-08 Ulrich Drepper <drepper@gmail.com>
12177
12178 * po/ja.po: Update from translation team.
12179
16c2895f
DM
121802011-01-04 David S. Miller <davem@sunset.davemloft.net>
12181
12182 [BZ #11155]
12183 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12184 implementation just like for lxstat, fxstatat, et al.
12185
2543fef2
JM
121862010-12-27 Jim Meyering <meyering@redhat.com>
12187
12188 [BZ #12348]
12189 * posix/regexec.c (build_trtable): Return failure indication upon
12190 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12191
98727dbe
UD
121922010-12-25 Ulrich Drepper <drepper@gmail.com>
12193
5bd6dc5c
UD
12194 [BZ #12201]
12195 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12196 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12197 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12198 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12199
97983464
UD
12200 [BZ #12207]
12201 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12202
98727dbe
UD
12203 [BZ #12204]
12204 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12205 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12206
4a531bb0
L
122072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12208
12209 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12210 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12211 script has SORT_BY_INIT_PRIORITY.
12212 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12213 NO_CTORS_DTORS_SECTIONS is defined.
12214 * elf/soinit.c: Likewise.
12215 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12216 NO_CTORS_DTORS_SECTIONS is defined.
12217 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12218 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12219 * sysdeps/sh/init-first.c: Likewise.
12220 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12221
07eb4b71
UD
122222010-12-24 Ulrich Drepper <drepper@gmail.com>
12223
12224 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12225 always use the slow path.
12226
30950a5f
RA
122272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12228
12229 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12230 similar rule which adds the sysdep directories to the header search in
12231 order to pick up the correct platform stackinfo.h.
12232 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12233 perform test if it is, otherwise return successfully without testing.
12234 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12235 DEFAULT_STACK_PERMS define in stackinfo.h.
12236 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12237 defined in stackinfo.h.
12238 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12239 DEFAULT_STACK_PERMS defined in stackinfo.h.
12240 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12241 * sysdeps/ia64/stackinfo.h: Likewise.
12242 * sysdeps/s390/stackinfo.h: Likewise.
12243 * sysdeps/sh/stackinfo.h: Likewise.
12244 * sysdeps/sparc/stackinfo.h: Likewise.
12245 * sysdeps/x86_64/stackinfo.h: Likewise.
12246 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12247 PF_X for powerpc64. Retain PF_X for powerpc32.
12248
db753e2c
UD
122492010-12-19 Ulrich Drepper <drepper@gmail.com>
12250
14b697f7
UD
12251 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12252 accurately.
db753e2c
UD
12253 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12254 GETDENTS_64BIT_ALIGNED.
12255
28300719
UD
122562010-12-14 Ulrich Drepper <dreper@gmail.com>
12257
14b697f7 12258 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12259
4f197237
AS
122602010-12-10 Andreas Schwab <schwab@redhat.com>
12261
dbb0472f
AS
12262 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12263 _GNU_SOURCE.
12264
4f197237
AS
12265 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12266 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12267 Remove __restrict.
12268 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12269 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12270
fb88ac72
UD
122712010-12-09 Ulrich Drepper <drepper@gmail.com>
12272
12273 [BZ #11655]
12274 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12275 are initialized.
12276
42acbb92
JJ
122772010-12-09 Jakub Jelinek <jakub@redhat.com>
12278
12279 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12280
c038d98d
UD
122812010-12-03 Ulrich Drepper <drepper@gmail.com>
12282
12283 * po/it.po: Update from translation team.
12284
3a4a2499
L
122852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12286
12287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12288 unused codes.
12289
1e24cf6e
UD
122902010-11-30 Ulrich Drepper <drepper@gmail.com>
12291
12292 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12293
a7690819
AS
122942010-11-24 Andreas Schwab <schwab@redhat.com>
12295
12296 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12297 specially.
12298 (gaih_getanswer_slice): Likewise.
12299
3bf8d1b1
JJ
123002010-10-20 Jakub Jelinek <jakub@redhat.com>
12301
12302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12303
6db52fbb
PB
123042010-05-31 Petr Baudis <pasky@suse.cz>
12305
12306 [BZ #11149]
12307 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12308 silently even in the chroot mode.
12309
eaca7569
UD
123102010-11-22 Ulrich Drepper <drepper@gmail.com>
12311
12312 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12313 last patch a bit. Pretty printing
12314
3056dcdb
UD
123152010-05-31 Petr Baudis <pasky@suse.cz>
12316
12317 [BZ #10085]
12318 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12319 initialization of skip_initgroups_dyn.
12320
cf7c9078
UD
123212010-11-19 Ulrich Drepper <drepper@gmail.com>
12322
12323 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12324 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12325
a1fb5e3e
UD
123262010-11-16 Ulrich Drepper <drepper@gmail.com>
12327
12328 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12329
3540d66b
AS
123302010-11-11 Andreas Schwab <schwab@redhat.com>
12331
12332 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12333 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12334 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12335 ($(objpfx)tst-fnmatch-mem): New rule.
12336 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12337 * posix/tst-fnmatch.c (main): Call mtrace.
12338
13b69574
L
123392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12340
12341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12342 Support Intel processor model 6 and model 0x2c.
12343
da93d214
LM
123442010-11-10 Luis Machado <luisgpm@br.ibm.com>
12345
12346 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12347 signed comparison.
12348
8ca52c6e
L
123492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12350
12351 [BZ #12205]
12352 * string/test-strncasecmp.c (check_result): New function.
12353 (do_one_test): Use it.
12354 (check1): New function.
12355 (test_main): Use it.
12356 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12357 Support strcasecmp and strncasecmp.
12358
69da074d
UD
123592010-11-08 Ulrich Drepper <drepper@gmail.com>
12360
12361 [BZ #12194]
12362 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12363 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12364
ff02d528
L
123652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12368 IFUNC support.
12369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12370 memset-x86-64.
12371 * sysdeps/x86_64/multiarch/bzero.S: New file.
12372 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12373 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12374 * sysdeps/x86_64/multiarch/memset.S: New file.
12375 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12377 Set bit_Prefer_SSE_for_memop for Intel processors.
12378 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12379 Define.
12380 (index_Prefer_SSE_for_memop): Define.
12381 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12382
344d0b54
LM
123832010-11-04 Luis Machado <luisgpm@br.ibm.com>
12384
12385 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12386 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12387
c0dde15b
UD
123882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12389
12390 [BZ #12191]
12391 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12392 (__x86_64_raw_data_cache_size_half): Likewise.
12393 (__x86_64_raw_shared_cache_size): Likewise.
12394 (__x86_64_raw_shared_cache_size_half): Likewise.
12395
12396 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12397 (__x86_64_raw_data_cache_size_half): Likewise.
12398 (__x86_64_raw_shared_cache_size): Likewise.
12399 (__x86_64_raw_shared_cache_size_half): Likewise.
12400 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12401 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12402 and __x86_64_raw_shared_cache_size_half. Round
12403 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12404 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12405 to multiple of 256 bytes.
12406
0e516e0e
MS
124072010-11-03 Ulrich Drepper <drepper@gmail.com>
12408
12409 [BZ #12167]
12410 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12411 of inacessible symlinks. Verify result of symlink before returning it.
12412 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12413 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12414
0e012e87
ER
124152010-10-28 Erich Ritz <erichritz@gmail.com>
12416
12417 * math/math.h (isinf): Fix typo in comment.
12418
de0ff7bc
UD
124192010-11-01 Ulrich Drepper <drepper@gmail.com>
12420
12421 * po/da.po: Update from translation team.
12422
fa41c84d
UD
124232010-10-26 Ulrich Drepper <drepper@gmail.com>
12424
12425 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12426 is added to the list.
12427
f0967738
AK
124282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12429 Ulrich Drepper <drepper@gmail.com>
12430
12431 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12432 the global list here. Move code to...
12433 (_dl_add_to_namespace_list): ...here. New function.
12434 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12435 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12436 * elf/dl-load.c (lose): Don't remove the element from the list.
12437 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12438 (_dl_map_object): Likewise.
12439
124402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12441
12442 [BZ #12159]
12443 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12444 into all bytes of SSE register.
12445 Patch by Richard Li <richardpku@gmail.com>.
12446
f0967738 124472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12448
12449 [BZ #12140]
12450 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12451 perturbing.
12452
d0b9e94f
MB
124532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12454
12455 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12456 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12458 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12460 submachine.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12462
8e9f92e9
AS
124632010-10-22 Andreas Schwab <schwab@redhat.com>
12464
12465 * include/dlfcn.h (__RTLD_SECURE): Define.
12466 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12467 mode & __RTLD_SECURE instead.
12468 (open_path): Rename preloaded parameter to secure.
12469 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12470 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12471 * elf/dl-deps.c (openaux): Likewise.
12472 * elf/rtld.c (struct map_args): Remove is_preloaded.
12473 (map_doit): Don't use it.
12474 (dl_main): Likewise.
12475 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12476 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12477
bc96fbda
AS
124782010-09-09 Andreas Schwab <schwab@redhat.com>
12479
12480 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12481 (sysd-rules-targets): Remove duplicates.
12482 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12483 rtld-%.$o dependency.
12484
22cd1c9b
AS
124852010-10-18 Andreas Schwab <schwab@redhat.com>
12486
12487 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12488 _dl_map_object do it.
12489
18edac48
UD
124902010-10-19 Ulrich Drepper <drepper@gmail.com>
12491
12492 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12493 fast fma builtins, define the macros in the C99 standard.
12494 (FP_FAST_FMAF): Likewise.
12495 (FP_FAST_FMAL): Likewise.
12496 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12497
12498 * bits/mathdef.h: Update copyright year.
12499 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12500
d2050124
MM
125012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12502
12503 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12504 builtins, define the macros in the C99 standard.
12505 (FP_FAST_FMAF): Likewise.
12506 (FP_FAST_FMAL): Likewise.
12507 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12508 multiply/add.
12509 (FP_FAST_FMAF): Likewise.
12510
475facd1
JJ
125112010-10-15 Jakub Jelinek <jakub@redhat.com>
12512
12513 [BZ #3268]
12514 * math/libm-test.inc (fma_test): Some new testcases.
12515 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12516 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12517 y and infinite z. Do multiplication by C already in long double.
12518 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12520 y and infinite z. Do bitwise or of inexact bit into u.d.
12521 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12522 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12523 * sysdeps/i386/fpu/s_fma.S: Removed.
12524 * sysdeps/i386/fpu/s_fmal.S: Removed.
12525
7c08a05c
JJ
125262010-10-16 Jakub Jelinek <jakub@redhat.com>
12527
12528 [BZ #3268]
12529 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12531 computation is not scheduled after fetestexcept. Fix value
12532 of minimum denormal long double.
12533
f3f7372d
JJ
125342010-10-14 Jakub Jelinek <jakub@redhat.com>
12535
12536 [BZ #3268]
12537 * math/libm-test.inc (fma_test): Add some more tests.
12538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12539 correctly.
12540
14d43591
AS
125412010-10-15 Andreas Schwab <schwab@redhat.com>
12542
12543 * scripts/data/localplt-s390-linux-gnu.data: New file.
12544 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12545
5e908464
JJ
125462010-10-13 Jakub Jelinek <jakub@redhat.com>
12547
12548 [BZ #3268]
12549 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12550 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12551 instead of dbl-64.
12552 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12553 inlines.
12554 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12556 if one of x and y is very large and the other is subnormal.
12557 * sysdeps/s390/fpu/s_fmaf.c: New file.
12558 * sysdeps/s390/fpu/s_fma.c: New file.
12559 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12560 * sysdeps/powerpc/fpu/s_fma.S: New file.
12561 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12562 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12563 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12564
125652010-10-12 Jakub Jelinek <jakub@redhat.com>
12566
12567 [BZ #3268]
12568 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12569 fma tests.
12570 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12571 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12572 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12573 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12574 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12575 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12577
b833d51f
UD
125782010-10-12 Ulrich Drepper <drepper@redhat.com>
12579
12580 [BZ #12078]
12581 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12582 * posix/bug-regex31.input: Add test case.
12583
1751705d
UD
125842010-10-11 Ulrich Drepper <drepper@gmail.com>
12585
e9b9cbf5
UD
12586 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12587 * posix/bug-regex31.input: New file.
12588
12589 [BZ #12078]
12590 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12591 (parse_sub_exp): Fix last change, use postorder.
12592
ef06edbe
UD
12593 * posix/bug-regex31.c: New file.
12594 * posix/Makefile: Add rules to build and run bug-regex31.
12595
a129c80d
UD
12596 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12597
12598 [BZ #12078]
12599 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12600
b76b818e
UD
12601 [BZ #12108]
12602 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12603 to have entries in sys_siglist.
12604
1751705d
UD
12605 [BZ #12093]
12606 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12607 be NULL.
12608
9ff8d36f
JJ
126092010-10-07 Jakub Jelinek <jakub@redhat.com>
12610
12611 [BZ #3268]
12612 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12613 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12614 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12615 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12616 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12617 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12618 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12619 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12620 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12621 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12622 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12623 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12624 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12625 * math/ftestexcept.c (fetestexcept): Likewise.
12626 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12627 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12628 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12629 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12630 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12631 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12632 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12633
af325969
UD
126342010-10-11 Ulrich Drepper <drepper@gmail.com>
12635
c579b202 12636 [BZ #12107]
af325969
UD
12637 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12638 newline.
12639
67a67b95
UD
126402010-10-06 Ulrich Drepper <drepper@gmail.com>
12641
12642 * string/bug-strstr1.c: New file.
12643 * string/Makefile: Add rules to build and run bug-strstr1.
12644
5fb308bc
EB
126452010-10-05 Eric Blake <eblake@redhat.com>
12646
12647 [BZ #12092]
12648 * string/str-two-way.h (two_way_long_needle): Always clear memory
12649 when skipping input due to the shift table.
12650
45db99c7
UD
126512010-10-03 Ulrich Drepper <drepper@gmail.com>
12652
3b111893
UD
12653 [BZ #12005]
12654 * malloc/mcheck.c: Handle large requests.
12655
45db99c7
UD
12656 [BZ #12077]
12657 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12658 for strncmp and strncasecmp.
12659 * string/stratcliff.c: Add tests for strcmp and strncmp.
12660 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12661
cf7a1eb8
NI
126622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12663
12664 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12665 __set_fpscr.
12666
6484ba5e
AJ
126672010-09-30 Andreas Jaeger <aj@suse.de>
12668
12669 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12670 (CGROUP_SUPER_MAGIC): Define.
12671 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12672 Handle btrfs and cgroup file systems.
12673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12674 Likewise.
12675
91c42559
LM
126762010-09-27 Luis Machado <luisgpm@br.ibm.com>
12677
12678 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12679 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12680
87a97932
AK
126812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12682
12683 [BZ #12067]
12684 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12685 trying to locate the ELF header.
12686
c21cc9bc
AS
126872010-09-27 Andreas Schwab <schwab@redhat.com>
12688
12689 [BZ #11611]
12690 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12691 Mask out sign-bit copies when constructing f_fsid.
12692
315970f6
PB
126932010-09-24 Petr Baudis <pasky@suse.cz>
12694
12695 * debug/stack_chk_fail_local.c: Add missing licence exception.
12696 * debug/warning-nop.c: Likewise.
12697
1ac7a2c7
JM
126982010-09-15 Joseph Myers <joseph@codesourcery.com>
12699
12700 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12701 implementing getdents64 using getdents syscall, set d_type if
12702 __ASSUME_GETDENTS32_D_TYPE.
12703
56801c50
AS
127042010-09-16 Andreas Schwab <schwab@redhat.com>
12705
12706 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12707 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12708
dda51327
UD
127092010-09-21 Ulrich Drepper <drepper@redhat.com>
12710
12711 [BZ #12037]
12712 * posix/unistd.h: Undo change of feature selection for ftruncate from
12713 2010-01-11.
12714
8ffcee4a
UD
127152010-09-20 Ulrich Drepper <drepper@redhat.com>
12716
a545ecd9 12717 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12718 detection.
12719
e24f0a8b
AS
127202010-09-20 Andreas Schwab <schwab@redhat.com>
12721
12722 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12723 fanotify_mark.
12724 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12725
7291c56f
AS
127262010-09-14 Andreas Schwab <schwab@redhat.com>
12727
12728 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12729 variables after CHECK_SP call.
12730 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12731
bc5fb037
AS
127322010-09-13 Andreas Schwab <schwab@redhat.com>
12733 Ulrich Drepper <drepper@redhat.com>
12734
12735 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12736 re-relocationg ld.so.
12737 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12738 _dl_init_paths call.
12739 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12740 here anymore.
12741
e66e7419
UD
127422010-09-14 Ulrich Drepper <drepper@redhat.com>
12743
12744 * resolv/res_init.c (__res_vinit): Count the default server we added.
12745
c044aa75
CLT
127462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12747 Ulrich Drepper <drepper@redhat.com>
12748
12749 [BZ #11968]
12750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12751 (____longjmp_chk): Use %ebx for saving value across system call.
12752 Add unwind info.
12753
32cf4069
AS
127542010-09-06 Andreas Schwab <schwab@redhat.com>
12755
12756 * manual/Makefile: Don't mix pattern rules with normal rules.
12757
817328ee
AS
127582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12759
12760 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12761 operation.
12762 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12763 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12764 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12765 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12767 Likewise.
12768
29fddf61
UD
127692010-09-04 Ulrich Drepper <drepper@redhat.com>
12770
12771 [BZ #11979]
12772 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12773 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12774
0959ffc9
UD
127752010-09-02 Ulrich Drepper <drepper@redhat.com>
12776
12777 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12778 * sysdeps/x86_64/addmul_1.S: Likewise.
12779 * sysdeps/x86_64/lshift.S: Likewise.
12780 * sysdeps/x86_64/mul_1.S: Likewise.
12781 * sysdeps/x86_64/rshift.S: Likewise.
12782 * sysdeps/x86_64/sub_n.S: Likewise.
12783 * sysdeps/x86_64/submul_1.S: Likewise.
12784
ece29840
ST
127852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12786
0959ffc9
UD
12787 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12788 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12789 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12790 * bits/sched.h [__need_schedparam]
ece29840 12791 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12792 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12793 (__defined_schedparam): Define to 1.
ece29840
ST
12794 (__sched_param): New structure, identical to sched_param.
12795 (__need_schedparam): Undefine.
12796
e53a31fe
MF
127972010-08-31 Mike Frysinger <vapier@gentoo.org>
12798
fdc0c10d
MF
12799 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12800 (epoll_create1): Declare.
12801
e53a31fe
MF
12802 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12803
a726d796
AS
128042010-08-31 Andreas Schwab <schwab@redhat.com>
12805
12806 [BZ #7066]
12807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12808 shifting retval into place.
12809
2f3e3dc7
UD
128102010-09-01 Ulrich Drepper <drepper@redhat.com>
12811
f2933da9
UD
12812 * nis/rpcsvc/nis.h: Update copyright notice.
12813 * nis/rpcsvc/nis.x: Likewise.
12814 * nis/rpcsvc/nis_callback.h: Likewise.
12815 * nis/rpcsvc/nis_callback.x: Likewise.
12816 * nis/rpcsvc/nis_object.x: Likewise.
12817 * nis/rpcsvc/nis_tags.h: Likewise.
12818 * nis/rpcsvc/yp.h: Likewise.
12819 * nis/rpcsvc/yp.x: Likewise.
12820 * nis/rpcsvc/ypupd.h: Likewise.
12821 * nis/yp_xdr.c: Likewise.
12822 * nis/ypupdate_xdr.c: Likewise.
12823
2f3e3dc7
UD
12824 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12825 mainly the body of pmap_getport. Add parameters to specify timeouts.
12826 (pmap_getport): Use __libc_rpc_getport.
12827 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12828 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12829 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12830
f3dcc2f9
AS
128312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12832
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12834 fanotify_mark.
12835
6d34eb5b
RM
128362010-08-27 Roland McGrath <roland@redhat.com>
12837
12838 * sysdeps/i386/i686/multiarch/Makefile
12839 (CFLAGS-varshift.c): New variable.
12840
9ea3de11
UD
128412010-08-27 Ulrich Drepper <drepper@redhat.com>
12842
c96d23fc
UD
12843 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12844 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12845
9ea3de11
UD
12846 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12847
12848 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12849
623aac7f
L
128502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12851
12852 * sysdeps/x86_64/strlen.S: Unroll the loop.
12853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12854 strlen-sse2 strlen-sse2-bsf.
12855 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12856 __strlen_no_bsf if bit_Slow_BSF is set.
12857 (__strlen_sse42): Removed.
12858 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12859 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12860
8b2b7715
RM
128612010-08-25 Roland McGrath <roland@redhat.com>
12862
12863 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12864 * sysdeps/x86_64/multiarch/varshift.c: New file.
12865 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12866 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12867 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12868 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12869
e73015f2
L
128702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12871
12872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12873 strlen-sse2 strlen-sse2-bsf.
12874 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12875 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12876 (__strlen_sse2): Removed.
12877 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12878 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12880 bit_Slow_BSF for Atom.
12881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12882 (index_Slow_BSF): Define.
12883 (HAS_SLOW_BSF): Define.
12884
df24a73e
UD
128852010-08-25 Ulrich Drepper <drepper@redhat.com>
12886
12887 [BZ #10851]
12888 * resolv/res_init.c (__res_vinit): When no server address at all
12889 is given default to loopback.
12890
f2ac4868
RM
128912010-08-24 Roland McGrath <roland@redhat.com>
12892
09055553
RM
12893 * configure.in: Remove config-name.h generation.
12894 * configure: Regenerated.
12895 * config-name.in: File removed.
12896 * scripts/config-uname.sh: New file.
12897 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12898 ($(objdir)config-name.h): New target.
12899
f2ac4868
RM
12900 * sunrpc/rpc_parse.h: Avoid nested comment.
12901
73f27d5e
RH
129022010-08-24 Richard Henderson <rth@redhat.com>
12903 Ulrich Drepper <drepper@redhat.com>
12904 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12908 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12909 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12910 _mm_alignr_epi8 with _mm_loadu_si128.
12911 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12912 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12913 (__m128i_shift_right): Removed.
12914 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12915 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12916 * sysdeps/x86_64/multiarch/varshift.h: New file.
12917 * sysdeps/x86_64/multiarch/varshift.S: New file.
12918
84b9230c
MF
129192010-08-21 Mike Frysinger <vapier@gentoo.org>
12920
12921 * configure.in: Move assembler checks to before sysdep dir checking.
12922
9bbd0ddc
PB
129232010-08-20 Petr Baudis <pasky@suse.cz>
12924
12925 * LICENSES: Sync the sunrpc license.
12926
9da4bb31
UD
129272010-08-19 Ulrich Drepper <drepper@redhat.com>
12928
a7ab6ec8
UD
12929 * sunrpc/auth_des.c: Update copyright notice once again.
12930 * sunrpc/auth_none.c: Likewise.
12931 * sunrpc/auth_unix.c: Likewise.
12932 * sunrpc/authdes_prot.c: Likewise.
12933 * sunrpc/authuxprot.c: Likewise.
12934 * sunrpc/bindrsvprt.c: Likewise.
12935 * sunrpc/clnt_gen.c: Likewise.
12936 * sunrpc/clnt_perr.c: Likewise.
12937 * sunrpc/clnt_raw.c: Likewise.
12938 * sunrpc/clnt_simp.c: Likewise.
12939 * sunrpc/clnt_tcp.c: Likewise.
12940 * sunrpc/clnt_udp.c: Likewise.
12941 * sunrpc/clnt_unix.c: Likewise.
12942 * sunrpc/des_crypt.c: Likewise.
12943 * sunrpc/des_soft.c: Likewise.
12944 * sunrpc/get_myaddr.c: Likewise.
12945 * sunrpc/getrpcport.c: Likewise.
12946 * sunrpc/key_call.c: Likewise.
12947 * sunrpc/key_prot.c: Likewise.
12948 * sunrpc/openchild.c: Likewise.
12949 * sunrpc/pm_getmaps.c: Likewise.
12950 * sunrpc/pm_getport.c: Likewise.
12951 * sunrpc/pmap_clnt.c: Likewise.
12952 * sunrpc/pmap_prot.c: Likewise.
12953 * sunrpc/pmap_prot2.c: Likewise.
12954 * sunrpc/pmap_rmt.c: Likewise.
12955 * sunrpc/rpc/auth.h: Likewise.
12956 * sunrpc/rpc/auth_unix.h: Likewise.
12957 * sunrpc/rpc/clnt.h: Likewise.
12958 * sunrpc/rpc/des_crypt.h: Likewise.
12959 * sunrpc/rpc/key_prot.h: Likewise.
12960 * sunrpc/rpc/netdb.h: Likewise.
12961 * sunrpc/rpc/pmap_clnt.h: Likewise.
12962 * sunrpc/rpc/pmap_prot.h: Likewise.
12963 * sunrpc/rpc/pmap_rmt.h: Likewise.
12964 * sunrpc/rpc/rpc.h: Likewise.
12965 * sunrpc/rpc/rpc_des.h: Likewise.
12966 * sunrpc/rpc/rpc_msg.h: Likewise.
12967 * sunrpc/rpc/svc.h: Likewise.
12968 * sunrpc/rpc/svc_auth.h: Likewise.
12969 * sunrpc/rpc/types.h: Likewise.
12970 * sunrpc/rpc/xdr.h: Likewise.
12971 * sunrpc/rpc_clntout.c: Likewise.
12972 * sunrpc/rpc_cmsg.c: Likewise.
12973 * sunrpc/rpc_common.c: Likewise.
12974 * sunrpc/rpc_cout.c: Likewise.
12975 * sunrpc/rpc_dtable.c: Likewise.
12976 * sunrpc/rpc_hout.c: Likewise.
12977 * sunrpc/rpc_main.c: Likewise.
12978 * sunrpc/rpc_parse.c: Likewise.
12979 * sunrpc/rpc_parse.h: Likewise.
12980 * sunrpc/rpc_prot.c: Likewise.
12981 * sunrpc/rpc_sample.c: Likewise.
12982 * sunrpc/rpc_scan.c: Likewise.
12983 * sunrpc/rpc_scan.h: Likewise.
12984 * sunrpc/rpc_svcout.c: Likewise.
12985 * sunrpc/rpc_tblout.c: Likewise.
12986 * sunrpc/rpc_util.c: Likewise.
12987 * sunrpc/rpc_util.h: Likewise.
12988 * sunrpc/rpcinfo.c: Likewise.
12989 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12990 * sunrpc/rpcsvc/key_prot.x: Likewise.
12991 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12992 * sunrpc/rpcsvc/mount.x: Likewise.
12993 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12994 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12995 * sunrpc/rpcsvc/rex.x: Likewise.
12996 * sunrpc/rpcsvc/rstat.x: Likewise.
12997 * sunrpc/rpcsvc/rusers.x: Likewise.
12998 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12999 * sunrpc/rpcsvc/spray.x: Likewise.
13000 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13001 * sunrpc/rtime.c: Likewise.
13002 * sunrpc/svc.c: Likewise.
13003 * sunrpc/svc_auth.c: Likewise.
13004 * sunrpc/svc_authux.c: Likewise.
13005 * sunrpc/svc_raw.c: Likewise.
13006 * sunrpc/svc_run.c: Likewise.
13007 * sunrpc/svc_simple.c: Likewise.
13008 * sunrpc/svc_tcp.c: Likewise.
13009 * sunrpc/svc_udp.c: Likewise.
13010 * sunrpc/svc_unix.c: Likewise.
13011 * sunrpc/svcauth_des.c: Likewise.
13012 * sunrpc/xcrypt.c: Likewise.
13013 * sunrpc/xdr.c: Likewise.
13014 * sunrpc/xdr_array.c: Likewise.
13015 * sunrpc/xdr_float.c: Likewise.
13016 * sunrpc/xdr_mem.c: Likewise.
13017 * sunrpc/xdr_rec.c: Likewise.
13018 * sunrpc/xdr_ref.c: Likewise.
13019 * sunrpc/xdr_sizeof.c: Likewise.
13020 * sunrpc/xdr_stdio.c: Likewise.
13021
9da4bb31
UD
13022 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13023 handling.
13024
bdaa77bc
AS
130252010-08-19 Andreas Schwab <schwab@redhat.com>
13026
13027 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13028
fe2f79db
LM
130292010-08-19 Luis Machado <luisgpm@br.ibm.com>
13030
13031 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13032 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13033 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13034 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13035 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13036 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13037 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13038 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13040 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13041 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13042 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13043 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13044 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13045
b9b42ee0
AB
130462010-07-26 Anton Blanchard <anton@samba.org>
13047
13048 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13049 * malloc/arena.c (heap_trim): Likewise.
13050
1c06ba31
UD
130512010-08-16 Ulrich Drepper <drepper@redhat.com>
13052
13053 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13054 here. Not...
13055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13056 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13057
f8392f40
L
130582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13059
13060 * sysdeps/i386/elf/Makefile: New file.
13061
3162f12e
AS
130622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13063
13064 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13065 from fanotify_init.
13066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13068
28c90b2c
UD
130692010-08-15 Ulrich Drepper <drepper@redhat.com>
13070
13071 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13072 of strncasecmp_l.
1feccb6c 13073 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13074
ca6bb004
UD
130752010-08-14 Ulrich Drepper <drepper@redhat.com>
13076
e9f82e0d
UD
13077 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13078 strncase_l-nonascii.
13079 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13080 Add strncase_l-ssse3.
13081 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13082 * sysdeps/x86_64/strcmp.S: Likewise.
13083 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13084 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13085 * sysdeps/x86_64/strncase.S: New file.
13086 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13087 * sysdeps/x86_64/strncase_l.S: New file.
13088 * string/Makefile (strop-tests): Add strncasecmp.
13089 * string/test-strncasecmp.c: New file.
13090
13091 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13092 warning.
13093
ca6bb004
UD
13094 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13095 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13096
052fa7b3
AS
130972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13098
13099 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13100
962dba78
UD
131012010-08-12 Ulrich Drepper <drepper@redhat.com>
13102
13103 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13104 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13105 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13106
bebff237
AM
131072010-05-01 Alan Modra <amodra@gmail.com>
13108
13109 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13110 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13111 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13112 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13113 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13114 tidying. Don't tail-call __sigjmp_save for static lib.
13115 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13116 save location.
13117 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13118 (CALL_MCOUNT): Add eh info, and nop after bl.
13119 (TAIL_CALL_SYSCALL_ERROR): New macro.
13120 (PSEUDO_RET): Use it.
13121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13122 Correct save location of integer regs and cr.
13123 (_dl_profile_resolve): Correct cr save location. Delete nops
13124 after bl when SHARED. Reduce cfi size a little by better
13125 placement of cfi directives.
13126 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13127 make a stack frame. Instead use parm save area as a temp.
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13129 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13131 Don't make a stack frame for parent, use parm save area.
13132 Increase child stack frame to 112 bytes. Don't save unused reg,
13133 and adjust reg usage. Set up cfi on error recovery and
13134 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13136 (__makecontext): Add dummy nop after jump to exit.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13138 Use correct parm save area and cr save, reduce stack frame.
13139 Correct cfi for possible PSEUDO_RET frame setup.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13141 Branch to local label emitted by PSEUDO_RET rather than
13142 __syscall_error.
13143
02637374
AS
131442010-08-12 Andreas Schwab <schwab@redhat.com>
13145
13146 [BZ #11904]
13147 * locale/programs/locale.c (print_assignment): New function.
13148 (show_locale_vars): Use it.
13149
c3e2f19b
UD
131502010-08-11 Ulrich Drepper <drepper@redhat.com>
13151
3cdaa6ad
UD
13152 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13153 field.
13154 (struct statfs64): Likewise.
13155 (_STATFS_F_FLAGS): Define.
13156 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13157 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13158 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13159 (ST_VALID): Define locally.
13160 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13161 __statvfs_getflags, use the provided value.
13162 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13163 __ASSUME_STATFS_F_FLAGS.
13164
754f7da3
UD
13165 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13166
10b3bedc
UD
13167 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13168 Add sys/fanotify.h.
13169 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13170 fanotify_mask for GLIBC_2.13.
13171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13172 fanotify_init and fanotify_mark.
13173 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13174 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13175
c08fb0d7
UD
13176 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13177 Add prlimit.
13178 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13179 prlimit64 for GLIBC_2.13.
13180 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13181 prlimit64.
13182 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13183 syscall.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13185 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13186 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13187 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13189 add prlimit alias.
13190 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13191
15bac72b
UD
13192 [BZ #11903]
13193 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13194 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13195
c3e2f19b
UD
13196 * nss/Makefile: Add rules to build and run tst-nss-test1.
13197 * shlib-versions: Add entry for libnss_test1.
13198 * nss/nss_test1.c: New file.
13199 * nss/tst-nss-test1.c: New file.
13200
13201 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13202 (__nss_configure_lookup): Set appropriate entry in
13203 __nss_configure_lookup to true.
13204 * nss/nsswitch.h: Define enum with indeces of databases in
13205 databases and __nss_database_custom arrays. Declare
13206 __nss_database_custom.
13207 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13208 to avoid using nscd when custom rules are installed.
13209 * nss/getXXbyYY_r.c: Likewise.
13210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13211
13212 * nss/nss_files/files-parse.c: Whitespace fixes.
13213
f15ce4d8
UD
132142010-08-09 Ulrich Drepper <drepper@redhat.com>
13215
13216 [BZ #11883]
13217 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13218 * posix/fnmatch_loop.c: Likewise.
13219
d22e4cc9
AK
132202010-07-17 Andi Kleen <ak@linux.intel.com>
13221
13222 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13223 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13224 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13225 * Versions.def [GLIBC_2.13]: Add.
13226
805bc17d
UD
132272010-08-06 Ulrich Drepper <drepper@redhat.com>
13228
13229 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13230 Also fail if tpwd after pwuid call is NULL.
13231
5a42321d
ST
132322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13233
13234 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13235 when converting to ms.
13236
fd3ebeda
ST
132372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13238
13239 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13240 EOPNOTSUPP errors with ENOTTY.
13241 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13242 EOPNOTSUPP errors with ENOTTY.
13243
73507d3a
UD
132442010-07-31 Ulrich Drepper <drepper@redhat.com>
13245
13246 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13247 Add strcasecmp_l-ssse3.
13248 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13249 strcasecmp.
13250 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13251 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13252 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13253
fe36dd02
UD
132542010-07-30 Ulrich Drepper <drepper@redhat.com>
13255
66f6765a
UD
13256 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13257
42e08a54
UD
13258 * string/Makefile (strop-tests): Add strcasecmp.
13259 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13260 strcasecmp_l-nonascii.
13261 (gen-as-const-headers): Add locale-defines.sym.
13262 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13263 * sysdeps/x86_64/strcasecmp.S: New file.
13264 * sysdeps/x86_64/strcasecmp_l.S: New file.
13265 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13266 * sysdeps/x86_64/locale-defines.sym: New file.
13267 * string/test-strcasecmp.c: New file.
13268
fe36dd02
UD
13269 * string/test-strcasestr.c: Test both ends of the range of characters.
13270 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13271
48cbc0d6
RM
132722010-07-29 Roland McGrath <roland@redhat.com>
13273
76e6d6bc 13274 [BZ #11856]
48cbc0d6
RM
13275 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13276
880113d9
UD
132772010-07-27 Ulrich Drepper <drepper@redhat.com>
13278
13279 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13280 for ld.so.
13281
deb9cabb
AS
132822010-07-27 Andreas Schwab <schwab@redhat.com>
13283
13284 * manual/memory.texi (Malloc Tunable Parameters): Document
13285 M_PERTURB.
13286
1c7570ff
RM
132872010-07-26 Roland McGrath <roland@redhat.com>
13288
13289 [BZ #11840]
13290 * configure.in (-fgnu89-inline check): Set and substitute
13291 gnu89_inline, not libc_cv_gnu89_inline.
13292 * configure: Regenerated.
13293 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13294
24fb0f88
UD
132952010-07-26 Ulrich Drepper <drepper@redhat.com>
13296
13297 * string/test-strnlen.c: New file.
13298 * string/Makefile (strop-tests): Add strnlen.
13299 * string/tester.c (test_strnlen): Add a few more test cases.
13300 * string/tst-strlen.c: Better error reporting.
13301
13302 * sysdeps/x86_64/strnlen.S: New file.
13303
8e96b93a
UD
133042010-07-24 Ulrich Drepper <drepper@redhat.com>
13305
13306 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13307 lower-latency instructions.
13308
dbc676d4
UD
133092010-07-23 Ulrich Drepper <drepper@redhat.com>
13310
13311 * string/test-strcasestr.c: New file.
13312 * string/test-strstr.c: New file.
13313 * string/Makefile (strop-tests): Add strstr and strcasestr.
13314 * string/str-two-way.h: Don't undefine MAX.
13315 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13316
f6a31e0e
AS
133172010-07-21 Andreas Schwab <schwab@redhat.com>
13318
13319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13320 strcasestr-nonascii.
13321 (CFLAGS-strcasestr-nonascii.c): Define.
13322 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13323 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13324 Remove unused attribute.
13325
5dbc3b6c
RM
133262010-07-20 Roland McGrath <roland@redhat.com>
13327
13328 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13329 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13330 ld.so.cache was broken. With it, there is no way to disable dsocaps
13331 like LD_HWCAP_MASK can disable hwcaps.
13332
23d101d8
EPM
133332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13334
13335 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13336
cc9f2e47
UD
133372010-07-16 Ulrich Drepper <drepper@redhat.com>
13338
13339 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13340 call in strcasestr.
13341 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13342 __strcasestr_sse42_nonascii.
13343 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13344 strcasestr-nonascii.c.
13345 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13346
77c1b069
LM
133472010-06-15 Luis Machado <luisgpm@br.ibm.com>
13348
13349 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13351 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13353
440566c3
UD
133542010-07-09 Ulrich Drepper <drepper@redhat.com>
13355
13356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13357 fcntl.
13358
5be9d05d
AS
133592010-07-06 Andreas Schwab <schwab@redhat.com>
13360
c30b7ee2 13361 [BZ #11577]
5be9d05d
AS
13362 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13363 dl_signal_cerror.
13364
8a492a67
UD
133652010-07-06 Ulrich Drepper <drepper@redhat.com>
13366
13367 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13368 _PC_PIPE_BUF using F_GETPIPE_SZ.
13369
713df3d5
RM
133702010-07-05 Roland McGrath <roland@redhat.com>
13371
13372 * manual/arith.texi (Rounding Functions): Fix rint description
13373 implicit in round description.
13374
702e8f14
UD
133752010-07-02 Ulrich Drepper <drepper@redhat.com>
13376
13377 * elf/Makefile: Fix linking for a few tests to make recent linker
13378 happy.
13379
52ed8be9
AS
133802010-06-30 Andreas Schwab <schwab@redhat.com>
13381
13382 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13383 $(common-objpfx)libc_nonshared.a.
13384
f47c9a11
LM
133852010-06-21 Luis Machado <luisgpm@br.ibm.com>
13386
13387 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13388 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13389 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13390 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13391 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13392 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13393 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13394 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13409 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13410 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13411 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13412 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13413 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13414 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13415 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13416 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13417 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13418 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13419 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13420 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13435
6fb8cbcb
L
134362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13439 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13440 * string/memmove.c (memmove): Renamed to ...
13441 (MEMMOVE): ...this. Default to memmove.
13442 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13443 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13444 (END_CHK): Define.
13445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13446 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13447 mempcpy-ssse3-back memmove-ssse3-back.
13448 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13449 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13451 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13452 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13453 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13454 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13455 * sysdeps/x86_64/multiarch/memmove.c: New file.
13456 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13457 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13458 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13459 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13460 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13461 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13462 Define.
13463 (index_Fast_Copy_Backward): Define.
13464 (HAS_ARCH_FEATURE): Define.
13465 (HAS_FAST_REP_STRING): Define.
13466 (HAS_FAST_COPY_BACKWARD): Define.
13467
4e733bac 134682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13469
13470 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13471 Restore proper fallback handling.
13472
63c4ed22
UD
134732010-06-19 Ulrich Drepper <drepper@redhat.com>
13474
ac2b484c
UD
13475 [BZ #11701]
13476 * posix/group_member.c (__group_member): Correct checking loop.
13477
63c4ed22
UD
13478 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13479 OOM in getpwuid_r correctly. Return error number when the caller
13480 should return, otherwise -1.
13481 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13482 call returning > 0 value.
13483 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13484
765ade4b
AS
134852010-06-07 Andreas Schwab <schwab@redhat.com>
13486
13487 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13488 libc_nonshared.a from targets in modules-names.
13489
80da2e09
KS
134902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13491
13492 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13493 requires it.
13494
158db122
LM
134952010-06-10 Luis Machado <luisgpm@br.ibm.com>
13496
13497 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13498 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13500 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13501
caa78cf8
AS
135022010-06-02 Andreas Schwab <schwab@redhat.com>
13503
13504 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13505
b2ef2c01
UD
135062010-06-14 Ulrich Drepper <drepper@redhat.com>
13507
13508 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13509 and F_GETPIPE_SZ.
13510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13514 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13516
fbd643b6
RM
135172010-06-14 Roland McGrath <roland@redhat.com>
13518
13519 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13520
f32f2869
JJ
135212010-06-07 Jakub Jelinek <jakub@redhat.com>
13522
13523 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13524 __REDIRECT followed by __THROW.
13525 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13526 * posix/getopt.h (getopt): Likewise.
13527
2a50c078
EPM
135282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13529
13530 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13531 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13532 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13533 in AT_FLAGS.
13534 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13535 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13536
eb5ad2eb
LM
135372010-05-28 Luis Machado <luisgpm@br.ibm.com>
13538
13539 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13540
3c88fe1e
L
135412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13542
13543 [BZ #11640]
13544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13545 Properly check family and model.
13546
d2f73151
TY
135472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13548
13549 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13550
ebd2e13d
LM
135512010-05-24 Luis Machado <luisgpm@br.ibm.com>
13552
13553 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13554
b32b8b45
UD
135552010-05-21 Ulrich Drepper <drepper@redhat.com>
13556
13557 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13558 symbol reference.
13559
9acbe24d
AS
135602010-05-19 Andreas Schwab <schwab@redhat.com>
13561
13562 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13563 symbol reference.
13564
f0ccf6ea
AS
135652010-05-21 Andreas Schwab <schwab@redhat.com>
13566
3d04ff3a
AS
13567 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13568 and internal_recvmmsg.
13569 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13570 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13571 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13572 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13573
f0ccf6ea
AS
13574 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13575 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13576 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13577
5b08ac57
AS
135782010-05-20 Andreas Schwab <schwab@redhat.com>
13579
13580 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13581
4828935d
LM
135822010-05-17 Luis Machado <luisgpm@br.ibm.com>
13583
13584 POWER7 optimizations.
13585 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13586 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13587
373d545e
UD
135882010-05-19 Ulrich Drepper <drepper@redhat.com>
13589
13590 * version.h: Update for 2.13 development version.
13591
21a2b1ae
AS
135922010-05-12 Andrew Stubbs <ams@codesourcery.com>
13593
13594 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13595 exceptions. Return 0.
13596
3f7dcb2b
RM
135972010-05-07 Roland McGrath <roland@redhat.com>
13598
13599 * elf/ldconfig.c (main): Add a const.
13600
5f24d53a 136012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13602
a160f8d8
UD
13603 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13604 (args_options): Add no-idn option.
13605 (ahosts_keys_int): Add idn_flags to ai_flags.
13606 (parse_option): Handle 'i' option to clear idn_flags.
13607
5f24d53a
UD
13608 * malloc/malloc.c (_int_free): Possible race in the most recently
13609 added check. Only act on the data if no current modification
13610 happened.
265bb1ce
UD
13611
13612See ChangeLog.17 for earlier changes.