]> sourceware.org Git - glibc.git/blame - ChangeLog
Make sunrpc code usable again
[glibc.git] / ChangeLog
CommitLineData
021db4be
AJ
12012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2 Andreas Jaeger <aj@suse.de>
3
4 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5 * configure: Regenerated.
6 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7 * config.make.in (link-obsolete-rpc): New substituted variable.
8 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12 so that libc.a contains the symbols.
13 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15 * sunrpc/auth_none.c: Likewise.
16 * sunrpc/auth_unix.c: Likewise.
17 * sunrpc/authdes_prot.c: Likewise.
18 * sunrpc/authuxprot.c: Likewise.
19 * sunrpc/clnt_gen.c: Likewise.
20 * sunrpc/clnt_perr.c: Likewise.
21 * sunrpc/clnt_raw.c: Likewise.
22 * sunrpc/clnt_simp.c: Likewise.
23 * sunrpc/clnt_tcp.c: Likewise.
24 * sunrpc/clnt_udp.c: Likewise.
25 * sunrpc/clnt_unix.c: Likewise.
26 * sunrpc/des_crypt.c: Likewise.
27 * sunrpc/des_soft.c: Likewise.
28 * sunrpc/get_myaddr.c: Likewise.
29 * sunrpc/key_call.c: Likewise.
30 * sunrpc/key_prot.c: Likewise.
31 * sunrpc/netname.c: Likewise.
32 * sunrpc/pm_getmaps.c: Likewise.
33 * sunrpc/pm_getport.c: Likewise.
34 * sunrpc/pmap_clnt.c: Likewise.
35 * sunrpc/pmap_prot.c: Likewise.
36 * sunrpc/pmap_prot2.c: Likewise.
37 * sunrpc/pmap_rmt.c: Likewise.
38 * sunrpc/publickey.c: Likewise.
39 * sunrpc/rpc_cmsg.c: Likewise.
40 * sunrpc/rpc_common.c: Likewise.
41 * sunrpc/rpc_dtable.c: Likewise.
42 * sunrpc/rpc_prot.c: Likewise.
43 * sunrpc/rpc_thread.c: Likewise.
44 * sunrpc/rtime.c: Likewise.
45 * sunrpc/svc.c: Likewise.
46 * sunrpc/svc_auth.c: Likewise.
47 * sunrpc/svc_raw.c: Likewise.
48 * sunrpc/svc_run.c: Likewise.
49 * sunrpc/svc_tcp.c: Likewise.
50 * sunrpc/svc_udp.c: Likewise.
51 * sunrpc/svc_unix.c: Likewise.
52 * sunrpc/svcauth_des.c: Likewise.
53 * sunrpc/xcrypt.c: Likewise.
54 * sunrpc/xdr.c: Likewise.
55 * sunrpc/xdr_array.c: Likewise.
56 * sunrpc/xdr_float.c: Likewise.
57 * sunrpc/xdr_intXX_t.c: Likewise.
58 * sunrpc/xdr_mem.c: Likewise.
59 * sunrpc/xdr_rec.c: Likewise.
60 * sunrpc/xdr_ref.c: Likewise.
61 * sunrpc/xdr_sizeof.c: Likewise.
62 * sunrpc/xdr_stdio.c: Likewise.
63
b5c086a2
RM
642012-05-10 Roland McGrath <roland@hack.frob.com>
65
66 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67 change. Update copyright years.
68
6d74dd09
JM
692012-05-10 Joseph Myers <joseph@codesourcery.com>
70
71 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72
28e72501
MK
732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
74 Joseph Myers <joseph@codesourcery.com>
75 Paul Pluzhnikov <ppluzhnikov@google.com>
76
77 [BZ #14012]
78 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79 requiring rpcgen.
80 [cross-compiling] (extra-libs): Likewise.
81 [cross-compiling] (extra-libs-others): Likewise.
82 [cross-compiling] (librpcsvc-routines): Likewise.
83 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
84 [cross-compiling] (omit-deps): Likewise.
85 (sunrpc-CPPFLAGS): New variable.
86 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
87 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
88 (cross-rpcgen-objs): New variable.
89 (extra-objs): Append $(cross-rpcgen-objs).
90 ($(cross-rpcgen-objs)): New rule.
91 ($(objpfx)cross-rpcgen): Likewise.
92 (rpcgen-cmd): Define to use $(built-program-file). Expand
93 comment.
94 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
95 ($(objpfx)x%.stmp): Likewise.
96 * sunrpc/proto.h [IS_IN_build] (_): Define.
97 [IS_IN_build] (_libc_intl_domainname): Likewise.
98
c8c59454
L
992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
100
101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
102 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
103 and R_X86_64_TPOFF64.
104
6f27cd16
JM
1052012-05-10 Joseph Myers <joseph@codesourcery.com>
106
107 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
108 sysdeps/unix/sysv/syscalls.list.
109 (stime): Likewise.
110 (utime): Likewise.
111 * sysdeps/unix/sysv/syscalls.list: Remove file.
112
02467e1c
PE
1132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
114
115 [BZ #3440]
116 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
117 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
118 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
119 (__LC_IDENTIFICATION): Make these macros useful in #if
120 expressions, as required by C99.
121
da392631
AS
1222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
123
124 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
125 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
126 after this.
127
8115f29b
L
1282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
129
130 * stdlib/longlong.h: Updated from GCC.
131
bdd74070
AJ
1322012-05-09 Andreas Jaeger <aj@suse.de>
133
edfe0dbe
AJ
134 * nscd/nscd.c (run_modes): Make named enum, reorder so that
135 default is first entry.
136 (run_mode): Set type.
137 (main): Remove informal message about syslog.
138 (options): Fix typo.
139
bdd74070
AJ
140 [BZ #14053]
141 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
142 to asm.
143 (lrint): Likewise.
144 (llrintf): Likewise.
145 (llrint): Likewise.
146 (rint): Likewise.
147 (rintf): Likewise.
148 (nearbyint): Likewise.
149 (nearbyintf): Likewise.
150
91d8d69e
AJ
1512012-05-09 Andreas Jaeger <aj@suse.de>
152 Pedro Alves <palves@redhat.com>
153
154 * nscd/nscd.c (run_mode): Use enum.
155 (main): Cleanup coding style issue.
156
bb90b80b
AJ
1572012-05-09 Alexandre Oliva <aoliva@redhat.com>
158 Andreas Jaeger <aj@suse.de>
159
160 * nscd/nscd.c (go_background): Replaced with...
161 (run_mode): ... this.
162 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
163 (options): Add -F --foreground.
164 (main): Implement it.
165 (parse_opt): Parse it.
166
1a4b75a1
AJ
1672012-05-09 Andreas Jaeger <aj@suse.de>
168
169 [BZ #14083]
170 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
171 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
172 -Wconversion warning.
173 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
174 Likewise.
175
b1cc2472
JM
1762012-05-09 Joseph Myers <joseph@codesourcery.com>
177
178 * conform/data/locale.h-data (NULL): Use macro-constant. Require
179 == 0.
180 (LC_ALL): Use macro-int-constant.
181 (LC_COLLATE): Likewise.
182 (LC_CTYPE): Likewise.
183 (LC_MESSAGES): Likewise.
184 (LC_MONETARY): Likewise.
185 (LC_NUMERIC): Likewise.
186 (LC_TIME): Likewise.
187 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
188 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
190 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
191 Specify type.
192 [C99-based standards] (float_t): Expect type.
193 [C99-based standards] (double_t): Expect type.
194 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
195 type.
196 [C99-based standards] (HUGE_VALL): Likewise.
197 [C99-based standards] (INFINITY): Likewise.
198 [C99-based standards] (NAN): Likewise.
199 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
200 [C99-based standards] (FP_NAN): Likewise.
201 [C99-based standards] (FP_NORMAL): Likewise.
202 [C99-based standards] (FP_SUBNORMAL): Likewise.
203 [C99-based standards] (FP_ZERO): Likewise.
204 [C99-based standards] (FP_FAST_FMA): Use
205 optional-macro-int-constant. Specify type. Require == 1.
206 [C99-based standards] (FP_FAST_FMAF): Likewise.
207 [C99-based standards] (FP_FAST_FMAL): Likewise.
208 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
209 [C99-based standards] (FP_ILOGBNAN): Likewise.
210 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
211 Specify type.
212 [C99-based standards] (MATH_ERREXCEPT): Likewise.
213 [C99-based standards] (math_errhandling): Specify type.
214 [ISO99 || ISO11] (signgam): Do not allow.
215 [non-C99-based standards] (copysignf): Do not allow.
216 [non-C99-based standards] (exp2f): Likewise.
217 [non-C99-based standards] (log2f): Likewise.
218 [non-C99-based standards] (modff): Allow.
219 [non-C99-based standards] (erff): Do not allow.
220 [non-C99-based standards] (erfcf): Likewise.
221 [non-C99-based standards] (gammaf): Likewise.
222 [non-C99-based standards] (hypotf): Likewise.
223 [non-C99-based standards] (j0f): Likewise.
224 [non-C99-based standards] (j1f): Likewise.
225 [non-C99-based standards] (jnf): Likewise.
226 [non-C99-based standards] (lgammaf): Likewise.
227 [non-C99-based standards] (tgammaf): Likewise.
228 [non-C99-based standards] (y0f): Likewise.
229 [non-C99-based standards] (y1f): Likewise.
230 [non-C99-based standards] (ynf): Likewise.
231 [non-C99-based standards] (isnanf): Likewise.
232 [non-C99-based standards] (acoshf): Likewise.
233 [non-C99-based standards] (asinhf): Likewise.
234 [non-C99-based standards] (atanhf): Likewise.
235 [non-C99-based standards] (cbrtf): Likewise.
236 [non-C99-based standards] (expm1f): Likewise.
237 [non-C99-based standards] (ilogbf): Likewise.
238 [non-C99-based standards] (log1pf): Likewise.
239 [non-C99-based standards] (logbf): Likewise.
240 [non-C99-based standards] (nextafterf): Likewise.
241 [non-C99-based standards] (remainderf): Likewise.
242 [non-C99-based standards] (rintf): Likewise.
243 [non-C99-based standards] (scalbf): Likewise.
244 [non-C99-based standards] (copysignl): Likewise.
245 [non-C99-based standards] (exp2l): Likewise.
246 [non-C99-based standards] (log2l): Likewise.
247 [non-C99-based standards] (modfl): Allow.
248 [non-C99-based standards] (erfl): Do not allow.
249 [non-C99-based standards] (erfcl): Likewise.
250 [non-C99-based standards] (gammal): Likewise.
251 [non-C99-based standards] (hypotl): Likewise.
252 [non-C99-based standards] (j0l): Likewise.
253 [non-C99-based standards] (j1l): Likewise.
254 [non-C99-based standards] (jnl): Likewise.
255 [non-C99-based standards] (lgammal): Likewise.
256 [non-C99-based standards] (tgammal): Likewise.
257 [non-C99-based standards] (y0l): Likewise.
258 [non-C99-based standards] (y1l): Likewise.
259 [non-C99-based standards] (ynl): Likewise.
260 [non-C99-based standards] (isnanl): Likewise.
261 [non-C99-based standards] (acoshl): Likewise.
262 [non-C99-based standards] (asinhl): Likewise.
263 [non-C99-based standards] (atanhl): Likewise.
264 [non-C99-based standards] (cbrtl): Likewise.
265 [non-C99-based standards] (expm1l): Likewise.
266 [non-C99-based standards] (ilogbl): Likewise.
267 [non-C99-based standards] (log1pl): Likewise.
268 [non-C99-based standards] (logbl): Likewise.
269 [non-C99-based standards] (nextafterl): Likewise.
270 [non-C99-based standards] (remainderl): Likewise.
271 [non-C99-based standards] (rintl): Likewise.
272 [non-C99-based standards] (scalbl): Likewise.
273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
274 [non-C99-based standards] (FP_*): Do not allow.
275 [C99-based standards] (FP_*): Change to
276 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
277 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
278 allow.
279 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
280 (SIG_ERR): Likewise.
281 [X/Open-based standards] (SIG_HOLD): Likewise.
282 (SIG_IGN): Likewise.
283 (SIGABRT): Use macro-int-constant. Specify type. Require
284 positive value.
285 (SIGFPE): Likewise.
286 (SIGILL): Likewise.
287 (SIGINT): Likewise.
288 (SIGSEGV): Likewise.
289 (SIGTER): Likewise.
290 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
291 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
292 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
293 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
294 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
295 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
296 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
297 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
298 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
299 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
300 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
301 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
302 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
303 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
304 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
305 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
306 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
307 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
308 [X/Open-based standards] (SIGTRAP): Likewise.
309 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
310 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
311 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
312 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
313 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
314 allow.
315
b9f1922d
IW
3162012-05-08 Ian Wienand <ianw@vmware.com>
317
318 [BZ #14080]
319 * time/tzset.c (__tzset_parse_tz): Update default rules for
320 daylight time changes in the Energy Policy Act of 2005.
321
1db86e88
AJ
3222012-05-09 Andreas Jaeger <aj@suse.de>
323
324 [BZ #13983]
325 * elf/ldconfig.c (parse_conf): Change string to make clear that
326 ldconfig only issued a warning if ld.so.conf does not exist.
327
dee4a4e3
DM
3282012-05-08 David S. Miller <davem@davemloft.net>
329
ee0db190
DM
330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
331 movxtod instead of popping the value on the stack.
332
dee4a4e3
DM
333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
334
6a43ec98
CD
3352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
336
337 * config.h.in: Add HAVE_ARM_PCS_VFP.
338
05c2c961
RMG
3392012-05-08 Roland Mc Grath <roland@hack.frob.com>
340
341 [BZ #13979]
342 * include/features.h: Warn if user requests __FORTIFY_SOURCE
343 checking but the checks are disabled for any reason.
344
4b30f61a
L
3452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
346
347 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
348 and ELF64_R_TYPE with ELFW(R_TYPE).
349
eee2bc67
JM
3502012-05-08 Joseph Myers <joseph@codesourcery.com>
351
7ea5391a
JM
352 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
353 (ulimit): Likewise.
354
eee2bc67
JM
355 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
356 (settimeofday): Likewise.
357
abb66a67
MF
3582012-05-08 Mike Frysinger <vapier@gentoo.org>
359
360 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
361 a struct th_u2 inside the union, and move tu_block/tu_code into
362 a new th_u3 union of tu_block/tu_code inside of that. Move
363 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
364 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
365 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
366 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
367 (th_stuff): Change to th_u1.tu_stuff.
368 (th_data): Define.
369 (th_msg): Change to th_u1.th_u2.tu_data.
370
7f18b530
DM
3712012-05-07 David S. Miller <davem@davemloft.net>
372
05760585
DM
373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
374
7f18b530
DM
375 [BZ #14074]
376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
377 (SETUP_PIC_REG): Use it.
378 (SETUP_PIC_REG_LEAF): Use it.
379
495fd99f
JM
3802012-05-07 Joseph Myers <joseph@codesourcery.com>
381
382 [BZ #13885]
383 [BZ #13923]
384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
385 USE_AS_EXPM1L.
386 (EXPL_FINITE): Likewise.
387 (FLDLOG): Likewise.
388 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
389 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
390 e_expl.S.
391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
392 USE_AS_EXPM1L.
393 (EXPL_FINITE): Likewise.
394 (FLDLOG): Likewise.
395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
396 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
397 e_expl.S.
398 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
399 test of -max_value argument for long double.
400 * sysdeps/i386/fpu/libm-test-ulps: Update.
401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
402
6693d694
DM
4032012-05-06 David S. Miller <davem@davemloft.net>
404
405 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
406 quad soft-float symbols whose references which are compiler
407 generated.
408 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
409
6c23e11c
JM
4102012-05-06 Joseph Myers <joseph@codesourcery.com>
411
d8b82cad
JM
412 [BZ #13884]
413 [BZ #13914]
414 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
415 USE_AS_EXP10L.
416 (EXPL_FINITE): Likewise.
417 (FLDLOG): Likewise.
418 (c0): Likewise.
419 (c1): Likewise.
420 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
421 Adjust comments for base varying.
422 (__expl_finite): Change alias to EXPL_FINITE.
423 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
424 e_expl.S.
425 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
426 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
428 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
430 USE_AS_EXP10L.
431 (EXPL_FINITE): Likewise.
432 (FLDLOG): Likewise.
433 (c0): Likewise.
434 (c1): Likewise.
435 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
436 Adjust comments for base varying.
437 (__expl_finite): Change alias to EXPL_FINITE.
438 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
439 tests for bugs.
440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
441
6c23e11c
JM
442 [BZ #14064]
443 * math/libm-test.inc (check_float_internal): Correct ulp
444 calculation for subnormal expected results.
445
29ba805c
AJ
4462012-05-06 Andreas Jaeger <aj@suse.de>
447
448 * Makeconfig (+math-flags): New, set to -frounding-math.
449 (+cflags): Add +math-flags so that all of glibc gets compiled with
450 it.
451
452 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
453
7b17aeda
JM
4542012-05-05 Joseph Myers <joseph@codesourcery.com>
455
5779f134
JM
456 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
457 Disable one test.
458
41498f4d
JM
459 [BZ #13787]
460 [BZ #13922]
461 [BZ #14036]
462 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
463 (__ieee754_expl): Allow for and saturate large arguments.
464 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
465 (u_threshold): Likewise.
466 (__exp): Call __ieee754_exp before checking for overflow and
467 underflow.
468 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
469 (u_threshold): Likewise.
470 (__expf): Call __ieee754_expf before checking for overflow and
471 underflow.
472 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
473 (u_threshold): Likewise.
474 (__expl): Call __ieee754_expl before checking for overflow and
475 underflow.
476 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
477 (__ieee754_expl): Allow for and saturate large arguments.
478 * math/libm-test.inc (exp_test): Add another test. Do not allow
479 missing overflow exception on overflow.
480 (expm1_test): Do not allow missing overflow exception on overflow.
481
6698b8bf
JM
482 * sysdeps/i386/fpu/e_expl.c: Move to ...
483 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
484 rather than using inline asm.
485 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
486 * sysdeps/x86_64/fpu/e_expl.S: Copy from
487 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
488
7b17aeda
JM
489 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
490 (nice): Likewise.
491 (poll): Likewise.
492 (signal): Likewise.
493 (time): Likewise.
494 (times): Likewise.
495
f7c85819
JM
4962012-05-04 Joseph Myers <joseph@codesourcery.com>
497
498 * sysdeps/unix/syscalls.list (adjtime): Add entry from
499 sysdeps/unix/common/syscalls.list.
500 (fchmod): Likewise.
501 (fchown): Likewise.
502 (ftruncate): Likewise.
503 (getrusage): Likewise.
504 (gettimeofday): Likewise.
505 (setpgid): Likewise.
506 (setregid): Likewise.
507 (setreuid): Likewise.
508 (sigaction): Likewise.
509 (truncate): Likewise.
510 (vhangup): Likewise.
511 * sysdeps/unix/common/syscalls.list: Remove file.
512 * sysdeps/unix/bsd/Implies: Don't include unix/common.
513 * sysdeps/unix/sysv/linux/Implies: Likewise.
514
336270d0
L
5152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
516
517 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
519 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
520 Moved to ...
521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
522 Here.
523 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
524 to ...
525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
526 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
527 to ...
528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
529 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
530 to ...
531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
532 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
533 to ...
534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
535 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
536 to ...
537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
538 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
539 to ...
540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
541 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
542 to ...
543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
544 Here.
545 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
546 to ...
547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
548 Here.
549 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
550 to ...
551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
552 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
553 Moved to ...
554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
555 Here.
556 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
557 to ...
558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
559
d128e450
JM
5602012-05-04 Joseph Myers <joseph@codesourcery.com>
561
fa8ee516
JM
562 * sysdeps/unix/common/bits/dirent.h: Remove file.
563 * sysdeps/unix/common/bits/fcntl.h: Likewise.
564
d128e450
JM
565 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
566 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
567 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
568 * sysdeps/unix/bsd/isatty.c: Likewise.
569 * sysdeps/unix/bsd/tcdrain.c: Likewise.
570 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
571 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
572
ff8faaf0 5732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 574
62881be4 575 [BZ #13563]
31dc8730
AZ
576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
577 long double comparison inaccuracies.
578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
580
6fef930c
AS
5812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
582
583 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
585
8f203e6c
JM
5862012-05-04 Joseph Myers <joseph@codesourcery.com>
587
588 [BZ #14049]
589 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
590 nonzero digits before rounding a hex value.
591 * stdlib/tst-strtod.c (tests): Add another test.
592
5197d9c2
AK
5932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
594
595 * sysdeps/s390/fpu/libm-test-ulps: Update.
596
f0c1dedf
AJ
5972012-05-03 Andreas Jaeger <aj@suse.de>
598
599 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
600 does not get optimized out.
601 (malloc_opt_barrier): New.
602
a65ef2ae 6032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 604 Roland McGrath <roland@hack.frob.com>
a65ef2ae 605
2b942cb7 606 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 607 intermediate file deletion.
2b942cb7 608 (generated): Add .symlist files.
a65ef2ae 609
54b71e02
JM
6102012-05-03 Joseph Myers <joseph@codesourcery.com>
611
612 [BZ #13775]
613 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
614 Redirect under this condition.
615 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
616 [__USE_GNU] (__dprintf_chk): Not under this condition.
617 [__USE_GNU] (__vdprintf_chk): Likewise.
618 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
619 under this condition.
620 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
621 [__USE_XOPEN2K8] (dprintf): Define under this condition.
622 [__USE_XOPEN2K8] (vdprintf): Likewise.
623 [__USE_GNU] (__dprintf_chk): Not under this condition.
624 [__USE_GNU] (__vdprintf_chk): Likewise.
625 [__USE_GNU] (dprintf): Likewise.
626 [__USE_GNU] (vdprintf): Likewise.
627
d3dfcc41
RM
6282012-05-03 Roland McGrath <roland@hack.frob.com>
629
630 * elf/Makefile (common-generated): Set this instead of generated for
631 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
632 $(all-built-dso)-derived lists.
633
7ac30cc5
AJ
6342012-05-03 Andreas Jaeger <aj@suse.de>
635
0c51e550
AJ
636 * sysdeps/i386/fpu/libm-test-ulps: Update.
637
7ac30cc5
AJ
638 * FAQ: Removed.
639 * FAQ.in: Likewise.
640 * scripts/gen-FAQ.pl: Likewise.
641 * manual/install.texi (Installation): Point to online location of
642 FAQ.
643 * Makefile (files-for-dist): Remove FAQ.
644 (FAQ): Remove.
645
d4c2917f
AM
6462012-05-02 Allan McRae <allan@archlinux.org>
647
648 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
649 (LDFLAGS-reldepmod5.so): Likewise.
650 (LDFLAGS-reldep6mod1.so): Likewise.
651 (LDFLAGS-reldep6mod4.so): Likewise.
652 (LDFLAGS-reldep8mod3.so): Likewise.
653 (LDFLAGS-unload4mod1.so): Likewise.
654 (LDFLAGS-unload4mod2.so): Likewise.
655 (LDFLAGS-tst-initorder): Likewise.
656 (LDFLAGS-tst-initordera2.so): Likewise.
657 (LDFLAGS-tst-initordera3.so): Likewise.
658 (LDFLAGS-tst-initordera4.so): Likewise.
659 (LDFLAGS-tst-initorderb2.so): Likewise.
660 (LDFLAGS-noload): Likewise.
661 (LDFLAGS-next): Likewise.
662 (LDFLAGS-order2mod1.so): Likewise.
663 (LDFLAGS-order2mod2.so): Likewise.
664 (LDFLAGS-tst-initorder2): Likewise.
665 (LDFLAGS-tst-initorder2a.so): Likewise.
666 (LDFLAGS-tst-initorder2b.so): Likewise.
667 (LDFLAGS-tst-initorder2c.so): Likewise.
668 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
669
d77f993f
DM
6702012-05-02 David S. Miller <davem@davemloft.net>
671
672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
673
171a70b4
PP
6742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
675
676 [BZ #14055]
677 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
678
0be196ad
AJ
6792012-05-02 Andreas Jaeger <aj@suse.de>
680
681 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
682 since we manipulate rounding mode.
683 (CPPFLAGS-test-idouble.c): Likewise.
684 (CPPFLAGS-test-ifloat.c): Likewise.
685 (CFLAGS-test-ldouble.c): Likewise.
686 (CFLAGS-test-double.c): Likewise.
687 (CFLAGS-test-float.c): Likewise.
688 (CFLAGS-test-misc.c): Likewise.
689 (CFLAGS-test-test-fenv.c): Likewise.
690
4f9d04aa
AZ
6912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
2b942cb7
RM
693 [BZ #2550]
694 [BZ #2570]
695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
696 comparisons to determine direction to adjust input.
4f9d04aa 697
82a79e7d
RM
6982012-05-01 Roland McGrath <roland@hack.frob.com>
699
f5a01ca9
RM
700 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
701 output to the target.
702
90fe4186
RM
703 * scripts/localplt.awk: New file.
704 * elf/Makefile ($(objpfx)check-localplt): Target removed.
705 (check-localplt-CFLAGS): Variable removed.
706 ($(all-built-dso:=.jmprel)): New static pattern rule.
707 (generated): Add those targets.
708 (localplt-built-dso): New variable.
709 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
710
711 * elf/check-localplt.c: File removed.
712
82397ed6
RM
713 * scripts/check-execstack.awk: New file.
714 * elf/Makefile ($(objpfx)check-execstack): Target removed.
715 (check-execstack-CFLAGS): Variable removed.
716 ($(objpfx)check-execstack.h): Target removed.
717 ($(objpfx)execstack-default): New target.
718 (generated): Add that instead of check-execstack.h.
719 ($(all-built-dso:=.phdr)): New static pattern rule.
720 (generated): Add those targets.
721 * elf/check-execstack.c: File removed.
722
82a79e7d
RM
723 * scripts/check-textrel.awk: New file.
724 * elf/Makefile ($(objpfx)check-textrel): Target removed.
725 (check-textrel-CFLAGS): Variable removed.
726 (all-built-dso): Use := to define.o
727 ($(all-built-dso:=.dyn)): New static pattern rule.
728 (generated): Add those targets.
729 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
730 * config.make.in (READELF): New substituted variable.
731 * elf/check-textrel.c: File removed.
732
62fde54f 7332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 734
615605c9
JM
735 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
736 allow.
737 * conform/data/ctype.h-data [C99-based standards] (isblank):
738 Expect function.
739 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
740 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
742 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
743 Specify type. Require positive value.
744 (EILSEQ): Likewise.
745 (ERANGE): Likewise.
746 [ISO || POSIX] (EILSEQ): Do not expect.
747 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
748 Specify type. Require positive value.
749 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
750 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
751 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
752 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
753 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
754 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
755 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
756 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
757 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
758 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
759 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
760 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
761 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
762 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
763 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
764 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
765 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
766 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
767 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
768 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
769 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
770 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
771 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
772 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
773 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
774 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
775 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
776 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
777 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
778 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
779 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
780 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
781 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
782 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
783 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
784 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
785 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
786 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
787 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
788 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
789 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
790 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
791 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
792 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
793 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
794 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
795 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
796 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
797 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
798 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
799 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
800 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
801 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
802 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
803 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
804 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
805 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
806 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
807 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
808 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
809 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
810 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
811 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
812 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
813 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
814 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
815 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
816 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
817 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
818 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
819 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
820 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
821 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
822 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
823 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
824 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
825 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
826 Require >= 2.
827 (FLT_ROUNDS): Expect as macro, not constant.
828 (FLT_MANT_DIG): Use macro-int-constant.
829 (DBL_MANT_DIG): Likewise.
830 (LDBL_MANT_DIG): Likewise.
831 (FLT_DIG): Likewise.
832 (DBL_DIG): Likewise.
833 (LDBL_DIG): Likewise.
834 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
835 (DBL_MIN_EXP): Likewise.
836 (LDBL_MIN_EXP): Likewise.
837 (FLT_MAX_EXP): Use macro-int-constant.
838 (DBL_MAX_EXP): Likewise.
839 (LDBL_MAX_EXP): Likewise.
840 (FLT_MAX_10_EXP): Likewise.
841 (DBL_MAX_10_EXP): Likewise.
842 (LDBL_MAX_10_EXP): Likewise.
843 (FLT_MAX): Use macro-constant.
844 (DBL_MAX): Likewise.
845 (LDBL_MAX): Likewise.
846 (FLT_EPSILON): Use macro-constant. Give upper bound.
847 (DBL_EPSILON): Likewise.
848 (LDBL_EPSILON): Likewise.
849 (FLT_MIN): Likewise.
850 (DBL_MIN): Likewise.
851 (LDBL_MIN): Likewise.
852 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
853 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
854 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
855 [ISO11] (FLT_HAS_SUBNORM): Likewise.
856 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
857 [ISO11] (DBL_DECIMAL_DIG): Likewise.
858 [ISO11] (FLT_DECIMAL_DIG): Likewise.
859 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
860 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
861 [ISO11] (FLT_TRUE_MIN): Likewise.
862 [ISO11] (LDBL_TRUE_MIN): Likewise.
863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
864 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
865 (SCHAR_MIN): Use macro-int-constant. Specify type.
866 (SCHAR_MAX): Likewise.
867 (UCHAR_MAX): Likewise.
868 (CHAR_MIN): Likewise.
869 (CHAR_MAX): Likewise.
870 (MB_LEN_MAX): Use macro-int-constant.
871 (SHRT_MIN): Use macro-int-constant. Specify type.
872 (SHRT_MAX): Likewise.
873 (USHRT_MAX): Likewise.
874 (INT_MAX): Likewise.
875 (INT_MIN): Use macro-int-constant. Specify type. Make upper
876 bound negative.
877 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
878 bound with "U".
879 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
880 bound with "L".
881 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
882 bound negative. Suffix upper bound with "L".
883 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
884 bound with "UL".
885 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
886 Specify type.
887 [C99-based standards] (LLONG_MAX): Likewise.
888 [C99-based standards] (ULLONG_MAX): Likewise.
889 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
890 == 0.
891 [ISO11] (max_align_t): Require type.
892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
893
c9140a62
JM
894 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
895 from $CFLAGS, without defining away __attribute__ calls.
896 (checknamespace): Use $CFLAGS_namespace.
897
9af0bf29
JM
898 * conform/conformtest.pl (@keywords): Only include C99 keywords
899 for standards based on C99 or C11.
900
343222a2
JM
901 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
902 Disable tests.
903 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
904 UNIX98]: Likewise.
905
661f8cf0
JM
906 * conform/conformtest.pl: Handle "macro-int-constant" and test for
907 usability of symbols in #if.
908
ee74b9cb
JM
909 * conform/conformtest.pl: If macro or constant types start
910 "promoted:", expect the symbol to be of the following type
911 promoted by the integer promotions.
62fde54f 912
aafc49b3
JM
913 * conform/conformtest.pl: Parse all "constant" and "macro" lines
914 in one place. Also handle "macro-constant".
915
fefdf574
JM
916 * conform/conformtest.pl: Only accept expected macro values with
917 "==". Parse all "macro" lines in one place.
918 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
919
f2d922fe
JM
920 * conform/conformtest.pl: Handle braced types on "constant" lines
921 instead of handling "typed-constant".
922 * conform/data/signal.h-data: Use "constant" instead of
923 "typed-constant".
924
d22956c9
JM
925 * conform/conformtest.pl: Handle "optional-" at start of lines in
926 one place rather than duplicating several cases. Handle each
927 format of "macro" line with initial "optional-".
928
028e2e38
JM
929 * conform/conformtest.pl: Only accept expected constant or
930 optional-constant values with "==". Parse all "constant" lines in
931 one place. Parse all "optional-constant" lines in one place.
932 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
933 * conform/data/fmtmsg.h-data: Likewise.
934 * conform/data/netinet/in.h-data: Likewise.
935 * conform/data/tar.h-data: Likewise.
936 * conform/data/limits.h-data: Use "==" form on "constant" and
937 "optional-constant" lines.
938
1b8f2850
JM
939 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
940 Use -std=c99 for XOPEN2K.
941 (@knownproblems): Remove.
942 (newtoken): Don't check %isknown.
943
a05a144b
JM
944 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
945 Do not expect macro.
946 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
947 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
948 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
949 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
950 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
951 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
952 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
953 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
954 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
955 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
956 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
957 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
958 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
959 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
960 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
961 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
962 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
963 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
964 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
965 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
966 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
967 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
968 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
969 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
970 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
971 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
972 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
973 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
974 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
975 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
976 [XPG3] (acosh): Likewise.
977 [XPG3] (asinh): Likewise.
978 [XPG3] (atanh): Likewise.
979 [XPG3] (cbrt): Likewise.
980 [XPG3] (expm1): Likewise.
981 [XPG3] (ilogb): Likewise.
982 [XPG3] (log1p): Likewise.
983 [XPG3] (logb): Likewise.
984 [XPG3] (nextafter): Likewise.
985 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
986 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
987 [XPG3] (remainder): Likewise.
988 [XPG3] (rint): Likewise.
989 [XPG3 || XPG4 || UNIX98] (round): Likewise.
990 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
991 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
992 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
993 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
994 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
995 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
996 [UNIX98 || XOPEN2K] (scalb): Expect.
997 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
998 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
999 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1134
73c5ebe3
JM
1135 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1136 _XOPEN_SOURCE_EXTENDED for XPG4.
1137
39c33b6c
JM
1138 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1139
62fde54f
JM
1140 * Makeconfig (localtime): Remove variable.
1141 (inst_localtime-file): Likewise.
1142
0741d64c
AS
11432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1144
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1146 Update.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1148 Update.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1150 Update.
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1152 Update.
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1154 Update.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1156 Update.
1157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1158 Update.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1160 Update.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1162 Update.
1163
7cb029ee
JM
11642012-05-01 Joseph Myers <joseph@codesourcery.com>
1165
1166 [BZ #2550]
1167 [BZ #2570]
1168 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1169 comparisons to determine direction to adjust input.
1170 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1171 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1172 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1173 Likewise.
1174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1175 Likewise.
1176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1177 Likewise.
1178 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1179 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1180 Likewise.
1181 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1182 Likewise.
1183 * math/libm-test.inc (nexttoward_test): Add more tests.
1184
412bd966
AS
11852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1186
1187 [BZ #14040]
1188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1189 in version GLIBC_2.1, not GLIBC_2.0.
1190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1191 Likewise.
1192
9568c0c2
JM
11932012-04-30 Joseph Myers <joseph@codesourcery.com>
1194
adfbc8ac
JM
1195 [BZ #13942]
1196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1197 (1 - x) * (1 + x).
1198 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1199 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1200 * math/libm-test.inc (acos_test): Add more tests.
1201 (asin_test): Likewise.
1202 * sysdeps/i386/fpu/libm-test-ulps: Update.
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1204
5ba3cc69
JM
1205 [BZ #14034]
1206 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1207 of square root.
1208 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1209 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1210 * math/libm-test.inc (acos_test_tonearest): New function.
1211 (acos_test_towardzero): Likewise.
1212 (acos_test_downward): Likewise.
1213 (acos_test_upward): Likewise.
1214 (asin_test_tonearest): Likewise.
1215 (asin_test_towardzero): Likewise.
1216 (asin_test_downward): Likewise.
1217 (asin_test_upward): Likewise.
1218 (main): Call the new functions.
1219 * sysdeps/i386/fpu/libm-test-ulps: Update.
1220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1221
9568c0c2
JM
1222 [BZ #13884]
1223 [BZ #13924]
1224 * math/e_exp10.c: Include <float.h>.
1225 (__ieee754_exp10): Handle underflow here rather than multiplying
1226 large negative argument by M_LN10.
1227 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1228 of __ieee754_expf.
1229 * math/e_exp10l.c: Include <float.h>.
1230 (__ieee754_exp10l): Handle underflow here rather than multiplying
1231 large negative argument by M_LN10l.
1232 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1233 spurious overflow exception on underflow.
1234
5ac3ea17
MP
12352012-04-29 Marek Polacek <polacek@redhat.com>
1236
1237 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1238 (__fortify_function): New macro.
1239 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1240 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1241 __extern_always_inline.
1242 * libio/bits/stdio2.h: Likewise.
1243 * libio/bits/stdio.h: Likewise.
1244 * string/string.h: Likewise.
1245 * string/bits/string3.h: Likewise.
1246 * include/stdio.h: Likewise.
1247 * stdlib/bits/stdlib.h: Likewise.
1248 * stdlib/stdlib.h: Likewise.
1249 * rt/bits/mqueue2.h: Likewise.
1250 * rt/mqueue.h: Likewise.
1251 * posix/bits/unistd.h: Likewise.
1252 * posix/unistd.h: Likewise.
1253 * io/bits/poll2.h: Likewise.
1254 * io/bits/fcntl2.h: Likewise.
1255 * io/fcntl.h: Likewise.
1256 * io/sys/poll.h: Likewise.
1257 * misc/bits/syslog.h: Likewise.
1258 * misc/bits/syslog-ldbl.h: Likewise.
1259 * misc/sys/syslog.h: Likewise.
1260 * socket/bits/socket2.h: Likewise.
1261 * socket/sys/socket.h: Likewise.
1262 * debug/tst-chk1.c: Likewise.
1263 * wcsmbs/bits/wchar2.h: Likewise.
1264 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1265 * wcsmbs/wchar.h: Likewise.
1266
ecf0ebfb
AJ
12672012-04-29 Andreas Jaeger <aj@suse.de>
1268
1269 * Makerules (tests): Remove enable-check-abi protection.
1270 (check-abi-warn): Remove.
1271 (check-abi-%): Remove check-abi-warn usage.
1272
1273 * configure.in: Remove check-abi configure option.
1274 * configure: Regenerated.
1275 * config.make.in (enable-check-abi): Remove.
1276
6d5c57fa
AS
12772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1278
24c5d07e 1279 [BZ #14033]
ded5180a
AS
1280 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1281 double functions to double *_finite functions.
1282
7e0d315d
AS
1283 [BZ #13941]
1284 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1285 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1286 LDBL_MIN_EXP.
1287 * stdio-common/Makefile (tests): Add tst-sprintf3.
1288 * stdio-common/tst-sprintf3.c: New file.
1289
6d5c57fa
AS
1290 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1291 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1292
0749ff8b
JM
12932012-04-28 Joseph Myers <joseph@codesourcery.com>
1294
1295 * conform/conformtest.pl: Remove duplicate typed-constant
1296 handling.
1297
8dbd5d7b
DM
12982012-04-28 David S. Miller <davem@davemloft.net>
1299
1300 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1301 (check-abi-%): Remove AWK script prerequisite and explicit
1302 abilist directory.
1303 (check-abi): Rewrite to just diff the symlist with the abilist.
1304 (config-tls, config-abi-config): Delete, no longer used.
1305 (update-abi-%): Remove AWK script and explicit abilist directory.
1306 (update-abi): Rewrite to simply compare and conditionally copy the
1307 symlist and the sysdep abilist file. Remove update-abi-config
1308 checks.
1309 * abilist/ld.abilist: Remove.
1310 * abilist/libBrokenLocale.abilist: Remove.
1311 * abilist/libanl.abilist: Remove.
1312 * abilist/libcrypt.abilist: Remove.
1313 * abilist/libdl.abilist: Remove.
1314 * abilist/librt.abilist: Remove.
1315 * abilist/libthread_db.abilist: Remove.
1316 * abilist/libutil.abilist: Remove.
1317 * scripts/extract-abilist.awk: Remove.
1318 * scripts/merge-abilist.awk: Remove.
1319 * sysdeps/generic/libcidn.abilist: New file.
1320 * sysdeps/generic/libnss_compat.abilist: New file.
1321 * sysdeps/generic/libnss_db.abilist: New file.
1322 * sysdeps/generic/libnss_dns.abilist: New file.
1323 * sysdeps/generic/libnss_files.abilist: New file.
1324 * sysdeps/generic/libnss_hesiod.abilist: New file.
1325 * sysdeps/generic/libnss_nis.abilist: New file.
1326 * sysdeps/generic/libnss_nisplus.abilist: New file.
1327 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1328 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1329 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1330 file.
1331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1332 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1333 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1334 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1335 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1336 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1337 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1338 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1339 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1340 file.
1341 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1342 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1343 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1344 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1345 file.
1346 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1347 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1348 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1349 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1350 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1351 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1352 file.
1353 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1354 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1355 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1356 file.
1357 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1359 New file.
1360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1361 New file.
1362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1363 New file.
1364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1365 New file.
1366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1367 New file.
1368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1369 New file.
1370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1371 New file.
1372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1373 New file.
1374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1375 New file.
1376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1377 New file.
1378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1379 New file.
1380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1381 New file.
1382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1383 New file.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1385 file.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1387 New file.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1389 New file.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1391 file.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1393 New file.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1395 New file.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1397 file.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1399 New file.
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1401 New file.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1403 New file.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1405 New file.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1407 New file.
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1409 New file.
1410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1412 file.
1413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1414 New file.
1415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1416 file.
1417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1418 file.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1420 file.
1421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1422 file.
1423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1424 file.
1425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1426 New file.
1427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1428 file.
1429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1430 file.
1431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1432 New file.
1433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1434 file.
1435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1437 file.
1438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1439 New file.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1441 file.
1442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1443 file.
1444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1445 file.
1446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1447 file.
1448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1449 file.
1450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1451 New file.
1452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1453 file.
1454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1455 file.
1456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1457 New file.
1458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1459 file.
1460 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1461 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1462 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1463 file.
1464 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1465 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1466 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1467 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1468 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1469 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1470 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1471 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1472 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1473 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1476 file.
1477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1478 New file.
1479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1480 file.
1481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1482 file.
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1484 file.
1485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1486 file.
1487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1488 file.
1489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1490 New file.
1491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1492 New file.
1493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1494 file.
1495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1496 New file.
1497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1498 file.
1499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1503 New file.
1504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1507 file.
1508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1509 file.
1510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1511 file.
1512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1513 file.
1514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1515 New file.
1516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1517 New file.
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1519 file.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1521 New file.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1523 file.
1524
41d73a1b
JM
15252012-04-28 Joseph Myers <joseph@codesourcery.com>
1526
1527 * conform/conformtest.pl: Fix typo in handling typed-constant from
1528 allow-header.
1529
28aeeda4
JM
15302012-04-27 Joseph Myers <joseph@codesourcery.com>
1531
adae8f5e
JM
1532 * README: Cut down references to pre-2.6 Linux kernels and
1533 Linuxthreads. Update lists of configurations in libc and ports
1534 and sort alphabetically. Say "or newer" with Linux kernel version
1535 requirements.
1536
28aeeda4
JM
1537 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1538
a462cb63
RA
15392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1540
1541 [BZ #887]
1542 * math/libm-test.inc (logb_test_downward): New test to expose
1543 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1544 rounding mode.
1545
6ad3493e
JM
15462012-04-27 Joseph Myers <joseph@codesourcery.com>
1547
1548 [BZ #14027]
1549 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1550 to be done.
1551 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1552 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1553
2ce4f015
JM
15542012-04-26 Joseph Myers <joseph@codesourcery.com>
1555
5aeb141a
JM
1556 * sysdeps/unix/i386/brk.S: Remove file.
1557 * sysdeps/unix/i386/dl-brk.S: Likewise.
1558 * sysdeps/unix/i386/pipe.S: Likewise.
1559 * sysdeps/unix/i386/sigreturn.S: Likewise.
1560 * sysdeps/unix/i386/syscall.S: Likewise.
1561 * sysdeps/unix/i386/vfork.S: Likewise.
1562 * sysdeps/unix/i386/wait.S: Likewise.
1563
7143acae
JM
1564 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1565 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1566
2ce4f015
JM
1567 * configure.in (arm*-none*): Do not allow without
1568 --enable-hacker-mode.
1569 (netbsd*): Remove case setting base_os.
1570 (386bsd*): Likewise.
1571 (freebsd*): Likewise.
1572 (bsdi*): Likewise.
1573 (osf*): Likewise.
1574 (sunos*): Likewise.
1575 (ultrix*): Likewise.
1576 (newsos*): Likewise.
1577 (dynix*): Likewise.
1578 (*bsd*): Likewise.
1579 (sysv*): Likewise.
1580 (isc*): Likewise.
1581 (esix*): Likewise.
1582 (sco*): Likewise.
1583 (minix*): Likewise.
1584 (irix4*): Likewise.
1585 (irix6*): Likewise.
1586 (solaris[2-9]*): Likewise.
1587 (none): Likewise.
1588 * configure: Regenerated.
1589
0ac229c8
AZ
15902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1591
1592 [BZ #11521]
1593 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1594 overflow or cancellation in calculating denominator.
1595 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1597 down expression to avoid unexpected rounding in newer GCCs.
1598 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1599
33f244f4
DM
16002012-04-26 David S. Miller <davem@davemloft.net>
1601
1602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1603 long-double compat symbols.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1617
cfa1f3e8
DM
16182012-04-25 David S. Miller <davem@davemloft.net>
1619
1620 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1621 HWCAP_* values only after the memory barriers have been defined.
1622 (atomic_full_barrier): Define.
1623 (atomic_read_barrier): Define.
1624 (atomic_write_barrier): Define.
1625
6e236b92
SP
16262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1627
1628 * shlib-versions: Add libgcc_s version information.
1629 * sysdeps/generic/libgcc_s.h: Remove.
1630 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1631 libgcc_s.h.
1632 * sysdeps/gnu/unwind-resume.c: Likewise.
1633 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1634
aab39a09
DM
16352012-04-25 David S. Miller <davem@davemloft.net>
1636
1637 * sysdeps/unix/sparc/brk.S: Delete.
1638 * sysdeps/unix/sparc/dl-brk.S: Delete.
1639 * sysdeps/unix/sparc/pipe.S: Delete.
1640 * sysdeps/unix/sparc/sysdep.S: Delete.
1641 * sysdeps/unix/sparc/sysdep.h: Delete.
1642 * sysdeps/unix/sparc/vfork.S: Delete.
1643 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1644 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1646 ret_ERRVAL, r0, r1, MOVE): Define.
1647 (JUMPTARGET): Remove.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1649 sysdeps/unix/sparc/sysdep.h
1650 (ENTRY, END): Remove.
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1652
a3cc4f48
JM
16532012-04-25 Joseph Myers <joseph@codesourcery.com>
1654
2ed8cda2
JM
1655 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1656 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1657 -DIS_IN_build.
1658
35d76d59
JM
1659 * timezone/README: Update upstream location and email address for
1660 tzcode and tzdata.
1661 * timezone/zdump.c: Update from tzcode 2012b.
1662 * timezone/zic.c: Likewise.
1663
a3cc4f48
JM
1664 * configure.in (libc_cv_as_needed): Remove test.
1665 * configure: Regenerated.
1666 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1667 conditional definition.
1668 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1669 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1670 * config.make.in (have-as-needed): Remove variable.
1671
ceab42c3
SP
16722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1673 Paul Pluzhnikov <ppluzhnikov@google.com>
1674
1675 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1676 strings correctly.
1677
3ce2865f
CLT
16782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1679
1680 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1681 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1682 * sysdeps/sh/strlen.S: Likewise.
1683
f37e0d68
JM
16842012-04-24 Joseph Myers <joseph@codesourcery.com>
1685
ae186e9a
JM
1686 * sysdeps/unix/fork.S: Remove file.
1687 * sysdeps/unix/i386/fork.S: Likewise.
1688 * sysdeps/unix/sparc/fork.S: Likewise.
1689
b96914af
JM
1690 * sysdeps/unix/system.c: Remove file.
1691 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1692
f37e0d68
JM
1693 * sysdeps/unix/getegid.S: Remove file.
1694 * sysdeps/unix/geteuid.S: Likewise.
1695
87ef29ca
RM
16962012-04-24 Roland McGrath <roland@hack.frob.com>
1697
83bcd236
RM
1698 * scripts/check-localplt.awk: New file.
1699 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1700 of diff.
1701 * scripts/data/localplt-generic.data: Add a comment.
1702
87ef29ca
RM
1703 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1704 NODE when __dir_mkfile failed.
1705 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1706 Reported by Ludovic Courtès <ludo@gnu.org>.
1707
e5a6e567
AJ
17082012-04-24 Andreas Jaeger <aj@suse.de>
1709
1710 * Makerules (common-clean): Also remove gen-as-const-headers
1711 files.
1712
c1820385
JM
17132012-04-24 Joseph Myers <joseph@codesourcery.com>
1714
1715 * Makerules (native-compile): Do not change working directory for
1716 build. Use $(OUTPUT_OPTION) in command.
1717 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1718
94e02fc4
AZ
17192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720
1721 [BZ #13886]
1722 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1723 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1724 * math/libm-test.inc (floor_test): Add more tests.
1725 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1726
3a533ca3
JM
17272012-04-24 Joseph Myers <joseph@codesourcery.com>
1728
940ab4b3
JM
1729 * sysdeps/unix/getdents.c: Remove file.
1730 * sysdeps/unix/sysv/getdents.c: Likewise.
1731 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1732
90e037bd
JM
1733 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1734 sysdeps/unix/mman/syscalls.list.
1735 (mmap): Likewise.
1736 (mprotect): Likewise.
1737 (msync): Likewise.
1738 (munmap): Likewise.
1739 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1740 * sysdeps/unix/mman/syscalls.list: Remove.
1741 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1742
3a533ca3
JM
1743 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1744 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1745 * configure: Regenerated.
1746 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1747 $(libgcc_s_suffix).
1748 * config.make.in (libgcc_s_suffix): Remove variable.
1749
1ad743de
JM
17502012-04-23 Joseph Myers <joseph@codesourcery.com>
1751
4ad451e2
JM
1752 * sysdeps/unix/sysv/gethostname.c: Move to ...
1753 * sysdeps/posix/gethostname.c: ... here.
1754
5e37ce39
JM
1755 * sysdeps/unix/execve.S: Remove file.
1756
1ad743de
JM
1757 * sysdeps/unix/_exit.S: Remove file.
1758
4e681b5b
AJ
17592012-04-23 Andreas Jaeger <aj@suse.de>
1760
1761 [BZ #13739]
1762 * manual/Makefile: Remove make dist support, there's no
1763 need for a stand-alone documentation tar ball.
1764 (TEXI2DVI): Define always, it's not in Makeconfig.
1765 (dist): Removed.
1766 (tar-it): Removed.
1767 (edition): Removed.
1768 (glibc-doc-$(edition).tar): Removed
1769 (%.Z): Removed.
1770 (%.gz): Removed.
1771 (%.uu): Removed.
1772 (ETAGS): Remove, it's in Makeconfig.
1773 (move-if-change): Remove, it's in Makeconfig.
1774
c0baea34
PE
17752013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1776
1777 [BZ #13970]
1778 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1779 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1780 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1781 (strtod_l, strtof_l, strtold_l): Remove __wur.
1782 It is not necessarily an error to ignore strtol's return value.
1783 One can reliably look at the stored endptr to decide whether
1784 the number had valid syntax.
1785
7c0616fa
AJ
17862012-04-21 Andreas Jaeger <aj@suse.de>
1787
803cb6b7 1788 [BZ #13739]
7c0616fa
AJ
1789 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1790
b0fe253f
JM
17912012-04-21 Joseph Myers <joseph@codesourcery.com>
1792
1793 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1794 * sysdeps/unix/sysv/Versions: Remove file.
1795
8280f22d
MT
17962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1797
1798 [BZ #13927]
1799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1800
75ce411f 18012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1802
1803 [BZ #7064]
1804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1805 version from __vm86.
1806
097d59fa
JM
18072012-04-20 Joseph Myers <joseph@codesourcery.com>
1808
a90f3bcb
JM
1809 * sysdeps/unix/common/lxstat.c: Remove file.
1810 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1811
edc7ea78
JM
1812 * sysdeps/unix/sysv/Makefile: Remove file.
1813
cb78c221
JM
1814 * sysdeps/unix/sysv/direct.h: Remove file.
1815
efa6a45f
JM
1816 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1817 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1818 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1819 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1820 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1821 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1822 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1823
9c9f2d0c
JM
1824 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1825
4541c83b
JM
1826 * sysdeps/unix/xmknod.c: Remove file.
1827 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1828
f5d153a0
JM
1829 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1830
aa746595
JM
1831 * sysdeps/unix/sysv/i386/time.S: Remove file.
1832
cce5905e
JM
1833 * sysdeps/unix/fxstat.c: Remove file.
1834 * sysdeps/unix/xstat.c: Likewise.
1835 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1836
37fa3841
JM
1837 * sysdeps/unix/sysv/sigaction.c: Remove file.
1838
ff1962a3
JM
1839 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1840 (sysdep_headers): Remove variable.
1841 [termio.h not in sysdep_headers] (generated): Likewise.
1842 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1843 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1844 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1845 * sysdeps/unix/sysv/tcflow.c: Likewise.
1846 * sysdeps/unix/sysv/tcflush.c: Likewise.
1847 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1848 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1849 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1850 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1851 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1852
e7740d31
JM
1853 * sysdeps/unix/siglist.c: Remove file.
1854
ee06f18b
JM
1855 * sysdeps/unix/getppid.S: Remove file.
1856
097d59fa
JM
1857 * sysdeps/unix/mkdir.c: Remove file.
1858 * sysdeps/unix/rmdir.c: Likewise.
1859
ff3d51ec
AS
18602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1861
1862 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1863 ERR_MAX value.
1864 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1865 errlist-compat value.
1866
50f81fd7
DM
18672012-04-18 David S. Miller <davem@davemloft.net>
1868
1869 * sysdeps/generic/memcopy.h (reg_char): Delete.
1870 * debug/strcat_chk.c: Use char, not reg_char.
1871 * debug/strcpy_chk.c: Likewise.
1872 * debug/strncat_chk.c: Likewise.
1873 * debug/strncpy_chk.c: Likewise.
1874 * string/memchr.c: Likewise.
1875 * string/memrchr.c: Likewise.
1876 * string/rawmemchr.c: Likewise.
1877 * string/strcat.c: Likewise.
1878 * string/strchr.c: Likewise.
1879 * string/strchrnul.c: Likewise.
1880 * string/strcmp.c: Likewise.
1881 * string/strcpy.c: Likewise.
1882 * string/strncat.c: Likewise.
1883 * string/strncmp.c: Likewise.
1884 * string/strncpy.c: Likewise.
1885
8ff41c46
WS
18862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1887
1888 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1889 __builtin_memcopy is called when src and dest ranges are known to not
1890 overlap.
1891
6b652f46
WS
18922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1893
1894 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1895 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1896 fwd_align_merge macro call.
1897 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1898 bwd_align_merge macro call.
1899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1900
b282631e
WS
19012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1902
1903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1904 bwd_align_merge macros.
1905 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1906 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1908
95aa737c
DM
19092012-04-18 David S. Miller <davem@davemloft.net>
1910
1911 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1912
7a99a614
AJ
19132012-04-18 Andreas Jaeger <aj@suse.de>
1914
1915 [BZ# 6794]
1916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1917 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1918 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1919
1920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1921 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1923
1924 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1925 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1926 Adjust for changed ldbl-128 files.
1927
1928 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1929 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1930 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1931
e5270c23
DM
19322012-04-17 David S. Miller <davem@davemloft.net>
1933
1934 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1935
fb5e92c9
AS
19362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1939 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1940 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1941 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1942 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1943 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1944
76da7265
AZ
19452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 [BZ #6794]
1948 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1949 * math/libm-test.inc: Add ilogb errno and exception tests.
1950 * math/w_ilogb.c: New file: ilogb wrapper.
1951 * math/w_ilogbf.c: New file: ilogbf wrapper.
1952 * math/w_ilogbl.c: New file: ilogbl wrapper.
1953 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1954 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1955 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1956 exception being thrown with 0.0 as argument.
1957 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1958 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1959 exception being thrown with 0.0 as argument.
1960 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1961 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1962 exception being thrown with 0.0 as argument.
1963 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1964 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1965 exception being thrown with 0.0 as argument.
1966 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1967 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1968 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1969 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1971 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1972 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1973 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1974 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1975
0396e69d
PB
19762012-04-17 Petr Baudis <pasky@ucw.cz>
1977
1978 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1979 with altivec.
1980
750b5926
MP
19812012-04-16 Marek Polacek <polacek@redhat.com>
1982
1983 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1984
751728a1
MP
19852012-04-16 Marek Polacek <polacek@redhat.com>
1986
1987 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1988 operands of fdivp instruction.
1989
34a27407
L
19902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1993 * elf/tst-auditmod3b.c: Likewise.
1994 * elf/tst-auditmod4b.c: Likewise.
1995 * elf/tst-auditmod5b.c: Likewise.
1996 * elf/tst-auditmod6b.c: Likewise.
1997 * elf/tst-auditmod6c.c: Likewise.
1998 * elf/tst-auditmod7b.c: Likewise.
1999 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2000 * sysdeps/x86_64/preconfigure.in: Likewise.
2001 * sysdeps/x86_64/preconfigure: Regenerated.
2002
7e73e17d
L
20032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2006 __ILP32__.
2007
c7a6ab72
AB
20082012-04-13 Antoine Balestrat <merkil33@gmail.com>
2009
2010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2011 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2012
a9e8e0e0
CL
20132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2014
2015 [BZ #13973]
2016 * locale/iso-639.def: Fix gl language name. Spotted by
2017 Yaron Shahrabani.
2018
ec98af7d
RM
20192012-04-12 Roland McGrath <roland@hack.frob.com>
2020
2021 [BZ #2074]
2022 * libio/libio.h (__io_write_fn): Update comment.
2023
247c3ede
PB
20242012-04-12 Petr Baudis <pasky@ucw.cz>
2025
2026 [BZ #2074]
2027 * stdio.texi (Hook Functions): The user provided writer function
2028 is not allowed to return -1.
2029
55939d6d
DM
20302012-04-11 David S. Miller <davem@davemloft.net>
2031
2032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2033
90020f5a
MF
20342012-04-11 Mike Frysinger <vapier@gentoo.org>
2035
2036 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2037 Add a leading slash to rtkaio.
2038
288f9098
JM
20392012-04-11 Jim Meyering <meyering@redhat.com>
2040
90020f5a
MF
2041 [BZ #11959]
2042 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2043 It is not necessarily an error to ignore fwrite's return
2044 value. One can reliably use ferror to test for errors after
2045 the fact.
288f9098 2046
4be2b570
L
20472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * bits/types.h (__snseconds_t): New type.
2050 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2051
2052 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2054 (__SNSECONDS_T_TYPE): Likewise.
2055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2056 (__SNSECONDS_T_TYPE): Likewise.
2057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2058 (__SNSECONDS_T_TYPE): Likewise.
2059
288f9098 20602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2061
2062 [BZ #2636]
2063 * manual/time.texi (Processor Time): Return type of times is
2064 elapsed real time since an arbitrary point in the past.
2065 (CPU Time): Move CLK_TCK from here...
2066 (Processor Time): ...to here. Correct description.
2067 * manual/conf.texi (Constants for Sysconf): Correct description of
2068 _SC_CLK_TCK.
2069
d7dd4413
DM
20702012-04-10 David S. Miller <davem@davemloft.net>
2071
2072 [BZ #13967]
2073 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2074 where the is a gap between DT_REL(A) and DT_JMPREL.
2075
b46068fc
L
20762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2079 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2080 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2081
73d65cc3
SP
20822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2083
2084 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2085 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2086 (dl_main): Handle --inhibit-cache.
2087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2088 _dl_inhibit_cache.
2089 * elf/dl-load.c (_dl_map_object): Use it.
2090 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2091
bcc8d661
JM
20922012-04-09 Joseph Myers <joseph@codesourcery.com>
2093
8f9a2fae
JM
2094 [BZ #13872]
2095 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2096 (__ieee754_powl): Saturate large exponents rather than testing for
2097 overflow of y*log2(x).
2098 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2099 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2100 exceptions.
2101
bcc8d661
JM
2102 [BZ #11521]
2103 * math/s_ctan.c: Include <float.h>.
2104 (__ctan): Avoid internal overflow or cancellation in calculating
2105 denominator.
2106 * math/s_ctanf.c: Likewise.
2107 * math/s_ctanl.c: Likewise.
2108 * math/s_ctanh.c: Likewise.
2109 * math/s_ctanhf.c: Likewise.
2110 * math/s_ctanhl.c: Likewise.
2111 * math/libm-test.inc (ctan_test): Add more tests.
2112 (ctanh_test): Likewise.
2113 * sysdeps/i386/fpu/libm-test-ulps: Update.
2114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2115
823fbbb4
AJ
21162012-04-09 Andreas Jaeger <aj@suse.de>
2117
03879793
AJ
2118 [BZ #6894]
2119 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2120 is an optional BSD extension.
2121
823fbbb4
AJ
2122 [BZ #10254]
2123 * manual/stdio.texi (Opening Streams): Document additional fopen
2124 parameters.
2125
8de131cb
RM
21262012-04-09 Roland McGrath <roland@hack.frob.com>
2127
2128 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2129 %eax without telling the compiler.
2130
c0ed9d7d
CD
21312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2132
2133 [BZ # 13963]
2134 * manual/install.texi: Use sourceware.org.
2135
c483f6b4
JM
21362012-04-09 Joseph Myers <joseph@codesourcery.com>
2137
d7dd9453
JM
2138 [BZ #13873]
2139 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2140 (__ieee754_pow): Generate overflow and underflow using huge*huge
2141 and tiny*tiny rather than just returning constant infinity or zero
2142 for large exponents.
2143 * math/libm-test.inc (pow_test): Require overflow exceptions for
2144 applicable cases of large exponents.
2145
c483f6b4
JM
2146 [BZ #706]
2147 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2148 (__ieee754_pow): Use iterative multiplication algorithm only for
2149 integer exponents with absolute value below 1024. Check for odd
2150 integer exponents when using algorithm for real exponents.
2151 * math/libm-test.inc (pow_test): Add more tests.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2153
d2de7579
JM
21542012-04-08 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #13705]
2157 * math/libm-test.inc (exp_test): Do not allow overflow exception
2158 on underflow test.
2159
f77f1232
AJ
21602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2161
2162 [BZ #13705]
2163 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2164 instead of __kernel_standard_f.
2165
3884932b
MF
21662012-04-08 Mike Frysinger <vapier@gentoo.org>
2167
2168 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2169 * sysdeps/x86_64/memset_chk.S: Likewise.
2170
54472e9c
AJ
21712012-04-08 Andreas Jaeger <aj@suse.de>
2172
6ab0fbfc
AJ
2173 [BZ #10153]
2174 * manual/startup.texi (Environment Access): Describe return value
2175 for putenv and setenv.
2176
61efba8c
AJ
2177 [BZ #6895]
2178 * manual/filesys.texi (Directory Entries): Add description for
2179 DT_LNK.
2180
95c3f29a
AJ
2181 [BZ #6890]
2182 * manual/filesys.texi (Directory Entries): Clarify that it's file
2183 system not operating system in the description of DT_UNKNOWN.
2184
54472e9c
AJ
2185 [BZ #6578]
2186 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2187
624254b1
SC
21882012-04-08 Stephen Compall <s11@member.fsf.org>
2189
2190 [BZ #6649]
2191 * manual/llio.texi (Opening and Closing Files): Add cross
2192 reference to explain mode argument.
2193
1e4920e0
MF
21942012-04-07 Mike Frysinger <vapier@gentoo.org>
2195
2196 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2197 * sysdeps/x86_64/memset_chk.S: Likewise.
2198
5ed848f3
DM
21992012-04-07 David S. Miller <davem@davemloft.net>
2200
2201 * elf/elf.h (R_SPARC_WDISP10): Define.
2202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2203 R_SPARC_SIZE32.
2204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2205 R_SPARC_SIZE64 and R_SPARC_H34.
2206
96154cd8
CD
22072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2208
2209 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2210 conditions and remove no longer applicable assertion.
2211
9904dc47
L
22122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * bits/byteswap.h: Include <features.h>.
2215 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2216 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2217
f8887d0a
L
22182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2219
2220 * bits/byteswap.h (__bswap_16): Removed.
2221 Include <bits/byteswap-16.h> to get __bswap_16.
2222 * sysdeps/i386/bits/byteswap.h: Likewise.
2223 * sysdeps/s390/bits/byteswap.h: Likewise.
2224 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2225 * bits/byteswap-16.h: New file.
2226 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2227 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2228 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2229 * string/Makefile (headers): Add bits/byteswap-16.h.
2230
62470f60
PP
22312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2232
2233 [BZ #13895]
2234 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2235 extra indirection.
2236 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2237 * nss/tst-nss-static.c: New.
2238
4dad7bab
RM
22392012-04-06 Robert Millan <rmh@gnu.org>
2240
2241 [BZ #6486]
2242 * manual/llio.texi (File Position Primitive): lseek
2243 refers to WHENCE when it really means OFFSET.
2244
e9142a17
AJ
22452012-04-06 Andreas Jaeger <aj@suse.de>
2246
2c040eff
AJ
2247 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2248 strncmp declarations.
2249
e9142a17
AJ
2250 * abilist/libc.abilist: Add __poll and __ppoll.
2251
ff9f1c5f
DM
22522012-04-05 David S. Miller <davem@davemloft.net>
2253
dcd2ae90
DM
2254 * scripts/check-local-headers.sh: Accept a host triplet in the
2255 path matched by the exclude regexp.
2256
993eb054
DM
2257 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2258 definition.
2259 * sysdeps/powerpc/powerpc32/dl-machine.h
2260 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2261 * sysdeps/s390/s390-32/dl-machine.h
2262 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2263 * sysdeps/sparc/sparc32/dl-machine.h
2264 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2265 * sysdeps/sparc/sparc64/dl-machine.h
2266 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2267
ff9f1c5f
DM
2268 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2269 lazy binding.
48e2e132 2270 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2271 undefined symbol errors.
2272
48e2e132 2273 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2274 DT_NEEDED entries.
2275
e80d6f94
MM
22762012-04-05 Michael Matz <matz@suse.de>
2277
2278 [BZ #13592]
2279 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2280
349fa79f
AJ
22812012-04-05 Andreas Jaeger <aj@suse.de>
2282
2283 [BZ #13908]
2284 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2285 comment.
2286
f402708f
KK
22872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2288
2289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2290 which ROUND is no valid rounding mode.
2291
2ecccfc9
KK
22922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2293
2294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2295 read again.
2296 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2297
8a53f50f
KK
22982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2299
2300 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2301 an exception using FPU order intentionally.
2302
23032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2304
2305 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2306 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2307 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2308 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2309
d653abb7
SJ
23102012-04-05 Simon Josefsson <simon@josefsson.org>
2311
2312 [BZ #12340]
2313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2314 EINVAL when BUFLEN is too smal.
2315
c3b1bf7d
TS
23162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2317
2318 [BZ #13553]
2319 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2320 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2321
b1aa60f3
AJ
23222012-04-03 Andreas Jaeger <aj@suse.de>
2323
c3b1bf7d 2324 [BZ #13938]
67f60a26
AJ
2325 * manual/setjmp.texi (System V contexts): Fix sentence.
2326
b1aa60f3
AJ
2327 [BZ #13926]
2328 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2329 New macro for this case.
2330 [!__GNUC__] (__bswap_64): New inline function for this case.
2331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2332 * bits/byteswap.h: Likewise.
2333 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2334 ull, guard with __GLIBC_HAVE_LONG_LONG.
2335
2336 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2337 __GLIBC_HAVE_LONG_LONG.
2338
2339 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2340 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2341
39c59c35
TMQMF
23422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2343
2344 [BZ #13691]
2345 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2346 inptr and inend, rather than using last_ch.
2347
135ffda8
DM
23482012-04-02 David S. Miller <davem@davemloft.net>
2349
2350 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2351 * stdio-common/printf-parse.h (read_int): Change return type to
2352 'int', return -1 on INT_MAX overflow.
2353 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2354 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2355 overflows INT_MAX. Check for overflow of in-format-string precision
2356 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2357 SIZE_MAX not INT_MAX for integer overflow test.
2358 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2359 skip the construct in the format string but do not record anything.
2360 * stdio-common/bug22.c: Adjust to test both width/prevision
2361 INT_MAX overflow as well as total length INT_MAX overflow. Check
2362 explicitly for proper errno values.
2363
228c019e
TS
23642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2365
302cadd3
TS
2366 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2367 CHAR_MAX.
2368 * string/test-strcmp.c [! WIDE]: Likewise.
2369 * time/tst-mktime2.c: Likewise for INT_MAX.
2370 * string/test-string.h: #include <sys/param.h> for MIN.
2371
228c019e
TS
2372 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2373 * sysdeps/i386/init-first.c (init): Likewise.
2374 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2375 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2376 * sysdeps/sh/init-first.c (init): Likewise.
2377
cfa633f5
UD
23782012-04-01 Ulrich Drepper <drepper@gmail.com>
2379
2380 * po/ru.po: Update from translation team.
d1635ef8 2381 * po/vi.po: Likewise.
cfa633f5 2382
6cd0a5ea
SP
23832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
2385 * resolv/nss_dns/dns-host.c: Merge copyright years.
2386
4b43400f
LD
23872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2388
2389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2390 Optimize memcpy with prefetch if
2391 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2392 src, dst pointers have unequal 16 byte alignments.
2393
48c41d04
SP
23942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2395
2396 [BZ #13928]
2397 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2398 from a CNAME entry and return the minimum ttl for the query.
2399 (gaih_getanswer_slice): Likewise.
2400
b8dc394d
JL
24012012-03-30 Jeff Law <law@redhat.com>
2402
2403 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2404 due to long keys.
2405 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2406 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2407
2f5a5ed0
JL
2408 * resolv/nss_dns/dns-host.c: Update copyright year.
2409
1d39e359
UD
24102012-03-30 Ulrich Drepper <drepper@gmail.com>
2411
c030f70c 2412 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2413 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2414
1d39e359
UD
2415 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2416 comments for sendmmsg.
2417
24182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2419
2420 [BZ #13691]
2421 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2422 with only 1 character between 0x0041 and 0x01b0.
2423 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2424 * wcsmbs/tst-mbsnrtowcs.c: New file.
2425
20fde227
DM
24262012-03-29 David S. Miller <davem@davemloft.net>
2427
2428 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2429 small copies by hand.
2430
984a4237
JL
24312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2432
2433 [BZ #13761]
2434 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2435 _nss_compat_initgroups_dyn): Fall back to malloc/free
2436 for large group memberships.
2437
18c9d62b
DM
24382012-03-28 David S. Miller <davem@davemloft.net>
2439
88d85d4f
DM
2440 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2441 that branches into memcpy.
2442 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2445 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2447 bits.
2448 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2449 implementation too.
2450 * sysdeps/sparc/mempcpy.S: New file.
2451
e5aa83e1
DM
2452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2453 the IFUNC routine in the libc case.
2454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2455
88570753
DM
2456 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2457 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2458 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2459 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2460 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2461 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2462 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2463 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2464
249d7567
DM
2465 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2466 loop to 256 bytes instead of 64 bytes and fix test signedness.
2467
18c9d62b
DM
2468 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2469 * sysdeps/sparc/sparc32/Makefile: rather than here...
2470 * sysdeps/sparc/sparc64/Makefile: and here.
2471
05f3d1f6
UD
24722012-03-28 Ulrich Drepper <drepper@gmail.com>
2473
2474 * malloc/mallocbug.c: Avoid warnings about unused variables.
2475
86ae07a8
JL
24762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
2478 [BZ #13760]
2479 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2480 in the right place. Discard and retry query if response is
2481 larger than input buffer size.
2482
41bf21a1
JM
24832012-03-28 Joseph Myers <joseph@codesourcery.com>
2484
d6270972
JM
2485 [BZ #369]
2486 [BZ #2678]
2487 [BZ #3866]
2488 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2489 x for large integer exponent.
2490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2491 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2492 sign of result as needed afterwards.
2493 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2495 result for underflowing pow the same as for overflow.
2496 (__kernel_standard_l): Handle powl overflow and underflow here
2497 rather than calling __kernel_standard.
2498 * math/libm-test.inc (pow_test): Add more tests.
2499
414fca03 2500 [BZ #3868]
41bf21a1
JM
2501 [BZ #13879]
2502 [BZ #13910]
2503 [BZ #13911]
2504 [BZ #13912]
2505 [BZ #13913]
2506 [BZ #13915]
2507 [BZ #13916]
2508 [BZ #13917]
2509 [BZ #13918]
2510 [BZ #13919]
2511 [BZ #13920]
2512 [BZ #13921]
2513 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2514 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2515 (__kernel_standard_l): New function.
2516 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2517 __kernel_standard.
2518 * math/w_acosl.c (__acosl): Likewise.
2519 * math/w_asinl.c (__asinl): Likewise.
2520 * math/w_atan2l.c (__atan2l): Likewise.
2521 * math/w_atanhl.c (__atanhl): Likewise.
2522 * math/w_coshl.c (__coshl): Likewise.
2523 * math/w_exp10l.c (__exp10l): Likewise.
2524 * math/w_exp2l.c (__exp2l): Likewise.
2525 * math/w_fmodl.c (__fmodl): Likewise.
2526 * math/w_hypotl.c (__hypotl): Likewise.
2527 * math/w_j0l.c (__j0l, __y0l): Likewise.
2528 * math/w_j1l.c (__j1l, __y1l): Likewise.
2529 * math/w_jnl.c (__jnl, __ynl): Likewise.
2530 * math/w_lgammal.c (__lgammal): Likewise.
2531 * math/w_log10l.c (__log10l): Likewise.
2532 * math/w_log2l.c (__log2l): Likewise.
2533 * math/w_logl.c (__logl): Likewise.
2534 * math/w_powl.c (__powl): Likewise.
2535 * math/w_remainderl.c (__remainderl): Likewise.
2536 * math/w_scalbl.c (sysv_scalbl): Likewise.
2537 * math/w_sinhl.c (__sinhl): Likewise.
2538 * math/w_sqrtl.c (__sqrtl): Likewise.
2539 * math/w_tgammal.c (__tgammal): Likewise.
2540 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2541 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2542 * math/libm-test.inc (acos_test): Add more tests.
2543 (acosh_test): Likewise.
2544 (asin_test): Likewise.
2545 (atanh_test): Likewise.
2546 (exp_test): Likewise.
2547 (exp10_test): Likewise.
2548 (exp2_test): Likewise.
2549 (expm1_test): Likewise.
2550 (lgamma_test): Likewise.
2551 (log_test): Likewise.
2552 (log10_test): Likewise.
2553 (log1p_test): Likewise.
2554 (log2_test): Likewise.
2555 (pow_test): Do not allow some spurious overflow exceptions.
2556 (sqrt_test): Add more tests.
2557 (tgamma_test): Likewise.
2558 (y0_test): Likewise.
2559 (y1_test): Likewise.
2560 (yn_test): Likewise.
2561
dd62fda6
AB
25622012-03-27 Anton Blanchard <anton@samba.org>
2563
2564 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2565 MAP_HUGETLB.
2566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2569
1e3cdfda
AJ
25702012-03-27 David S. Miller <davem@davemloft.net>
2571
b855ab85
DM
2572 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2573
1e3cdfda
AJ
2574 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2575 have-as-vis3 check.
2576
25772012-03-27 Andreas Jaeger <aj@suse.de>
2578
2579 * sysdeps/x86_64/elf/configure.in: Moved to ...
2580 * sysdeps/x86_64/configure.in: ... here.
2581 * sysdeps/x86_64/elf/start.S: Moved to ...
2582 * sysdeps/x86_64/start.S: ... here.
2583 * sysdeps/x86_64/elf/configure: Delete.
2584
2585 * sysdeps/x86_64/configure.in: Merge contents from
2586 sysdeps/i386/configure.in (without i686 check).
2587
2588 * sysdeps/i386/elf/Versions: Merge into ...
2589 * sysdeps/i386/Versions: ... this.
2590 * sysdeps/i386/elf/Versions: Delete file.
2591 * sysdeps/i386/elf/start.S: Moved to ...
2592 * sysdeps/i386/start.S: ...here.
2593 * sysdeps/i386/elf/configure.in: Merge into...
2594 * sysdeps/i386/configure.in: ...here.
2595 * sysdeps/i386/elf/configure.in: Delete file.
2596 * sysdeps/i386/elf/configure: Delete file.
2597
2598 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2599 * debug/backtracesyms.c: ... here.
2600 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2601 * debug/backtracesymsfd.c: ... here.
2602 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2603 * sysdeps/generic/ifunc-sel.h: ... here.
2604
2605 * sysdeps/unix/i386/start.c: Delete file.
2606 * sysdeps/unix/sparc/start.c: Delete file.
2607 * sysdeps/unix/start.c: Delete file.
2608
2609 * sysdeps/sh/elf/configure.in: Moved to ...
2610 * sysdeps/sh/configure.in: ... here.
2611 * sysdeps/sh/elf/start.S: Moved to ...
2612 * sysdeps/sh/start.S: ... here.
2613 * sysdeps/sh/elf/configure: Delete file.
2614
2615 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2616 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2617 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2618 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2619 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2620 * sysdeps/powerpc/powerpc64/start.S: here.
2621 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2622 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2623 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2624 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2625 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2626
2627 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2628 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2629 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2630 * sysdeps/powerpc/powerpc32/start.S: ... here.
2631 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2632 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2633 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2634
2635 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2636 * sysdeps/powerpc/ifunc-sel.h: ... here.
2637 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2638 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2639
2640 * sysdeps/sparc/elf/configure.in: Moved to ...
2641 * sysdeps/sparc/configure.in: ... here.
2642 * sysdeps/sparc/elf/configure: Delete file.
2643 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2644 * sysdeps/sparc/sparc32/start.S: ... here.
2645 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2646 * sysdeps/sparc/sparc64/start.S: ... here.
2647 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2648 * sysdeps/sparc/sparc32/Makefile: ... this.
2649 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2650 * sysdeps/sparc/sparc64/Makefile: ... this.
2651
2652 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2653 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2654 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2655 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2656 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2657 * sysdeps/s390/s390-32/setjmp.S: ... here.
2658 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2659 * sysdeps/s390/s390-32/configure.in: ... here.
2660 * sysdeps/s390/s390-32/elf/configure: Delete file.
2661 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2662 * sysdeps/s390/s390-32/start.S: ... here.
2663
2664 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2665 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2666 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2667 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2668 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2669 * sysdeps/s390/s390-64/setjmp.S: ... here.
2670 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2671 * sysdeps/s390/s390-64/configure.in: ... here
2672 * sysdeps/s390/s390-64/elf/configure: Delete file.
2673 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2674 * sysdeps/s390/s390-64/start.S: ... here.
2675 * sysdeps/s390/s390-64/elf/configure: Delete.
2676
2677 * configure.in: Remove support for elf directories in sysdeps.
2678
2679 * configure: Regenerated.
2680 * sysdeps/i386/configure: Regenerated.
2681 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2682 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2683 * sysdeps/s390/s390-32/configure: Regenerated.
2684 * sysdeps/s390/s390-64/configure: Regenerated.
2685 * sysdeps/sh/configure: Regenerated.
2686 * sysdeps/sparc/configure: Regenerated.
2687 * sysdeps/x86_64/configure: Regenerated.
2688
a3f61311
AS
26892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2690
c876e002
AS
2691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2692
a3f61311
AS
2693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2694 denormal result into account.
2695
ac4c54f0
RM
26962012-03-25 Roland McGrath <roland@hack.frob.com>
2697
2698 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2699 Reported by Allan McRae <allan@archlinux.org>.
2700
6a9b9c02
JL
27012012-03-23 Jeff Law <law@redhat.com>
2702
2703 * nss/getnssent.c (__nss_getent): Fix typo.
2704
4c42a0c1
DM
27052012-03-23 David S. Miller <davem@davemloft.net>
2706
2707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2708
1532c7ac
L
27092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2712 to pad to uint64_t for each field.
2713 (dl_tls_index): Replace unsigned long with uint64_t.
2714
3ff42526
PP
27152012-03-23 Daniel Jacobowitz <dmj@google.com>
2716 Paul Pluzhnikov <ppluzhnikov@google.com>
2717
2718 [BZ #6528]
2719 * grp/Makefile (otherlibs): Don't set it.
2720 * inet/Makefile (otherlibs): Likewise.
2721 * login/Makefile (otherlibs): Likewise.
2722 * nscd/Makefile (otherlibs): Likewise.
2723 * posix/Makefile (otherlibs): Likewise.
2724 * pwd/Makefile (otherlibs): Likewise.
2725 * rt/Makefile (otherlibs): Likewise.
2726 * sunrpc/Makefile (otherlibs): Likewise.
2727 * nss/Makefile (otherlibs): Likewise.
2728 Add libnss_files to routines and static-only-routines.
2729 ($(objpfx)getent): Remove rule.
2730 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2731 static-only-routines.
2732
7c69cd14
JM
27332012-03-22 Joseph Myers <joseph@codesourcery.com>
2734
2735 [BZ #13892]
2736 * math/s_cexp.c: Include <float.h>.
2737 (__cexp): Handle exp result overflowing not necessarily
2738 overflowing both real and imaginary parts of result.
2739 * math/s_cexpf.c: Likewise.
2740 * math/s_cexpl.c: Likewise.
2741 * math/libm-test.inc (cexp_test): Add more tests.
2742 * sysdeps/i386/fpu/libm-test-ulps: Update.
2743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744
81b035fe
L
27452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2746
2747 * include/link.h (ELFW): New macro.
2748 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2749 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2750
1da7940c
L
27512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2752
2753 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2754 with uint64_t.
2755
b749dbb9
L
27562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2759 declaration.
2760 (struct La_x32_retval): Likewise.
2761
2ff87f3f
L
27622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * sysdeps/x86_64/preconfigure.in: New file.
2765 * sysdeps/x86_64/preconfigure: New generated file.
2766
c0df8e69
JM
27672012-03-22 Joseph Myers <joseph@codesourcery.com>
2768
48e44791
JM
2769 [BZ #13824]
2770 * math/e_exp2l.c: Include <float.h>.
2771 (__ieee754_exp2l): Handle overflow and underflow cases
2772 separately. Only pass fractional part of argument to
2773 __ieee754_expl.
2774 * math/libm-test.inc (exp2_test): Add more tests.
2775
c0df8e69
JM
2776 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2777 negating x to take absolute value.
2778 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2779 Likewise.
2780 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2781 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2782 Likewise.
2783 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2784 computing low part if x was negated.
2785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2786
c8e43ba7
L
27872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2790 la_x32_gnu_pltexit.
2791 (pltexit): Cast int_retval to ptrdiff_t.
2792 * elf/tst-auditmod3b.c: Likewise.
2793 * elf/tst-auditmod4b.c: Likewise.
2794 * elf/tst-auditmod5b.c: Likewise.
2795 * elf/tst-auditmod6b.c: Likewise.
2796 * elf/tst-auditmod6c.c: Likewise.
2797 * elf/tst-auditmod7b.c: Likewise.
2798
2799 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2800 and x32_gnu_pltexit.
2801
2802 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2803 __ELF_NATIVE_CLASS.
2804 (La_x32_regs): New macro.
2805 (La_x32_retval): Likewise.
2806 (la_x32_gnu_pltenter): New function prototype.
2807 (la_x32_gnu_pltexit): Likewise.
2808
7998fa78
AS
28092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2810
dcb33988
AS
2811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2812 exponent.
2813
233fc563
AS
2814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2815
7998fa78
AS
2816 * configure.in (libc_cv_cc_nofma): Check for option to disable
2817 generation of FMA instructions.
2818 * configure: Regenerate.
2819 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2820 * sysdeps/ieee754/dbl-64/Makefile: New file.
2821 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2822 Remove brandred-fma4.
2823 (CFLAGS-brandred-fma4.c): Remove.
2824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2825 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2826 define.
2827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2828 define.
2829
8e95c99a
L
28302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2833 LLONG_MAX != LONG_MAX.
2834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2835 (_fitoa_word): Likewise.
2836 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2837 LLONG_MAX != LONG_MAX.
2838 * stdio-common/_itowa.h: Include <_itoa.h>.
2839 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2840 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2841 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2842 only if not defined.
2843 (_ITOA_WORD_TYPE): Likewise.
2844 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2845 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2846
6f4db457
DM
28472012-03-21 David S. Miller <davem@davemloft.net>
2848
2849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2850
7785fe5a
L
28512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2854 of x86_64 when setting libc_cv_slibdir, libdir and
2855 libc_cv_localedir.
2856 * sysdeps/unix/sysv/linux/configure: Regenerated.
2857
4535cd55
JM
28582012-03-21 Joseph Myers <joseph@codesourcery.com>
2859
2860 * manual/lang.texi (Old Varargs): Remove section.
2861 (How Variadic): Update menu.
2862 (va_start): Do not mention varargs.h.
2863
17228132
TS
28642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2865 Joseph Myers <joseph@codesourcery.com>
2866
2867 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2868 link test.
2869 * configure: Regenerated.
2870
8149f976
TS
28712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2872
05f3d1f6
UD
2873 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2874 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2875 conformtest.pl
8149f976 2876
1a4ac776
JM
28772012-03-21 Joseph Myers <joseph@codesourcery.com>
2878
be22ce65
JM
2879 * NOTES: Remove.
2880 * Makefile (files-for-dist): Remove NOTES.
2881 (NOTES): Remove rule.
2882 * README: Don't refer to NOTES.
2883 * manual/creature.texi: Don't include macros.texi.
2884 * manual/intro.texi (creature.texi): Remove comment referring to
2885 NOTES.
2886
40b601fb
JM
2887 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2888 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2889 * configure: Regenerated.
2890 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2891 LIBC_TRY_CC_OPTION.
2892 (libc_cv_as_i686): Likewise.
2893 (libc_cv_cc_avx): Likewise.
2894 (libc_cv_cc_sse2avx): Likewise.
2895 (libc_cv_cc_fma4): Likewise.
2896 (libc_cv_cc_novzeroupper): Likewise.
2897 * sysdeps/i386/configure: Regenerated.
2898
1a4ac776
JM
2899 [BZ #13883]
2900 * sysdeps/i386/fpu/s_cexp.S: Remove.
2901 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2902 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2903 * math/libm-test.inc (cexp_test): Add more tests.
2904 * sysdeps/i386/fpu/libm-test-ulps: Update.
2905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2906
a458e7fe
AM
29072012-03-21 Allan McRae <allan@archlinux.org>
2908
2909 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2910
0cb7efc5
JM
29112012-03-21 Joseph Myers <joseph@codesourcery.com>
2912
2913 [BZ #13871]
2914 * math/w_exp2.c: Do not include <float.h>.
2915 (o_threshold, u_threshold): Remove.
2916 (__exp2): Calculate result before checking finiteness and calling
2917 __kernel_standard.
2918 * math/w_exp2f.c: Likewise.
2919 * math/w_exp2l.c: Likewise.
2920 * math/libm-test.inc (exp2_test): Require overflow exception for
2921 1e6 input.
2460d3aa
JM
2922
2923 [BZ #3866]
2924 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2925 range of signed 64-bit integers before using fistpll. Remove
2926 checks for whether integers fit in mantissa bits.
2927 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2928 the range of signed 32-bit integers before using fistpl. Remove
2929 checks for whether integers fit in mantissa bits.
2930 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2931 (__ieee754_powl): Test for y outside the range of signed 64-bit
2932 integers before using fistpll. Reduce 64-bit values to 63-bit
2933 ones as needed.
2934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2935 divide-by-zero is raised for zero to large negative powers.
2936 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2937 (__ieee754_powl): Test for y outside the range of signed 64-bit
2938 integers before using fistpll. Reduce 64-bit values to 63-bit
2939 ones as needed.
2940 * math/libm-test.inc (pow_test): Add more tests.
2941
eb96ffb0
L
29422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2945 <stdio-common/_itoa.h>.
2946 * debug/segfault.c: Likewise.
2947 * elf/dl-cache.c: Likewise.
2948 * elf/dl-minimal.c: Likewise.
2949 * elf/dl-misc.c: Likewise.
2950 * elf/dl-sysdep.c: Likewise.
2951 * elf/dl-version.c: Likewise.
2952 * elf/rtld.c: Likewise.
2953 * hurd/hurdsock.c: Likewise.
2954 * hurd/lookup-retry.c: Likewise.
2955 * malloc/malloc.c: Likewise.
2956 * malloc/mtrace.c: Likewise.
2957 * nscd/nscd_getgr_r.c: Likewise.
2958 * nscd/nscd_getpw_r.c: Likewise.
2959 * nscd/nscd_getserv_r.c: Likewise.
2960 * posix/getopt_init.c: Likewise.
2961 * posix/wordexp.c: Likewise.
2962 * stdio-common/_itoa.c: Likewise.
2963 * stdio-common/printf_fphex.c: Likewise.
2964 * stdio-common/vfprintf.c: Likewise.
2965 * string/_strerror.c: Likewise.
2966 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2967 * sysdeps/i386/i686/hp-timing.h: Likewise.
2968 * sysdeps/mach/_strerror.c: Likewise.
2969 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2970 * sysdeps/mach/hurd/sethostid.c: Likewise.
2971 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2972 * sysdeps/mach/xpg-strerror.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2974 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2975 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2976 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2977 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2978 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2979 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2980 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2981 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2982 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2983 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2984 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2985 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2986 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2987 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2988 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2989 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2991 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2992 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2993 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2994
2995 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2996
2997 * stdio-common/_itoa.h: Moved to ...
2998 * sysdeps/generic/_itoa.h: Here.
2999
3000 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3001
3002 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3003 instead of "_itoa.h" and "_itowa.h".
3004 * stdio-common/vfprintf.: Likewise.
3005
d1af992d
L
30062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3009 <bits/wordsize.h>.
3010 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3011 (__signbit): Likwise.
3012 (llrintf): Likwise.
3013 (llrint): Likwise.
3014
114883e0
L
30152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3018 __WORDSIZE != 64.
3019
c135cc1b
JM
30202012-03-20 Joseph Myers <joseph@codesourcery.com>
3021
3022 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3023 OVERFLOW_EXCEPTION_OK.
3024 * math/libm-test.inc ("Philosophy"): Update comment about
3025 exception testing.
3026 (OVERFLOW_EXCEPTION): Define.
3027 (OVERFLOW_EXCEPTION_OK): Likewise.
3028 (INVALID_EXCEPTION_OK): Renumber.
3029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3030 (IGNORE_ZERO_INF_SIGN): Likewise.
3031 (test_exceptions): Handle FE_OVERFLOW.
3032 (exp10_test): Expect overflow exceptions.
3033 (exp2_test): Likewise.
3034 (expm1_test): Likewise.
3035 (nextafter_test): Likewise.
3036 (pow_test): Likewise.
3037 (scalbn_test): Likewise.
3038 (scalbln_test): Likewise.
3039
95443d88
L
30402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 * sysdeps/x86_64/bits/atomic.h
3043 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3044 64bit integer.
3045 (atomic_exchange_acq): Likewise.
3046 (__arch_exchange_and_add_body): Likewise.
3047 (__arch_add_body): Likewise.
3048 (atomic_add_negative): Likewise.
3049 (atomic_add_zero): Likewise.
3050
490df6c4
L
30512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3052
c2722551 3053 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3054 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3055
5e52b189
L
30562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3059 Check __x86_64__ instead of __WORDSIZE.
3060
a9879d4c
L
30612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3062
3063 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3064
5df98260
DM
30652012-03-19 David S. Miller <davem@davemloft.net>
3066
e1497744
DM
3067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3068
5df98260
DM
3069 * sysdeps/sparc/fpu/fenv_private.h: New file.
3070 * sysdeps/sparc/fpu/math_private.h: Use it.
3071 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3072 Remove.
3073 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3074 (libc_feholdexcept_setroundl): Remove.
3075 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3076 Remove.
3077 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3078 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3079
b4c35121
L
30802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3081
3082 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3083 int64_t instead of long int.
3084 (INSERT_WORDS64): Likwise.
3085
56965fd7
L
30862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3089 _Unwind_GetCFA return to _Unwind_Ptr first.
3090
83d1aec8
JM
30912012-03-19 Joseph Myers <joseph@codesourcery.com>
3092
1897ad44
JM
3093 [BZ #13629]
3094 * math/s_clog.c: Include <float.h>.
3095 (__clog): Scale large or subnormal inputs.
3096 * math/s_clogf.c: Likewise.
3097 * math/s_clogl.c: Likewise.
3098 * math/s_clog10.c: Include <float.h>.
3099 (M_LOG10_2): Define.
3100 (__clog10): Scale large or subnormal inputs.
3101 * math/s_clog10f.c: Likewise.
3102 * math/s_clog10l.c: Likewise.
3103 * math/libm-test.inc (clog_test): Add more tests.
3104 (clog10_test): Likewise.
3105 * sysdeps/i386/fpu/libm-test-ulps: Update.
3106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3107
7726d6a9
JM
3108 [BZ #11451]
3109 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3110 x and y.
3111 * math/libm-test.inc (atan2_test): Add another test.
3112
83d1aec8
JM
3113 * Makerules (common-objdir-compile): Remove.
3114 * sysdeps/unix/Makefile (config-generated): Do not add
3115 $(unix-generated) to variable.
3116 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3117 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3118 Remove rule.
3119 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3120 Likewise.
3121 [generic bits/local_lim.h] (before-compile): Do not append to
3122 variable.
3123 [generic bits/local_lim.h] (common-generated): Likewise.
3124 [generic sys/param.h] (before-compile): Do not append to variable.
3125 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3126 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3127 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3128 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3129 include.
3130 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3131 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3132 [generic sys/param.h] ($(addprefix
3133 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3134 [generic sys/param.h] (common-generated): Do not append to
3135 variable.
3136 [generic sys/param.h] (sysdep_headers): Likewise.
3137 [generic bits/errno.h] (before-compile): Do not append to
3138 variable.
3139 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3140 rule.
3141 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3142 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3143 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3144 [generic bits/errno.h] (common-generated): Do not append to
3145 variable.
3146 [generic bits/ioctls.h] (before-compile): Do not append to
3147 variable.
3148 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3149 rule.
3150 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3151 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3152 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3153 rule.
3154 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3155 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3156 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3157 [generic bits/ioctls.h] (common-generated): Do not append to
3158 variable.
3159 [generic sys/syscall.h] (syscall.h): Remove variable.
3160 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3161 rule.
3162 [generic sys/syscall.h] (before-compile): Do not append to
3163 variable.
3164 [generic sys/syscall.h] (common-generated): Likewise.
3165 * sysdeps/unix/errnos-tmpl.c: Remove file.
3166 * sysdeps/unix/errnos.awk: Likewise.
3167 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3168 * sysdeps/unix/ioctls.awk: Likewise.
3169 * sysdeps/unix/mk-local_lim.c: Likewise.
3170 * sysdeps/unix/snarf-ioctls: Likewise.
3171
4851a949
RH
31722012-03-19 Richard Henderson <rth@twiddle.net>
3173
bd37f2ee
RH
3174 * sysdeps/i386/fpu/fenv_private.h: New file.
3175 * sysdeps/i386/fpu/math_private.h: Use it.
3176 (math_opt_barrier, math_force_eval): Remove.
3177 (libc_feholdexcept_setround_53bit): Remove.
3178 (libc_feupdateenv_53bit): Remove.
3179 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3180 (math_opt_barrier, math_force_eval): Remove.
3181 (libc_feholdexcept): Remove.
3182 (libc_feholdexcept_setround): Remove.
3183 (libc_fetestexcept, libc_fesetenv): Remove.
3184 (libc_feupdateenv_test): Remove.
3185 (libc_feupdateenv, libc_feholdsetround): Remove.
3186 (libc_feresetround): Remove.
3187
d0adc922
RH
3188 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3189 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3190
0fe0f1f8
RH
3191 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3192 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3193 (libc_feupdateenv_testl): New.
3194 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3195 (libc_feupdateenv_testf): New.
3196 (libc_feupdateenv): Use libc_feupdateenv_test.
3197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3199
eb92c487
RH
3200 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3201 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3202 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3203 (libc_feresetround_noex): New.
3204 (libc_feresetround_noexf): New.
3205 (libc_feresetround_noexl): New.
3206 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3207 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3208 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3209 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3210 SET_RESTORE_ROUND.
3211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3212 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3213 (__cos): Likewise.
3214 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3216 SET_RESTORE_ROUND_NOEX.
3217 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3218 SET_RESTORE_ROUND_NOEXF.
3219 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3220 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3221 (libc_feholdsetroundf): New.
3222 (libc_feresetround, libc_feresetroundf): New.
3223
7d2e8012
RH
3224 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3225 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3226 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3227
b4dabbb4
RH
3228 * sysdeps/generic/math_private.h: Include <fenv.h>.
3229 (default_libc_feholdexcept): New.
3230 (default_libc_feholdexcept_setround): New.
3231 (default_libc_fesetenv, default_libc_feupdateenv): New.
3232 (libc_feholdexcept): Only define if undefined.
3233 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3234 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3235 (libc_feholdexcept_setroundl): Likewise.
3236 (libc_feholdexcept_setround_53bit): Likewise.
3237 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3238 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3239 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3240 (libc_feupdateenv_53bit): Likewise.
3241 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3242 (libc_feholdexcept): Convert from macro to inline function.
3243 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3244 (libc_fesetenv, libc_feupdateenv): Likewise.
3245
4851a949
RH
3246 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3247 not previously defined.
3248 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3249 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3250 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3251 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3252 * sysdeps/ieee754/flt-32/math_private.h: New file.
3253 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3254 math_private.h below SET_FLOAT_WORD.
3255 (__isnan, __isinf_ns, __finite): Remove.
3256 (__isnanf, __isinf_nsf, __finitef): Remove.
3257
e79d442e
AS
32582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3259
3260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3261
90b80344
DM
32622012-03-17 David S. Miller <davem@davemloft.net>
3263
3264 [BZ #6471]
3265 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3266 for 2.16.
3267
edc21804
DM
32682012-03-16 David S. Miller <davem@davemloft.net>
3269
77e927af
DM
3270 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3271 warnings.
3272
374976dd
DM
3273 [BZ #6471]
3274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3275 properly.
3276 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3277 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3278 sysdep_routines when subdir is sysvipc.
3279 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3280 __getshmlba helper.
3281
edc21804
DM
3282 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3283
473c3ef3
L
32842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3285
3286 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3287 [__LP64__].
3288
eb0f39b6
L
32892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3290
3291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3292 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3293 (__lround): Renamed to ...
3294 (__llround): This. Replace long int with long long int.
3295 Define lround functions as aliases of llround functions.
3296 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3297
6b6cd74b
L
32982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3301 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3302 adresses to uintptr_t. Replace "long int" and "unsigned long
3303 int" with "greg_t" on va_arg.
3304
f1a77b01
L
33052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3306
3307 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3308 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3309
3310 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3311 Move e_machine check before EI_CLASS check. Handle x32
3312 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3313 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3314 SKIP_EM_IA_64 and include
3315 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3316
3317 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3318 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3319 (add_system_dir): New macro.
3320
3321 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3322 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3323
11b90b9f
JM
33242012-03-16 Joseph Myers <joseph@codesourcery.com>
3325
c36e1d23
JM
3326 [BZ #2551]
3327 [BZ #2552]
3328 [BZ #2553]
3329 [BZ #2554]
3330 [BZ #2562]
3331 [BZ #2563]
3332 [BZ #2565]
3333 [BZ #2566]
3334 [BZ #2576]
3335 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3336 (y0): Likewise.
3337 * math/w_j0f.c (j0f): Likewise.
3338 (y0f): Likewise.
3339 * math/w_j0l.c (__j0l): Likewise.
3340 (__y0l): Likewise.
3341 * math/w_j1.c (j1): Likewise.
3342 (y1): Likewise.
3343 * math/w_j1f.c (j1f): Likewise.
3344 (y1f): Likewise.
3345 * math/w_j1l.c (__j1l): Likewise.
3346 (__y1l): Likewise.
3347 * math/w_jn.c (jn): Likewise.
3348 (yn): Likewise.
3349 * math/w_jnf.c (jnf): Likewise.
3350 (ynf): Likewise.
3351 * math/w_jnl.c (__jnl): Likewise.
3352 (__ynl): Likewise.
3353 * math/libm-test.inc (j0_test): Add more tests.
3354 (j1_test): Likewise.
3355 (jn_test): Likewise. Add trailing semicolon to existing test.
3356 (y0_test): Likewise.
3357 (y1_test): Likewise.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360
11b90b9f
JM
3361 [BZ #13851]
3362 [BZ #13854]
3363 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3364 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3365 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3366 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3367 (__tanl): Set errno for infinite argument.
3368 * sysdeps/i386/fpu/mptan.c: Remove.
3369 * sysdeps/i386/fpu/s_tan.S: Likewise.
3370 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3371 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3372 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3373 * math/libm-test.inc (tan_test): Add more tests and enable more
3374 tests for double and long double.
3375 * sysdeps/i386/fpu/libm-test-ulps: Update.
3376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3377
6a1bd2a1
JK
33782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3379
3380 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3381 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3382
10a803e0
RM
33832012-03-16 Roland McGrath <roland@hack.frob.com>
3384
3385 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3386 * configure.in: Use it for both main tree and add-ons.
3387 * configure: Regenerated.
3388
f196c7f7
L
33892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3392
8848d99d
JM
33932012-03-16 Joseph Myers <joseph@codesourcery.com>
3394
96cbe7f4
JM
3395 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3396 in comment.
3397
8848d99d
JM
3398 [BZ #13851]
3399 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3400 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3403 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3404 infinite argument.
3405 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3407 != 0 for prec == 2.
3408 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3409 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3410 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3411 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3412 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3413 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3414 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3415 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3416 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3417 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3418 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3419 * math/libm-test.inc (cos_test): Add more tests and enable more
3420 tests for long double.
3421 (sin_test): Likewise.
3422 (sincos_test): Likewise.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3425
dd7f4703
DM
34262012-03-16 David S. Miller <davem@davemloft.net>
3427
3428 * sysdeps/sparc/fpu/math_private.h: New file.
3429
006f1daa
DM
34302012-03-15 David S. Miller <davem@davemloft.net>
3431
c0c83bc8
DM
3432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3433 file.
e6a62e18 3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3436 file.
e6a62e18
DM
3437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3443 sysdep routines.
3444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3445
88cb87d9
DM
3446 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3447 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3448
006f1daa 3449 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3451 sparc-ifunc.h
006f1daa 3452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3454 Likewise.
3455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3456 Likewise.
006f1daa
DM
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3461 Likewise.
006f1daa
DM
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3467 Likewise.
3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3469 Likewise.
006f1daa
DM
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3494
11e0098e
AS
34952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3496
3497 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3498 scaling.
3499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3500
e85b09d0
AJ
35012012-03-15 Andreas Jaeger <aj@suse.de>
3502
3503 [BZ #13852]
3504 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3505 ieee754/flt-32 implementation for sin, cos and sincos.
3506 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3507 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3508 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3509 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3510 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3511 ieee754/flt-32 implementation for tan.
3512
3513 * math/libm-test.inc (cos_test): Enable some large input tests for
3514 float as well
3515 (sin_test): Likewise.
3516 (sincos_test): Likewise.
3517 (tan_test): Add tests for large input.
3518
3519 * sysdeps/i386/fpu/libm-test-ulps: Update.
3520
81c64153
AJ
35212012-03-15 Andreas Jaeger <aj@suse.de>
3522
3523 [BZ #13658]
3524 * math/libm-test.inc (cos_test): Add more test cases.
3525 (sin_test): Likewise.
3526 (sincos_test): Likewise.
3527
7bbfa5c6
AJ
35282012-03-15 Andreas Jaeger <aj@suse.de>
3529
3530 [BZ #13837]
3531 * math/libm-test.inc (cos_test): Add a test case for large input
3532 value.
3533 (sin_test): Likewise.
3534 (sincos_test): Likewise.
3535
35362012-03-15 Andreas Jaeger <aj@suse.de>,
3537 Joseph Myers <joseph@codesourcery.com>
3538
3539 [BZ #13658]
0671f479 3540 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3541 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3542 * sysdeps/i386/fpu/branred.c: Likewise.
3543 * sysdeps/i386/fpu/dosincos.c: Likewise.
3544 * sysdeps/i386/fpu/mpa.c: Likewise.
3545 * sysdeps/i386/fpu/s_cos.S: Likewise.
3546 * sysdeps/i386/fpu/s_sin.S: Likewise.
3547 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3548 * sysdeps/i386/fpu/sincos32.c: Likewise.
3549
3550 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3551 Define.
3552 (libc_feupdateenv_53bit): Define.
3553 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3554 Define.
3555 (libc_feupdateenv_53bit): Define.
3556
3557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3558 53 bit (without extend i386 double precision).
3559
3560 * math/libm-test.inc (sincos_test): Add tests for large input.
3561 (sin): Likewise.
3562 (cos): Likewise.
3563
3564 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3565
9cad04ea
AS
35662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3569
f7062b9a
DM
35702012-03-15 David S. Miller <davem@davemloft.net>
3571
3572 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3573 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3574 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3575 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3588 file.
f7062b9a 3589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3591 file.
f7062b9a 3592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3594 file.
f7062b9a 3595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3597 file.
f7062b9a
DM
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3600 fmin/fmax sysdep routines.
3601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3602
7bd951ff
DM
36032012-03-14 David S. Miller <davem@davemloft.net>
3604
559398ab
DM
3605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3634 routines.
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3636 file.
559398ab 3637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3639 file.
559398ab 3640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3642 file.
559398ab 3643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3645 file.
559398ab 3646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3648 file.
559398ab 3649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3651 file.
3652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3653 file.
3654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3655 file.
3656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3657 file.
3658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3659 New file.
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3661 file.
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3663 file.
559398ab 3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3666 file.
559398ab 3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3669 file.
559398ab 3670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3672 file.
559398ab 3673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3675 VIS3 routines.
559398ab
DM
3676
3677 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3678 New file.
3679
5a1c1e32
DM
3680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3681
eae47a36
DM
3682 * sysdeps/sparc/configure.in: New file.
3683 * sysdeps/sparc/configure: Generate.
3684 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3685 * configure: Regenerate.
3686 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3687 * config.make.in (have-as-vis3): New.
3688 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3689 available use -Av9d instead of -Av9a.
3690 * sysdeps/sparc/sparc64/Makefile: Likewise.
3691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3693 New file.
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3695 file.
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3697 New file.
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3699 file.
eae47a36
DM
3700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3705
c0c83bc8
DM
3706 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3707 fzeros/fnegs to load 0x80000000 into a float register instead of
3708 using the stack.
7bd951ff
DM
3709 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3710
bd951ccb
JM
37112012-03-14 Joseph Myers <joseph@codesourcery.com>
3712
3713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3714 bits/syscall.h.
3715 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3716 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3717 ($(inst_includedir)/bits/syscall.h): Remove rule.
3718 ($(objpfx)bits/syscall.d): Include instead of
3719 $(objpfx)syscall-list.d.
3720 (generated): Change syscall-list.h and syscall-list.d to
3721 bits/syscall.h and bits/syscall.d.
3722
bb4e6db2
RM
37232012-03-14 Roland McGrath <roland@hack.frob.com>
3724
3725 [BZ #13846]
3726 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3727
aa4a2ae1
JM
37282012-03-14 Joseph Myers <joseph@codesourcery.com>
3729
e456826d
JM
3730 [BZ #13841]
3731 * math/s_csqrt.c: Include <float.h>.
3732 (__csqrt): Scale large or subnormal inputs.
3733 * math/s_csqrtf.c: Likewise.
3734 * math/s_csqrtl.c: Likewise.
3735 * math/libm-test.inc (csqrt_test): Add more tests.
3736 * sysdeps/i386/fpu/libm-test-ulps: Update.
3737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3738
aa4a2ae1
JM
3739 [BZ #13840]
3740 * math/libm-test.inc (hypot_test): Add more tests.
3741
7c10fd35
DM
37422012-03-13 David S. Miller <davem@davemloft.net>
3743
3744 [BZ #13840]
3745 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3746 double-precision for the calculation instead of scaling.
3747
f453b98b
JM
37482012-03-13 Joseph Myers <joseph@codesourcery.com>
3749
3750 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3751 manipulate bits before adding and subtracting TWO52[sx].
3752 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3754 Likewise.
3755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3756
09a3453f
DM
37572012-03-13 David S. Miller <davem@davemloft.net>
3758
8e59da90
DM
3759 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3760 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3762 rtld-global-offsets.h
3763 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3764
2a8ab7f2
DM
3765 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3766 large parameters.
3767
10f62770
DM
3768 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3769
5f0bdb18
DM
3770 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3771 'err' in the ifdef scope in which it is actually used.
3772
09a3453f
DM
3773 * nss/nss_db/db-init.c: Include string.h
3774
b4b2eb5e
DM
37752012-03-12 David S. Miller <davem@davemloft.net>
3776
98bb2f1c
DM
3777 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3778 masking out of the most significant byte of random value used.
3779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3780 Fix coding style in previous change.
3781
b4b2eb5e
DM
3782 * sysdeps/unix/sysv/linux/kernel-features.h
3783 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3784 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3785 expression.
3786 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3787 later.
3788
6e226b09
DM
37892012-03-11 David S. Miller <davem@davemloft.net>
3790
a1bcbd40
DM
3791 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3792 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3793 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3794 for 'resultvar' otherwise things get truncated on 64-bit.
3795
cb9d6174
DM
3796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3797 Fix masking out of the most significant byte of random value used.
3798
6e226b09
DM
3799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3800
058c132d
AS
38012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3802
3803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3804
2d2cd515
DM
38052012-03-09 David S. Miller <davem@davemloft.net>
3806
3807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3808 variables with appropriate CPP guards.
3809 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3810 frame pointer, not the stack pointer. Correct layout comments. Fix test
3811 on resulting framesize and the management of the outregs buffer for pltexit.
3812 Preserve floating point return values across _dl_call_pltexit call.
3813 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3814 framesize and the management of the outregs buffer for pltexit.
3815 Preserve floating point return values across _dl_call_pltexit
3816 call.
3817 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3818 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3819 (print_exit): Fix format string for return register value.
3820
9a07f9d0
JM
38212012-03-10 Joseph Myers <joseph@codesourcery.com>
3822
3823 * sunrpc/Makefile (others): Add rpcgen.
3824 ($(objpfx)rpcgen): Remove special build rule and dependency on
3825 libc.
3826 * sunrpc/rpcgen.c: New file.
3827
547b5e30
PE
38282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3829
c524201a
PE
3830 [BZ #13673]
3831 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3832 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3833 * sysdeps/i386/crti.S: Likewise.
3834 * sysdeps/i386/crtn.S: Likewise.
3835 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3836 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3837 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3838 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3839 * sysdeps/sh/crti.S: Likewise.
3840 * sysdeps/sh/crtn.S: Likewise.
3841 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3842
7b6235f2
PE
3843 [BZ #13673]
3844 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3845 with URL.
3846 * locale/programs/locfile-kw.gperf: Likewise.
3847 * locale/programs/charmap-kw.h: Regenerated.
3848 * locale/programs/locfile-kw.h: Likewise.
3849
547b5e30
PE
3850 [BZ #13673]
3851 * intl/plural.y: Replace FSF snail mail address with URL.
3852 * intl/plural.c: Regenerated.
3853
5f0a5dae
RH
38542012-03-09 Richard Henderson <rth@twiddle.net>
3855
3856 * include/math_private.h: Remove file.
3857 * math/math_private.h: Move file ...
3858 * sysdeps/generic/math_private.h: ... here.
3859
b8c03620
RH
3860 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3861 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3862 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3863
4e234f5d 3864 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3865 and <math_private.h>.
3866 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3867 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3868 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3869 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3870 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3896 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3902 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3913 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3914 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3954 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3957 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3959 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3960 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3961 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3962 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3963 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3964 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3965 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3966 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3967 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3968 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3969 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3970 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3971 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3972 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3973 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3974 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3976 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3977 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3978 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3979 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3980 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3981 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3983 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3984 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3985 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3986 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3988 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3990 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3991 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3992 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3993 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3995 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3996 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4001 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4003 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4004 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4005 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4006 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4007 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4008 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4009 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4010 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4013 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4014 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4015 * sysdeps/ieee754/k_standard.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4135 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4138 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4143 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4165 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4176 * sysdeps/ieee754/s_lib_version.c: Likewise.
4177 * sysdeps/ieee754/s_matherr.c: Likewise.
4178 * sysdeps/ieee754/s_signgam.c: Likewise.
4179 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4181 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4182 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4183 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4184 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4185 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4186 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4187 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4188 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4189 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4190 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4191 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4192 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4193 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4194 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4195 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4196 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4198 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4200
1991fa03
JM
42012012-03-09 Joseph Myers <joseph@codesourcery.com>
4202
4203 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4204 * sunrpc/rpc_main.c: Likewise.
4205 * sunrpc/rpc_svcout.c: Likewise.
4206
60d6f5a6
DM
42072012-03-09 David S. Miller <davem@davemloft.net>
4208
4209 * include/math_private.h: New file.
4210
4962050e
JM
42112012-03-09 Joseph Myers <joseph@codesourcery.com>
4212
02a6f887
JM
4213 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4214 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4215 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4216 from <bits/socket_type.h>.
4217 (enum __socket_type): Don't define here.
4218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4220 bits/socket_type.h.
4221
c6e013c1
JM
4222 [BZ #13566]
4223 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4224 checking __USE_GNU.
4225
4962050e
JM
4226 * Makerules ($(inst_includedir)/%.h): New rule.
4227 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4228 (install-others): Remove variable setting.
4229 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4230
38842f45
RH
42312012-03-08 Richard Henderson <rth@twiddle.net>
4232
67bb6da6
RH
4233 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4234 from macro to inline function; merge with the
4235 !__LIBC_INTERNAL_MATH_INLINES version.
4236 (__ieee754_sqrtf): Likewise.
4237
15194b4b
RH
4238 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4239 to inline function.
4240 (__rintf, __floor, __floorf): Likewise.
4241
64e21ede
RH
4242 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4243 macro to inline function.
4244 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4245
38842f45
RH
4246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4247 not <math/math_private.h>.
4248
c64bf5fe
DM
42492012-03-08 David S. Miller <davem@davemloft.net>
4250
4251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4252 copyright year.
4253 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4254
82d86f28
TS
42552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4256
4257 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4258 normalization.
4259 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4260 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4261
aea5d727
UD
42622012-03-08 Ulrich Drepper <drepper@gmail.com>
4263
4264 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4265 be defined individually, they must be defined as a block. Define
4266 S for printing a string instead of hidint the different by using a
4267 macro for adding the 'l'.
4268 * stdio-common/tst-fphex-wide.c: Adjust.
4269
70bca0a3
MP
42702012-03-07 Marek Polacek <polacek@redhat.com>
4271
4272 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4273
65b81130
MP
42742012-03-08 Marek Polacek <polacek@redhat.com>
4275
4276 [BZ #13806]
4277 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4278 * stdio-common/tst-fphex.c: Define a few macros to make the
4279 test reusable. Use them.
4280 * stdio-common/tst-fphex-wide.c: New file.
4281
07037eeb
JM
42822012-03-08 Joseph Myers <joseph@codesourcery.com>
4283
a7a93d50
JM
4284 [BZ #6911]
4285 * manual/macros.texi (gnusystems): New macro.
4286 (nongnusystems): Likewise.
4287 (gnulinuxhurdsystems): Likewise.
4288 (gnuhurdsystems): Likewise..
4289 (gnulinuxsystems): Likewise.
4290 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4291 variants of the GNU system, not "GNU system".
4292 * manual/conf.texi: Likewise.
4293 * manual/errno.texi: Likewise. Update example of errno macro
4294 expansion.
4295 * manual/filesys.texi: Likewise.
4296 (getumask): Document as specific to GNU/Hurd.
4297 * manual/install.texi: Likewise. Reword some references to
4298 GNU/Linux.
4299 * manual/intro.texi: Likewise.
4300 * manual/io.texi: Likewise.
4301 (File Name Portability): Detail which constraints are inapplicable
4302 to all GNU systems and which are only inapplicable to GNU/Hurd.
4303 * manual/job.texi: Likewise.
4304 * manual/llio.texi: Likewise.
4305 (O_NOCTTY): Document as present on GNU/Linux.
4306 * manual/maint.texi: Likewise.
4307 * manual/memory.texi: Likewise.
4308 * manual/pattern.texi: Likewise.
4309 * manual/pipe.texi: Likewise.
4310 * manual/process.texi: Likewise.
4311 * manual/resource.texi: Likewise.
4312 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4313 child on GNU/Hurd.
4314 * manual/setjmp.texi: Likewise.
4315 * manual/signal.texi: Likewise.
4316 * manual/startup.texi: Likewise.
4317 * manual/stdio.texi: Likewise.
4318 * manual/terminal.texi: Likewise.
4319 (ONLCR): Document as POSIX.
4320 (OXTABS): Document availability on GNU/Linux as XTABS.
4321 (ONOEOT): Document availability separately from other bits.
4322 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4323 * manual/time.texi: Likewise.
4324 * manual/users.texi: Likewise.
4325 * INSTALL: Regenerated.
4326 * sysdeps/gnu/errlist.c: Regenerated.
4327
07037eeb
JM
4328 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4329 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4330 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4331 puts.
4332 * configure: Regenerated.
4333
d1d3431a
JM
43342012-03-07 Joseph Myers <joseph@codesourcery.com>
4335
af6a1e37
JM
4336 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4337 default includes instead of AC_HEADER_CHECK.
4338 * sysdeps/i386/configure: Regenerated.
4339
d1d3431a
JM
4340 [BZ #10716]
4341 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4342 * math/s_cacoshf.c (__cacoshf): Likewise.
4343 * math/s_cacoshl.c (__cacoshl): Likewise.
4344 * math/s_casinh.c (__casinh): Set signs of result from argument.
4345 * math/s_casinhf.c (__casinhf): Likewise.
4346 * math/s_casinhl.c (__casinhl): Likewise.
4347 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4348 (casinh_test): Add more tests.
4349 * sysdeps/i386/fpu/libm-test-ulps: Update.
4350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4351
482ff4da
UD
43522012-03-07 Ulrich Drepper <drepper@gmail.com>
4353
872fda05
UD
4354 * po/zh_TW.po: Update from translation team.
4355
a4300c7a
UD
4356 * login/Makefile (distribute): Remove variable.
4357 * catgets/Makefile: Likewise.
4358 * mach/Makefile: Likewise.
4359 * malloc/Makefile: Likewise.
4360 * misc/Makefile: Likewise.
4361 * iconv/Makefile: Likewise.
4362 * nscd/Makefile: Likewise.
4363 * hurd/Makefile: Likewise.
4364 * manual/Makefile: Likewise.
4365 * locale/Makefile: Likewise.
4366 * intl/Makefile: Likewise.
4367 * conform/Makefile: Likewise.
4368 * nss/Makefile: Likewise.
4369 * time/Makefile: Likewise.
4370 * soft-fp/Makefile: Likewise.
4371 * dirent/Makefile: Likewise.
4372 * gmon/Makefile: Likewise.
4373 * po/Makefile: Likewise.
4374 * rt/Makefile: Likewise.
4375 * socket/Makefile: Likewise.
4376 * math/Makefile: Likewise.
4377 * signal/Makefile: Likewise.
4378 * debug/Makefile: Likewise.
4379 * elf/Makefile: Likewise.
4380 * timezone/Makefile: Likewise.
4381 * stdlib/Makefile: Likewise.
4382 * iconvdata/Makefile: Likewise.
4383 * sunrpc/Makefile: Likewise.
4384 * io/Makefile: Likewise.
4385 * argp/Makefile: Likewise.
4386 * inet/Makefile: Likewise.
4387 * hesiod/Makefile: Likewise.
4388 * grp/Makefile: Likewise.
4389 * csu/Makefile: Likewise.
4390 * wctype/Makefile: Likewise.
4391 * crypt/Makefile: Likewise.
4392 * libio/Makefile: Likewise.
4393 * string/Makefile: Likewise.
4394 * nis/Makefile: Likewise.
4395 * resolv/Makefile: Likewise.
4396 * stdio-common/Makefile: Likewise.
4397 * wcsmbs/Makefile: Likewise.
4398 * dlfcn/Makefile: Likewise.
4399 * posix/Makefile: Likewise.
4400
3b7c4e74 4401 [BZ #6959]
482ff4da
UD
4402 * timezone/Makefile: Don't install timezone files, just the programs
4403 and scripts.
4404
f72ed77d
UD
44052012-03-06 Ulrich Drepper <drepper@gmail.com>
4406
a000466f
UD
4407 * nss/databases.def: Add missing gshadow entry.
4408
f72ed77d
UD
4409 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4410
a53b7a4e
MP
44112012-03-06 Marek Polacek <polacek@redhat.com>
4412
4413 [BZ #13726]
4414 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4415 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4416 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4417 * stdio-common/tst-long-dbl-fphex.c: New file.
4418
e9258400
DM
44192012-03-06 David S. Miller <davem@davemloft.net>
4420
4421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4422 (set_obp_int): New function.
4423 (get_obp_int): New function.
4424 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4426 Avoid unused variable warnings on 'val' and use builtin_expect.
4427 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4428 __builtin_expect.
e9258400
DM
4429 (INLINE_CLONE_SYSCALL): Likewise.
4430
3bd2c723
DM
44312012-03-05 David S. Miller <davem@davemloft.net>
4432
4433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4434
bbb78d03
AS
44352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4436
884c5db4
AS
4437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4438
bbb78d03
AS
4439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4440 only for |x| >= 40.
4441 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4442
1c9f702a 44432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4444
4445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4446 Replace gettimeofday with __vdso_gettimeofday.
4447
7be16f82
RM
4448 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4449 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4450 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4451
4452 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4453 time with __vdso_time.
4454
ed58a00f
JM
44552012-03-05 Joseph Myers <joseph@codesourcery.com>
4456
4457 * manual/lang.texi (size_t): Note types to which size_t may be
4458 equivalent with the GNU C Library, but do not describe when
4459 differences between them are significant.
4460
30ee4ced
AJ
44612012-03-05 Andreas Jaeger <aj@suse.de>
4462
4463 * sysdeps/i386/fpu/libm-test-ulps: Update.
4464
b7cd39e8
JM
44652012-03-05 Joseph Myers <joseph@codesourcery.com>
4466
4467 [BZ #3976]
4468 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4469 (__ieee754_pow): Save and restore rounding mode and use
4470 round-to-nearest for main computations.
4471 * math/libm-test.inc (pow_test_tonearest): New function.
4472 (pow_test_towardzero): Likewise.
4473 (pow_test_downward): Likewise.
4474 (pow_test_upward): Likewise.
4475 (main): Call the new functions.
4476 * sysdeps/i386/fpu/libm-test-ulps: Update.
4477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4478
4479 [BZ #3976]
4480 * math/libm-test.inc (cosh_test_tonearest): New function.
4481 (cosh_test_towardzero): Likewise.
4482 (cosh_test_downward): Likewise.
4483 (cosh_test_upward): Likewise.
4484 (sinh_test_tonearest): Likewise.
4485 (sinh_test_towardzero): Likewise.
4486 (sinh_test_downward): Likewise.
4487 (sinh_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.
4491
6c6a98c9
TV
44922012-03-05 Tom de Vries <tom@codesourcery.com>
4493
4494 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4495 default stack guard is set in last bytes.
4496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4497
21bb2d2e 44982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4499
21bb2d2e 4500 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4501
21bb2d2e
AJ
4502 [BZ #13656]
4503 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4504 possibly allocate from heap instead of stack.
4505 * stdio-common/bug-vfprintf-nargs.c: New file.
4506 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4507
c6922934
AS
45082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4509
4510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4511
bc957d53
MP
45122012-03-03 Marek Polacek <polacek@redhat.com>
4513
4514 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4515 * math/math_private.h: Likewise.
4516 * stdlib/tst-strtod.c: Likewise.
4517 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4518 * sysdeps/x86_64/bits/atomic.h: Likewise.
4519
6358490d
DM
45202012-03-02 David S. Miller <davem@davemloft.net>
4521
4522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4526 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4527 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4528 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4529 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4530
01ae168d
RM
45312012-03-02 Roland McGrath <roland@hack.frob.com>
4532
d9a17c07
RM
4533 [BZ #13792]
4534 * manual/examples/README: New file, says the example source files
4535 can be used under GPL>=2.
4536 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4537 line containing just "*/".
4538 * manual/examples/add.c: Add copyright header (GPL>=2).
4539 * manual/examples/argp-ex1.c: Likewise.
4540 * manual/examples/argp-ex2.c: Likewise.
4541 * manual/examples/argp-ex3.c: Likewise.
4542 * manual/examples/argp-ex4.c: Likewise.
4543 * manual/examples/atexit.c: Likewise.
4544 * manual/examples/db.c: Likewise.
4545 * manual/examples/dir.c: Likewise.
4546 * manual/examples/dir2.c: Likewise.
4547 * manual/examples/execinfo.c: Likewise.
4548 * manual/examples/filecli.c: Likewise.
4549 * manual/examples/filesrv.c: Likewise.
4550 * manual/examples/fmtmsgexpl.c: Likewise.
4551 * manual/examples/genpass.c: Likewise.
4552 * manual/examples/inetcli.c: Likewise.
4553 * manual/examples/inetsrv.c: Likewise.
4554 * manual/examples/isockad.c: Likewise.
4555 * manual/examples/longopt.c: Likewise.
4556 * manual/examples/memopen.c: Likewise.
4557 * manual/examples/memstrm.c: Likewise.
4558 * manual/examples/mkfsock.c: Likewise.
4559 * manual/examples/mkisock.c: Likewise.
4560 * manual/examples/mygetpass.c: Likewise.
4561 * manual/examples/pipe.c: Likewise.
4562 * manual/examples/popen.c: Likewise.
4563 * manual/examples/rprintf.c: Likewise.
4564 * manual/examples/search.c: Likewise.
4565 * manual/examples/select.c: Likewise.
4566 * manual/examples/setjmp.c: Likewise.
4567 * manual/examples/sigh1.c: Likewise.
4568 * manual/examples/sigusr.c: Likewise.
4569 * manual/examples/stpcpy.c: Likewise.
4570 * manual/examples/strdupa.c: Likewise.
4571 * manual/examples/strftim.c: Likewise.
4572 * manual/examples/strncat.c: Likewise.
4573 * manual/examples/subopt.c: Likewise.
4574 * manual/examples/swapcontext.c: Likewise.
4575 * manual/examples/termios.c: Likewise.
4576 * manual/examples/testopt.c: Likewise.
4577 * manual/examples/testpass.c: Likewise.
4578 * manual/examples/timeval_subtract.c: Likewise.
4579
01ae168d
RM
4580 [BZ #13792]
4581 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4582 function to ...
4583 * manual/timeval_subtract.c.texi: ... here, new file.
4584
49efa33d
DM
45852012-03-02 David S. Miller <davem@davemloft.net>
4586
4587 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4588
28afd92d
JM
45892012-03-02 Joseph Myers <joseph@codesourcery.com>
4590
804360ed
JM
4591 [BZ #3976]
4592 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4593 (__sin): Save and restore rounding mode and use round-to-nearest
4594 for all computations.
4595 (__cos): Save and restore rounding mode and use round-to-nearest
4596 for all computations.
4597 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4598 <fenv.h>.
4599 (tan): Save and restore rounding mode and use round-to-nearest for
4600 all computations.
4601 * math/libm-test.inc (cos_test_tonearest): New function.
4602 (cos_test_towardzero): Likewise.
4603 (cos_test_downward): Likewise.
4604 (cos_test_upward): Likewise.
4605 (sin_test_tonearest): Likewise.
4606 (sin_test_towardzero): Likewise.
4607 (sin_test_downward): Likewise.
4608 (sin_test_upward): Likewise.
4609 (tan_test_tonearest): Likewise.
4610 (tan_test_towardzero): Likewise.
4611 (tan_test_downward): Likewise.
4612 (tan_test_upward): Likewise.
4613 (main): Call the new functions.
4614 * sysdeps/i386/fpu/libm-test-ulps: Update.
4615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4616
a6d06d7b
JM
4617 [BZ #10135]
4618 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4619 small n, then large n, before computing and testing k+n.
4620 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4622 Likewise.
4623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4624 Likewise.
4625 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4626 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4627 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4628 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4631 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4632 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4633 * math/libm-test.inc (scalbn_test): Add more tests.
4634 (scalbln_test): Likewise.
4635
07e12bb3
JM
4636 * manual/filesys.texi (mode_t): Describe constraints on size and
4637 signedness, not exact equivalence to a particular type.
4638 (ino_t): Likewise.
4639 (ino64_t): Likewise.
4640 (dev_t): Likewise.
4641 (nlink_t): Likewise.
4642 (blkcnt_t): Likewise.
4643 (blkcnt64_t): Likewise.
4644 * manual/llio.texi (off_t): Likewise.
4645
28afd92d
JM
4646 [BZ #3976]
4647 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4648 (__ieee754_exp): Save and restore rounding mode and use
4649 round-to-nearest for all computations.
4650 * math/libm-test.inc (exp_test_tonearest): New function.
4651 (exp_test_towardzero): Likewise.
4652 (exp_test_downward): Likewise.
4653 (exp_test_upward): Likewise.
4654 (main): Call the new functions.
4655 * sysdeps/i386/fpu/libm-test-ulps: Update.
4656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4657
b1eeb65d
CD
46582012-03-01 Chris Demetriou <cgd@google.com>
4659
4660 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4661 have predictable order.
4662
53362a4b
DM
46632012-03-01 David S. Miller <davem@davemloft.net>
4664
3c969083
DM
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4666
759707de
DM
4667 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4668 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4669 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4670 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4671
dfdb8ff2
DM
4672 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4673 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4674 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4676 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4677 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4678 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4679 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4680 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4681
ead89f96
DM
4682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4683
7f66bd07
DM
4684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4685 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4686 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4687
53362a4b
DM
4688 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4689 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4690 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4691 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4692 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4693 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4695 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4696 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4697 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4698 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4702 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4704 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4705 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4706 * sysdeps/sparc/elf/configure: Regenerated.
4707
7b1902cb
JM
47082012-03-01 Joseph Myers <joseph@codesourcery.com>
4709
bec039bc
JM
4710 * configure.in (AS, LD): Require binutils 2.20 or later.
4711 * configure: Regenerated.
4712 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4713 as required minimum version.
4714 * INSTALL: Regenerated.
4715
7b1902cb
JM
4716 [BZ #2541]
4717 [BZ #4108]
4718 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4719 before squaring exponent.
4720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4721 bottom long double and 27 bits of top long double before squaring
4722 exponent.
4723 * math/libm-test.inc (erfc_test): Add more tests.
4724 * sysdeps/i386/fpu/libm-test-ulps: Update.
4725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4727
f775c276
KT
47282012-03-01 Kai Tietz <ktietz@redhat.com>
4729
4730 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4731 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4732 containing bit-fields.
4733 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4734 * soft-fp/single.h (_FP_UNION_S): Likewise.
4735 * soft-fp/double.h (_FP_UNION_D): Likewise.
4736
5b8a4d4a
JM
47372012-02-29 Joseph Myers <joseph@codesourcery.com>
4738
0bab47b6
JM
4739 [BZ #13786]
4740 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4741 not include ../strcmp.S.
4742 [USE_AS_STRNCASECMP_L]: Likewise.
4743 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4744 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4745 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4746 (__strncasecmp_l_ia32): Define as alias to
4747 __strncasecmp_l_nonascii.
4748
0fcad3e2
JM
4749 [BZ #5794]
4750 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4753
5b8a4d4a
JM
4754 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4756
8fdceb2e
JL
47572012-02-29 Jeff Law <law@redhat.com>
4758
4759 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4760 out of bounds read.
4761
1f393a11
MP
47622012-02-29 Marek Polacek <polacek@redhat.com>
4763
4764 [BZ #13706]
4765 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4766 * elf/Makefile: Add rules to run tst-unused-dep.out.
4767
8847f037
DM
47682012-02-28 David S. Miller <davem@davemloft.net>
4769
4770 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4771 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4775 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4776
169d7f11
JM
47772012-02-29 Joseph Myers <joseph@codesourcery.com>
4778
4779 * math/libm-test.inc (llround_test): Move one test from
4780 lround_test. Use TEST_f_L in moved test.
4781 (lround_test): Move misplaced test to llround_test. Add testcase
4782 from bug 2561.
4783
39adf059
UD
47842012-02-28 Ulrich Drepper <drepper@gmail.com>
4785
4786 * sysdeps/x86_64/fpu/e_expf.S: New file.
4787 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4788
71b5d1c5
SB
47892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4790
4791 [BZ #13637]
4792 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4793 of remain_len that may cause incomplete multi-byte character and
4794 false match.
4795 * posix/bug-regex33.c: New file.
4796 * posix/Makefile (tests): Add bug-regex33.
4797
1f77f049
JM
47982012-02-28 Joseph Myers <joseph@codesourcery.com>
4799
4800 * manual/macros.texi: New file.
4801 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4802 * manual/libc.texinfo: Include macros.texi.
4803 * manual/creatute.texi: Likewise.
4804 * manual/install.texi: Likewise.
4805 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4806 @glibcadj{} in references to the GNU C Library.
4807 * manual/charset.texi: Likewise.
4808 * manual/conf.texi: Likewise.
4809 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4810 when not using those macros.
4811 * manual/creature.texi: Likewise.
4812 * manual/crypt.texi: Likewise.
4813 * manual/errno.texi: Likewise.
4814 * manual/filesys.texi: Likewise.
4815 * manual/header.texi: Likewise.
4816 * manual/install.texi: Likewise.
4817 * manual/intro.texi: Likewise.
4818 * manual/io.texi: Likewise.
4819 * manual/job.texi: Likewise.
4820 * manual/lang.texi: Likewise.
4821 * manual/libc.texiinfo: Likewise.
4822 * manual/llio.texi: Likewise.
4823 * manual/locale.texi: Likewise.
4824 * manual/maint.texi: Likewise.
4825 * manual/math.texi: Likewise.
4826 * manual/memory.texi: Likewise.
4827 * manual/message.texi: Likewise.
4828 * manual/nss.texi: Likewise.
4829 * manual/pattern.texi: Likewise.
4830 * manual/process.texi: Likewise.
4831 * manual/resource.texi: Likewise.
4832 * manual/search.texi: Likewise.
4833 * manual/setjmp.texi: Likewise.
4834 * manual/signal.texi: Likewise.
4835 * manual/socket.texi: Likewise.
4836 * manual/startup.texi: Likewise.
4837 * manual/stdio.texi: Likewise.
4838 * manual/string.texi: Likewise.
4839 * manual/sysinfo.texi: Likewise.
4840 * manual/syslog.texi: Likewise.
4841 * manual/terminal.texi: Likewise.
4842 * manual/time.texi: Likewise.
4843 * manual/users.texi: Likewise.
4844 * INSTALL: Regenerated.
4845 * NOTES: Regenerated.
d40c5d54 4846 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4847
450bf206
AS
48482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4849
4850 * include/dirent.h: Include <dirstream.h> before
4851 <dirent/dirent.h>.
4852
741a235b
DM
48532012-02-28 David S. Miller <davem@davemloft.net>
4854
4855 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4856 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4857 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4858 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4859
d6b5aa58
DM
48602012-02-27 David S. Miller <davem@davemloft.net>
4861
1aff59a3
DM
4862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4864 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4865 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4866
d6b5aa58
DM
4867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4868 frame pointer instead of stack pointer relative arg slot.
4869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4872
433f48bf
CD
48732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4874
4875 [BZ #3992]
4876 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4877
d674b76d
DM
48782012-02-27 David S. Miller <davem@davemloft.net>
4879
4880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4884 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4885 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4886 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4887 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4888
0e7727f7
JM
48892012-02-27 Joseph Myers <joseph@codesourcery.com>
4890
4891 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4892 later. Allow versions 5-9.
43be4ca2 4893 * configure: Regenerated.
0e7727f7
JM
4894 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4895 required minimum version and 4.6 as recommended version. Do not
4896 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4897 * INSTALL: Regenerated.
0e7727f7 4898
a78bc654
DM
48992012-02-27 David S. Miller <davem@davemloft.net>
4900
428d5830
DM
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4907 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4908 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4909
a78bc654
DM
4910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4911 manipulate bits before adding and subtracting TWO112[sx].
4912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4913
4579f81c
RM
49142012-02-27 Roland McGrath <roland@hack.frob.com>
4915
36c8acb4
RM
4916 [BZ #13775]
4917 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4918 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4919 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4920 being in POSIX, because they are in 1003.1-2008.
4921
84ad622b
RM
4922 * rt/tst-aio.c: Include <fcntl.h>.
4923 * rt/tst-aio7.c: Likewise.
4924 * rt/tst-aio64.c: Likewise.
4925
4579f81c
RM
4926 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4927
abd923db
JM
49282012-02-27 Joseph Myers <joseph@codesourcery.com>
4929
4930 * manual/install.texi (--with-headers): Describe headers as
4931 interface headers, not private headers.
4932 (Specific advice for GNU/Linux systems): Describe use of headers
4933 from "make headers_install", not private headers from older
4934 kernels.
43be4ca2 4935 * INSTALL: Regenerated.
abd923db
JM
4936 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4937 Change to 2.6.19.
4938 * sysdeps/unix/sysv/linux/configure: Regenerated.
4939
6664049b
JM
4940 * manual/llio.texi (fclean): Remove documentation.
4941
bb8b6697
JM
4942 * manual/Makefile (libc-texi-generated): New variable. Include
4943 version.texi.
4944 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4945 $(libc-texi-generated), not duplicated list of files.
4946 (version.texi, stamp-version): New rules.
4947 (realclean): Remove $(libc-texi-generated), not individual files
4948 from that list. Do not remove dir-add.texinfo.
4949 * manual/libc.texinfo: Comment out uses of edition numbers and
4950 references to printed manual. Remove last-updated dates.
4951 (EDITION): Comment out.
4952 (ISBN): Likewise.
4953 (VERSION, UPDATED): Remove.
4954 (version.texi): Include.
4955
12e5c3b9
AS
49562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4957
4958 * sysdeps/posix/spawni.c: Include <signal.h>.
4959 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4960 * sysdeps/pthread/aio_fsync.c: Likewise.
4961
4efeffc1 49622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4963
ba63ba08
UD
4964 * conform/Makefile (tests): Run only when not cross-compiling and
4965 when fast-check is not defined.
4966
d94a4670
UD
4967 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4968 * conform/data/limits.h-data: Fixes for POSIX2008.
4969 * conform/run-conformtest.sh: Run all tests.
4970 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4971 headers.
4972 * include/bits/dlfcn.h: Likewise.
4973 * include/langinfo.h: Likewise.
4974 * include/monetary.h: Likewise.
4975 * include/sys/poll.h: Likewise.
4976
4977 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4978 for __USE_GNU.
4979 * posix/spawn.h: Define __need_sigset_t.
4980 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4981 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4982 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4983 to get sigevent_t only.
4984 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4985 only for __USE_GNU.
4986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4987 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4988 process_vm_writev only for __USE_GNU.
4989 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4990
4991 * conform/Makefile: For now ignore errors from run-conformtest.
4992 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4993 POSIX to avoid namespace pollution. Don't prepend headers.
4994 * conform/data/aio.h-data: Fixes for POSIX testing.
4995 * conform/data/fcntl.h-data: Likewise.
4996 * conform/data/glob.h-data: Likewise.
4997 * conform/data/grp.h-data: Likewise.
4998 * conform/data/pthread.h-data: Likewise.
4999 * conform/data/pwd.h-data: Likewise.
5000 * conform/data/signal.h-data: Likewise.
5001 * conform/data/spawn.h-data: Likewise.
5002 * conform/data/stdio.h-data: Likewise.
5003 * conform/data/stdlib.h-data: Likewise.
5004 * conform/data/stropts.h-data: Likewise.
5005 * conform/data/sys/mman.h-data: Likewise.
5006 * conform/data/sys/stat.h-data: Likewise.
5007 * conform/data/sys/types.h-data: Likewise.
5008 * conform/data/sys/wait.h-data: Likewise.
5009 * conform/data/time.h-data: Likewise.
5010 * conform/data/unistd.h-data: Likewise.
5011 * conform/data/utime.h-data: Likewise.
5012
5013 * io/sys/stat.h: fchmod was always in POSIX.
5014 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5015 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5016 * rt/aio.h: Define __need_timespec before including <time.h>.
5017 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5018 struct. Add forward declaration of pthread_attr_t and use it in
5019 sigevent.
5020 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5022 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5023 always remove CLK_TCK definition.
5024
c20105c3
AS
50252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5026
5027 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5028
7a270350
UD
50292012-02-25 Ulrich Drepper <drepper@gmail.com>
5030
31341567
UD
5031 * conform/run-conformtest.sh: New file.
5032 * conform/Makefile: Run run-conformtest for tests.
5033 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5034 support.
5035
5036 * conform/data/uchar.h-data: New file.
5037 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5038 * conform/data/arpa/inet.h-data: Likewise.
5039 * conform/data/assert.h-data: Likewise.
5040 * conform/data/complex.h-data: Likewise.
5041 * conform/data/cpio.h-data: Likewise.
5042 * conform/data/ctype.h-data: Likewise.
5043 * conform/data/dirent.h-data: Likewise.
5044 * conform/data/dlfcn.h-data: Likewise.
5045 * conform/data/errno.h-data: Likewise.
5046 * conform/data/fcntl.h-data: Likewise.
5047 * conform/data/float.h-data: Likewise.
5048 * conform/data/fmtmsg.h-data: Likewise.
5049 * conform/data/fnmatch.h-data: Likewise.
5050 * conform/data/ftw.h-data: Likewise.
5051 * conform/data/glob.h-data: Likewise.
5052 * conform/data/grp.h-data: Likewise.
5053 * conform/data/iconv.h-data: Likewise.
5054 * conform/data/inttypes.h-data: Likewise.
5055 * conform/data/langinfo.h-data: Likewise.
5056 * conform/data/libgen.h-data: Likewise.
5057 * conform/data/limits.h-data: Likewise.
5058 * conform/data/locale.h-data: Likewise.
5059 * conform/data/math.h-data: Likewise.
5060 * conform/data/monetary.h-data: Likewise.
5061 * conform/data/mqueue.h-data: Likewise.
5062 * conform/data/ndbm.h-data: Likewise.
5063 * conform/data/net/if.h-data: Likewise.
5064 * conform/data/netdb.h-data: Likewise.
5065 * conform/data/netinet/in.h-data: Likewise.
5066 * conform/data/nl_types.h-data: Likewise.
5067 * conform/data/poll.h-data: Likewise.
5068 * conform/data/pthread.h-data: Likewise.
5069 * conform/data/pwd.h-data: Likewise.
5070 * conform/data/regex.h-data: Likewise.
5071 * conform/data/sched.h-data: Likewise.
5072 * conform/data/search.h-data: Likewise.
5073 * conform/data/semaphore.h-data: Likewise.
5074 * conform/data/setjmp.h-data: Likewise.
5075 * conform/data/signal.h-data: Likewise.
5076 * conform/data/spawn.h-data: Likewise.
5077 * conform/data/stdarg.h-data: Likewise.
5078 * conform/data/stdio.h-data: Likewise.
5079 * conform/data/stdlib.h-data: Likewise.
5080 * conform/data/string.h-data: Likewise.
5081 * conform/data/strings.h-data: Likewise.
5082 * conform/data/stropts.h-data: Likewise.
5083 * conform/data/sys/ipc.h-data: Likewise.
5084 * conform/data/sys/mman.h-data: Likewise.
5085 * conform/data/sys/msg.h-data: Likewise.
5086 * conform/data/sys/resource.h-data: Likewise.
5087 * conform/data/sys/select.h-data: Likewise.
5088 * conform/data/sys/sem.h-data: Likewise.
5089 * conform/data/sys/shm.h-data: Likewise.
5090 * conform/data/sys/socket.h-data: Likewise.
5091 * conform/data/sys/stat.h-data: Likewise.
5092 * conform/data/sys/statvfs.h-data: Likewise.
5093 * conform/data/sys/time.h-data: Likewise.
5094 * conform/data/sys/timeb.h-data: Likewise.
5095 * conform/data/sys/times.h-data: Likewise.
5096 * conform/data/sys/types.h-data: Likewise.
5097 * conform/data/sys/uio.h-data: Likewise.
5098 * conform/data/sys/un.h-data: Likewise.
5099 * conform/data/sys/utsname.h-data: Likewise.
5100 * conform/data/sys/wait.h-data: Likewise.
5101 * conform/data/syslog.h-data: Likewise.
5102 * conform/data/tar.h-data: Likewise.
5103 * conform/data/termios.h-data: Likewise.
5104 * conform/data/utime.h-data: Likewise.
5105 * conform/data/utmpx.h-data: Likewise.
5106 * conform/data/varargs.h-data: Likewise.
5107 * conform/data/wchar.h-data: Likewise.
5108 * conform/data/wctype.h-data: Likewise.
5109 * conform/data/wordexp.h-data: Likewise.
5110
5111 * include/stropts.h: New file.
5112 * include/uchar.h: New file.
5113 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5114 * include/assert.h: Likewise.
5115 * include/ctype.h: Likewise.
5116 * include/dirent.h: Likewise.
5117 * include/dlfcn.h: Likewise.
5118 * include/fcntl.h: Likewise.
5119 * include/fnmatch.h: Likewise.
5120 * include/glob.h: Likewise.
5121 * include/grp.h: Likewise.
5122 * include/libio.h: Likewise.
5123 * include/locale.h: Likewise.
5124 * include/math.h: Likewise.
5125 * include/net/if.h: Likewise.
5126 * include/netdb.h: Likewise.
5127 * include/netinet/in.h: Likewise.
5128 * include/pthread.h: Likewise.
5129 * include/pwd.h: Likewise.
5130 * include/regex.h: Likewise.
5131 * include/sched.h: Likewise.
5132 * include/search.h: Likewise.
5133 * include/setjmp.h: Likewise.
5134 * include/signal.h: Likewise.
5135 * include/stdio.h: Likewise.
5136 * include/stdlib.h: Likewise.
5137 * include/string.h: Likewise.
5138 * include/sys/cdefs.h: Likewise.
5139 * include/sys/mman.h: Likewise.
5140 * include/sys/msg.h: Likewise.
5141 * include/sys/resource.h: Likewise.
5142 * include/sys/select.h: Likewise.
5143 * include/sys/socket.h: Likewise.
5144 * include/sys/stat.h: Likewise.
5145 * include/sys/statvfs.h: Likewise.
5146 * include/sys/time.h: Likewise.
5147 * include/sys/times.h: Likewise.
5148 * include/sys/uio.h: Likewise.
5149 * include/sys/utsname.h: Likewise.
5150 * include/sys/wait.h: Likewise.
5151 * include/termios.h: Likewise.
5152 * include/time.h: Likewise.
5153 * include/ulimit.h: Likewise.
5154 * include/unistd.h: Likewise.
5155 * include/utime.h: Likewise.
5156 * include/wchar.h: Likewise.
5157 * include/wctype.h: Likewise.
5158 * include/wordexp.h: Likewise.
5159
5160 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5161
7a270350
UD
5162 * time/time.h: TIME_UTC must be a macro.
5163 Make timespec_get available for ISO C11 only as well.
5164
7724defc
UD
51652012-02-24 Ulrich Drepper <drepper@gmail.com>
5166
5167 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5168 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5169
6b1d1d46
JM
51702012-02-24 Joseph Myers <joseph@codesourcery.com>
5171
5172 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5173
0f8bbd69
JM
51742012-02-24 Joseph Myers <joseph@codesourcery.com>
5175
5176 * manual/texinfo.tex: Update to version 2012-01-19.16.
5177
66ab80bc
JM
51782012-02-24 Joseph Myers <joseph@codesourcery.com>
5179
5180 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5181
74981cc5
RM
51822012-02-24 Roland McGrath <roland@hack.frob.com>
5183
ee968201
RM
5184 [BZ #13738]
5185 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5186 * manual/fdl-1.3.texi: New file.
5187 * manual/fdl-1.1.texi: File removed.
5188
74981cc5
RM
5189 [BZ #13738]
5190 * manual/libc.texinfo (FDL_VERSION): New @set.
5191 Use it for mention of FDL in cover text.
5192 (Documentation License): Use it in @include file name.
5193
7bb764bc
JM
51942012-02-22 Joseph Myers <joseph@codesourcery.com>
5195 Roland McGrath <roland@hack.frob.com>
5196
5197 [BZ #5461]
5198 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5199 not LONG_LONG_MAX and LONG_LONG_MIN.
5200 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5201 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5202 name.
5203 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5204
6cbeae47
JM
52052012-02-22 Joseph Myers <joseph@codesourcery.com>
5206
5207 [BZ #2547]
5208 [BZ #11365]
5209 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5210 manipulate bits before adding and subtracting TWO23[sx].
5211 * math/libm-test.inc (nearbyint_test): Add more tests.
5212
fe45ce09
JM
52132012-02-22 Joseph Myers <joseph@codesourcery.com>
5214
5215 [BZ #2548]
5216 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5217 bits before adding and subtracting TWO23[sx].
5218 * math/libm-test.inc (rint_test): Add more tests.
5219 (rint_test_tonearest): Likewise.
5220 (rint_test_towardzero): Likewise.
5221 (rint_test_downward): Likewise.
5222 (rint_test_upward: Likewise.
5223
ff3b3d82
JM
52242012-02-22 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #10110]
5227 * include/stdc-predef.h: New file. Extracted from features.h.
5228 * include/features.h: Include stdc-predef.h.
5229 * Makefile (headers): Add stdc-predef.h.
5230 * CONFORMANCE (Compiler limitations): Update.
5231
ef0aab35
JM
52322012-02-22 Joseph Myers <joseph@codesourcery.com>
5233
5234 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5235
58639409
DM
52362012-02-21 David S. Miller <davem@davemloft.net>
5237
5238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5240
c0e70b25
DM
52412012-02-20 David S. Miller <davem@davemloft.net>
5242
5243 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5244 using a normal save/restore sequence, rather than allocating a
5245 dummy stack frame just to store a frame pointer and restore.
5246 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5247
fb06851d
JM
52482012-02-21 Joseph Myers <joseph@codesourcery.com>
5249
5250 * manual/install.texi: Fix stray word in line-wrapped comment.
5251
7a8b71c3
DM
52522012-02-20 David S. Miller <davem@davemloft.net>
5253
d510c123
DM
5254 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5255 both binutils and gcc support GOTDATA.
5256
0722d7c2
DM
5257 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5258 "rd %pc" in the PIC register setup sequences.
5259
3d2b3019
DM
5260 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5261 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5263 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5264 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5266 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5269 (SYSCALL_ERROR_HANDLER): Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5273 (SYSCALL_ERROR_HANDLER): Likewise.
5274
c80098a9
DM
5275 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5276 (HAVE_GCC_GOTDATA): New.
5277 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5278 relocation support in both binutils and gcc.
5279 * sysdeps/sparc/elf/configure: Regenerate.
5280
3a2545a0
DM
5281 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5282 * sysdeps/sparc/sparc32/elf/configure: Delete.
5283 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5284 * sysdeps/sparc/sparc64/elf/configure: Delete.
5285 * sysdeps/sparc/elf/configure.in: New file.
5286 * sysdeps/sparc/elf/configure: Generate.
5287
7a8b71c3
DM
5288 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5289 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5290 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5291 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5292 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5293
f1e86fca
JM
52942012-02-21 Joseph Myers <joseph@codesourcery.com>
5295
5296 * manual/install.texi: Do not mention specific glibc version
5297 numbers.
5298 * manual/libc.texinfo (VERSION, UPDATED): Update.
5299 (@copying): Use @copyright{} and range of years.
5300
0e7dfaef
JM
53012012-02-21 Joseph Myers <joseph@codesourcery.com>
5302
5303 [BZ #13695]
5304 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5305 [crti.S not in sysdirs] (generated): Do not append.
5306 [crti.S not in sysdirs] (omit-deps): Likewise.
5307 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5308 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5309 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5310 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5311 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5312 Likewise.
5313 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5314 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5315 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5316 * csu/defs.awk: Remove file.
5317 * sysdeps/generic/initfini.c: Likewise.
5318 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5319 variable.
5320 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5321 Likewise.
5322
599af3ca
JM
53232012-02-20 Joseph Myers <joseph@codesourcery.com>
5324
5325 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5326 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5327 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5328 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5331 <bits/epoll.h>.
5332 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5333 (__EPOLL_PACKED): Define to empty if not defined by
5334 <bits/epoll.h>.
5335 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5337 bits/epoll.h.
5338
0e499750
JM
53392012-02-20 Joseph Myers <joseph@codesourcery.com>
5340
5341 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5342 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5344 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5345 <bits/timerfd.h>.
5346 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5348 bits/timerfd.h.
5349
5ad91f6e
JM
53502012-02-20 Joseph Myers <joseph@codesourcery.com>
5351
5352 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5353 in C locale.
5354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5355 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5358
06b99b02
AJ
53592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5360
5361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5362 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5363
7638c0fd
AS
53642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5365
5366 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5367 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5368 defined.
5369 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5370 Likewise.
5371 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5372 entry for 2.16.
5373
92221550
AJ
53742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5375
5376 * math/w_acos.c: Use non-signaling floating-point comparisons.
5377 * math/w_acosf.c: Likewise.
5378 * math/w_acosh.c: Likewise.
5379 * math/w_acoshf.c: Likewise.
5380 * math/w_acoshl.c: Likewise.
5381 * math/w_acosl.c: Likewise.
5382 * math/w_asin.c: Likewise.
5383 * math/w_asinf.c: Likewise.
5384 * math/w_asinl.c: Likewise.
5385 * math/w_atanh.c: Likewise.
5386 * math/w_atanhf.c: Likewise.
5387 * math/w_atanhl.c: Likewise.
5388 * math/w_exp2.c: Likewise.
5389 * math/w_exp2f.c: Likewise.
5390 * math/w_exp2l.c: Likewise.
5391 * math/w_j0.c: Likewise.
5392 * math/w_j0f.c: Likewise.
5393 * math/w_j0l.c: Likewise.
5394 * math/w_j1.c: Likewise.
5395 * math/w_j1f.c: Likewise.
5396 * math/w_j1l.c: Likewise.
5397 * math/w_jn.c: Likewise.
5398 * math/w_jnf.c: Likewise.
5399 * math/w_log.c: Likewise.
5400 * math/w_log10.c: Likewise.
5401 * math/w_log10f.c: Likewise.
5402 * math/w_log10l.c: Likewise.
5403 * math/w_log2.c: Likewise.
5404 * math/w_log2f.c: Likewise.
5405 * math/w_log2l.c: Likewise.
5406 * math/w_logf.c: Likewise.
5407 * math/w_logl.c: Likewise.
5408 * math/w_sqrt.c: Likewise.
5409 * math/w_sqrtf.c: Likewise.
5410 * math/w_sqrtl.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5413 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5416
ebaf36eb
JM
54172012-02-19 Joseph Myers <joseph@codesourcery.com>
5418
5419 [BZ #9739]
5420 * manual/string.texi (strnlen): Use correct parameter name in
5421 equivalent expression.
5422
71c254a6
JM
54232012-02-19 Joseph Myers <joseph@codesourcery.com>
5424
5425 [BZ #11174]
5426 * manual/users.texi (seteuid): Consistently use neweuid for
5427 argument name.
5428
16d2c631
JM
54292012-02-19 Joseph Myers <joseph@codesourcery.com>
5430
5431 [BZ #13704]
5432 * manual/nss.texi (Services in the NSS configuration): Correct
5433 list of services in example configuration file.
5434
cd837b09
NB
54352012-02-19 Nick Bowler <nbowler@draconx.ca>
5436
5437 [BZ #11322]
5438 * manual/arith.texi: Remove statements about negative zero
5439 behaving identically to zero.
5440
02c4bbad
JM
54412012-02-18 Joseph Myers <joseph@codesourcery.com>
5442
5443 [BZ #5993]
5444 * manual/install.texi: Do not document upgrading from libc5.
5445
366842e7
JM
54462012-02-18 Joseph Myers <joseph@codesourcery.com>
5447
5448 [BZ #4596]
5449 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5450
dd54084d
DM
54512012-02-18 David S. Miller <davem@davemloft.net>
5452
5453 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5454 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5455 %o7 across the call.
5456 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5457 instead.
5458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5459 SETUP_PIC_REG_LEAF.
5460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5461 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5462 * sysdeps/sparc/crtn.S: Likewise.
5463
2bcc53a3
UD
54642012-02-17 Ulrich Drepper <drepper@gmail.com>
5465
5466 * aout/Makefile: Remove.
5467
09c093b5
RK
54682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5469
5470 [BZ #13058]
5471 * manual/examples/argp-ex1.c (main): Format definition in GNU
5472 style.
5473 * manual/examples/argp-ex2.c (main): Likewise.
5474 * manual/examples/argp-ex3.c (main): Likewise.
5475 * manual/examples/argp-ex4.c (main): Likewise.
5476 * manual/examples/longopt.c (main): Use new-style prototype
5477 definition.
5478 * manual/examples/strncat.c (main): Specify return type and use
5479 (void) for arguments.
5480 * manual/examples/subopt.c (main): Use char **argv argument.
5481
2ee633a2
JM
54822012-02-17 Joseph Myers <joseph@codesourcery.com>
5483
5484 [BZ #5077]
5485 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5486 rounding modes.
5487
0520adde
FB
54882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5489
5490 [BZ #6907]
5491 * manual/string.texi (strchr): Change when strchrnul is
5492 recommended.
5493
3f4081cd
DGM
54942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5495
5496 [BZ #174]
5497 * manual/locale.texi (setlocale): Document LOCPATH.
5498
d1b10e78
JM
54992012-02-17 Joseph Myers <joseph@codesourcery.com>
5500
5501 [BZ #10210]
5502 * manual/process.texi (execle): Move @dots{} before last argument.
5503
79c6869c
PB
55042012-02-17 Paul Bolle <pebolle@tiscali.nl>
5505
5506 [BZ #12047]
5507 * manual/charset.texi (Generic Charset Conversion): Fix typo
5508 (LC_TYPE -> LC_CTYPE).
5509
cc6e48bc
NB
55102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5511
5512 [BZ #5805]
5513 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5514 (scalbnf): Likewise.
5515 (scalbnl): Likewise.
5516 (scalbln): Likewise.
5517 (scalblnf): Likewise.
5518 (scalblnl): Likewise.
5519 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5520 (vwarnx): Likewise.
5521 (verr): Likewise.
5522 (verrx): Likewise.
5523 * manual/filesys.texi (telldir): Use braces around return type.
5524 * manual/llio.texi (mmap): Add space after comma.
5525 (mmap64): Likewise.
5526 * manual/math.texi (jn): Use @var{} on parameter names.
5527 (jnf): Likewise.
5528 (jnl): Likewise.
5529 (yn): Likewise.
5530 (ynf): Likewise.
5531 (ynl): Likewise.
5532 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5533 line.
5534 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5535 "...".
5536 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5537 (sched_get_priority_max): Likewise.
5538 * manual/signal.texi (sigvec): Add space after comma.
5539 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5540 names.
5541 (if_indextoname): Likewise.
5542 (if_freenameindex): Likewise.
5543 (sendto): Use ',' instead of '.' in prototype.
5544 * manual/startup.texi (syscall): Use @dots{} instead of literal
5545 "...".
5546 * manual/stdio.texi (__fpending): Separate initial words of
5547 paragraph from @deftypefun line.
5548 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5549 "...".
5550 (vsyslog): Use @var{} on parameter names.
5551 * manual/terminal.texi (stty): Use @var{} on parameter names.
5552 * manual/users.texi (getutmp): Use @var{} on parameter names.
5553 (getutmpx): Likewise.
5554
5b23062f
JM
55552012-02-17 Joseph Myers <joseph@codesourcery.com>
5556
5557 [BZ #6884]
5558 * manual/stdio.texi (fopen): Fix typos in description of
5559 ",ccs=STRING".
5560
8dee4833
AJ
55612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5562
5563 [BZ #4026]
5564 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5565 get clock_id definition.
5566
9078ce93
TS
55672012-02-17 Thomas Schwinge <thomas@schwinge.name>
5568
5569 [BZ #4822]
5570 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5571 (madvise): Cast every argument to void on its own.
5572
3835c55f
JM
55732012-02-17 Joseph Myers <joseph@codesourcery.com>
5574
5575 [BZ #9902]
5576 * manual/startup.texi (Exit Status): Fix typo.
5577
35c47e37
JM
55782012-02-17 Joseph Myers <joseph@codesourcery.com>
5579
5580 [BZ #10140]
5581 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5582 * manual/examples/argp-ex2.c: Likewise.
5583 * manual/examples/argp-ex3.c: Likewise.
5584
e3b69ca7
RH
55852012-02-16 Richard Henderson <rth@redhat.com>
5586
5587 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5588 * sysdeps/s390/s390-32/initfini.c: Remove.
5589 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5590 * sysdeps/s390/s390-64/initfini.c: Remove.
5591
df83af67
KK
55922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5593
5594 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5595 compiler output for sysdeps/generic/initfini.c.
5596 * sysdeps/sh/elf/initfini.c: Remove file.
5597
f63f3380
DM
55982012-02-16 David S. Miller <davem@davemloft.net>
5599
fb59b3a4
DM
5600 [BZ #11494]
5601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5602
f63f3380
DM
5603 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5604 * sysdeps/sparc/crti.S: New file.
5605 * sysdeps/sparc/crtn.S: New file.
5606 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5607 * sysdeps/sparc/sparc64/Makefile: Likewise.
5608
df6a4a4a
MF
56092012-02-15 Mike Frysinger <vapier@gentoo.org>
5610
6dd8f3dc 5611 [BZ #3335]
df6a4a4a
MF
5612 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5613
1cac7236
RM
56142012-02-15 Roland McGrath <roland@hack.frob.com>
5615
d2c736f8
RM
5616 [BZ #4822]
5617 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5618
1cac7236
RM
5619 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5620 (write, read, close): Likewise.
5621 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5622
8e475601
JM
56232012-02-15 Joseph Myers <joseph@codesourcery.com>
5624
5625 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5626 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5627 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5628 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5629 <bits/signalfd.h>.
5630 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5632 bits/signalfd.h.
5633
ed656b40
MP
56342012-02-14 Marek Polacek <polacek@redhat.com>
5635
5636 * sysdeps/x86_64/crti.S: New file.
5637 * sysdeps/x86_64/crtn.S: New file.
5638 * sysdeps/x86_64/elf/initfini.c: Remove file.
5639
2a979d3a
JM
56402012-02-13 Joseph Myers <joseph@codesourcery.com>
5641
5642 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5643 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5644 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5645 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5646 <bits/inotify.h>.
5647 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5649 bits/inotify.h.
5650
2a418ac3
JM
56512012-02-13 Joseph Myers <joseph@codesourcery.com>
5652
5653 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5654 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5655 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5656 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5657 <bits/eventfd.h>.
5658 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5660 bits/eventfd.h.
5661
fb779be7
TS
56622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5663
e19e83c5
RM
5664 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5665 __feraiseexcept instead of feraiseexcept.
7c35ffed 5666
fb779be7
TS
5667 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5668 nanosleep invocations.
5669 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5670 strings, and add error checking for a nanosleep invocations.
5671
59ba27a6
PE
56722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5673
5674 Replace FSF snail mail address with URLs, as per GNU coding standards.
5675 Most of the snail mail addresses were wrong anyway, and omitting
5676 them makes the source code easier to maintain. Almost all of the
5677 changes are to license notices and to locale LC_IDENTIFICATION
5678 addresses, except for this one:
5679 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5680 not its snail mail address.
5681
57b957eb
RH
56822012-02-09 Richard Henderson <rth@twiddle.net>
5683
af850b1c
RH
5684 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5685 of kernel-features.h.
5686
57b957eb
RH
5687 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5688
6b73181a
MP
56892012-02-08 Marek Polacek <polacek@redhat.com>
5690
5691 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5692 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5693 * sysdeps/gnu/_G_config.h: Likewise.
5694 * sysdeps/generic/_G_config.h: Likewise.
5695
26ecc33a
AS
56962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5697
6c6dbc63
AS
5698 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5699 tests.
5700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5701
e216c012
AS
5702 * sysdeps/powerpc/powerpc32/crti.S: New file.
5703 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5704 * sysdeps/powerpc/powerpc64/crti.S: New file.
5705 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5706
26ecc33a
AS
5707 * Makeconfig (have-initfini): Don't set.
5708 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5709 * configure.in (nopic_initfini): Don't substitute.
5710 * config.h.in (HAVE_INITFINI): Don't #undef.
5711 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5712 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5713
3add8e13
JM
57142012-02-08 Joseph Myers <joseph@codesourcery.com>
5715
5716 Support crti.S and crtn.S provided directly by architectures.
5717 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5718 [crti.S in sysdirs] (omit-deps): Likewise.
5719 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5720 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5721 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5722 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5723 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5724 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5725 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5726 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5727 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5728 compiler output for sysdeps/generic/initfini.c.
5729 * sysdeps/i386/elf/Makefile: Remove file.
5730 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5731
a22f12b4
MP
57322012-02-07 Marek Polacek <polacek@redhat.com>
5733
5734 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5735 * sysdeps/gnu/_G_config.h: Likewise.
5736 * sysdeps/mach/hurd/_G_config.h: Likewise.
5737
148cf100
MP
57382012-02-07 Marek Polacek <polacek@redhat.com>
5739
5740 * math/Makefile (tests): Add tst-CMPLX2.
5741 * math/tst-CMPLX2.c: New file.
5742
cfdc0dd7
AS
57432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5744
84ba42c4
AS
5745 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5746
cfdc0dd7
AS
5747 * math/libm-test.inc (jn_test): Add missing L suffix.
5748
622c86f4
MP
57492012-02-06 Marek Polacek <polacek@redhat.com>
5750
5751 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5752 * sysdeps/i386/fpu/e_powf.S: Likewise.
5753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5754 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5755 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5756 * sysdeps/i386/fpu/e_pow.S: Likewise.
5757 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5758 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5759 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5760 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5761 * sysdeps/i386/fpu/e_log2.S: Likewise.
5762 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5763 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5764 * sysdeps/i386/fpu/e_powl.S: Likewise.
5765 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5767 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5768 * sysdeps/i386/fpu/e_logl.S: Likewise.
5769 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5770 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5771 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5772 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5773 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5774 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5775 * sysdeps/i386/fpu/e_log.S: Likewise.
5776 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5778 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5779 * sysdeps/i386/fpu/e_logf.S: Likewise.
5780 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5781 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5782 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5783 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5784 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5785 * sysdeps/i386/fpu/e_log10.S: Likewise.
5786 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5787 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5788 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5789 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5790 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5791 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5792 * sysdeps/i386/asm-syntax.h: Likewise.
5793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5796 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5797 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5798 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5799 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5800 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5802 * sysdeps/powerpc/sysdep.h: Likewise.
5803 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5804 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5805
d4a54ac6
JM
58062012-02-06 Joseph Myers <joseph@codesourcery.com>
5807
5808 [BZ #411]
5809 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5810
314054ea
JM
58112012-02-06 Joseph Myers <joseph@codesourcery.com>
5812
5813 * sysdeps/i386/sysdep.h: Include <features.h>.
5814 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5815 version.
5816
d8e0ca50
JM
58172012-02-05 Joseph Myers <joseph@codesourcery.com>
5818
5819 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5820 Define.
5821 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5822 LOAD_PIC_REG_STR.
5823
b1da7dd9
JM
58242012-02-03 Joseph Myers <joseph@codesourcery.com>
5825
5826 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5827 (SETUP_PIC_REG): Use GET_PC_THUNK.
5828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5829 macro.
5830
9a1d9254
JM
58312012-02-03 Joseph Myers <joseph@codesourcery.com>
5832
5833 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5834 for non-PIC compilation.
5835 (SETUP_PIC_REG): Add .p2align directive.
5836 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5837 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5838 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5839 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5840 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5841 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5843 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5844 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5845 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5846 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5847 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5848 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5849 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5850 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5851 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5852 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5857 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5858 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5859 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5862 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5864 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5865 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5866 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5868 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5869 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5870 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5877
65dc3b75
JM
58782012-02-03 Joseph Myers <joseph@codesourcery.com>
5879
5880 * math/tst-CMPLX.c: Include <stdio.h>.
5881
d55bf177
JM
58822012-01-31 Joseph Myers <joseph@codesourcery.com>
5883
5884 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5885 float.
5886 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5887 * sysdeps/sparc/bits/mathdef.h: Likewise.
5888
69db4f8f
MP
58892012-01-31 Marek Polacek <polacek@redhat.com>
5890
5891 * libio/libio.h: Don't define _PARAMS.
5892 * locale/programs/config.h: Don't define PARAMS.
5893 * stdlib/strtol_l.c: Likewise.
5894 (__strtol_l): Remove PARAMS from the prototype.
5895
41b81892
UD
58962012-01-31 Ulrich Drepper <drepper@gmail.com>
5897
3b49edc0
UD
5898 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5899 names. Just use the correct names. Remove unnecessary wrapper
5900 functions.
5901 * malloc/arena.c: Likewise.
5902 * malloc/hooks.c: Likewise.
5903
41b81892
UD
5904 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5905 ARENA_TEST says not to. Simplify test for creation of a new arena.
5906 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5907
27a25b6e
UD
59082012-01-30 Ulrich Drepper <drepper@gmail.com>
5909
5910 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5911 into tail calls.
5912 (update_get_addr): New function.
5913 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5914 GET_ADDR_MODULE parameter.
5915
c8a89e7d
JM
59162012-01-30 Joseph Myers <joseph@codesourcery.com>
5917
5918 * crypt/cert.c: Remove __STDC__ conditionals.
5919 * crypt/crypt-entry.c: Likewise.
5920 * crypt/crypt_util.c: Likewise.
5921 * libio/filedoalloc.c: Likewise.
5922 * libio/fileops.c: Likewise.
5923 * libio/genops.c: Likewise.
5924 * libio/iofclose.c: Likewise.
5925 * libio/iofdopen.c: Likewise.
5926 * libio/iofopen.c: Likewise.
5927 * libio/iofopen64.c: Likewise.
5928 * libio/iogetdelim.c: Likewise.
5929 * libio/iopopen.c: Likewise.
5930 * libio/obprintf.c: Likewise.
5931 * libio/oldfileops.c: Likewise.
5932 * libio/oldiofclose.c: Likewise.
5933 * libio/oldiofdopen.c: Likewise.
5934 * libio/oldiofopen.c: Likewise.
5935 * libio/oldiopopen.c: Likewise.
5936 * libio/wfiledoalloc.c: Likewise.
5937 * libio/wgenops.c: Likewise.
5938 * locale/programs/xmalloc.c: Likewise.
5939 * misc/syslog.c: Likewise.
5940 * stdio-common/xbug.c: Likewise.
5941 * string/memchr.c: Likewise.
5942 * string/memcmp.c: Likewise.
5943 * string/memrchr.c: Likewise.
5944 * string/rawmemchr.c: Likewise.
5945 * sysdeps/posix/getcwd.c: Likewise.
5946 * time/strftime_l.c: Likewise.
5947
3b100462
JM
59482012-01-30 Joseph Myers <joseph@codesourcery.com>
5949
5950 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5951 * config.make.in (config-cflags-sse2avx): Define.
5952 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5953 Fix typo.
5954
607998af
CM
59552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5956
5957 * scripts/config.guess: Update from upstream config git repository.
5958 * scripts/config.sub: Likewise.
5959
3601428f
CM
59602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5961
3ac8b282
CM
5962 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5963 (EM_NUM): Update.
5964 (R_TILEPRO_*, R_TILEGX_*): New macros.
5965
e034841e
CM
5966 * scripts/firstversions.awk: Fix bug in version range handling.
5967
540d7568
CM
5968 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5969
3601428f
CM
5970 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5971
463de862
CM
5972 * include/sys/epoll.h: New file.
5973 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5974 libc_hidden_def.
5975
73139a76
UD
59762012-01-28 Ulrich Drepper <drepper@gmail.com>
5977
96bc5b45
UD
5978 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5979 Avoid unnecessary __WORDSIZE == 64 test.
5980 (fmaxf): Use VEX format if possible.
5981 (fmax): Likewise.
5982 (fminf): Likewise.
5983 (fmin): Likewise.
5984
56f6f6a2
UD
5985 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5986 * math/math_private.h: Remove libc_fegetround* and
5987 libc_fesetround*.
5988 * sysdeps/i386/configure.in: Check for -msse2avx.
5989 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5990 also if SSE2AVX is defined.
5991 Remove libc_fegetround* and libc_fesetround*.
5992 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5993 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5995 of HAS_YMM_USABLE.
5996 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5997 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5998 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6001
73139a76
UD
6002 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6003
d73f93a4
AZ
60042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005
6006 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6007 size is not set.
6008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6009
6ee65ed6
UD
60102012-01-27 Ulrich Drepper <drepper@gmail.com>
6011
6012 [BZ #13618]
6013 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6014 relocation.
6015 * Makeconfig (libm): Define.
6016 * elf/Makefile: Add rules to build and run tst-relsort1.
6017 * elf/tst-relsort1.c: New file.
6018 * elf/tst-relsort1mod1.c: New file.
6019 * elf/tst-relsort1mod2.c: New file.
6020
8db21882
JM
60212012-01-27 Joseph Myers <joseph@codesourcery.com>
6022
6023 * math/s_ldexp.c: Remove __STDC__ conditionals.
6024 * math/s_ldexpf.c: Likewise.
6025 * math/s_ldexpl.c: Likewise.
6026 * math/s_nextafter.c: Likewise.
6027 * math/s_nexttowardf.c: Likewise.
6028 * math/s_significand.c: Likewise.
6029 * math/s_significandf.c: Likewise.
6030 * math/s_significandl.c: Likewise.
6031 * math/w_jnl.c: Likewise.
6032 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6033 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6034 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6035 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6036 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6051 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6052 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6053 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6054 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6055 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6056 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6057 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6058 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6059 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6060 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6061 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6062 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6063 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6066 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6067 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6068 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6069 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6070 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6071 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6072 * sysdeps/ieee754/k_standard.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6134 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6139 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6147 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6152 * sysdeps/ieee754/s_matherr.c: Likewise.
6153 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6157
965a54a4
JM
61582012-01-26 Joseph Myers <joseph@codesourcery.com>
6159
6160 * crypt/md5.h: Remove __STDC__ conditionals.
6161 * libio/libioP.h: Likewise.
6162 * locale/programs/config.h: Likewise.
6163 * sysdeps/generic/sysdep.h: Likewise.
6164 * sysdeps/i386/asm-syntax.h: Likewise.
6165 * sysdeps/s390/asm-syntax.h: Likewise.
6166 * sysdeps/unix/sysdep.h: Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6169
7071ad79
JM
61702012-01-26 Joseph Myers <joseph@codesourcery.com>
6171
6172 * libio/libio.h: Remove __STDC__ conditionals.
6173 * malloc/obstack.h: Likewise.
6174 * math/complex.h: Likewise.
6175 * math/math.h: Likewise.
6176 * sysdeps/generic/_G_config.h: Likewise.
6177 * sysdeps/gnu/_G_config.h: Likewise.
6178 * sysdeps/mach/hurd/_G_config.h: Likewise.
6179 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6180 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6181 * sysdeps/sparc/bits/mathdef.h: Likewise.
6182
afc5ed09
UD
61832012-01-26 Ulrich Drepper <drepper@gmail.com>
6184
6185 [BZ #13583]
6186 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6187 Clean up HAS_* macros.
afc5ed09 6188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6189 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6190 possible.
6191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6192 HAS_AVX.
6193 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6194 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6195 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6196 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6197 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6198
bdb6de1d
JM
61992012-01-25 Joseph Myers <joseph@codesourcery.com>
6200
6201 * elf/tst-unique3.cc (gets): Remove declaration.
6202 * elf/tst-unique3lib.cc (gets): Likewise.
6203 * elf/tst-unique3lib2.cc (gets): Likewise.
6204 * elf/tst-unique4.cc (gets): Likewise.
6205
b15549e6
UD
62062012-01-24 Ulrich Drepper <drepper@gmail.com>
6207
6208 * include/stdio.h: Add C++ protection. Add gets declarations and
6209 definitions.
6210 * debug/tst-chk1.c: Don't declare gets here.
6211 * stdio-common/tst-gets.c: Likewise.
6212
a037381f
JM
62132012-01-24 Joseph Myers <joseph@codesourcery.com>
6214
6215 * posix/glob: Remove directory.
6216
f1d4aa75
JM
62172012-01-24 Joseph Myers <joseph@codesourcery.com>
6218
6219 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6220
81c0c964
PT
62212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6222
6223 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6224 of the non-standard EPFNOSUPPORT.
6225
0ea698ae
ST
62262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6227
6228 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6229 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6230 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6231
d220b117
UD
62322012-01-21 Ulrich Drepper <drepper@gmail.com>
6233
6234 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6235
3e1aa84e
UD
62362012-01-20 Ulrich Drepper <drepper@gmail.com>
6237
6238 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6239 transient errors.
6240 * nscd/grpcache.c (cache_addgr): Likewise.
6241 * nscd/hstcache.c (cache_addhst): Likewise.
6242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6243 * nscd/pwdcache.c (cache_addpw): Likewise.
6244 * nscd/servicescache.c (cache_addserv): Likewise.
6245
400aa020
UD
62462012-01-16 Ulrich Drepper <drepper@gmail.com>
6247
d77e7869
UD
6248 * malloc/malloc.c: Various cleanups.
6249 * malloc/hooks.c: Likewise.
6250
400aa020
UD
6251 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6252 * stdlib/bug-fmtmsg1.c: New file.
6253
6254 * stdlib/fmtmsg.c (init): Add missing unlock.
6255 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6256
e0a309cf
MP
62572012-01-12 Marek Polacek <polacek@redhat.com>
6258
6259 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6260 and _GNU_SOURCE.
6261
929d11c7
WS
62622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6263
6264 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6265 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6266 macro to ensure uniqueness of label name.
6267 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6268 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6269
41d0e869
UD
62702012-01-11 Ulrich Drepper <drepper@gmail.com>
6271
0cc5ed3b
UD
6272 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6273
41d0e869
UD
6274 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6275 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6278
a47a831a
UD
62792012-01-10 Ulrich Drepper <drepper@gmail.com>
6280
daa891c0
UD
6281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6282
6283 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6284 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6285 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6286
e58ef0f2
UD
6287 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6288
a47a831a 6289 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6290 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6291 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6293
6294 * math/bits/math-finite.h: Add ldexp support.
6295
a0bfc9c7
MP
62962012-01-10 Marek Polacek <polacek@redhat.com>
6297
6298 * locale/programs/localedef.h (show_archive_content): Add noreturn
6299 attribute.
6300
d6e97a1d
UD
63012012-01-09 Ulrich Drepper <drepper@gmail.com>
6302
6303 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6304
d5835c26
UD
63052012-01-08 Ulrich Drepper <drepper@gmail.com>
6306
e5f484c6
UD
6307 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6308
d5835c26
UD
6309 * io/Makefile (headers): Add bits/poll2.h.
6310
d1f741e9
WS
63112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6312
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6314 typo #include statement.
6315
ec09c1c4
UD
63162012-01-08 Ulrich Drepper <drepper@gmail.com>
6317
6318 * include/sys/cdefs.h: Define __attribute_alloc_size.
6319 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6320 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6321 * elf/pldd.c: Likewise.
6322 * iconv/iconv_charmap.c: Likewise.
6323 * iconv/iconvconfig.c: Likewise.
6324 * iconv/strtab.c: Likewise.
6325 * locale/programs/locale.c: Likewise.
6326 * locale/programs/localedef.h: Likewise.
6327 * locale/programs/simple-hash.c: Likewise.
6328 * nscd/nscd.h: Likewise.
6329 * nss/makedb.c: Likewise.
6330 * sysdeps/generic/ldconfig.h: Likewise.
6331 * locale/programs/localedef.c: Remove xmalloc prototype.
6332 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6333
20b38e03
PP
63342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6335
6336 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6337 appropriate.
6338
a0da5fe1
UD
63392012-01-08 Ulrich Drepper <drepper@gmail.com>
6340
1d5a644a 6341 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6342 * math/tst-CMPLX.c: New file.
1d5a644a 6343
8784a6db
UD
6344 * math/complex.h (CMPLXL): Fix typo.
6345
d9a216c0
UD
6346 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6347 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6348 GLIBC_2.16.
6349 * debug/tst-chk1.c: Add poll and ppoll tests.
6350 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6351 * include/sys/poll.h: Add hidden proto for ppoll.
6352 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6353 * sysdeps/mach/hurd/ppoll.c: Likewise.
6354 * io/ppoll.c: Likewise.
6355 * debug/poll_chk.c: New file.
6356 * debug/ppoll_chk.c: New file.
6357 * include/bits/poll2.h: New file.
6358 * io/bits/poll2.h: New file.
6359
ac097f5c
UD
6360 [BZ #1350]
6361 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6362
2119dcfa
UD
6363 * configure.in: static is always set to yes. Remove.
6364 * config.make.in: Don't set build-static.
6365 * Makeconfig: Remove use of build-static.
6366 * dlfcn/Makefile: Likewise.
6367 * elf/Makefile: Likewise.
6368 * math/Makefile: Likewise.
6369 * misc/Makefile: Likewise.
6370 * nptl/Makefile: Likewise.
6371 * sysdeps/mach/hurd/Makefile: Likewise.
6372
121766a9
UD
6373 * configure.in: PWD_P is not used anymore.
6374 * config.make.in: Remove PWD_P entry.
6375
51a1d39c 6376 * configure.in: Remove last remnants of RANLIB.
8720d066 6377 No need to check for signed size_t anymore.
215f4bdc
UD
6378 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6379 and IA-64.
3857022a 6380 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6381 * aclocal.m4: Likewise.
6382
d3ed7225
UD
6383 * wcsmbs/mbrtoc16.c: Implement using towc function.
6384 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6385 * wcsmbs/wcsmbsload.c: Likewise.
6386 * iconv/gconv_simple.c: Likewise.
6387 * iconv/gconv_int.h: Likewise.
6388 * iconv/gconv_builtin.h: Likewise.
6389 * iconv/iconv_prog.c: Remove CHAR16 handling.
6390
6391 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6392
6393 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6394
a0da5fe1
UD
6395 * configure.in: Remove --with-elf and --enable-bounded options.
6396 Dont set base_machine for ia64. More non-ELF conditions removed.
6397 Remove testing and setting of leading underscore information.
6398 * config.make.in (build-bounded): Set to no.
6399 * config.h.in: Remove NO_UNDERSCORES entry.
6400 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6401 them.
6402 * csu/start.c: Remove !NO_UNDERSCORE code.
6403 * locale/localeinfo.h: Likewise.
6404 * sysdeps/generic/machine-gmon.h: Likewise.
6405 * sysdeps/generic/sysdep.h: Likewise.
6406 * sysdeps/i386/sysdep.h: Likewise.
6407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6408 * sysdeps/mach/sysdep.h: Likewise.
6409 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6411 * sysdeps/sh/sysdep.h: Likewise.
6412 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6413 * sysdeps/unix/i386/sysdep.S: Likewise.
6414 * sysdeps/unix/sparc/start.c: Likewise.
6415 * sysdeps/unix/sparc/sysdep.S: Likewise.
6416 * sysdeps/unix/sparc/sysdep.h: Likewise.
6417 * sysdeps/unix/start.c: Likewise.
6418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6419 * sysdeps/x86_64/sysdep.h: Likewise.
6420
df78418a
UD
64212012-01-07 Ulrich Drepper <drepper@gmail.com>
6422
a784e502
UD
6423 [BZ #13553]
6424 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6425 for non-gcc.
6426 * argp/argp-fmtstream.h: Use const instead __const.
6427 * argp/argp.h: Likewise.
6428 * assert/assert.h: Likewise.
6429 * bits/fenv.h: Likewise.
6430 * bits/sched.h: Likewise.
6431 * bits/sigset.h: Likewise.
6432 * bits/sigthread.h: Likewise.
6433 * catgets/nl_types.h: Likewise.
6434 * conform/data/pthread.h-data: Likewise.
6435 * crypt/crypt-private.h: Likewise.
6436 * crypt/crypt.h: Likewise.
6437 * crypt/crypt_util.c: Likewise.
6438 * ctype/ctype.h: Likewise.
6439 * debug/execinfo.h: Likewise.
6440 * debug/mbsnrtowcs_chk.c: Likewise.
6441 * debug/mbsrtowcs_chk.c: Likewise.
6442 * debug/wcsnrtombs_chk.c: Likewise.
6443 * debug/wcsrtombs_chk.c: Likewise.
6444 * debug/wcstombs_chk.c: Likewise.
6445 * dirent/dirent.h: Likewise.
6446 * dlfcn/dlfcn.h: Likewise.
6447 * elf/neededtest4.c: Likewise.
6448 * grp/grp.h: Likewise.
6449 * gshadow/gshadow.h: Likewise.
6450 * iconv/gconv.h: Likewise.
6451 * iconv/gconv_int.h: Likewise.
6452 * iconv/gconv_simple.c: Likewise.
6453 * iconv/iconv.h: Likewise.
6454 * iconv/loop.c: Likewise.
6455 * iconv/skeleton.c: Likewise.
6456 * include/aio.h: Likewise.
6457 * include/aliases.h: Likewise.
6458 * include/argz.h: Likewise.
6459 * include/arpa/inet.h: Likewise.
6460 * include/assert.h: Likewise.
6461 * include/dirent.h: Likewise.
6462 * include/dlfcn.h: Likewise.
6463 * include/execinfo.h: Likewise.
6464 * include/fcntl.h: Likewise.
6465 * include/fenv.h: Likewise.
6466 * include/glob.h: Likewise.
6467 * include/grp.h: Likewise.
6468 * include/libintl.h: Likewise.
6469 * include/mntent.h: Likewise.
6470 * include/netdb.h: Likewise.
6471 * include/pwd.h: Likewise.
6472 * include/rpc/netdb.h: Likewise.
6473 * include/sched.h: Likewise.
6474 * include/search.h: Likewise.
6475 * include/shadow.h: Likewise.
6476 * include/signal.h: Likewise.
6477 * include/stdio.h: Likewise.
6478 * include/stdlib.h: Likewise.
6479 * include/string.h: Likewise.
6480 * include/sys/socket.h: Likewise.
6481 * include/sys/stat.h: Likewise.
6482 * include/sys/statfs.h: Likewise.
6483 * include/sys/statvfs.h: Likewise.
6484 * include/sys/syslog.h: Likewise.
6485 * include/sys/time.h: Likewise.
6486 * include/sys/uio.h: Likewise.
6487 * include/time.h: Likewise.
6488 * include/unistd.h: Likewise.
6489 * include/utmp.h: Likewise.
6490 * include/wchar.h: Likewise.
6491 * include/wctype.h: Likewise.
6492 * inet/aliases.h: Likewise.
6493 * inet/arpa/inet.h: Likewise.
6494 * inet/netinet/ether.h: Likewise.
6495 * inet/netinet/in.h: Likewise.
6496 * intl/libintl.h: Likewise.
6497 * io/bits/fcntl2.h: Likewise.
6498 * io/fcntl.h: Likewise.
6499 * io/ftw.h: Likewise.
6500 * io/sys/poll.h: Likewise.
6501 * io/sys/stat.h: Likewise.
6502 * io/sys/statfs.h: Likewise.
6503 * io/sys/statvfs.h: Likewise.
6504 * io/utime.h: Likewise.
6505 * libio/bits/stdio.h: Likewise.
6506 * libio/bits/stdio2.h: Likewise.
6507 * libio/libio.h: Likewise.
6508 * libio/libioP.h: Likewise.
6509 * libio/stdio.h: Likewise.
6510 * locale/lc-ctype.c: Likewise.
6511 * locale/locale.h: Likewise.
6512 * login/utmp.h: Likewise.
6513 * malloc/arena.c: Likewise.
6514 * malloc/malloc.c: Likewise.
6515 * malloc/malloc.h: Likewise.
6516 * malloc/mcheck.c: Likewise.
6517 * malloc/mtrace.c: Likewise.
6518 * math/bits/mathcalls.h: Likewise.
6519 * math/fenv.h: Likewise.
6520 * math/math_private.h: Likewise.
6521 * misc/bits/error.h: Likewise.
6522 * misc/bits/syslog.h: Likewise.
6523 * misc/err.h: Likewise.
6524 * misc/error.h: Likewise.
6525 * misc/fstab.h: Likewise.
6526 * misc/mntent.h: Likewise.
6527 * misc/regexp.h: Likewise.
6528 * misc/search.h: Likewise.
6529 * misc/sgtty.h: Likewise.
6530 * misc/sys/mman.h: Likewise.
6531 * misc/sys/syslog.h: Likewise.
6532 * misc/sys/uio.h: Likewise.
6533 * misc/sys/xattr.h: Likewise.
6534 * misc/ttyent.h: Likewise.
6535 * nis/rpcsvc/ypclnt.h: Likewise.
6536 * nss/nss.h: Likewise.
6537 * posix/bits/unistd.h: Likewise.
6538 * posix/fnmatch.h: Likewise.
6539 * posix/glob.h: Likewise.
6540 * posix/sched.h: Likewise.
6541 * posix/spawn.h: Likewise.
6542 * posix/sys/wait.h: Likewise.
6543 * posix/unistd.h: Likewise.
6544 * posix/wordexp.h: Likewise.
6545 * pwd/pwd.h: Likewise.
6546 * resolv/netdb.h: Likewise.
6547 * resource/sys/resource.h: Likewise.
6548 * rt/aio.h: Likewise.
6549 * rt/bits/mqueue2.h: Likewise.
6550 * rt/mqueue.h: Likewise.
6551 * shadow/shadow.h: Likewise.
6552 * signal/signal.h: Likewise.
6553 * socket/send.c: Likewise.
6554 * socket/sendto.c: Likewise.
6555 * socket/sys/socket.h: Likewise.
6556 * stdio-common/printf.h: Likewise.
6557 * stdlib/bits/stdlib.h: Likewise.
6558 * stdlib/fmtmsg.h: Likewise.
6559 * stdlib/monetary.h: Likewise.
6560 * stdlib/stdlib.h: Likewise.
6561 * stdlib/ucontext.h: Likewise.
6562 * streams/stropts.h: Likewise.
6563 * string/argz.h: Likewise.
6564 * string/bits/string2.h: Likewise.
6565 * string/string.h: Likewise.
6566 * string/strings.h: Likewise.
6567 * sunrpc/rpc/auth.h: Likewise.
6568 * sunrpc/rpc/auth_des.h: Likewise.
6569 * sunrpc/rpc/clnt.h: Likewise.
6570 * sunrpc/rpc/netdb.h: Likewise.
6571 * sunrpc/rpc/pmap_clnt.h: Likewise.
6572 * sunrpc/rpc/xdr.h: Likewise.
6573 * sysdeps/generic/inttypes.h: Likewise.
6574 * sysdeps/generic/net/if.h: Likewise.
6575 * sysdeps/generic/sys/swap.h: Likewise.
6576 * sysdeps/gnu/net/if.h: Likewise.
6577 * sysdeps/gnu/utmpx.h: Likewise.
6578 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6579 * sysdeps/i386/i486/bits/string.h: Likewise.
6580 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6581 * sysdeps/s390/bits/string.h: Likewise.
6582 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6583 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6584 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6585 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6586 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6587 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6588 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6589 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6590 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6591 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6592 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6593 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6594 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6595 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6596 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6597 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6598 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6600 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6602 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6603 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6604 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6605 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6606 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6607 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6608 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6609 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6610 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6611 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6612 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6613 * sysvipc/sys/ipc.h: Likewise.
6614 * sysvipc/sys/msg.h: Likewise.
6615 * sysvipc/sys/sem.h: Likewise.
6616 * sysvipc/sys/shm.h: Likewise.
6617 * termios/termios.h: Likewise.
6618 * time/sys/time.h: Likewise.
6619 * time/time.h: Likewise.
6620 * wcsmbs/bits/wchar2.h: Likewise.
6621 * wcsmbs/uchar.h: Likewise.
6622 * wcsmbs/wchar.h: Likewise.
6623 * wctype/wctype.h: Likewise.
6624
0269750c
UD
6625 [BZ #13551]
6626 * Makeconfig: Remove all but ELF support including AIX support.
6627 * Makerules: Likewise.
6628 * config.h.in: Likewise.
6629 * config.make.in: Likewise.
6630 * configure: Likewise.
6631 * configure.in: Likewise.
6632 * csu/Makefile: Likewise.
6633 * csu/version.c: Likewise.
6634 * debug/Makefile: Likewise.
6635 * dlfcn/Makefile: Likewise.
6636 * elf/Makefile: Likewise.
6637 * extra-lib.mk: Likewise.
6638 * iconv/Makefile: Likewise.
6639 * include/libc-symbols.h: Likewise.
6640 * include/shlib-compat.h: Likewise.
6641 * resolv/Makefile: Likewise.
6642 * resolv/res_libc.c: Likewise.
6643 * rt/Makefile: Likewise.
6644 * sysdeps/i386/asm-syntax.h: Likewise.
6645 * sysdeps/i386/sysdep.h: Likewise.
6646 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6647 * sysdeps/mach/sysdep.h: Likewise.
6648 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6649 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6650 * sysdeps/s390/asm-syntax.h: Likewise.
6651 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6652 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6653 * sysdeps/sh/sysdep.h: Likewise.
6654 * sysdeps/unix/sparc/sysdep.h: Likewise.
6655 * sysdeps/wordsize-32/divdi3.c: Likewise.
6656 * sysdeps/x86_64/sysdep.h: Likewise.
6657
00bbd29b
UD
6658 * argp/Versions: Remove _argp_unlock_xxx.
6659
6660 [BZ #13559]
6661 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6662 * abilist/libBrokenLocale.abilist: Likewise.
6663 * abilist/libanl.abilist: Likewise.
6664 * abilist/libc.abilist: Likewise.
6665 * abilist/libcrypt.abilist: Likewise.
6666 * abilist/libdl.abilist: Likewise.
6667 * abilist/libm.abilist: Likewise.
6668 * abilist/libnsl.abilist: Likewise.
6669 * abilist/libpthread.abilist: Likewise.
6670 * abilist/libresolv.abilist: Likewise.
6671 * abilist/librt.abilist: Likewise.
6672 * abilist/libthread_db.abilist: Likewise.
6673 * abilist/libutil.abilist: Likewise.
6674 * abilist/libnss_db.abilist: New file.
6675
6676 * scripts/abilist.awk: Add support for indirect functions.
6677
a2693a0e
UD
6678 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6679
3f05895f
UD
6680 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6681
ecb6fb48
UD
6682 * shlib-versions: Remove entries for ports architectures.
6683
664f8cb9
UD
6684 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6685 files in ports.
6686 * elf/stackguard-macros.h: Remove support for IA-64.
6687 * elf/tst-auditmod1.c: Likewise.
6688 * sysdeps/generic/ldsodefs.h: Likewise.
6689
7ae81d88
UD
6690 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6691 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6692 configure files.
6693
bdeba135
UD
6694 [BZ #13552]
6695 * configure.in: Remove --enable-omitfp support.
6696 * FAQ.in: Adjust.
6697 * config.make.in: Likewise.
6698 * Makeconfig: Likewise.
6699 * manual/install.texi: Likewise.
6700
d75a0a62
UD
6701 In case anyone cares, the IA-64 architecture could move to ports.
6702 * sysdeps/ia64/*: Removed.
6703 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6704 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6705
dcc9756b
UD
6706 [BZ #13555]
6707 * configure.in: Remove entries for unsupported architectures.
6708
d3761ebc 6709 [BZ #13533]
9954432e
UD
6710 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6711 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6712 routines.
6713 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6714 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6715 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6716 fall back to using wcrtomb.
6717 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6718 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6719 renaming.
6720 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6721 * wcsmbs/tst-c16c32-1.c: New file.
6722
6723 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6724 local variable.
6725
c3a87236
UD
6726 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6727
28926a1b
UD
6728 * elf/tst-unique3.cc: Add explicit declaration of gets.
6729 * elf/tst-unique3lib.cc: Likewise.
6730 * elf/tst-unique3lib2.cc: Likewise.
6731 * elf/tst-unique4.cc: Likewise.
6732
df78418a
UD
6733 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6734
8ecd6b2a
JM
67352012-01-06 Joseph Myers <joseph@codesourcery.com>
6736
6737 [BZ #13566]
6738 * assert/assert.h (static_assert): Don't define for C++.
6739 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6740 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6741
9f115170
UD
67422012-01-03 Ulrich Drepper <drepper@gmail.com>
6743
5e0d0300
UD
6744 * iconv/loop.c (single loop): Fix assertion in storing of
6745 remaining bytes.
6746
9f115170
UD
6747 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6748
81fb02b0
UD
67492012-01-01 Ulrich Drepper <drepper@gmail.com>
6750
6751 * posix/getconf.c: Update copyright year.
6752 * nss/getent.c: Likewise.
a316c1f6 6753 * nss/makedb.c: Likewise.
81fb02b0
UD
6754 * iconv/iconvconfig.c: Likewise.
6755 * iconv/iconv_prog.c: Likewise.
6756 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6757 * elf/pldd.c: Likewise.
6758 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6759 * catgets/gencat.c: Likewise.
6760 * csu/version.c: Likewise.
6761 * elf/ldd.bash.in: Likewise.
6762 * elf/sprof.c (print_version): Likewise.
6763 * locale/programs/locale.c: Likewise.
6764 * locale/programs/localedef.c: Likewise.
a316c1f6 6765 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6766 * nscd/nscd.c (print_version): Likewise.
6767 * debug/xtrace.sh: Likewise.
6768 * malloc/memusage.sh: Likewise.
6769 * malloc/mtrace.pl: Likewise.
6770 * debug/catchsegv.sh: Likewise.
6771
2ba92745
JJ
67722011-12-30 Jakub Jelinek <jakub@redhat.com>
6773
6774 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6775 pure attribute.
6776
dadebdae
UD
67772011-12-24 Ulrich Drepper <drepper@gmail.com>
6778
d3761ebc 6779 [BZ #13533]
db6af3eb
UD
6780 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6781 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6782 transformations.
6783 * iconv/gconv_int.h: Likewise.
6784 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6785 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6786 from libc for GLIBC_2.16.
6787 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6788 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6789 * wcsmbs/uchar.h: Really define mbstate_t.
6790 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6791 * wcsmbs/c16rtomb.c: New file.
6792 * wcsmbs/mbrtoc16.c: New file.
6793 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6794 for C/POSIX locale.
6795 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6796 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6797
dadebdae
UD
6798 * wcsmbs/wchar.h: Add missing __restrict.
6799
67371b56
UD
68002011-12-23 Ulrich Drepper <drepper@gmail.com>
6801
74033a25
UD
6802 [BZ #13532]
6803 * time/Makefile (routines): Add timespec_get.
6804 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6805 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6806 timespec for ISO C11.
6807 * time/timespec_get.c: New file.
6808 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6809 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6810
380d7e87
UD
6811 [BZ #13531]
6812 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6813 * stdlib/stdlib.h: Declare aligned_alloc.
6814 * Versions.def: Add GLIBC_2.16 for libc.
6815 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6816
4e9e7a35
UD
6817 [BZ 13527]
6818 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6819 ISO C11.
6820
380d7e87 6821 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6822 code.
6823
03a71829
UD
6824 [BZ #13528]
6825 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6826
839e283e
UD
6827 [BZ #13529]
6828 * assert/assert.h (static_assert): Define.
6829
ce5294e2 6830 * version.h: Update for 2.16 development version.
90fa7312 6831
8d44e150 6832 [BZ #13526]
d7809905
UD
6833 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6834 _ISOC11_SOURCE.
6835
c0da14cd
UD
6836 * version.h (RELEASE): Bump for 2.15 release.
6837 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6838
530a3249
MP
6839 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6840 Patch by Marek Polacek <mpolacek@redhat.com>.
6841
67371b56
UD
6842 * bits/byteswap.h: Protect long long constants with __extension__.
6843 * sysdeps/i386/bits/byteswap.h: Likewise.
6844 * sysdeps/ia64/bits/byteswap.h: Likewise.
6845 * sysdeps/s390/bits/byteswap.h: Likewise.
6846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6847
15db4de1
LD
68482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6849
6850 [BZ #13540]
bbe315ea
LD
6851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6852 destination buffer.
15db4de1
LD
6853 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6854
2b2596b1
MP
68552011-12-23 Marek Polacek <polacek@redhat.com>
6856
6857 * elf/dl-addr.c (determine_info): Add inline keyword.
6858 * elf/tst-auditmod4b.c (check_avx): Likewise.
6859 * elf/tst-auditmod6b.c (check_avx): Likewise.
6860 * elf/tst-auditmod6c.c (check_avx): Likewise.
6861 * elf/tst-auditmod7b.c (check_avx): Likewise.
6862
70c6c246
UD
68632011-12-23 Ulrich Drepper <drepper@gmail.com>
6864
6865 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6866 !__SSE_MATH__.
6867
c044cf14
LD
68682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6869
15db4de1 6870 [BZ #13540]
c044cf14
LD
6871 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6872 processing for last bytes.
6873
6b13d9d9
BH
68742011-08-06 Bruno Haible <bruno@clisp.org>
6875
d455f537
BH
6876 [BZ #13061]
6877 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6878 U+0385, not to U+1FEE.
6879
6b13d9d9
BH
6880 [BZ #13062]
6881 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6882 entry for U+00A5 U+0301.
6883
db910efd
UD
68842011-12-22 Ulrich Drepper <drepper@gmail.com>
6885
27deeafc
UD
6886 [BZ #13166]
6887 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6888 buffer for the output is too small.
6889
aed9d171
UD
6890 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6891 optimization.
6892
db910efd
UD
6893 [BZ #13185]
6894 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6895 SSE flags if possible.
6896
2bd779ae
LD
68972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6898
e7f9dac3 6899 [BZ #13540]
2bd779ae
LD
6900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6901 processing for last bytes.
6902
154bfc16
JM
69032011-12-22 Joseph Myers <joseph@codesourcery.com>
6904
6905 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6906 (syscall-list-default-options, syscall-list-default-condition)
6907 (syscall-list-includes): Define.
6908 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6909 list of ABIs and options and #if conditions for each ABI. Do not
6910 handle common syscalls between ABIs specially.
6911 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6912 Remove.
6913 (syscall-list-variants, syscall-list-32bit-options)
6914 (syscall-list-32bit-condition, syscall-list-64bit-options)
6915 (syscall-list-64bit-condition): Define.
6916 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6917 (syscall-list-variants, syscall-list-32bit-options)
6918 (syscall-list-32bit-condition, syscall-list-64bit-options)
6919 (syscall-list-64bit-condition): Define.
6920 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6921 Remove.
6922 (syscall-list-variants, syscall-list-32bit-options)
6923 (syscall-list-32bit-condition, syscall-list-64bit-options)
6924 (syscall-list-64bit-condition): Define.
6925 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6926 Remove.
6927 (syscall-list-variants, syscall-list-32bit-options)
6928 (syscall-list-32bit-condition, syscall-list-64bit-options)
6929 (syscall-list-64bit-condition): Define.
6930
21eaf3a5
UD
69312011-12-22 Ulrich Drepper <drepper@gmail.com>
6932
16c6f992
UD
6933 * locale/iso-639.def: Add brx entry.
6934
41043168
UD
6935 [BZ #13328]
6936 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6937 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6938
21eaf3a5
UD
6939 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6940 __feraiseexcept_renamed.
6941
e3a851a2
UD
69422011-12-21 Ulrich Drepper <drepper@gmail.com>
6943
4920765e
UD
6944 [BZ #13538]
6945 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6946 EPOLLET with unsigned values.
6947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6949
e3a851a2
UD
6950 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6951 to large cancellation.
6952 * math/s_cacoshf.c: Likewise.
6953 * math/s_cacoshl.c: Likewise.
6954
b27e24b8
RK
69552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6956
6957 [BZ #13305]
aebefeee 6958 [BZ #12786]
b27e24b8
RK
6959 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6960 * math/s_cacoshf.c: Likewise.
6961 * math/s_cacoshl.c: Likewise.
6962
ee190f67
UD
69632011-12-21 Ulrich Drepper <drepper@gmail.com>
6964
6965 [BZ #13439]
6966 * iconv/gconv.h: Define __GCONV_SWAP.
6967 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6968 * iconvdata/utf-16.c: Likewise.
6969 * iconvdata/utf-32.c: Likewise.
6970
707f25df
AS
69712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6972
6973 [BZ #13524]
6974 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6975 numerator after shifting it by one limb.
6976
d2daaa1e
RÁE
69772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6978
6979 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6980 under [__USE_EXTERN_INLINES].
6981
a4647e72
UD
69822011-12-17 Ulrich Drepper <drepper@gmail.com>
6983
6984 [BZ #13446]
6985 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6986
f0b264f1
AZ
69872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6988
6989 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6990 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6991 optimized code.
6992 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6993 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6994 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6995 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6996 for strncasecmp/strncasecmp_l compilation.
6997 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6998 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6999
8ef4f244
MP
70002011-12-08 Marek Polacek <mpolacek@redhat.com>
7001
7002 [BZ #13484]
7003 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7004 of __asm__.
7005
97ac2654
UD
70062011-12-17 Ulrich Drepper <drepper@gmail.com>
7007
7008 [BZ #13506]
7009 * time/tzfile.c (__tzfile_read): Check values from file header.
7010
91d2a845
WS
70112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7012
7013 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7014 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7015 * powerpc/powerpc32/dl-start.S: Likewise.
7016 * powerpc/powerpc32/elf/start.S: Likewise.
7017 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7018 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7019 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7020 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7021 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7022 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7023 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7024 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7025 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7026 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7027 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7028 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7029 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7030 * powerpc/powerpc32/memset.S: Likewise.
7031 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7032 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7033 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7034 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7035 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7036 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7037 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7038 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7039 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7040 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7041 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7042 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7043 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7044
a1267ba1
AZ
70452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7046
7047 * math/libm-test.inc: Added more nearbyint tests.
7048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7050 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7052
ad8ac1bd
RL
70532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7054
7055 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7056 FD_CLOEXEC.
7057
1d3e4b61
UD
70582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7059
7060 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7061 Add wcscpy-ssse3 wcscpy-c.
7062 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7063 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7064 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7065 * sysdeps/x86_64/wcschr.S: New file.
7066 * sysdeps/x86_64/wcsrchr.S: New file.
7067 * string/test-strcmp.c: Remove checking of wcscmp function for
7068 wrong alignments.
7069 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7070 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7071 wcsrchr-sse2 wcsrchr-c.
7072 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7073 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7074 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7075 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7076 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7077 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7078 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7079 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7080 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7081 * wcsmbc/wcschr.c (WCSCHR): New macro.
7082
5b330a2d
UD
70832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7084
7085 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7086 * wcsmbs/test-wcsrchr.c: New file.
7087 * string/test-strrchr.c: Add wcsrchr support.
7088 (WIDE): New macro.
7089 * wcsmbs/test-wcscpy.c: New file.
7090 * string/test-strcpy.c: Add wcscpy support.
7091 (WIDE): New macro.
26428b7c 7092
f039c043
UD
70932011-12-10 Ulrich Drepper <drepper@gmail.com>
7094
7095 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7096 the inner loop.
7097
850fb039
AS
70982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7099
7100 [BZ #13472]
7101 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7102
4efbd5cb
UD
71032011-12-04 Ulrich Drepper <drepper@gmail.com>
7104
52ff5dd0 7105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7106 Minor optimizations.
52ff5dd0 7107
4efbd5cb
UD
7108 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7109 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7110 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7111
8a426e12
UD
71122011-12-03 Ulrich Drepper <drepper@gmail.com>
7113
aff2453d
UD
7114 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7115 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7116 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7117 for gcc to avoid warnings.
7118 * inet/Makefile (tests): Add tst-checks.
7119 * inet/tst-checks.c: New file.
7120
7121 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7122 warning.
7123
7124 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7125 __wmemcmp_sse2.
7126
7127 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7128 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7129
8a426e12
UD
7130 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7131
9bea3473
UD
71322011-12-02 Ulrich Drepper <drepper@gmail.com>
7133
3a965496
UD
7134 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7135 problem.
7136
9bea3473
UD
7137 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7138
f101631b
UD
71392011-11-29 Joseph Myers <joseph@codesourcery.com>
7140
7141 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7142 conditional on GCC version.
7143 (__arch_compare_and_exchange_val_8_acq)
7144 (__arch_compare_and_exchange_val_16_acq)
7145 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7146 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7147 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7148
a98275aa
UD
71492011-12-02 Joseph Myers <joseph@codesourcery.com>
7150
7151 * sysdeps/sh/backtrace.c: New file.
7152
d4cc29a2
AS
71532011-12-02 Andreas Schwab <schwab@redhat.com>
7154
7155 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7156 parenthesis.
7157
6257af2d
AS
71582011-12-01 Andreas Schwab <schwab@redhat.com>
7159
7160 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7161 falling back to utime.
7162
b5f44c1a
AS
71632011-11-30 Andreas Schwab <schwab@redhat.com>
7164
7165 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7166 expectations for float.
7167
f3a6cc0a
AS
71682011-11-29 Andreas Schwab <schwab@redhat.com>
7169
7170 * locale/weight.h (findidx): Add parameter len.
7171 * locale/weightwc.h (findidx): Likewise.
7172 * posix/fnmatch_loop.c (FCT): Adjust caller.
7173 * posix/regcomp.c (build_equiv_class): Likewise.
7174 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7175 * posix/regexec.c (check_node_accept_bytes): Likewise.
7176 * string/strcoll_l.c (STRCOLL): Likewise.
7177 * string/strxfrm_l.c (STRXFRM): Likewise.
7178
9d65ea3a
UD
71792011-11-17 Ulrich Drepper <drepper@gmail.com>
7180
7181 * Makefile.in: Remove CVSOPT handling.
7182 * configure.in: Remove use of AC_REVISION.
7183 * iconvdata/Makefile (distribute): No need to filter out CVS.
7184 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7185 handling.
7186
5583a086
AS
71872011-11-16 Andreas Schwab <schwab@redhat.com>
7188
7189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7190 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7191 [USE_AS_STRNCASECMP_L]: Likewise.
7192 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7193 NO_TLS_DIRECT_SEG_REFS.
7194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7195 Fix argument offsets for non-PIC.
7196 [USE_AS_STRNCASECMP_L]: Likewise.
7197 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7198 NO_TLS_DIRECT_SEG_REFS.
7199
d62a8200
UD
72002011-11-15 Ulrich Drepper <drepper@gmail.com>
7201
9d65ea3a 7202 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7203 O_CLOEXEC.
7204 * locale/loadlocale.c (_nl_load_locale): Likewise.
7205
09f93bd3
AS
72062011-11-15 Andreas Schwab <schwab@redhat.com>
7207
446514f9
AS
7208 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7209 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7210 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7211 (SYSCALL_GETTIME): Set errno on error.
7212
09f93bd3
AS
7213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7214 count references to noai6ai_cached.
7215
312be3f9
UD
72162011-11-15 Ulrich Drepper <drepper@gmail.com>
7217
7218 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7219
7220 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7221 FD_CLOEXEC for /proc/self/maps.
7222
7223 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7224 FD_CLOEXEC for /proc/meminfo.
7225
7226 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7227 gai.conf.
7228
7229 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7230 FD_CLOEXEC for given file.
7231
7232 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7233
7234 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7235 FD_CLOEXEC for /etc/hosts.
7236 (_gethtent): Likewise.
7237
7238 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7239
7240 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7241 cancellation and set FD_CLOEXEC for /etc/netgroup.
7242
7243 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7244 reading /etc/publickey.
7245
7246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7247 allow cancellation when reading /etc/group.
7248
7249 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7250 cancellation.
7251 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7252
7253 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7254 when using data file.
7255
7256 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7257
7258 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7259 (write_nis_obj): Use "c" and "e" in fopen.
7260
7261 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7262
7263 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7264
7265 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7266
7267 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7268
7269 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7270 locale.alias.
7271
7272 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7273
7274 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7275
7276 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7277
7278 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7279 file parsing and set FD_CLOEXEC.
7280
82af0fa8
UD
72812011-11-14 Ulrich Drepper <drepper@gmail.com>
7282
7283 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7284
a5fb313c
AS
72852011-11-14 Andreas Schwab <schwab@redhat.com>
7286
7287 * malloc/arena.c (arena_get2): Don't call reused_arena when
7288 _int_new_arena failed.
7289
6abf3465
UD
72902011-11-14 Ulrich Drepper <drepper@gmail.com>
7291
7292 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7293 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7295 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7298 to compile strcasecmp and strncasecmp.
7299 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7300 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7301
7302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7303
76e3966e
UD
73042011-11-13 Ulrich Drepper <drepper@gmail.com>
7305
7306 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7307 locale-defines.sym to gen-as-const-headers.
7308 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7309 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7311 to compile strcasecmp and strncasecmp.
7312 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7313 strcasecmp_l and strncasecmp_l.
7314 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7315 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7316 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7317 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7318 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7319 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7320 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7321 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7322 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7323 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7324 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7325
ab26144e
UD
73262011-11-12 Ulrich Drepper <drepper@gmail.com>
7327
7edb22ef
UD
7328 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7329 result of SYSDEP_GETTIME_CPU to retval.
7330 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7331 parameter list to macro. Remove trailing semicolon. Adjust users.
7332
9694fc44
UD
7333 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7334 variable.
7335
8ad89ef8
UD
7336 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7337 mantissa words.
7338 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7339
0c822ef9
UD
7340 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7341 from unused variable.
7342
874e0564
UD
7343 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7344 DWARF definitions.
7345 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7346 for assembling.
7347
3a2edc79
UD
7348 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7349 over namespaces.
7350
f3c2577f
UD
7351 * sunrpc/rpc_prot.c (rejected): Fix case value.
7352
294ce126
UD
7353 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7354 unsigned long long int to avoid warnings in shift.
7355
5e2b63c6
UD
7356 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7357 of use of trans.
7358 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7359 variable tmp.
7360
e7f4b08e
UD
7361 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7362 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7363 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7364
ab26144e
UD
7365 * nis/nis_table.c (nis_list): Use variable of correct type for
7366 result of __follow_path call.
7367
8a6d5255
AZ
73682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369
7370 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7371 of math functions ceil, trunc, floor, round, and sqrt, when
7372 avaliable on the platform.
7373 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7374 name clash.
7375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7376 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7377 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7378
aaddc98c
MP
73792011-10-30 Marek Polacek <mpolacek@redhat.com>
7380
7381 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7383
95b7042b
RM
73842011-11-11 Roland McGrath <roland@hack.frob.com>
7385
7386 * include/unistd.h: Fix __readlink return type.
7387 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7388
57769839
UD
73892011-11-11 Ulrich Drepper <drepper@gmail.com>
7390
7391 * stdlib/ucontext.h: Undo last change for makecontext.
7392
edc5984d
AS
73932011-11-11 Andreas Schwab <schwab@redhat.com>
7394
98591e58
AS
7395 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7396
edc5984d
AS
7397 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7398 * setjmp/setjmp.h: Mark functions as non-leaf.
7399 * setjmp/bits/setjmp2.h: Likewise.
7400 * stdlib/ucontext.h: Likewise.
7401
77cdc054
AS
74022011-11-10 Andreas Schwab <schwab@redhat.com>
7403
7404 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7405 (reused_arena): Don't check arena limit.
7406 (arena_get2): Atomically check arena limit.
7407
fe72eebd
UD
74082011-11-08 Ulrich Drepper <drepper@gmail.com>
7409
5f078c32
UD
7410 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7411 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7412
fe72eebd
UD
7413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7414 instructions.
7415
ae1bc2fa
AS
74162011-11-07 Andreas Schwab <schwab@redhat.com>
7417
7583a88d
AS
7418 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7419 handler when locking.
7420
ae1bc2fa
AS
7421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7422 Fix size of allocated buffer.
7423
10fb0bfa
AS
74242011-11-04 Andreas Schwab <schwab@redhat.com>
7425
998832a4
AS
7426 [BZ #10103]
7427 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7428 declarations for long double functions.
7429 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7430
10fb0bfa
AS
7431 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7432
3d7ba52b
AS
74332011-11-03 Andreas Schwab <schwab@redhat.com>
7434
a9ae54a1
AS
7435 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7436 installed.
7437
3d7ba52b
AS
7438 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7439 is disabled.
7440
bc8db248
ST
74412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7442
7443 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7444
45b96dd6
AS
74452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7446
647776f6
AS
7447 * include/alloca.h (stackinfo_alloca_round): Define.
7448 (extend_alloca): Use it.
7449 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7450 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7451 here.
7452
d91a8b93
AS
7453 * scripts/check-local-headers.sh: Ignore libaudit.h.
7454
45b96dd6
AS
7455 * nscd/Makefile (extra-objs): Make recursively expanded.
7456
432d41ce
UD
74572011-11-01 Ulrich Drepper <drepper@gmail.com>
7458
34372fc6
UD
7459 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7461
fadb59f8
UD
7462 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7463 * posix/tst-rfc3484-2.c: Likewise.
7464 * posix/tst-rfc3484-3.c: Likewise.
7465
78239589
UD
7466 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7467 process_vm_writev.
7468 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7469 process_vm_writev.
7470 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7471 process_vm_writev from libc using GLIBC_2.15 version.
7472
432d41ce
UD
7473 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7474
02f9c6cf
PP
74752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7476
7477 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7478 stack usage.
7479
3a2c0242
UD
74802011-10-31 Ulrich Drepper <drepper@gmail.com>
7481
f4ec4833
UD
7482 [BZ #13367]
7483 * nss/getent.c (initgroups_keys): Show error message in case no group
7484 names are given.
7485
3a2c0242
UD
7486 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7487 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7488 __bump_nl_timestamp.
7489 * nscd/connections (nscd_init): When host database is served open
7490 netlink socket and request notification about configuration changes.
7491 (main_loop_poll): Track netlink file descriptor and bump timestamp
7492 in case data becomes available.
7493 (main_loop_epoll): Likewise.
7494 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7495 (database_pers_head): Add extra_data fileds.
7496 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7497 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7498 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7499 Adjust caller.
7500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7501 in6ai data, call __free_in6ai.
7502 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7503 Add -DHAVE_NETLINK.
7504 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7505 interface information. Reuse previous data if netlink timestamp
7506 is not changed.
7507 (__bump_nl_timestamp): New function.
7508 (__free_in6ai): New function.
7509
636064eb
UD
75102011-10-30 Ulrich Drepper <drepper@gmail.com>
7511
7512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7513 close_not_cancel_no_status here.
7514 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7515
9beb2334
UD
75162011-10-29 Ulrich Drepper <drepper@gmail.com>
7517
6ef76f3b
UD
7518 [BZ #13276]
7519 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7520 return value.
7521
0ffc4f3e 7522 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7523 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7524 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7525
cb95113e
UD
75262011-07-03 Andreas Jaeger <aj@suse.de>
7527
7528 [BZ #10709]
7529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7530 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7531 * math/libm-test.inc (sin_test): Add test case.
7532
a1b560ff
UD
75332011-10-29 Ulrich Drepper <drepper@gmail.com>
7534
c9aaface
UD
7535 [BZ #13337]
7536 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7537 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7538
d272e7f1
UD
7539 * elf/chroot_canon.c (chroot_canon): Cleanups.
7540
1bc33071
UD
7541 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7542
1760874d
TJ
7543 [BZ #13335]
7544 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7545 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7546
51d91b18
UD
7547 * string/test-strchr.c: Make usable for strchrnul testing.
7548 * string/test-strchrnul.c: New file.
7549 * string/Makefile (strop-tests): Add strchrnul.
7550
a1b560ff 7551 * po/it.po: Update from translation team.
b611fb81 7552 * po/es.po: Likewise.
a1b560ff 7553
a5b81e1f
UD
75542011-10-28 Ulrich Drepper <drepper@gmail.com>
7555
fd52bc6d
UD
7556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7557 the three constants needed as parameters. Drop the others.
7558 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7559 __m128i_strloadu_tolower.
52e4b9eb
UD
7560 Create and initialize variable zero and use it in all the places
7561 where _mm_setzero_si128 was used.
fd52bc6d 7562
a5b81e1f
UD
7563 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7564 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7565 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7566 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7567 anymore.
7568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7569 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7570 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7571 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7572 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7573 __mpranred, __mptan.
7574 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7575 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7576 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7577 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7578 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7579 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7581 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7582 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7583
b4343346
AS
75842011-10-28 Andreas Schwab <schwab@redhat.com>
7585
0c92d8a8
AS
7586 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7587 redefine if SHARED.
7588 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7589
b4343346
AS
7590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7591 wide char related routines to wcsmbs subdir.
7592
3871f58f
AS
75932011-10-27 Andreas Schwab <schwab@redhat.com>
7594
7595 [BZ #13344]
7596 * misc/sys/cdefs.h (__THROWNL): Define.
7597 * posix/unistd.h: Use __THREADNL instead of __THREAD
7598 for memory synchronization functions.
7599
94d44d9f
RM
76002011-10-26 Roland McGrath <roland@hack.frob.com>
7601
21b64b15 7602 [BZ #13349]
94d44d9f
RM
7603 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7604 doesn't exist.
7605 * manual/stdio.texi (Obstack Streams): Node removed.
7606
f6ce9294
AS
76072011-10-26 Andreas Schwab <schwab@redhat.com>
7608
80479147
AS
7609 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7612
f6ce9294
AS
7613 * math/math_private.h (math_force_eval): Allow non-addressable
7614 arguments.
7615 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7616
618280a1
UD
76172011-10-25 Ulrich Drepper <drepper@gmail.com>
7618
e0016b11
UD
7619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7620 file is not needed.
7621
7622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7629 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7630 Add AVX variants.
7631 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7632 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7633 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7634 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7635 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7636 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7637 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7638 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7639 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7640 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7641 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7642 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7643 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7644 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7645 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7646 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7647 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7648 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7649 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7650
7651 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7652 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7653
618280a1
UD
7654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7655 place. Use VEX encoding when compiling for AVX.
7656
37822576
AS
76572011-10-25 Andreas Schwab <schwab@redhat.com>
7658
1f1e1947
AS
7659 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7660 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7661
37822576
AS
7662 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7663
31ea014d
UD
76642011-10-25 Ulrich Drepper <drepper@gmail.com>
7665
d7826aa1 7666 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7667 useless if() expression.
d7826aa1
UD
7668 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7687
31ea014d
UD
7688 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7689
16437fec
AS
76902011-10-25 Andreas Schwab <schwab@redhat.com>
7691
7692 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7693 condition.
7694 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7695
31d3cc00
UD
76962011-10-25 Ulrich Drepper <drepper@gmail.com>
7697
7698 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7699 .text section. Avoid duplicate constants.
7700 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7710 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7712 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7715 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7717 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7723 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7724 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7725 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7726 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7727 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7728 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7729 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7731 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7733 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7734 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7735 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7736 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7738 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7739 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7740 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7741 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7742 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7743 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7744 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7745
58985aa9
UD
77462011-10-24 Ulrich Drepper <drepper@gmail.com>
7747
202c9deb
UD
7748 * sysdeps/x86_64/dla.h: Move to ...
7749 * sysdeps/x86_64/fpu/dla.h: ...here.
7750 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7751 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7752
af968f62
UD
7753 * config.make.in: Add have-mfma4 entry.
7754 * configure.in: Substitute libc_cv_cc_fma4.
7755 * math/Makefile (dbl-only-routines): Add sincostab.
7756 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7757 Use __sincostab not sincos.
7758 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7759 name is a macro.
7760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7764 using __copysign.
7765 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7766 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7767 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7768 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7769 and __inv.
7770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7771 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7772 __copysign.
7773 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7774 define aliases when function name is a macro.
7775 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7776 sysdeps/ieee754/dbl-64/sincos.tbl.
7777 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7778 fma4-enabled routines.
7779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7784 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7786 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7787 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7788 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7789 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7791 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7792 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7793 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7794 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7795 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7796 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7797 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7799 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7800 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7802 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7803 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7804 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7806 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7808 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7809
58985aa9
UD
7810 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7811 rename.
7812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7820
a201fbcf
AS
78212011-10-24 Andreas Schwab <schwab@redhat.com>
7822
7823 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7824
fc2ee42a
LD
78252011-10-23 Ulrich Drepper <drepper@gmail.com>
7826
bb3129bd
UD
7827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7828
0275fff8
UD
7829 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7830 prediction.
7831 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7832
2fa2ae85
UD
7833 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7834 Remove unused variable magic_bits.
7835 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7836
fc2ee42a
LD
7837 * string/strnlen.c: Define and use STRNLEN macro.
7838 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7839 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7841 * wcsmbs/wcslen.c: Define and use WCSLEN.
7842 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7843 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7844 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7845 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7846 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7847 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7848 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7849
ce7dd29f
LD
78502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7851
7852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7853 strnlen-sse2-no-bsf.
7854 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7856 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7857 Add strnlen support.
7858 (USE_AS_STRNLEN): New macro.
7859 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7861 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7862 * sysdeps/x86_64/wcslen.S: New file.
7863
979c70a3
MZ
78642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7865
7866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7867 XMM-moves are used for copying on small sizes.
7868
2d09f82f
LD
78692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7870
7871 * wcsmbs/Makefile (strop-tests): Add wcschr.
7872 * wcsmbs/test-wcschr.c: New file.
7873 * string/test-strchr.c: Update.
7874 Add wcschr support.
7875 (WIDE): New macro.
7876
619fccca
LD
78772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7878
2d09f82f 7879 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7880 * wcsmbs/test-wcslen.c: New file.
7881 * string/test-strlen.c: Update.
7882 Add wcslen support.
7883 (WIDE): New macro.
7884
09f699ea
UD
78852011-10-23 Ulrich Drepper <drepper@gmail.com>
7886
7887 * po/it.po: Update from translation team.
7888
95584d3b
LD
78892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7890
7891 * sysdeps/x86_64/wcscmp.S: Update.
7892 Fix wrong comparison semantics.
7893 wcscmp shall use signed comparison not unsigned.
7894 Don't use substraction to avoid overflow bug.
7895 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7896 * wcsmbc/wcscmp.c: Likewise.
7897 * string/test-strcmp.c: Likewise.
7898 Add new tests to check cases with negative values.
7899
c8b3296b
UD
79002011-10-23 Ulrich Drepper <drepper@gmail.com>
7901
7902 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7903 * sysdeps/x86_64/dla.h: ...here. New file.
7904 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7911 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7912 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7913
246ad57a
AS
79142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7915
7916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7917 __ynl_finite aliases.
7918
a1a87169
UD
79192011-10-22 Ulrich Drepper <drepper@gmail.com>
7920
0d355eb7
UD
7921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7922
a1a87169
UD
7923 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7924 define DLA_FMA.
7925 [DLA_FMA] (EMULV): Use DLA_FMA.
7926 [DLA_FMA] (MUL12): Use EMULV.
7927 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7928 that are not needed.
7929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7936
ee2aafe0
AS
79372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7938
7939 * math/s_nan.c: Undef __nan.
7940 * math/s_nanf.c: Undef __nanf.
7941 * math/s_nanl.c: Undef __nanl.
7942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7943 "math_private.h".
7944
bc62c2fb
UD
79452011-10-22 Ulrich Drepper <drepper@gmail.com>
7946
77425c63
UD
7947 * math/s_catan.c: Add branch predictions.
7948 * math/s_catanf.c: Likewise.
7949 * math/s_catanh.c: Likewise.
7950 * math/s_catanhf.c: Likewise.
7951 * math/s_catanhl.c: Likewise.
7952 * math/s_catanl.c: Likewise.
7953 * math/s_cexp.c: Likewise.
7954 * math/s_cexpf.c: Likewise.
7955 * math/s_cexpl.c: Likewise.
7956 * math/s_clog.c: Likewise.
7957 * math/s_clog10.c: Likewise.
7958 * math/s_clog10f.c: Likewise.
7959 * math/s_clog10l.c: Likewise.
7960 * math/s_clogf.c: Likewise.
7961 * math/s_clogl.c: Likewise.
7962 * math/s_csqrt.c: Likewise.
7963 * math/s_csqrtf.c: Likewise.
7964 * math/s_csqrtl.c: Likewise.
7965 * math/s_ctanf.c: Likewise.
7966 * math/s_ctanh.c: Likewise.
7967 * math/s_ctanhf.c: Likewise.
7968 * math/s_ctanhl.c: Likewise.
7969 * math/s_ctanl.c: Likewise.
7970
bc62c2fb
UD
7971 * math/math_private.h: Define __nan, __nanf, __nanl.
7972 * math/s_cacosh.c: Include <math_private.h>.
7973 * math/s_cacoshl.c: Likewise.
7974 * math/s_casinh.c: Likewise.
7975 * math/s_casinhf.c: Likewise.
7976 * math/s_casinhl.c: Likewise.
7977 * math/s_ccos.c: Rely entire on ccosh.
7978 * math/s_ccosf.c: Rely entire on ccoshf.
7979 * math/s_ccosl.c: Rely entirely on ccoshl.
7980 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7981 Remove tests for FE_INVALID.
7982 * math/s_ccoshf.c: Likewise.
7983 * math/s_ccoshl.c: Likewise.
7984 * math/s_csin.c: Likewise.
7985 * math/s_csinf.c: Likewise.
7986 * math/s_csinh.c Likewise.
7987 * math/s_csinhf.c: Likewise.
7988 * math/s_csinhl.c: Likewise.
7989 * math/s_csinl.c: Likewise.
7990 * math/s_ctan.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7992 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7993 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7994
8ec250a4
UD
79952011-10-21 Ulrich Drepper <drepper@gmail.com>
7996
c196fed8
UD
7997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7998 compilation problems.
7999
8ec250a4
UD
8000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8001 __builtin_expect.
8002
8d4f46c6
UD
80032011-10-20 Ulrich Drepper <drepper@gmail.com>
8004
ed72b654
UD
8005 * sysdeps/i386/configure.in: Test for -mfma4 option.
8006 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8007 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8008 COMMON_CPUID_INDEX_80000001.
8009 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8010 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8011 use it if FMA3 is not supported.
8012 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8013
8d4f46c6
UD
8014 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8015 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8016
d45c60c2
AS
80172011-10-20 Andreas Schwab <schwab@redhat.com>
8018
8019 [BZ #12892]
8020 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8021 it would create a cycle with a link time dependency.
8022
d9a4d2ab
UD
80232011-10-19 Ulrich Drepper <drepper@gmail.com>
8024
855d1560
UD
8025 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8026 instruction.
8027 * string/Makefile (strop-tests): Add rawmemchr.
8028 * string/test-rawmemchr.c: New file.
8029
d9a4d2ab
UD
8030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8032 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8033 when compiling str{,n}casecmp and when AVX is available. Hook up
8034 new optimized code in initializers.
8035
8f3b1ffe
AS
80362011-10-19 Andreas Schwab <schwab@redhat.com>
8037
8038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8039 __feraiseexcept instead of feraiseexcept.
8040
d38f1dba
UD
80412011-10-18 Ulrich Drepper <drepper@gmail.com>
8042
d9a8d0ab
UD
8043 * math/math_private.h: Define defaults for libc_fetestexcept and
8044 libc_feupdateenv.
8045 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8046 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8047 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8048 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8049 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8051 libc_fetestexcept and libc_feupdateenv.
8052
4855e3dd
UD
8053 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8054 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8055 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8056 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8057 libc_feholdexcept_setround.
8058
581d30e3
UD
8059 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8060 Add s_nearbyint-c and s_nearbyintf-c.
8061 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8062 nearbyintf inlines.
8063 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8064 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8065 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8066 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8067
d38f1dba
UD
8068 * math/math_private.h: Define defaults for libc_fegetround,
8069 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8070 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8071 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8073 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8074 standard functions.
8075 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8076 Remove comments and hacks for old compiler versions.
8077 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8078 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8079 libc_feholdexceptl.
8080
caa6c9d8
AS
80812011-10-18 Andreas Schwab <schwab@redhat.com>
8082
8083 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8084 (__feraiseexcept_renamed): Add __NTH.
8085 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8086 namespace violations.
8087
97c066e6
UD
80882011-10-17 Ulrich Drepper <drepper@gmail.com>
8089
99ce7b04
UD
8090 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8091
1004d182
UD
8092 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8093
228a984d
UD
8094 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8095 recently added interfaces.
8096 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8097
c8553a6a
UD
8098 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8099 about macro parameter expansion.
8100
ed22dcf6
UD
8101 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8102 __NO_MATH_INLINES is defined. Cleanups.
8103
8104 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8105 and __floorf is target has SSE4.1.
8106 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8107 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8108 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8110
b171c137
UD
8111 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8112 name.
8113 (floorf): Likewise.
8114
97c066e6
UD
8115 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8116
629f62ef
AS
81172011-10-17 Andreas Schwab <schwab@redhat.com>
8118
49a43d80
AS
8119 * misc/sys/cdefs.h: Fix last change.
8120
629f62ef
AS
8121 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8122 database lookup.
8123
e453f6cd
UD
81242011-10-16 Ulrich Drepper <drepper@gmail.com>
8125
aa78043a
UD
8126 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8127
ad0f5cad
UD
8128 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8134 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8136 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8137 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8138 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8139 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8140 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8141 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8142 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8143 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8144 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8145 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8146 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8147 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8149 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8150
8151 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8152 ceil, ceilf, floor, floorf.
8153
8154 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8155 Perform IRELATIVE relocations last.
8156
e453f6cd
UD
8157 * elf/do-rel.h: Add another parameter nrelative, replacing the
8158 local variable with the same name. Change name of the function
8159 to end in Rel or Rela (uppercase).
8160 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8161 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8162 elf_dynamic_do_##reloc function.
8163
fd5bdc09
UD
81642011-10-15 Ulrich Drepper <drepper@gmail.com>
8165
79b195b5
UD
8166 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8167 is sufficient, at least on modern CPUs.
8168
d4a28569
UD
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8170
b61099b5
UD
8171 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8173
bcf01e6d
UD
8174 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8175 __expl_finite.
8176 * math/bits/math-finite.h: Add entries for exp.
8177 * math/e_expl.c: Add __*_finite alias.
8178 * sysdeps/i386/fpu/e_exp.S: Likewise.
8179 * sysdeps/i386/fpu/e_expf.S: Likewise.
8180 * sysdeps/i386/fpu/e_expl.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8182 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8186 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8187 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8188
ba1a0d59
UD
8189 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8190 is sufficient, at least on modern CPUs.
8191
fd5bdc09
UD
8192 * ctype/ctype-info.c (__ctype_init): Define.
8193 * include/ctype.h (__ctype_init): Declare.
8194 (__ctype_b_loc): The variable is always initialized.
8195 (__ctype_toupper_loc): Likewise.
8196 (__ctype_tolower_loc): Likewise.
8197 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8198 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8199
7872cfb0
AS
82002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8201
b468825a
AS
8202 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8203
7872cfb0
AS
8204 * configure.in: Also look in $cxxmachine/include for C++ system
8205 headers.
8206
be13f7bf
LD
82072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8208
8209 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8210 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8211 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8212 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8213 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8214 (USE_AS_WMEMCMP): New macro.
8215 Fixing indents.
8216 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8217 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8218 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8219 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8221 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8222 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8223 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8224 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8225 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8226 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8227 (USE_AS_WMEMCMP): New macro.
8228 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8229 * sysdeps/string/test-memcmp.c: Update.
8230 Fix simple_wmemcmp.
8231 Add new tests.
8232 * wcsmbs/wmemcmp.c: Update.
8233 (WMEMCMP): New macro.
8234 Fix overflow bug.
8235
556a2007
AJ
82362011-10-12 Andreas Jaeger <aj@suse.de>
8237
8238 [BZ #13268]
8239 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8240
538faaa7
UD
82412011-10-15 Ulrich Drepper <drepper@gmail.com>
8242
ab6737ff
UD
8243 * libio/iofwide.c (do_length): Avoid warning.
8244
538faaa7
UD
8245 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8246
396a21b1
UD
82472011-10-14 Ulrich Drepper <drepper@gmail.com>
8248
cdf2901f
UD
8249 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8250
38ad40ce
UD
8251 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8252 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8253 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8254 * sysdeps/i386/i686/fpu/e_log.S: New file.
8255 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8256 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8257
396a21b1
UD
8258 * ctype/ctype.h: Add support for inlined isXXX functions when
8259 compiling C++ code.
8260
6b1f68c9
AS
82612011-10-14 Andreas Schwab <schwab@redhat.com>
8262
349290c0
AS
8263 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8264
6b1f68c9
AS
8265 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8266
f2282d42
RM
82672011-10-13 Roland McGrath <roland@hack.frob.com>
8268
8269 [BZ #13291]
8270 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8271
5298ffa8
AS
82722011-10-13 Andreas Schwab <schwab@redhat.com>
8273
714fad23
AS
8274 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8275 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8276 feraiseexcept.
8277
81dcc7fb
AS
8278 * sysdeps/x86_64/memrchr.S: Check for zero size.
8279
5298ffa8
AS
8280 * string/stratcliff.c: Add memrchr tests.
8281
951fbcec
LD
82822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8283
8284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8285 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8286 rawmemchr-sse2 rawmemchr-sse2-bsf.
8287 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8288 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8289 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8290 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8291 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8292 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8293 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8294 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8295 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8296 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8297 * string/memrchr.c (MEMRCHR): New macro.
8298
0ac5ae23
UD
82992011-10-12 Ulrich Drepper <drepper@gmail.com>
8300
8301 Add integration with gcc's -ffinite-math-only and optimize wrapper
8302 functions in libm.
8303 * Versions.def: Define GLIBC_2.15 version for libm.
8304 * math/Makefile (headers): Add bits/math-finite.h.
8305 * math/bits/math-finite.h: New file.
8306 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8307 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8308 * math/e_acoshl.c: Add __*_finite alias.
8309 * math/e_acosl.c: Likewise.
8310 * math/e_asinl.c: Likewise.
8311 * math/e_atan2l.c: Likewise.
8312 * math/e_atanhl.c: Likewise.
8313 * math/e_coshl.c: Likewise.
8314 * math/e_exp10.c: Likewise.
8315 * math/e_exp10f.c: Likewise.
8316 * math/e_exp10l.c: Likewise.
8317 * math/e_exp2l.c: Likewise.
8318 * math/e_fmodl.c: Likewise.
8319 * math/e_gammal_r.c: Likewise.
8320 * math/e_hypotl.c: Likewise.
8321 * math/e_j0l.c: Likewise.
8322 * math/e_j1l.c: Likewise.
8323 * math/e_jnl.c: Likewise.
8324 * math/e_lgammal_r.c: Likewise.
8325 * math/e_log10l.c: Likewise.
8326 * math/e_log2l.c: Likewise.
8327 * math/e_logl.c: Likewise.
8328 * math/e_powl.c: Likewise.
8329 * math/e_sinhl.c: Likewise.
8330 * math/e_sqrtl.c: Likewise.
8331 * math/e_scalb.c: Completely rewritten and optimized.
8332 * math/e_scalbf.c: Likewise.
8333 * math/e_scalbl.c: Likewise.
8334 * math/w_acos.c: Likewise.
8335 * math/w_acosf.c: Likewise.
8336 * math/w_acosl.c: Likewise.
8337 * math/w_acosh.c: Likewise.
8338 * math/w_acoshf.c: Likewise.
8339 * math/w_acoshl.c: Likewise.
8340 * math/w_asin.c: Likewise.
8341 * math/w_asinf.c: Likewise.
8342 * math/w_asinl.c: Likewise.
8343 * math/w_atan2.c: Likewise.
8344 * math/w_atan2f.c: Likewise.
8345 * math/w_atan2l.c: Likewise.
8346 * math/w_atanh.c: Likewise.
8347 * math/w_atanhf.c: Likewise.
8348 * math/w_atanhl.c: Likewise.
8349 * math/w_exp10.c: Likewise.
8350 * math/w_exp10f.c: Likewise.
8351 * math/w_exp10l.c: Likewise.
8352 * math/w_fmod.c: Likewise.
8353 * math/w_fmodf.c: Likewise.
8354 * math/w_fmodl.c: Likewise.
8355 * math/w_j0.c: Likewise.
8356 * math/w_j0f.c: Likewise.
8357 * math/w_j0l.c: Likewise.
8358 * math/w_j1.c: Likewise.
8359 * math/w_j1f.c: Likewise.
8360 * math/w_j1l.c: Likewise.
8361 * math/w_jn.c: Likewise.
8362 * math/w_jnf.c: Likewise.
8363 * math/w_log.c: Likewise.
8364 * math/w_logf.c: Likewise.
8365 * math/w_logl.c: Likewise.
8366 * math/w_log10.c: Likewise.
8367 * math/w_log10f.c: Likewise.
8368 * math/w_log10l.c: Likewise.
8369 * math/w_log2.c: Likewise.
8370 * math/w_log2f.c: Likewise.
8371 * math/w_log2l.c: Likewise.
8372 * math/w_pow.c: Likewise.
8373 * math/w_powf.c: Likewise.
8374 * math/w_powl.c: Likewise.
8375 * math/w_remainder.c: Likewise.
8376 * math/w_remainderf.c: Likewise.
8377 * math/w_remainderl.c: Likewise.
8378 * math/w_scalb.c: Likewise.
8379 * math/w_scalbf.c: Likewise.
8380 * math/w_scalbl.c: Likewise.
8381 * math/w_sqrt.c: Likewise.
8382 * math/w_sqrtf.c: Likewise.
8383 * math/w_sqrtl.c: Likewise.
8384 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8385 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8386 used.
8387 * math/math_private.h: Declare __kernel_standard_f.
8388 * math/w_cosh.c: Remove cruft and optimize a bit.
8389 * math/w_coshf.c: Likewise.
8390 * math/w_coshl.c: Likewise.
8391 * math/w_exp2.c: Likewise.
8392 * math/w_exp2f.c: Likewise.
8393 * math/w_exp2l.c: Likewise.
8394 * math/w_hypot.c: Likewise.
8395 * math/w_hypotf.c: Likewise.
8396 * math/w_hypotl.c: Likewise.
8397 * math/w_lgamma.c: Likewise.
8398 * math/w_lgamma_r.c: Likewise.
8399 * math/w_lgammaf.c: Likewise.
8400 * math/w_lgammaf_r.c: Likewise.
8401 * math/w_lgammal.c: Likewise.
8402 * math/w_lgammal_r.c: Likewise.
8403 * math/w_sinh.c: Likewise.
8404 * math/w_sinhf.c: Likewise.
8405 * math/w_sinhl.c: Likewise.
8406 * math/w_tgamma.c: Likewise.
8407 * math/w_tgammaf.c: Likewise.
8408 * math/w_tgammal.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8411 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8412 Minor optimizations. Pretty printing. Remove cruft.
8413 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8414 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8415 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8417 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8418 * sysdeps/i386/fpu/e_asin.S: Likewise.
8419 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8420 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8421 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8422 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8423 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8426 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8427 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8428 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8429 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8430 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8431 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8432 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8433 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8434 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8435 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8436 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8437 * sysdeps/i386/fpu/e_log.S: Likewise.
8438 * sysdeps/i386/fpu/e_log10.S: Likewise.
8439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8440 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8441 * sysdeps/i386/fpu/e_log2.S: Likewise.
8442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8443 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8444 * sysdeps/i386/fpu/e_logf.S: Likewise.
8445 * sysdeps/i386/fpu/e_logl.S: Likewise.
8446 * sysdeps/i386/fpu/e_pow.S: Likewise.
8447 * sysdeps/i386/fpu/e_powf.S: Likewise.
8448 * sysdeps/i386/fpu/e_powl.S: Likewise.
8449 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8450 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8451 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8454 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8455 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8456 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8457 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8464 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8479 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8481 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8482 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8483 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8484 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8485 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8486 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8487 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8488 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8489 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8490 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8491 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8492 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8493 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8494 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8495 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8496 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8497 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8498 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8499 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8549 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8550 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8551 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8552 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8553 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8554 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8555 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8556 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8557 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8558 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8559 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8560 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8561 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8563 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8564 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8566 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8567 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8568 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8569 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8570 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8571 (__isnanf): Likewise.
8572 (__isinf_ns): Likewise.
8573 (__isinf_nsf): Likewise.
8574 (__finite): Likewise.
8575 (__finitef): Likewise.
8576 (__ieee754_sqrt): Define as macro.
8577 (__ieee754_sqrtf): Define as macro.
8578 (__ieee754_sqrtl): Define as macro.
8579 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8580 inlined copy.
8581 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8582 __FINITE_MATH_ONLY__ consistent.
8583 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8584
12cc2fcd
AS
85852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8586
a843a204
AS
8587 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8588 of rawmemchr.
8589
12cc2fcd
AS
8590 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8591
c853acd5
UD
85922011-10-09 Ulrich Drepper <drepper@gmail.com>
8593
8594 * po/ja.po: Update from translation team.
8595
c658d255
RM
85962011-10-08 Roland McGrath <roland@hack.frob.com>
8597
110946e4
RM
8598 * locale/programs/locarchive.c (prepare_address_space): New function.
8599 (create_archive, enlarge_archive, open_archive): Use it.
8600
50604220
RM
8601 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8602 inside [SHARED], where it is used.
8603
c658d255
RM
8604 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8605
8606 * nss/getent.c (netgroup_keys): Remove unused variable.
8607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8608
6a621eb7
UD
86092011-10-08 Ulrich Drepper <drepper@gmail.com>
8610
7edb55ce
UD
8611 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8612 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8616 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8617 * math/Makefile (libm-calls): Add s_isinf_ns.
8618 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8619 * math/multc3.c: Likewise.
8620 * math/s_casin.c: Likewise.
8621 * math/s_casinf.c: Likewise.
8622 * math/s_casinl.c: Likewise.
8623 * math/s_ccos.c: Likewise.
8624 * math/s_ccosf.c: Likewise.
8625 * math/s_ccosl.c: Likewise.
8626 * math/s_ctan.c: Likewise.
8627 * math/s_ctanf.c: Likewise.
8628 * math/s_ctanh.c: Likewise.
8629 * math/s_ctanhf.c: Likewise.
8630 * math/s_ctanhl.c: Likewise.
8631 * math/s_ctanl.c: Likewise.
8632 * math/w_fmod.c: Likewise.
8633 * math/w_fmodf.c: Likewise.
8634 * math/w_fmodl.c: Likewise.
8635 * math/w_remainder.c: Likewise.
8636 * math/w_remainderf.c: Likewise.
8637 * math/w_remainderl.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8639 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8640 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8642 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8643 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8644 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8645 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8646
187da0ae
UD
8647 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8648 of the number.
8649 * stdio-common/printf_fphex.c: Likewise.
8650 * stdio-common/printf_size.c: Likewise.
8651
9277c064
UD
8652 * math/e_exp10.c: Include math_private.h using <...> not "...".
8653 * math/e_exp10f.c: Likewise.
8654 * math/e_exp10l.c: Likewise.
8655 * math/e_exp2l.c: Likewise.
8656 * math/e_j0l.c: Likewise.
8657 * math/e_j1l.c: Likewise.
8658 * math/e_jnl.c: Likewise.
8659 * math/e_lgammal_r.c: Likewise.
8660 * math/e_rem_pio2l.c: Likewise.
8661 * math/e_scalb.c: Likewise.
8662 * math/e_scalbf.c: Likewise.
8663 * math/e_scalbl.c: Likewise.
8664 * math/k_cosl.c: Likewise.
8665 * math/k_sinl.c: Likewise.
8666 * math/k_tanl.c: Likewise.
8667 * math/s_cacoshf.c: Likewise.
8668 * math/s_catan.c: Likewise.
8669 * math/s_catanf.c: Likewise.
8670 * math/s_catanh.c: Likewise.
8671 * math/s_catanhf.c: Likewise.
8672 * math/s_catanhl.c: Likewise.
8673 * math/s_catanl.c: Likewise.
8674 * math/s_ccosh.c: Likewise.
8675 * math/s_ccoshf.c: Likewise.
8676 * math/s_ccoshl.c: Likewise.
8677 * math/s_cexp.c: Likewise.
8678 * math/s_cexpf.c: Likewise.
8679 * math/s_cexpl.c: Likewise.
8680 * math/s_clog.c: Likewise.
8681 * math/s_clog10.c: Likewise.
8682 * math/s_clog10f.c: Likewise.
8683 * math/s_clog10l.c: Likewise.
8684 * math/s_clogf.c: Likewise.
8685 * math/s_clogl.c: Likewise.
8686 * math/s_csin.c: Likewise.
8687 * math/s_csinf.c: Likewise.
8688 * math/s_csinh.c: Likewise.
8689 * math/s_csinhf.c: Likewise.
8690 * math/s_csinhl.c: Likewise.
8691 * math/s_csinl.c: Likewise.
8692 * math/s_csqrt.c: Likewise.
8693 * math/s_csqrtf.c: Likewise.
8694 * math/s_csqrtl.c: Likewise.
8695 * math/s_ctan.c: Likewise.
8696 * math/s_ctanf.c: Likewise.
8697 * math/s_ctanh.c: Likewise.
8698 * math/s_ctanhf.c: Likewise.
8699 * math/s_ctanhl.c: Likewise.
8700 * math/s_ctanl.c: Likewise.
8701 * math/s_ldexp.c: Likewise.
8702 * math/s_ldexpf.c: Likewise.
8703 * math/s_ldexpl.c: Likewise.
8704 * math/s_significand.c: Likewise.
8705 * math/s_significandf.c: Likewise.
8706 * math/s_significandl.c: Likewise.
8707 * math/w_acos.c: Likewise.
8708 * math/w_acosf.c: Likewise.
8709 * math/w_acosh.c: Likewise.
8710 * math/w_acoshf.c: Likewise.
8711 * math/w_acoshl.c: Likewise.
8712 * math/w_acosl.c: Likewise.
8713 * math/w_asin.c: Likewise.
8714 * math/w_asinf.c: Likewise.
8715 * math/w_asinl.c: Likewise.
8716 * math/w_atan2.c: Likewise.
8717 * math/w_atan2f.c: Likewise.
8718 * math/w_atan2l.c: Likewise.
8719 * math/w_atanh.c: Likewise.
8720 * math/w_atanhf.c: Likewise.
8721 * math/w_atanhl.c: Likewise.
8722 * math/w_cosh.c: Likewise.
8723 * math/w_coshf.c: Likewise.
8724 * math/w_coshl.c: Likewise.
8725 * math/w_dremf.c: Likewise.
8726 * math/w_exp10.c: Likewise.
8727 * math/w_exp10f.c: Likewise.
8728 * math/w_exp10l.c: Likewise.
8729 * math/w_exp2.c: Likewise.
8730 * math/w_exp2f.c: Likewise.
8731 * math/w_fmod.c: Likewise.
8732 * math/w_fmodf.c: Likewise.
8733 * math/w_fmodl.c: Likewise.
8734 * math/w_hypot.c: Likewise.
8735 * math/w_hypotf.c: Likewise.
8736 * math/w_hypotl.c: Likewise.
8737 * math/w_j0.c: Likewise.
8738 * math/w_j0f.c: Likewise.
8739 * math/w_j0l.c: Likewise.
8740 * math/w_j1.c: Likewise.
8741 * math/w_j1f.c: Likewise.
8742 * math/w_j1l.c: Likewise.
8743 * math/w_jn.c: Likewise.
8744 * math/w_jnf.c: Likewise.
8745 * math/w_jnl.c: Likewise.
8746 * math/w_lgamma.c: Likewise.
8747 * math/w_lgamma_r.c: Likewise.
8748 * math/w_lgammaf.c: Likewise.
8749 * math/w_lgammaf_r.c: Likewise.
8750 * math/w_lgammal.c: Likewise.
8751 * math/w_lgammal_r.c: Likewise.
8752 * math/w_log.c: Likewise.
8753 * math/w_log10.c: Likewise.
8754 * math/w_log10f.c: Likewise.
8755 * math/w_log10l.c: Likewise.
8756 * math/w_log2.c: Likewise.
8757 * math/w_log2f.c: Likewise.
8758 * math/w_log2l.c: Likewise.
8759 * math/w_logf.c: Likewise.
8760 * math/w_logl.c: Likewise.
8761 * math/w_pow.c: Likewise.
8762 * math/w_powf.c: Likewise.
8763 * math/w_powl.c: Likewise.
8764 * math/w_remainder.c: Likewise.
8765 * math/w_remainderf.c: Likewise.
8766 * math/w_remainderl.c: Likewise.
8767 * math/w_scalb.c: Likewise.
8768 * math/w_scalbf.c: Likewise.
8769 * math/w_scalbl.c: Likewise.
8770 * math/w_sinh.c: Likewise.
8771 * math/w_sinhf.c: Likewise.
8772 * math/w_sinhl.c: Likewise.
8773 * math/w_sqrt.c: Likewise.
8774 * math/w_sqrtf.c: Likewise.
8775 * math/w_sqrtl.c: Likewise.
8776 * math/w_tgamma.c: Likewise.
8777 * math/w_tgammaf.c: Likewise.
8778 * math/w_tgammal.c: Likewise.
8779
6a621eb7
UD
8780 * po/ja.po: Update from translation team.
8781
bf582445
AJ
87822011-09-29 Andreas Jaeger <aj@suse.de>
8783
f9efbf3a
AJ
8784 [BZ #13179]
8785 * sunrpc/netname.c (netname2host): Fix logic.
8786
bf582445
AJ
8787 [BZ #6779]
8788 [BZ #6783]
8789 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8790 correctly.
8791 * math/w_remainder.c (__remainder): Likewise.
8792 * math/w_remainderf.c (__remainderf): Likewise.
8793 * math/libm-test.inc (remainder_test): Add test cases.
8794
48693bea
AK
87952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8796
8797 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8798 sdiv_qrnnd.
8799
42622229
LD
88002011-10-07 Ulrich Drepper <drepper@gmail.com>
8801
8802 * string/test-memcmp.c: Avoid unncessary #defines.
8803 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8804
093ecf92
LD
88052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8806
8807 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8808 Use new sse2 version for core i3 - i7 as it's faster
8809 than sse42 version.
8810 (bit_Prefer_PMINUB_for_stringop): New.
8811 * sysdeps/x86_64/rawmemchr.S: Update.
8812 Replace with faster SSE2 version.
8813 * sysdeps/x86_64/memrchr.S: New file.
8814 * sysdeps/x86_64/memchr.S: Update.
8815 Replace with faster SSE2 version.
8816
fde56e5c
MP
88172011-09-12 Marek Polacek <mpolacek@redhat.com>
8818
8819 * elf/dl-load.c (lose): Add cast to avoid warning.
8820
21fd49a9
UD
88212011-10-07 Ulrich Drepper <drepper@gmail.com>
8822
5a06e643
UD
8823 * po/ca.po: Update from translation team.
8824
684ae515
UD
8825 * inet/getnetgrent_r.c: Hook up nscd.
8826 * nscd/Makefile (routines): Add nscd_netgroup.
8827 (nscd-modules): Add netgroupcache.
8828 (CFLAGS-netgroupcache.c): Define.
8829 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8830 (cache_search): Add const to second parameter.
8831 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8832 INNETGR.
8833 (dbs): Add netgrdb entry.
8834 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8835 (verify_persistent_db): Handle netgrdb.
8836 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8837 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8838 GETFDNETGR.
8839 (netgroup_response_header): Define.
8840 (innetgroup_response_header): Define.
8841 (datahead): Add netgroup_response_header and innetgroup_response_header
8842 elements.
8843 * nscd/nscd.conf: Add entries for netgroup cache.
8844 * nscd/nscd.h (dbtype): Add netgrdb.
8845 (_PATH_NSCD_NETGROUP_DB): Define.
8846 (netgroup_iov_disabled): Declare.
8847 (xmalloc, xcalloc, xrealloc): Move declarations here.
8848 (cache_search): Adjust prototype.
8849 Add netgroup-related prototypes.
8850 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8851 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8852 (__nscd_innetgr): Declare.
8853 * nscd/selinux.c (perms): Use access_vector_t as element type and
8854 add netgroup-related initializers.
8855 * nscd/netgroupcache.c: New file.
8856 * nscd/nscd_netgroup.c: New file.
8857 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8858 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8859 For four parameters use innetgr.
8860 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8861 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8862 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8863 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8864
21fd49a9
UD
8865 * nscd/connections.c (register_traced_file): Don't register file
8866 for disabled databases.
8867
054c0457
UD
88682011-10-06 Ulrich Drepper <drepper@gmail.com>
8869
32b63198
UD
8870 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8871
054c0457
UD
8872 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8873 from tree and freeing node.
8874
64031225
JO
88752011-09-25 Jiri Olsa <jolsa@redhat.com>
8876
8877 * nss/nsswitch.c (__nss_database_lookup): Handle
8878 nss_parse_service_list out of memory case.
8879
0490345c
JO
88802011-09-15 Jiri Olsa <jolsa@redhat.com>
8881
8882 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8883 out of memory case.
8884
3a62d00d
AS
88852011-10-04 Andreas Schwab <schwab@redhat.com>
8886
8887 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8888 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8889 pass it down.
8890 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8891 elf_machine_rela, elf_machine_lazy_rel.
8892 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8893 (ELF_DYNAMIC_DO_REL): Likewise.
8894 (ELF_DYNAMIC_DO_RELA): Likewise.
8895 (ELF_DYNAMIC_RELOCATE): Likewise.
8896 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8897 to ELF_DYNAMIC_DO_REL.
8898 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8899 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8900 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8901 elf_machine_rela.
8902 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8903 skip_ifunc, don't call ifunc function if non-zero.
8904 (elf_machine_rela): Likewise.
8905 (elf_machine_lazy_rel): Likewise.
8906 (elf_machine_lazy_rela): Likewise.
8907 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8908 (elf_machine_lazy_rel): Likewise.
8909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8910 Likewise.
8911 (elf_machine_lazy_rel): Likewise.
8912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8913 Likewise.
8914 (elf_machine_lazy_rel): Likewise.
8915 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8916 (elf_machine_lazy_rel): Likewise.
8917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8918 (elf_machine_lazy_rel): Likewise.
8919 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8920 (elf_machine_lazy_rel): Likewise.
8921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8922 (elf_machine_lazy_rel): Likewise.
8923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8924 (elf_machine_lazy_rel): Likewise.
8925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8926 (elf_machine_lazy_rel): Likewise.
8927
68577918
UD
89282011-09-28 Ulrich Drepper <drepper@gmail.com>
8929
8930 * nss/nss_files/files-init.c (_nss_files_init): Use static
8931 initialization for all the *_traced_file variables.
8932
68822d74
AS
89332011-09-28 Andreas Schwab <schwab@redhat.com>
8934
8935 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8936
2056100b
RM
89372011-09-27 Roland McGrath <roland@hack.frob.com>
8938
8939 [BZ #13226]
8940 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8941
32c76b63
AS
89422011-09-27 Andreas Schwab <schwab@redhat.com>
8943
8944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8945 Reread the line before reparsing it.
8946
bf972c9d
AS
89472011-09-26 Andreas Schwab <schwab@redhat.com>
8948
8949 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8950
e057a1b5
JM
89512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8952 Maxim Kuvyrkov <maxim@codesourcery.com>
8953 Joseph Myers <joseph@codesourcery.com>
8954
8955 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8956 if needed for __stack_chk_guard.
8957
bc7e1c36
RM
89582011-09-19 Roland McGrath <roland@hack.frob.com>
8959
ecb1482f
RM
8960 * sysdeps/posix/spawni.c (script_execute): Always define it.
8961 It will be optimized away if unused.
8962 (maybe_script_execute): New function.
8963 (__spawni): Call it.
8964
bc7e1c36
RM
8965 * Makerules: Don't include tls.make.
8966 (config-tls): Always set to thread.
8967 * tls.make.c: File removed.
8968
1c3b002b
MF
89692011-09-19 Mike Frysinger <vapier@gentoo.org>
8970
8971 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8972 * config.make.in (CPPFLAGS-config): New substituted variable.
8973
2840865d
UD
89742011-09-15 Ulrich Drepper <drepper@gmail.com>
8975
88738eb6
UD
8976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8977
cbf645a6 8978 [BZ #13192]
2840865d
UD
8979 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8980 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8981
b402e91a
RM
89822011-09-15 Roland McGrath <roland@hack.frob.com>
8983
8984 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8985 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8987 (CALL_FAIL): Likewise.
8988 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8989 (CALL_FAIL): Macro removed.
8990 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8991
4c1a1f71
UD
89922011-09-15 Ulrich Drepper <drepper@gmail.com>
8993
8994 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8995 for __FINITE_MATH_ONLY__ == 1.
8996
edc121be
AS
89972011-09-15 Andreas Schwab <schwab@redhat.com>
8998
8999 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9000 __ieee754_sqrt instead of sqrt.
9001 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9002 __ieee754_sqrtf instead of sqrtf.
9003 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9004 __floorf instead of floorf.
9005 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9006 __floorf, __truncf instead of floorf, truncf.
9007
cd205654
UD
90082011-09-14 Ulrich Drepper <drepper@gmail.com>
9009
ee4d0315
UD
9010 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9011
cd205654
UD
9012 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9013 __extern_always_inline.
9014 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9015 32-bit.
9016
48b67d71
AS
90172011-09-14 Andreas Schwab <schwab@redhat.com>
9018
9019 * elf/rtld.c (dl_main): Also relocate in dependency order when
9020 doing symbol dependency testing.
9021
1ae12c75
AS
90222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9023
9024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9025 Always define `refsym'.
9026
995a80df
AS
90272011-09-13 Andreas Schwab <schwab@redhat.com>
9028
e529793b
AS
9029 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9030 (__FD_ELT): Renamed from __FDELT.
9031 * misc/bits/select2.h (__FD_ELT): Likewise.
9032 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9033 __FD_MASK instead of __FDELT, __FDMASK.
9034 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9035 Likewise.
9036 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9037 Likewise.
9038
52d4fef8
AS
9039 * elf/Makefile (gen-ldd): Fix pattern.
9040
995a80df
AS
9041 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9042 (init_tls): Likewise.
9043
8682f8b0
UD
90442011-09-12 Ulrich Drepper <drepper@gmail.com>
9045
9046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9047
de82006d
AS
90482011-09-12 Andreas Schwab <schwab@redhat.com>
9049
a7c8e6a1
AS
9050 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9051 `struct cmsghdr *' instead of `void *'.
9052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9053 Likewise.
9054
0f31fe77
AS
90552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9056
9057 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9058 if non-absolute.
9059 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9060 ldd_rewrite_script.
0f31fe77 9061
32b4c839
UD
90622011-09-11 Ulrich Drepper <drepper@gmail.com>
9063
83cd1420
UD
9064 * configure.in: Remove --with-tls option.
9065 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9066 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9067 out in case it is missing.
9068 * sysdeps/ia64/elf/configure.in: Likewise.
9069 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9070 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9071 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9072 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9073 * sysdeps/sh/elf/configure.in: Likewise.
9074 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9076 * sysdeps/x86_64/elf/configure.in: Likewise.
9077 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9078 * sysdeps/mach/hurd/tls.h: Likewise.
9079
633f745d
UD
9080 [BZ #13067]
9081 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9082
f318beb8
UD
9083 [BZ #13090]
9084 * configure.in: Fix use of AC_INIT.
9085
32b4c839
UD
9086 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9087
3ce1f295
UD
90882011-09-10 Ulrich Drepper <drepper@gmail.com>
9089
bb016596
UD
9090 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9091 __set_errno.
8e58439c
UD
9092 * malloc/hooks.c: Likewise.
9093
aebae053 9094 [BZ #11929]
02d46fc4
UD
9095 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9096 variables statically.
9097 (narenas): Initialize.
9098 (list_lock): Initialize.
bb016596
UD
9099 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9100 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9101 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9102 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9103 Add initializers to main_arena and mp_.
9104 (malloc_state): Remove pagesize member. Change all users to use
9105 GLRO(dl_pagesize).
9106
9107 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9108 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9109 is always initialized.
9110
22a89187
UD
9111 * malloc/malloc.c: Removed unused configurations and dead code.
9112 * malloc/arena.c: Likewise.
9113 * malloc/hooks.c: Likewise.
02d46fc4 9114 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9115
d063d164
UD
9116 * include/tls.h: Removed. USE___THREAD must always be defined.
9117 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9118 * elf/dl-libc.c: Likewise.
9119 * elf/dl-tsd.c: Likewise.
9120 * include/errno.h: Likewise.
9121 * include/netdb.h: Likewise.
9122 * include/resolv.h: Likewise.
9123 * inet/herrno-loc.c: Likewise.
9124 * inet/herrno.c: Likewise.
9125 * malloc/arena.c: Likewise.
9126 * malloc/hooks.c: Likewise.
9127 * malloc/malloc.c: Likewise.
9128 * resolv/res-state.c: Likewise.
9129 * resolv/res_libc.c: Likewise.
9130 * sysdeps/i386/dl-machine.h: Likewise.
9131 * sysdeps/ia64/dl-machine.h: Likewise.
9132 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9133 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9134 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9135 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9136 * sysdeps/sh/dl-machine.h: Likewise.
9137 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9138 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9139 * sysdeps/unix/i386/sysdep.S: Likewise.
9140 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9141 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9146 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9151 * sysdeps/x86_64/dl-machine.h: Likewise.
9152 * tls.make.c: Likewise.
9153
3ce1f295
UD
9154 * configure.in: Remove --with-__thread option. Make tests for
9155 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9156 tls_model attribute fail if no support is available. Remove
9157 USE_IN_LIBIO.
9158 * Makeconfig: Adjust for dropped configure option. All features are
9159 now mandatory.
9160 * Makerules: Likewise.
9161 * Versions.def: Likewise.
9162 * argp/argp-fmtstream.c: Likewise.
9163 * argp/argp-fmtstream.h: Likewise.
9164 * argp/argp-help.c: Likewise.
9165 * assert/assert.c: Likewise.
9166 * config.h.in: Likewise.
9167 * config.make.in: Likewise.
9168 * configure: Likewise.
9169 * configure.in: Likewise.
9170 * csu/Versions: Likewise.
9171 * csu/init.c: Likewise.
9172 * elf/tst-audit2.c: Likewise.
9173 * elf/tst-tls10.c: Likewise.
9174 * elf/tst-tls10.h: Likewise.
9175 * elf/tst-tls11.c: Likewise.
9176 * elf/tst-tls12.c: Likewise.
9177 * elf/tst-tls14.c: Likewise.
9178 * elf/tst-tlsmod11.c: Likewise.
9179 * elf/tst-tlsmod12.c: Likewise.
9180 * elf/tst-tlsmod13.c: Likewise.
9181 * elf/tst-tlsmod13a.c: Likewise.
9182 * elf/tst-tlsmod14a.c: Likewise.
9183 * elf/tst-tlsmod15b.c: Likewise.
9184 * elf/tst-tlsmod16a.c: Likewise.
9185 * elf/tst-tlsmod16b.c: Likewise.
9186 * elf/tst-tlsmod7.c: Likewise.
9187 * elf/tst-tlsmod8.c: Likewise.
9188 * elf/tst-tlsmod9.c: Likewise.
9189 * gmon/gmon.c: Likewise.
9190 * grp/fgetgrent_r.c: Likewise.
9191 * grp/putgrent.c: Likewise.
9192 * hurd/fopenport.c: Likewise.
9193 * include/libc-symbols.h: Likewise.
9194 * include/tls.h: Likewise.
9195 * intl/gettextP.h: Likewise.
9196 * intl/loadinfo.h: Likewise.
9197 * locale/global-locale.c: Likewise.
9198 * locale/localeinfo.h: Likewise.
9199 * mach/devstream.c: Likewise.
9200 * malloc/arena.c: Likewise.
9201 * malloc/set-freeres.c: Likewise.
9202 * misc/err.c: Likewise.
9203 * misc/getttyent.c: Likewise.
9204 * misc/mntent_r.c: Likewise.
9205 * posix/getopt.c: Likewise.
9206 * posix/wordexp.c: Likewise.
9207 * pwd/fgetpwent_r.c: Likewise.
9208 * resolv/Versions: Likewise.
9209 * resolv/res_hconf.c: Likewise.
9210 * shadow/fgetspent_r.c: Likewise.
9211 * shadow/putspent.c: Likewise.
9212 * stdio-common/printf_fphex.c: Likewise.
9213 * stdio-common/tmpfile.c: Likewise.
9214 * stdlib/abort.c: Likewise.
9215 * stdlib/fmtmsg.c: Likewise.
9216 * sunrpc/auth_unix.c: Likewise.
9217 * sunrpc/clnt_perr.c: Likewise.
9218 * sunrpc/clnt_tcp.c: Likewise.
9219 * sunrpc/clnt_udp.c: Likewise.
9220 * sunrpc/clnt_unix.c: Likewise.
9221 * sunrpc/openchild.c: Likewise.
9222 * sunrpc/svc_simple.c: Likewise.
9223 * sunrpc/svc_tcp.c: Likewise.
9224 * sunrpc/svc_udp.c: Likewise.
9225 * sunrpc/svc_unix.c: Likewise.
9226 * sunrpc/xdr.c: Likewise.
9227 * sunrpc/xdr_array.c: Likewise.
9228 * sunrpc/xdr_rec.c: Likewise.
9229 * sunrpc/xdr_ref.c: Likewise.
9230 * sunrpc/xdr_stdio.c: Likewise.
9231
1248c1c4
PB
92322011-09-09 Ulrich Drepper <drepper@gmail.com>
9233
9234 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9235
92362011-07-03 Andreas Jaeger <aj@suse.de>
9237
9238 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9240 regenerate with gen-libm-tests.pl.
9241
92422010-05-12 Petr Baudis <pasky@suse.cz>
9243
9244 [BZ #11589]
9245 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9246 around j0() zero points by switching to j1().
9247 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9251
f22e1074
UD
92522011-09-09 Ulrich Drepper <drepper@gmail.com>
9253
f19009c1
UD
9254 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9255 instead of 0.
9256 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9257 instead of 0. .
9258 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9259 Patch in part by Pavel Roskin <proski@gnu.org>.
9260
3f8cc204
UD
9261 [BZ #13138]
9262 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9263 realloc.
9264 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9265 Free memory block if necessary.
9266
f22e1074
UD
9267 [BZ #12847]
9268 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9269 be NULL. Don't lock in this case.
9270
0a2349f9
RM
92712011-09-09 Roland McGrath <roland@hack.frob.com>
9272
9273 * elf/elf.h (ELFOSABI_GNU): New macro.
9274 (ELFOSABI_LINUX): Define to that.
9275
f3cdd467
DZ
92762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9277
9278 * string/strncat.c (strncat): Undef the symbol in case it has been
9279 defined in bits/string.h.
9280
74718d13
UD
92812011-09-09 Ulrich Drepper <drepper@gmail.com>
9282
633e9e0f
UD
9283 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9284
0a2349f9 9285 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9286 link map.
9287
f9924780
AJ
92882011-08-17 Andreas Jaeger <aj@suse.de>
9289
9290 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9291
7f5517aa
PP
92922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9293 Ian Lance Taylor <iant@google.com>
9294
9295 * math/libm-test.inc (lround_test): New testcase.
9296 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9297
762011fe
UD
92982011-09-08 Ulrich Drepper <drepper@gmail.com>
9299
92963737
UD
9300 * Makefile: Remove support for automatic cvs check-ins.
9301 * Makerules: Likewise.
9302 * config.make.in: Likewise.
9303 * configure.in: Likewise.
9304 * intl/Makefile: Likewise.
9305 * locale/Makefile: Likewise.
9306 * po/Makefile: Likewise.
9307 * posix/Makefile: Likewise.
9308 * sysdeps/gnu/Makefile: Likewise.
9309 * sysdeps/mach/hurd/Makefile: Likewise.
9310 * sysdeps/sparc/sparc32/Makefile: Likewise.
9311
b0727fd8
JS
9312 [BZ #13118]
9313 * posix/Makefile (bug-regex32-ENV): Define.
9314 Patch by John Stanley <jpsinthemix@verizon.net>.
9315
a0f33f99
UD
9316 * misc/Makefile (headers): Add bits/select2.h.
9317 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9318 * misc/bits/select2.h: New file.
9319 * include/bits/select2.h: New file.
9320 * debug/Makefile (routines): Add fdelt_chk.
9321 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9322 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9323 FD_ISSET.
9324 * debug/fdelt_chk.c: New file.
9325
762011fe
UD
9326 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9327 * wcsmbs/test-wmemcmp.c: Likewise.
9328 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9329 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9330
93312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9332
9333 * string/Makefile (strop-tests): Add memcmp.
9334 * string/test-wmemcmp.c: New file.
9335 * string/test-memcmp.c: Add wmemcmp support.
9336
7f513ec8
RM
93372011-09-08 Roland McGrath <roland@hack.frob.com>
9338
0442afb4
RM
9339 [BZ #13153]
9340 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9341 2011-07-19 change.
9342
7f513ec8
RM
9343 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9344 garbage value in a __mach_port_mod_refs call in the cases of the
9345 task-self and thread-self ports.
9346
a12b2239
ST
93472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9348
9349 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9350
610f9ab4
AS
93512011-09-08 Andreas Schwab <schwab@redhat.com>
9352
7f513ec8 9353 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9354
48882a1a
LD
93552011-09-07 Ulrich Drepper <drepper@gmail.com>
9356
b49865be
UD
9357 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9358
fdc86bc9
UD
9359 * elf/dl-libc.c (dlerror_run): Pass back error code from
9360 dl_catch_error.
9361
c966526a
UD
9362 [BZ #13123]
9363 * elf/dl-load.c (lose): Free l_origin if it is valid.
9364
48882a1a
LD
9365 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9366 names.
9367 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9372 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9373
77a2a8b4
AZ
93742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9375
9376 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9377 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9378 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9379 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9380 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9381 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9382 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9383 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9384 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9385 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9386
24f579d8
AM
93872011-08-15 Alan Modra <amodra@gmail.com>
9388
9389 [BZ #13092]
9390 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9391 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9392 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9393 ppc_mcount to static-only-routines.
9394 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9395 __mcount_internal.
9396 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9397 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9398
3d4837df
UD
93992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9400
9401 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9402 for finite and infinity parameters.
9403
22700377
WS
94042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9405
9406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9407 and add nop instructions for throughput optimization.
9408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9409
5025581e
WS
94102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9411
9412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9413 aligned copy for power7 with vector-scalar instructions.
9414 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9415
08a300c9
L
94162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9419 AVX check.
9420
59178ef9
AS
94212011-09-07 Andreas Schwab <schwab@redhat.com>
9422
9423 [BZ #13144]
9424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9425 last change.
9426
e38ba7ab
UD
94272011-09-07 Ulrich Drepper <drepper@gmail.com>
9428
9429 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9430 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9431 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9432 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9433 clock_gettime.
9434
d53a73ac
UD
94352011-09-06 Ulrich Drepper <drepper@gmail.com>
9436
fc8bffcc
UD
9437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9438 Forgot to demangle the pointer.
9439
ceaa0c5d
UD
9440 * sysdeps/i386/sysdep.h: Define atom_text_section.
9441 * sysdeps/x86_64/sysdep.h: Likewise.
9442 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9443 section with atom_text_section.
9444 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9446 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9448 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9449
a77d3c17
UD
9450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9451 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9452 already be defined. Change to take two parameters and don't assign
9453 result to variable. Adjust all users.
9454 Define INTERNAL_GETTIME if not already defined.
9455 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9456 call.
9457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9458 HAVE_CLOCK_GETTIME_VSYSCALL.
9459 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9460
d53a73ac
UD
9461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9462 gettimeofday vsyscall, just use time.
9463
a8f84144
AS
94642011-09-06 Andreas Schwab <schwab@redhat.com>
9465
9466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9467 <errno.h>.
9468
ef606249
UD
94692011-09-06 Ulrich Drepper <drepper@gmail.com>
9470
9471 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9472 syscall on x86-64.
9473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9474 syscall.
9475 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9477 syscall if possible.
9478
6585cb60
UD
94792011-09-05 Ulrich Drepper <drepper@gmail.com>
9480
9481 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9482 e_ident. Don't pass to find_mapsXX.
9483 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9484
a5f524e4
LD
94852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9486
9487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9488 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9489 * sysdeps/x86_64/multiarch/strchr.S: Update.
9490 Check bit_slow_BSF bit.
9491 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9492 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9493 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9494
554881ef
UD
94952011-09-05 Ulrich Drepper <drepper@gmail.com>
9496
d96de963
UD
9497 [BZ #13134]
9498 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9499 before glibc 2.15.
9500 (tryshell): Define.
9501 (__spawni): Change last parameter to be flag. Test
9502 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9503 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9504 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9505 * posix/spawni.c: Likewise.
9506 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9507 * posix/spawnp.c: Likewise. Change normal version to use
9508 SPAWN_XFLAGS_USE_PATH.
9509 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9510 SPAWN_XFLAGS_TRY_SHELL.
9511
d48e5868
UD
9512 [BZ #13150]
9513 * posix/glob.h: Remove gcc 1.x support.
9514
554881ef
UD
9515 [BZ #13068]
9516 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9517
693fb948
LD
95182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9519
9520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9521 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9522 strrchr-sse2-bsf
9523 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9524 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9525 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9527 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9528 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9529
1b48c537
UD
95302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9531
49d42c37
UD
9532 * sysdeps/x86_64/wcscmp.S: New file.
9533
1b48c537
UD
9534 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9535 wcscmp-c wcscmp-sse2
9536 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9537 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9538 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9539 * wcsmbs/wcscmp.c: Allow renaming.
9540
15c95c5d
DM
95412011-09-05 David S. Miller <davem@davemloft.net>
9542
9543 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9544 stack slot, rather than the struct return pointer slot.
9545 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9546 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9549
2f0ad8f3
UD
95502011-09-05 Ulrich Drepper <drepper@gmail.com>
9551
d88ae418
UD
9552 * po/ja.po: Update from translation team.
9553
2f0ad8f3
UD
9554 [BZ #13144]
9555 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9556 kernel in 64-bit binaries.
9557
5f4318d1
DM
95582011-09-01 David S. Miller <davem@davemloft.net>
9559
9560 * elf/elf.h (HWCAP_SPARC_*): Move to..
9561 * sysdeps/sparc/sysdep.h: this new file and add new values.
9562 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9563 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9564 _DL_HWCAP_COUNT to 24.
9565 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9566 entries.
9567 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9568 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9569 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9571 instead of magic constants.
9572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9573
3ba57516
DM
95742011-08-31 David S. Miller <davem@davemloft.net>
9575
9576 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9578 Reimplement to do errno handling inline.
9579 (SYSCALL_ERROR_HANDLER): New macro.
9580 (__SYSCALL_STRING): Do not do errno handling in asm.
9581 (__CLONE_SYSCALL_STRING): Delete.
9582 (__INTERNAL_SYSCALL_STRING): Delete.
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9584 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9585 (PSEUDO): Reimplement to do errno handling inline.
9586 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9587 (SYSCALL_ERROR_HANDLER): New macro.
9588 (__SYSCALL_STRING): Do not do errno handling in asm.
9589 (__CLONE_SYSCALL_STRING): Delete.
9590 (__INTERNAL_SYSCALL_STRING): Delete.
9591 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9592 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9593 i386.
9594 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9595 (inline_syscall*): Add 'err' argument.
9596 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9597 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9598 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9599 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9600
9601 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9602 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9603
2bc17433
AS
96042011-08-30 Andreas Schwab <schwab@redhat.com>
9605
9606 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9607
fbeb5f4d
JO
96082011-08-29 Jiri Olsa <jolsa@redhat.com>
9609
9610 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9611 directive.
9612
ad69cc26
DM
96132011-08-24 David S. Miller <davem@davemloft.net>
9614
9615 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9616
39dd69df
AS
96172011-08-24 Andreas Schwab <schwab@redhat.com>
9618
9619 * elf/Makefile: Add rules to build and run unload8 test.
9620 * elf/unload8.c: New file.
9621 * elf/unload8mod1.c: New file.
9622 * elf/unload8mod1x.c: New file.
9623 * elf/unload8mod2.c: New file.
9624 * elf/unload8mod3.c: New file.
9625
9626 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9627 it wasn't used.
9628
2c0b250a
DM
96292011-08-23 David S. Miller <davem@davemloft.net>
9630
9631 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9632 subtract stack bias.
9633 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9634 %sp not %fp in calculations.
9635 (_JMPBUF_UNWINDS_ADJ): Likewise.
9636
22044b48
DM
9637 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9638 (aio_suspend): Call it to force an exception region around the
9639 AIO_MISC_WAIT() invocation.
9640
2cae4995
AS
96412011-08-23 Andreas Schwab <schwab@redhat.com>
9642
9643 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9644 backslash.
9645
873a772e
AJ
96462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9647
9648 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9649 protection macro.
9650 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9651 and <dl-machine.h>.
9652 (Elf64_FuncDesc): Remove.
9653
25ad0df1
DM
96542011-08-22 David S. Miller <davem@davemloft.net>
9655
9656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9657 sigaltstack check, add missing cfi directives.
9658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9659 missing cfi directives, and sigaltstack handling.
9660
e888bcbe
AS
96612011-08-16 Andreas Schwab <schwab@redhat.com>
9662
9663 [BZ #11724]
9664 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9665 object is seen twice.
9666 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9667
9668 * elf/Makefile (distribute): Add tst-initorder2.c.
9669 (tests): Add tst-initorder2.
9670 (modules-names): Add tst-initorder2a tst-initorder2b
9671 tst-initorder2c tst-initorder2d. Add rules to build them.
9672 ($(objpfx)tst-initorder2.out): New rule.
9673 * elf/tst-initorder2.c: New file.
9674 * elf/tst-initorder2.exp: New file.
9675
87162f46
AS
96762011-08-22 Andreas Schwab <schwab@redhat.com>
9677
70538b7f
AS
9678 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9679
f55ffe58
AS
9680 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9681 dependencies back to end of function.
9682
87162f46
AS
9683 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9684 $(elfobjdir)/ld.so.
9685
91b392a4
UD
96862011-08-21 Ulrich Drepper <drepper@gmail.com>
9687
9688 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9689 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9691 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9692 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9693 of __vdso_gettimeofday.
9694 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9695 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9696 attribute_hidden.
9697 (_libc_vdso_platform_setup): Remove initialization of
9698 __vdso_gettimeofday and __vdso_time.
9699
5c43483f
UD
97002011-08-20 Ulrich Drepper <drepper@gmail.com>
9701
775a77e7
UD
9702 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9703 and fgetc_unlocked.
9704 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9705 getc_unlocked.
89f447ed 9706
49c74ba9
UD
9707 * elf/dl-open.c (add_to_global): Report additions to the global scope
9708 for LD_DEBUG=scopes.
9709 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9710 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9711
5c43483f
UD
9712 [BZ #13114]
9713 * stdio-common/Makefile (tests): Add bug24.
9714 * stdio-common/bug24.c: New file.
9715
a101b025
AJ
97162011-08-19 Andreas Jaeger <aj@suse.de>
9717
9718 [BZ #13114]
9719 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9720 non-existant file when using close-on-exec mode.
9721
c88f1766
UD
97222011-08-20 Ulrich Drepper <drepper@gmail.com>
9723
0276a718
UD
9724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9725 the very first instruction.
9726
c88f1766
UD
9727 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9728 the CFI state in the end.
9729 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9730 inclusion of dl-trampoline.h.
9731 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9732
51ccffa0
AS
97332011-08-19 Andreas Schwab <schwab@redhat.com>
9734
94d7165f
AS
9735 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9736 expectations for long double.
9737
51ccffa0
AS
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9739 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9740
fd708658 97412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9742
9743 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9744 artificual limit depends upon the system page size.
9745
44f0a71e
UD
97462011-08-17 Ulrich Drepper <drepper@gmail.com>
9747
9748 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9749 * resolv/Makefile: Define CFLAGS-libresolv.
9750
8de79a24
AS
97512011-08-17 Andreas Schwab <schwab@redhat.com>
9752
9753 * nss/makedb.c (compute_tables): Make variables used in nested
9754 function static.
9755
27724598
UD
97562011-08-17 Ulrich Drepper <drepper@gmail.com>
9757
c5305d88
UD
9758 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9759 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9760 if buffer was too small.
9761
27724598
UD
9762 * elf/pldd.c (main): Attach to all threads in the process.
9763 Rewrite /proc handling to use *at functions.
9764
076fe015
UD
97652011-08-16 Ulrich Drepper <drepper@gmail.com>
9766
174baab3
UD
9767 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9768 specifies first scope to show.
9769 (dl_open_worker): Update callers. Move printing scope of new
9770 object to before the relocation.
44f0a71e 9771 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9772 * sysdeps/generic/ldsodefs.h: Update declaration.
9773
076fe015
UD
9774 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9775 string for the scope number.
9776
a60df2c3
UD
97772011-08-14 Ulrich Drepper <drepper@gmail.com>
9778
9779 * nscd/servicescache.c (cache_addserv): Make sure written is always
9780 initialized.
9781
5e4287d1
RM
97822011-08-14 Roland McGrath <roland@hack.frob.com>
9783
85ae0589
RM
9784 * sysdeps/i386/i486/bits/atomic.h
9785 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9786 statement expression, so as to suppress "set but not used" warning.
9787 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9788
69f63097
RM
9789 * string/strncat.c (STRNCAT): Use prototype definition.
9790
675456ef
RM
9791 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9792 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9793 -Iprograms here.
9794 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9795 (localedef-modules): Add localedef.
9796 (locale-modules): Add locale.
9797
5e4287d1
RM
9798 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9799 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9800 to avoid a warning.
9801
9c96ff23
DM
98022011-08-14 David S. Miller <davem@davemloft.net>
9803
9804 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9805 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9806
f9ddf089
UD
98072011-08-13 Ulrich Drepper <drepper@gmail.com>
9808
44f0a71e 9809 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9810 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9811 * elf/rtld.c (dl_main): Set l_name of vDSO.
9812 Call _dl_show_scope when DL_DEBUG_SCOPES.
9813 (process_dl_debug): Recognize scopes flag and also set it for all.
9814 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9815 Declare _dl_show_scope.
9816
1dc27704
UD
9817 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9818 (do_dlopen): Pass caller_dlopen to dl_open.
9819 (__libc_dlopen_mode): Initialize caller_dlopen.
9820
f9ddf089
UD
9821 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9822 of libc. Make tolower call locale-independent. Optimize a bit by
9823 using isdigit instead of isalnum.
9824 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9825
9ac533d3
UD
98262011-08-12 Ulrich Drepper <drepper@gmail.com>
9827
9828 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9829 was a dependency or dynamically loaded.
9830
89edf2e9
UD
98312011-08-11 Ulrich Drepper <drepper@gmail.com>
9832
8e999d29
UD
9833 * intl/l10nflist.c: Allow architecture-specific pop function.
9834 * sysdeps/x86_64/l10nflist.c: New file.
9835
89edf2e9
UD
9836 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9837 classification.
9838
14d96785
AS
98392011-08-10 Andreas Schwab <schwab@redhat.com>
9840
9841 * include/dirent.h: Add libc_hidden_proto for scandirat and
9842 scandirat64. Don't declare __scandirat64.
9843 * dirent/scandirat.c: Add libc_hidden_def.
9844 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9845 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9846
6761ac04
DM
98472011-08-10 David S. Miller <davem@davemloft.net>
9848
9849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9850 enum.
9851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9854
c55fbd1e
UD
98552011-08-09 Ulrich Drepper <drepper@gmail.com>
9856
9857 * Versions.def [libc]: Add GLIBC_2.15.
9858 * dirent/Makefile (routines): Add scandirat and scandirat64.
9859 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9860 GLIBC_2.15.
9861 * dirent/dirent.h: Declare scandirat and scandirat64.
9862 * dirent/scandirat.c: New file.
9863 * dirent/scandirat64.c: New file.
9864 * sysdeps/wordsize-64/scandirat.c: New file.
9865 * sysdeps/wordsize-64/scandirat64.c: New file.
9866 * dirent/opendir.c: Define opendirat.
9867 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9868 using scandirat.
9869 * dirent/scandir64.c: Adjust for scandir.c change.
9870 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9871 __scandirat64, and __scandir_cancel_handler.
9872 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9873 additional parameter and use openat instead of open (outside of ld.so).
9874 Add new __opendir as wrapper around __opendirat.
9875 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9876 here without requiring old scandirat implementation.
9877
879165f2
UD
98782011-08-08 Ulrich Drepper <drepper@gmail.com>
9879
9880 * dirent/scandir.c (cancel_handler): Renamed to
9881 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9882 defined. Adjust users.
9883 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9884 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9885
cb7e923b
UD
98862011-08-04 Ulrich Drepper <drepper@gmail.com>
9887
16292edd
UD
9888 * string/test-string.h (IMPL): Use __STRING to expand name and then
9889 stringify it.
9890
cb7e923b
UD
9891 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9892 of cleanups.
9893
cff82933
LD
98942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9895
9896 * string/Makefile: Update.
9897 (strop-tests): Append strncat.
9898 * string/test-wcscmp.c: New file.
9899 New comprehensive test for wcscmp.
9900 * string/test-strcmp.c: Update.
9901 (WIDE): New define.
9902
9be9bfcc
AS
99032011-07-22 Andreas Schwab <schwab@redhat.com>
9904
9905 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9906 line.
9907
2e96f1c7
AS
99082011-07-26 Andreas Schwab <schwab@redhat.com>
9909
9910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9911 encoding to ACE if AI_IDN.
9912
85188888
JJ
99132011-08-01 Jakub Jelinek <jakub@redhat.com>
9914
9915 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9916 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9917
5fa16e9b
LD
99182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9919
9920 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9921 Fix overflow bug in strncat.
9922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9923
9924 * string/test-strncat.c: Update.
9925 Add new tests for checking overflow bugs.
9926
99272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9928
9929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9930 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9931 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9932 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9934 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9935 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9936 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9937 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9938
9939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9940 (USE_AS_STRCAT): Define.
9941 Add strcat and strncat support.
9942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9943
8c1a459f
AS
99442011-07-25 Andreas Schwab <schwab@redhat.com>
9945
9946 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9947 __n bigger than INT_MAX+1.
9948 (__strncmp_g): Likewise.
9949
bba33c28
UD
99502011-07-23 Ulrich Drepper <drepper@gmail.com>
9951
798be72d
UD
9952 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9953 * libio/stido.h: Likewise.
9954
8accd4dc
UD
9955 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9956 (AF_NFC): Define.
9957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9958 (AF_NFC): Define.
9959
cbff0d96
UD
9960 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9963 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9964 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9965
9191c04a
UD
9966 [BZ #13021]
9967 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9968 installed.
9969
bba33c28
UD
9970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9971 typo.
9972 (_dl_x86_64_save_sse): Likewise.
9973
90f139dd
UD
99742011-07-22 Ulrich Drepper <drepper@gmail.com>
9975
1aae088a
UD
9976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9977 OSXSAVE.
9978 (_dl_x86_64_save_sse): Likewise.
9979
8e2045f5
UD
9980 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9981
90f139dd
UD
9982 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9983
1d002f25
AS
99842011-07-21 Andreas Schwab <schwab@redhat.com>
9985
9986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9987 change.
9988 (_dl_x86_64_save_sse): Use correct AVX check.
9989
21137f89
UD
99902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9991
9992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9993 bug in strncpy/strncat.
9994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9995
a65c0b7a
UD
99962011-07-21 Ulrich Drepper <drepper@gmail.com>
9997
9998 * string/tester.c (test_strcat): Add tests for different alignments
9999 of source and destination.
10000 (test_strncat): Likewise.
10001
6986b98a
UD
100022011-07-20 Ulrich Drepper <drepper@gmail.com>
10003
90bb2039
UD
10004 [BZ #12852]
10005 * posix/glob.c (glob): Check passed in values before using them in
10006 expressions to avoid some overflows.
10007 (glob_in_dir): Likewise.
10008
5644ef54
UD
10009 [BZ #13007]
10010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10011 check for AVX enablement so that we don't crash with old kernels and
10012 new hardware.
10013 * elf/tst-audit4.c: Add same checks here.
10014 * elf/tst-audit6.c: Likewise.
10015
10016 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10017
bfc9dc9b
AS
100182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10019
10020 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10021
702e64bb
UD
100222011-07-20 Ulrich Drepper <drepper@gmail.com>
10023
10024 * po/cs.po: Update from translation team.
10025 * po/bg.po: Likewise.
10026
295e904f
MP
100272011-07-12 Marek Polacek <mpolacek@redhat.com>
10028
10029 * misc/sys/cdefs.h: Add support for const attribute.
10030 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10031 to gnu_dev_{major,minor,makedev} functions.
10032
3ff94596
MP
100332011-07-20 Marek Polacek <mpolacek@redhat.com>
10034
10035 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10036
28b59fca
AS
100372011-07-20 Andreas Schwab <schwab@redhat.com>
10038
10039 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10040 strlen results.
10041
19df733e
AK
100422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10043
10044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10045 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10046 register in order to avoid conflicts with the soft frame pointer
10047 being held in r11 when necessary.
10048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10049 (INTERNAL_VSYSCALL_NCS): Likewise.
10050
c8835729
MP
100512011-07-14 Marek Polacek <mpolacek@redhat.com>
10052
10053 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10054 * elf/dl-fini.c (_dl_fini): Adjust caller.
10055 * elf/dl-close.c (_dl_close_worker): Likewise.
10056 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10057
b902330c
MP
100582011-07-15 Marek Polacek <mpolacek@redhat.com>
10059
8991e135
MP
10060 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10061 "aux_cache->nlibs < 0".
10062
b902330c
MP
10063 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10064 in the reload-count case.
10065
99710781
LD
100662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10067
10068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10069 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10070 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10071 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10072 * sysdeps/x86_64/multiarch/strcat.S: New file.
10073 * sysdeps/x86_64/multiarch/strncat.S: New file.
10074 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10075 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10076 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10077 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10079 (USE_AS_STRCAT): Define.
10080 Add strcat and strncat support.
10081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10083 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10084 * string/strncat.c: Update.
10085 (USE_AS_STRNCAT): Define.
10086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10087 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10088 and i7.
10089 * sysdeps/x86_64/multiarch/init-arch.h
10090 (bit_Prefer_PMINUB_for_stringop): New.
10091 (index_Prefer_PMINUB_for_stringop): Likewise.
10092 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10093 bit_Prefer_PMINUB_for_stringop.
10094
7dc6bd90
UD
100952011-07-19 Ulrich Drepper <drepper@gmail.com>
10096
10097 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10098 buffer64.
10099 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10100 of casting of buffer.
10101 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10102 buffer32 and buffer64.
10103 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10104 writes instead of casting of buffer.
10105 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10106 buffer32.
10107 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10108 casting of buffer.
10109
e0e72284
AS
101102011-07-19 Andreas Schwab <schwab@redhat.com>
10111
10112 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10113
feb1eb0b
UD
101142011-07-19 Ulrich Drepper <drepper@gmail.com>
10115
10116 * nscd/nscd.c (termination_handler): Don't do anything for a database
10117 if it has not yet been initialized.
10118
298711ff
UD
101192011-07-18 Ulrich Drepper <drepper@gmail.com>
10120
10121 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10122
101232011-07-15 Marek Polacek <mpolacek@redhat.com>
10124
10125 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10126
f9d68389
UD
101272011-07-18 Ulrich Drepper <drepper@gmail.com>
10128
10129 * po/nl.po: Update from translation team.
10130 * po/sv.po: Likewise.
10131
db290cf5
RM
101322011-07-16 Roland McGrath <roland@hack.frob.com>
10133
10134 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10135 now disallowed by GCC.
5c550700 10136
fd5e21c7
RM
10137 * configure.in (use-default-link): Default to yes if a test -shared
10138 link meets our qualifications.
10139 * configure: Regenerated.
10140
5c550700
RM
10141 * config.make.in (output-format): New variable.
10142 * configure.in: Check for ld --print-output-format support.
10143 * configure: Regenerated.
10144 * Makerules ($(common-objpfx)format.lds)
10145 [$(output-format) != unknown]: Just use $(output-format),
10146 instead of the linker-script munging.
10147
9fa2c032
RM
101482011-07-14 Roland McGrath <roland@hack.frob.com>
10149
a6928d51
RM
10150 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10151 of $(common-objpfx)shlib.lds.
10152 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10153
661607b3
RM
10154 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10155 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10156
9fa2c032
RM
10157 * configure.in (-z relro check): Adjust test code to add a large
10158 writable data section after it.
10159 * configure: Regenerated.
10160
defe9061
RM
101612011-07-11 Roland McGrath <roland@hack.frob.com>
10162
10163 * configure.in (-z relro check): Fix test code to make the variable
10164 truly const.
10165 * configure: Regenerated.
10166
319b9ad4
UD
101672011-07-11 Ulrich Drepper <drepper@gmail.com>
10168
10169 * nscd/nscd.h (struct traced_file): Define.
10170 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10171 elements. Add traced_files.
10172 (inotify_fd): Declare.
10173 (register_traced_file): Declare.
10174 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10175 (inotify_fd): Export.
10176 (resolv_conf_descr): Remove.
10177 (nscd_init): Move inotify descriptor creation to main.
10178 Don't register files for notification here.
10179 (register_traced_file): New function.
10180 (invalidate_cache): Don't use reset_res to determine whether to call
10181 res_init, go through the list of registered files.
10182 (main_loop_poll): The inotify descriptors are now stored in the
10183 structures for the traced files.
10184 (main_loop_epoll): Likewise
10185 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10186 to __nss_disable_nscd.
10187 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10188 for a database anymore. Check the records for all the registered
10189 files instead.
10190 * nss/Makefile (libnss_files-routines): Add files-init.
10191 (libnss_db-routines): Add db-init.
10192 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10193 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10194 * nss/nss_db/db-init.c: New file.
10195 * nss/nss_files/files-init.c: New file.
10196 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10197 __nss_lookup_function.
10198 (__nss_lookup_function): Call nss_load_library.
10199 (nss_load_all_libraries): New function.
10200 (__nss_disable_nscd): Take parameter with callback function for files
10201 to register. Set is_nscd. Load all the DSOs for the NSS modules
10202 used for the cached services.
10203 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10204 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10205 options for features to all the files in nscd.
10206
10207 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10208
23bee3e8
RM
102092011-07-10 Roland McGrath <roland@hack.frob.com>
10210
10211 * csu/elf-init.c (__libc_csu_init): Comment typo.
10212
46a5b7f0
UD
102132011-07-09 Ulrich Drepper <drepper@gmail.com>
10214
10215 * po/pl.po: Update from translation team.
10216 * po/ja.po: Likewise.
10217 * po/ru.po: Likewise.
10218 * po/ko.po: Likewise.
10219 * po/fr.po: Likewise.
10220
d30cf5bb
RM
102212011-07-09 Roland McGrath <roland@hack.frob.com>
10222
113ddea4
RM
10223 * configure.in (.ctors/.dtors header and trailer check):
10224 Use an empirical test on a built program.
10225 * configure: Regenerated.
10226
574920b4
RM
10227 * configure.in (-z relro check): Use an empirical test on a built DSO.
10228 Detect, but do not require, on ia64.
10229 * configure: Regenerated.
10230
d30cf5bb
RM
10231 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10232 Update tests that use readelf to use $READELF instead.
10233 * configure: Regenerated.
10234
8538fdb3
UD
102352011-07-08 Ulrich Drepper <drepper@gmail.com>
10236
10237 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10238 if the result is not used.
10239
04d08991
AJ
102402011-07-05 Andreas Jaeger <aj@suse.de>
10241
10242 [BZ#9696]
10243 * stdlib/tst-strtod.c: Add testcase.
10244
de283087
AD
102452011-07-07 Ulrich Drepper <drepper@gmail.com>
10246
4e5f31c8 10247 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10248 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10249 The latter has a higher limit. Take additional parameter to pass to
10250 the new function.
10251 (__pathconf): Pass file to __statfs_link_max.
10252 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10253 __statfs_link_max.
10254 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10255 __statfs_link_max.
10256
de283087
AD
10257 [BZ #12868]
10258 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10259 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10260 Handle Lustre.
10261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10262 (__statfs_filesize_max): Likewise.
10263 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10264
c75fa153
AJ
102652011-07-05 Andreas Jaeger <aj@suse.de>
10266
10267 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10268
1a544854
UD
102692011-07-06 Marek Polacek <mpolacek@redhat.com>
10270
10271 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10272 `status' variable.
10273 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10274 Likewise.
10275
6f0eec67
UD
102762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * Makefile (strop-tests): Add strncat.
10279 * string/test-strncat.c: New file.
10280
aae30307
UD
102812011-06-30 Marek Polacek <mpolacek@redhat.com>
10282
10283 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10284
c0cfb5eb
UD
102852011-06-21 Andreas Jaeger <aj@suse.de>
10286
10287 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10288 Copy rule from iconvdata/Makefile.
10289
01636b21
UD
102902011-07-06 Ulrich Drepper <drepper@gmail.com>
10291
10292 [BZ #12922]
10293 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10294 but no long options are defined, just return 'W'.
10295
9895c8bc
UD
102962011-06-22 Marek Polacek <mpolacek@redhat.com>
10297
10298 [BZ #9696]
10299 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10300
5d4cf042
UD
103012011-07-06 Ulrich Drepper <drepper@gmail.com>
10302
10303 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10304 netgroups to read.
960e5535 10305 (innetgr): Likewise.
5d4cf042 10306
751eb97e
RM
103072011-07-05 Roland McGrath <roland@hack.frob.com>
10308
10309 * config.make.in (install_root): Default to $(DESTDIR).
10310
f15f1e45
UD
103112011-07-05 Ulrich Drepper <drepper@gmail.com>
10312
10313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10314
4e34ac6a
RM
103152011-07-02 Roland McGrath <roland@hack.frob.com>
10316
5e9b6af4
RM
10317 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10318
84f9ea0f
RM
10319 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10320 containing directory rather than embedding absolute directory names.
10321
ea5ee9f7
RM
10322 * scripts/check-local-headers.sh: Rewritten using awk.
10323 Match by word, not by line. Print error messages for matches.
10324 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10325
1b74661a
RM
10326 * Makerules [shlib-lds-flags empty]:
10327 ($(common-objpfx)libc_pic.opts): New target.
10328 ($(common-objpfx)libc_pic.os.clean): New target.
10329 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10330
10331 * config.make.in (OBJCOPY): New variable.
10332 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10333 * configure: Regenerated.
10334
f781ef40
RM
10335 * config.make.in (use-default-link): New variable.
10336 * configure.in (use_default_link): Grok --with-default-link to set it.
10337 * configure: Regenerated.
10338 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10339 (shlib-lds, shlib-lds-flags): Define to empty.
10340
2d4fa81e
RM
10341 * Makerules (shlib-lds): New variable.
10342 (shlib-lds-flags): New variable.
10343 (build-shlib, build-moduile, build-module-asneeded): Use it.
10344 ($(common-objpfx)libc.so): Use $(shlib-lds).
10345 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10346 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10347
31fffa6b
RM
10348 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10349 DT_FLAGS/DT_FLAGS_1 with zero flags.
10350
4e34ac6a
RM
10351 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10352 linker script munging.
10353
fcfc776b
UD
103542011-07-02 Ulrich Drepper <drepper@gmail.com>
10355
10356 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10357 as 128-bit value.
10358 * crypt/sha512.c (sha512_process_block): Perform total addition using
10359 128-bit if possible.
10360 (__sha512_finish_ctx): Likewise.
10361 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10362 as 64-bit value.
10363 * crypt/sha256.c (SWAP64): Define.
10364 (sha256_process_block): Perform total addition using 64-bit if
10365 possible.
10366 (__sha256_finish_ctx): Likewise.
10367
99231d9a
UD
103682011-07-01 Ulrich Drepper <drepper@gmail.com>
10369
10370 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10372 * nscd/hstcache.c (cache_addhst): Likewise.
10373 * nscd/grpcache.c (cache_addgr): Likewise.
10374 * nscd/aicache.c (addhstaiX): Likewise
10375 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10376
445b4a53
TK
103772011-07-01 Thorsten Kukuk <kukuk@suse.de>
10378
10379 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10381 * nscd/hstcache.c (cache_addhst): Likewise.
10382 * nscd/grpcache.c (cache_addgr): Likewise.
10383 * nscd/aicache.c (addhstaiX): Likewise
10384
6d4d8e8e
AS
103852011-07-01 Andreas Schwab <schwab@redhat.com>
10386
10387 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10388 domain only when needed.
10389
89f654c5
AS
103902011-06-30 Andreas Schwab <schwab@redhat.com>
10391
10392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10393 is always restored.
10394
cf3b23ff
UD
103952011-06-29 Ulrich Drepper <drepper@gmail.com>
10396
10397 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10398 are re-adding the entry.
10399 * nscd/servicescache.c (cache_addserv): Likewise.
10400
751626f9
AJ
104012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10402
10403 * sysdeps/generic/dl-irel.h: fix protection against multiple
10404 inclusions.
10405 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10406
9113ea1f
UD
104072011-06-28 Ulrich Drepper <drepper@gmail.com>
10408
5c0b8d90
UD
10409 [BZ #12935]
10410 * malloc/memusage.sh: Fix quoting in message.
10411 * debug/xtrace.sh: Likewise.
10412
9113ea1f
UD
10413 * configure.in: Remove support for --experimental-malloc option, make
10414 it the default.
10415 * config.make.in: Likewise.
10416 * malloc/Makefile: Likewise.
10417
a4172181
AS
104182011-06-27 Andreas Schwab <schwab@redhat.com>
10419
10420 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10421 two-byte characters.
10422
78a7eee7
RM
104232011-06-27 Roland McGrath <roland@hack.frob.com>
10424
62bede13
RM
10425 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10426 AC_CACHE_CHECK invocation.
10427 * configure: Regenerated.
10428
78a7eee7
RM
10429 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10430
5ce33a62
UD
104312011-06-27 Ulrich Drepper <drepper@gmail.com>
10432
034807a9
UD
10433 [BZ #12350]
10434 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10435 bit from old_res_options.
10436
4902da17
UD
10437 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10438
5ce33a62
UD
10439 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10440 value type for setfct.
10441
c2344f56
L
104422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10443
10444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10445 __gettimeofday instead of gettimeofday.
10446
68468076
UD
104472011-06-26 Ulrich Drepper <drepper@gmail.com>
10448
10449 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10450
acb0d739
L
104512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10452
10453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10454
10455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10456 info.
10457
8912479f
L
104582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10459
10460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10461 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10462 strcpy-sse2-unaligned strncpy-sse2-unaligned
10463 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10464 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10465 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10466 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10467 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10470 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10471 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10472 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10473 (STRCPY): Support SSE2 and SSSE3 versions.
10474
d5495a11
UD
104752011-06-24 Ulrich Drepper <drepper@gmail.com>
10476
10477 [BZ #12874]
10478 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10479 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10480 kernels which artificially limit size of requests.
10481
0b1cbaae
L
104822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10483
10484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10485 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10486 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10487 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10488 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10489 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10490 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10491 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10494 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10495 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10496 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10497 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10498 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10500 Enable unaligned load optimization for Intel Core i3, i5 and i7
10501 processors.
10502 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10503 Define.
10504 (index_Fast_Unaligned_Load): Define.
10505 (HAS_FAST_UNALIGNED_LOAD): Define.
10506
07f494a0
MP
105072011-06-23 Marek Polacek <mpolacek@redhat.com>
10508
10509 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10510
fa3fc0fe
UD
105112011-06-22 Ulrich Drepper <drepper@gmail.com>
10512
10513 [BZ #12907]
10514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10515 until it is clear that the information is realy needed.
10516 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10517
e12df166
AS
105182011-06-22 Andreas Schwab <schwab@redhat.com>
10519
10520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10521
852eb34d
UD
105222011-06-22 Ulrich Drepper <drepper@gmail.com>
10523
84e2a551
UD
10524 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10525 /sys/devices/system/cpu/online if it is usable.
10526
852eb34d
UD
10527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10528 reading the information from the /proc filesystem to once a second.
10529
6e502e19
UD
105302011-06-21 Andreas Jaeger <aj@suse.de>
10531
10532 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10533 NULL after inclusion of kernel headers.
10534
75d39ff2
UD
105352011-06-21 Ulrich Drepper <drepper@gmail.com>
10536
51f9aa6a
UD
10537 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10538 calls to internal_setent.
10539
c0244a9d
UD
10540 [BZ #12885]
10541 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10542 addresses using gethostbyname4_r ignore IPv4 addresses.
10543
c5e3c2ae
UD
10544 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10545 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10546
75d39ff2
UD
10547 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10548
42675c6f
DM
105492011-06-20 David S. Miller <davem@davemloft.net>
10550
10551 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10552 inclusions.
10553 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10554
10555 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10556 (elf_irel): Use it.
10557 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10558 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10559 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10560 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10561 * sysdeps/x86_64/dl-irel.h: Likewise.
10562
10563 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10564 * elf/dl-sym.c: Likewise.
10565
57912a71
UD
105662011-06-15 Ulrich Drepper <drepper@gmail.com>
10567
10568 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10569 need to dereference resplen2.
10570
ee22793d
AS
105712011-06-14 Andreas Schwab <schwab@redhat.com>
10572
10573 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10574
a9e836b0
UD
105752011-06-15 Ulrich Drepper <drepper@gmail.com>
10576
77fb9117
UD
10577 * Makeconfig: Define vardbdir and inst_vardbdir.
10578 * nss/Makefile: Add rules to install db-Makefile.
10579
40c1b22c
UD
10580 * nss/nss_db/db-XXX.c: Cleanup.
10581
9f2da732
UD
10582 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10583 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10584 GLIBC_PRIVATE.
10585 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10586 * nss/makedb.c: Implement -g option to specify that value strings
10587 are generated and should not be added to table iterated over for
10588 get*ent calls.
10589 * nss/nss_db/db-initgroups.c: New file.
10590
82e9a1f7
UD
10591 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10592 interface.
10593
c41af17e
UD
10594 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10595 (internal_getgrouplist): Adjust to name change.
10596 Update use_initgroups_entry if this is not the first call.
10597 * nss/databases.def: Add initgroups entry.
10598
a9e836b0
UD
10599 * nss/makedb.c (compute_tables): Check result of multiple hash table
10600 sizes to minimize maximum chain length.
10601
2666d441
UD
106022011-06-14 Ulrich Drepper <drepper@gmail.com>
10603
10604 * Versions.def: Add entry for libnss_db.
10605 * shlib-versions: Likewise.
10606 * nss/Makefile: Add rules to build libnss_db.
10607 * nss/Versions: Add libnss_db information. Organize libnss_files
10608 entries better.
10609 * nss/db-Makefile: Add gshadow support. Change rules for the new
10610 makedb progra. Some minor improvements to generate smaller files.
10611 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10612 here from...
10613 * nss/makedb.c: ...here.
10614 Improve database format to be smaller and require less memory at
10615 runtime.
10616 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10617 db anymore.
10618 * nss/nss_db/db-netgrp.c: Likewise.
10619 * nss/nss_db/db-open.c: Likewise.
10620 * nss/nss_files/flies-XXX.x: Adjust comments.
10621 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10622 * nss/nss_files/files-grp.c: Likewise.
10623 * nss/nss_files/files-hosts.c: Likewise.
10624 * nss/nss_files/files-network.c: Likewise.
10625 * nss/nss_files/files-proto.c: Likewise.
10626 * nss/nss_files/files-pwd.c: Likewise.
10627 * nss/nss_files/files-rpc.c: Likewise.
10628 * nss/nss_files/files-service.c: Likewise.
10629 * nss/nss_files/files-sgrp.c: Likewise.
10630 * nss/nss_files/files-spwd.c: Likewise.
10631 * nss/nss_db/db-alias.c: Removed.
10632 * nss/nss_db/dummy-db.h: Removed.
10633
9ee76b5a
UD
106342011-06-02 Ulrich Drepper <drepper@gmail.com>
10635
10636 * nss/makedb.c: Rewritten to not use database library.
10637 * nss/Makefile: Update to build new makedb program.
10638
c71ca1f8
AJ
106392011-06-14 Andreas Jaeger <aj@suse.de>
10640
10641 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10642 memset declaration.
10643
3154bfb8
UD
106442011-06-10 Andreas Schwab <schwab@redhat.com>
10645
10646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10647 tmpbuf.
10648
b350afab
RM
106492011-06-10 Roland McGrath <roland@hack.frob.com>
10650
decd4e50
RM
10651 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10652 * elf/Makefile ($(objpfx)ld.so): Likewise.
10653
5615eaf2
RM
10654 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10655 Don't list ld.so twice in dependencies.
10656
10657 * posix/bug-regex31.c: Include <stdlib.h>.
10658
10659 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10660
10661 * nis/nss_compat/compat-spwd.c
10662 (getspent_next_nss_netgr): Remove unused variable.
10663 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10664
10665 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10666 nonmembers" output to use the right array.
10667
10668 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10669
10670 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10671
10672 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10673 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10674 * catgets/gencat.c (read_input_file): Likewise.
10675 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10676
10677 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10678 variable definition inside #if's controlling its use.
10679
10680 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10681
10682 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10683
10684 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10685
10686 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10687 unreachable code.
10688
10689 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10690
b68e08db
RM
10691 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10692 * configure: Regenerated.
10693
b350afab
RM
10694 * Makerules: Revert last change.
10695 * elf/Makefile: Likewise.
10696
28368601
RM
106972011-06-09 Roland McGrath <roland@hack.frob.com>
10698
10699 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10700 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10701 (reloc-link): Likewise.
10702
11988f8f
UD
107032011-06-09 Ulrich Drepper <drepper@gmail.com>
10704
10705 * elf/Makefile: Add rules to build pldd.
10706 * elf/pldd.c: New file.
10707 * elf/pldd-xx.c: New file.
10708
e80fab37
UD
107092011-06-07 Ulrich Drepper <drepper@gmail.com>
10710
10711 * version.h: Update for 2.15 development version.
10712
9b849836
DM
107132011-06-07 David S. Miller <davem@davemloft.net>
10714
10715 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10716 ifuncs.
10717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10718 elf_machine_lazy_rel): Likewise.
10719 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10721 elf_machine_lazy_rel): Likewise.
10722 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10723 dl_hwcap via passed in argument.
10724 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10725 Likewise.
10726
5a31b283
AK
107272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10728
10729 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10730
069e52f8
RM
107312011-06-06 Roland McGrath <roland@hack.frob.com>
10732
10733 [BZ #12849]
10734 * manual/fdl-1.1.texi: New file, verbatim from:
10735 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10736 * manual/lgpl-2.1.texi: New file, verbatim from:
10737 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10738 * manual/Makefile (licenses): New variable, list those new file names.
10739 (texis): Use it.
10740 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10741
10742 * manual/fdl.texi: File removed.
10743 * manual/lesser.texi: File removed.
10744 * manual/libc.texinfo (Copying, Documentation License):
10745 Use new @include file names, put @appendix directive before @include.
10746
f16846a5
JJ
107472011-06-04 Jakub Jelinek <jakub@redhat.com>
10748
10749 [BZ #12841]
10750 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10751 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10752 (mq_open): Add __NTH.
10753
3d29045b
L
107542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10757 Assume Intel Core i3/i5/i7 processor if AVX is available.
10758
8c297311
UD
107592011-05-31 Ulrich Drepper <drepper@gmail.com>
10760
10761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10762 typo.
10763
c8fc0c91
UD
107642011-05-31 Andreas Schwab <schwab@redhat.com>
10765
10766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10767 memory. Use alloca_account. Fix memory leak when retrying.
10768
5b27a807
UD
107692011-05-31 Ulrich Drepper <drepper@gmail.com>
10770
356f8bc6
UD
10771 * version.h (RELEASE): Bump for 2.14 release.
10772 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10773
5b27a807
UD
10774 * config.make.in (RANLIB): Remove entry.
10775
01f16ab0
UD
107762011-05-30 Ulrich Drepper <drepper@gmail.com>
10777
41fce8bd
UD
10778 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10779 (libc.pot): Work around missing support for .ksh extension in xgettext.
10780
4769ae77
UD
10781 [BZ #12684]
10782 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10783 if both request failed.
10784 (send_dg): In case of server errors clear resplen or *resplen2.
10785
6b1e7d19
UD
10786 [BZ #12454]
10787 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10788 when there are multiple maps.
10789 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10790 (_dl_fini): Remove test here.
10791
01f16ab0
UD
10792 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10793
b1ebd700
UD
107942011-05-29 Ulrich Drepper <drepper@gmail.com>
10795
7ae22829
UD
10796 [BZ #12350]
10797 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10798 bit from old_res_options.
10799 (gaih_inet): Likewise.
10800
553149f6 10801 [BZ #11099]
18a84741 10802 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10803 as signed.
10804
652ffab1
UD
10805 * resolv/res_init.c (res_setoptions): Make the code more compact.
10806
16985fd0
UD
10807 [BZ #11558]
10808 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10809 set RES_USEVC.
10810
0464f746
UD
10811 [BZ #11634]
10812 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10813
7d17596c
UD
10814 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10815
cf6bbbd7
UD
10816 [BZ #11781]
10817 * malloc/malloc.h: Declare malloc hook variables as volatile.
10818
13f1ab36
UD
10819 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10820 in last patch.
10821
b1ebd700
UD
10822 [BZ #11799]
10823 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10824 raise in the comment.
80e2212d
UD
10825 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10826 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10827 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10828
ce67228d
UD
108292011-05-28 Ulrich Drepper <drepper@gmail.com>
10830
8887a920
UD
10831 [BZ #12811]
10832 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10833 grow the buffers more if it already has to be sufficient.
10834 (build_wcs_upper_buffer): Likewise.
10835 * posix/regexec.c (check_matching): Likewise.
10836 (clean_state_log_if_needed): Likewise.
10837 (extend_buffers): Don't enlarge buffers beyond size of the input
10838 buffer.
10839 Patches mostly by Emil Wojak <emil@wojak.eu>.
10840 * posix/bug-regex32.c: New file.
10841 * posix/Makefile (tests): Add bug-regex32.
10842
4f031072
UD
10843 * locale/findlocale.c (_nl_find_locale): Return right away if
10844 _nl_explode_name failed.
10845 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10846
d0478f0c
UD
10847 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10848
de81b246
UD
10849 * debug/xtrace.sh: Unify messages.
10850 * malloc/memusage.sh: Likewise.
10851
c738465a
UD
10852 [BZ #12813]
10853 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10854 time symbol from vDSO. Substitute with vsyscall if not available.
10855 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10856 __vdso_time.
10857
f1f929d7
UD
10858 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10859 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10860 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10861 Add sendmmsg and internal_sendmmsg.
10862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10863 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10865
ce67228d
UD
10866 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10867 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10869
e57420c6
UD
108702011-05-27 Ulrich Drepper <drepper@gmail.com>
10871
a8509ca5
UD
10872 [BZ #12813]
10873 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10874 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10875 available.
10876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10877 __vdso_getcpu.
10878
e57420c6
UD
10879 [BZ #12814]
10880 * iconvdata/Makefile (tests): Add bug-iconv9.
10881 * iconvdata/bug-iconv9.c: New file.
10882
4d07db15
AS
108832011-05-27 Andreas Schwab <schwab@redhat.com>
10884
10885 [BZ #12814]
10886 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10887
ea486f69
JJ
108882011-05-25 Jakub Jelinek <jakub@redhat.com>
10889
10890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10891 (struct user_regs_struct): Change intcs field back to cs.
10892
6f038433
UD
108932011-05-25 Ulrich Drepper <drepper@gmail.com>
10894
10895 * po/ja.po: Update from translation team.
10896
67f86a25
UD
108972011-05-23 Ulrich Drepper <drepper@gmail.com>
10898
10899 [BZ #12795]
10900 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10901 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10902
def7fbd6
AS
109032011-05-20 Andreas Schwab <schwab@redhat.com>
10904
10905 * stdlib/longlong.h: Update from GCC.
10906
f50ef8f1
AS
109072011-05-23 Andreas Schwab <schwab@redhat.com>
10908
10909 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10910 parameter name.
10911 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10912 Add parameter name.
10913 (__sysconf): Pass it down.
10914
de7ce8f1
UD
109152011-05-22 Ulrich Drepper <drepper@gmail.com>
10916
f2962a71
UD
10917 [BZ #12671]
10918 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10919 some situations.
10920 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10921 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10922 add in in __libc_use_alloca calls. Adjust callers.
10923 (glob): Use malloc in some situations.
10924
de7ce8f1
UD
10925 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10926 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10927 pltexit.
10928
aec84f53
UD
109292011-05-21 Ulrich Drepper <drepper@gmail.com>
10930
05bb4a68
UD
10931 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10932 and CLOCK_BOOTTIME_ALARM.
10933
7ea72f99
UD
10934 [BZ #12782]
10935 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10936 is returned.
10937
7e4afad5
UD
10938 * string/_strerror.c (__strerror_r): Print negative errors as signed
10939 numbers.
10940
8e211fec
UD
10941 [BZ #12777]
10942 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10943 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10944 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10945
f7d82dc9
UD
10946 * configure.in: Fix typo in redirection and correct removal of test
10947 files in two cases.
10948
cc9e536d
UD
10949 [BZ #12788]
10950 * locale/setlocale.c (new_composite_name): Fix test to check for
10951 identical name of all categories.
10952
aec84f53
UD
10953 [BZ #12792]
10954 * libio/filedoalloc.c (local_isatty): New function.
10955 (_IO_file_doallocate): Use local_isatty.
10956 * stdio-common/perror.c (perror): In case a new stream is used
10957 forward the stream error.
10958 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10959 error flag.
10960
78e64fdc
RT
109612011-05-20 Ulrich Drepper <drepper@gmail.com>
10962
34a9094f
UD
10963 [BZ #11869]
10964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10965 alloca.
10966 * include/alloca.h (extend_alloca_account): Define.
10967
78e64fdc
RT
10968 [BZ #11857]
10969 * posix/regex.h: Fix comments with documentation of user-accessible
10970 fields after compilation and describe correct free'ing of pattern
10971 after re_compile_pattern.
10972 Patch by Reuben Thomas <rrt@sc3d.org>.
10973
457bddfc
RA
109742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10975
10976 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10977 and -mno-altivec to prevent the compiler from using Altivec and/or
10978 VSX instructions when the corresponding registers are not available.
10979
a4527b51
AS
109802011-05-19 Andreas Schwab <schwab@redhat.com>
10981
10982 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10983
ed690b2f
UD
109842011-05-19 Ulrich Drepper <drepper@gmail.com>
10985
10986 * libio/freopen.c (freopen): Use __dup2, not dup2.
10987 * libio/freopen64.c (freopen64): Likewise.
10988
8db73634
L
109892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10990
10991 [BZ #12775]
10992 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10993 * math/Makefile (tests): Add test-powl.
10994 (CFLAGS-test-powl.c): Define.
10995 * math/test-powl.c: New file.
10996
0a197a9d
L
109972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10998
10999 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11000
ee30c380
UD
110012011-05-17 Ulrich Drepper <drepper@gmail.com>
11002
11003 [BZ #11837]
11004 * iconvdata/gb18030.c: Update to GB18020-2005.
11005
6ce75379
UD
110062011-05-16 Ulrich Drepper <drepper@gmail.com>
11007
a4b89fd8
AR
11008 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11009 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11010 Patch by Aharon Robbins <arnold@skeeve.com>.
11011
ea389b12
UD
11012 [BZ #11892]
11013 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11014 on the stack.
11015
68a3f91f
UD
11016 [BZ #11895]
11017 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11018 through underflows.
11019
15cc7dd1
UD
11020 [BZ #12766]
11021 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11022 point to strings before performing equality test for error_one_per_line
11023 mode.
11024
f3799213
UD
11025 [BZ #11697]
11026 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11027
d79a9c94
UD
11028 [BZ #11820]
11029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11030 (struct user_fpregs_struct): Avoid __uint*_t types.
11031
56e5eb46
UD
11032 [BZ #6420]
11033 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11034 symbol info. Use it instead of calling _dl_addr locally.
11035 (lock_and_info): New function.
11036 (tr_freehook): Call lock_and_info and pass symbol info as additional
11037 parameter to tr_where.
11038 (tr_mallochook): Likewise.
11039 (tr_reallochook): Likewise.
11040 (tr_memalignhook): Likewise.
11041
6ce75379
UD
11042 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11043 used and couldn't be at all thread-safe.
11044
f8a3b5bf
UD
110452011-05-15 Ulrich Drepper <drepper@gmail.com>
11046
94b7cc37
UD
11047 * libio/freopen.c (freopen): Don't close old file descriptor
11048 before the new one is opened. Instead dup the new file descriptor
11049 to the old one after the new stream is created.
11050 * libio/freopen64.c (freopen64): Likewise.
11051 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11052 * libio/fileops.c (_IO_new_file_close_it): Handle new
11053 _IO_FLAGS2_NOCLOSE flag.
11054 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11055 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11056 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11057 _IO_FLAGS2_NOCLOSE flag.
11058 * include/unistd.h: Add hidden_proto for dup3.
11059 Define __have_dup3.
11060 * io/dup3.c: Define hidden symbol.
11061 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11062
bd25564e
UD
11063 [BZ #7101]
11064 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11065 when an incomplete long option is used.
11066 * posix/tst-getopt_long1.c: New file.
11067 * posix/Makefile (tests): Add tst-getopt_long1.
11068
c84cfef4
UD
11069 [BZ #10138]
11070 * scripts/config.guess: Update from autoconf-2.68.
11071 * scripts/config.sub: Likewise.
11072
3b85df27
UD
11073 [BZ #10157]
11074 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11075 tests into ...
11076 (has_cpuclock): ...this. New function.
11077 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11078 macro here based on has_cpuclock code.
11079
15a856b1
UD
11080 [BZ #10149]
11081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11082 First byte (not low byte) is now always NUL.
11083 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11084
05f399e6
UD
11085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11086 Use non-cancelable interfaces.
11087
10a52685 11088 [BZ #9809]
94ecc67d
UD
11089 * locale/iso-639.def: Add entry for Sorani.
11090
f8a3b5bf
UD
11091 [BZ #11901]
11092 * include/stdlib.h: Move include protection to the right place.
11093 Define abort_msg_s. Declare __abort_msg with it.
11094 * stdlib/abort.c (__abort_msg): Adjust type.
11095 * assert/assert.c (__assert_fail_base): New function. Majority
11096 of code from __assert_fail. Allocate memory for __abort_msg with
11097 mmap.
11098 (__assert_fail): Now call __assert_fail_base.
11099 * assert/assert-perr.c: Remove bulk of implementation. Use
11100 __assert_fail_base.
11101 * include/assert.hL Declare __assert_fail_base.
11102 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11103 mmap.
11104 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11105
1af4e298
UD
111062011-05-14 Ulrich Drepper <drepper@gmail.com>
11107
f8a3b5bf 11108 [BZ #11952]
d26dfc60
MG
11109 [BZ #12453]
11110 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11111 until all modules are registered in the DTV.
11112 * elf/Makefile: Add rules to build and run tst-tls19.
11113 * elf/tst-tls19.c: New file.
11114 * elf/tst-tls19mod1.c: New file.
11115 * elf/tst-tls19mod2.c: New file.
11116 * elf/tst-tls19mod3.c: New file.
11117 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11118
2fc54d6f
UD
11119 [BZ #12083]
11120 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11121 correctly.
11122
98d76b46
UD
11123 [BZ #12601]
11124 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11125 two-byte sequence errors.
11126 * iconvdata/Makefile (tests): Add bug-iconv8.
11127 * iconvdata/bug-iconv8.c: New file.
11128
da3c19ef
UD
11129 [BZ #12626]
11130 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11131 buf2 definition.
11132
ca408c15
UD
11133 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11134
d6f67f7d
UD
11135 [BZ #12432]
11136 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11137 (dummy_getcfa): New function.
11138 (init): Get _Unwind_GetCFA address, use dummy if not found.
11139 (backtrace_helper): In recursion check, also check whether CFA changes.
11140 (__backtrace): Completely initialize arg.
11141
1af4e298 11142 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11143 storing incomplete byte sequence in state object. Avoid testing for
11144 guaranteed too small input if we know there is enough data available.
1af4e298 11145
da62f81b
AS
111462011-05-11 Andreas Schwab <schwab@redhat.com>
11147
11148 * Makeconfig (+link-pie): Indent.
11149 * Rules (binaries-pie): Define if $(have-fpie) and
11150 $(build-shared).
11151 (binaries-shared): Also filter out $(binaries-pie).
11152 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11153 * nscd/Makefile (others-pie): Add nscd.
11154 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11155 ($(objpfx)nscd): Remove command override.
11156 * login/Makefile (others-pie): Add pt_chown.
11157 ($(objpfx)pt_chown): Remove command override.
11158 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11159 remove command overrides.
11160
fcabc0f8
UD
111612011-05-13 Ulrich Drepper <drepper@gmail.com>
11162
20030ae6
UD
11163 * libio/tst_putwc.c: Fix error messages.
11164
fcabc0f8
UD
11165 [BZ #12724]
11166 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11167 currently writing and seek to current position when not.
11168 * libio/Makefile (tests): Add bug-fclose1.
11169 * libio/bug-fclose1.c: New file.
11170
320a5dc0
PB
111712011-05-12 Ulrich Drepper <drepper@gmail.com>
11172
11173 [BZ #12511]
11174 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11175 don't set DF_1_NODELETE here.
11176 (do_lookup_x): When entering new entry test for copy relocation
11177 and if necessary set DF_1_NODELETE flag.
11178 * elf/tst-unique4.cc: New file.
11179 * elf/tst-unique4.h: New file.
11180 * elf/tst-unique4lib.cc: New file.
11181 * elf/Makefile: Add rules to build and run tst-unique4.
11182 Patch by Piotr Bury <pbury@goahead.com>.
11183
22836f52
UD
111842011-05-11 Ulrich Drepper <drepper@gmail.com>
11185
f574184a
UD
11186 [BZ #12052]
11187 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11188
e1fb097f
UD
11189 [BZ #12625]
11190 * misc/mntent_r.c (addmntent): Flush the stream after the output
11191
22836f52
UD
11192 [BZ #12393]
11193 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11194 (is_trusted_path_normalize): Skip initial colon. Append slash
11195 to empty buffer. Duplicate is_trusted_path code but allow
11196 constructed patch to be prefix.
11197 (is_dst): Allow $ORIGIN followed by /.
11198 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11199 Correct testing of result of is_trusted_path_normalize
11200 (decompose_rpath): Fix warning.
11201
7b3b0b2a
UD
112022011-05-10 Ulrich Drepper <drepper@gmail.com>
11203
11204 [BZ #11257]
11205 * grp/initgroups.c (internal_getgrouplist): When we found the service
11206 list through the initgroups entry in nsswitch.conf do not always
11207 continue on a successful lookup. Don't always use the
eac80ce2 11208 __nss_group_database value if it is set.
7b3b0b2a
UD
11209 * nss/nsswitch.conf (initgroups): Change action for successful db
11210 lookup to continue for compatibility.
11211
2a81eaa5
UD
112122011-05-09 Ulrich Drepper <drepper@gmail.com>
11213
be97a69e
UD
11214 [BZ #11532]
11215 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11216 and CP774 modules.
11217 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11218 and CP774 modules.
11219 * iconvdata/tst-tables.sh: Likewise.
11220 * iconvdata/cp770.c: New file.
11221 * iconvdata/cp771.c: New file.
11222 * iconvdata/cp772.c: New file.
11223 * iconvdata/cp773.c: New file.
11224 * iconvdata/cp774.c: New file.
11225 * iconvdata/testdata/CP770: New file.
11226 * iconvdata/testdata/CP770..UTF8: New file.
11227 * iconvdata/testdata/CP771: New file.
11228 * iconvdata/testdata/CP771..UTF8: New file.
11229 * iconvdata/testdata/CP772: New file.
11230 * iconvdata/testdata/CP772..UTF8: New file.
11231 * iconvdata/testdata/CP773: New file.
11232 * iconvdata/testdata/CP773..UTF8: New file.
11233 * iconvdata/testdata/CP774: New file.
11234 * iconvdata/testdata/CP774..UTF8: New file.
11235
11236 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11237 END CHARMAP line.
11238 * iconvdata/gen-8bit-gap.sh: Likewise.
11239 * iconvdata/gen-8bit.sh: Likewise.
11240
c1e9e399
UD
11241 * locale/iso-639.def: Add ary entry.
11242
24c55fb3 11243 [BZ #11258]
96b4b1b0
UD
11244 * locale/C-translit.h.in: Add U20A1 transliteration.
11245
bdc2f971
KB
11246 [BZ #12178]
11247 * locale/iso-639.def: Add wae entry.
11248 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11249
2952b117
UD
11250 [BZ #12545]
11251 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11252 for n.
11253
2a81eaa5
UD
11254 [BZ #12711]
11255 * locale/C-translit.h.in: Add entry for U20B9.
11256 Patch by pravin.d.s@gmail.com.
11257
28377d1b
UD
112582011-05-08 Ulrich Drepper <drepper@gmail.com>
11259
7fb90fb8
UD
11260 [BZ #12713]
11261 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11262 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11263 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11264 in rtld. Use *stat64.
7fb90fb8 11265 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11266 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11267 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11268 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11269 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11270 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11271 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11272 __fstatat64 macros.
7fb90fb8
UD
11273 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11274 * dirent/rewinddir.c: Add libc_hidden_def.
11275 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11276 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11277
28377d1b
UD
11278 * include/dirent.h (__alloc_dir): Add flags parameter.
11279 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11280 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11281 __alloc_dir.
11282 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11283 from fdopendir if O_CLOEXEC is already set.
11284
66bdbaa4
AM
112852011-03-15 Alan Modra <amodra@gmail.com>
11286
11287 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11288 l_tls_firstbyte_offset non-zero. Save padding offset in
11289 l_tls_firstbyte_offset for later use.
11290 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11291 freeing static tls block.
11292
95721191
JN
112932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11294
11295 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11296 where #ifdef was intended. The intent is to prevent ARG_MAX from
11297 being defined by the kernel headers.
11298
f87dfb1f
UD
112992011-05-07 Ulrich Drepper <drepper@gmail.com>
11300
11301 [BZ #12734]
11302 * resolv/resolv.h: Define RES_NOTLDQUERY.
11303 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11304 no-tld-query and set RES_NOTLDQUERY.
11305 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11306 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11307 modern BIND to search name as TLD unless forbidden.
11308
47c3cd7a
UD
113092011-05-07 Petr Baudis <pasky@suse.cz>
11310 Ulrich Drepper <drepper@gmail.com>
11311
11312 [BZ #12393]
11313 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11314 (is_trusted_path): ...to here.
c1e9ea35 11315 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11316 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11317 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11318
8a35c912
PP
113192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11320
11321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11322 __BEGIN/__END_DECLS.
11323
acd41f47
UD
113242011-05-06 Ulrich Drepper <drepper@gmail.com>
11325
11326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11327 NSS_STATUS_NOTFOUND if no record was found.
11328
597df647
AS
113292011-05-05 Andreas Schwab <schwab@redhat.com>
11330
11331 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11332 (headers-not-in-tirpc): Remove rpc/netdb.h
11333 * resolv/netdb.h: Revert last change.
11334
b9af1301
PP
113352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11336
11337 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11338 circular dependency between libgcc.a and libc.a.
11339
4e34d5f5
AS
113402011-05-05 Andreas Schwab <schwab@redhat.com>
11341
11342 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11343 * nis/Makefile: Don't install rpcsvc/*.
11344 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11345 instead of <rpc/types.h>.
11346 (MAXHOSTNAMELEN): Define.
11347
00ee369c
AS
113482011-05-03 Andreas Schwab <schwab@redhat.com>
11349
11350 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11351
0b592a30
MB
113522011-04-28 Maciej Babinski <mbabinski@google.com>
11353
11354 [BZ #12714]
11355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11356 gethostbyname4_r when IPv6 results are possible.
11357
6e04cbbe
UD
113582011-05-02 Ulrich Drepper <drepper@gmail.com>
11359
11360 [BZ #12723]
11361 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11362 _PC_PIPE_BUF handling.
11363
e4ecafe0
BH
113642011-04-30 Bruno Haible <bruno@clisp.org>
11365
11366 [BZ #12717]
11367 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11368 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11369 to 'int'.
11370 * inet/getnameinfo.c (getnameinfo): Likewise.
11371
125ee683
UD
113722011-04-29 Ulrich Drepper <drepper@gmail.com>
11373
11374 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11375 to groups setting in database lookup.
11376 * nss/nsswitch.conf: Add initgroups entry.
11377
b722481a
EB
113782011-04-22 Ulrich Drepper <drepper@gmail.com>
11379
11380 [BZ #12685]
11381 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11382 mode string.
11383 Patch by Eric Blake <eblake@redhat.com>.
11384
4df46dbd
L
113852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 * sunrpc/Makefile (need-export-routines): Add svc_run.
11388 (routines): Remove svc_run.
11389 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11390 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11391 * sunrpc/svc_run.c (svc_run): Likewise.
11392 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11393
e84142d2
UD
113942011-04-21 Ulrich Drepper <drepper@gmail.com>
11395
11396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11397 problem in reallocation in last patch.
11398
877175d8
UD
113992011-04-20 Ulrich Drepper <drepper@gmail.com>
11400
11401 * sunrpc/Makefile: Move inclusion of Rules.
11402
ab8eed78
UD
114032011-04-19 Ulrich Drepper <drepper@gmail.com>
11404
11405 * nss/nss_files/files-initgroups.c: New file.
11406 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11407 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11408 _nss_files_initgroups_dyn.
11409
e3d8f584
RS
114102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11411
11412 * elf/elf.h (R_ARM_IRELATIVE): Define.
11413
af190f45
UD
114142011-04-19 Ulrich Drepper <drepper@gmail.com>
11415
11416 * po/ru.po: Update from translation team.
11417
53cf59ef
UD
114182011-04-17 Ulrich Drepper <drepper@gmail.com>
11419
11420 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11421 dependencies.
11422
4c559bcd
MF
114232011-02-06 Mike Frysinger <vapier@gentoo.org>
11424
11425 [BZ #12653]
11426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11427 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11431
4420675c
AS
114322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11433
11434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11435 differing bytes.
11436 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11438 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11439
75ea32ab
UD
114402011-04-17 Ulrich Drepper <drepper@gmail.com>
11441
11442 [BZ #12420]
11443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11444 storing it.
11445 * stdlib/bug-getcontext.c: New file.
11446 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11447
27390476
AK
114482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11449
11450 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11451 instructions into .machine "z9-109".
11452 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11453 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11454
10442705
AK
114552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11456
11457 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11458 between environment variables and auxiliary vector.
11459
7b57bfe5
UD
114602011-04-16 Ulrich Drepper <drepper@gmail.com>
11461
11462 * Makefile: Add rules to build linkobj/libc.so.
11463 * include/libc-symbols.h: Define libc_hidden_nolink.
11464 * include/rpc/auth.h: Mark functions which are to be hidden.
11465 * include/rpc/auth_des.h: Likewise.
11466 * include/rpc/auth_unix.h: Likewise.
11467 * include/rpc/clnt.h: Likewise.
11468 * include/rpc/des_crypt.h: Likewise.
11469 * include/rpc/key_prot.h: Likewise.
11470 * include/rpc/pmap_clnt.h: Likewise.
11471 * include/rpc/pmap_prot.h: Likewise.
11472 * include/rpc/pmap_rmt.h: Likewise.
11473 * include/rpc/rpc_msg.h: Likewise.
11474 * include/rpc/svc.h: Likewise.
11475 * include/rpc/svc_auth.h: Likewise.
11476 * include/rpc/xdr.h: Likewise.
11477 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11478 * nss/Makefile: Likewise.
11479 * sunrpc/Makefile: Don't install headers. Build library with normal
11480 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11481 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11482 for the compat linking library. Remove use of INTDEF/INTUSE.
11483 * sunrpc/auth_none.c: Likewise.
11484 * sunrpc/auth_unix.c: Likewise.
11485 * sunrpc/authdes_prot.c: Likewise.
11486 * sunrpc/authuxprot.c: Likewise.
11487 * sunrpc/clnt_gen.c: Likewise.
11488 * sunrpc/clnt_perr.c: Likewise.
11489 * sunrpc/clnt_raw.c: Likewise.
11490 * sunrpc/clnt_simp.c: Likewise.
11491 * sunrpc/clnt_tcp.c: Likewise.
11492 * sunrpc/clnt_udp.c: Likewise.
11493 * sunrpc/clnt_unix.c: Likewise.
11494 * sunrpc/des_crypt.c: Likewise.
11495 * sunrpc/des_soft.c: Likewise.
11496 * sunrpc/get_myaddr.c: Likewise.
11497 * sunrpc/key_call.c: Likewise.
11498 * sunrpc/key_prot.c: Likewise.
11499 * sunrpc/netname.c: Likewise.
11500 * sunrpc/pm_getmaps.c: Likewise.
11501 * sunrpc/pm_getport.c: Likewise.
11502 * sunrpc/pmap_clnt.c: Likewise.
11503 * sunrpc/pmap_prot.c: Likewise.
11504 * sunrpc/pmap_prot2.c: Likewise.
11505 * sunrpc/pmap_rmt.c: Likewise.
11506 * sunrpc/publickey.c: Likewise.
11507 * sunrpc/rpc_cmsg.c: Likewise.
11508 * sunrpc/rpc_common.c: Likewise.
11509 * sunrpc/rpc_dtable.c: Likewise.
11510 * sunrpc/rpc_prot.c: Likewise.
11511 * sunrpc/rpc_thread.c: Likewise.
11512 * sunrpc/rtime.c: Likewise.
11513 * sunrpc/svc.c: Likewise.
11514 * sunrpc/svc_auth.c: Likewise.
11515 * sunrpc/svc_authux.c: Likewise.
11516 * sunrpc/svc_raw.c: Likewise.
11517 * sunrpc/svc_run.c: Likewise.
11518 * sunrpc/svc_simple.c: Likewise.
11519 * sunrpc/svc_tcp.c: Likewise.
11520 * sunrpc/svc_udp.c: Likewise.
11521 * sunrpc/svc_unix.c: Likewise.
11522 * sunrpc/svcauth_des.c: Likewise.
11523 * sunrpc/xcrypt.c: Likewise.
11524 * sunrpc/xdr.c: Likewise.
11525 * sunrpc/xdr_array.c: Likewise.
11526 * sunrpc/xdr_float.c: Likewise.
11527 * sunrpc/xdr_intXX_t.c: Likewise.
11528 * sunrpc/xdr_mem.c: Likewise.
11529 * sunrpc/xdr_rec.c: Likewise.
11530 * sunrpc/xdr_ref.c: Likewise.
11531 * sunrpc/xdr_sizeof.c: Likewise.
11532 * sunrpc/xdr_stdio.c: Likewise.
11533
e6c61494
UD
115342011-04-10 Ulrich Drepper <drepper@gmail.com>
11535
11536 [BZ #12650]
11537 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11538 * sysdeps/ia64/dl-tls.h: Likewise.
11539 * sysdeps/powerpc/dl-tls.h: Likewise.
11540 * sysdeps/s390/dl-tls.h: Likewise.
11541 * sysdeps/sh/dl-tls.h: Likewise.
11542 * sysdeps/sparc/dl-tls.h: Likewise.
11543 * sysdeps/x86_64/dl-tls.h: Likewise.
11544 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11545
34fe483e
AS
115462011-03-14 Andreas Schwab <schwab@redhat.com>
11547
11548 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11549 rpath element also skip the following colon.
11550 (expand_dynamic_string_token): Add is_path parameter and pass
11551 down to DL_DST_REQUIRED and _dl_dst_substitute.
11552 (decompose_rpath): Call expand_dynamic_string_token with
11553 non-zero is_path. Ignore empty rpaths.
11554 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11555 with zero is_path.
11556
f12a32e6
AS
115572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11558
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11560 Make cancelable.
11561
38a7d692
UD
115622011-04-09 Ulrich Drepper <drepper@gmail.com>
11563
11564 [BZ #12655]
11565 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11566 Patch by Filipe David Manana <fdmanana@apache.org>.
11567
e451d22b
AS
115682011-04-07 Andreas Schwab <schwab@redhat.com>
11569
11570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11571 Maintain aligned stack.
11572 (CHECK_RSP): Remove unused macro.
11573
dedc7c7b
UD
115742011-04-03 Ulrich Drepper <drepper@gmail.com>
11575
11576 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11578
94521213
UD
115792011-04-02 Ulrich Drepper <drepper@gmail.com>
11580
11581 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11582
8cb700c0 11583 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11584
0354e355
L
115852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11586
11587 [BZ #12518]
11588 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11589 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11590 * sysdeps/x86_64/memmove.c: New file.
11591 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11592 (memcpy): Renamed to ...
11593 (__new_memcpy): This.
11594 (memcpy): Provide GLIBC_2_14 memcpy.
11595 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11596 (memcpy): Provide GLIBC_2_2_5 memcpy.
11597
8593482f
UD
115982011-04-01 Ulrich Drepper <drepper@gmail.com>
11599
11600 [BZ #12631]
11601 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11602
81a5726b
AS
116032011-03-30 Andreas Schwab <schwab@redhat.com>
11604
11605 * misc/syncfs.c: New file.
11606 * misc/Makefile (routines): Add syncfs.
11607 * posix/unistd.h: Declare syncfs.
11608 * sysdeps/unix/syscalls.list: Add syncfs.
11609
00e5419f
AS
116102011-04-01 Andreas Schwab <schwab@redhat.com>
11611
11612 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11613 open_by_handle_at.
11614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11617 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11619 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11621
748876bf
UD
116222011-04-01 Ulrich Drepper <drepper@gmail.com>
11623
658e451d
UD
11624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11626 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11631
748876bf
UD
11632 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11633 sync_file_range.c with -fexceptions.
11634 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11635 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11636 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11637 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11638 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11639 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11641 sync_file_range as cancellation point
11642 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11643 now a wrapper around __call_sync_file_range with cancellation handling.
11644 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11645 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11646 function name to __call_sync_file_range.
11647 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11648 Add call_sync_file_range.
748876bf 11649
6e63d5e1
AS
116502011-04-01 Andreas Schwab <schwab@redhat.com>
11651
11652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11653 bits/timex.h.
6e63d5e1 11654
46998f74
UD
116552011-04-01 Ulrich Drepper <drepper@gmail.com>
11656
4c1423ed
UD
11657 * iconv/iconv.h: Fix typo in comment.
11658 * io/fcntl.h: Likewise.
11659 * libio/stdio.h: Likewise.
11660 * posix/spawn.h: Likewise.
11661 * posix/unistd.h: Likewise.
11662 * stdlib/stdlib.h: Likewise.
11663 * time/time.h: Likewise.
11664 * wcsmbs/wchar.h: Likewise.
11665
158648c0
UD
11666 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11667 open_by_handle): Add.
11668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11669 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11670 Augment a few comments.
11671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11676 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11677 open_by_handle.
11678
46998f74
UD
11679 * io/fcntl.h (AT_EMPTY_PATH): Define.
11680
83fe108b
UD
116812011-03-30 Ulrich Drepper <drepper@gmail.com>
11682
11683 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11684 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11685 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11686 to...
11687 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11688 * Versions.def: Add GLIBC_2.14.
11689 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11690 Export.
83fe108b 11691
bb242059
UD
116922011-03-22 Ulrich Drepper <drepper@gmail.com>
11693
11694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11695 round counter.
11696 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11697
c97a1282
L
116982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 [BZ #12597]
11701 * string/test-strncmp.c (do_page_test): New function.
11702 (check2): Likewise.
11703 (test_main): Call check2.
11704 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11705
2a115601
UD
117062011-03-20 Ulrich Drepper <drepper@gmail.com>
11707
11708 [BZ #12587]
11709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11710 Handle cache information in CPU leaf 4.
11711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11712
8126d904
UD
117132011-03-18 Ulrich Drepper <drepper@gmail.com>
11714
042c49c6 11715 [BZ #12583]
8126d904
UD
11716 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11717 character representation.
11718 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11719
ccfe366e
RA
117202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11721
11722 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11723 END(__isnan) to END(__isnanf) to match function entry point/label
11724 EALIGN(__isnanf,...).
11725
c6e13027
JJ
117262011-03-10 Jakub Jelinek <jakub@redhat.com>
11727
11728 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11729
33f85a3f
UD
117302011-03-10 Ulrich Drepper <drepper@gmail.com>
11731
028478fa
UD
11732 [BZ #12510]
11733 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11734 copy from the symbol referenced in the relocation to initialize the
11735 used variable.
11736 Patch by Piotr Bury <pbury@goahead.com>.
11737 * elf/Makefile: Add rules to build and tst-unique3.
11738 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11739 * elf/tst-unique3.cc: New file.
11740 * elf/tst-unique3.h: New file.
11741 * elf/tst-unique3lib.cc: New file.
11742 * elf/tst-unique3lib2.cc: New file.
11743
33f85a3f
UD
11744 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11745
03592fc7
MF
117462011-03-10 Mike Frysinger <vapier@gentoo.org>
11747
11748 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11749 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11750 to _start.
03592fc7 11751
6a5ee102
UD
117522011-03-06 Ulrich Drepper <drepper@gmail.com>
11753
11754 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11755 to-be-loaded object along a path to loader is ld.so.
11756
7e4ba49c
HJ
117572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11758 Ulrich Drepper <drepper@gmail.com>
11759
11760 * sysdeps/x86_64/memset.S: After aligning destination, code
11761 branches to different locations depending on the value of
11762 misalignment, when multiarch is enabled. Fix this.
11763
117642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11765
11766 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11767 Set _x86_64_preferred_memory_instruction for AMD processsors.
11768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11769 Set bit_Prefer_SSE_for_memop for AMD processors.
11770
13a804de
UD
117712011-03-04 Ulrich Drepper <drepper@gmail.com>
11772
11773 * libio/fmemopen.c (fmemopen): Optimize a bit.
11774
9d25c392
AS
117752011-03-03 Andreas Schwab <schwab@redhat.com>
11776
11777 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11778
a5543c6a
RM
117792011-03-03 Roland McGrath <roland@redhat.com>
11780
11781 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11782
012d35f7
DM
117832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11784
7e4ba49c 11785 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11786 __bzero_ultra1 instead of __memset_ultra1.
11787
4bff6e01
AS
117882011-02-23 Andreas Schwab <schwab@redhat.com>
11789 Ulrich Drepper <drepper@gmail.com>
11790
11791 [BZ #12509]
11792 * include/link.h (struct link_map): Add l_orig_initfini.
11793 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11794 returning unsuccessfully.
11795 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11796 close of a file loaded at startup, restore the original l_initfini
11797 list.
11798 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11799 list, store the pointer.
11800 * elf/Makefile ($(objpfx)noload-mem): New rule.
11801 (noload-ENV): Define.
11802 (tests): Add $(objpfx)noload-mem.
11803 * elf/noload.c: Include <memcheck.h>.
11804 (main): Call mtrace. Close all opened handles.
11805
f2092faf
AS
118062011-02-17 Andreas Schwab <schwab@redhat.com>
11807
11808 [BZ #12454]
11809 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11810 dependencies are missing.
11811
6c8a2e88
ST
118122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11813
f2092faf 11814 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11815 Hurd needs munmap.
11816 * sysdeps/mach/hurd/ifreq.h: New file.
11817
84a42118
PB
118182011-01-27 Petr Baudis <pasky@suse.cz>
11819 Ulrich Drepper <drepper@gmail.com>
11820
071f805e 11821 [BZ 12445]#
84a42118
PB
11822 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11823 to extend_alloca().
11824 * stdio-common/bug23.c: New file.
11825 * stdio-common/Makefile (tests): Add bug23.
11826
e23fe25b
AS
118272010-09-28 Andreas Schwab <schwab@redhat.com>
11828 Ulrich Drepper <drepper@gmail.com>
11829
11830 [BZ #12489]
11831 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11832 before performing relro protection. At old place add assertion
11833 to make sure nothing changed.
11834
d3f02e10
NS
118352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11836 Glauber de Oliveira Costa <glommer@gmail.com>
11837
11838 * elf/elf.h: Add new ARM TLS relocs.
11839
d55fd7a5
RA
118402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11841
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11843 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11844 cast from r3.
11845 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11846 'tests' variable.
11847 * sysdeps/wordsize-64/tst-writev.c: New file.
11848
2206397e
RA
118492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11850
11851 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11852 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11853 insns in _dl_start to prevent a TOC reference before relocs are
11854 resolved.
11855
e9433893
UD
118562011-02-15 Ulrich Drepper <drepper@gmail.com>
11857
11858 [BZ #12469]
11859 * Makeconfig: Remove RANLIB definition.
11860 * Makerules: Don't use RANLIB.
11861 * aclocal.m4: Remove ranlib test.
11862 * configure.in: No need to check for ranlib.
11863 * elf/rtld-Rules: Don't use RANLIB.
11864
f75286c6
ST
118652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11866
8e31c82d
ST
11867 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11868 protection macro.
11869 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11870 inclusion protection macro.
11871
f75286c6
ST
11872 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11873 SIGRTMIN and SIGRTMAX and print information in that case only when
11874 SIGRTMIN is defined.
11875
c1d0e639
JJ
118762011-02-11 Jakub Jelinek <jakub@redhat.com>
11877
11878 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11879 arginfo fn returning -1.
11880
11881 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11882 and thousands string is zero terminated.
11883
edf9294e
AS
118842011-02-03 Andreas Schwab <schwab@redhat.com>
11885
11886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11887 sysdeps/unix/sysv/linux/bits/socket.h.
11888
2b7e92df
ST
118892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11890
edf9294e
AS
11891 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11892 (__CPU_COUNT): Remove old macros.
11893 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11894 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11895 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11896 (__sched_cpualloc, __sched_cpufree): Add declarations.
11897
a4c7ea7b
UD
118982011-02-05 Ulrich Drepper <drepper@gmail.com>
11899
11900 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11901 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11902 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11903 (readdhstai): Return value of addhstaiX call.
11904 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11905 (addgrbyX): Return value returned by cache_addgr.
11906 (readdgrbyname): Return value returned by addgrbyX.
11907 (readdgrbygid): Likewise.
11908 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11909 (addpwbyX): Return value returned by cache_addpw.
11910 (readdpwbyname): Return value returned by addhstbyX.
11911 (readdpwbyuid): Likewise.
11912 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11913 (addservbyX): Return value returned by cache_addserv.
11914 (readdservbyname): Return value returned by addservbyX:
11915 (readdservbyport): Likewise.
11916 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11917 (addhstbyX): Return value returned by cache_addhst.
11918 (readdhstbyname): Return value returned by addhstbyX.
11919 (readdhstbyaddr): Likewise.
11920 (readdhstbynamev6): Likewise.
11921 (readdhstbyaddrv6): Likewise.
11922 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11923 (readdinitgroups): Return value returned by addinitgroupsX.
11924 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11925 (prune_cache): Keep track of timeout value of re-added entries.
11926 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11927 * nscd/nscd.h: Adjust prototypes of readd* functions.
11928
a0bf67cc
RM
119292011-02-04 Roland McGrath <roland@redhat.com>
11930
11931 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11932 (nis_stats): Likewise.
11933 * nis/nis_modify.c (nis_modify): Likewise.
11934 * nis/nis_remove.c (nis_remove): Likewise.
11935 * nis/nis_add.c (nis_add): Likewise.
11936
11937 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11938
11939 * posix/fnmatch_loop.c: Add some consts.
11940
11941 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11942
435b95eb
L
119432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 [BZ #12460]
11946 * config.make.in (config-cflags-novzeroupper): Define.
11947 * configure.in: Substitute libc_cv_cc_novzeroupper.
11948 * elf/Makefile (AVX-CFLAGS): Define.
11949 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11950 (CFLAGS-tst-auditmod4a.c): Likewise.
11951 (CFLAGS-tst-auditmod4b.c): Likewise.
11952 (CFLAGS-tst-auditmod6b.c): Likewise.
11953 (CFLAGS-tst-auditmod6c.c): Likewise.
11954 (CFLAGS-tst-auditmod7b.c): Likewise.
11955 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11956
8517b15e
UD
119572011-02-02 Ulrich Drepper <drepper@gmail.com>
11958
11959 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11960 function to the callback.
11961 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11962
10a656fe
AS
119632011-02-02 Andreas Schwab <schwab@redhat.com>
11964
11965 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11966 of errno.
11967
968dad0a
UD
119682011-01-19 Ulrich Drepper <drepper@gmail.com>
11969
9f94d2ea 11970 [BZ #11724]
968dad0a
UD
11971 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11972 of constructors.
11973 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11974 of destructors.
11975 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11976
11977 [BZ #11724]
11978 * elf/Makefile: Add rules to build and run new test.
11979 * elf/tst-initorder.c: New file.
11980 * elf/tst-initorder.exp: New file.
11981 * elf/tst-initordera1.c: New file.
11982 * elf/tst-initordera2.c: New file.
11983 * elf/tst-initordera3.c: New file.
11984 * elf/tst-initordera4.c: New file.
11985 * elf/tst-initorderb1.c: New file.
11986 * elf/tst-initorderb2.c: New file.
11987 * elf/tst-order-a1.c: New file.
11988 * elf/tst-order-a2.c: New file.
11989 * elf/tst-order-a3.c: New file.
11990 * elf/tst-order-a4.c: New file.
11991 * elf/tst-order-b1.c: New file.
11992 * elf/tst-order-b2.c: New file.
11993 * elf/tst-order-main.c: New file.
11994 New test case by George Gensure <werkt0@gmail.com>.
11995
86e92359
UD
119962010-10-01 Andreas Schwab <schwab@redhat.com>
11997
11998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11999 decoding ACE if AI_CANONIDN.
12000
5d5732b0
UD
120012011-01-18 Ulrich Drepper <drepper@gmail.com>
12002
12003 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12004
a77e8cbc
UD
120052011-01-17 Ulrich Drepper <drepper@gmail.com>
12006
6392473f
UD
12007 * version.h (RELEASE): Bump for 2.13 release.
12008 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12009
620a0529
UD
12010 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12011
18ba70a5
UD
12012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12013 MADV_NOHUGEPAGE.
32465c3e
UD
12014 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12020
c0dafcf1
UD
12021 * posix/getconf.c: Update copyright year.
12022 * catgets/gencat.c: Likewise.
12023 * csu/version.c: Likewise.
12024 * debug/catchsegv.sh: Likewise.
12025 * debug/xtrace.sh: Likewise.
12026 * elf/ldconfig.c: Likewise.
12027 * elf/ldd.bash.in: Likewise.
12028 * elf/sprof.c (print_version): Likewise.
12029 * iconv/iconv_prog.c: Likewise.
12030 * iconv/iconvconfig.c: Likewise.
12031 * locale/programs/locale.c: Likewise.
12032 * locale/programs/localedef.c: Likewise.
12033 * malloc/memusage.sh: Likewise.
12034 * malloc/mtrace.pl: Likewise.
12035 * nscd/nscd.c (print_version): Likewise.
12036 * nss/getent.c: Likewise.
12037
a77e8cbc
UD
12038 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12039 PF_CAIF, and PF_ALG.
12040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12041
77e8bddf
AS
120422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12043
1f20b93a
AS
12044 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12045 (modules-names): Use them.
12046 (ifunc-test-modules, ifunc-pie-tests): Define.
12047 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12048 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12049 (test-extras): Likewise.
12050 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12051 $(compile-command.c).
12052 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12053 (all-built-dso): Define.
12054 (check-textrel.out, check-execstack.out): Depend on it.
12055
77e8bddf
AS
12056 * configure.in: Don't override --enable-multi-arch.
12057
bc425b33
UD
120582011-01-15 Ulrich Drepper <drepper@gmail.com>
12059
12060 [BZ #6812]
12061 * nscd/hstcache.c (tryagain): Define.
12062 (cache_addhst): Return tryagain not notfound for temporary errors.
12063 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12064 failed.
12065
794c3ad3
UD
120662011-01-14 Ulrich Drepper <drepper@gmail.com>
12067
70181fdd
UD
12068 [BZ #10563]
12069 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12070 to make the syscall.
12071 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12072
794c3ad3
UD
12073 [BZ #12378]
12074 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12075 and fall back to matching as normal character if the string ends before
12076 the matching ']' is found. This is what POSIX requires.
12077 * posix/testfnm.c: Adjust test result.
12078 * posix/globtest.sh: Adjust test result. Add new test.
12079 * posix/tst-fnmatch.input: Likewise.
12080 * posix/tst-fnmatch2.c: Add new test.
12081
68dc9497
AS
120822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12083
12084 * elf/Makefile (check-execstack): Revert last change. Depend on
12085 check-execstack.h.
12086 (check-execstack.h): New target.
12087 (generated): Add check-execstack.h.
12088 * elf/check-execstack.c: Include "check-execstack.h".
12089 (main): Revert last change.
12090 (handle_file): Return zero if GNU_STACK is absent and
12091 DEFAULT_STACK_PERMS doesn't include PF_X.
12092
451f001b
UD
120932011-01-13 Ulrich Drepper <drepper@gmail.com>
12094
cfa28e56
UD
12095 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12096 in child fails because the descriptor is already closed.
8cf8ce17
UD
12097 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12098 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12100
1086d70d
UD
12101 [BZ #12397]
12102 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12103 syscall.
12104
451f001b
UD
12105 [BZ #10484]
12106 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12107 temporary buffer used to handle multi lookups locally.
a85b5cb4 12108 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12109
08769175
UD
121102011-01-12 Ulrich Drepper <drepper@gmail.com>
12111
12112 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12113 loader is ld.so.
12114
5e49c52e
UD
121152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12116
12117 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12118 alignment for SSE2.
12119
60522a5f
UD
121202011-01-12 Ulrich Drepper <drepper@gmail.com>
12121
12122 [BZ #12394]
12123 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12124 characters. When rounding increased number of integer digits recompute
12125 number of groups.
12126 * stdio-common/tst-grouping.c: New file.
12127 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12128
f257bbd7
UD
121292011-01-09 Ulrich Drepper <drepper@gmail.com>
12130
12131 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12132 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12133
12134 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12135 void.
12136 * bits/select.h: Likewise.
12137
fa9c15cb
UD
121382011-01-08 Ulrich Drepper <drepper@gmail.com>
12139
12140 * po/ja.po: Update from translation team.
12141
16c2895f
DM
121422011-01-04 David S. Miller <davem@sunset.davemloft.net>
12143
12144 [BZ #11155]
12145 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12146 implementation just like for lxstat, fxstatat, et al.
12147
2543fef2
JM
121482010-12-27 Jim Meyering <meyering@redhat.com>
12149
12150 [BZ #12348]
12151 * posix/regexec.c (build_trtable): Return failure indication upon
12152 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12153
98727dbe
UD
121542010-12-25 Ulrich Drepper <drepper@gmail.com>
12155
5bd6dc5c
UD
12156 [BZ #12201]
12157 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12158 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12159 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12161
97983464
UD
12162 [BZ #12207]
12163 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12164
98727dbe
UD
12165 [BZ #12204]
12166 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12167 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12168
4a531bb0
L
121692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12170
12171 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12172 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12173 script has SORT_BY_INIT_PRIORITY.
12174 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12175 NO_CTORS_DTORS_SECTIONS is defined.
12176 * elf/soinit.c: Likewise.
12177 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12178 NO_CTORS_DTORS_SECTIONS is defined.
12179 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12180 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12181 * sysdeps/sh/init-first.c: Likewise.
12182 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12183
07eb4b71
UD
121842010-12-24 Ulrich Drepper <drepper@gmail.com>
12185
12186 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12187 always use the slow path.
12188
30950a5f
RA
121892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12190
12191 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12192 similar rule which adds the sysdep directories to the header search in
12193 order to pick up the correct platform stackinfo.h.
12194 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12195 perform test if it is, otherwise return successfully without testing.
12196 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12197 DEFAULT_STACK_PERMS define in stackinfo.h.
12198 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12199 defined in stackinfo.h.
12200 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12201 DEFAULT_STACK_PERMS defined in stackinfo.h.
12202 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12203 * sysdeps/ia64/stackinfo.h: Likewise.
12204 * sysdeps/s390/stackinfo.h: Likewise.
12205 * sysdeps/sh/stackinfo.h: Likewise.
12206 * sysdeps/sparc/stackinfo.h: Likewise.
12207 * sysdeps/x86_64/stackinfo.h: Likewise.
12208 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12209 PF_X for powerpc64. Retain PF_X for powerpc32.
12210
db753e2c
UD
122112010-12-19 Ulrich Drepper <drepper@gmail.com>
12212
14b697f7
UD
12213 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12214 accurately.
db753e2c
UD
12215 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12216 GETDENTS_64BIT_ALIGNED.
12217
28300719
UD
122182010-12-14 Ulrich Drepper <dreper@gmail.com>
12219
14b697f7 12220 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12221
4f197237
AS
122222010-12-10 Andreas Schwab <schwab@redhat.com>
12223
dbb0472f
AS
12224 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12225 _GNU_SOURCE.
12226
4f197237
AS
12227 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12228 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12229 Remove __restrict.
12230 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12231 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12232
fb88ac72
UD
122332010-12-09 Ulrich Drepper <drepper@gmail.com>
12234
12235 [BZ #11655]
12236 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12237 are initialized.
12238
42acbb92
JJ
122392010-12-09 Jakub Jelinek <jakub@redhat.com>
12240
12241 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12242
c038d98d
UD
122432010-12-03 Ulrich Drepper <drepper@gmail.com>
12244
12245 * po/it.po: Update from translation team.
12246
3a4a2499
L
122472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12248
12249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12250 unused codes.
12251
1e24cf6e
UD
122522010-11-30 Ulrich Drepper <drepper@gmail.com>
12253
12254 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12255
a7690819
AS
122562010-11-24 Andreas Schwab <schwab@redhat.com>
12257
12258 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12259 specially.
12260 (gaih_getanswer_slice): Likewise.
12261
3bf8d1b1
JJ
122622010-10-20 Jakub Jelinek <jakub@redhat.com>
12263
12264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12265
6db52fbb
PB
122662010-05-31 Petr Baudis <pasky@suse.cz>
12267
12268 [BZ #11149]
12269 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12270 silently even in the chroot mode.
12271
eaca7569
UD
122722010-11-22 Ulrich Drepper <drepper@gmail.com>
12273
12274 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12275 last patch a bit. Pretty printing
12276
3056dcdb
UD
122772010-05-31 Petr Baudis <pasky@suse.cz>
12278
12279 [BZ #10085]
12280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12281 initialization of skip_initgroups_dyn.
12282
cf7c9078
UD
122832010-11-19 Ulrich Drepper <drepper@gmail.com>
12284
12285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12286 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12287
a1fb5e3e
UD
122882010-11-16 Ulrich Drepper <drepper@gmail.com>
12289
12290 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12291
3540d66b
AS
122922010-11-11 Andreas Schwab <schwab@redhat.com>
12293
12294 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12295 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12296 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12297 ($(objpfx)tst-fnmatch-mem): New rule.
12298 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12299 * posix/tst-fnmatch.c (main): Call mtrace.
12300
13b69574
L
123012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12304 Support Intel processor model 6 and model 0x2c.
12305
da93d214
LM
123062010-11-10 Luis Machado <luisgpm@br.ibm.com>
12307
12308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12309 signed comparison.
12310
8ca52c6e
L
123112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12312
12313 [BZ #12205]
12314 * string/test-strncasecmp.c (check_result): New function.
12315 (do_one_test): Use it.
12316 (check1): New function.
12317 (test_main): Use it.
12318 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12319 Support strcasecmp and strncasecmp.
12320
69da074d
UD
123212010-11-08 Ulrich Drepper <drepper@gmail.com>
12322
12323 [BZ #12194]
12324 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12326
ff02d528
L
123272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12328
12329 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12330 IFUNC support.
12331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12332 memset-x86-64.
12333 * sysdeps/x86_64/multiarch/bzero.S: New file.
12334 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12335 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12336 * sysdeps/x86_64/multiarch/memset.S: New file.
12337 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12339 Set bit_Prefer_SSE_for_memop for Intel processors.
12340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12341 Define.
12342 (index_Prefer_SSE_for_memop): Define.
12343 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12344
344d0b54
LM
123452010-11-04 Luis Machado <luisgpm@br.ibm.com>
12346
12347 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12348 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12349
c0dde15b
UD
123502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12351
12352 [BZ #12191]
12353 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12354 (__x86_64_raw_data_cache_size_half): Likewise.
12355 (__x86_64_raw_shared_cache_size): Likewise.
12356 (__x86_64_raw_shared_cache_size_half): Likewise.
12357
12358 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12359 (__x86_64_raw_data_cache_size_half): Likewise.
12360 (__x86_64_raw_shared_cache_size): Likewise.
12361 (__x86_64_raw_shared_cache_size_half): Likewise.
12362 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12363 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12364 and __x86_64_raw_shared_cache_size_half. Round
12365 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12366 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12367 to multiple of 256 bytes.
12368
0e516e0e
MS
123692010-11-03 Ulrich Drepper <drepper@gmail.com>
12370
12371 [BZ #12167]
12372 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12373 of inacessible symlinks. Verify result of symlink before returning it.
12374 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12375 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12376
0e012e87
ER
123772010-10-28 Erich Ritz <erichritz@gmail.com>
12378
12379 * math/math.h (isinf): Fix typo in comment.
12380
de0ff7bc
UD
123812010-11-01 Ulrich Drepper <drepper@gmail.com>
12382
12383 * po/da.po: Update from translation team.
12384
fa41c84d
UD
123852010-10-26 Ulrich Drepper <drepper@gmail.com>
12386
12387 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12388 is added to the list.
12389
f0967738
AK
123902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12391 Ulrich Drepper <drepper@gmail.com>
12392
12393 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12394 the global list here. Move code to...
12395 (_dl_add_to_namespace_list): ...here. New function.
12396 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12397 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12398 * elf/dl-load.c (lose): Don't remove the element from the list.
12399 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12400 (_dl_map_object): Likewise.
12401
124022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12403
12404 [BZ #12159]
12405 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12406 into all bytes of SSE register.
12407 Patch by Richard Li <richardpku@gmail.com>.
12408
f0967738 124092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12410
12411 [BZ #12140]
12412 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12413 perturbing.
12414
d0b9e94f
MB
124152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12416
12417 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12418 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12419 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12422 submachine.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12424
8e9f92e9
AS
124252010-10-22 Andreas Schwab <schwab@redhat.com>
12426
12427 * include/dlfcn.h (__RTLD_SECURE): Define.
12428 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12429 mode & __RTLD_SECURE instead.
12430 (open_path): Rename preloaded parameter to secure.
12431 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12432 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12433 * elf/dl-deps.c (openaux): Likewise.
12434 * elf/rtld.c (struct map_args): Remove is_preloaded.
12435 (map_doit): Don't use it.
12436 (dl_main): Likewise.
12437 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12438 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12439
bc96fbda
AS
124402010-09-09 Andreas Schwab <schwab@redhat.com>
12441
12442 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12443 (sysd-rules-targets): Remove duplicates.
12444 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12445 rtld-%.$o dependency.
12446
22cd1c9b
AS
124472010-10-18 Andreas Schwab <schwab@redhat.com>
12448
12449 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12450 _dl_map_object do it.
12451
18edac48
UD
124522010-10-19 Ulrich Drepper <drepper@gmail.com>
12453
12454 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12455 fast fma builtins, define the macros in the C99 standard.
12456 (FP_FAST_FMAF): Likewise.
12457 (FP_FAST_FMAL): Likewise.
12458 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12459
12460 * bits/mathdef.h: Update copyright year.
12461 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12462
d2050124
MM
124632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12464
12465 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12466 builtins, define the macros in the C99 standard.
12467 (FP_FAST_FMAF): Likewise.
12468 (FP_FAST_FMAL): Likewise.
12469 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12470 multiply/add.
12471 (FP_FAST_FMAF): Likewise.
12472
475facd1
JJ
124732010-10-15 Jakub Jelinek <jakub@redhat.com>
12474
12475 [BZ #3268]
12476 * math/libm-test.inc (fma_test): Some new testcases.
12477 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12479 y and infinite z. Do multiplication by C already in long double.
12480 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12482 y and infinite z. Do bitwise or of inexact bit into u.d.
12483 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12484 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12485 * sysdeps/i386/fpu/s_fma.S: Removed.
12486 * sysdeps/i386/fpu/s_fmal.S: Removed.
12487
7c08a05c
JJ
124882010-10-16 Jakub Jelinek <jakub@redhat.com>
12489
12490 [BZ #3268]
12491 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12493 computation is not scheduled after fetestexcept. Fix value
12494 of minimum denormal long double.
12495
f3f7372d
JJ
124962010-10-14 Jakub Jelinek <jakub@redhat.com>
12497
12498 [BZ #3268]
12499 * math/libm-test.inc (fma_test): Add some more tests.
12500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12501 correctly.
12502
14d43591
AS
125032010-10-15 Andreas Schwab <schwab@redhat.com>
12504
12505 * scripts/data/localplt-s390-linux-gnu.data: New file.
12506 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12507
5e908464
JJ
125082010-10-13 Jakub Jelinek <jakub@redhat.com>
12509
12510 [BZ #3268]
12511 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12512 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12513 instead of dbl-64.
12514 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12515 inlines.
12516 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12518 if one of x and y is very large and the other is subnormal.
12519 * sysdeps/s390/fpu/s_fmaf.c: New file.
12520 * sysdeps/s390/fpu/s_fma.c: New file.
12521 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12522 * sysdeps/powerpc/fpu/s_fma.S: New file.
12523 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12524 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12525 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12526
125272010-10-12 Jakub Jelinek <jakub@redhat.com>
12528
12529 [BZ #3268]
12530 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12531 fma tests.
12532 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12533 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12534 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12535 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12536 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12537 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12539
b833d51f
UD
125402010-10-12 Ulrich Drepper <drepper@redhat.com>
12541
12542 [BZ #12078]
12543 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12544 * posix/bug-regex31.input: Add test case.
12545
1751705d
UD
125462010-10-11 Ulrich Drepper <drepper@gmail.com>
12547
e9b9cbf5
UD
12548 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12549 * posix/bug-regex31.input: New file.
12550
12551 [BZ #12078]
12552 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12553 (parse_sub_exp): Fix last change, use postorder.
12554
ef06edbe
UD
12555 * posix/bug-regex31.c: New file.
12556 * posix/Makefile: Add rules to build and run bug-regex31.
12557
a129c80d
UD
12558 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12559
12560 [BZ #12078]
12561 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12562
b76b818e
UD
12563 [BZ #12108]
12564 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12565 to have entries in sys_siglist.
12566
1751705d
UD
12567 [BZ #12093]
12568 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12569 be NULL.
12570
9ff8d36f
JJ
125712010-10-07 Jakub Jelinek <jakub@redhat.com>
12572
12573 [BZ #3268]
12574 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12575 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12576 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12577 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12578 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12579 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12580 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12581 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12582 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12583 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12584 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12585 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12586 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12587 * math/ftestexcept.c (fetestexcept): Likewise.
12588 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12589 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12590 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12591 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12592 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12593 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12594 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12595
af325969
UD
125962010-10-11 Ulrich Drepper <drepper@gmail.com>
12597
c579b202 12598 [BZ #12107]
af325969
UD
12599 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12600 newline.
12601
67a67b95
UD
126022010-10-06 Ulrich Drepper <drepper@gmail.com>
12603
12604 * string/bug-strstr1.c: New file.
12605 * string/Makefile: Add rules to build and run bug-strstr1.
12606
5fb308bc
EB
126072010-10-05 Eric Blake <eblake@redhat.com>
12608
12609 [BZ #12092]
12610 * string/str-two-way.h (two_way_long_needle): Always clear memory
12611 when skipping input due to the shift table.
12612
45db99c7
UD
126132010-10-03 Ulrich Drepper <drepper@gmail.com>
12614
3b111893
UD
12615 [BZ #12005]
12616 * malloc/mcheck.c: Handle large requests.
12617
45db99c7
UD
12618 [BZ #12077]
12619 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12620 for strncmp and strncasecmp.
12621 * string/stratcliff.c: Add tests for strcmp and strncmp.
12622 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12623
cf7a1eb8
NI
126242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12625
12626 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12627 __set_fpscr.
12628
6484ba5e
AJ
126292010-09-30 Andreas Jaeger <aj@suse.de>
12630
12631 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12632 (CGROUP_SUPER_MAGIC): Define.
12633 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12634 Handle btrfs and cgroup file systems.
12635 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12636 Likewise.
12637
91c42559
LM
126382010-09-27 Luis Machado <luisgpm@br.ibm.com>
12639
12640 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12641 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12642
87a97932
AK
126432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12644
12645 [BZ #12067]
12646 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12647 trying to locate the ELF header.
12648
c21cc9bc
AS
126492010-09-27 Andreas Schwab <schwab@redhat.com>
12650
12651 [BZ #11611]
12652 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12653 Mask out sign-bit copies when constructing f_fsid.
12654
315970f6
PB
126552010-09-24 Petr Baudis <pasky@suse.cz>
12656
12657 * debug/stack_chk_fail_local.c: Add missing licence exception.
12658 * debug/warning-nop.c: Likewise.
12659
1ac7a2c7
JM
126602010-09-15 Joseph Myers <joseph@codesourcery.com>
12661
12662 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12663 implementing getdents64 using getdents syscall, set d_type if
12664 __ASSUME_GETDENTS32_D_TYPE.
12665
56801c50
AS
126662010-09-16 Andreas Schwab <schwab@redhat.com>
12667
12668 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12669 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12670
dda51327
UD
126712010-09-21 Ulrich Drepper <drepper@redhat.com>
12672
12673 [BZ #12037]
12674 * posix/unistd.h: Undo change of feature selection for ftruncate from
12675 2010-01-11.
12676
8ffcee4a
UD
126772010-09-20 Ulrich Drepper <drepper@redhat.com>
12678
a545ecd9 12679 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12680 detection.
12681
e24f0a8b
AS
126822010-09-20 Andreas Schwab <schwab@redhat.com>
12683
12684 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12685 fanotify_mark.
12686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12687
7291c56f
AS
126882010-09-14 Andreas Schwab <schwab@redhat.com>
12689
12690 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12691 variables after CHECK_SP call.
12692 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12693
bc5fb037
AS
126942010-09-13 Andreas Schwab <schwab@redhat.com>
12695 Ulrich Drepper <drepper@redhat.com>
12696
12697 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12698 re-relocationg ld.so.
12699 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12700 _dl_init_paths call.
12701 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12702 here anymore.
12703
e66e7419
UD
127042010-09-14 Ulrich Drepper <drepper@redhat.com>
12705
12706 * resolv/res_init.c (__res_vinit): Count the default server we added.
12707
c044aa75
CLT
127082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12709 Ulrich Drepper <drepper@redhat.com>
12710
12711 [BZ #11968]
12712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12713 (____longjmp_chk): Use %ebx for saving value across system call.
12714 Add unwind info.
12715
32cf4069
AS
127162010-09-06 Andreas Schwab <schwab@redhat.com>
12717
12718 * manual/Makefile: Don't mix pattern rules with normal rules.
12719
817328ee
AS
127202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12721
12722 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12723 operation.
12724 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12725 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12726 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12727 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12729 Likewise.
12730
29fddf61
UD
127312010-09-04 Ulrich Drepper <drepper@redhat.com>
12732
12733 [BZ #11979]
12734 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12735 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12736
0959ffc9
UD
127372010-09-02 Ulrich Drepper <drepper@redhat.com>
12738
12739 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12740 * sysdeps/x86_64/addmul_1.S: Likewise.
12741 * sysdeps/x86_64/lshift.S: Likewise.
12742 * sysdeps/x86_64/mul_1.S: Likewise.
12743 * sysdeps/x86_64/rshift.S: Likewise.
12744 * sysdeps/x86_64/sub_n.S: Likewise.
12745 * sysdeps/x86_64/submul_1.S: Likewise.
12746
ece29840
ST
127472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12748
0959ffc9
UD
12749 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12750 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12751 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12752 * bits/sched.h [__need_schedparam]
ece29840 12753 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12754 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12755 (__defined_schedparam): Define to 1.
ece29840
ST
12756 (__sched_param): New structure, identical to sched_param.
12757 (__need_schedparam): Undefine.
12758
e53a31fe
MF
127592010-08-31 Mike Frysinger <vapier@gentoo.org>
12760
fdc0c10d
MF
12761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12762 (epoll_create1): Declare.
12763
e53a31fe
MF
12764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12765
a726d796
AS
127662010-08-31 Andreas Schwab <schwab@redhat.com>
12767
12768 [BZ #7066]
12769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12770 shifting retval into place.
12771
2f3e3dc7
UD
127722010-09-01 Ulrich Drepper <drepper@redhat.com>
12773
f2933da9
UD
12774 * nis/rpcsvc/nis.h: Update copyright notice.
12775 * nis/rpcsvc/nis.x: Likewise.
12776 * nis/rpcsvc/nis_callback.h: Likewise.
12777 * nis/rpcsvc/nis_callback.x: Likewise.
12778 * nis/rpcsvc/nis_object.x: Likewise.
12779 * nis/rpcsvc/nis_tags.h: Likewise.
12780 * nis/rpcsvc/yp.h: Likewise.
12781 * nis/rpcsvc/yp.x: Likewise.
12782 * nis/rpcsvc/ypupd.h: Likewise.
12783 * nis/yp_xdr.c: Likewise.
12784 * nis/ypupdate_xdr.c: Likewise.
12785
2f3e3dc7
UD
12786 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12787 mainly the body of pmap_getport. Add parameters to specify timeouts.
12788 (pmap_getport): Use __libc_rpc_getport.
12789 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12790 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12791 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12792
f3dcc2f9
AS
127932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12794
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12796 fanotify_mark.
12797
6d34eb5b
RM
127982010-08-27 Roland McGrath <roland@redhat.com>
12799
12800 * sysdeps/i386/i686/multiarch/Makefile
12801 (CFLAGS-varshift.c): New variable.
12802
9ea3de11
UD
128032010-08-27 Ulrich Drepper <drepper@redhat.com>
12804
c96d23fc
UD
12805 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12806 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12807
9ea3de11
UD
12808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12809
12810 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12811
623aac7f
L
128122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12813
12814 * sysdeps/x86_64/strlen.S: Unroll the loop.
12815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12816 strlen-sse2 strlen-sse2-bsf.
12817 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12818 __strlen_no_bsf if bit_Slow_BSF is set.
12819 (__strlen_sse42): Removed.
12820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12821 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12822
8b2b7715
RM
128232010-08-25 Roland McGrath <roland@redhat.com>
12824
12825 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12826 * sysdeps/x86_64/multiarch/varshift.c: New file.
12827 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12828 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12829 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12830 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12831
e73015f2
L
128322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12833
12834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12835 strlen-sse2 strlen-sse2-bsf.
12836 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12837 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12838 (__strlen_sse2): Removed.
12839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12842 bit_Slow_BSF for Atom.
12843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12844 (index_Slow_BSF): Define.
12845 (HAS_SLOW_BSF): Define.
12846
df24a73e
UD
128472010-08-25 Ulrich Drepper <drepper@redhat.com>
12848
12849 [BZ #10851]
12850 * resolv/res_init.c (__res_vinit): When no server address at all
12851 is given default to loopback.
12852
f2ac4868
RM
128532010-08-24 Roland McGrath <roland@redhat.com>
12854
09055553
RM
12855 * configure.in: Remove config-name.h generation.
12856 * configure: Regenerated.
12857 * config-name.in: File removed.
12858 * scripts/config-uname.sh: New file.
12859 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12860 ($(objdir)config-name.h): New target.
12861
f2ac4868
RM
12862 * sunrpc/rpc_parse.h: Avoid nested comment.
12863
73f27d5e
RH
128642010-08-24 Richard Henderson <rth@redhat.com>
12865 Ulrich Drepper <drepper@redhat.com>
12866 H.J. Lu <hongjiu.lu@intel.com>
12867
12868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12870 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12871 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12872 _mm_alignr_epi8 with _mm_loadu_si128.
12873 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12874 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12875 (__m128i_shift_right): Removed.
12876 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12877 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12878 * sysdeps/x86_64/multiarch/varshift.h: New file.
12879 * sysdeps/x86_64/multiarch/varshift.S: New file.
12880
84b9230c
MF
128812010-08-21 Mike Frysinger <vapier@gentoo.org>
12882
12883 * configure.in: Move assembler checks to before sysdep dir checking.
12884
9bbd0ddc
PB
128852010-08-20 Petr Baudis <pasky@suse.cz>
12886
12887 * LICENSES: Sync the sunrpc license.
12888
9da4bb31
UD
128892010-08-19 Ulrich Drepper <drepper@redhat.com>
12890
a7ab6ec8
UD
12891 * sunrpc/auth_des.c: Update copyright notice once again.
12892 * sunrpc/auth_none.c: Likewise.
12893 * sunrpc/auth_unix.c: Likewise.
12894 * sunrpc/authdes_prot.c: Likewise.
12895 * sunrpc/authuxprot.c: Likewise.
12896 * sunrpc/bindrsvprt.c: Likewise.
12897 * sunrpc/clnt_gen.c: Likewise.
12898 * sunrpc/clnt_perr.c: Likewise.
12899 * sunrpc/clnt_raw.c: Likewise.
12900 * sunrpc/clnt_simp.c: Likewise.
12901 * sunrpc/clnt_tcp.c: Likewise.
12902 * sunrpc/clnt_udp.c: Likewise.
12903 * sunrpc/clnt_unix.c: Likewise.
12904 * sunrpc/des_crypt.c: Likewise.
12905 * sunrpc/des_soft.c: Likewise.
12906 * sunrpc/get_myaddr.c: Likewise.
12907 * sunrpc/getrpcport.c: Likewise.
12908 * sunrpc/key_call.c: Likewise.
12909 * sunrpc/key_prot.c: Likewise.
12910 * sunrpc/openchild.c: Likewise.
12911 * sunrpc/pm_getmaps.c: Likewise.
12912 * sunrpc/pm_getport.c: Likewise.
12913 * sunrpc/pmap_clnt.c: Likewise.
12914 * sunrpc/pmap_prot.c: Likewise.
12915 * sunrpc/pmap_prot2.c: Likewise.
12916 * sunrpc/pmap_rmt.c: Likewise.
12917 * sunrpc/rpc/auth.h: Likewise.
12918 * sunrpc/rpc/auth_unix.h: Likewise.
12919 * sunrpc/rpc/clnt.h: Likewise.
12920 * sunrpc/rpc/des_crypt.h: Likewise.
12921 * sunrpc/rpc/key_prot.h: Likewise.
12922 * sunrpc/rpc/netdb.h: Likewise.
12923 * sunrpc/rpc/pmap_clnt.h: Likewise.
12924 * sunrpc/rpc/pmap_prot.h: Likewise.
12925 * sunrpc/rpc/pmap_rmt.h: Likewise.
12926 * sunrpc/rpc/rpc.h: Likewise.
12927 * sunrpc/rpc/rpc_des.h: Likewise.
12928 * sunrpc/rpc/rpc_msg.h: Likewise.
12929 * sunrpc/rpc/svc.h: Likewise.
12930 * sunrpc/rpc/svc_auth.h: Likewise.
12931 * sunrpc/rpc/types.h: Likewise.
12932 * sunrpc/rpc/xdr.h: Likewise.
12933 * sunrpc/rpc_clntout.c: Likewise.
12934 * sunrpc/rpc_cmsg.c: Likewise.
12935 * sunrpc/rpc_common.c: Likewise.
12936 * sunrpc/rpc_cout.c: Likewise.
12937 * sunrpc/rpc_dtable.c: Likewise.
12938 * sunrpc/rpc_hout.c: Likewise.
12939 * sunrpc/rpc_main.c: Likewise.
12940 * sunrpc/rpc_parse.c: Likewise.
12941 * sunrpc/rpc_parse.h: Likewise.
12942 * sunrpc/rpc_prot.c: Likewise.
12943 * sunrpc/rpc_sample.c: Likewise.
12944 * sunrpc/rpc_scan.c: Likewise.
12945 * sunrpc/rpc_scan.h: Likewise.
12946 * sunrpc/rpc_svcout.c: Likewise.
12947 * sunrpc/rpc_tblout.c: Likewise.
12948 * sunrpc/rpc_util.c: Likewise.
12949 * sunrpc/rpc_util.h: Likewise.
12950 * sunrpc/rpcinfo.c: Likewise.
12951 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12952 * sunrpc/rpcsvc/key_prot.x: Likewise.
12953 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12954 * sunrpc/rpcsvc/mount.x: Likewise.
12955 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12956 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12957 * sunrpc/rpcsvc/rex.x: Likewise.
12958 * sunrpc/rpcsvc/rstat.x: Likewise.
12959 * sunrpc/rpcsvc/rusers.x: Likewise.
12960 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12961 * sunrpc/rpcsvc/spray.x: Likewise.
12962 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12963 * sunrpc/rtime.c: Likewise.
12964 * sunrpc/svc.c: Likewise.
12965 * sunrpc/svc_auth.c: Likewise.
12966 * sunrpc/svc_authux.c: Likewise.
12967 * sunrpc/svc_raw.c: Likewise.
12968 * sunrpc/svc_run.c: Likewise.
12969 * sunrpc/svc_simple.c: Likewise.
12970 * sunrpc/svc_tcp.c: Likewise.
12971 * sunrpc/svc_udp.c: Likewise.
12972 * sunrpc/svc_unix.c: Likewise.
12973 * sunrpc/svcauth_des.c: Likewise.
12974 * sunrpc/xcrypt.c: Likewise.
12975 * sunrpc/xdr.c: Likewise.
12976 * sunrpc/xdr_array.c: Likewise.
12977 * sunrpc/xdr_float.c: Likewise.
12978 * sunrpc/xdr_mem.c: Likewise.
12979 * sunrpc/xdr_rec.c: Likewise.
12980 * sunrpc/xdr_ref.c: Likewise.
12981 * sunrpc/xdr_sizeof.c: Likewise.
12982 * sunrpc/xdr_stdio.c: Likewise.
12983
9da4bb31
UD
12984 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12985 handling.
12986
bdaa77bc
AS
129872010-08-19 Andreas Schwab <schwab@redhat.com>
12988
12989 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12990
fe2f79db
LM
129912010-08-19 Luis Machado <luisgpm@br.ibm.com>
12992
12993 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12994 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12995 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12996 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12997 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12998 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12999 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13000 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13003 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13004 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13005 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13006 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13007
b9b42ee0
AB
130082010-07-26 Anton Blanchard <anton@samba.org>
13009
13010 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13011 * malloc/arena.c (heap_trim): Likewise.
13012
1c06ba31
UD
130132010-08-16 Ulrich Drepper <drepper@redhat.com>
13014
13015 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13016 here. Not...
13017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13018 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13019
f8392f40
L
130202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13021
13022 * sysdeps/i386/elf/Makefile: New file.
13023
3162f12e
AS
130242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13025
13026 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13027 from fanotify_init.
13028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13030
28c90b2c
UD
130312010-08-15 Ulrich Drepper <drepper@redhat.com>
13032
13033 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13034 of strncasecmp_l.
1feccb6c 13035 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13036
ca6bb004
UD
130372010-08-14 Ulrich Drepper <drepper@redhat.com>
13038
e9f82e0d
UD
13039 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13040 strncase_l-nonascii.
13041 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13042 Add strncase_l-ssse3.
13043 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13044 * sysdeps/x86_64/strcmp.S: Likewise.
13045 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13046 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13047 * sysdeps/x86_64/strncase.S: New file.
13048 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13049 * sysdeps/x86_64/strncase_l.S: New file.
13050 * string/Makefile (strop-tests): Add strncasecmp.
13051 * string/test-strncasecmp.c: New file.
13052
13053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13054 warning.
13055
ca6bb004
UD
13056 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13057 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13058
052fa7b3
AS
130592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13060
13061 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13062
962dba78
UD
130632010-08-12 Ulrich Drepper <drepper@redhat.com>
13064
13065 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13068
bebff237
AM
130692010-05-01 Alan Modra <amodra@gmail.com>
13070
13071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13072 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13073 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13074 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13075 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13076 tidying. Don't tail-call __sigjmp_save for static lib.
13077 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13078 save location.
13079 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13080 (CALL_MCOUNT): Add eh info, and nop after bl.
13081 (TAIL_CALL_SYSCALL_ERROR): New macro.
13082 (PSEUDO_RET): Use it.
13083 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13084 Correct save location of integer regs and cr.
13085 (_dl_profile_resolve): Correct cr save location. Delete nops
13086 after bl when SHARED. Reduce cfi size a little by better
13087 placement of cfi directives.
13088 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13089 make a stack frame. Instead use parm save area as a temp.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13091 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13093 Don't make a stack frame for parent, use parm save area.
13094 Increase child stack frame to 112 bytes. Don't save unused reg,
13095 and adjust reg usage. Set up cfi on error recovery and
13096 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13098 (__makecontext): Add dummy nop after jump to exit.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13100 Use correct parm save area and cr save, reduce stack frame.
13101 Correct cfi for possible PSEUDO_RET frame setup.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13103 Branch to local label emitted by PSEUDO_RET rather than
13104 __syscall_error.
13105
02637374
AS
131062010-08-12 Andreas Schwab <schwab@redhat.com>
13107
13108 [BZ #11904]
13109 * locale/programs/locale.c (print_assignment): New function.
13110 (show_locale_vars): Use it.
13111
c3e2f19b
UD
131122010-08-11 Ulrich Drepper <drepper@redhat.com>
13113
3cdaa6ad
UD
13114 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13115 field.
13116 (struct statfs64): Likewise.
13117 (_STATFS_F_FLAGS): Define.
13118 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13120 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13121 (ST_VALID): Define locally.
13122 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13123 __statvfs_getflags, use the provided value.
13124 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13125 __ASSUME_STATFS_F_FLAGS.
13126
754f7da3
UD
13127 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13128
10b3bedc
UD
13129 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13130 Add sys/fanotify.h.
13131 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13132 fanotify_mask for GLIBC_2.13.
13133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13134 fanotify_init and fanotify_mark.
13135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13136 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13137
c08fb0d7
UD
13138 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13139 Add prlimit.
13140 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13141 prlimit64 for GLIBC_2.13.
13142 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13143 prlimit64.
13144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13145 syscall.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13148 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13151 add prlimit alias.
13152 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13153
15bac72b
UD
13154 [BZ #11903]
13155 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13156 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13157
c3e2f19b
UD
13158 * nss/Makefile: Add rules to build and run tst-nss-test1.
13159 * shlib-versions: Add entry for libnss_test1.
13160 * nss/nss_test1.c: New file.
13161 * nss/tst-nss-test1.c: New file.
13162
13163 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13164 (__nss_configure_lookup): Set appropriate entry in
13165 __nss_configure_lookup to true.
13166 * nss/nsswitch.h: Define enum with indeces of databases in
13167 databases and __nss_database_custom arrays. Declare
13168 __nss_database_custom.
13169 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13170 to avoid using nscd when custom rules are installed.
13171 * nss/getXXbyYY_r.c: Likewise.
13172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13173
13174 * nss/nss_files/files-parse.c: Whitespace fixes.
13175
f15ce4d8
UD
131762010-08-09 Ulrich Drepper <drepper@redhat.com>
13177
13178 [BZ #11883]
13179 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13180 * posix/fnmatch_loop.c: Likewise.
13181
d22e4cc9
AK
131822010-07-17 Andi Kleen <ak@linux.intel.com>
13183
13184 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13185 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13186 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13187 * Versions.def [GLIBC_2.13]: Add.
13188
805bc17d
UD
131892010-08-06 Ulrich Drepper <drepper@redhat.com>
13190
13191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13192 Also fail if tpwd after pwuid call is NULL.
13193
5a42321d
ST
131942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13195
13196 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13197 when converting to ms.
13198
fd3ebeda
ST
131992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13200
13201 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13202 EOPNOTSUPP errors with ENOTTY.
13203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13204 EOPNOTSUPP errors with ENOTTY.
13205
73507d3a
UD
132062010-07-31 Ulrich Drepper <drepper@redhat.com>
13207
13208 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13209 Add strcasecmp_l-ssse3.
13210 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13211 strcasecmp.
13212 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13213 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13214 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13215
fe36dd02
UD
132162010-07-30 Ulrich Drepper <drepper@redhat.com>
13217
66f6765a
UD
13218 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13219
42e08a54
UD
13220 * string/Makefile (strop-tests): Add strcasecmp.
13221 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13222 strcasecmp_l-nonascii.
13223 (gen-as-const-headers): Add locale-defines.sym.
13224 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13225 * sysdeps/x86_64/strcasecmp.S: New file.
13226 * sysdeps/x86_64/strcasecmp_l.S: New file.
13227 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13228 * sysdeps/x86_64/locale-defines.sym: New file.
13229 * string/test-strcasecmp.c: New file.
13230
fe36dd02
UD
13231 * string/test-strcasestr.c: Test both ends of the range of characters.
13232 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13233
48cbc0d6
RM
132342010-07-29 Roland McGrath <roland@redhat.com>
13235
76e6d6bc 13236 [BZ #11856]
48cbc0d6
RM
13237 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13238
880113d9
UD
132392010-07-27 Ulrich Drepper <drepper@redhat.com>
13240
13241 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13242 for ld.so.
13243
deb9cabb
AS
132442010-07-27 Andreas Schwab <schwab@redhat.com>
13245
13246 * manual/memory.texi (Malloc Tunable Parameters): Document
13247 M_PERTURB.
13248
1c7570ff
RM
132492010-07-26 Roland McGrath <roland@redhat.com>
13250
13251 [BZ #11840]
13252 * configure.in (-fgnu89-inline check): Set and substitute
13253 gnu89_inline, not libc_cv_gnu89_inline.
13254 * configure: Regenerated.
13255 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13256
24fb0f88
UD
132572010-07-26 Ulrich Drepper <drepper@redhat.com>
13258
13259 * string/test-strnlen.c: New file.
13260 * string/Makefile (strop-tests): Add strnlen.
13261 * string/tester.c (test_strnlen): Add a few more test cases.
13262 * string/tst-strlen.c: Better error reporting.
13263
13264 * sysdeps/x86_64/strnlen.S: New file.
13265
8e96b93a
UD
132662010-07-24 Ulrich Drepper <drepper@redhat.com>
13267
13268 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13269 lower-latency instructions.
13270
dbc676d4
UD
132712010-07-23 Ulrich Drepper <drepper@redhat.com>
13272
13273 * string/test-strcasestr.c: New file.
13274 * string/test-strstr.c: New file.
13275 * string/Makefile (strop-tests): Add strstr and strcasestr.
13276 * string/str-two-way.h: Don't undefine MAX.
13277 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13278
f6a31e0e
AS
132792010-07-21 Andreas Schwab <schwab@redhat.com>
13280
13281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13282 strcasestr-nonascii.
13283 (CFLAGS-strcasestr-nonascii.c): Define.
13284 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13286 Remove unused attribute.
13287
5dbc3b6c
RM
132882010-07-20 Roland McGrath <roland@redhat.com>
13289
13290 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13291 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13292 ld.so.cache was broken. With it, there is no way to disable dsocaps
13293 like LD_HWCAP_MASK can disable hwcaps.
13294
23d101d8
EPM
132952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13296
13297 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13298
cc9f2e47
UD
132992010-07-16 Ulrich Drepper <drepper@redhat.com>
13300
13301 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13302 call in strcasestr.
13303 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13304 __strcasestr_sse42_nonascii.
13305 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13306 strcasestr-nonascii.c.
13307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13308
77c1b069
LM
133092010-06-15 Luis Machado <luisgpm@br.ibm.com>
13310
13311 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13312 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13313 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13314 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13315
440566c3
UD
133162010-07-09 Ulrich Drepper <drepper@redhat.com>
13317
13318 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13319 fcntl.
13320
5be9d05d
AS
133212010-07-06 Andreas Schwab <schwab@redhat.com>
13322
c30b7ee2 13323 [BZ #11577]
5be9d05d
AS
13324 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13325 dl_signal_cerror.
13326
8a492a67
UD
133272010-07-06 Ulrich Drepper <drepper@redhat.com>
13328
13329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13330 _PC_PIPE_BUF using F_GETPIPE_SZ.
13331
713df3d5
RM
133322010-07-05 Roland McGrath <roland@redhat.com>
13333
13334 * manual/arith.texi (Rounding Functions): Fix rint description
13335 implicit in round description.
13336
702e8f14
UD
133372010-07-02 Ulrich Drepper <drepper@redhat.com>
13338
13339 * elf/Makefile: Fix linking for a few tests to make recent linker
13340 happy.
13341
52ed8be9
AS
133422010-06-30 Andreas Schwab <schwab@redhat.com>
13343
13344 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13345 $(common-objpfx)libc_nonshared.a.
13346
f47c9a11
LM
133472010-06-21 Luis Machado <luisgpm@br.ibm.com>
13348
13349 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13350 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13351 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13352 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13353 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13354 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13356 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13371 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13372 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13373 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13374 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13375 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13376 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13377 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13378 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13379 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13380 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13381 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13382 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13397
6fb8cbcb
L
133982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13401 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13402 * string/memmove.c (memmove): Renamed to ...
13403 (MEMMOVE): ...this. Default to memmove.
13404 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13405 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13406 (END_CHK): Define.
13407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13408 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13409 mempcpy-ssse3-back memmove-ssse3-back.
13410 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13412 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13413 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13414 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13415 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13416 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13417 * sysdeps/x86_64/multiarch/memmove.c: New file.
13418 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13419 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13420 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13421 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13422 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13424 Define.
13425 (index_Fast_Copy_Backward): Define.
13426 (HAS_ARCH_FEATURE): Define.
13427 (HAS_FAST_REP_STRING): Define.
13428 (HAS_FAST_COPY_BACKWARD): Define.
13429
4e733bac 134302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13431
13432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13433 Restore proper fallback handling.
13434
63c4ed22
UD
134352010-06-19 Ulrich Drepper <drepper@redhat.com>
13436
ac2b484c
UD
13437 [BZ #11701]
13438 * posix/group_member.c (__group_member): Correct checking loop.
13439
63c4ed22
UD
13440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13441 OOM in getpwuid_r correctly. Return error number when the caller
13442 should return, otherwise -1.
13443 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13444 call returning > 0 value.
13445 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13446
765ade4b
AS
134472010-06-07 Andreas Schwab <schwab@redhat.com>
13448
13449 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13450 libc_nonshared.a from targets in modules-names.
13451
80da2e09
KS
134522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13453
13454 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13455 requires it.
13456
158db122
LM
134572010-06-10 Luis Machado <luisgpm@br.ibm.com>
13458
13459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13463
caa78cf8
AS
134642010-06-02 Andreas Schwab <schwab@redhat.com>
13465
13466 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13467
b2ef2c01
UD
134682010-06-14 Ulrich Drepper <drepper@redhat.com>
13469
13470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13471 and F_GETPIPE_SZ.
13472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13478
fbd643b6
RM
134792010-06-14 Roland McGrath <roland@redhat.com>
13480
13481 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13482
f32f2869
JJ
134832010-06-07 Jakub Jelinek <jakub@redhat.com>
13484
13485 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13486 __REDIRECT followed by __THROW.
13487 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13488 * posix/getopt.h (getopt): Likewise.
13489
2a50c078
EPM
134902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13491
13492 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13493 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13494 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13495 in AT_FLAGS.
13496 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13497 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13498
eb5ad2eb
LM
134992010-05-28 Luis Machado <luisgpm@br.ibm.com>
13500
13501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13502
3c88fe1e
L
135032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13504
13505 [BZ #11640]
13506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13507 Properly check family and model.
13508
d2f73151
TY
135092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13510
13511 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13512
ebd2e13d
LM
135132010-05-24 Luis Machado <luisgpm@br.ibm.com>
13514
13515 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13516
b32b8b45
UD
135172010-05-21 Ulrich Drepper <drepper@redhat.com>
13518
13519 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13520 symbol reference.
13521
9acbe24d
AS
135222010-05-19 Andreas Schwab <schwab@redhat.com>
13523
13524 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13525 symbol reference.
13526
f0ccf6ea
AS
135272010-05-21 Andreas Schwab <schwab@redhat.com>
13528
3d04ff3a
AS
13529 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13530 and internal_recvmmsg.
13531 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13532 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13533 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13534 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13535
f0ccf6ea
AS
13536 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13537 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13538 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13539
5b08ac57
AS
135402010-05-20 Andreas Schwab <schwab@redhat.com>
13541
13542 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13543
4828935d
LM
135442010-05-17 Luis Machado <luisgpm@br.ibm.com>
13545
13546 POWER7 optimizations.
13547 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13548 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13549
373d545e
UD
135502010-05-19 Ulrich Drepper <drepper@redhat.com>
13551
13552 * version.h: Update for 2.13 development version.
13553
21a2b1ae
AS
135542010-05-12 Andrew Stubbs <ams@codesourcery.com>
13555
13556 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13557 exceptions. Return 0.
13558
3f7dcb2b
RM
135592010-05-07 Roland McGrath <roland@redhat.com>
13560
13561 * elf/ldconfig.c (main): Add a const.
13562
5f24d53a 135632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13564
a160f8d8
UD
13565 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13566 (args_options): Add no-idn option.
13567 (ahosts_keys_int): Add idn_flags to ai_flags.
13568 (parse_option): Handle 'i' option to clear idn_flags.
13569
5f24d53a
UD
13570 * malloc/malloc.c (_int_free): Possible race in the most recently
13571 added check. Only act on the data if no current modification
13572 happened.
265bb1ce
UD
13573
13574See ChangeLog.17 for earlier changes.
This page took 1.760811 seconds and 5 git commands to generate.