]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Define __STDC_NO_THREADS__.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6d74dd09
JM
12012-05-10 Joseph Myers <joseph@codesourcery.com>
2
3 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4
28e72501
MK
52012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6 Joseph Myers <joseph@codesourcery.com>
7 Paul Pluzhnikov <ppluzhnikov@google.com>
8
9 [BZ #14012]
10 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11 requiring rpcgen.
12 [cross-compiling] (extra-libs): Likewise.
13 [cross-compiling] (extra-libs-others): Likewise.
14 [cross-compiling] (librpcsvc-routines): Likewise.
15 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16 [cross-compiling] (omit-deps): Likewise.
17 (sunrpc-CPPFLAGS): New variable.
18 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20 (cross-rpcgen-objs): New variable.
21 (extra-objs): Append $(cross-rpcgen-objs).
22 ($(cross-rpcgen-objs)): New rule.
23 ($(objpfx)cross-rpcgen): Likewise.
24 (rpcgen-cmd): Define to use $(built-program-file). Expand
25 comment.
26 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27 ($(objpfx)x%.stmp): Likewise.
28 * sunrpc/proto.h [IS_IN_build] (_): Define.
29 [IS_IN_build] (_libc_intl_domainname): Likewise.
30
c8c59454
L
312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32
33 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35 and R_X86_64_TPOFF64.
36
6f27cd16
JM
372012-05-10 Joseph Myers <joseph@codesourcery.com>
38
39 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40 sysdeps/unix/sysv/syscalls.list.
41 (stime): Likewise.
42 (utime): Likewise.
43 * sysdeps/unix/sysv/syscalls.list: Remove file.
44
02467e1c
PE
452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46
47 [BZ #3440]
48 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51 (__LC_IDENTIFICATION): Make these macros useful in #if
52 expressions, as required by C99.
53
da392631
AS
542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
55
56 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
58 after this.
59
8115f29b
L
602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
61
62 * stdlib/longlong.h: Updated from GCC.
63
bdd74070
AJ
642012-05-09 Andreas Jaeger <aj@suse.de>
65
edfe0dbe
AJ
66 * nscd/nscd.c (run_modes): Make named enum, reorder so that
67 default is first entry.
68 (run_mode): Set type.
69 (main): Remove informal message about syslog.
70 (options): Fix typo.
71
bdd74070
AJ
72 [BZ #14053]
73 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74 to asm.
75 (lrint): Likewise.
76 (llrintf): Likewise.
77 (llrint): Likewise.
78 (rint): Likewise.
79 (rintf): Likewise.
80 (nearbyint): Likewise.
81 (nearbyintf): Likewise.
82
91d8d69e
AJ
832012-05-09 Andreas Jaeger <aj@suse.de>
84 Pedro Alves <palves@redhat.com>
85
86 * nscd/nscd.c (run_mode): Use enum.
87 (main): Cleanup coding style issue.
88
bb90b80b
AJ
892012-05-09 Alexandre Oliva <aoliva@redhat.com>
90 Andreas Jaeger <aj@suse.de>
91
92 * nscd/nscd.c (go_background): Replaced with...
93 (run_mode): ... this.
94 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
95 (options): Add -F --foreground.
96 (main): Implement it.
97 (parse_opt): Parse it.
98
1a4b75a1
AJ
992012-05-09 Andreas Jaeger <aj@suse.de>
100
101 [BZ #14083]
102 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
103 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
104 -Wconversion warning.
105 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
106 Likewise.
107
b1cc2472
JM
1082012-05-09 Joseph Myers <joseph@codesourcery.com>
109
110 * conform/data/locale.h-data (NULL): Use macro-constant. Require
111 == 0.
112 (LC_ALL): Use macro-int-constant.
113 (LC_COLLATE): Likewise.
114 (LC_CTYPE): Likewise.
115 (LC_MESSAGES): Likewise.
116 (LC_MONETARY): Likewise.
117 (LC_NUMERIC): Likewise.
118 (LC_TIME): Likewise.
119 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
120 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
122 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
123 Specify type.
124 [C99-based standards] (float_t): Expect type.
125 [C99-based standards] (double_t): Expect type.
126 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
127 type.
128 [C99-based standards] (HUGE_VALL): Likewise.
129 [C99-based standards] (INFINITY): Likewise.
130 [C99-based standards] (NAN): Likewise.
131 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
132 [C99-based standards] (FP_NAN): Likewise.
133 [C99-based standards] (FP_NORMAL): Likewise.
134 [C99-based standards] (FP_SUBNORMAL): Likewise.
135 [C99-based standards] (FP_ZERO): Likewise.
136 [C99-based standards] (FP_FAST_FMA): Use
137 optional-macro-int-constant. Specify type. Require == 1.
138 [C99-based standards] (FP_FAST_FMAF): Likewise.
139 [C99-based standards] (FP_FAST_FMAL): Likewise.
140 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
141 [C99-based standards] (FP_ILOGBNAN): Likewise.
142 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
143 Specify type.
144 [C99-based standards] (MATH_ERREXCEPT): Likewise.
145 [C99-based standards] (math_errhandling): Specify type.
146 [ISO99 || ISO11] (signgam): Do not allow.
147 [non-C99-based standards] (copysignf): Do not allow.
148 [non-C99-based standards] (exp2f): Likewise.
149 [non-C99-based standards] (log2f): Likewise.
150 [non-C99-based standards] (modff): Allow.
151 [non-C99-based standards] (erff): Do not allow.
152 [non-C99-based standards] (erfcf): Likewise.
153 [non-C99-based standards] (gammaf): Likewise.
154 [non-C99-based standards] (hypotf): Likewise.
155 [non-C99-based standards] (j0f): Likewise.
156 [non-C99-based standards] (j1f): Likewise.
157 [non-C99-based standards] (jnf): Likewise.
158 [non-C99-based standards] (lgammaf): Likewise.
159 [non-C99-based standards] (tgammaf): Likewise.
160 [non-C99-based standards] (y0f): Likewise.
161 [non-C99-based standards] (y1f): Likewise.
162 [non-C99-based standards] (ynf): Likewise.
163 [non-C99-based standards] (isnanf): Likewise.
164 [non-C99-based standards] (acoshf): Likewise.
165 [non-C99-based standards] (asinhf): Likewise.
166 [non-C99-based standards] (atanhf): Likewise.
167 [non-C99-based standards] (cbrtf): Likewise.
168 [non-C99-based standards] (expm1f): Likewise.
169 [non-C99-based standards] (ilogbf): Likewise.
170 [non-C99-based standards] (log1pf): Likewise.
171 [non-C99-based standards] (logbf): Likewise.
172 [non-C99-based standards] (nextafterf): Likewise.
173 [non-C99-based standards] (remainderf): Likewise.
174 [non-C99-based standards] (rintf): Likewise.
175 [non-C99-based standards] (scalbf): Likewise.
176 [non-C99-based standards] (copysignl): Likewise.
177 [non-C99-based standards] (exp2l): Likewise.
178 [non-C99-based standards] (log2l): Likewise.
179 [non-C99-based standards] (modfl): Allow.
180 [non-C99-based standards] (erfl): Do not allow.
181 [non-C99-based standards] (erfcl): Likewise.
182 [non-C99-based standards] (gammal): Likewise.
183 [non-C99-based standards] (hypotl): Likewise.
184 [non-C99-based standards] (j0l): Likewise.
185 [non-C99-based standards] (j1l): Likewise.
186 [non-C99-based standards] (jnl): Likewise.
187 [non-C99-based standards] (lgammal): Likewise.
188 [non-C99-based standards] (tgammal): Likewise.
189 [non-C99-based standards] (y0l): Likewise.
190 [non-C99-based standards] (y1l): Likewise.
191 [non-C99-based standards] (ynl): Likewise.
192 [non-C99-based standards] (isnanl): Likewise.
193 [non-C99-based standards] (acoshl): Likewise.
194 [non-C99-based standards] (asinhl): Likewise.
195 [non-C99-based standards] (atanhl): Likewise.
196 [non-C99-based standards] (cbrtl): Likewise.
197 [non-C99-based standards] (expm1l): Likewise.
198 [non-C99-based standards] (ilogbl): Likewise.
199 [non-C99-based standards] (log1pl): Likewise.
200 [non-C99-based standards] (logbl): Likewise.
201 [non-C99-based standards] (nextafterl): Likewise.
202 [non-C99-based standards] (remainderl): Likewise.
203 [non-C99-based standards] (rintl): Likewise.
204 [non-C99-based standards] (scalbl): Likewise.
205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
206 [non-C99-based standards] (FP_*): Do not allow.
207 [C99-based standards] (FP_*): Change to
208 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
209 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
210 allow.
211 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
212 (SIG_ERR): Likewise.
213 [X/Open-based standards] (SIG_HOLD): Likewise.
214 (SIG_IGN): Likewise.
215 (SIGABRT): Use macro-int-constant. Specify type. Require
216 positive value.
217 (SIGFPE): Likewise.
218 (SIGILL): Likewise.
219 (SIGINT): Likewise.
220 (SIGSEGV): Likewise.
221 (SIGTER): Likewise.
222 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
223 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
224 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
225 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
226 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
227 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
228 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
229 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
230 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
231 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
232 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
233 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
234 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
235 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
236 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
237 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
238 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
239 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
240 [X/Open-based standards] (SIGTRAP): Likewise.
241 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
242 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
243 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
244 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
245 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
246 allow.
247
b9f1922d
IW
2482012-05-08 Ian Wienand <ianw@vmware.com>
249
250 [BZ #14080]
251 * time/tzset.c (__tzset_parse_tz): Update default rules for
252 daylight time changes in the Energy Policy Act of 2005.
253
1db86e88
AJ
2542012-05-09 Andreas Jaeger <aj@suse.de>
255
256 [BZ #13983]
257 * elf/ldconfig.c (parse_conf): Change string to make clear that
258 ldconfig only issued a warning if ld.so.conf does not exist.
259
dee4a4e3
DM
2602012-05-08 David S. Miller <davem@davemloft.net>
261
ee0db190
DM
262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
263 movxtod instead of popping the value on the stack.
264
dee4a4e3
DM
265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
266
6a43ec98
CD
2672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
268
269 * config.h.in: Add HAVE_ARM_PCS_VFP.
270
05c2c961
RMG
2712012-05-08 Roland Mc Grath <roland@hack.frob.com>
272
273 [BZ #13979]
274 * include/features.h: Warn if user requests __FORTIFY_SOURCE
275 checking but the checks are disabled for any reason.
276
4b30f61a
L
2772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
278
279 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
280 and ELF64_R_TYPE with ELFW(R_TYPE).
281
eee2bc67
JM
2822012-05-08 Joseph Myers <joseph@codesourcery.com>
283
7ea5391a
JM
284 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
285 (ulimit): Likewise.
286
eee2bc67
JM
287 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
288 (settimeofday): Likewise.
289
abb66a67
MF
2902012-05-08 Mike Frysinger <vapier@gentoo.org>
291
292 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
293 a struct th_u2 inside the union, and move tu_block/tu_code into
294 a new th_u3 union of tu_block/tu_code inside of that. Move
295 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
296 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
297 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
298 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
299 (th_stuff): Change to th_u1.tu_stuff.
300 (th_data): Define.
301 (th_msg): Change to th_u1.th_u2.tu_data.
302
7f18b530
DM
3032012-05-07 David S. Miller <davem@davemloft.net>
304
05760585
DM
305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
306
7f18b530
DM
307 [BZ #14074]
308 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
309 (SETUP_PIC_REG): Use it.
310 (SETUP_PIC_REG_LEAF): Use it.
311
495fd99f
JM
3122012-05-07 Joseph Myers <joseph@codesourcery.com>
313
314 [BZ #13885]
315 [BZ #13923]
316 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
317 USE_AS_EXPM1L.
318 (EXPL_FINITE): Likewise.
319 (FLDLOG): Likewise.
320 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
321 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
322 e_expl.S.
323 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
324 USE_AS_EXPM1L.
325 (EXPL_FINITE): Likewise.
326 (FLDLOG): Likewise.
327 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
328 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
329 e_expl.S.
330 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
331 test of -max_value argument for long double.
332 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
334
6693d694
DM
3352012-05-06 David S. Miller <davem@davemloft.net>
336
337 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
338 quad soft-float symbols whose references which are compiler
339 generated.
340 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
341
6c23e11c
JM
3422012-05-06 Joseph Myers <joseph@codesourcery.com>
343
d8b82cad
JM
344 [BZ #13884]
345 [BZ #13914]
346 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
347 USE_AS_EXP10L.
348 (EXPL_FINITE): Likewise.
349 (FLDLOG): Likewise.
350 (c0): Likewise.
351 (c1): Likewise.
352 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
353 Adjust comments for base varying.
354 (__expl_finite): Change alias to EXPL_FINITE.
355 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
356 e_expl.S.
357 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
358 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
359 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
360 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
361 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
362 USE_AS_EXP10L.
363 (EXPL_FINITE): Likewise.
364 (FLDLOG): Likewise.
365 (c0): Likewise.
366 (c1): Likewise.
367 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
368 Adjust comments for base varying.
369 (__expl_finite): Change alias to EXPL_FINITE.
370 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
371 tests for bugs.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
373
6c23e11c
JM
374 [BZ #14064]
375 * math/libm-test.inc (check_float_internal): Correct ulp
376 calculation for subnormal expected results.
377
29ba805c
AJ
3782012-05-06 Andreas Jaeger <aj@suse.de>
379
380 * Makeconfig (+math-flags): New, set to -frounding-math.
381 (+cflags): Add +math-flags so that all of glibc gets compiled with
382 it.
383
384 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
385
7b17aeda
JM
3862012-05-05 Joseph Myers <joseph@codesourcery.com>
387
5779f134
JM
388 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
389 Disable one test.
390
41498f4d
JM
391 [BZ #13787]
392 [BZ #13922]
393 [BZ #14036]
394 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
395 (__ieee754_expl): Allow for and saturate large arguments.
396 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
397 (u_threshold): Likewise.
398 (__exp): Call __ieee754_exp before checking for overflow and
399 underflow.
400 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
401 (u_threshold): Likewise.
402 (__expf): Call __ieee754_expf before checking for overflow and
403 underflow.
404 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
405 (u_threshold): Likewise.
406 (__expl): Call __ieee754_expl before checking for overflow and
407 underflow.
408 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
409 (__ieee754_expl): Allow for and saturate large arguments.
410 * math/libm-test.inc (exp_test): Add another test. Do not allow
411 missing overflow exception on overflow.
412 (expm1_test): Do not allow missing overflow exception on overflow.
413
6698b8bf
JM
414 * sysdeps/i386/fpu/e_expl.c: Move to ...
415 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
416 rather than using inline asm.
417 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
418 * sysdeps/x86_64/fpu/e_expl.S: Copy from
419 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
420
7b17aeda
JM
421 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
422 (nice): Likewise.
423 (poll): Likewise.
424 (signal): Likewise.
425 (time): Likewise.
426 (times): Likewise.
427
f7c85819
JM
4282012-05-04 Joseph Myers <joseph@codesourcery.com>
429
430 * sysdeps/unix/syscalls.list (adjtime): Add entry from
431 sysdeps/unix/common/syscalls.list.
432 (fchmod): Likewise.
433 (fchown): Likewise.
434 (ftruncate): Likewise.
435 (getrusage): Likewise.
436 (gettimeofday): Likewise.
437 (setpgid): Likewise.
438 (setregid): Likewise.
439 (setreuid): Likewise.
440 (sigaction): Likewise.
441 (truncate): Likewise.
442 (vhangup): Likewise.
443 * sysdeps/unix/common/syscalls.list: Remove file.
444 * sysdeps/unix/bsd/Implies: Don't include unix/common.
445 * sysdeps/unix/sysv/linux/Implies: Likewise.
446
336270d0
L
4472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
448
449 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
451 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
452 Moved to ...
453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
454 Here.
455 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
456 to ...
457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
458 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
459 to ...
460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
461 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
462 to ...
463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
464 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
465 to ...
466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
467 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
468 to ...
469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
470 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
471 to ...
472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
473 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
474 to ...
475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
476 Here.
477 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
478 to ...
479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
480 Here.
481 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
482 to ...
483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
484 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
485 Moved to ...
486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
487 Here.
488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
489 to ...
490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
491
d128e450
JM
4922012-05-04 Joseph Myers <joseph@codesourcery.com>
493
fa8ee516
JM
494 * sysdeps/unix/common/bits/dirent.h: Remove file.
495 * sysdeps/unix/common/bits/fcntl.h: Likewise.
496
d128e450
JM
497 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
498 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
499 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
500 * sysdeps/unix/bsd/isatty.c: Likewise.
501 * sysdeps/unix/bsd/tcdrain.c: Likewise.
502 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
503 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
504
ff8faaf0 5052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 506
62881be4 507 [BZ #13563]
31dc8730
AZ
508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
509 long double comparison inaccuracies.
510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
512
6fef930c
AS
5132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
514
515 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
516 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
517
8f203e6c
JM
5182012-05-04 Joseph Myers <joseph@codesourcery.com>
519
520 [BZ #14049]
521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
522 nonzero digits before rounding a hex value.
523 * stdlib/tst-strtod.c (tests): Add another test.
524
5197d9c2
AK
5252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
526
527 * sysdeps/s390/fpu/libm-test-ulps: Update.
528
f0c1dedf
AJ
5292012-05-03 Andreas Jaeger <aj@suse.de>
530
531 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
532 does not get optimized out.
533 (malloc_opt_barrier): New.
534
a65ef2ae 5352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 536 Roland McGrath <roland@hack.frob.com>
a65ef2ae 537
2b942cb7 538 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 539 intermediate file deletion.
2b942cb7 540 (generated): Add .symlist files.
a65ef2ae 541
54b71e02
JM
5422012-05-03 Joseph Myers <joseph@codesourcery.com>
543
544 [BZ #13775]
545 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
546 Redirect under this condition.
547 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
548 [__USE_GNU] (__dprintf_chk): Not under this condition.
549 [__USE_GNU] (__vdprintf_chk): Likewise.
550 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
551 under this condition.
552 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
553 [__USE_XOPEN2K8] (dprintf): Define under this condition.
554 [__USE_XOPEN2K8] (vdprintf): Likewise.
555 [__USE_GNU] (__dprintf_chk): Not under this condition.
556 [__USE_GNU] (__vdprintf_chk): Likewise.
557 [__USE_GNU] (dprintf): Likewise.
558 [__USE_GNU] (vdprintf): Likewise.
559
d3dfcc41
RM
5602012-05-03 Roland McGrath <roland@hack.frob.com>
561
562 * elf/Makefile (common-generated): Set this instead of generated for
563 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
564 $(all-built-dso)-derived lists.
565
7ac30cc5
AJ
5662012-05-03 Andreas Jaeger <aj@suse.de>
567
0c51e550
AJ
568 * sysdeps/i386/fpu/libm-test-ulps: Update.
569
7ac30cc5
AJ
570 * FAQ: Removed.
571 * FAQ.in: Likewise.
572 * scripts/gen-FAQ.pl: Likewise.
573 * manual/install.texi (Installation): Point to online location of
574 FAQ.
575 * Makefile (files-for-dist): Remove FAQ.
576 (FAQ): Remove.
577
d4c2917f
AM
5782012-05-02 Allan McRae <allan@archlinux.org>
579
580 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
581 (LDFLAGS-reldepmod5.so): Likewise.
582 (LDFLAGS-reldep6mod1.so): Likewise.
583 (LDFLAGS-reldep6mod4.so): Likewise.
584 (LDFLAGS-reldep8mod3.so): Likewise.
585 (LDFLAGS-unload4mod1.so): Likewise.
586 (LDFLAGS-unload4mod2.so): Likewise.
587 (LDFLAGS-tst-initorder): Likewise.
588 (LDFLAGS-tst-initordera2.so): Likewise.
589 (LDFLAGS-tst-initordera3.so): Likewise.
590 (LDFLAGS-tst-initordera4.so): Likewise.
591 (LDFLAGS-tst-initorderb2.so): Likewise.
592 (LDFLAGS-noload): Likewise.
593 (LDFLAGS-next): Likewise.
594 (LDFLAGS-order2mod1.so): Likewise.
595 (LDFLAGS-order2mod2.so): Likewise.
596 (LDFLAGS-tst-initorder2): Likewise.
597 (LDFLAGS-tst-initorder2a.so): Likewise.
598 (LDFLAGS-tst-initorder2b.so): Likewise.
599 (LDFLAGS-tst-initorder2c.so): Likewise.
600 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
601
d77f993f
DM
6022012-05-02 David S. Miller <davem@davemloft.net>
603
604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
605
171a70b4
PP
6062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
607
608 [BZ #14055]
609 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
610
0be196ad
AJ
6112012-05-02 Andreas Jaeger <aj@suse.de>
612
613 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
614 since we manipulate rounding mode.
615 (CPPFLAGS-test-idouble.c): Likewise.
616 (CPPFLAGS-test-ifloat.c): Likewise.
617 (CFLAGS-test-ldouble.c): Likewise.
618 (CFLAGS-test-double.c): Likewise.
619 (CFLAGS-test-float.c): Likewise.
620 (CFLAGS-test-misc.c): Likewise.
621 (CFLAGS-test-test-fenv.c): Likewise.
622
4f9d04aa
AZ
6232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
624
2b942cb7
RM
625 [BZ #2550]
626 [BZ #2570]
627 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
628 comparisons to determine direction to adjust input.
4f9d04aa 629
82a79e7d
RM
6302012-05-01 Roland McGrath <roland@hack.frob.com>
631
f5a01ca9
RM
632 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
633 output to the target.
634
90fe4186
RM
635 * scripts/localplt.awk: New file.
636 * elf/Makefile ($(objpfx)check-localplt): Target removed.
637 (check-localplt-CFLAGS): Variable removed.
638 ($(all-built-dso:=.jmprel)): New static pattern rule.
639 (generated): Add those targets.
640 (localplt-built-dso): New variable.
641 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
642
643 * elf/check-localplt.c: File removed.
644
82397ed6
RM
645 * scripts/check-execstack.awk: New file.
646 * elf/Makefile ($(objpfx)check-execstack): Target removed.
647 (check-execstack-CFLAGS): Variable removed.
648 ($(objpfx)check-execstack.h): Target removed.
649 ($(objpfx)execstack-default): New target.
650 (generated): Add that instead of check-execstack.h.
651 ($(all-built-dso:=.phdr)): New static pattern rule.
652 (generated): Add those targets.
653 * elf/check-execstack.c: File removed.
654
82a79e7d
RM
655 * scripts/check-textrel.awk: New file.
656 * elf/Makefile ($(objpfx)check-textrel): Target removed.
657 (check-textrel-CFLAGS): Variable removed.
658 (all-built-dso): Use := to define.o
659 ($(all-built-dso:=.dyn)): New static pattern rule.
660 (generated): Add those targets.
661 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
662 * config.make.in (READELF): New substituted variable.
663 * elf/check-textrel.c: File removed.
664
62fde54f 6652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 666
615605c9
JM
667 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
668 allow.
669 * conform/data/ctype.h-data [C99-based standards] (isblank):
670 Expect function.
671 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
672 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
674 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
675 Specify type. Require positive value.
676 (EILSEQ): Likewise.
677 (ERANGE): Likewise.
678 [ISO || POSIX] (EILSEQ): Do not expect.
679 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
680 Specify type. Require positive value.
681 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
682 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
683 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
684 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
685 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
686 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
687 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
688 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
689 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
690 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
691 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
692 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
693 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
694 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
695 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
696 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
697 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
698 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
699 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
700 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
701 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
702 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
703 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
704 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
705 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
706 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
707 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
708 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
709 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
710 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
711 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
712 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
713 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
714 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
715 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
716 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
717 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
718 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
719 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
720 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
721 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
722 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
723 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
724 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
725 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
726 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
727 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
728 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
729 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
730 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
731 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
732 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
733 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
734 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
735 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
736 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
737 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
738 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
739 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
740 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
741 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
742 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
743 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
744 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
745 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
746 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
747 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
748 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
749 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
750 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
751 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
752 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
753 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
754 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
755 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
756 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
757 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
758 Require >= 2.
759 (FLT_ROUNDS): Expect as macro, not constant.
760 (FLT_MANT_DIG): Use macro-int-constant.
761 (DBL_MANT_DIG): Likewise.
762 (LDBL_MANT_DIG): Likewise.
763 (FLT_DIG): Likewise.
764 (DBL_DIG): Likewise.
765 (LDBL_DIG): Likewise.
766 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
767 (DBL_MIN_EXP): Likewise.
768 (LDBL_MIN_EXP): Likewise.
769 (FLT_MAX_EXP): Use macro-int-constant.
770 (DBL_MAX_EXP): Likewise.
771 (LDBL_MAX_EXP): Likewise.
772 (FLT_MAX_10_EXP): Likewise.
773 (DBL_MAX_10_EXP): Likewise.
774 (LDBL_MAX_10_EXP): Likewise.
775 (FLT_MAX): Use macro-constant.
776 (DBL_MAX): Likewise.
777 (LDBL_MAX): Likewise.
778 (FLT_EPSILON): Use macro-constant. Give upper bound.
779 (DBL_EPSILON): Likewise.
780 (LDBL_EPSILON): Likewise.
781 (FLT_MIN): Likewise.
782 (DBL_MIN): Likewise.
783 (LDBL_MIN): Likewise.
784 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
785 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
786 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
787 [ISO11] (FLT_HAS_SUBNORM): Likewise.
788 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
789 [ISO11] (DBL_DECIMAL_DIG): Likewise.
790 [ISO11] (FLT_DECIMAL_DIG): Likewise.
791 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
792 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
793 [ISO11] (FLT_TRUE_MIN): Likewise.
794 [ISO11] (LDBL_TRUE_MIN): Likewise.
795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
796 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
797 (SCHAR_MIN): Use macro-int-constant. Specify type.
798 (SCHAR_MAX): Likewise.
799 (UCHAR_MAX): Likewise.
800 (CHAR_MIN): Likewise.
801 (CHAR_MAX): Likewise.
802 (MB_LEN_MAX): Use macro-int-constant.
803 (SHRT_MIN): Use macro-int-constant. Specify type.
804 (SHRT_MAX): Likewise.
805 (USHRT_MAX): Likewise.
806 (INT_MAX): Likewise.
807 (INT_MIN): Use macro-int-constant. Specify type. Make upper
808 bound negative.
809 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
810 bound with "U".
811 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
812 bound with "L".
813 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
814 bound negative. Suffix upper bound with "L".
815 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
816 bound with "UL".
817 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
818 Specify type.
819 [C99-based standards] (LLONG_MAX): Likewise.
820 [C99-based standards] (ULLONG_MAX): Likewise.
821 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
822 == 0.
823 [ISO11] (max_align_t): Require type.
824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
825
c9140a62
JM
826 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
827 from $CFLAGS, without defining away __attribute__ calls.
828 (checknamespace): Use $CFLAGS_namespace.
829
9af0bf29
JM
830 * conform/conformtest.pl (@keywords): Only include C99 keywords
831 for standards based on C99 or C11.
832
343222a2
JM
833 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
834 Disable tests.
835 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
836 UNIX98]: Likewise.
837
661f8cf0
JM
838 * conform/conformtest.pl: Handle "macro-int-constant" and test for
839 usability of symbols in #if.
840
ee74b9cb
JM
841 * conform/conformtest.pl: If macro or constant types start
842 "promoted:", expect the symbol to be of the following type
843 promoted by the integer promotions.
62fde54f 844
aafc49b3
JM
845 * conform/conformtest.pl: Parse all "constant" and "macro" lines
846 in one place. Also handle "macro-constant".
847
fefdf574
JM
848 * conform/conformtest.pl: Only accept expected macro values with
849 "==". Parse all "macro" lines in one place.
850 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
851
f2d922fe
JM
852 * conform/conformtest.pl: Handle braced types on "constant" lines
853 instead of handling "typed-constant".
854 * conform/data/signal.h-data: Use "constant" instead of
855 "typed-constant".
856
d22956c9
JM
857 * conform/conformtest.pl: Handle "optional-" at start of lines in
858 one place rather than duplicating several cases. Handle each
859 format of "macro" line with initial "optional-".
860
028e2e38
JM
861 * conform/conformtest.pl: Only accept expected constant or
862 optional-constant values with "==". Parse all "constant" lines in
863 one place. Parse all "optional-constant" lines in one place.
864 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
865 * conform/data/fmtmsg.h-data: Likewise.
866 * conform/data/netinet/in.h-data: Likewise.
867 * conform/data/tar.h-data: Likewise.
868 * conform/data/limits.h-data: Use "==" form on "constant" and
869 "optional-constant" lines.
870
1b8f2850
JM
871 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
872 Use -std=c99 for XOPEN2K.
873 (@knownproblems): Remove.
874 (newtoken): Don't check %isknown.
875
a05a144b
JM
876 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
877 Do not expect macro.
878 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
879 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
880 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
881 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
882 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
883 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
884 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
885 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
886 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
887 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
888 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
889 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
890 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
891 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
892 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
893 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
894 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
895 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
896 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
897 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
898 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
899 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
900 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
901 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
902 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
903 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
904 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
905 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
906 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
907 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
908 [XPG3] (acosh): Likewise.
909 [XPG3] (asinh): Likewise.
910 [XPG3] (atanh): Likewise.
911 [XPG3] (cbrt): Likewise.
912 [XPG3] (expm1): Likewise.
913 [XPG3] (ilogb): Likewise.
914 [XPG3] (log1p): Likewise.
915 [XPG3] (logb): Likewise.
916 [XPG3] (nextafter): Likewise.
917 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
918 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
919 [XPG3] (remainder): Likewise.
920 [XPG3] (rint): Likewise.
921 [XPG3 || XPG4 || UNIX98] (round): Likewise.
922 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
923 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
924 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
925 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
926 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
927 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
928 [UNIX98 || XOPEN2K] (scalb): Expect.
929 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
930 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
931 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
932 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
933 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
934 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
935 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
936 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
937 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
938 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
939 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
940 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
941 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
942 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
943 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
944 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
945 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
946 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
947 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
948 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
949 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
950 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
951 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
952 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
953 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
954 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
955 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
956 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
957 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
958 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
959 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
960 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
961 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
962 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
963 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
964 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
965 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
966 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
967 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
968 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
969 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
970 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
971 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
972 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
973 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
974 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
975 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
976 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
977 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
978 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
979 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
980 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
981 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
982 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
983 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
984 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
985 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
986 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
987 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
988 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
989 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
990 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
991 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
992 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
993 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
994 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
995 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
996 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
997 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
998 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
999 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1066
73c5ebe3
JM
1067 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1068 _XOPEN_SOURCE_EXTENDED for XPG4.
1069
39c33b6c
JM
1070 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1071
62fde54f
JM
1072 * Makeconfig (localtime): Remove variable.
1073 (inst_localtime-file): Likewise.
1074
0741d64c
AS
10752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1076
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1078 Update.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1080 Update.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1082 Update.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1084 Update.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1086 Update.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1088 Update.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1090 Update.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1092 Update.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1094 Update.
1095
7cb029ee
JM
10962012-05-01 Joseph Myers <joseph@codesourcery.com>
1097
1098 [BZ #2550]
1099 [BZ #2570]
1100 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1101 comparisons to determine direction to adjust input.
1102 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1103 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1104 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1105 Likewise.
1106 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1107 Likewise.
1108 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1109 Likewise.
1110 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1111 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1112 Likewise.
1113 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1114 Likewise.
1115 * math/libm-test.inc (nexttoward_test): Add more tests.
1116
412bd966
AS
11172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 [BZ #14040]
1120 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1121 in version GLIBC_2.1, not GLIBC_2.0.
1122 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1123 Likewise.
1124
9568c0c2
JM
11252012-04-30 Joseph Myers <joseph@codesourcery.com>
1126
adfbc8ac
JM
1127 [BZ #13942]
1128 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1129 (1 - x) * (1 + x).
1130 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1131 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1132 * math/libm-test.inc (acos_test): Add more tests.
1133 (asin_test): Likewise.
1134 * sysdeps/i386/fpu/libm-test-ulps: Update.
1135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1136
5ba3cc69
JM
1137 [BZ #14034]
1138 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1139 of square root.
1140 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1141 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1142 * math/libm-test.inc (acos_test_tonearest): New function.
1143 (acos_test_towardzero): Likewise.
1144 (acos_test_downward): Likewise.
1145 (acos_test_upward): Likewise.
1146 (asin_test_tonearest): Likewise.
1147 (asin_test_towardzero): Likewise.
1148 (asin_test_downward): Likewise.
1149 (asin_test_upward): Likewise.
1150 (main): Call the new functions.
1151 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1153
9568c0c2
JM
1154 [BZ #13884]
1155 [BZ #13924]
1156 * math/e_exp10.c: Include <float.h>.
1157 (__ieee754_exp10): Handle underflow here rather than multiplying
1158 large negative argument by M_LN10.
1159 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1160 of __ieee754_expf.
1161 * math/e_exp10l.c: Include <float.h>.
1162 (__ieee754_exp10l): Handle underflow here rather than multiplying
1163 large negative argument by M_LN10l.
1164 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1165 spurious overflow exception on underflow.
1166
5ac3ea17
MP
11672012-04-29 Marek Polacek <polacek@redhat.com>
1168
1169 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1170 (__fortify_function): New macro.
1171 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1172 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1173 __extern_always_inline.
1174 * libio/bits/stdio2.h: Likewise.
1175 * libio/bits/stdio.h: Likewise.
1176 * string/string.h: Likewise.
1177 * string/bits/string3.h: Likewise.
1178 * include/stdio.h: Likewise.
1179 * stdlib/bits/stdlib.h: Likewise.
1180 * stdlib/stdlib.h: Likewise.
1181 * rt/bits/mqueue2.h: Likewise.
1182 * rt/mqueue.h: Likewise.
1183 * posix/bits/unistd.h: Likewise.
1184 * posix/unistd.h: Likewise.
1185 * io/bits/poll2.h: Likewise.
1186 * io/bits/fcntl2.h: Likewise.
1187 * io/fcntl.h: Likewise.
1188 * io/sys/poll.h: Likewise.
1189 * misc/bits/syslog.h: Likewise.
1190 * misc/bits/syslog-ldbl.h: Likewise.
1191 * misc/sys/syslog.h: Likewise.
1192 * socket/bits/socket2.h: Likewise.
1193 * socket/sys/socket.h: Likewise.
1194 * debug/tst-chk1.c: Likewise.
1195 * wcsmbs/bits/wchar2.h: Likewise.
1196 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1197 * wcsmbs/wchar.h: Likewise.
1198
ecf0ebfb
AJ
11992012-04-29 Andreas Jaeger <aj@suse.de>
1200
1201 * Makerules (tests): Remove enable-check-abi protection.
1202 (check-abi-warn): Remove.
1203 (check-abi-%): Remove check-abi-warn usage.
1204
1205 * configure.in: Remove check-abi configure option.
1206 * configure: Regenerated.
1207 * config.make.in (enable-check-abi): Remove.
1208
6d5c57fa
AS
12092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1210
24c5d07e 1211 [BZ #14033]
ded5180a
AS
1212 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1213 double functions to double *_finite functions.
1214
7e0d315d
AS
1215 [BZ #13941]
1216 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1217 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1218 LDBL_MIN_EXP.
1219 * stdio-common/Makefile (tests): Add tst-sprintf3.
1220 * stdio-common/tst-sprintf3.c: New file.
1221
6d5c57fa
AS
1222 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1223 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1224
0749ff8b
JM
12252012-04-28 Joseph Myers <joseph@codesourcery.com>
1226
1227 * conform/conformtest.pl: Remove duplicate typed-constant
1228 handling.
1229
8dbd5d7b
DM
12302012-04-28 David S. Miller <davem@davemloft.net>
1231
1232 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1233 (check-abi-%): Remove AWK script prerequisite and explicit
1234 abilist directory.
1235 (check-abi): Rewrite to just diff the symlist with the abilist.
1236 (config-tls, config-abi-config): Delete, no longer used.
1237 (update-abi-%): Remove AWK script and explicit abilist directory.
1238 (update-abi): Rewrite to simply compare and conditionally copy the
1239 symlist and the sysdep abilist file. Remove update-abi-config
1240 checks.
1241 * abilist/ld.abilist: Remove.
1242 * abilist/libBrokenLocale.abilist: Remove.
1243 * abilist/libanl.abilist: Remove.
1244 * abilist/libcrypt.abilist: Remove.
1245 * abilist/libdl.abilist: Remove.
1246 * abilist/librt.abilist: Remove.
1247 * abilist/libthread_db.abilist: Remove.
1248 * abilist/libutil.abilist: Remove.
1249 * scripts/extract-abilist.awk: Remove.
1250 * scripts/merge-abilist.awk: Remove.
1251 * sysdeps/generic/libcidn.abilist: New file.
1252 * sysdeps/generic/libnss_compat.abilist: New file.
1253 * sysdeps/generic/libnss_db.abilist: New file.
1254 * sysdeps/generic/libnss_dns.abilist: New file.
1255 * sysdeps/generic/libnss_files.abilist: New file.
1256 * sysdeps/generic/libnss_hesiod.abilist: New file.
1257 * sysdeps/generic/libnss_nis.abilist: New file.
1258 * sysdeps/generic/libnss_nisplus.abilist: New file.
1259 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1260 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1261 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1262 file.
1263 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1264 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1265 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1266 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1267 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1268 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1269 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1270 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1271 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1272 file.
1273 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1274 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1275 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1276 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1277 file.
1278 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1279 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1280 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1281 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1282 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1283 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1284 file.
1285 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1286 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1287 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1288 file.
1289 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1291 New file.
1292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1293 New file.
1294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1295 New file.
1296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1297 New file.
1298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1299 New file.
1300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1301 New file.
1302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1303 New file.
1304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1305 New file.
1306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1307 New file.
1308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1309 New file.
1310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1311 New file.
1312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1313 New file.
1314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1315 New file.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1317 file.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1319 New file.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1321 New file.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1323 file.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1325 New file.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1327 New file.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1329 file.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1331 New file.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1333 New file.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1335 New file.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1337 New file.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1339 New file.
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1341 New file.
1342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1344 file.
1345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1346 New file.
1347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1348 file.
1349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1350 file.
1351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1352 file.
1353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1354 file.
1355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1356 file.
1357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1358 New file.
1359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1360 file.
1361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1362 file.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1364 New file.
1365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1366 file.
1367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1369 file.
1370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1371 New file.
1372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1373 file.
1374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1375 file.
1376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1377 file.
1378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1379 file.
1380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1381 file.
1382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1383 New file.
1384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1385 file.
1386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1387 file.
1388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1389 New file.
1390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1391 file.
1392 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1393 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1394 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1395 file.
1396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1397 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1398 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1399 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1400 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1401 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1402 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1403 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1404 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1405 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1408 file.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1410 New file.
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1412 file.
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1414 file.
1415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1416 file.
1417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1418 file.
1419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1420 file.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1422 New file.
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1424 New file.
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1426 file.
1427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1428 New file.
1429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1430 file.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1433 file.
1434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1435 New file.
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1437 file.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1439 file.
1440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1441 file.
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1443 file.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1445 file.
1446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1447 New file.
1448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1449 New file.
1450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1451 file.
1452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1453 New file.
1454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1455 file.
1456
41d73a1b
JM
14572012-04-28 Joseph Myers <joseph@codesourcery.com>
1458
1459 * conform/conformtest.pl: Fix typo in handling typed-constant from
1460 allow-header.
1461
28aeeda4
JM
14622012-04-27 Joseph Myers <joseph@codesourcery.com>
1463
adae8f5e
JM
1464 * README: Cut down references to pre-2.6 Linux kernels and
1465 Linuxthreads. Update lists of configurations in libc and ports
1466 and sort alphabetically. Say "or newer" with Linux kernel version
1467 requirements.
1468
28aeeda4
JM
1469 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1470
a462cb63
RA
14712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1472
1473 [BZ #887]
1474 * math/libm-test.inc (logb_test_downward): New test to expose
1475 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1476 rounding mode.
1477
6ad3493e
JM
14782012-04-27 Joseph Myers <joseph@codesourcery.com>
1479
1480 [BZ #14027]
1481 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1482 to be done.
1483 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1484 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1485
2ce4f015
JM
14862012-04-26 Joseph Myers <joseph@codesourcery.com>
1487
5aeb141a
JM
1488 * sysdeps/unix/i386/brk.S: Remove file.
1489 * sysdeps/unix/i386/dl-brk.S: Likewise.
1490 * sysdeps/unix/i386/pipe.S: Likewise.
1491 * sysdeps/unix/i386/sigreturn.S: Likewise.
1492 * sysdeps/unix/i386/syscall.S: Likewise.
1493 * sysdeps/unix/i386/vfork.S: Likewise.
1494 * sysdeps/unix/i386/wait.S: Likewise.
1495
7143acae
JM
1496 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1497 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1498
2ce4f015
JM
1499 * configure.in (arm*-none*): Do not allow without
1500 --enable-hacker-mode.
1501 (netbsd*): Remove case setting base_os.
1502 (386bsd*): Likewise.
1503 (freebsd*): Likewise.
1504 (bsdi*): Likewise.
1505 (osf*): Likewise.
1506 (sunos*): Likewise.
1507 (ultrix*): Likewise.
1508 (newsos*): Likewise.
1509 (dynix*): Likewise.
1510 (*bsd*): Likewise.
1511 (sysv*): Likewise.
1512 (isc*): Likewise.
1513 (esix*): Likewise.
1514 (sco*): Likewise.
1515 (minix*): Likewise.
1516 (irix4*): Likewise.
1517 (irix6*): Likewise.
1518 (solaris[2-9]*): Likewise.
1519 (none): Likewise.
1520 * configure: Regenerated.
1521
0ac229c8
AZ
15222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1523
1524 [BZ #11521]
1525 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1526 overflow or cancellation in calculating denominator.
1527 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1529 down expression to avoid unexpected rounding in newer GCCs.
1530 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1531
33f244f4
DM
15322012-04-26 David S. Miller <davem@davemloft.net>
1533
1534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1535 long-double compat symbols.
1536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1549
cfa1f3e8
DM
15502012-04-25 David S. Miller <davem@davemloft.net>
1551
1552 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1553 HWCAP_* values only after the memory barriers have been defined.
1554 (atomic_full_barrier): Define.
1555 (atomic_read_barrier): Define.
1556 (atomic_write_barrier): Define.
1557
6e236b92
SP
15582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1559
1560 * shlib-versions: Add libgcc_s version information.
1561 * sysdeps/generic/libgcc_s.h: Remove.
1562 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1563 libgcc_s.h.
1564 * sysdeps/gnu/unwind-resume.c: Likewise.
1565 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1566
aab39a09
DM
15672012-04-25 David S. Miller <davem@davemloft.net>
1568
1569 * sysdeps/unix/sparc/brk.S: Delete.
1570 * sysdeps/unix/sparc/dl-brk.S: Delete.
1571 * sysdeps/unix/sparc/pipe.S: Delete.
1572 * sysdeps/unix/sparc/sysdep.S: Delete.
1573 * sysdeps/unix/sparc/sysdep.h: Delete.
1574 * sysdeps/unix/sparc/vfork.S: Delete.
1575 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1576 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1577 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1578 ret_ERRVAL, r0, r1, MOVE): Define.
1579 (JUMPTARGET): Remove.
1580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1581 sysdeps/unix/sparc/sysdep.h
1582 (ENTRY, END): Remove.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1584
a3cc4f48
JM
15852012-04-25 Joseph Myers <joseph@codesourcery.com>
1586
2ed8cda2
JM
1587 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1588 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1589 -DIS_IN_build.
1590
35d76d59
JM
1591 * timezone/README: Update upstream location and email address for
1592 tzcode and tzdata.
1593 * timezone/zdump.c: Update from tzcode 2012b.
1594 * timezone/zic.c: Likewise.
1595
a3cc4f48
JM
1596 * configure.in (libc_cv_as_needed): Remove test.
1597 * configure: Regenerated.
1598 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1599 conditional definition.
1600 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1601 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1602 * config.make.in (have-as-needed): Remove variable.
1603
ceab42c3
SP
16042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1605 Paul Pluzhnikov <ppluzhnikov@google.com>
1606
1607 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1608 strings correctly.
1609
3ce2865f
CLT
16102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1611
1612 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1613 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1614 * sysdeps/sh/strlen.S: Likewise.
1615
f37e0d68
JM
16162012-04-24 Joseph Myers <joseph@codesourcery.com>
1617
ae186e9a
JM
1618 * sysdeps/unix/fork.S: Remove file.
1619 * sysdeps/unix/i386/fork.S: Likewise.
1620 * sysdeps/unix/sparc/fork.S: Likewise.
1621
b96914af
JM
1622 * sysdeps/unix/system.c: Remove file.
1623 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1624
f37e0d68
JM
1625 * sysdeps/unix/getegid.S: Remove file.
1626 * sysdeps/unix/geteuid.S: Likewise.
1627
87ef29ca
RM
16282012-04-24 Roland McGrath <roland@hack.frob.com>
1629
83bcd236
RM
1630 * scripts/check-localplt.awk: New file.
1631 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1632 of diff.
1633 * scripts/data/localplt-generic.data: Add a comment.
1634
87ef29ca
RM
1635 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1636 NODE when __dir_mkfile failed.
1637 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1638 Reported by Ludovic Courtès <ludo@gnu.org>.
1639
e5a6e567
AJ
16402012-04-24 Andreas Jaeger <aj@suse.de>
1641
1642 * Makerules (common-clean): Also remove gen-as-const-headers
1643 files.
1644
c1820385
JM
16452012-04-24 Joseph Myers <joseph@codesourcery.com>
1646
1647 * Makerules (native-compile): Do not change working directory for
1648 build. Use $(OUTPUT_OPTION) in command.
1649 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1650
94e02fc4
AZ
16512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1652
1653 [BZ #13886]
1654 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1655 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1656 * math/libm-test.inc (floor_test): Add more tests.
1657 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1658
3a533ca3
JM
16592012-04-24 Joseph Myers <joseph@codesourcery.com>
1660
940ab4b3
JM
1661 * sysdeps/unix/getdents.c: Remove file.
1662 * sysdeps/unix/sysv/getdents.c: Likewise.
1663 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1664
90e037bd
JM
1665 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1666 sysdeps/unix/mman/syscalls.list.
1667 (mmap): Likewise.
1668 (mprotect): Likewise.
1669 (msync): Likewise.
1670 (munmap): Likewise.
1671 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1672 * sysdeps/unix/mman/syscalls.list: Remove.
1673 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1674
3a533ca3
JM
1675 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1676 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1677 * configure: Regenerated.
1678 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1679 $(libgcc_s_suffix).
1680 * config.make.in (libgcc_s_suffix): Remove variable.
1681
1ad743de
JM
16822012-04-23 Joseph Myers <joseph@codesourcery.com>
1683
4ad451e2
JM
1684 * sysdeps/unix/sysv/gethostname.c: Move to ...
1685 * sysdeps/posix/gethostname.c: ... here.
1686
5e37ce39
JM
1687 * sysdeps/unix/execve.S: Remove file.
1688
1ad743de
JM
1689 * sysdeps/unix/_exit.S: Remove file.
1690
4e681b5b
AJ
16912012-04-23 Andreas Jaeger <aj@suse.de>
1692
1693 [BZ #13739]
1694 * manual/Makefile: Remove make dist support, there's no
1695 need for a stand-alone documentation tar ball.
1696 (TEXI2DVI): Define always, it's not in Makeconfig.
1697 (dist): Removed.
1698 (tar-it): Removed.
1699 (edition): Removed.
1700 (glibc-doc-$(edition).tar): Removed
1701 (%.Z): Removed.
1702 (%.gz): Removed.
1703 (%.uu): Removed.
1704 (ETAGS): Remove, it's in Makeconfig.
1705 (move-if-change): Remove, it's in Makeconfig.
1706
c0baea34
PE
17072013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1708
1709 [BZ #13970]
1710 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1711 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1712 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1713 (strtod_l, strtof_l, strtold_l): Remove __wur.
1714 It is not necessarily an error to ignore strtol's return value.
1715 One can reliably look at the stored endptr to decide whether
1716 the number had valid syntax.
1717
7c0616fa
AJ
17182012-04-21 Andreas Jaeger <aj@suse.de>
1719
803cb6b7 1720 [BZ #13739]
7c0616fa
AJ
1721 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1722
b0fe253f
JM
17232012-04-21 Joseph Myers <joseph@codesourcery.com>
1724
1725 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1726 * sysdeps/unix/sysv/Versions: Remove file.
1727
8280f22d
MT
17282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1729
1730 [BZ #13927]
1731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1732
75ce411f 17332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1734
1735 [BZ #7064]
1736 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1737 version from __vm86.
1738
097d59fa
JM
17392012-04-20 Joseph Myers <joseph@codesourcery.com>
1740
a90f3bcb
JM
1741 * sysdeps/unix/common/lxstat.c: Remove file.
1742 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1743
edc7ea78
JM
1744 * sysdeps/unix/sysv/Makefile: Remove file.
1745
cb78c221
JM
1746 * sysdeps/unix/sysv/direct.h: Remove file.
1747
efa6a45f
JM
1748 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1749 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1750 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1751 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1752 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1753 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1754 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1755
9c9f2d0c
JM
1756 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1757
4541c83b
JM
1758 * sysdeps/unix/xmknod.c: Remove file.
1759 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1760
f5d153a0
JM
1761 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1762
aa746595
JM
1763 * sysdeps/unix/sysv/i386/time.S: Remove file.
1764
cce5905e
JM
1765 * sysdeps/unix/fxstat.c: Remove file.
1766 * sysdeps/unix/xstat.c: Likewise.
1767 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1768
37fa3841
JM
1769 * sysdeps/unix/sysv/sigaction.c: Remove file.
1770
ff1962a3
JM
1771 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1772 (sysdep_headers): Remove variable.
1773 [termio.h not in sysdep_headers] (generated): Likewise.
1774 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1775 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1776 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1777 * sysdeps/unix/sysv/tcflow.c: Likewise.
1778 * sysdeps/unix/sysv/tcflush.c: Likewise.
1779 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1780 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1781 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1782 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1783 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1784
e7740d31
JM
1785 * sysdeps/unix/siglist.c: Remove file.
1786
ee06f18b
JM
1787 * sysdeps/unix/getppid.S: Remove file.
1788
097d59fa
JM
1789 * sysdeps/unix/mkdir.c: Remove file.
1790 * sysdeps/unix/rmdir.c: Likewise.
1791
ff3d51ec
AS
17922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1793
1794 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1795 ERR_MAX value.
1796 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1797 errlist-compat value.
1798
50f81fd7
DM
17992012-04-18 David S. Miller <davem@davemloft.net>
1800
1801 * sysdeps/generic/memcopy.h (reg_char): Delete.
1802 * debug/strcat_chk.c: Use char, not reg_char.
1803 * debug/strcpy_chk.c: Likewise.
1804 * debug/strncat_chk.c: Likewise.
1805 * debug/strncpy_chk.c: Likewise.
1806 * string/memchr.c: Likewise.
1807 * string/memrchr.c: Likewise.
1808 * string/rawmemchr.c: Likewise.
1809 * string/strcat.c: Likewise.
1810 * string/strchr.c: Likewise.
1811 * string/strchrnul.c: Likewise.
1812 * string/strcmp.c: Likewise.
1813 * string/strcpy.c: Likewise.
1814 * string/strncat.c: Likewise.
1815 * string/strncmp.c: Likewise.
1816 * string/strncpy.c: Likewise.
1817
8ff41c46
WS
18182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1819
1820 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1821 __builtin_memcopy is called when src and dest ranges are known to not
1822 overlap.
1823
6b652f46
WS
18242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1825
1826 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1827 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1828 fwd_align_merge macro call.
1829 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1830 bwd_align_merge macro call.
1831 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1832
b282631e
WS
18332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1834
1835 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1836 bwd_align_merge macros.
1837 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1838 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1839 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1840
95aa737c
DM
18412012-04-18 David S. Miller <davem@davemloft.net>
1842
1843 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1844
7a99a614
AJ
18452012-04-18 Andreas Jaeger <aj@suse.de>
1846
1847 [BZ# 6794]
1848 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1849 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1851
1852 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1853 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1854 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1855
1856 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1857 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1858 Adjust for changed ldbl-128 files.
1859
1860 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1861 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1862 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1863
e5270c23
DM
18642012-04-17 David S. Miller <davem@davemloft.net>
1865
1866 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1867
fb5e92c9
AS
18682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1869
1870 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1871 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1872 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1873 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1874 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1875 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1876
76da7265
AZ
18772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878
1879 [BZ #6794]
1880 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1881 * math/libm-test.inc: Add ilogb errno and exception tests.
1882 * math/w_ilogb.c: New file: ilogb wrapper.
1883 * math/w_ilogbf.c: New file: ilogbf wrapper.
1884 * math/w_ilogbl.c: New file: ilogbl wrapper.
1885 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1886 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1887 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1888 exception being thrown with 0.0 as argument.
1889 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1890 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1891 exception being thrown with 0.0 as argument.
1892 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1893 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1894 exception being thrown with 0.0 as argument.
1895 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1896 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1897 exception being thrown with 0.0 as argument.
1898 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1899 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1900 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1901 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1902 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1903 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1904 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1905 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1906 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1907
0396e69d
PB
19082012-04-17 Petr Baudis <pasky@ucw.cz>
1909
1910 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1911 with altivec.
1912
750b5926
MP
19132012-04-16 Marek Polacek <polacek@redhat.com>
1914
1915 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1916
751728a1
MP
19172012-04-16 Marek Polacek <polacek@redhat.com>
1918
1919 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1920 operands of fdivp instruction.
1921
34a27407
L
19222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1923
1924 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1925 * elf/tst-auditmod3b.c: Likewise.
1926 * elf/tst-auditmod4b.c: Likewise.
1927 * elf/tst-auditmod5b.c: Likewise.
1928 * elf/tst-auditmod6b.c: Likewise.
1929 * elf/tst-auditmod6c.c: Likewise.
1930 * elf/tst-auditmod7b.c: Likewise.
1931 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1932 * sysdeps/x86_64/preconfigure.in: Likewise.
1933 * sysdeps/x86_64/preconfigure: Regenerated.
1934
7e73e17d
L
19352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1938 __ILP32__.
1939
c7a6ab72
AB
19402012-04-13 Antoine Balestrat <merkil33@gmail.com>
1941
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1943 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1944
a9e8e0e0
CL
19452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1946
1947 [BZ #13973]
1948 * locale/iso-639.def: Fix gl language name. Spotted by
1949 Yaron Shahrabani.
1950
ec98af7d
RM
19512012-04-12 Roland McGrath <roland@hack.frob.com>
1952
1953 [BZ #2074]
1954 * libio/libio.h (__io_write_fn): Update comment.
1955
247c3ede
PB
19562012-04-12 Petr Baudis <pasky@ucw.cz>
1957
1958 [BZ #2074]
1959 * stdio.texi (Hook Functions): The user provided writer function
1960 is not allowed to return -1.
1961
55939d6d
DM
19622012-04-11 David S. Miller <davem@davemloft.net>
1963
1964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1965
90020f5a
MF
19662012-04-11 Mike Frysinger <vapier@gentoo.org>
1967
1968 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1969 Add a leading slash to rtkaio.
1970
288f9098
JM
19712012-04-11 Jim Meyering <meyering@redhat.com>
1972
90020f5a
MF
1973 [BZ #11959]
1974 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1975 It is not necessarily an error to ignore fwrite's return
1976 value. One can reliably use ferror to test for errors after
1977 the fact.
288f9098 1978
4be2b570
L
19792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1980
1981 * bits/types.h (__snseconds_t): New type.
1982 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1983
1984 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1986 (__SNSECONDS_T_TYPE): Likewise.
1987 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1988 (__SNSECONDS_T_TYPE): Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1990 (__SNSECONDS_T_TYPE): Likewise.
1991
288f9098 19922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1993
1994 [BZ #2636]
1995 * manual/time.texi (Processor Time): Return type of times is
1996 elapsed real time since an arbitrary point in the past.
1997 (CPU Time): Move CLK_TCK from here...
1998 (Processor Time): ...to here. Correct description.
1999 * manual/conf.texi (Constants for Sysconf): Correct description of
2000 _SC_CLK_TCK.
2001
d7dd4413
DM
20022012-04-10 David S. Miller <davem@davemloft.net>
2003
2004 [BZ #13967]
2005 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2006 where the is a gap between DT_REL(A) and DT_JMPREL.
2007
b46068fc
L
20082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2009
2010 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2011 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2012 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2013
73d65cc3
SP
20142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2015
2016 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2017 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2018 (dl_main): Handle --inhibit-cache.
2019 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2020 _dl_inhibit_cache.
2021 * elf/dl-load.c (_dl_map_object): Use it.
2022 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2023
bcc8d661
JM
20242012-04-09 Joseph Myers <joseph@codesourcery.com>
2025
8f9a2fae
JM
2026 [BZ #13872]
2027 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2028 (__ieee754_powl): Saturate large exponents rather than testing for
2029 overflow of y*log2(x).
2030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2031 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2032 exceptions.
2033
bcc8d661
JM
2034 [BZ #11521]
2035 * math/s_ctan.c: Include <float.h>.
2036 (__ctan): Avoid internal overflow or cancellation in calculating
2037 denominator.
2038 * math/s_ctanf.c: Likewise.
2039 * math/s_ctanl.c: Likewise.
2040 * math/s_ctanh.c: Likewise.
2041 * math/s_ctanhf.c: Likewise.
2042 * math/s_ctanhl.c: Likewise.
2043 * math/libm-test.inc (ctan_test): Add more tests.
2044 (ctanh_test): Likewise.
2045 * sysdeps/i386/fpu/libm-test-ulps: Update.
2046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2047
823fbbb4
AJ
20482012-04-09 Andreas Jaeger <aj@suse.de>
2049
03879793
AJ
2050 [BZ #6894]
2051 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2052 is an optional BSD extension.
2053
823fbbb4
AJ
2054 [BZ #10254]
2055 * manual/stdio.texi (Opening Streams): Document additional fopen
2056 parameters.
2057
8de131cb
RM
20582012-04-09 Roland McGrath <roland@hack.frob.com>
2059
2060 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2061 %eax without telling the compiler.
2062
c0ed9d7d
CD
20632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2064
2065 [BZ # 13963]
2066 * manual/install.texi: Use sourceware.org.
2067
c483f6b4
JM
20682012-04-09 Joseph Myers <joseph@codesourcery.com>
2069
d7dd9453
JM
2070 [BZ #13873]
2071 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2072 (__ieee754_pow): Generate overflow and underflow using huge*huge
2073 and tiny*tiny rather than just returning constant infinity or zero
2074 for large exponents.
2075 * math/libm-test.inc (pow_test): Require overflow exceptions for
2076 applicable cases of large exponents.
2077
c483f6b4
JM
2078 [BZ #706]
2079 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2080 (__ieee754_pow): Use iterative multiplication algorithm only for
2081 integer exponents with absolute value below 1024. Check for odd
2082 integer exponents when using algorithm for real exponents.
2083 * math/libm-test.inc (pow_test): Add more tests.
2084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2085
d2de7579
JM
20862012-04-08 Joseph Myers <joseph@codesourcery.com>
2087
2088 [BZ #13705]
2089 * math/libm-test.inc (exp_test): Do not allow overflow exception
2090 on underflow test.
2091
f77f1232
AJ
20922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2093
2094 [BZ #13705]
2095 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2096 instead of __kernel_standard_f.
2097
3884932b
MF
20982012-04-08 Mike Frysinger <vapier@gentoo.org>
2099
2100 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2101 * sysdeps/x86_64/memset_chk.S: Likewise.
2102
54472e9c
AJ
21032012-04-08 Andreas Jaeger <aj@suse.de>
2104
6ab0fbfc
AJ
2105 [BZ #10153]
2106 * manual/startup.texi (Environment Access): Describe return value
2107 for putenv and setenv.
2108
61efba8c
AJ
2109 [BZ #6895]
2110 * manual/filesys.texi (Directory Entries): Add description for
2111 DT_LNK.
2112
95c3f29a
AJ
2113 [BZ #6890]
2114 * manual/filesys.texi (Directory Entries): Clarify that it's file
2115 system not operating system in the description of DT_UNKNOWN.
2116
54472e9c
AJ
2117 [BZ #6578]
2118 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2119
624254b1
SC
21202012-04-08 Stephen Compall <s11@member.fsf.org>
2121
2122 [BZ #6649]
2123 * manual/llio.texi (Opening and Closing Files): Add cross
2124 reference to explain mode argument.
2125
1e4920e0
MF
21262012-04-07 Mike Frysinger <vapier@gentoo.org>
2127
2128 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2129 * sysdeps/x86_64/memset_chk.S: Likewise.
2130
5ed848f3
DM
21312012-04-07 David S. Miller <davem@davemloft.net>
2132
2133 * elf/elf.h (R_SPARC_WDISP10): Define.
2134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2135 R_SPARC_SIZE32.
2136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2137 R_SPARC_SIZE64 and R_SPARC_H34.
2138
96154cd8
CD
21392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2140
2141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2142 conditions and remove no longer applicable assertion.
2143
9904dc47
L
21442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 * bits/byteswap.h: Include <features.h>.
2147 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2148 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2149
f8887d0a
L
21502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * bits/byteswap.h (__bswap_16): Removed.
2153 Include <bits/byteswap-16.h> to get __bswap_16.
2154 * sysdeps/i386/bits/byteswap.h: Likewise.
2155 * sysdeps/s390/bits/byteswap.h: Likewise.
2156 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2157 * bits/byteswap-16.h: New file.
2158 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2159 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2160 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2161 * string/Makefile (headers): Add bits/byteswap-16.h.
2162
62470f60
PP
21632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2164
2165 [BZ #13895]
2166 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2167 extra indirection.
2168 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2169 * nss/tst-nss-static.c: New.
2170
4dad7bab
RM
21712012-04-06 Robert Millan <rmh@gnu.org>
2172
2173 [BZ #6486]
2174 * manual/llio.texi (File Position Primitive): lseek
2175 refers to WHENCE when it really means OFFSET.
2176
e9142a17
AJ
21772012-04-06 Andreas Jaeger <aj@suse.de>
2178
2c040eff
AJ
2179 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2180 strncmp declarations.
2181
e9142a17
AJ
2182 * abilist/libc.abilist: Add __poll and __ppoll.
2183
ff9f1c5f
DM
21842012-04-05 David S. Miller <davem@davemloft.net>
2185
dcd2ae90
DM
2186 * scripts/check-local-headers.sh: Accept a host triplet in the
2187 path matched by the exclude regexp.
2188
993eb054
DM
2189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2190 definition.
2191 * sysdeps/powerpc/powerpc32/dl-machine.h
2192 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2193 * sysdeps/s390/s390-32/dl-machine.h
2194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2195 * sysdeps/sparc/sparc32/dl-machine.h
2196 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2197 * sysdeps/sparc/sparc64/dl-machine.h
2198 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2199
ff9f1c5f
DM
2200 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2201 lazy binding.
48e2e132 2202 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2203 undefined symbol errors.
2204
48e2e132 2205 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2206 DT_NEEDED entries.
2207
e80d6f94
MM
22082012-04-05 Michael Matz <matz@suse.de>
2209
2210 [BZ #13592]
2211 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2212
349fa79f
AJ
22132012-04-05 Andreas Jaeger <aj@suse.de>
2214
2215 [BZ #13908]
2216 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2217 comment.
2218
f402708f
KK
22192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2220
2221 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2222 which ROUND is no valid rounding mode.
2223
2ecccfc9
KK
22242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2225
2226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2227 read again.
2228 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2229
8a53f50f
KK
22302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2231
2232 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2233 an exception using FPU order intentionally.
2234
22352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2236
2237 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2238 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2239 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2240 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2241
d653abb7
SJ
22422012-04-05 Simon Josefsson <simon@josefsson.org>
2243
2244 [BZ #12340]
2245 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2246 EINVAL when BUFLEN is too smal.
2247
c3b1bf7d
TS
22482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2249
2250 [BZ #13553]
2251 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2252 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2253
b1aa60f3
AJ
22542012-04-03 Andreas Jaeger <aj@suse.de>
2255
c3b1bf7d 2256 [BZ #13938]
67f60a26
AJ
2257 * manual/setjmp.texi (System V contexts): Fix sentence.
2258
b1aa60f3
AJ
2259 [BZ #13926]
2260 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2261 New macro for this case.
2262 [!__GNUC__] (__bswap_64): New inline function for this case.
2263 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2264 * bits/byteswap.h: Likewise.
2265 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2266 ull, guard with __GLIBC_HAVE_LONG_LONG.
2267
2268 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2269 __GLIBC_HAVE_LONG_LONG.
2270
2271 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2272 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2273
39c59c35
TMQMF
22742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2275
2276 [BZ #13691]
2277 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2278 inptr and inend, rather than using last_ch.
2279
135ffda8
DM
22802012-04-02 David S. Miller <davem@davemloft.net>
2281
2282 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2283 * stdio-common/printf-parse.h (read_int): Change return type to
2284 'int', return -1 on INT_MAX overflow.
2285 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2286 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2287 overflows INT_MAX. Check for overflow of in-format-string precision
2288 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2289 SIZE_MAX not INT_MAX for integer overflow test.
2290 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2291 skip the construct in the format string but do not record anything.
2292 * stdio-common/bug22.c: Adjust to test both width/prevision
2293 INT_MAX overflow as well as total length INT_MAX overflow. Check
2294 explicitly for proper errno values.
2295
228c019e
TS
22962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2297
302cadd3
TS
2298 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2299 CHAR_MAX.
2300 * string/test-strcmp.c [! WIDE]: Likewise.
2301 * time/tst-mktime2.c: Likewise for INT_MAX.
2302 * string/test-string.h: #include <sys/param.h> for MIN.
2303
228c019e
TS
2304 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2305 * sysdeps/i386/init-first.c (init): Likewise.
2306 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2307 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2308 * sysdeps/sh/init-first.c (init): Likewise.
2309
cfa633f5
UD
23102012-04-01 Ulrich Drepper <drepper@gmail.com>
2311
2312 * po/ru.po: Update from translation team.
d1635ef8 2313 * po/vi.po: Likewise.
cfa633f5 2314
6cd0a5ea
SP
23152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2316
2317 * resolv/nss_dns/dns-host.c: Merge copyright years.
2318
4b43400f
LD
23192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2320
2321 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2322 Optimize memcpy with prefetch if
2323 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2324 src, dst pointers have unequal 16 byte alignments.
2325
48c41d04
SP
23262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2327
2328 [BZ #13928]
2329 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2330 from a CNAME entry and return the minimum ttl for the query.
2331 (gaih_getanswer_slice): Likewise.
2332
b8dc394d
JL
23332012-03-30 Jeff Law <law@redhat.com>
2334
2335 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2336 due to long keys.
2337 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2338 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2339
2f5a5ed0
JL
2340 * resolv/nss_dns/dns-host.c: Update copyright year.
2341
1d39e359
UD
23422012-03-30 Ulrich Drepper <drepper@gmail.com>
2343
c030f70c 2344 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2345 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2346
1d39e359
UD
2347 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2348 comments for sendmmsg.
2349
23502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2351
2352 [BZ #13691]
2353 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2354 with only 1 character between 0x0041 and 0x01b0.
2355 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2356 * wcsmbs/tst-mbsnrtowcs.c: New file.
2357
20fde227
DM
23582012-03-29 David S. Miller <davem@davemloft.net>
2359
2360 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2361 small copies by hand.
2362
984a4237
JL
23632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2364
2365 [BZ #13761]
2366 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2367 _nss_compat_initgroups_dyn): Fall back to malloc/free
2368 for large group memberships.
2369
18c9d62b
DM
23702012-03-28 David S. Miller <davem@davemloft.net>
2371
88d85d4f
DM
2372 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2373 that branches into memcpy.
2374 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2377 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2379 bits.
2380 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2381 implementation too.
2382 * sysdeps/sparc/mempcpy.S: New file.
2383
e5aa83e1
DM
2384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2385 the IFUNC routine in the libc case.
2386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2387
88570753
DM
2388 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2389 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2390 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2391 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2392 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2393 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2394 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2395 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2396
249d7567
DM
2397 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2398 loop to 256 bytes instead of 64 bytes and fix test signedness.
2399
18c9d62b
DM
2400 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2401 * sysdeps/sparc/sparc32/Makefile: rather than here...
2402 * sysdeps/sparc/sparc64/Makefile: and here.
2403
05f3d1f6
UD
24042012-03-28 Ulrich Drepper <drepper@gmail.com>
2405
2406 * malloc/mallocbug.c: Avoid warnings about unused variables.
2407
86ae07a8
JL
24082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2409
2410 [BZ #13760]
2411 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2412 in the right place. Discard and retry query if response is
2413 larger than input buffer size.
2414
41bf21a1
JM
24152012-03-28 Joseph Myers <joseph@codesourcery.com>
2416
d6270972
JM
2417 [BZ #369]
2418 [BZ #2678]
2419 [BZ #3866]
2420 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2421 x for large integer exponent.
2422 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2423 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2424 sign of result as needed afterwards.
2425 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2426 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2427 result for underflowing pow the same as for overflow.
2428 (__kernel_standard_l): Handle powl overflow and underflow here
2429 rather than calling __kernel_standard.
2430 * math/libm-test.inc (pow_test): Add more tests.
2431
414fca03 2432 [BZ #3868]
41bf21a1
JM
2433 [BZ #13879]
2434 [BZ #13910]
2435 [BZ #13911]
2436 [BZ #13912]
2437 [BZ #13913]
2438 [BZ #13915]
2439 [BZ #13916]
2440 [BZ #13917]
2441 [BZ #13918]
2442 [BZ #13919]
2443 [BZ #13920]
2444 [BZ #13921]
2445 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2446 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2447 (__kernel_standard_l): New function.
2448 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2449 __kernel_standard.
2450 * math/w_acosl.c (__acosl): Likewise.
2451 * math/w_asinl.c (__asinl): Likewise.
2452 * math/w_atan2l.c (__atan2l): Likewise.
2453 * math/w_atanhl.c (__atanhl): Likewise.
2454 * math/w_coshl.c (__coshl): Likewise.
2455 * math/w_exp10l.c (__exp10l): Likewise.
2456 * math/w_exp2l.c (__exp2l): Likewise.
2457 * math/w_fmodl.c (__fmodl): Likewise.
2458 * math/w_hypotl.c (__hypotl): Likewise.
2459 * math/w_j0l.c (__j0l, __y0l): Likewise.
2460 * math/w_j1l.c (__j1l, __y1l): Likewise.
2461 * math/w_jnl.c (__jnl, __ynl): Likewise.
2462 * math/w_lgammal.c (__lgammal): Likewise.
2463 * math/w_log10l.c (__log10l): Likewise.
2464 * math/w_log2l.c (__log2l): Likewise.
2465 * math/w_logl.c (__logl): Likewise.
2466 * math/w_powl.c (__powl): Likewise.
2467 * math/w_remainderl.c (__remainderl): Likewise.
2468 * math/w_scalbl.c (sysv_scalbl): Likewise.
2469 * math/w_sinhl.c (__sinhl): Likewise.
2470 * math/w_sqrtl.c (__sqrtl): Likewise.
2471 * math/w_tgammal.c (__tgammal): Likewise.
2472 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2473 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2474 * math/libm-test.inc (acos_test): Add more tests.
2475 (acosh_test): Likewise.
2476 (asin_test): Likewise.
2477 (atanh_test): Likewise.
2478 (exp_test): Likewise.
2479 (exp10_test): Likewise.
2480 (exp2_test): Likewise.
2481 (expm1_test): Likewise.
2482 (lgamma_test): Likewise.
2483 (log_test): Likewise.
2484 (log10_test): Likewise.
2485 (log1p_test): Likewise.
2486 (log2_test): Likewise.
2487 (pow_test): Do not allow some spurious overflow exceptions.
2488 (sqrt_test): Add more tests.
2489 (tgamma_test): Likewise.
2490 (y0_test): Likewise.
2491 (y1_test): Likewise.
2492 (yn_test): Likewise.
2493
dd62fda6
AB
24942012-03-27 Anton Blanchard <anton@samba.org>
2495
2496 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2497 MAP_HUGETLB.
2498 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2499 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2501
1e3cdfda
AJ
25022012-03-27 David S. Miller <davem@davemloft.net>
2503
b855ab85
DM
2504 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2505
1e3cdfda
AJ
2506 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2507 have-as-vis3 check.
2508
25092012-03-27 Andreas Jaeger <aj@suse.de>
2510
2511 * sysdeps/x86_64/elf/configure.in: Moved to ...
2512 * sysdeps/x86_64/configure.in: ... here.
2513 * sysdeps/x86_64/elf/start.S: Moved to ...
2514 * sysdeps/x86_64/start.S: ... here.
2515 * sysdeps/x86_64/elf/configure: Delete.
2516
2517 * sysdeps/x86_64/configure.in: Merge contents from
2518 sysdeps/i386/configure.in (without i686 check).
2519
2520 * sysdeps/i386/elf/Versions: Merge into ...
2521 * sysdeps/i386/Versions: ... this.
2522 * sysdeps/i386/elf/Versions: Delete file.
2523 * sysdeps/i386/elf/start.S: Moved to ...
2524 * sysdeps/i386/start.S: ...here.
2525 * sysdeps/i386/elf/configure.in: Merge into...
2526 * sysdeps/i386/configure.in: ...here.
2527 * sysdeps/i386/elf/configure.in: Delete file.
2528 * sysdeps/i386/elf/configure: Delete file.
2529
2530 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2531 * debug/backtracesyms.c: ... here.
2532 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2533 * debug/backtracesymsfd.c: ... here.
2534 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2535 * sysdeps/generic/ifunc-sel.h: ... here.
2536
2537 * sysdeps/unix/i386/start.c: Delete file.
2538 * sysdeps/unix/sparc/start.c: Delete file.
2539 * sysdeps/unix/start.c: Delete file.
2540
2541 * sysdeps/sh/elf/configure.in: Moved to ...
2542 * sysdeps/sh/configure.in: ... here.
2543 * sysdeps/sh/elf/start.S: Moved to ...
2544 * sysdeps/sh/start.S: ... here.
2545 * sysdeps/sh/elf/configure: Delete file.
2546
2547 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2548 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2549 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2550 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2551 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2552 * sysdeps/powerpc/powerpc64/start.S: here.
2553 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2554 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2555 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2556 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2557 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2558
2559 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2560 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2561 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2562 * sysdeps/powerpc/powerpc32/start.S: ... here.
2563 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2564 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2565 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2566
2567 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2568 * sysdeps/powerpc/ifunc-sel.h: ... here.
2569 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2570 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2571
2572 * sysdeps/sparc/elf/configure.in: Moved to ...
2573 * sysdeps/sparc/configure.in: ... here.
2574 * sysdeps/sparc/elf/configure: Delete file.
2575 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2576 * sysdeps/sparc/sparc32/start.S: ... here.
2577 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2578 * sysdeps/sparc/sparc64/start.S: ... here.
2579 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2580 * sysdeps/sparc/sparc32/Makefile: ... this.
2581 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2582 * sysdeps/sparc/sparc64/Makefile: ... this.
2583
2584 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2585 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2586 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2587 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2588 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2589 * sysdeps/s390/s390-32/setjmp.S: ... here.
2590 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2591 * sysdeps/s390/s390-32/configure.in: ... here.
2592 * sysdeps/s390/s390-32/elf/configure: Delete file.
2593 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2594 * sysdeps/s390/s390-32/start.S: ... here.
2595
2596 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2597 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2598 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2599 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2600 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2601 * sysdeps/s390/s390-64/setjmp.S: ... here.
2602 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2603 * sysdeps/s390/s390-64/configure.in: ... here
2604 * sysdeps/s390/s390-64/elf/configure: Delete file.
2605 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2606 * sysdeps/s390/s390-64/start.S: ... here.
2607 * sysdeps/s390/s390-64/elf/configure: Delete.
2608
2609 * configure.in: Remove support for elf directories in sysdeps.
2610
2611 * configure: Regenerated.
2612 * sysdeps/i386/configure: Regenerated.
2613 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2614 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2615 * sysdeps/s390/s390-32/configure: Regenerated.
2616 * sysdeps/s390/s390-64/configure: Regenerated.
2617 * sysdeps/sh/configure: Regenerated.
2618 * sysdeps/sparc/configure: Regenerated.
2619 * sysdeps/x86_64/configure: Regenerated.
2620
a3f61311
AS
26212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2622
c876e002
AS
2623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2624
a3f61311
AS
2625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2626 denormal result into account.
2627
ac4c54f0
RM
26282012-03-25 Roland McGrath <roland@hack.frob.com>
2629
2630 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2631 Reported by Allan McRae <allan@archlinux.org>.
2632
6a9b9c02
JL
26332012-03-23 Jeff Law <law@redhat.com>
2634
2635 * nss/getnssent.c (__nss_getent): Fix typo.
2636
4c42a0c1
DM
26372012-03-23 David S. Miller <davem@davemloft.net>
2638
2639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2640
1532c7ac
L
26412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2644 to pad to uint64_t for each field.
2645 (dl_tls_index): Replace unsigned long with uint64_t.
2646
3ff42526
PP
26472012-03-23 Daniel Jacobowitz <dmj@google.com>
2648 Paul Pluzhnikov <ppluzhnikov@google.com>
2649
2650 [BZ #6528]
2651 * grp/Makefile (otherlibs): Don't set it.
2652 * inet/Makefile (otherlibs): Likewise.
2653 * login/Makefile (otherlibs): Likewise.
2654 * nscd/Makefile (otherlibs): Likewise.
2655 * posix/Makefile (otherlibs): Likewise.
2656 * pwd/Makefile (otherlibs): Likewise.
2657 * rt/Makefile (otherlibs): Likewise.
2658 * sunrpc/Makefile (otherlibs): Likewise.
2659 * nss/Makefile (otherlibs): Likewise.
2660 Add libnss_files to routines and static-only-routines.
2661 ($(objpfx)getent): Remove rule.
2662 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2663 static-only-routines.
2664
7c69cd14
JM
26652012-03-22 Joseph Myers <joseph@codesourcery.com>
2666
2667 [BZ #13892]
2668 * math/s_cexp.c: Include <float.h>.
2669 (__cexp): Handle exp result overflowing not necessarily
2670 overflowing both real and imaginary parts of result.
2671 * math/s_cexpf.c: Likewise.
2672 * math/s_cexpl.c: Likewise.
2673 * math/libm-test.inc (cexp_test): Add more tests.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update.
2675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2676
81b035fe
L
26772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2678
2679 * include/link.h (ELFW): New macro.
2680 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2681 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2682
1da7940c
L
26832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2684
2685 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2686 with uint64_t.
2687
b749dbb9
L
26882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2689
2690 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2691 declaration.
2692 (struct La_x32_retval): Likewise.
2693
2ff87f3f
L
26942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * sysdeps/x86_64/preconfigure.in: New file.
2697 * sysdeps/x86_64/preconfigure: New generated file.
2698
c0df8e69
JM
26992012-03-22 Joseph Myers <joseph@codesourcery.com>
2700
48e44791
JM
2701 [BZ #13824]
2702 * math/e_exp2l.c: Include <float.h>.
2703 (__ieee754_exp2l): Handle overflow and underflow cases
2704 separately. Only pass fractional part of argument to
2705 __ieee754_expl.
2706 * math/libm-test.inc (exp2_test): Add more tests.
2707
c0df8e69
JM
2708 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2709 negating x to take absolute value.
2710 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2711 Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2713 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2714 Likewise.
2715 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2716 computing low part if x was negated.
2717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2718
c8e43ba7
L
27192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2720
2721 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2722 la_x32_gnu_pltexit.
2723 (pltexit): Cast int_retval to ptrdiff_t.
2724 * elf/tst-auditmod3b.c: Likewise.
2725 * elf/tst-auditmod4b.c: Likewise.
2726 * elf/tst-auditmod5b.c: Likewise.
2727 * elf/tst-auditmod6b.c: Likewise.
2728 * elf/tst-auditmod6c.c: Likewise.
2729 * elf/tst-auditmod7b.c: Likewise.
2730
2731 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2732 and x32_gnu_pltexit.
2733
2734 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2735 __ELF_NATIVE_CLASS.
2736 (La_x32_regs): New macro.
2737 (La_x32_retval): Likewise.
2738 (la_x32_gnu_pltenter): New function prototype.
2739 (la_x32_gnu_pltexit): Likewise.
2740
7998fa78
AS
27412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2742
dcb33988
AS
2743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2744 exponent.
2745
233fc563
AS
2746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2747
7998fa78
AS
2748 * configure.in (libc_cv_cc_nofma): Check for option to disable
2749 generation of FMA instructions.
2750 * configure: Regenerate.
2751 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2752 * sysdeps/ieee754/dbl-64/Makefile: New file.
2753 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2754 Remove brandred-fma4.
2755 (CFLAGS-brandred-fma4.c): Remove.
2756 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2757 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2758 define.
2759 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2760 define.
2761
8e95c99a
L
27622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2765 LLONG_MAX != LONG_MAX.
2766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2767 (_fitoa_word): Likewise.
2768 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2769 LLONG_MAX != LONG_MAX.
2770 * stdio-common/_itowa.h: Include <_itoa.h>.
2771 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2772 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2773 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2774 only if not defined.
2775 (_ITOA_WORD_TYPE): Likewise.
2776 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2777 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2778
6f4db457
DM
27792012-03-21 David S. Miller <davem@davemloft.net>
2780
2781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2782
7785fe5a
L
27832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2786 of x86_64 when setting libc_cv_slibdir, libdir and
2787 libc_cv_localedir.
2788 * sysdeps/unix/sysv/linux/configure: Regenerated.
2789
4535cd55
JM
27902012-03-21 Joseph Myers <joseph@codesourcery.com>
2791
2792 * manual/lang.texi (Old Varargs): Remove section.
2793 (How Variadic): Update menu.
2794 (va_start): Do not mention varargs.h.
2795
17228132
TS
27962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2797 Joseph Myers <joseph@codesourcery.com>
2798
2799 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2800 link test.
2801 * configure: Regenerated.
2802
8149f976
TS
28032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2804
05f3d1f6
UD
2805 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2806 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2807 conformtest.pl
8149f976 2808
1a4ac776
JM
28092012-03-21 Joseph Myers <joseph@codesourcery.com>
2810
be22ce65
JM
2811 * NOTES: Remove.
2812 * Makefile (files-for-dist): Remove NOTES.
2813 (NOTES): Remove rule.
2814 * README: Don't refer to NOTES.
2815 * manual/creature.texi: Don't include macros.texi.
2816 * manual/intro.texi (creature.texi): Remove comment referring to
2817 NOTES.
2818
40b601fb
JM
2819 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2820 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2821 * configure: Regenerated.
2822 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2823 LIBC_TRY_CC_OPTION.
2824 (libc_cv_as_i686): Likewise.
2825 (libc_cv_cc_avx): Likewise.
2826 (libc_cv_cc_sse2avx): Likewise.
2827 (libc_cv_cc_fma4): Likewise.
2828 (libc_cv_cc_novzeroupper): Likewise.
2829 * sysdeps/i386/configure: Regenerated.
2830
1a4ac776
JM
2831 [BZ #13883]
2832 * sysdeps/i386/fpu/s_cexp.S: Remove.
2833 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2834 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2835 * math/libm-test.inc (cexp_test): Add more tests.
2836 * sysdeps/i386/fpu/libm-test-ulps: Update.
2837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2838
a458e7fe
AM
28392012-03-21 Allan McRae <allan@archlinux.org>
2840
2841 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2842
0cb7efc5
JM
28432012-03-21 Joseph Myers <joseph@codesourcery.com>
2844
2845 [BZ #13871]
2846 * math/w_exp2.c: Do not include <float.h>.
2847 (o_threshold, u_threshold): Remove.
2848 (__exp2): Calculate result before checking finiteness and calling
2849 __kernel_standard.
2850 * math/w_exp2f.c: Likewise.
2851 * math/w_exp2l.c: Likewise.
2852 * math/libm-test.inc (exp2_test): Require overflow exception for
2853 1e6 input.
2460d3aa
JM
2854
2855 [BZ #3866]
2856 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2857 range of signed 64-bit integers before using fistpll. Remove
2858 checks for whether integers fit in mantissa bits.
2859 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2860 the range of signed 32-bit integers before using fistpl. Remove
2861 checks for whether integers fit in mantissa bits.
2862 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2863 (__ieee754_powl): Test for y outside the range of signed 64-bit
2864 integers before using fistpll. Reduce 64-bit values to 63-bit
2865 ones as needed.
2866 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2867 divide-by-zero is raised for zero to large negative powers.
2868 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2869 (__ieee754_powl): Test for y outside the range of signed 64-bit
2870 integers before using fistpll. Reduce 64-bit values to 63-bit
2871 ones as needed.
2872 * math/libm-test.inc (pow_test): Add more tests.
2873
eb96ffb0
L
28742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2875
2876 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2877 <stdio-common/_itoa.h>.
2878 * debug/segfault.c: Likewise.
2879 * elf/dl-cache.c: Likewise.
2880 * elf/dl-minimal.c: Likewise.
2881 * elf/dl-misc.c: Likewise.
2882 * elf/dl-sysdep.c: Likewise.
2883 * elf/dl-version.c: Likewise.
2884 * elf/rtld.c: Likewise.
2885 * hurd/hurdsock.c: Likewise.
2886 * hurd/lookup-retry.c: Likewise.
2887 * malloc/malloc.c: Likewise.
2888 * malloc/mtrace.c: Likewise.
2889 * nscd/nscd_getgr_r.c: Likewise.
2890 * nscd/nscd_getpw_r.c: Likewise.
2891 * nscd/nscd_getserv_r.c: Likewise.
2892 * posix/getopt_init.c: Likewise.
2893 * posix/wordexp.c: Likewise.
2894 * stdio-common/_itoa.c: Likewise.
2895 * stdio-common/printf_fphex.c: Likewise.
2896 * stdio-common/vfprintf.c: Likewise.
2897 * string/_strerror.c: Likewise.
2898 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2899 * sysdeps/i386/i686/hp-timing.h: Likewise.
2900 * sysdeps/mach/_strerror.c: Likewise.
2901 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2902 * sysdeps/mach/hurd/sethostid.c: Likewise.
2903 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2904 * sysdeps/mach/xpg-strerror.c: Likewise.
2905 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2907 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2908 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2909 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2910 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2911 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2912 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2913 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2914 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2916 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2917 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2918 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2920 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2922 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2923 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2924 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2926
2927 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2928
2929 * stdio-common/_itoa.h: Moved to ...
2930 * sysdeps/generic/_itoa.h: Here.
2931
2932 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2933
2934 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2935 instead of "_itoa.h" and "_itowa.h".
2936 * stdio-common/vfprintf.: Likewise.
2937
d1af992d
L
29382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2939
2940 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2941 <bits/wordsize.h>.
2942 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2943 (__signbit): Likwise.
2944 (llrintf): Likwise.
2945 (llrint): Likwise.
2946
114883e0
L
29472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2950 __WORDSIZE != 64.
2951
c135cc1b
JM
29522012-03-20 Joseph Myers <joseph@codesourcery.com>
2953
2954 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2955 OVERFLOW_EXCEPTION_OK.
2956 * math/libm-test.inc ("Philosophy"): Update comment about
2957 exception testing.
2958 (OVERFLOW_EXCEPTION): Define.
2959 (OVERFLOW_EXCEPTION_OK): Likewise.
2960 (INVALID_EXCEPTION_OK): Renumber.
2961 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2962 (IGNORE_ZERO_INF_SIGN): Likewise.
2963 (test_exceptions): Handle FE_OVERFLOW.
2964 (exp10_test): Expect overflow exceptions.
2965 (exp2_test): Likewise.
2966 (expm1_test): Likewise.
2967 (nextafter_test): Likewise.
2968 (pow_test): Likewise.
2969 (scalbn_test): Likewise.
2970 (scalbln_test): Likewise.
2971
95443d88
L
29722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 * sysdeps/x86_64/bits/atomic.h
2975 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2976 64bit integer.
2977 (atomic_exchange_acq): Likewise.
2978 (__arch_exchange_and_add_body): Likewise.
2979 (__arch_add_body): Likewise.
2980 (atomic_add_negative): Likewise.
2981 (atomic_add_zero): Likewise.
2982
490df6c4
L
29832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2984
c2722551 2985 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2986 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2987
5e52b189
L
29882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2989
2990 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2991 Check __x86_64__ instead of __WORDSIZE.
2992
a9879d4c
L
29932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2994
2995 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2996
5df98260
DM
29972012-03-19 David S. Miller <davem@davemloft.net>
2998
e1497744
DM
2999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3000
5df98260
DM
3001 * sysdeps/sparc/fpu/fenv_private.h: New file.
3002 * sysdeps/sparc/fpu/math_private.h: Use it.
3003 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3004 Remove.
3005 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3006 (libc_feholdexcept_setroundl): Remove.
3007 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3008 Remove.
3009 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3010 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3011
b4c35121
L
30122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3015 int64_t instead of long int.
3016 (INSERT_WORDS64): Likwise.
3017
56965fd7
L
30182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3019
3020 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3021 _Unwind_GetCFA return to _Unwind_Ptr first.
3022
83d1aec8
JM
30232012-03-19 Joseph Myers <joseph@codesourcery.com>
3024
1897ad44
JM
3025 [BZ #13629]
3026 * math/s_clog.c: Include <float.h>.
3027 (__clog): Scale large or subnormal inputs.
3028 * math/s_clogf.c: Likewise.
3029 * math/s_clogl.c: Likewise.
3030 * math/s_clog10.c: Include <float.h>.
3031 (M_LOG10_2): Define.
3032 (__clog10): Scale large or subnormal inputs.
3033 * math/s_clog10f.c: Likewise.
3034 * math/s_clog10l.c: Likewise.
3035 * math/libm-test.inc (clog_test): Add more tests.
3036 (clog10_test): Likewise.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3039
7726d6a9
JM
3040 [BZ #11451]
3041 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3042 x and y.
3043 * math/libm-test.inc (atan2_test): Add another test.
3044
83d1aec8
JM
3045 * Makerules (common-objdir-compile): Remove.
3046 * sysdeps/unix/Makefile (config-generated): Do not add
3047 $(unix-generated) to variable.
3048 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3049 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3050 Remove rule.
3051 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3052 Likewise.
3053 [generic bits/local_lim.h] (before-compile): Do not append to
3054 variable.
3055 [generic bits/local_lim.h] (common-generated): Likewise.
3056 [generic sys/param.h] (before-compile): Do not append to variable.
3057 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3058 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3059 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3060 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3061 include.
3062 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3063 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3064 [generic sys/param.h] ($(addprefix
3065 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3066 [generic sys/param.h] (common-generated): Do not append to
3067 variable.
3068 [generic sys/param.h] (sysdep_headers): Likewise.
3069 [generic bits/errno.h] (before-compile): Do not append to
3070 variable.
3071 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3072 rule.
3073 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3074 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3075 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3076 [generic bits/errno.h] (common-generated): Do not append to
3077 variable.
3078 [generic bits/ioctls.h] (before-compile): Do not append to
3079 variable.
3080 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3081 rule.
3082 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3083 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3084 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3085 rule.
3086 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3087 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3088 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3089 [generic bits/ioctls.h] (common-generated): Do not append to
3090 variable.
3091 [generic sys/syscall.h] (syscall.h): Remove variable.
3092 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3093 rule.
3094 [generic sys/syscall.h] (before-compile): Do not append to
3095 variable.
3096 [generic sys/syscall.h] (common-generated): Likewise.
3097 * sysdeps/unix/errnos-tmpl.c: Remove file.
3098 * sysdeps/unix/errnos.awk: Likewise.
3099 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3100 * sysdeps/unix/ioctls.awk: Likewise.
3101 * sysdeps/unix/mk-local_lim.c: Likewise.
3102 * sysdeps/unix/snarf-ioctls: Likewise.
3103
4851a949
RH
31042012-03-19 Richard Henderson <rth@twiddle.net>
3105
bd37f2ee
RH
3106 * sysdeps/i386/fpu/fenv_private.h: New file.
3107 * sysdeps/i386/fpu/math_private.h: Use it.
3108 (math_opt_barrier, math_force_eval): Remove.
3109 (libc_feholdexcept_setround_53bit): Remove.
3110 (libc_feupdateenv_53bit): Remove.
3111 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3112 (math_opt_barrier, math_force_eval): Remove.
3113 (libc_feholdexcept): Remove.
3114 (libc_feholdexcept_setround): Remove.
3115 (libc_fetestexcept, libc_fesetenv): Remove.
3116 (libc_feupdateenv_test): Remove.
3117 (libc_feupdateenv, libc_feholdsetround): Remove.
3118 (libc_feresetround): Remove.
3119
d0adc922
RH
3120 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3121 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3122
0fe0f1f8
RH
3123 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3124 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3125 (libc_feupdateenv_testl): New.
3126 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3127 (libc_feupdateenv_testf): New.
3128 (libc_feupdateenv): Use libc_feupdateenv_test.
3129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3130 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3131
eb92c487
RH
3132 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3133 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3134 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3135 (libc_feresetround_noex): New.
3136 (libc_feresetround_noexf): New.
3137 (libc_feresetround_noexl): New.
3138 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3139 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3140 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3141 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3142 SET_RESTORE_ROUND.
3143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3145 (__cos): Likewise.
3146 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3147 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3148 SET_RESTORE_ROUND_NOEX.
3149 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3150 SET_RESTORE_ROUND_NOEXF.
3151 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3152 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3153 (libc_feholdsetroundf): New.
3154 (libc_feresetround, libc_feresetroundf): New.
3155
7d2e8012
RH
3156 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3157 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3158 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3159
b4dabbb4
RH
3160 * sysdeps/generic/math_private.h: Include <fenv.h>.
3161 (default_libc_feholdexcept): New.
3162 (default_libc_feholdexcept_setround): New.
3163 (default_libc_fesetenv, default_libc_feupdateenv): New.
3164 (libc_feholdexcept): Only define if undefined.
3165 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3166 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3167 (libc_feholdexcept_setroundl): Likewise.
3168 (libc_feholdexcept_setround_53bit): Likewise.
3169 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3170 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3171 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3172 (libc_feupdateenv_53bit): Likewise.
3173 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3174 (libc_feholdexcept): Convert from macro to inline function.
3175 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3176 (libc_fesetenv, libc_feupdateenv): Likewise.
3177
4851a949
RH
3178 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3179 not previously defined.
3180 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3181 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3182 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3183 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3184 * sysdeps/ieee754/flt-32/math_private.h: New file.
3185 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3186 math_private.h below SET_FLOAT_WORD.
3187 (__isnan, __isinf_ns, __finite): Remove.
3188 (__isnanf, __isinf_nsf, __finitef): Remove.
3189
e79d442e
AS
31902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3191
3192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3193
90b80344
DM
31942012-03-17 David S. Miller <davem@davemloft.net>
3195
3196 [BZ #6471]
3197 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3198 for 2.16.
3199
edc21804
DM
32002012-03-16 David S. Miller <davem@davemloft.net>
3201
77e927af
DM
3202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3203 warnings.
3204
374976dd
DM
3205 [BZ #6471]
3206 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3207 properly.
3208 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3209 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3210 sysdep_routines when subdir is sysvipc.
3211 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3212 __getshmlba helper.
3213
edc21804
DM
3214 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3215
473c3ef3
L
32162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3219 [__LP64__].
3220
eb0f39b6
L
32212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3224 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3225 (__lround): Renamed to ...
3226 (__llround): This. Replace long int with long long int.
3227 Define lround functions as aliases of llround functions.
3228 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3229
6b6cd74b
L
32302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3231
3232 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3233 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3234 adresses to uintptr_t. Replace "long int" and "unsigned long
3235 int" with "greg_t" on va_arg.
3236
f1a77b01
L
32372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3238
3239 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3240 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3241
3242 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3243 Move e_machine check before EI_CLASS check. Handle x32
3244 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3245 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3246 SKIP_EM_IA_64 and include
3247 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3248
3249 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3250 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3251 (add_system_dir): New macro.
3252
3253 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3254 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3255
11b90b9f
JM
32562012-03-16 Joseph Myers <joseph@codesourcery.com>
3257
c36e1d23
JM
3258 [BZ #2551]
3259 [BZ #2552]
3260 [BZ #2553]
3261 [BZ #2554]
3262 [BZ #2562]
3263 [BZ #2563]
3264 [BZ #2565]
3265 [BZ #2566]
3266 [BZ #2576]
3267 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3268 (y0): Likewise.
3269 * math/w_j0f.c (j0f): Likewise.
3270 (y0f): Likewise.
3271 * math/w_j0l.c (__j0l): Likewise.
3272 (__y0l): Likewise.
3273 * math/w_j1.c (j1): Likewise.
3274 (y1): Likewise.
3275 * math/w_j1f.c (j1f): Likewise.
3276 (y1f): Likewise.
3277 * math/w_j1l.c (__j1l): Likewise.
3278 (__y1l): Likewise.
3279 * math/w_jn.c (jn): Likewise.
3280 (yn): Likewise.
3281 * math/w_jnf.c (jnf): Likewise.
3282 (ynf): Likewise.
3283 * math/w_jnl.c (__jnl): Likewise.
3284 (__ynl): Likewise.
3285 * math/libm-test.inc (j0_test): Add more tests.
3286 (j1_test): Likewise.
3287 (jn_test): Likewise. Add trailing semicolon to existing test.
3288 (y0_test): Likewise.
3289 (y1_test): Likewise.
3290 * sysdeps/i386/fpu/libm-test-ulps: Update.
3291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3292
11b90b9f
JM
3293 [BZ #13851]
3294 [BZ #13854]
3295 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3296 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3297 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3298 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3299 (__tanl): Set errno for infinite argument.
3300 * sysdeps/i386/fpu/mptan.c: Remove.
3301 * sysdeps/i386/fpu/s_tan.S: Likewise.
3302 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3303 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3304 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3305 * math/libm-test.inc (tan_test): Add more tests and enable more
3306 tests for double and long double.
3307 * sysdeps/i386/fpu/libm-test-ulps: Update.
3308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3309
6a1bd2a1
JK
33102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3311
3312 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3313 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3314
10a803e0
RM
33152012-03-16 Roland McGrath <roland@hack.frob.com>
3316
3317 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3318 * configure.in: Use it for both main tree and add-ons.
3319 * configure: Regenerated.
3320
f196c7f7
L
33212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3322
3323 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3324
8848d99d
JM
33252012-03-16 Joseph Myers <joseph@codesourcery.com>
3326
96cbe7f4
JM
3327 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3328 in comment.
3329
8848d99d
JM
3330 [BZ #13851]
3331 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3332 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3334 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3336 infinite argument.
3337 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3339 != 0 for prec == 2.
3340 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3341 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3342 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3343 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3344 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3345 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3346 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3347 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3348 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3349 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3350 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3351 * math/libm-test.inc (cos_test): Add more tests and enable more
3352 tests for long double.
3353 (sin_test): Likewise.
3354 (sincos_test): Likewise.
3355 * sysdeps/i386/fpu/libm-test-ulps: Update.
3356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3357
dd7f4703
DM
33582012-03-16 David S. Miller <davem@davemloft.net>
3359
3360 * sysdeps/sparc/fpu/math_private.h: New file.
3361
006f1daa
DM
33622012-03-15 David S. Miller <davem@davemloft.net>
3363
c0c83bc8
DM
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3365 file.
e6a62e18 3366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3368 file.
e6a62e18
DM
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3375 sysdep routines.
3376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3377
88cb87d9
DM
3378 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3379 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3380
006f1daa 3381 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3383 sparc-ifunc.h
006f1daa 3384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3386 Likewise.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3388 Likewise.
006f1daa
DM
3389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3393 Likewise.
006f1daa
DM
3394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3399 Likewise.
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3401 Likewise.
006f1daa
DM
3402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3426
11e0098e
AS
34272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3428
3429 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3430 scaling.
3431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3432
e85b09d0
AJ
34332012-03-15 Andreas Jaeger <aj@suse.de>
3434
3435 [BZ #13852]
3436 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3437 ieee754/flt-32 implementation for sin, cos and sincos.
3438 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3439 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3440 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3441 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3442 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3443 ieee754/flt-32 implementation for tan.
3444
3445 * math/libm-test.inc (cos_test): Enable some large input tests for
3446 float as well
3447 (sin_test): Likewise.
3448 (sincos_test): Likewise.
3449 (tan_test): Add tests for large input.
3450
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452
81c64153
AJ
34532012-03-15 Andreas Jaeger <aj@suse.de>
3454
3455 [BZ #13658]
3456 * math/libm-test.inc (cos_test): Add more test cases.
3457 (sin_test): Likewise.
3458 (sincos_test): Likewise.
3459
7bbfa5c6
AJ
34602012-03-15 Andreas Jaeger <aj@suse.de>
3461
3462 [BZ #13837]
3463 * math/libm-test.inc (cos_test): Add a test case for large input
3464 value.
3465 (sin_test): Likewise.
3466 (sincos_test): Likewise.
3467
34682012-03-15 Andreas Jaeger <aj@suse.de>,
3469 Joseph Myers <joseph@codesourcery.com>
3470
3471 [BZ #13658]
0671f479 3472 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3473 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3474 * sysdeps/i386/fpu/branred.c: Likewise.
3475 * sysdeps/i386/fpu/dosincos.c: Likewise.
3476 * sysdeps/i386/fpu/mpa.c: Likewise.
3477 * sysdeps/i386/fpu/s_cos.S: Likewise.
3478 * sysdeps/i386/fpu/s_sin.S: Likewise.
3479 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3480 * sysdeps/i386/fpu/sincos32.c: Likewise.
3481
3482 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3483 Define.
3484 (libc_feupdateenv_53bit): Define.
3485 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3486 Define.
3487 (libc_feupdateenv_53bit): Define.
3488
3489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3490 53 bit (without extend i386 double precision).
3491
3492 * math/libm-test.inc (sincos_test): Add tests for large input.
3493 (sin): Likewise.
3494 (cos): Likewise.
3495
3496 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3497
9cad04ea
AS
34982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3499
3500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3501
f7062b9a
DM
35022012-03-15 David S. Miller <davem@davemloft.net>
3503
3504 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3505 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3520 file.
f7062b9a 3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3523 file.
f7062b9a 3524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3526 file.
f7062b9a 3527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3529 file.
f7062b9a
DM
3530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3532 fmin/fmax sysdep routines.
3533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3534
7bd951ff
DM
35352012-03-14 David S. Miller <davem@davemloft.net>
3536
559398ab
DM
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3565 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3566 routines.
3567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3568 file.
559398ab 3569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3571 file.
559398ab 3572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3574 file.
559398ab 3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3577 file.
559398ab 3578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3580 file.
559398ab 3581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3583 file.
3584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3585 file.
3586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3587 file.
3588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3589 file.
3590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3591 New file.
3592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3593 file.
3594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3595 file.
559398ab 3596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3598 file.
559398ab 3599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3601 file.
559398ab 3602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3604 file.
559398ab 3605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3607 VIS3 routines.
559398ab
DM
3608
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3610 New file.
3611
5a1c1e32
DM
3612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3613
eae47a36
DM
3614 * sysdeps/sparc/configure.in: New file.
3615 * sysdeps/sparc/configure: Generate.
3616 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3617 * configure: Regenerate.
3618 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3619 * config.make.in (have-as-vis3): New.
3620 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3621 available use -Av9d instead of -Av9a.
3622 * sysdeps/sparc/sparc64/Makefile: Likewise.
3623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3625 New file.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3627 file.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3629 New file.
3630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3631 file.
eae47a36
DM
3632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3637
c0c83bc8
DM
3638 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3639 fzeros/fnegs to load 0x80000000 into a float register instead of
3640 using the stack.
7bd951ff
DM
3641 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3642
bd951ccb
JM
36432012-03-14 Joseph Myers <joseph@codesourcery.com>
3644
3645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3646 bits/syscall.h.
3647 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3648 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3649 ($(inst_includedir)/bits/syscall.h): Remove rule.
3650 ($(objpfx)bits/syscall.d): Include instead of
3651 $(objpfx)syscall-list.d.
3652 (generated): Change syscall-list.h and syscall-list.d to
3653 bits/syscall.h and bits/syscall.d.
3654
bb4e6db2
RM
36552012-03-14 Roland McGrath <roland@hack.frob.com>
3656
3657 [BZ #13846]
3658 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3659
aa4a2ae1
JM
36602012-03-14 Joseph Myers <joseph@codesourcery.com>
3661
e456826d
JM
3662 [BZ #13841]
3663 * math/s_csqrt.c: Include <float.h>.
3664 (__csqrt): Scale large or subnormal inputs.
3665 * math/s_csqrtf.c: Likewise.
3666 * math/s_csqrtl.c: Likewise.
3667 * math/libm-test.inc (csqrt_test): Add more tests.
3668 * sysdeps/i386/fpu/libm-test-ulps: Update.
3669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3670
aa4a2ae1
JM
3671 [BZ #13840]
3672 * math/libm-test.inc (hypot_test): Add more tests.
3673
7c10fd35
DM
36742012-03-13 David S. Miller <davem@davemloft.net>
3675
3676 [BZ #13840]
3677 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3678 double-precision for the calculation instead of scaling.
3679
f453b98b
JM
36802012-03-13 Joseph Myers <joseph@codesourcery.com>
3681
3682 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3683 manipulate bits before adding and subtracting TWO52[sx].
3684 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3685 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3686 Likewise.
3687 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3688
09a3453f
DM
36892012-03-13 David S. Miller <davem@davemloft.net>
3690
8e59da90
DM
3691 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3692 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3694 rtld-global-offsets.h
3695 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3696
2a8ab7f2
DM
3697 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3698 large parameters.
3699
10f62770
DM
3700 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3701
5f0bdb18
DM
3702 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3703 'err' in the ifdef scope in which it is actually used.
3704
09a3453f
DM
3705 * nss/nss_db/db-init.c: Include string.h
3706
b4b2eb5e
DM
37072012-03-12 David S. Miller <davem@davemloft.net>
3708
98bb2f1c
DM
3709 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3710 masking out of the most significant byte of random value used.
3711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3712 Fix coding style in previous change.
3713
b4b2eb5e
DM
3714 * sysdeps/unix/sysv/linux/kernel-features.h
3715 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3716 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3717 expression.
3718 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3719 later.
3720
6e226b09
DM
37212012-03-11 David S. Miller <davem@davemloft.net>
3722
a1bcbd40
DM
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3724 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3725 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3726 for 'resultvar' otherwise things get truncated on 64-bit.
3727
cb9d6174
DM
3728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3729 Fix masking out of the most significant byte of random value used.
3730
6e226b09
DM
3731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3732
058c132d
AS
37332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3734
3735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3736
2d2cd515
DM
37372012-03-09 David S. Miller <davem@davemloft.net>
3738
3739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3740 variables with appropriate CPP guards.
3741 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3742 frame pointer, not the stack pointer. Correct layout comments. Fix test
3743 on resulting framesize and the management of the outregs buffer for pltexit.
3744 Preserve floating point return values across _dl_call_pltexit call.
3745 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3746 framesize and the management of the outregs buffer for pltexit.
3747 Preserve floating point return values across _dl_call_pltexit
3748 call.
3749 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3750 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3751 (print_exit): Fix format string for return register value.
3752
9a07f9d0
JM
37532012-03-10 Joseph Myers <joseph@codesourcery.com>
3754
3755 * sunrpc/Makefile (others): Add rpcgen.
3756 ($(objpfx)rpcgen): Remove special build rule and dependency on
3757 libc.
3758 * sunrpc/rpcgen.c: New file.
3759
547b5e30
PE
37602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3761
c524201a
PE
3762 [BZ #13673]
3763 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3764 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3765 * sysdeps/i386/crti.S: Likewise.
3766 * sysdeps/i386/crtn.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3769 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3770 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3771 * sysdeps/sh/crti.S: Likewise.
3772 * sysdeps/sh/crtn.S: Likewise.
3773 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3774
7b6235f2
PE
3775 [BZ #13673]
3776 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3777 with URL.
3778 * locale/programs/locfile-kw.gperf: Likewise.
3779 * locale/programs/charmap-kw.h: Regenerated.
3780 * locale/programs/locfile-kw.h: Likewise.
3781
547b5e30
PE
3782 [BZ #13673]
3783 * intl/plural.y: Replace FSF snail mail address with URL.
3784 * intl/plural.c: Regenerated.
3785
5f0a5dae
RH
37862012-03-09 Richard Henderson <rth@twiddle.net>
3787
3788 * include/math_private.h: Remove file.
3789 * math/math_private.h: Move file ...
3790 * sysdeps/generic/math_private.h: ... here.
3791
b8c03620
RH
3792 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3793 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3794 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3795
4e234f5d 3796 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3797 and <math_private.h>.
3798 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3799 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3800 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3801 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3802 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3835 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3836 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3837 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3838 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3839 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3840 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3841 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3886 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3887 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3890 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3892 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3894 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3895 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3896 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3897 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3898 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3899 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3900 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3901 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3902 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3903 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3904 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3905 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3906 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3908 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3909 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3910 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3911 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3912 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3914 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3915 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3916 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3917 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3918 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3919 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3921 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3922 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3923 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3924 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3925 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3926 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3927 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3928 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3929 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3930 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3931 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3932 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3933 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3934 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3935 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3936 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3937 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3939 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3940 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3941 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3942 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3943 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3944 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3945 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3946 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3947 * sysdeps/ieee754/k_standard.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3965 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4063 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4067 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4070 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4075 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4080 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4097 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4098 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4108 * sysdeps/ieee754/s_lib_version.c: Likewise.
4109 * sysdeps/ieee754/s_matherr.c: Likewise.
4110 * sysdeps/ieee754/s_signgam.c: Likewise.
4111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4113 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4114 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4115 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4116 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4117 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4118 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4119 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4120 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4121 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4122 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4123 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4124 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4125 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4128 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4129 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4132
1991fa03
JM
41332012-03-09 Joseph Myers <joseph@codesourcery.com>
4134
4135 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4136 * sunrpc/rpc_main.c: Likewise.
4137 * sunrpc/rpc_svcout.c: Likewise.
4138
60d6f5a6
DM
41392012-03-09 David S. Miller <davem@davemloft.net>
4140
4141 * include/math_private.h: New file.
4142
4962050e
JM
41432012-03-09 Joseph Myers <joseph@codesourcery.com>
4144
02a6f887
JM
4145 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4146 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4147 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4148 from <bits/socket_type.h>.
4149 (enum __socket_type): Don't define here.
4150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4152 bits/socket_type.h.
4153
c6e013c1
JM
4154 [BZ #13566]
4155 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4156 checking __USE_GNU.
4157
4962050e
JM
4158 * Makerules ($(inst_includedir)/%.h): New rule.
4159 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4160 (install-others): Remove variable setting.
4161 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4162
38842f45
RH
41632012-03-08 Richard Henderson <rth@twiddle.net>
4164
67bb6da6
RH
4165 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4166 from macro to inline function; merge with the
4167 !__LIBC_INTERNAL_MATH_INLINES version.
4168 (__ieee754_sqrtf): Likewise.
4169
15194b4b
RH
4170 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4171 to inline function.
4172 (__rintf, __floor, __floorf): Likewise.
4173
64e21ede
RH
4174 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4175 macro to inline function.
4176 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4177
38842f45
RH
4178 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4179 not <math/math_private.h>.
4180
c64bf5fe
DM
41812012-03-08 David S. Miller <davem@davemloft.net>
4182
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4184 copyright year.
4185 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4186
82d86f28
TS
41872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4188
4189 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4190 normalization.
4191 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4192 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4193
aea5d727
UD
41942012-03-08 Ulrich Drepper <drepper@gmail.com>
4195
4196 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4197 be defined individually, they must be defined as a block. Define
4198 S for printing a string instead of hidint the different by using a
4199 macro for adding the 'l'.
4200 * stdio-common/tst-fphex-wide.c: Adjust.
4201
70bca0a3
MP
42022012-03-07 Marek Polacek <polacek@redhat.com>
4203
4204 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4205
65b81130
MP
42062012-03-08 Marek Polacek <polacek@redhat.com>
4207
4208 [BZ #13806]
4209 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4210 * stdio-common/tst-fphex.c: Define a few macros to make the
4211 test reusable. Use them.
4212 * stdio-common/tst-fphex-wide.c: New file.
4213
07037eeb
JM
42142012-03-08 Joseph Myers <joseph@codesourcery.com>
4215
a7a93d50
JM
4216 [BZ #6911]
4217 * manual/macros.texi (gnusystems): New macro.
4218 (nongnusystems): Likewise.
4219 (gnulinuxhurdsystems): Likewise.
4220 (gnuhurdsystems): Likewise..
4221 (gnulinuxsystems): Likewise.
4222 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4223 variants of the GNU system, not "GNU system".
4224 * manual/conf.texi: Likewise.
4225 * manual/errno.texi: Likewise. Update example of errno macro
4226 expansion.
4227 * manual/filesys.texi: Likewise.
4228 (getumask): Document as specific to GNU/Hurd.
4229 * manual/install.texi: Likewise. Reword some references to
4230 GNU/Linux.
4231 * manual/intro.texi: Likewise.
4232 * manual/io.texi: Likewise.
4233 (File Name Portability): Detail which constraints are inapplicable
4234 to all GNU systems and which are only inapplicable to GNU/Hurd.
4235 * manual/job.texi: Likewise.
4236 * manual/llio.texi: Likewise.
4237 (O_NOCTTY): Document as present on GNU/Linux.
4238 * manual/maint.texi: Likewise.
4239 * manual/memory.texi: Likewise.
4240 * manual/pattern.texi: Likewise.
4241 * manual/pipe.texi: Likewise.
4242 * manual/process.texi: Likewise.
4243 * manual/resource.texi: Likewise.
4244 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4245 child on GNU/Hurd.
4246 * manual/setjmp.texi: Likewise.
4247 * manual/signal.texi: Likewise.
4248 * manual/startup.texi: Likewise.
4249 * manual/stdio.texi: Likewise.
4250 * manual/terminal.texi: Likewise.
4251 (ONLCR): Document as POSIX.
4252 (OXTABS): Document availability on GNU/Linux as XTABS.
4253 (ONOEOT): Document availability separately from other bits.
4254 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4255 * manual/time.texi: Likewise.
4256 * manual/users.texi: Likewise.
4257 * INSTALL: Regenerated.
4258 * sysdeps/gnu/errlist.c: Regenerated.
4259
07037eeb
JM
4260 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4261 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4262 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4263 puts.
4264 * configure: Regenerated.
4265
d1d3431a
JM
42662012-03-07 Joseph Myers <joseph@codesourcery.com>
4267
af6a1e37
JM
4268 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4269 default includes instead of AC_HEADER_CHECK.
4270 * sysdeps/i386/configure: Regenerated.
4271
d1d3431a
JM
4272 [BZ #10716]
4273 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4274 * math/s_cacoshf.c (__cacoshf): Likewise.
4275 * math/s_cacoshl.c (__cacoshl): Likewise.
4276 * math/s_casinh.c (__casinh): Set signs of result from argument.
4277 * math/s_casinhf.c (__casinhf): Likewise.
4278 * math/s_casinhl.c (__casinhl): Likewise.
4279 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4280 (casinh_test): Add more tests.
4281 * sysdeps/i386/fpu/libm-test-ulps: Update.
4282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4283
482ff4da
UD
42842012-03-07 Ulrich Drepper <drepper@gmail.com>
4285
872fda05
UD
4286 * po/zh_TW.po: Update from translation team.
4287
a4300c7a
UD
4288 * login/Makefile (distribute): Remove variable.
4289 * catgets/Makefile: Likewise.
4290 * mach/Makefile: Likewise.
4291 * malloc/Makefile: Likewise.
4292 * misc/Makefile: Likewise.
4293 * iconv/Makefile: Likewise.
4294 * nscd/Makefile: Likewise.
4295 * hurd/Makefile: Likewise.
4296 * manual/Makefile: Likewise.
4297 * locale/Makefile: Likewise.
4298 * intl/Makefile: Likewise.
4299 * conform/Makefile: Likewise.
4300 * nss/Makefile: Likewise.
4301 * time/Makefile: Likewise.
4302 * soft-fp/Makefile: Likewise.
4303 * dirent/Makefile: Likewise.
4304 * gmon/Makefile: Likewise.
4305 * po/Makefile: Likewise.
4306 * rt/Makefile: Likewise.
4307 * socket/Makefile: Likewise.
4308 * math/Makefile: Likewise.
4309 * signal/Makefile: Likewise.
4310 * debug/Makefile: Likewise.
4311 * elf/Makefile: Likewise.
4312 * timezone/Makefile: Likewise.
4313 * stdlib/Makefile: Likewise.
4314 * iconvdata/Makefile: Likewise.
4315 * sunrpc/Makefile: Likewise.
4316 * io/Makefile: Likewise.
4317 * argp/Makefile: Likewise.
4318 * inet/Makefile: Likewise.
4319 * hesiod/Makefile: Likewise.
4320 * grp/Makefile: Likewise.
4321 * csu/Makefile: Likewise.
4322 * wctype/Makefile: Likewise.
4323 * crypt/Makefile: Likewise.
4324 * libio/Makefile: Likewise.
4325 * string/Makefile: Likewise.
4326 * nis/Makefile: Likewise.
4327 * resolv/Makefile: Likewise.
4328 * stdio-common/Makefile: Likewise.
4329 * wcsmbs/Makefile: Likewise.
4330 * dlfcn/Makefile: Likewise.
4331 * posix/Makefile: Likewise.
4332
3b7c4e74 4333 [BZ #6959]
482ff4da
UD
4334 * timezone/Makefile: Don't install timezone files, just the programs
4335 and scripts.
4336
f72ed77d
UD
43372012-03-06 Ulrich Drepper <drepper@gmail.com>
4338
a000466f
UD
4339 * nss/databases.def: Add missing gshadow entry.
4340
f72ed77d
UD
4341 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4342
a53b7a4e
MP
43432012-03-06 Marek Polacek <polacek@redhat.com>
4344
4345 [BZ #13726]
4346 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4347 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4348 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4349 * stdio-common/tst-long-dbl-fphex.c: New file.
4350
e9258400
DM
43512012-03-06 David S. Miller <davem@davemloft.net>
4352
4353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4354 (set_obp_int): New function.
4355 (get_obp_int): New function.
4356 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4357 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4358 Avoid unused variable warnings on 'val' and use builtin_expect.
4359 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4360 __builtin_expect.
e9258400
DM
4361 (INLINE_CLONE_SYSCALL): Likewise.
4362
3bd2c723
DM
43632012-03-05 David S. Miller <davem@davemloft.net>
4364
4365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4366
bbb78d03
AS
43672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4368
884c5db4
AS
4369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4370
bbb78d03
AS
4371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4372 only for |x| >= 40.
4373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4374
1c9f702a 43752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4376
4377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4378 Replace gettimeofday with __vdso_gettimeofday.
4379
7be16f82
RM
4380 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4381 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4382 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4383
4384 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4385 time with __vdso_time.
4386
ed58a00f
JM
43872012-03-05 Joseph Myers <joseph@codesourcery.com>
4388
4389 * manual/lang.texi (size_t): Note types to which size_t may be
4390 equivalent with the GNU C Library, but do not describe when
4391 differences between them are significant.
4392
30ee4ced
AJ
43932012-03-05 Andreas Jaeger <aj@suse.de>
4394
4395 * sysdeps/i386/fpu/libm-test-ulps: Update.
4396
b7cd39e8
JM
43972012-03-05 Joseph Myers <joseph@codesourcery.com>
4398
4399 [BZ #3976]
4400 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4401 (__ieee754_pow): Save and restore rounding mode and use
4402 round-to-nearest for main computations.
4403 * math/libm-test.inc (pow_test_tonearest): New function.
4404 (pow_test_towardzero): Likewise.
4405 (pow_test_downward): Likewise.
4406 (pow_test_upward): Likewise.
4407 (main): Call the new functions.
4408 * sysdeps/i386/fpu/libm-test-ulps: Update.
4409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4410
4411 [BZ #3976]
4412 * math/libm-test.inc (cosh_test_tonearest): New function.
4413 (cosh_test_towardzero): Likewise.
4414 (cosh_test_downward): Likewise.
4415 (cosh_test_upward): Likewise.
4416 (sinh_test_tonearest): Likewise.
4417 (sinh_test_towardzero): Likewise.
4418 (sinh_test_downward): Likewise.
4419 (sinh_test_upward): Likewise.
4420 (main): Call the new functions.
4421 * sysdeps/i386/fpu/libm-test-ulps: Update.
4422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4423
6c6a98c9
TV
44242012-03-05 Tom de Vries <tom@codesourcery.com>
4425
4426 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4427 default stack guard is set in last bytes.
4428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4429
21bb2d2e 44302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4431
21bb2d2e 4432 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4433
21bb2d2e
AJ
4434 [BZ #13656]
4435 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4436 possibly allocate from heap instead of stack.
4437 * stdio-common/bug-vfprintf-nargs.c: New file.
4438 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4439
c6922934
AS
44402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4441
4442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4443
bc957d53
MP
44442012-03-03 Marek Polacek <polacek@redhat.com>
4445
4446 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4447 * math/math_private.h: Likewise.
4448 * stdlib/tst-strtod.c: Likewise.
4449 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4450 * sysdeps/x86_64/bits/atomic.h: Likewise.
4451
6358490d
DM
44522012-03-02 David S. Miller <davem@davemloft.net>
4453
4454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4458 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4459 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4460 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4461 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4462
01ae168d
RM
44632012-03-02 Roland McGrath <roland@hack.frob.com>
4464
d9a17c07
RM
4465 [BZ #13792]
4466 * manual/examples/README: New file, says the example source files
4467 can be used under GPL>=2.
4468 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4469 line containing just "*/".
4470 * manual/examples/add.c: Add copyright header (GPL>=2).
4471 * manual/examples/argp-ex1.c: Likewise.
4472 * manual/examples/argp-ex2.c: Likewise.
4473 * manual/examples/argp-ex3.c: Likewise.
4474 * manual/examples/argp-ex4.c: Likewise.
4475 * manual/examples/atexit.c: Likewise.
4476 * manual/examples/db.c: Likewise.
4477 * manual/examples/dir.c: Likewise.
4478 * manual/examples/dir2.c: Likewise.
4479 * manual/examples/execinfo.c: Likewise.
4480 * manual/examples/filecli.c: Likewise.
4481 * manual/examples/filesrv.c: Likewise.
4482 * manual/examples/fmtmsgexpl.c: Likewise.
4483 * manual/examples/genpass.c: Likewise.
4484 * manual/examples/inetcli.c: Likewise.
4485 * manual/examples/inetsrv.c: Likewise.
4486 * manual/examples/isockad.c: Likewise.
4487 * manual/examples/longopt.c: Likewise.
4488 * manual/examples/memopen.c: Likewise.
4489 * manual/examples/memstrm.c: Likewise.
4490 * manual/examples/mkfsock.c: Likewise.
4491 * manual/examples/mkisock.c: Likewise.
4492 * manual/examples/mygetpass.c: Likewise.
4493 * manual/examples/pipe.c: Likewise.
4494 * manual/examples/popen.c: Likewise.
4495 * manual/examples/rprintf.c: Likewise.
4496 * manual/examples/search.c: Likewise.
4497 * manual/examples/select.c: Likewise.
4498 * manual/examples/setjmp.c: Likewise.
4499 * manual/examples/sigh1.c: Likewise.
4500 * manual/examples/sigusr.c: Likewise.
4501 * manual/examples/stpcpy.c: Likewise.
4502 * manual/examples/strdupa.c: Likewise.
4503 * manual/examples/strftim.c: Likewise.
4504 * manual/examples/strncat.c: Likewise.
4505 * manual/examples/subopt.c: Likewise.
4506 * manual/examples/swapcontext.c: Likewise.
4507 * manual/examples/termios.c: Likewise.
4508 * manual/examples/testopt.c: Likewise.
4509 * manual/examples/testpass.c: Likewise.
4510 * manual/examples/timeval_subtract.c: Likewise.
4511
01ae168d
RM
4512 [BZ #13792]
4513 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4514 function to ...
4515 * manual/timeval_subtract.c.texi: ... here, new file.
4516
49efa33d
DM
45172012-03-02 David S. Miller <davem@davemloft.net>
4518
4519 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4520
28afd92d
JM
45212012-03-02 Joseph Myers <joseph@codesourcery.com>
4522
804360ed
JM
4523 [BZ #3976]
4524 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4525 (__sin): Save and restore rounding mode and use round-to-nearest
4526 for all computations.
4527 (__cos): Save and restore rounding mode and use round-to-nearest
4528 for all computations.
4529 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4530 <fenv.h>.
4531 (tan): Save and restore rounding mode and use round-to-nearest for
4532 all computations.
4533 * math/libm-test.inc (cos_test_tonearest): New function.
4534 (cos_test_towardzero): Likewise.
4535 (cos_test_downward): Likewise.
4536 (cos_test_upward): Likewise.
4537 (sin_test_tonearest): Likewise.
4538 (sin_test_towardzero): Likewise.
4539 (sin_test_downward): Likewise.
4540 (sin_test_upward): Likewise.
4541 (tan_test_tonearest): Likewise.
4542 (tan_test_towardzero): Likewise.
4543 (tan_test_downward): Likewise.
4544 (tan_test_upward): Likewise.
4545 (main): Call the new functions.
4546 * sysdeps/i386/fpu/libm-test-ulps: Update.
4547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4548
a6d06d7b
JM
4549 [BZ #10135]
4550 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4551 small n, then large n, before computing and testing k+n.
4552 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4554 Likewise.
4555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4556 Likewise.
4557 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4558 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4559 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4560 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4561 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4562 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4563 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4565 * math/libm-test.inc (scalbn_test): Add more tests.
4566 (scalbln_test): Likewise.
4567
07e12bb3
JM
4568 * manual/filesys.texi (mode_t): Describe constraints on size and
4569 signedness, not exact equivalence to a particular type.
4570 (ino_t): Likewise.
4571 (ino64_t): Likewise.
4572 (dev_t): Likewise.
4573 (nlink_t): Likewise.
4574 (blkcnt_t): Likewise.
4575 (blkcnt64_t): Likewise.
4576 * manual/llio.texi (off_t): Likewise.
4577
28afd92d
JM
4578 [BZ #3976]
4579 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4580 (__ieee754_exp): Save and restore rounding mode and use
4581 round-to-nearest for all computations.
4582 * math/libm-test.inc (exp_test_tonearest): New function.
4583 (exp_test_towardzero): Likewise.
4584 (exp_test_downward): Likewise.
4585 (exp_test_upward): Likewise.
4586 (main): Call the new functions.
4587 * sysdeps/i386/fpu/libm-test-ulps: Update.
4588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4589
b1eeb65d
CD
45902012-03-01 Chris Demetriou <cgd@google.com>
4591
4592 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4593 have predictable order.
4594
53362a4b
DM
45952012-03-01 David S. Miller <davem@davemloft.net>
4596
3c969083
DM
4597 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4598
759707de
DM
4599 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4600 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4601 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4602 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4603
dfdb8ff2
DM
4604 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4605 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4606 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4610 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4611 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4612 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4613
ead89f96
DM
4614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4615
7f66bd07
DM
4616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4617 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4618 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4619
53362a4b
DM
4620 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4621 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4622 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4623 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4624 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4625 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4627 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4628 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4629 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4630 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4631 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4633 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4634 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4636 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4637 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4638 * sysdeps/sparc/elf/configure: Regenerated.
4639
7b1902cb
JM
46402012-03-01 Joseph Myers <joseph@codesourcery.com>
4641
bec039bc
JM
4642 * configure.in (AS, LD): Require binutils 2.20 or later.
4643 * configure: Regenerated.
4644 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4645 as required minimum version.
4646 * INSTALL: Regenerated.
4647
7b1902cb
JM
4648 [BZ #2541]
4649 [BZ #4108]
4650 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4651 before squaring exponent.
4652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4653 bottom long double and 27 bits of top long double before squaring
4654 exponent.
4655 * math/libm-test.inc (erfc_test): Add more tests.
4656 * sysdeps/i386/fpu/libm-test-ulps: Update.
4657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659
f775c276
KT
46602012-03-01 Kai Tietz <ktietz@redhat.com>
4661
4662 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4663 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4664 containing bit-fields.
4665 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4666 * soft-fp/single.h (_FP_UNION_S): Likewise.
4667 * soft-fp/double.h (_FP_UNION_D): Likewise.
4668
5b8a4d4a
JM
46692012-02-29 Joseph Myers <joseph@codesourcery.com>
4670
0bab47b6
JM
4671 [BZ #13786]
4672 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4673 not include ../strcmp.S.
4674 [USE_AS_STRNCASECMP_L]: Likewise.
4675 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4676 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4677 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4678 (__strncasecmp_l_ia32): Define as alias to
4679 __strncasecmp_l_nonascii.
4680
0fcad3e2
JM
4681 [BZ #5794]
4682 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4683 * sysdeps/i386/fpu/libm-test-ulps: Update.
4684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4685
5b8a4d4a
JM
4686 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4688
8fdceb2e
JL
46892012-02-29 Jeff Law <law@redhat.com>
4690
4691 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4692 out of bounds read.
4693
1f393a11
MP
46942012-02-29 Marek Polacek <polacek@redhat.com>
4695
4696 [BZ #13706]
4697 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4698 * elf/Makefile: Add rules to run tst-unused-dep.out.
4699
8847f037
DM
47002012-02-28 David S. Miller <davem@davemloft.net>
4701
4702 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4703 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4706 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4707 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4708
169d7f11
JM
47092012-02-29 Joseph Myers <joseph@codesourcery.com>
4710
4711 * math/libm-test.inc (llround_test): Move one test from
4712 lround_test. Use TEST_f_L in moved test.
4713 (lround_test): Move misplaced test to llround_test. Add testcase
4714 from bug 2561.
4715
39adf059
UD
47162012-02-28 Ulrich Drepper <drepper@gmail.com>
4717
4718 * sysdeps/x86_64/fpu/e_expf.S: New file.
4719 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4720
71b5d1c5
SB
47212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4722
4723 [BZ #13637]
4724 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4725 of remain_len that may cause incomplete multi-byte character and
4726 false match.
4727 * posix/bug-regex33.c: New file.
4728 * posix/Makefile (tests): Add bug-regex33.
4729
1f77f049
JM
47302012-02-28 Joseph Myers <joseph@codesourcery.com>
4731
4732 * manual/macros.texi: New file.
4733 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4734 * manual/libc.texinfo: Include macros.texi.
4735 * manual/creatute.texi: Likewise.
4736 * manual/install.texi: Likewise.
4737 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4738 @glibcadj{} in references to the GNU C Library.
4739 * manual/charset.texi: Likewise.
4740 * manual/conf.texi: Likewise.
4741 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4742 when not using those macros.
4743 * manual/creature.texi: Likewise.
4744 * manual/crypt.texi: Likewise.
4745 * manual/errno.texi: Likewise.
4746 * manual/filesys.texi: Likewise.
4747 * manual/header.texi: Likewise.
4748 * manual/install.texi: Likewise.
4749 * manual/intro.texi: Likewise.
4750 * manual/io.texi: Likewise.
4751 * manual/job.texi: Likewise.
4752 * manual/lang.texi: Likewise.
4753 * manual/libc.texiinfo: Likewise.
4754 * manual/llio.texi: Likewise.
4755 * manual/locale.texi: Likewise.
4756 * manual/maint.texi: Likewise.
4757 * manual/math.texi: Likewise.
4758 * manual/memory.texi: Likewise.
4759 * manual/message.texi: Likewise.
4760 * manual/nss.texi: Likewise.
4761 * manual/pattern.texi: Likewise.
4762 * manual/process.texi: Likewise.
4763 * manual/resource.texi: Likewise.
4764 * manual/search.texi: Likewise.
4765 * manual/setjmp.texi: Likewise.
4766 * manual/signal.texi: Likewise.
4767 * manual/socket.texi: Likewise.
4768 * manual/startup.texi: Likewise.
4769 * manual/stdio.texi: Likewise.
4770 * manual/string.texi: Likewise.
4771 * manual/sysinfo.texi: Likewise.
4772 * manual/syslog.texi: Likewise.
4773 * manual/terminal.texi: Likewise.
4774 * manual/time.texi: Likewise.
4775 * manual/users.texi: Likewise.
4776 * INSTALL: Regenerated.
4777 * NOTES: Regenerated.
d40c5d54 4778 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4779
450bf206
AS
47802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4781
4782 * include/dirent.h: Include <dirstream.h> before
4783 <dirent/dirent.h>.
4784
741a235b
DM
47852012-02-28 David S. Miller <davem@davemloft.net>
4786
4787 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4788 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4791
d6b5aa58
DM
47922012-02-27 David S. Miller <davem@davemloft.net>
4793
1aff59a3
DM
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4796 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4797 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4798
d6b5aa58
DM
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4800 frame pointer instead of stack pointer relative arg slot.
4801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4804
433f48bf
CD
48052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4806
4807 [BZ #3992]
4808 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4809
d674b76d
DM
48102012-02-27 David S. Miller <davem@davemloft.net>
4811
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4816 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4817 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4818 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4819 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4820
0e7727f7
JM
48212012-02-27 Joseph Myers <joseph@codesourcery.com>
4822
4823 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4824 later. Allow versions 5-9.
43be4ca2 4825 * configure: Regenerated.
0e7727f7
JM
4826 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4827 required minimum version and 4.6 as recommended version. Do not
4828 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4829 * INSTALL: Regenerated.
0e7727f7 4830
a78bc654
DM
48312012-02-27 David S. Miller <davem@davemloft.net>
4832
428d5830
DM
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4839 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4840 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4841
a78bc654
DM
4842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4843 manipulate bits before adding and subtracting TWO112[sx].
4844 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4845
4579f81c
RM
48462012-02-27 Roland McGrath <roland@hack.frob.com>
4847
36c8acb4
RM
4848 [BZ #13775]
4849 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4850 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4851 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4852 being in POSIX, because they are in 1003.1-2008.
4853
84ad622b
RM
4854 * rt/tst-aio.c: Include <fcntl.h>.
4855 * rt/tst-aio7.c: Likewise.
4856 * rt/tst-aio64.c: Likewise.
4857
4579f81c
RM
4858 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4859
abd923db
JM
48602012-02-27 Joseph Myers <joseph@codesourcery.com>
4861
4862 * manual/install.texi (--with-headers): Describe headers as
4863 interface headers, not private headers.
4864 (Specific advice for GNU/Linux systems): Describe use of headers
4865 from "make headers_install", not private headers from older
4866 kernels.
43be4ca2 4867 * INSTALL: Regenerated.
abd923db
JM
4868 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4869 Change to 2.6.19.
4870 * sysdeps/unix/sysv/linux/configure: Regenerated.
4871
6664049b
JM
4872 * manual/llio.texi (fclean): Remove documentation.
4873
bb8b6697
JM
4874 * manual/Makefile (libc-texi-generated): New variable. Include
4875 version.texi.
4876 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4877 $(libc-texi-generated), not duplicated list of files.
4878 (version.texi, stamp-version): New rules.
4879 (realclean): Remove $(libc-texi-generated), not individual files
4880 from that list. Do not remove dir-add.texinfo.
4881 * manual/libc.texinfo: Comment out uses of edition numbers and
4882 references to printed manual. Remove last-updated dates.
4883 (EDITION): Comment out.
4884 (ISBN): Likewise.
4885 (VERSION, UPDATED): Remove.
4886 (version.texi): Include.
4887
12e5c3b9
AS
48882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4889
4890 * sysdeps/posix/spawni.c: Include <signal.h>.
4891 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4892 * sysdeps/pthread/aio_fsync.c: Likewise.
4893
4efeffc1 48942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4895
ba63ba08
UD
4896 * conform/Makefile (tests): Run only when not cross-compiling and
4897 when fast-check is not defined.
4898
d94a4670
UD
4899 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4900 * conform/data/limits.h-data: Fixes for POSIX2008.
4901 * conform/run-conformtest.sh: Run all tests.
4902 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4903 headers.
4904 * include/bits/dlfcn.h: Likewise.
4905 * include/langinfo.h: Likewise.
4906 * include/monetary.h: Likewise.
4907 * include/sys/poll.h: Likewise.
4908
4909 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4910 for __USE_GNU.
4911 * posix/spawn.h: Define __need_sigset_t.
4912 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4913 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4914 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4915 to get sigevent_t only.
4916 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4917 only for __USE_GNU.
4918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4919 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4920 process_vm_writev only for __USE_GNU.
4921 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4922
4923 * conform/Makefile: For now ignore errors from run-conformtest.
4924 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4925 POSIX to avoid namespace pollution. Don't prepend headers.
4926 * conform/data/aio.h-data: Fixes for POSIX testing.
4927 * conform/data/fcntl.h-data: Likewise.
4928 * conform/data/glob.h-data: Likewise.
4929 * conform/data/grp.h-data: Likewise.
4930 * conform/data/pthread.h-data: Likewise.
4931 * conform/data/pwd.h-data: Likewise.
4932 * conform/data/signal.h-data: Likewise.
4933 * conform/data/spawn.h-data: Likewise.
4934 * conform/data/stdio.h-data: Likewise.
4935 * conform/data/stdlib.h-data: Likewise.
4936 * conform/data/stropts.h-data: Likewise.
4937 * conform/data/sys/mman.h-data: Likewise.
4938 * conform/data/sys/stat.h-data: Likewise.
4939 * conform/data/sys/types.h-data: Likewise.
4940 * conform/data/sys/wait.h-data: Likewise.
4941 * conform/data/time.h-data: Likewise.
4942 * conform/data/unistd.h-data: Likewise.
4943 * conform/data/utime.h-data: Likewise.
4944
4945 * io/sys/stat.h: fchmod was always in POSIX.
4946 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4947 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4948 * rt/aio.h: Define __need_timespec before including <time.h>.
4949 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4950 struct. Add forward declaration of pthread_attr_t and use it in
4951 sigevent.
4952 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4953 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4954 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4955 always remove CLK_TCK definition.
4956
c20105c3
AS
49572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4960
7a270350
UD
49612012-02-25 Ulrich Drepper <drepper@gmail.com>
4962
31341567
UD
4963 * conform/run-conformtest.sh: New file.
4964 * conform/Makefile: Run run-conformtest for tests.
4965 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4966 support.
4967
4968 * conform/data/uchar.h-data: New file.
4969 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4970 * conform/data/arpa/inet.h-data: Likewise.
4971 * conform/data/assert.h-data: Likewise.
4972 * conform/data/complex.h-data: Likewise.
4973 * conform/data/cpio.h-data: Likewise.
4974 * conform/data/ctype.h-data: Likewise.
4975 * conform/data/dirent.h-data: Likewise.
4976 * conform/data/dlfcn.h-data: Likewise.
4977 * conform/data/errno.h-data: Likewise.
4978 * conform/data/fcntl.h-data: Likewise.
4979 * conform/data/float.h-data: Likewise.
4980 * conform/data/fmtmsg.h-data: Likewise.
4981 * conform/data/fnmatch.h-data: Likewise.
4982 * conform/data/ftw.h-data: Likewise.
4983 * conform/data/glob.h-data: Likewise.
4984 * conform/data/grp.h-data: Likewise.
4985 * conform/data/iconv.h-data: Likewise.
4986 * conform/data/inttypes.h-data: Likewise.
4987 * conform/data/langinfo.h-data: Likewise.
4988 * conform/data/libgen.h-data: Likewise.
4989 * conform/data/limits.h-data: Likewise.
4990 * conform/data/locale.h-data: Likewise.
4991 * conform/data/math.h-data: Likewise.
4992 * conform/data/monetary.h-data: Likewise.
4993 * conform/data/mqueue.h-data: Likewise.
4994 * conform/data/ndbm.h-data: Likewise.
4995 * conform/data/net/if.h-data: Likewise.
4996 * conform/data/netdb.h-data: Likewise.
4997 * conform/data/netinet/in.h-data: Likewise.
4998 * conform/data/nl_types.h-data: Likewise.
4999 * conform/data/poll.h-data: Likewise.
5000 * conform/data/pthread.h-data: Likewise.
5001 * conform/data/pwd.h-data: Likewise.
5002 * conform/data/regex.h-data: Likewise.
5003 * conform/data/sched.h-data: Likewise.
5004 * conform/data/search.h-data: Likewise.
5005 * conform/data/semaphore.h-data: Likewise.
5006 * conform/data/setjmp.h-data: Likewise.
5007 * conform/data/signal.h-data: Likewise.
5008 * conform/data/spawn.h-data: Likewise.
5009 * conform/data/stdarg.h-data: Likewise.
5010 * conform/data/stdio.h-data: Likewise.
5011 * conform/data/stdlib.h-data: Likewise.
5012 * conform/data/string.h-data: Likewise.
5013 * conform/data/strings.h-data: Likewise.
5014 * conform/data/stropts.h-data: Likewise.
5015 * conform/data/sys/ipc.h-data: Likewise.
5016 * conform/data/sys/mman.h-data: Likewise.
5017 * conform/data/sys/msg.h-data: Likewise.
5018 * conform/data/sys/resource.h-data: Likewise.
5019 * conform/data/sys/select.h-data: Likewise.
5020 * conform/data/sys/sem.h-data: Likewise.
5021 * conform/data/sys/shm.h-data: Likewise.
5022 * conform/data/sys/socket.h-data: Likewise.
5023 * conform/data/sys/stat.h-data: Likewise.
5024 * conform/data/sys/statvfs.h-data: Likewise.
5025 * conform/data/sys/time.h-data: Likewise.
5026 * conform/data/sys/timeb.h-data: Likewise.
5027 * conform/data/sys/times.h-data: Likewise.
5028 * conform/data/sys/types.h-data: Likewise.
5029 * conform/data/sys/uio.h-data: Likewise.
5030 * conform/data/sys/un.h-data: Likewise.
5031 * conform/data/sys/utsname.h-data: Likewise.
5032 * conform/data/sys/wait.h-data: Likewise.
5033 * conform/data/syslog.h-data: Likewise.
5034 * conform/data/tar.h-data: Likewise.
5035 * conform/data/termios.h-data: Likewise.
5036 * conform/data/utime.h-data: Likewise.
5037 * conform/data/utmpx.h-data: Likewise.
5038 * conform/data/varargs.h-data: Likewise.
5039 * conform/data/wchar.h-data: Likewise.
5040 * conform/data/wctype.h-data: Likewise.
5041 * conform/data/wordexp.h-data: Likewise.
5042
5043 * include/stropts.h: New file.
5044 * include/uchar.h: New file.
5045 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5046 * include/assert.h: Likewise.
5047 * include/ctype.h: Likewise.
5048 * include/dirent.h: Likewise.
5049 * include/dlfcn.h: Likewise.
5050 * include/fcntl.h: Likewise.
5051 * include/fnmatch.h: Likewise.
5052 * include/glob.h: Likewise.
5053 * include/grp.h: Likewise.
5054 * include/libio.h: Likewise.
5055 * include/locale.h: Likewise.
5056 * include/math.h: Likewise.
5057 * include/net/if.h: Likewise.
5058 * include/netdb.h: Likewise.
5059 * include/netinet/in.h: Likewise.
5060 * include/pthread.h: Likewise.
5061 * include/pwd.h: Likewise.
5062 * include/regex.h: Likewise.
5063 * include/sched.h: Likewise.
5064 * include/search.h: Likewise.
5065 * include/setjmp.h: Likewise.
5066 * include/signal.h: Likewise.
5067 * include/stdio.h: Likewise.
5068 * include/stdlib.h: Likewise.
5069 * include/string.h: Likewise.
5070 * include/sys/cdefs.h: Likewise.
5071 * include/sys/mman.h: Likewise.
5072 * include/sys/msg.h: Likewise.
5073 * include/sys/resource.h: Likewise.
5074 * include/sys/select.h: Likewise.
5075 * include/sys/socket.h: Likewise.
5076 * include/sys/stat.h: Likewise.
5077 * include/sys/statvfs.h: Likewise.
5078 * include/sys/time.h: Likewise.
5079 * include/sys/times.h: Likewise.
5080 * include/sys/uio.h: Likewise.
5081 * include/sys/utsname.h: Likewise.
5082 * include/sys/wait.h: Likewise.
5083 * include/termios.h: Likewise.
5084 * include/time.h: Likewise.
5085 * include/ulimit.h: Likewise.
5086 * include/unistd.h: Likewise.
5087 * include/utime.h: Likewise.
5088 * include/wchar.h: Likewise.
5089 * include/wctype.h: Likewise.
5090 * include/wordexp.h: Likewise.
5091
5092 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5093
7a270350
UD
5094 * time/time.h: TIME_UTC must be a macro.
5095 Make timespec_get available for ISO C11 only as well.
5096
7724defc
UD
50972012-02-24 Ulrich Drepper <drepper@gmail.com>
5098
5099 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5100 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5101
6b1d1d46
JM
51022012-02-24 Joseph Myers <joseph@codesourcery.com>
5103
5104 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5105
0f8bbd69
JM
51062012-02-24 Joseph Myers <joseph@codesourcery.com>
5107
5108 * manual/texinfo.tex: Update to version 2012-01-19.16.
5109
66ab80bc
JM
51102012-02-24 Joseph Myers <joseph@codesourcery.com>
5111
5112 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5113
74981cc5
RM
51142012-02-24 Roland McGrath <roland@hack.frob.com>
5115
ee968201
RM
5116 [BZ #13738]
5117 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5118 * manual/fdl-1.3.texi: New file.
5119 * manual/fdl-1.1.texi: File removed.
5120
74981cc5
RM
5121 [BZ #13738]
5122 * manual/libc.texinfo (FDL_VERSION): New @set.
5123 Use it for mention of FDL in cover text.
5124 (Documentation License): Use it in @include file name.
5125
7bb764bc
JM
51262012-02-22 Joseph Myers <joseph@codesourcery.com>
5127 Roland McGrath <roland@hack.frob.com>
5128
5129 [BZ #5461]
5130 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5131 not LONG_LONG_MAX and LONG_LONG_MIN.
5132 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5133 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5134 name.
5135 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5136
6cbeae47
JM
51372012-02-22 Joseph Myers <joseph@codesourcery.com>
5138
5139 [BZ #2547]
5140 [BZ #11365]
5141 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5142 manipulate bits before adding and subtracting TWO23[sx].
5143 * math/libm-test.inc (nearbyint_test): Add more tests.
5144
fe45ce09
JM
51452012-02-22 Joseph Myers <joseph@codesourcery.com>
5146
5147 [BZ #2548]
5148 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5149 bits before adding and subtracting TWO23[sx].
5150 * math/libm-test.inc (rint_test): Add more tests.
5151 (rint_test_tonearest): Likewise.
5152 (rint_test_towardzero): Likewise.
5153 (rint_test_downward): Likewise.
5154 (rint_test_upward: Likewise.
5155
ff3b3d82
JM
51562012-02-22 Joseph Myers <joseph@codesourcery.com>
5157
5158 [BZ #10110]
5159 * include/stdc-predef.h: New file. Extracted from features.h.
5160 * include/features.h: Include stdc-predef.h.
5161 * Makefile (headers): Add stdc-predef.h.
5162 * CONFORMANCE (Compiler limitations): Update.
5163
ef0aab35
JM
51642012-02-22 Joseph Myers <joseph@codesourcery.com>
5165
5166 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5167
58639409
DM
51682012-02-21 David S. Miller <davem@davemloft.net>
5169
5170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5171 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5172
c0e70b25
DM
51732012-02-20 David S. Miller <davem@davemloft.net>
5174
5175 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5176 using a normal save/restore sequence, rather than allocating a
5177 dummy stack frame just to store a frame pointer and restore.
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5179
fb06851d
JM
51802012-02-21 Joseph Myers <joseph@codesourcery.com>
5181
5182 * manual/install.texi: Fix stray word in line-wrapped comment.
5183
7a8b71c3
DM
51842012-02-20 David S. Miller <davem@davemloft.net>
5185
d510c123
DM
5186 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5187 both binutils and gcc support GOTDATA.
5188
0722d7c2
DM
5189 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5190 "rd %pc" in the PIC register setup sequences.
5191
3d2b3019
DM
5192 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5193 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5194 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5195 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5196 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5198 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5201 (SYSCALL_ERROR_HANDLER): Likewise.
5202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5205 (SYSCALL_ERROR_HANDLER): Likewise.
5206
c80098a9
DM
5207 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5208 (HAVE_GCC_GOTDATA): New.
5209 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5210 relocation support in both binutils and gcc.
5211 * sysdeps/sparc/elf/configure: Regenerate.
5212
3a2545a0
DM
5213 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5214 * sysdeps/sparc/sparc32/elf/configure: Delete.
5215 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5216 * sysdeps/sparc/sparc64/elf/configure: Delete.
5217 * sysdeps/sparc/elf/configure.in: New file.
5218 * sysdeps/sparc/elf/configure: Generate.
5219
7a8b71c3
DM
5220 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5221 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5222 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5223 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5224 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5225
f1e86fca
JM
52262012-02-21 Joseph Myers <joseph@codesourcery.com>
5227
5228 * manual/install.texi: Do not mention specific glibc version
5229 numbers.
5230 * manual/libc.texinfo (VERSION, UPDATED): Update.
5231 (@copying): Use @copyright{} and range of years.
5232
0e7dfaef
JM
52332012-02-21 Joseph Myers <joseph@codesourcery.com>
5234
5235 [BZ #13695]
5236 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5237 [crti.S not in sysdirs] (generated): Do not append.
5238 [crti.S not in sysdirs] (omit-deps): Likewise.
5239 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5240 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5241 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5242 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5243 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5244 Likewise.
5245 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5246 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5247 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5248 * csu/defs.awk: Remove file.
5249 * sysdeps/generic/initfini.c: Likewise.
5250 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5251 variable.
5252 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5253 Likewise.
5254
599af3ca
JM
52552012-02-20 Joseph Myers <joseph@codesourcery.com>
5256
5257 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5258 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5259 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5261 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5262 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5263 <bits/epoll.h>.
5264 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5265 (__EPOLL_PACKED): Define to empty if not defined by
5266 <bits/epoll.h>.
5267 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5269 bits/epoll.h.
5270
0e499750
JM
52712012-02-20 Joseph Myers <joseph@codesourcery.com>
5272
5273 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5274 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5275 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5276 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5277 <bits/timerfd.h>.
5278 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5280 bits/timerfd.h.
5281
5ad91f6e
JM
52822012-02-20 Joseph Myers <joseph@codesourcery.com>
5283
5284 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5285 in C locale.
5286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5287 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5290
06b99b02
AJ
52912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5292
5293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5294 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5295
7638c0fd
AS
52962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5297
5298 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5299 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5300 defined.
5301 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5302 Likewise.
5303 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5304 entry for 2.16.
5305
92221550
AJ
53062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5307
5308 * math/w_acos.c: Use non-signaling floating-point comparisons.
5309 * math/w_acosf.c: Likewise.
5310 * math/w_acosh.c: Likewise.
5311 * math/w_acoshf.c: Likewise.
5312 * math/w_acoshl.c: Likewise.
5313 * math/w_acosl.c: Likewise.
5314 * math/w_asin.c: Likewise.
5315 * math/w_asinf.c: Likewise.
5316 * math/w_asinl.c: Likewise.
5317 * math/w_atanh.c: Likewise.
5318 * math/w_atanhf.c: Likewise.
5319 * math/w_atanhl.c: Likewise.
5320 * math/w_exp2.c: Likewise.
5321 * math/w_exp2f.c: Likewise.
5322 * math/w_exp2l.c: Likewise.
5323 * math/w_j0.c: Likewise.
5324 * math/w_j0f.c: Likewise.
5325 * math/w_j0l.c: Likewise.
5326 * math/w_j1.c: Likewise.
5327 * math/w_j1f.c: Likewise.
5328 * math/w_j1l.c: Likewise.
5329 * math/w_jn.c: Likewise.
5330 * math/w_jnf.c: Likewise.
5331 * math/w_log.c: Likewise.
5332 * math/w_log10.c: Likewise.
5333 * math/w_log10f.c: Likewise.
5334 * math/w_log10l.c: Likewise.
5335 * math/w_log2.c: Likewise.
5336 * math/w_log2f.c: Likewise.
5337 * math/w_log2l.c: Likewise.
5338 * math/w_logf.c: Likewise.
5339 * math/w_logl.c: Likewise.
5340 * math/w_sqrt.c: Likewise.
5341 * math/w_sqrtf.c: Likewise.
5342 * math/w_sqrtl.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5345 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5346 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5348
ebaf36eb
JM
53492012-02-19 Joseph Myers <joseph@codesourcery.com>
5350
5351 [BZ #9739]
5352 * manual/string.texi (strnlen): Use correct parameter name in
5353 equivalent expression.
5354
71c254a6
JM
53552012-02-19 Joseph Myers <joseph@codesourcery.com>
5356
5357 [BZ #11174]
5358 * manual/users.texi (seteuid): Consistently use neweuid for
5359 argument name.
5360
16d2c631
JM
53612012-02-19 Joseph Myers <joseph@codesourcery.com>
5362
5363 [BZ #13704]
5364 * manual/nss.texi (Services in the NSS configuration): Correct
5365 list of services in example configuration file.
5366
cd837b09
NB
53672012-02-19 Nick Bowler <nbowler@draconx.ca>
5368
5369 [BZ #11322]
5370 * manual/arith.texi: Remove statements about negative zero
5371 behaving identically to zero.
5372
02c4bbad
JM
53732012-02-18 Joseph Myers <joseph@codesourcery.com>
5374
5375 [BZ #5993]
5376 * manual/install.texi: Do not document upgrading from libc5.
5377
366842e7
JM
53782012-02-18 Joseph Myers <joseph@codesourcery.com>
5379
5380 [BZ #4596]
5381 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5382
dd54084d
DM
53832012-02-18 David S. Miller <davem@davemloft.net>
5384
5385 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5386 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5387 %o7 across the call.
5388 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5389 instead.
5390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5391 SETUP_PIC_REG_LEAF.
5392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5393 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5394 * sysdeps/sparc/crtn.S: Likewise.
5395
2bcc53a3
UD
53962012-02-17 Ulrich Drepper <drepper@gmail.com>
5397
5398 * aout/Makefile: Remove.
5399
09c093b5
RK
54002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5401
5402 [BZ #13058]
5403 * manual/examples/argp-ex1.c (main): Format definition in GNU
5404 style.
5405 * manual/examples/argp-ex2.c (main): Likewise.
5406 * manual/examples/argp-ex3.c (main): Likewise.
5407 * manual/examples/argp-ex4.c (main): Likewise.
5408 * manual/examples/longopt.c (main): Use new-style prototype
5409 definition.
5410 * manual/examples/strncat.c (main): Specify return type and use
5411 (void) for arguments.
5412 * manual/examples/subopt.c (main): Use char **argv argument.
5413
2ee633a2
JM
54142012-02-17 Joseph Myers <joseph@codesourcery.com>
5415
5416 [BZ #5077]
5417 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5418 rounding modes.
5419
0520adde
FB
54202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5421
5422 [BZ #6907]
5423 * manual/string.texi (strchr): Change when strchrnul is
5424 recommended.
5425
3f4081cd
DGM
54262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5427
5428 [BZ #174]
5429 * manual/locale.texi (setlocale): Document LOCPATH.
5430
d1b10e78
JM
54312012-02-17 Joseph Myers <joseph@codesourcery.com>
5432
5433 [BZ #10210]
5434 * manual/process.texi (execle): Move @dots{} before last argument.
5435
79c6869c
PB
54362012-02-17 Paul Bolle <pebolle@tiscali.nl>
5437
5438 [BZ #12047]
5439 * manual/charset.texi (Generic Charset Conversion): Fix typo
5440 (LC_TYPE -> LC_CTYPE).
5441
cc6e48bc
NB
54422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5443
5444 [BZ #5805]
5445 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5446 (scalbnf): Likewise.
5447 (scalbnl): Likewise.
5448 (scalbln): Likewise.
5449 (scalblnf): Likewise.
5450 (scalblnl): Likewise.
5451 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5452 (vwarnx): Likewise.
5453 (verr): Likewise.
5454 (verrx): Likewise.
5455 * manual/filesys.texi (telldir): Use braces around return type.
5456 * manual/llio.texi (mmap): Add space after comma.
5457 (mmap64): Likewise.
5458 * manual/math.texi (jn): Use @var{} on parameter names.
5459 (jnf): Likewise.
5460 (jnl): Likewise.
5461 (yn): Likewise.
5462 (ynf): Likewise.
5463 (ynl): Likewise.
5464 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5465 line.
5466 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5467 "...".
5468 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5469 (sched_get_priority_max): Likewise.
5470 * manual/signal.texi (sigvec): Add space after comma.
5471 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5472 names.
5473 (if_indextoname): Likewise.
5474 (if_freenameindex): Likewise.
5475 (sendto): Use ',' instead of '.' in prototype.
5476 * manual/startup.texi (syscall): Use @dots{} instead of literal
5477 "...".
5478 * manual/stdio.texi (__fpending): Separate initial words of
5479 paragraph from @deftypefun line.
5480 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5481 "...".
5482 (vsyslog): Use @var{} on parameter names.
5483 * manual/terminal.texi (stty): Use @var{} on parameter names.
5484 * manual/users.texi (getutmp): Use @var{} on parameter names.
5485 (getutmpx): Likewise.
5486
5b23062f
JM
54872012-02-17 Joseph Myers <joseph@codesourcery.com>
5488
5489 [BZ #6884]
5490 * manual/stdio.texi (fopen): Fix typos in description of
5491 ",ccs=STRING".
5492
8dee4833
AJ
54932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5494
5495 [BZ #4026]
5496 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5497 get clock_id definition.
5498
9078ce93
TS
54992012-02-17 Thomas Schwinge <thomas@schwinge.name>
5500
5501 [BZ #4822]
5502 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5503 (madvise): Cast every argument to void on its own.
5504
3835c55f
JM
55052012-02-17 Joseph Myers <joseph@codesourcery.com>
5506
5507 [BZ #9902]
5508 * manual/startup.texi (Exit Status): Fix typo.
5509
35c47e37
JM
55102012-02-17 Joseph Myers <joseph@codesourcery.com>
5511
5512 [BZ #10140]
5513 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5514 * manual/examples/argp-ex2.c: Likewise.
5515 * manual/examples/argp-ex3.c: Likewise.
5516
e3b69ca7
RH
55172012-02-16 Richard Henderson <rth@redhat.com>
5518
5519 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5520 * sysdeps/s390/s390-32/initfini.c: Remove.
5521 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5522 * sysdeps/s390/s390-64/initfini.c: Remove.
5523
df83af67
KK
55242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5525
5526 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5527 compiler output for sysdeps/generic/initfini.c.
5528 * sysdeps/sh/elf/initfini.c: Remove file.
5529
f63f3380
DM
55302012-02-16 David S. Miller <davem@davemloft.net>
5531
fb59b3a4
DM
5532 [BZ #11494]
5533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5534
f63f3380
DM
5535 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5536 * sysdeps/sparc/crti.S: New file.
5537 * sysdeps/sparc/crtn.S: New file.
5538 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5539 * sysdeps/sparc/sparc64/Makefile: Likewise.
5540
df6a4a4a
MF
55412012-02-15 Mike Frysinger <vapier@gentoo.org>
5542
6dd8f3dc 5543 [BZ #3335]
df6a4a4a
MF
5544 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5545
1cac7236
RM
55462012-02-15 Roland McGrath <roland@hack.frob.com>
5547
d2c736f8
RM
5548 [BZ #4822]
5549 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5550
1cac7236
RM
5551 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5552 (write, read, close): Likewise.
5553 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5554
8e475601
JM
55552012-02-15 Joseph Myers <joseph@codesourcery.com>
5556
5557 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5558 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5559 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5560 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5561 <bits/signalfd.h>.
5562 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5564 bits/signalfd.h.
5565
ed656b40
MP
55662012-02-14 Marek Polacek <polacek@redhat.com>
5567
5568 * sysdeps/x86_64/crti.S: New file.
5569 * sysdeps/x86_64/crtn.S: New file.
5570 * sysdeps/x86_64/elf/initfini.c: Remove file.
5571
2a979d3a
JM
55722012-02-13 Joseph Myers <joseph@codesourcery.com>
5573
5574 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5575 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5576 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5577 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5578 <bits/inotify.h>.
5579 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5581 bits/inotify.h.
5582
2a418ac3
JM
55832012-02-13 Joseph Myers <joseph@codesourcery.com>
5584
5585 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5586 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5587 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5588 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5589 <bits/eventfd.h>.
5590 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5592 bits/eventfd.h.
5593
fb779be7
TS
55942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5595
e19e83c5
RM
5596 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5597 __feraiseexcept instead of feraiseexcept.
7c35ffed 5598
fb779be7
TS
5599 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5600 nanosleep invocations.
5601 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5602 strings, and add error checking for a nanosleep invocations.
5603
59ba27a6
PE
56042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5605
5606 Replace FSF snail mail address with URLs, as per GNU coding standards.
5607 Most of the snail mail addresses were wrong anyway, and omitting
5608 them makes the source code easier to maintain. Almost all of the
5609 changes are to license notices and to locale LC_IDENTIFICATION
5610 addresses, except for this one:
5611 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5612 not its snail mail address.
5613
57b957eb
RH
56142012-02-09 Richard Henderson <rth@twiddle.net>
5615
af850b1c
RH
5616 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5617 of kernel-features.h.
5618
57b957eb
RH
5619 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5620
6b73181a
MP
56212012-02-08 Marek Polacek <polacek@redhat.com>
5622
5623 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5624 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5625 * sysdeps/gnu/_G_config.h: Likewise.
5626 * sysdeps/generic/_G_config.h: Likewise.
5627
26ecc33a
AS
56282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5629
6c6dbc63
AS
5630 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5631 tests.
5632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5633
e216c012
AS
5634 * sysdeps/powerpc/powerpc32/crti.S: New file.
5635 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5636 * sysdeps/powerpc/powerpc64/crti.S: New file.
5637 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5638
26ecc33a
AS
5639 * Makeconfig (have-initfini): Don't set.
5640 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5641 * configure.in (nopic_initfini): Don't substitute.
5642 * config.h.in (HAVE_INITFINI): Don't #undef.
5643 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5644 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5645
3add8e13
JM
56462012-02-08 Joseph Myers <joseph@codesourcery.com>
5647
5648 Support crti.S and crtn.S provided directly by architectures.
5649 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5650 [crti.S in sysdirs] (omit-deps): Likewise.
5651 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5652 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5653 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5654 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5655 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5656 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5657 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5658 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5659 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5660 compiler output for sysdeps/generic/initfini.c.
5661 * sysdeps/i386/elf/Makefile: Remove file.
5662 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5663
a22f12b4
MP
56642012-02-07 Marek Polacek <polacek@redhat.com>
5665
5666 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5667 * sysdeps/gnu/_G_config.h: Likewise.
5668 * sysdeps/mach/hurd/_G_config.h: Likewise.
5669
148cf100
MP
56702012-02-07 Marek Polacek <polacek@redhat.com>
5671
5672 * math/Makefile (tests): Add tst-CMPLX2.
5673 * math/tst-CMPLX2.c: New file.
5674
cfdc0dd7
AS
56752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5676
84ba42c4
AS
5677 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5678
cfdc0dd7
AS
5679 * math/libm-test.inc (jn_test): Add missing L suffix.
5680
622c86f4
MP
56812012-02-06 Marek Polacek <polacek@redhat.com>
5682
5683 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5684 * sysdeps/i386/fpu/e_powf.S: Likewise.
5685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5686 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5687 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5688 * sysdeps/i386/fpu/e_pow.S: Likewise.
5689 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5690 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5691 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5692 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5693 * sysdeps/i386/fpu/e_log2.S: Likewise.
5694 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5695 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5696 * sysdeps/i386/fpu/e_powl.S: Likewise.
5697 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5698 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5699 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5700 * sysdeps/i386/fpu/e_logl.S: Likewise.
5701 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5702 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5703 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5704 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5705 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5706 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5707 * sysdeps/i386/fpu/e_log.S: Likewise.
5708 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5709 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5710 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5711 * sysdeps/i386/fpu/e_logf.S: Likewise.
5712 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5714 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5715 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5716 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5717 * sysdeps/i386/fpu/e_log10.S: Likewise.
5718 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5720 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5721 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5723 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5724 * sysdeps/i386/asm-syntax.h: Likewise.
5725 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5727 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5728 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5729 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5730 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5731 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5732 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5733 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5734 * sysdeps/powerpc/sysdep.h: Likewise.
5735 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5736 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5737
d4a54ac6
JM
57382012-02-06 Joseph Myers <joseph@codesourcery.com>
5739
5740 [BZ #411]
5741 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5742
314054ea
JM
57432012-02-06 Joseph Myers <joseph@codesourcery.com>
5744
5745 * sysdeps/i386/sysdep.h: Include <features.h>.
5746 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5747 version.
5748
d8e0ca50
JM
57492012-02-05 Joseph Myers <joseph@codesourcery.com>
5750
5751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5752 Define.
5753 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5754 LOAD_PIC_REG_STR.
5755
b1da7dd9
JM
57562012-02-03 Joseph Myers <joseph@codesourcery.com>
5757
5758 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5759 (SETUP_PIC_REG): Use GET_PC_THUNK.
5760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5761 macro.
5762
9a1d9254
JM
57632012-02-03 Joseph Myers <joseph@codesourcery.com>
5764
5765 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5766 for non-PIC compilation.
5767 (SETUP_PIC_REG): Add .p2align directive.
5768 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5769 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5770 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5771 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5772 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5773 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5774 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5775 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5776 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5777 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5778 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5779 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5780 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5781 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5782 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5783 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5784 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5785 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5786 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5787 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5788 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5790 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5791 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5792 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5794 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5795 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5796 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5797 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5798 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5800 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5801 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5802 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5803 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5804 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5805 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5806 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5807 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5809
65dc3b75
JM
58102012-02-03 Joseph Myers <joseph@codesourcery.com>
5811
5812 * math/tst-CMPLX.c: Include <stdio.h>.
5813
d55bf177
JM
58142012-01-31 Joseph Myers <joseph@codesourcery.com>
5815
5816 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5817 float.
5818 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5819 * sysdeps/sparc/bits/mathdef.h: Likewise.
5820
69db4f8f
MP
58212012-01-31 Marek Polacek <polacek@redhat.com>
5822
5823 * libio/libio.h: Don't define _PARAMS.
5824 * locale/programs/config.h: Don't define PARAMS.
5825 * stdlib/strtol_l.c: Likewise.
5826 (__strtol_l): Remove PARAMS from the prototype.
5827
41b81892
UD
58282012-01-31 Ulrich Drepper <drepper@gmail.com>
5829
3b49edc0
UD
5830 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5831 names. Just use the correct names. Remove unnecessary wrapper
5832 functions.
5833 * malloc/arena.c: Likewise.
5834 * malloc/hooks.c: Likewise.
5835
41b81892
UD
5836 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5837 ARENA_TEST says not to. Simplify test for creation of a new arena.
5838 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5839
27a25b6e
UD
58402012-01-30 Ulrich Drepper <drepper@gmail.com>
5841
5842 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5843 into tail calls.
5844 (update_get_addr): New function.
5845 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5846 GET_ADDR_MODULE parameter.
5847
c8a89e7d
JM
58482012-01-30 Joseph Myers <joseph@codesourcery.com>
5849
5850 * crypt/cert.c: Remove __STDC__ conditionals.
5851 * crypt/crypt-entry.c: Likewise.
5852 * crypt/crypt_util.c: Likewise.
5853 * libio/filedoalloc.c: Likewise.
5854 * libio/fileops.c: Likewise.
5855 * libio/genops.c: Likewise.
5856 * libio/iofclose.c: Likewise.
5857 * libio/iofdopen.c: Likewise.
5858 * libio/iofopen.c: Likewise.
5859 * libio/iofopen64.c: Likewise.
5860 * libio/iogetdelim.c: Likewise.
5861 * libio/iopopen.c: Likewise.
5862 * libio/obprintf.c: Likewise.
5863 * libio/oldfileops.c: Likewise.
5864 * libio/oldiofclose.c: Likewise.
5865 * libio/oldiofdopen.c: Likewise.
5866 * libio/oldiofopen.c: Likewise.
5867 * libio/oldiopopen.c: Likewise.
5868 * libio/wfiledoalloc.c: Likewise.
5869 * libio/wgenops.c: Likewise.
5870 * locale/programs/xmalloc.c: Likewise.
5871 * misc/syslog.c: Likewise.
5872 * stdio-common/xbug.c: Likewise.
5873 * string/memchr.c: Likewise.
5874 * string/memcmp.c: Likewise.
5875 * string/memrchr.c: Likewise.
5876 * string/rawmemchr.c: Likewise.
5877 * sysdeps/posix/getcwd.c: Likewise.
5878 * time/strftime_l.c: Likewise.
5879
3b100462
JM
58802012-01-30 Joseph Myers <joseph@codesourcery.com>
5881
5882 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5883 * config.make.in (config-cflags-sse2avx): Define.
5884 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5885 Fix typo.
5886
607998af
CM
58872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5888
5889 * scripts/config.guess: Update from upstream config git repository.
5890 * scripts/config.sub: Likewise.
5891
3601428f
CM
58922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5893
3ac8b282
CM
5894 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5895 (EM_NUM): Update.
5896 (R_TILEPRO_*, R_TILEGX_*): New macros.
5897
e034841e
CM
5898 * scripts/firstversions.awk: Fix bug in version range handling.
5899
540d7568
CM
5900 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5901
3601428f
CM
5902 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5903
463de862
CM
5904 * include/sys/epoll.h: New file.
5905 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5906 libc_hidden_def.
5907
73139a76
UD
59082012-01-28 Ulrich Drepper <drepper@gmail.com>
5909
96bc5b45
UD
5910 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5911 Avoid unnecessary __WORDSIZE == 64 test.
5912 (fmaxf): Use VEX format if possible.
5913 (fmax): Likewise.
5914 (fminf): Likewise.
5915 (fmin): Likewise.
5916
56f6f6a2
UD
5917 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5918 * math/math_private.h: Remove libc_fegetround* and
5919 libc_fesetround*.
5920 * sysdeps/i386/configure.in: Check for -msse2avx.
5921 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5922 also if SSE2AVX is defined.
5923 Remove libc_fegetround* and libc_fesetround*.
5924 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5925 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5927 of HAS_YMM_USABLE.
5928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5930 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5932 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5933
73139a76
UD
5934 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5935
d73f93a4
AZ
59362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5937
5938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5939 size is not set.
5940 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5941
6ee65ed6
UD
59422012-01-27 Ulrich Drepper <drepper@gmail.com>
5943
5944 [BZ #13618]
5945 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5946 relocation.
5947 * Makeconfig (libm): Define.
5948 * elf/Makefile: Add rules to build and run tst-relsort1.
5949 * elf/tst-relsort1.c: New file.
5950 * elf/tst-relsort1mod1.c: New file.
5951 * elf/tst-relsort1mod2.c: New file.
5952
8db21882
JM
59532012-01-27 Joseph Myers <joseph@codesourcery.com>
5954
5955 * math/s_ldexp.c: Remove __STDC__ conditionals.
5956 * math/s_ldexpf.c: Likewise.
5957 * math/s_ldexpl.c: Likewise.
5958 * math/s_nextafter.c: Likewise.
5959 * math/s_nexttowardf.c: Likewise.
5960 * math/s_significand.c: Likewise.
5961 * math/s_significandf.c: Likewise.
5962 * math/s_significandl.c: Likewise.
5963 * math/w_jnl.c: Likewise.
5964 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5965 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5966 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5967 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5968 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5970 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5971 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5981 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5983 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5984 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5985 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5986 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5987 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5988 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5989 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5991 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5992 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5994 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5996 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5999 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6000 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6001 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6002 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6003 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6004 * sysdeps/ieee754/k_standard.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6071 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6079 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6080 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6084 * sysdeps/ieee754/s_matherr.c: Likewise.
6085 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6086 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6089
965a54a4
JM
60902012-01-26 Joseph Myers <joseph@codesourcery.com>
6091
6092 * crypt/md5.h: Remove __STDC__ conditionals.
6093 * libio/libioP.h: Likewise.
6094 * locale/programs/config.h: Likewise.
6095 * sysdeps/generic/sysdep.h: Likewise.
6096 * sysdeps/i386/asm-syntax.h: Likewise.
6097 * sysdeps/s390/asm-syntax.h: Likewise.
6098 * sysdeps/unix/sysdep.h: Likewise.
6099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6101
7071ad79
JM
61022012-01-26 Joseph Myers <joseph@codesourcery.com>
6103
6104 * libio/libio.h: Remove __STDC__ conditionals.
6105 * malloc/obstack.h: Likewise.
6106 * math/complex.h: Likewise.
6107 * math/math.h: Likewise.
6108 * sysdeps/generic/_G_config.h: Likewise.
6109 * sysdeps/gnu/_G_config.h: Likewise.
6110 * sysdeps/mach/hurd/_G_config.h: Likewise.
6111 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6112 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6113 * sysdeps/sparc/bits/mathdef.h: Likewise.
6114
afc5ed09
UD
61152012-01-26 Ulrich Drepper <drepper@gmail.com>
6116
6117 [BZ #13583]
6118 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6119 Clean up HAS_* macros.
afc5ed09 6120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6121 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6122 possible.
6123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6124 HAS_AVX.
6125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6126 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6127 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6129 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6130
bdb6de1d
JM
61312012-01-25 Joseph Myers <joseph@codesourcery.com>
6132
6133 * elf/tst-unique3.cc (gets): Remove declaration.
6134 * elf/tst-unique3lib.cc (gets): Likewise.
6135 * elf/tst-unique3lib2.cc (gets): Likewise.
6136 * elf/tst-unique4.cc (gets): Likewise.
6137
b15549e6
UD
61382012-01-24 Ulrich Drepper <drepper@gmail.com>
6139
6140 * include/stdio.h: Add C++ protection. Add gets declarations and
6141 definitions.
6142 * debug/tst-chk1.c: Don't declare gets here.
6143 * stdio-common/tst-gets.c: Likewise.
6144
a037381f
JM
61452012-01-24 Joseph Myers <joseph@codesourcery.com>
6146
6147 * posix/glob: Remove directory.
6148
f1d4aa75
JM
61492012-01-24 Joseph Myers <joseph@codesourcery.com>
6150
6151 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6152
81c0c964
PT
61532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6154
6155 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6156 of the non-standard EPFNOSUPPORT.
6157
0ea698ae
ST
61582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6159
6160 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6161 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6162 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6163
d220b117
UD
61642012-01-21 Ulrich Drepper <drepper@gmail.com>
6165
6166 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6167
3e1aa84e
UD
61682012-01-20 Ulrich Drepper <drepper@gmail.com>
6169
6170 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6171 transient errors.
6172 * nscd/grpcache.c (cache_addgr): Likewise.
6173 * nscd/hstcache.c (cache_addhst): Likewise.
6174 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6175 * nscd/pwdcache.c (cache_addpw): Likewise.
6176 * nscd/servicescache.c (cache_addserv): Likewise.
6177
400aa020
UD
61782012-01-16 Ulrich Drepper <drepper@gmail.com>
6179
d77e7869
UD
6180 * malloc/malloc.c: Various cleanups.
6181 * malloc/hooks.c: Likewise.
6182
400aa020
UD
6183 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6184 * stdlib/bug-fmtmsg1.c: New file.
6185
6186 * stdlib/fmtmsg.c (init): Add missing unlock.
6187 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6188
e0a309cf
MP
61892012-01-12 Marek Polacek <polacek@redhat.com>
6190
6191 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6192 and _GNU_SOURCE.
6193
929d11c7
WS
61942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6195
6196 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6197 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6198 macro to ensure uniqueness of label name.
6199 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6200 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6201
41d0e869
UD
62022012-01-11 Ulrich Drepper <drepper@gmail.com>
6203
0cc5ed3b
UD
6204 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6205
41d0e869
UD
6206 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6207 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6208 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6210
a47a831a
UD
62112012-01-10 Ulrich Drepper <drepper@gmail.com>
6212
daa891c0
UD
6213 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6214
6215 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6216 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6217 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6218
e58ef0f2
UD
6219 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6220
a47a831a 6221 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6222 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6223 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6225
6226 * math/bits/math-finite.h: Add ldexp support.
6227
a0bfc9c7
MP
62282012-01-10 Marek Polacek <polacek@redhat.com>
6229
6230 * locale/programs/localedef.h (show_archive_content): Add noreturn
6231 attribute.
6232
d6e97a1d
UD
62332012-01-09 Ulrich Drepper <drepper@gmail.com>
6234
6235 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6236
d5835c26
UD
62372012-01-08 Ulrich Drepper <drepper@gmail.com>
6238
e5f484c6
UD
6239 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6240
d5835c26
UD
6241 * io/Makefile (headers): Add bits/poll2.h.
6242
d1f741e9
WS
62432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6244
6245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6246 typo #include statement.
6247
ec09c1c4
UD
62482012-01-08 Ulrich Drepper <drepper@gmail.com>
6249
6250 * include/sys/cdefs.h: Define __attribute_alloc_size.
6251 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6252 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6253 * elf/pldd.c: Likewise.
6254 * iconv/iconv_charmap.c: Likewise.
6255 * iconv/iconvconfig.c: Likewise.
6256 * iconv/strtab.c: Likewise.
6257 * locale/programs/locale.c: Likewise.
6258 * locale/programs/localedef.h: Likewise.
6259 * locale/programs/simple-hash.c: Likewise.
6260 * nscd/nscd.h: Likewise.
6261 * nss/makedb.c: Likewise.
6262 * sysdeps/generic/ldconfig.h: Likewise.
6263 * locale/programs/localedef.c: Remove xmalloc prototype.
6264 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6265
20b38e03
PP
62662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6267
6268 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6269 appropriate.
6270
a0da5fe1
UD
62712012-01-08 Ulrich Drepper <drepper@gmail.com>
6272
1d5a644a 6273 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6274 * math/tst-CMPLX.c: New file.
1d5a644a 6275
8784a6db
UD
6276 * math/complex.h (CMPLXL): Fix typo.
6277
d9a216c0
UD
6278 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6279 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6280 GLIBC_2.16.
6281 * debug/tst-chk1.c: Add poll and ppoll tests.
6282 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6283 * include/sys/poll.h: Add hidden proto for ppoll.
6284 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6285 * sysdeps/mach/hurd/ppoll.c: Likewise.
6286 * io/ppoll.c: Likewise.
6287 * debug/poll_chk.c: New file.
6288 * debug/ppoll_chk.c: New file.
6289 * include/bits/poll2.h: New file.
6290 * io/bits/poll2.h: New file.
6291
ac097f5c
UD
6292 [BZ #1350]
6293 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6294
2119dcfa
UD
6295 * configure.in: static is always set to yes. Remove.
6296 * config.make.in: Don't set build-static.
6297 * Makeconfig: Remove use of build-static.
6298 * dlfcn/Makefile: Likewise.
6299 * elf/Makefile: Likewise.
6300 * math/Makefile: Likewise.
6301 * misc/Makefile: Likewise.
6302 * nptl/Makefile: Likewise.
6303 * sysdeps/mach/hurd/Makefile: Likewise.
6304
121766a9
UD
6305 * configure.in: PWD_P is not used anymore.
6306 * config.make.in: Remove PWD_P entry.
6307
51a1d39c 6308 * configure.in: Remove last remnants of RANLIB.
8720d066 6309 No need to check for signed size_t anymore.
215f4bdc
UD
6310 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6311 and IA-64.
3857022a 6312 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6313 * aclocal.m4: Likewise.
6314
d3ed7225
UD
6315 * wcsmbs/mbrtoc16.c: Implement using towc function.
6316 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6317 * wcsmbs/wcsmbsload.c: Likewise.
6318 * iconv/gconv_simple.c: Likewise.
6319 * iconv/gconv_int.h: Likewise.
6320 * iconv/gconv_builtin.h: Likewise.
6321 * iconv/iconv_prog.c: Remove CHAR16 handling.
6322
6323 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6324
6325 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6326
a0da5fe1
UD
6327 * configure.in: Remove --with-elf and --enable-bounded options.
6328 Dont set base_machine for ia64. More non-ELF conditions removed.
6329 Remove testing and setting of leading underscore information.
6330 * config.make.in (build-bounded): Set to no.
6331 * config.h.in: Remove NO_UNDERSCORES entry.
6332 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6333 them.
6334 * csu/start.c: Remove !NO_UNDERSCORE code.
6335 * locale/localeinfo.h: Likewise.
6336 * sysdeps/generic/machine-gmon.h: Likewise.
6337 * sysdeps/generic/sysdep.h: Likewise.
6338 * sysdeps/i386/sysdep.h: Likewise.
6339 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6340 * sysdeps/mach/sysdep.h: Likewise.
6341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6343 * sysdeps/sh/sysdep.h: Likewise.
6344 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6345 * sysdeps/unix/i386/sysdep.S: Likewise.
6346 * sysdeps/unix/sparc/start.c: Likewise.
6347 * sysdeps/unix/sparc/sysdep.S: Likewise.
6348 * sysdeps/unix/sparc/sysdep.h: Likewise.
6349 * sysdeps/unix/start.c: Likewise.
6350 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6351 * sysdeps/x86_64/sysdep.h: Likewise.
6352
df78418a
UD
63532012-01-07 Ulrich Drepper <drepper@gmail.com>
6354
a784e502
UD
6355 [BZ #13553]
6356 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6357 for non-gcc.
6358 * argp/argp-fmtstream.h: Use const instead __const.
6359 * argp/argp.h: Likewise.
6360 * assert/assert.h: Likewise.
6361 * bits/fenv.h: Likewise.
6362 * bits/sched.h: Likewise.
6363 * bits/sigset.h: Likewise.
6364 * bits/sigthread.h: Likewise.
6365 * catgets/nl_types.h: Likewise.
6366 * conform/data/pthread.h-data: Likewise.
6367 * crypt/crypt-private.h: Likewise.
6368 * crypt/crypt.h: Likewise.
6369 * crypt/crypt_util.c: Likewise.
6370 * ctype/ctype.h: Likewise.
6371 * debug/execinfo.h: Likewise.
6372 * debug/mbsnrtowcs_chk.c: Likewise.
6373 * debug/mbsrtowcs_chk.c: Likewise.
6374 * debug/wcsnrtombs_chk.c: Likewise.
6375 * debug/wcsrtombs_chk.c: Likewise.
6376 * debug/wcstombs_chk.c: Likewise.
6377 * dirent/dirent.h: Likewise.
6378 * dlfcn/dlfcn.h: Likewise.
6379 * elf/neededtest4.c: Likewise.
6380 * grp/grp.h: Likewise.
6381 * gshadow/gshadow.h: Likewise.
6382 * iconv/gconv.h: Likewise.
6383 * iconv/gconv_int.h: Likewise.
6384 * iconv/gconv_simple.c: Likewise.
6385 * iconv/iconv.h: Likewise.
6386 * iconv/loop.c: Likewise.
6387 * iconv/skeleton.c: Likewise.
6388 * include/aio.h: Likewise.
6389 * include/aliases.h: Likewise.
6390 * include/argz.h: Likewise.
6391 * include/arpa/inet.h: Likewise.
6392 * include/assert.h: Likewise.
6393 * include/dirent.h: Likewise.
6394 * include/dlfcn.h: Likewise.
6395 * include/execinfo.h: Likewise.
6396 * include/fcntl.h: Likewise.
6397 * include/fenv.h: Likewise.
6398 * include/glob.h: Likewise.
6399 * include/grp.h: Likewise.
6400 * include/libintl.h: Likewise.
6401 * include/mntent.h: Likewise.
6402 * include/netdb.h: Likewise.
6403 * include/pwd.h: Likewise.
6404 * include/rpc/netdb.h: Likewise.
6405 * include/sched.h: Likewise.
6406 * include/search.h: Likewise.
6407 * include/shadow.h: Likewise.
6408 * include/signal.h: Likewise.
6409 * include/stdio.h: Likewise.
6410 * include/stdlib.h: Likewise.
6411 * include/string.h: Likewise.
6412 * include/sys/socket.h: Likewise.
6413 * include/sys/stat.h: Likewise.
6414 * include/sys/statfs.h: Likewise.
6415 * include/sys/statvfs.h: Likewise.
6416 * include/sys/syslog.h: Likewise.
6417 * include/sys/time.h: Likewise.
6418 * include/sys/uio.h: Likewise.
6419 * include/time.h: Likewise.
6420 * include/unistd.h: Likewise.
6421 * include/utmp.h: Likewise.
6422 * include/wchar.h: Likewise.
6423 * include/wctype.h: Likewise.
6424 * inet/aliases.h: Likewise.
6425 * inet/arpa/inet.h: Likewise.
6426 * inet/netinet/ether.h: Likewise.
6427 * inet/netinet/in.h: Likewise.
6428 * intl/libintl.h: Likewise.
6429 * io/bits/fcntl2.h: Likewise.
6430 * io/fcntl.h: Likewise.
6431 * io/ftw.h: Likewise.
6432 * io/sys/poll.h: Likewise.
6433 * io/sys/stat.h: Likewise.
6434 * io/sys/statfs.h: Likewise.
6435 * io/sys/statvfs.h: Likewise.
6436 * io/utime.h: Likewise.
6437 * libio/bits/stdio.h: Likewise.
6438 * libio/bits/stdio2.h: Likewise.
6439 * libio/libio.h: Likewise.
6440 * libio/libioP.h: Likewise.
6441 * libio/stdio.h: Likewise.
6442 * locale/lc-ctype.c: Likewise.
6443 * locale/locale.h: Likewise.
6444 * login/utmp.h: Likewise.
6445 * malloc/arena.c: Likewise.
6446 * malloc/malloc.c: Likewise.
6447 * malloc/malloc.h: Likewise.
6448 * malloc/mcheck.c: Likewise.
6449 * malloc/mtrace.c: Likewise.
6450 * math/bits/mathcalls.h: Likewise.
6451 * math/fenv.h: Likewise.
6452 * math/math_private.h: Likewise.
6453 * misc/bits/error.h: Likewise.
6454 * misc/bits/syslog.h: Likewise.
6455 * misc/err.h: Likewise.
6456 * misc/error.h: Likewise.
6457 * misc/fstab.h: Likewise.
6458 * misc/mntent.h: Likewise.
6459 * misc/regexp.h: Likewise.
6460 * misc/search.h: Likewise.
6461 * misc/sgtty.h: Likewise.
6462 * misc/sys/mman.h: Likewise.
6463 * misc/sys/syslog.h: Likewise.
6464 * misc/sys/uio.h: Likewise.
6465 * misc/sys/xattr.h: Likewise.
6466 * misc/ttyent.h: Likewise.
6467 * nis/rpcsvc/ypclnt.h: Likewise.
6468 * nss/nss.h: Likewise.
6469 * posix/bits/unistd.h: Likewise.
6470 * posix/fnmatch.h: Likewise.
6471 * posix/glob.h: Likewise.
6472 * posix/sched.h: Likewise.
6473 * posix/spawn.h: Likewise.
6474 * posix/sys/wait.h: Likewise.
6475 * posix/unistd.h: Likewise.
6476 * posix/wordexp.h: Likewise.
6477 * pwd/pwd.h: Likewise.
6478 * resolv/netdb.h: Likewise.
6479 * resource/sys/resource.h: Likewise.
6480 * rt/aio.h: Likewise.
6481 * rt/bits/mqueue2.h: Likewise.
6482 * rt/mqueue.h: Likewise.
6483 * shadow/shadow.h: Likewise.
6484 * signal/signal.h: Likewise.
6485 * socket/send.c: Likewise.
6486 * socket/sendto.c: Likewise.
6487 * socket/sys/socket.h: Likewise.
6488 * stdio-common/printf.h: Likewise.
6489 * stdlib/bits/stdlib.h: Likewise.
6490 * stdlib/fmtmsg.h: Likewise.
6491 * stdlib/monetary.h: Likewise.
6492 * stdlib/stdlib.h: Likewise.
6493 * stdlib/ucontext.h: Likewise.
6494 * streams/stropts.h: Likewise.
6495 * string/argz.h: Likewise.
6496 * string/bits/string2.h: Likewise.
6497 * string/string.h: Likewise.
6498 * string/strings.h: Likewise.
6499 * sunrpc/rpc/auth.h: Likewise.
6500 * sunrpc/rpc/auth_des.h: Likewise.
6501 * sunrpc/rpc/clnt.h: Likewise.
6502 * sunrpc/rpc/netdb.h: Likewise.
6503 * sunrpc/rpc/pmap_clnt.h: Likewise.
6504 * sunrpc/rpc/xdr.h: Likewise.
6505 * sysdeps/generic/inttypes.h: Likewise.
6506 * sysdeps/generic/net/if.h: Likewise.
6507 * sysdeps/generic/sys/swap.h: Likewise.
6508 * sysdeps/gnu/net/if.h: Likewise.
6509 * sysdeps/gnu/utmpx.h: Likewise.
6510 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6511 * sysdeps/i386/i486/bits/string.h: Likewise.
6512 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6513 * sysdeps/s390/bits/string.h: Likewise.
6514 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6515 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6516 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6517 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6518 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6519 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6520 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6521 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6522 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6523 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6524 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6525 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6526 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6527 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6528 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6529 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6530 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6534 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6537 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6538 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6539 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6540 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6541 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6542 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6543 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6544 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6545 * sysvipc/sys/ipc.h: Likewise.
6546 * sysvipc/sys/msg.h: Likewise.
6547 * sysvipc/sys/sem.h: Likewise.
6548 * sysvipc/sys/shm.h: Likewise.
6549 * termios/termios.h: Likewise.
6550 * time/sys/time.h: Likewise.
6551 * time/time.h: Likewise.
6552 * wcsmbs/bits/wchar2.h: Likewise.
6553 * wcsmbs/uchar.h: Likewise.
6554 * wcsmbs/wchar.h: Likewise.
6555 * wctype/wctype.h: Likewise.
6556
0269750c
UD
6557 [BZ #13551]
6558 * Makeconfig: Remove all but ELF support including AIX support.
6559 * Makerules: Likewise.
6560 * config.h.in: Likewise.
6561 * config.make.in: Likewise.
6562 * configure: Likewise.
6563 * configure.in: Likewise.
6564 * csu/Makefile: Likewise.
6565 * csu/version.c: Likewise.
6566 * debug/Makefile: Likewise.
6567 * dlfcn/Makefile: Likewise.
6568 * elf/Makefile: Likewise.
6569 * extra-lib.mk: Likewise.
6570 * iconv/Makefile: Likewise.
6571 * include/libc-symbols.h: Likewise.
6572 * include/shlib-compat.h: Likewise.
6573 * resolv/Makefile: Likewise.
6574 * resolv/res_libc.c: Likewise.
6575 * rt/Makefile: Likewise.
6576 * sysdeps/i386/asm-syntax.h: Likewise.
6577 * sysdeps/i386/sysdep.h: Likewise.
6578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6579 * sysdeps/mach/sysdep.h: Likewise.
6580 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6581 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6582 * sysdeps/s390/asm-syntax.h: Likewise.
6583 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6585 * sysdeps/sh/sysdep.h: Likewise.
6586 * sysdeps/unix/sparc/sysdep.h: Likewise.
6587 * sysdeps/wordsize-32/divdi3.c: Likewise.
6588 * sysdeps/x86_64/sysdep.h: Likewise.
6589
00bbd29b
UD
6590 * argp/Versions: Remove _argp_unlock_xxx.
6591
6592 [BZ #13559]
6593 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6594 * abilist/libBrokenLocale.abilist: Likewise.
6595 * abilist/libanl.abilist: Likewise.
6596 * abilist/libc.abilist: Likewise.
6597 * abilist/libcrypt.abilist: Likewise.
6598 * abilist/libdl.abilist: Likewise.
6599 * abilist/libm.abilist: Likewise.
6600 * abilist/libnsl.abilist: Likewise.
6601 * abilist/libpthread.abilist: Likewise.
6602 * abilist/libresolv.abilist: Likewise.
6603 * abilist/librt.abilist: Likewise.
6604 * abilist/libthread_db.abilist: Likewise.
6605 * abilist/libutil.abilist: Likewise.
6606 * abilist/libnss_db.abilist: New file.
6607
6608 * scripts/abilist.awk: Add support for indirect functions.
6609
a2693a0e
UD
6610 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6611
3f05895f
UD
6612 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6613
ecb6fb48
UD
6614 * shlib-versions: Remove entries for ports architectures.
6615
664f8cb9
UD
6616 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6617 files in ports.
6618 * elf/stackguard-macros.h: Remove support for IA-64.
6619 * elf/tst-auditmod1.c: Likewise.
6620 * sysdeps/generic/ldsodefs.h: Likewise.
6621
7ae81d88
UD
6622 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6623 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6624 configure files.
6625
bdeba135
UD
6626 [BZ #13552]
6627 * configure.in: Remove --enable-omitfp support.
6628 * FAQ.in: Adjust.
6629 * config.make.in: Likewise.
6630 * Makeconfig: Likewise.
6631 * manual/install.texi: Likewise.
6632
d75a0a62
UD
6633 In case anyone cares, the IA-64 architecture could move to ports.
6634 * sysdeps/ia64/*: Removed.
6635 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6636 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6637
dcc9756b
UD
6638 [BZ #13555]
6639 * configure.in: Remove entries for unsupported architectures.
6640
d3761ebc 6641 [BZ #13533]
9954432e
UD
6642 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6643 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6644 routines.
6645 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6646 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6647 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6648 fall back to using wcrtomb.
6649 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6650 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6651 renaming.
6652 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6653 * wcsmbs/tst-c16c32-1.c: New file.
6654
6655 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6656 local variable.
6657
c3a87236
UD
6658 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6659
28926a1b
UD
6660 * elf/tst-unique3.cc: Add explicit declaration of gets.
6661 * elf/tst-unique3lib.cc: Likewise.
6662 * elf/tst-unique3lib2.cc: Likewise.
6663 * elf/tst-unique4.cc: Likewise.
6664
df78418a
UD
6665 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6666
8ecd6b2a
JM
66672012-01-06 Joseph Myers <joseph@codesourcery.com>
6668
6669 [BZ #13566]
6670 * assert/assert.h (static_assert): Don't define for C++.
6671 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6672 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6673
9f115170
UD
66742012-01-03 Ulrich Drepper <drepper@gmail.com>
6675
5e0d0300
UD
6676 * iconv/loop.c (single loop): Fix assertion in storing of
6677 remaining bytes.
6678
9f115170
UD
6679 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6680
81fb02b0
UD
66812012-01-01 Ulrich Drepper <drepper@gmail.com>
6682
6683 * posix/getconf.c: Update copyright year.
6684 * nss/getent.c: Likewise.
a316c1f6 6685 * nss/makedb.c: Likewise.
81fb02b0
UD
6686 * iconv/iconvconfig.c: Likewise.
6687 * iconv/iconv_prog.c: Likewise.
6688 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6689 * elf/pldd.c: Likewise.
6690 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6691 * catgets/gencat.c: Likewise.
6692 * csu/version.c: Likewise.
6693 * elf/ldd.bash.in: Likewise.
6694 * elf/sprof.c (print_version): Likewise.
6695 * locale/programs/locale.c: Likewise.
6696 * locale/programs/localedef.c: Likewise.
a316c1f6 6697 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6698 * nscd/nscd.c (print_version): Likewise.
6699 * debug/xtrace.sh: Likewise.
6700 * malloc/memusage.sh: Likewise.
6701 * malloc/mtrace.pl: Likewise.
6702 * debug/catchsegv.sh: Likewise.
6703
2ba92745
JJ
67042011-12-30 Jakub Jelinek <jakub@redhat.com>
6705
6706 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6707 pure attribute.
6708
dadebdae
UD
67092011-12-24 Ulrich Drepper <drepper@gmail.com>
6710
d3761ebc 6711 [BZ #13533]
db6af3eb
UD
6712 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6713 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6714 transformations.
6715 * iconv/gconv_int.h: Likewise.
6716 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6717 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6718 from libc for GLIBC_2.16.
6719 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6720 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6721 * wcsmbs/uchar.h: Really define mbstate_t.
6722 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6723 * wcsmbs/c16rtomb.c: New file.
6724 * wcsmbs/mbrtoc16.c: New file.
6725 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6726 for C/POSIX locale.
6727 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6728 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6729
dadebdae
UD
6730 * wcsmbs/wchar.h: Add missing __restrict.
6731
67371b56
UD
67322011-12-23 Ulrich Drepper <drepper@gmail.com>
6733
74033a25
UD
6734 [BZ #13532]
6735 * time/Makefile (routines): Add timespec_get.
6736 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6737 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6738 timespec for ISO C11.
6739 * time/timespec_get.c: New file.
6740 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6741 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6742
380d7e87
UD
6743 [BZ #13531]
6744 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6745 * stdlib/stdlib.h: Declare aligned_alloc.
6746 * Versions.def: Add GLIBC_2.16 for libc.
6747 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6748
4e9e7a35
UD
6749 [BZ 13527]
6750 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6751 ISO C11.
6752
380d7e87 6753 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6754 code.
6755
03a71829
UD
6756 [BZ #13528]
6757 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6758
839e283e
UD
6759 [BZ #13529]
6760 * assert/assert.h (static_assert): Define.
6761
ce5294e2 6762 * version.h: Update for 2.16 development version.
90fa7312 6763
8d44e150 6764 [BZ #13526]
d7809905
UD
6765 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6766 _ISOC11_SOURCE.
6767
c0da14cd
UD
6768 * version.h (RELEASE): Bump for 2.15 release.
6769 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6770
530a3249
MP
6771 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6772 Patch by Marek Polacek <mpolacek@redhat.com>.
6773
67371b56
UD
6774 * bits/byteswap.h: Protect long long constants with __extension__.
6775 * sysdeps/i386/bits/byteswap.h: Likewise.
6776 * sysdeps/ia64/bits/byteswap.h: Likewise.
6777 * sysdeps/s390/bits/byteswap.h: Likewise.
6778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6779
15db4de1
LD
67802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6781
6782 [BZ #13540]
bbe315ea
LD
6783 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6784 destination buffer.
15db4de1
LD
6785 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6786
2b2596b1
MP
67872011-12-23 Marek Polacek <polacek@redhat.com>
6788
6789 * elf/dl-addr.c (determine_info): Add inline keyword.
6790 * elf/tst-auditmod4b.c (check_avx): Likewise.
6791 * elf/tst-auditmod6b.c (check_avx): Likewise.
6792 * elf/tst-auditmod6c.c (check_avx): Likewise.
6793 * elf/tst-auditmod7b.c (check_avx): Likewise.
6794
70c6c246
UD
67952011-12-23 Ulrich Drepper <drepper@gmail.com>
6796
6797 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6798 !__SSE_MATH__.
6799
c044cf14
LD
68002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6801
15db4de1 6802 [BZ #13540]
c044cf14
LD
6803 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6804 processing for last bytes.
6805
6b13d9d9
BH
68062011-08-06 Bruno Haible <bruno@clisp.org>
6807
d455f537
BH
6808 [BZ #13061]
6809 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6810 U+0385, not to U+1FEE.
6811
6b13d9d9
BH
6812 [BZ #13062]
6813 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6814 entry for U+00A5 U+0301.
6815
db910efd
UD
68162011-12-22 Ulrich Drepper <drepper@gmail.com>
6817
27deeafc
UD
6818 [BZ #13166]
6819 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6820 buffer for the output is too small.
6821
aed9d171
UD
6822 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6823 optimization.
6824
db910efd
UD
6825 [BZ #13185]
6826 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6827 SSE flags if possible.
6828
2bd779ae
LD
68292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6830
e7f9dac3 6831 [BZ #13540]
2bd779ae
LD
6832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6833 processing for last bytes.
6834
154bfc16
JM
68352011-12-22 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6838 (syscall-list-default-options, syscall-list-default-condition)
6839 (syscall-list-includes): Define.
6840 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6841 list of ABIs and options and #if conditions for each ABI. Do not
6842 handle common syscalls between ABIs specially.
6843 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6844 Remove.
6845 (syscall-list-variants, syscall-list-32bit-options)
6846 (syscall-list-32bit-condition, syscall-list-64bit-options)
6847 (syscall-list-64bit-condition): Define.
6848 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6849 (syscall-list-variants, syscall-list-32bit-options)
6850 (syscall-list-32bit-condition, syscall-list-64bit-options)
6851 (syscall-list-64bit-condition): Define.
6852 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6853 Remove.
6854 (syscall-list-variants, syscall-list-32bit-options)
6855 (syscall-list-32bit-condition, syscall-list-64bit-options)
6856 (syscall-list-64bit-condition): Define.
6857 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6858 Remove.
6859 (syscall-list-variants, syscall-list-32bit-options)
6860 (syscall-list-32bit-condition, syscall-list-64bit-options)
6861 (syscall-list-64bit-condition): Define.
6862
21eaf3a5
UD
68632011-12-22 Ulrich Drepper <drepper@gmail.com>
6864
16c6f992
UD
6865 * locale/iso-639.def: Add brx entry.
6866
41043168
UD
6867 [BZ #13328]
6868 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6869 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6870
21eaf3a5
UD
6871 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6872 __feraiseexcept_renamed.
6873
e3a851a2
UD
68742011-12-21 Ulrich Drepper <drepper@gmail.com>
6875
4920765e
UD
6876 [BZ #13538]
6877 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6878 EPOLLET with unsigned values.
6879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6880 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6881
e3a851a2
UD
6882 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6883 to large cancellation.
6884 * math/s_cacoshf.c: Likewise.
6885 * math/s_cacoshl.c: Likewise.
6886
b27e24b8
RK
68872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6888
6889 [BZ #13305]
aebefeee 6890 [BZ #12786]
b27e24b8
RK
6891 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6892 * math/s_cacoshf.c: Likewise.
6893 * math/s_cacoshl.c: Likewise.
6894
ee190f67
UD
68952011-12-21 Ulrich Drepper <drepper@gmail.com>
6896
6897 [BZ #13439]
6898 * iconv/gconv.h: Define __GCONV_SWAP.
6899 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6900 * iconvdata/utf-16.c: Likewise.
6901 * iconvdata/utf-32.c: Likewise.
6902
707f25df
AS
69032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6904
6905 [BZ #13524]
6906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6907 numerator after shifting it by one limb.
6908
d2daaa1e
RÁE
69092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6910
6911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6912 under [__USE_EXTERN_INLINES].
6913
a4647e72
UD
69142011-12-17 Ulrich Drepper <drepper@gmail.com>
6915
6916 [BZ #13446]
6917 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6918
f0b264f1
AZ
69192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6920
6921 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6922 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6923 optimized code.
6924 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6925 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6926 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6927 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6928 for strncasecmp/strncasecmp_l compilation.
6929 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6930 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6931
8ef4f244
MP
69322011-12-08 Marek Polacek <mpolacek@redhat.com>
6933
6934 [BZ #13484]
6935 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6936 of __asm__.
6937
97ac2654
UD
69382011-12-17 Ulrich Drepper <drepper@gmail.com>
6939
6940 [BZ #13506]
6941 * time/tzfile.c (__tzfile_read): Check values from file header.
6942
91d2a845
WS
69432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6944
6945 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6946 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6947 * powerpc/powerpc32/dl-start.S: Likewise.
6948 * powerpc/powerpc32/elf/start.S: Likewise.
6949 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6950 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6951 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6952 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6953 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6954 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6955 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6956 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6957 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6958 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6959 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6960 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6961 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6962 * powerpc/powerpc32/memset.S: Likewise.
6963 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6964 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6965 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6966 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6967 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6968 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6969 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6970 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6971 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6972 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6973 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6974 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6975 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6976
a1267ba1
AZ
69772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6978
6979 * math/libm-test.inc: Added more nearbyint tests.
6980 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6982 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6984
ad8ac1bd
RL
69852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6986
6987 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6988 FD_CLOEXEC.
6989
1d3e4b61
UD
69902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6991
6992 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6993 Add wcscpy-ssse3 wcscpy-c.
6994 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6995 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6996 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6997 * sysdeps/x86_64/wcschr.S: New file.
6998 * sysdeps/x86_64/wcsrchr.S: New file.
6999 * string/test-strcmp.c: Remove checking of wcscmp function for
7000 wrong alignments.
7001 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7002 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7003 wcsrchr-sse2 wcsrchr-c.
7004 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7005 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7006 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7007 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7008 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7009 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7010 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7011 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7012 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7013 * wcsmbc/wcschr.c (WCSCHR): New macro.
7014
5b330a2d
UD
70152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7016
7017 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7018 * wcsmbs/test-wcsrchr.c: New file.
7019 * string/test-strrchr.c: Add wcsrchr support.
7020 (WIDE): New macro.
7021 * wcsmbs/test-wcscpy.c: New file.
7022 * string/test-strcpy.c: Add wcscpy support.
7023 (WIDE): New macro.
26428b7c 7024
f039c043
UD
70252011-12-10 Ulrich Drepper <drepper@gmail.com>
7026
7027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7028 the inner loop.
7029
850fb039
AS
70302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7031
7032 [BZ #13472]
7033 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7034
4efbd5cb
UD
70352011-12-04 Ulrich Drepper <drepper@gmail.com>
7036
52ff5dd0 7037 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7038 Minor optimizations.
52ff5dd0 7039
4efbd5cb
UD
7040 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7041 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7042 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7043
8a426e12
UD
70442011-12-03 Ulrich Drepper <drepper@gmail.com>
7045
aff2453d
UD
7046 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7047 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7048 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7049 for gcc to avoid warnings.
7050 * inet/Makefile (tests): Add tst-checks.
7051 * inet/tst-checks.c: New file.
7052
7053 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7054 warning.
7055
7056 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7057 __wmemcmp_sse2.
7058
7059 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7060 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7061
8a426e12
UD
7062 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7063
9bea3473
UD
70642011-12-02 Ulrich Drepper <drepper@gmail.com>
7065
3a965496
UD
7066 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7067 problem.
7068
9bea3473
UD
7069 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7070
f101631b
UD
70712011-11-29 Joseph Myers <joseph@codesourcery.com>
7072
7073 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7074 conditional on GCC version.
7075 (__arch_compare_and_exchange_val_8_acq)
7076 (__arch_compare_and_exchange_val_16_acq)
7077 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7078 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7079 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7080
a98275aa
UD
70812011-12-02 Joseph Myers <joseph@codesourcery.com>
7082
7083 * sysdeps/sh/backtrace.c: New file.
7084
d4cc29a2
AS
70852011-12-02 Andreas Schwab <schwab@redhat.com>
7086
7087 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7088 parenthesis.
7089
6257af2d
AS
70902011-12-01 Andreas Schwab <schwab@redhat.com>
7091
7092 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7093 falling back to utime.
7094
b5f44c1a
AS
70952011-11-30 Andreas Schwab <schwab@redhat.com>
7096
7097 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7098 expectations for float.
7099
f3a6cc0a
AS
71002011-11-29 Andreas Schwab <schwab@redhat.com>
7101
7102 * locale/weight.h (findidx): Add parameter len.
7103 * locale/weightwc.h (findidx): Likewise.
7104 * posix/fnmatch_loop.c (FCT): Adjust caller.
7105 * posix/regcomp.c (build_equiv_class): Likewise.
7106 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7107 * posix/regexec.c (check_node_accept_bytes): Likewise.
7108 * string/strcoll_l.c (STRCOLL): Likewise.
7109 * string/strxfrm_l.c (STRXFRM): Likewise.
7110
9d65ea3a
UD
71112011-11-17 Ulrich Drepper <drepper@gmail.com>
7112
7113 * Makefile.in: Remove CVSOPT handling.
7114 * configure.in: Remove use of AC_REVISION.
7115 * iconvdata/Makefile (distribute): No need to filter out CVS.
7116 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7117 handling.
7118
5583a086
AS
71192011-11-16 Andreas Schwab <schwab@redhat.com>
7120
7121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7122 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7123 [USE_AS_STRNCASECMP_L]: Likewise.
7124 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7125 NO_TLS_DIRECT_SEG_REFS.
7126 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7127 Fix argument offsets for non-PIC.
7128 [USE_AS_STRNCASECMP_L]: Likewise.
7129 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7130 NO_TLS_DIRECT_SEG_REFS.
7131
d62a8200
UD
71322011-11-15 Ulrich Drepper <drepper@gmail.com>
7133
9d65ea3a 7134 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7135 O_CLOEXEC.
7136 * locale/loadlocale.c (_nl_load_locale): Likewise.
7137
09f93bd3
AS
71382011-11-15 Andreas Schwab <schwab@redhat.com>
7139
446514f9
AS
7140 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7141 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7142 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7143 (SYSCALL_GETTIME): Set errno on error.
7144
09f93bd3
AS
7145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7146 count references to noai6ai_cached.
7147
312be3f9
UD
71482011-11-15 Ulrich Drepper <drepper@gmail.com>
7149
7150 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7151
7152 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7153 FD_CLOEXEC for /proc/self/maps.
7154
7155 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7156 FD_CLOEXEC for /proc/meminfo.
7157
7158 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7159 gai.conf.
7160
7161 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7162 FD_CLOEXEC for given file.
7163
7164 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7165
7166 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7167 FD_CLOEXEC for /etc/hosts.
7168 (_gethtent): Likewise.
7169
7170 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7171
7172 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7173 cancellation and set FD_CLOEXEC for /etc/netgroup.
7174
7175 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7176 reading /etc/publickey.
7177
7178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7179 allow cancellation when reading /etc/group.
7180
7181 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7182 cancellation.
7183 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7184
7185 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7186 when using data file.
7187
7188 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7189
7190 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7191 (write_nis_obj): Use "c" and "e" in fopen.
7192
7193 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7194
7195 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7196
7197 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7198
7199 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7200
7201 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7202 locale.alias.
7203
7204 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7205
7206 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7207
7208 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7209
7210 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7211 file parsing and set FD_CLOEXEC.
7212
82af0fa8
UD
72132011-11-14 Ulrich Drepper <drepper@gmail.com>
7214
7215 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7216
a5fb313c
AS
72172011-11-14 Andreas Schwab <schwab@redhat.com>
7218
7219 * malloc/arena.c (arena_get2): Don't call reused_arena when
7220 _int_new_arena failed.
7221
6abf3465
UD
72222011-11-14 Ulrich Drepper <drepper@gmail.com>
7223
7224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7225 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7226 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7227 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7229 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7230 to compile strcasecmp and strncasecmp.
7231 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7232 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7233
7234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7235
76e3966e
UD
72362011-11-13 Ulrich Drepper <drepper@gmail.com>
7237
7238 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7239 locale-defines.sym to gen-as-const-headers.
7240 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7241 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7243 to compile strcasecmp and strncasecmp.
7244 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7245 strcasecmp_l and strncasecmp_l.
7246 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7247 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7248 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7249 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7250 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7251 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7252 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7253 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7254 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7255 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7256 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7257
ab26144e
UD
72582011-11-12 Ulrich Drepper <drepper@gmail.com>
7259
7edb22ef
UD
7260 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7261 result of SYSDEP_GETTIME_CPU to retval.
7262 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7263 parameter list to macro. Remove trailing semicolon. Adjust users.
7264
9694fc44
UD
7265 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7266 variable.
7267
8ad89ef8
UD
7268 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7269 mantissa words.
7270 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7271
0c822ef9
UD
7272 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7273 from unused variable.
7274
874e0564
UD
7275 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7276 DWARF definitions.
7277 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7278 for assembling.
7279
3a2edc79
UD
7280 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7281 over namespaces.
7282
f3c2577f
UD
7283 * sunrpc/rpc_prot.c (rejected): Fix case value.
7284
294ce126
UD
7285 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7286 unsigned long long int to avoid warnings in shift.
7287
5e2b63c6
UD
7288 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7289 of use of trans.
7290 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7291 variable tmp.
7292
e7f4b08e
UD
7293 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7294 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7295 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7296
ab26144e
UD
7297 * nis/nis_table.c (nis_list): Use variable of correct type for
7298 result of __follow_path call.
7299
8a6d5255
AZ
73002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7301
7302 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7303 of math functions ceil, trunc, floor, round, and sqrt, when
7304 avaliable on the platform.
7305 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7306 name clash.
7307 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7308 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7309 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7310
aaddc98c
MP
73112011-10-30 Marek Polacek <mpolacek@redhat.com>
7312
7313 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7314 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7315
95b7042b
RM
73162011-11-11 Roland McGrath <roland@hack.frob.com>
7317
7318 * include/unistd.h: Fix __readlink return type.
7319 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7320
57769839
UD
73212011-11-11 Ulrich Drepper <drepper@gmail.com>
7322
7323 * stdlib/ucontext.h: Undo last change for makecontext.
7324
edc5984d
AS
73252011-11-11 Andreas Schwab <schwab@redhat.com>
7326
98591e58
AS
7327 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7328
edc5984d
AS
7329 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7330 * setjmp/setjmp.h: Mark functions as non-leaf.
7331 * setjmp/bits/setjmp2.h: Likewise.
7332 * stdlib/ucontext.h: Likewise.
7333
77cdc054
AS
73342011-11-10 Andreas Schwab <schwab@redhat.com>
7335
7336 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7337 (reused_arena): Don't check arena limit.
7338 (arena_get2): Atomically check arena limit.
7339
fe72eebd
UD
73402011-11-08 Ulrich Drepper <drepper@gmail.com>
7341
5f078c32
UD
7342 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7343 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7344
fe72eebd
UD
7345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7346 instructions.
7347
ae1bc2fa
AS
73482011-11-07 Andreas Schwab <schwab@redhat.com>
7349
7583a88d
AS
7350 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7351 handler when locking.
7352
ae1bc2fa
AS
7353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7354 Fix size of allocated buffer.
7355
10fb0bfa
AS
73562011-11-04 Andreas Schwab <schwab@redhat.com>
7357
998832a4
AS
7358 [BZ #10103]
7359 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7360 declarations for long double functions.
7361 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7362
10fb0bfa
AS
7363 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7364
3d7ba52b
AS
73652011-11-03 Andreas Schwab <schwab@redhat.com>
7366
a9ae54a1
AS
7367 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7368 installed.
7369
3d7ba52b
AS
7370 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7371 is disabled.
7372
bc8db248
ST
73732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7374
7375 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7376
45b96dd6
AS
73772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7378
647776f6
AS
7379 * include/alloca.h (stackinfo_alloca_round): Define.
7380 (extend_alloca): Use it.
7381 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7382 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7383 here.
7384
d91a8b93
AS
7385 * scripts/check-local-headers.sh: Ignore libaudit.h.
7386
45b96dd6
AS
7387 * nscd/Makefile (extra-objs): Make recursively expanded.
7388
432d41ce
UD
73892011-11-01 Ulrich Drepper <drepper@gmail.com>
7390
34372fc6
UD
7391 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7392 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7393
fadb59f8
UD
7394 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7395 * posix/tst-rfc3484-2.c: Likewise.
7396 * posix/tst-rfc3484-3.c: Likewise.
7397
78239589
UD
7398 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7399 process_vm_writev.
7400 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7401 process_vm_writev.
7402 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7403 process_vm_writev from libc using GLIBC_2.15 version.
7404
432d41ce
UD
7405 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7406
02f9c6cf
PP
74072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7408
7409 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7410 stack usage.
7411
3a2c0242
UD
74122011-10-31 Ulrich Drepper <drepper@gmail.com>
7413
f4ec4833
UD
7414 [BZ #13367]
7415 * nss/getent.c (initgroups_keys): Show error message in case no group
7416 names are given.
7417
3a2c0242
UD
7418 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7419 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7420 __bump_nl_timestamp.
7421 * nscd/connections (nscd_init): When host database is served open
7422 netlink socket and request notification about configuration changes.
7423 (main_loop_poll): Track netlink file descriptor and bump timestamp
7424 in case data becomes available.
7425 (main_loop_epoll): Likewise.
7426 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7427 (database_pers_head): Add extra_data fileds.
7428 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7429 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7430 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7431 Adjust caller.
7432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7433 in6ai data, call __free_in6ai.
7434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7435 Add -DHAVE_NETLINK.
7436 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7437 interface information. Reuse previous data if netlink timestamp
7438 is not changed.
7439 (__bump_nl_timestamp): New function.
7440 (__free_in6ai): New function.
7441
636064eb
UD
74422011-10-30 Ulrich Drepper <drepper@gmail.com>
7443
7444 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7445 close_not_cancel_no_status here.
7446 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7447
9beb2334
UD
74482011-10-29 Ulrich Drepper <drepper@gmail.com>
7449
6ef76f3b
UD
7450 [BZ #13276]
7451 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7452 return value.
7453
0ffc4f3e 7454 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7455 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7456 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7457
cb95113e
UD
74582011-07-03 Andreas Jaeger <aj@suse.de>
7459
7460 [BZ #10709]
7461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7462 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7463 * math/libm-test.inc (sin_test): Add test case.
7464
a1b560ff
UD
74652011-10-29 Ulrich Drepper <drepper@gmail.com>
7466
c9aaface
UD
7467 [BZ #13337]
7468 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7469 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7470
d272e7f1
UD
7471 * elf/chroot_canon.c (chroot_canon): Cleanups.
7472
1bc33071
UD
7473 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7474
1760874d
TJ
7475 [BZ #13335]
7476 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7477 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7478
51d91b18
UD
7479 * string/test-strchr.c: Make usable for strchrnul testing.
7480 * string/test-strchrnul.c: New file.
7481 * string/Makefile (strop-tests): Add strchrnul.
7482
a1b560ff 7483 * po/it.po: Update from translation team.
b611fb81 7484 * po/es.po: Likewise.
a1b560ff 7485
a5b81e1f
UD
74862011-10-28 Ulrich Drepper <drepper@gmail.com>
7487
fd52bc6d
UD
7488 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7489 the three constants needed as parameters. Drop the others.
7490 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7491 __m128i_strloadu_tolower.
52e4b9eb
UD
7492 Create and initialize variable zero and use it in all the places
7493 where _mm_setzero_si128 was used.
fd52bc6d 7494
a5b81e1f
UD
7495 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7496 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7497 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7498 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7499 anymore.
7500 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7501 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7502 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7503 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7504 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7505 __mpranred, __mptan.
7506 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7507 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7508 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7509 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7510 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7511 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7513 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7514 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7515
b4343346
AS
75162011-10-28 Andreas Schwab <schwab@redhat.com>
7517
0c92d8a8
AS
7518 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7519 redefine if SHARED.
7520 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7521
b4343346
AS
7522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7523 wide char related routines to wcsmbs subdir.
7524
3871f58f
AS
75252011-10-27 Andreas Schwab <schwab@redhat.com>
7526
7527 [BZ #13344]
7528 * misc/sys/cdefs.h (__THROWNL): Define.
7529 * posix/unistd.h: Use __THREADNL instead of __THREAD
7530 for memory synchronization functions.
7531
94d44d9f
RM
75322011-10-26 Roland McGrath <roland@hack.frob.com>
7533
21b64b15 7534 [BZ #13349]
94d44d9f
RM
7535 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7536 doesn't exist.
7537 * manual/stdio.texi (Obstack Streams): Node removed.
7538
f6ce9294
AS
75392011-10-26 Andreas Schwab <schwab@redhat.com>
7540
80479147
AS
7541 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7543 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7544
f6ce9294
AS
7545 * math/math_private.h (math_force_eval): Allow non-addressable
7546 arguments.
7547 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7548
618280a1
UD
75492011-10-25 Ulrich Drepper <drepper@gmail.com>
7550
e0016b11
UD
7551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7552 file is not needed.
7553
7554 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7556 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7557 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7561 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7562 Add AVX variants.
7563 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7564 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7565 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7566 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7567 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7568 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7569 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7570 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7571 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7572 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7573 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7574 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7576 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7577 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7578 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7579 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7580 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7581 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7582
7583 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7584 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7585
618280a1
UD
7586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7587 place. Use VEX encoding when compiling for AVX.
7588
37822576
AS
75892011-10-25 Andreas Schwab <schwab@redhat.com>
7590
1f1e1947
AS
7591 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7592 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7593
37822576
AS
7594 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7595
31ea014d
UD
75962011-10-25 Ulrich Drepper <drepper@gmail.com>
7597
d7826aa1 7598 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7599 useless if() expression.
d7826aa1
UD
7600 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7610 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7611 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7612 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7613 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7614 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7619
31ea014d
UD
7620 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7621
16437fec
AS
76222011-10-25 Andreas Schwab <schwab@redhat.com>
7623
7624 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7625 condition.
7626 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7627
31d3cc00
UD
76282011-10-25 Ulrich Drepper <drepper@gmail.com>
7629
7630 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7631 .text section. Avoid duplicate constants.
7632 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7634 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7640 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7642 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7643 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7644 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7645 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7646 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7647 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7649 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7655 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7656 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7657 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7658 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7659 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7660 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7661 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7662 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7663 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7664 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7665 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7666 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7667 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7668 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7669 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7670 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7671 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7672 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7673 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7677
58985aa9
UD
76782011-10-24 Ulrich Drepper <drepper@gmail.com>
7679
202c9deb
UD
7680 * sysdeps/x86_64/dla.h: Move to ...
7681 * sysdeps/x86_64/fpu/dla.h: ...here.
7682 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7683 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7684
af968f62
UD
7685 * config.make.in: Add have-mfma4 entry.
7686 * configure.in: Substitute libc_cv_cc_fma4.
7687 * math/Makefile (dbl-only-routines): Add sincostab.
7688 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7689 Use __sincostab not sincos.
7690 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7691 name is a macro.
7692 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7696 using __copysign.
7697 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7698 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7699 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7700 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7701 and __inv.
7702 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7703 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7704 __copysign.
7705 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7706 define aliases when function name is a macro.
7707 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7708 sysdeps/ieee754/dbl-64/sincos.tbl.
7709 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7710 fma4-enabled routines.
7711 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7712 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7713 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7714 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7716 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7719 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7720 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7721 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7722 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7723 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7724 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7725 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7726 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7727 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7728 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7729 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7731 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7732 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7734 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7735 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7736 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7738 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7739 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7740 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7741
58985aa9
UD
7742 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7743 rename.
7744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7752
a201fbcf
AS
77532011-10-24 Andreas Schwab <schwab@redhat.com>
7754
7755 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7756
fc2ee42a
LD
77572011-10-23 Ulrich Drepper <drepper@gmail.com>
7758
bb3129bd
UD
7759 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7760
0275fff8
UD
7761 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7762 prediction.
7763 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7764
2fa2ae85
UD
7765 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7766 Remove unused variable magic_bits.
7767 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7768
fc2ee42a
LD
7769 * string/strnlen.c: Define and use STRNLEN macro.
7770 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7771 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7772 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7773 * wcsmbs/wcslen.c: Define and use WCSLEN.
7774 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7775 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7776 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7777 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7778 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7779 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7780 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7781
ce7dd29f
LD
77822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7783
7784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7785 strnlen-sse2-no-bsf.
7786 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7787 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7788 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7789 Add strnlen support.
7790 (USE_AS_STRNLEN): New macro.
7791 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7792 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7793 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7794 * sysdeps/x86_64/wcslen.S: New file.
7795
979c70a3
MZ
77962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7797
7798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7799 XMM-moves are used for copying on small sizes.
7800
2d09f82f
LD
78012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7802
7803 * wcsmbs/Makefile (strop-tests): Add wcschr.
7804 * wcsmbs/test-wcschr.c: New file.
7805 * string/test-strchr.c: Update.
7806 Add wcschr support.
7807 (WIDE): New macro.
7808
619fccca
LD
78092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7810
2d09f82f 7811 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7812 * wcsmbs/test-wcslen.c: New file.
7813 * string/test-strlen.c: Update.
7814 Add wcslen support.
7815 (WIDE): New macro.
7816
09f699ea
UD
78172011-10-23 Ulrich Drepper <drepper@gmail.com>
7818
7819 * po/it.po: Update from translation team.
7820
95584d3b
LD
78212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7822
7823 * sysdeps/x86_64/wcscmp.S: Update.
7824 Fix wrong comparison semantics.
7825 wcscmp shall use signed comparison not unsigned.
7826 Don't use substraction to avoid overflow bug.
7827 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7828 * wcsmbc/wcscmp.c: Likewise.
7829 * string/test-strcmp.c: Likewise.
7830 Add new tests to check cases with negative values.
7831
c8b3296b
UD
78322011-10-23 Ulrich Drepper <drepper@gmail.com>
7833
7834 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7835 * sysdeps/x86_64/dla.h: ...here. New file.
7836 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7845
246ad57a
AS
78462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7849 __ynl_finite aliases.
7850
a1a87169
UD
78512011-10-22 Ulrich Drepper <drepper@gmail.com>
7852
0d355eb7
UD
7853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7854
a1a87169
UD
7855 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7856 define DLA_FMA.
7857 [DLA_FMA] (EMULV): Use DLA_FMA.
7858 [DLA_FMA] (MUL12): Use EMULV.
7859 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7860 that are not needed.
7861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7868
ee2aafe0
AS
78692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7870
7871 * math/s_nan.c: Undef __nan.
7872 * math/s_nanf.c: Undef __nanf.
7873 * math/s_nanl.c: Undef __nanl.
7874 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7875 "math_private.h".
7876
bc62c2fb
UD
78772011-10-22 Ulrich Drepper <drepper@gmail.com>
7878
77425c63
UD
7879 * math/s_catan.c: Add branch predictions.
7880 * math/s_catanf.c: Likewise.
7881 * math/s_catanh.c: Likewise.
7882 * math/s_catanhf.c: Likewise.
7883 * math/s_catanhl.c: Likewise.
7884 * math/s_catanl.c: Likewise.
7885 * math/s_cexp.c: Likewise.
7886 * math/s_cexpf.c: Likewise.
7887 * math/s_cexpl.c: Likewise.
7888 * math/s_clog.c: Likewise.
7889 * math/s_clog10.c: Likewise.
7890 * math/s_clog10f.c: Likewise.
7891 * math/s_clog10l.c: Likewise.
7892 * math/s_clogf.c: Likewise.
7893 * math/s_clogl.c: Likewise.
7894 * math/s_csqrt.c: Likewise.
7895 * math/s_csqrtf.c: Likewise.
7896 * math/s_csqrtl.c: Likewise.
7897 * math/s_ctanf.c: Likewise.
7898 * math/s_ctanh.c: Likewise.
7899 * math/s_ctanhf.c: Likewise.
7900 * math/s_ctanhl.c: Likewise.
7901 * math/s_ctanl.c: Likewise.
7902
bc62c2fb
UD
7903 * math/math_private.h: Define __nan, __nanf, __nanl.
7904 * math/s_cacosh.c: Include <math_private.h>.
7905 * math/s_cacoshl.c: Likewise.
7906 * math/s_casinh.c: Likewise.
7907 * math/s_casinhf.c: Likewise.
7908 * math/s_casinhl.c: Likewise.
7909 * math/s_ccos.c: Rely entire on ccosh.
7910 * math/s_ccosf.c: Rely entire on ccoshf.
7911 * math/s_ccosl.c: Rely entirely on ccoshl.
7912 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7913 Remove tests for FE_INVALID.
7914 * math/s_ccoshf.c: Likewise.
7915 * math/s_ccoshl.c: Likewise.
7916 * math/s_csin.c: Likewise.
7917 * math/s_csinf.c: Likewise.
7918 * math/s_csinh.c Likewise.
7919 * math/s_csinhf.c: Likewise.
7920 * math/s_csinhl.c: Likewise.
7921 * math/s_csinl.c: Likewise.
7922 * math/s_ctan.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7924 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7925 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7926
8ec250a4
UD
79272011-10-21 Ulrich Drepper <drepper@gmail.com>
7928
c196fed8
UD
7929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7930 compilation problems.
7931
8ec250a4
UD
7932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7933 __builtin_expect.
7934
8d4f46c6
UD
79352011-10-20 Ulrich Drepper <drepper@gmail.com>
7936
ed72b654
UD
7937 * sysdeps/i386/configure.in: Test for -mfma4 option.
7938 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7939 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7940 COMMON_CPUID_INDEX_80000001.
7941 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7942 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7943 use it if FMA3 is not supported.
7944 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7945
8d4f46c6
UD
7946 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7947 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7948
d45c60c2
AS
79492011-10-20 Andreas Schwab <schwab@redhat.com>
7950
7951 [BZ #12892]
7952 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7953 it would create a cycle with a link time dependency.
7954
d9a4d2ab
UD
79552011-10-19 Ulrich Drepper <drepper@gmail.com>
7956
855d1560
UD
7957 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7958 instruction.
7959 * string/Makefile (strop-tests): Add rawmemchr.
7960 * string/test-rawmemchr.c: New file.
7961
d9a4d2ab
UD
7962 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7964 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7965 when compiling str{,n}casecmp and when AVX is available. Hook up
7966 new optimized code in initializers.
7967
8f3b1ffe
AS
79682011-10-19 Andreas Schwab <schwab@redhat.com>
7969
7970 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7971 __feraiseexcept instead of feraiseexcept.
7972
d38f1dba
UD
79732011-10-18 Ulrich Drepper <drepper@gmail.com>
7974
d9a8d0ab
UD
7975 * math/math_private.h: Define defaults for libc_fetestexcept and
7976 libc_feupdateenv.
7977 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7978 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7979 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7980 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7981 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7982 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7983 libc_fetestexcept and libc_feupdateenv.
7984
4855e3dd
UD
7985 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7986 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7987 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7988 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7989 libc_feholdexcept_setround.
7990
581d30e3
UD
7991 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7992 Add s_nearbyint-c and s_nearbyintf-c.
7993 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7994 nearbyintf inlines.
7995 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7997 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7999
d38f1dba
UD
8000 * math/math_private.h: Define defaults for libc_fegetround,
8001 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8002 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8003 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8004 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8005 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8006 standard functions.
8007 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8008 Remove comments and hacks for old compiler versions.
8009 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8010 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8011 libc_feholdexceptl.
8012
caa6c9d8
AS
80132011-10-18 Andreas Schwab <schwab@redhat.com>
8014
8015 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8016 (__feraiseexcept_renamed): Add __NTH.
8017 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8018 namespace violations.
8019
97c066e6
UD
80202011-10-17 Ulrich Drepper <drepper@gmail.com>
8021
99ce7b04
UD
8022 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8023
1004d182
UD
8024 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8025
228a984d
UD
8026 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8027 recently added interfaces.
8028 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8029
c8553a6a
UD
8030 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8031 about macro parameter expansion.
8032
ed22dcf6
UD
8033 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8034 __NO_MATH_INLINES is defined. Cleanups.
8035
8036 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8037 and __floorf is target has SSE4.1.
8038 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8039 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8040 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8041 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8042
b171c137
UD
8043 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8044 name.
8045 (floorf): Likewise.
8046
97c066e6
UD
8047 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8048
629f62ef
AS
80492011-10-17 Andreas Schwab <schwab@redhat.com>
8050
49a43d80
AS
8051 * misc/sys/cdefs.h: Fix last change.
8052
629f62ef
AS
8053 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8054 database lookup.
8055
e453f6cd
UD
80562011-10-16 Ulrich Drepper <drepper@gmail.com>
8057
aa78043a
UD
8058 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8059
ad0f5cad
UD
8060 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8061 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8066 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8067 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8068 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8069 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8070 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8071 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8072 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8073 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8074 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8075 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8076 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8077 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8078 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8079 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8080 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8081 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8082
8083 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8084 ceil, ceilf, floor, floorf.
8085
8086 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8087 Perform IRELATIVE relocations last.
8088
e453f6cd
UD
8089 * elf/do-rel.h: Add another parameter nrelative, replacing the
8090 local variable with the same name. Change name of the function
8091 to end in Rel or Rela (uppercase).
8092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8093 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8094 elf_dynamic_do_##reloc function.
8095
fd5bdc09
UD
80962011-10-15 Ulrich Drepper <drepper@gmail.com>
8097
79b195b5
UD
8098 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8099 is sufficient, at least on modern CPUs.
8100
d4a28569
UD
8101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8102
b61099b5
UD
8103 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8105
bcf01e6d
UD
8106 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8107 __expl_finite.
8108 * math/bits/math-finite.h: Add entries for exp.
8109 * math/e_expl.c: Add __*_finite alias.
8110 * sysdeps/i386/fpu/e_exp.S: Likewise.
8111 * sysdeps/i386/fpu/e_expf.S: Likewise.
8112 * sysdeps/i386/fpu/e_expl.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8114 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8118 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8119 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8120
ba1a0d59
UD
8121 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8122 is sufficient, at least on modern CPUs.
8123
fd5bdc09
UD
8124 * ctype/ctype-info.c (__ctype_init): Define.
8125 * include/ctype.h (__ctype_init): Declare.
8126 (__ctype_b_loc): The variable is always initialized.
8127 (__ctype_toupper_loc): Likewise.
8128 (__ctype_tolower_loc): Likewise.
8129 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8130 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8131
7872cfb0
AS
81322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8133
b468825a
AS
8134 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8135
7872cfb0
AS
8136 * configure.in: Also look in $cxxmachine/include for C++ system
8137 headers.
8138
be13f7bf
LD
81392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8140
8141 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8142 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8143 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8144 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8145 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8146 (USE_AS_WMEMCMP): New macro.
8147 Fixing indents.
8148 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8149 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8150 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8151 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8153 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8154 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8155 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8156 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8157 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8158 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8159 (USE_AS_WMEMCMP): New macro.
8160 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8161 * sysdeps/string/test-memcmp.c: Update.
8162 Fix simple_wmemcmp.
8163 Add new tests.
8164 * wcsmbs/wmemcmp.c: Update.
8165 (WMEMCMP): New macro.
8166 Fix overflow bug.
8167
556a2007
AJ
81682011-10-12 Andreas Jaeger <aj@suse.de>
8169
8170 [BZ #13268]
8171 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8172
538faaa7
UD
81732011-10-15 Ulrich Drepper <drepper@gmail.com>
8174
ab6737ff
UD
8175 * libio/iofwide.c (do_length): Avoid warning.
8176
538faaa7
UD
8177 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8178
396a21b1
UD
81792011-10-14 Ulrich Drepper <drepper@gmail.com>
8180
cdf2901f
UD
8181 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8182
38ad40ce
UD
8183 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8184 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8185 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8186 * sysdeps/i386/i686/fpu/e_log.S: New file.
8187 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8188 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8189
396a21b1
UD
8190 * ctype/ctype.h: Add support for inlined isXXX functions when
8191 compiling C++ code.
8192
6b1f68c9
AS
81932011-10-14 Andreas Schwab <schwab@redhat.com>
8194
349290c0
AS
8195 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8196
6b1f68c9
AS
8197 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8198
f2282d42
RM
81992011-10-13 Roland McGrath <roland@hack.frob.com>
8200
8201 [BZ #13291]
8202 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8203
5298ffa8
AS
82042011-10-13 Andreas Schwab <schwab@redhat.com>
8205
714fad23
AS
8206 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8207 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8208 feraiseexcept.
8209
81dcc7fb
AS
8210 * sysdeps/x86_64/memrchr.S: Check for zero size.
8211
5298ffa8
AS
8212 * string/stratcliff.c: Add memrchr tests.
8213
951fbcec
LD
82142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8215
8216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8217 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8218 rawmemchr-sse2 rawmemchr-sse2-bsf.
8219 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8220 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8221 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8222 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8223 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8224 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8225 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8226 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8227 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8229 * string/memrchr.c (MEMRCHR): New macro.
8230
0ac5ae23
UD
82312011-10-12 Ulrich Drepper <drepper@gmail.com>
8232
8233 Add integration with gcc's -ffinite-math-only and optimize wrapper
8234 functions in libm.
8235 * Versions.def: Define GLIBC_2.15 version for libm.
8236 * math/Makefile (headers): Add bits/math-finite.h.
8237 * math/bits/math-finite.h: New file.
8238 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8239 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8240 * math/e_acoshl.c: Add __*_finite alias.
8241 * math/e_acosl.c: Likewise.
8242 * math/e_asinl.c: Likewise.
8243 * math/e_atan2l.c: Likewise.
8244 * math/e_atanhl.c: Likewise.
8245 * math/e_coshl.c: Likewise.
8246 * math/e_exp10.c: Likewise.
8247 * math/e_exp10f.c: Likewise.
8248 * math/e_exp10l.c: Likewise.
8249 * math/e_exp2l.c: Likewise.
8250 * math/e_fmodl.c: Likewise.
8251 * math/e_gammal_r.c: Likewise.
8252 * math/e_hypotl.c: Likewise.
8253 * math/e_j0l.c: Likewise.
8254 * math/e_j1l.c: Likewise.
8255 * math/e_jnl.c: Likewise.
8256 * math/e_lgammal_r.c: Likewise.
8257 * math/e_log10l.c: Likewise.
8258 * math/e_log2l.c: Likewise.
8259 * math/e_logl.c: Likewise.
8260 * math/e_powl.c: Likewise.
8261 * math/e_sinhl.c: Likewise.
8262 * math/e_sqrtl.c: Likewise.
8263 * math/e_scalb.c: Completely rewritten and optimized.
8264 * math/e_scalbf.c: Likewise.
8265 * math/e_scalbl.c: Likewise.
8266 * math/w_acos.c: Likewise.
8267 * math/w_acosf.c: Likewise.
8268 * math/w_acosl.c: Likewise.
8269 * math/w_acosh.c: Likewise.
8270 * math/w_acoshf.c: Likewise.
8271 * math/w_acoshl.c: Likewise.
8272 * math/w_asin.c: Likewise.
8273 * math/w_asinf.c: Likewise.
8274 * math/w_asinl.c: Likewise.
8275 * math/w_atan2.c: Likewise.
8276 * math/w_atan2f.c: Likewise.
8277 * math/w_atan2l.c: Likewise.
8278 * math/w_atanh.c: Likewise.
8279 * math/w_atanhf.c: Likewise.
8280 * math/w_atanhl.c: Likewise.
8281 * math/w_exp10.c: Likewise.
8282 * math/w_exp10f.c: Likewise.
8283 * math/w_exp10l.c: Likewise.
8284 * math/w_fmod.c: Likewise.
8285 * math/w_fmodf.c: Likewise.
8286 * math/w_fmodl.c: Likewise.
8287 * math/w_j0.c: Likewise.
8288 * math/w_j0f.c: Likewise.
8289 * math/w_j0l.c: Likewise.
8290 * math/w_j1.c: Likewise.
8291 * math/w_j1f.c: Likewise.
8292 * math/w_j1l.c: Likewise.
8293 * math/w_jn.c: Likewise.
8294 * math/w_jnf.c: Likewise.
8295 * math/w_log.c: Likewise.
8296 * math/w_logf.c: Likewise.
8297 * math/w_logl.c: Likewise.
8298 * math/w_log10.c: Likewise.
8299 * math/w_log10f.c: Likewise.
8300 * math/w_log10l.c: Likewise.
8301 * math/w_log2.c: Likewise.
8302 * math/w_log2f.c: Likewise.
8303 * math/w_log2l.c: Likewise.
8304 * math/w_pow.c: Likewise.
8305 * math/w_powf.c: Likewise.
8306 * math/w_powl.c: Likewise.
8307 * math/w_remainder.c: Likewise.
8308 * math/w_remainderf.c: Likewise.
8309 * math/w_remainderl.c: Likewise.
8310 * math/w_scalb.c: Likewise.
8311 * math/w_scalbf.c: Likewise.
8312 * math/w_scalbl.c: Likewise.
8313 * math/w_sqrt.c: Likewise.
8314 * math/w_sqrtf.c: Likewise.
8315 * math/w_sqrtl.c: Likewise.
8316 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8317 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8318 used.
8319 * math/math_private.h: Declare __kernel_standard_f.
8320 * math/w_cosh.c: Remove cruft and optimize a bit.
8321 * math/w_coshf.c: Likewise.
8322 * math/w_coshl.c: Likewise.
8323 * math/w_exp2.c: Likewise.
8324 * math/w_exp2f.c: Likewise.
8325 * math/w_exp2l.c: Likewise.
8326 * math/w_hypot.c: Likewise.
8327 * math/w_hypotf.c: Likewise.
8328 * math/w_hypotl.c: Likewise.
8329 * math/w_lgamma.c: Likewise.
8330 * math/w_lgamma_r.c: Likewise.
8331 * math/w_lgammaf.c: Likewise.
8332 * math/w_lgammaf_r.c: Likewise.
8333 * math/w_lgammal.c: Likewise.
8334 * math/w_lgammal_r.c: Likewise.
8335 * math/w_sinh.c: Likewise.
8336 * math/w_sinhf.c: Likewise.
8337 * math/w_sinhl.c: Likewise.
8338 * math/w_tgamma.c: Likewise.
8339 * math/w_tgammaf.c: Likewise.
8340 * math/w_tgammal.c: Likewise.
8341 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8342 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8343 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8344 Minor optimizations. Pretty printing. Remove cruft.
8345 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8346 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8347 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8348 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8349 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8350 * sysdeps/i386/fpu/e_asin.S: Likewise.
8351 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8352 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8353 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8354 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8355 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8356 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8357 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8358 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8359 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8360 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8361 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8362 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8363 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8364 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8365 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8366 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8367 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8368 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8369 * sysdeps/i386/fpu/e_log.S: Likewise.
8370 * sysdeps/i386/fpu/e_log10.S: Likewise.
8371 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8372 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8373 * sysdeps/i386/fpu/e_log2.S: Likewise.
8374 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8375 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8376 * sysdeps/i386/fpu/e_logf.S: Likewise.
8377 * sysdeps/i386/fpu/e_logl.S: Likewise.
8378 * sysdeps/i386/fpu/e_pow.S: Likewise.
8379 * sysdeps/i386/fpu/e_powf.S: Likewise.
8380 * sysdeps/i386/fpu/e_powl.S: Likewise.
8381 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8382 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8383 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8384 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8385 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8386 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8387 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8388 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8389 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8390 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8393 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8394 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8395 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8396 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8411 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8414 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8415 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8416 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8417 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8418 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8419 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8420 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8421 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8422 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8423 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8424 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8425 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8426 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8427 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8428 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8429 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8430 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8431 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8466 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8476 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8477 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8478 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8481 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8482 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8483 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8487 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8488 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8489 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8490 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8491 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8492 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8493 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8495 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8497 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8498 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8499 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8500 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8501 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8502 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8503 (__isnanf): Likewise.
8504 (__isinf_ns): Likewise.
8505 (__isinf_nsf): Likewise.
8506 (__finite): Likewise.
8507 (__finitef): Likewise.
8508 (__ieee754_sqrt): Define as macro.
8509 (__ieee754_sqrtf): Define as macro.
8510 (__ieee754_sqrtl): Define as macro.
8511 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8512 inlined copy.
8513 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8514 __FINITE_MATH_ONLY__ consistent.
8515 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8516
12cc2fcd
AS
85172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8518
a843a204
AS
8519 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8520 of rawmemchr.
8521
12cc2fcd
AS
8522 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8523
c853acd5
UD
85242011-10-09 Ulrich Drepper <drepper@gmail.com>
8525
8526 * po/ja.po: Update from translation team.
8527
c658d255
RM
85282011-10-08 Roland McGrath <roland@hack.frob.com>
8529
110946e4
RM
8530 * locale/programs/locarchive.c (prepare_address_space): New function.
8531 (create_archive, enlarge_archive, open_archive): Use it.
8532
50604220
RM
8533 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8534 inside [SHARED], where it is used.
8535
c658d255
RM
8536 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8537
8538 * nss/getent.c (netgroup_keys): Remove unused variable.
8539 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8540
6a621eb7
UD
85412011-10-08 Ulrich Drepper <drepper@gmail.com>
8542
7edb55ce
UD
8543 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8544 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8546 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8547 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8548 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8549 * math/Makefile (libm-calls): Add s_isinf_ns.
8550 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8551 * math/multc3.c: Likewise.
8552 * math/s_casin.c: Likewise.
8553 * math/s_casinf.c: Likewise.
8554 * math/s_casinl.c: Likewise.
8555 * math/s_ccos.c: Likewise.
8556 * math/s_ccosf.c: Likewise.
8557 * math/s_ccosl.c: Likewise.
8558 * math/s_ctan.c: Likewise.
8559 * math/s_ctanf.c: Likewise.
8560 * math/s_ctanh.c: Likewise.
8561 * math/s_ctanhf.c: Likewise.
8562 * math/s_ctanhl.c: Likewise.
8563 * math/s_ctanl.c: Likewise.
8564 * math/w_fmod.c: Likewise.
8565 * math/w_fmodf.c: Likewise.
8566 * math/w_fmodl.c: Likewise.
8567 * math/w_remainder.c: Likewise.
8568 * math/w_remainderf.c: Likewise.
8569 * math/w_remainderl.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8571 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8572 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8574 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8575 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8576 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8577 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8578
187da0ae
UD
8579 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8580 of the number.
8581 * stdio-common/printf_fphex.c: Likewise.
8582 * stdio-common/printf_size.c: Likewise.
8583
9277c064
UD
8584 * math/e_exp10.c: Include math_private.h using <...> not "...".
8585 * math/e_exp10f.c: Likewise.
8586 * math/e_exp10l.c: Likewise.
8587 * math/e_exp2l.c: Likewise.
8588 * math/e_j0l.c: Likewise.
8589 * math/e_j1l.c: Likewise.
8590 * math/e_jnl.c: Likewise.
8591 * math/e_lgammal_r.c: Likewise.
8592 * math/e_rem_pio2l.c: Likewise.
8593 * math/e_scalb.c: Likewise.
8594 * math/e_scalbf.c: Likewise.
8595 * math/e_scalbl.c: Likewise.
8596 * math/k_cosl.c: Likewise.
8597 * math/k_sinl.c: Likewise.
8598 * math/k_tanl.c: Likewise.
8599 * math/s_cacoshf.c: Likewise.
8600 * math/s_catan.c: Likewise.
8601 * math/s_catanf.c: Likewise.
8602 * math/s_catanh.c: Likewise.
8603 * math/s_catanhf.c: Likewise.
8604 * math/s_catanhl.c: Likewise.
8605 * math/s_catanl.c: Likewise.
8606 * math/s_ccosh.c: Likewise.
8607 * math/s_ccoshf.c: Likewise.
8608 * math/s_ccoshl.c: Likewise.
8609 * math/s_cexp.c: Likewise.
8610 * math/s_cexpf.c: Likewise.
8611 * math/s_cexpl.c: Likewise.
8612 * math/s_clog.c: Likewise.
8613 * math/s_clog10.c: Likewise.
8614 * math/s_clog10f.c: Likewise.
8615 * math/s_clog10l.c: Likewise.
8616 * math/s_clogf.c: Likewise.
8617 * math/s_clogl.c: Likewise.
8618 * math/s_csin.c: Likewise.
8619 * math/s_csinf.c: Likewise.
8620 * math/s_csinh.c: Likewise.
8621 * math/s_csinhf.c: Likewise.
8622 * math/s_csinhl.c: Likewise.
8623 * math/s_csinl.c: Likewise.
8624 * math/s_csqrt.c: Likewise.
8625 * math/s_csqrtf.c: Likewise.
8626 * math/s_csqrtl.c: Likewise.
8627 * math/s_ctan.c: Likewise.
8628 * math/s_ctanf.c: Likewise.
8629 * math/s_ctanh.c: Likewise.
8630 * math/s_ctanhf.c: Likewise.
8631 * math/s_ctanhl.c: Likewise.
8632 * math/s_ctanl.c: Likewise.
8633 * math/s_ldexp.c: Likewise.
8634 * math/s_ldexpf.c: Likewise.
8635 * math/s_ldexpl.c: Likewise.
8636 * math/s_significand.c: Likewise.
8637 * math/s_significandf.c: Likewise.
8638 * math/s_significandl.c: Likewise.
8639 * math/w_acos.c: Likewise.
8640 * math/w_acosf.c: Likewise.
8641 * math/w_acosh.c: Likewise.
8642 * math/w_acoshf.c: Likewise.
8643 * math/w_acoshl.c: Likewise.
8644 * math/w_acosl.c: Likewise.
8645 * math/w_asin.c: Likewise.
8646 * math/w_asinf.c: Likewise.
8647 * math/w_asinl.c: Likewise.
8648 * math/w_atan2.c: Likewise.
8649 * math/w_atan2f.c: Likewise.
8650 * math/w_atan2l.c: Likewise.
8651 * math/w_atanh.c: Likewise.
8652 * math/w_atanhf.c: Likewise.
8653 * math/w_atanhl.c: Likewise.
8654 * math/w_cosh.c: Likewise.
8655 * math/w_coshf.c: Likewise.
8656 * math/w_coshl.c: Likewise.
8657 * math/w_dremf.c: Likewise.
8658 * math/w_exp10.c: Likewise.
8659 * math/w_exp10f.c: Likewise.
8660 * math/w_exp10l.c: Likewise.
8661 * math/w_exp2.c: Likewise.
8662 * math/w_exp2f.c: Likewise.
8663 * math/w_fmod.c: Likewise.
8664 * math/w_fmodf.c: Likewise.
8665 * math/w_fmodl.c: Likewise.
8666 * math/w_hypot.c: Likewise.
8667 * math/w_hypotf.c: Likewise.
8668 * math/w_hypotl.c: Likewise.
8669 * math/w_j0.c: Likewise.
8670 * math/w_j0f.c: Likewise.
8671 * math/w_j0l.c: Likewise.
8672 * math/w_j1.c: Likewise.
8673 * math/w_j1f.c: Likewise.
8674 * math/w_j1l.c: Likewise.
8675 * math/w_jn.c: Likewise.
8676 * math/w_jnf.c: Likewise.
8677 * math/w_jnl.c: Likewise.
8678 * math/w_lgamma.c: Likewise.
8679 * math/w_lgamma_r.c: Likewise.
8680 * math/w_lgammaf.c: Likewise.
8681 * math/w_lgammaf_r.c: Likewise.
8682 * math/w_lgammal.c: Likewise.
8683 * math/w_lgammal_r.c: Likewise.
8684 * math/w_log.c: Likewise.
8685 * math/w_log10.c: Likewise.
8686 * math/w_log10f.c: Likewise.
8687 * math/w_log10l.c: Likewise.
8688 * math/w_log2.c: Likewise.
8689 * math/w_log2f.c: Likewise.
8690 * math/w_log2l.c: Likewise.
8691 * math/w_logf.c: Likewise.
8692 * math/w_logl.c: Likewise.
8693 * math/w_pow.c: Likewise.
8694 * math/w_powf.c: Likewise.
8695 * math/w_powl.c: Likewise.
8696 * math/w_remainder.c: Likewise.
8697 * math/w_remainderf.c: Likewise.
8698 * math/w_remainderl.c: Likewise.
8699 * math/w_scalb.c: Likewise.
8700 * math/w_scalbf.c: Likewise.
8701 * math/w_scalbl.c: Likewise.
8702 * math/w_sinh.c: Likewise.
8703 * math/w_sinhf.c: Likewise.
8704 * math/w_sinhl.c: Likewise.
8705 * math/w_sqrt.c: Likewise.
8706 * math/w_sqrtf.c: Likewise.
8707 * math/w_sqrtl.c: Likewise.
8708 * math/w_tgamma.c: Likewise.
8709 * math/w_tgammaf.c: Likewise.
8710 * math/w_tgammal.c: Likewise.
8711
6a621eb7
UD
8712 * po/ja.po: Update from translation team.
8713
bf582445
AJ
87142011-09-29 Andreas Jaeger <aj@suse.de>
8715
f9efbf3a
AJ
8716 [BZ #13179]
8717 * sunrpc/netname.c (netname2host): Fix logic.
8718
bf582445
AJ
8719 [BZ #6779]
8720 [BZ #6783]
8721 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8722 correctly.
8723 * math/w_remainder.c (__remainder): Likewise.
8724 * math/w_remainderf.c (__remainderf): Likewise.
8725 * math/libm-test.inc (remainder_test): Add test cases.
8726
48693bea
AK
87272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8728
8729 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8730 sdiv_qrnnd.
8731
42622229
LD
87322011-10-07 Ulrich Drepper <drepper@gmail.com>
8733
8734 * string/test-memcmp.c: Avoid unncessary #defines.
8735 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8736
093ecf92
LD
87372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8738
8739 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8740 Use new sse2 version for core i3 - i7 as it's faster
8741 than sse42 version.
8742 (bit_Prefer_PMINUB_for_stringop): New.
8743 * sysdeps/x86_64/rawmemchr.S: Update.
8744 Replace with faster SSE2 version.
8745 * sysdeps/x86_64/memrchr.S: New file.
8746 * sysdeps/x86_64/memchr.S: Update.
8747 Replace with faster SSE2 version.
8748
fde56e5c
MP
87492011-09-12 Marek Polacek <mpolacek@redhat.com>
8750
8751 * elf/dl-load.c (lose): Add cast to avoid warning.
8752
21fd49a9
UD
87532011-10-07 Ulrich Drepper <drepper@gmail.com>
8754
5a06e643
UD
8755 * po/ca.po: Update from translation team.
8756
684ae515
UD
8757 * inet/getnetgrent_r.c: Hook up nscd.
8758 * nscd/Makefile (routines): Add nscd_netgroup.
8759 (nscd-modules): Add netgroupcache.
8760 (CFLAGS-netgroupcache.c): Define.
8761 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8762 (cache_search): Add const to second parameter.
8763 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8764 INNETGR.
8765 (dbs): Add netgrdb entry.
8766 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8767 (verify_persistent_db): Handle netgrdb.
8768 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8769 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8770 GETFDNETGR.
8771 (netgroup_response_header): Define.
8772 (innetgroup_response_header): Define.
8773 (datahead): Add netgroup_response_header and innetgroup_response_header
8774 elements.
8775 * nscd/nscd.conf: Add entries for netgroup cache.
8776 * nscd/nscd.h (dbtype): Add netgrdb.
8777 (_PATH_NSCD_NETGROUP_DB): Define.
8778 (netgroup_iov_disabled): Declare.
8779 (xmalloc, xcalloc, xrealloc): Move declarations here.
8780 (cache_search): Adjust prototype.
8781 Add netgroup-related prototypes.
8782 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8783 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8784 (__nscd_innetgr): Declare.
8785 * nscd/selinux.c (perms): Use access_vector_t as element type and
8786 add netgroup-related initializers.
8787 * nscd/netgroupcache.c: New file.
8788 * nscd/nscd_netgroup.c: New file.
8789 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8790 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8791 For four parameters use innetgr.
8792 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8793 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8794 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8795 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8796
21fd49a9
UD
8797 * nscd/connections.c (register_traced_file): Don't register file
8798 for disabled databases.
8799
054c0457
UD
88002011-10-06 Ulrich Drepper <drepper@gmail.com>
8801
32b63198
UD
8802 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8803
054c0457
UD
8804 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8805 from tree and freeing node.
8806
64031225
JO
88072011-09-25 Jiri Olsa <jolsa@redhat.com>
8808
8809 * nss/nsswitch.c (__nss_database_lookup): Handle
8810 nss_parse_service_list out of memory case.
8811
0490345c
JO
88122011-09-15 Jiri Olsa <jolsa@redhat.com>
8813
8814 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8815 out of memory case.
8816
3a62d00d
AS
88172011-10-04 Andreas Schwab <schwab@redhat.com>
8818
8819 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8820 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8821 pass it down.
8822 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8823 elf_machine_rela, elf_machine_lazy_rel.
8824 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8825 (ELF_DYNAMIC_DO_REL): Likewise.
8826 (ELF_DYNAMIC_DO_RELA): Likewise.
8827 (ELF_DYNAMIC_RELOCATE): Likewise.
8828 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8829 to ELF_DYNAMIC_DO_REL.
8830 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8831 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8832 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8833 elf_machine_rela.
8834 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8835 skip_ifunc, don't call ifunc function if non-zero.
8836 (elf_machine_rela): Likewise.
8837 (elf_machine_lazy_rel): Likewise.
8838 (elf_machine_lazy_rela): Likewise.
8839 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8840 (elf_machine_lazy_rel): Likewise.
8841 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8842 Likewise.
8843 (elf_machine_lazy_rel): Likewise.
8844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8845 Likewise.
8846 (elf_machine_lazy_rel): Likewise.
8847 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8848 (elf_machine_lazy_rel): Likewise.
8849 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8850 (elf_machine_lazy_rel): Likewise.
8851 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8852 (elf_machine_lazy_rel): Likewise.
8853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8854 (elf_machine_lazy_rel): Likewise.
8855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8856 (elf_machine_lazy_rel): Likewise.
8857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8858 (elf_machine_lazy_rel): Likewise.
8859
68577918
UD
88602011-09-28 Ulrich Drepper <drepper@gmail.com>
8861
8862 * nss/nss_files/files-init.c (_nss_files_init): Use static
8863 initialization for all the *_traced_file variables.
8864
68822d74
AS
88652011-09-28 Andreas Schwab <schwab@redhat.com>
8866
8867 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8868
2056100b
RM
88692011-09-27 Roland McGrath <roland@hack.frob.com>
8870
8871 [BZ #13226]
8872 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8873
32c76b63
AS
88742011-09-27 Andreas Schwab <schwab@redhat.com>
8875
8876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8877 Reread the line before reparsing it.
8878
bf972c9d
AS
88792011-09-26 Andreas Schwab <schwab@redhat.com>
8880
8881 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8882
e057a1b5
JM
88832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8884 Maxim Kuvyrkov <maxim@codesourcery.com>
8885 Joseph Myers <joseph@codesourcery.com>
8886
8887 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8888 if needed for __stack_chk_guard.
8889
bc7e1c36
RM
88902011-09-19 Roland McGrath <roland@hack.frob.com>
8891
ecb1482f
RM
8892 * sysdeps/posix/spawni.c (script_execute): Always define it.
8893 It will be optimized away if unused.
8894 (maybe_script_execute): New function.
8895 (__spawni): Call it.
8896
bc7e1c36
RM
8897 * Makerules: Don't include tls.make.
8898 (config-tls): Always set to thread.
8899 * tls.make.c: File removed.
8900
1c3b002b
MF
89012011-09-19 Mike Frysinger <vapier@gentoo.org>
8902
8903 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8904 * config.make.in (CPPFLAGS-config): New substituted variable.
8905
2840865d
UD
89062011-09-15 Ulrich Drepper <drepper@gmail.com>
8907
88738eb6
UD
8908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8909
cbf645a6 8910 [BZ #13192]
2840865d
UD
8911 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8912 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8913
b402e91a
RM
89142011-09-15 Roland McGrath <roland@hack.frob.com>
8915
8916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8917 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8918 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8919 (CALL_FAIL): Likewise.
8920 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8921 (CALL_FAIL): Macro removed.
8922 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8923
4c1a1f71
UD
89242011-09-15 Ulrich Drepper <drepper@gmail.com>
8925
8926 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8927 for __FINITE_MATH_ONLY__ == 1.
8928
edc121be
AS
89292011-09-15 Andreas Schwab <schwab@redhat.com>
8930
8931 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8932 __ieee754_sqrt instead of sqrt.
8933 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8934 __ieee754_sqrtf instead of sqrtf.
8935 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8936 __floorf instead of floorf.
8937 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8938 __floorf, __truncf instead of floorf, truncf.
8939
cd205654
UD
89402011-09-14 Ulrich Drepper <drepper@gmail.com>
8941
ee4d0315
UD
8942 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8943
cd205654
UD
8944 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8945 __extern_always_inline.
8946 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8947 32-bit.
8948
48b67d71
AS
89492011-09-14 Andreas Schwab <schwab@redhat.com>
8950
8951 * elf/rtld.c (dl_main): Also relocate in dependency order when
8952 doing symbol dependency testing.
8953
1ae12c75
AS
89542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8955
8956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8957 Always define `refsym'.
8958
995a80df
AS
89592011-09-13 Andreas Schwab <schwab@redhat.com>
8960
e529793b
AS
8961 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8962 (__FD_ELT): Renamed from __FDELT.
8963 * misc/bits/select2.h (__FD_ELT): Likewise.
8964 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8965 __FD_MASK instead of __FDELT, __FDMASK.
8966 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8967 Likewise.
8968 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8969 Likewise.
8970
52d4fef8
AS
8971 * elf/Makefile (gen-ldd): Fix pattern.
8972
995a80df
AS
8973 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8974 (init_tls): Likewise.
8975
8682f8b0
UD
89762011-09-12 Ulrich Drepper <drepper@gmail.com>
8977
8978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8979
de82006d
AS
89802011-09-12 Andreas Schwab <schwab@redhat.com>
8981
a7c8e6a1
AS
8982 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8983 `struct cmsghdr *' instead of `void *'.
8984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8985 Likewise.
8986
0f31fe77
AS
89872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8988
8989 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8990 if non-absolute.
8991 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8992 ldd_rewrite_script.
0f31fe77 8993
32b4c839
UD
89942011-09-11 Ulrich Drepper <drepper@gmail.com>
8995
83cd1420
UD
8996 * configure.in: Remove --with-tls option.
8997 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8998 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8999 out in case it is missing.
9000 * sysdeps/ia64/elf/configure.in: Likewise.
9001 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9002 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9003 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9004 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9005 * sysdeps/sh/elf/configure.in: Likewise.
9006 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9007 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9008 * sysdeps/x86_64/elf/configure.in: Likewise.
9009 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9010 * sysdeps/mach/hurd/tls.h: Likewise.
9011
633f745d
UD
9012 [BZ #13067]
9013 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9014
f318beb8
UD
9015 [BZ #13090]
9016 * configure.in: Fix use of AC_INIT.
9017
32b4c839
UD
9018 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9019
3ce1f295
UD
90202011-09-10 Ulrich Drepper <drepper@gmail.com>
9021
bb016596
UD
9022 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9023 __set_errno.
8e58439c
UD
9024 * malloc/hooks.c: Likewise.
9025
aebae053 9026 [BZ #11929]
02d46fc4
UD
9027 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9028 variables statically.
9029 (narenas): Initialize.
9030 (list_lock): Initialize.
bb016596
UD
9031 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9032 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9033 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9034 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9035 Add initializers to main_arena and mp_.
9036 (malloc_state): Remove pagesize member. Change all users to use
9037 GLRO(dl_pagesize).
9038
9039 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9040 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9041 is always initialized.
9042
22a89187
UD
9043 * malloc/malloc.c: Removed unused configurations and dead code.
9044 * malloc/arena.c: Likewise.
9045 * malloc/hooks.c: Likewise.
02d46fc4 9046 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9047
d063d164
UD
9048 * include/tls.h: Removed. USE___THREAD must always be defined.
9049 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9050 * elf/dl-libc.c: Likewise.
9051 * elf/dl-tsd.c: Likewise.
9052 * include/errno.h: Likewise.
9053 * include/netdb.h: Likewise.
9054 * include/resolv.h: Likewise.
9055 * inet/herrno-loc.c: Likewise.
9056 * inet/herrno.c: Likewise.
9057 * malloc/arena.c: Likewise.
9058 * malloc/hooks.c: Likewise.
9059 * malloc/malloc.c: Likewise.
9060 * resolv/res-state.c: Likewise.
9061 * resolv/res_libc.c: Likewise.
9062 * sysdeps/i386/dl-machine.h: Likewise.
9063 * sysdeps/ia64/dl-machine.h: Likewise.
9064 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9065 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9066 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9067 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9068 * sysdeps/sh/dl-machine.h: Likewise.
9069 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9070 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9071 * sysdeps/unix/i386/sysdep.S: Likewise.
9072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9073 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9074 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9076 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9078 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9082 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9083 * sysdeps/x86_64/dl-machine.h: Likewise.
9084 * tls.make.c: Likewise.
9085
3ce1f295
UD
9086 * configure.in: Remove --with-__thread option. Make tests for
9087 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9088 tls_model attribute fail if no support is available. Remove
9089 USE_IN_LIBIO.
9090 * Makeconfig: Adjust for dropped configure option. All features are
9091 now mandatory.
9092 * Makerules: Likewise.
9093 * Versions.def: Likewise.
9094 * argp/argp-fmtstream.c: Likewise.
9095 * argp/argp-fmtstream.h: Likewise.
9096 * argp/argp-help.c: Likewise.
9097 * assert/assert.c: Likewise.
9098 * config.h.in: Likewise.
9099 * config.make.in: Likewise.
9100 * configure: Likewise.
9101 * configure.in: Likewise.
9102 * csu/Versions: Likewise.
9103 * csu/init.c: Likewise.
9104 * elf/tst-audit2.c: Likewise.
9105 * elf/tst-tls10.c: Likewise.
9106 * elf/tst-tls10.h: Likewise.
9107 * elf/tst-tls11.c: Likewise.
9108 * elf/tst-tls12.c: Likewise.
9109 * elf/tst-tls14.c: Likewise.
9110 * elf/tst-tlsmod11.c: Likewise.
9111 * elf/tst-tlsmod12.c: Likewise.
9112 * elf/tst-tlsmod13.c: Likewise.
9113 * elf/tst-tlsmod13a.c: Likewise.
9114 * elf/tst-tlsmod14a.c: Likewise.
9115 * elf/tst-tlsmod15b.c: Likewise.
9116 * elf/tst-tlsmod16a.c: Likewise.
9117 * elf/tst-tlsmod16b.c: Likewise.
9118 * elf/tst-tlsmod7.c: Likewise.
9119 * elf/tst-tlsmod8.c: Likewise.
9120 * elf/tst-tlsmod9.c: Likewise.
9121 * gmon/gmon.c: Likewise.
9122 * grp/fgetgrent_r.c: Likewise.
9123 * grp/putgrent.c: Likewise.
9124 * hurd/fopenport.c: Likewise.
9125 * include/libc-symbols.h: Likewise.
9126 * include/tls.h: Likewise.
9127 * intl/gettextP.h: Likewise.
9128 * intl/loadinfo.h: Likewise.
9129 * locale/global-locale.c: Likewise.
9130 * locale/localeinfo.h: Likewise.
9131 * mach/devstream.c: Likewise.
9132 * malloc/arena.c: Likewise.
9133 * malloc/set-freeres.c: Likewise.
9134 * misc/err.c: Likewise.
9135 * misc/getttyent.c: Likewise.
9136 * misc/mntent_r.c: Likewise.
9137 * posix/getopt.c: Likewise.
9138 * posix/wordexp.c: Likewise.
9139 * pwd/fgetpwent_r.c: Likewise.
9140 * resolv/Versions: Likewise.
9141 * resolv/res_hconf.c: Likewise.
9142 * shadow/fgetspent_r.c: Likewise.
9143 * shadow/putspent.c: Likewise.
9144 * stdio-common/printf_fphex.c: Likewise.
9145 * stdio-common/tmpfile.c: Likewise.
9146 * stdlib/abort.c: Likewise.
9147 * stdlib/fmtmsg.c: Likewise.
9148 * sunrpc/auth_unix.c: Likewise.
9149 * sunrpc/clnt_perr.c: Likewise.
9150 * sunrpc/clnt_tcp.c: Likewise.
9151 * sunrpc/clnt_udp.c: Likewise.
9152 * sunrpc/clnt_unix.c: Likewise.
9153 * sunrpc/openchild.c: Likewise.
9154 * sunrpc/svc_simple.c: Likewise.
9155 * sunrpc/svc_tcp.c: Likewise.
9156 * sunrpc/svc_udp.c: Likewise.
9157 * sunrpc/svc_unix.c: Likewise.
9158 * sunrpc/xdr.c: Likewise.
9159 * sunrpc/xdr_array.c: Likewise.
9160 * sunrpc/xdr_rec.c: Likewise.
9161 * sunrpc/xdr_ref.c: Likewise.
9162 * sunrpc/xdr_stdio.c: Likewise.
9163
1248c1c4
PB
91642011-09-09 Ulrich Drepper <drepper@gmail.com>
9165
9166 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9167
91682011-07-03 Andreas Jaeger <aj@suse.de>
9169
9170 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9171 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9172 regenerate with gen-libm-tests.pl.
9173
91742010-05-12 Petr Baudis <pasky@suse.cz>
9175
9176 [BZ #11589]
9177 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9178 around j0() zero points by switching to j1().
9179 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9183
f22e1074
UD
91842011-09-09 Ulrich Drepper <drepper@gmail.com>
9185
f19009c1
UD
9186 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9187 instead of 0.
9188 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9189 instead of 0. .
9190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9191 Patch in part by Pavel Roskin <proski@gnu.org>.
9192
3f8cc204
UD
9193 [BZ #13138]
9194 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9195 realloc.
9196 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9197 Free memory block if necessary.
9198
f22e1074
UD
9199 [BZ #12847]
9200 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9201 be NULL. Don't lock in this case.
9202
0a2349f9
RM
92032011-09-09 Roland McGrath <roland@hack.frob.com>
9204
9205 * elf/elf.h (ELFOSABI_GNU): New macro.
9206 (ELFOSABI_LINUX): Define to that.
9207
f3cdd467
DZ
92082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9209
9210 * string/strncat.c (strncat): Undef the symbol in case it has been
9211 defined in bits/string.h.
9212
74718d13
UD
92132011-09-09 Ulrich Drepper <drepper@gmail.com>
9214
633e9e0f
UD
9215 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9216
0a2349f9 9217 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9218 link map.
9219
f9924780
AJ
92202011-08-17 Andreas Jaeger <aj@suse.de>
9221
9222 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9223
7f5517aa
PP
92242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9225 Ian Lance Taylor <iant@google.com>
9226
9227 * math/libm-test.inc (lround_test): New testcase.
9228 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9229
762011fe
UD
92302011-09-08 Ulrich Drepper <drepper@gmail.com>
9231
92963737
UD
9232 * Makefile: Remove support for automatic cvs check-ins.
9233 * Makerules: Likewise.
9234 * config.make.in: Likewise.
9235 * configure.in: Likewise.
9236 * intl/Makefile: Likewise.
9237 * locale/Makefile: Likewise.
9238 * po/Makefile: Likewise.
9239 * posix/Makefile: Likewise.
9240 * sysdeps/gnu/Makefile: Likewise.
9241 * sysdeps/mach/hurd/Makefile: Likewise.
9242 * sysdeps/sparc/sparc32/Makefile: Likewise.
9243
b0727fd8
JS
9244 [BZ #13118]
9245 * posix/Makefile (bug-regex32-ENV): Define.
9246 Patch by John Stanley <jpsinthemix@verizon.net>.
9247
a0f33f99
UD
9248 * misc/Makefile (headers): Add bits/select2.h.
9249 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9250 * misc/bits/select2.h: New file.
9251 * include/bits/select2.h: New file.
9252 * debug/Makefile (routines): Add fdelt_chk.
9253 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9254 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9255 FD_ISSET.
9256 * debug/fdelt_chk.c: New file.
9257
762011fe
UD
9258 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9259 * wcsmbs/test-wmemcmp.c: Likewise.
9260 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9261 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9262
92632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9264
9265 * string/Makefile (strop-tests): Add memcmp.
9266 * string/test-wmemcmp.c: New file.
9267 * string/test-memcmp.c: Add wmemcmp support.
9268
7f513ec8
RM
92692011-09-08 Roland McGrath <roland@hack.frob.com>
9270
0442afb4
RM
9271 [BZ #13153]
9272 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9273 2011-07-19 change.
9274
7f513ec8
RM
9275 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9276 garbage value in a __mach_port_mod_refs call in the cases of the
9277 task-self and thread-self ports.
9278
a12b2239
ST
92792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9280
9281 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9282
610f9ab4
AS
92832011-09-08 Andreas Schwab <schwab@redhat.com>
9284
7f513ec8 9285 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9286
48882a1a
LD
92872011-09-07 Ulrich Drepper <drepper@gmail.com>
9288
b49865be
UD
9289 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9290
fdc86bc9
UD
9291 * elf/dl-libc.c (dlerror_run): Pass back error code from
9292 dl_catch_error.
9293
c966526a
UD
9294 [BZ #13123]
9295 * elf/dl-load.c (lose): Free l_origin if it is valid.
9296
48882a1a
LD
9297 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9298 names.
9299 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9300 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9301 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9302 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9303 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9304 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9305
77a2a8b4
AZ
93062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9307
9308 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9309 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9310 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9311 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9312 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9313 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9314 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9315 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9316 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9317 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9318
24f579d8
AM
93192011-08-15 Alan Modra <amodra@gmail.com>
9320
9321 [BZ #13092]
9322 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9323 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9324 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9325 ppc_mcount to static-only-routines.
9326 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9327 __mcount_internal.
9328 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9329 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9330
3d4837df
UD
93312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9332
9333 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9334 for finite and infinity parameters.
9335
22700377
WS
93362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9337
9338 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9339 and add nop instructions for throughput optimization.
9340 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9341
5025581e
WS
93422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9343
9344 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9345 aligned copy for power7 with vector-scalar instructions.
9346 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9347
08a300c9
L
93482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9349
9350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9351 AVX check.
9352
59178ef9
AS
93532011-09-07 Andreas Schwab <schwab@redhat.com>
9354
9355 [BZ #13144]
9356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9357 last change.
9358
e38ba7ab
UD
93592011-09-07 Ulrich Drepper <drepper@gmail.com>
9360
9361 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9362 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9363 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9364 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9365 clock_gettime.
9366
d53a73ac
UD
93672011-09-06 Ulrich Drepper <drepper@gmail.com>
9368
fc8bffcc
UD
9369 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9370 Forgot to demangle the pointer.
9371
ceaa0c5d
UD
9372 * sysdeps/i386/sysdep.h: Define atom_text_section.
9373 * sysdeps/x86_64/sysdep.h: Likewise.
9374 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9375 section with atom_text_section.
9376 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9377 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9378 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9379 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9380 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9381
a77d3c17
UD
9382 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9383 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9384 already be defined. Change to take two parameters and don't assign
9385 result to variable. Adjust all users.
9386 Define INTERNAL_GETTIME if not already defined.
9387 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9388 call.
9389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9390 HAVE_CLOCK_GETTIME_VSYSCALL.
9391 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9392
d53a73ac
UD
9393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9394 gettimeofday vsyscall, just use time.
9395
a8f84144
AS
93962011-09-06 Andreas Schwab <schwab@redhat.com>
9397
9398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9399 <errno.h>.
9400
ef606249
UD
94012011-09-06 Ulrich Drepper <drepper@gmail.com>
9402
9403 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9404 syscall on x86-64.
9405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9406 syscall.
9407 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9409 syscall if possible.
9410
6585cb60
UD
94112011-09-05 Ulrich Drepper <drepper@gmail.com>
9412
9413 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9414 e_ident. Don't pass to find_mapsXX.
9415 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9416
a5f524e4
LD
94172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9418
9419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9420 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9421 * sysdeps/x86_64/multiarch/strchr.S: Update.
9422 Check bit_slow_BSF bit.
9423 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9424 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9425 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9426
554881ef
UD
94272011-09-05 Ulrich Drepper <drepper@gmail.com>
9428
d96de963
UD
9429 [BZ #13134]
9430 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9431 before glibc 2.15.
9432 (tryshell): Define.
9433 (__spawni): Change last parameter to be flag. Test
9434 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9435 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9436 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9437 * posix/spawni.c: Likewise.
9438 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9439 * posix/spawnp.c: Likewise. Change normal version to use
9440 SPAWN_XFLAGS_USE_PATH.
9441 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9442 SPAWN_XFLAGS_TRY_SHELL.
9443
d48e5868
UD
9444 [BZ #13150]
9445 * posix/glob.h: Remove gcc 1.x support.
9446
554881ef
UD
9447 [BZ #13068]
9448 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9449
693fb948
LD
94502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9451
9452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9453 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9454 strrchr-sse2-bsf
9455 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9456 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9458 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9459 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9461
1b48c537
UD
94622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9463
49d42c37
UD
9464 * sysdeps/x86_64/wcscmp.S: New file.
9465
1b48c537
UD
9466 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9467 wcscmp-c wcscmp-sse2
9468 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9469 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9470 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9471 * wcsmbs/wcscmp.c: Allow renaming.
9472
15c95c5d
DM
94732011-09-05 David S. Miller <davem@davemloft.net>
9474
9475 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9476 stack slot, rather than the struct return pointer slot.
9477 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9478 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9481
2f0ad8f3
UD
94822011-09-05 Ulrich Drepper <drepper@gmail.com>
9483
d88ae418
UD
9484 * po/ja.po: Update from translation team.
9485
2f0ad8f3
UD
9486 [BZ #13144]
9487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9488 kernel in 64-bit binaries.
9489
5f4318d1
DM
94902011-09-01 David S. Miller <davem@davemloft.net>
9491
9492 * elf/elf.h (HWCAP_SPARC_*): Move to..
9493 * sysdeps/sparc/sysdep.h: this new file and add new values.
9494 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9495 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9496 _DL_HWCAP_COUNT to 24.
9497 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9498 entries.
9499 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9500 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9501 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9503 instead of magic constants.
9504 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9505
3ba57516
DM
95062011-08-31 David S. Miller <davem@davemloft.net>
9507
9508 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9510 Reimplement to do errno handling inline.
9511 (SYSCALL_ERROR_HANDLER): New macro.
9512 (__SYSCALL_STRING): Do not do errno handling in asm.
9513 (__CLONE_SYSCALL_STRING): Delete.
9514 (__INTERNAL_SYSCALL_STRING): Delete.
9515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9516 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9517 (PSEUDO): Reimplement to do errno handling inline.
9518 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9519 (SYSCALL_ERROR_HANDLER): New macro.
9520 (__SYSCALL_STRING): Do not do errno handling in asm.
9521 (__CLONE_SYSCALL_STRING): Delete.
9522 (__INTERNAL_SYSCALL_STRING): Delete.
9523 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9524 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9525 i386.
9526 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9527 (inline_syscall*): Add 'err' argument.
9528 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9529 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9530 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9531 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9532
9533 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9534 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9535
2bc17433
AS
95362011-08-30 Andreas Schwab <schwab@redhat.com>
9537
9538 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9539
fbeb5f4d
JO
95402011-08-29 Jiri Olsa <jolsa@redhat.com>
9541
9542 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9543 directive.
9544
ad69cc26
DM
95452011-08-24 David S. Miller <davem@davemloft.net>
9546
9547 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9548
39dd69df
AS
95492011-08-24 Andreas Schwab <schwab@redhat.com>
9550
9551 * elf/Makefile: Add rules to build and run unload8 test.
9552 * elf/unload8.c: New file.
9553 * elf/unload8mod1.c: New file.
9554 * elf/unload8mod1x.c: New file.
9555 * elf/unload8mod2.c: New file.
9556 * elf/unload8mod3.c: New file.
9557
9558 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9559 it wasn't used.
9560
2c0b250a
DM
95612011-08-23 David S. Miller <davem@davemloft.net>
9562
9563 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9564 subtract stack bias.
9565 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9566 %sp not %fp in calculations.
9567 (_JMPBUF_UNWINDS_ADJ): Likewise.
9568
22044b48
DM
9569 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9570 (aio_suspend): Call it to force an exception region around the
9571 AIO_MISC_WAIT() invocation.
9572
2cae4995
AS
95732011-08-23 Andreas Schwab <schwab@redhat.com>
9574
9575 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9576 backslash.
9577
873a772e
AJ
95782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9579
9580 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9581 protection macro.
9582 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9583 and <dl-machine.h>.
9584 (Elf64_FuncDesc): Remove.
9585
25ad0df1
DM
95862011-08-22 David S. Miller <davem@davemloft.net>
9587
9588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9589 sigaltstack check, add missing cfi directives.
9590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9591 missing cfi directives, and sigaltstack handling.
9592
e888bcbe
AS
95932011-08-16 Andreas Schwab <schwab@redhat.com>
9594
9595 [BZ #11724]
9596 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9597 object is seen twice.
9598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9599
9600 * elf/Makefile (distribute): Add tst-initorder2.c.
9601 (tests): Add tst-initorder2.
9602 (modules-names): Add tst-initorder2a tst-initorder2b
9603 tst-initorder2c tst-initorder2d. Add rules to build them.
9604 ($(objpfx)tst-initorder2.out): New rule.
9605 * elf/tst-initorder2.c: New file.
9606 * elf/tst-initorder2.exp: New file.
9607
87162f46
AS
96082011-08-22 Andreas Schwab <schwab@redhat.com>
9609
70538b7f
AS
9610 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9611
f55ffe58
AS
9612 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9613 dependencies back to end of function.
9614
87162f46
AS
9615 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9616 $(elfobjdir)/ld.so.
9617
91b392a4
UD
96182011-08-21 Ulrich Drepper <drepper@gmail.com>
9619
9620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9621 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9623 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9624 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9625 of __vdso_gettimeofday.
9626 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9627 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9628 attribute_hidden.
9629 (_libc_vdso_platform_setup): Remove initialization of
9630 __vdso_gettimeofday and __vdso_time.
9631
5c43483f
UD
96322011-08-20 Ulrich Drepper <drepper@gmail.com>
9633
775a77e7
UD
9634 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9635 and fgetc_unlocked.
9636 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9637 getc_unlocked.
89f447ed 9638
49c74ba9
UD
9639 * elf/dl-open.c (add_to_global): Report additions to the global scope
9640 for LD_DEBUG=scopes.
9641 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9642 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9643
5c43483f
UD
9644 [BZ #13114]
9645 * stdio-common/Makefile (tests): Add bug24.
9646 * stdio-common/bug24.c: New file.
9647
a101b025
AJ
96482011-08-19 Andreas Jaeger <aj@suse.de>
9649
9650 [BZ #13114]
9651 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9652 non-existant file when using close-on-exec mode.
9653
c88f1766
UD
96542011-08-20 Ulrich Drepper <drepper@gmail.com>
9655
0276a718
UD
9656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9657 the very first instruction.
9658
c88f1766
UD
9659 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9660 the CFI state in the end.
9661 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9662 inclusion of dl-trampoline.h.
9663 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9664
51ccffa0
AS
96652011-08-19 Andreas Schwab <schwab@redhat.com>
9666
94d7165f
AS
9667 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9668 expectations for long double.
9669
51ccffa0
AS
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9671 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9672
fd708658 96732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9674
9675 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9676 artificual limit depends upon the system page size.
9677
44f0a71e
UD
96782011-08-17 Ulrich Drepper <drepper@gmail.com>
9679
9680 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9681 * resolv/Makefile: Define CFLAGS-libresolv.
9682
8de79a24
AS
96832011-08-17 Andreas Schwab <schwab@redhat.com>
9684
9685 * nss/makedb.c (compute_tables): Make variables used in nested
9686 function static.
9687
27724598
UD
96882011-08-17 Ulrich Drepper <drepper@gmail.com>
9689
c5305d88
UD
9690 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9691 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9692 if buffer was too small.
9693
27724598
UD
9694 * elf/pldd.c (main): Attach to all threads in the process.
9695 Rewrite /proc handling to use *at functions.
9696
076fe015
UD
96972011-08-16 Ulrich Drepper <drepper@gmail.com>
9698
174baab3
UD
9699 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9700 specifies first scope to show.
9701 (dl_open_worker): Update callers. Move printing scope of new
9702 object to before the relocation.
44f0a71e 9703 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9704 * sysdeps/generic/ldsodefs.h: Update declaration.
9705
076fe015
UD
9706 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9707 string for the scope number.
9708
a60df2c3
UD
97092011-08-14 Ulrich Drepper <drepper@gmail.com>
9710
9711 * nscd/servicescache.c (cache_addserv): Make sure written is always
9712 initialized.
9713
5e4287d1
RM
97142011-08-14 Roland McGrath <roland@hack.frob.com>
9715
85ae0589
RM
9716 * sysdeps/i386/i486/bits/atomic.h
9717 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9718 statement expression, so as to suppress "set but not used" warning.
9719 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9720
69f63097
RM
9721 * string/strncat.c (STRNCAT): Use prototype definition.
9722
675456ef
RM
9723 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9724 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9725 -Iprograms here.
9726 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9727 (localedef-modules): Add localedef.
9728 (locale-modules): Add locale.
9729
5e4287d1
RM
9730 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9731 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9732 to avoid a warning.
9733
9c96ff23
DM
97342011-08-14 David S. Miller <davem@davemloft.net>
9735
9736 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9737 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9738
f9ddf089
UD
97392011-08-13 Ulrich Drepper <drepper@gmail.com>
9740
44f0a71e 9741 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9742 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9743 * elf/rtld.c (dl_main): Set l_name of vDSO.
9744 Call _dl_show_scope when DL_DEBUG_SCOPES.
9745 (process_dl_debug): Recognize scopes flag and also set it for all.
9746 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9747 Declare _dl_show_scope.
9748
1dc27704
UD
9749 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9750 (do_dlopen): Pass caller_dlopen to dl_open.
9751 (__libc_dlopen_mode): Initialize caller_dlopen.
9752
f9ddf089
UD
9753 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9754 of libc. Make tolower call locale-independent. Optimize a bit by
9755 using isdigit instead of isalnum.
9756 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9757
9ac533d3
UD
97582011-08-12 Ulrich Drepper <drepper@gmail.com>
9759
9760 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9761 was a dependency or dynamically loaded.
9762
89edf2e9
UD
97632011-08-11 Ulrich Drepper <drepper@gmail.com>
9764
8e999d29
UD
9765 * intl/l10nflist.c: Allow architecture-specific pop function.
9766 * sysdeps/x86_64/l10nflist.c: New file.
9767
89edf2e9
UD
9768 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9769 classification.
9770
14d96785
AS
97712011-08-10 Andreas Schwab <schwab@redhat.com>
9772
9773 * include/dirent.h: Add libc_hidden_proto for scandirat and
9774 scandirat64. Don't declare __scandirat64.
9775 * dirent/scandirat.c: Add libc_hidden_def.
9776 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9777 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9778
6761ac04
DM
97792011-08-10 David S. Miller <davem@davemloft.net>
9780
9781 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9782 enum.
9783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9785 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9786
c55fbd1e
UD
97872011-08-09 Ulrich Drepper <drepper@gmail.com>
9788
9789 * Versions.def [libc]: Add GLIBC_2.15.
9790 * dirent/Makefile (routines): Add scandirat and scandirat64.
9791 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9792 GLIBC_2.15.
9793 * dirent/dirent.h: Declare scandirat and scandirat64.
9794 * dirent/scandirat.c: New file.
9795 * dirent/scandirat64.c: New file.
9796 * sysdeps/wordsize-64/scandirat.c: New file.
9797 * sysdeps/wordsize-64/scandirat64.c: New file.
9798 * dirent/opendir.c: Define opendirat.
9799 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9800 using scandirat.
9801 * dirent/scandir64.c: Adjust for scandir.c change.
9802 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9803 __scandirat64, and __scandir_cancel_handler.
9804 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9805 additional parameter and use openat instead of open (outside of ld.so).
9806 Add new __opendir as wrapper around __opendirat.
9807 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9808 here without requiring old scandirat implementation.
9809
879165f2
UD
98102011-08-08 Ulrich Drepper <drepper@gmail.com>
9811
9812 * dirent/scandir.c (cancel_handler): Renamed to
9813 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9814 defined. Adjust users.
9815 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9816 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9817
cb7e923b
UD
98182011-08-04 Ulrich Drepper <drepper@gmail.com>
9819
16292edd
UD
9820 * string/test-string.h (IMPL): Use __STRING to expand name and then
9821 stringify it.
9822
cb7e923b
UD
9823 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9824 of cleanups.
9825
cff82933
LD
98262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9827
9828 * string/Makefile: Update.
9829 (strop-tests): Append strncat.
9830 * string/test-wcscmp.c: New file.
9831 New comprehensive test for wcscmp.
9832 * string/test-strcmp.c: Update.
9833 (WIDE): New define.
9834
9be9bfcc
AS
98352011-07-22 Andreas Schwab <schwab@redhat.com>
9836
9837 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9838 line.
9839
2e96f1c7
AS
98402011-07-26 Andreas Schwab <schwab@redhat.com>
9841
9842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9843 encoding to ACE if AI_IDN.
9844
85188888
JJ
98452011-08-01 Jakub Jelinek <jakub@redhat.com>
9846
9847 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9848 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9849
5fa16e9b
LD
98502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9851
9852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9853 Fix overflow bug in strncat.
9854 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9855
9856 * string/test-strncat.c: Update.
9857 Add new tests for checking overflow bugs.
9858
98592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9860
9861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9862 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9863 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9864 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9866 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9867 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9868 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9869 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9870
9871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9872 (USE_AS_STRCAT): Define.
9873 Add strcat and strncat support.
9874 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9875
8c1a459f
AS
98762011-07-25 Andreas Schwab <schwab@redhat.com>
9877
9878 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9879 __n bigger than INT_MAX+1.
9880 (__strncmp_g): Likewise.
9881
bba33c28
UD
98822011-07-23 Ulrich Drepper <drepper@gmail.com>
9883
798be72d
UD
9884 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9885 * libio/stido.h: Likewise.
9886
8accd4dc
UD
9887 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9888 (AF_NFC): Define.
9889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9890 (AF_NFC): Define.
9891
cbff0d96
UD
9892 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9895 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9897
9191c04a
UD
9898 [BZ #13021]
9899 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9900 installed.
9901
bba33c28
UD
9902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9903 typo.
9904 (_dl_x86_64_save_sse): Likewise.
9905
90f139dd
UD
99062011-07-22 Ulrich Drepper <drepper@gmail.com>
9907
1aae088a
UD
9908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9909 OSXSAVE.
9910 (_dl_x86_64_save_sse): Likewise.
9911
8e2045f5
UD
9912 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9913
90f139dd
UD
9914 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9915
1d002f25
AS
99162011-07-21 Andreas Schwab <schwab@redhat.com>
9917
9918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9919 change.
9920 (_dl_x86_64_save_sse): Use correct AVX check.
9921
21137f89
UD
99222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9923
9924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9925 bug in strncpy/strncat.
9926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9927
a65c0b7a
UD
99282011-07-21 Ulrich Drepper <drepper@gmail.com>
9929
9930 * string/tester.c (test_strcat): Add tests for different alignments
9931 of source and destination.
9932 (test_strncat): Likewise.
9933
6986b98a
UD
99342011-07-20 Ulrich Drepper <drepper@gmail.com>
9935
90bb2039
UD
9936 [BZ #12852]
9937 * posix/glob.c (glob): Check passed in values before using them in
9938 expressions to avoid some overflows.
9939 (glob_in_dir): Likewise.
9940
5644ef54
UD
9941 [BZ #13007]
9942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9943 check for AVX enablement so that we don't crash with old kernels and
9944 new hardware.
9945 * elf/tst-audit4.c: Add same checks here.
9946 * elf/tst-audit6.c: Likewise.
9947
9948 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9949
bfc9dc9b
AS
99502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9951
9952 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9953
702e64bb
UD
99542011-07-20 Ulrich Drepper <drepper@gmail.com>
9955
9956 * po/cs.po: Update from translation team.
9957 * po/bg.po: Likewise.
9958
295e904f
MP
99592011-07-12 Marek Polacek <mpolacek@redhat.com>
9960
9961 * misc/sys/cdefs.h: Add support for const attribute.
9962 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9963 to gnu_dev_{major,minor,makedev} functions.
9964
3ff94596
MP
99652011-07-20 Marek Polacek <mpolacek@redhat.com>
9966
9967 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9968
28b59fca
AS
99692011-07-20 Andreas Schwab <schwab@redhat.com>
9970
9971 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9972 strlen results.
9973
19df733e
AK
99742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9975
9976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9977 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9978 register in order to avoid conflicts with the soft frame pointer
9979 being held in r11 when necessary.
9980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9981 (INTERNAL_VSYSCALL_NCS): Likewise.
9982
c8835729
MP
99832011-07-14 Marek Polacek <mpolacek@redhat.com>
9984
9985 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9986 * elf/dl-fini.c (_dl_fini): Adjust caller.
9987 * elf/dl-close.c (_dl_close_worker): Likewise.
9988 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9989
b902330c
MP
99902011-07-15 Marek Polacek <mpolacek@redhat.com>
9991
8991e135
MP
9992 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9993 "aux_cache->nlibs < 0".
9994
b902330c
MP
9995 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9996 in the reload-count case.
9997
99710781
LD
99982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9999
10000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10001 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10002 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10003 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10004 * sysdeps/x86_64/multiarch/strcat.S: New file.
10005 * sysdeps/x86_64/multiarch/strncat.S: New file.
10006 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10007 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10008 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10009 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10011 (USE_AS_STRCAT): Define.
10012 Add strcat and strncat support.
10013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10015 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10016 * string/strncat.c: Update.
10017 (USE_AS_STRNCAT): Define.
10018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10019 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10020 and i7.
10021 * sysdeps/x86_64/multiarch/init-arch.h
10022 (bit_Prefer_PMINUB_for_stringop): New.
10023 (index_Prefer_PMINUB_for_stringop): Likewise.
10024 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10025 bit_Prefer_PMINUB_for_stringop.
10026
7dc6bd90
UD
100272011-07-19 Ulrich Drepper <drepper@gmail.com>
10028
10029 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10030 buffer64.
10031 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10032 of casting of buffer.
10033 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10034 buffer32 and buffer64.
10035 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10036 writes instead of casting of buffer.
10037 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10038 buffer32.
10039 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10040 casting of buffer.
10041
e0e72284
AS
100422011-07-19 Andreas Schwab <schwab@redhat.com>
10043
10044 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10045
feb1eb0b
UD
100462011-07-19 Ulrich Drepper <drepper@gmail.com>
10047
10048 * nscd/nscd.c (termination_handler): Don't do anything for a database
10049 if it has not yet been initialized.
10050
298711ff
UD
100512011-07-18 Ulrich Drepper <drepper@gmail.com>
10052
10053 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10054
100552011-07-15 Marek Polacek <mpolacek@redhat.com>
10056
10057 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10058
f9d68389
UD
100592011-07-18 Ulrich Drepper <drepper@gmail.com>
10060
10061 * po/nl.po: Update from translation team.
10062 * po/sv.po: Likewise.
10063
db290cf5
RM
100642011-07-16 Roland McGrath <roland@hack.frob.com>
10065
10066 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10067 now disallowed by GCC.
5c550700 10068
fd5e21c7
RM
10069 * configure.in (use-default-link): Default to yes if a test -shared
10070 link meets our qualifications.
10071 * configure: Regenerated.
10072
5c550700
RM
10073 * config.make.in (output-format): New variable.
10074 * configure.in: Check for ld --print-output-format support.
10075 * configure: Regenerated.
10076 * Makerules ($(common-objpfx)format.lds)
10077 [$(output-format) != unknown]: Just use $(output-format),
10078 instead of the linker-script munging.
10079
9fa2c032
RM
100802011-07-14 Roland McGrath <roland@hack.frob.com>
10081
a6928d51
RM
10082 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10083 of $(common-objpfx)shlib.lds.
10084 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10085
661607b3
RM
10086 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10087 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10088
9fa2c032
RM
10089 * configure.in (-z relro check): Adjust test code to add a large
10090 writable data section after it.
10091 * configure: Regenerated.
10092
defe9061
RM
100932011-07-11 Roland McGrath <roland@hack.frob.com>
10094
10095 * configure.in (-z relro check): Fix test code to make the variable
10096 truly const.
10097 * configure: Regenerated.
10098
319b9ad4
UD
100992011-07-11 Ulrich Drepper <drepper@gmail.com>
10100
10101 * nscd/nscd.h (struct traced_file): Define.
10102 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10103 elements. Add traced_files.
10104 (inotify_fd): Declare.
10105 (register_traced_file): Declare.
10106 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10107 (inotify_fd): Export.
10108 (resolv_conf_descr): Remove.
10109 (nscd_init): Move inotify descriptor creation to main.
10110 Don't register files for notification here.
10111 (register_traced_file): New function.
10112 (invalidate_cache): Don't use reset_res to determine whether to call
10113 res_init, go through the list of registered files.
10114 (main_loop_poll): The inotify descriptors are now stored in the
10115 structures for the traced files.
10116 (main_loop_epoll): Likewise
10117 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10118 to __nss_disable_nscd.
10119 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10120 for a database anymore. Check the records for all the registered
10121 files instead.
10122 * nss/Makefile (libnss_files-routines): Add files-init.
10123 (libnss_db-routines): Add db-init.
10124 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10125 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10126 * nss/nss_db/db-init.c: New file.
10127 * nss/nss_files/files-init.c: New file.
10128 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10129 __nss_lookup_function.
10130 (__nss_lookup_function): Call nss_load_library.
10131 (nss_load_all_libraries): New function.
10132 (__nss_disable_nscd): Take parameter with callback function for files
10133 to register. Set is_nscd. Load all the DSOs for the NSS modules
10134 used for the cached services.
10135 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10136 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10137 options for features to all the files in nscd.
10138
10139 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10140
23bee3e8
RM
101412011-07-10 Roland McGrath <roland@hack.frob.com>
10142
10143 * csu/elf-init.c (__libc_csu_init): Comment typo.
10144
46a5b7f0
UD
101452011-07-09 Ulrich Drepper <drepper@gmail.com>
10146
10147 * po/pl.po: Update from translation team.
10148 * po/ja.po: Likewise.
10149 * po/ru.po: Likewise.
10150 * po/ko.po: Likewise.
10151 * po/fr.po: Likewise.
10152
d30cf5bb
RM
101532011-07-09 Roland McGrath <roland@hack.frob.com>
10154
113ddea4
RM
10155 * configure.in (.ctors/.dtors header and trailer check):
10156 Use an empirical test on a built program.
10157 * configure: Regenerated.
10158
574920b4
RM
10159 * configure.in (-z relro check): Use an empirical test on a built DSO.
10160 Detect, but do not require, on ia64.
10161 * configure: Regenerated.
10162
d30cf5bb
RM
10163 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10164 Update tests that use readelf to use $READELF instead.
10165 * configure: Regenerated.
10166
8538fdb3
UD
101672011-07-08 Ulrich Drepper <drepper@gmail.com>
10168
10169 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10170 if the result is not used.
10171
04d08991
AJ
101722011-07-05 Andreas Jaeger <aj@suse.de>
10173
10174 [BZ#9696]
10175 * stdlib/tst-strtod.c: Add testcase.
10176
de283087
AD
101772011-07-07 Ulrich Drepper <drepper@gmail.com>
10178
4e5f31c8 10179 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10180 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10181 The latter has a higher limit. Take additional parameter to pass to
10182 the new function.
10183 (__pathconf): Pass file to __statfs_link_max.
10184 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10185 __statfs_link_max.
10186 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10187 __statfs_link_max.
10188
de283087
AD
10189 [BZ #12868]
10190 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10192 Handle Lustre.
10193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10194 (__statfs_filesize_max): Likewise.
10195 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10196
c75fa153
AJ
101972011-07-05 Andreas Jaeger <aj@suse.de>
10198
10199 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10200
1a544854
UD
102012011-07-06 Marek Polacek <mpolacek@redhat.com>
10202
10203 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10204 `status' variable.
10205 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10206 Likewise.
10207
6f0eec67
UD
102082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * Makefile (strop-tests): Add strncat.
10211 * string/test-strncat.c: New file.
10212
aae30307
UD
102132011-06-30 Marek Polacek <mpolacek@redhat.com>
10214
10215 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10216
c0cfb5eb
UD
102172011-06-21 Andreas Jaeger <aj@suse.de>
10218
10219 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10220 Copy rule from iconvdata/Makefile.
10221
01636b21
UD
102222011-07-06 Ulrich Drepper <drepper@gmail.com>
10223
10224 [BZ #12922]
10225 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10226 but no long options are defined, just return 'W'.
10227
9895c8bc
UD
102282011-06-22 Marek Polacek <mpolacek@redhat.com>
10229
10230 [BZ #9696]
10231 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10232
5d4cf042
UD
102332011-07-06 Ulrich Drepper <drepper@gmail.com>
10234
10235 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10236 netgroups to read.
960e5535 10237 (innetgr): Likewise.
5d4cf042 10238
751eb97e
RM
102392011-07-05 Roland McGrath <roland@hack.frob.com>
10240
10241 * config.make.in (install_root): Default to $(DESTDIR).
10242
f15f1e45
UD
102432011-07-05 Ulrich Drepper <drepper@gmail.com>
10244
10245 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10246
4e34ac6a
RM
102472011-07-02 Roland McGrath <roland@hack.frob.com>
10248
5e9b6af4
RM
10249 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10250
84f9ea0f
RM
10251 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10252 containing directory rather than embedding absolute directory names.
10253
ea5ee9f7
RM
10254 * scripts/check-local-headers.sh: Rewritten using awk.
10255 Match by word, not by line. Print error messages for matches.
10256 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10257
1b74661a
RM
10258 * Makerules [shlib-lds-flags empty]:
10259 ($(common-objpfx)libc_pic.opts): New target.
10260 ($(common-objpfx)libc_pic.os.clean): New target.
10261 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10262
10263 * config.make.in (OBJCOPY): New variable.
10264 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10265 * configure: Regenerated.
10266
f781ef40
RM
10267 * config.make.in (use-default-link): New variable.
10268 * configure.in (use_default_link): Grok --with-default-link to set it.
10269 * configure: Regenerated.
10270 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10271 (shlib-lds, shlib-lds-flags): Define to empty.
10272
2d4fa81e
RM
10273 * Makerules (shlib-lds): New variable.
10274 (shlib-lds-flags): New variable.
10275 (build-shlib, build-moduile, build-module-asneeded): Use it.
10276 ($(common-objpfx)libc.so): Use $(shlib-lds).
10277 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10278 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10279
31fffa6b
RM
10280 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10281 DT_FLAGS/DT_FLAGS_1 with zero flags.
10282
4e34ac6a
RM
10283 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10284 linker script munging.
10285
fcfc776b
UD
102862011-07-02 Ulrich Drepper <drepper@gmail.com>
10287
10288 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10289 as 128-bit value.
10290 * crypt/sha512.c (sha512_process_block): Perform total addition using
10291 128-bit if possible.
10292 (__sha512_finish_ctx): Likewise.
10293 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10294 as 64-bit value.
10295 * crypt/sha256.c (SWAP64): Define.
10296 (sha256_process_block): Perform total addition using 64-bit if
10297 possible.
10298 (__sha256_finish_ctx): Likewise.
10299
99231d9a
UD
103002011-07-01 Ulrich Drepper <drepper@gmail.com>
10301
10302 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10304 * nscd/hstcache.c (cache_addhst): Likewise.
10305 * nscd/grpcache.c (cache_addgr): Likewise.
10306 * nscd/aicache.c (addhstaiX): Likewise
10307 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10308
445b4a53
TK
103092011-07-01 Thorsten Kukuk <kukuk@suse.de>
10310
10311 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10313 * nscd/hstcache.c (cache_addhst): Likewise.
10314 * nscd/grpcache.c (cache_addgr): Likewise.
10315 * nscd/aicache.c (addhstaiX): Likewise
10316
6d4d8e8e
AS
103172011-07-01 Andreas Schwab <schwab@redhat.com>
10318
10319 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10320 domain only when needed.
10321
89f654c5
AS
103222011-06-30 Andreas Schwab <schwab@redhat.com>
10323
10324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10325 is always restored.
10326
cf3b23ff
UD
103272011-06-29 Ulrich Drepper <drepper@gmail.com>
10328
10329 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10330 are re-adding the entry.
10331 * nscd/servicescache.c (cache_addserv): Likewise.
10332
751626f9
AJ
103332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10334
10335 * sysdeps/generic/dl-irel.h: fix protection against multiple
10336 inclusions.
10337 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10338
9113ea1f
UD
103392011-06-28 Ulrich Drepper <drepper@gmail.com>
10340
5c0b8d90
UD
10341 [BZ #12935]
10342 * malloc/memusage.sh: Fix quoting in message.
10343 * debug/xtrace.sh: Likewise.
10344
9113ea1f
UD
10345 * configure.in: Remove support for --experimental-malloc option, make
10346 it the default.
10347 * config.make.in: Likewise.
10348 * malloc/Makefile: Likewise.
10349
a4172181
AS
103502011-06-27 Andreas Schwab <schwab@redhat.com>
10351
10352 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10353 two-byte characters.
10354
78a7eee7
RM
103552011-06-27 Roland McGrath <roland@hack.frob.com>
10356
62bede13
RM
10357 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10358 AC_CACHE_CHECK invocation.
10359 * configure: Regenerated.
10360
78a7eee7
RM
10361 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10362
5ce33a62
UD
103632011-06-27 Ulrich Drepper <drepper@gmail.com>
10364
034807a9
UD
10365 [BZ #12350]
10366 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10367 bit from old_res_options.
10368
4902da17
UD
10369 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10370
5ce33a62
UD
10371 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10372 value type for setfct.
10373
c2344f56
L
103742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10377 __gettimeofday instead of gettimeofday.
10378
68468076
UD
103792011-06-26 Ulrich Drepper <drepper@gmail.com>
10380
10381 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10382
acb0d739
L
103832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10384
10385 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10386
10387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10388 info.
10389
8912479f
L
103902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10391
10392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10393 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10394 strcpy-sse2-unaligned strncpy-sse2-unaligned
10395 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10396 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10397 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10398 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10399 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10402 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10403 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10404 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10405 (STRCPY): Support SSE2 and SSSE3 versions.
10406
d5495a11
UD
104072011-06-24 Ulrich Drepper <drepper@gmail.com>
10408
10409 [BZ #12874]
10410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10411 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10412 kernels which artificially limit size of requests.
10413
0b1cbaae
L
104142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10415
10416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10417 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10418 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10419 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10420 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10421 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10422 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10423 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10426 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10427 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10428 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10429 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10430 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10432 Enable unaligned load optimization for Intel Core i3, i5 and i7
10433 processors.
10434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10435 Define.
10436 (index_Fast_Unaligned_Load): Define.
10437 (HAS_FAST_UNALIGNED_LOAD): Define.
10438
07f494a0
MP
104392011-06-23 Marek Polacek <mpolacek@redhat.com>
10440
10441 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10442
fa3fc0fe
UD
104432011-06-22 Ulrich Drepper <drepper@gmail.com>
10444
10445 [BZ #12907]
10446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10447 until it is clear that the information is realy needed.
10448 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10449
e12df166
AS
104502011-06-22 Andreas Schwab <schwab@redhat.com>
10451
10452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10453
852eb34d
UD
104542011-06-22 Ulrich Drepper <drepper@gmail.com>
10455
84e2a551
UD
10456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10457 /sys/devices/system/cpu/online if it is usable.
10458
852eb34d
UD
10459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10460 reading the information from the /proc filesystem to once a second.
10461
6e502e19
UD
104622011-06-21 Andreas Jaeger <aj@suse.de>
10463
10464 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10465 NULL after inclusion of kernel headers.
10466
75d39ff2
UD
104672011-06-21 Ulrich Drepper <drepper@gmail.com>
10468
51f9aa6a
UD
10469 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10470 calls to internal_setent.
10471
c0244a9d
UD
10472 [BZ #12885]
10473 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10474 addresses using gethostbyname4_r ignore IPv4 addresses.
10475
c5e3c2ae
UD
10476 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10477 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10478
75d39ff2
UD
10479 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10480
42675c6f
DM
104812011-06-20 David S. Miller <davem@davemloft.net>
10482
10483 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10484 inclusions.
10485 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10486
10487 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10488 (elf_irel): Use it.
10489 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10490 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10491 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10492 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10493 * sysdeps/x86_64/dl-irel.h: Likewise.
10494
10495 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10496 * elf/dl-sym.c: Likewise.
10497
57912a71
UD
104982011-06-15 Ulrich Drepper <drepper@gmail.com>
10499
10500 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10501 need to dereference resplen2.
10502
ee22793d
AS
105032011-06-14 Andreas Schwab <schwab@redhat.com>
10504
10505 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10506
a9e836b0
UD
105072011-06-15 Ulrich Drepper <drepper@gmail.com>
10508
77fb9117
UD
10509 * Makeconfig: Define vardbdir and inst_vardbdir.
10510 * nss/Makefile: Add rules to install db-Makefile.
10511
40c1b22c
UD
10512 * nss/nss_db/db-XXX.c: Cleanup.
10513
9f2da732
UD
10514 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10515 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10516 GLIBC_PRIVATE.
10517 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10518 * nss/makedb.c: Implement -g option to specify that value strings
10519 are generated and should not be added to table iterated over for
10520 get*ent calls.
10521 * nss/nss_db/db-initgroups.c: New file.
10522
82e9a1f7
UD
10523 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10524 interface.
10525
c41af17e
UD
10526 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10527 (internal_getgrouplist): Adjust to name change.
10528 Update use_initgroups_entry if this is not the first call.
10529 * nss/databases.def: Add initgroups entry.
10530
a9e836b0
UD
10531 * nss/makedb.c (compute_tables): Check result of multiple hash table
10532 sizes to minimize maximum chain length.
10533
2666d441
UD
105342011-06-14 Ulrich Drepper <drepper@gmail.com>
10535
10536 * Versions.def: Add entry for libnss_db.
10537 * shlib-versions: Likewise.
10538 * nss/Makefile: Add rules to build libnss_db.
10539 * nss/Versions: Add libnss_db information. Organize libnss_files
10540 entries better.
10541 * nss/db-Makefile: Add gshadow support. Change rules for the new
10542 makedb progra. Some minor improvements to generate smaller files.
10543 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10544 here from...
10545 * nss/makedb.c: ...here.
10546 Improve database format to be smaller and require less memory at
10547 runtime.
10548 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10549 db anymore.
10550 * nss/nss_db/db-netgrp.c: Likewise.
10551 * nss/nss_db/db-open.c: Likewise.
10552 * nss/nss_files/flies-XXX.x: Adjust comments.
10553 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10554 * nss/nss_files/files-grp.c: Likewise.
10555 * nss/nss_files/files-hosts.c: Likewise.
10556 * nss/nss_files/files-network.c: Likewise.
10557 * nss/nss_files/files-proto.c: Likewise.
10558 * nss/nss_files/files-pwd.c: Likewise.
10559 * nss/nss_files/files-rpc.c: Likewise.
10560 * nss/nss_files/files-service.c: Likewise.
10561 * nss/nss_files/files-sgrp.c: Likewise.
10562 * nss/nss_files/files-spwd.c: Likewise.
10563 * nss/nss_db/db-alias.c: Removed.
10564 * nss/nss_db/dummy-db.h: Removed.
10565
9ee76b5a
UD
105662011-06-02 Ulrich Drepper <drepper@gmail.com>
10567
10568 * nss/makedb.c: Rewritten to not use database library.
10569 * nss/Makefile: Update to build new makedb program.
10570
c71ca1f8
AJ
105712011-06-14 Andreas Jaeger <aj@suse.de>
10572
10573 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10574 memset declaration.
10575
3154bfb8
UD
105762011-06-10 Andreas Schwab <schwab@redhat.com>
10577
10578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10579 tmpbuf.
10580
b350afab
RM
105812011-06-10 Roland McGrath <roland@hack.frob.com>
10582
decd4e50
RM
10583 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10584 * elf/Makefile ($(objpfx)ld.so): Likewise.
10585
5615eaf2
RM
10586 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10587 Don't list ld.so twice in dependencies.
10588
10589 * posix/bug-regex31.c: Include <stdlib.h>.
10590
10591 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10592
10593 * nis/nss_compat/compat-spwd.c
10594 (getspent_next_nss_netgr): Remove unused variable.
10595 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10596
10597 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10598 nonmembers" output to use the right array.
10599
10600 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10601
10602 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10603
10604 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10605 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10606 * catgets/gencat.c (read_input_file): Likewise.
10607 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10608
10609 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10610 variable definition inside #if's controlling its use.
10611
10612 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10613
10614 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10615
10616 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10617
10618 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10619 unreachable code.
10620
10621 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10622
b68e08db
RM
10623 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10624 * configure: Regenerated.
10625
b350afab
RM
10626 * Makerules: Revert last change.
10627 * elf/Makefile: Likewise.
10628
28368601
RM
106292011-06-09 Roland McGrath <roland@hack.frob.com>
10630
10631 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10632 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10633 (reloc-link): Likewise.
10634
11988f8f
UD
106352011-06-09 Ulrich Drepper <drepper@gmail.com>
10636
10637 * elf/Makefile: Add rules to build pldd.
10638 * elf/pldd.c: New file.
10639 * elf/pldd-xx.c: New file.
10640
e80fab37
UD
106412011-06-07 Ulrich Drepper <drepper@gmail.com>
10642
10643 * version.h: Update for 2.15 development version.
10644
9b849836
DM
106452011-06-07 David S. Miller <davem@davemloft.net>
10646
10647 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10648 ifuncs.
10649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10650 elf_machine_lazy_rel): Likewise.
10651 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10653 elf_machine_lazy_rel): Likewise.
10654 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10655 dl_hwcap via passed in argument.
10656 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10657 Likewise.
10658
5a31b283
AK
106592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10660
10661 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10662
069e52f8
RM
106632011-06-06 Roland McGrath <roland@hack.frob.com>
10664
10665 [BZ #12849]
10666 * manual/fdl-1.1.texi: New file, verbatim from:
10667 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10668 * manual/lgpl-2.1.texi: New file, verbatim from:
10669 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10670 * manual/Makefile (licenses): New variable, list those new file names.
10671 (texis): Use it.
10672 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10673
10674 * manual/fdl.texi: File removed.
10675 * manual/lesser.texi: File removed.
10676 * manual/libc.texinfo (Copying, Documentation License):
10677 Use new @include file names, put @appendix directive before @include.
10678
f16846a5
JJ
106792011-06-04 Jakub Jelinek <jakub@redhat.com>
10680
10681 [BZ #12841]
10682 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10683 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10684 (mq_open): Add __NTH.
10685
3d29045b
L
106862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10689 Assume Intel Core i3/i5/i7 processor if AVX is available.
10690
8c297311
UD
106912011-05-31 Ulrich Drepper <drepper@gmail.com>
10692
10693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10694 typo.
10695
c8fc0c91
UD
106962011-05-31 Andreas Schwab <schwab@redhat.com>
10697
10698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10699 memory. Use alloca_account. Fix memory leak when retrying.
10700
5b27a807
UD
107012011-05-31 Ulrich Drepper <drepper@gmail.com>
10702
356f8bc6
UD
10703 * version.h (RELEASE): Bump for 2.14 release.
10704 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10705
5b27a807
UD
10706 * config.make.in (RANLIB): Remove entry.
10707
01f16ab0
UD
107082011-05-30 Ulrich Drepper <drepper@gmail.com>
10709
41fce8bd
UD
10710 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10711 (libc.pot): Work around missing support for .ksh extension in xgettext.
10712
4769ae77
UD
10713 [BZ #12684]
10714 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10715 if both request failed.
10716 (send_dg): In case of server errors clear resplen or *resplen2.
10717
6b1e7d19
UD
10718 [BZ #12454]
10719 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10720 when there are multiple maps.
10721 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10722 (_dl_fini): Remove test here.
10723
01f16ab0
UD
10724 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10725
b1ebd700
UD
107262011-05-29 Ulrich Drepper <drepper@gmail.com>
10727
7ae22829
UD
10728 [BZ #12350]
10729 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10730 bit from old_res_options.
10731 (gaih_inet): Likewise.
10732
553149f6 10733 [BZ #11099]
18a84741 10734 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10735 as signed.
10736
652ffab1
UD
10737 * resolv/res_init.c (res_setoptions): Make the code more compact.
10738
16985fd0
UD
10739 [BZ #11558]
10740 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10741 set RES_USEVC.
10742
0464f746
UD
10743 [BZ #11634]
10744 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10745
7d17596c
UD
10746 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10747
cf6bbbd7
UD
10748 [BZ #11781]
10749 * malloc/malloc.h: Declare malloc hook variables as volatile.
10750
13f1ab36
UD
10751 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10752 in last patch.
10753
b1ebd700
UD
10754 [BZ #11799]
10755 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10756 raise in the comment.
80e2212d
UD
10757 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10759 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10760
ce67228d
UD
107612011-05-28 Ulrich Drepper <drepper@gmail.com>
10762
8887a920
UD
10763 [BZ #12811]
10764 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10765 grow the buffers more if it already has to be sufficient.
10766 (build_wcs_upper_buffer): Likewise.
10767 * posix/regexec.c (check_matching): Likewise.
10768 (clean_state_log_if_needed): Likewise.
10769 (extend_buffers): Don't enlarge buffers beyond size of the input
10770 buffer.
10771 Patches mostly by Emil Wojak <emil@wojak.eu>.
10772 * posix/bug-regex32.c: New file.
10773 * posix/Makefile (tests): Add bug-regex32.
10774
4f031072
UD
10775 * locale/findlocale.c (_nl_find_locale): Return right away if
10776 _nl_explode_name failed.
10777 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10778
d0478f0c
UD
10779 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10780
de81b246
UD
10781 * debug/xtrace.sh: Unify messages.
10782 * malloc/memusage.sh: Likewise.
10783
c738465a
UD
10784 [BZ #12813]
10785 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10786 time symbol from vDSO. Substitute with vsyscall if not available.
10787 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10788 __vdso_time.
10789
f1f929d7
UD
10790 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10791 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10792 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10793 Add sendmmsg and internal_sendmmsg.
10794 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10795 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10796 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10797
ce67228d
UD
10798 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10799 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10800 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10801
e57420c6
UD
108022011-05-27 Ulrich Drepper <drepper@gmail.com>
10803
a8509ca5
UD
10804 [BZ #12813]
10805 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10806 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10807 available.
10808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10809 __vdso_getcpu.
10810
e57420c6
UD
10811 [BZ #12814]
10812 * iconvdata/Makefile (tests): Add bug-iconv9.
10813 * iconvdata/bug-iconv9.c: New file.
10814
4d07db15
AS
108152011-05-27 Andreas Schwab <schwab@redhat.com>
10816
10817 [BZ #12814]
10818 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10819
ea486f69
JJ
108202011-05-25 Jakub Jelinek <jakub@redhat.com>
10821
10822 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10823 (struct user_regs_struct): Change intcs field back to cs.
10824
6f038433
UD
108252011-05-25 Ulrich Drepper <drepper@gmail.com>
10826
10827 * po/ja.po: Update from translation team.
10828
67f86a25
UD
108292011-05-23 Ulrich Drepper <drepper@gmail.com>
10830
10831 [BZ #12795]
10832 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10833 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10834
def7fbd6
AS
108352011-05-20 Andreas Schwab <schwab@redhat.com>
10836
10837 * stdlib/longlong.h: Update from GCC.
10838
f50ef8f1
AS
108392011-05-23 Andreas Schwab <schwab@redhat.com>
10840
10841 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10842 parameter name.
10843 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10844 Add parameter name.
10845 (__sysconf): Pass it down.
10846
de7ce8f1
UD
108472011-05-22 Ulrich Drepper <drepper@gmail.com>
10848
f2962a71
UD
10849 [BZ #12671]
10850 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10851 some situations.
10852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10853 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10854 add in in __libc_use_alloca calls. Adjust callers.
10855 (glob): Use malloc in some situations.
10856
de7ce8f1
UD
10857 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10858 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10859 pltexit.
10860
aec84f53
UD
108612011-05-21 Ulrich Drepper <drepper@gmail.com>
10862
05bb4a68
UD
10863 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10864 and CLOCK_BOOTTIME_ALARM.
10865
7ea72f99
UD
10866 [BZ #12782]
10867 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10868 is returned.
10869
7e4afad5
UD
10870 * string/_strerror.c (__strerror_r): Print negative errors as signed
10871 numbers.
10872
8e211fec
UD
10873 [BZ #12777]
10874 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10875 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10876 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10877
f7d82dc9
UD
10878 * configure.in: Fix typo in redirection and correct removal of test
10879 files in two cases.
10880
cc9e536d
UD
10881 [BZ #12788]
10882 * locale/setlocale.c (new_composite_name): Fix test to check for
10883 identical name of all categories.
10884
aec84f53
UD
10885 [BZ #12792]
10886 * libio/filedoalloc.c (local_isatty): New function.
10887 (_IO_file_doallocate): Use local_isatty.
10888 * stdio-common/perror.c (perror): In case a new stream is used
10889 forward the stream error.
10890 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10891 error flag.
10892
78e64fdc
RT
108932011-05-20 Ulrich Drepper <drepper@gmail.com>
10894
34a9094f
UD
10895 [BZ #11869]
10896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10897 alloca.
10898 * include/alloca.h (extend_alloca_account): Define.
10899
78e64fdc
RT
10900 [BZ #11857]
10901 * posix/regex.h: Fix comments with documentation of user-accessible
10902 fields after compilation and describe correct free'ing of pattern
10903 after re_compile_pattern.
10904 Patch by Reuben Thomas <rrt@sc3d.org>.
10905
457bddfc
RA
109062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10907
10908 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10909 and -mno-altivec to prevent the compiler from using Altivec and/or
10910 VSX instructions when the corresponding registers are not available.
10911
a4527b51
AS
109122011-05-19 Andreas Schwab <schwab@redhat.com>
10913
10914 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10915
ed690b2f
UD
109162011-05-19 Ulrich Drepper <drepper@gmail.com>
10917
10918 * libio/freopen.c (freopen): Use __dup2, not dup2.
10919 * libio/freopen64.c (freopen64): Likewise.
10920
8db73634
L
109212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10922
10923 [BZ #12775]
10924 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10925 * math/Makefile (tests): Add test-powl.
10926 (CFLAGS-test-powl.c): Define.
10927 * math/test-powl.c: New file.
10928
0a197a9d
L
109292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10930
10931 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10932
ee30c380
UD
109332011-05-17 Ulrich Drepper <drepper@gmail.com>
10934
10935 [BZ #11837]
10936 * iconvdata/gb18030.c: Update to GB18020-2005.
10937
6ce75379
UD
109382011-05-16 Ulrich Drepper <drepper@gmail.com>
10939
a4b89fd8
AR
10940 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10941 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10942 Patch by Aharon Robbins <arnold@skeeve.com>.
10943
ea389b12
UD
10944 [BZ #11892]
10945 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10946 on the stack.
10947
68a3f91f
UD
10948 [BZ #11895]
10949 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10950 through underflows.
10951
15cc7dd1
UD
10952 [BZ #12766]
10953 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10954 point to strings before performing equality test for error_one_per_line
10955 mode.
10956
f3799213
UD
10957 [BZ #11697]
10958 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10959
d79a9c94
UD
10960 [BZ #11820]
10961 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10962 (struct user_fpregs_struct): Avoid __uint*_t types.
10963
56e5eb46
UD
10964 [BZ #6420]
10965 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10966 symbol info. Use it instead of calling _dl_addr locally.
10967 (lock_and_info): New function.
10968 (tr_freehook): Call lock_and_info and pass symbol info as additional
10969 parameter to tr_where.
10970 (tr_mallochook): Likewise.
10971 (tr_reallochook): Likewise.
10972 (tr_memalignhook): Likewise.
10973
6ce75379
UD
10974 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10975 used and couldn't be at all thread-safe.
10976
f8a3b5bf
UD
109772011-05-15 Ulrich Drepper <drepper@gmail.com>
10978
94b7cc37
UD
10979 * libio/freopen.c (freopen): Don't close old file descriptor
10980 before the new one is opened. Instead dup the new file descriptor
10981 to the old one after the new stream is created.
10982 * libio/freopen64.c (freopen64): Likewise.
10983 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10984 * libio/fileops.c (_IO_new_file_close_it): Handle new
10985 _IO_FLAGS2_NOCLOSE flag.
10986 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10987 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10988 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10989 _IO_FLAGS2_NOCLOSE flag.
10990 * include/unistd.h: Add hidden_proto for dup3.
10991 Define __have_dup3.
10992 * io/dup3.c: Define hidden symbol.
10993 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10994
bd25564e
UD
10995 [BZ #7101]
10996 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10997 when an incomplete long option is used.
10998 * posix/tst-getopt_long1.c: New file.
10999 * posix/Makefile (tests): Add tst-getopt_long1.
11000
c84cfef4
UD
11001 [BZ #10138]
11002 * scripts/config.guess: Update from autoconf-2.68.
11003 * scripts/config.sub: Likewise.
11004
3b85df27
UD
11005 [BZ #10157]
11006 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11007 tests into ...
11008 (has_cpuclock): ...this. New function.
11009 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11010 macro here based on has_cpuclock code.
11011
15a856b1
UD
11012 [BZ #10149]
11013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11014 First byte (not low byte) is now always NUL.
11015 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11016
05f399e6
UD
11017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11018 Use non-cancelable interfaces.
11019
10a52685 11020 [BZ #9809]
94ecc67d
UD
11021 * locale/iso-639.def: Add entry for Sorani.
11022
f8a3b5bf
UD
11023 [BZ #11901]
11024 * include/stdlib.h: Move include protection to the right place.
11025 Define abort_msg_s. Declare __abort_msg with it.
11026 * stdlib/abort.c (__abort_msg): Adjust type.
11027 * assert/assert.c (__assert_fail_base): New function. Majority
11028 of code from __assert_fail. Allocate memory for __abort_msg with
11029 mmap.
11030 (__assert_fail): Now call __assert_fail_base.
11031 * assert/assert-perr.c: Remove bulk of implementation. Use
11032 __assert_fail_base.
11033 * include/assert.hL Declare __assert_fail_base.
11034 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11035 mmap.
11036 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11037
1af4e298
UD
110382011-05-14 Ulrich Drepper <drepper@gmail.com>
11039
f8a3b5bf 11040 [BZ #11952]
d26dfc60
MG
11041 [BZ #12453]
11042 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11043 until all modules are registered in the DTV.
11044 * elf/Makefile: Add rules to build and run tst-tls19.
11045 * elf/tst-tls19.c: New file.
11046 * elf/tst-tls19mod1.c: New file.
11047 * elf/tst-tls19mod2.c: New file.
11048 * elf/tst-tls19mod3.c: New file.
11049 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11050
2fc54d6f
UD
11051 [BZ #12083]
11052 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11053 correctly.
11054
98d76b46
UD
11055 [BZ #12601]
11056 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11057 two-byte sequence errors.
11058 * iconvdata/Makefile (tests): Add bug-iconv8.
11059 * iconvdata/bug-iconv8.c: New file.
11060
da3c19ef
UD
11061 [BZ #12626]
11062 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11063 buf2 definition.
11064
ca408c15
UD
11065 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11066
d6f67f7d
UD
11067 [BZ #12432]
11068 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11069 (dummy_getcfa): New function.
11070 (init): Get _Unwind_GetCFA address, use dummy if not found.
11071 (backtrace_helper): In recursion check, also check whether CFA changes.
11072 (__backtrace): Completely initialize arg.
11073
1af4e298 11074 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11075 storing incomplete byte sequence in state object. Avoid testing for
11076 guaranteed too small input if we know there is enough data available.
1af4e298 11077
da62f81b
AS
110782011-05-11 Andreas Schwab <schwab@redhat.com>
11079
11080 * Makeconfig (+link-pie): Indent.
11081 * Rules (binaries-pie): Define if $(have-fpie) and
11082 $(build-shared).
11083 (binaries-shared): Also filter out $(binaries-pie).
11084 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11085 * nscd/Makefile (others-pie): Add nscd.
11086 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11087 ($(objpfx)nscd): Remove command override.
11088 * login/Makefile (others-pie): Add pt_chown.
11089 ($(objpfx)pt_chown): Remove command override.
11090 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11091 remove command overrides.
11092
fcabc0f8
UD
110932011-05-13 Ulrich Drepper <drepper@gmail.com>
11094
20030ae6
UD
11095 * libio/tst_putwc.c: Fix error messages.
11096
fcabc0f8
UD
11097 [BZ #12724]
11098 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11099 currently writing and seek to current position when not.
11100 * libio/Makefile (tests): Add bug-fclose1.
11101 * libio/bug-fclose1.c: New file.
11102
320a5dc0
PB
111032011-05-12 Ulrich Drepper <drepper@gmail.com>
11104
11105 [BZ #12511]
11106 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11107 don't set DF_1_NODELETE here.
11108 (do_lookup_x): When entering new entry test for copy relocation
11109 and if necessary set DF_1_NODELETE flag.
11110 * elf/tst-unique4.cc: New file.
11111 * elf/tst-unique4.h: New file.
11112 * elf/tst-unique4lib.cc: New file.
11113 * elf/Makefile: Add rules to build and run tst-unique4.
11114 Patch by Piotr Bury <pbury@goahead.com>.
11115
22836f52
UD
111162011-05-11 Ulrich Drepper <drepper@gmail.com>
11117
f574184a
UD
11118 [BZ #12052]
11119 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11120
e1fb097f
UD
11121 [BZ #12625]
11122 * misc/mntent_r.c (addmntent): Flush the stream after the output
11123
22836f52
UD
11124 [BZ #12393]
11125 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11126 (is_trusted_path_normalize): Skip initial colon. Append slash
11127 to empty buffer. Duplicate is_trusted_path code but allow
11128 constructed patch to be prefix.
11129 (is_dst): Allow $ORIGIN followed by /.
11130 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11131 Correct testing of result of is_trusted_path_normalize
11132 (decompose_rpath): Fix warning.
11133
7b3b0b2a
UD
111342011-05-10 Ulrich Drepper <drepper@gmail.com>
11135
11136 [BZ #11257]
11137 * grp/initgroups.c (internal_getgrouplist): When we found the service
11138 list through the initgroups entry in nsswitch.conf do not always
11139 continue on a successful lookup. Don't always use the
eac80ce2 11140 __nss_group_database value if it is set.
7b3b0b2a
UD
11141 * nss/nsswitch.conf (initgroups): Change action for successful db
11142 lookup to continue for compatibility.
11143
2a81eaa5
UD
111442011-05-09 Ulrich Drepper <drepper@gmail.com>
11145
be97a69e
UD
11146 [BZ #11532]
11147 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11148 and CP774 modules.
11149 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11150 and CP774 modules.
11151 * iconvdata/tst-tables.sh: Likewise.
11152 * iconvdata/cp770.c: New file.
11153 * iconvdata/cp771.c: New file.
11154 * iconvdata/cp772.c: New file.
11155 * iconvdata/cp773.c: New file.
11156 * iconvdata/cp774.c: New file.
11157 * iconvdata/testdata/CP770: New file.
11158 * iconvdata/testdata/CP770..UTF8: New file.
11159 * iconvdata/testdata/CP771: New file.
11160 * iconvdata/testdata/CP771..UTF8: New file.
11161 * iconvdata/testdata/CP772: New file.
11162 * iconvdata/testdata/CP772..UTF8: New file.
11163 * iconvdata/testdata/CP773: New file.
11164 * iconvdata/testdata/CP773..UTF8: New file.
11165 * iconvdata/testdata/CP774: New file.
11166 * iconvdata/testdata/CP774..UTF8: New file.
11167
11168 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11169 END CHARMAP line.
11170 * iconvdata/gen-8bit-gap.sh: Likewise.
11171 * iconvdata/gen-8bit.sh: Likewise.
11172
c1e9e399
UD
11173 * locale/iso-639.def: Add ary entry.
11174
24c55fb3 11175 [BZ #11258]
96b4b1b0
UD
11176 * locale/C-translit.h.in: Add U20A1 transliteration.
11177
bdc2f971
KB
11178 [BZ #12178]
11179 * locale/iso-639.def: Add wae entry.
11180 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11181
2952b117
UD
11182 [BZ #12545]
11183 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11184 for n.
11185
2a81eaa5
UD
11186 [BZ #12711]
11187 * locale/C-translit.h.in: Add entry for U20B9.
11188 Patch by pravin.d.s@gmail.com.
11189
28377d1b
UD
111902011-05-08 Ulrich Drepper <drepper@gmail.com>
11191
7fb90fb8
UD
11192 [BZ #12713]
11193 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11194 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11195 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11196 in rtld. Use *stat64.
7fb90fb8 11197 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11198 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11199 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11200 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11201 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11202 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11203 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11204 __fstatat64 macros.
7fb90fb8
UD
11205 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11206 * dirent/rewinddir.c: Add libc_hidden_def.
11207 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11208 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11209
28377d1b
UD
11210 * include/dirent.h (__alloc_dir): Add flags parameter.
11211 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11212 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11213 __alloc_dir.
11214 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11215 from fdopendir if O_CLOEXEC is already set.
11216
66bdbaa4
AM
112172011-03-15 Alan Modra <amodra@gmail.com>
11218
11219 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11220 l_tls_firstbyte_offset non-zero. Save padding offset in
11221 l_tls_firstbyte_offset for later use.
11222 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11223 freeing static tls block.
11224
95721191
JN
112252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11226
11227 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11228 where #ifdef was intended. The intent is to prevent ARG_MAX from
11229 being defined by the kernel headers.
11230
f87dfb1f
UD
112312011-05-07 Ulrich Drepper <drepper@gmail.com>
11232
11233 [BZ #12734]
11234 * resolv/resolv.h: Define RES_NOTLDQUERY.
11235 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11236 no-tld-query and set RES_NOTLDQUERY.
11237 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11238 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11239 modern BIND to search name as TLD unless forbidden.
11240
47c3cd7a
UD
112412011-05-07 Petr Baudis <pasky@suse.cz>
11242 Ulrich Drepper <drepper@gmail.com>
11243
11244 [BZ #12393]
11245 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11246 (is_trusted_path): ...to here.
c1e9ea35 11247 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11248 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11249 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11250
8a35c912
PP
112512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11252
11253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11254 __BEGIN/__END_DECLS.
11255
acd41f47
UD
112562011-05-06 Ulrich Drepper <drepper@gmail.com>
11257
11258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11259 NSS_STATUS_NOTFOUND if no record was found.
11260
597df647
AS
112612011-05-05 Andreas Schwab <schwab@redhat.com>
11262
11263 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11264 (headers-not-in-tirpc): Remove rpc/netdb.h
11265 * resolv/netdb.h: Revert last change.
11266
b9af1301
PP
112672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11268
11269 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11270 circular dependency between libgcc.a and libc.a.
11271
4e34d5f5
AS
112722011-05-05 Andreas Schwab <schwab@redhat.com>
11273
11274 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11275 * nis/Makefile: Don't install rpcsvc/*.
11276 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11277 instead of <rpc/types.h>.
11278 (MAXHOSTNAMELEN): Define.
11279
00ee369c
AS
112802011-05-03 Andreas Schwab <schwab@redhat.com>
11281
11282 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11283
0b592a30
MB
112842011-04-28 Maciej Babinski <mbabinski@google.com>
11285
11286 [BZ #12714]
11287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11288 gethostbyname4_r when IPv6 results are possible.
11289
6e04cbbe
UD
112902011-05-02 Ulrich Drepper <drepper@gmail.com>
11291
11292 [BZ #12723]
11293 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11294 _PC_PIPE_BUF handling.
11295
e4ecafe0
BH
112962011-04-30 Bruno Haible <bruno@clisp.org>
11297
11298 [BZ #12717]
11299 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11300 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11301 to 'int'.
11302 * inet/getnameinfo.c (getnameinfo): Likewise.
11303
125ee683
UD
113042011-04-29 Ulrich Drepper <drepper@gmail.com>
11305
11306 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11307 to groups setting in database lookup.
11308 * nss/nsswitch.conf: Add initgroups entry.
11309
b722481a
EB
113102011-04-22 Ulrich Drepper <drepper@gmail.com>
11311
11312 [BZ #12685]
11313 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11314 mode string.
11315 Patch by Eric Blake <eblake@redhat.com>.
11316
4df46dbd
L
113172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11318
11319 * sunrpc/Makefile (need-export-routines): Add svc_run.
11320 (routines): Remove svc_run.
11321 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11322 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11323 * sunrpc/svc_run.c (svc_run): Likewise.
11324 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11325
e84142d2
UD
113262011-04-21 Ulrich Drepper <drepper@gmail.com>
11327
11328 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11329 problem in reallocation in last patch.
11330
877175d8
UD
113312011-04-20 Ulrich Drepper <drepper@gmail.com>
11332
11333 * sunrpc/Makefile: Move inclusion of Rules.
11334
ab8eed78
UD
113352011-04-19 Ulrich Drepper <drepper@gmail.com>
11336
11337 * nss/nss_files/files-initgroups.c: New file.
11338 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11339 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11340 _nss_files_initgroups_dyn.
11341
e3d8f584
RS
113422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11343
11344 * elf/elf.h (R_ARM_IRELATIVE): Define.
11345
af190f45
UD
113462011-04-19 Ulrich Drepper <drepper@gmail.com>
11347
11348 * po/ru.po: Update from translation team.
11349
53cf59ef
UD
113502011-04-17 Ulrich Drepper <drepper@gmail.com>
11351
11352 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11353 dependencies.
11354
4c559bcd
MF
113552011-02-06 Mike Frysinger <vapier@gentoo.org>
11356
11357 [BZ #12653]
11358 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11359 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11360 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11362 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11363
4420675c
AS
113642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11365
11366 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11367 differing bytes.
11368 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11369 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11370 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11371
75ea32ab
UD
113722011-04-17 Ulrich Drepper <drepper@gmail.com>
11373
11374 [BZ #12420]
11375 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11376 storing it.
11377 * stdlib/bug-getcontext.c: New file.
11378 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11379
27390476
AK
113802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11381
11382 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11383 instructions into .machine "z9-109".
11384 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11385 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11386
10442705
AK
113872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11388
11389 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11390 between environment variables and auxiliary vector.
11391
7b57bfe5
UD
113922011-04-16 Ulrich Drepper <drepper@gmail.com>
11393
11394 * Makefile: Add rules to build linkobj/libc.so.
11395 * include/libc-symbols.h: Define libc_hidden_nolink.
11396 * include/rpc/auth.h: Mark functions which are to be hidden.
11397 * include/rpc/auth_des.h: Likewise.
11398 * include/rpc/auth_unix.h: Likewise.
11399 * include/rpc/clnt.h: Likewise.
11400 * include/rpc/des_crypt.h: Likewise.
11401 * include/rpc/key_prot.h: Likewise.
11402 * include/rpc/pmap_clnt.h: Likewise.
11403 * include/rpc/pmap_prot.h: Likewise.
11404 * include/rpc/pmap_rmt.h: Likewise.
11405 * include/rpc/rpc_msg.h: Likewise.
11406 * include/rpc/svc.h: Likewise.
11407 * include/rpc/svc_auth.h: Likewise.
11408 * include/rpc/xdr.h: Likewise.
11409 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11410 * nss/Makefile: Likewise.
11411 * sunrpc/Makefile: Don't install headers. Build library with normal
11412 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11413 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11414 for the compat linking library. Remove use of INTDEF/INTUSE.
11415 * sunrpc/auth_none.c: Likewise.
11416 * sunrpc/auth_unix.c: Likewise.
11417 * sunrpc/authdes_prot.c: Likewise.
11418 * sunrpc/authuxprot.c: Likewise.
11419 * sunrpc/clnt_gen.c: Likewise.
11420 * sunrpc/clnt_perr.c: Likewise.
11421 * sunrpc/clnt_raw.c: Likewise.
11422 * sunrpc/clnt_simp.c: Likewise.
11423 * sunrpc/clnt_tcp.c: Likewise.
11424 * sunrpc/clnt_udp.c: Likewise.
11425 * sunrpc/clnt_unix.c: Likewise.
11426 * sunrpc/des_crypt.c: Likewise.
11427 * sunrpc/des_soft.c: Likewise.
11428 * sunrpc/get_myaddr.c: Likewise.
11429 * sunrpc/key_call.c: Likewise.
11430 * sunrpc/key_prot.c: Likewise.
11431 * sunrpc/netname.c: Likewise.
11432 * sunrpc/pm_getmaps.c: Likewise.
11433 * sunrpc/pm_getport.c: Likewise.
11434 * sunrpc/pmap_clnt.c: Likewise.
11435 * sunrpc/pmap_prot.c: Likewise.
11436 * sunrpc/pmap_prot2.c: Likewise.
11437 * sunrpc/pmap_rmt.c: Likewise.
11438 * sunrpc/publickey.c: Likewise.
11439 * sunrpc/rpc_cmsg.c: Likewise.
11440 * sunrpc/rpc_common.c: Likewise.
11441 * sunrpc/rpc_dtable.c: Likewise.
11442 * sunrpc/rpc_prot.c: Likewise.
11443 * sunrpc/rpc_thread.c: Likewise.
11444 * sunrpc/rtime.c: Likewise.
11445 * sunrpc/svc.c: Likewise.
11446 * sunrpc/svc_auth.c: Likewise.
11447 * sunrpc/svc_authux.c: Likewise.
11448 * sunrpc/svc_raw.c: Likewise.
11449 * sunrpc/svc_run.c: Likewise.
11450 * sunrpc/svc_simple.c: Likewise.
11451 * sunrpc/svc_tcp.c: Likewise.
11452 * sunrpc/svc_udp.c: Likewise.
11453 * sunrpc/svc_unix.c: Likewise.
11454 * sunrpc/svcauth_des.c: Likewise.
11455 * sunrpc/xcrypt.c: Likewise.
11456 * sunrpc/xdr.c: Likewise.
11457 * sunrpc/xdr_array.c: Likewise.
11458 * sunrpc/xdr_float.c: Likewise.
11459 * sunrpc/xdr_intXX_t.c: Likewise.
11460 * sunrpc/xdr_mem.c: Likewise.
11461 * sunrpc/xdr_rec.c: Likewise.
11462 * sunrpc/xdr_ref.c: Likewise.
11463 * sunrpc/xdr_sizeof.c: Likewise.
11464 * sunrpc/xdr_stdio.c: Likewise.
11465
e6c61494
UD
114662011-04-10 Ulrich Drepper <drepper@gmail.com>
11467
11468 [BZ #12650]
11469 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11470 * sysdeps/ia64/dl-tls.h: Likewise.
11471 * sysdeps/powerpc/dl-tls.h: Likewise.
11472 * sysdeps/s390/dl-tls.h: Likewise.
11473 * sysdeps/sh/dl-tls.h: Likewise.
11474 * sysdeps/sparc/dl-tls.h: Likewise.
11475 * sysdeps/x86_64/dl-tls.h: Likewise.
11476 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11477
34fe483e
AS
114782011-03-14 Andreas Schwab <schwab@redhat.com>
11479
11480 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11481 rpath element also skip the following colon.
11482 (expand_dynamic_string_token): Add is_path parameter and pass
11483 down to DL_DST_REQUIRED and _dl_dst_substitute.
11484 (decompose_rpath): Call expand_dynamic_string_token with
11485 non-zero is_path. Ignore empty rpaths.
11486 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11487 with zero is_path.
11488
f12a32e6
AS
114892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11490
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11492 Make cancelable.
11493
38a7d692
UD
114942011-04-09 Ulrich Drepper <drepper@gmail.com>
11495
11496 [BZ #12655]
11497 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11498 Patch by Filipe David Manana <fdmanana@apache.org>.
11499
e451d22b
AS
115002011-04-07 Andreas Schwab <schwab@redhat.com>
11501
11502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11503 Maintain aligned stack.
11504 (CHECK_RSP): Remove unused macro.
11505
dedc7c7b
UD
115062011-04-03 Ulrich Drepper <drepper@gmail.com>
11507
11508 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11510
94521213
UD
115112011-04-02 Ulrich Drepper <drepper@gmail.com>
11512
11513 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11514
8cb700c0 11515 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11516
0354e355
L
115172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11518
11519 [BZ #12518]
11520 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11521 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11522 * sysdeps/x86_64/memmove.c: New file.
11523 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11524 (memcpy): Renamed to ...
11525 (__new_memcpy): This.
11526 (memcpy): Provide GLIBC_2_14 memcpy.
11527 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11528 (memcpy): Provide GLIBC_2_2_5 memcpy.
11529
8593482f
UD
115302011-04-01 Ulrich Drepper <drepper@gmail.com>
11531
11532 [BZ #12631]
11533 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11534
81a5726b
AS
115352011-03-30 Andreas Schwab <schwab@redhat.com>
11536
11537 * misc/syncfs.c: New file.
11538 * misc/Makefile (routines): Add syncfs.
11539 * posix/unistd.h: Declare syncfs.
11540 * sysdeps/unix/syscalls.list: Add syncfs.
11541
00e5419f
AS
115422011-04-01 Andreas Schwab <schwab@redhat.com>
11543
11544 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11545 open_by_handle_at.
11546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11549 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11551 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11553
748876bf
UD
115542011-04-01 Ulrich Drepper <drepper@gmail.com>
11555
658e451d
UD
11556 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11557 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11562 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11563
748876bf
UD
11564 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11565 sync_file_range.c with -fexceptions.
11566 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11567 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11568 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11569 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11570 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11571 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11573 sync_file_range as cancellation point
11574 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11575 now a wrapper around __call_sync_file_range with cancellation handling.
11576 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11577 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11578 function name to __call_sync_file_range.
11579 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11580 Add call_sync_file_range.
748876bf 11581
6e63d5e1
AS
115822011-04-01 Andreas Schwab <schwab@redhat.com>
11583
11584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11585 bits/timex.h.
6e63d5e1 11586
46998f74
UD
115872011-04-01 Ulrich Drepper <drepper@gmail.com>
11588
4c1423ed
UD
11589 * iconv/iconv.h: Fix typo in comment.
11590 * io/fcntl.h: Likewise.
11591 * libio/stdio.h: Likewise.
11592 * posix/spawn.h: Likewise.
11593 * posix/unistd.h: Likewise.
11594 * stdlib/stdlib.h: Likewise.
11595 * time/time.h: Likewise.
11596 * wcsmbs/wchar.h: Likewise.
11597
158648c0
UD
11598 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11599 open_by_handle): Add.
11600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11601 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11602 Augment a few comments.
11603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11605 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11608 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11609 open_by_handle.
11610
46998f74
UD
11611 * io/fcntl.h (AT_EMPTY_PATH): Define.
11612
83fe108b
UD
116132011-03-30 Ulrich Drepper <drepper@gmail.com>
11614
11615 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11616 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11617 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11618 to...
11619 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11620 * Versions.def: Add GLIBC_2.14.
11621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11622 Export.
83fe108b 11623
bb242059
UD
116242011-03-22 Ulrich Drepper <drepper@gmail.com>
11625
11626 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11627 round counter.
11628 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11629
c97a1282
L
116302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 [BZ #12597]
11633 * string/test-strncmp.c (do_page_test): New function.
11634 (check2): Likewise.
11635 (test_main): Call check2.
11636 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11637
2a115601
UD
116382011-03-20 Ulrich Drepper <drepper@gmail.com>
11639
11640 [BZ #12587]
11641 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11642 Handle cache information in CPU leaf 4.
11643 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11644
8126d904
UD
116452011-03-18 Ulrich Drepper <drepper@gmail.com>
11646
042c49c6 11647 [BZ #12583]
8126d904
UD
11648 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11649 character representation.
11650 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11651
ccfe366e
RA
116522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11653
11654 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11655 END(__isnan) to END(__isnanf) to match function entry point/label
11656 EALIGN(__isnanf,...).
11657
c6e13027
JJ
116582011-03-10 Jakub Jelinek <jakub@redhat.com>
11659
11660 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11661
33f85a3f
UD
116622011-03-10 Ulrich Drepper <drepper@gmail.com>
11663
028478fa
UD
11664 [BZ #12510]
11665 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11666 copy from the symbol referenced in the relocation to initialize the
11667 used variable.
11668 Patch by Piotr Bury <pbury@goahead.com>.
11669 * elf/Makefile: Add rules to build and tst-unique3.
11670 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11671 * elf/tst-unique3.cc: New file.
11672 * elf/tst-unique3.h: New file.
11673 * elf/tst-unique3lib.cc: New file.
11674 * elf/tst-unique3lib2.cc: New file.
11675
33f85a3f
UD
11676 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11677
03592fc7
MF
116782011-03-10 Mike Frysinger <vapier@gentoo.org>
11679
11680 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11681 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11682 to _start.
03592fc7 11683
6a5ee102
UD
116842011-03-06 Ulrich Drepper <drepper@gmail.com>
11685
11686 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11687 to-be-loaded object along a path to loader is ld.so.
11688
7e4ba49c
HJ
116892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11690 Ulrich Drepper <drepper@gmail.com>
11691
11692 * sysdeps/x86_64/memset.S: After aligning destination, code
11693 branches to different locations depending on the value of
11694 misalignment, when multiarch is enabled. Fix this.
11695
116962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11697
11698 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11699 Set _x86_64_preferred_memory_instruction for AMD processsors.
11700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11701 Set bit_Prefer_SSE_for_memop for AMD processors.
11702
13a804de
UD
117032011-03-04 Ulrich Drepper <drepper@gmail.com>
11704
11705 * libio/fmemopen.c (fmemopen): Optimize a bit.
11706
9d25c392
AS
117072011-03-03 Andreas Schwab <schwab@redhat.com>
11708
11709 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11710
a5543c6a
RM
117112011-03-03 Roland McGrath <roland@redhat.com>
11712
11713 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11714
012d35f7
DM
117152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11716
7e4ba49c 11717 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11718 __bzero_ultra1 instead of __memset_ultra1.
11719
4bff6e01
AS
117202011-02-23 Andreas Schwab <schwab@redhat.com>
11721 Ulrich Drepper <drepper@gmail.com>
11722
11723 [BZ #12509]
11724 * include/link.h (struct link_map): Add l_orig_initfini.
11725 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11726 returning unsuccessfully.
11727 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11728 close of a file loaded at startup, restore the original l_initfini
11729 list.
11730 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11731 list, store the pointer.
11732 * elf/Makefile ($(objpfx)noload-mem): New rule.
11733 (noload-ENV): Define.
11734 (tests): Add $(objpfx)noload-mem.
11735 * elf/noload.c: Include <memcheck.h>.
11736 (main): Call mtrace. Close all opened handles.
11737
f2092faf
AS
117382011-02-17 Andreas Schwab <schwab@redhat.com>
11739
11740 [BZ #12454]
11741 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11742 dependencies are missing.
11743
6c8a2e88
ST
117442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11745
f2092faf 11746 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11747 Hurd needs munmap.
11748 * sysdeps/mach/hurd/ifreq.h: New file.
11749
84a42118
PB
117502011-01-27 Petr Baudis <pasky@suse.cz>
11751 Ulrich Drepper <drepper@gmail.com>
11752
071f805e 11753 [BZ 12445]#
84a42118
PB
11754 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11755 to extend_alloca().
11756 * stdio-common/bug23.c: New file.
11757 * stdio-common/Makefile (tests): Add bug23.
11758
e23fe25b
AS
117592010-09-28 Andreas Schwab <schwab@redhat.com>
11760 Ulrich Drepper <drepper@gmail.com>
11761
11762 [BZ #12489]
11763 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11764 before performing relro protection. At old place add assertion
11765 to make sure nothing changed.
11766
d3f02e10
NS
117672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11768 Glauber de Oliveira Costa <glommer@gmail.com>
11769
11770 * elf/elf.h: Add new ARM TLS relocs.
11771
d55fd7a5
RA
117722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11773
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11775 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11776 cast from r3.
11777 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11778 'tests' variable.
11779 * sysdeps/wordsize-64/tst-writev.c: New file.
11780
2206397e
RA
117812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11782
11783 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11784 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11785 insns in _dl_start to prevent a TOC reference before relocs are
11786 resolved.
11787
e9433893
UD
117882011-02-15 Ulrich Drepper <drepper@gmail.com>
11789
11790 [BZ #12469]
11791 * Makeconfig: Remove RANLIB definition.
11792 * Makerules: Don't use RANLIB.
11793 * aclocal.m4: Remove ranlib test.
11794 * configure.in: No need to check for ranlib.
11795 * elf/rtld-Rules: Don't use RANLIB.
11796
f75286c6
ST
117972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11798
8e31c82d
ST
11799 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11800 protection macro.
11801 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11802 inclusion protection macro.
11803
f75286c6
ST
11804 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11805 SIGRTMIN and SIGRTMAX and print information in that case only when
11806 SIGRTMIN is defined.
11807
c1d0e639
JJ
118082011-02-11 Jakub Jelinek <jakub@redhat.com>
11809
11810 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11811 arginfo fn returning -1.
11812
11813 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11814 and thousands string is zero terminated.
11815
edf9294e
AS
118162011-02-03 Andreas Schwab <schwab@redhat.com>
11817
11818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11819 sysdeps/unix/sysv/linux/bits/socket.h.
11820
2b7e92df
ST
118212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11822
edf9294e
AS
11823 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11824 (__CPU_COUNT): Remove old macros.
11825 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11826 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11827 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11828 (__sched_cpualloc, __sched_cpufree): Add declarations.
11829
a4c7ea7b
UD
118302011-02-05 Ulrich Drepper <drepper@gmail.com>
11831
11832 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11833 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11834 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11835 (readdhstai): Return value of addhstaiX call.
11836 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11837 (addgrbyX): Return value returned by cache_addgr.
11838 (readdgrbyname): Return value returned by addgrbyX.
11839 (readdgrbygid): Likewise.
11840 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11841 (addpwbyX): Return value returned by cache_addpw.
11842 (readdpwbyname): Return value returned by addhstbyX.
11843 (readdpwbyuid): Likewise.
11844 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11845 (addservbyX): Return value returned by cache_addserv.
11846 (readdservbyname): Return value returned by addservbyX:
11847 (readdservbyport): Likewise.
11848 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11849 (addhstbyX): Return value returned by cache_addhst.
11850 (readdhstbyname): Return value returned by addhstbyX.
11851 (readdhstbyaddr): Likewise.
11852 (readdhstbynamev6): Likewise.
11853 (readdhstbyaddrv6): Likewise.
11854 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11855 (readdinitgroups): Return value returned by addinitgroupsX.
11856 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11857 (prune_cache): Keep track of timeout value of re-added entries.
11858 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11859 * nscd/nscd.h: Adjust prototypes of readd* functions.
11860
a0bf67cc
RM
118612011-02-04 Roland McGrath <roland@redhat.com>
11862
11863 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11864 (nis_stats): Likewise.
11865 * nis/nis_modify.c (nis_modify): Likewise.
11866 * nis/nis_remove.c (nis_remove): Likewise.
11867 * nis/nis_add.c (nis_add): Likewise.
11868
11869 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11870
11871 * posix/fnmatch_loop.c: Add some consts.
11872
11873 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11874
435b95eb
L
118752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11876
11877 [BZ #12460]
11878 * config.make.in (config-cflags-novzeroupper): Define.
11879 * configure.in: Substitute libc_cv_cc_novzeroupper.
11880 * elf/Makefile (AVX-CFLAGS): Define.
11881 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11882 (CFLAGS-tst-auditmod4a.c): Likewise.
11883 (CFLAGS-tst-auditmod4b.c): Likewise.
11884 (CFLAGS-tst-auditmod6b.c): Likewise.
11885 (CFLAGS-tst-auditmod6c.c): Likewise.
11886 (CFLAGS-tst-auditmod7b.c): Likewise.
11887 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11888
8517b15e
UD
118892011-02-02 Ulrich Drepper <drepper@gmail.com>
11890
11891 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11892 function to the callback.
11893 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11894
10a656fe
AS
118952011-02-02 Andreas Schwab <schwab@redhat.com>
11896
11897 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11898 of errno.
11899
968dad0a
UD
119002011-01-19 Ulrich Drepper <drepper@gmail.com>
11901
9f94d2ea 11902 [BZ #11724]
968dad0a
UD
11903 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11904 of constructors.
11905 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11906 of destructors.
11907 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11908
11909 [BZ #11724]
11910 * elf/Makefile: Add rules to build and run new test.
11911 * elf/tst-initorder.c: New file.
11912 * elf/tst-initorder.exp: New file.
11913 * elf/tst-initordera1.c: New file.
11914 * elf/tst-initordera2.c: New file.
11915 * elf/tst-initordera3.c: New file.
11916 * elf/tst-initordera4.c: New file.
11917 * elf/tst-initorderb1.c: New file.
11918 * elf/tst-initorderb2.c: New file.
11919 * elf/tst-order-a1.c: New file.
11920 * elf/tst-order-a2.c: New file.
11921 * elf/tst-order-a3.c: New file.
11922 * elf/tst-order-a4.c: New file.
11923 * elf/tst-order-b1.c: New file.
11924 * elf/tst-order-b2.c: New file.
11925 * elf/tst-order-main.c: New file.
11926 New test case by George Gensure <werkt0@gmail.com>.
11927
86e92359
UD
119282010-10-01 Andreas Schwab <schwab@redhat.com>
11929
11930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11931 decoding ACE if AI_CANONIDN.
11932
5d5732b0
UD
119332011-01-18 Ulrich Drepper <drepper@gmail.com>
11934
11935 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11936
a77e8cbc
UD
119372011-01-17 Ulrich Drepper <drepper@gmail.com>
11938
6392473f
UD
11939 * version.h (RELEASE): Bump for 2.13 release.
11940 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11941
620a0529
UD
11942 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11943
18ba70a5
UD
11944 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11945 MADV_NOHUGEPAGE.
32465c3e
UD
11946 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11947 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11949 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11950 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11951 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11952
c0dafcf1
UD
11953 * posix/getconf.c: Update copyright year.
11954 * catgets/gencat.c: Likewise.
11955 * csu/version.c: Likewise.
11956 * debug/catchsegv.sh: Likewise.
11957 * debug/xtrace.sh: Likewise.
11958 * elf/ldconfig.c: Likewise.
11959 * elf/ldd.bash.in: Likewise.
11960 * elf/sprof.c (print_version): Likewise.
11961 * iconv/iconv_prog.c: Likewise.
11962 * iconv/iconvconfig.c: Likewise.
11963 * locale/programs/locale.c: Likewise.
11964 * locale/programs/localedef.c: Likewise.
11965 * malloc/memusage.sh: Likewise.
11966 * malloc/mtrace.pl: Likewise.
11967 * nscd/nscd.c (print_version): Likewise.
11968 * nss/getent.c: Likewise.
11969
a77e8cbc
UD
11970 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11971 PF_CAIF, and PF_ALG.
11972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11973
77e8bddf
AS
119742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11975
1f20b93a
AS
11976 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11977 (modules-names): Use them.
11978 (ifunc-test-modules, ifunc-pie-tests): Define.
11979 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11980 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11981 (test-extras): Likewise.
11982 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11983 $(compile-command.c).
11984 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11985 (all-built-dso): Define.
11986 (check-textrel.out, check-execstack.out): Depend on it.
11987
77e8bddf
AS
11988 * configure.in: Don't override --enable-multi-arch.
11989
bc425b33
UD
119902011-01-15 Ulrich Drepper <drepper@gmail.com>
11991
11992 [BZ #6812]
11993 * nscd/hstcache.c (tryagain): Define.
11994 (cache_addhst): Return tryagain not notfound for temporary errors.
11995 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11996 failed.
11997
794c3ad3
UD
119982011-01-14 Ulrich Drepper <drepper@gmail.com>
11999
70181fdd
UD
12000 [BZ #10563]
12001 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12002 to make the syscall.
12003 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12004
794c3ad3
UD
12005 [BZ #12378]
12006 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12007 and fall back to matching as normal character if the string ends before
12008 the matching ']' is found. This is what POSIX requires.
12009 * posix/testfnm.c: Adjust test result.
12010 * posix/globtest.sh: Adjust test result. Add new test.
12011 * posix/tst-fnmatch.input: Likewise.
12012 * posix/tst-fnmatch2.c: Add new test.
12013
68dc9497
AS
120142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12015
12016 * elf/Makefile (check-execstack): Revert last change. Depend on
12017 check-execstack.h.
12018 (check-execstack.h): New target.
12019 (generated): Add check-execstack.h.
12020 * elf/check-execstack.c: Include "check-execstack.h".
12021 (main): Revert last change.
12022 (handle_file): Return zero if GNU_STACK is absent and
12023 DEFAULT_STACK_PERMS doesn't include PF_X.
12024
451f001b
UD
120252011-01-13 Ulrich Drepper <drepper@gmail.com>
12026
cfa28e56
UD
12027 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12028 in child fails because the descriptor is already closed.
8cf8ce17
UD
12029 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12030 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12031 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12032
1086d70d
UD
12033 [BZ #12397]
12034 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12035 syscall.
12036
451f001b
UD
12037 [BZ #10484]
12038 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12039 temporary buffer used to handle multi lookups locally.
a85b5cb4 12040 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12041
08769175
UD
120422011-01-12 Ulrich Drepper <drepper@gmail.com>
12043
12044 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12045 loader is ld.so.
12046
5e49c52e
UD
120472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12048
12049 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12050 alignment for SSE2.
12051
60522a5f
UD
120522011-01-12 Ulrich Drepper <drepper@gmail.com>
12053
12054 [BZ #12394]
12055 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12056 characters. When rounding increased number of integer digits recompute
12057 number of groups.
12058 * stdio-common/tst-grouping.c: New file.
12059 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12060
f257bbd7
UD
120612011-01-09 Ulrich Drepper <drepper@gmail.com>
12062
12063 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12064 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12065
12066 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12067 void.
12068 * bits/select.h: Likewise.
12069
fa9c15cb
UD
120702011-01-08 Ulrich Drepper <drepper@gmail.com>
12071
12072 * po/ja.po: Update from translation team.
12073
16c2895f
DM
120742011-01-04 David S. Miller <davem@sunset.davemloft.net>
12075
12076 [BZ #11155]
12077 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12078 implementation just like for lxstat, fxstatat, et al.
12079
2543fef2
JM
120802010-12-27 Jim Meyering <meyering@redhat.com>
12081
12082 [BZ #12348]
12083 * posix/regexec.c (build_trtable): Return failure indication upon
12084 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12085
98727dbe
UD
120862010-12-25 Ulrich Drepper <drepper@gmail.com>
12087
5bd6dc5c
UD
12088 [BZ #12201]
12089 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12090 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12091 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12093
97983464
UD
12094 [BZ #12207]
12095 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12096
98727dbe
UD
12097 [BZ #12204]
12098 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12099 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12100
4a531bb0
L
121012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12102
12103 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12104 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12105 script has SORT_BY_INIT_PRIORITY.
12106 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12107 NO_CTORS_DTORS_SECTIONS is defined.
12108 * elf/soinit.c: Likewise.
12109 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12110 NO_CTORS_DTORS_SECTIONS is defined.
12111 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12112 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12113 * sysdeps/sh/init-first.c: Likewise.
12114 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12115
07eb4b71
UD
121162010-12-24 Ulrich Drepper <drepper@gmail.com>
12117
12118 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12119 always use the slow path.
12120
30950a5f
RA
121212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12122
12123 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12124 similar rule which adds the sysdep directories to the header search in
12125 order to pick up the correct platform stackinfo.h.
12126 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12127 perform test if it is, otherwise return successfully without testing.
12128 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12129 DEFAULT_STACK_PERMS define in stackinfo.h.
12130 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12131 defined in stackinfo.h.
12132 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12133 DEFAULT_STACK_PERMS defined in stackinfo.h.
12134 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12135 * sysdeps/ia64/stackinfo.h: Likewise.
12136 * sysdeps/s390/stackinfo.h: Likewise.
12137 * sysdeps/sh/stackinfo.h: Likewise.
12138 * sysdeps/sparc/stackinfo.h: Likewise.
12139 * sysdeps/x86_64/stackinfo.h: Likewise.
12140 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12141 PF_X for powerpc64. Retain PF_X for powerpc32.
12142
db753e2c
UD
121432010-12-19 Ulrich Drepper <drepper@gmail.com>
12144
14b697f7
UD
12145 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12146 accurately.
db753e2c
UD
12147 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12148 GETDENTS_64BIT_ALIGNED.
12149
28300719
UD
121502010-12-14 Ulrich Drepper <dreper@gmail.com>
12151
14b697f7 12152 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12153
4f197237
AS
121542010-12-10 Andreas Schwab <schwab@redhat.com>
12155
dbb0472f
AS
12156 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12157 _GNU_SOURCE.
12158
4f197237
AS
12159 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12160 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12161 Remove __restrict.
12162 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12163 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12164
fb88ac72
UD
121652010-12-09 Ulrich Drepper <drepper@gmail.com>
12166
12167 [BZ #11655]
12168 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12169 are initialized.
12170
42acbb92
JJ
121712010-12-09 Jakub Jelinek <jakub@redhat.com>
12172
12173 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12174
c038d98d
UD
121752010-12-03 Ulrich Drepper <drepper@gmail.com>
12176
12177 * po/it.po: Update from translation team.
12178
3a4a2499
L
121792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12180
12181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12182 unused codes.
12183
1e24cf6e
UD
121842010-11-30 Ulrich Drepper <drepper@gmail.com>
12185
12186 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12187
a7690819
AS
121882010-11-24 Andreas Schwab <schwab@redhat.com>
12189
12190 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12191 specially.
12192 (gaih_getanswer_slice): Likewise.
12193
3bf8d1b1
JJ
121942010-10-20 Jakub Jelinek <jakub@redhat.com>
12195
12196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12197
6db52fbb
PB
121982010-05-31 Petr Baudis <pasky@suse.cz>
12199
12200 [BZ #11149]
12201 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12202 silently even in the chroot mode.
12203
eaca7569
UD
122042010-11-22 Ulrich Drepper <drepper@gmail.com>
12205
12206 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12207 last patch a bit. Pretty printing
12208
3056dcdb
UD
122092010-05-31 Petr Baudis <pasky@suse.cz>
12210
12211 [BZ #10085]
12212 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12213 initialization of skip_initgroups_dyn.
12214
cf7c9078
UD
122152010-11-19 Ulrich Drepper <drepper@gmail.com>
12216
12217 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12218 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12219
a1fb5e3e
UD
122202010-11-16 Ulrich Drepper <drepper@gmail.com>
12221
12222 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12223
3540d66b
AS
122242010-11-11 Andreas Schwab <schwab@redhat.com>
12225
12226 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12227 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12228 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12229 ($(objpfx)tst-fnmatch-mem): New rule.
12230 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12231 * posix/tst-fnmatch.c (main): Call mtrace.
12232
13b69574
L
122332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12234
12235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12236 Support Intel processor model 6 and model 0x2c.
12237
da93d214
LM
122382010-11-10 Luis Machado <luisgpm@br.ibm.com>
12239
12240 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12241 signed comparison.
12242
8ca52c6e
L
122432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12244
12245 [BZ #12205]
12246 * string/test-strncasecmp.c (check_result): New function.
12247 (do_one_test): Use it.
12248 (check1): New function.
12249 (test_main): Use it.
12250 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12251 Support strcasecmp and strncasecmp.
12252
69da074d
UD
122532010-11-08 Ulrich Drepper <drepper@gmail.com>
12254
12255 [BZ #12194]
12256 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12257 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12258
ff02d528
L
122592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12262 IFUNC support.
12263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12264 memset-x86-64.
12265 * sysdeps/x86_64/multiarch/bzero.S: New file.
12266 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12267 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12268 * sysdeps/x86_64/multiarch/memset.S: New file.
12269 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12271 Set bit_Prefer_SSE_for_memop for Intel processors.
12272 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12273 Define.
12274 (index_Prefer_SSE_for_memop): Define.
12275 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12276
344d0b54
LM
122772010-11-04 Luis Machado <luisgpm@br.ibm.com>
12278
12279 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12280 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12281
c0dde15b
UD
122822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12283
12284 [BZ #12191]
12285 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12286 (__x86_64_raw_data_cache_size_half): Likewise.
12287 (__x86_64_raw_shared_cache_size): Likewise.
12288 (__x86_64_raw_shared_cache_size_half): Likewise.
12289
12290 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12291 (__x86_64_raw_data_cache_size_half): Likewise.
12292 (__x86_64_raw_shared_cache_size): Likewise.
12293 (__x86_64_raw_shared_cache_size_half): Likewise.
12294 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12295 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12296 and __x86_64_raw_shared_cache_size_half. Round
12297 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12298 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12299 to multiple of 256 bytes.
12300
0e516e0e
MS
123012010-11-03 Ulrich Drepper <drepper@gmail.com>
12302
12303 [BZ #12167]
12304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12305 of inacessible symlinks. Verify result of symlink before returning it.
12306 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12307 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12308
0e012e87
ER
123092010-10-28 Erich Ritz <erichritz@gmail.com>
12310
12311 * math/math.h (isinf): Fix typo in comment.
12312
de0ff7bc
UD
123132010-11-01 Ulrich Drepper <drepper@gmail.com>
12314
12315 * po/da.po: Update from translation team.
12316
fa41c84d
UD
123172010-10-26 Ulrich Drepper <drepper@gmail.com>
12318
12319 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12320 is added to the list.
12321
f0967738
AK
123222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12323 Ulrich Drepper <drepper@gmail.com>
12324
12325 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12326 the global list here. Move code to...
12327 (_dl_add_to_namespace_list): ...here. New function.
12328 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12329 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12330 * elf/dl-load.c (lose): Don't remove the element from the list.
12331 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12332 (_dl_map_object): Likewise.
12333
123342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12335
12336 [BZ #12159]
12337 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12338 into all bytes of SSE register.
12339 Patch by Richard Li <richardpku@gmail.com>.
12340
f0967738 123412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12342
12343 [BZ #12140]
12344 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12345 perturbing.
12346
d0b9e94f
MB
123472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12348
12349 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12350 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12352 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12354 submachine.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12356
8e9f92e9
AS
123572010-10-22 Andreas Schwab <schwab@redhat.com>
12358
12359 * include/dlfcn.h (__RTLD_SECURE): Define.
12360 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12361 mode & __RTLD_SECURE instead.
12362 (open_path): Rename preloaded parameter to secure.
12363 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12364 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12365 * elf/dl-deps.c (openaux): Likewise.
12366 * elf/rtld.c (struct map_args): Remove is_preloaded.
12367 (map_doit): Don't use it.
12368 (dl_main): Likewise.
12369 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12370 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12371
bc96fbda
AS
123722010-09-09 Andreas Schwab <schwab@redhat.com>
12373
12374 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12375 (sysd-rules-targets): Remove duplicates.
12376 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12377 rtld-%.$o dependency.
12378
22cd1c9b
AS
123792010-10-18 Andreas Schwab <schwab@redhat.com>
12380
12381 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12382 _dl_map_object do it.
12383
18edac48
UD
123842010-10-19 Ulrich Drepper <drepper@gmail.com>
12385
12386 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12387 fast fma builtins, define the macros in the C99 standard.
12388 (FP_FAST_FMAF): Likewise.
12389 (FP_FAST_FMAL): Likewise.
12390 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12391
12392 * bits/mathdef.h: Update copyright year.
12393 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12394
d2050124
MM
123952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12396
12397 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12398 builtins, define the macros in the C99 standard.
12399 (FP_FAST_FMAF): Likewise.
12400 (FP_FAST_FMAL): Likewise.
12401 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12402 multiply/add.
12403 (FP_FAST_FMAF): Likewise.
12404
475facd1
JJ
124052010-10-15 Jakub Jelinek <jakub@redhat.com>
12406
12407 [BZ #3268]
12408 * math/libm-test.inc (fma_test): Some new testcases.
12409 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12410 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12411 y and infinite z. Do multiplication by C already in long double.
12412 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12414 y and infinite z. Do bitwise or of inexact bit into u.d.
12415 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12416 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12417 * sysdeps/i386/fpu/s_fma.S: Removed.
12418 * sysdeps/i386/fpu/s_fmal.S: Removed.
12419
7c08a05c
JJ
124202010-10-16 Jakub Jelinek <jakub@redhat.com>
12421
12422 [BZ #3268]
12423 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12425 computation is not scheduled after fetestexcept. Fix value
12426 of minimum denormal long double.
12427
f3f7372d
JJ
124282010-10-14 Jakub Jelinek <jakub@redhat.com>
12429
12430 [BZ #3268]
12431 * math/libm-test.inc (fma_test): Add some more tests.
12432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12433 correctly.
12434
14d43591
AS
124352010-10-15 Andreas Schwab <schwab@redhat.com>
12436
12437 * scripts/data/localplt-s390-linux-gnu.data: New file.
12438 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12439
5e908464
JJ
124402010-10-13 Jakub Jelinek <jakub@redhat.com>
12441
12442 [BZ #3268]
12443 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12444 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12445 instead of dbl-64.
12446 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12447 inlines.
12448 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12450 if one of x and y is very large and the other is subnormal.
12451 * sysdeps/s390/fpu/s_fmaf.c: New file.
12452 * sysdeps/s390/fpu/s_fma.c: New file.
12453 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12454 * sysdeps/powerpc/fpu/s_fma.S: New file.
12455 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12456 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12457 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12458
124592010-10-12 Jakub Jelinek <jakub@redhat.com>
12460
12461 [BZ #3268]
12462 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12463 fma tests.
12464 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12465 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12466 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12467 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12468 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12469 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12471
b833d51f
UD
124722010-10-12 Ulrich Drepper <drepper@redhat.com>
12473
12474 [BZ #12078]
12475 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12476 * posix/bug-regex31.input: Add test case.
12477
1751705d
UD
124782010-10-11 Ulrich Drepper <drepper@gmail.com>
12479
e9b9cbf5
UD
12480 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12481 * posix/bug-regex31.input: New file.
12482
12483 [BZ #12078]
12484 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12485 (parse_sub_exp): Fix last change, use postorder.
12486
ef06edbe
UD
12487 * posix/bug-regex31.c: New file.
12488 * posix/Makefile: Add rules to build and run bug-regex31.
12489
a129c80d
UD
12490 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12491
12492 [BZ #12078]
12493 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12494
b76b818e
UD
12495 [BZ #12108]
12496 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12497 to have entries in sys_siglist.
12498
1751705d
UD
12499 [BZ #12093]
12500 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12501 be NULL.
12502
9ff8d36f
JJ
125032010-10-07 Jakub Jelinek <jakub@redhat.com>
12504
12505 [BZ #3268]
12506 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12507 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12508 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12509 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12510 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12511 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12512 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12513 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12514 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12515 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12516 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12517 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12518 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12519 * math/ftestexcept.c (fetestexcept): Likewise.
12520 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12521 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12522 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12523 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12524 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12525 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12526 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12527
af325969
UD
125282010-10-11 Ulrich Drepper <drepper@gmail.com>
12529
c579b202 12530 [BZ #12107]
af325969
UD
12531 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12532 newline.
12533
67a67b95
UD
125342010-10-06 Ulrich Drepper <drepper@gmail.com>
12535
12536 * string/bug-strstr1.c: New file.
12537 * string/Makefile: Add rules to build and run bug-strstr1.
12538
5fb308bc
EB
125392010-10-05 Eric Blake <eblake@redhat.com>
12540
12541 [BZ #12092]
12542 * string/str-two-way.h (two_way_long_needle): Always clear memory
12543 when skipping input due to the shift table.
12544
45db99c7
UD
125452010-10-03 Ulrich Drepper <drepper@gmail.com>
12546
3b111893
UD
12547 [BZ #12005]
12548 * malloc/mcheck.c: Handle large requests.
12549
45db99c7
UD
12550 [BZ #12077]
12551 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12552 for strncmp and strncasecmp.
12553 * string/stratcliff.c: Add tests for strcmp and strncmp.
12554 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12555
cf7a1eb8
NI
125562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12557
12558 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12559 __set_fpscr.
12560
6484ba5e
AJ
125612010-09-30 Andreas Jaeger <aj@suse.de>
12562
12563 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12564 (CGROUP_SUPER_MAGIC): Define.
12565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12566 Handle btrfs and cgroup file systems.
12567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12568 Likewise.
12569
91c42559
LM
125702010-09-27 Luis Machado <luisgpm@br.ibm.com>
12571
12572 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12573 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12574
87a97932
AK
125752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12576
12577 [BZ #12067]
12578 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12579 trying to locate the ELF header.
12580
c21cc9bc
AS
125812010-09-27 Andreas Schwab <schwab@redhat.com>
12582
12583 [BZ #11611]
12584 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12585 Mask out sign-bit copies when constructing f_fsid.
12586
315970f6
PB
125872010-09-24 Petr Baudis <pasky@suse.cz>
12588
12589 * debug/stack_chk_fail_local.c: Add missing licence exception.
12590 * debug/warning-nop.c: Likewise.
12591
1ac7a2c7
JM
125922010-09-15 Joseph Myers <joseph@codesourcery.com>
12593
12594 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12595 implementing getdents64 using getdents syscall, set d_type if
12596 __ASSUME_GETDENTS32_D_TYPE.
12597
56801c50
AS
125982010-09-16 Andreas Schwab <schwab@redhat.com>
12599
12600 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12601 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12602
dda51327
UD
126032010-09-21 Ulrich Drepper <drepper@redhat.com>
12604
12605 [BZ #12037]
12606 * posix/unistd.h: Undo change of feature selection for ftruncate from
12607 2010-01-11.
12608
8ffcee4a
UD
126092010-09-20 Ulrich Drepper <drepper@redhat.com>
12610
a545ecd9 12611 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12612 detection.
12613
e24f0a8b
AS
126142010-09-20 Andreas Schwab <schwab@redhat.com>
12615
12616 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12617 fanotify_mark.
12618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12619
7291c56f
AS
126202010-09-14 Andreas Schwab <schwab@redhat.com>
12621
12622 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12623 variables after CHECK_SP call.
12624 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12625
bc5fb037
AS
126262010-09-13 Andreas Schwab <schwab@redhat.com>
12627 Ulrich Drepper <drepper@redhat.com>
12628
12629 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12630 re-relocationg ld.so.
12631 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12632 _dl_init_paths call.
12633 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12634 here anymore.
12635
e66e7419
UD
126362010-09-14 Ulrich Drepper <drepper@redhat.com>
12637
12638 * resolv/res_init.c (__res_vinit): Count the default server we added.
12639
c044aa75
CLT
126402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12641 Ulrich Drepper <drepper@redhat.com>
12642
12643 [BZ #11968]
12644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12645 (____longjmp_chk): Use %ebx for saving value across system call.
12646 Add unwind info.
12647
32cf4069
AS
126482010-09-06 Andreas Schwab <schwab@redhat.com>
12649
12650 * manual/Makefile: Don't mix pattern rules with normal rules.
12651
817328ee
AS
126522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12653
12654 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12655 operation.
12656 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12657 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12658 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12659 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12660 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12661 Likewise.
12662
29fddf61
UD
126632010-09-04 Ulrich Drepper <drepper@redhat.com>
12664
12665 [BZ #11979]
12666 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12667 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12668
0959ffc9
UD
126692010-09-02 Ulrich Drepper <drepper@redhat.com>
12670
12671 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12672 * sysdeps/x86_64/addmul_1.S: Likewise.
12673 * sysdeps/x86_64/lshift.S: Likewise.
12674 * sysdeps/x86_64/mul_1.S: Likewise.
12675 * sysdeps/x86_64/rshift.S: Likewise.
12676 * sysdeps/x86_64/sub_n.S: Likewise.
12677 * sysdeps/x86_64/submul_1.S: Likewise.
12678
ece29840
ST
126792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12680
0959ffc9
UD
12681 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12682 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12683 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12684 * bits/sched.h [__need_schedparam]
ece29840 12685 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12686 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12687 (__defined_schedparam): Define to 1.
ece29840
ST
12688 (__sched_param): New structure, identical to sched_param.
12689 (__need_schedparam): Undefine.
12690
e53a31fe
MF
126912010-08-31 Mike Frysinger <vapier@gentoo.org>
12692
fdc0c10d
MF
12693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12694 (epoll_create1): Declare.
12695
e53a31fe
MF
12696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12697
a726d796
AS
126982010-08-31 Andreas Schwab <schwab@redhat.com>
12699
12700 [BZ #7066]
12701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12702 shifting retval into place.
12703
2f3e3dc7
UD
127042010-09-01 Ulrich Drepper <drepper@redhat.com>
12705
f2933da9
UD
12706 * nis/rpcsvc/nis.h: Update copyright notice.
12707 * nis/rpcsvc/nis.x: Likewise.
12708 * nis/rpcsvc/nis_callback.h: Likewise.
12709 * nis/rpcsvc/nis_callback.x: Likewise.
12710 * nis/rpcsvc/nis_object.x: Likewise.
12711 * nis/rpcsvc/nis_tags.h: Likewise.
12712 * nis/rpcsvc/yp.h: Likewise.
12713 * nis/rpcsvc/yp.x: Likewise.
12714 * nis/rpcsvc/ypupd.h: Likewise.
12715 * nis/yp_xdr.c: Likewise.
12716 * nis/ypupdate_xdr.c: Likewise.
12717
2f3e3dc7
UD
12718 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12719 mainly the body of pmap_getport. Add parameters to specify timeouts.
12720 (pmap_getport): Use __libc_rpc_getport.
12721 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12722 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12723 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12724
f3dcc2f9
AS
127252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12726
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12728 fanotify_mark.
12729
6d34eb5b
RM
127302010-08-27 Roland McGrath <roland@redhat.com>
12731
12732 * sysdeps/i386/i686/multiarch/Makefile
12733 (CFLAGS-varshift.c): New variable.
12734
9ea3de11
UD
127352010-08-27 Ulrich Drepper <drepper@redhat.com>
12736
c96d23fc
UD
12737 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12738 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12739
9ea3de11
UD
12740 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12741
12742 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12743
623aac7f
L
127442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12745
12746 * sysdeps/x86_64/strlen.S: Unroll the loop.
12747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12748 strlen-sse2 strlen-sse2-bsf.
12749 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12750 __strlen_no_bsf if bit_Slow_BSF is set.
12751 (__strlen_sse42): Removed.
12752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12753 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12754
8b2b7715
RM
127552010-08-25 Roland McGrath <roland@redhat.com>
12756
12757 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12758 * sysdeps/x86_64/multiarch/varshift.c: New file.
12759 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12760 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12761 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12762 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12763
e73015f2
L
127642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12765
12766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12767 strlen-sse2 strlen-sse2-bsf.
12768 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12769 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12770 (__strlen_sse2): Removed.
12771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12772 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12774 bit_Slow_BSF for Atom.
12775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12776 (index_Slow_BSF): Define.
12777 (HAS_SLOW_BSF): Define.
12778
df24a73e
UD
127792010-08-25 Ulrich Drepper <drepper@redhat.com>
12780
12781 [BZ #10851]
12782 * resolv/res_init.c (__res_vinit): When no server address at all
12783 is given default to loopback.
12784
f2ac4868
RM
127852010-08-24 Roland McGrath <roland@redhat.com>
12786
09055553
RM
12787 * configure.in: Remove config-name.h generation.
12788 * configure: Regenerated.
12789 * config-name.in: File removed.
12790 * scripts/config-uname.sh: New file.
12791 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12792 ($(objdir)config-name.h): New target.
12793
f2ac4868
RM
12794 * sunrpc/rpc_parse.h: Avoid nested comment.
12795
73f27d5e
RH
127962010-08-24 Richard Henderson <rth@redhat.com>
12797 Ulrich Drepper <drepper@redhat.com>
12798 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12802 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12803 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12804 _mm_alignr_epi8 with _mm_loadu_si128.
12805 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12806 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12807 (__m128i_shift_right): Removed.
12808 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12809 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12810 * sysdeps/x86_64/multiarch/varshift.h: New file.
12811 * sysdeps/x86_64/multiarch/varshift.S: New file.
12812
84b9230c
MF
128132010-08-21 Mike Frysinger <vapier@gentoo.org>
12814
12815 * configure.in: Move assembler checks to before sysdep dir checking.
12816
9bbd0ddc
PB
128172010-08-20 Petr Baudis <pasky@suse.cz>
12818
12819 * LICENSES: Sync the sunrpc license.
12820
9da4bb31
UD
128212010-08-19 Ulrich Drepper <drepper@redhat.com>
12822
a7ab6ec8
UD
12823 * sunrpc/auth_des.c: Update copyright notice once again.
12824 * sunrpc/auth_none.c: Likewise.
12825 * sunrpc/auth_unix.c: Likewise.
12826 * sunrpc/authdes_prot.c: Likewise.
12827 * sunrpc/authuxprot.c: Likewise.
12828 * sunrpc/bindrsvprt.c: Likewise.
12829 * sunrpc/clnt_gen.c: Likewise.
12830 * sunrpc/clnt_perr.c: Likewise.
12831 * sunrpc/clnt_raw.c: Likewise.
12832 * sunrpc/clnt_simp.c: Likewise.
12833 * sunrpc/clnt_tcp.c: Likewise.
12834 * sunrpc/clnt_udp.c: Likewise.
12835 * sunrpc/clnt_unix.c: Likewise.
12836 * sunrpc/des_crypt.c: Likewise.
12837 * sunrpc/des_soft.c: Likewise.
12838 * sunrpc/get_myaddr.c: Likewise.
12839 * sunrpc/getrpcport.c: Likewise.
12840 * sunrpc/key_call.c: Likewise.
12841 * sunrpc/key_prot.c: Likewise.
12842 * sunrpc/openchild.c: Likewise.
12843 * sunrpc/pm_getmaps.c: Likewise.
12844 * sunrpc/pm_getport.c: Likewise.
12845 * sunrpc/pmap_clnt.c: Likewise.
12846 * sunrpc/pmap_prot.c: Likewise.
12847 * sunrpc/pmap_prot2.c: Likewise.
12848 * sunrpc/pmap_rmt.c: Likewise.
12849 * sunrpc/rpc/auth.h: Likewise.
12850 * sunrpc/rpc/auth_unix.h: Likewise.
12851 * sunrpc/rpc/clnt.h: Likewise.
12852 * sunrpc/rpc/des_crypt.h: Likewise.
12853 * sunrpc/rpc/key_prot.h: Likewise.
12854 * sunrpc/rpc/netdb.h: Likewise.
12855 * sunrpc/rpc/pmap_clnt.h: Likewise.
12856 * sunrpc/rpc/pmap_prot.h: Likewise.
12857 * sunrpc/rpc/pmap_rmt.h: Likewise.
12858 * sunrpc/rpc/rpc.h: Likewise.
12859 * sunrpc/rpc/rpc_des.h: Likewise.
12860 * sunrpc/rpc/rpc_msg.h: Likewise.
12861 * sunrpc/rpc/svc.h: Likewise.
12862 * sunrpc/rpc/svc_auth.h: Likewise.
12863 * sunrpc/rpc/types.h: Likewise.
12864 * sunrpc/rpc/xdr.h: Likewise.
12865 * sunrpc/rpc_clntout.c: Likewise.
12866 * sunrpc/rpc_cmsg.c: Likewise.
12867 * sunrpc/rpc_common.c: Likewise.
12868 * sunrpc/rpc_cout.c: Likewise.
12869 * sunrpc/rpc_dtable.c: Likewise.
12870 * sunrpc/rpc_hout.c: Likewise.
12871 * sunrpc/rpc_main.c: Likewise.
12872 * sunrpc/rpc_parse.c: Likewise.
12873 * sunrpc/rpc_parse.h: Likewise.
12874 * sunrpc/rpc_prot.c: Likewise.
12875 * sunrpc/rpc_sample.c: Likewise.
12876 * sunrpc/rpc_scan.c: Likewise.
12877 * sunrpc/rpc_scan.h: Likewise.
12878 * sunrpc/rpc_svcout.c: Likewise.
12879 * sunrpc/rpc_tblout.c: Likewise.
12880 * sunrpc/rpc_util.c: Likewise.
12881 * sunrpc/rpc_util.h: Likewise.
12882 * sunrpc/rpcinfo.c: Likewise.
12883 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12884 * sunrpc/rpcsvc/key_prot.x: Likewise.
12885 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12886 * sunrpc/rpcsvc/mount.x: Likewise.
12887 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12888 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12889 * sunrpc/rpcsvc/rex.x: Likewise.
12890 * sunrpc/rpcsvc/rstat.x: Likewise.
12891 * sunrpc/rpcsvc/rusers.x: Likewise.
12892 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12893 * sunrpc/rpcsvc/spray.x: Likewise.
12894 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12895 * sunrpc/rtime.c: Likewise.
12896 * sunrpc/svc.c: Likewise.
12897 * sunrpc/svc_auth.c: Likewise.
12898 * sunrpc/svc_authux.c: Likewise.
12899 * sunrpc/svc_raw.c: Likewise.
12900 * sunrpc/svc_run.c: Likewise.
12901 * sunrpc/svc_simple.c: Likewise.
12902 * sunrpc/svc_tcp.c: Likewise.
12903 * sunrpc/svc_udp.c: Likewise.
12904 * sunrpc/svc_unix.c: Likewise.
12905 * sunrpc/svcauth_des.c: Likewise.
12906 * sunrpc/xcrypt.c: Likewise.
12907 * sunrpc/xdr.c: Likewise.
12908 * sunrpc/xdr_array.c: Likewise.
12909 * sunrpc/xdr_float.c: Likewise.
12910 * sunrpc/xdr_mem.c: Likewise.
12911 * sunrpc/xdr_rec.c: Likewise.
12912 * sunrpc/xdr_ref.c: Likewise.
12913 * sunrpc/xdr_sizeof.c: Likewise.
12914 * sunrpc/xdr_stdio.c: Likewise.
12915
9da4bb31
UD
12916 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12917 handling.
12918
bdaa77bc
AS
129192010-08-19 Andreas Schwab <schwab@redhat.com>
12920
12921 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12922
fe2f79db
LM
129232010-08-19 Luis Machado <luisgpm@br.ibm.com>
12924
12925 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12926 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12927 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12928 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12929 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12930 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12931 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12932 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12934 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12935 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12936 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12937 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12938 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12939
b9b42ee0
AB
129402010-07-26 Anton Blanchard <anton@samba.org>
12941
12942 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12943 * malloc/arena.c (heap_trim): Likewise.
12944
1c06ba31
UD
129452010-08-16 Ulrich Drepper <drepper@redhat.com>
12946
12947 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12948 here. Not...
12949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12950 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12951
f8392f40
L
129522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12953
12954 * sysdeps/i386/elf/Makefile: New file.
12955
3162f12e
AS
129562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12957
12958 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12959 from fanotify_init.
12960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12962
28c90b2c
UD
129632010-08-15 Ulrich Drepper <drepper@redhat.com>
12964
12965 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12966 of strncasecmp_l.
1feccb6c 12967 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12968
ca6bb004
UD
129692010-08-14 Ulrich Drepper <drepper@redhat.com>
12970
e9f82e0d
UD
12971 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12972 strncase_l-nonascii.
12973 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12974 Add strncase_l-ssse3.
12975 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12976 * sysdeps/x86_64/strcmp.S: Likewise.
12977 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12978 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12979 * sysdeps/x86_64/strncase.S: New file.
12980 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12981 * sysdeps/x86_64/strncase_l.S: New file.
12982 * string/Makefile (strop-tests): Add strncasecmp.
12983 * string/test-strncasecmp.c: New file.
12984
12985 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12986 warning.
12987
ca6bb004
UD
12988 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12989 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12990
052fa7b3
AS
129912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12994
962dba78
UD
129952010-08-12 Ulrich Drepper <drepper@redhat.com>
12996
12997 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12999 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13000
bebff237
AM
130012010-05-01 Alan Modra <amodra@gmail.com>
13002
13003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13004 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13005 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13006 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13007 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13008 tidying. Don't tail-call __sigjmp_save for static lib.
13009 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13010 save location.
13011 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13012 (CALL_MCOUNT): Add eh info, and nop after bl.
13013 (TAIL_CALL_SYSCALL_ERROR): New macro.
13014 (PSEUDO_RET): Use it.
13015 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13016 Correct save location of integer regs and cr.
13017 (_dl_profile_resolve): Correct cr save location. Delete nops
13018 after bl when SHARED. Reduce cfi size a little by better
13019 placement of cfi directives.
13020 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13021 make a stack frame. Instead use parm save area as a temp.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13023 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13025 Don't make a stack frame for parent, use parm save area.
13026 Increase child stack frame to 112 bytes. Don't save unused reg,
13027 and adjust reg usage. Set up cfi on error recovery and
13028 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13030 (__makecontext): Add dummy nop after jump to exit.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13032 Use correct parm save area and cr save, reduce stack frame.
13033 Correct cfi for possible PSEUDO_RET frame setup.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13035 Branch to local label emitted by PSEUDO_RET rather than
13036 __syscall_error.
13037
02637374
AS
130382010-08-12 Andreas Schwab <schwab@redhat.com>
13039
13040 [BZ #11904]
13041 * locale/programs/locale.c (print_assignment): New function.
13042 (show_locale_vars): Use it.
13043
c3e2f19b
UD
130442010-08-11 Ulrich Drepper <drepper@redhat.com>
13045
3cdaa6ad
UD
13046 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13047 field.
13048 (struct statfs64): Likewise.
13049 (_STATFS_F_FLAGS): Define.
13050 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13052 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13053 (ST_VALID): Define locally.
13054 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13055 __statvfs_getflags, use the provided value.
13056 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13057 __ASSUME_STATFS_F_FLAGS.
13058
754f7da3
UD
13059 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13060
10b3bedc
UD
13061 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13062 Add sys/fanotify.h.
13063 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13064 fanotify_mask for GLIBC_2.13.
13065 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13066 fanotify_init and fanotify_mark.
13067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13068 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13069
c08fb0d7
UD
13070 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13071 Add prlimit.
13072 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13073 prlimit64 for GLIBC_2.13.
13074 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13075 prlimit64.
13076 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13077 syscall.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13079 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13080 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13081 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13083 add prlimit alias.
13084 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13085
15bac72b
UD
13086 [BZ #11903]
13087 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13088 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13089
c3e2f19b
UD
13090 * nss/Makefile: Add rules to build and run tst-nss-test1.
13091 * shlib-versions: Add entry for libnss_test1.
13092 * nss/nss_test1.c: New file.
13093 * nss/tst-nss-test1.c: New file.
13094
13095 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13096 (__nss_configure_lookup): Set appropriate entry in
13097 __nss_configure_lookup to true.
13098 * nss/nsswitch.h: Define enum with indeces of databases in
13099 databases and __nss_database_custom arrays. Declare
13100 __nss_database_custom.
13101 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13102 to avoid using nscd when custom rules are installed.
13103 * nss/getXXbyYY_r.c: Likewise.
13104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13105
13106 * nss/nss_files/files-parse.c: Whitespace fixes.
13107
f15ce4d8
UD
131082010-08-09 Ulrich Drepper <drepper@redhat.com>
13109
13110 [BZ #11883]
13111 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13112 * posix/fnmatch_loop.c: Likewise.
13113
d22e4cc9
AK
131142010-07-17 Andi Kleen <ak@linux.intel.com>
13115
13116 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13117 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13118 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13119 * Versions.def [GLIBC_2.13]: Add.
13120
805bc17d
UD
131212010-08-06 Ulrich Drepper <drepper@redhat.com>
13122
13123 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13124 Also fail if tpwd after pwuid call is NULL.
13125
5a42321d
ST
131262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13127
13128 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13129 when converting to ms.
13130
fd3ebeda
ST
131312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13132
13133 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13134 EOPNOTSUPP errors with ENOTTY.
13135 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13136 EOPNOTSUPP errors with ENOTTY.
13137
73507d3a
UD
131382010-07-31 Ulrich Drepper <drepper@redhat.com>
13139
13140 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13141 Add strcasecmp_l-ssse3.
13142 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13143 strcasecmp.
13144 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13145 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13146 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13147
fe36dd02
UD
131482010-07-30 Ulrich Drepper <drepper@redhat.com>
13149
66f6765a
UD
13150 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13151
42e08a54
UD
13152 * string/Makefile (strop-tests): Add strcasecmp.
13153 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13154 strcasecmp_l-nonascii.
13155 (gen-as-const-headers): Add locale-defines.sym.
13156 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13157 * sysdeps/x86_64/strcasecmp.S: New file.
13158 * sysdeps/x86_64/strcasecmp_l.S: New file.
13159 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13160 * sysdeps/x86_64/locale-defines.sym: New file.
13161 * string/test-strcasecmp.c: New file.
13162
fe36dd02
UD
13163 * string/test-strcasestr.c: Test both ends of the range of characters.
13164 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13165
48cbc0d6
RM
131662010-07-29 Roland McGrath <roland@redhat.com>
13167
76e6d6bc 13168 [BZ #11856]
48cbc0d6
RM
13169 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13170
880113d9
UD
131712010-07-27 Ulrich Drepper <drepper@redhat.com>
13172
13173 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13174 for ld.so.
13175
deb9cabb
AS
131762010-07-27 Andreas Schwab <schwab@redhat.com>
13177
13178 * manual/memory.texi (Malloc Tunable Parameters): Document
13179 M_PERTURB.
13180
1c7570ff
RM
131812010-07-26 Roland McGrath <roland@redhat.com>
13182
13183 [BZ #11840]
13184 * configure.in (-fgnu89-inline check): Set and substitute
13185 gnu89_inline, not libc_cv_gnu89_inline.
13186 * configure: Regenerated.
13187 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13188
24fb0f88
UD
131892010-07-26 Ulrich Drepper <drepper@redhat.com>
13190
13191 * string/test-strnlen.c: New file.
13192 * string/Makefile (strop-tests): Add strnlen.
13193 * string/tester.c (test_strnlen): Add a few more test cases.
13194 * string/tst-strlen.c: Better error reporting.
13195
13196 * sysdeps/x86_64/strnlen.S: New file.
13197
8e96b93a
UD
131982010-07-24 Ulrich Drepper <drepper@redhat.com>
13199
13200 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13201 lower-latency instructions.
13202
dbc676d4
UD
132032010-07-23 Ulrich Drepper <drepper@redhat.com>
13204
13205 * string/test-strcasestr.c: New file.
13206 * string/test-strstr.c: New file.
13207 * string/Makefile (strop-tests): Add strstr and strcasestr.
13208 * string/str-two-way.h: Don't undefine MAX.
13209 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13210
f6a31e0e
AS
132112010-07-21 Andreas Schwab <schwab@redhat.com>
13212
13213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13214 strcasestr-nonascii.
13215 (CFLAGS-strcasestr-nonascii.c): Define.
13216 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13218 Remove unused attribute.
13219
5dbc3b6c
RM
132202010-07-20 Roland McGrath <roland@redhat.com>
13221
13222 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13223 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13224 ld.so.cache was broken. With it, there is no way to disable dsocaps
13225 like LD_HWCAP_MASK can disable hwcaps.
13226
23d101d8
EPM
132272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13228
13229 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13230
cc9f2e47
UD
132312010-07-16 Ulrich Drepper <drepper@redhat.com>
13232
13233 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13234 call in strcasestr.
13235 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13236 __strcasestr_sse42_nonascii.
13237 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13238 strcasestr-nonascii.c.
13239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13240
77c1b069
LM
132412010-06-15 Luis Machado <luisgpm@br.ibm.com>
13242
13243 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13245 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13247
440566c3
UD
132482010-07-09 Ulrich Drepper <drepper@redhat.com>
13249
13250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13251 fcntl.
13252
5be9d05d
AS
132532010-07-06 Andreas Schwab <schwab@redhat.com>
13254
c30b7ee2 13255 [BZ #11577]
5be9d05d
AS
13256 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13257 dl_signal_cerror.
13258
8a492a67
UD
132592010-07-06 Ulrich Drepper <drepper@redhat.com>
13260
13261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13262 _PC_PIPE_BUF using F_GETPIPE_SZ.
13263
713df3d5
RM
132642010-07-05 Roland McGrath <roland@redhat.com>
13265
13266 * manual/arith.texi (Rounding Functions): Fix rint description
13267 implicit in round description.
13268
702e8f14
UD
132692010-07-02 Ulrich Drepper <drepper@redhat.com>
13270
13271 * elf/Makefile: Fix linking for a few tests to make recent linker
13272 happy.
13273
52ed8be9
AS
132742010-06-30 Andreas Schwab <schwab@redhat.com>
13275
13276 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13277 $(common-objpfx)libc_nonshared.a.
13278
f47c9a11
LM
132792010-06-21 Luis Machado <luisgpm@br.ibm.com>
13280
13281 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13282 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13283 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13284 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13285 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13286 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13287 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13288 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13303 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13304 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13305 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13306 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13307 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13308 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13309 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13310 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13311 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13312 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13313 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13314 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13329
6fb8cbcb
L
133302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13331
13332 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13333 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13334 * string/memmove.c (memmove): Renamed to ...
13335 (MEMMOVE): ...this. Default to memmove.
13336 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13337 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13338 (END_CHK): Define.
13339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13340 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13341 mempcpy-ssse3-back memmove-ssse3-back.
13342 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13345 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13346 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13347 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13348 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13349 * sysdeps/x86_64/multiarch/memmove.c: New file.
13350 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13351 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13352 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13353 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13354 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13356 Define.
13357 (index_Fast_Copy_Backward): Define.
13358 (HAS_ARCH_FEATURE): Define.
13359 (HAS_FAST_REP_STRING): Define.
13360 (HAS_FAST_COPY_BACKWARD): Define.
13361
4e733bac 133622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13363
13364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13365 Restore proper fallback handling.
13366
63c4ed22
UD
133672010-06-19 Ulrich Drepper <drepper@redhat.com>
13368
ac2b484c
UD
13369 [BZ #11701]
13370 * posix/group_member.c (__group_member): Correct checking loop.
13371
63c4ed22
UD
13372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13373 OOM in getpwuid_r correctly. Return error number when the caller
13374 should return, otherwise -1.
13375 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13376 call returning > 0 value.
13377 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13378
765ade4b
AS
133792010-06-07 Andreas Schwab <schwab@redhat.com>
13380
13381 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13382 libc_nonshared.a from targets in modules-names.
13383
80da2e09
KS
133842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13385
13386 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13387 requires it.
13388
158db122
LM
133892010-06-10 Luis Machado <luisgpm@br.ibm.com>
13390
13391 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13392 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13395
caa78cf8
AS
133962010-06-02 Andreas Schwab <schwab@redhat.com>
13397
13398 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13399
b2ef2c01
UD
134002010-06-14 Ulrich Drepper <drepper@redhat.com>
13401
13402 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13403 and F_GETPIPE_SZ.
13404 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13409 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13410
fbd643b6
RM
134112010-06-14 Roland McGrath <roland@redhat.com>
13412
13413 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13414
f32f2869
JJ
134152010-06-07 Jakub Jelinek <jakub@redhat.com>
13416
13417 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13418 __REDIRECT followed by __THROW.
13419 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13420 * posix/getopt.h (getopt): Likewise.
13421
2a50c078
EPM
134222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13423
13424 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13425 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13426 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13427 in AT_FLAGS.
13428 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13429 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13430
eb5ad2eb
LM
134312010-05-28 Luis Machado <luisgpm@br.ibm.com>
13432
13433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13434
3c88fe1e
L
134352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 [BZ #11640]
13438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13439 Properly check family and model.
13440
d2f73151
TY
134412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13442
13443 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13444
ebd2e13d
LM
134452010-05-24 Luis Machado <luisgpm@br.ibm.com>
13446
13447 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13448
b32b8b45
UD
134492010-05-21 Ulrich Drepper <drepper@redhat.com>
13450
13451 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13452 symbol reference.
13453
9acbe24d
AS
134542010-05-19 Andreas Schwab <schwab@redhat.com>
13455
13456 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13457 symbol reference.
13458
f0ccf6ea
AS
134592010-05-21 Andreas Schwab <schwab@redhat.com>
13460
3d04ff3a
AS
13461 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13462 and internal_recvmmsg.
13463 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13464 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13465 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13466 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13467
f0ccf6ea
AS
13468 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13469 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13470 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13471
5b08ac57
AS
134722010-05-20 Andreas Schwab <schwab@redhat.com>
13473
13474 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13475
4828935d
LM
134762010-05-17 Luis Machado <luisgpm@br.ibm.com>
13477
13478 POWER7 optimizations.
13479 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13480 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13481
373d545e
UD
134822010-05-19 Ulrich Drepper <drepper@redhat.com>
13483
13484 * version.h: Update for 2.13 development version.
13485
21a2b1ae
AS
134862010-05-12 Andrew Stubbs <ams@codesourcery.com>
13487
13488 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13489 exceptions. Return 0.
13490
3f7dcb2b
RM
134912010-05-07 Roland McGrath <roland@redhat.com>
13492
13493 * elf/ldconfig.c (main): Add a const.
13494
5f24d53a 134952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13496
a160f8d8
UD
13497 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13498 (args_options): Add no-idn option.
13499 (ahosts_keys_int): Add idn_flags to ai_flags.
13500 (parse_option): Handle 'i' option to clear idn_flags.
13501
5f24d53a
UD
13502 * malloc/malloc.c (_int_free): Possible race in the most recently
13503 added check. Only act on the data if no current modification
13504 happened.
265bb1ce
UD
13505
13506See ChangeLog.17 for earlier changes.