]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix for logb/logbf/logbl (bugs 13954/13955/13956)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
89c9aa49
AZ
12012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #13954]
4 [BZ #13955]
5 [BZ #13956]
6 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12 * math/libm-test.inc (logb_test) : Additional logb tests.
13
021db4be
AJ
142012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15 Andreas Jaeger <aj@suse.de>
16
17 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18 * configure: Regenerated.
19 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20 * config.make.in (link-obsolete-rpc): New substituted variable.
21 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25 so that libc.a contains the symbols.
26 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28 * sunrpc/auth_none.c: Likewise.
29 * sunrpc/auth_unix.c: Likewise.
30 * sunrpc/authdes_prot.c: Likewise.
31 * sunrpc/authuxprot.c: Likewise.
32 * sunrpc/clnt_gen.c: Likewise.
33 * sunrpc/clnt_perr.c: Likewise.
34 * sunrpc/clnt_raw.c: Likewise.
35 * sunrpc/clnt_simp.c: Likewise.
36 * sunrpc/clnt_tcp.c: Likewise.
37 * sunrpc/clnt_udp.c: Likewise.
38 * sunrpc/clnt_unix.c: Likewise.
39 * sunrpc/des_crypt.c: Likewise.
40 * sunrpc/des_soft.c: Likewise.
41 * sunrpc/get_myaddr.c: Likewise.
42 * sunrpc/key_call.c: Likewise.
43 * sunrpc/key_prot.c: Likewise.
44 * sunrpc/netname.c: Likewise.
45 * sunrpc/pm_getmaps.c: Likewise.
46 * sunrpc/pm_getport.c: Likewise.
47 * sunrpc/pmap_clnt.c: Likewise.
48 * sunrpc/pmap_prot.c: Likewise.
49 * sunrpc/pmap_prot2.c: Likewise.
50 * sunrpc/pmap_rmt.c: Likewise.
51 * sunrpc/publickey.c: Likewise.
52 * sunrpc/rpc_cmsg.c: Likewise.
53 * sunrpc/rpc_common.c: Likewise.
54 * sunrpc/rpc_dtable.c: Likewise.
55 * sunrpc/rpc_prot.c: Likewise.
56 * sunrpc/rpc_thread.c: Likewise.
57 * sunrpc/rtime.c: Likewise.
58 * sunrpc/svc.c: Likewise.
59 * sunrpc/svc_auth.c: Likewise.
60 * sunrpc/svc_raw.c: Likewise.
61 * sunrpc/svc_run.c: Likewise.
62 * sunrpc/svc_tcp.c: Likewise.
63 * sunrpc/svc_udp.c: Likewise.
64 * sunrpc/svc_unix.c: Likewise.
65 * sunrpc/svcauth_des.c: Likewise.
66 * sunrpc/xcrypt.c: Likewise.
67 * sunrpc/xdr.c: Likewise.
68 * sunrpc/xdr_array.c: Likewise.
69 * sunrpc/xdr_float.c: Likewise.
70 * sunrpc/xdr_intXX_t.c: Likewise.
71 * sunrpc/xdr_mem.c: Likewise.
72 * sunrpc/xdr_rec.c: Likewise.
73 * sunrpc/xdr_ref.c: Likewise.
74 * sunrpc/xdr_sizeof.c: Likewise.
75 * sunrpc/xdr_stdio.c: Likewise.
76
b5c086a2
RM
772012-05-10 Roland McGrath <roland@hack.frob.com>
78
79 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80 change. Update copyright years.
81
6d74dd09
JM
822012-05-10 Joseph Myers <joseph@codesourcery.com>
83
84 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
85
28e72501
MK
862012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
87 Joseph Myers <joseph@codesourcery.com>
88 Paul Pluzhnikov <ppluzhnikov@google.com>
89
90 [BZ #14012]
91 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
92 requiring rpcgen.
93 [cross-compiling] (extra-libs): Likewise.
94 [cross-compiling] (extra-libs-others): Likewise.
95 [cross-compiling] (librpcsvc-routines): Likewise.
96 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
97 [cross-compiling] (omit-deps): Likewise.
98 (sunrpc-CPPFLAGS): New variable.
99 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
100 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
101 (cross-rpcgen-objs): New variable.
102 (extra-objs): Append $(cross-rpcgen-objs).
103 ($(cross-rpcgen-objs)): New rule.
104 ($(objpfx)cross-rpcgen): Likewise.
105 (rpcgen-cmd): Define to use $(built-program-file). Expand
106 comment.
107 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
108 ($(objpfx)x%.stmp): Likewise.
109 * sunrpc/proto.h [IS_IN_build] (_): Define.
110 [IS_IN_build] (_libc_intl_domainname): Likewise.
111
c8c59454
L
1122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
113
114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
115 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
116 and R_X86_64_TPOFF64.
117
6f27cd16
JM
1182012-05-10 Joseph Myers <joseph@codesourcery.com>
119
120 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
121 sysdeps/unix/sysv/syscalls.list.
122 (stime): Likewise.
123 (utime): Likewise.
124 * sysdeps/unix/sysv/syscalls.list: Remove file.
125
02467e1c
PE
1262012-05-10 Paul Eggert <eggert@cs.ucla.edu>
127
128 [BZ #3440]
129 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
130 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
131 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
132 (__LC_IDENTIFICATION): Make these macros useful in #if
133 expressions, as required by C99.
134
da392631
AS
1352012-05-10 Andreas Schwab <schwab@linux-m68k.org>
136
137 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
138 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
139 after this.
140
8115f29b
L
1412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
142
143 * stdlib/longlong.h: Updated from GCC.
144
bdd74070
AJ
1452012-05-09 Andreas Jaeger <aj@suse.de>
146
edfe0dbe
AJ
147 * nscd/nscd.c (run_modes): Make named enum, reorder so that
148 default is first entry.
149 (run_mode): Set type.
150 (main): Remove informal message about syslog.
151 (options): Fix typo.
152
bdd74070
AJ
153 [BZ #14053]
154 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
155 to asm.
156 (lrint): Likewise.
157 (llrintf): Likewise.
158 (llrint): Likewise.
159 (rint): Likewise.
160 (rintf): Likewise.
161 (nearbyint): Likewise.
162 (nearbyintf): Likewise.
163
91d8d69e
AJ
1642012-05-09 Andreas Jaeger <aj@suse.de>
165 Pedro Alves <palves@redhat.com>
166
167 * nscd/nscd.c (run_mode): Use enum.
168 (main): Cleanup coding style issue.
169
bb90b80b
AJ
1702012-05-09 Alexandre Oliva <aoliva@redhat.com>
171 Andreas Jaeger <aj@suse.de>
172
173 * nscd/nscd.c (go_background): Replaced with...
174 (run_mode): ... this.
175 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
176 (options): Add -F --foreground.
177 (main): Implement it.
178 (parse_opt): Parse it.
179
1a4b75a1
AJ
1802012-05-09 Andreas Jaeger <aj@suse.de>
181
182 [BZ #14083]
183 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
184 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
185 -Wconversion warning.
186 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
187 Likewise.
188
b1cc2472
JM
1892012-05-09 Joseph Myers <joseph@codesourcery.com>
190
191 * conform/data/locale.h-data (NULL): Use macro-constant. Require
192 == 0.
193 (LC_ALL): Use macro-int-constant.
194 (LC_COLLATE): Likewise.
195 (LC_CTYPE): Likewise.
196 (LC_MESSAGES): Likewise.
197 (LC_MONETARY): Likewise.
198 (LC_NUMERIC): Likewise.
199 (LC_TIME): Likewise.
200 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
201 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
203 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
204 Specify type.
205 [C99-based standards] (float_t): Expect type.
206 [C99-based standards] (double_t): Expect type.
207 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
208 type.
209 [C99-based standards] (HUGE_VALL): Likewise.
210 [C99-based standards] (INFINITY): Likewise.
211 [C99-based standards] (NAN): Likewise.
212 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
213 [C99-based standards] (FP_NAN): Likewise.
214 [C99-based standards] (FP_NORMAL): Likewise.
215 [C99-based standards] (FP_SUBNORMAL): Likewise.
216 [C99-based standards] (FP_ZERO): Likewise.
217 [C99-based standards] (FP_FAST_FMA): Use
218 optional-macro-int-constant. Specify type. Require == 1.
219 [C99-based standards] (FP_FAST_FMAF): Likewise.
220 [C99-based standards] (FP_FAST_FMAL): Likewise.
221 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
222 [C99-based standards] (FP_ILOGBNAN): Likewise.
223 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
224 Specify type.
225 [C99-based standards] (MATH_ERREXCEPT): Likewise.
226 [C99-based standards] (math_errhandling): Specify type.
227 [ISO99 || ISO11] (signgam): Do not allow.
228 [non-C99-based standards] (copysignf): Do not allow.
229 [non-C99-based standards] (exp2f): Likewise.
230 [non-C99-based standards] (log2f): Likewise.
231 [non-C99-based standards] (modff): Allow.
232 [non-C99-based standards] (erff): Do not allow.
233 [non-C99-based standards] (erfcf): Likewise.
234 [non-C99-based standards] (gammaf): Likewise.
235 [non-C99-based standards] (hypotf): Likewise.
236 [non-C99-based standards] (j0f): Likewise.
237 [non-C99-based standards] (j1f): Likewise.
238 [non-C99-based standards] (jnf): Likewise.
239 [non-C99-based standards] (lgammaf): Likewise.
240 [non-C99-based standards] (tgammaf): Likewise.
241 [non-C99-based standards] (y0f): Likewise.
242 [non-C99-based standards] (y1f): Likewise.
243 [non-C99-based standards] (ynf): Likewise.
244 [non-C99-based standards] (isnanf): Likewise.
245 [non-C99-based standards] (acoshf): Likewise.
246 [non-C99-based standards] (asinhf): Likewise.
247 [non-C99-based standards] (atanhf): Likewise.
248 [non-C99-based standards] (cbrtf): Likewise.
249 [non-C99-based standards] (expm1f): Likewise.
250 [non-C99-based standards] (ilogbf): Likewise.
251 [non-C99-based standards] (log1pf): Likewise.
252 [non-C99-based standards] (logbf): Likewise.
253 [non-C99-based standards] (nextafterf): Likewise.
254 [non-C99-based standards] (remainderf): Likewise.
255 [non-C99-based standards] (rintf): Likewise.
256 [non-C99-based standards] (scalbf): Likewise.
257 [non-C99-based standards] (copysignl): Likewise.
258 [non-C99-based standards] (exp2l): Likewise.
259 [non-C99-based standards] (log2l): Likewise.
260 [non-C99-based standards] (modfl): Allow.
261 [non-C99-based standards] (erfl): Do not allow.
262 [non-C99-based standards] (erfcl): Likewise.
263 [non-C99-based standards] (gammal): Likewise.
264 [non-C99-based standards] (hypotl): Likewise.
265 [non-C99-based standards] (j0l): Likewise.
266 [non-C99-based standards] (j1l): Likewise.
267 [non-C99-based standards] (jnl): Likewise.
268 [non-C99-based standards] (lgammal): Likewise.
269 [non-C99-based standards] (tgammal): Likewise.
270 [non-C99-based standards] (y0l): Likewise.
271 [non-C99-based standards] (y1l): Likewise.
272 [non-C99-based standards] (ynl): Likewise.
273 [non-C99-based standards] (isnanl): Likewise.
274 [non-C99-based standards] (acoshl): Likewise.
275 [non-C99-based standards] (asinhl): Likewise.
276 [non-C99-based standards] (atanhl): Likewise.
277 [non-C99-based standards] (cbrtl): Likewise.
278 [non-C99-based standards] (expm1l): Likewise.
279 [non-C99-based standards] (ilogbl): Likewise.
280 [non-C99-based standards] (log1pl): Likewise.
281 [non-C99-based standards] (logbl): Likewise.
282 [non-C99-based standards] (nextafterl): Likewise.
283 [non-C99-based standards] (remainderl): Likewise.
284 [non-C99-based standards] (rintl): Likewise.
285 [non-C99-based standards] (scalbl): Likewise.
286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
287 [non-C99-based standards] (FP_*): Do not allow.
288 [C99-based standards] (FP_*): Change to
289 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
290 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
291 allow.
292 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
293 (SIG_ERR): Likewise.
294 [X/Open-based standards] (SIG_HOLD): Likewise.
295 (SIG_IGN): Likewise.
296 (SIGABRT): Use macro-int-constant. Specify type. Require
297 positive value.
298 (SIGFPE): Likewise.
299 (SIGILL): Likewise.
300 (SIGINT): Likewise.
301 (SIGSEGV): Likewise.
302 (SIGTER): Likewise.
303 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
304 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
305 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
306 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
307 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
308 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
309 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
310 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
311 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
312 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
313 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
314 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
315 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
316 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
317 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
318 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
319 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
320 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
321 [X/Open-based standards] (SIGTRAP): Likewise.
322 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
323 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
324 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
325 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
326 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
327 allow.
328
b9f1922d
IW
3292012-05-08 Ian Wienand <ianw@vmware.com>
330
331 [BZ #14080]
332 * time/tzset.c (__tzset_parse_tz): Update default rules for
333 daylight time changes in the Energy Policy Act of 2005.
334
1db86e88
AJ
3352012-05-09 Andreas Jaeger <aj@suse.de>
336
337 [BZ #13983]
338 * elf/ldconfig.c (parse_conf): Change string to make clear that
339 ldconfig only issued a warning if ld.so.conf does not exist.
340
dee4a4e3
DM
3412012-05-08 David S. Miller <davem@davemloft.net>
342
ee0db190
DM
343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
344 movxtod instead of popping the value on the stack.
345
dee4a4e3
DM
346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
347
6a43ec98
CD
3482012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
349
350 * config.h.in: Add HAVE_ARM_PCS_VFP.
351
05c2c961
RMG
3522012-05-08 Roland Mc Grath <roland@hack.frob.com>
353
354 [BZ #13979]
355 * include/features.h: Warn if user requests __FORTIFY_SOURCE
356 checking but the checks are disabled for any reason.
357
4b30f61a
L
3582012-05-08 H.J. Lu <hongjiu.lu@intel.com>
359
360 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
361 and ELF64_R_TYPE with ELFW(R_TYPE).
362
eee2bc67
JM
3632012-05-08 Joseph Myers <joseph@codesourcery.com>
364
7ea5391a
JM
365 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
366 (ulimit): Likewise.
367
eee2bc67
JM
368 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
369 (settimeofday): Likewise.
370
abb66a67
MF
3712012-05-08 Mike Frysinger <vapier@gentoo.org>
372
373 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
374 a struct th_u2 inside the union, and move tu_block/tu_code into
375 a new th_u3 union of tu_block/tu_code inside of that. Move
376 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
377 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
378 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
379 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
380 (th_stuff): Change to th_u1.tu_stuff.
381 (th_data): Define.
382 (th_msg): Change to th_u1.th_u2.tu_data.
383
7f18b530
DM
3842012-05-07 David S. Miller <davem@davemloft.net>
385
05760585
DM
386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
387
7f18b530
DM
388 [BZ #14074]
389 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
390 (SETUP_PIC_REG): Use it.
391 (SETUP_PIC_REG_LEAF): Use it.
392
495fd99f
JM
3932012-05-07 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #13885]
396 [BZ #13923]
397 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
398 USE_AS_EXPM1L.
399 (EXPL_FINITE): Likewise.
400 (FLDLOG): Likewise.
401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
402 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
403 e_expl.S.
404 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
405 USE_AS_EXPM1L.
406 (EXPL_FINITE): Likewise.
407 (FLDLOG): Likewise.
408 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
409 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
410 e_expl.S.
411 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
412 test of -max_value argument for long double.
413 * sysdeps/i386/fpu/libm-test-ulps: Update.
414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415
6693d694
DM
4162012-05-06 David S. Miller <davem@davemloft.net>
417
418 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
419 quad soft-float symbols whose references which are compiler
420 generated.
421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
422
6c23e11c
JM
4232012-05-06 Joseph Myers <joseph@codesourcery.com>
424
d8b82cad
JM
425 [BZ #13884]
426 [BZ #13914]
427 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
428 USE_AS_EXP10L.
429 (EXPL_FINITE): Likewise.
430 (FLDLOG): Likewise.
431 (c0): Likewise.
432 (c1): Likewise.
433 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
434 Adjust comments for base varying.
435 (__expl_finite): Change alias to EXPL_FINITE.
436 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
437 e_expl.S.
438 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
439 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
441 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
442 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
443 USE_AS_EXP10L.
444 (EXPL_FINITE): Likewise.
445 (FLDLOG): Likewise.
446 (c0): Likewise.
447 (c1): Likewise.
448 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
449 Adjust comments for base varying.
450 (__expl_finite): Change alias to EXPL_FINITE.
451 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
452 tests for bugs.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
454
6c23e11c
JM
455 [BZ #14064]
456 * math/libm-test.inc (check_float_internal): Correct ulp
457 calculation for subnormal expected results.
458
29ba805c
AJ
4592012-05-06 Andreas Jaeger <aj@suse.de>
460
461 * Makeconfig (+math-flags): New, set to -frounding-math.
462 (+cflags): Add +math-flags so that all of glibc gets compiled with
463 it.
464
465 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
466
7b17aeda
JM
4672012-05-05 Joseph Myers <joseph@codesourcery.com>
468
5779f134
JM
469 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
470 Disable one test.
471
41498f4d
JM
472 [BZ #13787]
473 [BZ #13922]
474 [BZ #14036]
475 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
476 (__ieee754_expl): Allow for and saturate large arguments.
477 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
478 (u_threshold): Likewise.
479 (__exp): Call __ieee754_exp before checking for overflow and
480 underflow.
481 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
482 (u_threshold): Likewise.
483 (__expf): Call __ieee754_expf before checking for overflow and
484 underflow.
485 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
486 (u_threshold): Likewise.
487 (__expl): Call __ieee754_expl before checking for overflow and
488 underflow.
489 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
490 (__ieee754_expl): Allow for and saturate large arguments.
491 * math/libm-test.inc (exp_test): Add another test. Do not allow
492 missing overflow exception on overflow.
493 (expm1_test): Do not allow missing overflow exception on overflow.
494
6698b8bf
JM
495 * sysdeps/i386/fpu/e_expl.c: Move to ...
496 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
497 rather than using inline asm.
498 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
499 * sysdeps/x86_64/fpu/e_expl.S: Copy from
500 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
501
7b17aeda
JM
502 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
503 (nice): Likewise.
504 (poll): Likewise.
505 (signal): Likewise.
506 (time): Likewise.
507 (times): Likewise.
508
f7c85819
JM
5092012-05-04 Joseph Myers <joseph@codesourcery.com>
510
511 * sysdeps/unix/syscalls.list (adjtime): Add entry from
512 sysdeps/unix/common/syscalls.list.
513 (fchmod): Likewise.
514 (fchown): Likewise.
515 (ftruncate): Likewise.
516 (getrusage): Likewise.
517 (gettimeofday): Likewise.
518 (setpgid): Likewise.
519 (setregid): Likewise.
520 (setreuid): Likewise.
521 (sigaction): Likewise.
522 (truncate): Likewise.
523 (vhangup): Likewise.
524 * sysdeps/unix/common/syscalls.list: Remove file.
525 * sysdeps/unix/bsd/Implies: Don't include unix/common.
526 * sysdeps/unix/sysv/linux/Implies: Likewise.
527
336270d0
L
5282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
529
530 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
532 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
533 Moved to ...
534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
535 Here.
536 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
537 to ...
538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
539 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
540 to ...
541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
542 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
543 to ...
544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
545 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
546 to ...
547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
548 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
549 to ...
550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
551 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
552 to ...
553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
555 to ...
556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
557 Here.
558 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
559 to ...
560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
561 Here.
562 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
563 to ...
564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
565 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
566 Moved to ...
567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
568 Here.
569 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
570 to ...
571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
572
d128e450
JM
5732012-05-04 Joseph Myers <joseph@codesourcery.com>
574
fa8ee516
JM
575 * sysdeps/unix/common/bits/dirent.h: Remove file.
576 * sysdeps/unix/common/bits/fcntl.h: Likewise.
577
d128e450
JM
578 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
579 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
580 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
581 * sysdeps/unix/bsd/isatty.c: Likewise.
582 * sysdeps/unix/bsd/tcdrain.c: Likewise.
583 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
584 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
585
ff8faaf0 5862012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 587
62881be4 588 [BZ #13563]
31dc8730
AZ
589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
590 long double comparison inaccuracies.
591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
593
6fef930c
AS
5942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
595
596 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
598
8f203e6c
JM
5992012-05-04 Joseph Myers <joseph@codesourcery.com>
600
601 [BZ #14049]
602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
603 nonzero digits before rounding a hex value.
604 * stdlib/tst-strtod.c (tests): Add another test.
605
5197d9c2
AK
6062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
607
608 * sysdeps/s390/fpu/libm-test-ulps: Update.
609
f0c1dedf
AJ
6102012-05-03 Andreas Jaeger <aj@suse.de>
611
612 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
613 does not get optimized out.
614 (malloc_opt_barrier): New.
615
a65ef2ae 6162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 617 Roland McGrath <roland@hack.frob.com>
a65ef2ae 618
2b942cb7 619 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 620 intermediate file deletion.
2b942cb7 621 (generated): Add .symlist files.
a65ef2ae 622
54b71e02
JM
6232012-05-03 Joseph Myers <joseph@codesourcery.com>
624
625 [BZ #13775]
626 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
627 Redirect under this condition.
628 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
629 [__USE_GNU] (__dprintf_chk): Not under this condition.
630 [__USE_GNU] (__vdprintf_chk): Likewise.
631 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
632 under this condition.
633 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
634 [__USE_XOPEN2K8] (dprintf): Define under this condition.
635 [__USE_XOPEN2K8] (vdprintf): Likewise.
636 [__USE_GNU] (__dprintf_chk): Not under this condition.
637 [__USE_GNU] (__vdprintf_chk): Likewise.
638 [__USE_GNU] (dprintf): Likewise.
639 [__USE_GNU] (vdprintf): Likewise.
640
d3dfcc41
RM
6412012-05-03 Roland McGrath <roland@hack.frob.com>
642
643 * elf/Makefile (common-generated): Set this instead of generated for
644 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
645 $(all-built-dso)-derived lists.
646
7ac30cc5
AJ
6472012-05-03 Andreas Jaeger <aj@suse.de>
648
0c51e550
AJ
649 * sysdeps/i386/fpu/libm-test-ulps: Update.
650
7ac30cc5
AJ
651 * FAQ: Removed.
652 * FAQ.in: Likewise.
653 * scripts/gen-FAQ.pl: Likewise.
654 * manual/install.texi (Installation): Point to online location of
655 FAQ.
656 * Makefile (files-for-dist): Remove FAQ.
657 (FAQ): Remove.
658
d4c2917f
AM
6592012-05-02 Allan McRae <allan@archlinux.org>
660
661 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
662 (LDFLAGS-reldepmod5.so): Likewise.
663 (LDFLAGS-reldep6mod1.so): Likewise.
664 (LDFLAGS-reldep6mod4.so): Likewise.
665 (LDFLAGS-reldep8mod3.so): Likewise.
666 (LDFLAGS-unload4mod1.so): Likewise.
667 (LDFLAGS-unload4mod2.so): Likewise.
668 (LDFLAGS-tst-initorder): Likewise.
669 (LDFLAGS-tst-initordera2.so): Likewise.
670 (LDFLAGS-tst-initordera3.so): Likewise.
671 (LDFLAGS-tst-initordera4.so): Likewise.
672 (LDFLAGS-tst-initorderb2.so): Likewise.
673 (LDFLAGS-noload): Likewise.
674 (LDFLAGS-next): Likewise.
675 (LDFLAGS-order2mod1.so): Likewise.
676 (LDFLAGS-order2mod2.so): Likewise.
677 (LDFLAGS-tst-initorder2): Likewise.
678 (LDFLAGS-tst-initorder2a.so): Likewise.
679 (LDFLAGS-tst-initorder2b.so): Likewise.
680 (LDFLAGS-tst-initorder2c.so): Likewise.
681 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
682
d77f993f
DM
6832012-05-02 David S. Miller <davem@davemloft.net>
684
685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
686
171a70b4
PP
6872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
688
689 [BZ #14055]
690 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
691
0be196ad
AJ
6922012-05-02 Andreas Jaeger <aj@suse.de>
693
694 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
695 since we manipulate rounding mode.
696 (CPPFLAGS-test-idouble.c): Likewise.
697 (CPPFLAGS-test-ifloat.c): Likewise.
698 (CFLAGS-test-ldouble.c): Likewise.
699 (CFLAGS-test-double.c): Likewise.
700 (CFLAGS-test-float.c): Likewise.
701 (CFLAGS-test-misc.c): Likewise.
702 (CFLAGS-test-test-fenv.c): Likewise.
703
4f9d04aa
AZ
7042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705
2b942cb7
RM
706 [BZ #2550]
707 [BZ #2570]
708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
709 comparisons to determine direction to adjust input.
4f9d04aa 710
82a79e7d
RM
7112012-05-01 Roland McGrath <roland@hack.frob.com>
712
f5a01ca9
RM
713 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
714 output to the target.
715
90fe4186
RM
716 * scripts/localplt.awk: New file.
717 * elf/Makefile ($(objpfx)check-localplt): Target removed.
718 (check-localplt-CFLAGS): Variable removed.
719 ($(all-built-dso:=.jmprel)): New static pattern rule.
720 (generated): Add those targets.
721 (localplt-built-dso): New variable.
722 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
723
724 * elf/check-localplt.c: File removed.
725
82397ed6
RM
726 * scripts/check-execstack.awk: New file.
727 * elf/Makefile ($(objpfx)check-execstack): Target removed.
728 (check-execstack-CFLAGS): Variable removed.
729 ($(objpfx)check-execstack.h): Target removed.
730 ($(objpfx)execstack-default): New target.
731 (generated): Add that instead of check-execstack.h.
732 ($(all-built-dso:=.phdr)): New static pattern rule.
733 (generated): Add those targets.
734 * elf/check-execstack.c: File removed.
735
82a79e7d
RM
736 * scripts/check-textrel.awk: New file.
737 * elf/Makefile ($(objpfx)check-textrel): Target removed.
738 (check-textrel-CFLAGS): Variable removed.
739 (all-built-dso): Use := to define.o
740 ($(all-built-dso:=.dyn)): New static pattern rule.
741 (generated): Add those targets.
742 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
743 * config.make.in (READELF): New substituted variable.
744 * elf/check-textrel.c: File removed.
745
62fde54f 7462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 747
615605c9
JM
748 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
749 allow.
750 * conform/data/ctype.h-data [C99-based standards] (isblank):
751 Expect function.
752 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
753 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
755 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
756 Specify type. Require positive value.
757 (EILSEQ): Likewise.
758 (ERANGE): Likewise.
759 [ISO || POSIX] (EILSEQ): Do not expect.
760 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
761 Specify type. Require positive value.
762 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
763 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
764 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
765 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
766 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
767 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
768 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
769 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
770 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
771 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
772 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
773 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
774 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
775 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
776 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
777 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
778 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
779 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
780 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
781 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
782 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
783 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
784 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
785 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
786 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
787 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
788 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
789 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
790 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
791 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
792 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
793 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
794 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
795 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
796 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
797 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
798 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
799 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
800 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
801 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
802 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
803 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
804 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
805 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
806 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
807 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
808 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
809 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
810 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
811 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
812 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
813 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
814 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
815 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
816 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
817 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
818 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
819 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
820 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
821 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
822 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
823 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
824 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
825 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
826 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
827 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
828 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
829 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
830 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
831 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
832 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
833 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
834 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
835 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
836 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
837 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
838 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
839 Require >= 2.
840 (FLT_ROUNDS): Expect as macro, not constant.
841 (FLT_MANT_DIG): Use macro-int-constant.
842 (DBL_MANT_DIG): Likewise.
843 (LDBL_MANT_DIG): Likewise.
844 (FLT_DIG): Likewise.
845 (DBL_DIG): Likewise.
846 (LDBL_DIG): Likewise.
847 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
848 (DBL_MIN_EXP): Likewise.
849 (LDBL_MIN_EXP): Likewise.
850 (FLT_MAX_EXP): Use macro-int-constant.
851 (DBL_MAX_EXP): Likewise.
852 (LDBL_MAX_EXP): Likewise.
853 (FLT_MAX_10_EXP): Likewise.
854 (DBL_MAX_10_EXP): Likewise.
855 (LDBL_MAX_10_EXP): Likewise.
856 (FLT_MAX): Use macro-constant.
857 (DBL_MAX): Likewise.
858 (LDBL_MAX): Likewise.
859 (FLT_EPSILON): Use macro-constant. Give upper bound.
860 (DBL_EPSILON): Likewise.
861 (LDBL_EPSILON): Likewise.
862 (FLT_MIN): Likewise.
863 (DBL_MIN): Likewise.
864 (LDBL_MIN): Likewise.
865 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
866 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
867 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
868 [ISO11] (FLT_HAS_SUBNORM): Likewise.
869 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
870 [ISO11] (DBL_DECIMAL_DIG): Likewise.
871 [ISO11] (FLT_DECIMAL_DIG): Likewise.
872 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
873 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
874 [ISO11] (FLT_TRUE_MIN): Likewise.
875 [ISO11] (LDBL_TRUE_MIN): Likewise.
876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
877 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
878 (SCHAR_MIN): Use macro-int-constant. Specify type.
879 (SCHAR_MAX): Likewise.
880 (UCHAR_MAX): Likewise.
881 (CHAR_MIN): Likewise.
882 (CHAR_MAX): Likewise.
883 (MB_LEN_MAX): Use macro-int-constant.
884 (SHRT_MIN): Use macro-int-constant. Specify type.
885 (SHRT_MAX): Likewise.
886 (USHRT_MAX): Likewise.
887 (INT_MAX): Likewise.
888 (INT_MIN): Use macro-int-constant. Specify type. Make upper
889 bound negative.
890 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
891 bound with "U".
892 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
893 bound with "L".
894 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
895 bound negative. Suffix upper bound with "L".
896 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
897 bound with "UL".
898 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
899 Specify type.
900 [C99-based standards] (LLONG_MAX): Likewise.
901 [C99-based standards] (ULLONG_MAX): Likewise.
902 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
903 == 0.
904 [ISO11] (max_align_t): Require type.
905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
906
c9140a62
JM
907 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
908 from $CFLAGS, without defining away __attribute__ calls.
909 (checknamespace): Use $CFLAGS_namespace.
910
9af0bf29
JM
911 * conform/conformtest.pl (@keywords): Only include C99 keywords
912 for standards based on C99 or C11.
913
343222a2
JM
914 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
915 Disable tests.
916 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
917 UNIX98]: Likewise.
918
661f8cf0
JM
919 * conform/conformtest.pl: Handle "macro-int-constant" and test for
920 usability of symbols in #if.
921
ee74b9cb
JM
922 * conform/conformtest.pl: If macro or constant types start
923 "promoted:", expect the symbol to be of the following type
924 promoted by the integer promotions.
62fde54f 925
aafc49b3
JM
926 * conform/conformtest.pl: Parse all "constant" and "macro" lines
927 in one place. Also handle "macro-constant".
928
fefdf574
JM
929 * conform/conformtest.pl: Only accept expected macro values with
930 "==". Parse all "macro" lines in one place.
931 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
932
f2d922fe
JM
933 * conform/conformtest.pl: Handle braced types on "constant" lines
934 instead of handling "typed-constant".
935 * conform/data/signal.h-data: Use "constant" instead of
936 "typed-constant".
937
d22956c9
JM
938 * conform/conformtest.pl: Handle "optional-" at start of lines in
939 one place rather than duplicating several cases. Handle each
940 format of "macro" line with initial "optional-".
941
028e2e38
JM
942 * conform/conformtest.pl: Only accept expected constant or
943 optional-constant values with "==". Parse all "constant" lines in
944 one place. Parse all "optional-constant" lines in one place.
945 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
946 * conform/data/fmtmsg.h-data: Likewise.
947 * conform/data/netinet/in.h-data: Likewise.
948 * conform/data/tar.h-data: Likewise.
949 * conform/data/limits.h-data: Use "==" form on "constant" and
950 "optional-constant" lines.
951
1b8f2850
JM
952 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
953 Use -std=c99 for XOPEN2K.
954 (@knownproblems): Remove.
955 (newtoken): Don't check %isknown.
956
a05a144b
JM
957 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
958 Do not expect macro.
959 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
960 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
961 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
962 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
963 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
964 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
965 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
966 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
967 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
968 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
969 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
970 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
971 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
972 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
973 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
974 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
975 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
976 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
977 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
978 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
979 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
980 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
981 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
982 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
983 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
984 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
985 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
986 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
987 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
988 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
989 [XPG3] (acosh): Likewise.
990 [XPG3] (asinh): Likewise.
991 [XPG3] (atanh): Likewise.
992 [XPG3] (cbrt): Likewise.
993 [XPG3] (expm1): Likewise.
994 [XPG3] (ilogb): Likewise.
995 [XPG3] (log1p): Likewise.
996 [XPG3] (logb): Likewise.
997 [XPG3] (nextafter): Likewise.
998 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
999 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1000 [XPG3] (remainder): Likewise.
1001 [XPG3] (rint): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1009 [UNIX98 || XOPEN2K] (scalb): Expect.
1010 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1011 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1147
73c5ebe3
JM
1148 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1149 _XOPEN_SOURCE_EXTENDED for XPG4.
1150
39c33b6c
JM
1151 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1152
62fde54f
JM
1153 * Makeconfig (localtime): Remove variable.
1154 (inst_localtime-file): Likewise.
1155
0741d64c
AS
11562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1157
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1159 Update.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1161 Update.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1163 Update.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1165 Update.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1167 Update.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1169 Update.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1171 Update.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1173 Update.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1175 Update.
1176
7cb029ee
JM
11772012-05-01 Joseph Myers <joseph@codesourcery.com>
1178
1179 [BZ #2550]
1180 [BZ #2570]
1181 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1182 comparisons to determine direction to adjust input.
1183 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1184 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1186 Likewise.
1187 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1188 Likewise.
1189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1190 Likewise.
1191 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1192 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1193 Likewise.
1194 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1195 Likewise.
1196 * math/libm-test.inc (nexttoward_test): Add more tests.
1197
412bd966
AS
11982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1199
1200 [BZ #14040]
1201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1202 in version GLIBC_2.1, not GLIBC_2.0.
1203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1204 Likewise.
1205
9568c0c2
JM
12062012-04-30 Joseph Myers <joseph@codesourcery.com>
1207
adfbc8ac
JM
1208 [BZ #13942]
1209 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1210 (1 - x) * (1 + x).
1211 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1212 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1213 * math/libm-test.inc (acos_test): Add more tests.
1214 (asin_test): Likewise.
1215 * sysdeps/i386/fpu/libm-test-ulps: Update.
1216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1217
5ba3cc69
JM
1218 [BZ #14034]
1219 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1220 of square root.
1221 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1222 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1223 * math/libm-test.inc (acos_test_tonearest): New function.
1224 (acos_test_towardzero): Likewise.
1225 (acos_test_downward): Likewise.
1226 (acos_test_upward): Likewise.
1227 (asin_test_tonearest): Likewise.
1228 (asin_test_towardzero): Likewise.
1229 (asin_test_downward): Likewise.
1230 (asin_test_upward): Likewise.
1231 (main): Call the new functions.
1232 * sysdeps/i386/fpu/libm-test-ulps: Update.
1233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1234
9568c0c2
JM
1235 [BZ #13884]
1236 [BZ #13924]
1237 * math/e_exp10.c: Include <float.h>.
1238 (__ieee754_exp10): Handle underflow here rather than multiplying
1239 large negative argument by M_LN10.
1240 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1241 of __ieee754_expf.
1242 * math/e_exp10l.c: Include <float.h>.
1243 (__ieee754_exp10l): Handle underflow here rather than multiplying
1244 large negative argument by M_LN10l.
1245 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1246 spurious overflow exception on underflow.
1247
5ac3ea17
MP
12482012-04-29 Marek Polacek <polacek@redhat.com>
1249
1250 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1251 (__fortify_function): New macro.
1252 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1253 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1254 __extern_always_inline.
1255 * libio/bits/stdio2.h: Likewise.
1256 * libio/bits/stdio.h: Likewise.
1257 * string/string.h: Likewise.
1258 * string/bits/string3.h: Likewise.
1259 * include/stdio.h: Likewise.
1260 * stdlib/bits/stdlib.h: Likewise.
1261 * stdlib/stdlib.h: Likewise.
1262 * rt/bits/mqueue2.h: Likewise.
1263 * rt/mqueue.h: Likewise.
1264 * posix/bits/unistd.h: Likewise.
1265 * posix/unistd.h: Likewise.
1266 * io/bits/poll2.h: Likewise.
1267 * io/bits/fcntl2.h: Likewise.
1268 * io/fcntl.h: Likewise.
1269 * io/sys/poll.h: Likewise.
1270 * misc/bits/syslog.h: Likewise.
1271 * misc/bits/syslog-ldbl.h: Likewise.
1272 * misc/sys/syslog.h: Likewise.
1273 * socket/bits/socket2.h: Likewise.
1274 * socket/sys/socket.h: Likewise.
1275 * debug/tst-chk1.c: Likewise.
1276 * wcsmbs/bits/wchar2.h: Likewise.
1277 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1278 * wcsmbs/wchar.h: Likewise.
1279
ecf0ebfb
AJ
12802012-04-29 Andreas Jaeger <aj@suse.de>
1281
1282 * Makerules (tests): Remove enable-check-abi protection.
1283 (check-abi-warn): Remove.
1284 (check-abi-%): Remove check-abi-warn usage.
1285
1286 * configure.in: Remove check-abi configure option.
1287 * configure: Regenerated.
1288 * config.make.in (enable-check-abi): Remove.
1289
6d5c57fa
AS
12902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1291
24c5d07e 1292 [BZ #14033]
ded5180a
AS
1293 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1294 double functions to double *_finite functions.
1295
7e0d315d
AS
1296 [BZ #13941]
1297 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1298 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1299 LDBL_MIN_EXP.
1300 * stdio-common/Makefile (tests): Add tst-sprintf3.
1301 * stdio-common/tst-sprintf3.c: New file.
1302
6d5c57fa
AS
1303 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1304 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1305
0749ff8b
JM
13062012-04-28 Joseph Myers <joseph@codesourcery.com>
1307
1308 * conform/conformtest.pl: Remove duplicate typed-constant
1309 handling.
1310
8dbd5d7b
DM
13112012-04-28 David S. Miller <davem@davemloft.net>
1312
1313 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1314 (check-abi-%): Remove AWK script prerequisite and explicit
1315 abilist directory.
1316 (check-abi): Rewrite to just diff the symlist with the abilist.
1317 (config-tls, config-abi-config): Delete, no longer used.
1318 (update-abi-%): Remove AWK script and explicit abilist directory.
1319 (update-abi): Rewrite to simply compare and conditionally copy the
1320 symlist and the sysdep abilist file. Remove update-abi-config
1321 checks.
1322 * abilist/ld.abilist: Remove.
1323 * abilist/libBrokenLocale.abilist: Remove.
1324 * abilist/libanl.abilist: Remove.
1325 * abilist/libcrypt.abilist: Remove.
1326 * abilist/libdl.abilist: Remove.
1327 * abilist/librt.abilist: Remove.
1328 * abilist/libthread_db.abilist: Remove.
1329 * abilist/libutil.abilist: Remove.
1330 * scripts/extract-abilist.awk: Remove.
1331 * scripts/merge-abilist.awk: Remove.
1332 * sysdeps/generic/libcidn.abilist: New file.
1333 * sysdeps/generic/libnss_compat.abilist: New file.
1334 * sysdeps/generic/libnss_db.abilist: New file.
1335 * sysdeps/generic/libnss_dns.abilist: New file.
1336 * sysdeps/generic/libnss_files.abilist: New file.
1337 * sysdeps/generic/libnss_hesiod.abilist: New file.
1338 * sysdeps/generic/libnss_nis.abilist: New file.
1339 * sysdeps/generic/libnss_nisplus.abilist: New file.
1340 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1341 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1342 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1343 file.
1344 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1345 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1346 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1347 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1348 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1349 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1350 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1351 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1352 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1353 file.
1354 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1355 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1356 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1357 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1358 file.
1359 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1360 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1361 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1362 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1363 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1364 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1365 file.
1366 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1367 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1368 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1369 file.
1370 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1372 New file.
1373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1374 New file.
1375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1376 New file.
1377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1378 New file.
1379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1380 New file.
1381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1382 New file.
1383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1384 New file.
1385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1386 New file.
1387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1388 New file.
1389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1390 New file.
1391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1392 New file.
1393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1394 New file.
1395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1396 New file.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1398 file.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1400 New file.
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1402 New file.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1404 file.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1406 New file.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1408 New file.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1410 file.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1412 New file.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1414 New file.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1416 New file.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1418 New file.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1420 New file.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1422 New file.
1423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1425 file.
1426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1427 New file.
1428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1429 file.
1430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1431 file.
1432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1433 file.
1434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1435 file.
1436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1437 file.
1438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1439 New file.
1440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1441 file.
1442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1443 file.
1444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1445 New file.
1446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1447 file.
1448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1450 file.
1451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1452 New file.
1453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1454 file.
1455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1456 file.
1457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1458 file.
1459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1460 file.
1461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1462 file.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1464 New file.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1466 file.
1467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1468 file.
1469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1470 New file.
1471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1472 file.
1473 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1474 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1475 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1476 file.
1477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1478 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1479 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1480 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1481 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1482 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1483 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1484 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1485 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1486 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1489 file.
1490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1491 New file.
1492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1493 file.
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1495 file.
1496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1497 file.
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1499 file.
1500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1503 New file.
1504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1505 New file.
1506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1507 file.
1508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1509 New file.
1510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1511 file.
1512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1514 file.
1515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1516 New file.
1517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1518 file.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1520 file.
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1522 file.
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1524 file.
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1528 New file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1530 New file.
1531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1532 file.
1533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1534 New file.
1535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1536 file.
1537
41d73a1b
JM
15382012-04-28 Joseph Myers <joseph@codesourcery.com>
1539
1540 * conform/conformtest.pl: Fix typo in handling typed-constant from
1541 allow-header.
1542
28aeeda4
JM
15432012-04-27 Joseph Myers <joseph@codesourcery.com>
1544
adae8f5e
JM
1545 * README: Cut down references to pre-2.6 Linux kernels and
1546 Linuxthreads. Update lists of configurations in libc and ports
1547 and sort alphabetically. Say "or newer" with Linux kernel version
1548 requirements.
1549
28aeeda4
JM
1550 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1551
a462cb63
RA
15522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1553
1554 [BZ #887]
1555 * math/libm-test.inc (logb_test_downward): New test to expose
1556 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1557 rounding mode.
1558
6ad3493e
JM
15592012-04-27 Joseph Myers <joseph@codesourcery.com>
1560
1561 [BZ #14027]
1562 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1563 to be done.
1564 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1565 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1566
2ce4f015
JM
15672012-04-26 Joseph Myers <joseph@codesourcery.com>
1568
5aeb141a
JM
1569 * sysdeps/unix/i386/brk.S: Remove file.
1570 * sysdeps/unix/i386/dl-brk.S: Likewise.
1571 * sysdeps/unix/i386/pipe.S: Likewise.
1572 * sysdeps/unix/i386/sigreturn.S: Likewise.
1573 * sysdeps/unix/i386/syscall.S: Likewise.
1574 * sysdeps/unix/i386/vfork.S: Likewise.
1575 * sysdeps/unix/i386/wait.S: Likewise.
1576
7143acae
JM
1577 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1578 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1579
2ce4f015
JM
1580 * configure.in (arm*-none*): Do not allow without
1581 --enable-hacker-mode.
1582 (netbsd*): Remove case setting base_os.
1583 (386bsd*): Likewise.
1584 (freebsd*): Likewise.
1585 (bsdi*): Likewise.
1586 (osf*): Likewise.
1587 (sunos*): Likewise.
1588 (ultrix*): Likewise.
1589 (newsos*): Likewise.
1590 (dynix*): Likewise.
1591 (*bsd*): Likewise.
1592 (sysv*): Likewise.
1593 (isc*): Likewise.
1594 (esix*): Likewise.
1595 (sco*): Likewise.
1596 (minix*): Likewise.
1597 (irix4*): Likewise.
1598 (irix6*): Likewise.
1599 (solaris[2-9]*): Likewise.
1600 (none): Likewise.
1601 * configure: Regenerated.
1602
0ac229c8
AZ
16032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1604
1605 [BZ #11521]
1606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1607 overflow or cancellation in calculating denominator.
1608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1610 down expression to avoid unexpected rounding in newer GCCs.
1611 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1612
33f244f4
DM
16132012-04-26 David S. Miller <davem@davemloft.net>
1614
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1616 long-double compat symbols.
1617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1630
cfa1f3e8
DM
16312012-04-25 David S. Miller <davem@davemloft.net>
1632
1633 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1634 HWCAP_* values only after the memory barriers have been defined.
1635 (atomic_full_barrier): Define.
1636 (atomic_read_barrier): Define.
1637 (atomic_write_barrier): Define.
1638
6e236b92
SP
16392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1640
1641 * shlib-versions: Add libgcc_s version information.
1642 * sysdeps/generic/libgcc_s.h: Remove.
1643 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1644 libgcc_s.h.
1645 * sysdeps/gnu/unwind-resume.c: Likewise.
1646 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1647
aab39a09
DM
16482012-04-25 David S. Miller <davem@davemloft.net>
1649
1650 * sysdeps/unix/sparc/brk.S: Delete.
1651 * sysdeps/unix/sparc/dl-brk.S: Delete.
1652 * sysdeps/unix/sparc/pipe.S: Delete.
1653 * sysdeps/unix/sparc/sysdep.S: Delete.
1654 * sysdeps/unix/sparc/sysdep.h: Delete.
1655 * sysdeps/unix/sparc/vfork.S: Delete.
1656 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1657 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1659 ret_ERRVAL, r0, r1, MOVE): Define.
1660 (JUMPTARGET): Remove.
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1662 sysdeps/unix/sparc/sysdep.h
1663 (ENTRY, END): Remove.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1665
a3cc4f48
JM
16662012-04-25 Joseph Myers <joseph@codesourcery.com>
1667
2ed8cda2
JM
1668 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1669 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1670 -DIS_IN_build.
1671
35d76d59
JM
1672 * timezone/README: Update upstream location and email address for
1673 tzcode and tzdata.
1674 * timezone/zdump.c: Update from tzcode 2012b.
1675 * timezone/zic.c: Likewise.
1676
a3cc4f48
JM
1677 * configure.in (libc_cv_as_needed): Remove test.
1678 * configure: Regenerated.
1679 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1680 conditional definition.
1681 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1682 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1683 * config.make.in (have-as-needed): Remove variable.
1684
ceab42c3
SP
16852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1686 Paul Pluzhnikov <ppluzhnikov@google.com>
1687
1688 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1689 strings correctly.
1690
3ce2865f
CLT
16912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1692
1693 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1694 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1695 * sysdeps/sh/strlen.S: Likewise.
1696
f37e0d68
JM
16972012-04-24 Joseph Myers <joseph@codesourcery.com>
1698
ae186e9a
JM
1699 * sysdeps/unix/fork.S: Remove file.
1700 * sysdeps/unix/i386/fork.S: Likewise.
1701 * sysdeps/unix/sparc/fork.S: Likewise.
1702
b96914af
JM
1703 * sysdeps/unix/system.c: Remove file.
1704 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1705
f37e0d68
JM
1706 * sysdeps/unix/getegid.S: Remove file.
1707 * sysdeps/unix/geteuid.S: Likewise.
1708
87ef29ca
RM
17092012-04-24 Roland McGrath <roland@hack.frob.com>
1710
83bcd236
RM
1711 * scripts/check-localplt.awk: New file.
1712 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1713 of diff.
1714 * scripts/data/localplt-generic.data: Add a comment.
1715
87ef29ca
RM
1716 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1717 NODE when __dir_mkfile failed.
1718 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1719 Reported by Ludovic Courtès <ludo@gnu.org>.
1720
e5a6e567
AJ
17212012-04-24 Andreas Jaeger <aj@suse.de>
1722
1723 * Makerules (common-clean): Also remove gen-as-const-headers
1724 files.
1725
c1820385
JM
17262012-04-24 Joseph Myers <joseph@codesourcery.com>
1727
1728 * Makerules (native-compile): Do not change working directory for
1729 build. Use $(OUTPUT_OPTION) in command.
1730 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1731
94e02fc4
AZ
17322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1733
1734 [BZ #13886]
1735 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1736 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1737 * math/libm-test.inc (floor_test): Add more tests.
1738 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1739
3a533ca3
JM
17402012-04-24 Joseph Myers <joseph@codesourcery.com>
1741
940ab4b3
JM
1742 * sysdeps/unix/getdents.c: Remove file.
1743 * sysdeps/unix/sysv/getdents.c: Likewise.
1744 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1745
90e037bd
JM
1746 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1747 sysdeps/unix/mman/syscalls.list.
1748 (mmap): Likewise.
1749 (mprotect): Likewise.
1750 (msync): Likewise.
1751 (munmap): Likewise.
1752 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1753 * sysdeps/unix/mman/syscalls.list: Remove.
1754 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1755
3a533ca3
JM
1756 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1757 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1758 * configure: Regenerated.
1759 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1760 $(libgcc_s_suffix).
1761 * config.make.in (libgcc_s_suffix): Remove variable.
1762
1ad743de
JM
17632012-04-23 Joseph Myers <joseph@codesourcery.com>
1764
4ad451e2
JM
1765 * sysdeps/unix/sysv/gethostname.c: Move to ...
1766 * sysdeps/posix/gethostname.c: ... here.
1767
5e37ce39
JM
1768 * sysdeps/unix/execve.S: Remove file.
1769
1ad743de
JM
1770 * sysdeps/unix/_exit.S: Remove file.
1771
4e681b5b
AJ
17722012-04-23 Andreas Jaeger <aj@suse.de>
1773
1774 [BZ #13739]
1775 * manual/Makefile: Remove make dist support, there's no
1776 need for a stand-alone documentation tar ball.
1777 (TEXI2DVI): Define always, it's not in Makeconfig.
1778 (dist): Removed.
1779 (tar-it): Removed.
1780 (edition): Removed.
1781 (glibc-doc-$(edition).tar): Removed
1782 (%.Z): Removed.
1783 (%.gz): Removed.
1784 (%.uu): Removed.
1785 (ETAGS): Remove, it's in Makeconfig.
1786 (move-if-change): Remove, it's in Makeconfig.
1787
c0baea34
PE
17882013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1789
1790 [BZ #13970]
1791 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1792 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1793 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1794 (strtod_l, strtof_l, strtold_l): Remove __wur.
1795 It is not necessarily an error to ignore strtol's return value.
1796 One can reliably look at the stored endptr to decide whether
1797 the number had valid syntax.
1798
7c0616fa
AJ
17992012-04-21 Andreas Jaeger <aj@suse.de>
1800
803cb6b7 1801 [BZ #13739]
7c0616fa
AJ
1802 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1803
b0fe253f
JM
18042012-04-21 Joseph Myers <joseph@codesourcery.com>
1805
1806 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1807 * sysdeps/unix/sysv/Versions: Remove file.
1808
8280f22d
MT
18092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1810
1811 [BZ #13927]
1812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1813
75ce411f 18142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1815
1816 [BZ #7064]
1817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1818 version from __vm86.
1819
097d59fa
JM
18202012-04-20 Joseph Myers <joseph@codesourcery.com>
1821
a90f3bcb
JM
1822 * sysdeps/unix/common/lxstat.c: Remove file.
1823 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1824
edc7ea78
JM
1825 * sysdeps/unix/sysv/Makefile: Remove file.
1826
cb78c221
JM
1827 * sysdeps/unix/sysv/direct.h: Remove file.
1828
efa6a45f
JM
1829 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1830 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1831 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1832 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1833 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1834 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1835 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1836
9c9f2d0c
JM
1837 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1838
4541c83b
JM
1839 * sysdeps/unix/xmknod.c: Remove file.
1840 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1841
f5d153a0
JM
1842 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1843
aa746595
JM
1844 * sysdeps/unix/sysv/i386/time.S: Remove file.
1845
cce5905e
JM
1846 * sysdeps/unix/fxstat.c: Remove file.
1847 * sysdeps/unix/xstat.c: Likewise.
1848 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1849
37fa3841
JM
1850 * sysdeps/unix/sysv/sigaction.c: Remove file.
1851
ff1962a3
JM
1852 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1853 (sysdep_headers): Remove variable.
1854 [termio.h not in sysdep_headers] (generated): Likewise.
1855 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1856 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1857 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1858 * sysdeps/unix/sysv/tcflow.c: Likewise.
1859 * sysdeps/unix/sysv/tcflush.c: Likewise.
1860 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1861 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1862 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1863 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1864 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1865
e7740d31
JM
1866 * sysdeps/unix/siglist.c: Remove file.
1867
ee06f18b
JM
1868 * sysdeps/unix/getppid.S: Remove file.
1869
097d59fa
JM
1870 * sysdeps/unix/mkdir.c: Remove file.
1871 * sysdeps/unix/rmdir.c: Likewise.
1872
ff3d51ec
AS
18732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1874
1875 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1876 ERR_MAX value.
1877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1878 errlist-compat value.
1879
50f81fd7
DM
18802012-04-18 David S. Miller <davem@davemloft.net>
1881
1882 * sysdeps/generic/memcopy.h (reg_char): Delete.
1883 * debug/strcat_chk.c: Use char, not reg_char.
1884 * debug/strcpy_chk.c: Likewise.
1885 * debug/strncat_chk.c: Likewise.
1886 * debug/strncpy_chk.c: Likewise.
1887 * string/memchr.c: Likewise.
1888 * string/memrchr.c: Likewise.
1889 * string/rawmemchr.c: Likewise.
1890 * string/strcat.c: Likewise.
1891 * string/strchr.c: Likewise.
1892 * string/strchrnul.c: Likewise.
1893 * string/strcmp.c: Likewise.
1894 * string/strcpy.c: Likewise.
1895 * string/strncat.c: Likewise.
1896 * string/strncmp.c: Likewise.
1897 * string/strncpy.c: Likewise.
1898
8ff41c46
WS
18992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1900
1901 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1902 __builtin_memcopy is called when src and dest ranges are known to not
1903 overlap.
1904
6b652f46
WS
19052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1906
1907 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1908 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1909 fwd_align_merge macro call.
1910 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1911 bwd_align_merge macro call.
1912 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1913
b282631e
WS
19142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1915
1916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1917 bwd_align_merge macros.
1918 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1919 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1920 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1921
95aa737c
DM
19222012-04-18 David S. Miller <davem@davemloft.net>
1923
1924 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1925
7a99a614
AJ
19262012-04-18 Andreas Jaeger <aj@suse.de>
1927
1928 [BZ# 6794]
1929 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1930 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1932
1933 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1934 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1935 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1936
1937 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1938 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1939 Adjust for changed ldbl-128 files.
1940
1941 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1942 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1943 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1944
e5270c23
DM
19452012-04-17 David S. Miller <davem@davemloft.net>
1946
1947 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1948
fb5e92c9
AS
19492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1950
1951 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1952 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1953 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1954 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1955 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1956 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1957
76da7265
AZ
19582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959
1960 [BZ #6794]
1961 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1962 * math/libm-test.inc: Add ilogb errno and exception tests.
1963 * math/w_ilogb.c: New file: ilogb wrapper.
1964 * math/w_ilogbf.c: New file: ilogbf wrapper.
1965 * math/w_ilogbl.c: New file: ilogbl wrapper.
1966 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1967 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1968 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1969 exception being thrown with 0.0 as argument.
1970 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1971 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1972 exception being thrown with 0.0 as argument.
1973 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1974 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1975 exception being thrown with 0.0 as argument.
1976 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1977 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1978 exception being thrown with 0.0 as argument.
1979 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1980 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1981 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1982 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1983 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1984 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1985 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1986 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1987 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1988
0396e69d
PB
19892012-04-17 Petr Baudis <pasky@ucw.cz>
1990
1991 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1992 with altivec.
1993
750b5926
MP
19942012-04-16 Marek Polacek <polacek@redhat.com>
1995
1996 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1997
751728a1
MP
19982012-04-16 Marek Polacek <polacek@redhat.com>
1999
2000 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2001 operands of fdivp instruction.
2002
34a27407
L
20032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2006 * elf/tst-auditmod3b.c: Likewise.
2007 * elf/tst-auditmod4b.c: Likewise.
2008 * elf/tst-auditmod5b.c: Likewise.
2009 * elf/tst-auditmod6b.c: Likewise.
2010 * elf/tst-auditmod6c.c: Likewise.
2011 * elf/tst-auditmod7b.c: Likewise.
2012 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2013 * sysdeps/x86_64/preconfigure.in: Likewise.
2014 * sysdeps/x86_64/preconfigure: Regenerated.
2015
7e73e17d
L
20162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2019 __ILP32__.
2020
c7a6ab72
AB
20212012-04-13 Antoine Balestrat <merkil33@gmail.com>
2022
2023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2024 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2025
a9e8e0e0
CL
20262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2027
2028 [BZ #13973]
2029 * locale/iso-639.def: Fix gl language name. Spotted by
2030 Yaron Shahrabani.
2031
ec98af7d
RM
20322012-04-12 Roland McGrath <roland@hack.frob.com>
2033
2034 [BZ #2074]
2035 * libio/libio.h (__io_write_fn): Update comment.
2036
247c3ede
PB
20372012-04-12 Petr Baudis <pasky@ucw.cz>
2038
2039 [BZ #2074]
2040 * stdio.texi (Hook Functions): The user provided writer function
2041 is not allowed to return -1.
2042
55939d6d
DM
20432012-04-11 David S. Miller <davem@davemloft.net>
2044
2045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2046
90020f5a
MF
20472012-04-11 Mike Frysinger <vapier@gentoo.org>
2048
2049 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2050 Add a leading slash to rtkaio.
2051
288f9098
JM
20522012-04-11 Jim Meyering <meyering@redhat.com>
2053
90020f5a
MF
2054 [BZ #11959]
2055 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2056 It is not necessarily an error to ignore fwrite's return
2057 value. One can reliably use ferror to test for errors after
2058 the fact.
288f9098 2059
4be2b570
L
20602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 * bits/types.h (__snseconds_t): New type.
2063 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2064
2065 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2067 (__SNSECONDS_T_TYPE): Likewise.
2068 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2069 (__SNSECONDS_T_TYPE): Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2071 (__SNSECONDS_T_TYPE): Likewise.
2072
288f9098 20732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2074
2075 [BZ #2636]
2076 * manual/time.texi (Processor Time): Return type of times is
2077 elapsed real time since an arbitrary point in the past.
2078 (CPU Time): Move CLK_TCK from here...
2079 (Processor Time): ...to here. Correct description.
2080 * manual/conf.texi (Constants for Sysconf): Correct description of
2081 _SC_CLK_TCK.
2082
d7dd4413
DM
20832012-04-10 David S. Miller <davem@davemloft.net>
2084
2085 [BZ #13967]
2086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2087 where the is a gap between DT_REL(A) and DT_JMPREL.
2088
b46068fc
L
20892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2092 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2093 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2094
73d65cc3
SP
20952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2096
2097 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2098 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2099 (dl_main): Handle --inhibit-cache.
2100 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2101 _dl_inhibit_cache.
2102 * elf/dl-load.c (_dl_map_object): Use it.
2103 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2104
bcc8d661
JM
21052012-04-09 Joseph Myers <joseph@codesourcery.com>
2106
8f9a2fae
JM
2107 [BZ #13872]
2108 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2109 (__ieee754_powl): Saturate large exponents rather than testing for
2110 overflow of y*log2(x).
2111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2112 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2113 exceptions.
2114
bcc8d661
JM
2115 [BZ #11521]
2116 * math/s_ctan.c: Include <float.h>.
2117 (__ctan): Avoid internal overflow or cancellation in calculating
2118 denominator.
2119 * math/s_ctanf.c: Likewise.
2120 * math/s_ctanl.c: Likewise.
2121 * math/s_ctanh.c: Likewise.
2122 * math/s_ctanhf.c: Likewise.
2123 * math/s_ctanhl.c: Likewise.
2124 * math/libm-test.inc (ctan_test): Add more tests.
2125 (ctanh_test): Likewise.
2126 * sysdeps/i386/fpu/libm-test-ulps: Update.
2127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2128
823fbbb4
AJ
21292012-04-09 Andreas Jaeger <aj@suse.de>
2130
03879793
AJ
2131 [BZ #6894]
2132 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2133 is an optional BSD extension.
2134
823fbbb4
AJ
2135 [BZ #10254]
2136 * manual/stdio.texi (Opening Streams): Document additional fopen
2137 parameters.
2138
8de131cb
RM
21392012-04-09 Roland McGrath <roland@hack.frob.com>
2140
2141 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2142 %eax without telling the compiler.
2143
c0ed9d7d
CD
21442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2145
2146 [BZ # 13963]
2147 * manual/install.texi: Use sourceware.org.
2148
c483f6b4
JM
21492012-04-09 Joseph Myers <joseph@codesourcery.com>
2150
d7dd9453
JM
2151 [BZ #13873]
2152 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2153 (__ieee754_pow): Generate overflow and underflow using huge*huge
2154 and tiny*tiny rather than just returning constant infinity or zero
2155 for large exponents.
2156 * math/libm-test.inc (pow_test): Require overflow exceptions for
2157 applicable cases of large exponents.
2158
c483f6b4
JM
2159 [BZ #706]
2160 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2161 (__ieee754_pow): Use iterative multiplication algorithm only for
2162 integer exponents with absolute value below 1024. Check for odd
2163 integer exponents when using algorithm for real exponents.
2164 * math/libm-test.inc (pow_test): Add more tests.
2165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2166
d2de7579
JM
21672012-04-08 Joseph Myers <joseph@codesourcery.com>
2168
2169 [BZ #13705]
2170 * math/libm-test.inc (exp_test): Do not allow overflow exception
2171 on underflow test.
2172
f77f1232
AJ
21732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2174
2175 [BZ #13705]
2176 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2177 instead of __kernel_standard_f.
2178
3884932b
MF
21792012-04-08 Mike Frysinger <vapier@gentoo.org>
2180
2181 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2182 * sysdeps/x86_64/memset_chk.S: Likewise.
2183
54472e9c
AJ
21842012-04-08 Andreas Jaeger <aj@suse.de>
2185
6ab0fbfc
AJ
2186 [BZ #10153]
2187 * manual/startup.texi (Environment Access): Describe return value
2188 for putenv and setenv.
2189
61efba8c
AJ
2190 [BZ #6895]
2191 * manual/filesys.texi (Directory Entries): Add description for
2192 DT_LNK.
2193
95c3f29a
AJ
2194 [BZ #6890]
2195 * manual/filesys.texi (Directory Entries): Clarify that it's file
2196 system not operating system in the description of DT_UNKNOWN.
2197
54472e9c
AJ
2198 [BZ #6578]
2199 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2200
624254b1
SC
22012012-04-08 Stephen Compall <s11@member.fsf.org>
2202
2203 [BZ #6649]
2204 * manual/llio.texi (Opening and Closing Files): Add cross
2205 reference to explain mode argument.
2206
1e4920e0
MF
22072012-04-07 Mike Frysinger <vapier@gentoo.org>
2208
2209 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2210 * sysdeps/x86_64/memset_chk.S: Likewise.
2211
5ed848f3
DM
22122012-04-07 David S. Miller <davem@davemloft.net>
2213
2214 * elf/elf.h (R_SPARC_WDISP10): Define.
2215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2216 R_SPARC_SIZE32.
2217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2218 R_SPARC_SIZE64 and R_SPARC_H34.
2219
96154cd8
CD
22202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2221
2222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2223 conditions and remove no longer applicable assertion.
2224
9904dc47
L
22252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 * bits/byteswap.h: Include <features.h>.
2228 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2229 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2230
f8887d0a
L
22312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2232
2233 * bits/byteswap.h (__bswap_16): Removed.
2234 Include <bits/byteswap-16.h> to get __bswap_16.
2235 * sysdeps/i386/bits/byteswap.h: Likewise.
2236 * sysdeps/s390/bits/byteswap.h: Likewise.
2237 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2238 * bits/byteswap-16.h: New file.
2239 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2240 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2241 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2242 * string/Makefile (headers): Add bits/byteswap-16.h.
2243
62470f60
PP
22442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2245
2246 [BZ #13895]
2247 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2248 extra indirection.
2249 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2250 * nss/tst-nss-static.c: New.
2251
4dad7bab
RM
22522012-04-06 Robert Millan <rmh@gnu.org>
2253
2254 [BZ #6486]
2255 * manual/llio.texi (File Position Primitive): lseek
2256 refers to WHENCE when it really means OFFSET.
2257
e9142a17
AJ
22582012-04-06 Andreas Jaeger <aj@suse.de>
2259
2c040eff
AJ
2260 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2261 strncmp declarations.
2262
e9142a17
AJ
2263 * abilist/libc.abilist: Add __poll and __ppoll.
2264
ff9f1c5f
DM
22652012-04-05 David S. Miller <davem@davemloft.net>
2266
dcd2ae90
DM
2267 * scripts/check-local-headers.sh: Accept a host triplet in the
2268 path matched by the exclude regexp.
2269
993eb054
DM
2270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2271 definition.
2272 * sysdeps/powerpc/powerpc32/dl-machine.h
2273 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2274 * sysdeps/s390/s390-32/dl-machine.h
2275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2276 * sysdeps/sparc/sparc32/dl-machine.h
2277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2278 * sysdeps/sparc/sparc64/dl-machine.h
2279 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2280
ff9f1c5f
DM
2281 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2282 lazy binding.
48e2e132 2283 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2284 undefined symbol errors.
2285
48e2e132 2286 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2287 DT_NEEDED entries.
2288
e80d6f94
MM
22892012-04-05 Michael Matz <matz@suse.de>
2290
2291 [BZ #13592]
2292 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2293
349fa79f
AJ
22942012-04-05 Andreas Jaeger <aj@suse.de>
2295
2296 [BZ #13908]
2297 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2298 comment.
2299
f402708f
KK
23002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2301
2302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2303 which ROUND is no valid rounding mode.
2304
2ecccfc9
KK
23052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2306
2307 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2308 read again.
2309 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2310
8a53f50f
KK
23112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2312
2313 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2314 an exception using FPU order intentionally.
2315
23162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2317
2318 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2319 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2320 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2321 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2322
d653abb7
SJ
23232012-04-05 Simon Josefsson <simon@josefsson.org>
2324
2325 [BZ #12340]
2326 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2327 EINVAL when BUFLEN is too smal.
2328
c3b1bf7d
TS
23292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2330
2331 [BZ #13553]
2332 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2333 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2334
b1aa60f3
AJ
23352012-04-03 Andreas Jaeger <aj@suse.de>
2336
c3b1bf7d 2337 [BZ #13938]
67f60a26
AJ
2338 * manual/setjmp.texi (System V contexts): Fix sentence.
2339
b1aa60f3
AJ
2340 [BZ #13926]
2341 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2342 New macro for this case.
2343 [!__GNUC__] (__bswap_64): New inline function for this case.
2344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2345 * bits/byteswap.h: Likewise.
2346 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2347 ull, guard with __GLIBC_HAVE_LONG_LONG.
2348
2349 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2350 __GLIBC_HAVE_LONG_LONG.
2351
2352 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2353 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2354
39c59c35
TMQMF
23552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2356
2357 [BZ #13691]
2358 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2359 inptr and inend, rather than using last_ch.
2360
135ffda8
DM
23612012-04-02 David S. Miller <davem@davemloft.net>
2362
2363 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2364 * stdio-common/printf-parse.h (read_int): Change return type to
2365 'int', return -1 on INT_MAX overflow.
2366 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2367 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2368 overflows INT_MAX. Check for overflow of in-format-string precision
2369 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2370 SIZE_MAX not INT_MAX for integer overflow test.
2371 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2372 skip the construct in the format string but do not record anything.
2373 * stdio-common/bug22.c: Adjust to test both width/prevision
2374 INT_MAX overflow as well as total length INT_MAX overflow. Check
2375 explicitly for proper errno values.
2376
228c019e
TS
23772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2378
302cadd3
TS
2379 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2380 CHAR_MAX.
2381 * string/test-strcmp.c [! WIDE]: Likewise.
2382 * time/tst-mktime2.c: Likewise for INT_MAX.
2383 * string/test-string.h: #include <sys/param.h> for MIN.
2384
228c019e
TS
2385 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2386 * sysdeps/i386/init-first.c (init): Likewise.
2387 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2388 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2389 * sysdeps/sh/init-first.c (init): Likewise.
2390
cfa633f5
UD
23912012-04-01 Ulrich Drepper <drepper@gmail.com>
2392
2393 * po/ru.po: Update from translation team.
d1635ef8 2394 * po/vi.po: Likewise.
cfa633f5 2395
6cd0a5ea
SP
23962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2397
2398 * resolv/nss_dns/dns-host.c: Merge copyright years.
2399
4b43400f
LD
24002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2401
2402 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2403 Optimize memcpy with prefetch if
2404 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2405 src, dst pointers have unequal 16 byte alignments.
2406
48c41d04
SP
24072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2408
2409 [BZ #13928]
2410 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2411 from a CNAME entry and return the minimum ttl for the query.
2412 (gaih_getanswer_slice): Likewise.
2413
b8dc394d
JL
24142012-03-30 Jeff Law <law@redhat.com>
2415
2416 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2417 due to long keys.
2418 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2419 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2420
2f5a5ed0
JL
2421 * resolv/nss_dns/dns-host.c: Update copyright year.
2422
1d39e359
UD
24232012-03-30 Ulrich Drepper <drepper@gmail.com>
2424
c030f70c 2425 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2426 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2427
1d39e359
UD
2428 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2429 comments for sendmmsg.
2430
24312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2432
2433 [BZ #13691]
2434 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2435 with only 1 character between 0x0041 and 0x01b0.
2436 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2437 * wcsmbs/tst-mbsnrtowcs.c: New file.
2438
20fde227
DM
24392012-03-29 David S. Miller <davem@davemloft.net>
2440
2441 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2442 small copies by hand.
2443
984a4237
JL
24442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #13761]
2447 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2448 _nss_compat_initgroups_dyn): Fall back to malloc/free
2449 for large group memberships.
2450
18c9d62b
DM
24512012-03-28 David S. Miller <davem@davemloft.net>
2452
88d85d4f
DM
2453 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2454 that branches into memcpy.
2455 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2458 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2460 bits.
2461 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2462 implementation too.
2463 * sysdeps/sparc/mempcpy.S: New file.
2464
e5aa83e1
DM
2465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2466 the IFUNC routine in the libc case.
2467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2468
88570753
DM
2469 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2470 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2471 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2472 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2473 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2474 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2475 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2476 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2477
249d7567
DM
2478 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2479 loop to 256 bytes instead of 64 bytes and fix test signedness.
2480
18c9d62b
DM
2481 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2482 * sysdeps/sparc/sparc32/Makefile: rather than here...
2483 * sysdeps/sparc/sparc64/Makefile: and here.
2484
05f3d1f6
UD
24852012-03-28 Ulrich Drepper <drepper@gmail.com>
2486
2487 * malloc/mallocbug.c: Avoid warnings about unused variables.
2488
86ae07a8
JL
24892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2490
2491 [BZ #13760]
2492 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2493 in the right place. Discard and retry query if response is
2494 larger than input buffer size.
2495
41bf21a1
JM
24962012-03-28 Joseph Myers <joseph@codesourcery.com>
2497
d6270972
JM
2498 [BZ #369]
2499 [BZ #2678]
2500 [BZ #3866]
2501 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2502 x for large integer exponent.
2503 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2504 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2505 sign of result as needed afterwards.
2506 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2507 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2508 result for underflowing pow the same as for overflow.
2509 (__kernel_standard_l): Handle powl overflow and underflow here
2510 rather than calling __kernel_standard.
2511 * math/libm-test.inc (pow_test): Add more tests.
2512
414fca03 2513 [BZ #3868]
41bf21a1
JM
2514 [BZ #13879]
2515 [BZ #13910]
2516 [BZ #13911]
2517 [BZ #13912]
2518 [BZ #13913]
2519 [BZ #13915]
2520 [BZ #13916]
2521 [BZ #13917]
2522 [BZ #13918]
2523 [BZ #13919]
2524 [BZ #13920]
2525 [BZ #13921]
2526 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2527 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2528 (__kernel_standard_l): New function.
2529 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2530 __kernel_standard.
2531 * math/w_acosl.c (__acosl): Likewise.
2532 * math/w_asinl.c (__asinl): Likewise.
2533 * math/w_atan2l.c (__atan2l): Likewise.
2534 * math/w_atanhl.c (__atanhl): Likewise.
2535 * math/w_coshl.c (__coshl): Likewise.
2536 * math/w_exp10l.c (__exp10l): Likewise.
2537 * math/w_exp2l.c (__exp2l): Likewise.
2538 * math/w_fmodl.c (__fmodl): Likewise.
2539 * math/w_hypotl.c (__hypotl): Likewise.
2540 * math/w_j0l.c (__j0l, __y0l): Likewise.
2541 * math/w_j1l.c (__j1l, __y1l): Likewise.
2542 * math/w_jnl.c (__jnl, __ynl): Likewise.
2543 * math/w_lgammal.c (__lgammal): Likewise.
2544 * math/w_log10l.c (__log10l): Likewise.
2545 * math/w_log2l.c (__log2l): Likewise.
2546 * math/w_logl.c (__logl): Likewise.
2547 * math/w_powl.c (__powl): Likewise.
2548 * math/w_remainderl.c (__remainderl): Likewise.
2549 * math/w_scalbl.c (sysv_scalbl): Likewise.
2550 * math/w_sinhl.c (__sinhl): Likewise.
2551 * math/w_sqrtl.c (__sqrtl): Likewise.
2552 * math/w_tgammal.c (__tgammal): Likewise.
2553 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2554 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2555 * math/libm-test.inc (acos_test): Add more tests.
2556 (acosh_test): Likewise.
2557 (asin_test): Likewise.
2558 (atanh_test): Likewise.
2559 (exp_test): Likewise.
2560 (exp10_test): Likewise.
2561 (exp2_test): Likewise.
2562 (expm1_test): Likewise.
2563 (lgamma_test): Likewise.
2564 (log_test): Likewise.
2565 (log10_test): Likewise.
2566 (log1p_test): Likewise.
2567 (log2_test): Likewise.
2568 (pow_test): Do not allow some spurious overflow exceptions.
2569 (sqrt_test): Add more tests.
2570 (tgamma_test): Likewise.
2571 (y0_test): Likewise.
2572 (y1_test): Likewise.
2573 (yn_test): Likewise.
2574
dd62fda6
AB
25752012-03-27 Anton Blanchard <anton@samba.org>
2576
2577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2578 MAP_HUGETLB.
2579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2580 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2581 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2582
1e3cdfda
AJ
25832012-03-27 David S. Miller <davem@davemloft.net>
2584
b855ab85
DM
2585 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2586
1e3cdfda
AJ
2587 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2588 have-as-vis3 check.
2589
25902012-03-27 Andreas Jaeger <aj@suse.de>
2591
2592 * sysdeps/x86_64/elf/configure.in: Moved to ...
2593 * sysdeps/x86_64/configure.in: ... here.
2594 * sysdeps/x86_64/elf/start.S: Moved to ...
2595 * sysdeps/x86_64/start.S: ... here.
2596 * sysdeps/x86_64/elf/configure: Delete.
2597
2598 * sysdeps/x86_64/configure.in: Merge contents from
2599 sysdeps/i386/configure.in (without i686 check).
2600
2601 * sysdeps/i386/elf/Versions: Merge into ...
2602 * sysdeps/i386/Versions: ... this.
2603 * sysdeps/i386/elf/Versions: Delete file.
2604 * sysdeps/i386/elf/start.S: Moved to ...
2605 * sysdeps/i386/start.S: ...here.
2606 * sysdeps/i386/elf/configure.in: Merge into...
2607 * sysdeps/i386/configure.in: ...here.
2608 * sysdeps/i386/elf/configure.in: Delete file.
2609 * sysdeps/i386/elf/configure: Delete file.
2610
2611 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2612 * debug/backtracesyms.c: ... here.
2613 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2614 * debug/backtracesymsfd.c: ... here.
2615 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2616 * sysdeps/generic/ifunc-sel.h: ... here.
2617
2618 * sysdeps/unix/i386/start.c: Delete file.
2619 * sysdeps/unix/sparc/start.c: Delete file.
2620 * sysdeps/unix/start.c: Delete file.
2621
2622 * sysdeps/sh/elf/configure.in: Moved to ...
2623 * sysdeps/sh/configure.in: ... here.
2624 * sysdeps/sh/elf/start.S: Moved to ...
2625 * sysdeps/sh/start.S: ... here.
2626 * sysdeps/sh/elf/configure: Delete file.
2627
2628 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2629 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2630 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2631 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2632 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2633 * sysdeps/powerpc/powerpc64/start.S: here.
2634 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2635 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2636 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2637 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2638 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2639
2640 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2641 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2642 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2643 * sysdeps/powerpc/powerpc32/start.S: ... here.
2644 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2645 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2646 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2647
2648 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2649 * sysdeps/powerpc/ifunc-sel.h: ... here.
2650 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2651 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2652
2653 * sysdeps/sparc/elf/configure.in: Moved to ...
2654 * sysdeps/sparc/configure.in: ... here.
2655 * sysdeps/sparc/elf/configure: Delete file.
2656 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2657 * sysdeps/sparc/sparc32/start.S: ... here.
2658 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2659 * sysdeps/sparc/sparc64/start.S: ... here.
2660 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2661 * sysdeps/sparc/sparc32/Makefile: ... this.
2662 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2663 * sysdeps/sparc/sparc64/Makefile: ... this.
2664
2665 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2666 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2667 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2668 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2669 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2670 * sysdeps/s390/s390-32/setjmp.S: ... here.
2671 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2672 * sysdeps/s390/s390-32/configure.in: ... here.
2673 * sysdeps/s390/s390-32/elf/configure: Delete file.
2674 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2675 * sysdeps/s390/s390-32/start.S: ... here.
2676
2677 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2678 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2679 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2680 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2681 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2682 * sysdeps/s390/s390-64/setjmp.S: ... here.
2683 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2684 * sysdeps/s390/s390-64/configure.in: ... here
2685 * sysdeps/s390/s390-64/elf/configure: Delete file.
2686 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2687 * sysdeps/s390/s390-64/start.S: ... here.
2688 * sysdeps/s390/s390-64/elf/configure: Delete.
2689
2690 * configure.in: Remove support for elf directories in sysdeps.
2691
2692 * configure: Regenerated.
2693 * sysdeps/i386/configure: Regenerated.
2694 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2695 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2696 * sysdeps/s390/s390-32/configure: Regenerated.
2697 * sysdeps/s390/s390-64/configure: Regenerated.
2698 * sysdeps/sh/configure: Regenerated.
2699 * sysdeps/sparc/configure: Regenerated.
2700 * sysdeps/x86_64/configure: Regenerated.
2701
a3f61311
AS
27022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2703
c876e002
AS
2704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2705
a3f61311
AS
2706 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2707 denormal result into account.
2708
ac4c54f0
RM
27092012-03-25 Roland McGrath <roland@hack.frob.com>
2710
2711 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2712 Reported by Allan McRae <allan@archlinux.org>.
2713
6a9b9c02
JL
27142012-03-23 Jeff Law <law@redhat.com>
2715
2716 * nss/getnssent.c (__nss_getent): Fix typo.
2717
4c42a0c1
DM
27182012-03-23 David S. Miller <davem@davemloft.net>
2719
2720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2721
1532c7ac
L
27222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2725 to pad to uint64_t for each field.
2726 (dl_tls_index): Replace unsigned long with uint64_t.
2727
3ff42526
PP
27282012-03-23 Daniel Jacobowitz <dmj@google.com>
2729 Paul Pluzhnikov <ppluzhnikov@google.com>
2730
2731 [BZ #6528]
2732 * grp/Makefile (otherlibs): Don't set it.
2733 * inet/Makefile (otherlibs): Likewise.
2734 * login/Makefile (otherlibs): Likewise.
2735 * nscd/Makefile (otherlibs): Likewise.
2736 * posix/Makefile (otherlibs): Likewise.
2737 * pwd/Makefile (otherlibs): Likewise.
2738 * rt/Makefile (otherlibs): Likewise.
2739 * sunrpc/Makefile (otherlibs): Likewise.
2740 * nss/Makefile (otherlibs): Likewise.
2741 Add libnss_files to routines and static-only-routines.
2742 ($(objpfx)getent): Remove rule.
2743 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2744 static-only-routines.
2745
7c69cd14
JM
27462012-03-22 Joseph Myers <joseph@codesourcery.com>
2747
2748 [BZ #13892]
2749 * math/s_cexp.c: Include <float.h>.
2750 (__cexp): Handle exp result overflowing not necessarily
2751 overflowing both real and imaginary parts of result.
2752 * math/s_cexpf.c: Likewise.
2753 * math/s_cexpl.c: Likewise.
2754 * math/libm-test.inc (cexp_test): Add more tests.
2755 * sysdeps/i386/fpu/libm-test-ulps: Update.
2756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2757
81b035fe
L
27582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 * include/link.h (ELFW): New macro.
2761 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2762 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2763
1da7940c
L
27642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2767 with uint64_t.
2768
b749dbb9
L
27692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2770
2771 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2772 declaration.
2773 (struct La_x32_retval): Likewise.
2774
2ff87f3f
L
27752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * sysdeps/x86_64/preconfigure.in: New file.
2778 * sysdeps/x86_64/preconfigure: New generated file.
2779
c0df8e69
JM
27802012-03-22 Joseph Myers <joseph@codesourcery.com>
2781
48e44791
JM
2782 [BZ #13824]
2783 * math/e_exp2l.c: Include <float.h>.
2784 (__ieee754_exp2l): Handle overflow and underflow cases
2785 separately. Only pass fractional part of argument to
2786 __ieee754_expl.
2787 * math/libm-test.inc (exp2_test): Add more tests.
2788
c0df8e69
JM
2789 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2790 negating x to take absolute value.
2791 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2792 Likewise.
2793 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2794 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2795 Likewise.
2796 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2797 computing low part if x was negated.
2798 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2799
c8e43ba7
L
28002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2803 la_x32_gnu_pltexit.
2804 (pltexit): Cast int_retval to ptrdiff_t.
2805 * elf/tst-auditmod3b.c: Likewise.
2806 * elf/tst-auditmod4b.c: Likewise.
2807 * elf/tst-auditmod5b.c: Likewise.
2808 * elf/tst-auditmod6b.c: Likewise.
2809 * elf/tst-auditmod6c.c: Likewise.
2810 * elf/tst-auditmod7b.c: Likewise.
2811
2812 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2813 and x32_gnu_pltexit.
2814
2815 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2816 __ELF_NATIVE_CLASS.
2817 (La_x32_regs): New macro.
2818 (La_x32_retval): Likewise.
2819 (la_x32_gnu_pltenter): New function prototype.
2820 (la_x32_gnu_pltexit): Likewise.
2821
7998fa78
AS
28222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2823
dcb33988
AS
2824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2825 exponent.
2826
233fc563
AS
2827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2828
7998fa78
AS
2829 * configure.in (libc_cv_cc_nofma): Check for option to disable
2830 generation of FMA instructions.
2831 * configure: Regenerate.
2832 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2833 * sysdeps/ieee754/dbl-64/Makefile: New file.
2834 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2835 Remove brandred-fma4.
2836 (CFLAGS-brandred-fma4.c): Remove.
2837 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2838 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2839 define.
2840 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2841 define.
2842
8e95c99a
L
28432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2844
2845 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2846 LLONG_MAX != LONG_MAX.
2847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2848 (_fitoa_word): Likewise.
2849 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2850 LLONG_MAX != LONG_MAX.
2851 * stdio-common/_itowa.h: Include <_itoa.h>.
2852 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2853 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2854 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2855 only if not defined.
2856 (_ITOA_WORD_TYPE): Likewise.
2857 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2858 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2859
6f4db457
DM
28602012-03-21 David S. Miller <davem@davemloft.net>
2861
2862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2863
7785fe5a
L
28642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2865
2866 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2867 of x86_64 when setting libc_cv_slibdir, libdir and
2868 libc_cv_localedir.
2869 * sysdeps/unix/sysv/linux/configure: Regenerated.
2870
4535cd55
JM
28712012-03-21 Joseph Myers <joseph@codesourcery.com>
2872
2873 * manual/lang.texi (Old Varargs): Remove section.
2874 (How Variadic): Update menu.
2875 (va_start): Do not mention varargs.h.
2876
17228132
TS
28772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2878 Joseph Myers <joseph@codesourcery.com>
2879
2880 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2881 link test.
2882 * configure: Regenerated.
2883
8149f976
TS
28842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2885
05f3d1f6
UD
2886 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2887 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2888 conformtest.pl
8149f976 2889
1a4ac776
JM
28902012-03-21 Joseph Myers <joseph@codesourcery.com>
2891
be22ce65
JM
2892 * NOTES: Remove.
2893 * Makefile (files-for-dist): Remove NOTES.
2894 (NOTES): Remove rule.
2895 * README: Don't refer to NOTES.
2896 * manual/creature.texi: Don't include macros.texi.
2897 * manual/intro.texi (creature.texi): Remove comment referring to
2898 NOTES.
2899
40b601fb
JM
2900 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2901 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2902 * configure: Regenerated.
2903 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2904 LIBC_TRY_CC_OPTION.
2905 (libc_cv_as_i686): Likewise.
2906 (libc_cv_cc_avx): Likewise.
2907 (libc_cv_cc_sse2avx): Likewise.
2908 (libc_cv_cc_fma4): Likewise.
2909 (libc_cv_cc_novzeroupper): Likewise.
2910 * sysdeps/i386/configure: Regenerated.
2911
1a4ac776
JM
2912 [BZ #13883]
2913 * sysdeps/i386/fpu/s_cexp.S: Remove.
2914 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2915 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2916 * math/libm-test.inc (cexp_test): Add more tests.
2917 * sysdeps/i386/fpu/libm-test-ulps: Update.
2918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919
a458e7fe
AM
29202012-03-21 Allan McRae <allan@archlinux.org>
2921
2922 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2923
0cb7efc5
JM
29242012-03-21 Joseph Myers <joseph@codesourcery.com>
2925
2926 [BZ #13871]
2927 * math/w_exp2.c: Do not include <float.h>.
2928 (o_threshold, u_threshold): Remove.
2929 (__exp2): Calculate result before checking finiteness and calling
2930 __kernel_standard.
2931 * math/w_exp2f.c: Likewise.
2932 * math/w_exp2l.c: Likewise.
2933 * math/libm-test.inc (exp2_test): Require overflow exception for
2934 1e6 input.
2460d3aa
JM
2935
2936 [BZ #3866]
2937 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2938 range of signed 64-bit integers before using fistpll. Remove
2939 checks for whether integers fit in mantissa bits.
2940 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2941 the range of signed 32-bit integers before using fistpl. Remove
2942 checks for whether integers fit in mantissa bits.
2943 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2944 (__ieee754_powl): Test for y outside the range of signed 64-bit
2945 integers before using fistpll. Reduce 64-bit values to 63-bit
2946 ones as needed.
2947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2948 divide-by-zero is raised for zero to large negative powers.
2949 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2950 (__ieee754_powl): Test for y outside the range of signed 64-bit
2951 integers before using fistpll. Reduce 64-bit values to 63-bit
2952 ones as needed.
2953 * math/libm-test.inc (pow_test): Add more tests.
2954
eb96ffb0
L
29552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2958 <stdio-common/_itoa.h>.
2959 * debug/segfault.c: Likewise.
2960 * elf/dl-cache.c: Likewise.
2961 * elf/dl-minimal.c: Likewise.
2962 * elf/dl-misc.c: Likewise.
2963 * elf/dl-sysdep.c: Likewise.
2964 * elf/dl-version.c: Likewise.
2965 * elf/rtld.c: Likewise.
2966 * hurd/hurdsock.c: Likewise.
2967 * hurd/lookup-retry.c: Likewise.
2968 * malloc/malloc.c: Likewise.
2969 * malloc/mtrace.c: Likewise.
2970 * nscd/nscd_getgr_r.c: Likewise.
2971 * nscd/nscd_getpw_r.c: Likewise.
2972 * nscd/nscd_getserv_r.c: Likewise.
2973 * posix/getopt_init.c: Likewise.
2974 * posix/wordexp.c: Likewise.
2975 * stdio-common/_itoa.c: Likewise.
2976 * stdio-common/printf_fphex.c: Likewise.
2977 * stdio-common/vfprintf.c: Likewise.
2978 * string/_strerror.c: Likewise.
2979 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2980 * sysdeps/i386/i686/hp-timing.h: Likewise.
2981 * sysdeps/mach/_strerror.c: Likewise.
2982 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2983 * sysdeps/mach/hurd/sethostid.c: Likewise.
2984 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2985 * sysdeps/mach/xpg-strerror.c: Likewise.
2986 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2988 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2989 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2990 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2991 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2992 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2993 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2994 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2995 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2996 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2997 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2998 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2999 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3000 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3001 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3002 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3004 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3005 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3006 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3007
3008 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3009
3010 * stdio-common/_itoa.h: Moved to ...
3011 * sysdeps/generic/_itoa.h: Here.
3012
3013 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3014
3015 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3016 instead of "_itoa.h" and "_itowa.h".
3017 * stdio-common/vfprintf.: Likewise.
3018
d1af992d
L
30192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3020
3021 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3022 <bits/wordsize.h>.
3023 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3024 (__signbit): Likwise.
3025 (llrintf): Likwise.
3026 (llrint): Likwise.
3027
114883e0
L
30282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3029
3030 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3031 __WORDSIZE != 64.
3032
c135cc1b
JM
30332012-03-20 Joseph Myers <joseph@codesourcery.com>
3034
3035 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3036 OVERFLOW_EXCEPTION_OK.
3037 * math/libm-test.inc ("Philosophy"): Update comment about
3038 exception testing.
3039 (OVERFLOW_EXCEPTION): Define.
3040 (OVERFLOW_EXCEPTION_OK): Likewise.
3041 (INVALID_EXCEPTION_OK): Renumber.
3042 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3043 (IGNORE_ZERO_INF_SIGN): Likewise.
3044 (test_exceptions): Handle FE_OVERFLOW.
3045 (exp10_test): Expect overflow exceptions.
3046 (exp2_test): Likewise.
3047 (expm1_test): Likewise.
3048 (nextafter_test): Likewise.
3049 (pow_test): Likewise.
3050 (scalbn_test): Likewise.
3051 (scalbln_test): Likewise.
3052
95443d88
L
30532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 * sysdeps/x86_64/bits/atomic.h
3056 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3057 64bit integer.
3058 (atomic_exchange_acq): Likewise.
3059 (__arch_exchange_and_add_body): Likewise.
3060 (__arch_add_body): Likewise.
3061 (atomic_add_negative): Likewise.
3062 (atomic_add_zero): Likewise.
3063
490df6c4
L
30642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3065
c2722551 3066 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3067 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3068
5e52b189
L
30692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3072 Check __x86_64__ instead of __WORDSIZE.
3073
a9879d4c
L
30742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3075
3076 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3077
5df98260
DM
30782012-03-19 David S. Miller <davem@davemloft.net>
3079
e1497744
DM
3080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3081
5df98260
DM
3082 * sysdeps/sparc/fpu/fenv_private.h: New file.
3083 * sysdeps/sparc/fpu/math_private.h: Use it.
3084 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3085 Remove.
3086 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3087 (libc_feholdexcept_setroundl): Remove.
3088 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3089 Remove.
3090 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3091 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3092
b4c35121
L
30932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3094
3095 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3096 int64_t instead of long int.
3097 (INSERT_WORDS64): Likwise.
3098
56965fd7
L
30992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3102 _Unwind_GetCFA return to _Unwind_Ptr first.
3103
83d1aec8
JM
31042012-03-19 Joseph Myers <joseph@codesourcery.com>
3105
1897ad44
JM
3106 [BZ #13629]
3107 * math/s_clog.c: Include <float.h>.
3108 (__clog): Scale large or subnormal inputs.
3109 * math/s_clogf.c: Likewise.
3110 * math/s_clogl.c: Likewise.
3111 * math/s_clog10.c: Include <float.h>.
3112 (M_LOG10_2): Define.
3113 (__clog10): Scale large or subnormal inputs.
3114 * math/s_clog10f.c: Likewise.
3115 * math/s_clog10l.c: Likewise.
3116 * math/libm-test.inc (clog_test): Add more tests.
3117 (clog10_test): Likewise.
3118 * sysdeps/i386/fpu/libm-test-ulps: Update.
3119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120
7726d6a9
JM
3121 [BZ #11451]
3122 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3123 x and y.
3124 * math/libm-test.inc (atan2_test): Add another test.
3125
83d1aec8
JM
3126 * Makerules (common-objdir-compile): Remove.
3127 * sysdeps/unix/Makefile (config-generated): Do not add
3128 $(unix-generated) to variable.
3129 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3130 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3131 Remove rule.
3132 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3133 Likewise.
3134 [generic bits/local_lim.h] (before-compile): Do not append to
3135 variable.
3136 [generic bits/local_lim.h] (common-generated): Likewise.
3137 [generic sys/param.h] (before-compile): Do not append to variable.
3138 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3139 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3140 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3141 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3142 include.
3143 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3144 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3145 [generic sys/param.h] ($(addprefix
3146 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3147 [generic sys/param.h] (common-generated): Do not append to
3148 variable.
3149 [generic sys/param.h] (sysdep_headers): Likewise.
3150 [generic bits/errno.h] (before-compile): Do not append to
3151 variable.
3152 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3153 rule.
3154 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3155 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3156 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3157 [generic bits/errno.h] (common-generated): Do not append to
3158 variable.
3159 [generic bits/ioctls.h] (before-compile): Do not append to
3160 variable.
3161 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3162 rule.
3163 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3164 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3165 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3166 rule.
3167 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3168 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3169 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3170 [generic bits/ioctls.h] (common-generated): Do not append to
3171 variable.
3172 [generic sys/syscall.h] (syscall.h): Remove variable.
3173 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3174 rule.
3175 [generic sys/syscall.h] (before-compile): Do not append to
3176 variable.
3177 [generic sys/syscall.h] (common-generated): Likewise.
3178 * sysdeps/unix/errnos-tmpl.c: Remove file.
3179 * sysdeps/unix/errnos.awk: Likewise.
3180 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3181 * sysdeps/unix/ioctls.awk: Likewise.
3182 * sysdeps/unix/mk-local_lim.c: Likewise.
3183 * sysdeps/unix/snarf-ioctls: Likewise.
3184
4851a949
RH
31852012-03-19 Richard Henderson <rth@twiddle.net>
3186
bd37f2ee
RH
3187 * sysdeps/i386/fpu/fenv_private.h: New file.
3188 * sysdeps/i386/fpu/math_private.h: Use it.
3189 (math_opt_barrier, math_force_eval): Remove.
3190 (libc_feholdexcept_setround_53bit): Remove.
3191 (libc_feupdateenv_53bit): Remove.
3192 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3193 (math_opt_barrier, math_force_eval): Remove.
3194 (libc_feholdexcept): Remove.
3195 (libc_feholdexcept_setround): Remove.
3196 (libc_fetestexcept, libc_fesetenv): Remove.
3197 (libc_feupdateenv_test): Remove.
3198 (libc_feupdateenv, libc_feholdsetround): Remove.
3199 (libc_feresetround): Remove.
3200
d0adc922
RH
3201 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3202 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3203
0fe0f1f8
RH
3204 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3205 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3206 (libc_feupdateenv_testl): New.
3207 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3208 (libc_feupdateenv_testf): New.
3209 (libc_feupdateenv): Use libc_feupdateenv_test.
3210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3211 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3212
eb92c487
RH
3213 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3214 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3215 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3216 (libc_feresetround_noex): New.
3217 (libc_feresetround_noexf): New.
3218 (libc_feresetround_noexl): New.
3219 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3220 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3221 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3222 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3223 SET_RESTORE_ROUND.
3224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3226 (__cos): Likewise.
3227 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3228 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3229 SET_RESTORE_ROUND_NOEX.
3230 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3231 SET_RESTORE_ROUND_NOEXF.
3232 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3233 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3234 (libc_feholdsetroundf): New.
3235 (libc_feresetround, libc_feresetroundf): New.
3236
7d2e8012
RH
3237 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3238 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3239 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3240
b4dabbb4
RH
3241 * sysdeps/generic/math_private.h: Include <fenv.h>.
3242 (default_libc_feholdexcept): New.
3243 (default_libc_feholdexcept_setround): New.
3244 (default_libc_fesetenv, default_libc_feupdateenv): New.
3245 (libc_feholdexcept): Only define if undefined.
3246 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3247 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3248 (libc_feholdexcept_setroundl): Likewise.
3249 (libc_feholdexcept_setround_53bit): Likewise.
3250 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3251 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3252 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3253 (libc_feupdateenv_53bit): Likewise.
3254 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3255 (libc_feholdexcept): Convert from macro to inline function.
3256 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3257 (libc_fesetenv, libc_feupdateenv): Likewise.
3258
4851a949
RH
3259 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3260 not previously defined.
3261 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3262 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3263 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3264 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3265 * sysdeps/ieee754/flt-32/math_private.h: New file.
3266 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3267 math_private.h below SET_FLOAT_WORD.
3268 (__isnan, __isinf_ns, __finite): Remove.
3269 (__isnanf, __isinf_nsf, __finitef): Remove.
3270
e79d442e
AS
32712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3272
3273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3274
90b80344
DM
32752012-03-17 David S. Miller <davem@davemloft.net>
3276
3277 [BZ #6471]
3278 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3279 for 2.16.
3280
edc21804
DM
32812012-03-16 David S. Miller <davem@davemloft.net>
3282
77e927af
DM
3283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3284 warnings.
3285
374976dd
DM
3286 [BZ #6471]
3287 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3288 properly.
3289 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3290 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3291 sysdep_routines when subdir is sysvipc.
3292 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3293 __getshmlba helper.
3294
edc21804
DM
3295 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3296
473c3ef3
L
32972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3298
3299 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3300 [__LP64__].
3301
eb0f39b6
L
33022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3303
3304 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3305 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3306 (__lround): Renamed to ...
3307 (__llround): This. Replace long int with long long int.
3308 Define lround functions as aliases of llround functions.
3309 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3310
6b6cd74b
L
33112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3314 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3315 adresses to uintptr_t. Replace "long int" and "unsigned long
3316 int" with "greg_t" on va_arg.
3317
f1a77b01
L
33182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3319
3320 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3321 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3322
3323 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3324 Move e_machine check before EI_CLASS check. Handle x32
3325 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3326 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3327 SKIP_EM_IA_64 and include
3328 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3329
3330 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3331 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3332 (add_system_dir): New macro.
3333
3334 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3335 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3336
11b90b9f
JM
33372012-03-16 Joseph Myers <joseph@codesourcery.com>
3338
c36e1d23
JM
3339 [BZ #2551]
3340 [BZ #2552]
3341 [BZ #2553]
3342 [BZ #2554]
3343 [BZ #2562]
3344 [BZ #2563]
3345 [BZ #2565]
3346 [BZ #2566]
3347 [BZ #2576]
3348 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3349 (y0): Likewise.
3350 * math/w_j0f.c (j0f): Likewise.
3351 (y0f): Likewise.
3352 * math/w_j0l.c (__j0l): Likewise.
3353 (__y0l): Likewise.
3354 * math/w_j1.c (j1): Likewise.
3355 (y1): Likewise.
3356 * math/w_j1f.c (j1f): Likewise.
3357 (y1f): Likewise.
3358 * math/w_j1l.c (__j1l): Likewise.
3359 (__y1l): Likewise.
3360 * math/w_jn.c (jn): Likewise.
3361 (yn): Likewise.
3362 * math/w_jnf.c (jnf): Likewise.
3363 (ynf): Likewise.
3364 * math/w_jnl.c (__jnl): Likewise.
3365 (__ynl): Likewise.
3366 * math/libm-test.inc (j0_test): Add more tests.
3367 (j1_test): Likewise.
3368 (jn_test): Likewise. Add trailing semicolon to existing test.
3369 (y0_test): Likewise.
3370 (y1_test): Likewise.
3371 * sysdeps/i386/fpu/libm-test-ulps: Update.
3372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3373
11b90b9f
JM
3374 [BZ #13851]
3375 [BZ #13854]
3376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3377 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3378 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3380 (__tanl): Set errno for infinite argument.
3381 * sysdeps/i386/fpu/mptan.c: Remove.
3382 * sysdeps/i386/fpu/s_tan.S: Likewise.
3383 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3384 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3385 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3386 * math/libm-test.inc (tan_test): Add more tests and enable more
3387 tests for double and long double.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390
6a1bd2a1
JK
33912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3394 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3395
10a803e0
RM
33962012-03-16 Roland McGrath <roland@hack.frob.com>
3397
3398 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3399 * configure.in: Use it for both main tree and add-ons.
3400 * configure: Regenerated.
3401
f196c7f7
L
34022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3405
8848d99d
JM
34062012-03-16 Joseph Myers <joseph@codesourcery.com>
3407
96cbe7f4
JM
3408 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3409 in comment.
3410
8848d99d
JM
3411 [BZ #13851]
3412 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3413 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3417 infinite argument.
3418 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3420 != 0 for prec == 2.
3421 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3422 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3423 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3424 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3425 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3426 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3427 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3428 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3429 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3430 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3431 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3432 * math/libm-test.inc (cos_test): Add more tests and enable more
3433 tests for long double.
3434 (sin_test): Likewise.
3435 (sincos_test): Likewise.
3436 * sysdeps/i386/fpu/libm-test-ulps: Update.
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3438
dd7f4703
DM
34392012-03-16 David S. Miller <davem@davemloft.net>
3440
3441 * sysdeps/sparc/fpu/math_private.h: New file.
3442
006f1daa
DM
34432012-03-15 David S. Miller <davem@davemloft.net>
3444
c0c83bc8
DM
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3446 file.
e6a62e18 3447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3449 file.
e6a62e18
DM
3450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3456 sysdep routines.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3458
88cb87d9
DM
3459 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3460 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3461
006f1daa 3462 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3464 sparc-ifunc.h
006f1daa 3465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3467 Likewise.
3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3469 Likewise.
006f1daa
DM
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3474 Likewise.
006f1daa
DM
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3480 Likewise.
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3482 Likewise.
006f1daa
DM
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3503 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3507
11e0098e
AS
35082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3509
3510 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3511 scaling.
3512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3513
e85b09d0
AJ
35142012-03-15 Andreas Jaeger <aj@suse.de>
3515
3516 [BZ #13852]
3517 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3518 ieee754/flt-32 implementation for sin, cos and sincos.
3519 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3520 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3521 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3522 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3523 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3524 ieee754/flt-32 implementation for tan.
3525
3526 * math/libm-test.inc (cos_test): Enable some large input tests for
3527 float as well
3528 (sin_test): Likewise.
3529 (sincos_test): Likewise.
3530 (tan_test): Add tests for large input.
3531
3532 * sysdeps/i386/fpu/libm-test-ulps: Update.
3533
81c64153
AJ
35342012-03-15 Andreas Jaeger <aj@suse.de>
3535
3536 [BZ #13658]
3537 * math/libm-test.inc (cos_test): Add more test cases.
3538 (sin_test): Likewise.
3539 (sincos_test): Likewise.
3540
7bbfa5c6
AJ
35412012-03-15 Andreas Jaeger <aj@suse.de>
3542
3543 [BZ #13837]
3544 * math/libm-test.inc (cos_test): Add a test case for large input
3545 value.
3546 (sin_test): Likewise.
3547 (sincos_test): Likewise.
3548
35492012-03-15 Andreas Jaeger <aj@suse.de>,
3550 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #13658]
0671f479 3553 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3554 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3555 * sysdeps/i386/fpu/branred.c: Likewise.
3556 * sysdeps/i386/fpu/dosincos.c: Likewise.
3557 * sysdeps/i386/fpu/mpa.c: Likewise.
3558 * sysdeps/i386/fpu/s_cos.S: Likewise.
3559 * sysdeps/i386/fpu/s_sin.S: Likewise.
3560 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3561 * sysdeps/i386/fpu/sincos32.c: Likewise.
3562
3563 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3564 Define.
3565 (libc_feupdateenv_53bit): Define.
3566 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3567 Define.
3568 (libc_feupdateenv_53bit): Define.
3569
3570 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3571 53 bit (without extend i386 double precision).
3572
3573 * math/libm-test.inc (sincos_test): Add tests for large input.
3574 (sin): Likewise.
3575 (cos): Likewise.
3576
3577 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3578
9cad04ea
AS
35792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3580
3581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3582
f7062b9a
DM
35832012-03-15 David S. Miller <davem@davemloft.net>
3584
3585 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3586 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3587 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3588 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3601 file.
f7062b9a 3602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3604 file.
f7062b9a 3605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3607 file.
f7062b9a 3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3610 file.
f7062b9a
DM
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3613 fmin/fmax sysdep routines.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3615
7bd951ff
DM
36162012-03-14 David S. Miller <davem@davemloft.net>
3617
559398ab
DM
3618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3646 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3647 routines.
3648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3649 file.
559398ab 3650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3652 file.
559398ab 3653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3655 file.
559398ab 3656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3658 file.
559398ab 3659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3661 file.
559398ab 3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3664 file.
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3666 file.
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3668 file.
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3670 file.
3671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3672 New file.
3673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3674 file.
3675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3676 file.
559398ab 3677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3679 file.
559398ab 3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3682 file.
559398ab 3683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3685 file.
559398ab 3686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3688 VIS3 routines.
559398ab
DM
3689
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3691 New file.
3692
5a1c1e32
DM
3693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3694
eae47a36
DM
3695 * sysdeps/sparc/configure.in: New file.
3696 * sysdeps/sparc/configure: Generate.
3697 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3698 * configure: Regenerate.
3699 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3700 * config.make.in (have-as-vis3): New.
3701 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3702 available use -Av9d instead of -Av9a.
3703 * sysdeps/sparc/sparc64/Makefile: Likewise.
3704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3706 New file.
3707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3708 file.
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3710 New file.
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3712 file.
eae47a36
DM
3713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3718
c0c83bc8
DM
3719 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3720 fzeros/fnegs to load 0x80000000 into a float register instead of
3721 using the stack.
7bd951ff
DM
3722 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3723
bd951ccb
JM
37242012-03-14 Joseph Myers <joseph@codesourcery.com>
3725
3726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3727 bits/syscall.h.
3728 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3729 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3730 ($(inst_includedir)/bits/syscall.h): Remove rule.
3731 ($(objpfx)bits/syscall.d): Include instead of
3732 $(objpfx)syscall-list.d.
3733 (generated): Change syscall-list.h and syscall-list.d to
3734 bits/syscall.h and bits/syscall.d.
3735
bb4e6db2
RM
37362012-03-14 Roland McGrath <roland@hack.frob.com>
3737
3738 [BZ #13846]
3739 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3740
aa4a2ae1
JM
37412012-03-14 Joseph Myers <joseph@codesourcery.com>
3742
e456826d
JM
3743 [BZ #13841]
3744 * math/s_csqrt.c: Include <float.h>.
3745 (__csqrt): Scale large or subnormal inputs.
3746 * math/s_csqrtf.c: Likewise.
3747 * math/s_csqrtl.c: Likewise.
3748 * math/libm-test.inc (csqrt_test): Add more tests.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751
aa4a2ae1
JM
3752 [BZ #13840]
3753 * math/libm-test.inc (hypot_test): Add more tests.
3754
7c10fd35
DM
37552012-03-13 David S. Miller <davem@davemloft.net>
3756
3757 [BZ #13840]
3758 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3759 double-precision for the calculation instead of scaling.
3760
f453b98b
JM
37612012-03-13 Joseph Myers <joseph@codesourcery.com>
3762
3763 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3764 manipulate bits before adding and subtracting TWO52[sx].
3765 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3767 Likewise.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3769
09a3453f
DM
37702012-03-13 David S. Miller <davem@davemloft.net>
3771
8e59da90
DM
3772 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3773 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3775 rtld-global-offsets.h
3776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3777
2a8ab7f2
DM
3778 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3779 large parameters.
3780
10f62770
DM
3781 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3782
5f0bdb18
DM
3783 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3784 'err' in the ifdef scope in which it is actually used.
3785
09a3453f
DM
3786 * nss/nss_db/db-init.c: Include string.h
3787
b4b2eb5e
DM
37882012-03-12 David S. Miller <davem@davemloft.net>
3789
98bb2f1c
DM
3790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3791 masking out of the most significant byte of random value used.
3792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3793 Fix coding style in previous change.
3794
b4b2eb5e
DM
3795 * sysdeps/unix/sysv/linux/kernel-features.h
3796 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3797 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3798 expression.
3799 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3800 later.
3801
6e226b09
DM
38022012-03-11 David S. Miller <davem@davemloft.net>
3803
a1bcbd40
DM
3804 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3805 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3807 for 'resultvar' otherwise things get truncated on 64-bit.
3808
cb9d6174
DM
3809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3810 Fix masking out of the most significant byte of random value used.
3811
6e226b09
DM
3812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3813
058c132d
AS
38142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3815
3816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3817
2d2cd515
DM
38182012-03-09 David S. Miller <davem@davemloft.net>
3819
3820 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3821 variables with appropriate CPP guards.
3822 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3823 frame pointer, not the stack pointer. Correct layout comments. Fix test
3824 on resulting framesize and the management of the outregs buffer for pltexit.
3825 Preserve floating point return values across _dl_call_pltexit call.
3826 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3827 framesize and the management of the outregs buffer for pltexit.
3828 Preserve floating point return values across _dl_call_pltexit
3829 call.
3830 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3831 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3832 (print_exit): Fix format string for return register value.
3833
9a07f9d0
JM
38342012-03-10 Joseph Myers <joseph@codesourcery.com>
3835
3836 * sunrpc/Makefile (others): Add rpcgen.
3837 ($(objpfx)rpcgen): Remove special build rule and dependency on
3838 libc.
3839 * sunrpc/rpcgen.c: New file.
3840
547b5e30
PE
38412012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3842
c524201a
PE
3843 [BZ #13673]
3844 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3845 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3846 * sysdeps/i386/crti.S: Likewise.
3847 * sysdeps/i386/crtn.S: Likewise.
3848 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3849 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3850 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3851 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3852 * sysdeps/sh/crti.S: Likewise.
3853 * sysdeps/sh/crtn.S: Likewise.
3854 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3855
7b6235f2
PE
3856 [BZ #13673]
3857 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3858 with URL.
3859 * locale/programs/locfile-kw.gperf: Likewise.
3860 * locale/programs/charmap-kw.h: Regenerated.
3861 * locale/programs/locfile-kw.h: Likewise.
3862
547b5e30
PE
3863 [BZ #13673]
3864 * intl/plural.y: Replace FSF snail mail address with URL.
3865 * intl/plural.c: Regenerated.
3866
5f0a5dae
RH
38672012-03-09 Richard Henderson <rth@twiddle.net>
3868
3869 * include/math_private.h: Remove file.
3870 * math/math_private.h: Move file ...
3871 * sysdeps/generic/math_private.h: ... here.
3872
b8c03620
RH
3873 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3874 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3875 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3876
4e234f5d 3877 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3878 and <math_private.h>.
3879 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3880 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3881 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3882 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3883 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3913 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3914 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3967 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3968 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3969 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3970 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3972 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3973 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3974 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3975 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3976 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3977 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3979 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3980 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3981 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3982 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3983 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3984 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3985 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3986 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3991 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3992 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3993 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3994 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3995 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3996 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3998 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3999 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4001 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4002 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4003 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4004 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4005 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4006 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4007 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4008 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4009 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4010 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4013 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4014 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4015 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4017 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4018 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4021 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4023 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4024 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4026 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4028 * sysdeps/ieee754/k_standard.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4144 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4189 * sysdeps/ieee754/s_lib_version.c: Likewise.
4190 * sysdeps/ieee754/s_matherr.c: Likewise.
4191 * sysdeps/ieee754/s_signgam.c: Likewise.
4192 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4193 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4194 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4195 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4196 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4197 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4198 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4199 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4200 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4201 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4202 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4203 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4204 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4205 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4206 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4207 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4208 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4209 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4210 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4213
1991fa03
JM
42142012-03-09 Joseph Myers <joseph@codesourcery.com>
4215
4216 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4217 * sunrpc/rpc_main.c: Likewise.
4218 * sunrpc/rpc_svcout.c: Likewise.
4219
60d6f5a6
DM
42202012-03-09 David S. Miller <davem@davemloft.net>
4221
4222 * include/math_private.h: New file.
4223
4962050e
JM
42242012-03-09 Joseph Myers <joseph@codesourcery.com>
4225
02a6f887
JM
4226 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4227 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4228 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4229 from <bits/socket_type.h>.
4230 (enum __socket_type): Don't define here.
4231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4233 bits/socket_type.h.
4234
c6e013c1
JM
4235 [BZ #13566]
4236 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4237 checking __USE_GNU.
4238
4962050e
JM
4239 * Makerules ($(inst_includedir)/%.h): New rule.
4240 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4241 (install-others): Remove variable setting.
4242 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4243
38842f45
RH
42442012-03-08 Richard Henderson <rth@twiddle.net>
4245
67bb6da6
RH
4246 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4247 from macro to inline function; merge with the
4248 !__LIBC_INTERNAL_MATH_INLINES version.
4249 (__ieee754_sqrtf): Likewise.
4250
15194b4b
RH
4251 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4252 to inline function.
4253 (__rintf, __floor, __floorf): Likewise.
4254
64e21ede
RH
4255 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4256 macro to inline function.
4257 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4258
38842f45
RH
4259 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4260 not <math/math_private.h>.
4261
c64bf5fe
DM
42622012-03-08 David S. Miller <davem@davemloft.net>
4263
4264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4265 copyright year.
4266 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4267
82d86f28
TS
42682012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4269
4270 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4271 normalization.
4272 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4273 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4274
aea5d727
UD
42752012-03-08 Ulrich Drepper <drepper@gmail.com>
4276
4277 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4278 be defined individually, they must be defined as a block. Define
4279 S for printing a string instead of hidint the different by using a
4280 macro for adding the 'l'.
4281 * stdio-common/tst-fphex-wide.c: Adjust.
4282
70bca0a3
MP
42832012-03-07 Marek Polacek <polacek@redhat.com>
4284
4285 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4286
65b81130
MP
42872012-03-08 Marek Polacek <polacek@redhat.com>
4288
4289 [BZ #13806]
4290 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4291 * stdio-common/tst-fphex.c: Define a few macros to make the
4292 test reusable. Use them.
4293 * stdio-common/tst-fphex-wide.c: New file.
4294
07037eeb
JM
42952012-03-08 Joseph Myers <joseph@codesourcery.com>
4296
a7a93d50
JM
4297 [BZ #6911]
4298 * manual/macros.texi (gnusystems): New macro.
4299 (nongnusystems): Likewise.
4300 (gnulinuxhurdsystems): Likewise.
4301 (gnuhurdsystems): Likewise..
4302 (gnulinuxsystems): Likewise.
4303 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4304 variants of the GNU system, not "GNU system".
4305 * manual/conf.texi: Likewise.
4306 * manual/errno.texi: Likewise. Update example of errno macro
4307 expansion.
4308 * manual/filesys.texi: Likewise.
4309 (getumask): Document as specific to GNU/Hurd.
4310 * manual/install.texi: Likewise. Reword some references to
4311 GNU/Linux.
4312 * manual/intro.texi: Likewise.
4313 * manual/io.texi: Likewise.
4314 (File Name Portability): Detail which constraints are inapplicable
4315 to all GNU systems and which are only inapplicable to GNU/Hurd.
4316 * manual/job.texi: Likewise.
4317 * manual/llio.texi: Likewise.
4318 (O_NOCTTY): Document as present on GNU/Linux.
4319 * manual/maint.texi: Likewise.
4320 * manual/memory.texi: Likewise.
4321 * manual/pattern.texi: Likewise.
4322 * manual/pipe.texi: Likewise.
4323 * manual/process.texi: Likewise.
4324 * manual/resource.texi: Likewise.
4325 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4326 child on GNU/Hurd.
4327 * manual/setjmp.texi: Likewise.
4328 * manual/signal.texi: Likewise.
4329 * manual/startup.texi: Likewise.
4330 * manual/stdio.texi: Likewise.
4331 * manual/terminal.texi: Likewise.
4332 (ONLCR): Document as POSIX.
4333 (OXTABS): Document availability on GNU/Linux as XTABS.
4334 (ONOEOT): Document availability separately from other bits.
4335 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4336 * manual/time.texi: Likewise.
4337 * manual/users.texi: Likewise.
4338 * INSTALL: Regenerated.
4339 * sysdeps/gnu/errlist.c: Regenerated.
4340
07037eeb
JM
4341 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4342 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4343 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4344 puts.
4345 * configure: Regenerated.
4346
d1d3431a
JM
43472012-03-07 Joseph Myers <joseph@codesourcery.com>
4348
af6a1e37
JM
4349 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4350 default includes instead of AC_HEADER_CHECK.
4351 * sysdeps/i386/configure: Regenerated.
4352
d1d3431a
JM
4353 [BZ #10716]
4354 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4355 * math/s_cacoshf.c (__cacoshf): Likewise.
4356 * math/s_cacoshl.c (__cacoshl): Likewise.
4357 * math/s_casinh.c (__casinh): Set signs of result from argument.
4358 * math/s_casinhf.c (__casinhf): Likewise.
4359 * math/s_casinhl.c (__casinhl): Likewise.
4360 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4361 (casinh_test): Add more tests.
4362 * sysdeps/i386/fpu/libm-test-ulps: Update.
4363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4364
482ff4da
UD
43652012-03-07 Ulrich Drepper <drepper@gmail.com>
4366
872fda05
UD
4367 * po/zh_TW.po: Update from translation team.
4368
a4300c7a
UD
4369 * login/Makefile (distribute): Remove variable.
4370 * catgets/Makefile: Likewise.
4371 * mach/Makefile: Likewise.
4372 * malloc/Makefile: Likewise.
4373 * misc/Makefile: Likewise.
4374 * iconv/Makefile: Likewise.
4375 * nscd/Makefile: Likewise.
4376 * hurd/Makefile: Likewise.
4377 * manual/Makefile: Likewise.
4378 * locale/Makefile: Likewise.
4379 * intl/Makefile: Likewise.
4380 * conform/Makefile: Likewise.
4381 * nss/Makefile: Likewise.
4382 * time/Makefile: Likewise.
4383 * soft-fp/Makefile: Likewise.
4384 * dirent/Makefile: Likewise.
4385 * gmon/Makefile: Likewise.
4386 * po/Makefile: Likewise.
4387 * rt/Makefile: Likewise.
4388 * socket/Makefile: Likewise.
4389 * math/Makefile: Likewise.
4390 * signal/Makefile: Likewise.
4391 * debug/Makefile: Likewise.
4392 * elf/Makefile: Likewise.
4393 * timezone/Makefile: Likewise.
4394 * stdlib/Makefile: Likewise.
4395 * iconvdata/Makefile: Likewise.
4396 * sunrpc/Makefile: Likewise.
4397 * io/Makefile: Likewise.
4398 * argp/Makefile: Likewise.
4399 * inet/Makefile: Likewise.
4400 * hesiod/Makefile: Likewise.
4401 * grp/Makefile: Likewise.
4402 * csu/Makefile: Likewise.
4403 * wctype/Makefile: Likewise.
4404 * crypt/Makefile: Likewise.
4405 * libio/Makefile: Likewise.
4406 * string/Makefile: Likewise.
4407 * nis/Makefile: Likewise.
4408 * resolv/Makefile: Likewise.
4409 * stdio-common/Makefile: Likewise.
4410 * wcsmbs/Makefile: Likewise.
4411 * dlfcn/Makefile: Likewise.
4412 * posix/Makefile: Likewise.
4413
3b7c4e74 4414 [BZ #6959]
482ff4da
UD
4415 * timezone/Makefile: Don't install timezone files, just the programs
4416 and scripts.
4417
f72ed77d
UD
44182012-03-06 Ulrich Drepper <drepper@gmail.com>
4419
a000466f
UD
4420 * nss/databases.def: Add missing gshadow entry.
4421
f72ed77d
UD
4422 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4423
a53b7a4e
MP
44242012-03-06 Marek Polacek <polacek@redhat.com>
4425
4426 [BZ #13726]
4427 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4428 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4429 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4430 * stdio-common/tst-long-dbl-fphex.c: New file.
4431
e9258400
DM
44322012-03-06 David S. Miller <davem@davemloft.net>
4433
4434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4435 (set_obp_int): New function.
4436 (get_obp_int): New function.
4437 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4439 Avoid unused variable warnings on 'val' and use builtin_expect.
4440 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4441 __builtin_expect.
e9258400
DM
4442 (INLINE_CLONE_SYSCALL): Likewise.
4443
3bd2c723
DM
44442012-03-05 David S. Miller <davem@davemloft.net>
4445
4446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4447
bbb78d03
AS
44482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4449
884c5db4
AS
4450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4451
bbb78d03
AS
4452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4453 only for |x| >= 40.
4454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4455
1c9f702a 44562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4457
4458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4459 Replace gettimeofday with __vdso_gettimeofday.
4460
7be16f82
RM
4461 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4462 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4463 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4464
4465 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4466 time with __vdso_time.
4467
ed58a00f
JM
44682012-03-05 Joseph Myers <joseph@codesourcery.com>
4469
4470 * manual/lang.texi (size_t): Note types to which size_t may be
4471 equivalent with the GNU C Library, but do not describe when
4472 differences between them are significant.
4473
30ee4ced
AJ
44742012-03-05 Andreas Jaeger <aj@suse.de>
4475
4476 * sysdeps/i386/fpu/libm-test-ulps: Update.
4477
b7cd39e8
JM
44782012-03-05 Joseph Myers <joseph@codesourcery.com>
4479
4480 [BZ #3976]
4481 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4482 (__ieee754_pow): Save and restore rounding mode and use
4483 round-to-nearest for main computations.
4484 * math/libm-test.inc (pow_test_tonearest): New function.
4485 (pow_test_towardzero): Likewise.
4486 (pow_test_downward): Likewise.
4487 (pow_test_upward): Likewise.
4488 (main): Call the new functions.
4489 * sysdeps/i386/fpu/libm-test-ulps: Update.
4490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4491
4492 [BZ #3976]
4493 * math/libm-test.inc (cosh_test_tonearest): New function.
4494 (cosh_test_towardzero): Likewise.
4495 (cosh_test_downward): Likewise.
4496 (cosh_test_upward): Likewise.
4497 (sinh_test_tonearest): Likewise.
4498 (sinh_test_towardzero): Likewise.
4499 (sinh_test_downward): Likewise.
4500 (sinh_test_upward): Likewise.
4501 (main): Call the new functions.
4502 * sysdeps/i386/fpu/libm-test-ulps: Update.
4503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504
6c6a98c9
TV
45052012-03-05 Tom de Vries <tom@codesourcery.com>
4506
4507 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4508 default stack guard is set in last bytes.
4509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4510
21bb2d2e 45112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4512
21bb2d2e 4513 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4514
21bb2d2e
AJ
4515 [BZ #13656]
4516 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4517 possibly allocate from heap instead of stack.
4518 * stdio-common/bug-vfprintf-nargs.c: New file.
4519 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4520
c6922934
AS
45212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4522
4523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4524
bc957d53
MP
45252012-03-03 Marek Polacek <polacek@redhat.com>
4526
4527 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4528 * math/math_private.h: Likewise.
4529 * stdlib/tst-strtod.c: Likewise.
4530 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4531 * sysdeps/x86_64/bits/atomic.h: Likewise.
4532
6358490d
DM
45332012-03-02 David S. Miller <davem@davemloft.net>
4534
4535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4539 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4540 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4541 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4542 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4543
01ae168d
RM
45442012-03-02 Roland McGrath <roland@hack.frob.com>
4545
d9a17c07
RM
4546 [BZ #13792]
4547 * manual/examples/README: New file, says the example source files
4548 can be used under GPL>=2.
4549 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4550 line containing just "*/".
4551 * manual/examples/add.c: Add copyright header (GPL>=2).
4552 * manual/examples/argp-ex1.c: Likewise.
4553 * manual/examples/argp-ex2.c: Likewise.
4554 * manual/examples/argp-ex3.c: Likewise.
4555 * manual/examples/argp-ex4.c: Likewise.
4556 * manual/examples/atexit.c: Likewise.
4557 * manual/examples/db.c: Likewise.
4558 * manual/examples/dir.c: Likewise.
4559 * manual/examples/dir2.c: Likewise.
4560 * manual/examples/execinfo.c: Likewise.
4561 * manual/examples/filecli.c: Likewise.
4562 * manual/examples/filesrv.c: Likewise.
4563 * manual/examples/fmtmsgexpl.c: Likewise.
4564 * manual/examples/genpass.c: Likewise.
4565 * manual/examples/inetcli.c: Likewise.
4566 * manual/examples/inetsrv.c: Likewise.
4567 * manual/examples/isockad.c: Likewise.
4568 * manual/examples/longopt.c: Likewise.
4569 * manual/examples/memopen.c: Likewise.
4570 * manual/examples/memstrm.c: Likewise.
4571 * manual/examples/mkfsock.c: Likewise.
4572 * manual/examples/mkisock.c: Likewise.
4573 * manual/examples/mygetpass.c: Likewise.
4574 * manual/examples/pipe.c: Likewise.
4575 * manual/examples/popen.c: Likewise.
4576 * manual/examples/rprintf.c: Likewise.
4577 * manual/examples/search.c: Likewise.
4578 * manual/examples/select.c: Likewise.
4579 * manual/examples/setjmp.c: Likewise.
4580 * manual/examples/sigh1.c: Likewise.
4581 * manual/examples/sigusr.c: Likewise.
4582 * manual/examples/stpcpy.c: Likewise.
4583 * manual/examples/strdupa.c: Likewise.
4584 * manual/examples/strftim.c: Likewise.
4585 * manual/examples/strncat.c: Likewise.
4586 * manual/examples/subopt.c: Likewise.
4587 * manual/examples/swapcontext.c: Likewise.
4588 * manual/examples/termios.c: Likewise.
4589 * manual/examples/testopt.c: Likewise.
4590 * manual/examples/testpass.c: Likewise.
4591 * manual/examples/timeval_subtract.c: Likewise.
4592
01ae168d
RM
4593 [BZ #13792]
4594 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4595 function to ...
4596 * manual/timeval_subtract.c.texi: ... here, new file.
4597
49efa33d
DM
45982012-03-02 David S. Miller <davem@davemloft.net>
4599
4600 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4601
28afd92d
JM
46022012-03-02 Joseph Myers <joseph@codesourcery.com>
4603
804360ed
JM
4604 [BZ #3976]
4605 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4606 (__sin): Save and restore rounding mode and use round-to-nearest
4607 for all computations.
4608 (__cos): Save and restore rounding mode and use round-to-nearest
4609 for all computations.
4610 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4611 <fenv.h>.
4612 (tan): Save and restore rounding mode and use round-to-nearest for
4613 all computations.
4614 * math/libm-test.inc (cos_test_tonearest): New function.
4615 (cos_test_towardzero): Likewise.
4616 (cos_test_downward): Likewise.
4617 (cos_test_upward): Likewise.
4618 (sin_test_tonearest): Likewise.
4619 (sin_test_towardzero): Likewise.
4620 (sin_test_downward): Likewise.
4621 (sin_test_upward): Likewise.
4622 (tan_test_tonearest): Likewise.
4623 (tan_test_towardzero): Likewise.
4624 (tan_test_downward): Likewise.
4625 (tan_test_upward): Likewise.
4626 (main): Call the new functions.
4627 * sysdeps/i386/fpu/libm-test-ulps: Update.
4628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4629
a6d06d7b
JM
4630 [BZ #10135]
4631 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4632 small n, then large n, before computing and testing k+n.
4633 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4635 Likewise.
4636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4637 Likewise.
4638 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4639 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4646 * math/libm-test.inc (scalbn_test): Add more tests.
4647 (scalbln_test): Likewise.
4648
07e12bb3
JM
4649 * manual/filesys.texi (mode_t): Describe constraints on size and
4650 signedness, not exact equivalence to a particular type.
4651 (ino_t): Likewise.
4652 (ino64_t): Likewise.
4653 (dev_t): Likewise.
4654 (nlink_t): Likewise.
4655 (blkcnt_t): Likewise.
4656 (blkcnt64_t): Likewise.
4657 * manual/llio.texi (off_t): Likewise.
4658
28afd92d
JM
4659 [BZ #3976]
4660 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4661 (__ieee754_exp): Save and restore rounding mode and use
4662 round-to-nearest for all computations.
4663 * math/libm-test.inc (exp_test_tonearest): New function.
4664 (exp_test_towardzero): Likewise.
4665 (exp_test_downward): Likewise.
4666 (exp_test_upward): Likewise.
4667 (main): Call the new functions.
4668 * sysdeps/i386/fpu/libm-test-ulps: Update.
4669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4670
b1eeb65d
CD
46712012-03-01 Chris Demetriou <cgd@google.com>
4672
4673 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4674 have predictable order.
4675
53362a4b
DM
46762012-03-01 David S. Miller <davem@davemloft.net>
4677
3c969083
DM
4678 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4679
759707de
DM
4680 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4681 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4682 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4683 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4684
dfdb8ff2
DM
4685 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4686 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4687 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4689 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4690 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4693 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4694
ead89f96
DM
4695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4696
7f66bd07
DM
4697 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4698 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4699 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4700
53362a4b
DM
4701 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4702 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4703 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4704 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4705 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4708 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4709 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4710 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4711 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4717 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4718 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4719 * sysdeps/sparc/elf/configure: Regenerated.
4720
7b1902cb
JM
47212012-03-01 Joseph Myers <joseph@codesourcery.com>
4722
bec039bc
JM
4723 * configure.in (AS, LD): Require binutils 2.20 or later.
4724 * configure: Regenerated.
4725 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4726 as required minimum version.
4727 * INSTALL: Regenerated.
4728
7b1902cb
JM
4729 [BZ #2541]
4730 [BZ #4108]
4731 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4732 before squaring exponent.
4733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4734 bottom long double and 27 bits of top long double before squaring
4735 exponent.
4736 * math/libm-test.inc (erfc_test): Add more tests.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4740
f775c276
KT
47412012-03-01 Kai Tietz <ktietz@redhat.com>
4742
4743 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4744 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4745 containing bit-fields.
4746 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4747 * soft-fp/single.h (_FP_UNION_S): Likewise.
4748 * soft-fp/double.h (_FP_UNION_D): Likewise.
4749
5b8a4d4a
JM
47502012-02-29 Joseph Myers <joseph@codesourcery.com>
4751
0bab47b6
JM
4752 [BZ #13786]
4753 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4754 not include ../strcmp.S.
4755 [USE_AS_STRNCASECMP_L]: Likewise.
4756 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4757 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4758 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4759 (__strncasecmp_l_ia32): Define as alias to
4760 __strncasecmp_l_nonascii.
4761
0fcad3e2
JM
4762 [BZ #5794]
4763 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4766
5b8a4d4a
JM
4767 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4769
8fdceb2e
JL
47702012-02-29 Jeff Law <law@redhat.com>
4771
4772 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4773 out of bounds read.
4774
1f393a11
MP
47752012-02-29 Marek Polacek <polacek@redhat.com>
4776
4777 [BZ #13706]
4778 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4779 * elf/Makefile: Add rules to run tst-unused-dep.out.
4780
8847f037
DM
47812012-02-28 David S. Miller <davem@davemloft.net>
4782
4783 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4784 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4789
169d7f11
JM
47902012-02-29 Joseph Myers <joseph@codesourcery.com>
4791
4792 * math/libm-test.inc (llround_test): Move one test from
4793 lround_test. Use TEST_f_L in moved test.
4794 (lround_test): Move misplaced test to llround_test. Add testcase
4795 from bug 2561.
4796
39adf059
UD
47972012-02-28 Ulrich Drepper <drepper@gmail.com>
4798
4799 * sysdeps/x86_64/fpu/e_expf.S: New file.
4800 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4801
71b5d1c5
SB
48022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4803
4804 [BZ #13637]
4805 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4806 of remain_len that may cause incomplete multi-byte character and
4807 false match.
4808 * posix/bug-regex33.c: New file.
4809 * posix/Makefile (tests): Add bug-regex33.
4810
1f77f049
JM
48112012-02-28 Joseph Myers <joseph@codesourcery.com>
4812
4813 * manual/macros.texi: New file.
4814 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4815 * manual/libc.texinfo: Include macros.texi.
4816 * manual/creatute.texi: Likewise.
4817 * manual/install.texi: Likewise.
4818 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4819 @glibcadj{} in references to the GNU C Library.
4820 * manual/charset.texi: Likewise.
4821 * manual/conf.texi: Likewise.
4822 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4823 when not using those macros.
4824 * manual/creature.texi: Likewise.
4825 * manual/crypt.texi: Likewise.
4826 * manual/errno.texi: Likewise.
4827 * manual/filesys.texi: Likewise.
4828 * manual/header.texi: Likewise.
4829 * manual/install.texi: Likewise.
4830 * manual/intro.texi: Likewise.
4831 * manual/io.texi: Likewise.
4832 * manual/job.texi: Likewise.
4833 * manual/lang.texi: Likewise.
4834 * manual/libc.texiinfo: Likewise.
4835 * manual/llio.texi: Likewise.
4836 * manual/locale.texi: Likewise.
4837 * manual/maint.texi: Likewise.
4838 * manual/math.texi: Likewise.
4839 * manual/memory.texi: Likewise.
4840 * manual/message.texi: Likewise.
4841 * manual/nss.texi: Likewise.
4842 * manual/pattern.texi: Likewise.
4843 * manual/process.texi: Likewise.
4844 * manual/resource.texi: Likewise.
4845 * manual/search.texi: Likewise.
4846 * manual/setjmp.texi: Likewise.
4847 * manual/signal.texi: Likewise.
4848 * manual/socket.texi: Likewise.
4849 * manual/startup.texi: Likewise.
4850 * manual/stdio.texi: Likewise.
4851 * manual/string.texi: Likewise.
4852 * manual/sysinfo.texi: Likewise.
4853 * manual/syslog.texi: Likewise.
4854 * manual/terminal.texi: Likewise.
4855 * manual/time.texi: Likewise.
4856 * manual/users.texi: Likewise.
4857 * INSTALL: Regenerated.
4858 * NOTES: Regenerated.
d40c5d54 4859 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4860
450bf206
AS
48612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4862
4863 * include/dirent.h: Include <dirstream.h> before
4864 <dirent/dirent.h>.
4865
741a235b
DM
48662012-02-28 David S. Miller <davem@davemloft.net>
4867
4868 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4869 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4870 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4871 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4872
d6b5aa58
DM
48732012-02-27 David S. Miller <davem@davemloft.net>
4874
1aff59a3
DM
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4877 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4878 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4879
d6b5aa58
DM
4880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4881 frame pointer instead of stack pointer relative arg slot.
4882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4883 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4884 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4885
433f48bf
CD
48862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4887
4888 [BZ #3992]
4889 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4890
d674b76d
DM
48912012-02-27 David S. Miller <davem@davemloft.net>
4892
4893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4897 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4898 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4899 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4900 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4901
0e7727f7
JM
49022012-02-27 Joseph Myers <joseph@codesourcery.com>
4903
4904 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4905 later. Allow versions 5-9.
43be4ca2 4906 * configure: Regenerated.
0e7727f7
JM
4907 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4908 required minimum version and 4.6 as recommended version. Do not
4909 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4910 * INSTALL: Regenerated.
0e7727f7 4911
a78bc654
DM
49122012-02-27 David S. Miller <davem@davemloft.net>
4913
428d5830
DM
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4918 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4919 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4920 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4921 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4922
a78bc654
DM
4923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4924 manipulate bits before adding and subtracting TWO112[sx].
4925 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4926
4579f81c
RM
49272012-02-27 Roland McGrath <roland@hack.frob.com>
4928
36c8acb4
RM
4929 [BZ #13775]
4930 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4931 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4932 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4933 being in POSIX, because they are in 1003.1-2008.
4934
84ad622b
RM
4935 * rt/tst-aio.c: Include <fcntl.h>.
4936 * rt/tst-aio7.c: Likewise.
4937 * rt/tst-aio64.c: Likewise.
4938
4579f81c
RM
4939 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4940
abd923db
JM
49412012-02-27 Joseph Myers <joseph@codesourcery.com>
4942
4943 * manual/install.texi (--with-headers): Describe headers as
4944 interface headers, not private headers.
4945 (Specific advice for GNU/Linux systems): Describe use of headers
4946 from "make headers_install", not private headers from older
4947 kernels.
43be4ca2 4948 * INSTALL: Regenerated.
abd923db
JM
4949 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4950 Change to 2.6.19.
4951 * sysdeps/unix/sysv/linux/configure: Regenerated.
4952
6664049b
JM
4953 * manual/llio.texi (fclean): Remove documentation.
4954
bb8b6697
JM
4955 * manual/Makefile (libc-texi-generated): New variable. Include
4956 version.texi.
4957 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4958 $(libc-texi-generated), not duplicated list of files.
4959 (version.texi, stamp-version): New rules.
4960 (realclean): Remove $(libc-texi-generated), not individual files
4961 from that list. Do not remove dir-add.texinfo.
4962 * manual/libc.texinfo: Comment out uses of edition numbers and
4963 references to printed manual. Remove last-updated dates.
4964 (EDITION): Comment out.
4965 (ISBN): Likewise.
4966 (VERSION, UPDATED): Remove.
4967 (version.texi): Include.
4968
12e5c3b9
AS
49692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4970
4971 * sysdeps/posix/spawni.c: Include <signal.h>.
4972 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4973 * sysdeps/pthread/aio_fsync.c: Likewise.
4974
4efeffc1 49752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4976
ba63ba08
UD
4977 * conform/Makefile (tests): Run only when not cross-compiling and
4978 when fast-check is not defined.
4979
d94a4670
UD
4980 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4981 * conform/data/limits.h-data: Fixes for POSIX2008.
4982 * conform/run-conformtest.sh: Run all tests.
4983 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4984 headers.
4985 * include/bits/dlfcn.h: Likewise.
4986 * include/langinfo.h: Likewise.
4987 * include/monetary.h: Likewise.
4988 * include/sys/poll.h: Likewise.
4989
4990 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4991 for __USE_GNU.
4992 * posix/spawn.h: Define __need_sigset_t.
4993 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4994 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4995 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4996 to get sigevent_t only.
4997 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4998 only for __USE_GNU.
4999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5000 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5001 process_vm_writev only for __USE_GNU.
5002 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5003
5004 * conform/Makefile: For now ignore errors from run-conformtest.
5005 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5006 POSIX to avoid namespace pollution. Don't prepend headers.
5007 * conform/data/aio.h-data: Fixes for POSIX testing.
5008 * conform/data/fcntl.h-data: Likewise.
5009 * conform/data/glob.h-data: Likewise.
5010 * conform/data/grp.h-data: Likewise.
5011 * conform/data/pthread.h-data: Likewise.
5012 * conform/data/pwd.h-data: Likewise.
5013 * conform/data/signal.h-data: Likewise.
5014 * conform/data/spawn.h-data: Likewise.
5015 * conform/data/stdio.h-data: Likewise.
5016 * conform/data/stdlib.h-data: Likewise.
5017 * conform/data/stropts.h-data: Likewise.
5018 * conform/data/sys/mman.h-data: Likewise.
5019 * conform/data/sys/stat.h-data: Likewise.
5020 * conform/data/sys/types.h-data: Likewise.
5021 * conform/data/sys/wait.h-data: Likewise.
5022 * conform/data/time.h-data: Likewise.
5023 * conform/data/unistd.h-data: Likewise.
5024 * conform/data/utime.h-data: Likewise.
5025
5026 * io/sys/stat.h: fchmod was always in POSIX.
5027 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5028 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5029 * rt/aio.h: Define __need_timespec before including <time.h>.
5030 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5031 struct. Add forward declaration of pthread_attr_t and use it in
5032 sigevent.
5033 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5035 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5036 always remove CLK_TCK definition.
5037
c20105c3
AS
50382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5039
5040 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5041
7a270350
UD
50422012-02-25 Ulrich Drepper <drepper@gmail.com>
5043
31341567
UD
5044 * conform/run-conformtest.sh: New file.
5045 * conform/Makefile: Run run-conformtest for tests.
5046 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5047 support.
5048
5049 * conform/data/uchar.h-data: New file.
5050 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5051 * conform/data/arpa/inet.h-data: Likewise.
5052 * conform/data/assert.h-data: Likewise.
5053 * conform/data/complex.h-data: Likewise.
5054 * conform/data/cpio.h-data: Likewise.
5055 * conform/data/ctype.h-data: Likewise.
5056 * conform/data/dirent.h-data: Likewise.
5057 * conform/data/dlfcn.h-data: Likewise.
5058 * conform/data/errno.h-data: Likewise.
5059 * conform/data/fcntl.h-data: Likewise.
5060 * conform/data/float.h-data: Likewise.
5061 * conform/data/fmtmsg.h-data: Likewise.
5062 * conform/data/fnmatch.h-data: Likewise.
5063 * conform/data/ftw.h-data: Likewise.
5064 * conform/data/glob.h-data: Likewise.
5065 * conform/data/grp.h-data: Likewise.
5066 * conform/data/iconv.h-data: Likewise.
5067 * conform/data/inttypes.h-data: Likewise.
5068 * conform/data/langinfo.h-data: Likewise.
5069 * conform/data/libgen.h-data: Likewise.
5070 * conform/data/limits.h-data: Likewise.
5071 * conform/data/locale.h-data: Likewise.
5072 * conform/data/math.h-data: Likewise.
5073 * conform/data/monetary.h-data: Likewise.
5074 * conform/data/mqueue.h-data: Likewise.
5075 * conform/data/ndbm.h-data: Likewise.
5076 * conform/data/net/if.h-data: Likewise.
5077 * conform/data/netdb.h-data: Likewise.
5078 * conform/data/netinet/in.h-data: Likewise.
5079 * conform/data/nl_types.h-data: Likewise.
5080 * conform/data/poll.h-data: Likewise.
5081 * conform/data/pthread.h-data: Likewise.
5082 * conform/data/pwd.h-data: Likewise.
5083 * conform/data/regex.h-data: Likewise.
5084 * conform/data/sched.h-data: Likewise.
5085 * conform/data/search.h-data: Likewise.
5086 * conform/data/semaphore.h-data: Likewise.
5087 * conform/data/setjmp.h-data: Likewise.
5088 * conform/data/signal.h-data: Likewise.
5089 * conform/data/spawn.h-data: Likewise.
5090 * conform/data/stdarg.h-data: Likewise.
5091 * conform/data/stdio.h-data: Likewise.
5092 * conform/data/stdlib.h-data: Likewise.
5093 * conform/data/string.h-data: Likewise.
5094 * conform/data/strings.h-data: Likewise.
5095 * conform/data/stropts.h-data: Likewise.
5096 * conform/data/sys/ipc.h-data: Likewise.
5097 * conform/data/sys/mman.h-data: Likewise.
5098 * conform/data/sys/msg.h-data: Likewise.
5099 * conform/data/sys/resource.h-data: Likewise.
5100 * conform/data/sys/select.h-data: Likewise.
5101 * conform/data/sys/sem.h-data: Likewise.
5102 * conform/data/sys/shm.h-data: Likewise.
5103 * conform/data/sys/socket.h-data: Likewise.
5104 * conform/data/sys/stat.h-data: Likewise.
5105 * conform/data/sys/statvfs.h-data: Likewise.
5106 * conform/data/sys/time.h-data: Likewise.
5107 * conform/data/sys/timeb.h-data: Likewise.
5108 * conform/data/sys/times.h-data: Likewise.
5109 * conform/data/sys/types.h-data: Likewise.
5110 * conform/data/sys/uio.h-data: Likewise.
5111 * conform/data/sys/un.h-data: Likewise.
5112 * conform/data/sys/utsname.h-data: Likewise.
5113 * conform/data/sys/wait.h-data: Likewise.
5114 * conform/data/syslog.h-data: Likewise.
5115 * conform/data/tar.h-data: Likewise.
5116 * conform/data/termios.h-data: Likewise.
5117 * conform/data/utime.h-data: Likewise.
5118 * conform/data/utmpx.h-data: Likewise.
5119 * conform/data/varargs.h-data: Likewise.
5120 * conform/data/wchar.h-data: Likewise.
5121 * conform/data/wctype.h-data: Likewise.
5122 * conform/data/wordexp.h-data: Likewise.
5123
5124 * include/stropts.h: New file.
5125 * include/uchar.h: New file.
5126 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5127 * include/assert.h: Likewise.
5128 * include/ctype.h: Likewise.
5129 * include/dirent.h: Likewise.
5130 * include/dlfcn.h: Likewise.
5131 * include/fcntl.h: Likewise.
5132 * include/fnmatch.h: Likewise.
5133 * include/glob.h: Likewise.
5134 * include/grp.h: Likewise.
5135 * include/libio.h: Likewise.
5136 * include/locale.h: Likewise.
5137 * include/math.h: Likewise.
5138 * include/net/if.h: Likewise.
5139 * include/netdb.h: Likewise.
5140 * include/netinet/in.h: Likewise.
5141 * include/pthread.h: Likewise.
5142 * include/pwd.h: Likewise.
5143 * include/regex.h: Likewise.
5144 * include/sched.h: Likewise.
5145 * include/search.h: Likewise.
5146 * include/setjmp.h: Likewise.
5147 * include/signal.h: Likewise.
5148 * include/stdio.h: Likewise.
5149 * include/stdlib.h: Likewise.
5150 * include/string.h: Likewise.
5151 * include/sys/cdefs.h: Likewise.
5152 * include/sys/mman.h: Likewise.
5153 * include/sys/msg.h: Likewise.
5154 * include/sys/resource.h: Likewise.
5155 * include/sys/select.h: Likewise.
5156 * include/sys/socket.h: Likewise.
5157 * include/sys/stat.h: Likewise.
5158 * include/sys/statvfs.h: Likewise.
5159 * include/sys/time.h: Likewise.
5160 * include/sys/times.h: Likewise.
5161 * include/sys/uio.h: Likewise.
5162 * include/sys/utsname.h: Likewise.
5163 * include/sys/wait.h: Likewise.
5164 * include/termios.h: Likewise.
5165 * include/time.h: Likewise.
5166 * include/ulimit.h: Likewise.
5167 * include/unistd.h: Likewise.
5168 * include/utime.h: Likewise.
5169 * include/wchar.h: Likewise.
5170 * include/wctype.h: Likewise.
5171 * include/wordexp.h: Likewise.
5172
5173 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5174
7a270350
UD
5175 * time/time.h: TIME_UTC must be a macro.
5176 Make timespec_get available for ISO C11 only as well.
5177
7724defc
UD
51782012-02-24 Ulrich Drepper <drepper@gmail.com>
5179
5180 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5181 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5182
6b1d1d46
JM
51832012-02-24 Joseph Myers <joseph@codesourcery.com>
5184
5185 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5186
0f8bbd69
JM
51872012-02-24 Joseph Myers <joseph@codesourcery.com>
5188
5189 * manual/texinfo.tex: Update to version 2012-01-19.16.
5190
66ab80bc
JM
51912012-02-24 Joseph Myers <joseph@codesourcery.com>
5192
5193 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5194
74981cc5
RM
51952012-02-24 Roland McGrath <roland@hack.frob.com>
5196
ee968201
RM
5197 [BZ #13738]
5198 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5199 * manual/fdl-1.3.texi: New file.
5200 * manual/fdl-1.1.texi: File removed.
5201
74981cc5
RM
5202 [BZ #13738]
5203 * manual/libc.texinfo (FDL_VERSION): New @set.
5204 Use it for mention of FDL in cover text.
5205 (Documentation License): Use it in @include file name.
5206
7bb764bc
JM
52072012-02-22 Joseph Myers <joseph@codesourcery.com>
5208 Roland McGrath <roland@hack.frob.com>
5209
5210 [BZ #5461]
5211 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5212 not LONG_LONG_MAX and LONG_LONG_MIN.
5213 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5214 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5215 name.
5216 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5217
6cbeae47
JM
52182012-02-22 Joseph Myers <joseph@codesourcery.com>
5219
5220 [BZ #2547]
5221 [BZ #11365]
5222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5223 manipulate bits before adding and subtracting TWO23[sx].
5224 * math/libm-test.inc (nearbyint_test): Add more tests.
5225
fe45ce09
JM
52262012-02-22 Joseph Myers <joseph@codesourcery.com>
5227
5228 [BZ #2548]
5229 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5230 bits before adding and subtracting TWO23[sx].
5231 * math/libm-test.inc (rint_test): Add more tests.
5232 (rint_test_tonearest): Likewise.
5233 (rint_test_towardzero): Likewise.
5234 (rint_test_downward): Likewise.
5235 (rint_test_upward: Likewise.
5236
ff3b3d82
JM
52372012-02-22 Joseph Myers <joseph@codesourcery.com>
5238
5239 [BZ #10110]
5240 * include/stdc-predef.h: New file. Extracted from features.h.
5241 * include/features.h: Include stdc-predef.h.
5242 * Makefile (headers): Add stdc-predef.h.
5243 * CONFORMANCE (Compiler limitations): Update.
5244
ef0aab35
JM
52452012-02-22 Joseph Myers <joseph@codesourcery.com>
5246
5247 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5248
58639409
DM
52492012-02-21 David S. Miller <davem@davemloft.net>
5250
5251 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5252 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5253
c0e70b25
DM
52542012-02-20 David S. Miller <davem@davemloft.net>
5255
5256 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5257 using a normal save/restore sequence, rather than allocating a
5258 dummy stack frame just to store a frame pointer and restore.
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5260
fb06851d
JM
52612012-02-21 Joseph Myers <joseph@codesourcery.com>
5262
5263 * manual/install.texi: Fix stray word in line-wrapped comment.
5264
7a8b71c3
DM
52652012-02-20 David S. Miller <davem@davemloft.net>
5266
d510c123
DM
5267 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5268 both binutils and gcc support GOTDATA.
5269
0722d7c2
DM
5270 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5271 "rd %pc" in the PIC register setup sequences.
5272
3d2b3019
DM
5273 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5274 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5275 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5276 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5277 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5282 (SYSCALL_ERROR_HANDLER): Likewise.
5283 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5284 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5286 (SYSCALL_ERROR_HANDLER): Likewise.
5287
c80098a9
DM
5288 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5289 (HAVE_GCC_GOTDATA): New.
5290 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5291 relocation support in both binutils and gcc.
5292 * sysdeps/sparc/elf/configure: Regenerate.
5293
3a2545a0
DM
5294 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5295 * sysdeps/sparc/sparc32/elf/configure: Delete.
5296 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5297 * sysdeps/sparc/sparc64/elf/configure: Delete.
5298 * sysdeps/sparc/elf/configure.in: New file.
5299 * sysdeps/sparc/elf/configure: Generate.
5300
7a8b71c3
DM
5301 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5302 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5304 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5305 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5306
f1e86fca
JM
53072012-02-21 Joseph Myers <joseph@codesourcery.com>
5308
5309 * manual/install.texi: Do not mention specific glibc version
5310 numbers.
5311 * manual/libc.texinfo (VERSION, UPDATED): Update.
5312 (@copying): Use @copyright{} and range of years.
5313
0e7dfaef
JM
53142012-02-21 Joseph Myers <joseph@codesourcery.com>
5315
5316 [BZ #13695]
5317 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5318 [crti.S not in sysdirs] (generated): Do not append.
5319 [crti.S not in sysdirs] (omit-deps): Likewise.
5320 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5321 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5322 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5323 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5324 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5325 Likewise.
5326 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5327 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5328 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5329 * csu/defs.awk: Remove file.
5330 * sysdeps/generic/initfini.c: Likewise.
5331 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5332 variable.
5333 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5334 Likewise.
5335
599af3ca
JM
53362012-02-20 Joseph Myers <joseph@codesourcery.com>
5337
5338 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5339 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5343 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5344 <bits/epoll.h>.
5345 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5346 (__EPOLL_PACKED): Define to empty if not defined by
5347 <bits/epoll.h>.
5348 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5350 bits/epoll.h.
5351
0e499750
JM
53522012-02-20 Joseph Myers <joseph@codesourcery.com>
5353
5354 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5355 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5356 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5357 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5358 <bits/timerfd.h>.
5359 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5361 bits/timerfd.h.
5362
5ad91f6e
JM
53632012-02-20 Joseph Myers <joseph@codesourcery.com>
5364
5365 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5366 in C locale.
5367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5368 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5371
06b99b02
AJ
53722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5373
5374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5375 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5376
7638c0fd
AS
53772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5378
5379 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5380 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5381 defined.
5382 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5383 Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5385 entry for 2.16.
5386
92221550
AJ
53872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5388
5389 * math/w_acos.c: Use non-signaling floating-point comparisons.
5390 * math/w_acosf.c: Likewise.
5391 * math/w_acosh.c: Likewise.
5392 * math/w_acoshf.c: Likewise.
5393 * math/w_acoshl.c: Likewise.
5394 * math/w_acosl.c: Likewise.
5395 * math/w_asin.c: Likewise.
5396 * math/w_asinf.c: Likewise.
5397 * math/w_asinl.c: Likewise.
5398 * math/w_atanh.c: Likewise.
5399 * math/w_atanhf.c: Likewise.
5400 * math/w_atanhl.c: Likewise.
5401 * math/w_exp2.c: Likewise.
5402 * math/w_exp2f.c: Likewise.
5403 * math/w_exp2l.c: Likewise.
5404 * math/w_j0.c: Likewise.
5405 * math/w_j0f.c: Likewise.
5406 * math/w_j0l.c: Likewise.
5407 * math/w_j1.c: Likewise.
5408 * math/w_j1f.c: Likewise.
5409 * math/w_j1l.c: Likewise.
5410 * math/w_jn.c: Likewise.
5411 * math/w_jnf.c: Likewise.
5412 * math/w_log.c: Likewise.
5413 * math/w_log10.c: Likewise.
5414 * math/w_log10f.c: Likewise.
5415 * math/w_log10l.c: Likewise.
5416 * math/w_log2.c: Likewise.
5417 * math/w_log2f.c: Likewise.
5418 * math/w_log2l.c: Likewise.
5419 * math/w_logf.c: Likewise.
5420 * math/w_logl.c: Likewise.
5421 * math/w_sqrt.c: Likewise.
5422 * math/w_sqrtf.c: Likewise.
5423 * math/w_sqrtl.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5427 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5428 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5429
ebaf36eb
JM
54302012-02-19 Joseph Myers <joseph@codesourcery.com>
5431
5432 [BZ #9739]
5433 * manual/string.texi (strnlen): Use correct parameter name in
5434 equivalent expression.
5435
71c254a6
JM
54362012-02-19 Joseph Myers <joseph@codesourcery.com>
5437
5438 [BZ #11174]
5439 * manual/users.texi (seteuid): Consistently use neweuid for
5440 argument name.
5441
16d2c631
JM
54422012-02-19 Joseph Myers <joseph@codesourcery.com>
5443
5444 [BZ #13704]
5445 * manual/nss.texi (Services in the NSS configuration): Correct
5446 list of services in example configuration file.
5447
cd837b09
NB
54482012-02-19 Nick Bowler <nbowler@draconx.ca>
5449
5450 [BZ #11322]
5451 * manual/arith.texi: Remove statements about negative zero
5452 behaving identically to zero.
5453
02c4bbad
JM
54542012-02-18 Joseph Myers <joseph@codesourcery.com>
5455
5456 [BZ #5993]
5457 * manual/install.texi: Do not document upgrading from libc5.
5458
366842e7
JM
54592012-02-18 Joseph Myers <joseph@codesourcery.com>
5460
5461 [BZ #4596]
5462 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5463
dd54084d
DM
54642012-02-18 David S. Miller <davem@davemloft.net>
5465
5466 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5467 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5468 %o7 across the call.
5469 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5470 instead.
5471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5472 SETUP_PIC_REG_LEAF.
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5474 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5475 * sysdeps/sparc/crtn.S: Likewise.
5476
2bcc53a3
UD
54772012-02-17 Ulrich Drepper <drepper@gmail.com>
5478
5479 * aout/Makefile: Remove.
5480
09c093b5
RK
54812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5482
5483 [BZ #13058]
5484 * manual/examples/argp-ex1.c (main): Format definition in GNU
5485 style.
5486 * manual/examples/argp-ex2.c (main): Likewise.
5487 * manual/examples/argp-ex3.c (main): Likewise.
5488 * manual/examples/argp-ex4.c (main): Likewise.
5489 * manual/examples/longopt.c (main): Use new-style prototype
5490 definition.
5491 * manual/examples/strncat.c (main): Specify return type and use
5492 (void) for arguments.
5493 * manual/examples/subopt.c (main): Use char **argv argument.
5494
2ee633a2
JM
54952012-02-17 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #5077]
5498 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5499 rounding modes.
5500
0520adde
FB
55012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5502
5503 [BZ #6907]
5504 * manual/string.texi (strchr): Change when strchrnul is
5505 recommended.
5506
3f4081cd
DGM
55072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5508
5509 [BZ #174]
5510 * manual/locale.texi (setlocale): Document LOCPATH.
5511
d1b10e78
JM
55122012-02-17 Joseph Myers <joseph@codesourcery.com>
5513
5514 [BZ #10210]
5515 * manual/process.texi (execle): Move @dots{} before last argument.
5516
79c6869c
PB
55172012-02-17 Paul Bolle <pebolle@tiscali.nl>
5518
5519 [BZ #12047]
5520 * manual/charset.texi (Generic Charset Conversion): Fix typo
5521 (LC_TYPE -> LC_CTYPE).
5522
cc6e48bc
NB
55232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5524
5525 [BZ #5805]
5526 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5527 (scalbnf): Likewise.
5528 (scalbnl): Likewise.
5529 (scalbln): Likewise.
5530 (scalblnf): Likewise.
5531 (scalblnl): Likewise.
5532 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5533 (vwarnx): Likewise.
5534 (verr): Likewise.
5535 (verrx): Likewise.
5536 * manual/filesys.texi (telldir): Use braces around return type.
5537 * manual/llio.texi (mmap): Add space after comma.
5538 (mmap64): Likewise.
5539 * manual/math.texi (jn): Use @var{} on parameter names.
5540 (jnf): Likewise.
5541 (jnl): Likewise.
5542 (yn): Likewise.
5543 (ynf): Likewise.
5544 (ynl): Likewise.
5545 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5546 line.
5547 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5548 "...".
5549 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5550 (sched_get_priority_max): Likewise.
5551 * manual/signal.texi (sigvec): Add space after comma.
5552 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5553 names.
5554 (if_indextoname): Likewise.
5555 (if_freenameindex): Likewise.
5556 (sendto): Use ',' instead of '.' in prototype.
5557 * manual/startup.texi (syscall): Use @dots{} instead of literal
5558 "...".
5559 * manual/stdio.texi (__fpending): Separate initial words of
5560 paragraph from @deftypefun line.
5561 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5562 "...".
5563 (vsyslog): Use @var{} on parameter names.
5564 * manual/terminal.texi (stty): Use @var{} on parameter names.
5565 * manual/users.texi (getutmp): Use @var{} on parameter names.
5566 (getutmpx): Likewise.
5567
5b23062f
JM
55682012-02-17 Joseph Myers <joseph@codesourcery.com>
5569
5570 [BZ #6884]
5571 * manual/stdio.texi (fopen): Fix typos in description of
5572 ",ccs=STRING".
5573
8dee4833
AJ
55742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5575
5576 [BZ #4026]
5577 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5578 get clock_id definition.
5579
9078ce93
TS
55802012-02-17 Thomas Schwinge <thomas@schwinge.name>
5581
5582 [BZ #4822]
5583 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5584 (madvise): Cast every argument to void on its own.
5585
3835c55f
JM
55862012-02-17 Joseph Myers <joseph@codesourcery.com>
5587
5588 [BZ #9902]
5589 * manual/startup.texi (Exit Status): Fix typo.
5590
35c47e37
JM
55912012-02-17 Joseph Myers <joseph@codesourcery.com>
5592
5593 [BZ #10140]
5594 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5595 * manual/examples/argp-ex2.c: Likewise.
5596 * manual/examples/argp-ex3.c: Likewise.
5597
e3b69ca7
RH
55982012-02-16 Richard Henderson <rth@redhat.com>
5599
5600 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5601 * sysdeps/s390/s390-32/initfini.c: Remove.
5602 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5603 * sysdeps/s390/s390-64/initfini.c: Remove.
5604
df83af67
KK
56052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5606
5607 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5608 compiler output for sysdeps/generic/initfini.c.
5609 * sysdeps/sh/elf/initfini.c: Remove file.
5610
f63f3380
DM
56112012-02-16 David S. Miller <davem@davemloft.net>
5612
fb59b3a4
DM
5613 [BZ #11494]
5614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5615
f63f3380
DM
5616 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5617 * sysdeps/sparc/crti.S: New file.
5618 * sysdeps/sparc/crtn.S: New file.
5619 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5620 * sysdeps/sparc/sparc64/Makefile: Likewise.
5621
df6a4a4a
MF
56222012-02-15 Mike Frysinger <vapier@gentoo.org>
5623
6dd8f3dc 5624 [BZ #3335]
df6a4a4a
MF
5625 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5626
1cac7236
RM
56272012-02-15 Roland McGrath <roland@hack.frob.com>
5628
d2c736f8
RM
5629 [BZ #4822]
5630 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5631
1cac7236
RM
5632 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5633 (write, read, close): Likewise.
5634 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5635
8e475601
JM
56362012-02-15 Joseph Myers <joseph@codesourcery.com>
5637
5638 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5639 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5640 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5641 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5642 <bits/signalfd.h>.
5643 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5645 bits/signalfd.h.
5646
ed656b40
MP
56472012-02-14 Marek Polacek <polacek@redhat.com>
5648
5649 * sysdeps/x86_64/crti.S: New file.
5650 * sysdeps/x86_64/crtn.S: New file.
5651 * sysdeps/x86_64/elf/initfini.c: Remove file.
5652
2a979d3a
JM
56532012-02-13 Joseph Myers <joseph@codesourcery.com>
5654
5655 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5656 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5657 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5658 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5659 <bits/inotify.h>.
5660 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5662 bits/inotify.h.
5663
2a418ac3
JM
56642012-02-13 Joseph Myers <joseph@codesourcery.com>
5665
5666 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5667 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5668 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5669 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5670 <bits/eventfd.h>.
5671 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5673 bits/eventfd.h.
5674
fb779be7
TS
56752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5676
e19e83c5
RM
5677 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5678 __feraiseexcept instead of feraiseexcept.
7c35ffed 5679
fb779be7
TS
5680 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5681 nanosleep invocations.
5682 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5683 strings, and add error checking for a nanosleep invocations.
5684
59ba27a6
PE
56852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5686
5687 Replace FSF snail mail address with URLs, as per GNU coding standards.
5688 Most of the snail mail addresses were wrong anyway, and omitting
5689 them makes the source code easier to maintain. Almost all of the
5690 changes are to license notices and to locale LC_IDENTIFICATION
5691 addresses, except for this one:
5692 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5693 not its snail mail address.
5694
57b957eb
RH
56952012-02-09 Richard Henderson <rth@twiddle.net>
5696
af850b1c
RH
5697 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5698 of kernel-features.h.
5699
57b957eb
RH
5700 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5701
6b73181a
MP
57022012-02-08 Marek Polacek <polacek@redhat.com>
5703
5704 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5705 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5706 * sysdeps/gnu/_G_config.h: Likewise.
5707 * sysdeps/generic/_G_config.h: Likewise.
5708
26ecc33a
AS
57092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5710
6c6dbc63
AS
5711 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5712 tests.
5713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714
e216c012
AS
5715 * sysdeps/powerpc/powerpc32/crti.S: New file.
5716 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5717 * sysdeps/powerpc/powerpc64/crti.S: New file.
5718 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5719
26ecc33a
AS
5720 * Makeconfig (have-initfini): Don't set.
5721 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5722 * configure.in (nopic_initfini): Don't substitute.
5723 * config.h.in (HAVE_INITFINI): Don't #undef.
5724 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5725 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5726
3add8e13
JM
57272012-02-08 Joseph Myers <joseph@codesourcery.com>
5728
5729 Support crti.S and crtn.S provided directly by architectures.
5730 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5731 [crti.S in sysdirs] (omit-deps): Likewise.
5732 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5733 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5734 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5735 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5736 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5737 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5738 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5739 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5740 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5741 compiler output for sysdeps/generic/initfini.c.
5742 * sysdeps/i386/elf/Makefile: Remove file.
5743 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5744
a22f12b4
MP
57452012-02-07 Marek Polacek <polacek@redhat.com>
5746
5747 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5748 * sysdeps/gnu/_G_config.h: Likewise.
5749 * sysdeps/mach/hurd/_G_config.h: Likewise.
5750
148cf100
MP
57512012-02-07 Marek Polacek <polacek@redhat.com>
5752
5753 * math/Makefile (tests): Add tst-CMPLX2.
5754 * math/tst-CMPLX2.c: New file.
5755
cfdc0dd7
AS
57562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5757
84ba42c4
AS
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5759
cfdc0dd7
AS
5760 * math/libm-test.inc (jn_test): Add missing L suffix.
5761
622c86f4
MP
57622012-02-06 Marek Polacek <polacek@redhat.com>
5763
5764 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5765 * sysdeps/i386/fpu/e_powf.S: Likewise.
5766 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5767 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5769 * sysdeps/i386/fpu/e_pow.S: Likewise.
5770 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5771 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5772 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5773 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5774 * sysdeps/i386/fpu/e_log2.S: Likewise.
5775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5776 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5777 * sysdeps/i386/fpu/e_powl.S: Likewise.
5778 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5779 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5780 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5781 * sysdeps/i386/fpu/e_logl.S: Likewise.
5782 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5783 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5784 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5785 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5786 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5787 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5788 * sysdeps/i386/fpu/e_log.S: Likewise.
5789 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5790 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5791 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5792 * sysdeps/i386/fpu/e_logf.S: Likewise.
5793 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5794 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5795 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5796 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5797 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5798 * sysdeps/i386/fpu/e_log10.S: Likewise.
5799 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5800 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5801 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5802 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5804 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5805 * sysdeps/i386/asm-syntax.h: Likewise.
5806 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5809 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5810 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5812 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5813 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5814 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5815 * sysdeps/powerpc/sysdep.h: Likewise.
5816 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5817 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5818
d4a54ac6
JM
58192012-02-06 Joseph Myers <joseph@codesourcery.com>
5820
5821 [BZ #411]
5822 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5823
314054ea
JM
58242012-02-06 Joseph Myers <joseph@codesourcery.com>
5825
5826 * sysdeps/i386/sysdep.h: Include <features.h>.
5827 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5828 version.
5829
d8e0ca50
JM
58302012-02-05 Joseph Myers <joseph@codesourcery.com>
5831
5832 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5833 Define.
5834 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5835 LOAD_PIC_REG_STR.
5836
b1da7dd9
JM
58372012-02-03 Joseph Myers <joseph@codesourcery.com>
5838
5839 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5840 (SETUP_PIC_REG): Use GET_PC_THUNK.
5841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5842 macro.
5843
9a1d9254
JM
58442012-02-03 Joseph Myers <joseph@codesourcery.com>
5845
5846 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5847 for non-PIC compilation.
5848 (SETUP_PIC_REG): Add .p2align directive.
5849 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5850 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5851 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5852 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5853 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5854 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5857 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5858 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5859 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5860 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5861 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5862 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5863 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5864 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5865 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5866 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5867 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5868 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5869 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5871 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5872 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5873 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5877 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5878 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5879 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5881 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5884 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5885 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5886 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5890
65dc3b75
JM
58912012-02-03 Joseph Myers <joseph@codesourcery.com>
5892
5893 * math/tst-CMPLX.c: Include <stdio.h>.
5894
d55bf177
JM
58952012-01-31 Joseph Myers <joseph@codesourcery.com>
5896
5897 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5898 float.
5899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5900 * sysdeps/sparc/bits/mathdef.h: Likewise.
5901
69db4f8f
MP
59022012-01-31 Marek Polacek <polacek@redhat.com>
5903
5904 * libio/libio.h: Don't define _PARAMS.
5905 * locale/programs/config.h: Don't define PARAMS.
5906 * stdlib/strtol_l.c: Likewise.
5907 (__strtol_l): Remove PARAMS from the prototype.
5908
41b81892
UD
59092012-01-31 Ulrich Drepper <drepper@gmail.com>
5910
3b49edc0
UD
5911 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5912 names. Just use the correct names. Remove unnecessary wrapper
5913 functions.
5914 * malloc/arena.c: Likewise.
5915 * malloc/hooks.c: Likewise.
5916
41b81892
UD
5917 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5918 ARENA_TEST says not to. Simplify test for creation of a new arena.
5919 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5920
27a25b6e
UD
59212012-01-30 Ulrich Drepper <drepper@gmail.com>
5922
5923 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5924 into tail calls.
5925 (update_get_addr): New function.
5926 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5927 GET_ADDR_MODULE parameter.
5928
c8a89e7d
JM
59292012-01-30 Joseph Myers <joseph@codesourcery.com>
5930
5931 * crypt/cert.c: Remove __STDC__ conditionals.
5932 * crypt/crypt-entry.c: Likewise.
5933 * crypt/crypt_util.c: Likewise.
5934 * libio/filedoalloc.c: Likewise.
5935 * libio/fileops.c: Likewise.
5936 * libio/genops.c: Likewise.
5937 * libio/iofclose.c: Likewise.
5938 * libio/iofdopen.c: Likewise.
5939 * libio/iofopen.c: Likewise.
5940 * libio/iofopen64.c: Likewise.
5941 * libio/iogetdelim.c: Likewise.
5942 * libio/iopopen.c: Likewise.
5943 * libio/obprintf.c: Likewise.
5944 * libio/oldfileops.c: Likewise.
5945 * libio/oldiofclose.c: Likewise.
5946 * libio/oldiofdopen.c: Likewise.
5947 * libio/oldiofopen.c: Likewise.
5948 * libio/oldiopopen.c: Likewise.
5949 * libio/wfiledoalloc.c: Likewise.
5950 * libio/wgenops.c: Likewise.
5951 * locale/programs/xmalloc.c: Likewise.
5952 * misc/syslog.c: Likewise.
5953 * stdio-common/xbug.c: Likewise.
5954 * string/memchr.c: Likewise.
5955 * string/memcmp.c: Likewise.
5956 * string/memrchr.c: Likewise.
5957 * string/rawmemchr.c: Likewise.
5958 * sysdeps/posix/getcwd.c: Likewise.
5959 * time/strftime_l.c: Likewise.
5960
3b100462
JM
59612012-01-30 Joseph Myers <joseph@codesourcery.com>
5962
5963 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5964 * config.make.in (config-cflags-sse2avx): Define.
5965 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5966 Fix typo.
5967
607998af
CM
59682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5969
5970 * scripts/config.guess: Update from upstream config git repository.
5971 * scripts/config.sub: Likewise.
5972
3601428f
CM
59732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5974
3ac8b282
CM
5975 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5976 (EM_NUM): Update.
5977 (R_TILEPRO_*, R_TILEGX_*): New macros.
5978
e034841e
CM
5979 * scripts/firstversions.awk: Fix bug in version range handling.
5980
540d7568
CM
5981 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5982
3601428f
CM
5983 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5984
463de862
CM
5985 * include/sys/epoll.h: New file.
5986 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5987 libc_hidden_def.
5988
73139a76
UD
59892012-01-28 Ulrich Drepper <drepper@gmail.com>
5990
96bc5b45
UD
5991 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5992 Avoid unnecessary __WORDSIZE == 64 test.
5993 (fmaxf): Use VEX format if possible.
5994 (fmax): Likewise.
5995 (fminf): Likewise.
5996 (fmin): Likewise.
5997
56f6f6a2
UD
5998 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5999 * math/math_private.h: Remove libc_fegetround* and
6000 libc_fesetround*.
6001 * sysdeps/i386/configure.in: Check for -msse2avx.
6002 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6003 also if SSE2AVX is defined.
6004 Remove libc_fegetround* and libc_fesetround*.
6005 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6006 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6007 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6008 of HAS_YMM_USABLE.
6009 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6010 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6011 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6012 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6013 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6014
73139a76
UD
6015 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6016
d73f93a4
AZ
60172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018
6019 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6020 size is not set.
6021 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6022
6ee65ed6
UD
60232012-01-27 Ulrich Drepper <drepper@gmail.com>
6024
6025 [BZ #13618]
6026 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6027 relocation.
6028 * Makeconfig (libm): Define.
6029 * elf/Makefile: Add rules to build and run tst-relsort1.
6030 * elf/tst-relsort1.c: New file.
6031 * elf/tst-relsort1mod1.c: New file.
6032 * elf/tst-relsort1mod2.c: New file.
6033
8db21882
JM
60342012-01-27 Joseph Myers <joseph@codesourcery.com>
6035
6036 * math/s_ldexp.c: Remove __STDC__ conditionals.
6037 * math/s_ldexpf.c: Likewise.
6038 * math/s_ldexpl.c: Likewise.
6039 * math/s_nextafter.c: Likewise.
6040 * math/s_nexttowardf.c: Likewise.
6041 * math/s_significand.c: Likewise.
6042 * math/s_significandf.c: Likewise.
6043 * math/s_significandl.c: Likewise.
6044 * math/w_jnl.c: Likewise.
6045 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6046 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6047 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6048 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6049 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6066 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6067 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6068 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6069 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6070 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6071 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6075 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6076 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6077 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6079 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6080 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6082 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6083 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6084 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6085 * sysdeps/ieee754/k_standard.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6147 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6165 * sysdeps/ieee754/s_matherr.c: Likewise.
6166 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6167 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6170
965a54a4
JM
61712012-01-26 Joseph Myers <joseph@codesourcery.com>
6172
6173 * crypt/md5.h: Remove __STDC__ conditionals.
6174 * libio/libioP.h: Likewise.
6175 * locale/programs/config.h: Likewise.
6176 * sysdeps/generic/sysdep.h: Likewise.
6177 * sysdeps/i386/asm-syntax.h: Likewise.
6178 * sysdeps/s390/asm-syntax.h: Likewise.
6179 * sysdeps/unix/sysdep.h: Likewise.
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6182
7071ad79
JM
61832012-01-26 Joseph Myers <joseph@codesourcery.com>
6184
6185 * libio/libio.h: Remove __STDC__ conditionals.
6186 * malloc/obstack.h: Likewise.
6187 * math/complex.h: Likewise.
6188 * math/math.h: Likewise.
6189 * sysdeps/generic/_G_config.h: Likewise.
6190 * sysdeps/gnu/_G_config.h: Likewise.
6191 * sysdeps/mach/hurd/_G_config.h: Likewise.
6192 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6193 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6194 * sysdeps/sparc/bits/mathdef.h: Likewise.
6195
afc5ed09
UD
61962012-01-26 Ulrich Drepper <drepper@gmail.com>
6197
6198 [BZ #13583]
6199 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6200 Clean up HAS_* macros.
afc5ed09 6201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6202 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6203 possible.
6204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6205 HAS_AVX.
6206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6211
bdb6de1d
JM
62122012-01-25 Joseph Myers <joseph@codesourcery.com>
6213
6214 * elf/tst-unique3.cc (gets): Remove declaration.
6215 * elf/tst-unique3lib.cc (gets): Likewise.
6216 * elf/tst-unique3lib2.cc (gets): Likewise.
6217 * elf/tst-unique4.cc (gets): Likewise.
6218
b15549e6
UD
62192012-01-24 Ulrich Drepper <drepper@gmail.com>
6220
6221 * include/stdio.h: Add C++ protection. Add gets declarations and
6222 definitions.
6223 * debug/tst-chk1.c: Don't declare gets here.
6224 * stdio-common/tst-gets.c: Likewise.
6225
a037381f
JM
62262012-01-24 Joseph Myers <joseph@codesourcery.com>
6227
6228 * posix/glob: Remove directory.
6229
f1d4aa75
JM
62302012-01-24 Joseph Myers <joseph@codesourcery.com>
6231
6232 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6233
81c0c964
PT
62342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6235
6236 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6237 of the non-standard EPFNOSUPPORT.
6238
0ea698ae
ST
62392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6240
6241 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6242 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6243 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6244
d220b117
UD
62452012-01-21 Ulrich Drepper <drepper@gmail.com>
6246
6247 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6248
3e1aa84e
UD
62492012-01-20 Ulrich Drepper <drepper@gmail.com>
6250
6251 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6252 transient errors.
6253 * nscd/grpcache.c (cache_addgr): Likewise.
6254 * nscd/hstcache.c (cache_addhst): Likewise.
6255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6256 * nscd/pwdcache.c (cache_addpw): Likewise.
6257 * nscd/servicescache.c (cache_addserv): Likewise.
6258
400aa020
UD
62592012-01-16 Ulrich Drepper <drepper@gmail.com>
6260
d77e7869
UD
6261 * malloc/malloc.c: Various cleanups.
6262 * malloc/hooks.c: Likewise.
6263
400aa020
UD
6264 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6265 * stdlib/bug-fmtmsg1.c: New file.
6266
6267 * stdlib/fmtmsg.c (init): Add missing unlock.
6268 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6269
e0a309cf
MP
62702012-01-12 Marek Polacek <polacek@redhat.com>
6271
6272 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6273 and _GNU_SOURCE.
6274
929d11c7
WS
62752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6276
6277 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6279 macro to ensure uniqueness of label name.
6280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6282
41d0e869
UD
62832012-01-11 Ulrich Drepper <drepper@gmail.com>
6284
0cc5ed3b
UD
6285 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6286
41d0e869
UD
6287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6288 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6291
a47a831a
UD
62922012-01-10 Ulrich Drepper <drepper@gmail.com>
6293
daa891c0
UD
6294 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6295
6296 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6299
e58ef0f2
UD
6300 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6301
a47a831a 6302 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6303 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6306
6307 * math/bits/math-finite.h: Add ldexp support.
6308
a0bfc9c7
MP
63092012-01-10 Marek Polacek <polacek@redhat.com>
6310
6311 * locale/programs/localedef.h (show_archive_content): Add noreturn
6312 attribute.
6313
d6e97a1d
UD
63142012-01-09 Ulrich Drepper <drepper@gmail.com>
6315
6316 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6317
d5835c26
UD
63182012-01-08 Ulrich Drepper <drepper@gmail.com>
6319
e5f484c6
UD
6320 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6321
d5835c26
UD
6322 * io/Makefile (headers): Add bits/poll2.h.
6323
d1f741e9
WS
63242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6325
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6327 typo #include statement.
6328
ec09c1c4
UD
63292012-01-08 Ulrich Drepper <drepper@gmail.com>
6330
6331 * include/sys/cdefs.h: Define __attribute_alloc_size.
6332 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6333 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6334 * elf/pldd.c: Likewise.
6335 * iconv/iconv_charmap.c: Likewise.
6336 * iconv/iconvconfig.c: Likewise.
6337 * iconv/strtab.c: Likewise.
6338 * locale/programs/locale.c: Likewise.
6339 * locale/programs/localedef.h: Likewise.
6340 * locale/programs/simple-hash.c: Likewise.
6341 * nscd/nscd.h: Likewise.
6342 * nss/makedb.c: Likewise.
6343 * sysdeps/generic/ldconfig.h: Likewise.
6344 * locale/programs/localedef.c: Remove xmalloc prototype.
6345 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6346
20b38e03
PP
63472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6348
6349 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6350 appropriate.
6351
a0da5fe1
UD
63522012-01-08 Ulrich Drepper <drepper@gmail.com>
6353
1d5a644a 6354 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6355 * math/tst-CMPLX.c: New file.
1d5a644a 6356
8784a6db
UD
6357 * math/complex.h (CMPLXL): Fix typo.
6358
d9a216c0
UD
6359 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6360 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6361 GLIBC_2.16.
6362 * debug/tst-chk1.c: Add poll and ppoll tests.
6363 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6364 * include/sys/poll.h: Add hidden proto for ppoll.
6365 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6366 * sysdeps/mach/hurd/ppoll.c: Likewise.
6367 * io/ppoll.c: Likewise.
6368 * debug/poll_chk.c: New file.
6369 * debug/ppoll_chk.c: New file.
6370 * include/bits/poll2.h: New file.
6371 * io/bits/poll2.h: New file.
6372
ac097f5c
UD
6373 [BZ #1350]
6374 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6375
2119dcfa
UD
6376 * configure.in: static is always set to yes. Remove.
6377 * config.make.in: Don't set build-static.
6378 * Makeconfig: Remove use of build-static.
6379 * dlfcn/Makefile: Likewise.
6380 * elf/Makefile: Likewise.
6381 * math/Makefile: Likewise.
6382 * misc/Makefile: Likewise.
6383 * nptl/Makefile: Likewise.
6384 * sysdeps/mach/hurd/Makefile: Likewise.
6385
121766a9
UD
6386 * configure.in: PWD_P is not used anymore.
6387 * config.make.in: Remove PWD_P entry.
6388
51a1d39c 6389 * configure.in: Remove last remnants of RANLIB.
8720d066 6390 No need to check for signed size_t anymore.
215f4bdc
UD
6391 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6392 and IA-64.
3857022a 6393 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6394 * aclocal.m4: Likewise.
6395
d3ed7225
UD
6396 * wcsmbs/mbrtoc16.c: Implement using towc function.
6397 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6398 * wcsmbs/wcsmbsload.c: Likewise.
6399 * iconv/gconv_simple.c: Likewise.
6400 * iconv/gconv_int.h: Likewise.
6401 * iconv/gconv_builtin.h: Likewise.
6402 * iconv/iconv_prog.c: Remove CHAR16 handling.
6403
6404 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6405
6406 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6407
a0da5fe1
UD
6408 * configure.in: Remove --with-elf and --enable-bounded options.
6409 Dont set base_machine for ia64. More non-ELF conditions removed.
6410 Remove testing and setting of leading underscore information.
6411 * config.make.in (build-bounded): Set to no.
6412 * config.h.in: Remove NO_UNDERSCORES entry.
6413 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6414 them.
6415 * csu/start.c: Remove !NO_UNDERSCORE code.
6416 * locale/localeinfo.h: Likewise.
6417 * sysdeps/generic/machine-gmon.h: Likewise.
6418 * sysdeps/generic/sysdep.h: Likewise.
6419 * sysdeps/i386/sysdep.h: Likewise.
6420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6421 * sysdeps/mach/sysdep.h: Likewise.
6422 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6424 * sysdeps/sh/sysdep.h: Likewise.
6425 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6426 * sysdeps/unix/i386/sysdep.S: Likewise.
6427 * sysdeps/unix/sparc/start.c: Likewise.
6428 * sysdeps/unix/sparc/sysdep.S: Likewise.
6429 * sysdeps/unix/sparc/sysdep.h: Likewise.
6430 * sysdeps/unix/start.c: Likewise.
6431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6432 * sysdeps/x86_64/sysdep.h: Likewise.
6433
df78418a
UD
64342012-01-07 Ulrich Drepper <drepper@gmail.com>
6435
a784e502
UD
6436 [BZ #13553]
6437 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6438 for non-gcc.
6439 * argp/argp-fmtstream.h: Use const instead __const.
6440 * argp/argp.h: Likewise.
6441 * assert/assert.h: Likewise.
6442 * bits/fenv.h: Likewise.
6443 * bits/sched.h: Likewise.
6444 * bits/sigset.h: Likewise.
6445 * bits/sigthread.h: Likewise.
6446 * catgets/nl_types.h: Likewise.
6447 * conform/data/pthread.h-data: Likewise.
6448 * crypt/crypt-private.h: Likewise.
6449 * crypt/crypt.h: Likewise.
6450 * crypt/crypt_util.c: Likewise.
6451 * ctype/ctype.h: Likewise.
6452 * debug/execinfo.h: Likewise.
6453 * debug/mbsnrtowcs_chk.c: Likewise.
6454 * debug/mbsrtowcs_chk.c: Likewise.
6455 * debug/wcsnrtombs_chk.c: Likewise.
6456 * debug/wcsrtombs_chk.c: Likewise.
6457 * debug/wcstombs_chk.c: Likewise.
6458 * dirent/dirent.h: Likewise.
6459 * dlfcn/dlfcn.h: Likewise.
6460 * elf/neededtest4.c: Likewise.
6461 * grp/grp.h: Likewise.
6462 * gshadow/gshadow.h: Likewise.
6463 * iconv/gconv.h: Likewise.
6464 * iconv/gconv_int.h: Likewise.
6465 * iconv/gconv_simple.c: Likewise.
6466 * iconv/iconv.h: Likewise.
6467 * iconv/loop.c: Likewise.
6468 * iconv/skeleton.c: Likewise.
6469 * include/aio.h: Likewise.
6470 * include/aliases.h: Likewise.
6471 * include/argz.h: Likewise.
6472 * include/arpa/inet.h: Likewise.
6473 * include/assert.h: Likewise.
6474 * include/dirent.h: Likewise.
6475 * include/dlfcn.h: Likewise.
6476 * include/execinfo.h: Likewise.
6477 * include/fcntl.h: Likewise.
6478 * include/fenv.h: Likewise.
6479 * include/glob.h: Likewise.
6480 * include/grp.h: Likewise.
6481 * include/libintl.h: Likewise.
6482 * include/mntent.h: Likewise.
6483 * include/netdb.h: Likewise.
6484 * include/pwd.h: Likewise.
6485 * include/rpc/netdb.h: Likewise.
6486 * include/sched.h: Likewise.
6487 * include/search.h: Likewise.
6488 * include/shadow.h: Likewise.
6489 * include/signal.h: Likewise.
6490 * include/stdio.h: Likewise.
6491 * include/stdlib.h: Likewise.
6492 * include/string.h: Likewise.
6493 * include/sys/socket.h: Likewise.
6494 * include/sys/stat.h: Likewise.
6495 * include/sys/statfs.h: Likewise.
6496 * include/sys/statvfs.h: Likewise.
6497 * include/sys/syslog.h: Likewise.
6498 * include/sys/time.h: Likewise.
6499 * include/sys/uio.h: Likewise.
6500 * include/time.h: Likewise.
6501 * include/unistd.h: Likewise.
6502 * include/utmp.h: Likewise.
6503 * include/wchar.h: Likewise.
6504 * include/wctype.h: Likewise.
6505 * inet/aliases.h: Likewise.
6506 * inet/arpa/inet.h: Likewise.
6507 * inet/netinet/ether.h: Likewise.
6508 * inet/netinet/in.h: Likewise.
6509 * intl/libintl.h: Likewise.
6510 * io/bits/fcntl2.h: Likewise.
6511 * io/fcntl.h: Likewise.
6512 * io/ftw.h: Likewise.
6513 * io/sys/poll.h: Likewise.
6514 * io/sys/stat.h: Likewise.
6515 * io/sys/statfs.h: Likewise.
6516 * io/sys/statvfs.h: Likewise.
6517 * io/utime.h: Likewise.
6518 * libio/bits/stdio.h: Likewise.
6519 * libio/bits/stdio2.h: Likewise.
6520 * libio/libio.h: Likewise.
6521 * libio/libioP.h: Likewise.
6522 * libio/stdio.h: Likewise.
6523 * locale/lc-ctype.c: Likewise.
6524 * locale/locale.h: Likewise.
6525 * login/utmp.h: Likewise.
6526 * malloc/arena.c: Likewise.
6527 * malloc/malloc.c: Likewise.
6528 * malloc/malloc.h: Likewise.
6529 * malloc/mcheck.c: Likewise.
6530 * malloc/mtrace.c: Likewise.
6531 * math/bits/mathcalls.h: Likewise.
6532 * math/fenv.h: Likewise.
6533 * math/math_private.h: Likewise.
6534 * misc/bits/error.h: Likewise.
6535 * misc/bits/syslog.h: Likewise.
6536 * misc/err.h: Likewise.
6537 * misc/error.h: Likewise.
6538 * misc/fstab.h: Likewise.
6539 * misc/mntent.h: Likewise.
6540 * misc/regexp.h: Likewise.
6541 * misc/search.h: Likewise.
6542 * misc/sgtty.h: Likewise.
6543 * misc/sys/mman.h: Likewise.
6544 * misc/sys/syslog.h: Likewise.
6545 * misc/sys/uio.h: Likewise.
6546 * misc/sys/xattr.h: Likewise.
6547 * misc/ttyent.h: Likewise.
6548 * nis/rpcsvc/ypclnt.h: Likewise.
6549 * nss/nss.h: Likewise.
6550 * posix/bits/unistd.h: Likewise.
6551 * posix/fnmatch.h: Likewise.
6552 * posix/glob.h: Likewise.
6553 * posix/sched.h: Likewise.
6554 * posix/spawn.h: Likewise.
6555 * posix/sys/wait.h: Likewise.
6556 * posix/unistd.h: Likewise.
6557 * posix/wordexp.h: Likewise.
6558 * pwd/pwd.h: Likewise.
6559 * resolv/netdb.h: Likewise.
6560 * resource/sys/resource.h: Likewise.
6561 * rt/aio.h: Likewise.
6562 * rt/bits/mqueue2.h: Likewise.
6563 * rt/mqueue.h: Likewise.
6564 * shadow/shadow.h: Likewise.
6565 * signal/signal.h: Likewise.
6566 * socket/send.c: Likewise.
6567 * socket/sendto.c: Likewise.
6568 * socket/sys/socket.h: Likewise.
6569 * stdio-common/printf.h: Likewise.
6570 * stdlib/bits/stdlib.h: Likewise.
6571 * stdlib/fmtmsg.h: Likewise.
6572 * stdlib/monetary.h: Likewise.
6573 * stdlib/stdlib.h: Likewise.
6574 * stdlib/ucontext.h: Likewise.
6575 * streams/stropts.h: Likewise.
6576 * string/argz.h: Likewise.
6577 * string/bits/string2.h: Likewise.
6578 * string/string.h: Likewise.
6579 * string/strings.h: Likewise.
6580 * sunrpc/rpc/auth.h: Likewise.
6581 * sunrpc/rpc/auth_des.h: Likewise.
6582 * sunrpc/rpc/clnt.h: Likewise.
6583 * sunrpc/rpc/netdb.h: Likewise.
6584 * sunrpc/rpc/pmap_clnt.h: Likewise.
6585 * sunrpc/rpc/xdr.h: Likewise.
6586 * sysdeps/generic/inttypes.h: Likewise.
6587 * sysdeps/generic/net/if.h: Likewise.
6588 * sysdeps/generic/sys/swap.h: Likewise.
6589 * sysdeps/gnu/net/if.h: Likewise.
6590 * sysdeps/gnu/utmpx.h: Likewise.
6591 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6592 * sysdeps/i386/i486/bits/string.h: Likewise.
6593 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6594 * sysdeps/s390/bits/string.h: Likewise.
6595 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6596 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6597 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6598 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6599 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6600 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6601 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6602 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6603 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6604 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6605 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6606 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6607 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6608 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6609 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6610 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6611 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6616 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6617 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6618 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6619 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6620 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6621 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6623 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6624 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6625 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6626 * sysvipc/sys/ipc.h: Likewise.
6627 * sysvipc/sys/msg.h: Likewise.
6628 * sysvipc/sys/sem.h: Likewise.
6629 * sysvipc/sys/shm.h: Likewise.
6630 * termios/termios.h: Likewise.
6631 * time/sys/time.h: Likewise.
6632 * time/time.h: Likewise.
6633 * wcsmbs/bits/wchar2.h: Likewise.
6634 * wcsmbs/uchar.h: Likewise.
6635 * wcsmbs/wchar.h: Likewise.
6636 * wctype/wctype.h: Likewise.
6637
0269750c
UD
6638 [BZ #13551]
6639 * Makeconfig: Remove all but ELF support including AIX support.
6640 * Makerules: Likewise.
6641 * config.h.in: Likewise.
6642 * config.make.in: Likewise.
6643 * configure: Likewise.
6644 * configure.in: Likewise.
6645 * csu/Makefile: Likewise.
6646 * csu/version.c: Likewise.
6647 * debug/Makefile: Likewise.
6648 * dlfcn/Makefile: Likewise.
6649 * elf/Makefile: Likewise.
6650 * extra-lib.mk: Likewise.
6651 * iconv/Makefile: Likewise.
6652 * include/libc-symbols.h: Likewise.
6653 * include/shlib-compat.h: Likewise.
6654 * resolv/Makefile: Likewise.
6655 * resolv/res_libc.c: Likewise.
6656 * rt/Makefile: Likewise.
6657 * sysdeps/i386/asm-syntax.h: Likewise.
6658 * sysdeps/i386/sysdep.h: Likewise.
6659 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6660 * sysdeps/mach/sysdep.h: Likewise.
6661 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6662 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6663 * sysdeps/s390/asm-syntax.h: Likewise.
6664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6666 * sysdeps/sh/sysdep.h: Likewise.
6667 * sysdeps/unix/sparc/sysdep.h: Likewise.
6668 * sysdeps/wordsize-32/divdi3.c: Likewise.
6669 * sysdeps/x86_64/sysdep.h: Likewise.
6670
00bbd29b
UD
6671 * argp/Versions: Remove _argp_unlock_xxx.
6672
6673 [BZ #13559]
6674 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6675 * abilist/libBrokenLocale.abilist: Likewise.
6676 * abilist/libanl.abilist: Likewise.
6677 * abilist/libc.abilist: Likewise.
6678 * abilist/libcrypt.abilist: Likewise.
6679 * abilist/libdl.abilist: Likewise.
6680 * abilist/libm.abilist: Likewise.
6681 * abilist/libnsl.abilist: Likewise.
6682 * abilist/libpthread.abilist: Likewise.
6683 * abilist/libresolv.abilist: Likewise.
6684 * abilist/librt.abilist: Likewise.
6685 * abilist/libthread_db.abilist: Likewise.
6686 * abilist/libutil.abilist: Likewise.
6687 * abilist/libnss_db.abilist: New file.
6688
6689 * scripts/abilist.awk: Add support for indirect functions.
6690
a2693a0e
UD
6691 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6692
3f05895f
UD
6693 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6694
ecb6fb48
UD
6695 * shlib-versions: Remove entries for ports architectures.
6696
664f8cb9
UD
6697 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6698 files in ports.
6699 * elf/stackguard-macros.h: Remove support for IA-64.
6700 * elf/tst-auditmod1.c: Likewise.
6701 * sysdeps/generic/ldsodefs.h: Likewise.
6702
7ae81d88
UD
6703 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6704 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6705 configure files.
6706
bdeba135
UD
6707 [BZ #13552]
6708 * configure.in: Remove --enable-omitfp support.
6709 * FAQ.in: Adjust.
6710 * config.make.in: Likewise.
6711 * Makeconfig: Likewise.
6712 * manual/install.texi: Likewise.
6713
d75a0a62
UD
6714 In case anyone cares, the IA-64 architecture could move to ports.
6715 * sysdeps/ia64/*: Removed.
6716 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6717 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6718
dcc9756b
UD
6719 [BZ #13555]
6720 * configure.in: Remove entries for unsupported architectures.
6721
d3761ebc 6722 [BZ #13533]
9954432e
UD
6723 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6724 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6725 routines.
6726 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6727 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6728 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6729 fall back to using wcrtomb.
6730 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6731 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6732 renaming.
6733 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6734 * wcsmbs/tst-c16c32-1.c: New file.
6735
6736 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6737 local variable.
6738
c3a87236
UD
6739 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6740
28926a1b
UD
6741 * elf/tst-unique3.cc: Add explicit declaration of gets.
6742 * elf/tst-unique3lib.cc: Likewise.
6743 * elf/tst-unique3lib2.cc: Likewise.
6744 * elf/tst-unique4.cc: Likewise.
6745
df78418a
UD
6746 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6747
8ecd6b2a
JM
67482012-01-06 Joseph Myers <joseph@codesourcery.com>
6749
6750 [BZ #13566]
6751 * assert/assert.h (static_assert): Don't define for C++.
6752 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6753 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6754
9f115170
UD
67552012-01-03 Ulrich Drepper <drepper@gmail.com>
6756
5e0d0300
UD
6757 * iconv/loop.c (single loop): Fix assertion in storing of
6758 remaining bytes.
6759
9f115170
UD
6760 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6761
81fb02b0
UD
67622012-01-01 Ulrich Drepper <drepper@gmail.com>
6763
6764 * posix/getconf.c: Update copyright year.
6765 * nss/getent.c: Likewise.
a316c1f6 6766 * nss/makedb.c: Likewise.
81fb02b0
UD
6767 * iconv/iconvconfig.c: Likewise.
6768 * iconv/iconv_prog.c: Likewise.
6769 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6770 * elf/pldd.c: Likewise.
6771 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6772 * catgets/gencat.c: Likewise.
6773 * csu/version.c: Likewise.
6774 * elf/ldd.bash.in: Likewise.
6775 * elf/sprof.c (print_version): Likewise.
6776 * locale/programs/locale.c: Likewise.
6777 * locale/programs/localedef.c: Likewise.
a316c1f6 6778 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6779 * nscd/nscd.c (print_version): Likewise.
6780 * debug/xtrace.sh: Likewise.
6781 * malloc/memusage.sh: Likewise.
6782 * malloc/mtrace.pl: Likewise.
6783 * debug/catchsegv.sh: Likewise.
6784
2ba92745
JJ
67852011-12-30 Jakub Jelinek <jakub@redhat.com>
6786
6787 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6788 pure attribute.
6789
dadebdae
UD
67902011-12-24 Ulrich Drepper <drepper@gmail.com>
6791
d3761ebc 6792 [BZ #13533]
db6af3eb
UD
6793 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6794 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6795 transformations.
6796 * iconv/gconv_int.h: Likewise.
6797 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6798 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6799 from libc for GLIBC_2.16.
6800 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6801 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6802 * wcsmbs/uchar.h: Really define mbstate_t.
6803 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6804 * wcsmbs/c16rtomb.c: New file.
6805 * wcsmbs/mbrtoc16.c: New file.
6806 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6807 for C/POSIX locale.
6808 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6809 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6810
dadebdae
UD
6811 * wcsmbs/wchar.h: Add missing __restrict.
6812
67371b56
UD
68132011-12-23 Ulrich Drepper <drepper@gmail.com>
6814
74033a25
UD
6815 [BZ #13532]
6816 * time/Makefile (routines): Add timespec_get.
6817 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6818 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6819 timespec for ISO C11.
6820 * time/timespec_get.c: New file.
6821 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6822 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6823
380d7e87
UD
6824 [BZ #13531]
6825 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6826 * stdlib/stdlib.h: Declare aligned_alloc.
6827 * Versions.def: Add GLIBC_2.16 for libc.
6828 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6829
4e9e7a35
UD
6830 [BZ 13527]
6831 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6832 ISO C11.
6833
380d7e87 6834 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6835 code.
6836
03a71829
UD
6837 [BZ #13528]
6838 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6839
839e283e
UD
6840 [BZ #13529]
6841 * assert/assert.h (static_assert): Define.
6842
ce5294e2 6843 * version.h: Update for 2.16 development version.
90fa7312 6844
8d44e150 6845 [BZ #13526]
d7809905
UD
6846 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6847 _ISOC11_SOURCE.
6848
c0da14cd
UD
6849 * version.h (RELEASE): Bump for 2.15 release.
6850 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6851
530a3249
MP
6852 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6853 Patch by Marek Polacek <mpolacek@redhat.com>.
6854
67371b56
UD
6855 * bits/byteswap.h: Protect long long constants with __extension__.
6856 * sysdeps/i386/bits/byteswap.h: Likewise.
6857 * sysdeps/ia64/bits/byteswap.h: Likewise.
6858 * sysdeps/s390/bits/byteswap.h: Likewise.
6859 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6860
15db4de1
LD
68612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6862
6863 [BZ #13540]
bbe315ea
LD
6864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6865 destination buffer.
15db4de1
LD
6866 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6867
2b2596b1
MP
68682011-12-23 Marek Polacek <polacek@redhat.com>
6869
6870 * elf/dl-addr.c (determine_info): Add inline keyword.
6871 * elf/tst-auditmod4b.c (check_avx): Likewise.
6872 * elf/tst-auditmod6b.c (check_avx): Likewise.
6873 * elf/tst-auditmod6c.c (check_avx): Likewise.
6874 * elf/tst-auditmod7b.c (check_avx): Likewise.
6875
70c6c246
UD
68762011-12-23 Ulrich Drepper <drepper@gmail.com>
6877
6878 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6879 !__SSE_MATH__.
6880
c044cf14
LD
68812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6882
15db4de1 6883 [BZ #13540]
c044cf14
LD
6884 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6885 processing for last bytes.
6886
6b13d9d9
BH
68872011-08-06 Bruno Haible <bruno@clisp.org>
6888
d455f537
BH
6889 [BZ #13061]
6890 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6891 U+0385, not to U+1FEE.
6892
6b13d9d9
BH
6893 [BZ #13062]
6894 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6895 entry for U+00A5 U+0301.
6896
db910efd
UD
68972011-12-22 Ulrich Drepper <drepper@gmail.com>
6898
27deeafc
UD
6899 [BZ #13166]
6900 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6901 buffer for the output is too small.
6902
aed9d171
UD
6903 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6904 optimization.
6905
db910efd
UD
6906 [BZ #13185]
6907 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6908 SSE flags if possible.
6909
2bd779ae
LD
69102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6911
e7f9dac3 6912 [BZ #13540]
2bd779ae
LD
6913 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6914 processing for last bytes.
6915
154bfc16
JM
69162011-12-22 Joseph Myers <joseph@codesourcery.com>
6917
6918 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6919 (syscall-list-default-options, syscall-list-default-condition)
6920 (syscall-list-includes): Define.
6921 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6922 list of ABIs and options and #if conditions for each ABI. Do not
6923 handle common syscalls between ABIs specially.
6924 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6925 Remove.
6926 (syscall-list-variants, syscall-list-32bit-options)
6927 (syscall-list-32bit-condition, syscall-list-64bit-options)
6928 (syscall-list-64bit-condition): Define.
6929 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6930 (syscall-list-variants, syscall-list-32bit-options)
6931 (syscall-list-32bit-condition, syscall-list-64bit-options)
6932 (syscall-list-64bit-condition): Define.
6933 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6934 Remove.
6935 (syscall-list-variants, syscall-list-32bit-options)
6936 (syscall-list-32bit-condition, syscall-list-64bit-options)
6937 (syscall-list-64bit-condition): Define.
6938 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6939 Remove.
6940 (syscall-list-variants, syscall-list-32bit-options)
6941 (syscall-list-32bit-condition, syscall-list-64bit-options)
6942 (syscall-list-64bit-condition): Define.
6943
21eaf3a5
UD
69442011-12-22 Ulrich Drepper <drepper@gmail.com>
6945
16c6f992
UD
6946 * locale/iso-639.def: Add brx entry.
6947
41043168
UD
6948 [BZ #13328]
6949 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6950 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6951
21eaf3a5
UD
6952 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6953 __feraiseexcept_renamed.
6954
e3a851a2
UD
69552011-12-21 Ulrich Drepper <drepper@gmail.com>
6956
4920765e
UD
6957 [BZ #13538]
6958 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6959 EPOLLET with unsigned values.
6960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6962
e3a851a2
UD
6963 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6964 to large cancellation.
6965 * math/s_cacoshf.c: Likewise.
6966 * math/s_cacoshl.c: Likewise.
6967
b27e24b8
RK
69682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6969
6970 [BZ #13305]
aebefeee 6971 [BZ #12786]
b27e24b8
RK
6972 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6973 * math/s_cacoshf.c: Likewise.
6974 * math/s_cacoshl.c: Likewise.
6975
ee190f67
UD
69762011-12-21 Ulrich Drepper <drepper@gmail.com>
6977
6978 [BZ #13439]
6979 * iconv/gconv.h: Define __GCONV_SWAP.
6980 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6981 * iconvdata/utf-16.c: Likewise.
6982 * iconvdata/utf-32.c: Likewise.
6983
707f25df
AS
69842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6985
6986 [BZ #13524]
6987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6988 numerator after shifting it by one limb.
6989
d2daaa1e
RÁE
69902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6991
6992 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6993 under [__USE_EXTERN_INLINES].
6994
a4647e72
UD
69952011-12-17 Ulrich Drepper <drepper@gmail.com>
6996
6997 [BZ #13446]
6998 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6999
f0b264f1
AZ
70002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001
7002 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7003 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7004 optimized code.
7005 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7007 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7008 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7009 for strncasecmp/strncasecmp_l compilation.
7010 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7011 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7012
8ef4f244
MP
70132011-12-08 Marek Polacek <mpolacek@redhat.com>
7014
7015 [BZ #13484]
7016 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7017 of __asm__.
7018
97ac2654
UD
70192011-12-17 Ulrich Drepper <drepper@gmail.com>
7020
7021 [BZ #13506]
7022 * time/tzfile.c (__tzfile_read): Check values from file header.
7023
91d2a845
WS
70242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7025
7026 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7027 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7028 * powerpc/powerpc32/dl-start.S: Likewise.
7029 * powerpc/powerpc32/elf/start.S: Likewise.
7030 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7031 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7032 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7033 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7034 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7035 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7036 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7037 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7038 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7039 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7040 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7041 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7042 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7043 * powerpc/powerpc32/memset.S: Likewise.
7044 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7045 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7046 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7047 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7048 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7049 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7050 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7051 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7052 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7053 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7054 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7055 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7056 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7057
a1267ba1
AZ
70582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059
7060 * math/libm-test.inc: Added more nearbyint tests.
7061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7062 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7065
ad8ac1bd
RL
70662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7067
7068 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7069 FD_CLOEXEC.
7070
1d3e4b61
UD
70712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7072
7073 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7074 Add wcscpy-ssse3 wcscpy-c.
7075 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7076 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7077 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7078 * sysdeps/x86_64/wcschr.S: New file.
7079 * sysdeps/x86_64/wcsrchr.S: New file.
7080 * string/test-strcmp.c: Remove checking of wcscmp function for
7081 wrong alignments.
7082 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7083 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7084 wcsrchr-sse2 wcsrchr-c.
7085 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7086 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7087 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7088 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7089 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7090 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7091 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7092 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7093 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7094 * wcsmbc/wcschr.c (WCSCHR): New macro.
7095
5b330a2d
UD
70962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7097
7098 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7099 * wcsmbs/test-wcsrchr.c: New file.
7100 * string/test-strrchr.c: Add wcsrchr support.
7101 (WIDE): New macro.
7102 * wcsmbs/test-wcscpy.c: New file.
7103 * string/test-strcpy.c: Add wcscpy support.
7104 (WIDE): New macro.
26428b7c 7105
f039c043
UD
71062011-12-10 Ulrich Drepper <drepper@gmail.com>
7107
7108 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7109 the inner loop.
7110
850fb039
AS
71112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7112
7113 [BZ #13472]
7114 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7115
4efbd5cb
UD
71162011-12-04 Ulrich Drepper <drepper@gmail.com>
7117
52ff5dd0 7118 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7119 Minor optimizations.
52ff5dd0 7120
4efbd5cb
UD
7121 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7122 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7123 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7124
8a426e12
UD
71252011-12-03 Ulrich Drepper <drepper@gmail.com>
7126
aff2453d
UD
7127 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7128 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7129 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7130 for gcc to avoid warnings.
7131 * inet/Makefile (tests): Add tst-checks.
7132 * inet/tst-checks.c: New file.
7133
7134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7135 warning.
7136
7137 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7138 __wmemcmp_sse2.
7139
7140 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7141 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7142
8a426e12
UD
7143 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7144
9bea3473
UD
71452011-12-02 Ulrich Drepper <drepper@gmail.com>
7146
3a965496
UD
7147 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7148 problem.
7149
9bea3473
UD
7150 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7151
f101631b
UD
71522011-11-29 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7155 conditional on GCC version.
7156 (__arch_compare_and_exchange_val_8_acq)
7157 (__arch_compare_and_exchange_val_16_acq)
7158 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7159 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7160 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7161
a98275aa
UD
71622011-12-02 Joseph Myers <joseph@codesourcery.com>
7163
7164 * sysdeps/sh/backtrace.c: New file.
7165
d4cc29a2
AS
71662011-12-02 Andreas Schwab <schwab@redhat.com>
7167
7168 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7169 parenthesis.
7170
6257af2d
AS
71712011-12-01 Andreas Schwab <schwab@redhat.com>
7172
7173 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7174 falling back to utime.
7175
b5f44c1a
AS
71762011-11-30 Andreas Schwab <schwab@redhat.com>
7177
7178 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7179 expectations for float.
7180
f3a6cc0a
AS
71812011-11-29 Andreas Schwab <schwab@redhat.com>
7182
7183 * locale/weight.h (findidx): Add parameter len.
7184 * locale/weightwc.h (findidx): Likewise.
7185 * posix/fnmatch_loop.c (FCT): Adjust caller.
7186 * posix/regcomp.c (build_equiv_class): Likewise.
7187 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7188 * posix/regexec.c (check_node_accept_bytes): Likewise.
7189 * string/strcoll_l.c (STRCOLL): Likewise.
7190 * string/strxfrm_l.c (STRXFRM): Likewise.
7191
9d65ea3a
UD
71922011-11-17 Ulrich Drepper <drepper@gmail.com>
7193
7194 * Makefile.in: Remove CVSOPT handling.
7195 * configure.in: Remove use of AC_REVISION.
7196 * iconvdata/Makefile (distribute): No need to filter out CVS.
7197 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7198 handling.
7199
5583a086
AS
72002011-11-16 Andreas Schwab <schwab@redhat.com>
7201
7202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7203 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7204 [USE_AS_STRNCASECMP_L]: Likewise.
7205 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7206 NO_TLS_DIRECT_SEG_REFS.
7207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7208 Fix argument offsets for non-PIC.
7209 [USE_AS_STRNCASECMP_L]: Likewise.
7210 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7211 NO_TLS_DIRECT_SEG_REFS.
7212
d62a8200
UD
72132011-11-15 Ulrich Drepper <drepper@gmail.com>
7214
9d65ea3a 7215 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7216 O_CLOEXEC.
7217 * locale/loadlocale.c (_nl_load_locale): Likewise.
7218
09f93bd3
AS
72192011-11-15 Andreas Schwab <schwab@redhat.com>
7220
446514f9
AS
7221 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7222 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7223 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7224 (SYSCALL_GETTIME): Set errno on error.
7225
09f93bd3
AS
7226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7227 count references to noai6ai_cached.
7228
312be3f9
UD
72292011-11-15 Ulrich Drepper <drepper@gmail.com>
7230
7231 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7232
7233 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7234 FD_CLOEXEC for /proc/self/maps.
7235
7236 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7237 FD_CLOEXEC for /proc/meminfo.
7238
7239 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7240 gai.conf.
7241
7242 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7243 FD_CLOEXEC for given file.
7244
7245 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7246
7247 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7248 FD_CLOEXEC for /etc/hosts.
7249 (_gethtent): Likewise.
7250
7251 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7252
7253 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7254 cancellation and set FD_CLOEXEC for /etc/netgroup.
7255
7256 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7257 reading /etc/publickey.
7258
7259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7260 allow cancellation when reading /etc/group.
7261
7262 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7263 cancellation.
7264 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7265
7266 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7267 when using data file.
7268
7269 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7270
7271 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7272 (write_nis_obj): Use "c" and "e" in fopen.
7273
7274 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7275
7276 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7277
7278 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7279
7280 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7281
7282 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7283 locale.alias.
7284
7285 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7286
7287 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7288
7289 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7290
7291 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7292 file parsing and set FD_CLOEXEC.
7293
82af0fa8
UD
72942011-11-14 Ulrich Drepper <drepper@gmail.com>
7295
7296 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7297
a5fb313c
AS
72982011-11-14 Andreas Schwab <schwab@redhat.com>
7299
7300 * malloc/arena.c (arena_get2): Don't call reused_arena when
7301 _int_new_arena failed.
7302
6abf3465
UD
73032011-11-14 Ulrich Drepper <drepper@gmail.com>
7304
7305 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7306 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7311 to compile strcasecmp and strncasecmp.
7312 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7313 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7314
7315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7316
76e3966e
UD
73172011-11-13 Ulrich Drepper <drepper@gmail.com>
7318
7319 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7320 locale-defines.sym to gen-as-const-headers.
7321 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7322 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7324 to compile strcasecmp and strncasecmp.
7325 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7326 strcasecmp_l and strncasecmp_l.
7327 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7328 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7329 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7330 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7331 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7333 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7334 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7335 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7336 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7337 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7338
ab26144e
UD
73392011-11-12 Ulrich Drepper <drepper@gmail.com>
7340
7edb22ef
UD
7341 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7342 result of SYSDEP_GETTIME_CPU to retval.
7343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7344 parameter list to macro. Remove trailing semicolon. Adjust users.
7345
9694fc44
UD
7346 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7347 variable.
7348
8ad89ef8
UD
7349 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7350 mantissa words.
7351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7352
0c822ef9
UD
7353 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7354 from unused variable.
7355
874e0564
UD
7356 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7357 DWARF definitions.
7358 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7359 for assembling.
7360
3a2edc79
UD
7361 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7362 over namespaces.
7363
f3c2577f
UD
7364 * sunrpc/rpc_prot.c (rejected): Fix case value.
7365
294ce126
UD
7366 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7367 unsigned long long int to avoid warnings in shift.
7368
5e2b63c6
UD
7369 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7370 of use of trans.
7371 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7372 variable tmp.
7373
e7f4b08e
UD
7374 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7375 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7376 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7377
ab26144e
UD
7378 * nis/nis_table.c (nis_list): Use variable of correct type for
7379 result of __follow_path call.
7380
8a6d5255
AZ
73812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7382
7383 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7384 of math functions ceil, trunc, floor, round, and sqrt, when
7385 avaliable on the platform.
7386 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7387 name clash.
7388 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7389 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7390 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7391
aaddc98c
MP
73922011-10-30 Marek Polacek <mpolacek@redhat.com>
7393
7394 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7396
95b7042b
RM
73972011-11-11 Roland McGrath <roland@hack.frob.com>
7398
7399 * include/unistd.h: Fix __readlink return type.
7400 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7401
57769839
UD
74022011-11-11 Ulrich Drepper <drepper@gmail.com>
7403
7404 * stdlib/ucontext.h: Undo last change for makecontext.
7405
edc5984d
AS
74062011-11-11 Andreas Schwab <schwab@redhat.com>
7407
98591e58
AS
7408 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7409
edc5984d
AS
7410 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7411 * setjmp/setjmp.h: Mark functions as non-leaf.
7412 * setjmp/bits/setjmp2.h: Likewise.
7413 * stdlib/ucontext.h: Likewise.
7414
77cdc054
AS
74152011-11-10 Andreas Schwab <schwab@redhat.com>
7416
7417 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7418 (reused_arena): Don't check arena limit.
7419 (arena_get2): Atomically check arena limit.
7420
fe72eebd
UD
74212011-11-08 Ulrich Drepper <drepper@gmail.com>
7422
5f078c32
UD
7423 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7424 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7425
fe72eebd
UD
7426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7427 instructions.
7428
ae1bc2fa
AS
74292011-11-07 Andreas Schwab <schwab@redhat.com>
7430
7583a88d
AS
7431 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7432 handler when locking.
7433
ae1bc2fa
AS
7434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7435 Fix size of allocated buffer.
7436
10fb0bfa
AS
74372011-11-04 Andreas Schwab <schwab@redhat.com>
7438
998832a4
AS
7439 [BZ #10103]
7440 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7441 declarations for long double functions.
7442 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7443
10fb0bfa
AS
7444 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7445
3d7ba52b
AS
74462011-11-03 Andreas Schwab <schwab@redhat.com>
7447
a9ae54a1
AS
7448 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7449 installed.
7450
3d7ba52b
AS
7451 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7452 is disabled.
7453
bc8db248
ST
74542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7455
7456 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7457
45b96dd6
AS
74582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7459
647776f6
AS
7460 * include/alloca.h (stackinfo_alloca_round): Define.
7461 (extend_alloca): Use it.
7462 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7463 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7464 here.
7465
d91a8b93
AS
7466 * scripts/check-local-headers.sh: Ignore libaudit.h.
7467
45b96dd6
AS
7468 * nscd/Makefile (extra-objs): Make recursively expanded.
7469
432d41ce
UD
74702011-11-01 Ulrich Drepper <drepper@gmail.com>
7471
34372fc6
UD
7472 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7474
fadb59f8
UD
7475 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7476 * posix/tst-rfc3484-2.c: Likewise.
7477 * posix/tst-rfc3484-3.c: Likewise.
7478
78239589
UD
7479 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7480 process_vm_writev.
7481 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7482 process_vm_writev.
7483 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7484 process_vm_writev from libc using GLIBC_2.15 version.
7485
432d41ce
UD
7486 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7487
02f9c6cf
PP
74882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7489
7490 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7491 stack usage.
7492
3a2c0242
UD
74932011-10-31 Ulrich Drepper <drepper@gmail.com>
7494
f4ec4833
UD
7495 [BZ #13367]
7496 * nss/getent.c (initgroups_keys): Show error message in case no group
7497 names are given.
7498
3a2c0242
UD
7499 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7500 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7501 __bump_nl_timestamp.
7502 * nscd/connections (nscd_init): When host database is served open
7503 netlink socket and request notification about configuration changes.
7504 (main_loop_poll): Track netlink file descriptor and bump timestamp
7505 in case data becomes available.
7506 (main_loop_epoll): Likewise.
7507 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7508 (database_pers_head): Add extra_data fileds.
7509 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7511 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7512 Adjust caller.
7513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7514 in6ai data, call __free_in6ai.
7515 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7516 Add -DHAVE_NETLINK.
7517 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7518 interface information. Reuse previous data if netlink timestamp
7519 is not changed.
7520 (__bump_nl_timestamp): New function.
7521 (__free_in6ai): New function.
7522
636064eb
UD
75232011-10-30 Ulrich Drepper <drepper@gmail.com>
7524
7525 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7526 close_not_cancel_no_status here.
7527 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7528
9beb2334
UD
75292011-10-29 Ulrich Drepper <drepper@gmail.com>
7530
6ef76f3b
UD
7531 [BZ #13276]
7532 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7533 return value.
7534
0ffc4f3e 7535 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7536 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7537 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7538
cb95113e
UD
75392011-07-03 Andreas Jaeger <aj@suse.de>
7540
7541 [BZ #10709]
7542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7543 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7544 * math/libm-test.inc (sin_test): Add test case.
7545
a1b560ff
UD
75462011-10-29 Ulrich Drepper <drepper@gmail.com>
7547
c9aaface
UD
7548 [BZ #13337]
7549 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7550 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7551
d272e7f1
UD
7552 * elf/chroot_canon.c (chroot_canon): Cleanups.
7553
1bc33071
UD
7554 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7555
1760874d
TJ
7556 [BZ #13335]
7557 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7558 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7559
51d91b18
UD
7560 * string/test-strchr.c: Make usable for strchrnul testing.
7561 * string/test-strchrnul.c: New file.
7562 * string/Makefile (strop-tests): Add strchrnul.
7563
a1b560ff 7564 * po/it.po: Update from translation team.
b611fb81 7565 * po/es.po: Likewise.
a1b560ff 7566
a5b81e1f
UD
75672011-10-28 Ulrich Drepper <drepper@gmail.com>
7568
fd52bc6d
UD
7569 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7570 the three constants needed as parameters. Drop the others.
7571 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7572 __m128i_strloadu_tolower.
52e4b9eb
UD
7573 Create and initialize variable zero and use it in all the places
7574 where _mm_setzero_si128 was used.
fd52bc6d 7575
a5b81e1f
UD
7576 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7577 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7578 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7579 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7580 anymore.
7581 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7582 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7583 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7584 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7585 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7586 __mpranred, __mptan.
7587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7591 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7592 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7593 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7594 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7595 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7596
b4343346
AS
75972011-10-28 Andreas Schwab <schwab@redhat.com>
7598
0c92d8a8
AS
7599 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7600 redefine if SHARED.
7601 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7602
b4343346
AS
7603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7604 wide char related routines to wcsmbs subdir.
7605
3871f58f
AS
76062011-10-27 Andreas Schwab <schwab@redhat.com>
7607
7608 [BZ #13344]
7609 * misc/sys/cdefs.h (__THROWNL): Define.
7610 * posix/unistd.h: Use __THREADNL instead of __THREAD
7611 for memory synchronization functions.
7612
94d44d9f
RM
76132011-10-26 Roland McGrath <roland@hack.frob.com>
7614
21b64b15 7615 [BZ #13349]
94d44d9f
RM
7616 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7617 doesn't exist.
7618 * manual/stdio.texi (Obstack Streams): Node removed.
7619
f6ce9294
AS
76202011-10-26 Andreas Schwab <schwab@redhat.com>
7621
80479147
AS
7622 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7624 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7625
f6ce9294
AS
7626 * math/math_private.h (math_force_eval): Allow non-addressable
7627 arguments.
7628 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7629
618280a1
UD
76302011-10-25 Ulrich Drepper <drepper@gmail.com>
7631
e0016b11
UD
7632 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7633 file is not needed.
7634
7635 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7636 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7638 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7639 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7642 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7643 Add AVX variants.
7644 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7645 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7646 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7647 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7648 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7649 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7650 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7651 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7654 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7655 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7657 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7658 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7659 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7660 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7661 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7662 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7663
7664 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7665 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7666
618280a1
UD
7667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7668 place. Use VEX encoding when compiling for AVX.
7669
37822576
AS
76702011-10-25 Andreas Schwab <schwab@redhat.com>
7671
1f1e1947
AS
7672 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7673 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7674
37822576
AS
7675 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7676
31ea014d
UD
76772011-10-25 Ulrich Drepper <drepper@gmail.com>
7678
d7826aa1 7679 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7680 useless if() expression.
d7826aa1
UD
7681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7690 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7693 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7694 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7695 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7696 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7700
31ea014d
UD
7701 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7702
16437fec
AS
77032011-10-25 Andreas Schwab <schwab@redhat.com>
7704
7705 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7706 condition.
7707 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7708
31d3cc00
UD
77092011-10-25 Ulrich Drepper <drepper@gmail.com>
7710
7711 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7712 .text section. Avoid duplicate constants.
7713 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7723 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7725 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7728 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7730 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7736 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7737 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7738 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7739 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7741 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7742 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7744 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7746 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7747 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7748 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7749 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7751 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7752 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7758
58985aa9
UD
77592011-10-24 Ulrich Drepper <drepper@gmail.com>
7760
202c9deb
UD
7761 * sysdeps/x86_64/dla.h: Move to ...
7762 * sysdeps/x86_64/fpu/dla.h: ...here.
7763 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7764 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7765
af968f62
UD
7766 * config.make.in: Add have-mfma4 entry.
7767 * configure.in: Substitute libc_cv_cc_fma4.
7768 * math/Makefile (dbl-only-routines): Add sincostab.
7769 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7770 Use __sincostab not sincos.
7771 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7772 name is a macro.
7773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7777 using __copysign.
7778 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7779 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7780 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7781 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7782 and __inv.
7783 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7784 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7785 __copysign.
7786 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7787 define aliases when function name is a macro.
7788 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7789 sysdeps/ieee754/dbl-64/sincos.tbl.
7790 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7791 fma4-enabled routines.
7792 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7793 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7794 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7795 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7797 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7799 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7800 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7801 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7802 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7803 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7804 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7819 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7820 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7821 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7822
58985aa9
UD
7823 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7824 rename.
7825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7833
a201fbcf
AS
78342011-10-24 Andreas Schwab <schwab@redhat.com>
7835
7836 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7837
fc2ee42a
LD
78382011-10-23 Ulrich Drepper <drepper@gmail.com>
7839
bb3129bd
UD
7840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7841
0275fff8
UD
7842 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7843 prediction.
7844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7845
2fa2ae85
UD
7846 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7847 Remove unused variable magic_bits.
7848 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7849
fc2ee42a
LD
7850 * string/strnlen.c: Define and use STRNLEN macro.
7851 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7852 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7854 * wcsmbs/wcslen.c: Define and use WCSLEN.
7855 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7856 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7857 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7858 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7859 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7860 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7861 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7862
ce7dd29f
LD
78632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7864
7865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7866 strnlen-sse2-no-bsf.
7867 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7868 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7869 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7870 Add strnlen support.
7871 (USE_AS_STRNLEN): New macro.
7872 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7873 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7874 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7875 * sysdeps/x86_64/wcslen.S: New file.
7876
979c70a3
MZ
78772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7878
7879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7880 XMM-moves are used for copying on small sizes.
7881
2d09f82f
LD
78822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7883
7884 * wcsmbs/Makefile (strop-tests): Add wcschr.
7885 * wcsmbs/test-wcschr.c: New file.
7886 * string/test-strchr.c: Update.
7887 Add wcschr support.
7888 (WIDE): New macro.
7889
619fccca
LD
78902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7891
2d09f82f 7892 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7893 * wcsmbs/test-wcslen.c: New file.
7894 * string/test-strlen.c: Update.
7895 Add wcslen support.
7896 (WIDE): New macro.
7897
09f699ea
UD
78982011-10-23 Ulrich Drepper <drepper@gmail.com>
7899
7900 * po/it.po: Update from translation team.
7901
95584d3b
LD
79022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7903
7904 * sysdeps/x86_64/wcscmp.S: Update.
7905 Fix wrong comparison semantics.
7906 wcscmp shall use signed comparison not unsigned.
7907 Don't use substraction to avoid overflow bug.
7908 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7909 * wcsmbc/wcscmp.c: Likewise.
7910 * string/test-strcmp.c: Likewise.
7911 Add new tests to check cases with negative values.
7912
c8b3296b
UD
79132011-10-23 Ulrich Drepper <drepper@gmail.com>
7914
7915 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7916 * sysdeps/x86_64/dla.h: ...here. New file.
7917 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7926
246ad57a
AS
79272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7928
7929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7930 __ynl_finite aliases.
7931
a1a87169
UD
79322011-10-22 Ulrich Drepper <drepper@gmail.com>
7933
0d355eb7
UD
7934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7935
a1a87169
UD
7936 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7937 define DLA_FMA.
7938 [DLA_FMA] (EMULV): Use DLA_FMA.
7939 [DLA_FMA] (MUL12): Use EMULV.
7940 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7941 that are not needed.
7942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7949
ee2aafe0
AS
79502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7951
7952 * math/s_nan.c: Undef __nan.
7953 * math/s_nanf.c: Undef __nanf.
7954 * math/s_nanl.c: Undef __nanl.
7955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7956 "math_private.h".
7957
bc62c2fb
UD
79582011-10-22 Ulrich Drepper <drepper@gmail.com>
7959
77425c63
UD
7960 * math/s_catan.c: Add branch predictions.
7961 * math/s_catanf.c: Likewise.
7962 * math/s_catanh.c: Likewise.
7963 * math/s_catanhf.c: Likewise.
7964 * math/s_catanhl.c: Likewise.
7965 * math/s_catanl.c: Likewise.
7966 * math/s_cexp.c: Likewise.
7967 * math/s_cexpf.c: Likewise.
7968 * math/s_cexpl.c: Likewise.
7969 * math/s_clog.c: Likewise.
7970 * math/s_clog10.c: Likewise.
7971 * math/s_clog10f.c: Likewise.
7972 * math/s_clog10l.c: Likewise.
7973 * math/s_clogf.c: Likewise.
7974 * math/s_clogl.c: Likewise.
7975 * math/s_csqrt.c: Likewise.
7976 * math/s_csqrtf.c: Likewise.
7977 * math/s_csqrtl.c: Likewise.
7978 * math/s_ctanf.c: Likewise.
7979 * math/s_ctanh.c: Likewise.
7980 * math/s_ctanhf.c: Likewise.
7981 * math/s_ctanhl.c: Likewise.
7982 * math/s_ctanl.c: Likewise.
7983
bc62c2fb
UD
7984 * math/math_private.h: Define __nan, __nanf, __nanl.
7985 * math/s_cacosh.c: Include <math_private.h>.
7986 * math/s_cacoshl.c: Likewise.
7987 * math/s_casinh.c: Likewise.
7988 * math/s_casinhf.c: Likewise.
7989 * math/s_casinhl.c: Likewise.
7990 * math/s_ccos.c: Rely entire on ccosh.
7991 * math/s_ccosf.c: Rely entire on ccoshf.
7992 * math/s_ccosl.c: Rely entirely on ccoshl.
7993 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7994 Remove tests for FE_INVALID.
7995 * math/s_ccoshf.c: Likewise.
7996 * math/s_ccoshl.c: Likewise.
7997 * math/s_csin.c: Likewise.
7998 * math/s_csinf.c: Likewise.
7999 * math/s_csinh.c Likewise.
8000 * math/s_csinhf.c: Likewise.
8001 * math/s_csinhl.c: Likewise.
8002 * math/s_csinl.c: Likewise.
8003 * math/s_ctan.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8005 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8007
8ec250a4
UD
80082011-10-21 Ulrich Drepper <drepper@gmail.com>
8009
c196fed8
UD
8010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8011 compilation problems.
8012
8ec250a4
UD
8013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8014 __builtin_expect.
8015
8d4f46c6
UD
80162011-10-20 Ulrich Drepper <drepper@gmail.com>
8017
ed72b654
UD
8018 * sysdeps/i386/configure.in: Test for -mfma4 option.
8019 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8020 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8021 COMMON_CPUID_INDEX_80000001.
8022 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8023 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8024 use it if FMA3 is not supported.
8025 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8026
8d4f46c6
UD
8027 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8028 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8029
d45c60c2
AS
80302011-10-20 Andreas Schwab <schwab@redhat.com>
8031
8032 [BZ #12892]
8033 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8034 it would create a cycle with a link time dependency.
8035
d9a4d2ab
UD
80362011-10-19 Ulrich Drepper <drepper@gmail.com>
8037
855d1560
UD
8038 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8039 instruction.
8040 * string/Makefile (strop-tests): Add rawmemchr.
8041 * string/test-rawmemchr.c: New file.
8042
d9a4d2ab
UD
8043 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8044 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8045 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8046 when compiling str{,n}casecmp and when AVX is available. Hook up
8047 new optimized code in initializers.
8048
8f3b1ffe
AS
80492011-10-19 Andreas Schwab <schwab@redhat.com>
8050
8051 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8052 __feraiseexcept instead of feraiseexcept.
8053
d38f1dba
UD
80542011-10-18 Ulrich Drepper <drepper@gmail.com>
8055
d9a8d0ab
UD
8056 * math/math_private.h: Define defaults for libc_fetestexcept and
8057 libc_feupdateenv.
8058 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8059 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8060 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8061 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8062 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8063 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8064 libc_fetestexcept and libc_feupdateenv.
8065
4855e3dd
UD
8066 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8067 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8068 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8069 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8070 libc_feholdexcept_setround.
8071
581d30e3
UD
8072 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8073 Add s_nearbyint-c and s_nearbyintf-c.
8074 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8075 nearbyintf inlines.
8076 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8077 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8078 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8079 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8080
d38f1dba
UD
8081 * math/math_private.h: Define defaults for libc_fegetround,
8082 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8083 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8084 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8086 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8087 standard functions.
8088 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8089 Remove comments and hacks for old compiler versions.
8090 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8091 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8092 libc_feholdexceptl.
8093
caa6c9d8
AS
80942011-10-18 Andreas Schwab <schwab@redhat.com>
8095
8096 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8097 (__feraiseexcept_renamed): Add __NTH.
8098 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8099 namespace violations.
8100
97c066e6
UD
81012011-10-17 Ulrich Drepper <drepper@gmail.com>
8102
99ce7b04
UD
8103 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8104
1004d182
UD
8105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8106
228a984d
UD
8107 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8108 recently added interfaces.
8109 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8110
c8553a6a
UD
8111 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8112 about macro parameter expansion.
8113
ed22dcf6
UD
8114 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8115 __NO_MATH_INLINES is defined. Cleanups.
8116
8117 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8118 and __floorf is target has SSE4.1.
8119 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8120 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8121 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8122 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8123
b171c137
UD
8124 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8125 name.
8126 (floorf): Likewise.
8127
97c066e6
UD
8128 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8129
629f62ef
AS
81302011-10-17 Andreas Schwab <schwab@redhat.com>
8131
49a43d80
AS
8132 * misc/sys/cdefs.h: Fix last change.
8133
629f62ef
AS
8134 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8135 database lookup.
8136
e453f6cd
UD
81372011-10-16 Ulrich Drepper <drepper@gmail.com>
8138
aa78043a
UD
8139 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8140
ad0f5cad
UD
8141 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8147 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8148 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8149 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8150 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8151 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8152 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8153 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8154 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8155 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8156 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8157 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8159 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8160 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8161 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8162 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8163
8164 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8165 ceil, ceilf, floor, floorf.
8166
8167 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8168 Perform IRELATIVE relocations last.
8169
e453f6cd
UD
8170 * elf/do-rel.h: Add another parameter nrelative, replacing the
8171 local variable with the same name. Change name of the function
8172 to end in Rel or Rela (uppercase).
8173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8174 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8175 elf_dynamic_do_##reloc function.
8176
fd5bdc09
UD
81772011-10-15 Ulrich Drepper <drepper@gmail.com>
8178
79b195b5
UD
8179 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8180 is sufficient, at least on modern CPUs.
8181
d4a28569
UD
8182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8183
b61099b5
UD
8184 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8186
bcf01e6d
UD
8187 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8188 __expl_finite.
8189 * math/bits/math-finite.h: Add entries for exp.
8190 * math/e_expl.c: Add __*_finite alias.
8191 * sysdeps/i386/fpu/e_exp.S: Likewise.
8192 * sysdeps/i386/fpu/e_expf.S: Likewise.
8193 * sysdeps/i386/fpu/e_expl.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8195 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8201
ba1a0d59
UD
8202 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8203 is sufficient, at least on modern CPUs.
8204
fd5bdc09
UD
8205 * ctype/ctype-info.c (__ctype_init): Define.
8206 * include/ctype.h (__ctype_init): Declare.
8207 (__ctype_b_loc): The variable is always initialized.
8208 (__ctype_toupper_loc): Likewise.
8209 (__ctype_tolower_loc): Likewise.
8210 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8211 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8212
7872cfb0
AS
82132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8214
b468825a
AS
8215 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8216
7872cfb0
AS
8217 * configure.in: Also look in $cxxmachine/include for C++ system
8218 headers.
8219
be13f7bf
LD
82202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8221
8222 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8223 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8224 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8225 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8226 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8227 (USE_AS_WMEMCMP): New macro.
8228 Fixing indents.
8229 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8230 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8231 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8232 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8234 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8235 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8236 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8237 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8238 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8239 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8240 (USE_AS_WMEMCMP): New macro.
8241 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8242 * sysdeps/string/test-memcmp.c: Update.
8243 Fix simple_wmemcmp.
8244 Add new tests.
8245 * wcsmbs/wmemcmp.c: Update.
8246 (WMEMCMP): New macro.
8247 Fix overflow bug.
8248
556a2007
AJ
82492011-10-12 Andreas Jaeger <aj@suse.de>
8250
8251 [BZ #13268]
8252 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8253
538faaa7
UD
82542011-10-15 Ulrich Drepper <drepper@gmail.com>
8255
ab6737ff
UD
8256 * libio/iofwide.c (do_length): Avoid warning.
8257
538faaa7
UD
8258 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8259
396a21b1
UD
82602011-10-14 Ulrich Drepper <drepper@gmail.com>
8261
cdf2901f
UD
8262 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8263
38ad40ce
UD
8264 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8265 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8266 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8267 * sysdeps/i386/i686/fpu/e_log.S: New file.
8268 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8269 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8270
396a21b1
UD
8271 * ctype/ctype.h: Add support for inlined isXXX functions when
8272 compiling C++ code.
8273
6b1f68c9
AS
82742011-10-14 Andreas Schwab <schwab@redhat.com>
8275
349290c0
AS
8276 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8277
6b1f68c9
AS
8278 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8279
f2282d42
RM
82802011-10-13 Roland McGrath <roland@hack.frob.com>
8281
8282 [BZ #13291]
8283 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8284
5298ffa8
AS
82852011-10-13 Andreas Schwab <schwab@redhat.com>
8286
714fad23
AS
8287 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8288 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8289 feraiseexcept.
8290
81dcc7fb
AS
8291 * sysdeps/x86_64/memrchr.S: Check for zero size.
8292
5298ffa8
AS
8293 * string/stratcliff.c: Add memrchr tests.
8294
951fbcec
LD
82952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8296
8297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8298 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8299 rawmemchr-sse2 rawmemchr-sse2-bsf.
8300 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8301 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8302 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8303 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8304 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8305 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8306 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8307 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8308 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8309 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8310 * string/memrchr.c (MEMRCHR): New macro.
8311
0ac5ae23
UD
83122011-10-12 Ulrich Drepper <drepper@gmail.com>
8313
8314 Add integration with gcc's -ffinite-math-only and optimize wrapper
8315 functions in libm.
8316 * Versions.def: Define GLIBC_2.15 version for libm.
8317 * math/Makefile (headers): Add bits/math-finite.h.
8318 * math/bits/math-finite.h: New file.
8319 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8320 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8321 * math/e_acoshl.c: Add __*_finite alias.
8322 * math/e_acosl.c: Likewise.
8323 * math/e_asinl.c: Likewise.
8324 * math/e_atan2l.c: Likewise.
8325 * math/e_atanhl.c: Likewise.
8326 * math/e_coshl.c: Likewise.
8327 * math/e_exp10.c: Likewise.
8328 * math/e_exp10f.c: Likewise.
8329 * math/e_exp10l.c: Likewise.
8330 * math/e_exp2l.c: Likewise.
8331 * math/e_fmodl.c: Likewise.
8332 * math/e_gammal_r.c: Likewise.
8333 * math/e_hypotl.c: Likewise.
8334 * math/e_j0l.c: Likewise.
8335 * math/e_j1l.c: Likewise.
8336 * math/e_jnl.c: Likewise.
8337 * math/e_lgammal_r.c: Likewise.
8338 * math/e_log10l.c: Likewise.
8339 * math/e_log2l.c: Likewise.
8340 * math/e_logl.c: Likewise.
8341 * math/e_powl.c: Likewise.
8342 * math/e_sinhl.c: Likewise.
8343 * math/e_sqrtl.c: Likewise.
8344 * math/e_scalb.c: Completely rewritten and optimized.
8345 * math/e_scalbf.c: Likewise.
8346 * math/e_scalbl.c: Likewise.
8347 * math/w_acos.c: Likewise.
8348 * math/w_acosf.c: Likewise.
8349 * math/w_acosl.c: Likewise.
8350 * math/w_acosh.c: Likewise.
8351 * math/w_acoshf.c: Likewise.
8352 * math/w_acoshl.c: Likewise.
8353 * math/w_asin.c: Likewise.
8354 * math/w_asinf.c: Likewise.
8355 * math/w_asinl.c: Likewise.
8356 * math/w_atan2.c: Likewise.
8357 * math/w_atan2f.c: Likewise.
8358 * math/w_atan2l.c: Likewise.
8359 * math/w_atanh.c: Likewise.
8360 * math/w_atanhf.c: Likewise.
8361 * math/w_atanhl.c: Likewise.
8362 * math/w_exp10.c: Likewise.
8363 * math/w_exp10f.c: Likewise.
8364 * math/w_exp10l.c: Likewise.
8365 * math/w_fmod.c: Likewise.
8366 * math/w_fmodf.c: Likewise.
8367 * math/w_fmodl.c: Likewise.
8368 * math/w_j0.c: Likewise.
8369 * math/w_j0f.c: Likewise.
8370 * math/w_j0l.c: Likewise.
8371 * math/w_j1.c: Likewise.
8372 * math/w_j1f.c: Likewise.
8373 * math/w_j1l.c: Likewise.
8374 * math/w_jn.c: Likewise.
8375 * math/w_jnf.c: Likewise.
8376 * math/w_log.c: Likewise.
8377 * math/w_logf.c: Likewise.
8378 * math/w_logl.c: Likewise.
8379 * math/w_log10.c: Likewise.
8380 * math/w_log10f.c: Likewise.
8381 * math/w_log10l.c: Likewise.
8382 * math/w_log2.c: Likewise.
8383 * math/w_log2f.c: Likewise.
8384 * math/w_log2l.c: Likewise.
8385 * math/w_pow.c: Likewise.
8386 * math/w_powf.c: Likewise.
8387 * math/w_powl.c: Likewise.
8388 * math/w_remainder.c: Likewise.
8389 * math/w_remainderf.c: Likewise.
8390 * math/w_remainderl.c: Likewise.
8391 * math/w_scalb.c: Likewise.
8392 * math/w_scalbf.c: Likewise.
8393 * math/w_scalbl.c: Likewise.
8394 * math/w_sqrt.c: Likewise.
8395 * math/w_sqrtf.c: Likewise.
8396 * math/w_sqrtl.c: Likewise.
8397 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8398 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8399 used.
8400 * math/math_private.h: Declare __kernel_standard_f.
8401 * math/w_cosh.c: Remove cruft and optimize a bit.
8402 * math/w_coshf.c: Likewise.
8403 * math/w_coshl.c: Likewise.
8404 * math/w_exp2.c: Likewise.
8405 * math/w_exp2f.c: Likewise.
8406 * math/w_exp2l.c: Likewise.
8407 * math/w_hypot.c: Likewise.
8408 * math/w_hypotf.c: Likewise.
8409 * math/w_hypotl.c: Likewise.
8410 * math/w_lgamma.c: Likewise.
8411 * math/w_lgamma_r.c: Likewise.
8412 * math/w_lgammaf.c: Likewise.
8413 * math/w_lgammaf_r.c: Likewise.
8414 * math/w_lgammal.c: Likewise.
8415 * math/w_lgammal_r.c: Likewise.
8416 * math/w_sinh.c: Likewise.
8417 * math/w_sinhf.c: Likewise.
8418 * math/w_sinhl.c: Likewise.
8419 * math/w_tgamma.c: Likewise.
8420 * math/w_tgammaf.c: Likewise.
8421 * math/w_tgammal.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8424 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8425 Minor optimizations. Pretty printing. Remove cruft.
8426 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8430 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8431 * sysdeps/i386/fpu/e_asin.S: Likewise.
8432 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8433 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8434 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8435 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8436 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8437 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8438 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8439 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8440 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8441 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8442 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8443 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8444 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8445 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8446 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8447 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8448 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8449 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8450 * sysdeps/i386/fpu/e_log.S: Likewise.
8451 * sysdeps/i386/fpu/e_log10.S: Likewise.
8452 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8454 * sysdeps/i386/fpu/e_log2.S: Likewise.
8455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8457 * sysdeps/i386/fpu/e_logf.S: Likewise.
8458 * sysdeps/i386/fpu/e_logl.S: Likewise.
8459 * sysdeps/i386/fpu/e_pow.S: Likewise.
8460 * sysdeps/i386/fpu/e_powf.S: Likewise.
8461 * sysdeps/i386/fpu/e_powl.S: Likewise.
8462 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8463 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8464 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8465 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8468 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8469 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8470 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8492 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8495 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8496 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8497 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8498 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8499 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8500 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8501 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8502 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8504 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8505 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8506 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8507 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8508 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8509 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8510 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8511 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8512 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8554 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8556 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8559 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8564 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8565 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8566 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8567 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8568 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8569 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8570 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8571 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8572 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8573 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8574 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8575 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8578 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8579 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8580 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8581 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8582 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8583 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8584 (__isnanf): Likewise.
8585 (__isinf_ns): Likewise.
8586 (__isinf_nsf): Likewise.
8587 (__finite): Likewise.
8588 (__finitef): Likewise.
8589 (__ieee754_sqrt): Define as macro.
8590 (__ieee754_sqrtf): Define as macro.
8591 (__ieee754_sqrtl): Define as macro.
8592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8593 inlined copy.
8594 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8595 __FINITE_MATH_ONLY__ consistent.
8596 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8597
12cc2fcd
AS
85982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8599
a843a204
AS
8600 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8601 of rawmemchr.
8602
12cc2fcd
AS
8603 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8604
c853acd5
UD
86052011-10-09 Ulrich Drepper <drepper@gmail.com>
8606
8607 * po/ja.po: Update from translation team.
8608
c658d255
RM
86092011-10-08 Roland McGrath <roland@hack.frob.com>
8610
110946e4
RM
8611 * locale/programs/locarchive.c (prepare_address_space): New function.
8612 (create_archive, enlarge_archive, open_archive): Use it.
8613
50604220
RM
8614 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8615 inside [SHARED], where it is used.
8616
c658d255
RM
8617 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8618
8619 * nss/getent.c (netgroup_keys): Remove unused variable.
8620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8621
6a621eb7
UD
86222011-10-08 Ulrich Drepper <drepper@gmail.com>
8623
7edb55ce
UD
8624 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8625 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8627 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8628 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8629 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8630 * math/Makefile (libm-calls): Add s_isinf_ns.
8631 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8632 * math/multc3.c: Likewise.
8633 * math/s_casin.c: Likewise.
8634 * math/s_casinf.c: Likewise.
8635 * math/s_casinl.c: Likewise.
8636 * math/s_ccos.c: Likewise.
8637 * math/s_ccosf.c: Likewise.
8638 * math/s_ccosl.c: Likewise.
8639 * math/s_ctan.c: Likewise.
8640 * math/s_ctanf.c: Likewise.
8641 * math/s_ctanh.c: Likewise.
8642 * math/s_ctanhf.c: Likewise.
8643 * math/s_ctanhl.c: Likewise.
8644 * math/s_ctanl.c: Likewise.
8645 * math/w_fmod.c: Likewise.
8646 * math/w_fmodf.c: Likewise.
8647 * math/w_fmodl.c: Likewise.
8648 * math/w_remainder.c: Likewise.
8649 * math/w_remainderf.c: Likewise.
8650 * math/w_remainderl.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8652 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8655 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8656 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8657 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8658 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8659
187da0ae
UD
8660 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8661 of the number.
8662 * stdio-common/printf_fphex.c: Likewise.
8663 * stdio-common/printf_size.c: Likewise.
8664
9277c064
UD
8665 * math/e_exp10.c: Include math_private.h using <...> not "...".
8666 * math/e_exp10f.c: Likewise.
8667 * math/e_exp10l.c: Likewise.
8668 * math/e_exp2l.c: Likewise.
8669 * math/e_j0l.c: Likewise.
8670 * math/e_j1l.c: Likewise.
8671 * math/e_jnl.c: Likewise.
8672 * math/e_lgammal_r.c: Likewise.
8673 * math/e_rem_pio2l.c: Likewise.
8674 * math/e_scalb.c: Likewise.
8675 * math/e_scalbf.c: Likewise.
8676 * math/e_scalbl.c: Likewise.
8677 * math/k_cosl.c: Likewise.
8678 * math/k_sinl.c: Likewise.
8679 * math/k_tanl.c: Likewise.
8680 * math/s_cacoshf.c: Likewise.
8681 * math/s_catan.c: Likewise.
8682 * math/s_catanf.c: Likewise.
8683 * math/s_catanh.c: Likewise.
8684 * math/s_catanhf.c: Likewise.
8685 * math/s_catanhl.c: Likewise.
8686 * math/s_catanl.c: Likewise.
8687 * math/s_ccosh.c: Likewise.
8688 * math/s_ccoshf.c: Likewise.
8689 * math/s_ccoshl.c: Likewise.
8690 * math/s_cexp.c: Likewise.
8691 * math/s_cexpf.c: Likewise.
8692 * math/s_cexpl.c: Likewise.
8693 * math/s_clog.c: Likewise.
8694 * math/s_clog10.c: Likewise.
8695 * math/s_clog10f.c: Likewise.
8696 * math/s_clog10l.c: Likewise.
8697 * math/s_clogf.c: Likewise.
8698 * math/s_clogl.c: Likewise.
8699 * math/s_csin.c: Likewise.
8700 * math/s_csinf.c: Likewise.
8701 * math/s_csinh.c: Likewise.
8702 * math/s_csinhf.c: Likewise.
8703 * math/s_csinhl.c: Likewise.
8704 * math/s_csinl.c: Likewise.
8705 * math/s_csqrt.c: Likewise.
8706 * math/s_csqrtf.c: Likewise.
8707 * math/s_csqrtl.c: Likewise.
8708 * math/s_ctan.c: Likewise.
8709 * math/s_ctanf.c: Likewise.
8710 * math/s_ctanh.c: Likewise.
8711 * math/s_ctanhf.c: Likewise.
8712 * math/s_ctanhl.c: Likewise.
8713 * math/s_ctanl.c: Likewise.
8714 * math/s_ldexp.c: Likewise.
8715 * math/s_ldexpf.c: Likewise.
8716 * math/s_ldexpl.c: Likewise.
8717 * math/s_significand.c: Likewise.
8718 * math/s_significandf.c: Likewise.
8719 * math/s_significandl.c: Likewise.
8720 * math/w_acos.c: Likewise.
8721 * math/w_acosf.c: Likewise.
8722 * math/w_acosh.c: Likewise.
8723 * math/w_acoshf.c: Likewise.
8724 * math/w_acoshl.c: Likewise.
8725 * math/w_acosl.c: Likewise.
8726 * math/w_asin.c: Likewise.
8727 * math/w_asinf.c: Likewise.
8728 * math/w_asinl.c: Likewise.
8729 * math/w_atan2.c: Likewise.
8730 * math/w_atan2f.c: Likewise.
8731 * math/w_atan2l.c: Likewise.
8732 * math/w_atanh.c: Likewise.
8733 * math/w_atanhf.c: Likewise.
8734 * math/w_atanhl.c: Likewise.
8735 * math/w_cosh.c: Likewise.
8736 * math/w_coshf.c: Likewise.
8737 * math/w_coshl.c: Likewise.
8738 * math/w_dremf.c: Likewise.
8739 * math/w_exp10.c: Likewise.
8740 * math/w_exp10f.c: Likewise.
8741 * math/w_exp10l.c: Likewise.
8742 * math/w_exp2.c: Likewise.
8743 * math/w_exp2f.c: Likewise.
8744 * math/w_fmod.c: Likewise.
8745 * math/w_fmodf.c: Likewise.
8746 * math/w_fmodl.c: Likewise.
8747 * math/w_hypot.c: Likewise.
8748 * math/w_hypotf.c: Likewise.
8749 * math/w_hypotl.c: Likewise.
8750 * math/w_j0.c: Likewise.
8751 * math/w_j0f.c: Likewise.
8752 * math/w_j0l.c: Likewise.
8753 * math/w_j1.c: Likewise.
8754 * math/w_j1f.c: Likewise.
8755 * math/w_j1l.c: Likewise.
8756 * math/w_jn.c: Likewise.
8757 * math/w_jnf.c: Likewise.
8758 * math/w_jnl.c: Likewise.
8759 * math/w_lgamma.c: Likewise.
8760 * math/w_lgamma_r.c: Likewise.
8761 * math/w_lgammaf.c: Likewise.
8762 * math/w_lgammaf_r.c: Likewise.
8763 * math/w_lgammal.c: Likewise.
8764 * math/w_lgammal_r.c: Likewise.
8765 * math/w_log.c: Likewise.
8766 * math/w_log10.c: Likewise.
8767 * math/w_log10f.c: Likewise.
8768 * math/w_log10l.c: Likewise.
8769 * math/w_log2.c: Likewise.
8770 * math/w_log2f.c: Likewise.
8771 * math/w_log2l.c: Likewise.
8772 * math/w_logf.c: Likewise.
8773 * math/w_logl.c: Likewise.
8774 * math/w_pow.c: Likewise.
8775 * math/w_powf.c: Likewise.
8776 * math/w_powl.c: Likewise.
8777 * math/w_remainder.c: Likewise.
8778 * math/w_remainderf.c: Likewise.
8779 * math/w_remainderl.c: Likewise.
8780 * math/w_scalb.c: Likewise.
8781 * math/w_scalbf.c: Likewise.
8782 * math/w_scalbl.c: Likewise.
8783 * math/w_sinh.c: Likewise.
8784 * math/w_sinhf.c: Likewise.
8785 * math/w_sinhl.c: Likewise.
8786 * math/w_sqrt.c: Likewise.
8787 * math/w_sqrtf.c: Likewise.
8788 * math/w_sqrtl.c: Likewise.
8789 * math/w_tgamma.c: Likewise.
8790 * math/w_tgammaf.c: Likewise.
8791 * math/w_tgammal.c: Likewise.
8792
6a621eb7
UD
8793 * po/ja.po: Update from translation team.
8794
bf582445
AJ
87952011-09-29 Andreas Jaeger <aj@suse.de>
8796
f9efbf3a
AJ
8797 [BZ #13179]
8798 * sunrpc/netname.c (netname2host): Fix logic.
8799
bf582445
AJ
8800 [BZ #6779]
8801 [BZ #6783]
8802 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8803 correctly.
8804 * math/w_remainder.c (__remainder): Likewise.
8805 * math/w_remainderf.c (__remainderf): Likewise.
8806 * math/libm-test.inc (remainder_test): Add test cases.
8807
48693bea
AK
88082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8809
8810 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8811 sdiv_qrnnd.
8812
42622229
LD
88132011-10-07 Ulrich Drepper <drepper@gmail.com>
8814
8815 * string/test-memcmp.c: Avoid unncessary #defines.
8816 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8817
093ecf92
LD
88182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8819
8820 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8821 Use new sse2 version for core i3 - i7 as it's faster
8822 than sse42 version.
8823 (bit_Prefer_PMINUB_for_stringop): New.
8824 * sysdeps/x86_64/rawmemchr.S: Update.
8825 Replace with faster SSE2 version.
8826 * sysdeps/x86_64/memrchr.S: New file.
8827 * sysdeps/x86_64/memchr.S: Update.
8828 Replace with faster SSE2 version.
8829
fde56e5c
MP
88302011-09-12 Marek Polacek <mpolacek@redhat.com>
8831
8832 * elf/dl-load.c (lose): Add cast to avoid warning.
8833
21fd49a9
UD
88342011-10-07 Ulrich Drepper <drepper@gmail.com>
8835
5a06e643
UD
8836 * po/ca.po: Update from translation team.
8837
684ae515
UD
8838 * inet/getnetgrent_r.c: Hook up nscd.
8839 * nscd/Makefile (routines): Add nscd_netgroup.
8840 (nscd-modules): Add netgroupcache.
8841 (CFLAGS-netgroupcache.c): Define.
8842 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8843 (cache_search): Add const to second parameter.
8844 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8845 INNETGR.
8846 (dbs): Add netgrdb entry.
8847 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8848 (verify_persistent_db): Handle netgrdb.
8849 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8850 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8851 GETFDNETGR.
8852 (netgroup_response_header): Define.
8853 (innetgroup_response_header): Define.
8854 (datahead): Add netgroup_response_header and innetgroup_response_header
8855 elements.
8856 * nscd/nscd.conf: Add entries for netgroup cache.
8857 * nscd/nscd.h (dbtype): Add netgrdb.
8858 (_PATH_NSCD_NETGROUP_DB): Define.
8859 (netgroup_iov_disabled): Declare.
8860 (xmalloc, xcalloc, xrealloc): Move declarations here.
8861 (cache_search): Adjust prototype.
8862 Add netgroup-related prototypes.
8863 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8864 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8865 (__nscd_innetgr): Declare.
8866 * nscd/selinux.c (perms): Use access_vector_t as element type and
8867 add netgroup-related initializers.
8868 * nscd/netgroupcache.c: New file.
8869 * nscd/nscd_netgroup.c: New file.
8870 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8871 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8872 For four parameters use innetgr.
8873 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8874 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8875 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8876 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8877
21fd49a9
UD
8878 * nscd/connections.c (register_traced_file): Don't register file
8879 for disabled databases.
8880
054c0457
UD
88812011-10-06 Ulrich Drepper <drepper@gmail.com>
8882
32b63198
UD
8883 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8884
054c0457
UD
8885 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8886 from tree and freeing node.
8887
64031225
JO
88882011-09-25 Jiri Olsa <jolsa@redhat.com>
8889
8890 * nss/nsswitch.c (__nss_database_lookup): Handle
8891 nss_parse_service_list out of memory case.
8892
0490345c
JO
88932011-09-15 Jiri Olsa <jolsa@redhat.com>
8894
8895 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8896 out of memory case.
8897
3a62d00d
AS
88982011-10-04 Andreas Schwab <schwab@redhat.com>
8899
8900 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8901 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8902 pass it down.
8903 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8904 elf_machine_rela, elf_machine_lazy_rel.
8905 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8906 (ELF_DYNAMIC_DO_REL): Likewise.
8907 (ELF_DYNAMIC_DO_RELA): Likewise.
8908 (ELF_DYNAMIC_RELOCATE): Likewise.
8909 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8910 to ELF_DYNAMIC_DO_REL.
8911 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8912 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8913 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8914 elf_machine_rela.
8915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8916 skip_ifunc, don't call ifunc function if non-zero.
8917 (elf_machine_rela): Likewise.
8918 (elf_machine_lazy_rel): Likewise.
8919 (elf_machine_lazy_rela): Likewise.
8920 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8921 (elf_machine_lazy_rel): Likewise.
8922 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8923 Likewise.
8924 (elf_machine_lazy_rel): Likewise.
8925 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8926 Likewise.
8927 (elf_machine_lazy_rel): Likewise.
8928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8929 (elf_machine_lazy_rel): Likewise.
8930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8931 (elf_machine_lazy_rel): Likewise.
8932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8933 (elf_machine_lazy_rel): Likewise.
8934 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8935 (elf_machine_lazy_rel): Likewise.
8936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8937 (elf_machine_lazy_rel): Likewise.
8938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8939 (elf_machine_lazy_rel): Likewise.
8940
68577918
UD
89412011-09-28 Ulrich Drepper <drepper@gmail.com>
8942
8943 * nss/nss_files/files-init.c (_nss_files_init): Use static
8944 initialization for all the *_traced_file variables.
8945
68822d74
AS
89462011-09-28 Andreas Schwab <schwab@redhat.com>
8947
8948 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8949
2056100b
RM
89502011-09-27 Roland McGrath <roland@hack.frob.com>
8951
8952 [BZ #13226]
8953 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8954
32c76b63
AS
89552011-09-27 Andreas Schwab <schwab@redhat.com>
8956
8957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8958 Reread the line before reparsing it.
8959
bf972c9d
AS
89602011-09-26 Andreas Schwab <schwab@redhat.com>
8961
8962 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8963
e057a1b5
JM
89642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8965 Maxim Kuvyrkov <maxim@codesourcery.com>
8966 Joseph Myers <joseph@codesourcery.com>
8967
8968 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8969 if needed for __stack_chk_guard.
8970
bc7e1c36
RM
89712011-09-19 Roland McGrath <roland@hack.frob.com>
8972
ecb1482f
RM
8973 * sysdeps/posix/spawni.c (script_execute): Always define it.
8974 It will be optimized away if unused.
8975 (maybe_script_execute): New function.
8976 (__spawni): Call it.
8977
bc7e1c36
RM
8978 * Makerules: Don't include tls.make.
8979 (config-tls): Always set to thread.
8980 * tls.make.c: File removed.
8981
1c3b002b
MF
89822011-09-19 Mike Frysinger <vapier@gentoo.org>
8983
8984 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8985 * config.make.in (CPPFLAGS-config): New substituted variable.
8986
2840865d
UD
89872011-09-15 Ulrich Drepper <drepper@gmail.com>
8988
88738eb6
UD
8989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8990
cbf645a6 8991 [BZ #13192]
2840865d
UD
8992 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8993 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8994
b402e91a
RM
89952011-09-15 Roland McGrath <roland@hack.frob.com>
8996
8997 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8998 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9000 (CALL_FAIL): Likewise.
9001 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9002 (CALL_FAIL): Macro removed.
9003 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9004
4c1a1f71
UD
90052011-09-15 Ulrich Drepper <drepper@gmail.com>
9006
9007 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9008 for __FINITE_MATH_ONLY__ == 1.
9009
edc121be
AS
90102011-09-15 Andreas Schwab <schwab@redhat.com>
9011
9012 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9013 __ieee754_sqrt instead of sqrt.
9014 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9015 __ieee754_sqrtf instead of sqrtf.
9016 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9017 __floorf instead of floorf.
9018 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9019 __floorf, __truncf instead of floorf, truncf.
9020
cd205654
UD
90212011-09-14 Ulrich Drepper <drepper@gmail.com>
9022
ee4d0315
UD
9023 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9024
cd205654
UD
9025 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9026 __extern_always_inline.
9027 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9028 32-bit.
9029
48b67d71
AS
90302011-09-14 Andreas Schwab <schwab@redhat.com>
9031
9032 * elf/rtld.c (dl_main): Also relocate in dependency order when
9033 doing symbol dependency testing.
9034
1ae12c75
AS
90352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9036
9037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9038 Always define `refsym'.
9039
995a80df
AS
90402011-09-13 Andreas Schwab <schwab@redhat.com>
9041
e529793b
AS
9042 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9043 (__FD_ELT): Renamed from __FDELT.
9044 * misc/bits/select2.h (__FD_ELT): Likewise.
9045 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9046 __FD_MASK instead of __FDELT, __FDMASK.
9047 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9048 Likewise.
9049 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9050 Likewise.
9051
52d4fef8
AS
9052 * elf/Makefile (gen-ldd): Fix pattern.
9053
995a80df
AS
9054 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9055 (init_tls): Likewise.
9056
8682f8b0
UD
90572011-09-12 Ulrich Drepper <drepper@gmail.com>
9058
9059 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9060
de82006d
AS
90612011-09-12 Andreas Schwab <schwab@redhat.com>
9062
a7c8e6a1
AS
9063 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9064 `struct cmsghdr *' instead of `void *'.
9065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9066 Likewise.
9067
0f31fe77
AS
90682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9071 if non-absolute.
9072 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9073 ldd_rewrite_script.
0f31fe77 9074
32b4c839
UD
90752011-09-11 Ulrich Drepper <drepper@gmail.com>
9076
83cd1420
UD
9077 * configure.in: Remove --with-tls option.
9078 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9079 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9080 out in case it is missing.
9081 * sysdeps/ia64/elf/configure.in: Likewise.
9082 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9083 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9084 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9085 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9086 * sysdeps/sh/elf/configure.in: Likewise.
9087 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9088 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9089 * sysdeps/x86_64/elf/configure.in: Likewise.
9090 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9091 * sysdeps/mach/hurd/tls.h: Likewise.
9092
633f745d
UD
9093 [BZ #13067]
9094 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9095
f318beb8
UD
9096 [BZ #13090]
9097 * configure.in: Fix use of AC_INIT.
9098
32b4c839
UD
9099 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9100
3ce1f295
UD
91012011-09-10 Ulrich Drepper <drepper@gmail.com>
9102
bb016596
UD
9103 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9104 __set_errno.
8e58439c
UD
9105 * malloc/hooks.c: Likewise.
9106
aebae053 9107 [BZ #11929]
02d46fc4
UD
9108 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9109 variables statically.
9110 (narenas): Initialize.
9111 (list_lock): Initialize.
bb016596
UD
9112 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9113 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9114 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9115 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9116 Add initializers to main_arena and mp_.
9117 (malloc_state): Remove pagesize member. Change all users to use
9118 GLRO(dl_pagesize).
9119
9120 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9121 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9122 is always initialized.
9123
22a89187
UD
9124 * malloc/malloc.c: Removed unused configurations and dead code.
9125 * malloc/arena.c: Likewise.
9126 * malloc/hooks.c: Likewise.
02d46fc4 9127 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9128
d063d164
UD
9129 * include/tls.h: Removed. USE___THREAD must always be defined.
9130 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9131 * elf/dl-libc.c: Likewise.
9132 * elf/dl-tsd.c: Likewise.
9133 * include/errno.h: Likewise.
9134 * include/netdb.h: Likewise.
9135 * include/resolv.h: Likewise.
9136 * inet/herrno-loc.c: Likewise.
9137 * inet/herrno.c: Likewise.
9138 * malloc/arena.c: Likewise.
9139 * malloc/hooks.c: Likewise.
9140 * malloc/malloc.c: Likewise.
9141 * resolv/res-state.c: Likewise.
9142 * resolv/res_libc.c: Likewise.
9143 * sysdeps/i386/dl-machine.h: Likewise.
9144 * sysdeps/ia64/dl-machine.h: Likewise.
9145 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9146 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9147 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9148 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9149 * sysdeps/sh/dl-machine.h: Likewise.
9150 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9151 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9152 * sysdeps/unix/i386/sysdep.S: Likewise.
9153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9154 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9159 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9163 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9164 * sysdeps/x86_64/dl-machine.h: Likewise.
9165 * tls.make.c: Likewise.
9166
3ce1f295
UD
9167 * configure.in: Remove --with-__thread option. Make tests for
9168 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9169 tls_model attribute fail if no support is available. Remove
9170 USE_IN_LIBIO.
9171 * Makeconfig: Adjust for dropped configure option. All features are
9172 now mandatory.
9173 * Makerules: Likewise.
9174 * Versions.def: Likewise.
9175 * argp/argp-fmtstream.c: Likewise.
9176 * argp/argp-fmtstream.h: Likewise.
9177 * argp/argp-help.c: Likewise.
9178 * assert/assert.c: Likewise.
9179 * config.h.in: Likewise.
9180 * config.make.in: Likewise.
9181 * configure: Likewise.
9182 * configure.in: Likewise.
9183 * csu/Versions: Likewise.
9184 * csu/init.c: Likewise.
9185 * elf/tst-audit2.c: Likewise.
9186 * elf/tst-tls10.c: Likewise.
9187 * elf/tst-tls10.h: Likewise.
9188 * elf/tst-tls11.c: Likewise.
9189 * elf/tst-tls12.c: Likewise.
9190 * elf/tst-tls14.c: Likewise.
9191 * elf/tst-tlsmod11.c: Likewise.
9192 * elf/tst-tlsmod12.c: Likewise.
9193 * elf/tst-tlsmod13.c: Likewise.
9194 * elf/tst-tlsmod13a.c: Likewise.
9195 * elf/tst-tlsmod14a.c: Likewise.
9196 * elf/tst-tlsmod15b.c: Likewise.
9197 * elf/tst-tlsmod16a.c: Likewise.
9198 * elf/tst-tlsmod16b.c: Likewise.
9199 * elf/tst-tlsmod7.c: Likewise.
9200 * elf/tst-tlsmod8.c: Likewise.
9201 * elf/tst-tlsmod9.c: Likewise.
9202 * gmon/gmon.c: Likewise.
9203 * grp/fgetgrent_r.c: Likewise.
9204 * grp/putgrent.c: Likewise.
9205 * hurd/fopenport.c: Likewise.
9206 * include/libc-symbols.h: Likewise.
9207 * include/tls.h: Likewise.
9208 * intl/gettextP.h: Likewise.
9209 * intl/loadinfo.h: Likewise.
9210 * locale/global-locale.c: Likewise.
9211 * locale/localeinfo.h: Likewise.
9212 * mach/devstream.c: Likewise.
9213 * malloc/arena.c: Likewise.
9214 * malloc/set-freeres.c: Likewise.
9215 * misc/err.c: Likewise.
9216 * misc/getttyent.c: Likewise.
9217 * misc/mntent_r.c: Likewise.
9218 * posix/getopt.c: Likewise.
9219 * posix/wordexp.c: Likewise.
9220 * pwd/fgetpwent_r.c: Likewise.
9221 * resolv/Versions: Likewise.
9222 * resolv/res_hconf.c: Likewise.
9223 * shadow/fgetspent_r.c: Likewise.
9224 * shadow/putspent.c: Likewise.
9225 * stdio-common/printf_fphex.c: Likewise.
9226 * stdio-common/tmpfile.c: Likewise.
9227 * stdlib/abort.c: Likewise.
9228 * stdlib/fmtmsg.c: Likewise.
9229 * sunrpc/auth_unix.c: Likewise.
9230 * sunrpc/clnt_perr.c: Likewise.
9231 * sunrpc/clnt_tcp.c: Likewise.
9232 * sunrpc/clnt_udp.c: Likewise.
9233 * sunrpc/clnt_unix.c: Likewise.
9234 * sunrpc/openchild.c: Likewise.
9235 * sunrpc/svc_simple.c: Likewise.
9236 * sunrpc/svc_tcp.c: Likewise.
9237 * sunrpc/svc_udp.c: Likewise.
9238 * sunrpc/svc_unix.c: Likewise.
9239 * sunrpc/xdr.c: Likewise.
9240 * sunrpc/xdr_array.c: Likewise.
9241 * sunrpc/xdr_rec.c: Likewise.
9242 * sunrpc/xdr_ref.c: Likewise.
9243 * sunrpc/xdr_stdio.c: Likewise.
9244
1248c1c4
PB
92452011-09-09 Ulrich Drepper <drepper@gmail.com>
9246
9247 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9248
92492011-07-03 Andreas Jaeger <aj@suse.de>
9250
9251 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9252 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9253 regenerate with gen-libm-tests.pl.
9254
92552010-05-12 Petr Baudis <pasky@suse.cz>
9256
9257 [BZ #11589]
9258 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9259 around j0() zero points by switching to j1().
9260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9264
f22e1074
UD
92652011-09-09 Ulrich Drepper <drepper@gmail.com>
9266
f19009c1
UD
9267 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9268 instead of 0.
9269 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9270 instead of 0. .
9271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9272 Patch in part by Pavel Roskin <proski@gnu.org>.
9273
3f8cc204
UD
9274 [BZ #13138]
9275 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9276 realloc.
9277 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9278 Free memory block if necessary.
9279
f22e1074
UD
9280 [BZ #12847]
9281 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9282 be NULL. Don't lock in this case.
9283
0a2349f9
RM
92842011-09-09 Roland McGrath <roland@hack.frob.com>
9285
9286 * elf/elf.h (ELFOSABI_GNU): New macro.
9287 (ELFOSABI_LINUX): Define to that.
9288
f3cdd467
DZ
92892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9290
9291 * string/strncat.c (strncat): Undef the symbol in case it has been
9292 defined in bits/string.h.
9293
74718d13
UD
92942011-09-09 Ulrich Drepper <drepper@gmail.com>
9295
633e9e0f
UD
9296 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9297
0a2349f9 9298 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9299 link map.
9300
f9924780
AJ
93012011-08-17 Andreas Jaeger <aj@suse.de>
9302
9303 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9304
7f5517aa
PP
93052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9306 Ian Lance Taylor <iant@google.com>
9307
9308 * math/libm-test.inc (lround_test): New testcase.
9309 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9310
762011fe
UD
93112011-09-08 Ulrich Drepper <drepper@gmail.com>
9312
92963737
UD
9313 * Makefile: Remove support for automatic cvs check-ins.
9314 * Makerules: Likewise.
9315 * config.make.in: Likewise.
9316 * configure.in: Likewise.
9317 * intl/Makefile: Likewise.
9318 * locale/Makefile: Likewise.
9319 * po/Makefile: Likewise.
9320 * posix/Makefile: Likewise.
9321 * sysdeps/gnu/Makefile: Likewise.
9322 * sysdeps/mach/hurd/Makefile: Likewise.
9323 * sysdeps/sparc/sparc32/Makefile: Likewise.
9324
b0727fd8
JS
9325 [BZ #13118]
9326 * posix/Makefile (bug-regex32-ENV): Define.
9327 Patch by John Stanley <jpsinthemix@verizon.net>.
9328
a0f33f99
UD
9329 * misc/Makefile (headers): Add bits/select2.h.
9330 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9331 * misc/bits/select2.h: New file.
9332 * include/bits/select2.h: New file.
9333 * debug/Makefile (routines): Add fdelt_chk.
9334 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9335 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9336 FD_ISSET.
9337 * debug/fdelt_chk.c: New file.
9338
762011fe
UD
9339 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9340 * wcsmbs/test-wmemcmp.c: Likewise.
9341 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9342 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9343
93442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9345
9346 * string/Makefile (strop-tests): Add memcmp.
9347 * string/test-wmemcmp.c: New file.
9348 * string/test-memcmp.c: Add wmemcmp support.
9349
7f513ec8
RM
93502011-09-08 Roland McGrath <roland@hack.frob.com>
9351
0442afb4
RM
9352 [BZ #13153]
9353 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9354 2011-07-19 change.
9355
7f513ec8
RM
9356 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9357 garbage value in a __mach_port_mod_refs call in the cases of the
9358 task-self and thread-self ports.
9359
a12b2239
ST
93602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9361
9362 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9363
610f9ab4
AS
93642011-09-08 Andreas Schwab <schwab@redhat.com>
9365
7f513ec8 9366 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9367
48882a1a
LD
93682011-09-07 Ulrich Drepper <drepper@gmail.com>
9369
b49865be
UD
9370 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9371
fdc86bc9
UD
9372 * elf/dl-libc.c (dlerror_run): Pass back error code from
9373 dl_catch_error.
9374
c966526a
UD
9375 [BZ #13123]
9376 * elf/dl-load.c (lose): Free l_origin if it is valid.
9377
48882a1a
LD
9378 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9379 names.
9380 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9383 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9384 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9385 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9386
77a2a8b4
AZ
93872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9388
9389 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9390 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9391 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9392 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9393 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9394 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9395 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9396 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9397 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9398 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9399
24f579d8
AM
94002011-08-15 Alan Modra <amodra@gmail.com>
9401
9402 [BZ #13092]
9403 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9404 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9405 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9406 ppc_mcount to static-only-routines.
9407 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9408 __mcount_internal.
9409 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9410 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9411
3d4837df
UD
94122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9413
9414 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9415 for finite and infinity parameters.
9416
22700377
WS
94172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9418
9419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9420 and add nop instructions for throughput optimization.
9421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9422
5025581e
WS
94232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9424
9425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9426 aligned copy for power7 with vector-scalar instructions.
9427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9428
08a300c9
L
94292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9430
9431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9432 AVX check.
9433
59178ef9
AS
94342011-09-07 Andreas Schwab <schwab@redhat.com>
9435
9436 [BZ #13144]
9437 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9438 last change.
9439
e38ba7ab
UD
94402011-09-07 Ulrich Drepper <drepper@gmail.com>
9441
9442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9443 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9444 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9445 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9446 clock_gettime.
9447
d53a73ac
UD
94482011-09-06 Ulrich Drepper <drepper@gmail.com>
9449
fc8bffcc
UD
9450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9451 Forgot to demangle the pointer.
9452
ceaa0c5d
UD
9453 * sysdeps/i386/sysdep.h: Define atom_text_section.
9454 * sysdeps/x86_64/sysdep.h: Likewise.
9455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9456 section with atom_text_section.
9457 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9458 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9459 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9461 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9462
a77d3c17
UD
9463 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9464 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9465 already be defined. Change to take two parameters and don't assign
9466 result to variable. Adjust all users.
9467 Define INTERNAL_GETTIME if not already defined.
9468 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9469 call.
9470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9471 HAVE_CLOCK_GETTIME_VSYSCALL.
9472 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9473
d53a73ac
UD
9474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9475 gettimeofday vsyscall, just use time.
9476
a8f84144
AS
94772011-09-06 Andreas Schwab <schwab@redhat.com>
9478
9479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9480 <errno.h>.
9481
ef606249
UD
94822011-09-06 Ulrich Drepper <drepper@gmail.com>
9483
9484 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9485 syscall on x86-64.
9486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9487 syscall.
9488 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9490 syscall if possible.
9491
6585cb60
UD
94922011-09-05 Ulrich Drepper <drepper@gmail.com>
9493
9494 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9495 e_ident. Don't pass to find_mapsXX.
9496 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9497
a5f524e4
LD
94982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9499
9500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9501 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9502 * sysdeps/x86_64/multiarch/strchr.S: Update.
9503 Check bit_slow_BSF bit.
9504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9505 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9506 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9507
554881ef
UD
95082011-09-05 Ulrich Drepper <drepper@gmail.com>
9509
d96de963
UD
9510 [BZ #13134]
9511 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9512 before glibc 2.15.
9513 (tryshell): Define.
9514 (__spawni): Change last parameter to be flag. Test
9515 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9516 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9517 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9518 * posix/spawni.c: Likewise.
9519 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9520 * posix/spawnp.c: Likewise. Change normal version to use
9521 SPAWN_XFLAGS_USE_PATH.
9522 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9523 SPAWN_XFLAGS_TRY_SHELL.
9524
d48e5868
UD
9525 [BZ #13150]
9526 * posix/glob.h: Remove gcc 1.x support.
9527
554881ef
UD
9528 [BZ #13068]
9529 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9530
693fb948
LD
95312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9532
9533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9534 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9535 strrchr-sse2-bsf
9536 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9537 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9538 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9540 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9542
1b48c537
UD
95432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9544
49d42c37
UD
9545 * sysdeps/x86_64/wcscmp.S: New file.
9546
1b48c537
UD
9547 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9548 wcscmp-c wcscmp-sse2
9549 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9550 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9552 * wcsmbs/wcscmp.c: Allow renaming.
9553
15c95c5d
DM
95542011-09-05 David S. Miller <davem@davemloft.net>
9555
9556 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9557 stack slot, rather than the struct return pointer slot.
9558 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9559 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9562
2f0ad8f3
UD
95632011-09-05 Ulrich Drepper <drepper@gmail.com>
9564
d88ae418
UD
9565 * po/ja.po: Update from translation team.
9566
2f0ad8f3
UD
9567 [BZ #13144]
9568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9569 kernel in 64-bit binaries.
9570
5f4318d1
DM
95712011-09-01 David S. Miller <davem@davemloft.net>
9572
9573 * elf/elf.h (HWCAP_SPARC_*): Move to..
9574 * sysdeps/sparc/sysdep.h: this new file and add new values.
9575 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9576 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9577 _DL_HWCAP_COUNT to 24.
9578 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9579 entries.
9580 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9581 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9582 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9584 instead of magic constants.
9585 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9586
3ba57516
DM
95872011-08-31 David S. Miller <davem@davemloft.net>
9588
9589 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9591 Reimplement to do errno handling inline.
9592 (SYSCALL_ERROR_HANDLER): New macro.
9593 (__SYSCALL_STRING): Do not do errno handling in asm.
9594 (__CLONE_SYSCALL_STRING): Delete.
9595 (__INTERNAL_SYSCALL_STRING): Delete.
9596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9597 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9598 (PSEUDO): Reimplement to do errno handling inline.
9599 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9600 (SYSCALL_ERROR_HANDLER): New macro.
9601 (__SYSCALL_STRING): Do not do errno handling in asm.
9602 (__CLONE_SYSCALL_STRING): Delete.
9603 (__INTERNAL_SYSCALL_STRING): Delete.
9604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9605 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9606 i386.
9607 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9608 (inline_syscall*): Add 'err' argument.
9609 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9610 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9611 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9612 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9613
9614 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9615 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9616
2bc17433
AS
96172011-08-30 Andreas Schwab <schwab@redhat.com>
9618
9619 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9620
fbeb5f4d
JO
96212011-08-29 Jiri Olsa <jolsa@redhat.com>
9622
9623 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9624 directive.
9625
ad69cc26
DM
96262011-08-24 David S. Miller <davem@davemloft.net>
9627
9628 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9629
39dd69df
AS
96302011-08-24 Andreas Schwab <schwab@redhat.com>
9631
9632 * elf/Makefile: Add rules to build and run unload8 test.
9633 * elf/unload8.c: New file.
9634 * elf/unload8mod1.c: New file.
9635 * elf/unload8mod1x.c: New file.
9636 * elf/unload8mod2.c: New file.
9637 * elf/unload8mod3.c: New file.
9638
9639 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9640 it wasn't used.
9641
2c0b250a
DM
96422011-08-23 David S. Miller <davem@davemloft.net>
9643
9644 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9645 subtract stack bias.
9646 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9647 %sp not %fp in calculations.
9648 (_JMPBUF_UNWINDS_ADJ): Likewise.
9649
22044b48
DM
9650 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9651 (aio_suspend): Call it to force an exception region around the
9652 AIO_MISC_WAIT() invocation.
9653
2cae4995
AS
96542011-08-23 Andreas Schwab <schwab@redhat.com>
9655
9656 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9657 backslash.
9658
873a772e
AJ
96592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9660
9661 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9662 protection macro.
9663 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9664 and <dl-machine.h>.
9665 (Elf64_FuncDesc): Remove.
9666
25ad0df1
DM
96672011-08-22 David S. Miller <davem@davemloft.net>
9668
9669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9670 sigaltstack check, add missing cfi directives.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9672 missing cfi directives, and sigaltstack handling.
9673
e888bcbe
AS
96742011-08-16 Andreas Schwab <schwab@redhat.com>
9675
9676 [BZ #11724]
9677 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9678 object is seen twice.
9679 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9680
9681 * elf/Makefile (distribute): Add tst-initorder2.c.
9682 (tests): Add tst-initorder2.
9683 (modules-names): Add tst-initorder2a tst-initorder2b
9684 tst-initorder2c tst-initorder2d. Add rules to build them.
9685 ($(objpfx)tst-initorder2.out): New rule.
9686 * elf/tst-initorder2.c: New file.
9687 * elf/tst-initorder2.exp: New file.
9688
87162f46
AS
96892011-08-22 Andreas Schwab <schwab@redhat.com>
9690
70538b7f
AS
9691 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9692
f55ffe58
AS
9693 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9694 dependencies back to end of function.
9695
87162f46
AS
9696 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9697 $(elfobjdir)/ld.so.
9698
91b392a4
UD
96992011-08-21 Ulrich Drepper <drepper@gmail.com>
9700
9701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9702 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9704 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9705 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9706 of __vdso_gettimeofday.
9707 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9708 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9709 attribute_hidden.
9710 (_libc_vdso_platform_setup): Remove initialization of
9711 __vdso_gettimeofday and __vdso_time.
9712
5c43483f
UD
97132011-08-20 Ulrich Drepper <drepper@gmail.com>
9714
775a77e7
UD
9715 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9716 and fgetc_unlocked.
9717 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9718 getc_unlocked.
89f447ed 9719
49c74ba9
UD
9720 * elf/dl-open.c (add_to_global): Report additions to the global scope
9721 for LD_DEBUG=scopes.
9722 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9723 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9724
5c43483f
UD
9725 [BZ #13114]
9726 * stdio-common/Makefile (tests): Add bug24.
9727 * stdio-common/bug24.c: New file.
9728
a101b025
AJ
97292011-08-19 Andreas Jaeger <aj@suse.de>
9730
9731 [BZ #13114]
9732 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9733 non-existant file when using close-on-exec mode.
9734
c88f1766
UD
97352011-08-20 Ulrich Drepper <drepper@gmail.com>
9736
0276a718
UD
9737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9738 the very first instruction.
9739
c88f1766
UD
9740 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9741 the CFI state in the end.
9742 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9743 inclusion of dl-trampoline.h.
9744 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9745
51ccffa0
AS
97462011-08-19 Andreas Schwab <schwab@redhat.com>
9747
94d7165f
AS
9748 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9749 expectations for long double.
9750
51ccffa0
AS
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9752 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9753
fd708658 97542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9755
9756 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9757 artificual limit depends upon the system page size.
9758
44f0a71e
UD
97592011-08-17 Ulrich Drepper <drepper@gmail.com>
9760
9761 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9762 * resolv/Makefile: Define CFLAGS-libresolv.
9763
8de79a24
AS
97642011-08-17 Andreas Schwab <schwab@redhat.com>
9765
9766 * nss/makedb.c (compute_tables): Make variables used in nested
9767 function static.
9768
27724598
UD
97692011-08-17 Ulrich Drepper <drepper@gmail.com>
9770
c5305d88
UD
9771 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9772 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9773 if buffer was too small.
9774
27724598
UD
9775 * elf/pldd.c (main): Attach to all threads in the process.
9776 Rewrite /proc handling to use *at functions.
9777
076fe015
UD
97782011-08-16 Ulrich Drepper <drepper@gmail.com>
9779
174baab3
UD
9780 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9781 specifies first scope to show.
9782 (dl_open_worker): Update callers. Move printing scope of new
9783 object to before the relocation.
44f0a71e 9784 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9785 * sysdeps/generic/ldsodefs.h: Update declaration.
9786
076fe015
UD
9787 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9788 string for the scope number.
9789
a60df2c3
UD
97902011-08-14 Ulrich Drepper <drepper@gmail.com>
9791
9792 * nscd/servicescache.c (cache_addserv): Make sure written is always
9793 initialized.
9794
5e4287d1
RM
97952011-08-14 Roland McGrath <roland@hack.frob.com>
9796
85ae0589
RM
9797 * sysdeps/i386/i486/bits/atomic.h
9798 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9799 statement expression, so as to suppress "set but not used" warning.
9800 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9801
69f63097
RM
9802 * string/strncat.c (STRNCAT): Use prototype definition.
9803
675456ef
RM
9804 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9805 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9806 -Iprograms here.
9807 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9808 (localedef-modules): Add localedef.
9809 (locale-modules): Add locale.
9810
5e4287d1
RM
9811 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9812 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9813 to avoid a warning.
9814
9c96ff23
DM
98152011-08-14 David S. Miller <davem@davemloft.net>
9816
9817 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9818 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9819
f9ddf089
UD
98202011-08-13 Ulrich Drepper <drepper@gmail.com>
9821
44f0a71e 9822 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9823 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9824 * elf/rtld.c (dl_main): Set l_name of vDSO.
9825 Call _dl_show_scope when DL_DEBUG_SCOPES.
9826 (process_dl_debug): Recognize scopes flag and also set it for all.
9827 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9828 Declare _dl_show_scope.
9829
1dc27704
UD
9830 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9831 (do_dlopen): Pass caller_dlopen to dl_open.
9832 (__libc_dlopen_mode): Initialize caller_dlopen.
9833
f9ddf089
UD
9834 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9835 of libc. Make tolower call locale-independent. Optimize a bit by
9836 using isdigit instead of isalnum.
9837 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9838
9ac533d3
UD
98392011-08-12 Ulrich Drepper <drepper@gmail.com>
9840
9841 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9842 was a dependency or dynamically loaded.
9843
89edf2e9
UD
98442011-08-11 Ulrich Drepper <drepper@gmail.com>
9845
8e999d29
UD
9846 * intl/l10nflist.c: Allow architecture-specific pop function.
9847 * sysdeps/x86_64/l10nflist.c: New file.
9848
89edf2e9
UD
9849 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9850 classification.
9851
14d96785
AS
98522011-08-10 Andreas Schwab <schwab@redhat.com>
9853
9854 * include/dirent.h: Add libc_hidden_proto for scandirat and
9855 scandirat64. Don't declare __scandirat64.
9856 * dirent/scandirat.c: Add libc_hidden_def.
9857 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9858 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9859
6761ac04
DM
98602011-08-10 David S. Miller <davem@davemloft.net>
9861
9862 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9863 enum.
9864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9866 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9867
c55fbd1e
UD
98682011-08-09 Ulrich Drepper <drepper@gmail.com>
9869
9870 * Versions.def [libc]: Add GLIBC_2.15.
9871 * dirent/Makefile (routines): Add scandirat and scandirat64.
9872 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9873 GLIBC_2.15.
9874 * dirent/dirent.h: Declare scandirat and scandirat64.
9875 * dirent/scandirat.c: New file.
9876 * dirent/scandirat64.c: New file.
9877 * sysdeps/wordsize-64/scandirat.c: New file.
9878 * sysdeps/wordsize-64/scandirat64.c: New file.
9879 * dirent/opendir.c: Define opendirat.
9880 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9881 using scandirat.
9882 * dirent/scandir64.c: Adjust for scandir.c change.
9883 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9884 __scandirat64, and __scandir_cancel_handler.
9885 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9886 additional parameter and use openat instead of open (outside of ld.so).
9887 Add new __opendir as wrapper around __opendirat.
9888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9889 here without requiring old scandirat implementation.
9890
879165f2
UD
98912011-08-08 Ulrich Drepper <drepper@gmail.com>
9892
9893 * dirent/scandir.c (cancel_handler): Renamed to
9894 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9895 defined. Adjust users.
9896 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9898
cb7e923b
UD
98992011-08-04 Ulrich Drepper <drepper@gmail.com>
9900
16292edd
UD
9901 * string/test-string.h (IMPL): Use __STRING to expand name and then
9902 stringify it.
9903
cb7e923b
UD
9904 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9905 of cleanups.
9906
cff82933
LD
99072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9908
9909 * string/Makefile: Update.
9910 (strop-tests): Append strncat.
9911 * string/test-wcscmp.c: New file.
9912 New comprehensive test for wcscmp.
9913 * string/test-strcmp.c: Update.
9914 (WIDE): New define.
9915
9be9bfcc
AS
99162011-07-22 Andreas Schwab <schwab@redhat.com>
9917
9918 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9919 line.
9920
2e96f1c7
AS
99212011-07-26 Andreas Schwab <schwab@redhat.com>
9922
9923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9924 encoding to ACE if AI_IDN.
9925
85188888
JJ
99262011-08-01 Jakub Jelinek <jakub@redhat.com>
9927
9928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9929 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9930
5fa16e9b
LD
99312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9932
9933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9934 Fix overflow bug in strncat.
9935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9936
9937 * string/test-strncat.c: Update.
9938 Add new tests for checking overflow bugs.
9939
99402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9941
9942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9943 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9944 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9945 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9946 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9947 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9948 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9949 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9950 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9951
9952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9953 (USE_AS_STRCAT): Define.
9954 Add strcat and strncat support.
9955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9956
8c1a459f
AS
99572011-07-25 Andreas Schwab <schwab@redhat.com>
9958
9959 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9960 __n bigger than INT_MAX+1.
9961 (__strncmp_g): Likewise.
9962
bba33c28
UD
99632011-07-23 Ulrich Drepper <drepper@gmail.com>
9964
798be72d
UD
9965 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9966 * libio/stido.h: Likewise.
9967
8accd4dc
UD
9968 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9969 (AF_NFC): Define.
9970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9971 (AF_NFC): Define.
9972
cbff0d96
UD
9973 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9976 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9978
9191c04a
UD
9979 [BZ #13021]
9980 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9981 installed.
9982
bba33c28
UD
9983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9984 typo.
9985 (_dl_x86_64_save_sse): Likewise.
9986
90f139dd
UD
99872011-07-22 Ulrich Drepper <drepper@gmail.com>
9988
1aae088a
UD
9989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9990 OSXSAVE.
9991 (_dl_x86_64_save_sse): Likewise.
9992
8e2045f5
UD
9993 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9994
90f139dd
UD
9995 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9996
1d002f25
AS
99972011-07-21 Andreas Schwab <schwab@redhat.com>
9998
9999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10000 change.
10001 (_dl_x86_64_save_sse): Use correct AVX check.
10002
21137f89
UD
100032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10004
10005 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10006 bug in strncpy/strncat.
10007 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10008
a65c0b7a
UD
100092011-07-21 Ulrich Drepper <drepper@gmail.com>
10010
10011 * string/tester.c (test_strcat): Add tests for different alignments
10012 of source and destination.
10013 (test_strncat): Likewise.
10014
6986b98a
UD
100152011-07-20 Ulrich Drepper <drepper@gmail.com>
10016
90bb2039
UD
10017 [BZ #12852]
10018 * posix/glob.c (glob): Check passed in values before using them in
10019 expressions to avoid some overflows.
10020 (glob_in_dir): Likewise.
10021
5644ef54
UD
10022 [BZ #13007]
10023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10024 check for AVX enablement so that we don't crash with old kernels and
10025 new hardware.
10026 * elf/tst-audit4.c: Add same checks here.
10027 * elf/tst-audit6.c: Likewise.
10028
10029 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10030
bfc9dc9b
AS
100312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10034
702e64bb
UD
100352011-07-20 Ulrich Drepper <drepper@gmail.com>
10036
10037 * po/cs.po: Update from translation team.
10038 * po/bg.po: Likewise.
10039
295e904f
MP
100402011-07-12 Marek Polacek <mpolacek@redhat.com>
10041
10042 * misc/sys/cdefs.h: Add support for const attribute.
10043 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10044 to gnu_dev_{major,minor,makedev} functions.
10045
3ff94596
MP
100462011-07-20 Marek Polacek <mpolacek@redhat.com>
10047
10048 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10049
28b59fca
AS
100502011-07-20 Andreas Schwab <schwab@redhat.com>
10051
10052 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10053 strlen results.
10054
19df733e
AK
100552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10056
10057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10058 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10059 register in order to avoid conflicts with the soft frame pointer
10060 being held in r11 when necessary.
10061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10062 (INTERNAL_VSYSCALL_NCS): Likewise.
10063
c8835729
MP
100642011-07-14 Marek Polacek <mpolacek@redhat.com>
10065
10066 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10067 * elf/dl-fini.c (_dl_fini): Adjust caller.
10068 * elf/dl-close.c (_dl_close_worker): Likewise.
10069 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10070
b902330c
MP
100712011-07-15 Marek Polacek <mpolacek@redhat.com>
10072
8991e135
MP
10073 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10074 "aux_cache->nlibs < 0".
10075
b902330c
MP
10076 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10077 in the reload-count case.
10078
99710781
LD
100792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10080
10081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10082 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10083 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10084 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10085 * sysdeps/x86_64/multiarch/strcat.S: New file.
10086 * sysdeps/x86_64/multiarch/strncat.S: New file.
10087 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10089 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10090 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10092 (USE_AS_STRCAT): Define.
10093 Add strcat and strncat support.
10094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10095 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10096 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10097 * string/strncat.c: Update.
10098 (USE_AS_STRNCAT): Define.
10099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10100 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10101 and i7.
10102 * sysdeps/x86_64/multiarch/init-arch.h
10103 (bit_Prefer_PMINUB_for_stringop): New.
10104 (index_Prefer_PMINUB_for_stringop): Likewise.
10105 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10106 bit_Prefer_PMINUB_for_stringop.
10107
7dc6bd90
UD
101082011-07-19 Ulrich Drepper <drepper@gmail.com>
10109
10110 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10111 buffer64.
10112 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10113 of casting of buffer.
10114 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10115 buffer32 and buffer64.
10116 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10117 writes instead of casting of buffer.
10118 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10119 buffer32.
10120 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10121 casting of buffer.
10122
e0e72284
AS
101232011-07-19 Andreas Schwab <schwab@redhat.com>
10124
10125 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10126
feb1eb0b
UD
101272011-07-19 Ulrich Drepper <drepper@gmail.com>
10128
10129 * nscd/nscd.c (termination_handler): Don't do anything for a database
10130 if it has not yet been initialized.
10131
298711ff
UD
101322011-07-18 Ulrich Drepper <drepper@gmail.com>
10133
10134 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10135
101362011-07-15 Marek Polacek <mpolacek@redhat.com>
10137
10138 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10139
f9d68389
UD
101402011-07-18 Ulrich Drepper <drepper@gmail.com>
10141
10142 * po/nl.po: Update from translation team.
10143 * po/sv.po: Likewise.
10144
db290cf5
RM
101452011-07-16 Roland McGrath <roland@hack.frob.com>
10146
10147 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10148 now disallowed by GCC.
5c550700 10149
fd5e21c7
RM
10150 * configure.in (use-default-link): Default to yes if a test -shared
10151 link meets our qualifications.
10152 * configure: Regenerated.
10153
5c550700
RM
10154 * config.make.in (output-format): New variable.
10155 * configure.in: Check for ld --print-output-format support.
10156 * configure: Regenerated.
10157 * Makerules ($(common-objpfx)format.lds)
10158 [$(output-format) != unknown]: Just use $(output-format),
10159 instead of the linker-script munging.
10160
9fa2c032
RM
101612011-07-14 Roland McGrath <roland@hack.frob.com>
10162
a6928d51
RM
10163 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10164 of $(common-objpfx)shlib.lds.
10165 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10166
661607b3
RM
10167 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10168 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10169
9fa2c032
RM
10170 * configure.in (-z relro check): Adjust test code to add a large
10171 writable data section after it.
10172 * configure: Regenerated.
10173
defe9061
RM
101742011-07-11 Roland McGrath <roland@hack.frob.com>
10175
10176 * configure.in (-z relro check): Fix test code to make the variable
10177 truly const.
10178 * configure: Regenerated.
10179
319b9ad4
UD
101802011-07-11 Ulrich Drepper <drepper@gmail.com>
10181
10182 * nscd/nscd.h (struct traced_file): Define.
10183 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10184 elements. Add traced_files.
10185 (inotify_fd): Declare.
10186 (register_traced_file): Declare.
10187 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10188 (inotify_fd): Export.
10189 (resolv_conf_descr): Remove.
10190 (nscd_init): Move inotify descriptor creation to main.
10191 Don't register files for notification here.
10192 (register_traced_file): New function.
10193 (invalidate_cache): Don't use reset_res to determine whether to call
10194 res_init, go through the list of registered files.
10195 (main_loop_poll): The inotify descriptors are now stored in the
10196 structures for the traced files.
10197 (main_loop_epoll): Likewise
10198 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10199 to __nss_disable_nscd.
10200 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10201 for a database anymore. Check the records for all the registered
10202 files instead.
10203 * nss/Makefile (libnss_files-routines): Add files-init.
10204 (libnss_db-routines): Add db-init.
10205 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10206 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10207 * nss/nss_db/db-init.c: New file.
10208 * nss/nss_files/files-init.c: New file.
10209 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10210 __nss_lookup_function.
10211 (__nss_lookup_function): Call nss_load_library.
10212 (nss_load_all_libraries): New function.
10213 (__nss_disable_nscd): Take parameter with callback function for files
10214 to register. Set is_nscd. Load all the DSOs for the NSS modules
10215 used for the cached services.
10216 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10217 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10218 options for features to all the files in nscd.
10219
10220 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10221
23bee3e8
RM
102222011-07-10 Roland McGrath <roland@hack.frob.com>
10223
10224 * csu/elf-init.c (__libc_csu_init): Comment typo.
10225
46a5b7f0
UD
102262011-07-09 Ulrich Drepper <drepper@gmail.com>
10227
10228 * po/pl.po: Update from translation team.
10229 * po/ja.po: Likewise.
10230 * po/ru.po: Likewise.
10231 * po/ko.po: Likewise.
10232 * po/fr.po: Likewise.
10233
d30cf5bb
RM
102342011-07-09 Roland McGrath <roland@hack.frob.com>
10235
113ddea4
RM
10236 * configure.in (.ctors/.dtors header and trailer check):
10237 Use an empirical test on a built program.
10238 * configure: Regenerated.
10239
574920b4
RM
10240 * configure.in (-z relro check): Use an empirical test on a built DSO.
10241 Detect, but do not require, on ia64.
10242 * configure: Regenerated.
10243
d30cf5bb
RM
10244 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10245 Update tests that use readelf to use $READELF instead.
10246 * configure: Regenerated.
10247
8538fdb3
UD
102482011-07-08 Ulrich Drepper <drepper@gmail.com>
10249
10250 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10251 if the result is not used.
10252
04d08991
AJ
102532011-07-05 Andreas Jaeger <aj@suse.de>
10254
10255 [BZ#9696]
10256 * stdlib/tst-strtod.c: Add testcase.
10257
de283087
AD
102582011-07-07 Ulrich Drepper <drepper@gmail.com>
10259
4e5f31c8 10260 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10261 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10262 The latter has a higher limit. Take additional parameter to pass to
10263 the new function.
10264 (__pathconf): Pass file to __statfs_link_max.
10265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10266 __statfs_link_max.
10267 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10268 __statfs_link_max.
10269
de283087
AD
10270 [BZ #12868]
10271 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10273 Handle Lustre.
10274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10275 (__statfs_filesize_max): Likewise.
10276 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10277
c75fa153
AJ
102782011-07-05 Andreas Jaeger <aj@suse.de>
10279
10280 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10281
1a544854
UD
102822011-07-06 Marek Polacek <mpolacek@redhat.com>
10283
10284 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10285 `status' variable.
10286 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10287 Likewise.
10288
6f0eec67
UD
102892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10290
10291 * Makefile (strop-tests): Add strncat.
10292 * string/test-strncat.c: New file.
10293
aae30307
UD
102942011-06-30 Marek Polacek <mpolacek@redhat.com>
10295
10296 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10297
c0cfb5eb
UD
102982011-06-21 Andreas Jaeger <aj@suse.de>
10299
10300 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10301 Copy rule from iconvdata/Makefile.
10302
01636b21
UD
103032011-07-06 Ulrich Drepper <drepper@gmail.com>
10304
10305 [BZ #12922]
10306 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10307 but no long options are defined, just return 'W'.
10308
9895c8bc
UD
103092011-06-22 Marek Polacek <mpolacek@redhat.com>
10310
10311 [BZ #9696]
10312 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10313
5d4cf042
UD
103142011-07-06 Ulrich Drepper <drepper@gmail.com>
10315
10316 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10317 netgroups to read.
960e5535 10318 (innetgr): Likewise.
5d4cf042 10319
751eb97e
RM
103202011-07-05 Roland McGrath <roland@hack.frob.com>
10321
10322 * config.make.in (install_root): Default to $(DESTDIR).
10323
f15f1e45
UD
103242011-07-05 Ulrich Drepper <drepper@gmail.com>
10325
10326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10327
4e34ac6a
RM
103282011-07-02 Roland McGrath <roland@hack.frob.com>
10329
5e9b6af4
RM
10330 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10331
84f9ea0f
RM
10332 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10333 containing directory rather than embedding absolute directory names.
10334
ea5ee9f7
RM
10335 * scripts/check-local-headers.sh: Rewritten using awk.
10336 Match by word, not by line. Print error messages for matches.
10337 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10338
1b74661a
RM
10339 * Makerules [shlib-lds-flags empty]:
10340 ($(common-objpfx)libc_pic.opts): New target.
10341 ($(common-objpfx)libc_pic.os.clean): New target.
10342 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10343
10344 * config.make.in (OBJCOPY): New variable.
10345 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10346 * configure: Regenerated.
10347
f781ef40
RM
10348 * config.make.in (use-default-link): New variable.
10349 * configure.in (use_default_link): Grok --with-default-link to set it.
10350 * configure: Regenerated.
10351 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10352 (shlib-lds, shlib-lds-flags): Define to empty.
10353
2d4fa81e
RM
10354 * Makerules (shlib-lds): New variable.
10355 (shlib-lds-flags): New variable.
10356 (build-shlib, build-moduile, build-module-asneeded): Use it.
10357 ($(common-objpfx)libc.so): Use $(shlib-lds).
10358 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10359 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10360
31fffa6b
RM
10361 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10362 DT_FLAGS/DT_FLAGS_1 with zero flags.
10363
4e34ac6a
RM
10364 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10365 linker script munging.
10366
fcfc776b
UD
103672011-07-02 Ulrich Drepper <drepper@gmail.com>
10368
10369 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10370 as 128-bit value.
10371 * crypt/sha512.c (sha512_process_block): Perform total addition using
10372 128-bit if possible.
10373 (__sha512_finish_ctx): Likewise.
10374 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10375 as 64-bit value.
10376 * crypt/sha256.c (SWAP64): Define.
10377 (sha256_process_block): Perform total addition using 64-bit if
10378 possible.
10379 (__sha256_finish_ctx): Likewise.
10380
99231d9a
UD
103812011-07-01 Ulrich Drepper <drepper@gmail.com>
10382
10383 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10385 * nscd/hstcache.c (cache_addhst): Likewise.
10386 * nscd/grpcache.c (cache_addgr): Likewise.
10387 * nscd/aicache.c (addhstaiX): Likewise
10388 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10389
445b4a53
TK
103902011-07-01 Thorsten Kukuk <kukuk@suse.de>
10391
10392 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10394 * nscd/hstcache.c (cache_addhst): Likewise.
10395 * nscd/grpcache.c (cache_addgr): Likewise.
10396 * nscd/aicache.c (addhstaiX): Likewise
10397
6d4d8e8e
AS
103982011-07-01 Andreas Schwab <schwab@redhat.com>
10399
10400 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10401 domain only when needed.
10402
89f654c5
AS
104032011-06-30 Andreas Schwab <schwab@redhat.com>
10404
10405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10406 is always restored.
10407
cf3b23ff
UD
104082011-06-29 Ulrich Drepper <drepper@gmail.com>
10409
10410 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10411 are re-adding the entry.
10412 * nscd/servicescache.c (cache_addserv): Likewise.
10413
751626f9
AJ
104142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10415
10416 * sysdeps/generic/dl-irel.h: fix protection against multiple
10417 inclusions.
10418 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10419
9113ea1f
UD
104202011-06-28 Ulrich Drepper <drepper@gmail.com>
10421
5c0b8d90
UD
10422 [BZ #12935]
10423 * malloc/memusage.sh: Fix quoting in message.
10424 * debug/xtrace.sh: Likewise.
10425
9113ea1f
UD
10426 * configure.in: Remove support for --experimental-malloc option, make
10427 it the default.
10428 * config.make.in: Likewise.
10429 * malloc/Makefile: Likewise.
10430
a4172181
AS
104312011-06-27 Andreas Schwab <schwab@redhat.com>
10432
10433 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10434 two-byte characters.
10435
78a7eee7
RM
104362011-06-27 Roland McGrath <roland@hack.frob.com>
10437
62bede13
RM
10438 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10439 AC_CACHE_CHECK invocation.
10440 * configure: Regenerated.
10441
78a7eee7
RM
10442 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10443
5ce33a62
UD
104442011-06-27 Ulrich Drepper <drepper@gmail.com>
10445
034807a9
UD
10446 [BZ #12350]
10447 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10448 bit from old_res_options.
10449
4902da17
UD
10450 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10451
5ce33a62
UD
10452 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10453 value type for setfct.
10454
c2344f56
L
104552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10456
10457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10458 __gettimeofday instead of gettimeofday.
10459
68468076
UD
104602011-06-26 Ulrich Drepper <drepper@gmail.com>
10461
10462 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10463
acb0d739
L
104642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10465
10466 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10467
10468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10469 info.
10470
8912479f
L
104712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10474 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10475 strcpy-sse2-unaligned strncpy-sse2-unaligned
10476 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10477 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10478 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10479 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10480 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10483 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10484 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10485 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10486 (STRCPY): Support SSE2 and SSSE3 versions.
10487
d5495a11
UD
104882011-06-24 Ulrich Drepper <drepper@gmail.com>
10489
10490 [BZ #12874]
10491 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10492 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10493 kernels which artificially limit size of requests.
10494
0b1cbaae
L
104952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10496
10497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10498 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10499 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10500 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10501 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10502 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10503 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10504 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10505 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10507 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10508 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10509 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10510 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10511 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10513 Enable unaligned load optimization for Intel Core i3, i5 and i7
10514 processors.
10515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10516 Define.
10517 (index_Fast_Unaligned_Load): Define.
10518 (HAS_FAST_UNALIGNED_LOAD): Define.
10519
07f494a0
MP
105202011-06-23 Marek Polacek <mpolacek@redhat.com>
10521
10522 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10523
fa3fc0fe
UD
105242011-06-22 Ulrich Drepper <drepper@gmail.com>
10525
10526 [BZ #12907]
10527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10528 until it is clear that the information is realy needed.
10529 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10530
e12df166
AS
105312011-06-22 Andreas Schwab <schwab@redhat.com>
10532
10533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10534
852eb34d
UD
105352011-06-22 Ulrich Drepper <drepper@gmail.com>
10536
84e2a551
UD
10537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10538 /sys/devices/system/cpu/online if it is usable.
10539
852eb34d
UD
10540 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10541 reading the information from the /proc filesystem to once a second.
10542
6e502e19
UD
105432011-06-21 Andreas Jaeger <aj@suse.de>
10544
10545 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10546 NULL after inclusion of kernel headers.
10547
75d39ff2
UD
105482011-06-21 Ulrich Drepper <drepper@gmail.com>
10549
51f9aa6a
UD
10550 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10551 calls to internal_setent.
10552
c0244a9d
UD
10553 [BZ #12885]
10554 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10555 addresses using gethostbyname4_r ignore IPv4 addresses.
10556
c5e3c2ae
UD
10557 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10558 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10559
75d39ff2
UD
10560 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10561
42675c6f
DM
105622011-06-20 David S. Miller <davem@davemloft.net>
10563
10564 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10565 inclusions.
10566 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10567
10568 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10569 (elf_irel): Use it.
10570 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10571 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10572 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10573 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10574 * sysdeps/x86_64/dl-irel.h: Likewise.
10575
10576 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10577 * elf/dl-sym.c: Likewise.
10578
57912a71
UD
105792011-06-15 Ulrich Drepper <drepper@gmail.com>
10580
10581 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10582 need to dereference resplen2.
10583
ee22793d
AS
105842011-06-14 Andreas Schwab <schwab@redhat.com>
10585
10586 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10587
a9e836b0
UD
105882011-06-15 Ulrich Drepper <drepper@gmail.com>
10589
77fb9117
UD
10590 * Makeconfig: Define vardbdir and inst_vardbdir.
10591 * nss/Makefile: Add rules to install db-Makefile.
10592
40c1b22c
UD
10593 * nss/nss_db/db-XXX.c: Cleanup.
10594
9f2da732
UD
10595 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10596 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10597 GLIBC_PRIVATE.
10598 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10599 * nss/makedb.c: Implement -g option to specify that value strings
10600 are generated and should not be added to table iterated over for
10601 get*ent calls.
10602 * nss/nss_db/db-initgroups.c: New file.
10603
82e9a1f7
UD
10604 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10605 interface.
10606
c41af17e
UD
10607 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10608 (internal_getgrouplist): Adjust to name change.
10609 Update use_initgroups_entry if this is not the first call.
10610 * nss/databases.def: Add initgroups entry.
10611
a9e836b0
UD
10612 * nss/makedb.c (compute_tables): Check result of multiple hash table
10613 sizes to minimize maximum chain length.
10614
2666d441
UD
106152011-06-14 Ulrich Drepper <drepper@gmail.com>
10616
10617 * Versions.def: Add entry for libnss_db.
10618 * shlib-versions: Likewise.
10619 * nss/Makefile: Add rules to build libnss_db.
10620 * nss/Versions: Add libnss_db information. Organize libnss_files
10621 entries better.
10622 * nss/db-Makefile: Add gshadow support. Change rules for the new
10623 makedb progra. Some minor improvements to generate smaller files.
10624 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10625 here from...
10626 * nss/makedb.c: ...here.
10627 Improve database format to be smaller and require less memory at
10628 runtime.
10629 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10630 db anymore.
10631 * nss/nss_db/db-netgrp.c: Likewise.
10632 * nss/nss_db/db-open.c: Likewise.
10633 * nss/nss_files/flies-XXX.x: Adjust comments.
10634 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10635 * nss/nss_files/files-grp.c: Likewise.
10636 * nss/nss_files/files-hosts.c: Likewise.
10637 * nss/nss_files/files-network.c: Likewise.
10638 * nss/nss_files/files-proto.c: Likewise.
10639 * nss/nss_files/files-pwd.c: Likewise.
10640 * nss/nss_files/files-rpc.c: Likewise.
10641 * nss/nss_files/files-service.c: Likewise.
10642 * nss/nss_files/files-sgrp.c: Likewise.
10643 * nss/nss_files/files-spwd.c: Likewise.
10644 * nss/nss_db/db-alias.c: Removed.
10645 * nss/nss_db/dummy-db.h: Removed.
10646
9ee76b5a
UD
106472011-06-02 Ulrich Drepper <drepper@gmail.com>
10648
10649 * nss/makedb.c: Rewritten to not use database library.
10650 * nss/Makefile: Update to build new makedb program.
10651
c71ca1f8
AJ
106522011-06-14 Andreas Jaeger <aj@suse.de>
10653
10654 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10655 memset declaration.
10656
3154bfb8
UD
106572011-06-10 Andreas Schwab <schwab@redhat.com>
10658
10659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10660 tmpbuf.
10661
b350afab
RM
106622011-06-10 Roland McGrath <roland@hack.frob.com>
10663
decd4e50
RM
10664 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10665 * elf/Makefile ($(objpfx)ld.so): Likewise.
10666
5615eaf2
RM
10667 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10668 Don't list ld.so twice in dependencies.
10669
10670 * posix/bug-regex31.c: Include <stdlib.h>.
10671
10672 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10673
10674 * nis/nss_compat/compat-spwd.c
10675 (getspent_next_nss_netgr): Remove unused variable.
10676 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10677
10678 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10679 nonmembers" output to use the right array.
10680
10681 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10682
10683 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10684
10685 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10686 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10687 * catgets/gencat.c (read_input_file): Likewise.
10688 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10689
10690 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10691 variable definition inside #if's controlling its use.
10692
10693 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10694
10695 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10696
10697 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10698
10699 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10700 unreachable code.
10701
10702 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10703
b68e08db
RM
10704 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10705 * configure: Regenerated.
10706
b350afab
RM
10707 * Makerules: Revert last change.
10708 * elf/Makefile: Likewise.
10709
28368601
RM
107102011-06-09 Roland McGrath <roland@hack.frob.com>
10711
10712 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10713 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10714 (reloc-link): Likewise.
10715
11988f8f
UD
107162011-06-09 Ulrich Drepper <drepper@gmail.com>
10717
10718 * elf/Makefile: Add rules to build pldd.
10719 * elf/pldd.c: New file.
10720 * elf/pldd-xx.c: New file.
10721
e80fab37
UD
107222011-06-07 Ulrich Drepper <drepper@gmail.com>
10723
10724 * version.h: Update for 2.15 development version.
10725
9b849836
DM
107262011-06-07 David S. Miller <davem@davemloft.net>
10727
10728 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10729 ifuncs.
10730 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10731 elf_machine_lazy_rel): Likewise.
10732 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10734 elf_machine_lazy_rel): Likewise.
10735 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10736 dl_hwcap via passed in argument.
10737 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10738 Likewise.
10739
5a31b283
AK
107402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10741
10742 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10743
069e52f8
RM
107442011-06-06 Roland McGrath <roland@hack.frob.com>
10745
10746 [BZ #12849]
10747 * manual/fdl-1.1.texi: New file, verbatim from:
10748 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10749 * manual/lgpl-2.1.texi: New file, verbatim from:
10750 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10751 * manual/Makefile (licenses): New variable, list those new file names.
10752 (texis): Use it.
10753 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10754
10755 * manual/fdl.texi: File removed.
10756 * manual/lesser.texi: File removed.
10757 * manual/libc.texinfo (Copying, Documentation License):
10758 Use new @include file names, put @appendix directive before @include.
10759
f16846a5
JJ
107602011-06-04 Jakub Jelinek <jakub@redhat.com>
10761
10762 [BZ #12841]
10763 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10764 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10765 (mq_open): Add __NTH.
10766
3d29045b
L
107672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10768
10769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10770 Assume Intel Core i3/i5/i7 processor if AVX is available.
10771
8c297311
UD
107722011-05-31 Ulrich Drepper <drepper@gmail.com>
10773
10774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10775 typo.
10776
c8fc0c91
UD
107772011-05-31 Andreas Schwab <schwab@redhat.com>
10778
10779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10780 memory. Use alloca_account. Fix memory leak when retrying.
10781
5b27a807
UD
107822011-05-31 Ulrich Drepper <drepper@gmail.com>
10783
356f8bc6
UD
10784 * version.h (RELEASE): Bump for 2.14 release.
10785 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10786
5b27a807
UD
10787 * config.make.in (RANLIB): Remove entry.
10788
01f16ab0
UD
107892011-05-30 Ulrich Drepper <drepper@gmail.com>
10790
41fce8bd
UD
10791 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10792 (libc.pot): Work around missing support for .ksh extension in xgettext.
10793
4769ae77
UD
10794 [BZ #12684]
10795 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10796 if both request failed.
10797 (send_dg): In case of server errors clear resplen or *resplen2.
10798
6b1e7d19
UD
10799 [BZ #12454]
10800 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10801 when there are multiple maps.
10802 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10803 (_dl_fini): Remove test here.
10804
01f16ab0
UD
10805 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10806
b1ebd700
UD
108072011-05-29 Ulrich Drepper <drepper@gmail.com>
10808
7ae22829
UD
10809 [BZ #12350]
10810 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10811 bit from old_res_options.
10812 (gaih_inet): Likewise.
10813
553149f6 10814 [BZ #11099]
18a84741 10815 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10816 as signed.
10817
652ffab1
UD
10818 * resolv/res_init.c (res_setoptions): Make the code more compact.
10819
16985fd0
UD
10820 [BZ #11558]
10821 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10822 set RES_USEVC.
10823
0464f746
UD
10824 [BZ #11634]
10825 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10826
7d17596c
UD
10827 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10828
cf6bbbd7
UD
10829 [BZ #11781]
10830 * malloc/malloc.h: Declare malloc hook variables as volatile.
10831
13f1ab36
UD
10832 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10833 in last patch.
10834
b1ebd700
UD
10835 [BZ #11799]
10836 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10837 raise in the comment.
80e2212d
UD
10838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10840 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10841
ce67228d
UD
108422011-05-28 Ulrich Drepper <drepper@gmail.com>
10843
8887a920
UD
10844 [BZ #12811]
10845 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10846 grow the buffers more if it already has to be sufficient.
10847 (build_wcs_upper_buffer): Likewise.
10848 * posix/regexec.c (check_matching): Likewise.
10849 (clean_state_log_if_needed): Likewise.
10850 (extend_buffers): Don't enlarge buffers beyond size of the input
10851 buffer.
10852 Patches mostly by Emil Wojak <emil@wojak.eu>.
10853 * posix/bug-regex32.c: New file.
10854 * posix/Makefile (tests): Add bug-regex32.
10855
4f031072
UD
10856 * locale/findlocale.c (_nl_find_locale): Return right away if
10857 _nl_explode_name failed.
10858 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10859
d0478f0c
UD
10860 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10861
de81b246
UD
10862 * debug/xtrace.sh: Unify messages.
10863 * malloc/memusage.sh: Likewise.
10864
c738465a
UD
10865 [BZ #12813]
10866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10867 time symbol from vDSO. Substitute with vsyscall if not available.
10868 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10869 __vdso_time.
10870
f1f929d7
UD
10871 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10872 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10873 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10874 Add sendmmsg and internal_sendmmsg.
10875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10876 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10877 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10878
ce67228d
UD
10879 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10880 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10882
e57420c6
UD
108832011-05-27 Ulrich Drepper <drepper@gmail.com>
10884
a8509ca5
UD
10885 [BZ #12813]
10886 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10887 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10888 available.
10889 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10890 __vdso_getcpu.
10891
e57420c6
UD
10892 [BZ #12814]
10893 * iconvdata/Makefile (tests): Add bug-iconv9.
10894 * iconvdata/bug-iconv9.c: New file.
10895
4d07db15
AS
108962011-05-27 Andreas Schwab <schwab@redhat.com>
10897
10898 [BZ #12814]
10899 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10900
ea486f69
JJ
109012011-05-25 Jakub Jelinek <jakub@redhat.com>
10902
10903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10904 (struct user_regs_struct): Change intcs field back to cs.
10905
6f038433
UD
109062011-05-25 Ulrich Drepper <drepper@gmail.com>
10907
10908 * po/ja.po: Update from translation team.
10909
67f86a25
UD
109102011-05-23 Ulrich Drepper <drepper@gmail.com>
10911
10912 [BZ #12795]
10913 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10915
def7fbd6
AS
109162011-05-20 Andreas Schwab <schwab@redhat.com>
10917
10918 * stdlib/longlong.h: Update from GCC.
10919
f50ef8f1
AS
109202011-05-23 Andreas Schwab <schwab@redhat.com>
10921
10922 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10923 parameter name.
10924 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10925 Add parameter name.
10926 (__sysconf): Pass it down.
10927
de7ce8f1
UD
109282011-05-22 Ulrich Drepper <drepper@gmail.com>
10929
f2962a71
UD
10930 [BZ #12671]
10931 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10932 some situations.
10933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10934 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10935 add in in __libc_use_alloca calls. Adjust callers.
10936 (glob): Use malloc in some situations.
10937
de7ce8f1
UD
10938 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10939 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10940 pltexit.
10941
aec84f53
UD
109422011-05-21 Ulrich Drepper <drepper@gmail.com>
10943
05bb4a68
UD
10944 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10945 and CLOCK_BOOTTIME_ALARM.
10946
7ea72f99
UD
10947 [BZ #12782]
10948 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10949 is returned.
10950
7e4afad5
UD
10951 * string/_strerror.c (__strerror_r): Print negative errors as signed
10952 numbers.
10953
8e211fec
UD
10954 [BZ #12777]
10955 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10956 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10957 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10958
f7d82dc9
UD
10959 * configure.in: Fix typo in redirection and correct removal of test
10960 files in two cases.
10961
cc9e536d
UD
10962 [BZ #12788]
10963 * locale/setlocale.c (new_composite_name): Fix test to check for
10964 identical name of all categories.
10965
aec84f53
UD
10966 [BZ #12792]
10967 * libio/filedoalloc.c (local_isatty): New function.
10968 (_IO_file_doallocate): Use local_isatty.
10969 * stdio-common/perror.c (perror): In case a new stream is used
10970 forward the stream error.
10971 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10972 error flag.
10973
78e64fdc
RT
109742011-05-20 Ulrich Drepper <drepper@gmail.com>
10975
34a9094f
UD
10976 [BZ #11869]
10977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10978 alloca.
10979 * include/alloca.h (extend_alloca_account): Define.
10980
78e64fdc
RT
10981 [BZ #11857]
10982 * posix/regex.h: Fix comments with documentation of user-accessible
10983 fields after compilation and describe correct free'ing of pattern
10984 after re_compile_pattern.
10985 Patch by Reuben Thomas <rrt@sc3d.org>.
10986
457bddfc
RA
109872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10988
10989 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10990 and -mno-altivec to prevent the compiler from using Altivec and/or
10991 VSX instructions when the corresponding registers are not available.
10992
a4527b51
AS
109932011-05-19 Andreas Schwab <schwab@redhat.com>
10994
10995 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10996
ed690b2f
UD
109972011-05-19 Ulrich Drepper <drepper@gmail.com>
10998
10999 * libio/freopen.c (freopen): Use __dup2, not dup2.
11000 * libio/freopen64.c (freopen64): Likewise.
11001
8db73634
L
110022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11003
11004 [BZ #12775]
11005 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11006 * math/Makefile (tests): Add test-powl.
11007 (CFLAGS-test-powl.c): Define.
11008 * math/test-powl.c: New file.
11009
0a197a9d
L
110102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11011
11012 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11013
ee30c380
UD
110142011-05-17 Ulrich Drepper <drepper@gmail.com>
11015
11016 [BZ #11837]
11017 * iconvdata/gb18030.c: Update to GB18020-2005.
11018
6ce75379
UD
110192011-05-16 Ulrich Drepper <drepper@gmail.com>
11020
a4b89fd8
AR
11021 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11022 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11023 Patch by Aharon Robbins <arnold@skeeve.com>.
11024
ea389b12
UD
11025 [BZ #11892]
11026 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11027 on the stack.
11028
68a3f91f
UD
11029 [BZ #11895]
11030 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11031 through underflows.
11032
15cc7dd1
UD
11033 [BZ #12766]
11034 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11035 point to strings before performing equality test for error_one_per_line
11036 mode.
11037
f3799213
UD
11038 [BZ #11697]
11039 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11040
d79a9c94
UD
11041 [BZ #11820]
11042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11043 (struct user_fpregs_struct): Avoid __uint*_t types.
11044
56e5eb46
UD
11045 [BZ #6420]
11046 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11047 symbol info. Use it instead of calling _dl_addr locally.
11048 (lock_and_info): New function.
11049 (tr_freehook): Call lock_and_info and pass symbol info as additional
11050 parameter to tr_where.
11051 (tr_mallochook): Likewise.
11052 (tr_reallochook): Likewise.
11053 (tr_memalignhook): Likewise.
11054
6ce75379
UD
11055 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11056 used and couldn't be at all thread-safe.
11057
f8a3b5bf
UD
110582011-05-15 Ulrich Drepper <drepper@gmail.com>
11059
94b7cc37
UD
11060 * libio/freopen.c (freopen): Don't close old file descriptor
11061 before the new one is opened. Instead dup the new file descriptor
11062 to the old one after the new stream is created.
11063 * libio/freopen64.c (freopen64): Likewise.
11064 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11065 * libio/fileops.c (_IO_new_file_close_it): Handle new
11066 _IO_FLAGS2_NOCLOSE flag.
11067 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11068 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11069 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11070 _IO_FLAGS2_NOCLOSE flag.
11071 * include/unistd.h: Add hidden_proto for dup3.
11072 Define __have_dup3.
11073 * io/dup3.c: Define hidden symbol.
11074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11075
bd25564e
UD
11076 [BZ #7101]
11077 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11078 when an incomplete long option is used.
11079 * posix/tst-getopt_long1.c: New file.
11080 * posix/Makefile (tests): Add tst-getopt_long1.
11081
c84cfef4
UD
11082 [BZ #10138]
11083 * scripts/config.guess: Update from autoconf-2.68.
11084 * scripts/config.sub: Likewise.
11085
3b85df27
UD
11086 [BZ #10157]
11087 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11088 tests into ...
11089 (has_cpuclock): ...this. New function.
11090 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11091 macro here based on has_cpuclock code.
11092
15a856b1
UD
11093 [BZ #10149]
11094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11095 First byte (not low byte) is now always NUL.
11096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11097
05f399e6
UD
11098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11099 Use non-cancelable interfaces.
11100
10a52685 11101 [BZ #9809]
94ecc67d
UD
11102 * locale/iso-639.def: Add entry for Sorani.
11103
f8a3b5bf
UD
11104 [BZ #11901]
11105 * include/stdlib.h: Move include protection to the right place.
11106 Define abort_msg_s. Declare __abort_msg with it.
11107 * stdlib/abort.c (__abort_msg): Adjust type.
11108 * assert/assert.c (__assert_fail_base): New function. Majority
11109 of code from __assert_fail. Allocate memory for __abort_msg with
11110 mmap.
11111 (__assert_fail): Now call __assert_fail_base.
11112 * assert/assert-perr.c: Remove bulk of implementation. Use
11113 __assert_fail_base.
11114 * include/assert.hL Declare __assert_fail_base.
11115 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11116 mmap.
11117 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11118
1af4e298
UD
111192011-05-14 Ulrich Drepper <drepper@gmail.com>
11120
f8a3b5bf 11121 [BZ #11952]
d26dfc60
MG
11122 [BZ #12453]
11123 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11124 until all modules are registered in the DTV.
11125 * elf/Makefile: Add rules to build and run tst-tls19.
11126 * elf/tst-tls19.c: New file.
11127 * elf/tst-tls19mod1.c: New file.
11128 * elf/tst-tls19mod2.c: New file.
11129 * elf/tst-tls19mod3.c: New file.
11130 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11131
2fc54d6f
UD
11132 [BZ #12083]
11133 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11134 correctly.
11135
98d76b46
UD
11136 [BZ #12601]
11137 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11138 two-byte sequence errors.
11139 * iconvdata/Makefile (tests): Add bug-iconv8.
11140 * iconvdata/bug-iconv8.c: New file.
11141
da3c19ef
UD
11142 [BZ #12626]
11143 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11144 buf2 definition.
11145
ca408c15
UD
11146 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11147
d6f67f7d
UD
11148 [BZ #12432]
11149 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11150 (dummy_getcfa): New function.
11151 (init): Get _Unwind_GetCFA address, use dummy if not found.
11152 (backtrace_helper): In recursion check, also check whether CFA changes.
11153 (__backtrace): Completely initialize arg.
11154
1af4e298 11155 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11156 storing incomplete byte sequence in state object. Avoid testing for
11157 guaranteed too small input if we know there is enough data available.
1af4e298 11158
da62f81b
AS
111592011-05-11 Andreas Schwab <schwab@redhat.com>
11160
11161 * Makeconfig (+link-pie): Indent.
11162 * Rules (binaries-pie): Define if $(have-fpie) and
11163 $(build-shared).
11164 (binaries-shared): Also filter out $(binaries-pie).
11165 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11166 * nscd/Makefile (others-pie): Add nscd.
11167 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11168 ($(objpfx)nscd): Remove command override.
11169 * login/Makefile (others-pie): Add pt_chown.
11170 ($(objpfx)pt_chown): Remove command override.
11171 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11172 remove command overrides.
11173
fcabc0f8
UD
111742011-05-13 Ulrich Drepper <drepper@gmail.com>
11175
20030ae6
UD
11176 * libio/tst_putwc.c: Fix error messages.
11177
fcabc0f8
UD
11178 [BZ #12724]
11179 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11180 currently writing and seek to current position when not.
11181 * libio/Makefile (tests): Add bug-fclose1.
11182 * libio/bug-fclose1.c: New file.
11183
320a5dc0
PB
111842011-05-12 Ulrich Drepper <drepper@gmail.com>
11185
11186 [BZ #12511]
11187 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11188 don't set DF_1_NODELETE here.
11189 (do_lookup_x): When entering new entry test for copy relocation
11190 and if necessary set DF_1_NODELETE flag.
11191 * elf/tst-unique4.cc: New file.
11192 * elf/tst-unique4.h: New file.
11193 * elf/tst-unique4lib.cc: New file.
11194 * elf/Makefile: Add rules to build and run tst-unique4.
11195 Patch by Piotr Bury <pbury@goahead.com>.
11196
22836f52
UD
111972011-05-11 Ulrich Drepper <drepper@gmail.com>
11198
f574184a
UD
11199 [BZ #12052]
11200 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11201
e1fb097f
UD
11202 [BZ #12625]
11203 * misc/mntent_r.c (addmntent): Flush the stream after the output
11204
22836f52
UD
11205 [BZ #12393]
11206 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11207 (is_trusted_path_normalize): Skip initial colon. Append slash
11208 to empty buffer. Duplicate is_trusted_path code but allow
11209 constructed patch to be prefix.
11210 (is_dst): Allow $ORIGIN followed by /.
11211 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11212 Correct testing of result of is_trusted_path_normalize
11213 (decompose_rpath): Fix warning.
11214
7b3b0b2a
UD
112152011-05-10 Ulrich Drepper <drepper@gmail.com>
11216
11217 [BZ #11257]
11218 * grp/initgroups.c (internal_getgrouplist): When we found the service
11219 list through the initgroups entry in nsswitch.conf do not always
11220 continue on a successful lookup. Don't always use the
eac80ce2 11221 __nss_group_database value if it is set.
7b3b0b2a
UD
11222 * nss/nsswitch.conf (initgroups): Change action for successful db
11223 lookup to continue for compatibility.
11224
2a81eaa5
UD
112252011-05-09 Ulrich Drepper <drepper@gmail.com>
11226
be97a69e
UD
11227 [BZ #11532]
11228 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11229 and CP774 modules.
11230 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11231 and CP774 modules.
11232 * iconvdata/tst-tables.sh: Likewise.
11233 * iconvdata/cp770.c: New file.
11234 * iconvdata/cp771.c: New file.
11235 * iconvdata/cp772.c: New file.
11236 * iconvdata/cp773.c: New file.
11237 * iconvdata/cp774.c: New file.
11238 * iconvdata/testdata/CP770: New file.
11239 * iconvdata/testdata/CP770..UTF8: New file.
11240 * iconvdata/testdata/CP771: New file.
11241 * iconvdata/testdata/CP771..UTF8: New file.
11242 * iconvdata/testdata/CP772: New file.
11243 * iconvdata/testdata/CP772..UTF8: New file.
11244 * iconvdata/testdata/CP773: New file.
11245 * iconvdata/testdata/CP773..UTF8: New file.
11246 * iconvdata/testdata/CP774: New file.
11247 * iconvdata/testdata/CP774..UTF8: New file.
11248
11249 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11250 END CHARMAP line.
11251 * iconvdata/gen-8bit-gap.sh: Likewise.
11252 * iconvdata/gen-8bit.sh: Likewise.
11253
c1e9e399
UD
11254 * locale/iso-639.def: Add ary entry.
11255
24c55fb3 11256 [BZ #11258]
96b4b1b0
UD
11257 * locale/C-translit.h.in: Add U20A1 transliteration.
11258
bdc2f971
KB
11259 [BZ #12178]
11260 * locale/iso-639.def: Add wae entry.
11261 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11262
2952b117
UD
11263 [BZ #12545]
11264 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11265 for n.
11266
2a81eaa5
UD
11267 [BZ #12711]
11268 * locale/C-translit.h.in: Add entry for U20B9.
11269 Patch by pravin.d.s@gmail.com.
11270
28377d1b
UD
112712011-05-08 Ulrich Drepper <drepper@gmail.com>
11272
7fb90fb8
UD
11273 [BZ #12713]
11274 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11275 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11276 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11277 in rtld. Use *stat64.
7fb90fb8 11278 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11279 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11280 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11281 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11282 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11283 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11284 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11285 __fstatat64 macros.
7fb90fb8
UD
11286 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11287 * dirent/rewinddir.c: Add libc_hidden_def.
11288 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11289 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11290
28377d1b
UD
11291 * include/dirent.h (__alloc_dir): Add flags parameter.
11292 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11293 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11294 __alloc_dir.
11295 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11296 from fdopendir if O_CLOEXEC is already set.
11297
66bdbaa4
AM
112982011-03-15 Alan Modra <amodra@gmail.com>
11299
11300 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11301 l_tls_firstbyte_offset non-zero. Save padding offset in
11302 l_tls_firstbyte_offset for later use.
11303 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11304 freeing static tls block.
11305
95721191
JN
113062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11307
11308 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11309 where #ifdef was intended. The intent is to prevent ARG_MAX from
11310 being defined by the kernel headers.
11311
f87dfb1f
UD
113122011-05-07 Ulrich Drepper <drepper@gmail.com>
11313
11314 [BZ #12734]
11315 * resolv/resolv.h: Define RES_NOTLDQUERY.
11316 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11317 no-tld-query and set RES_NOTLDQUERY.
11318 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11319 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11320 modern BIND to search name as TLD unless forbidden.
11321
47c3cd7a
UD
113222011-05-07 Petr Baudis <pasky@suse.cz>
11323 Ulrich Drepper <drepper@gmail.com>
11324
11325 [BZ #12393]
11326 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11327 (is_trusted_path): ...to here.
c1e9ea35 11328 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11329 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11330 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11331
8a35c912
PP
113322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11333
11334 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11335 __BEGIN/__END_DECLS.
11336
acd41f47
UD
113372011-05-06 Ulrich Drepper <drepper@gmail.com>
11338
11339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11340 NSS_STATUS_NOTFOUND if no record was found.
11341
597df647
AS
113422011-05-05 Andreas Schwab <schwab@redhat.com>
11343
11344 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11345 (headers-not-in-tirpc): Remove rpc/netdb.h
11346 * resolv/netdb.h: Revert last change.
11347
b9af1301
PP
113482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11349
11350 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11351 circular dependency between libgcc.a and libc.a.
11352
4e34d5f5
AS
113532011-05-05 Andreas Schwab <schwab@redhat.com>
11354
11355 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11356 * nis/Makefile: Don't install rpcsvc/*.
11357 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11358 instead of <rpc/types.h>.
11359 (MAXHOSTNAMELEN): Define.
11360
00ee369c
AS
113612011-05-03 Andreas Schwab <schwab@redhat.com>
11362
11363 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11364
0b592a30
MB
113652011-04-28 Maciej Babinski <mbabinski@google.com>
11366
11367 [BZ #12714]
11368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11369 gethostbyname4_r when IPv6 results are possible.
11370
6e04cbbe
UD
113712011-05-02 Ulrich Drepper <drepper@gmail.com>
11372
11373 [BZ #12723]
11374 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11375 _PC_PIPE_BUF handling.
11376
e4ecafe0
BH
113772011-04-30 Bruno Haible <bruno@clisp.org>
11378
11379 [BZ #12717]
11380 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11381 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11382 to 'int'.
11383 * inet/getnameinfo.c (getnameinfo): Likewise.
11384
125ee683
UD
113852011-04-29 Ulrich Drepper <drepper@gmail.com>
11386
11387 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11388 to groups setting in database lookup.
11389 * nss/nsswitch.conf: Add initgroups entry.
11390
b722481a
EB
113912011-04-22 Ulrich Drepper <drepper@gmail.com>
11392
11393 [BZ #12685]
11394 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11395 mode string.
11396 Patch by Eric Blake <eblake@redhat.com>.
11397
4df46dbd
L
113982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11399
11400 * sunrpc/Makefile (need-export-routines): Add svc_run.
11401 (routines): Remove svc_run.
11402 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11403 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11404 * sunrpc/svc_run.c (svc_run): Likewise.
11405 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11406
e84142d2
UD
114072011-04-21 Ulrich Drepper <drepper@gmail.com>
11408
11409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11410 problem in reallocation in last patch.
11411
877175d8
UD
114122011-04-20 Ulrich Drepper <drepper@gmail.com>
11413
11414 * sunrpc/Makefile: Move inclusion of Rules.
11415
ab8eed78
UD
114162011-04-19 Ulrich Drepper <drepper@gmail.com>
11417
11418 * nss/nss_files/files-initgroups.c: New file.
11419 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11420 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11421 _nss_files_initgroups_dyn.
11422
e3d8f584
RS
114232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11424
11425 * elf/elf.h (R_ARM_IRELATIVE): Define.
11426
af190f45
UD
114272011-04-19 Ulrich Drepper <drepper@gmail.com>
11428
11429 * po/ru.po: Update from translation team.
11430
53cf59ef
UD
114312011-04-17 Ulrich Drepper <drepper@gmail.com>
11432
11433 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11434 dependencies.
11435
4c559bcd
MF
114362011-02-06 Mike Frysinger <vapier@gentoo.org>
11437
11438 [BZ #12653]
11439 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11440 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11444
4420675c
AS
114452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11446
11447 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11448 differing bytes.
11449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11452
75ea32ab
UD
114532011-04-17 Ulrich Drepper <drepper@gmail.com>
11454
11455 [BZ #12420]
11456 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11457 storing it.
11458 * stdlib/bug-getcontext.c: New file.
11459 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11460
27390476
AK
114612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11462
11463 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11464 instructions into .machine "z9-109".
11465 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11466 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11467
10442705
AK
114682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11469
11470 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11471 between environment variables and auxiliary vector.
11472
7b57bfe5
UD
114732011-04-16 Ulrich Drepper <drepper@gmail.com>
11474
11475 * Makefile: Add rules to build linkobj/libc.so.
11476 * include/libc-symbols.h: Define libc_hidden_nolink.
11477 * include/rpc/auth.h: Mark functions which are to be hidden.
11478 * include/rpc/auth_des.h: Likewise.
11479 * include/rpc/auth_unix.h: Likewise.
11480 * include/rpc/clnt.h: Likewise.
11481 * include/rpc/des_crypt.h: Likewise.
11482 * include/rpc/key_prot.h: Likewise.
11483 * include/rpc/pmap_clnt.h: Likewise.
11484 * include/rpc/pmap_prot.h: Likewise.
11485 * include/rpc/pmap_rmt.h: Likewise.
11486 * include/rpc/rpc_msg.h: Likewise.
11487 * include/rpc/svc.h: Likewise.
11488 * include/rpc/svc_auth.h: Likewise.
11489 * include/rpc/xdr.h: Likewise.
11490 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11491 * nss/Makefile: Likewise.
11492 * sunrpc/Makefile: Don't install headers. Build library with normal
11493 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11494 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11495 for the compat linking library. Remove use of INTDEF/INTUSE.
11496 * sunrpc/auth_none.c: Likewise.
11497 * sunrpc/auth_unix.c: Likewise.
11498 * sunrpc/authdes_prot.c: Likewise.
11499 * sunrpc/authuxprot.c: Likewise.
11500 * sunrpc/clnt_gen.c: Likewise.
11501 * sunrpc/clnt_perr.c: Likewise.
11502 * sunrpc/clnt_raw.c: Likewise.
11503 * sunrpc/clnt_simp.c: Likewise.
11504 * sunrpc/clnt_tcp.c: Likewise.
11505 * sunrpc/clnt_udp.c: Likewise.
11506 * sunrpc/clnt_unix.c: Likewise.
11507 * sunrpc/des_crypt.c: Likewise.
11508 * sunrpc/des_soft.c: Likewise.
11509 * sunrpc/get_myaddr.c: Likewise.
11510 * sunrpc/key_call.c: Likewise.
11511 * sunrpc/key_prot.c: Likewise.
11512 * sunrpc/netname.c: Likewise.
11513 * sunrpc/pm_getmaps.c: Likewise.
11514 * sunrpc/pm_getport.c: Likewise.
11515 * sunrpc/pmap_clnt.c: Likewise.
11516 * sunrpc/pmap_prot.c: Likewise.
11517 * sunrpc/pmap_prot2.c: Likewise.
11518 * sunrpc/pmap_rmt.c: Likewise.
11519 * sunrpc/publickey.c: Likewise.
11520 * sunrpc/rpc_cmsg.c: Likewise.
11521 * sunrpc/rpc_common.c: Likewise.
11522 * sunrpc/rpc_dtable.c: Likewise.
11523 * sunrpc/rpc_prot.c: Likewise.
11524 * sunrpc/rpc_thread.c: Likewise.
11525 * sunrpc/rtime.c: Likewise.
11526 * sunrpc/svc.c: Likewise.
11527 * sunrpc/svc_auth.c: Likewise.
11528 * sunrpc/svc_authux.c: Likewise.
11529 * sunrpc/svc_raw.c: Likewise.
11530 * sunrpc/svc_run.c: Likewise.
11531 * sunrpc/svc_simple.c: Likewise.
11532 * sunrpc/svc_tcp.c: Likewise.
11533 * sunrpc/svc_udp.c: Likewise.
11534 * sunrpc/svc_unix.c: Likewise.
11535 * sunrpc/svcauth_des.c: Likewise.
11536 * sunrpc/xcrypt.c: Likewise.
11537 * sunrpc/xdr.c: Likewise.
11538 * sunrpc/xdr_array.c: Likewise.
11539 * sunrpc/xdr_float.c: Likewise.
11540 * sunrpc/xdr_intXX_t.c: Likewise.
11541 * sunrpc/xdr_mem.c: Likewise.
11542 * sunrpc/xdr_rec.c: Likewise.
11543 * sunrpc/xdr_ref.c: Likewise.
11544 * sunrpc/xdr_sizeof.c: Likewise.
11545 * sunrpc/xdr_stdio.c: Likewise.
11546
e6c61494
UD
115472011-04-10 Ulrich Drepper <drepper@gmail.com>
11548
11549 [BZ #12650]
11550 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11551 * sysdeps/ia64/dl-tls.h: Likewise.
11552 * sysdeps/powerpc/dl-tls.h: Likewise.
11553 * sysdeps/s390/dl-tls.h: Likewise.
11554 * sysdeps/sh/dl-tls.h: Likewise.
11555 * sysdeps/sparc/dl-tls.h: Likewise.
11556 * sysdeps/x86_64/dl-tls.h: Likewise.
11557 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11558
34fe483e
AS
115592011-03-14 Andreas Schwab <schwab@redhat.com>
11560
11561 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11562 rpath element also skip the following colon.
11563 (expand_dynamic_string_token): Add is_path parameter and pass
11564 down to DL_DST_REQUIRED and _dl_dst_substitute.
11565 (decompose_rpath): Call expand_dynamic_string_token with
11566 non-zero is_path. Ignore empty rpaths.
11567 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11568 with zero is_path.
11569
f12a32e6
AS
115702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11571
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11573 Make cancelable.
11574
38a7d692
UD
115752011-04-09 Ulrich Drepper <drepper@gmail.com>
11576
11577 [BZ #12655]
11578 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11579 Patch by Filipe David Manana <fdmanana@apache.org>.
11580
e451d22b
AS
115812011-04-07 Andreas Schwab <schwab@redhat.com>
11582
11583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11584 Maintain aligned stack.
11585 (CHECK_RSP): Remove unused macro.
11586
dedc7c7b
UD
115872011-04-03 Ulrich Drepper <drepper@gmail.com>
11588
11589 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11590 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11591
94521213
UD
115922011-04-02 Ulrich Drepper <drepper@gmail.com>
11593
11594 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11595
8cb700c0 11596 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11597
0354e355
L
115982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11599
11600 [BZ #12518]
11601 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11602 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11603 * sysdeps/x86_64/memmove.c: New file.
11604 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11605 (memcpy): Renamed to ...
11606 (__new_memcpy): This.
11607 (memcpy): Provide GLIBC_2_14 memcpy.
11608 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11609 (memcpy): Provide GLIBC_2_2_5 memcpy.
11610
8593482f
UD
116112011-04-01 Ulrich Drepper <drepper@gmail.com>
11612
11613 [BZ #12631]
11614 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11615
81a5726b
AS
116162011-03-30 Andreas Schwab <schwab@redhat.com>
11617
11618 * misc/syncfs.c: New file.
11619 * misc/Makefile (routines): Add syncfs.
11620 * posix/unistd.h: Declare syncfs.
11621 * sysdeps/unix/syscalls.list: Add syncfs.
11622
00e5419f
AS
116232011-04-01 Andreas Schwab <schwab@redhat.com>
11624
11625 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11626 open_by_handle_at.
11627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11632 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11634
748876bf
UD
116352011-04-01 Ulrich Drepper <drepper@gmail.com>
11636
658e451d
UD
11637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11644
748876bf
UD
11645 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11646 sync_file_range.c with -fexceptions.
11647 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11648 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11649 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11650 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11651 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11652 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11654 sync_file_range as cancellation point
11655 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11656 now a wrapper around __call_sync_file_range with cancellation handling.
11657 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11658 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11659 function name to __call_sync_file_range.
11660 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11661 Add call_sync_file_range.
748876bf 11662
6e63d5e1
AS
116632011-04-01 Andreas Schwab <schwab@redhat.com>
11664
11665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11666 bits/timex.h.
6e63d5e1 11667
46998f74
UD
116682011-04-01 Ulrich Drepper <drepper@gmail.com>
11669
4c1423ed
UD
11670 * iconv/iconv.h: Fix typo in comment.
11671 * io/fcntl.h: Likewise.
11672 * libio/stdio.h: Likewise.
11673 * posix/spawn.h: Likewise.
11674 * posix/unistd.h: Likewise.
11675 * stdlib/stdlib.h: Likewise.
11676 * time/time.h: Likewise.
11677 * wcsmbs/wchar.h: Likewise.
11678
158648c0
UD
11679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11680 open_by_handle): Add.
11681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11682 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11683 Augment a few comments.
11684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11689 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11690 open_by_handle.
11691
46998f74
UD
11692 * io/fcntl.h (AT_EMPTY_PATH): Define.
11693
83fe108b
UD
116942011-03-30 Ulrich Drepper <drepper@gmail.com>
11695
11696 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11697 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11698 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11699 to...
11700 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11701 * Versions.def: Add GLIBC_2.14.
11702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11703 Export.
83fe108b 11704
bb242059
UD
117052011-03-22 Ulrich Drepper <drepper@gmail.com>
11706
11707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11708 round counter.
11709 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11710
c97a1282
L
117112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11712
11713 [BZ #12597]
11714 * string/test-strncmp.c (do_page_test): New function.
11715 (check2): Likewise.
11716 (test_main): Call check2.
11717 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11718
2a115601
UD
117192011-03-20 Ulrich Drepper <drepper@gmail.com>
11720
11721 [BZ #12587]
11722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11723 Handle cache information in CPU leaf 4.
11724 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11725
8126d904
UD
117262011-03-18 Ulrich Drepper <drepper@gmail.com>
11727
042c49c6 11728 [BZ #12583]
8126d904
UD
11729 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11730 character representation.
11731 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11732
ccfe366e
RA
117332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11734
11735 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11736 END(__isnan) to END(__isnanf) to match function entry point/label
11737 EALIGN(__isnanf,...).
11738
c6e13027
JJ
117392011-03-10 Jakub Jelinek <jakub@redhat.com>
11740
11741 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11742
33f85a3f
UD
117432011-03-10 Ulrich Drepper <drepper@gmail.com>
11744
028478fa
UD
11745 [BZ #12510]
11746 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11747 copy from the symbol referenced in the relocation to initialize the
11748 used variable.
11749 Patch by Piotr Bury <pbury@goahead.com>.
11750 * elf/Makefile: Add rules to build and tst-unique3.
11751 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11752 * elf/tst-unique3.cc: New file.
11753 * elf/tst-unique3.h: New file.
11754 * elf/tst-unique3lib.cc: New file.
11755 * elf/tst-unique3lib2.cc: New file.
11756
33f85a3f
UD
11757 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11758
03592fc7
MF
117592011-03-10 Mike Frysinger <vapier@gentoo.org>
11760
11761 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11762 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11763 to _start.
03592fc7 11764
6a5ee102
UD
117652011-03-06 Ulrich Drepper <drepper@gmail.com>
11766
11767 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11768 to-be-loaded object along a path to loader is ld.so.
11769
7e4ba49c
HJ
117702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11771 Ulrich Drepper <drepper@gmail.com>
11772
11773 * sysdeps/x86_64/memset.S: After aligning destination, code
11774 branches to different locations depending on the value of
11775 misalignment, when multiarch is enabled. Fix this.
11776
117772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11778
11779 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11780 Set _x86_64_preferred_memory_instruction for AMD processsors.
11781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11782 Set bit_Prefer_SSE_for_memop for AMD processors.
11783
13a804de
UD
117842011-03-04 Ulrich Drepper <drepper@gmail.com>
11785
11786 * libio/fmemopen.c (fmemopen): Optimize a bit.
11787
9d25c392
AS
117882011-03-03 Andreas Schwab <schwab@redhat.com>
11789
11790 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11791
a5543c6a
RM
117922011-03-03 Roland McGrath <roland@redhat.com>
11793
11794 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11795
012d35f7
DM
117962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11797
7e4ba49c 11798 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11799 __bzero_ultra1 instead of __memset_ultra1.
11800
4bff6e01
AS
118012011-02-23 Andreas Schwab <schwab@redhat.com>
11802 Ulrich Drepper <drepper@gmail.com>
11803
11804 [BZ #12509]
11805 * include/link.h (struct link_map): Add l_orig_initfini.
11806 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11807 returning unsuccessfully.
11808 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11809 close of a file loaded at startup, restore the original l_initfini
11810 list.
11811 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11812 list, store the pointer.
11813 * elf/Makefile ($(objpfx)noload-mem): New rule.
11814 (noload-ENV): Define.
11815 (tests): Add $(objpfx)noload-mem.
11816 * elf/noload.c: Include <memcheck.h>.
11817 (main): Call mtrace. Close all opened handles.
11818
f2092faf
AS
118192011-02-17 Andreas Schwab <schwab@redhat.com>
11820
11821 [BZ #12454]
11822 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11823 dependencies are missing.
11824
6c8a2e88
ST
118252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11826
f2092faf 11827 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11828 Hurd needs munmap.
11829 * sysdeps/mach/hurd/ifreq.h: New file.
11830
84a42118
PB
118312011-01-27 Petr Baudis <pasky@suse.cz>
11832 Ulrich Drepper <drepper@gmail.com>
11833
071f805e 11834 [BZ 12445]#
84a42118
PB
11835 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11836 to extend_alloca().
11837 * stdio-common/bug23.c: New file.
11838 * stdio-common/Makefile (tests): Add bug23.
11839
e23fe25b
AS
118402010-09-28 Andreas Schwab <schwab@redhat.com>
11841 Ulrich Drepper <drepper@gmail.com>
11842
11843 [BZ #12489]
11844 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11845 before performing relro protection. At old place add assertion
11846 to make sure nothing changed.
11847
d3f02e10
NS
118482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11849 Glauber de Oliveira Costa <glommer@gmail.com>
11850
11851 * elf/elf.h: Add new ARM TLS relocs.
11852
d55fd7a5
RA
118532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11854
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11856 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11857 cast from r3.
11858 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11859 'tests' variable.
11860 * sysdeps/wordsize-64/tst-writev.c: New file.
11861
2206397e
RA
118622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11863
11864 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11865 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11866 insns in _dl_start to prevent a TOC reference before relocs are
11867 resolved.
11868
e9433893
UD
118692011-02-15 Ulrich Drepper <drepper@gmail.com>
11870
11871 [BZ #12469]
11872 * Makeconfig: Remove RANLIB definition.
11873 * Makerules: Don't use RANLIB.
11874 * aclocal.m4: Remove ranlib test.
11875 * configure.in: No need to check for ranlib.
11876 * elf/rtld-Rules: Don't use RANLIB.
11877
f75286c6
ST
118782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11879
8e31c82d
ST
11880 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11881 protection macro.
11882 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11883 inclusion protection macro.
11884
f75286c6
ST
11885 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11886 SIGRTMIN and SIGRTMAX and print information in that case only when
11887 SIGRTMIN is defined.
11888
c1d0e639
JJ
118892011-02-11 Jakub Jelinek <jakub@redhat.com>
11890
11891 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11892 arginfo fn returning -1.
11893
11894 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11895 and thousands string is zero terminated.
11896
edf9294e
AS
118972011-02-03 Andreas Schwab <schwab@redhat.com>
11898
11899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11900 sysdeps/unix/sysv/linux/bits/socket.h.
11901
2b7e92df
ST
119022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11903
edf9294e
AS
11904 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11905 (__CPU_COUNT): Remove old macros.
11906 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11907 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11908 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11909 (__sched_cpualloc, __sched_cpufree): Add declarations.
11910
a4c7ea7b
UD
119112011-02-05 Ulrich Drepper <drepper@gmail.com>
11912
11913 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11914 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11915 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11916 (readdhstai): Return value of addhstaiX call.
11917 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11918 (addgrbyX): Return value returned by cache_addgr.
11919 (readdgrbyname): Return value returned by addgrbyX.
11920 (readdgrbygid): Likewise.
11921 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11922 (addpwbyX): Return value returned by cache_addpw.
11923 (readdpwbyname): Return value returned by addhstbyX.
11924 (readdpwbyuid): Likewise.
11925 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11926 (addservbyX): Return value returned by cache_addserv.
11927 (readdservbyname): Return value returned by addservbyX:
11928 (readdservbyport): Likewise.
11929 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11930 (addhstbyX): Return value returned by cache_addhst.
11931 (readdhstbyname): Return value returned by addhstbyX.
11932 (readdhstbyaddr): Likewise.
11933 (readdhstbynamev6): Likewise.
11934 (readdhstbyaddrv6): Likewise.
11935 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11936 (readdinitgroups): Return value returned by addinitgroupsX.
11937 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11938 (prune_cache): Keep track of timeout value of re-added entries.
11939 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11940 * nscd/nscd.h: Adjust prototypes of readd* functions.
11941
a0bf67cc
RM
119422011-02-04 Roland McGrath <roland@redhat.com>
11943
11944 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11945 (nis_stats): Likewise.
11946 * nis/nis_modify.c (nis_modify): Likewise.
11947 * nis/nis_remove.c (nis_remove): Likewise.
11948 * nis/nis_add.c (nis_add): Likewise.
11949
11950 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11951
11952 * posix/fnmatch_loop.c: Add some consts.
11953
11954 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11955
435b95eb
L
119562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11957
11958 [BZ #12460]
11959 * config.make.in (config-cflags-novzeroupper): Define.
11960 * configure.in: Substitute libc_cv_cc_novzeroupper.
11961 * elf/Makefile (AVX-CFLAGS): Define.
11962 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11963 (CFLAGS-tst-auditmod4a.c): Likewise.
11964 (CFLAGS-tst-auditmod4b.c): Likewise.
11965 (CFLAGS-tst-auditmod6b.c): Likewise.
11966 (CFLAGS-tst-auditmod6c.c): Likewise.
11967 (CFLAGS-tst-auditmod7b.c): Likewise.
11968 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11969
8517b15e
UD
119702011-02-02 Ulrich Drepper <drepper@gmail.com>
11971
11972 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11973 function to the callback.
11974 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11975
10a656fe
AS
119762011-02-02 Andreas Schwab <schwab@redhat.com>
11977
11978 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11979 of errno.
11980
968dad0a
UD
119812011-01-19 Ulrich Drepper <drepper@gmail.com>
11982
9f94d2ea 11983 [BZ #11724]
968dad0a
UD
11984 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11985 of constructors.
11986 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11987 of destructors.
11988 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11989
11990 [BZ #11724]
11991 * elf/Makefile: Add rules to build and run new test.
11992 * elf/tst-initorder.c: New file.
11993 * elf/tst-initorder.exp: New file.
11994 * elf/tst-initordera1.c: New file.
11995 * elf/tst-initordera2.c: New file.
11996 * elf/tst-initordera3.c: New file.
11997 * elf/tst-initordera4.c: New file.
11998 * elf/tst-initorderb1.c: New file.
11999 * elf/tst-initorderb2.c: New file.
12000 * elf/tst-order-a1.c: New file.
12001 * elf/tst-order-a2.c: New file.
12002 * elf/tst-order-a3.c: New file.
12003 * elf/tst-order-a4.c: New file.
12004 * elf/tst-order-b1.c: New file.
12005 * elf/tst-order-b2.c: New file.
12006 * elf/tst-order-main.c: New file.
12007 New test case by George Gensure <werkt0@gmail.com>.
12008
86e92359
UD
120092010-10-01 Andreas Schwab <schwab@redhat.com>
12010
12011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12012 decoding ACE if AI_CANONIDN.
12013
5d5732b0
UD
120142011-01-18 Ulrich Drepper <drepper@gmail.com>
12015
12016 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12017
a77e8cbc
UD
120182011-01-17 Ulrich Drepper <drepper@gmail.com>
12019
6392473f
UD
12020 * version.h (RELEASE): Bump for 2.13 release.
12021 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12022
620a0529
UD
12023 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12024
18ba70a5
UD
12025 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12026 MADV_NOHUGEPAGE.
32465c3e
UD
12027 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12033
c0dafcf1
UD
12034 * posix/getconf.c: Update copyright year.
12035 * catgets/gencat.c: Likewise.
12036 * csu/version.c: Likewise.
12037 * debug/catchsegv.sh: Likewise.
12038 * debug/xtrace.sh: Likewise.
12039 * elf/ldconfig.c: Likewise.
12040 * elf/ldd.bash.in: Likewise.
12041 * elf/sprof.c (print_version): Likewise.
12042 * iconv/iconv_prog.c: Likewise.
12043 * iconv/iconvconfig.c: Likewise.
12044 * locale/programs/locale.c: Likewise.
12045 * locale/programs/localedef.c: Likewise.
12046 * malloc/memusage.sh: Likewise.
12047 * malloc/mtrace.pl: Likewise.
12048 * nscd/nscd.c (print_version): Likewise.
12049 * nss/getent.c: Likewise.
12050
a77e8cbc
UD
12051 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12052 PF_CAIF, and PF_ALG.
12053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12054
77e8bddf
AS
120552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12056
1f20b93a
AS
12057 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12058 (modules-names): Use them.
12059 (ifunc-test-modules, ifunc-pie-tests): Define.
12060 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12061 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12062 (test-extras): Likewise.
12063 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12064 $(compile-command.c).
12065 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12066 (all-built-dso): Define.
12067 (check-textrel.out, check-execstack.out): Depend on it.
12068
77e8bddf
AS
12069 * configure.in: Don't override --enable-multi-arch.
12070
bc425b33
UD
120712011-01-15 Ulrich Drepper <drepper@gmail.com>
12072
12073 [BZ #6812]
12074 * nscd/hstcache.c (tryagain): Define.
12075 (cache_addhst): Return tryagain not notfound for temporary errors.
12076 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12077 failed.
12078
794c3ad3
UD
120792011-01-14 Ulrich Drepper <drepper@gmail.com>
12080
70181fdd
UD
12081 [BZ #10563]
12082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12083 to make the syscall.
12084 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12085
794c3ad3
UD
12086 [BZ #12378]
12087 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12088 and fall back to matching as normal character if the string ends before
12089 the matching ']' is found. This is what POSIX requires.
12090 * posix/testfnm.c: Adjust test result.
12091 * posix/globtest.sh: Adjust test result. Add new test.
12092 * posix/tst-fnmatch.input: Likewise.
12093 * posix/tst-fnmatch2.c: Add new test.
12094
68dc9497
AS
120952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12096
12097 * elf/Makefile (check-execstack): Revert last change. Depend on
12098 check-execstack.h.
12099 (check-execstack.h): New target.
12100 (generated): Add check-execstack.h.
12101 * elf/check-execstack.c: Include "check-execstack.h".
12102 (main): Revert last change.
12103 (handle_file): Return zero if GNU_STACK is absent and
12104 DEFAULT_STACK_PERMS doesn't include PF_X.
12105
451f001b
UD
121062011-01-13 Ulrich Drepper <drepper@gmail.com>
12107
cfa28e56
UD
12108 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12109 in child fails because the descriptor is already closed.
8cf8ce17
UD
12110 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12111 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12113
1086d70d
UD
12114 [BZ #12397]
12115 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12116 syscall.
12117
451f001b
UD
12118 [BZ #10484]
12119 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12120 temporary buffer used to handle multi lookups locally.
a85b5cb4 12121 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12122
08769175
UD
121232011-01-12 Ulrich Drepper <drepper@gmail.com>
12124
12125 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12126 loader is ld.so.
12127
5e49c52e
UD
121282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12129
12130 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12131 alignment for SSE2.
12132
60522a5f
UD
121332011-01-12 Ulrich Drepper <drepper@gmail.com>
12134
12135 [BZ #12394]
12136 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12137 characters. When rounding increased number of integer digits recompute
12138 number of groups.
12139 * stdio-common/tst-grouping.c: New file.
12140 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12141
f257bbd7
UD
121422011-01-09 Ulrich Drepper <drepper@gmail.com>
12143
12144 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12145 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12146
12147 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12148 void.
12149 * bits/select.h: Likewise.
12150
fa9c15cb
UD
121512011-01-08 Ulrich Drepper <drepper@gmail.com>
12152
12153 * po/ja.po: Update from translation team.
12154
16c2895f
DM
121552011-01-04 David S. Miller <davem@sunset.davemloft.net>
12156
12157 [BZ #11155]
12158 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12159 implementation just like for lxstat, fxstatat, et al.
12160
2543fef2
JM
121612010-12-27 Jim Meyering <meyering@redhat.com>
12162
12163 [BZ #12348]
12164 * posix/regexec.c (build_trtable): Return failure indication upon
12165 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12166
98727dbe
UD
121672010-12-25 Ulrich Drepper <drepper@gmail.com>
12168
5bd6dc5c
UD
12169 [BZ #12201]
12170 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12171 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12172 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12173 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12174
97983464
UD
12175 [BZ #12207]
12176 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12177
98727dbe
UD
12178 [BZ #12204]
12179 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12180 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12181
4a531bb0
L
121822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12183
12184 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12185 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12186 script has SORT_BY_INIT_PRIORITY.
12187 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12188 NO_CTORS_DTORS_SECTIONS is defined.
12189 * elf/soinit.c: Likewise.
12190 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12191 NO_CTORS_DTORS_SECTIONS is defined.
12192 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12193 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12194 * sysdeps/sh/init-first.c: Likewise.
12195 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12196
07eb4b71
UD
121972010-12-24 Ulrich Drepper <drepper@gmail.com>
12198
12199 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12200 always use the slow path.
12201
30950a5f
RA
122022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12203
12204 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12205 similar rule which adds the sysdep directories to the header search in
12206 order to pick up the correct platform stackinfo.h.
12207 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12208 perform test if it is, otherwise return successfully without testing.
12209 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12210 DEFAULT_STACK_PERMS define in stackinfo.h.
12211 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12212 defined in stackinfo.h.
12213 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12214 DEFAULT_STACK_PERMS defined in stackinfo.h.
12215 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12216 * sysdeps/ia64/stackinfo.h: Likewise.
12217 * sysdeps/s390/stackinfo.h: Likewise.
12218 * sysdeps/sh/stackinfo.h: Likewise.
12219 * sysdeps/sparc/stackinfo.h: Likewise.
12220 * sysdeps/x86_64/stackinfo.h: Likewise.
12221 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12222 PF_X for powerpc64. Retain PF_X for powerpc32.
12223
db753e2c
UD
122242010-12-19 Ulrich Drepper <drepper@gmail.com>
12225
14b697f7
UD
12226 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12227 accurately.
db753e2c
UD
12228 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12229 GETDENTS_64BIT_ALIGNED.
12230
28300719
UD
122312010-12-14 Ulrich Drepper <dreper@gmail.com>
12232
14b697f7 12233 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12234
4f197237
AS
122352010-12-10 Andreas Schwab <schwab@redhat.com>
12236
dbb0472f
AS
12237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12238 _GNU_SOURCE.
12239
4f197237
AS
12240 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12241 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12242 Remove __restrict.
12243 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12244 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12245
fb88ac72
UD
122462010-12-09 Ulrich Drepper <drepper@gmail.com>
12247
12248 [BZ #11655]
12249 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12250 are initialized.
12251
42acbb92
JJ
122522010-12-09 Jakub Jelinek <jakub@redhat.com>
12253
12254 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12255
c038d98d
UD
122562010-12-03 Ulrich Drepper <drepper@gmail.com>
12257
12258 * po/it.po: Update from translation team.
12259
3a4a2499
L
122602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12263 unused codes.
12264
1e24cf6e
UD
122652010-11-30 Ulrich Drepper <drepper@gmail.com>
12266
12267 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12268
a7690819
AS
122692010-11-24 Andreas Schwab <schwab@redhat.com>
12270
12271 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12272 specially.
12273 (gaih_getanswer_slice): Likewise.
12274
3bf8d1b1
JJ
122752010-10-20 Jakub Jelinek <jakub@redhat.com>
12276
12277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12278
6db52fbb
PB
122792010-05-31 Petr Baudis <pasky@suse.cz>
12280
12281 [BZ #11149]
12282 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12283 silently even in the chroot mode.
12284
eaca7569
UD
122852010-11-22 Ulrich Drepper <drepper@gmail.com>
12286
12287 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12288 last patch a bit. Pretty printing
12289
3056dcdb
UD
122902010-05-31 Petr Baudis <pasky@suse.cz>
12291
12292 [BZ #10085]
12293 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12294 initialization of skip_initgroups_dyn.
12295
cf7c9078
UD
122962010-11-19 Ulrich Drepper <drepper@gmail.com>
12297
12298 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12299 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12300
a1fb5e3e
UD
123012010-11-16 Ulrich Drepper <drepper@gmail.com>
12302
12303 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12304
3540d66b
AS
123052010-11-11 Andreas Schwab <schwab@redhat.com>
12306
12307 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12308 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12309 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12310 ($(objpfx)tst-fnmatch-mem): New rule.
12311 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12312 * posix/tst-fnmatch.c (main): Call mtrace.
12313
13b69574
L
123142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12315
12316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12317 Support Intel processor model 6 and model 0x2c.
12318
da93d214
LM
123192010-11-10 Luis Machado <luisgpm@br.ibm.com>
12320
12321 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12322 signed comparison.
12323
8ca52c6e
L
123242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12325
12326 [BZ #12205]
12327 * string/test-strncasecmp.c (check_result): New function.
12328 (do_one_test): Use it.
12329 (check1): New function.
12330 (test_main): Use it.
12331 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12332 Support strcasecmp and strncasecmp.
12333
69da074d
UD
123342010-11-08 Ulrich Drepper <drepper@gmail.com>
12335
12336 [BZ #12194]
12337 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12338 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12339
ff02d528
L
123402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12341
12342 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12343 IFUNC support.
12344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12345 memset-x86-64.
12346 * sysdeps/x86_64/multiarch/bzero.S: New file.
12347 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12348 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12349 * sysdeps/x86_64/multiarch/memset.S: New file.
12350 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12352 Set bit_Prefer_SSE_for_memop for Intel processors.
12353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12354 Define.
12355 (index_Prefer_SSE_for_memop): Define.
12356 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12357
344d0b54
LM
123582010-11-04 Luis Machado <luisgpm@br.ibm.com>
12359
12360 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12361 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12362
c0dde15b
UD
123632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12364
12365 [BZ #12191]
12366 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12367 (__x86_64_raw_data_cache_size_half): Likewise.
12368 (__x86_64_raw_shared_cache_size): Likewise.
12369 (__x86_64_raw_shared_cache_size_half): Likewise.
12370
12371 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12372 (__x86_64_raw_data_cache_size_half): Likewise.
12373 (__x86_64_raw_shared_cache_size): Likewise.
12374 (__x86_64_raw_shared_cache_size_half): Likewise.
12375 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12376 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12377 and __x86_64_raw_shared_cache_size_half. Round
12378 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12379 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12380 to multiple of 256 bytes.
12381
0e516e0e
MS
123822010-11-03 Ulrich Drepper <drepper@gmail.com>
12383
12384 [BZ #12167]
12385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12386 of inacessible symlinks. Verify result of symlink before returning it.
12387 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12388 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12389
0e012e87
ER
123902010-10-28 Erich Ritz <erichritz@gmail.com>
12391
12392 * math/math.h (isinf): Fix typo in comment.
12393
de0ff7bc
UD
123942010-11-01 Ulrich Drepper <drepper@gmail.com>
12395
12396 * po/da.po: Update from translation team.
12397
fa41c84d
UD
123982010-10-26 Ulrich Drepper <drepper@gmail.com>
12399
12400 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12401 is added to the list.
12402
f0967738
AK
124032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12404 Ulrich Drepper <drepper@gmail.com>
12405
12406 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12407 the global list here. Move code to...
12408 (_dl_add_to_namespace_list): ...here. New function.
12409 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12410 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12411 * elf/dl-load.c (lose): Don't remove the element from the list.
12412 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12413 (_dl_map_object): Likewise.
12414
124152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12416
12417 [BZ #12159]
12418 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12419 into all bytes of SSE register.
12420 Patch by Richard Li <richardpku@gmail.com>.
12421
f0967738 124222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12423
12424 [BZ #12140]
12425 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12426 perturbing.
12427
d0b9e94f
MB
124282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12429
12430 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12431 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12433 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12435 submachine.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12437
8e9f92e9
AS
124382010-10-22 Andreas Schwab <schwab@redhat.com>
12439
12440 * include/dlfcn.h (__RTLD_SECURE): Define.
12441 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12442 mode & __RTLD_SECURE instead.
12443 (open_path): Rename preloaded parameter to secure.
12444 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12445 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12446 * elf/dl-deps.c (openaux): Likewise.
12447 * elf/rtld.c (struct map_args): Remove is_preloaded.
12448 (map_doit): Don't use it.
12449 (dl_main): Likewise.
12450 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12451 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12452
bc96fbda
AS
124532010-09-09 Andreas Schwab <schwab@redhat.com>
12454
12455 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12456 (sysd-rules-targets): Remove duplicates.
12457 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12458 rtld-%.$o dependency.
12459
22cd1c9b
AS
124602010-10-18 Andreas Schwab <schwab@redhat.com>
12461
12462 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12463 _dl_map_object do it.
12464
18edac48
UD
124652010-10-19 Ulrich Drepper <drepper@gmail.com>
12466
12467 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12468 fast fma builtins, define the macros in the C99 standard.
12469 (FP_FAST_FMAF): Likewise.
12470 (FP_FAST_FMAL): Likewise.
12471 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12472
12473 * bits/mathdef.h: Update copyright year.
12474 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12475
d2050124
MM
124762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12477
12478 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12479 builtins, define the macros in the C99 standard.
12480 (FP_FAST_FMAF): Likewise.
12481 (FP_FAST_FMAL): Likewise.
12482 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12483 multiply/add.
12484 (FP_FAST_FMAF): Likewise.
12485
475facd1
JJ
124862010-10-15 Jakub Jelinek <jakub@redhat.com>
12487
12488 [BZ #3268]
12489 * math/libm-test.inc (fma_test): Some new testcases.
12490 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12491 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12492 y and infinite z. Do multiplication by C already in long double.
12493 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12495 y and infinite z. Do bitwise or of inexact bit into u.d.
12496 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12497 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12498 * sysdeps/i386/fpu/s_fma.S: Removed.
12499 * sysdeps/i386/fpu/s_fmal.S: Removed.
12500
7c08a05c
JJ
125012010-10-16 Jakub Jelinek <jakub@redhat.com>
12502
12503 [BZ #3268]
12504 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12506 computation is not scheduled after fetestexcept. Fix value
12507 of minimum denormal long double.
12508
f3f7372d
JJ
125092010-10-14 Jakub Jelinek <jakub@redhat.com>
12510
12511 [BZ #3268]
12512 * math/libm-test.inc (fma_test): Add some more tests.
12513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12514 correctly.
12515
14d43591
AS
125162010-10-15 Andreas Schwab <schwab@redhat.com>
12517
12518 * scripts/data/localplt-s390-linux-gnu.data: New file.
12519 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12520
5e908464
JJ
125212010-10-13 Jakub Jelinek <jakub@redhat.com>
12522
12523 [BZ #3268]
12524 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12525 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12526 instead of dbl-64.
12527 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12528 inlines.
12529 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12531 if one of x and y is very large and the other is subnormal.
12532 * sysdeps/s390/fpu/s_fmaf.c: New file.
12533 * sysdeps/s390/fpu/s_fma.c: New file.
12534 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12535 * sysdeps/powerpc/fpu/s_fma.S: New file.
12536 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12537 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12538 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12539
125402010-10-12 Jakub Jelinek <jakub@redhat.com>
12541
12542 [BZ #3268]
12543 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12544 fma tests.
12545 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12546 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12547 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12548 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12549 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12550 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12552
b833d51f
UD
125532010-10-12 Ulrich Drepper <drepper@redhat.com>
12554
12555 [BZ #12078]
12556 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12557 * posix/bug-regex31.input: Add test case.
12558
1751705d
UD
125592010-10-11 Ulrich Drepper <drepper@gmail.com>
12560
e9b9cbf5
UD
12561 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12562 * posix/bug-regex31.input: New file.
12563
12564 [BZ #12078]
12565 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12566 (parse_sub_exp): Fix last change, use postorder.
12567
ef06edbe
UD
12568 * posix/bug-regex31.c: New file.
12569 * posix/Makefile: Add rules to build and run bug-regex31.
12570
a129c80d
UD
12571 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12572
12573 [BZ #12078]
12574 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12575
b76b818e
UD
12576 [BZ #12108]
12577 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12578 to have entries in sys_siglist.
12579
1751705d
UD
12580 [BZ #12093]
12581 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12582 be NULL.
12583
9ff8d36f
JJ
125842010-10-07 Jakub Jelinek <jakub@redhat.com>
12585
12586 [BZ #3268]
12587 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12588 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12589 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12590 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12591 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12592 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12593 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12594 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12595 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12596 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12597 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12598 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12599 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12600 * math/ftestexcept.c (fetestexcept): Likewise.
12601 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12602 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12603 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12604 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12605 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12606 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12608
af325969
UD
126092010-10-11 Ulrich Drepper <drepper@gmail.com>
12610
c579b202 12611 [BZ #12107]
af325969
UD
12612 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12613 newline.
12614
67a67b95
UD
126152010-10-06 Ulrich Drepper <drepper@gmail.com>
12616
12617 * string/bug-strstr1.c: New file.
12618 * string/Makefile: Add rules to build and run bug-strstr1.
12619
5fb308bc
EB
126202010-10-05 Eric Blake <eblake@redhat.com>
12621
12622 [BZ #12092]
12623 * string/str-two-way.h (two_way_long_needle): Always clear memory
12624 when skipping input due to the shift table.
12625
45db99c7
UD
126262010-10-03 Ulrich Drepper <drepper@gmail.com>
12627
3b111893
UD
12628 [BZ #12005]
12629 * malloc/mcheck.c: Handle large requests.
12630
45db99c7
UD
12631 [BZ #12077]
12632 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12633 for strncmp and strncasecmp.
12634 * string/stratcliff.c: Add tests for strcmp and strncmp.
12635 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12636
cf7a1eb8
NI
126372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12638
12639 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12640 __set_fpscr.
12641
6484ba5e
AJ
126422010-09-30 Andreas Jaeger <aj@suse.de>
12643
12644 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12645 (CGROUP_SUPER_MAGIC): Define.
12646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12647 Handle btrfs and cgroup file systems.
12648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12649 Likewise.
12650
91c42559
LM
126512010-09-27 Luis Machado <luisgpm@br.ibm.com>
12652
12653 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12654 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12655
87a97932
AK
126562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12657
12658 [BZ #12067]
12659 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12660 trying to locate the ELF header.
12661
c21cc9bc
AS
126622010-09-27 Andreas Schwab <schwab@redhat.com>
12663
12664 [BZ #11611]
12665 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12666 Mask out sign-bit copies when constructing f_fsid.
12667
315970f6
PB
126682010-09-24 Petr Baudis <pasky@suse.cz>
12669
12670 * debug/stack_chk_fail_local.c: Add missing licence exception.
12671 * debug/warning-nop.c: Likewise.
12672
1ac7a2c7
JM
126732010-09-15 Joseph Myers <joseph@codesourcery.com>
12674
12675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12676 implementing getdents64 using getdents syscall, set d_type if
12677 __ASSUME_GETDENTS32_D_TYPE.
12678
56801c50
AS
126792010-09-16 Andreas Schwab <schwab@redhat.com>
12680
12681 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12682 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12683
dda51327
UD
126842010-09-21 Ulrich Drepper <drepper@redhat.com>
12685
12686 [BZ #12037]
12687 * posix/unistd.h: Undo change of feature selection for ftruncate from
12688 2010-01-11.
12689
8ffcee4a
UD
126902010-09-20 Ulrich Drepper <drepper@redhat.com>
12691
a545ecd9 12692 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12693 detection.
12694
e24f0a8b
AS
126952010-09-20 Andreas Schwab <schwab@redhat.com>
12696
12697 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12698 fanotify_mark.
12699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12700
7291c56f
AS
127012010-09-14 Andreas Schwab <schwab@redhat.com>
12702
12703 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12704 variables after CHECK_SP call.
12705 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12706
bc5fb037
AS
127072010-09-13 Andreas Schwab <schwab@redhat.com>
12708 Ulrich Drepper <drepper@redhat.com>
12709
12710 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12711 re-relocationg ld.so.
12712 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12713 _dl_init_paths call.
12714 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12715 here anymore.
12716
e66e7419
UD
127172010-09-14 Ulrich Drepper <drepper@redhat.com>
12718
12719 * resolv/res_init.c (__res_vinit): Count the default server we added.
12720
c044aa75
CLT
127212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12722 Ulrich Drepper <drepper@redhat.com>
12723
12724 [BZ #11968]
12725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12726 (____longjmp_chk): Use %ebx for saving value across system call.
12727 Add unwind info.
12728
32cf4069
AS
127292010-09-06 Andreas Schwab <schwab@redhat.com>
12730
12731 * manual/Makefile: Don't mix pattern rules with normal rules.
12732
817328ee
AS
127332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12734
12735 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12736 operation.
12737 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12738 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12739 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12740 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12742 Likewise.
12743
29fddf61
UD
127442010-09-04 Ulrich Drepper <drepper@redhat.com>
12745
12746 [BZ #11979]
12747 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12748 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12749
0959ffc9
UD
127502010-09-02 Ulrich Drepper <drepper@redhat.com>
12751
12752 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12753 * sysdeps/x86_64/addmul_1.S: Likewise.
12754 * sysdeps/x86_64/lshift.S: Likewise.
12755 * sysdeps/x86_64/mul_1.S: Likewise.
12756 * sysdeps/x86_64/rshift.S: Likewise.
12757 * sysdeps/x86_64/sub_n.S: Likewise.
12758 * sysdeps/x86_64/submul_1.S: Likewise.
12759
ece29840
ST
127602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12761
0959ffc9
UD
12762 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12763 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12764 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12765 * bits/sched.h [__need_schedparam]
ece29840 12766 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12767 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12768 (__defined_schedparam): Define to 1.
ece29840
ST
12769 (__sched_param): New structure, identical to sched_param.
12770 (__need_schedparam): Undefine.
12771
e53a31fe
MF
127722010-08-31 Mike Frysinger <vapier@gentoo.org>
12773
fdc0c10d
MF
12774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12775 (epoll_create1): Declare.
12776
e53a31fe
MF
12777 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12778
a726d796
AS
127792010-08-31 Andreas Schwab <schwab@redhat.com>
12780
12781 [BZ #7066]
12782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12783 shifting retval into place.
12784
2f3e3dc7
UD
127852010-09-01 Ulrich Drepper <drepper@redhat.com>
12786
f2933da9
UD
12787 * nis/rpcsvc/nis.h: Update copyright notice.
12788 * nis/rpcsvc/nis.x: Likewise.
12789 * nis/rpcsvc/nis_callback.h: Likewise.
12790 * nis/rpcsvc/nis_callback.x: Likewise.
12791 * nis/rpcsvc/nis_object.x: Likewise.
12792 * nis/rpcsvc/nis_tags.h: Likewise.
12793 * nis/rpcsvc/yp.h: Likewise.
12794 * nis/rpcsvc/yp.x: Likewise.
12795 * nis/rpcsvc/ypupd.h: Likewise.
12796 * nis/yp_xdr.c: Likewise.
12797 * nis/ypupdate_xdr.c: Likewise.
12798
2f3e3dc7
UD
12799 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12800 mainly the body of pmap_getport. Add parameters to specify timeouts.
12801 (pmap_getport): Use __libc_rpc_getport.
12802 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12803 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12804 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12805
f3dcc2f9
AS
128062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12807
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12809 fanotify_mark.
12810
6d34eb5b
RM
128112010-08-27 Roland McGrath <roland@redhat.com>
12812
12813 * sysdeps/i386/i686/multiarch/Makefile
12814 (CFLAGS-varshift.c): New variable.
12815
9ea3de11
UD
128162010-08-27 Ulrich Drepper <drepper@redhat.com>
12817
c96d23fc
UD
12818 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12819 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12820
9ea3de11
UD
12821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12822
12823 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12824
623aac7f
L
128252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * sysdeps/x86_64/strlen.S: Unroll the loop.
12828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12829 strlen-sse2 strlen-sse2-bsf.
12830 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12831 __strlen_no_bsf if bit_Slow_BSF is set.
12832 (__strlen_sse42): Removed.
12833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12834 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12835
8b2b7715
RM
128362010-08-25 Roland McGrath <roland@redhat.com>
12837
12838 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12839 * sysdeps/x86_64/multiarch/varshift.c: New file.
12840 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12841 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12842 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12843 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12844
e73015f2
L
128452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12846
12847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12848 strlen-sse2 strlen-sse2-bsf.
12849 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12850 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12851 (__strlen_sse2): Removed.
12852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12855 bit_Slow_BSF for Atom.
12856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12857 (index_Slow_BSF): Define.
12858 (HAS_SLOW_BSF): Define.
12859
df24a73e
UD
128602010-08-25 Ulrich Drepper <drepper@redhat.com>
12861
12862 [BZ #10851]
12863 * resolv/res_init.c (__res_vinit): When no server address at all
12864 is given default to loopback.
12865
f2ac4868
RM
128662010-08-24 Roland McGrath <roland@redhat.com>
12867
09055553
RM
12868 * configure.in: Remove config-name.h generation.
12869 * configure: Regenerated.
12870 * config-name.in: File removed.
12871 * scripts/config-uname.sh: New file.
12872 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12873 ($(objdir)config-name.h): New target.
12874
f2ac4868
RM
12875 * sunrpc/rpc_parse.h: Avoid nested comment.
12876
73f27d5e
RH
128772010-08-24 Richard Henderson <rth@redhat.com>
12878 Ulrich Drepper <drepper@redhat.com>
12879 H.J. Lu <hongjiu.lu@intel.com>
12880
12881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12883 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12884 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12885 _mm_alignr_epi8 with _mm_loadu_si128.
12886 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12887 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12888 (__m128i_shift_right): Removed.
12889 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12890 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12891 * sysdeps/x86_64/multiarch/varshift.h: New file.
12892 * sysdeps/x86_64/multiarch/varshift.S: New file.
12893
84b9230c
MF
128942010-08-21 Mike Frysinger <vapier@gentoo.org>
12895
12896 * configure.in: Move assembler checks to before sysdep dir checking.
12897
9bbd0ddc
PB
128982010-08-20 Petr Baudis <pasky@suse.cz>
12899
12900 * LICENSES: Sync the sunrpc license.
12901
9da4bb31
UD
129022010-08-19 Ulrich Drepper <drepper@redhat.com>
12903
a7ab6ec8
UD
12904 * sunrpc/auth_des.c: Update copyright notice once again.
12905 * sunrpc/auth_none.c: Likewise.
12906 * sunrpc/auth_unix.c: Likewise.
12907 * sunrpc/authdes_prot.c: Likewise.
12908 * sunrpc/authuxprot.c: Likewise.
12909 * sunrpc/bindrsvprt.c: Likewise.
12910 * sunrpc/clnt_gen.c: Likewise.
12911 * sunrpc/clnt_perr.c: Likewise.
12912 * sunrpc/clnt_raw.c: Likewise.
12913 * sunrpc/clnt_simp.c: Likewise.
12914 * sunrpc/clnt_tcp.c: Likewise.
12915 * sunrpc/clnt_udp.c: Likewise.
12916 * sunrpc/clnt_unix.c: Likewise.
12917 * sunrpc/des_crypt.c: Likewise.
12918 * sunrpc/des_soft.c: Likewise.
12919 * sunrpc/get_myaddr.c: Likewise.
12920 * sunrpc/getrpcport.c: Likewise.
12921 * sunrpc/key_call.c: Likewise.
12922 * sunrpc/key_prot.c: Likewise.
12923 * sunrpc/openchild.c: Likewise.
12924 * sunrpc/pm_getmaps.c: Likewise.
12925 * sunrpc/pm_getport.c: Likewise.
12926 * sunrpc/pmap_clnt.c: Likewise.
12927 * sunrpc/pmap_prot.c: Likewise.
12928 * sunrpc/pmap_prot2.c: Likewise.
12929 * sunrpc/pmap_rmt.c: Likewise.
12930 * sunrpc/rpc/auth.h: Likewise.
12931 * sunrpc/rpc/auth_unix.h: Likewise.
12932 * sunrpc/rpc/clnt.h: Likewise.
12933 * sunrpc/rpc/des_crypt.h: Likewise.
12934 * sunrpc/rpc/key_prot.h: Likewise.
12935 * sunrpc/rpc/netdb.h: Likewise.
12936 * sunrpc/rpc/pmap_clnt.h: Likewise.
12937 * sunrpc/rpc/pmap_prot.h: Likewise.
12938 * sunrpc/rpc/pmap_rmt.h: Likewise.
12939 * sunrpc/rpc/rpc.h: Likewise.
12940 * sunrpc/rpc/rpc_des.h: Likewise.
12941 * sunrpc/rpc/rpc_msg.h: Likewise.
12942 * sunrpc/rpc/svc.h: Likewise.
12943 * sunrpc/rpc/svc_auth.h: Likewise.
12944 * sunrpc/rpc/types.h: Likewise.
12945 * sunrpc/rpc/xdr.h: Likewise.
12946 * sunrpc/rpc_clntout.c: Likewise.
12947 * sunrpc/rpc_cmsg.c: Likewise.
12948 * sunrpc/rpc_common.c: Likewise.
12949 * sunrpc/rpc_cout.c: Likewise.
12950 * sunrpc/rpc_dtable.c: Likewise.
12951 * sunrpc/rpc_hout.c: Likewise.
12952 * sunrpc/rpc_main.c: Likewise.
12953 * sunrpc/rpc_parse.c: Likewise.
12954 * sunrpc/rpc_parse.h: Likewise.
12955 * sunrpc/rpc_prot.c: Likewise.
12956 * sunrpc/rpc_sample.c: Likewise.
12957 * sunrpc/rpc_scan.c: Likewise.
12958 * sunrpc/rpc_scan.h: Likewise.
12959 * sunrpc/rpc_svcout.c: Likewise.
12960 * sunrpc/rpc_tblout.c: Likewise.
12961 * sunrpc/rpc_util.c: Likewise.
12962 * sunrpc/rpc_util.h: Likewise.
12963 * sunrpc/rpcinfo.c: Likewise.
12964 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12965 * sunrpc/rpcsvc/key_prot.x: Likewise.
12966 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12967 * sunrpc/rpcsvc/mount.x: Likewise.
12968 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12969 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12970 * sunrpc/rpcsvc/rex.x: Likewise.
12971 * sunrpc/rpcsvc/rstat.x: Likewise.
12972 * sunrpc/rpcsvc/rusers.x: Likewise.
12973 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12974 * sunrpc/rpcsvc/spray.x: Likewise.
12975 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12976 * sunrpc/rtime.c: Likewise.
12977 * sunrpc/svc.c: Likewise.
12978 * sunrpc/svc_auth.c: Likewise.
12979 * sunrpc/svc_authux.c: Likewise.
12980 * sunrpc/svc_raw.c: Likewise.
12981 * sunrpc/svc_run.c: Likewise.
12982 * sunrpc/svc_simple.c: Likewise.
12983 * sunrpc/svc_tcp.c: Likewise.
12984 * sunrpc/svc_udp.c: Likewise.
12985 * sunrpc/svc_unix.c: Likewise.
12986 * sunrpc/svcauth_des.c: Likewise.
12987 * sunrpc/xcrypt.c: Likewise.
12988 * sunrpc/xdr.c: Likewise.
12989 * sunrpc/xdr_array.c: Likewise.
12990 * sunrpc/xdr_float.c: Likewise.
12991 * sunrpc/xdr_mem.c: Likewise.
12992 * sunrpc/xdr_rec.c: Likewise.
12993 * sunrpc/xdr_ref.c: Likewise.
12994 * sunrpc/xdr_sizeof.c: Likewise.
12995 * sunrpc/xdr_stdio.c: Likewise.
12996
9da4bb31
UD
12997 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12998 handling.
12999
bdaa77bc
AS
130002010-08-19 Andreas Schwab <schwab@redhat.com>
13001
13002 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13003
fe2f79db
LM
130042010-08-19 Luis Machado <luisgpm@br.ibm.com>
13005
13006 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13007 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13008 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13009 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13010 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13011 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13012 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13013 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13015 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13016 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13017 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13018 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13019 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13020
b9b42ee0
AB
130212010-07-26 Anton Blanchard <anton@samba.org>
13022
13023 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13024 * malloc/arena.c (heap_trim): Likewise.
13025
1c06ba31
UD
130262010-08-16 Ulrich Drepper <drepper@redhat.com>
13027
13028 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13029 here. Not...
13030 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13031 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13032
f8392f40
L
130332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13034
13035 * sysdeps/i386/elf/Makefile: New file.
13036
3162f12e
AS
130372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13038
13039 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13040 from fanotify_init.
13041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13043
28c90b2c
UD
130442010-08-15 Ulrich Drepper <drepper@redhat.com>
13045
13046 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13047 of strncasecmp_l.
1feccb6c 13048 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13049
ca6bb004
UD
130502010-08-14 Ulrich Drepper <drepper@redhat.com>
13051
e9f82e0d
UD
13052 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13053 strncase_l-nonascii.
13054 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13055 Add strncase_l-ssse3.
13056 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13057 * sysdeps/x86_64/strcmp.S: Likewise.
13058 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13059 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13060 * sysdeps/x86_64/strncase.S: New file.
13061 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13062 * sysdeps/x86_64/strncase_l.S: New file.
13063 * string/Makefile (strop-tests): Add strncasecmp.
13064 * string/test-strncasecmp.c: New file.
13065
13066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13067 warning.
13068
ca6bb004
UD
13069 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13070 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13071
052fa7b3
AS
130722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13073
13074 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13075
962dba78
UD
130762010-08-12 Ulrich Drepper <drepper@redhat.com>
13077
13078 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13081
bebff237
AM
130822010-05-01 Alan Modra <amodra@gmail.com>
13083
13084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13085 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13086 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13087 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13088 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13089 tidying. Don't tail-call __sigjmp_save for static lib.
13090 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13091 save location.
13092 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13093 (CALL_MCOUNT): Add eh info, and nop after bl.
13094 (TAIL_CALL_SYSCALL_ERROR): New macro.
13095 (PSEUDO_RET): Use it.
13096 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13097 Correct save location of integer regs and cr.
13098 (_dl_profile_resolve): Correct cr save location. Delete nops
13099 after bl when SHARED. Reduce cfi size a little by better
13100 placement of cfi directives.
13101 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13102 make a stack frame. Instead use parm save area as a temp.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13104 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13106 Don't make a stack frame for parent, use parm save area.
13107 Increase child stack frame to 112 bytes. Don't save unused reg,
13108 and adjust reg usage. Set up cfi on error recovery and
13109 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13111 (__makecontext): Add dummy nop after jump to exit.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13113 Use correct parm save area and cr save, reduce stack frame.
13114 Correct cfi for possible PSEUDO_RET frame setup.
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13116 Branch to local label emitted by PSEUDO_RET rather than
13117 __syscall_error.
13118
02637374
AS
131192010-08-12 Andreas Schwab <schwab@redhat.com>
13120
13121 [BZ #11904]
13122 * locale/programs/locale.c (print_assignment): New function.
13123 (show_locale_vars): Use it.
13124
c3e2f19b
UD
131252010-08-11 Ulrich Drepper <drepper@redhat.com>
13126
3cdaa6ad
UD
13127 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13128 field.
13129 (struct statfs64): Likewise.
13130 (_STATFS_F_FLAGS): Define.
13131 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13133 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13134 (ST_VALID): Define locally.
13135 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13136 __statvfs_getflags, use the provided value.
13137 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13138 __ASSUME_STATFS_F_FLAGS.
13139
754f7da3
UD
13140 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13141
10b3bedc
UD
13142 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13143 Add sys/fanotify.h.
13144 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13145 fanotify_mask for GLIBC_2.13.
13146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13147 fanotify_init and fanotify_mark.
13148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13149 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13150
c08fb0d7
UD
13151 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13152 Add prlimit.
13153 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13154 prlimit64 for GLIBC_2.13.
13155 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13156 prlimit64.
13157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13158 syscall.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13160 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13161 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13162 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13164 add prlimit alias.
13165 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13166
15bac72b
UD
13167 [BZ #11903]
13168 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13169 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13170
c3e2f19b
UD
13171 * nss/Makefile: Add rules to build and run tst-nss-test1.
13172 * shlib-versions: Add entry for libnss_test1.
13173 * nss/nss_test1.c: New file.
13174 * nss/tst-nss-test1.c: New file.
13175
13176 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13177 (__nss_configure_lookup): Set appropriate entry in
13178 __nss_configure_lookup to true.
13179 * nss/nsswitch.h: Define enum with indeces of databases in
13180 databases and __nss_database_custom arrays. Declare
13181 __nss_database_custom.
13182 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13183 to avoid using nscd when custom rules are installed.
13184 * nss/getXXbyYY_r.c: Likewise.
13185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13186
13187 * nss/nss_files/files-parse.c: Whitespace fixes.
13188
f15ce4d8
UD
131892010-08-09 Ulrich Drepper <drepper@redhat.com>
13190
13191 [BZ #11883]
13192 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13193 * posix/fnmatch_loop.c: Likewise.
13194
d22e4cc9
AK
131952010-07-17 Andi Kleen <ak@linux.intel.com>
13196
13197 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13198 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13199 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13200 * Versions.def [GLIBC_2.13]: Add.
13201
805bc17d
UD
132022010-08-06 Ulrich Drepper <drepper@redhat.com>
13203
13204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13205 Also fail if tpwd after pwuid call is NULL.
13206
5a42321d
ST
132072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13208
13209 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13210 when converting to ms.
13211
fd3ebeda
ST
132122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13213
13214 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13215 EOPNOTSUPP errors with ENOTTY.
13216 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13217 EOPNOTSUPP errors with ENOTTY.
13218
73507d3a
UD
132192010-07-31 Ulrich Drepper <drepper@redhat.com>
13220
13221 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13222 Add strcasecmp_l-ssse3.
13223 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13224 strcasecmp.
13225 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13226 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13227 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13228
fe36dd02
UD
132292010-07-30 Ulrich Drepper <drepper@redhat.com>
13230
66f6765a
UD
13231 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13232
42e08a54
UD
13233 * string/Makefile (strop-tests): Add strcasecmp.
13234 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13235 strcasecmp_l-nonascii.
13236 (gen-as-const-headers): Add locale-defines.sym.
13237 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13238 * sysdeps/x86_64/strcasecmp.S: New file.
13239 * sysdeps/x86_64/strcasecmp_l.S: New file.
13240 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13241 * sysdeps/x86_64/locale-defines.sym: New file.
13242 * string/test-strcasecmp.c: New file.
13243
fe36dd02
UD
13244 * string/test-strcasestr.c: Test both ends of the range of characters.
13245 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13246
48cbc0d6
RM
132472010-07-29 Roland McGrath <roland@redhat.com>
13248
76e6d6bc 13249 [BZ #11856]
48cbc0d6
RM
13250 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13251
880113d9
UD
132522010-07-27 Ulrich Drepper <drepper@redhat.com>
13253
13254 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13255 for ld.so.
13256
deb9cabb
AS
132572010-07-27 Andreas Schwab <schwab@redhat.com>
13258
13259 * manual/memory.texi (Malloc Tunable Parameters): Document
13260 M_PERTURB.
13261
1c7570ff
RM
132622010-07-26 Roland McGrath <roland@redhat.com>
13263
13264 [BZ #11840]
13265 * configure.in (-fgnu89-inline check): Set and substitute
13266 gnu89_inline, not libc_cv_gnu89_inline.
13267 * configure: Regenerated.
13268 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13269
24fb0f88
UD
132702010-07-26 Ulrich Drepper <drepper@redhat.com>
13271
13272 * string/test-strnlen.c: New file.
13273 * string/Makefile (strop-tests): Add strnlen.
13274 * string/tester.c (test_strnlen): Add a few more test cases.
13275 * string/tst-strlen.c: Better error reporting.
13276
13277 * sysdeps/x86_64/strnlen.S: New file.
13278
8e96b93a
UD
132792010-07-24 Ulrich Drepper <drepper@redhat.com>
13280
13281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13282 lower-latency instructions.
13283
dbc676d4
UD
132842010-07-23 Ulrich Drepper <drepper@redhat.com>
13285
13286 * string/test-strcasestr.c: New file.
13287 * string/test-strstr.c: New file.
13288 * string/Makefile (strop-tests): Add strstr and strcasestr.
13289 * string/str-two-way.h: Don't undefine MAX.
13290 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13291
f6a31e0e
AS
132922010-07-21 Andreas Schwab <schwab@redhat.com>
13293
13294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13295 strcasestr-nonascii.
13296 (CFLAGS-strcasestr-nonascii.c): Define.
13297 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13299 Remove unused attribute.
13300
5dbc3b6c
RM
133012010-07-20 Roland McGrath <roland@redhat.com>
13302
13303 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13304 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13305 ld.so.cache was broken. With it, there is no way to disable dsocaps
13306 like LD_HWCAP_MASK can disable hwcaps.
13307
23d101d8
EPM
133082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13309
13310 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13311
cc9f2e47
UD
133122010-07-16 Ulrich Drepper <drepper@redhat.com>
13313
13314 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13315 call in strcasestr.
13316 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13317 __strcasestr_sse42_nonascii.
13318 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13319 strcasestr-nonascii.c.
13320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13321
77c1b069
LM
133222010-06-15 Luis Machado <luisgpm@br.ibm.com>
13323
13324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13328
440566c3
UD
133292010-07-09 Ulrich Drepper <drepper@redhat.com>
13330
13331 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13332 fcntl.
13333
5be9d05d
AS
133342010-07-06 Andreas Schwab <schwab@redhat.com>
13335
c30b7ee2 13336 [BZ #11577]
5be9d05d
AS
13337 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13338 dl_signal_cerror.
13339
8a492a67
UD
133402010-07-06 Ulrich Drepper <drepper@redhat.com>
13341
13342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13343 _PC_PIPE_BUF using F_GETPIPE_SZ.
13344
713df3d5
RM
133452010-07-05 Roland McGrath <roland@redhat.com>
13346
13347 * manual/arith.texi (Rounding Functions): Fix rint description
13348 implicit in round description.
13349
702e8f14
UD
133502010-07-02 Ulrich Drepper <drepper@redhat.com>
13351
13352 * elf/Makefile: Fix linking for a few tests to make recent linker
13353 happy.
13354
52ed8be9
AS
133552010-06-30 Andreas Schwab <schwab@redhat.com>
13356
13357 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13358 $(common-objpfx)libc_nonshared.a.
13359
f47c9a11
LM
133602010-06-21 Luis Machado <luisgpm@br.ibm.com>
13361
13362 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13363 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13364 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13365 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13366 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13368 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13369 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13384 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13385 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13386 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13387 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13388 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13389 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13390 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13391 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13392 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13393 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13394 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13395 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13410
6fb8cbcb
L
134112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13412
13413 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13414 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13415 * string/memmove.c (memmove): Renamed to ...
13416 (MEMMOVE): ...this. Default to memmove.
13417 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13418 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13419 (END_CHK): Define.
13420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13421 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13422 mempcpy-ssse3-back memmove-ssse3-back.
13423 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13426 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13427 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13428 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13429 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13430 * sysdeps/x86_64/multiarch/memmove.c: New file.
13431 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13432 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13433 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13434 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13435 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13436 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13437 Define.
13438 (index_Fast_Copy_Backward): Define.
13439 (HAS_ARCH_FEATURE): Define.
13440 (HAS_FAST_REP_STRING): Define.
13441 (HAS_FAST_COPY_BACKWARD): Define.
13442
4e733bac 134432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13444
13445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13446 Restore proper fallback handling.
13447
63c4ed22
UD
134482010-06-19 Ulrich Drepper <drepper@redhat.com>
13449
ac2b484c
UD
13450 [BZ #11701]
13451 * posix/group_member.c (__group_member): Correct checking loop.
13452
63c4ed22
UD
13453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13454 OOM in getpwuid_r correctly. Return error number when the caller
13455 should return, otherwise -1.
13456 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13457 call returning > 0 value.
13458 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13459
765ade4b
AS
134602010-06-07 Andreas Schwab <schwab@redhat.com>
13461
13462 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13463 libc_nonshared.a from targets in modules-names.
13464
80da2e09
KS
134652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13466
13467 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13468 requires it.
13469
158db122
LM
134702010-06-10 Luis Machado <luisgpm@br.ibm.com>
13471
13472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13473 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13476
caa78cf8
AS
134772010-06-02 Andreas Schwab <schwab@redhat.com>
13478
13479 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13480
b2ef2c01
UD
134812010-06-14 Ulrich Drepper <drepper@redhat.com>
13482
13483 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13484 and F_GETPIPE_SZ.
13485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13491
fbd643b6
RM
134922010-06-14 Roland McGrath <roland@redhat.com>
13493
13494 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13495
f32f2869
JJ
134962010-06-07 Jakub Jelinek <jakub@redhat.com>
13497
13498 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13499 __REDIRECT followed by __THROW.
13500 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13501 * posix/getopt.h (getopt): Likewise.
13502
2a50c078
EPM
135032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13504
13505 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13506 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13507 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13508 in AT_FLAGS.
13509 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13510 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13511
eb5ad2eb
LM
135122010-05-28 Luis Machado <luisgpm@br.ibm.com>
13513
13514 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13515
3c88fe1e
L
135162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 [BZ #11640]
13519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13520 Properly check family and model.
13521
d2f73151
TY
135222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13523
13524 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13525
ebd2e13d
LM
135262010-05-24 Luis Machado <luisgpm@br.ibm.com>
13527
13528 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13529
b32b8b45
UD
135302010-05-21 Ulrich Drepper <drepper@redhat.com>
13531
13532 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13533 symbol reference.
13534
9acbe24d
AS
135352010-05-19 Andreas Schwab <schwab@redhat.com>
13536
13537 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13538 symbol reference.
13539
f0ccf6ea
AS
135402010-05-21 Andreas Schwab <schwab@redhat.com>
13541
3d04ff3a
AS
13542 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13543 and internal_recvmmsg.
13544 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13545 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13547 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13548
f0ccf6ea
AS
13549 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13550 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13551 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13552
5b08ac57
AS
135532010-05-20 Andreas Schwab <schwab@redhat.com>
13554
13555 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13556
4828935d
LM
135572010-05-17 Luis Machado <luisgpm@br.ibm.com>
13558
13559 POWER7 optimizations.
13560 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13561 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13562
373d545e
UD
135632010-05-19 Ulrich Drepper <drepper@redhat.com>
13564
13565 * version.h: Update for 2.13 development version.
13566
21a2b1ae
AS
135672010-05-12 Andrew Stubbs <ams@codesourcery.com>
13568
13569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13570 exceptions. Return 0.
13571
3f7dcb2b
RM
135722010-05-07 Roland McGrath <roland@redhat.com>
13573
13574 * elf/ldconfig.c (main): Add a const.
13575
5f24d53a 135762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13577
a160f8d8
UD
13578 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13579 (args_options): Add no-idn option.
13580 (ahosts_keys_int): Add idn_flags to ai_flags.
13581 (parse_option): Handle 'i' option to clear idn_flags.
13582
5f24d53a
UD
13583 * malloc/malloc.c (_int_free): Possible race in the most recently
13584 added check. Only act on the data if no current modification
13585 happened.
265bb1ce
UD
13586
13587See ChangeLog.17 for earlier changes.