]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ARM: Define HAVE_ARM_PCS_VFP in config.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6a43ec98
CD
12012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2
3 * config.h.in: Add HAVE_ARM_PCS_VFP.
4
05c2c961
RMG
52012-05-08 Roland Mc Grath <roland@hack.frob.com>
6
7 [BZ #13979]
8 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9 checking but the checks are disabled for any reason.
10
4b30f61a
L
112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12
13 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14 and ELF64_R_TYPE with ELFW(R_TYPE).
15
eee2bc67
JM
162012-05-08 Joseph Myers <joseph@codesourcery.com>
17
7ea5391a
JM
18 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19 (ulimit): Likewise.
20
eee2bc67
JM
21 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22 (settimeofday): Likewise.
23
abb66a67
MF
242012-05-08 Mike Frysinger <vapier@gentoo.org>
25
26 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27 a struct th_u2 inside the union, and move tu_block/tu_code into
28 a new th_u3 union of tu_block/tu_code inside of that. Move
29 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33 (th_stuff): Change to th_u1.tu_stuff.
34 (th_data): Define.
35 (th_msg): Change to th_u1.th_u2.tu_data.
36
7f18b530
DM
372012-05-07 David S. Miller <davem@davemloft.net>
38
05760585
DM
39 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40
7f18b530
DM
41 [BZ #14074]
42 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43 (SETUP_PIC_REG): Use it.
44 (SETUP_PIC_REG_LEAF): Use it.
45
495fd99f
JM
462012-05-07 Joseph Myers <joseph@codesourcery.com>
47
48 [BZ #13885]
49 [BZ #13923]
50 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51 USE_AS_EXPM1L.
52 (EXPL_FINITE): Likewise.
53 (FLDLOG): Likewise.
54 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56 e_expl.S.
57 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58 USE_AS_EXPM1L.
59 (EXPL_FINITE): Likewise.
60 (FLDLOG): Likewise.
61 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63 e_expl.S.
64 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
65 test of -max_value argument for long double.
66 * sysdeps/i386/fpu/libm-test-ulps: Update.
67 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68
6693d694
DM
692012-05-06 David S. Miller <davem@davemloft.net>
70
71 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72 quad soft-float symbols whose references which are compiler
73 generated.
74 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75
6c23e11c
JM
762012-05-06 Joseph Myers <joseph@codesourcery.com>
77
d8b82cad
JM
78 [BZ #13884]
79 [BZ #13914]
80 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81 USE_AS_EXP10L.
82 (EXPL_FINITE): Likewise.
83 (FLDLOG): Likewise.
84 (c0): Likewise.
85 (c1): Likewise.
86 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
87 Adjust comments for base varying.
88 (__expl_finite): Change alias to EXPL_FINITE.
89 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
90 e_expl.S.
91 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
92 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
94 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
95 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
96 USE_AS_EXP10L.
97 (EXPL_FINITE): Likewise.
98 (FLDLOG): Likewise.
99 (c0): Likewise.
100 (c1): Likewise.
101 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
102 Adjust comments for base varying.
103 (__expl_finite): Change alias to EXPL_FINITE.
104 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
105 tests for bugs.
106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
107
6c23e11c
JM
108 [BZ #14064]
109 * math/libm-test.inc (check_float_internal): Correct ulp
110 calculation for subnormal expected results.
111
29ba805c
AJ
1122012-05-06 Andreas Jaeger <aj@suse.de>
113
114 * Makeconfig (+math-flags): New, set to -frounding-math.
115 (+cflags): Add +math-flags so that all of glibc gets compiled with
116 it.
117
118 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
119
7b17aeda
JM
1202012-05-05 Joseph Myers <joseph@codesourcery.com>
121
5779f134
JM
122 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
123 Disable one test.
124
41498f4d
JM
125 [BZ #13787]
126 [BZ #13922]
127 [BZ #14036]
128 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
129 (__ieee754_expl): Allow for and saturate large arguments.
130 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
131 (u_threshold): Likewise.
132 (__exp): Call __ieee754_exp before checking for overflow and
133 underflow.
134 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
135 (u_threshold): Likewise.
136 (__expf): Call __ieee754_expf before checking for overflow and
137 underflow.
138 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
139 (u_threshold): Likewise.
140 (__expl): Call __ieee754_expl before checking for overflow and
141 underflow.
142 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
143 (__ieee754_expl): Allow for and saturate large arguments.
144 * math/libm-test.inc (exp_test): Add another test. Do not allow
145 missing overflow exception on overflow.
146 (expm1_test): Do not allow missing overflow exception on overflow.
147
6698b8bf
JM
148 * sysdeps/i386/fpu/e_expl.c: Move to ...
149 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
150 rather than using inline asm.
151 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
152 * sysdeps/x86_64/fpu/e_expl.S: Copy from
153 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
154
7b17aeda
JM
155 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
156 (nice): Likewise.
157 (poll): Likewise.
158 (signal): Likewise.
159 (time): Likewise.
160 (times): Likewise.
161
f7c85819
JM
1622012-05-04 Joseph Myers <joseph@codesourcery.com>
163
164 * sysdeps/unix/syscalls.list (adjtime): Add entry from
165 sysdeps/unix/common/syscalls.list.
166 (fchmod): Likewise.
167 (fchown): Likewise.
168 (ftruncate): Likewise.
169 (getrusage): Likewise.
170 (gettimeofday): Likewise.
171 (setpgid): Likewise.
172 (setregid): Likewise.
173 (setreuid): Likewise.
174 (sigaction): Likewise.
175 (truncate): Likewise.
176 (vhangup): Likewise.
177 * sysdeps/unix/common/syscalls.list: Remove file.
178 * sysdeps/unix/bsd/Implies: Don't include unix/common.
179 * sysdeps/unix/sysv/linux/Implies: Likewise.
180
336270d0
L
1812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
182
183 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
185 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
186 Moved to ...
187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
188 Here.
189 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
190 to ...
191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
192 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
193 to ...
194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
195 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
196 to ...
197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
198 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
199 to ...
200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
201 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
202 to ...
203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
204 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
205 to ...
206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
207 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
208 to ...
209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
210 Here.
211 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
212 to ...
213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
214 Here.
215 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
216 to ...
217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
218 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
219 Moved to ...
220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
221 Here.
222 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
223 to ...
224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
225
d128e450
JM
2262012-05-04 Joseph Myers <joseph@codesourcery.com>
227
fa8ee516
JM
228 * sysdeps/unix/common/bits/dirent.h: Remove file.
229 * sysdeps/unix/common/bits/fcntl.h: Likewise.
230
d128e450
JM
231 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
232 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
233 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
234 * sysdeps/unix/bsd/isatty.c: Likewise.
235 * sysdeps/unix/bsd/tcdrain.c: Likewise.
236 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
237 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
238
ff8faaf0 2392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 240
62881be4 241 [BZ #13563]
31dc8730
AZ
242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
243 long double comparison inaccuracies.
244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
246
6fef930c
AS
2472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
248
249 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
251
8f203e6c
JM
2522012-05-04 Joseph Myers <joseph@codesourcery.com>
253
254 [BZ #14049]
255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
256 nonzero digits before rounding a hex value.
257 * stdlib/tst-strtod.c (tests): Add another test.
258
5197d9c2
AK
2592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
260
261 * sysdeps/s390/fpu/libm-test-ulps: Update.
262
f0c1dedf
AJ
2632012-05-03 Andreas Jaeger <aj@suse.de>
264
265 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
266 does not get optimized out.
267 (malloc_opt_barrier): New.
268
a65ef2ae 2692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 270 Roland McGrath <roland@hack.frob.com>
a65ef2ae 271
2b942cb7 272 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 273 intermediate file deletion.
2b942cb7 274 (generated): Add .symlist files.
a65ef2ae 275
54b71e02
JM
2762012-05-03 Joseph Myers <joseph@codesourcery.com>
277
278 [BZ #13775]
279 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
280 Redirect under this condition.
281 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
282 [__USE_GNU] (__dprintf_chk): Not under this condition.
283 [__USE_GNU] (__vdprintf_chk): Likewise.
284 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
285 under this condition.
286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
287 [__USE_XOPEN2K8] (dprintf): Define under this condition.
288 [__USE_XOPEN2K8] (vdprintf): Likewise.
289 [__USE_GNU] (__dprintf_chk): Not under this condition.
290 [__USE_GNU] (__vdprintf_chk): Likewise.
291 [__USE_GNU] (dprintf): Likewise.
292 [__USE_GNU] (vdprintf): Likewise.
293
d3dfcc41
RM
2942012-05-03 Roland McGrath <roland@hack.frob.com>
295
296 * elf/Makefile (common-generated): Set this instead of generated for
297 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
298 $(all-built-dso)-derived lists.
299
7ac30cc5
AJ
3002012-05-03 Andreas Jaeger <aj@suse.de>
301
0c51e550
AJ
302 * sysdeps/i386/fpu/libm-test-ulps: Update.
303
7ac30cc5
AJ
304 * FAQ: Removed.
305 * FAQ.in: Likewise.
306 * scripts/gen-FAQ.pl: Likewise.
307 * manual/install.texi (Installation): Point to online location of
308 FAQ.
309 * Makefile (files-for-dist): Remove FAQ.
310 (FAQ): Remove.
311
d4c2917f
AM
3122012-05-02 Allan McRae <allan@archlinux.org>
313
314 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
315 (LDFLAGS-reldepmod5.so): Likewise.
316 (LDFLAGS-reldep6mod1.so): Likewise.
317 (LDFLAGS-reldep6mod4.so): Likewise.
318 (LDFLAGS-reldep8mod3.so): Likewise.
319 (LDFLAGS-unload4mod1.so): Likewise.
320 (LDFLAGS-unload4mod2.so): Likewise.
321 (LDFLAGS-tst-initorder): Likewise.
322 (LDFLAGS-tst-initordera2.so): Likewise.
323 (LDFLAGS-tst-initordera3.so): Likewise.
324 (LDFLAGS-tst-initordera4.so): Likewise.
325 (LDFLAGS-tst-initorderb2.so): Likewise.
326 (LDFLAGS-noload): Likewise.
327 (LDFLAGS-next): Likewise.
328 (LDFLAGS-order2mod1.so): Likewise.
329 (LDFLAGS-order2mod2.so): Likewise.
330 (LDFLAGS-tst-initorder2): Likewise.
331 (LDFLAGS-tst-initorder2a.so): Likewise.
332 (LDFLAGS-tst-initorder2b.so): Likewise.
333 (LDFLAGS-tst-initorder2c.so): Likewise.
334 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
335
d77f993f
DM
3362012-05-02 David S. Miller <davem@davemloft.net>
337
338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
339
171a70b4
PP
3402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
341
342 [BZ #14055]
343 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
344
0be196ad
AJ
3452012-05-02 Andreas Jaeger <aj@suse.de>
346
347 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
348 since we manipulate rounding mode.
349 (CPPFLAGS-test-idouble.c): Likewise.
350 (CPPFLAGS-test-ifloat.c): Likewise.
351 (CFLAGS-test-ldouble.c): Likewise.
352 (CFLAGS-test-double.c): Likewise.
353 (CFLAGS-test-float.c): Likewise.
354 (CFLAGS-test-misc.c): Likewise.
355 (CFLAGS-test-test-fenv.c): Likewise.
356
4f9d04aa
AZ
3572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358
2b942cb7
RM
359 [BZ #2550]
360 [BZ #2570]
361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
362 comparisons to determine direction to adjust input.
4f9d04aa 363
82a79e7d
RM
3642012-05-01 Roland McGrath <roland@hack.frob.com>
365
f5a01ca9
RM
366 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
367 output to the target.
368
90fe4186
RM
369 * scripts/localplt.awk: New file.
370 * elf/Makefile ($(objpfx)check-localplt): Target removed.
371 (check-localplt-CFLAGS): Variable removed.
372 ($(all-built-dso:=.jmprel)): New static pattern rule.
373 (generated): Add those targets.
374 (localplt-built-dso): New variable.
375 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
376
377 * elf/check-localplt.c: File removed.
378
82397ed6
RM
379 * scripts/check-execstack.awk: New file.
380 * elf/Makefile ($(objpfx)check-execstack): Target removed.
381 (check-execstack-CFLAGS): Variable removed.
382 ($(objpfx)check-execstack.h): Target removed.
383 ($(objpfx)execstack-default): New target.
384 (generated): Add that instead of check-execstack.h.
385 ($(all-built-dso:=.phdr)): New static pattern rule.
386 (generated): Add those targets.
387 * elf/check-execstack.c: File removed.
388
82a79e7d
RM
389 * scripts/check-textrel.awk: New file.
390 * elf/Makefile ($(objpfx)check-textrel): Target removed.
391 (check-textrel-CFLAGS): Variable removed.
392 (all-built-dso): Use := to define.o
393 ($(all-built-dso:=.dyn)): New static pattern rule.
394 (generated): Add those targets.
395 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
396 * config.make.in (READELF): New substituted variable.
397 * elf/check-textrel.c: File removed.
398
62fde54f 3992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 400
615605c9
JM
401 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
402 allow.
403 * conform/data/ctype.h-data [C99-based standards] (isblank):
404 Expect function.
405 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
406 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
408 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
409 Specify type. Require positive value.
410 (EILSEQ): Likewise.
411 (ERANGE): Likewise.
412 [ISO || POSIX] (EILSEQ): Do not expect.
413 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
414 Specify type. Require positive value.
415 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
416 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
417 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
418 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
419 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
420 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
421 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
422 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
423 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
424 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
425 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
426 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
427 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
428 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
429 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
430 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
431 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
432 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
433 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
434 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
435 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
436 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
437 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
438 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
439 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
440 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
441 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
442 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
443 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
444 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
445 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
446 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
447 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
448 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
449 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
450 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
451 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
452 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
453 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
454 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
455 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
456 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
457 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
458 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
459 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
460 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
461 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
462 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
463 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
464 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
465 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
466 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
467 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
468 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
469 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
470 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
471 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
472 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
473 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
474 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
475 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
476 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
477 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
478 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
479 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
480 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
481 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
482 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
483 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
484 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
485 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
486 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
487 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
488 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
489 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
490 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
491 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
492 Require >= 2.
493 (FLT_ROUNDS): Expect as macro, not constant.
494 (FLT_MANT_DIG): Use macro-int-constant.
495 (DBL_MANT_DIG): Likewise.
496 (LDBL_MANT_DIG): Likewise.
497 (FLT_DIG): Likewise.
498 (DBL_DIG): Likewise.
499 (LDBL_DIG): Likewise.
500 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
501 (DBL_MIN_EXP): Likewise.
502 (LDBL_MIN_EXP): Likewise.
503 (FLT_MAX_EXP): Use macro-int-constant.
504 (DBL_MAX_EXP): Likewise.
505 (LDBL_MAX_EXP): Likewise.
506 (FLT_MAX_10_EXP): Likewise.
507 (DBL_MAX_10_EXP): Likewise.
508 (LDBL_MAX_10_EXP): Likewise.
509 (FLT_MAX): Use macro-constant.
510 (DBL_MAX): Likewise.
511 (LDBL_MAX): Likewise.
512 (FLT_EPSILON): Use macro-constant. Give upper bound.
513 (DBL_EPSILON): Likewise.
514 (LDBL_EPSILON): Likewise.
515 (FLT_MIN): Likewise.
516 (DBL_MIN): Likewise.
517 (LDBL_MIN): Likewise.
518 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
519 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
520 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
521 [ISO11] (FLT_HAS_SUBNORM): Likewise.
522 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
523 [ISO11] (DBL_DECIMAL_DIG): Likewise.
524 [ISO11] (FLT_DECIMAL_DIG): Likewise.
525 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
526 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
527 [ISO11] (FLT_TRUE_MIN): Likewise.
528 [ISO11] (LDBL_TRUE_MIN): Likewise.
529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
530 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
531 (SCHAR_MIN): Use macro-int-constant. Specify type.
532 (SCHAR_MAX): Likewise.
533 (UCHAR_MAX): Likewise.
534 (CHAR_MIN): Likewise.
535 (CHAR_MAX): Likewise.
536 (MB_LEN_MAX): Use macro-int-constant.
537 (SHRT_MIN): Use macro-int-constant. Specify type.
538 (SHRT_MAX): Likewise.
539 (USHRT_MAX): Likewise.
540 (INT_MAX): Likewise.
541 (INT_MIN): Use macro-int-constant. Specify type. Make upper
542 bound negative.
543 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
544 bound with "U".
545 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
546 bound with "L".
547 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
548 bound negative. Suffix upper bound with "L".
549 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
550 bound with "UL".
551 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
552 Specify type.
553 [C99-based standards] (LLONG_MAX): Likewise.
554 [C99-based standards] (ULLONG_MAX): Likewise.
555 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
556 == 0.
557 [ISO11] (max_align_t): Require type.
558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
559
c9140a62
JM
560 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
561 from $CFLAGS, without defining away __attribute__ calls.
562 (checknamespace): Use $CFLAGS_namespace.
563
9af0bf29
JM
564 * conform/conformtest.pl (@keywords): Only include C99 keywords
565 for standards based on C99 or C11.
566
343222a2
JM
567 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
568 Disable tests.
569 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
570 UNIX98]: Likewise.
571
661f8cf0
JM
572 * conform/conformtest.pl: Handle "macro-int-constant" and test for
573 usability of symbols in #if.
574
ee74b9cb
JM
575 * conform/conformtest.pl: If macro or constant types start
576 "promoted:", expect the symbol to be of the following type
577 promoted by the integer promotions.
62fde54f 578
aafc49b3
JM
579 * conform/conformtest.pl: Parse all "constant" and "macro" lines
580 in one place. Also handle "macro-constant".
581
fefdf574
JM
582 * conform/conformtest.pl: Only accept expected macro values with
583 "==". Parse all "macro" lines in one place.
584 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
585
f2d922fe
JM
586 * conform/conformtest.pl: Handle braced types on "constant" lines
587 instead of handling "typed-constant".
588 * conform/data/signal.h-data: Use "constant" instead of
589 "typed-constant".
590
d22956c9
JM
591 * conform/conformtest.pl: Handle "optional-" at start of lines in
592 one place rather than duplicating several cases. Handle each
593 format of "macro" line with initial "optional-".
594
028e2e38
JM
595 * conform/conformtest.pl: Only accept expected constant or
596 optional-constant values with "==". Parse all "constant" lines in
597 one place. Parse all "optional-constant" lines in one place.
598 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
599 * conform/data/fmtmsg.h-data: Likewise.
600 * conform/data/netinet/in.h-data: Likewise.
601 * conform/data/tar.h-data: Likewise.
602 * conform/data/limits.h-data: Use "==" form on "constant" and
603 "optional-constant" lines.
604
1b8f2850
JM
605 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
606 Use -std=c99 for XOPEN2K.
607 (@knownproblems): Remove.
608 (newtoken): Don't check %isknown.
609
a05a144b
JM
610 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
611 Do not expect macro.
612 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
613 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
614 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
615 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
616 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
617 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
618 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
619 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
620 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
621 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
622 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
623 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
624 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
625 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
626 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
627 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
628 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
629 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
630 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
631 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
632 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
633 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
636 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
637 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
638 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
639 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
640 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
641 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
642 [XPG3] (acosh): Likewise.
643 [XPG3] (asinh): Likewise.
644 [XPG3] (atanh): Likewise.
645 [XPG3] (cbrt): Likewise.
646 [XPG3] (expm1): Likewise.
647 [XPG3] (ilogb): Likewise.
648 [XPG3] (log1p): Likewise.
649 [XPG3] (logb): Likewise.
650 [XPG3] (nextafter): Likewise.
651 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
652 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
653 [XPG3] (remainder): Likewise.
654 [XPG3] (rint): Likewise.
655 [XPG3 || XPG4 || UNIX98] (round): Likewise.
656 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
657 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
658 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
659 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
660 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
661 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
662 [UNIX98 || XOPEN2K] (scalb): Expect.
663 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
664 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
665 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
666 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
667 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
668 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
669 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
670 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
671 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
672 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
673 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
674 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
675 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
676 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
677 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
678 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
679 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
680 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
681 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
682 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
683 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
684 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
685 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
686 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
687 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
688 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
689 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
690 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
691 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
692 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
693 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
694 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
695 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
696 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
697 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
698 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
699 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
700 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
701 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
702 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
703 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
704 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
705 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
706 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
707 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
708 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
709 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
710 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
711 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
712 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
713 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
714 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
715 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
716 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
717 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
718 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
719 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
720 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
721 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
722 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
723 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
724 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
725 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
726 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
727 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
728 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
729 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
730 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
731 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
732 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
733 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
734 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
735 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
736 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
737 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
738 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
739 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
740 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
741 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
742 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
743 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
744 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
745 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
746 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
747 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
748 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
749 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
750 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
751 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
752 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
753 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
754 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
755 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
756 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
757 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
758 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
759 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
760 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
761 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
762 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
763 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
764 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
765 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
766 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
767 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
768 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
769 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
770 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
771 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
772 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
773 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
774 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
775 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
776 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
777 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
778 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
779 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
780 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
781 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
782 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
783 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
784 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
785 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
786 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
787 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
788 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
789 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
790 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
791 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
792 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
793 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
794 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
795 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
796 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
797 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
798 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
799 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
800
73c5ebe3
JM
801 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
802 _XOPEN_SOURCE_EXTENDED for XPG4.
803
39c33b6c
JM
804 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
805
62fde54f
JM
806 * Makeconfig (localtime): Remove variable.
807 (inst_localtime-file): Likewise.
808
0741d64c
AS
8092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
810
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
812 Update.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
814 Update.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
816 Update.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
818 Update.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
820 Update.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
822 Update.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
824 Update.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
826 Update.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
828 Update.
829
7cb029ee
JM
8302012-05-01 Joseph Myers <joseph@codesourcery.com>
831
832 [BZ #2550]
833 [BZ #2570]
834 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
835 comparisons to determine direction to adjust input.
836 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
837 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
839 Likewise.
840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
841 Likewise.
842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
843 Likewise.
844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
846 Likewise.
847 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
848 Likewise.
849 * math/libm-test.inc (nexttoward_test): Add more tests.
850
412bd966
AS
8512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
852
853 [BZ #14040]
854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
855 in version GLIBC_2.1, not GLIBC_2.0.
856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
857 Likewise.
858
9568c0c2
JM
8592012-04-30 Joseph Myers <joseph@codesourcery.com>
860
adfbc8ac
JM
861 [BZ #13942]
862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
863 (1 - x) * (1 + x).
864 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
865 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
866 * math/libm-test.inc (acos_test): Add more tests.
867 (asin_test): Likewise.
868 * sysdeps/i386/fpu/libm-test-ulps: Update.
869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
870
5ba3cc69
JM
871 [BZ #14034]
872 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
873 of square root.
874 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
876 * math/libm-test.inc (acos_test_tonearest): New function.
877 (acos_test_towardzero): Likewise.
878 (acos_test_downward): Likewise.
879 (acos_test_upward): Likewise.
880 (asin_test_tonearest): Likewise.
881 (asin_test_towardzero): Likewise.
882 (asin_test_downward): Likewise.
883 (asin_test_upward): Likewise.
884 (main): Call the new functions.
885 * sysdeps/i386/fpu/libm-test-ulps: Update.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
887
9568c0c2
JM
888 [BZ #13884]
889 [BZ #13924]
890 * math/e_exp10.c: Include <float.h>.
891 (__ieee754_exp10): Handle underflow here rather than multiplying
892 large negative argument by M_LN10.
893 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
894 of __ieee754_expf.
895 * math/e_exp10l.c: Include <float.h>.
896 (__ieee754_exp10l): Handle underflow here rather than multiplying
897 large negative argument by M_LN10l.
898 * math/libm-test.inc (exp10_test): Add another test. Do not allow
899 spurious overflow exception on underflow.
900
5ac3ea17
MP
9012012-04-29 Marek Polacek <polacek@redhat.com>
902
903 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
904 (__fortify_function): New macro.
905 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
906 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
907 __extern_always_inline.
908 * libio/bits/stdio2.h: Likewise.
909 * libio/bits/stdio.h: Likewise.
910 * string/string.h: Likewise.
911 * string/bits/string3.h: Likewise.
912 * include/stdio.h: Likewise.
913 * stdlib/bits/stdlib.h: Likewise.
914 * stdlib/stdlib.h: Likewise.
915 * rt/bits/mqueue2.h: Likewise.
916 * rt/mqueue.h: Likewise.
917 * posix/bits/unistd.h: Likewise.
918 * posix/unistd.h: Likewise.
919 * io/bits/poll2.h: Likewise.
920 * io/bits/fcntl2.h: Likewise.
921 * io/fcntl.h: Likewise.
922 * io/sys/poll.h: Likewise.
923 * misc/bits/syslog.h: Likewise.
924 * misc/bits/syslog-ldbl.h: Likewise.
925 * misc/sys/syslog.h: Likewise.
926 * socket/bits/socket2.h: Likewise.
927 * socket/sys/socket.h: Likewise.
928 * debug/tst-chk1.c: Likewise.
929 * wcsmbs/bits/wchar2.h: Likewise.
930 * wcsmbs/bits/wchar-ldbl.h: Likewise.
931 * wcsmbs/wchar.h: Likewise.
932
ecf0ebfb
AJ
9332012-04-29 Andreas Jaeger <aj@suse.de>
934
935 * Makerules (tests): Remove enable-check-abi protection.
936 (check-abi-warn): Remove.
937 (check-abi-%): Remove check-abi-warn usage.
938
939 * configure.in: Remove check-abi configure option.
940 * configure: Regenerated.
941 * config.make.in (enable-check-abi): Remove.
942
6d5c57fa
AS
9432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
944
24c5d07e 945 [BZ #14033]
ded5180a
AS
946 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
947 double functions to double *_finite functions.
948
7e0d315d
AS
949 [BZ #13941]
950 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
951 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
952 LDBL_MIN_EXP.
953 * stdio-common/Makefile (tests): Add tst-sprintf3.
954 * stdio-common/tst-sprintf3.c: New file.
955
6d5c57fa
AS
956 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
957 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
958
0749ff8b
JM
9592012-04-28 Joseph Myers <joseph@codesourcery.com>
960
961 * conform/conformtest.pl: Remove duplicate typed-constant
962 handling.
963
8dbd5d7b
DM
9642012-04-28 David S. Miller <davem@davemloft.net>
965
966 * Makerules (%.abilist): Add vpath on sysdep_dirs.
967 (check-abi-%): Remove AWK script prerequisite and explicit
968 abilist directory.
969 (check-abi): Rewrite to just diff the symlist with the abilist.
970 (config-tls, config-abi-config): Delete, no longer used.
971 (update-abi-%): Remove AWK script and explicit abilist directory.
972 (update-abi): Rewrite to simply compare and conditionally copy the
973 symlist and the sysdep abilist file. Remove update-abi-config
974 checks.
975 * abilist/ld.abilist: Remove.
976 * abilist/libBrokenLocale.abilist: Remove.
977 * abilist/libanl.abilist: Remove.
978 * abilist/libcrypt.abilist: Remove.
979 * abilist/libdl.abilist: Remove.
980 * abilist/librt.abilist: Remove.
981 * abilist/libthread_db.abilist: Remove.
982 * abilist/libutil.abilist: Remove.
983 * scripts/extract-abilist.awk: Remove.
984 * scripts/merge-abilist.awk: Remove.
985 * sysdeps/generic/libcidn.abilist: New file.
986 * sysdeps/generic/libnss_compat.abilist: New file.
987 * sysdeps/generic/libnss_db.abilist: New file.
988 * sysdeps/generic/libnss_dns.abilist: New file.
989 * sysdeps/generic/libnss_files.abilist: New file.
990 * sysdeps/generic/libnss_hesiod.abilist: New file.
991 * sysdeps/generic/libnss_nis.abilist: New file.
992 * sysdeps/generic/libnss_nisplus.abilist: New file.
993 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
994 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
995 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
996 file.
997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
998 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
999 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1000 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1001 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1002 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1003 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1004 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1005 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1006 file.
1007 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1008 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1010 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1011 file.
1012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1014 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1015 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1016 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1018 file.
1019 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1021 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1022 file.
1023 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1025 New file.
1026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1027 New file.
1028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1029 New file.
1030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1031 New file.
1032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1033 New file.
1034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1035 New file.
1036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1037 New file.
1038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1039 New file.
1040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1041 New file.
1042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1043 New file.
1044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1045 New file.
1046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1047 New file.
1048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1049 New file.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1051 file.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1053 New file.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1055 New file.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1057 file.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1059 New file.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1061 New file.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1063 file.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1065 New file.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1067 New file.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1069 New file.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1071 New file.
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1073 New file.
1074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1075 New file.
1076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1078 file.
1079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1080 New file.
1081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1082 file.
1083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1084 file.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1086 file.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1088 file.
1089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1090 file.
1091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1092 New file.
1093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1094 file.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1096 file.
1097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1098 New file.
1099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1100 file.
1101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1103 file.
1104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1105 New file.
1106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1107 file.
1108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1109 file.
1110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1111 file.
1112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1113 file.
1114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1115 file.
1116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1117 New file.
1118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1119 file.
1120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1121 file.
1122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1123 New file.
1124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1125 file.
1126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1127 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1128 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1129 file.
1130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1131 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1132 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1133 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1134 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1135 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1136 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1138 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1139 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1142 file.
1143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1144 New file.
1145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1146 file.
1147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1148 file.
1149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1150 file.
1151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1152 file.
1153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1154 file.
1155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1156 New file.
1157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1158 New file.
1159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1160 file.
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1162 New file.
1163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1164 file.
1165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1167 file.
1168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1169 New file.
1170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1171 file.
1172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1173 file.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1175 file.
1176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1177 file.
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1179 file.
1180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1181 New file.
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1183 New file.
1184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1185 file.
1186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1187 New file.
1188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1189 file.
1190
41d73a1b
JM
11912012-04-28 Joseph Myers <joseph@codesourcery.com>
1192
1193 * conform/conformtest.pl: Fix typo in handling typed-constant from
1194 allow-header.
1195
28aeeda4
JM
11962012-04-27 Joseph Myers <joseph@codesourcery.com>
1197
adae8f5e
JM
1198 * README: Cut down references to pre-2.6 Linux kernels and
1199 Linuxthreads. Update lists of configurations in libc and ports
1200 and sort alphabetically. Say "or newer" with Linux kernel version
1201 requirements.
1202
28aeeda4
JM
1203 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1204
a462cb63
RA
12052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1206
1207 [BZ #887]
1208 * math/libm-test.inc (logb_test_downward): New test to expose
1209 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1210 rounding mode.
1211
6ad3493e
JM
12122012-04-27 Joseph Myers <joseph@codesourcery.com>
1213
1214 [BZ #14027]
1215 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1216 to be done.
1217 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1218 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1219
2ce4f015
JM
12202012-04-26 Joseph Myers <joseph@codesourcery.com>
1221
5aeb141a
JM
1222 * sysdeps/unix/i386/brk.S: Remove file.
1223 * sysdeps/unix/i386/dl-brk.S: Likewise.
1224 * sysdeps/unix/i386/pipe.S: Likewise.
1225 * sysdeps/unix/i386/sigreturn.S: Likewise.
1226 * sysdeps/unix/i386/syscall.S: Likewise.
1227 * sysdeps/unix/i386/vfork.S: Likewise.
1228 * sysdeps/unix/i386/wait.S: Likewise.
1229
7143acae
JM
1230 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1231 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1232
2ce4f015
JM
1233 * configure.in (arm*-none*): Do not allow without
1234 --enable-hacker-mode.
1235 (netbsd*): Remove case setting base_os.
1236 (386bsd*): Likewise.
1237 (freebsd*): Likewise.
1238 (bsdi*): Likewise.
1239 (osf*): Likewise.
1240 (sunos*): Likewise.
1241 (ultrix*): Likewise.
1242 (newsos*): Likewise.
1243 (dynix*): Likewise.
1244 (*bsd*): Likewise.
1245 (sysv*): Likewise.
1246 (isc*): Likewise.
1247 (esix*): Likewise.
1248 (sco*): Likewise.
1249 (minix*): Likewise.
1250 (irix4*): Likewise.
1251 (irix6*): Likewise.
1252 (solaris[2-9]*): Likewise.
1253 (none): Likewise.
1254 * configure: Regenerated.
1255
0ac229c8
AZ
12562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257
1258 [BZ #11521]
1259 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1260 overflow or cancellation in calculating denominator.
1261 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1263 down expression to avoid unexpected rounding in newer GCCs.
1264 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1265
33f244f4
DM
12662012-04-26 David S. Miller <davem@davemloft.net>
1267
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1269 long-double compat symbols.
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1283
cfa1f3e8
DM
12842012-04-25 David S. Miller <davem@davemloft.net>
1285
1286 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1287 HWCAP_* values only after the memory barriers have been defined.
1288 (atomic_full_barrier): Define.
1289 (atomic_read_barrier): Define.
1290 (atomic_write_barrier): Define.
1291
6e236b92
SP
12922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1293
1294 * shlib-versions: Add libgcc_s version information.
1295 * sysdeps/generic/libgcc_s.h: Remove.
1296 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1297 libgcc_s.h.
1298 * sysdeps/gnu/unwind-resume.c: Likewise.
1299 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1300
aab39a09
DM
13012012-04-25 David S. Miller <davem@davemloft.net>
1302
1303 * sysdeps/unix/sparc/brk.S: Delete.
1304 * sysdeps/unix/sparc/dl-brk.S: Delete.
1305 * sysdeps/unix/sparc/pipe.S: Delete.
1306 * sysdeps/unix/sparc/sysdep.S: Delete.
1307 * sysdeps/unix/sparc/sysdep.h: Delete.
1308 * sysdeps/unix/sparc/vfork.S: Delete.
1309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1310 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1312 ret_ERRVAL, r0, r1, MOVE): Define.
1313 (JUMPTARGET): Remove.
1314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1315 sysdeps/unix/sparc/sysdep.h
1316 (ENTRY, END): Remove.
1317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1318
a3cc4f48
JM
13192012-04-25 Joseph Myers <joseph@codesourcery.com>
1320
2ed8cda2
JM
1321 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1322 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1323 -DIS_IN_build.
1324
35d76d59
JM
1325 * timezone/README: Update upstream location and email address for
1326 tzcode and tzdata.
1327 * timezone/zdump.c: Update from tzcode 2012b.
1328 * timezone/zic.c: Likewise.
1329
a3cc4f48
JM
1330 * configure.in (libc_cv_as_needed): Remove test.
1331 * configure: Regenerated.
1332 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1333 conditional definition.
1334 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1335 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1336 * config.make.in (have-as-needed): Remove variable.
1337
ceab42c3
SP
13382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1339 Paul Pluzhnikov <ppluzhnikov@google.com>
1340
1341 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1342 strings correctly.
1343
3ce2865f
CLT
13442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1345
1346 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1347 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1348 * sysdeps/sh/strlen.S: Likewise.
1349
f37e0d68
JM
13502012-04-24 Joseph Myers <joseph@codesourcery.com>
1351
ae186e9a
JM
1352 * sysdeps/unix/fork.S: Remove file.
1353 * sysdeps/unix/i386/fork.S: Likewise.
1354 * sysdeps/unix/sparc/fork.S: Likewise.
1355
b96914af
JM
1356 * sysdeps/unix/system.c: Remove file.
1357 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1358
f37e0d68
JM
1359 * sysdeps/unix/getegid.S: Remove file.
1360 * sysdeps/unix/geteuid.S: Likewise.
1361
87ef29ca
RM
13622012-04-24 Roland McGrath <roland@hack.frob.com>
1363
83bcd236
RM
1364 * scripts/check-localplt.awk: New file.
1365 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1366 of diff.
1367 * scripts/data/localplt-generic.data: Add a comment.
1368
87ef29ca
RM
1369 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1370 NODE when __dir_mkfile failed.
1371 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1372 Reported by Ludovic Courtès <ludo@gnu.org>.
1373
e5a6e567
AJ
13742012-04-24 Andreas Jaeger <aj@suse.de>
1375
1376 * Makerules (common-clean): Also remove gen-as-const-headers
1377 files.
1378
c1820385
JM
13792012-04-24 Joseph Myers <joseph@codesourcery.com>
1380
1381 * Makerules (native-compile): Do not change working directory for
1382 build. Use $(OUTPUT_OPTION) in command.
1383 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1384
94e02fc4
AZ
13852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386
1387 [BZ #13886]
1388 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1389 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1390 * math/libm-test.inc (floor_test): Add more tests.
1391 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1392
3a533ca3
JM
13932012-04-24 Joseph Myers <joseph@codesourcery.com>
1394
940ab4b3
JM
1395 * sysdeps/unix/getdents.c: Remove file.
1396 * sysdeps/unix/sysv/getdents.c: Likewise.
1397 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1398
90e037bd
JM
1399 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1400 sysdeps/unix/mman/syscalls.list.
1401 (mmap): Likewise.
1402 (mprotect): Likewise.
1403 (msync): Likewise.
1404 (munmap): Likewise.
1405 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1406 * sysdeps/unix/mman/syscalls.list: Remove.
1407 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1408
3a533ca3
JM
1409 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1410 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1411 * configure: Regenerated.
1412 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1413 $(libgcc_s_suffix).
1414 * config.make.in (libgcc_s_suffix): Remove variable.
1415
1ad743de
JM
14162012-04-23 Joseph Myers <joseph@codesourcery.com>
1417
4ad451e2
JM
1418 * sysdeps/unix/sysv/gethostname.c: Move to ...
1419 * sysdeps/posix/gethostname.c: ... here.
1420
5e37ce39
JM
1421 * sysdeps/unix/execve.S: Remove file.
1422
1ad743de
JM
1423 * sysdeps/unix/_exit.S: Remove file.
1424
4e681b5b
AJ
14252012-04-23 Andreas Jaeger <aj@suse.de>
1426
1427 [BZ #13739]
1428 * manual/Makefile: Remove make dist support, there's no
1429 need for a stand-alone documentation tar ball.
1430 (TEXI2DVI): Define always, it's not in Makeconfig.
1431 (dist): Removed.
1432 (tar-it): Removed.
1433 (edition): Removed.
1434 (glibc-doc-$(edition).tar): Removed
1435 (%.Z): Removed.
1436 (%.gz): Removed.
1437 (%.uu): Removed.
1438 (ETAGS): Remove, it's in Makeconfig.
1439 (move-if-change): Remove, it's in Makeconfig.
1440
c0baea34
PE
14412013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1442
1443 [BZ #13970]
1444 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1445 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1446 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1447 (strtod_l, strtof_l, strtold_l): Remove __wur.
1448 It is not necessarily an error to ignore strtol's return value.
1449 One can reliably look at the stored endptr to decide whether
1450 the number had valid syntax.
1451
7c0616fa
AJ
14522012-04-21 Andreas Jaeger <aj@suse.de>
1453
803cb6b7 1454 [BZ #13739]
7c0616fa
AJ
1455 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1456
b0fe253f
JM
14572012-04-21 Joseph Myers <joseph@codesourcery.com>
1458
1459 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1460 * sysdeps/unix/sysv/Versions: Remove file.
1461
8280f22d
MT
14622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1463
1464 [BZ #13927]
1465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1466
75ce411f 14672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1468
1469 [BZ #7064]
1470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1471 version from __vm86.
1472
097d59fa
JM
14732012-04-20 Joseph Myers <joseph@codesourcery.com>
1474
a90f3bcb
JM
1475 * sysdeps/unix/common/lxstat.c: Remove file.
1476 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1477
edc7ea78
JM
1478 * sysdeps/unix/sysv/Makefile: Remove file.
1479
cb78c221
JM
1480 * sysdeps/unix/sysv/direct.h: Remove file.
1481
efa6a45f
JM
1482 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1483 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1484 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1485 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1486 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1487 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1488 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1489
9c9f2d0c
JM
1490 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1491
4541c83b
JM
1492 * sysdeps/unix/xmknod.c: Remove file.
1493 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1494
f5d153a0
JM
1495 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1496
aa746595
JM
1497 * sysdeps/unix/sysv/i386/time.S: Remove file.
1498
cce5905e
JM
1499 * sysdeps/unix/fxstat.c: Remove file.
1500 * sysdeps/unix/xstat.c: Likewise.
1501 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1502
37fa3841
JM
1503 * sysdeps/unix/sysv/sigaction.c: Remove file.
1504
ff1962a3
JM
1505 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1506 (sysdep_headers): Remove variable.
1507 [termio.h not in sysdep_headers] (generated): Likewise.
1508 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1509 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1510 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1511 * sysdeps/unix/sysv/tcflow.c: Likewise.
1512 * sysdeps/unix/sysv/tcflush.c: Likewise.
1513 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1514 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1515 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1516 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1517 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1518
e7740d31
JM
1519 * sysdeps/unix/siglist.c: Remove file.
1520
ee06f18b
JM
1521 * sysdeps/unix/getppid.S: Remove file.
1522
097d59fa
JM
1523 * sysdeps/unix/mkdir.c: Remove file.
1524 * sysdeps/unix/rmdir.c: Likewise.
1525
ff3d51ec
AS
15262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1527
1528 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1529 ERR_MAX value.
1530 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1531 errlist-compat value.
1532
50f81fd7
DM
15332012-04-18 David S. Miller <davem@davemloft.net>
1534
1535 * sysdeps/generic/memcopy.h (reg_char): Delete.
1536 * debug/strcat_chk.c: Use char, not reg_char.
1537 * debug/strcpy_chk.c: Likewise.
1538 * debug/strncat_chk.c: Likewise.
1539 * debug/strncpy_chk.c: Likewise.
1540 * string/memchr.c: Likewise.
1541 * string/memrchr.c: Likewise.
1542 * string/rawmemchr.c: Likewise.
1543 * string/strcat.c: Likewise.
1544 * string/strchr.c: Likewise.
1545 * string/strchrnul.c: Likewise.
1546 * string/strcmp.c: Likewise.
1547 * string/strcpy.c: Likewise.
1548 * string/strncat.c: Likewise.
1549 * string/strncmp.c: Likewise.
1550 * string/strncpy.c: Likewise.
1551
8ff41c46
WS
15522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1553
1554 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1555 __builtin_memcopy is called when src and dest ranges are known to not
1556 overlap.
1557
6b652f46
WS
15582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1559
1560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1561 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1562 fwd_align_merge macro call.
1563 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1564 bwd_align_merge macro call.
1565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1566
b282631e
WS
15672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1568
1569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1570 bwd_align_merge macros.
1571 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1572 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1573 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1574
95aa737c
DM
15752012-04-18 David S. Miller <davem@davemloft.net>
1576
1577 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1578
7a99a614
AJ
15792012-04-18 Andreas Jaeger <aj@suse.de>
1580
1581 [BZ# 6794]
1582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1583 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1585
1586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1587 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1589
1590 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1591 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1592 Adjust for changed ldbl-128 files.
1593
1594 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1595 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1597
e5270c23
DM
15982012-04-17 David S. Miller <davem@davemloft.net>
1599
1600 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1601
fb5e92c9
AS
16022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1603
1604 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1605 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1606 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1607 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1608 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1609 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1610
76da7265
AZ
16112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1612
1613 [BZ #6794]
1614 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1615 * math/libm-test.inc: Add ilogb errno and exception tests.
1616 * math/w_ilogb.c: New file: ilogb wrapper.
1617 * math/w_ilogbf.c: New file: ilogbf wrapper.
1618 * math/w_ilogbl.c: New file: ilogbl wrapper.
1619 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1620 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1621 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1622 exception being thrown with 0.0 as argument.
1623 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1624 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1625 exception being thrown with 0.0 as argument.
1626 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1627 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1628 exception being thrown with 0.0 as argument.
1629 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1630 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1631 exception being thrown with 0.0 as argument.
1632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1633 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1634 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1635 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1636 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1638 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1639 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1640 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1641
0396e69d
PB
16422012-04-17 Petr Baudis <pasky@ucw.cz>
1643
1644 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1645 with altivec.
1646
750b5926
MP
16472012-04-16 Marek Polacek <polacek@redhat.com>
1648
1649 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1650
751728a1
MP
16512012-04-16 Marek Polacek <polacek@redhat.com>
1652
1653 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1654 operands of fdivp instruction.
1655
34a27407
L
16562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1659 * elf/tst-auditmod3b.c: Likewise.
1660 * elf/tst-auditmod4b.c: Likewise.
1661 * elf/tst-auditmod5b.c: Likewise.
1662 * elf/tst-auditmod6b.c: Likewise.
1663 * elf/tst-auditmod6c.c: Likewise.
1664 * elf/tst-auditmod7b.c: Likewise.
1665 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1666 * sysdeps/x86_64/preconfigure.in: Likewise.
1667 * sysdeps/x86_64/preconfigure: Regenerated.
1668
7e73e17d
L
16692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1672 __ILP32__.
1673
c7a6ab72
AB
16742012-04-13 Antoine Balestrat <merkil33@gmail.com>
1675
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1677 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1678
a9e8e0e0
CL
16792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1680
1681 [BZ #13973]
1682 * locale/iso-639.def: Fix gl language name. Spotted by
1683 Yaron Shahrabani.
1684
ec98af7d
RM
16852012-04-12 Roland McGrath <roland@hack.frob.com>
1686
1687 [BZ #2074]
1688 * libio/libio.h (__io_write_fn): Update comment.
1689
247c3ede
PB
16902012-04-12 Petr Baudis <pasky@ucw.cz>
1691
1692 [BZ #2074]
1693 * stdio.texi (Hook Functions): The user provided writer function
1694 is not allowed to return -1.
1695
55939d6d
DM
16962012-04-11 David S. Miller <davem@davemloft.net>
1697
1698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1699
90020f5a
MF
17002012-04-11 Mike Frysinger <vapier@gentoo.org>
1701
1702 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1703 Add a leading slash to rtkaio.
1704
288f9098
JM
17052012-04-11 Jim Meyering <meyering@redhat.com>
1706
90020f5a
MF
1707 [BZ #11959]
1708 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1709 It is not necessarily an error to ignore fwrite's return
1710 value. One can reliably use ferror to test for errors after
1711 the fact.
288f9098 1712
4be2b570
L
17132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 * bits/types.h (__snseconds_t): New type.
1716 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1717
1718 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1720 (__SNSECONDS_T_TYPE): Likewise.
1721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1722 (__SNSECONDS_T_TYPE): Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1724 (__SNSECONDS_T_TYPE): Likewise.
1725
288f9098 17262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1727
1728 [BZ #2636]
1729 * manual/time.texi (Processor Time): Return type of times is
1730 elapsed real time since an arbitrary point in the past.
1731 (CPU Time): Move CLK_TCK from here...
1732 (Processor Time): ...to here. Correct description.
1733 * manual/conf.texi (Constants for Sysconf): Correct description of
1734 _SC_CLK_TCK.
1735
d7dd4413
DM
17362012-04-10 David S. Miller <davem@davemloft.net>
1737
1738 [BZ #13967]
1739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1740 where the is a gap between DT_REL(A) and DT_JMPREL.
1741
b46068fc
L
17422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1743
1744 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1745 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1746 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1747
73d65cc3
SP
17482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1749
1750 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1751 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1752 (dl_main): Handle --inhibit-cache.
1753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1754 _dl_inhibit_cache.
1755 * elf/dl-load.c (_dl_map_object): Use it.
1756 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1757
bcc8d661
JM
17582012-04-09 Joseph Myers <joseph@codesourcery.com>
1759
8f9a2fae
JM
1760 [BZ #13872]
1761 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1762 (__ieee754_powl): Saturate large exponents rather than testing for
1763 overflow of y*log2(x).
1764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1765 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1766 exceptions.
1767
bcc8d661
JM
1768 [BZ #11521]
1769 * math/s_ctan.c: Include <float.h>.
1770 (__ctan): Avoid internal overflow or cancellation in calculating
1771 denominator.
1772 * math/s_ctanf.c: Likewise.
1773 * math/s_ctanl.c: Likewise.
1774 * math/s_ctanh.c: Likewise.
1775 * math/s_ctanhf.c: Likewise.
1776 * math/s_ctanhl.c: Likewise.
1777 * math/libm-test.inc (ctan_test): Add more tests.
1778 (ctanh_test): Likewise.
1779 * sysdeps/i386/fpu/libm-test-ulps: Update.
1780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1781
823fbbb4
AJ
17822012-04-09 Andreas Jaeger <aj@suse.de>
1783
03879793
AJ
1784 [BZ #6894]
1785 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1786 is an optional BSD extension.
1787
823fbbb4
AJ
1788 [BZ #10254]
1789 * manual/stdio.texi (Opening Streams): Document additional fopen
1790 parameters.
1791
8de131cb
RM
17922012-04-09 Roland McGrath <roland@hack.frob.com>
1793
1794 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1795 %eax without telling the compiler.
1796
c0ed9d7d
CD
17972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1798
1799 [BZ # 13963]
1800 * manual/install.texi: Use sourceware.org.
1801
c483f6b4
JM
18022012-04-09 Joseph Myers <joseph@codesourcery.com>
1803
d7dd9453
JM
1804 [BZ #13873]
1805 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1806 (__ieee754_pow): Generate overflow and underflow using huge*huge
1807 and tiny*tiny rather than just returning constant infinity or zero
1808 for large exponents.
1809 * math/libm-test.inc (pow_test): Require overflow exceptions for
1810 applicable cases of large exponents.
1811
c483f6b4
JM
1812 [BZ #706]
1813 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1814 (__ieee754_pow): Use iterative multiplication algorithm only for
1815 integer exponents with absolute value below 1024. Check for odd
1816 integer exponents when using algorithm for real exponents.
1817 * math/libm-test.inc (pow_test): Add more tests.
1818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1819
d2de7579
JM
18202012-04-08 Joseph Myers <joseph@codesourcery.com>
1821
1822 [BZ #13705]
1823 * math/libm-test.inc (exp_test): Do not allow overflow exception
1824 on underflow test.
1825
f77f1232
AJ
18262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1827
1828 [BZ #13705]
1829 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1830 instead of __kernel_standard_f.
1831
3884932b
MF
18322012-04-08 Mike Frysinger <vapier@gentoo.org>
1833
1834 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1835 * sysdeps/x86_64/memset_chk.S: Likewise.
1836
54472e9c
AJ
18372012-04-08 Andreas Jaeger <aj@suse.de>
1838
6ab0fbfc
AJ
1839 [BZ #10153]
1840 * manual/startup.texi (Environment Access): Describe return value
1841 for putenv and setenv.
1842
61efba8c
AJ
1843 [BZ #6895]
1844 * manual/filesys.texi (Directory Entries): Add description for
1845 DT_LNK.
1846
95c3f29a
AJ
1847 [BZ #6890]
1848 * manual/filesys.texi (Directory Entries): Clarify that it's file
1849 system not operating system in the description of DT_UNKNOWN.
1850
54472e9c
AJ
1851 [BZ #6578]
1852 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1853
624254b1
SC
18542012-04-08 Stephen Compall <s11@member.fsf.org>
1855
1856 [BZ #6649]
1857 * manual/llio.texi (Opening and Closing Files): Add cross
1858 reference to explain mode argument.
1859
1e4920e0
MF
18602012-04-07 Mike Frysinger <vapier@gentoo.org>
1861
1862 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1863 * sysdeps/x86_64/memset_chk.S: Likewise.
1864
5ed848f3
DM
18652012-04-07 David S. Miller <davem@davemloft.net>
1866
1867 * elf/elf.h (R_SPARC_WDISP10): Define.
1868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1869 R_SPARC_SIZE32.
1870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1871 R_SPARC_SIZE64 and R_SPARC_H34.
1872
96154cd8
CD
18732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1874
1875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1876 conditions and remove no longer applicable assertion.
1877
9904dc47
L
18782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1879
1880 * bits/byteswap.h: Include <features.h>.
1881 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1882 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1883
f8887d0a
L
18842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 * bits/byteswap.h (__bswap_16): Removed.
1887 Include <bits/byteswap-16.h> to get __bswap_16.
1888 * sysdeps/i386/bits/byteswap.h: Likewise.
1889 * sysdeps/s390/bits/byteswap.h: Likewise.
1890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1891 * bits/byteswap-16.h: New file.
1892 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1893 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1894 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1895 * string/Makefile (headers): Add bits/byteswap-16.h.
1896
62470f60
PP
18972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1898
1899 [BZ #13895]
1900 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1901 extra indirection.
1902 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1903 * nss/tst-nss-static.c: New.
1904
4dad7bab
RM
19052012-04-06 Robert Millan <rmh@gnu.org>
1906
1907 [BZ #6486]
1908 * manual/llio.texi (File Position Primitive): lseek
1909 refers to WHENCE when it really means OFFSET.
1910
e9142a17
AJ
19112012-04-06 Andreas Jaeger <aj@suse.de>
1912
2c040eff
AJ
1913 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1914 strncmp declarations.
1915
e9142a17
AJ
1916 * abilist/libc.abilist: Add __poll and __ppoll.
1917
ff9f1c5f
DM
19182012-04-05 David S. Miller <davem@davemloft.net>
1919
dcd2ae90
DM
1920 * scripts/check-local-headers.sh: Accept a host triplet in the
1921 path matched by the exclude regexp.
1922
993eb054
DM
1923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1924 definition.
1925 * sysdeps/powerpc/powerpc32/dl-machine.h
1926 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1927 * sysdeps/s390/s390-32/dl-machine.h
1928 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1929 * sysdeps/sparc/sparc32/dl-machine.h
1930 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1931 * sysdeps/sparc/sparc64/dl-machine.h
1932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1933
ff9f1c5f
DM
1934 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1935 lazy binding.
48e2e132 1936 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1937 undefined symbol errors.
1938
48e2e132 1939 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1940 DT_NEEDED entries.
1941
e80d6f94
MM
19422012-04-05 Michael Matz <matz@suse.de>
1943
1944 [BZ #13592]
1945 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1946
349fa79f
AJ
19472012-04-05 Andreas Jaeger <aj@suse.de>
1948
1949 [BZ #13908]
1950 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1951 comment.
1952
f402708f
KK
19532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1954
1955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1956 which ROUND is no valid rounding mode.
1957
2ecccfc9
KK
19582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1959
1960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1961 read again.
1962 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1963
8a53f50f
KK
19642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1965
1966 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1967 an exception using FPU order intentionally.
1968
19692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1970
1971 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1972 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1973 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1974 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1975
d653abb7
SJ
19762012-04-05 Simon Josefsson <simon@josefsson.org>
1977
1978 [BZ #12340]
1979 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1980 EINVAL when BUFLEN is too smal.
1981
c3b1bf7d
TS
19822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1983
1984 [BZ #13553]
1985 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1986 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1987
b1aa60f3
AJ
19882012-04-03 Andreas Jaeger <aj@suse.de>
1989
c3b1bf7d 1990 [BZ #13938]
67f60a26
AJ
1991 * manual/setjmp.texi (System V contexts): Fix sentence.
1992
b1aa60f3
AJ
1993 [BZ #13926]
1994 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1995 New macro for this case.
1996 [!__GNUC__] (__bswap_64): New inline function for this case.
1997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1998 * bits/byteswap.h: Likewise.
1999 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2000 ull, guard with __GLIBC_HAVE_LONG_LONG.
2001
2002 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2003 __GLIBC_HAVE_LONG_LONG.
2004
2005 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2006 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2007
39c59c35
TMQMF
20082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2009
2010 [BZ #13691]
2011 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2012 inptr and inend, rather than using last_ch.
2013
135ffda8
DM
20142012-04-02 David S. Miller <davem@davemloft.net>
2015
2016 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2017 * stdio-common/printf-parse.h (read_int): Change return type to
2018 'int', return -1 on INT_MAX overflow.
2019 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2020 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2021 overflows INT_MAX. Check for overflow of in-format-string precision
2022 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2023 SIZE_MAX not INT_MAX for integer overflow test.
2024 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2025 skip the construct in the format string but do not record anything.
2026 * stdio-common/bug22.c: Adjust to test both width/prevision
2027 INT_MAX overflow as well as total length INT_MAX overflow. Check
2028 explicitly for proper errno values.
2029
228c019e
TS
20302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2031
302cadd3
TS
2032 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2033 CHAR_MAX.
2034 * string/test-strcmp.c [! WIDE]: Likewise.
2035 * time/tst-mktime2.c: Likewise for INT_MAX.
2036 * string/test-string.h: #include <sys/param.h> for MIN.
2037
228c019e
TS
2038 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2039 * sysdeps/i386/init-first.c (init): Likewise.
2040 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2041 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2042 * sysdeps/sh/init-first.c (init): Likewise.
2043
cfa633f5
UD
20442012-04-01 Ulrich Drepper <drepper@gmail.com>
2045
2046 * po/ru.po: Update from translation team.
d1635ef8 2047 * po/vi.po: Likewise.
cfa633f5 2048
6cd0a5ea
SP
20492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2050
2051 * resolv/nss_dns/dns-host.c: Merge copyright years.
2052
4b43400f
LD
20532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2054
2055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2056 Optimize memcpy with prefetch if
2057 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2058 src, dst pointers have unequal 16 byte alignments.
2059
48c41d04
SP
20602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2061
2062 [BZ #13928]
2063 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2064 from a CNAME entry and return the minimum ttl for the query.
2065 (gaih_getanswer_slice): Likewise.
2066
b8dc394d
JL
20672012-03-30 Jeff Law <law@redhat.com>
2068
2069 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2070 due to long keys.
2071 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2072 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2073
2f5a5ed0
JL
2074 * resolv/nss_dns/dns-host.c: Update copyright year.
2075
1d39e359
UD
20762012-03-30 Ulrich Drepper <drepper@gmail.com>
2077
c030f70c 2078 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2079 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2080
1d39e359
UD
2081 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2082 comments for sendmmsg.
2083
20842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2085
2086 [BZ #13691]
2087 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2088 with only 1 character between 0x0041 and 0x01b0.
2089 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2090 * wcsmbs/tst-mbsnrtowcs.c: New file.
2091
20fde227
DM
20922012-03-29 David S. Miller <davem@davemloft.net>
2093
2094 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2095 small copies by hand.
2096
984a4237
JL
20972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2098
2099 [BZ #13761]
2100 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2101 _nss_compat_initgroups_dyn): Fall back to malloc/free
2102 for large group memberships.
2103
18c9d62b
DM
21042012-03-28 David S. Miller <davem@davemloft.net>
2105
88d85d4f
DM
2106 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2107 that branches into memcpy.
2108 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2111 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2113 bits.
2114 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2115 implementation too.
2116 * sysdeps/sparc/mempcpy.S: New file.
2117
e5aa83e1
DM
2118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2119 the IFUNC routine in the libc case.
2120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2121
88570753
DM
2122 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2124 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2125 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2126 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2127 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2128 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2129 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2130
249d7567
DM
2131 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2132 loop to 256 bytes instead of 64 bytes and fix test signedness.
2133
18c9d62b
DM
2134 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2135 * sysdeps/sparc/sparc32/Makefile: rather than here...
2136 * sysdeps/sparc/sparc64/Makefile: and here.
2137
05f3d1f6
UD
21382012-03-28 Ulrich Drepper <drepper@gmail.com>
2139
2140 * malloc/mallocbug.c: Avoid warnings about unused variables.
2141
86ae07a8
JL
21422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2143
2144 [BZ #13760]
2145 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2146 in the right place. Discard and retry query if response is
2147 larger than input buffer size.
2148
41bf21a1
JM
21492012-03-28 Joseph Myers <joseph@codesourcery.com>
2150
d6270972
JM
2151 [BZ #369]
2152 [BZ #2678]
2153 [BZ #3866]
2154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2155 x for large integer exponent.
2156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2158 sign of result as needed afterwards.
2159 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2161 result for underflowing pow the same as for overflow.
2162 (__kernel_standard_l): Handle powl overflow and underflow here
2163 rather than calling __kernel_standard.
2164 * math/libm-test.inc (pow_test): Add more tests.
2165
414fca03 2166 [BZ #3868]
41bf21a1
JM
2167 [BZ #13879]
2168 [BZ #13910]
2169 [BZ #13911]
2170 [BZ #13912]
2171 [BZ #13913]
2172 [BZ #13915]
2173 [BZ #13916]
2174 [BZ #13917]
2175 [BZ #13918]
2176 [BZ #13919]
2177 [BZ #13920]
2178 [BZ #13921]
2179 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2180 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2181 (__kernel_standard_l): New function.
2182 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2183 __kernel_standard.
2184 * math/w_acosl.c (__acosl): Likewise.
2185 * math/w_asinl.c (__asinl): Likewise.
2186 * math/w_atan2l.c (__atan2l): Likewise.
2187 * math/w_atanhl.c (__atanhl): Likewise.
2188 * math/w_coshl.c (__coshl): Likewise.
2189 * math/w_exp10l.c (__exp10l): Likewise.
2190 * math/w_exp2l.c (__exp2l): Likewise.
2191 * math/w_fmodl.c (__fmodl): Likewise.
2192 * math/w_hypotl.c (__hypotl): Likewise.
2193 * math/w_j0l.c (__j0l, __y0l): Likewise.
2194 * math/w_j1l.c (__j1l, __y1l): Likewise.
2195 * math/w_jnl.c (__jnl, __ynl): Likewise.
2196 * math/w_lgammal.c (__lgammal): Likewise.
2197 * math/w_log10l.c (__log10l): Likewise.
2198 * math/w_log2l.c (__log2l): Likewise.
2199 * math/w_logl.c (__logl): Likewise.
2200 * math/w_powl.c (__powl): Likewise.
2201 * math/w_remainderl.c (__remainderl): Likewise.
2202 * math/w_scalbl.c (sysv_scalbl): Likewise.
2203 * math/w_sinhl.c (__sinhl): Likewise.
2204 * math/w_sqrtl.c (__sqrtl): Likewise.
2205 * math/w_tgammal.c (__tgammal): Likewise.
2206 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2207 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2208 * math/libm-test.inc (acos_test): Add more tests.
2209 (acosh_test): Likewise.
2210 (asin_test): Likewise.
2211 (atanh_test): Likewise.
2212 (exp_test): Likewise.
2213 (exp10_test): Likewise.
2214 (exp2_test): Likewise.
2215 (expm1_test): Likewise.
2216 (lgamma_test): Likewise.
2217 (log_test): Likewise.
2218 (log10_test): Likewise.
2219 (log1p_test): Likewise.
2220 (log2_test): Likewise.
2221 (pow_test): Do not allow some spurious overflow exceptions.
2222 (sqrt_test): Add more tests.
2223 (tgamma_test): Likewise.
2224 (y0_test): Likewise.
2225 (y1_test): Likewise.
2226 (yn_test): Likewise.
2227
dd62fda6
AB
22282012-03-27 Anton Blanchard <anton@samba.org>
2229
2230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2231 MAP_HUGETLB.
2232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2235
1e3cdfda
AJ
22362012-03-27 David S. Miller <davem@davemloft.net>
2237
b855ab85
DM
2238 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2239
1e3cdfda
AJ
2240 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2241 have-as-vis3 check.
2242
22432012-03-27 Andreas Jaeger <aj@suse.de>
2244
2245 * sysdeps/x86_64/elf/configure.in: Moved to ...
2246 * sysdeps/x86_64/configure.in: ... here.
2247 * sysdeps/x86_64/elf/start.S: Moved to ...
2248 * sysdeps/x86_64/start.S: ... here.
2249 * sysdeps/x86_64/elf/configure: Delete.
2250
2251 * sysdeps/x86_64/configure.in: Merge contents from
2252 sysdeps/i386/configure.in (without i686 check).
2253
2254 * sysdeps/i386/elf/Versions: Merge into ...
2255 * sysdeps/i386/Versions: ... this.
2256 * sysdeps/i386/elf/Versions: Delete file.
2257 * sysdeps/i386/elf/start.S: Moved to ...
2258 * sysdeps/i386/start.S: ...here.
2259 * sysdeps/i386/elf/configure.in: Merge into...
2260 * sysdeps/i386/configure.in: ...here.
2261 * sysdeps/i386/elf/configure.in: Delete file.
2262 * sysdeps/i386/elf/configure: Delete file.
2263
2264 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2265 * debug/backtracesyms.c: ... here.
2266 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2267 * debug/backtracesymsfd.c: ... here.
2268 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2269 * sysdeps/generic/ifunc-sel.h: ... here.
2270
2271 * sysdeps/unix/i386/start.c: Delete file.
2272 * sysdeps/unix/sparc/start.c: Delete file.
2273 * sysdeps/unix/start.c: Delete file.
2274
2275 * sysdeps/sh/elf/configure.in: Moved to ...
2276 * sysdeps/sh/configure.in: ... here.
2277 * sysdeps/sh/elf/start.S: Moved to ...
2278 * sysdeps/sh/start.S: ... here.
2279 * sysdeps/sh/elf/configure: Delete file.
2280
2281 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2282 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2283 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2284 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2285 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2286 * sysdeps/powerpc/powerpc64/start.S: here.
2287 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2288 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2289 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2290 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2291 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2292
2293 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2294 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2295 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2296 * sysdeps/powerpc/powerpc32/start.S: ... here.
2297 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2298 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2299 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2300
2301 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2302 * sysdeps/powerpc/ifunc-sel.h: ... here.
2303 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2304 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2305
2306 * sysdeps/sparc/elf/configure.in: Moved to ...
2307 * sysdeps/sparc/configure.in: ... here.
2308 * sysdeps/sparc/elf/configure: Delete file.
2309 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2310 * sysdeps/sparc/sparc32/start.S: ... here.
2311 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2312 * sysdeps/sparc/sparc64/start.S: ... here.
2313 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2314 * sysdeps/sparc/sparc32/Makefile: ... this.
2315 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2316 * sysdeps/sparc/sparc64/Makefile: ... this.
2317
2318 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2319 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2320 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2321 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2322 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2323 * sysdeps/s390/s390-32/setjmp.S: ... here.
2324 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2325 * sysdeps/s390/s390-32/configure.in: ... here.
2326 * sysdeps/s390/s390-32/elf/configure: Delete file.
2327 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2328 * sysdeps/s390/s390-32/start.S: ... here.
2329
2330 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2331 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2332 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2333 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2334 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2335 * sysdeps/s390/s390-64/setjmp.S: ... here.
2336 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2337 * sysdeps/s390/s390-64/configure.in: ... here
2338 * sysdeps/s390/s390-64/elf/configure: Delete file.
2339 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2340 * sysdeps/s390/s390-64/start.S: ... here.
2341 * sysdeps/s390/s390-64/elf/configure: Delete.
2342
2343 * configure.in: Remove support for elf directories in sysdeps.
2344
2345 * configure: Regenerated.
2346 * sysdeps/i386/configure: Regenerated.
2347 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2348 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2349 * sysdeps/s390/s390-32/configure: Regenerated.
2350 * sysdeps/s390/s390-64/configure: Regenerated.
2351 * sysdeps/sh/configure: Regenerated.
2352 * sysdeps/sparc/configure: Regenerated.
2353 * sysdeps/x86_64/configure: Regenerated.
2354
a3f61311
AS
23552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2356
c876e002
AS
2357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2358
a3f61311
AS
2359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2360 denormal result into account.
2361
ac4c54f0
RM
23622012-03-25 Roland McGrath <roland@hack.frob.com>
2363
2364 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2365 Reported by Allan McRae <allan@archlinux.org>.
2366
6a9b9c02
JL
23672012-03-23 Jeff Law <law@redhat.com>
2368
2369 * nss/getnssent.c (__nss_getent): Fix typo.
2370
4c42a0c1
DM
23712012-03-23 David S. Miller <davem@davemloft.net>
2372
2373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2374
1532c7ac
L
23752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2376
2377 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2378 to pad to uint64_t for each field.
2379 (dl_tls_index): Replace unsigned long with uint64_t.
2380
3ff42526
PP
23812012-03-23 Daniel Jacobowitz <dmj@google.com>
2382 Paul Pluzhnikov <ppluzhnikov@google.com>
2383
2384 [BZ #6528]
2385 * grp/Makefile (otherlibs): Don't set it.
2386 * inet/Makefile (otherlibs): Likewise.
2387 * login/Makefile (otherlibs): Likewise.
2388 * nscd/Makefile (otherlibs): Likewise.
2389 * posix/Makefile (otherlibs): Likewise.
2390 * pwd/Makefile (otherlibs): Likewise.
2391 * rt/Makefile (otherlibs): Likewise.
2392 * sunrpc/Makefile (otherlibs): Likewise.
2393 * nss/Makefile (otherlibs): Likewise.
2394 Add libnss_files to routines and static-only-routines.
2395 ($(objpfx)getent): Remove rule.
2396 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2397 static-only-routines.
2398
7c69cd14
JM
23992012-03-22 Joseph Myers <joseph@codesourcery.com>
2400
2401 [BZ #13892]
2402 * math/s_cexp.c: Include <float.h>.
2403 (__cexp): Handle exp result overflowing not necessarily
2404 overflowing both real and imaginary parts of result.
2405 * math/s_cexpf.c: Likewise.
2406 * math/s_cexpl.c: Likewise.
2407 * math/libm-test.inc (cexp_test): Add more tests.
2408 * sysdeps/i386/fpu/libm-test-ulps: Update.
2409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2410
81b035fe
L
24112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2412
2413 * include/link.h (ELFW): New macro.
2414 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2415 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2416
1da7940c
L
24172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2418
2419 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2420 with uint64_t.
2421
b749dbb9
L
24222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2425 declaration.
2426 (struct La_x32_retval): Likewise.
2427
2ff87f3f
L
24282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 * sysdeps/x86_64/preconfigure.in: New file.
2431 * sysdeps/x86_64/preconfigure: New generated file.
2432
c0df8e69
JM
24332012-03-22 Joseph Myers <joseph@codesourcery.com>
2434
48e44791
JM
2435 [BZ #13824]
2436 * math/e_exp2l.c: Include <float.h>.
2437 (__ieee754_exp2l): Handle overflow and underflow cases
2438 separately. Only pass fractional part of argument to
2439 __ieee754_expl.
2440 * math/libm-test.inc (exp2_test): Add more tests.
2441
c0df8e69
JM
2442 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2443 negating x to take absolute value.
2444 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2445 Likewise.
2446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2448 Likewise.
2449 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2450 computing low part if x was negated.
2451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2452
c8e43ba7
L
24532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2456 la_x32_gnu_pltexit.
2457 (pltexit): Cast int_retval to ptrdiff_t.
2458 * elf/tst-auditmod3b.c: Likewise.
2459 * elf/tst-auditmod4b.c: Likewise.
2460 * elf/tst-auditmod5b.c: Likewise.
2461 * elf/tst-auditmod6b.c: Likewise.
2462 * elf/tst-auditmod6c.c: Likewise.
2463 * elf/tst-auditmod7b.c: Likewise.
2464
2465 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2466 and x32_gnu_pltexit.
2467
2468 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2469 __ELF_NATIVE_CLASS.
2470 (La_x32_regs): New macro.
2471 (La_x32_retval): Likewise.
2472 (la_x32_gnu_pltenter): New function prototype.
2473 (la_x32_gnu_pltexit): Likewise.
2474
7998fa78
AS
24752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2476
dcb33988
AS
2477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2478 exponent.
2479
233fc563
AS
2480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2481
7998fa78
AS
2482 * configure.in (libc_cv_cc_nofma): Check for option to disable
2483 generation of FMA instructions.
2484 * configure: Regenerate.
2485 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2486 * sysdeps/ieee754/dbl-64/Makefile: New file.
2487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2488 Remove brandred-fma4.
2489 (CFLAGS-brandred-fma4.c): Remove.
2490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2492 define.
2493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2494 define.
2495
8e95c99a
L
24962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2497
2498 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2499 LLONG_MAX != LONG_MAX.
2500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2501 (_fitoa_word): Likewise.
2502 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2503 LLONG_MAX != LONG_MAX.
2504 * stdio-common/_itowa.h: Include <_itoa.h>.
2505 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2506 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2507 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2508 only if not defined.
2509 (_ITOA_WORD_TYPE): Likewise.
2510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2511 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2512
6f4db457
DM
25132012-03-21 David S. Miller <davem@davemloft.net>
2514
2515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2516
7785fe5a
L
25172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2518
2519 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2520 of x86_64 when setting libc_cv_slibdir, libdir and
2521 libc_cv_localedir.
2522 * sysdeps/unix/sysv/linux/configure: Regenerated.
2523
4535cd55
JM
25242012-03-21 Joseph Myers <joseph@codesourcery.com>
2525
2526 * manual/lang.texi (Old Varargs): Remove section.
2527 (How Variadic): Update menu.
2528 (va_start): Do not mention varargs.h.
2529
17228132
TS
25302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2531 Joseph Myers <joseph@codesourcery.com>
2532
2533 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2534 link test.
2535 * configure: Regenerated.
2536
8149f976
TS
25372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2538
05f3d1f6
UD
2539 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2540 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2541 conformtest.pl
8149f976 2542
1a4ac776
JM
25432012-03-21 Joseph Myers <joseph@codesourcery.com>
2544
be22ce65
JM
2545 * NOTES: Remove.
2546 * Makefile (files-for-dist): Remove NOTES.
2547 (NOTES): Remove rule.
2548 * README: Don't refer to NOTES.
2549 * manual/creature.texi: Don't include macros.texi.
2550 * manual/intro.texi (creature.texi): Remove comment referring to
2551 NOTES.
2552
40b601fb
JM
2553 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2554 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2555 * configure: Regenerated.
2556 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2557 LIBC_TRY_CC_OPTION.
2558 (libc_cv_as_i686): Likewise.
2559 (libc_cv_cc_avx): Likewise.
2560 (libc_cv_cc_sse2avx): Likewise.
2561 (libc_cv_cc_fma4): Likewise.
2562 (libc_cv_cc_novzeroupper): Likewise.
2563 * sysdeps/i386/configure: Regenerated.
2564
1a4ac776
JM
2565 [BZ #13883]
2566 * sysdeps/i386/fpu/s_cexp.S: Remove.
2567 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2569 * math/libm-test.inc (cexp_test): Add more tests.
2570 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572
a458e7fe
AM
25732012-03-21 Allan McRae <allan@archlinux.org>
2574
2575 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2576
0cb7efc5
JM
25772012-03-21 Joseph Myers <joseph@codesourcery.com>
2578
2579 [BZ #13871]
2580 * math/w_exp2.c: Do not include <float.h>.
2581 (o_threshold, u_threshold): Remove.
2582 (__exp2): Calculate result before checking finiteness and calling
2583 __kernel_standard.
2584 * math/w_exp2f.c: Likewise.
2585 * math/w_exp2l.c: Likewise.
2586 * math/libm-test.inc (exp2_test): Require overflow exception for
2587 1e6 input.
2460d3aa
JM
2588
2589 [BZ #3866]
2590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2591 range of signed 64-bit integers before using fistpll. Remove
2592 checks for whether integers fit in mantissa bits.
2593 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2594 the range of signed 32-bit integers before using fistpl. Remove
2595 checks for whether integers fit in mantissa bits.
2596 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2597 (__ieee754_powl): Test for y outside the range of signed 64-bit
2598 integers before using fistpll. Reduce 64-bit values to 63-bit
2599 ones as needed.
2600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2601 divide-by-zero is raised for zero to large negative powers.
2602 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2603 (__ieee754_powl): Test for y outside the range of signed 64-bit
2604 integers before using fistpll. Reduce 64-bit values to 63-bit
2605 ones as needed.
2606 * math/libm-test.inc (pow_test): Add more tests.
2607
eb96ffb0
L
26082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2611 <stdio-common/_itoa.h>.
2612 * debug/segfault.c: Likewise.
2613 * elf/dl-cache.c: Likewise.
2614 * elf/dl-minimal.c: Likewise.
2615 * elf/dl-misc.c: Likewise.
2616 * elf/dl-sysdep.c: Likewise.
2617 * elf/dl-version.c: Likewise.
2618 * elf/rtld.c: Likewise.
2619 * hurd/hurdsock.c: Likewise.
2620 * hurd/lookup-retry.c: Likewise.
2621 * malloc/malloc.c: Likewise.
2622 * malloc/mtrace.c: Likewise.
2623 * nscd/nscd_getgr_r.c: Likewise.
2624 * nscd/nscd_getpw_r.c: Likewise.
2625 * nscd/nscd_getserv_r.c: Likewise.
2626 * posix/getopt_init.c: Likewise.
2627 * posix/wordexp.c: Likewise.
2628 * stdio-common/_itoa.c: Likewise.
2629 * stdio-common/printf_fphex.c: Likewise.
2630 * stdio-common/vfprintf.c: Likewise.
2631 * string/_strerror.c: Likewise.
2632 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2633 * sysdeps/i386/i686/hp-timing.h: Likewise.
2634 * sysdeps/mach/_strerror.c: Likewise.
2635 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2636 * sysdeps/mach/hurd/sethostid.c: Likewise.
2637 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2638 * sysdeps/mach/xpg-strerror.c: Likewise.
2639 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2640 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2641 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2642 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2643 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2644 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2645 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2646 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2647 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2648 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2649 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2651 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2652 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2653 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2656 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2657 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2658 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2660
2661 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2662
2663 * stdio-common/_itoa.h: Moved to ...
2664 * sysdeps/generic/_itoa.h: Here.
2665
2666 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2667
2668 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2669 instead of "_itoa.h" and "_itowa.h".
2670 * stdio-common/vfprintf.: Likewise.
2671
d1af992d
L
26722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2673
2674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2675 <bits/wordsize.h>.
2676 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2677 (__signbit): Likwise.
2678 (llrintf): Likwise.
2679 (llrint): Likwise.
2680
114883e0
L
26812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2682
2683 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2684 __WORDSIZE != 64.
2685
c135cc1b
JM
26862012-03-20 Joseph Myers <joseph@codesourcery.com>
2687
2688 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2689 OVERFLOW_EXCEPTION_OK.
2690 * math/libm-test.inc ("Philosophy"): Update comment about
2691 exception testing.
2692 (OVERFLOW_EXCEPTION): Define.
2693 (OVERFLOW_EXCEPTION_OK): Likewise.
2694 (INVALID_EXCEPTION_OK): Renumber.
2695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2696 (IGNORE_ZERO_INF_SIGN): Likewise.
2697 (test_exceptions): Handle FE_OVERFLOW.
2698 (exp10_test): Expect overflow exceptions.
2699 (exp2_test): Likewise.
2700 (expm1_test): Likewise.
2701 (nextafter_test): Likewise.
2702 (pow_test): Likewise.
2703 (scalbn_test): Likewise.
2704 (scalbln_test): Likewise.
2705
95443d88
L
27062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2707
2708 * sysdeps/x86_64/bits/atomic.h
2709 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2710 64bit integer.
2711 (atomic_exchange_acq): Likewise.
2712 (__arch_exchange_and_add_body): Likewise.
2713 (__arch_add_body): Likewise.
2714 (atomic_add_negative): Likewise.
2715 (atomic_add_zero): Likewise.
2716
490df6c4
L
27172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2718
c2722551 2719 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2720 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2721
5e52b189
L
27222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2725 Check __x86_64__ instead of __WORDSIZE.
2726
a9879d4c
L
27272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2730
5df98260
DM
27312012-03-19 David S. Miller <davem@davemloft.net>
2732
e1497744
DM
2733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2734
5df98260
DM
2735 * sysdeps/sparc/fpu/fenv_private.h: New file.
2736 * sysdeps/sparc/fpu/math_private.h: Use it.
2737 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2738 Remove.
2739 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2740 (libc_feholdexcept_setroundl): Remove.
2741 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2742 Remove.
2743 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2744 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2745
b4c35121
L
27462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2747
2748 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2749 int64_t instead of long int.
2750 (INSERT_WORDS64): Likwise.
2751
56965fd7
L
27522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2755 _Unwind_GetCFA return to _Unwind_Ptr first.
2756
83d1aec8
JM
27572012-03-19 Joseph Myers <joseph@codesourcery.com>
2758
1897ad44
JM
2759 [BZ #13629]
2760 * math/s_clog.c: Include <float.h>.
2761 (__clog): Scale large or subnormal inputs.
2762 * math/s_clogf.c: Likewise.
2763 * math/s_clogl.c: Likewise.
2764 * math/s_clog10.c: Include <float.h>.
2765 (M_LOG10_2): Define.
2766 (__clog10): Scale large or subnormal inputs.
2767 * math/s_clog10f.c: Likewise.
2768 * math/s_clog10l.c: Likewise.
2769 * math/libm-test.inc (clog_test): Add more tests.
2770 (clog10_test): Likewise.
2771 * sysdeps/i386/fpu/libm-test-ulps: Update.
2772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773
7726d6a9
JM
2774 [BZ #11451]
2775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2776 x and y.
2777 * math/libm-test.inc (atan2_test): Add another test.
2778
83d1aec8
JM
2779 * Makerules (common-objdir-compile): Remove.
2780 * sysdeps/unix/Makefile (config-generated): Do not add
2781 $(unix-generated) to variable.
2782 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2783 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2784 Remove rule.
2785 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2786 Likewise.
2787 [generic bits/local_lim.h] (before-compile): Do not append to
2788 variable.
2789 [generic bits/local_lim.h] (common-generated): Likewise.
2790 [generic sys/param.h] (before-compile): Do not append to variable.
2791 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2792 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2793 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2795 include.
2796 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2797 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2798 [generic sys/param.h] ($(addprefix
2799 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2800 [generic sys/param.h] (common-generated): Do not append to
2801 variable.
2802 [generic sys/param.h] (sysdep_headers): Likewise.
2803 [generic bits/errno.h] (before-compile): Do not append to
2804 variable.
2805 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2806 rule.
2807 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2808 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2809 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2810 [generic bits/errno.h] (common-generated): Do not append to
2811 variable.
2812 [generic bits/ioctls.h] (before-compile): Do not append to
2813 variable.
2814 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2815 rule.
2816 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2817 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2818 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2819 rule.
2820 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2821 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2822 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2823 [generic bits/ioctls.h] (common-generated): Do not append to
2824 variable.
2825 [generic sys/syscall.h] (syscall.h): Remove variable.
2826 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2827 rule.
2828 [generic sys/syscall.h] (before-compile): Do not append to
2829 variable.
2830 [generic sys/syscall.h] (common-generated): Likewise.
2831 * sysdeps/unix/errnos-tmpl.c: Remove file.
2832 * sysdeps/unix/errnos.awk: Likewise.
2833 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2834 * sysdeps/unix/ioctls.awk: Likewise.
2835 * sysdeps/unix/mk-local_lim.c: Likewise.
2836 * sysdeps/unix/snarf-ioctls: Likewise.
2837
4851a949
RH
28382012-03-19 Richard Henderson <rth@twiddle.net>
2839
bd37f2ee
RH
2840 * sysdeps/i386/fpu/fenv_private.h: New file.
2841 * sysdeps/i386/fpu/math_private.h: Use it.
2842 (math_opt_barrier, math_force_eval): Remove.
2843 (libc_feholdexcept_setround_53bit): Remove.
2844 (libc_feupdateenv_53bit): Remove.
2845 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2846 (math_opt_barrier, math_force_eval): Remove.
2847 (libc_feholdexcept): Remove.
2848 (libc_feholdexcept_setround): Remove.
2849 (libc_fetestexcept, libc_fesetenv): Remove.
2850 (libc_feupdateenv_test): Remove.
2851 (libc_feupdateenv, libc_feholdsetround): Remove.
2852 (libc_feresetround): Remove.
2853
d0adc922
RH
2854 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2855 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2856
0fe0f1f8
RH
2857 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2858 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2859 (libc_feupdateenv_testl): New.
2860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2861 (libc_feupdateenv_testf): New.
2862 (libc_feupdateenv): Use libc_feupdateenv_test.
2863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2865
eb92c487
RH
2866 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2867 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2868 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2869 (libc_feresetround_noex): New.
2870 (libc_feresetround_noexf): New.
2871 (libc_feresetround_noexl): New.
2872 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2873 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2874 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2875 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2876 SET_RESTORE_ROUND.
2877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2879 (__cos): Likewise.
2880 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2881 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2882 SET_RESTORE_ROUND_NOEX.
2883 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2884 SET_RESTORE_ROUND_NOEXF.
2885 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2886 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2887 (libc_feholdsetroundf): New.
2888 (libc_feresetround, libc_feresetroundf): New.
2889
7d2e8012
RH
2890 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2891 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2892 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2893
b4dabbb4
RH
2894 * sysdeps/generic/math_private.h: Include <fenv.h>.
2895 (default_libc_feholdexcept): New.
2896 (default_libc_feholdexcept_setround): New.
2897 (default_libc_fesetenv, default_libc_feupdateenv): New.
2898 (libc_feholdexcept): Only define if undefined.
2899 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2900 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2901 (libc_feholdexcept_setroundl): Likewise.
2902 (libc_feholdexcept_setround_53bit): Likewise.
2903 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2904 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2905 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2906 (libc_feupdateenv_53bit): Likewise.
2907 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2908 (libc_feholdexcept): Convert from macro to inline function.
2909 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2910 (libc_fesetenv, libc_feupdateenv): Likewise.
2911
4851a949
RH
2912 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2913 not previously defined.
2914 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2915 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2916 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2917 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2918 * sysdeps/ieee754/flt-32/math_private.h: New file.
2919 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2920 math_private.h below SET_FLOAT_WORD.
2921 (__isnan, __isinf_ns, __finite): Remove.
2922 (__isnanf, __isinf_nsf, __finitef): Remove.
2923
e79d442e
AS
29242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2925
2926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2927
90b80344
DM
29282012-03-17 David S. Miller <davem@davemloft.net>
2929
2930 [BZ #6471]
2931 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2932 for 2.16.
2933
edc21804
DM
29342012-03-16 David S. Miller <davem@davemloft.net>
2935
77e927af
DM
2936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2937 warnings.
2938
374976dd
DM
2939 [BZ #6471]
2940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2941 properly.
2942 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2943 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2944 sysdep_routines when subdir is sysvipc.
2945 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2946 __getshmlba helper.
2947
edc21804
DM
2948 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2949
473c3ef3
L
29502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2953 [__LP64__].
2954
eb0f39b6
L
29552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2958 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2959 (__lround): Renamed to ...
2960 (__llround): This. Replace long int with long long int.
2961 Define lround functions as aliases of llround functions.
2962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2963
6b6cd74b
L
29642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2965
2966 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2967 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2968 adresses to uintptr_t. Replace "long int" and "unsigned long
2969 int" with "greg_t" on va_arg.
2970
f1a77b01
L
29712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2974 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2975
2976 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2977 Move e_machine check before EI_CLASS check. Handle x32
2978 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2979 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2980 SKIP_EM_IA_64 and include
2981 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2982
2983 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2984 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2985 (add_system_dir): New macro.
2986
2987 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2988 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2989
11b90b9f
JM
29902012-03-16 Joseph Myers <joseph@codesourcery.com>
2991
c36e1d23
JM
2992 [BZ #2551]
2993 [BZ #2552]
2994 [BZ #2553]
2995 [BZ #2554]
2996 [BZ #2562]
2997 [BZ #2563]
2998 [BZ #2565]
2999 [BZ #2566]
3000 [BZ #2576]
3001 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3002 (y0): Likewise.
3003 * math/w_j0f.c (j0f): Likewise.
3004 (y0f): Likewise.
3005 * math/w_j0l.c (__j0l): Likewise.
3006 (__y0l): Likewise.
3007 * math/w_j1.c (j1): Likewise.
3008 (y1): Likewise.
3009 * math/w_j1f.c (j1f): Likewise.
3010 (y1f): Likewise.
3011 * math/w_j1l.c (__j1l): Likewise.
3012 (__y1l): Likewise.
3013 * math/w_jn.c (jn): Likewise.
3014 (yn): Likewise.
3015 * math/w_jnf.c (jnf): Likewise.
3016 (ynf): Likewise.
3017 * math/w_jnl.c (__jnl): Likewise.
3018 (__ynl): Likewise.
3019 * math/libm-test.inc (j0_test): Add more tests.
3020 (j1_test): Likewise.
3021 (jn_test): Likewise. Add trailing semicolon to existing test.
3022 (y0_test): Likewise.
3023 (y1_test): Likewise.
3024 * sysdeps/i386/fpu/libm-test-ulps: Update.
3025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3026
11b90b9f
JM
3027 [BZ #13851]
3028 [BZ #13854]
3029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3030 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3031 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3032 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3033 (__tanl): Set errno for infinite argument.
3034 * sysdeps/i386/fpu/mptan.c: Remove.
3035 * sysdeps/i386/fpu/s_tan.S: Likewise.
3036 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3037 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3038 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3039 * math/libm-test.inc (tan_test): Add more tests and enable more
3040 tests for double and long double.
3041 * sysdeps/i386/fpu/libm-test-ulps: Update.
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3043
6a1bd2a1
JK
30442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3045
3046 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3047 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3048
10a803e0
RM
30492012-03-16 Roland McGrath <roland@hack.frob.com>
3050
3051 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3052 * configure.in: Use it for both main tree and add-ons.
3053 * configure: Regenerated.
3054
f196c7f7
L
30552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3058
8848d99d
JM
30592012-03-16 Joseph Myers <joseph@codesourcery.com>
3060
96cbe7f4
JM
3061 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3062 in comment.
3063
8848d99d
JM
3064 [BZ #13851]
3065 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3066 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3067 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3068 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3069 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3070 infinite argument.
3071 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3073 != 0 for prec == 2.
3074 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3075 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3076 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3077 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3078 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3079 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3080 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3081 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3082 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3083 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3084 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3085 * math/libm-test.inc (cos_test): Add more tests and enable more
3086 tests for long double.
3087 (sin_test): Likewise.
3088 (sincos_test): Likewise.
3089 * sysdeps/i386/fpu/libm-test-ulps: Update.
3090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3091
dd7f4703
DM
30922012-03-16 David S. Miller <davem@davemloft.net>
3093
3094 * sysdeps/sparc/fpu/math_private.h: New file.
3095
006f1daa
DM
30962012-03-15 David S. Miller <davem@davemloft.net>
3097
c0c83bc8
DM
3098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3099 file.
e6a62e18 3100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3102 file.
e6a62e18
DM
3103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3109 sysdep routines.
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3111
88cb87d9
DM
3112 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3113 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3114
006f1daa 3115 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3117 sparc-ifunc.h
006f1daa 3118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3120 Likewise.
3121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3122 Likewise.
006f1daa
DM
3123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3127 Likewise.
006f1daa
DM
3128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3133 Likewise.
3134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3135 Likewise.
006f1daa
DM
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3160
11e0098e
AS
31612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3162
3163 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3164 scaling.
3165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3166
e85b09d0
AJ
31672012-03-15 Andreas Jaeger <aj@suse.de>
3168
3169 [BZ #13852]
3170 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3171 ieee754/flt-32 implementation for sin, cos and sincos.
3172 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3173 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3174 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3175 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3176 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3177 ieee754/flt-32 implementation for tan.
3178
3179 * math/libm-test.inc (cos_test): Enable some large input tests for
3180 float as well
3181 (sin_test): Likewise.
3182 (sincos_test): Likewise.
3183 (tan_test): Add tests for large input.
3184
3185 * sysdeps/i386/fpu/libm-test-ulps: Update.
3186
81c64153
AJ
31872012-03-15 Andreas Jaeger <aj@suse.de>
3188
3189 [BZ #13658]
3190 * math/libm-test.inc (cos_test): Add more test cases.
3191 (sin_test): Likewise.
3192 (sincos_test): Likewise.
3193
7bbfa5c6
AJ
31942012-03-15 Andreas Jaeger <aj@suse.de>
3195
3196 [BZ #13837]
3197 * math/libm-test.inc (cos_test): Add a test case for large input
3198 value.
3199 (sin_test): Likewise.
3200 (sincos_test): Likewise.
3201
32022012-03-15 Andreas Jaeger <aj@suse.de>,
3203 Joseph Myers <joseph@codesourcery.com>
3204
3205 [BZ #13658]
0671f479 3206 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3207 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3208 * sysdeps/i386/fpu/branred.c: Likewise.
3209 * sysdeps/i386/fpu/dosincos.c: Likewise.
3210 * sysdeps/i386/fpu/mpa.c: Likewise.
3211 * sysdeps/i386/fpu/s_cos.S: Likewise.
3212 * sysdeps/i386/fpu/s_sin.S: Likewise.
3213 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3214 * sysdeps/i386/fpu/sincos32.c: Likewise.
3215
3216 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3217 Define.
3218 (libc_feupdateenv_53bit): Define.
3219 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3220 Define.
3221 (libc_feupdateenv_53bit): Define.
3222
3223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3224 53 bit (without extend i386 double precision).
3225
3226 * math/libm-test.inc (sincos_test): Add tests for large input.
3227 (sin): Likewise.
3228 (cos): Likewise.
3229
3230 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3231
9cad04ea
AS
32322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3233
3234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3235
f7062b9a
DM
32362012-03-15 David S. Miller <davem@davemloft.net>
3237
3238 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3239 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3240 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3241 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3254 file.
f7062b9a 3255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3257 file.
f7062b9a 3258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3260 file.
f7062b9a 3261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3263 file.
f7062b9a
DM
3264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3266 fmin/fmax sysdep routines.
3267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3268
7bd951ff
DM
32692012-03-14 David S. Miller <davem@davemloft.net>
3270
559398ab
DM
3271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3300 routines.
3301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3302 file.
559398ab 3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3305 file.
559398ab 3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3308 file.
559398ab 3309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3311 file.
559398ab 3312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3314 file.
559398ab 3315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3317 file.
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3319 file.
3320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3321 file.
3322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3323 file.
3324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3325 New file.
3326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3327 file.
3328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3329 file.
559398ab 3330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3332 file.
559398ab 3333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3335 file.
559398ab 3336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3338 file.
559398ab 3339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3341 VIS3 routines.
559398ab
DM
3342
3343 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3344 New file.
3345
5a1c1e32
DM
3346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3347
eae47a36
DM
3348 * sysdeps/sparc/configure.in: New file.
3349 * sysdeps/sparc/configure: Generate.
3350 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3351 * configure: Regenerate.
3352 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3353 * config.make.in (have-as-vis3): New.
3354 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3355 available use -Av9d instead of -Av9a.
3356 * sysdeps/sparc/sparc64/Makefile: Likewise.
3357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3359 New file.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3361 file.
3362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3363 New file.
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3365 file.
eae47a36
DM
3366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3371
c0c83bc8
DM
3372 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3373 fzeros/fnegs to load 0x80000000 into a float register instead of
3374 using the stack.
7bd951ff
DM
3375 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3376
bd951ccb
JM
33772012-03-14 Joseph Myers <joseph@codesourcery.com>
3378
3379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3380 bits/syscall.h.
3381 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3382 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3383 ($(inst_includedir)/bits/syscall.h): Remove rule.
3384 ($(objpfx)bits/syscall.d): Include instead of
3385 $(objpfx)syscall-list.d.
3386 (generated): Change syscall-list.h and syscall-list.d to
3387 bits/syscall.h and bits/syscall.d.
3388
bb4e6db2
RM
33892012-03-14 Roland McGrath <roland@hack.frob.com>
3390
3391 [BZ #13846]
3392 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3393
aa4a2ae1
JM
33942012-03-14 Joseph Myers <joseph@codesourcery.com>
3395
e456826d
JM
3396 [BZ #13841]
3397 * math/s_csqrt.c: Include <float.h>.
3398 (__csqrt): Scale large or subnormal inputs.
3399 * math/s_csqrtf.c: Likewise.
3400 * math/s_csqrtl.c: Likewise.
3401 * math/libm-test.inc (csqrt_test): Add more tests.
3402 * sysdeps/i386/fpu/libm-test-ulps: Update.
3403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3404
aa4a2ae1
JM
3405 [BZ #13840]
3406 * math/libm-test.inc (hypot_test): Add more tests.
3407
7c10fd35
DM
34082012-03-13 David S. Miller <davem@davemloft.net>
3409
3410 [BZ #13840]
3411 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3412 double-precision for the calculation instead of scaling.
3413
f453b98b
JM
34142012-03-13 Joseph Myers <joseph@codesourcery.com>
3415
3416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3417 manipulate bits before adding and subtracting TWO52[sx].
3418 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3419 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3420 Likewise.
3421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3422
09a3453f
DM
34232012-03-13 David S. Miller <davem@davemloft.net>
3424
8e59da90
DM
3425 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3426 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3428 rtld-global-offsets.h
3429 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3430
2a8ab7f2
DM
3431 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3432 large parameters.
3433
10f62770
DM
3434 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3435
5f0bdb18
DM
3436 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3437 'err' in the ifdef scope in which it is actually used.
3438
09a3453f
DM
3439 * nss/nss_db/db-init.c: Include string.h
3440
b4b2eb5e
DM
34412012-03-12 David S. Miller <davem@davemloft.net>
3442
98bb2f1c
DM
3443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3444 masking out of the most significant byte of random value used.
3445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3446 Fix coding style in previous change.
3447
b4b2eb5e
DM
3448 * sysdeps/unix/sysv/linux/kernel-features.h
3449 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3450 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3451 expression.
3452 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3453 later.
3454
6e226b09
DM
34552012-03-11 David S. Miller <davem@davemloft.net>
3456
a1bcbd40
DM
3457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3458 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3460 for 'resultvar' otherwise things get truncated on 64-bit.
3461
cb9d6174
DM
3462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3463 Fix masking out of the most significant byte of random value used.
3464
6e226b09
DM
3465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3466
058c132d
AS
34672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3468
3469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3470
2d2cd515
DM
34712012-03-09 David S. Miller <davem@davemloft.net>
3472
3473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3474 variables with appropriate CPP guards.
3475 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3476 frame pointer, not the stack pointer. Correct layout comments. Fix test
3477 on resulting framesize and the management of the outregs buffer for pltexit.
3478 Preserve floating point return values across _dl_call_pltexit call.
3479 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3480 framesize and the management of the outregs buffer for pltexit.
3481 Preserve floating point return values across _dl_call_pltexit
3482 call.
3483 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3484 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3485 (print_exit): Fix format string for return register value.
3486
9a07f9d0
JM
34872012-03-10 Joseph Myers <joseph@codesourcery.com>
3488
3489 * sunrpc/Makefile (others): Add rpcgen.
3490 ($(objpfx)rpcgen): Remove special build rule and dependency on
3491 libc.
3492 * sunrpc/rpcgen.c: New file.
3493
547b5e30
PE
34942012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3495
c524201a
PE
3496 [BZ #13673]
3497 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3498 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3499 * sysdeps/i386/crti.S: Likewise.
3500 * sysdeps/i386/crtn.S: Likewise.
3501 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3502 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3503 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3505 * sysdeps/sh/crti.S: Likewise.
3506 * sysdeps/sh/crtn.S: Likewise.
3507 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3508
7b6235f2
PE
3509 [BZ #13673]
3510 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3511 with URL.
3512 * locale/programs/locfile-kw.gperf: Likewise.
3513 * locale/programs/charmap-kw.h: Regenerated.
3514 * locale/programs/locfile-kw.h: Likewise.
3515
547b5e30
PE
3516 [BZ #13673]
3517 * intl/plural.y: Replace FSF snail mail address with URL.
3518 * intl/plural.c: Regenerated.
3519
5f0a5dae
RH
35202012-03-09 Richard Henderson <rth@twiddle.net>
3521
3522 * include/math_private.h: Remove file.
3523 * math/math_private.h: Move file ...
3524 * sysdeps/generic/math_private.h: ... here.
3525
b8c03620
RH
3526 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3527 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3529
4e234f5d 3530 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3531 and <math_private.h>.
3532 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3533 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3534 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3535 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3536 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3537 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3538 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3540 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3620 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3623 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3626 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3627 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3632 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3633 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3634 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3636 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3637 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3638 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3646 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3649 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3652 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3653 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3655 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3656 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3659 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3660 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3661 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3662 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3664 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3665 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3666 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3667 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3669 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3671 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3673 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3675 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3676 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3677 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3678 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3679 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3681 * sysdeps/ieee754/k_standard.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3797 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3801 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3804 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3832 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3842 * sysdeps/ieee754/s_lib_version.c: Likewise.
3843 * sysdeps/ieee754/s_matherr.c: Likewise.
3844 * sysdeps/ieee754/s_signgam.c: Likewise.
3845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3848 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3850 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3851 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3852 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3853 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3854 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3855 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3856 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3857 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3858 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3859 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3860 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3861 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3862 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3863 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3866
1991fa03
JM
38672012-03-09 Joseph Myers <joseph@codesourcery.com>
3868
3869 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3870 * sunrpc/rpc_main.c: Likewise.
3871 * sunrpc/rpc_svcout.c: Likewise.
3872
60d6f5a6
DM
38732012-03-09 David S. Miller <davem@davemloft.net>
3874
3875 * include/math_private.h: New file.
3876
4962050e
JM
38772012-03-09 Joseph Myers <joseph@codesourcery.com>
3878
02a6f887
JM
3879 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3880 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3881 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3882 from <bits/socket_type.h>.
3883 (enum __socket_type): Don't define here.
3884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3886 bits/socket_type.h.
3887
c6e013c1
JM
3888 [BZ #13566]
3889 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3890 checking __USE_GNU.
3891
4962050e
JM
3892 * Makerules ($(inst_includedir)/%.h): New rule.
3893 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3894 (install-others): Remove variable setting.
3895 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3896
38842f45
RH
38972012-03-08 Richard Henderson <rth@twiddle.net>
3898
67bb6da6
RH
3899 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3900 from macro to inline function; merge with the
3901 !__LIBC_INTERNAL_MATH_INLINES version.
3902 (__ieee754_sqrtf): Likewise.
3903
15194b4b
RH
3904 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3905 to inline function.
3906 (__rintf, __floor, __floorf): Likewise.
3907
64e21ede
RH
3908 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3909 macro to inline function.
3910 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3911
38842f45
RH
3912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3913 not <math/math_private.h>.
3914
c64bf5fe
DM
39152012-03-08 David S. Miller <davem@davemloft.net>
3916
3917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3918 copyright year.
3919 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3920
82d86f28
TS
39212012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3922
3923 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3924 normalization.
3925 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3926 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3927
aea5d727
UD
39282012-03-08 Ulrich Drepper <drepper@gmail.com>
3929
3930 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3931 be defined individually, they must be defined as a block. Define
3932 S for printing a string instead of hidint the different by using a
3933 macro for adding the 'l'.
3934 * stdio-common/tst-fphex-wide.c: Adjust.
3935
70bca0a3
MP
39362012-03-07 Marek Polacek <polacek@redhat.com>
3937
3938 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3939
65b81130
MP
39402012-03-08 Marek Polacek <polacek@redhat.com>
3941
3942 [BZ #13806]
3943 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3944 * stdio-common/tst-fphex.c: Define a few macros to make the
3945 test reusable. Use them.
3946 * stdio-common/tst-fphex-wide.c: New file.
3947
07037eeb
JM
39482012-03-08 Joseph Myers <joseph@codesourcery.com>
3949
a7a93d50
JM
3950 [BZ #6911]
3951 * manual/macros.texi (gnusystems): New macro.
3952 (nongnusystems): Likewise.
3953 (gnulinuxhurdsystems): Likewise.
3954 (gnuhurdsystems): Likewise..
3955 (gnulinuxsystems): Likewise.
3956 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3957 variants of the GNU system, not "GNU system".
3958 * manual/conf.texi: Likewise.
3959 * manual/errno.texi: Likewise. Update example of errno macro
3960 expansion.
3961 * manual/filesys.texi: Likewise.
3962 (getumask): Document as specific to GNU/Hurd.
3963 * manual/install.texi: Likewise. Reword some references to
3964 GNU/Linux.
3965 * manual/intro.texi: Likewise.
3966 * manual/io.texi: Likewise.
3967 (File Name Portability): Detail which constraints are inapplicable
3968 to all GNU systems and which are only inapplicable to GNU/Hurd.
3969 * manual/job.texi: Likewise.
3970 * manual/llio.texi: Likewise.
3971 (O_NOCTTY): Document as present on GNU/Linux.
3972 * manual/maint.texi: Likewise.
3973 * manual/memory.texi: Likewise.
3974 * manual/pattern.texi: Likewise.
3975 * manual/pipe.texi: Likewise.
3976 * manual/process.texi: Likewise.
3977 * manual/resource.texi: Likewise.
3978 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3979 child on GNU/Hurd.
3980 * manual/setjmp.texi: Likewise.
3981 * manual/signal.texi: Likewise.
3982 * manual/startup.texi: Likewise.
3983 * manual/stdio.texi: Likewise.
3984 * manual/terminal.texi: Likewise.
3985 (ONLCR): Document as POSIX.
3986 (OXTABS): Document availability on GNU/Linux as XTABS.
3987 (ONOEOT): Document availability separately from other bits.
3988 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3989 * manual/time.texi: Likewise.
3990 * manual/users.texi: Likewise.
3991 * INSTALL: Regenerated.
3992 * sysdeps/gnu/errlist.c: Regenerated.
3993
07037eeb
JM
3994 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3995 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3996 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3997 puts.
3998 * configure: Regenerated.
3999
d1d3431a
JM
40002012-03-07 Joseph Myers <joseph@codesourcery.com>
4001
af6a1e37
JM
4002 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4003 default includes instead of AC_HEADER_CHECK.
4004 * sysdeps/i386/configure: Regenerated.
4005
d1d3431a
JM
4006 [BZ #10716]
4007 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4008 * math/s_cacoshf.c (__cacoshf): Likewise.
4009 * math/s_cacoshl.c (__cacoshl): Likewise.
4010 * math/s_casinh.c (__casinh): Set signs of result from argument.
4011 * math/s_casinhf.c (__casinhf): Likewise.
4012 * math/s_casinhl.c (__casinhl): Likewise.
4013 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4014 (casinh_test): Add more tests.
4015 * sysdeps/i386/fpu/libm-test-ulps: Update.
4016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4017
482ff4da
UD
40182012-03-07 Ulrich Drepper <drepper@gmail.com>
4019
872fda05
UD
4020 * po/zh_TW.po: Update from translation team.
4021
a4300c7a
UD
4022 * login/Makefile (distribute): Remove variable.
4023 * catgets/Makefile: Likewise.
4024 * mach/Makefile: Likewise.
4025 * malloc/Makefile: Likewise.
4026 * misc/Makefile: Likewise.
4027 * iconv/Makefile: Likewise.
4028 * nscd/Makefile: Likewise.
4029 * hurd/Makefile: Likewise.
4030 * manual/Makefile: Likewise.
4031 * locale/Makefile: Likewise.
4032 * intl/Makefile: Likewise.
4033 * conform/Makefile: Likewise.
4034 * nss/Makefile: Likewise.
4035 * time/Makefile: Likewise.
4036 * soft-fp/Makefile: Likewise.
4037 * dirent/Makefile: Likewise.
4038 * gmon/Makefile: Likewise.
4039 * po/Makefile: Likewise.
4040 * rt/Makefile: Likewise.
4041 * socket/Makefile: Likewise.
4042 * math/Makefile: Likewise.
4043 * signal/Makefile: Likewise.
4044 * debug/Makefile: Likewise.
4045 * elf/Makefile: Likewise.
4046 * timezone/Makefile: Likewise.
4047 * stdlib/Makefile: Likewise.
4048 * iconvdata/Makefile: Likewise.
4049 * sunrpc/Makefile: Likewise.
4050 * io/Makefile: Likewise.
4051 * argp/Makefile: Likewise.
4052 * inet/Makefile: Likewise.
4053 * hesiod/Makefile: Likewise.
4054 * grp/Makefile: Likewise.
4055 * csu/Makefile: Likewise.
4056 * wctype/Makefile: Likewise.
4057 * crypt/Makefile: Likewise.
4058 * libio/Makefile: Likewise.
4059 * string/Makefile: Likewise.
4060 * nis/Makefile: Likewise.
4061 * resolv/Makefile: Likewise.
4062 * stdio-common/Makefile: Likewise.
4063 * wcsmbs/Makefile: Likewise.
4064 * dlfcn/Makefile: Likewise.
4065 * posix/Makefile: Likewise.
4066
3b7c4e74 4067 [BZ #6959]
482ff4da
UD
4068 * timezone/Makefile: Don't install timezone files, just the programs
4069 and scripts.
4070
f72ed77d
UD
40712012-03-06 Ulrich Drepper <drepper@gmail.com>
4072
a000466f
UD
4073 * nss/databases.def: Add missing gshadow entry.
4074
f72ed77d
UD
4075 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4076
a53b7a4e
MP
40772012-03-06 Marek Polacek <polacek@redhat.com>
4078
4079 [BZ #13726]
4080 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4081 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4082 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4083 * stdio-common/tst-long-dbl-fphex.c: New file.
4084
e9258400
DM
40852012-03-06 David S. Miller <davem@davemloft.net>
4086
4087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4088 (set_obp_int): New function.
4089 (get_obp_int): New function.
4090 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4092 Avoid unused variable warnings on 'val' and use builtin_expect.
4093 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4094 __builtin_expect.
e9258400
DM
4095 (INLINE_CLONE_SYSCALL): Likewise.
4096
3bd2c723
DM
40972012-03-05 David S. Miller <davem@davemloft.net>
4098
4099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4100
bbb78d03
AS
41012012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4102
884c5db4
AS
4103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4104
bbb78d03
AS
4105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4106 only for |x| >= 40.
4107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4108
1c9f702a 41092012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4110
4111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4112 Replace gettimeofday with __vdso_gettimeofday.
4113
7be16f82
RM
4114 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4115 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4116 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4117
4118 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4119 time with __vdso_time.
4120
ed58a00f
JM
41212012-03-05 Joseph Myers <joseph@codesourcery.com>
4122
4123 * manual/lang.texi (size_t): Note types to which size_t may be
4124 equivalent with the GNU C Library, but do not describe when
4125 differences between them are significant.
4126
30ee4ced
AJ
41272012-03-05 Andreas Jaeger <aj@suse.de>
4128
4129 * sysdeps/i386/fpu/libm-test-ulps: Update.
4130
b7cd39e8
JM
41312012-03-05 Joseph Myers <joseph@codesourcery.com>
4132
4133 [BZ #3976]
4134 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4135 (__ieee754_pow): Save and restore rounding mode and use
4136 round-to-nearest for main computations.
4137 * math/libm-test.inc (pow_test_tonearest): New function.
4138 (pow_test_towardzero): Likewise.
4139 (pow_test_downward): Likewise.
4140 (pow_test_upward): Likewise.
4141 (main): Call the new functions.
4142 * sysdeps/i386/fpu/libm-test-ulps: Update.
4143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4144
4145 [BZ #3976]
4146 * math/libm-test.inc (cosh_test_tonearest): New function.
4147 (cosh_test_towardzero): Likewise.
4148 (cosh_test_downward): Likewise.
4149 (cosh_test_upward): Likewise.
4150 (sinh_test_tonearest): Likewise.
4151 (sinh_test_towardzero): Likewise.
4152 (sinh_test_downward): Likewise.
4153 (sinh_test_upward): Likewise.
4154 (main): Call the new functions.
4155 * sysdeps/i386/fpu/libm-test-ulps: Update.
4156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4157
6c6a98c9
TV
41582012-03-05 Tom de Vries <tom@codesourcery.com>
4159
4160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4161 default stack guard is set in last bytes.
4162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4163
21bb2d2e 41642012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4165
21bb2d2e 4166 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4167
21bb2d2e
AJ
4168 [BZ #13656]
4169 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4170 possibly allocate from heap instead of stack.
4171 * stdio-common/bug-vfprintf-nargs.c: New file.
4172 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4173
c6922934
AS
41742012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4175
4176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4177
bc957d53
MP
41782012-03-03 Marek Polacek <polacek@redhat.com>
4179
4180 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4181 * math/math_private.h: Likewise.
4182 * stdlib/tst-strtod.c: Likewise.
4183 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4184 * sysdeps/x86_64/bits/atomic.h: Likewise.
4185
6358490d
DM
41862012-03-02 David S. Miller <davem@davemloft.net>
4187
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4192 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4193 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4194 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4195 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4196
01ae168d
RM
41972012-03-02 Roland McGrath <roland@hack.frob.com>
4198
d9a17c07
RM
4199 [BZ #13792]
4200 * manual/examples/README: New file, says the example source files
4201 can be used under GPL>=2.
4202 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4203 line containing just "*/".
4204 * manual/examples/add.c: Add copyright header (GPL>=2).
4205 * manual/examples/argp-ex1.c: Likewise.
4206 * manual/examples/argp-ex2.c: Likewise.
4207 * manual/examples/argp-ex3.c: Likewise.
4208 * manual/examples/argp-ex4.c: Likewise.
4209 * manual/examples/atexit.c: Likewise.
4210 * manual/examples/db.c: Likewise.
4211 * manual/examples/dir.c: Likewise.
4212 * manual/examples/dir2.c: Likewise.
4213 * manual/examples/execinfo.c: Likewise.
4214 * manual/examples/filecli.c: Likewise.
4215 * manual/examples/filesrv.c: Likewise.
4216 * manual/examples/fmtmsgexpl.c: Likewise.
4217 * manual/examples/genpass.c: Likewise.
4218 * manual/examples/inetcli.c: Likewise.
4219 * manual/examples/inetsrv.c: Likewise.
4220 * manual/examples/isockad.c: Likewise.
4221 * manual/examples/longopt.c: Likewise.
4222 * manual/examples/memopen.c: Likewise.
4223 * manual/examples/memstrm.c: Likewise.
4224 * manual/examples/mkfsock.c: Likewise.
4225 * manual/examples/mkisock.c: Likewise.
4226 * manual/examples/mygetpass.c: Likewise.
4227 * manual/examples/pipe.c: Likewise.
4228 * manual/examples/popen.c: Likewise.
4229 * manual/examples/rprintf.c: Likewise.
4230 * manual/examples/search.c: Likewise.
4231 * manual/examples/select.c: Likewise.
4232 * manual/examples/setjmp.c: Likewise.
4233 * manual/examples/sigh1.c: Likewise.
4234 * manual/examples/sigusr.c: Likewise.
4235 * manual/examples/stpcpy.c: Likewise.
4236 * manual/examples/strdupa.c: Likewise.
4237 * manual/examples/strftim.c: Likewise.
4238 * manual/examples/strncat.c: Likewise.
4239 * manual/examples/subopt.c: Likewise.
4240 * manual/examples/swapcontext.c: Likewise.
4241 * manual/examples/termios.c: Likewise.
4242 * manual/examples/testopt.c: Likewise.
4243 * manual/examples/testpass.c: Likewise.
4244 * manual/examples/timeval_subtract.c: Likewise.
4245
01ae168d
RM
4246 [BZ #13792]
4247 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4248 function to ...
4249 * manual/timeval_subtract.c.texi: ... here, new file.
4250
49efa33d
DM
42512012-03-02 David S. Miller <davem@davemloft.net>
4252
4253 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4254
28afd92d
JM
42552012-03-02 Joseph Myers <joseph@codesourcery.com>
4256
804360ed
JM
4257 [BZ #3976]
4258 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4259 (__sin): Save and restore rounding mode and use round-to-nearest
4260 for all computations.
4261 (__cos): Save and restore rounding mode and use round-to-nearest
4262 for all computations.
4263 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4264 <fenv.h>.
4265 (tan): Save and restore rounding mode and use round-to-nearest for
4266 all computations.
4267 * math/libm-test.inc (cos_test_tonearest): New function.
4268 (cos_test_towardzero): Likewise.
4269 (cos_test_downward): Likewise.
4270 (cos_test_upward): Likewise.
4271 (sin_test_tonearest): Likewise.
4272 (sin_test_towardzero): Likewise.
4273 (sin_test_downward): Likewise.
4274 (sin_test_upward): Likewise.
4275 (tan_test_tonearest): Likewise.
4276 (tan_test_towardzero): Likewise.
4277 (tan_test_downward): Likewise.
4278 (tan_test_upward): Likewise.
4279 (main): Call the new functions.
4280 * sysdeps/i386/fpu/libm-test-ulps: Update.
4281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4282
a6d06d7b
JM
4283 [BZ #10135]
4284 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4285 small n, then large n, before computing and testing k+n.
4286 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4288 Likewise.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4290 Likewise.
4291 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4292 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4299 * math/libm-test.inc (scalbn_test): Add more tests.
4300 (scalbln_test): Likewise.
4301
07e12bb3
JM
4302 * manual/filesys.texi (mode_t): Describe constraints on size and
4303 signedness, not exact equivalence to a particular type.
4304 (ino_t): Likewise.
4305 (ino64_t): Likewise.
4306 (dev_t): Likewise.
4307 (nlink_t): Likewise.
4308 (blkcnt_t): Likewise.
4309 (blkcnt64_t): Likewise.
4310 * manual/llio.texi (off_t): Likewise.
4311
28afd92d
JM
4312 [BZ #3976]
4313 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4314 (__ieee754_exp): Save and restore rounding mode and use
4315 round-to-nearest for all computations.
4316 * math/libm-test.inc (exp_test_tonearest): New function.
4317 (exp_test_towardzero): Likewise.
4318 (exp_test_downward): Likewise.
4319 (exp_test_upward): Likewise.
4320 (main): Call the new functions.
4321 * sysdeps/i386/fpu/libm-test-ulps: Update.
4322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323
b1eeb65d
CD
43242012-03-01 Chris Demetriou <cgd@google.com>
4325
4326 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4327 have predictable order.
4328
53362a4b
DM
43292012-03-01 David S. Miller <davem@davemloft.net>
4330
3c969083
DM
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4332
759707de
DM
4333 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4334 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4335 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4336 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4337
dfdb8ff2
DM
4338 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4339 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4340 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4342 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4343 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4344 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4345 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4346 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4347
ead89f96
DM
4348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4349
7f66bd07
DM
4350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4351 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4353
53362a4b
DM
4354 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4355 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4357 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4358 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4362 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4363 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4364 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4370 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4371 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4372 * sysdeps/sparc/elf/configure: Regenerated.
4373
7b1902cb
JM
43742012-03-01 Joseph Myers <joseph@codesourcery.com>
4375
bec039bc
JM
4376 * configure.in (AS, LD): Require binutils 2.20 or later.
4377 * configure: Regenerated.
4378 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4379 as required minimum version.
4380 * INSTALL: Regenerated.
4381
7b1902cb
JM
4382 [BZ #2541]
4383 [BZ #4108]
4384 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4385 before squaring exponent.
4386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4387 bottom long double and 27 bits of top long double before squaring
4388 exponent.
4389 * math/libm-test.inc (erfc_test): Add more tests.
4390 * sysdeps/i386/fpu/libm-test-ulps: Update.
4391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4393
f775c276
KT
43942012-03-01 Kai Tietz <ktietz@redhat.com>
4395
4396 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4397 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4398 containing bit-fields.
4399 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4400 * soft-fp/single.h (_FP_UNION_S): Likewise.
4401 * soft-fp/double.h (_FP_UNION_D): Likewise.
4402
5b8a4d4a
JM
44032012-02-29 Joseph Myers <joseph@codesourcery.com>
4404
0bab47b6
JM
4405 [BZ #13786]
4406 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4407 not include ../strcmp.S.
4408 [USE_AS_STRNCASECMP_L]: Likewise.
4409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4410 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4411 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4412 (__strncasecmp_l_ia32): Define as alias to
4413 __strncasecmp_l_nonascii.
4414
0fcad3e2
JM
4415 [BZ #5794]
4416 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4419
5b8a4d4a
JM
4420 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4422
8fdceb2e
JL
44232012-02-29 Jeff Law <law@redhat.com>
4424
4425 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4426 out of bounds read.
4427
1f393a11
MP
44282012-02-29 Marek Polacek <polacek@redhat.com>
4429
4430 [BZ #13706]
4431 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4432 * elf/Makefile: Add rules to run tst-unused-dep.out.
4433
8847f037
DM
44342012-02-28 David S. Miller <davem@davemloft.net>
4435
4436 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4437 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4440 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4441 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4442
169d7f11
JM
44432012-02-29 Joseph Myers <joseph@codesourcery.com>
4444
4445 * math/libm-test.inc (llround_test): Move one test from
4446 lround_test. Use TEST_f_L in moved test.
4447 (lround_test): Move misplaced test to llround_test. Add testcase
4448 from bug 2561.
4449
39adf059
UD
44502012-02-28 Ulrich Drepper <drepper@gmail.com>
4451
4452 * sysdeps/x86_64/fpu/e_expf.S: New file.
4453 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4454
71b5d1c5
SB
44552012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4456
4457 [BZ #13637]
4458 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4459 of remain_len that may cause incomplete multi-byte character and
4460 false match.
4461 * posix/bug-regex33.c: New file.
4462 * posix/Makefile (tests): Add bug-regex33.
4463
1f77f049
JM
44642012-02-28 Joseph Myers <joseph@codesourcery.com>
4465
4466 * manual/macros.texi: New file.
4467 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4468 * manual/libc.texinfo: Include macros.texi.
4469 * manual/creatute.texi: Likewise.
4470 * manual/install.texi: Likewise.
4471 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4472 @glibcadj{} in references to the GNU C Library.
4473 * manual/charset.texi: Likewise.
4474 * manual/conf.texi: Likewise.
4475 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4476 when not using those macros.
4477 * manual/creature.texi: Likewise.
4478 * manual/crypt.texi: Likewise.
4479 * manual/errno.texi: Likewise.
4480 * manual/filesys.texi: Likewise.
4481 * manual/header.texi: Likewise.
4482 * manual/install.texi: Likewise.
4483 * manual/intro.texi: Likewise.
4484 * manual/io.texi: Likewise.
4485 * manual/job.texi: Likewise.
4486 * manual/lang.texi: Likewise.
4487 * manual/libc.texiinfo: Likewise.
4488 * manual/llio.texi: Likewise.
4489 * manual/locale.texi: Likewise.
4490 * manual/maint.texi: Likewise.
4491 * manual/math.texi: Likewise.
4492 * manual/memory.texi: Likewise.
4493 * manual/message.texi: Likewise.
4494 * manual/nss.texi: Likewise.
4495 * manual/pattern.texi: Likewise.
4496 * manual/process.texi: Likewise.
4497 * manual/resource.texi: Likewise.
4498 * manual/search.texi: Likewise.
4499 * manual/setjmp.texi: Likewise.
4500 * manual/signal.texi: Likewise.
4501 * manual/socket.texi: Likewise.
4502 * manual/startup.texi: Likewise.
4503 * manual/stdio.texi: Likewise.
4504 * manual/string.texi: Likewise.
4505 * manual/sysinfo.texi: Likewise.
4506 * manual/syslog.texi: Likewise.
4507 * manual/terminal.texi: Likewise.
4508 * manual/time.texi: Likewise.
4509 * manual/users.texi: Likewise.
4510 * INSTALL: Regenerated.
4511 * NOTES: Regenerated.
d40c5d54 4512 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4513
450bf206
AS
45142012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4515
4516 * include/dirent.h: Include <dirstream.h> before
4517 <dirent/dirent.h>.
4518
741a235b
DM
45192012-02-28 David S. Miller <davem@davemloft.net>
4520
4521 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4522 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4523 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4524 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4525
d6b5aa58
DM
45262012-02-27 David S. Miller <davem@davemloft.net>
4527
1aff59a3
DM
4528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4530 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4531 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4532
d6b5aa58
DM
4533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4534 frame pointer instead of stack pointer relative arg slot.
4535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4538
433f48bf
CD
45392012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4540
4541 [BZ #3992]
4542 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4543
d674b76d
DM
45442012-02-27 David S. Miller <davem@davemloft.net>
4545
4546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4552 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4553 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4554
0e7727f7
JM
45552012-02-27 Joseph Myers <joseph@codesourcery.com>
4556
4557 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4558 later. Allow versions 5-9.
43be4ca2 4559 * configure: Regenerated.
0e7727f7
JM
4560 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4561 required minimum version and 4.6 as recommended version. Do not
4562 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4563 * INSTALL: Regenerated.
0e7727f7 4564
a78bc654
DM
45652012-02-27 David S. Miller <davem@davemloft.net>
4566
428d5830
DM
4567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4573 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4575
a78bc654
DM
4576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4577 manipulate bits before adding and subtracting TWO112[sx].
4578 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4579
4579f81c
RM
45802012-02-27 Roland McGrath <roland@hack.frob.com>
4581
36c8acb4
RM
4582 [BZ #13775]
4583 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4584 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4585 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4586 being in POSIX, because they are in 1003.1-2008.
4587
84ad622b
RM
4588 * rt/tst-aio.c: Include <fcntl.h>.
4589 * rt/tst-aio7.c: Likewise.
4590 * rt/tst-aio64.c: Likewise.
4591
4579f81c
RM
4592 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4593
abd923db
JM
45942012-02-27 Joseph Myers <joseph@codesourcery.com>
4595
4596 * manual/install.texi (--with-headers): Describe headers as
4597 interface headers, not private headers.
4598 (Specific advice for GNU/Linux systems): Describe use of headers
4599 from "make headers_install", not private headers from older
4600 kernels.
43be4ca2 4601 * INSTALL: Regenerated.
abd923db
JM
4602 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4603 Change to 2.6.19.
4604 * sysdeps/unix/sysv/linux/configure: Regenerated.
4605
6664049b
JM
4606 * manual/llio.texi (fclean): Remove documentation.
4607
bb8b6697
JM
4608 * manual/Makefile (libc-texi-generated): New variable. Include
4609 version.texi.
4610 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4611 $(libc-texi-generated), not duplicated list of files.
4612 (version.texi, stamp-version): New rules.
4613 (realclean): Remove $(libc-texi-generated), not individual files
4614 from that list. Do not remove dir-add.texinfo.
4615 * manual/libc.texinfo: Comment out uses of edition numbers and
4616 references to printed manual. Remove last-updated dates.
4617 (EDITION): Comment out.
4618 (ISBN): Likewise.
4619 (VERSION, UPDATED): Remove.
4620 (version.texi): Include.
4621
12e5c3b9
AS
46222012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4623
4624 * sysdeps/posix/spawni.c: Include <signal.h>.
4625 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4626 * sysdeps/pthread/aio_fsync.c: Likewise.
4627
4efeffc1 46282012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4629
ba63ba08
UD
4630 * conform/Makefile (tests): Run only when not cross-compiling and
4631 when fast-check is not defined.
4632
d94a4670
UD
4633 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4634 * conform/data/limits.h-data: Fixes for POSIX2008.
4635 * conform/run-conformtest.sh: Run all tests.
4636 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4637 headers.
4638 * include/bits/dlfcn.h: Likewise.
4639 * include/langinfo.h: Likewise.
4640 * include/monetary.h: Likewise.
4641 * include/sys/poll.h: Likewise.
4642
4643 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4644 for __USE_GNU.
4645 * posix/spawn.h: Define __need_sigset_t.
4646 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4647 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4648 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4649 to get sigevent_t only.
4650 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4651 only for __USE_GNU.
4652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4653 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4654 process_vm_writev only for __USE_GNU.
4655 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4656
4657 * conform/Makefile: For now ignore errors from run-conformtest.
4658 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4659 POSIX to avoid namespace pollution. Don't prepend headers.
4660 * conform/data/aio.h-data: Fixes for POSIX testing.
4661 * conform/data/fcntl.h-data: Likewise.
4662 * conform/data/glob.h-data: Likewise.
4663 * conform/data/grp.h-data: Likewise.
4664 * conform/data/pthread.h-data: Likewise.
4665 * conform/data/pwd.h-data: Likewise.
4666 * conform/data/signal.h-data: Likewise.
4667 * conform/data/spawn.h-data: Likewise.
4668 * conform/data/stdio.h-data: Likewise.
4669 * conform/data/stdlib.h-data: Likewise.
4670 * conform/data/stropts.h-data: Likewise.
4671 * conform/data/sys/mman.h-data: Likewise.
4672 * conform/data/sys/stat.h-data: Likewise.
4673 * conform/data/sys/types.h-data: Likewise.
4674 * conform/data/sys/wait.h-data: Likewise.
4675 * conform/data/time.h-data: Likewise.
4676 * conform/data/unistd.h-data: Likewise.
4677 * conform/data/utime.h-data: Likewise.
4678
4679 * io/sys/stat.h: fchmod was always in POSIX.
4680 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4681 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4682 * rt/aio.h: Define __need_timespec before including <time.h>.
4683 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4684 struct. Add forward declaration of pthread_attr_t and use it in
4685 sigevent.
4686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4688 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4689 always remove CLK_TCK definition.
4690
c20105c3
AS
46912012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4692
4693 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4694
7a270350
UD
46952012-02-25 Ulrich Drepper <drepper@gmail.com>
4696
31341567
UD
4697 * conform/run-conformtest.sh: New file.
4698 * conform/Makefile: Run run-conformtest for tests.
4699 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4700 support.
4701
4702 * conform/data/uchar.h-data: New file.
4703 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4704 * conform/data/arpa/inet.h-data: Likewise.
4705 * conform/data/assert.h-data: Likewise.
4706 * conform/data/complex.h-data: Likewise.
4707 * conform/data/cpio.h-data: Likewise.
4708 * conform/data/ctype.h-data: Likewise.
4709 * conform/data/dirent.h-data: Likewise.
4710 * conform/data/dlfcn.h-data: Likewise.
4711 * conform/data/errno.h-data: Likewise.
4712 * conform/data/fcntl.h-data: Likewise.
4713 * conform/data/float.h-data: Likewise.
4714 * conform/data/fmtmsg.h-data: Likewise.
4715 * conform/data/fnmatch.h-data: Likewise.
4716 * conform/data/ftw.h-data: Likewise.
4717 * conform/data/glob.h-data: Likewise.
4718 * conform/data/grp.h-data: Likewise.
4719 * conform/data/iconv.h-data: Likewise.
4720 * conform/data/inttypes.h-data: Likewise.
4721 * conform/data/langinfo.h-data: Likewise.
4722 * conform/data/libgen.h-data: Likewise.
4723 * conform/data/limits.h-data: Likewise.
4724 * conform/data/locale.h-data: Likewise.
4725 * conform/data/math.h-data: Likewise.
4726 * conform/data/monetary.h-data: Likewise.
4727 * conform/data/mqueue.h-data: Likewise.
4728 * conform/data/ndbm.h-data: Likewise.
4729 * conform/data/net/if.h-data: Likewise.
4730 * conform/data/netdb.h-data: Likewise.
4731 * conform/data/netinet/in.h-data: Likewise.
4732 * conform/data/nl_types.h-data: Likewise.
4733 * conform/data/poll.h-data: Likewise.
4734 * conform/data/pthread.h-data: Likewise.
4735 * conform/data/pwd.h-data: Likewise.
4736 * conform/data/regex.h-data: Likewise.
4737 * conform/data/sched.h-data: Likewise.
4738 * conform/data/search.h-data: Likewise.
4739 * conform/data/semaphore.h-data: Likewise.
4740 * conform/data/setjmp.h-data: Likewise.
4741 * conform/data/signal.h-data: Likewise.
4742 * conform/data/spawn.h-data: Likewise.
4743 * conform/data/stdarg.h-data: Likewise.
4744 * conform/data/stdio.h-data: Likewise.
4745 * conform/data/stdlib.h-data: Likewise.
4746 * conform/data/string.h-data: Likewise.
4747 * conform/data/strings.h-data: Likewise.
4748 * conform/data/stropts.h-data: Likewise.
4749 * conform/data/sys/ipc.h-data: Likewise.
4750 * conform/data/sys/mman.h-data: Likewise.
4751 * conform/data/sys/msg.h-data: Likewise.
4752 * conform/data/sys/resource.h-data: Likewise.
4753 * conform/data/sys/select.h-data: Likewise.
4754 * conform/data/sys/sem.h-data: Likewise.
4755 * conform/data/sys/shm.h-data: Likewise.
4756 * conform/data/sys/socket.h-data: Likewise.
4757 * conform/data/sys/stat.h-data: Likewise.
4758 * conform/data/sys/statvfs.h-data: Likewise.
4759 * conform/data/sys/time.h-data: Likewise.
4760 * conform/data/sys/timeb.h-data: Likewise.
4761 * conform/data/sys/times.h-data: Likewise.
4762 * conform/data/sys/types.h-data: Likewise.
4763 * conform/data/sys/uio.h-data: Likewise.
4764 * conform/data/sys/un.h-data: Likewise.
4765 * conform/data/sys/utsname.h-data: Likewise.
4766 * conform/data/sys/wait.h-data: Likewise.
4767 * conform/data/syslog.h-data: Likewise.
4768 * conform/data/tar.h-data: Likewise.
4769 * conform/data/termios.h-data: Likewise.
4770 * conform/data/utime.h-data: Likewise.
4771 * conform/data/utmpx.h-data: Likewise.
4772 * conform/data/varargs.h-data: Likewise.
4773 * conform/data/wchar.h-data: Likewise.
4774 * conform/data/wctype.h-data: Likewise.
4775 * conform/data/wordexp.h-data: Likewise.
4776
4777 * include/stropts.h: New file.
4778 * include/uchar.h: New file.
4779 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4780 * include/assert.h: Likewise.
4781 * include/ctype.h: Likewise.
4782 * include/dirent.h: Likewise.
4783 * include/dlfcn.h: Likewise.
4784 * include/fcntl.h: Likewise.
4785 * include/fnmatch.h: Likewise.
4786 * include/glob.h: Likewise.
4787 * include/grp.h: Likewise.
4788 * include/libio.h: Likewise.
4789 * include/locale.h: Likewise.
4790 * include/math.h: Likewise.
4791 * include/net/if.h: Likewise.
4792 * include/netdb.h: Likewise.
4793 * include/netinet/in.h: Likewise.
4794 * include/pthread.h: Likewise.
4795 * include/pwd.h: Likewise.
4796 * include/regex.h: Likewise.
4797 * include/sched.h: Likewise.
4798 * include/search.h: Likewise.
4799 * include/setjmp.h: Likewise.
4800 * include/signal.h: Likewise.
4801 * include/stdio.h: Likewise.
4802 * include/stdlib.h: Likewise.
4803 * include/string.h: Likewise.
4804 * include/sys/cdefs.h: Likewise.
4805 * include/sys/mman.h: Likewise.
4806 * include/sys/msg.h: Likewise.
4807 * include/sys/resource.h: Likewise.
4808 * include/sys/select.h: Likewise.
4809 * include/sys/socket.h: Likewise.
4810 * include/sys/stat.h: Likewise.
4811 * include/sys/statvfs.h: Likewise.
4812 * include/sys/time.h: Likewise.
4813 * include/sys/times.h: Likewise.
4814 * include/sys/uio.h: Likewise.
4815 * include/sys/utsname.h: Likewise.
4816 * include/sys/wait.h: Likewise.
4817 * include/termios.h: Likewise.
4818 * include/time.h: Likewise.
4819 * include/ulimit.h: Likewise.
4820 * include/unistd.h: Likewise.
4821 * include/utime.h: Likewise.
4822 * include/wchar.h: Likewise.
4823 * include/wctype.h: Likewise.
4824 * include/wordexp.h: Likewise.
4825
4826 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4827
7a270350
UD
4828 * time/time.h: TIME_UTC must be a macro.
4829 Make timespec_get available for ISO C11 only as well.
4830
7724defc
UD
48312012-02-24 Ulrich Drepper <drepper@gmail.com>
4832
4833 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4834 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4835
6b1d1d46
JM
48362012-02-24 Joseph Myers <joseph@codesourcery.com>
4837
4838 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4839
0f8bbd69
JM
48402012-02-24 Joseph Myers <joseph@codesourcery.com>
4841
4842 * manual/texinfo.tex: Update to version 2012-01-19.16.
4843
66ab80bc
JM
48442012-02-24 Joseph Myers <joseph@codesourcery.com>
4845
4846 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4847
74981cc5
RM
48482012-02-24 Roland McGrath <roland@hack.frob.com>
4849
ee968201
RM
4850 [BZ #13738]
4851 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4852 * manual/fdl-1.3.texi: New file.
4853 * manual/fdl-1.1.texi: File removed.
4854
74981cc5
RM
4855 [BZ #13738]
4856 * manual/libc.texinfo (FDL_VERSION): New @set.
4857 Use it for mention of FDL in cover text.
4858 (Documentation License): Use it in @include file name.
4859
7bb764bc
JM
48602012-02-22 Joseph Myers <joseph@codesourcery.com>
4861 Roland McGrath <roland@hack.frob.com>
4862
4863 [BZ #5461]
4864 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4865 not LONG_LONG_MAX and LONG_LONG_MIN.
4866 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4867 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4868 name.
4869 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4870
6cbeae47
JM
48712012-02-22 Joseph Myers <joseph@codesourcery.com>
4872
4873 [BZ #2547]
4874 [BZ #11365]
4875 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4876 manipulate bits before adding and subtracting TWO23[sx].
4877 * math/libm-test.inc (nearbyint_test): Add more tests.
4878
fe45ce09
JM
48792012-02-22 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #2548]
4882 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4883 bits before adding and subtracting TWO23[sx].
4884 * math/libm-test.inc (rint_test): Add more tests.
4885 (rint_test_tonearest): Likewise.
4886 (rint_test_towardzero): Likewise.
4887 (rint_test_downward): Likewise.
4888 (rint_test_upward: Likewise.
4889
ff3b3d82
JM
48902012-02-22 Joseph Myers <joseph@codesourcery.com>
4891
4892 [BZ #10110]
4893 * include/stdc-predef.h: New file. Extracted from features.h.
4894 * include/features.h: Include stdc-predef.h.
4895 * Makefile (headers): Add stdc-predef.h.
4896 * CONFORMANCE (Compiler limitations): Update.
4897
ef0aab35
JM
48982012-02-22 Joseph Myers <joseph@codesourcery.com>
4899
4900 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4901
58639409
DM
49022012-02-21 David S. Miller <davem@davemloft.net>
4903
4904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4906
c0e70b25
DM
49072012-02-20 David S. Miller <davem@davemloft.net>
4908
4909 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4910 using a normal save/restore sequence, rather than allocating a
4911 dummy stack frame just to store a frame pointer and restore.
4912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4913
fb06851d
JM
49142012-02-21 Joseph Myers <joseph@codesourcery.com>
4915
4916 * manual/install.texi: Fix stray word in line-wrapped comment.
4917
7a8b71c3
DM
49182012-02-20 David S. Miller <davem@davemloft.net>
4919
d510c123
DM
4920 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4921 both binutils and gcc support GOTDATA.
4922
0722d7c2
DM
4923 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4924 "rd %pc" in the PIC register setup sequences.
4925
3d2b3019
DM
4926 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4927 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4929 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4935 (SYSCALL_ERROR_HANDLER): Likewise.
4936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4939 (SYSCALL_ERROR_HANDLER): Likewise.
4940
c80098a9
DM
4941 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4942 (HAVE_GCC_GOTDATA): New.
4943 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4944 relocation support in both binutils and gcc.
4945 * sysdeps/sparc/elf/configure: Regenerate.
4946
3a2545a0
DM
4947 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4948 * sysdeps/sparc/sparc32/elf/configure: Delete.
4949 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4950 * sysdeps/sparc/sparc64/elf/configure: Delete.
4951 * sysdeps/sparc/elf/configure.in: New file.
4952 * sysdeps/sparc/elf/configure: Generate.
4953
7a8b71c3
DM
4954 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4955 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4956 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4957 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4958 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4959
f1e86fca
JM
49602012-02-21 Joseph Myers <joseph@codesourcery.com>
4961
4962 * manual/install.texi: Do not mention specific glibc version
4963 numbers.
4964 * manual/libc.texinfo (VERSION, UPDATED): Update.
4965 (@copying): Use @copyright{} and range of years.
4966
0e7dfaef
JM
49672012-02-21 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #13695]
4970 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4971 [crti.S not in sysdirs] (generated): Do not append.
4972 [crti.S not in sysdirs] (omit-deps): Likewise.
4973 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4974 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4975 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4976 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4977 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4978 Likewise.
4979 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4980 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4981 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4982 * csu/defs.awk: Remove file.
4983 * sysdeps/generic/initfini.c: Likewise.
4984 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4985 variable.
4986 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4987 Likewise.
4988
599af3ca
JM
49892012-02-20 Joseph Myers <joseph@codesourcery.com>
4990
4991 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4992 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4996 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4997 <bits/epoll.h>.
4998 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4999 (__EPOLL_PACKED): Define to empty if not defined by
5000 <bits/epoll.h>.
5001 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5003 bits/epoll.h.
5004
0e499750
JM
50052012-02-20 Joseph Myers <joseph@codesourcery.com>
5006
5007 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5008 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5010 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5011 <bits/timerfd.h>.
5012 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5014 bits/timerfd.h.
5015
5ad91f6e
JM
50162012-02-20 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5019 in C locale.
5020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5024
06b99b02
AJ
50252012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5026
5027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5028 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5029
7638c0fd
AS
50302012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5031
5032 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5033 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5034 defined.
5035 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5036 Likewise.
5037 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5038 entry for 2.16.
5039
92221550
AJ
50402012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5041
5042 * math/w_acos.c: Use non-signaling floating-point comparisons.
5043 * math/w_acosf.c: Likewise.
5044 * math/w_acosh.c: Likewise.
5045 * math/w_acoshf.c: Likewise.
5046 * math/w_acoshl.c: Likewise.
5047 * math/w_acosl.c: Likewise.
5048 * math/w_asin.c: Likewise.
5049 * math/w_asinf.c: Likewise.
5050 * math/w_asinl.c: Likewise.
5051 * math/w_atanh.c: Likewise.
5052 * math/w_atanhf.c: Likewise.
5053 * math/w_atanhl.c: Likewise.
5054 * math/w_exp2.c: Likewise.
5055 * math/w_exp2f.c: Likewise.
5056 * math/w_exp2l.c: Likewise.
5057 * math/w_j0.c: Likewise.
5058 * math/w_j0f.c: Likewise.
5059 * math/w_j0l.c: Likewise.
5060 * math/w_j1.c: Likewise.
5061 * math/w_j1f.c: Likewise.
5062 * math/w_j1l.c: Likewise.
5063 * math/w_jn.c: Likewise.
5064 * math/w_jnf.c: Likewise.
5065 * math/w_log.c: Likewise.
5066 * math/w_log10.c: Likewise.
5067 * math/w_log10f.c: Likewise.
5068 * math/w_log10l.c: Likewise.
5069 * math/w_log2.c: Likewise.
5070 * math/w_log2f.c: Likewise.
5071 * math/w_log2l.c: Likewise.
5072 * math/w_logf.c: Likewise.
5073 * math/w_logl.c: Likewise.
5074 * math/w_sqrt.c: Likewise.
5075 * math/w_sqrtf.c: Likewise.
5076 * math/w_sqrtl.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5080 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5081 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5082
ebaf36eb
JM
50832012-02-19 Joseph Myers <joseph@codesourcery.com>
5084
5085 [BZ #9739]
5086 * manual/string.texi (strnlen): Use correct parameter name in
5087 equivalent expression.
5088
71c254a6
JM
50892012-02-19 Joseph Myers <joseph@codesourcery.com>
5090
5091 [BZ #11174]
5092 * manual/users.texi (seteuid): Consistently use neweuid for
5093 argument name.
5094
16d2c631
JM
50952012-02-19 Joseph Myers <joseph@codesourcery.com>
5096
5097 [BZ #13704]
5098 * manual/nss.texi (Services in the NSS configuration): Correct
5099 list of services in example configuration file.
5100
cd837b09
NB
51012012-02-19 Nick Bowler <nbowler@draconx.ca>
5102
5103 [BZ #11322]
5104 * manual/arith.texi: Remove statements about negative zero
5105 behaving identically to zero.
5106
02c4bbad
JM
51072012-02-18 Joseph Myers <joseph@codesourcery.com>
5108
5109 [BZ #5993]
5110 * manual/install.texi: Do not document upgrading from libc5.
5111
366842e7
JM
51122012-02-18 Joseph Myers <joseph@codesourcery.com>
5113
5114 [BZ #4596]
5115 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5116
dd54084d
DM
51172012-02-18 David S. Miller <davem@davemloft.net>
5118
5119 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5120 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5121 %o7 across the call.
5122 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5123 instead.
5124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5125 SETUP_PIC_REG_LEAF.
5126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5127 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5128 * sysdeps/sparc/crtn.S: Likewise.
5129
2bcc53a3
UD
51302012-02-17 Ulrich Drepper <drepper@gmail.com>
5131
5132 * aout/Makefile: Remove.
5133
09c093b5
RK
51342012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5135
5136 [BZ #13058]
5137 * manual/examples/argp-ex1.c (main): Format definition in GNU
5138 style.
5139 * manual/examples/argp-ex2.c (main): Likewise.
5140 * manual/examples/argp-ex3.c (main): Likewise.
5141 * manual/examples/argp-ex4.c (main): Likewise.
5142 * manual/examples/longopt.c (main): Use new-style prototype
5143 definition.
5144 * manual/examples/strncat.c (main): Specify return type and use
5145 (void) for arguments.
5146 * manual/examples/subopt.c (main): Use char **argv argument.
5147
2ee633a2
JM
51482012-02-17 Joseph Myers <joseph@codesourcery.com>
5149
5150 [BZ #5077]
5151 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5152 rounding modes.
5153
0520adde
FB
51542012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5155
5156 [BZ #6907]
5157 * manual/string.texi (strchr): Change when strchrnul is
5158 recommended.
5159
3f4081cd
DGM
51602012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5161
5162 [BZ #174]
5163 * manual/locale.texi (setlocale): Document LOCPATH.
5164
d1b10e78
JM
51652012-02-17 Joseph Myers <joseph@codesourcery.com>
5166
5167 [BZ #10210]
5168 * manual/process.texi (execle): Move @dots{} before last argument.
5169
79c6869c
PB
51702012-02-17 Paul Bolle <pebolle@tiscali.nl>
5171
5172 [BZ #12047]
5173 * manual/charset.texi (Generic Charset Conversion): Fix typo
5174 (LC_TYPE -> LC_CTYPE).
5175
cc6e48bc
NB
51762012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5177
5178 [BZ #5805]
5179 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5180 (scalbnf): Likewise.
5181 (scalbnl): Likewise.
5182 (scalbln): Likewise.
5183 (scalblnf): Likewise.
5184 (scalblnl): Likewise.
5185 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5186 (vwarnx): Likewise.
5187 (verr): Likewise.
5188 (verrx): Likewise.
5189 * manual/filesys.texi (telldir): Use braces around return type.
5190 * manual/llio.texi (mmap): Add space after comma.
5191 (mmap64): Likewise.
5192 * manual/math.texi (jn): Use @var{} on parameter names.
5193 (jnf): Likewise.
5194 (jnl): Likewise.
5195 (yn): Likewise.
5196 (ynf): Likewise.
5197 (ynl): Likewise.
5198 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5199 line.
5200 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5201 "...".
5202 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5203 (sched_get_priority_max): Likewise.
5204 * manual/signal.texi (sigvec): Add space after comma.
5205 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5206 names.
5207 (if_indextoname): Likewise.
5208 (if_freenameindex): Likewise.
5209 (sendto): Use ',' instead of '.' in prototype.
5210 * manual/startup.texi (syscall): Use @dots{} instead of literal
5211 "...".
5212 * manual/stdio.texi (__fpending): Separate initial words of
5213 paragraph from @deftypefun line.
5214 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5215 "...".
5216 (vsyslog): Use @var{} on parameter names.
5217 * manual/terminal.texi (stty): Use @var{} on parameter names.
5218 * manual/users.texi (getutmp): Use @var{} on parameter names.
5219 (getutmpx): Likewise.
5220
5b23062f
JM
52212012-02-17 Joseph Myers <joseph@codesourcery.com>
5222
5223 [BZ #6884]
5224 * manual/stdio.texi (fopen): Fix typos in description of
5225 ",ccs=STRING".
5226
8dee4833
AJ
52272012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5228
5229 [BZ #4026]
5230 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5231 get clock_id definition.
5232
9078ce93
TS
52332012-02-17 Thomas Schwinge <thomas@schwinge.name>
5234
5235 [BZ #4822]
5236 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5237 (madvise): Cast every argument to void on its own.
5238
3835c55f
JM
52392012-02-17 Joseph Myers <joseph@codesourcery.com>
5240
5241 [BZ #9902]
5242 * manual/startup.texi (Exit Status): Fix typo.
5243
35c47e37
JM
52442012-02-17 Joseph Myers <joseph@codesourcery.com>
5245
5246 [BZ #10140]
5247 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5248 * manual/examples/argp-ex2.c: Likewise.
5249 * manual/examples/argp-ex3.c: Likewise.
5250
e3b69ca7
RH
52512012-02-16 Richard Henderson <rth@redhat.com>
5252
5253 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5254 * sysdeps/s390/s390-32/initfini.c: Remove.
5255 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5256 * sysdeps/s390/s390-64/initfini.c: Remove.
5257
df83af67
KK
52582012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5259
5260 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5261 compiler output for sysdeps/generic/initfini.c.
5262 * sysdeps/sh/elf/initfini.c: Remove file.
5263
f63f3380
DM
52642012-02-16 David S. Miller <davem@davemloft.net>
5265
fb59b3a4
DM
5266 [BZ #11494]
5267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5268
f63f3380
DM
5269 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5270 * sysdeps/sparc/crti.S: New file.
5271 * sysdeps/sparc/crtn.S: New file.
5272 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5273 * sysdeps/sparc/sparc64/Makefile: Likewise.
5274
df6a4a4a
MF
52752012-02-15 Mike Frysinger <vapier@gentoo.org>
5276
6dd8f3dc 5277 [BZ #3335]
df6a4a4a
MF
5278 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5279
1cac7236
RM
52802012-02-15 Roland McGrath <roland@hack.frob.com>
5281
d2c736f8
RM
5282 [BZ #4822]
5283 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5284
1cac7236
RM
5285 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5286 (write, read, close): Likewise.
5287 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5288
8e475601
JM
52892012-02-15 Joseph Myers <joseph@codesourcery.com>
5290
5291 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5292 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5294 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5295 <bits/signalfd.h>.
5296 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5298 bits/signalfd.h.
5299
ed656b40
MP
53002012-02-14 Marek Polacek <polacek@redhat.com>
5301
5302 * sysdeps/x86_64/crti.S: New file.
5303 * sysdeps/x86_64/crtn.S: New file.
5304 * sysdeps/x86_64/elf/initfini.c: Remove file.
5305
2a979d3a
JM
53062012-02-13 Joseph Myers <joseph@codesourcery.com>
5307
5308 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5309 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5311 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5312 <bits/inotify.h>.
5313 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5315 bits/inotify.h.
5316
2a418ac3
JM
53172012-02-13 Joseph Myers <joseph@codesourcery.com>
5318
5319 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5320 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5321 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5322 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5323 <bits/eventfd.h>.
5324 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5326 bits/eventfd.h.
5327
fb779be7
TS
53282012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5329
e19e83c5
RM
5330 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5331 __feraiseexcept instead of feraiseexcept.
7c35ffed 5332
fb779be7
TS
5333 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5334 nanosleep invocations.
5335 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5336 strings, and add error checking for a nanosleep invocations.
5337
59ba27a6
PE
53382012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5339
5340 Replace FSF snail mail address with URLs, as per GNU coding standards.
5341 Most of the snail mail addresses were wrong anyway, and omitting
5342 them makes the source code easier to maintain. Almost all of the
5343 changes are to license notices and to locale LC_IDENTIFICATION
5344 addresses, except for this one:
5345 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5346 not its snail mail address.
5347
57b957eb
RH
53482012-02-09 Richard Henderson <rth@twiddle.net>
5349
af850b1c
RH
5350 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5351 of kernel-features.h.
5352
57b957eb
RH
5353 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5354
6b73181a
MP
53552012-02-08 Marek Polacek <polacek@redhat.com>
5356
5357 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5358 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5359 * sysdeps/gnu/_G_config.h: Likewise.
5360 * sysdeps/generic/_G_config.h: Likewise.
5361
26ecc33a
AS
53622012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5363
6c6dbc63
AS
5364 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5365 tests.
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367
e216c012
AS
5368 * sysdeps/powerpc/powerpc32/crti.S: New file.
5369 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5370 * sysdeps/powerpc/powerpc64/crti.S: New file.
5371 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5372
26ecc33a
AS
5373 * Makeconfig (have-initfini): Don't set.
5374 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5375 * configure.in (nopic_initfini): Don't substitute.
5376 * config.h.in (HAVE_INITFINI): Don't #undef.
5377 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5378 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5379
3add8e13
JM
53802012-02-08 Joseph Myers <joseph@codesourcery.com>
5381
5382 Support crti.S and crtn.S provided directly by architectures.
5383 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5384 [crti.S in sysdirs] (omit-deps): Likewise.
5385 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5386 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5387 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5388 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5389 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5390 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5391 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5392 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5393 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5394 compiler output for sysdeps/generic/initfini.c.
5395 * sysdeps/i386/elf/Makefile: Remove file.
5396 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5397
a22f12b4
MP
53982012-02-07 Marek Polacek <polacek@redhat.com>
5399
5400 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5401 * sysdeps/gnu/_G_config.h: Likewise.
5402 * sysdeps/mach/hurd/_G_config.h: Likewise.
5403
148cf100
MP
54042012-02-07 Marek Polacek <polacek@redhat.com>
5405
5406 * math/Makefile (tests): Add tst-CMPLX2.
5407 * math/tst-CMPLX2.c: New file.
5408
cfdc0dd7
AS
54092012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5410
84ba42c4
AS
5411 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5412
cfdc0dd7
AS
5413 * math/libm-test.inc (jn_test): Add missing L suffix.
5414
622c86f4
MP
54152012-02-06 Marek Polacek <polacek@redhat.com>
5416
5417 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5418 * sysdeps/i386/fpu/e_powf.S: Likewise.
5419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5420 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5422 * sysdeps/i386/fpu/e_pow.S: Likewise.
5423 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5425 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5426 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5427 * sysdeps/i386/fpu/e_log2.S: Likewise.
5428 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5429 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5430 * sysdeps/i386/fpu/e_powl.S: Likewise.
5431 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5433 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5434 * sysdeps/i386/fpu/e_logl.S: Likewise.
5435 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5436 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5441 * sysdeps/i386/fpu/e_log.S: Likewise.
5442 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5444 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5445 * sysdeps/i386/fpu/e_logf.S: Likewise.
5446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5448 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5450 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5451 * sysdeps/i386/fpu/e_log10.S: Likewise.
5452 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5454 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5455 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5458 * sysdeps/i386/asm-syntax.h: Likewise.
5459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5462 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5463 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5465 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5466 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5468 * sysdeps/powerpc/sysdep.h: Likewise.
5469 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5470 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5471
d4a54ac6
JM
54722012-02-06 Joseph Myers <joseph@codesourcery.com>
5473
5474 [BZ #411]
5475 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5476
314054ea
JM
54772012-02-06 Joseph Myers <joseph@codesourcery.com>
5478
5479 * sysdeps/i386/sysdep.h: Include <features.h>.
5480 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5481 version.
5482
d8e0ca50
JM
54832012-02-05 Joseph Myers <joseph@codesourcery.com>
5484
5485 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5486 Define.
5487 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5488 LOAD_PIC_REG_STR.
5489
b1da7dd9
JM
54902012-02-03 Joseph Myers <joseph@codesourcery.com>
5491
5492 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5493 (SETUP_PIC_REG): Use GET_PC_THUNK.
5494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5495 macro.
5496
9a1d9254
JM
54972012-02-03 Joseph Myers <joseph@codesourcery.com>
5498
5499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5500 for non-PIC compilation.
5501 (SETUP_PIC_REG): Add .p2align directive.
5502 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5503 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5506 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5507 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5508 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5510 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5511 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5512 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5513 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5514 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5515 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5516 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5517 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5518 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5519 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5520 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5521 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5524 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5525 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5530 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5531 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5534 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5538 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5539 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5540 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5541 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5542 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5543
65dc3b75
JM
55442012-02-03 Joseph Myers <joseph@codesourcery.com>
5545
5546 * math/tst-CMPLX.c: Include <stdio.h>.
5547
d55bf177
JM
55482012-01-31 Joseph Myers <joseph@codesourcery.com>
5549
5550 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5551 float.
5552 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5553 * sysdeps/sparc/bits/mathdef.h: Likewise.
5554
69db4f8f
MP
55552012-01-31 Marek Polacek <polacek@redhat.com>
5556
5557 * libio/libio.h: Don't define _PARAMS.
5558 * locale/programs/config.h: Don't define PARAMS.
5559 * stdlib/strtol_l.c: Likewise.
5560 (__strtol_l): Remove PARAMS from the prototype.
5561
41b81892
UD
55622012-01-31 Ulrich Drepper <drepper@gmail.com>
5563
3b49edc0
UD
5564 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5565 names. Just use the correct names. Remove unnecessary wrapper
5566 functions.
5567 * malloc/arena.c: Likewise.
5568 * malloc/hooks.c: Likewise.
5569
41b81892
UD
5570 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5571 ARENA_TEST says not to. Simplify test for creation of a new arena.
5572 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5573
27a25b6e
UD
55742012-01-30 Ulrich Drepper <drepper@gmail.com>
5575
5576 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5577 into tail calls.
5578 (update_get_addr): New function.
5579 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5580 GET_ADDR_MODULE parameter.
5581
c8a89e7d
JM
55822012-01-30 Joseph Myers <joseph@codesourcery.com>
5583
5584 * crypt/cert.c: Remove __STDC__ conditionals.
5585 * crypt/crypt-entry.c: Likewise.
5586 * crypt/crypt_util.c: Likewise.
5587 * libio/filedoalloc.c: Likewise.
5588 * libio/fileops.c: Likewise.
5589 * libio/genops.c: Likewise.
5590 * libio/iofclose.c: Likewise.
5591 * libio/iofdopen.c: Likewise.
5592 * libio/iofopen.c: Likewise.
5593 * libio/iofopen64.c: Likewise.
5594 * libio/iogetdelim.c: Likewise.
5595 * libio/iopopen.c: Likewise.
5596 * libio/obprintf.c: Likewise.
5597 * libio/oldfileops.c: Likewise.
5598 * libio/oldiofclose.c: Likewise.
5599 * libio/oldiofdopen.c: Likewise.
5600 * libio/oldiofopen.c: Likewise.
5601 * libio/oldiopopen.c: Likewise.
5602 * libio/wfiledoalloc.c: Likewise.
5603 * libio/wgenops.c: Likewise.
5604 * locale/programs/xmalloc.c: Likewise.
5605 * misc/syslog.c: Likewise.
5606 * stdio-common/xbug.c: Likewise.
5607 * string/memchr.c: Likewise.
5608 * string/memcmp.c: Likewise.
5609 * string/memrchr.c: Likewise.
5610 * string/rawmemchr.c: Likewise.
5611 * sysdeps/posix/getcwd.c: Likewise.
5612 * time/strftime_l.c: Likewise.
5613
3b100462
JM
56142012-01-30 Joseph Myers <joseph@codesourcery.com>
5615
5616 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5617 * config.make.in (config-cflags-sse2avx): Define.
5618 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5619 Fix typo.
5620
607998af
CM
56212012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5622
5623 * scripts/config.guess: Update from upstream config git repository.
5624 * scripts/config.sub: Likewise.
5625
3601428f
CM
56262012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5627
3ac8b282
CM
5628 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5629 (EM_NUM): Update.
5630 (R_TILEPRO_*, R_TILEGX_*): New macros.
5631
e034841e
CM
5632 * scripts/firstversions.awk: Fix bug in version range handling.
5633
540d7568
CM
5634 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5635
3601428f
CM
5636 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5637
463de862
CM
5638 * include/sys/epoll.h: New file.
5639 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5640 libc_hidden_def.
5641
73139a76
UD
56422012-01-28 Ulrich Drepper <drepper@gmail.com>
5643
96bc5b45
UD
5644 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5645 Avoid unnecessary __WORDSIZE == 64 test.
5646 (fmaxf): Use VEX format if possible.
5647 (fmax): Likewise.
5648 (fminf): Likewise.
5649 (fmin): Likewise.
5650
56f6f6a2
UD
5651 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5652 * math/math_private.h: Remove libc_fegetround* and
5653 libc_fesetround*.
5654 * sysdeps/i386/configure.in: Check for -msse2avx.
5655 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5656 also if SSE2AVX is defined.
5657 Remove libc_fegetround* and libc_fesetround*.
5658 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5659 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5661 of HAS_YMM_USABLE.
5662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5667
73139a76
UD
5668 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5669
d73f93a4
AZ
56702012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671
5672 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5673 size is not set.
5674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5675
6ee65ed6
UD
56762012-01-27 Ulrich Drepper <drepper@gmail.com>
5677
5678 [BZ #13618]
5679 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5680 relocation.
5681 * Makeconfig (libm): Define.
5682 * elf/Makefile: Add rules to build and run tst-relsort1.
5683 * elf/tst-relsort1.c: New file.
5684 * elf/tst-relsort1mod1.c: New file.
5685 * elf/tst-relsort1mod2.c: New file.
5686
8db21882
JM
56872012-01-27 Joseph Myers <joseph@codesourcery.com>
5688
5689 * math/s_ldexp.c: Remove __STDC__ conditionals.
5690 * math/s_ldexpf.c: Likewise.
5691 * math/s_ldexpl.c: Likewise.
5692 * math/s_nextafter.c: Likewise.
5693 * math/s_nexttowardf.c: Likewise.
5694 * math/s_significand.c: Likewise.
5695 * math/s_significandf.c: Likewise.
5696 * math/s_significandl.c: Likewise.
5697 * math/w_jnl.c: Likewise.
5698 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5699 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5700 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5701 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5702 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5720 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5722 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5723 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5724 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5726 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5728 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5729 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5732 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5737 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5738 * sysdeps/ieee754/k_standard.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5800 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5805 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5813 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5814 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5818 * sysdeps/ieee754/s_matherr.c: Likewise.
5819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5823
965a54a4
JM
58242012-01-26 Joseph Myers <joseph@codesourcery.com>
5825
5826 * crypt/md5.h: Remove __STDC__ conditionals.
5827 * libio/libioP.h: Likewise.
5828 * locale/programs/config.h: Likewise.
5829 * sysdeps/generic/sysdep.h: Likewise.
5830 * sysdeps/i386/asm-syntax.h: Likewise.
5831 * sysdeps/s390/asm-syntax.h: Likewise.
5832 * sysdeps/unix/sysdep.h: Likewise.
5833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5835
7071ad79
JM
58362012-01-26 Joseph Myers <joseph@codesourcery.com>
5837
5838 * libio/libio.h: Remove __STDC__ conditionals.
5839 * malloc/obstack.h: Likewise.
5840 * math/complex.h: Likewise.
5841 * math/math.h: Likewise.
5842 * sysdeps/generic/_G_config.h: Likewise.
5843 * sysdeps/gnu/_G_config.h: Likewise.
5844 * sysdeps/mach/hurd/_G_config.h: Likewise.
5845 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5846 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5847 * sysdeps/sparc/bits/mathdef.h: Likewise.
5848
afc5ed09
UD
58492012-01-26 Ulrich Drepper <drepper@gmail.com>
5850
5851 [BZ #13583]
5852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5853 Clean up HAS_* macros.
afc5ed09 5854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5855 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5856 possible.
5857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5858 HAS_AVX.
5859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5864
bdb6de1d
JM
58652012-01-25 Joseph Myers <joseph@codesourcery.com>
5866
5867 * elf/tst-unique3.cc (gets): Remove declaration.
5868 * elf/tst-unique3lib.cc (gets): Likewise.
5869 * elf/tst-unique3lib2.cc (gets): Likewise.
5870 * elf/tst-unique4.cc (gets): Likewise.
5871
b15549e6
UD
58722012-01-24 Ulrich Drepper <drepper@gmail.com>
5873
5874 * include/stdio.h: Add C++ protection. Add gets declarations and
5875 definitions.
5876 * debug/tst-chk1.c: Don't declare gets here.
5877 * stdio-common/tst-gets.c: Likewise.
5878
a037381f
JM
58792012-01-24 Joseph Myers <joseph@codesourcery.com>
5880
5881 * posix/glob: Remove directory.
5882
f1d4aa75
JM
58832012-01-24 Joseph Myers <joseph@codesourcery.com>
5884
5885 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5886
81c0c964
PT
58872012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5888
5889 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5890 of the non-standard EPFNOSUPPORT.
5891
0ea698ae
ST
58922011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5893
5894 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5895 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5896 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5897
d220b117
UD
58982012-01-21 Ulrich Drepper <drepper@gmail.com>
5899
5900 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5901
3e1aa84e
UD
59022012-01-20 Ulrich Drepper <drepper@gmail.com>
5903
5904 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5905 transient errors.
5906 * nscd/grpcache.c (cache_addgr): Likewise.
5907 * nscd/hstcache.c (cache_addhst): Likewise.
5908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5909 * nscd/pwdcache.c (cache_addpw): Likewise.
5910 * nscd/servicescache.c (cache_addserv): Likewise.
5911
400aa020
UD
59122012-01-16 Ulrich Drepper <drepper@gmail.com>
5913
d77e7869
UD
5914 * malloc/malloc.c: Various cleanups.
5915 * malloc/hooks.c: Likewise.
5916
400aa020
UD
5917 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5918 * stdlib/bug-fmtmsg1.c: New file.
5919
5920 * stdlib/fmtmsg.c (init): Add missing unlock.
5921 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5922
e0a309cf
MP
59232012-01-12 Marek Polacek <polacek@redhat.com>
5924
5925 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5926 and _GNU_SOURCE.
5927
929d11c7
WS
59282012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5929
5930 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5931 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5932 macro to ensure uniqueness of label name.
5933 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5934 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5935
41d0e869
UD
59362012-01-11 Ulrich Drepper <drepper@gmail.com>
5937
0cc5ed3b
UD
5938 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5939
41d0e869
UD
5940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5941 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5944
a47a831a
UD
59452012-01-10 Ulrich Drepper <drepper@gmail.com>
5946
daa891c0
UD
5947 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5948
5949 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5951 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5952
e58ef0f2
UD
5953 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5954
a47a831a 5955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5956 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5959
5960 * math/bits/math-finite.h: Add ldexp support.
5961
a0bfc9c7
MP
59622012-01-10 Marek Polacek <polacek@redhat.com>
5963
5964 * locale/programs/localedef.h (show_archive_content): Add noreturn
5965 attribute.
5966
d6e97a1d
UD
59672012-01-09 Ulrich Drepper <drepper@gmail.com>
5968
5969 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5970
d5835c26
UD
59712012-01-08 Ulrich Drepper <drepper@gmail.com>
5972
e5f484c6
UD
5973 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5974
d5835c26
UD
5975 * io/Makefile (headers): Add bits/poll2.h.
5976
d1f741e9
WS
59772011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5978
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5980 typo #include statement.
5981
ec09c1c4
UD
59822012-01-08 Ulrich Drepper <drepper@gmail.com>
5983
5984 * include/sys/cdefs.h: Define __attribute_alloc_size.
5985 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5986 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5987 * elf/pldd.c: Likewise.
5988 * iconv/iconv_charmap.c: Likewise.
5989 * iconv/iconvconfig.c: Likewise.
5990 * iconv/strtab.c: Likewise.
5991 * locale/programs/locale.c: Likewise.
5992 * locale/programs/localedef.h: Likewise.
5993 * locale/programs/simple-hash.c: Likewise.
5994 * nscd/nscd.h: Likewise.
5995 * nss/makedb.c: Likewise.
5996 * sysdeps/generic/ldconfig.h: Likewise.
5997 * locale/programs/localedef.c: Remove xmalloc prototype.
5998 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5999
20b38e03
PP
60002012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6001
6002 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6003 appropriate.
6004
a0da5fe1
UD
60052012-01-08 Ulrich Drepper <drepper@gmail.com>
6006
1d5a644a 6007 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6008 * math/tst-CMPLX.c: New file.
1d5a644a 6009
8784a6db
UD
6010 * math/complex.h (CMPLXL): Fix typo.
6011
d9a216c0
UD
6012 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6013 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6014 GLIBC_2.16.
6015 * debug/tst-chk1.c: Add poll and ppoll tests.
6016 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6017 * include/sys/poll.h: Add hidden proto for ppoll.
6018 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6019 * sysdeps/mach/hurd/ppoll.c: Likewise.
6020 * io/ppoll.c: Likewise.
6021 * debug/poll_chk.c: New file.
6022 * debug/ppoll_chk.c: New file.
6023 * include/bits/poll2.h: New file.
6024 * io/bits/poll2.h: New file.
6025
ac097f5c
UD
6026 [BZ #1350]
6027 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6028
2119dcfa
UD
6029 * configure.in: static is always set to yes. Remove.
6030 * config.make.in: Don't set build-static.
6031 * Makeconfig: Remove use of build-static.
6032 * dlfcn/Makefile: Likewise.
6033 * elf/Makefile: Likewise.
6034 * math/Makefile: Likewise.
6035 * misc/Makefile: Likewise.
6036 * nptl/Makefile: Likewise.
6037 * sysdeps/mach/hurd/Makefile: Likewise.
6038
121766a9
UD
6039 * configure.in: PWD_P is not used anymore.
6040 * config.make.in: Remove PWD_P entry.
6041
51a1d39c 6042 * configure.in: Remove last remnants of RANLIB.
8720d066 6043 No need to check for signed size_t anymore.
215f4bdc
UD
6044 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6045 and IA-64.
3857022a 6046 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6047 * aclocal.m4: Likewise.
6048
d3ed7225
UD
6049 * wcsmbs/mbrtoc16.c: Implement using towc function.
6050 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6051 * wcsmbs/wcsmbsload.c: Likewise.
6052 * iconv/gconv_simple.c: Likewise.
6053 * iconv/gconv_int.h: Likewise.
6054 * iconv/gconv_builtin.h: Likewise.
6055 * iconv/iconv_prog.c: Remove CHAR16 handling.
6056
6057 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6058
6059 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6060
a0da5fe1
UD
6061 * configure.in: Remove --with-elf and --enable-bounded options.
6062 Dont set base_machine for ia64. More non-ELF conditions removed.
6063 Remove testing and setting of leading underscore information.
6064 * config.make.in (build-bounded): Set to no.
6065 * config.h.in: Remove NO_UNDERSCORES entry.
6066 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6067 them.
6068 * csu/start.c: Remove !NO_UNDERSCORE code.
6069 * locale/localeinfo.h: Likewise.
6070 * sysdeps/generic/machine-gmon.h: Likewise.
6071 * sysdeps/generic/sysdep.h: Likewise.
6072 * sysdeps/i386/sysdep.h: Likewise.
6073 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6074 * sysdeps/mach/sysdep.h: Likewise.
6075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6077 * sysdeps/sh/sysdep.h: Likewise.
6078 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6079 * sysdeps/unix/i386/sysdep.S: Likewise.
6080 * sysdeps/unix/sparc/start.c: Likewise.
6081 * sysdeps/unix/sparc/sysdep.S: Likewise.
6082 * sysdeps/unix/sparc/sysdep.h: Likewise.
6083 * sysdeps/unix/start.c: Likewise.
6084 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6085 * sysdeps/x86_64/sysdep.h: Likewise.
6086
df78418a
UD
60872012-01-07 Ulrich Drepper <drepper@gmail.com>
6088
a784e502
UD
6089 [BZ #13553]
6090 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6091 for non-gcc.
6092 * argp/argp-fmtstream.h: Use const instead __const.
6093 * argp/argp.h: Likewise.
6094 * assert/assert.h: Likewise.
6095 * bits/fenv.h: Likewise.
6096 * bits/sched.h: Likewise.
6097 * bits/sigset.h: Likewise.
6098 * bits/sigthread.h: Likewise.
6099 * catgets/nl_types.h: Likewise.
6100 * conform/data/pthread.h-data: Likewise.
6101 * crypt/crypt-private.h: Likewise.
6102 * crypt/crypt.h: Likewise.
6103 * crypt/crypt_util.c: Likewise.
6104 * ctype/ctype.h: Likewise.
6105 * debug/execinfo.h: Likewise.
6106 * debug/mbsnrtowcs_chk.c: Likewise.
6107 * debug/mbsrtowcs_chk.c: Likewise.
6108 * debug/wcsnrtombs_chk.c: Likewise.
6109 * debug/wcsrtombs_chk.c: Likewise.
6110 * debug/wcstombs_chk.c: Likewise.
6111 * dirent/dirent.h: Likewise.
6112 * dlfcn/dlfcn.h: Likewise.
6113 * elf/neededtest4.c: Likewise.
6114 * grp/grp.h: Likewise.
6115 * gshadow/gshadow.h: Likewise.
6116 * iconv/gconv.h: Likewise.
6117 * iconv/gconv_int.h: Likewise.
6118 * iconv/gconv_simple.c: Likewise.
6119 * iconv/iconv.h: Likewise.
6120 * iconv/loop.c: Likewise.
6121 * iconv/skeleton.c: Likewise.
6122 * include/aio.h: Likewise.
6123 * include/aliases.h: Likewise.
6124 * include/argz.h: Likewise.
6125 * include/arpa/inet.h: Likewise.
6126 * include/assert.h: Likewise.
6127 * include/dirent.h: Likewise.
6128 * include/dlfcn.h: Likewise.
6129 * include/execinfo.h: Likewise.
6130 * include/fcntl.h: Likewise.
6131 * include/fenv.h: Likewise.
6132 * include/glob.h: Likewise.
6133 * include/grp.h: Likewise.
6134 * include/libintl.h: Likewise.
6135 * include/mntent.h: Likewise.
6136 * include/netdb.h: Likewise.
6137 * include/pwd.h: Likewise.
6138 * include/rpc/netdb.h: Likewise.
6139 * include/sched.h: Likewise.
6140 * include/search.h: Likewise.
6141 * include/shadow.h: Likewise.
6142 * include/signal.h: Likewise.
6143 * include/stdio.h: Likewise.
6144 * include/stdlib.h: Likewise.
6145 * include/string.h: Likewise.
6146 * include/sys/socket.h: Likewise.
6147 * include/sys/stat.h: Likewise.
6148 * include/sys/statfs.h: Likewise.
6149 * include/sys/statvfs.h: Likewise.
6150 * include/sys/syslog.h: Likewise.
6151 * include/sys/time.h: Likewise.
6152 * include/sys/uio.h: Likewise.
6153 * include/time.h: Likewise.
6154 * include/unistd.h: Likewise.
6155 * include/utmp.h: Likewise.
6156 * include/wchar.h: Likewise.
6157 * include/wctype.h: Likewise.
6158 * inet/aliases.h: Likewise.
6159 * inet/arpa/inet.h: Likewise.
6160 * inet/netinet/ether.h: Likewise.
6161 * inet/netinet/in.h: Likewise.
6162 * intl/libintl.h: Likewise.
6163 * io/bits/fcntl2.h: Likewise.
6164 * io/fcntl.h: Likewise.
6165 * io/ftw.h: Likewise.
6166 * io/sys/poll.h: Likewise.
6167 * io/sys/stat.h: Likewise.
6168 * io/sys/statfs.h: Likewise.
6169 * io/sys/statvfs.h: Likewise.
6170 * io/utime.h: Likewise.
6171 * libio/bits/stdio.h: Likewise.
6172 * libio/bits/stdio2.h: Likewise.
6173 * libio/libio.h: Likewise.
6174 * libio/libioP.h: Likewise.
6175 * libio/stdio.h: Likewise.
6176 * locale/lc-ctype.c: Likewise.
6177 * locale/locale.h: Likewise.
6178 * login/utmp.h: Likewise.
6179 * malloc/arena.c: Likewise.
6180 * malloc/malloc.c: Likewise.
6181 * malloc/malloc.h: Likewise.
6182 * malloc/mcheck.c: Likewise.
6183 * malloc/mtrace.c: Likewise.
6184 * math/bits/mathcalls.h: Likewise.
6185 * math/fenv.h: Likewise.
6186 * math/math_private.h: Likewise.
6187 * misc/bits/error.h: Likewise.
6188 * misc/bits/syslog.h: Likewise.
6189 * misc/err.h: Likewise.
6190 * misc/error.h: Likewise.
6191 * misc/fstab.h: Likewise.
6192 * misc/mntent.h: Likewise.
6193 * misc/regexp.h: Likewise.
6194 * misc/search.h: Likewise.
6195 * misc/sgtty.h: Likewise.
6196 * misc/sys/mman.h: Likewise.
6197 * misc/sys/syslog.h: Likewise.
6198 * misc/sys/uio.h: Likewise.
6199 * misc/sys/xattr.h: Likewise.
6200 * misc/ttyent.h: Likewise.
6201 * nis/rpcsvc/ypclnt.h: Likewise.
6202 * nss/nss.h: Likewise.
6203 * posix/bits/unistd.h: Likewise.
6204 * posix/fnmatch.h: Likewise.
6205 * posix/glob.h: Likewise.
6206 * posix/sched.h: Likewise.
6207 * posix/spawn.h: Likewise.
6208 * posix/sys/wait.h: Likewise.
6209 * posix/unistd.h: Likewise.
6210 * posix/wordexp.h: Likewise.
6211 * pwd/pwd.h: Likewise.
6212 * resolv/netdb.h: Likewise.
6213 * resource/sys/resource.h: Likewise.
6214 * rt/aio.h: Likewise.
6215 * rt/bits/mqueue2.h: Likewise.
6216 * rt/mqueue.h: Likewise.
6217 * shadow/shadow.h: Likewise.
6218 * signal/signal.h: Likewise.
6219 * socket/send.c: Likewise.
6220 * socket/sendto.c: Likewise.
6221 * socket/sys/socket.h: Likewise.
6222 * stdio-common/printf.h: Likewise.
6223 * stdlib/bits/stdlib.h: Likewise.
6224 * stdlib/fmtmsg.h: Likewise.
6225 * stdlib/monetary.h: Likewise.
6226 * stdlib/stdlib.h: Likewise.
6227 * stdlib/ucontext.h: Likewise.
6228 * streams/stropts.h: Likewise.
6229 * string/argz.h: Likewise.
6230 * string/bits/string2.h: Likewise.
6231 * string/string.h: Likewise.
6232 * string/strings.h: Likewise.
6233 * sunrpc/rpc/auth.h: Likewise.
6234 * sunrpc/rpc/auth_des.h: Likewise.
6235 * sunrpc/rpc/clnt.h: Likewise.
6236 * sunrpc/rpc/netdb.h: Likewise.
6237 * sunrpc/rpc/pmap_clnt.h: Likewise.
6238 * sunrpc/rpc/xdr.h: Likewise.
6239 * sysdeps/generic/inttypes.h: Likewise.
6240 * sysdeps/generic/net/if.h: Likewise.
6241 * sysdeps/generic/sys/swap.h: Likewise.
6242 * sysdeps/gnu/net/if.h: Likewise.
6243 * sysdeps/gnu/utmpx.h: Likewise.
6244 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6245 * sysdeps/i386/i486/bits/string.h: Likewise.
6246 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6247 * sysdeps/s390/bits/string.h: Likewise.
6248 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6249 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6250 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6251 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6252 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6253 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6254 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6255 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6256 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6257 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6258 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6259 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6260 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6262 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6263 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6264 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6269 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6270 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6271 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6272 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6273 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6274 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6276 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6278 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6279 * sysvipc/sys/ipc.h: Likewise.
6280 * sysvipc/sys/msg.h: Likewise.
6281 * sysvipc/sys/sem.h: Likewise.
6282 * sysvipc/sys/shm.h: Likewise.
6283 * termios/termios.h: Likewise.
6284 * time/sys/time.h: Likewise.
6285 * time/time.h: Likewise.
6286 * wcsmbs/bits/wchar2.h: Likewise.
6287 * wcsmbs/uchar.h: Likewise.
6288 * wcsmbs/wchar.h: Likewise.
6289 * wctype/wctype.h: Likewise.
6290
0269750c
UD
6291 [BZ #13551]
6292 * Makeconfig: Remove all but ELF support including AIX support.
6293 * Makerules: Likewise.
6294 * config.h.in: Likewise.
6295 * config.make.in: Likewise.
6296 * configure: Likewise.
6297 * configure.in: Likewise.
6298 * csu/Makefile: Likewise.
6299 * csu/version.c: Likewise.
6300 * debug/Makefile: Likewise.
6301 * dlfcn/Makefile: Likewise.
6302 * elf/Makefile: Likewise.
6303 * extra-lib.mk: Likewise.
6304 * iconv/Makefile: Likewise.
6305 * include/libc-symbols.h: Likewise.
6306 * include/shlib-compat.h: Likewise.
6307 * resolv/Makefile: Likewise.
6308 * resolv/res_libc.c: Likewise.
6309 * rt/Makefile: Likewise.
6310 * sysdeps/i386/asm-syntax.h: Likewise.
6311 * sysdeps/i386/sysdep.h: Likewise.
6312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6313 * sysdeps/mach/sysdep.h: Likewise.
6314 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6315 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6316 * sysdeps/s390/asm-syntax.h: Likewise.
6317 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6319 * sysdeps/sh/sysdep.h: Likewise.
6320 * sysdeps/unix/sparc/sysdep.h: Likewise.
6321 * sysdeps/wordsize-32/divdi3.c: Likewise.
6322 * sysdeps/x86_64/sysdep.h: Likewise.
6323
00bbd29b
UD
6324 * argp/Versions: Remove _argp_unlock_xxx.
6325
6326 [BZ #13559]
6327 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6328 * abilist/libBrokenLocale.abilist: Likewise.
6329 * abilist/libanl.abilist: Likewise.
6330 * abilist/libc.abilist: Likewise.
6331 * abilist/libcrypt.abilist: Likewise.
6332 * abilist/libdl.abilist: Likewise.
6333 * abilist/libm.abilist: Likewise.
6334 * abilist/libnsl.abilist: Likewise.
6335 * abilist/libpthread.abilist: Likewise.
6336 * abilist/libresolv.abilist: Likewise.
6337 * abilist/librt.abilist: Likewise.
6338 * abilist/libthread_db.abilist: Likewise.
6339 * abilist/libutil.abilist: Likewise.
6340 * abilist/libnss_db.abilist: New file.
6341
6342 * scripts/abilist.awk: Add support for indirect functions.
6343
a2693a0e
UD
6344 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6345
3f05895f
UD
6346 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6347
ecb6fb48
UD
6348 * shlib-versions: Remove entries for ports architectures.
6349
664f8cb9
UD
6350 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6351 files in ports.
6352 * elf/stackguard-macros.h: Remove support for IA-64.
6353 * elf/tst-auditmod1.c: Likewise.
6354 * sysdeps/generic/ldsodefs.h: Likewise.
6355
7ae81d88
UD
6356 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6357 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6358 configure files.
6359
bdeba135
UD
6360 [BZ #13552]
6361 * configure.in: Remove --enable-omitfp support.
6362 * FAQ.in: Adjust.
6363 * config.make.in: Likewise.
6364 * Makeconfig: Likewise.
6365 * manual/install.texi: Likewise.
6366
d75a0a62
UD
6367 In case anyone cares, the IA-64 architecture could move to ports.
6368 * sysdeps/ia64/*: Removed.
6369 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6370 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6371
dcc9756b
UD
6372 [BZ #13555]
6373 * configure.in: Remove entries for unsupported architectures.
6374
d3761ebc 6375 [BZ #13533]
9954432e
UD
6376 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6377 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6378 routines.
6379 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6380 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6381 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6382 fall back to using wcrtomb.
6383 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6384 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6385 renaming.
6386 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6387 * wcsmbs/tst-c16c32-1.c: New file.
6388
6389 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6390 local variable.
6391
c3a87236
UD
6392 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6393
28926a1b
UD
6394 * elf/tst-unique3.cc: Add explicit declaration of gets.
6395 * elf/tst-unique3lib.cc: Likewise.
6396 * elf/tst-unique3lib2.cc: Likewise.
6397 * elf/tst-unique4.cc: Likewise.
6398
df78418a
UD
6399 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6400
8ecd6b2a
JM
64012012-01-06 Joseph Myers <joseph@codesourcery.com>
6402
6403 [BZ #13566]
6404 * assert/assert.h (static_assert): Don't define for C++.
6405 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6406 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6407
9f115170
UD
64082012-01-03 Ulrich Drepper <drepper@gmail.com>
6409
5e0d0300
UD
6410 * iconv/loop.c (single loop): Fix assertion in storing of
6411 remaining bytes.
6412
9f115170
UD
6413 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6414
81fb02b0
UD
64152012-01-01 Ulrich Drepper <drepper@gmail.com>
6416
6417 * posix/getconf.c: Update copyright year.
6418 * nss/getent.c: Likewise.
a316c1f6 6419 * nss/makedb.c: Likewise.
81fb02b0
UD
6420 * iconv/iconvconfig.c: Likewise.
6421 * iconv/iconv_prog.c: Likewise.
6422 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6423 * elf/pldd.c: Likewise.
6424 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6425 * catgets/gencat.c: Likewise.
6426 * csu/version.c: Likewise.
6427 * elf/ldd.bash.in: Likewise.
6428 * elf/sprof.c (print_version): Likewise.
6429 * locale/programs/locale.c: Likewise.
6430 * locale/programs/localedef.c: Likewise.
a316c1f6 6431 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6432 * nscd/nscd.c (print_version): Likewise.
6433 * debug/xtrace.sh: Likewise.
6434 * malloc/memusage.sh: Likewise.
6435 * malloc/mtrace.pl: Likewise.
6436 * debug/catchsegv.sh: Likewise.
6437
2ba92745
JJ
64382011-12-30 Jakub Jelinek <jakub@redhat.com>
6439
6440 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6441 pure attribute.
6442
dadebdae
UD
64432011-12-24 Ulrich Drepper <drepper@gmail.com>
6444
d3761ebc 6445 [BZ #13533]
db6af3eb
UD
6446 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6447 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6448 transformations.
6449 * iconv/gconv_int.h: Likewise.
6450 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6451 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6452 from libc for GLIBC_2.16.
6453 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6454 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6455 * wcsmbs/uchar.h: Really define mbstate_t.
6456 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6457 * wcsmbs/c16rtomb.c: New file.
6458 * wcsmbs/mbrtoc16.c: New file.
6459 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6460 for C/POSIX locale.
6461 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6462 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6463
dadebdae
UD
6464 * wcsmbs/wchar.h: Add missing __restrict.
6465
67371b56
UD
64662011-12-23 Ulrich Drepper <drepper@gmail.com>
6467
74033a25
UD
6468 [BZ #13532]
6469 * time/Makefile (routines): Add timespec_get.
6470 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6471 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6472 timespec for ISO C11.
6473 * time/timespec_get.c: New file.
6474 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6475 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6476
380d7e87
UD
6477 [BZ #13531]
6478 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6479 * stdlib/stdlib.h: Declare aligned_alloc.
6480 * Versions.def: Add GLIBC_2.16 for libc.
6481 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6482
4e9e7a35
UD
6483 [BZ 13527]
6484 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6485 ISO C11.
6486
380d7e87 6487 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6488 code.
6489
03a71829
UD
6490 [BZ #13528]
6491 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6492
839e283e
UD
6493 [BZ #13529]
6494 * assert/assert.h (static_assert): Define.
6495
ce5294e2 6496 * version.h: Update for 2.16 development version.
90fa7312 6497
8d44e150 6498 [BZ #13526]
d7809905
UD
6499 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6500 _ISOC11_SOURCE.
6501
c0da14cd
UD
6502 * version.h (RELEASE): Bump for 2.15 release.
6503 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6504
530a3249
MP
6505 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6506 Patch by Marek Polacek <mpolacek@redhat.com>.
6507
67371b56
UD
6508 * bits/byteswap.h: Protect long long constants with __extension__.
6509 * sysdeps/i386/bits/byteswap.h: Likewise.
6510 * sysdeps/ia64/bits/byteswap.h: Likewise.
6511 * sysdeps/s390/bits/byteswap.h: Likewise.
6512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6513
15db4de1
LD
65142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6515
6516 [BZ #13540]
bbe315ea
LD
6517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6518 destination buffer.
15db4de1
LD
6519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6520
2b2596b1
MP
65212011-12-23 Marek Polacek <polacek@redhat.com>
6522
6523 * elf/dl-addr.c (determine_info): Add inline keyword.
6524 * elf/tst-auditmod4b.c (check_avx): Likewise.
6525 * elf/tst-auditmod6b.c (check_avx): Likewise.
6526 * elf/tst-auditmod6c.c (check_avx): Likewise.
6527 * elf/tst-auditmod7b.c (check_avx): Likewise.
6528
70c6c246
UD
65292011-12-23 Ulrich Drepper <drepper@gmail.com>
6530
6531 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6532 !__SSE_MATH__.
6533
c044cf14
LD
65342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6535
15db4de1 6536 [BZ #13540]
c044cf14
LD
6537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6538 processing for last bytes.
6539
6b13d9d9
BH
65402011-08-06 Bruno Haible <bruno@clisp.org>
6541
d455f537
BH
6542 [BZ #13061]
6543 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6544 U+0385, not to U+1FEE.
6545
6b13d9d9
BH
6546 [BZ #13062]
6547 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6548 entry for U+00A5 U+0301.
6549
db910efd
UD
65502011-12-22 Ulrich Drepper <drepper@gmail.com>
6551
27deeafc
UD
6552 [BZ #13166]
6553 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6554 buffer for the output is too small.
6555
aed9d171
UD
6556 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6557 optimization.
6558
db910efd
UD
6559 [BZ #13185]
6560 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6561 SSE flags if possible.
6562
2bd779ae
LD
65632011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6564
e7f9dac3 6565 [BZ #13540]
2bd779ae
LD
6566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6567 processing for last bytes.
6568
154bfc16
JM
65692011-12-22 Joseph Myers <joseph@codesourcery.com>
6570
6571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6572 (syscall-list-default-options, syscall-list-default-condition)
6573 (syscall-list-includes): Define.
6574 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6575 list of ABIs and options and #if conditions for each ABI. Do not
6576 handle common syscalls between ABIs specially.
6577 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6578 Remove.
6579 (syscall-list-variants, syscall-list-32bit-options)
6580 (syscall-list-32bit-condition, syscall-list-64bit-options)
6581 (syscall-list-64bit-condition): Define.
6582 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6583 (syscall-list-variants, syscall-list-32bit-options)
6584 (syscall-list-32bit-condition, syscall-list-64bit-options)
6585 (syscall-list-64bit-condition): Define.
6586 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6587 Remove.
6588 (syscall-list-variants, syscall-list-32bit-options)
6589 (syscall-list-32bit-condition, syscall-list-64bit-options)
6590 (syscall-list-64bit-condition): Define.
6591 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6592 Remove.
6593 (syscall-list-variants, syscall-list-32bit-options)
6594 (syscall-list-32bit-condition, syscall-list-64bit-options)
6595 (syscall-list-64bit-condition): Define.
6596
21eaf3a5
UD
65972011-12-22 Ulrich Drepper <drepper@gmail.com>
6598
16c6f992
UD
6599 * locale/iso-639.def: Add brx entry.
6600
41043168
UD
6601 [BZ #13328]
6602 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6603 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6604
21eaf3a5
UD
6605 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6606 __feraiseexcept_renamed.
6607
e3a851a2
UD
66082011-12-21 Ulrich Drepper <drepper@gmail.com>
6609
4920765e
UD
6610 [BZ #13538]
6611 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6612 EPOLLET with unsigned values.
6613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6615
e3a851a2
UD
6616 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6617 to large cancellation.
6618 * math/s_cacoshf.c: Likewise.
6619 * math/s_cacoshl.c: Likewise.
6620
b27e24b8
RK
66212011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6622
6623 [BZ #13305]
aebefeee 6624 [BZ #12786]
b27e24b8
RK
6625 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6626 * math/s_cacoshf.c: Likewise.
6627 * math/s_cacoshl.c: Likewise.
6628
ee190f67
UD
66292011-12-21 Ulrich Drepper <drepper@gmail.com>
6630
6631 [BZ #13439]
6632 * iconv/gconv.h: Define __GCONV_SWAP.
6633 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6634 * iconvdata/utf-16.c: Likewise.
6635 * iconvdata/utf-32.c: Likewise.
6636
707f25df
AS
66372011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6638
6639 [BZ #13524]
6640 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6641 numerator after shifting it by one limb.
6642
d2daaa1e
RÁE
66432011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6644
6645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6646 under [__USE_EXTERN_INLINES].
6647
a4647e72
UD
66482011-12-17 Ulrich Drepper <drepper@gmail.com>
6649
6650 [BZ #13446]
6651 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6652
f0b264f1
AZ
66532011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654
6655 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6656 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6657 optimized code.
6658 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6660 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6661 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6662 for strncasecmp/strncasecmp_l compilation.
6663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6664 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6665
8ef4f244
MP
66662011-12-08 Marek Polacek <mpolacek@redhat.com>
6667
6668 [BZ #13484]
6669 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6670 of __asm__.
6671
97ac2654
UD
66722011-12-17 Ulrich Drepper <drepper@gmail.com>
6673
6674 [BZ #13506]
6675 * time/tzfile.c (__tzfile_read): Check values from file header.
6676
91d2a845
WS
66772011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6678
6679 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6680 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6681 * powerpc/powerpc32/dl-start.S: Likewise.
6682 * powerpc/powerpc32/elf/start.S: Likewise.
6683 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6684 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6685 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6686 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6687 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6688 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6689 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6690 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6691 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6692 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6693 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6694 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6695 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6696 * powerpc/powerpc32/memset.S: Likewise.
6697 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6698 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6699 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6700 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6701 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6702 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6703 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6704 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6705 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6706 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6708 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6709 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6710
a1267ba1
AZ
67112011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6712
6713 * math/libm-test.inc: Added more nearbyint tests.
6714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6718
ad8ac1bd
RL
67192011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6720
6721 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6722 FD_CLOEXEC.
6723
1d3e4b61
UD
67242011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6725
6726 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6727 Add wcscpy-ssse3 wcscpy-c.
6728 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6729 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6730 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6731 * sysdeps/x86_64/wcschr.S: New file.
6732 * sysdeps/x86_64/wcsrchr.S: New file.
6733 * string/test-strcmp.c: Remove checking of wcscmp function for
6734 wrong alignments.
6735 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6736 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6737 wcsrchr-sse2 wcsrchr-c.
6738 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6739 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6740 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6741 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6742 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6743 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6744 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6745 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6746 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6747 * wcsmbc/wcschr.c (WCSCHR): New macro.
6748
5b330a2d
UD
67492011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6750
6751 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6752 * wcsmbs/test-wcsrchr.c: New file.
6753 * string/test-strrchr.c: Add wcsrchr support.
6754 (WIDE): New macro.
6755 * wcsmbs/test-wcscpy.c: New file.
6756 * string/test-strcpy.c: Add wcscpy support.
6757 (WIDE): New macro.
26428b7c 6758
f039c043
UD
67592011-12-10 Ulrich Drepper <drepper@gmail.com>
6760
6761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6762 the inner loop.
6763
850fb039
AS
67642011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6765
6766 [BZ #13472]
6767 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6768
4efbd5cb
UD
67692011-12-04 Ulrich Drepper <drepper@gmail.com>
6770
52ff5dd0 6771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6772 Minor optimizations.
52ff5dd0 6773
4efbd5cb
UD
6774 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6775 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6776 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6777
8a426e12
UD
67782011-12-03 Ulrich Drepper <drepper@gmail.com>
6779
aff2453d
UD
6780 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6781 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6782 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6783 for gcc to avoid warnings.
6784 * inet/Makefile (tests): Add tst-checks.
6785 * inet/tst-checks.c: New file.
6786
6787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6788 warning.
6789
6790 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6791 __wmemcmp_sse2.
6792
6793 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6794 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6795
8a426e12
UD
6796 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6797
9bea3473
UD
67982011-12-02 Ulrich Drepper <drepper@gmail.com>
6799
3a965496
UD
6800 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6801 problem.
6802
9bea3473
UD
6803 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6804
f101631b
UD
68052011-11-29 Joseph Myers <joseph@codesourcery.com>
6806
6807 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6808 conditional on GCC version.
6809 (__arch_compare_and_exchange_val_8_acq)
6810 (__arch_compare_and_exchange_val_16_acq)
6811 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6812 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6813 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6814
a98275aa
UD
68152011-12-02 Joseph Myers <joseph@codesourcery.com>
6816
6817 * sysdeps/sh/backtrace.c: New file.
6818
d4cc29a2
AS
68192011-12-02 Andreas Schwab <schwab@redhat.com>
6820
6821 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6822 parenthesis.
6823
6257af2d
AS
68242011-12-01 Andreas Schwab <schwab@redhat.com>
6825
6826 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6827 falling back to utime.
6828
b5f44c1a
AS
68292011-11-30 Andreas Schwab <schwab@redhat.com>
6830
6831 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6832 expectations for float.
6833
f3a6cc0a
AS
68342011-11-29 Andreas Schwab <schwab@redhat.com>
6835
6836 * locale/weight.h (findidx): Add parameter len.
6837 * locale/weightwc.h (findidx): Likewise.
6838 * posix/fnmatch_loop.c (FCT): Adjust caller.
6839 * posix/regcomp.c (build_equiv_class): Likewise.
6840 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6841 * posix/regexec.c (check_node_accept_bytes): Likewise.
6842 * string/strcoll_l.c (STRCOLL): Likewise.
6843 * string/strxfrm_l.c (STRXFRM): Likewise.
6844
9d65ea3a
UD
68452011-11-17 Ulrich Drepper <drepper@gmail.com>
6846
6847 * Makefile.in: Remove CVSOPT handling.
6848 * configure.in: Remove use of AC_REVISION.
6849 * iconvdata/Makefile (distribute): No need to filter out CVS.
6850 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6851 handling.
6852
5583a086
AS
68532011-11-16 Andreas Schwab <schwab@redhat.com>
6854
6855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6856 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6857 [USE_AS_STRNCASECMP_L]: Likewise.
6858 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6859 NO_TLS_DIRECT_SEG_REFS.
6860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6861 Fix argument offsets for non-PIC.
6862 [USE_AS_STRNCASECMP_L]: Likewise.
6863 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6864 NO_TLS_DIRECT_SEG_REFS.
6865
d62a8200
UD
68662011-11-15 Ulrich Drepper <drepper@gmail.com>
6867
9d65ea3a 6868 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6869 O_CLOEXEC.
6870 * locale/loadlocale.c (_nl_load_locale): Likewise.
6871
09f93bd3
AS
68722011-11-15 Andreas Schwab <schwab@redhat.com>
6873
446514f9
AS
6874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6875 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6877 (SYSCALL_GETTIME): Set errno on error.
6878
09f93bd3
AS
6879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6880 count references to noai6ai_cached.
6881
312be3f9
UD
68822011-11-15 Ulrich Drepper <drepper@gmail.com>
6883
6884 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6885
6886 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6887 FD_CLOEXEC for /proc/self/maps.
6888
6889 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6890 FD_CLOEXEC for /proc/meminfo.
6891
6892 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6893 gai.conf.
6894
6895 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6896 FD_CLOEXEC for given file.
6897
6898 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6899
6900 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6901 FD_CLOEXEC for /etc/hosts.
6902 (_gethtent): Likewise.
6903
6904 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6905
6906 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6907 cancellation and set FD_CLOEXEC for /etc/netgroup.
6908
6909 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6910 reading /etc/publickey.
6911
6912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6913 allow cancellation when reading /etc/group.
6914
6915 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6916 cancellation.
6917 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6918
6919 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6920 when using data file.
6921
6922 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6923
6924 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6925 (write_nis_obj): Use "c" and "e" in fopen.
6926
6927 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6928
6929 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6930
6931 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6932
6933 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6934
6935 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6936 locale.alias.
6937
6938 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6939
6940 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6941
6942 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6943
6944 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6945 file parsing and set FD_CLOEXEC.
6946
82af0fa8
UD
69472011-11-14 Ulrich Drepper <drepper@gmail.com>
6948
6949 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6950
a5fb313c
AS
69512011-11-14 Andreas Schwab <schwab@redhat.com>
6952
6953 * malloc/arena.c (arena_get2): Don't call reused_arena when
6954 _int_new_arena failed.
6955
6abf3465
UD
69562011-11-14 Ulrich Drepper <drepper@gmail.com>
6957
6958 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6959 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6963 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6964 to compile strcasecmp and strncasecmp.
6965 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6966 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6967
6968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6969
76e3966e
UD
69702011-11-13 Ulrich Drepper <drepper@gmail.com>
6971
6972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6973 locale-defines.sym to gen-as-const-headers.
6974 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6975 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6977 to compile strcasecmp and strncasecmp.
6978 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6979 strcasecmp_l and strncasecmp_l.
6980 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6981 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6982 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6984 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6985 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6986 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6987 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6988 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6989 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6990 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6991
ab26144e
UD
69922011-11-12 Ulrich Drepper <drepper@gmail.com>
6993
7edb22ef
UD
6994 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6995 result of SYSDEP_GETTIME_CPU to retval.
6996 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6997 parameter list to macro. Remove trailing semicolon. Adjust users.
6998
9694fc44
UD
6999 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7000 variable.
7001
8ad89ef8
UD
7002 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7003 mantissa words.
7004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7005
0c822ef9
UD
7006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7007 from unused variable.
7008
874e0564
UD
7009 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7010 DWARF definitions.
7011 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7012 for assembling.
7013
3a2edc79
UD
7014 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7015 over namespaces.
7016
f3c2577f
UD
7017 * sunrpc/rpc_prot.c (rejected): Fix case value.
7018
294ce126
UD
7019 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7020 unsigned long long int to avoid warnings in shift.
7021
5e2b63c6
UD
7022 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7023 of use of trans.
7024 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7025 variable tmp.
7026
e7f4b08e
UD
7027 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7028 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7029 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7030
ab26144e
UD
7031 * nis/nis_table.c (nis_list): Use variable of correct type for
7032 result of __follow_path call.
7033
8a6d5255
AZ
70342011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035
7036 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7037 of math functions ceil, trunc, floor, round, and sqrt, when
7038 avaliable on the platform.
7039 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7040 name clash.
7041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7044
aaddc98c
MP
70452011-10-30 Marek Polacek <mpolacek@redhat.com>
7046
7047 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7048 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7049
95b7042b
RM
70502011-11-11 Roland McGrath <roland@hack.frob.com>
7051
7052 * include/unistd.h: Fix __readlink return type.
7053 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7054
57769839
UD
70552011-11-11 Ulrich Drepper <drepper@gmail.com>
7056
7057 * stdlib/ucontext.h: Undo last change for makecontext.
7058
edc5984d
AS
70592011-11-11 Andreas Schwab <schwab@redhat.com>
7060
98591e58
AS
7061 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7062
edc5984d
AS
7063 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7064 * setjmp/setjmp.h: Mark functions as non-leaf.
7065 * setjmp/bits/setjmp2.h: Likewise.
7066 * stdlib/ucontext.h: Likewise.
7067
77cdc054
AS
70682011-11-10 Andreas Schwab <schwab@redhat.com>
7069
7070 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7071 (reused_arena): Don't check arena limit.
7072 (arena_get2): Atomically check arena limit.
7073
fe72eebd
UD
70742011-11-08 Ulrich Drepper <drepper@gmail.com>
7075
5f078c32
UD
7076 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7077 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7078
fe72eebd
UD
7079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7080 instructions.
7081
ae1bc2fa
AS
70822011-11-07 Andreas Schwab <schwab@redhat.com>
7083
7583a88d
AS
7084 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7085 handler when locking.
7086
ae1bc2fa
AS
7087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7088 Fix size of allocated buffer.
7089
10fb0bfa
AS
70902011-11-04 Andreas Schwab <schwab@redhat.com>
7091
998832a4
AS
7092 [BZ #10103]
7093 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7094 declarations for long double functions.
7095 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7096
10fb0bfa
AS
7097 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7098
3d7ba52b
AS
70992011-11-03 Andreas Schwab <schwab@redhat.com>
7100
a9ae54a1
AS
7101 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7102 installed.
7103
3d7ba52b
AS
7104 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7105 is disabled.
7106
bc8db248
ST
71072011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7108
7109 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7110
45b96dd6
AS
71112011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7112
647776f6
AS
7113 * include/alloca.h (stackinfo_alloca_round): Define.
7114 (extend_alloca): Use it.
7115 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7116 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7117 here.
7118
d91a8b93
AS
7119 * scripts/check-local-headers.sh: Ignore libaudit.h.
7120
45b96dd6
AS
7121 * nscd/Makefile (extra-objs): Make recursively expanded.
7122
432d41ce
UD
71232011-11-01 Ulrich Drepper <drepper@gmail.com>
7124
34372fc6
UD
7125 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7127
fadb59f8
UD
7128 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7129 * posix/tst-rfc3484-2.c: Likewise.
7130 * posix/tst-rfc3484-3.c: Likewise.
7131
78239589
UD
7132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7133 process_vm_writev.
7134 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7135 process_vm_writev.
7136 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7137 process_vm_writev from libc using GLIBC_2.15 version.
7138
432d41ce
UD
7139 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7140
02f9c6cf
PP
71412011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7142
7143 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7144 stack usage.
7145
3a2c0242
UD
71462011-10-31 Ulrich Drepper <drepper@gmail.com>
7147
f4ec4833
UD
7148 [BZ #13367]
7149 * nss/getent.c (initgroups_keys): Show error message in case no group
7150 names are given.
7151
3a2c0242
UD
7152 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7153 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7154 __bump_nl_timestamp.
7155 * nscd/connections (nscd_init): When host database is served open
7156 netlink socket and request notification about configuration changes.
7157 (main_loop_poll): Track netlink file descriptor and bump timestamp
7158 in case data becomes available.
7159 (main_loop_epoll): Likewise.
7160 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7161 (database_pers_head): Add extra_data fileds.
7162 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7163 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7164 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7165 Adjust caller.
7166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7167 in6ai data, call __free_in6ai.
7168 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7169 Add -DHAVE_NETLINK.
7170 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7171 interface information. Reuse previous data if netlink timestamp
7172 is not changed.
7173 (__bump_nl_timestamp): New function.
7174 (__free_in6ai): New function.
7175
636064eb
UD
71762011-10-30 Ulrich Drepper <drepper@gmail.com>
7177
7178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7179 close_not_cancel_no_status here.
7180 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7181
9beb2334
UD
71822011-10-29 Ulrich Drepper <drepper@gmail.com>
7183
6ef76f3b
UD
7184 [BZ #13276]
7185 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7186 return value.
7187
0ffc4f3e 7188 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7189 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7190 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7191
cb95113e
UD
71922011-07-03 Andreas Jaeger <aj@suse.de>
7193
7194 [BZ #10709]
7195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7196 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7197 * math/libm-test.inc (sin_test): Add test case.
7198
a1b560ff
UD
71992011-10-29 Ulrich Drepper <drepper@gmail.com>
7200
c9aaface
UD
7201 [BZ #13337]
7202 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7203 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7204
d272e7f1
UD
7205 * elf/chroot_canon.c (chroot_canon): Cleanups.
7206
1bc33071
UD
7207 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7208
1760874d
TJ
7209 [BZ #13335]
7210 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7211 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7212
51d91b18
UD
7213 * string/test-strchr.c: Make usable for strchrnul testing.
7214 * string/test-strchrnul.c: New file.
7215 * string/Makefile (strop-tests): Add strchrnul.
7216
a1b560ff 7217 * po/it.po: Update from translation team.
b611fb81 7218 * po/es.po: Likewise.
a1b560ff 7219
a5b81e1f
UD
72202011-10-28 Ulrich Drepper <drepper@gmail.com>
7221
fd52bc6d
UD
7222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7223 the three constants needed as parameters. Drop the others.
7224 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7225 __m128i_strloadu_tolower.
52e4b9eb
UD
7226 Create and initialize variable zero and use it in all the places
7227 where _mm_setzero_si128 was used.
fd52bc6d 7228
a5b81e1f
UD
7229 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7230 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7231 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7233 anymore.
7234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7235 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7236 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7237 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7239 __mpranred, __mptan.
7240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7244 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7245 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7246 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7247 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7248 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7249
b4343346
AS
72502011-10-28 Andreas Schwab <schwab@redhat.com>
7251
0c92d8a8
AS
7252 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7253 redefine if SHARED.
7254 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7255
b4343346
AS
7256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7257 wide char related routines to wcsmbs subdir.
7258
3871f58f
AS
72592011-10-27 Andreas Schwab <schwab@redhat.com>
7260
7261 [BZ #13344]
7262 * misc/sys/cdefs.h (__THROWNL): Define.
7263 * posix/unistd.h: Use __THREADNL instead of __THREAD
7264 for memory synchronization functions.
7265
94d44d9f
RM
72662011-10-26 Roland McGrath <roland@hack.frob.com>
7267
21b64b15 7268 [BZ #13349]
94d44d9f
RM
7269 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7270 doesn't exist.
7271 * manual/stdio.texi (Obstack Streams): Node removed.
7272
f6ce9294
AS
72732011-10-26 Andreas Schwab <schwab@redhat.com>
7274
80479147
AS
7275 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7277 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7278
f6ce9294
AS
7279 * math/math_private.h (math_force_eval): Allow non-addressable
7280 arguments.
7281 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7282
618280a1
UD
72832011-10-25 Ulrich Drepper <drepper@gmail.com>
7284
e0016b11
UD
7285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7286 file is not needed.
7287
7288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7295 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7296 Add AVX variants.
7297 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7298 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7299 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7300 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7302 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7303 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7304 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7307 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7308 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7311 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7312 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7313 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7314 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7315 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7316
7317 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7318 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7319
618280a1
UD
7320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7321 place. Use VEX encoding when compiling for AVX.
7322
37822576
AS
73232011-10-25 Andreas Schwab <schwab@redhat.com>
7324
1f1e1947
AS
7325 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7326 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7327
37822576
AS
7328 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7329
31ea014d
UD
73302011-10-25 Ulrich Drepper <drepper@gmail.com>
7331
d7826aa1 7332 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7333 useless if() expression.
d7826aa1
UD
7334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7346 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7347 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7348 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7353
31ea014d
UD
7354 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7355
16437fec
AS
73562011-10-25 Andreas Schwab <schwab@redhat.com>
7357
7358 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7359 condition.
7360 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7361
31d3cc00
UD
73622011-10-25 Ulrich Drepper <drepper@gmail.com>
7363
7364 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7365 .text section. Avoid duplicate constants.
7366 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7376 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7378 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7381 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7390 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7391 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7392 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7394 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7395 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7396 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7397 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7398 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7399 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7400 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7401 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7402 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7403 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7404 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7405 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7407 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7411
58985aa9
UD
74122011-10-24 Ulrich Drepper <drepper@gmail.com>
7413
202c9deb
UD
7414 * sysdeps/x86_64/dla.h: Move to ...
7415 * sysdeps/x86_64/fpu/dla.h: ...here.
7416 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7417 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7418
af968f62
UD
7419 * config.make.in: Add have-mfma4 entry.
7420 * configure.in: Substitute libc_cv_cc_fma4.
7421 * math/Makefile (dbl-only-routines): Add sincostab.
7422 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7423 Use __sincostab not sincos.
7424 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7425 name is a macro.
7426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7430 using __copysign.
7431 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7432 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7433 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7434 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7435 and __inv.
7436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7437 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7438 __copysign.
7439 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7440 define aliases when function name is a macro.
7441 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7442 sysdeps/ieee754/dbl-64/sincos.tbl.
7443 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7444 fma4-enabled routines.
7445 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7446 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7447 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7448 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7449 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7450 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7452 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7455 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7457 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7475
58985aa9
UD
7476 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7477 rename.
7478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7486
a201fbcf
AS
74872011-10-24 Andreas Schwab <schwab@redhat.com>
7488
7489 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7490
fc2ee42a
LD
74912011-10-23 Ulrich Drepper <drepper@gmail.com>
7492
bb3129bd
UD
7493 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7494
0275fff8
UD
7495 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7496 prediction.
7497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7498
2fa2ae85
UD
7499 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7500 Remove unused variable magic_bits.
7501 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7502
fc2ee42a
LD
7503 * string/strnlen.c: Define and use STRNLEN macro.
7504 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7505 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7507 * wcsmbs/wcslen.c: Define and use WCSLEN.
7508 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7509 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7510 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7511 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7512 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7513 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7514 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7515
ce7dd29f
LD
75162011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7517
7518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7519 strnlen-sse2-no-bsf.
7520 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7522 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7523 Add strnlen support.
7524 (USE_AS_STRNLEN): New macro.
7525 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7527 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7528 * sysdeps/x86_64/wcslen.S: New file.
7529
979c70a3
MZ
75302011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7531
7532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7533 XMM-moves are used for copying on small sizes.
7534
2d09f82f
LD
75352011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7536
7537 * wcsmbs/Makefile (strop-tests): Add wcschr.
7538 * wcsmbs/test-wcschr.c: New file.
7539 * string/test-strchr.c: Update.
7540 Add wcschr support.
7541 (WIDE): New macro.
7542
619fccca
LD
75432011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7544
2d09f82f 7545 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7546 * wcsmbs/test-wcslen.c: New file.
7547 * string/test-strlen.c: Update.
7548 Add wcslen support.
7549 (WIDE): New macro.
7550
09f699ea
UD
75512011-10-23 Ulrich Drepper <drepper@gmail.com>
7552
7553 * po/it.po: Update from translation team.
7554
95584d3b
LD
75552011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7556
7557 * sysdeps/x86_64/wcscmp.S: Update.
7558 Fix wrong comparison semantics.
7559 wcscmp shall use signed comparison not unsigned.
7560 Don't use substraction to avoid overflow bug.
7561 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7562 * wcsmbc/wcscmp.c: Likewise.
7563 * string/test-strcmp.c: Likewise.
7564 Add new tests to check cases with negative values.
7565
c8b3296b
UD
75662011-10-23 Ulrich Drepper <drepper@gmail.com>
7567
7568 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7569 * sysdeps/x86_64/dla.h: ...here. New file.
7570 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7579
246ad57a
AS
75802011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7581
7582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7583 __ynl_finite aliases.
7584
a1a87169
UD
75852011-10-22 Ulrich Drepper <drepper@gmail.com>
7586
0d355eb7
UD
7587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7588
a1a87169
UD
7589 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7590 define DLA_FMA.
7591 [DLA_FMA] (EMULV): Use DLA_FMA.
7592 [DLA_FMA] (MUL12): Use EMULV.
7593 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7594 that are not needed.
7595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7602
ee2aafe0
AS
76032011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7604
7605 * math/s_nan.c: Undef __nan.
7606 * math/s_nanf.c: Undef __nanf.
7607 * math/s_nanl.c: Undef __nanl.
7608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7609 "math_private.h".
7610
bc62c2fb
UD
76112011-10-22 Ulrich Drepper <drepper@gmail.com>
7612
77425c63
UD
7613 * math/s_catan.c: Add branch predictions.
7614 * math/s_catanf.c: Likewise.
7615 * math/s_catanh.c: Likewise.
7616 * math/s_catanhf.c: Likewise.
7617 * math/s_catanhl.c: Likewise.
7618 * math/s_catanl.c: Likewise.
7619 * math/s_cexp.c: Likewise.
7620 * math/s_cexpf.c: Likewise.
7621 * math/s_cexpl.c: Likewise.
7622 * math/s_clog.c: Likewise.
7623 * math/s_clog10.c: Likewise.
7624 * math/s_clog10f.c: Likewise.
7625 * math/s_clog10l.c: Likewise.
7626 * math/s_clogf.c: Likewise.
7627 * math/s_clogl.c: Likewise.
7628 * math/s_csqrt.c: Likewise.
7629 * math/s_csqrtf.c: Likewise.
7630 * math/s_csqrtl.c: Likewise.
7631 * math/s_ctanf.c: Likewise.
7632 * math/s_ctanh.c: Likewise.
7633 * math/s_ctanhf.c: Likewise.
7634 * math/s_ctanhl.c: Likewise.
7635 * math/s_ctanl.c: Likewise.
7636
bc62c2fb
UD
7637 * math/math_private.h: Define __nan, __nanf, __nanl.
7638 * math/s_cacosh.c: Include <math_private.h>.
7639 * math/s_cacoshl.c: Likewise.
7640 * math/s_casinh.c: Likewise.
7641 * math/s_casinhf.c: Likewise.
7642 * math/s_casinhl.c: Likewise.
7643 * math/s_ccos.c: Rely entire on ccosh.
7644 * math/s_ccosf.c: Rely entire on ccoshf.
7645 * math/s_ccosl.c: Rely entirely on ccoshl.
7646 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7647 Remove tests for FE_INVALID.
7648 * math/s_ccoshf.c: Likewise.
7649 * math/s_ccoshl.c: Likewise.
7650 * math/s_csin.c: Likewise.
7651 * math/s_csinf.c: Likewise.
7652 * math/s_csinh.c Likewise.
7653 * math/s_csinhf.c: Likewise.
7654 * math/s_csinhl.c: Likewise.
7655 * math/s_csinl.c: Likewise.
7656 * math/s_ctan.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7658 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7660
8ec250a4
UD
76612011-10-21 Ulrich Drepper <drepper@gmail.com>
7662
c196fed8
UD
7663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7664 compilation problems.
7665
8ec250a4
UD
7666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7667 __builtin_expect.
7668
8d4f46c6
UD
76692011-10-20 Ulrich Drepper <drepper@gmail.com>
7670
ed72b654
UD
7671 * sysdeps/i386/configure.in: Test for -mfma4 option.
7672 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7673 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7674 COMMON_CPUID_INDEX_80000001.
7675 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7676 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7677 use it if FMA3 is not supported.
7678 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7679
8d4f46c6
UD
7680 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7681 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7682
d45c60c2
AS
76832011-10-20 Andreas Schwab <schwab@redhat.com>
7684
7685 [BZ #12892]
7686 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7687 it would create a cycle with a link time dependency.
7688
d9a4d2ab
UD
76892011-10-19 Ulrich Drepper <drepper@gmail.com>
7690
855d1560
UD
7691 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7692 instruction.
7693 * string/Makefile (strop-tests): Add rawmemchr.
7694 * string/test-rawmemchr.c: New file.
7695
d9a4d2ab
UD
7696 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7698 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7699 when compiling str{,n}casecmp and when AVX is available. Hook up
7700 new optimized code in initializers.
7701
8f3b1ffe
AS
77022011-10-19 Andreas Schwab <schwab@redhat.com>
7703
7704 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7705 __feraiseexcept instead of feraiseexcept.
7706
d38f1dba
UD
77072011-10-18 Ulrich Drepper <drepper@gmail.com>
7708
d9a8d0ab
UD
7709 * math/math_private.h: Define defaults for libc_fetestexcept and
7710 libc_feupdateenv.
7711 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7712 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7713 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7714 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7715 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7717 libc_fetestexcept and libc_feupdateenv.
7718
4855e3dd
UD
7719 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7720 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7721 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7722 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7723 libc_feholdexcept_setround.
7724
581d30e3
UD
7725 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7726 Add s_nearbyint-c and s_nearbyintf-c.
7727 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7728 nearbyintf inlines.
7729 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7731 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7733
d38f1dba
UD
7734 * math/math_private.h: Define defaults for libc_fegetround,
7735 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7736 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7737 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7739 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7740 standard functions.
7741 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7742 Remove comments and hacks for old compiler versions.
7743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7744 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7745 libc_feholdexceptl.
7746
caa6c9d8
AS
77472011-10-18 Andreas Schwab <schwab@redhat.com>
7748
7749 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7750 (__feraiseexcept_renamed): Add __NTH.
7751 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7752 namespace violations.
7753
97c066e6
UD
77542011-10-17 Ulrich Drepper <drepper@gmail.com>
7755
99ce7b04
UD
7756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7757
1004d182
UD
7758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7759
228a984d
UD
7760 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7761 recently added interfaces.
7762 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7763
c8553a6a
UD
7764 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7765 about macro parameter expansion.
7766
ed22dcf6
UD
7767 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7768 __NO_MATH_INLINES is defined. Cleanups.
7769
7770 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7771 and __floorf is target has SSE4.1.
7772 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7773 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7775 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7776
b171c137
UD
7777 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7778 name.
7779 (floorf): Likewise.
7780
97c066e6
UD
7781 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7782
629f62ef
AS
77832011-10-17 Andreas Schwab <schwab@redhat.com>
7784
49a43d80
AS
7785 * misc/sys/cdefs.h: Fix last change.
7786
629f62ef
AS
7787 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7788 database lookup.
7789
e453f6cd
UD
77902011-10-16 Ulrich Drepper <drepper@gmail.com>
7791
aa78043a
UD
7792 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7793
ad0f5cad
UD
7794 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7797 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7803 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7804 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7805 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7806 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7807 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7808 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7809 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7810 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7811 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7812 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7813 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7814 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7815 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7816
7817 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7818 ceil, ceilf, floor, floorf.
7819
7820 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7821 Perform IRELATIVE relocations last.
7822
e453f6cd
UD
7823 * elf/do-rel.h: Add another parameter nrelative, replacing the
7824 local variable with the same name. Change name of the function
7825 to end in Rel or Rela (uppercase).
7826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7827 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7828 elf_dynamic_do_##reloc function.
7829
fd5bdc09
UD
78302011-10-15 Ulrich Drepper <drepper@gmail.com>
7831
79b195b5
UD
7832 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7833 is sufficient, at least on modern CPUs.
7834
d4a28569
UD
7835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7836
b61099b5
UD
7837 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7839
bcf01e6d
UD
7840 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7841 __expl_finite.
7842 * math/bits/math-finite.h: Add entries for exp.
7843 * math/e_expl.c: Add __*_finite alias.
7844 * sysdeps/i386/fpu/e_exp.S: Likewise.
7845 * sysdeps/i386/fpu/e_expf.S: Likewise.
7846 * sysdeps/i386/fpu/e_expl.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7848 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7852 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7853 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7854
ba1a0d59
UD
7855 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7856 is sufficient, at least on modern CPUs.
7857
fd5bdc09
UD
7858 * ctype/ctype-info.c (__ctype_init): Define.
7859 * include/ctype.h (__ctype_init): Declare.
7860 (__ctype_b_loc): The variable is always initialized.
7861 (__ctype_toupper_loc): Likewise.
7862 (__ctype_tolower_loc): Likewise.
7863 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7864 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7865
7872cfb0
AS
78662011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7867
b468825a
AS
7868 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7869
7872cfb0
AS
7870 * configure.in: Also look in $cxxmachine/include for C++ system
7871 headers.
7872
be13f7bf
LD
78732011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7874
7875 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7876 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7877 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7878 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7880 (USE_AS_WMEMCMP): New macro.
7881 Fixing indents.
7882 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7883 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7884 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7885 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7887 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7888 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7889 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7890 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7891 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7892 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7893 (USE_AS_WMEMCMP): New macro.
7894 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7895 * sysdeps/string/test-memcmp.c: Update.
7896 Fix simple_wmemcmp.
7897 Add new tests.
7898 * wcsmbs/wmemcmp.c: Update.
7899 (WMEMCMP): New macro.
7900 Fix overflow bug.
7901
556a2007
AJ
79022011-10-12 Andreas Jaeger <aj@suse.de>
7903
7904 [BZ #13268]
7905 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7906
538faaa7
UD
79072011-10-15 Ulrich Drepper <drepper@gmail.com>
7908
ab6737ff
UD
7909 * libio/iofwide.c (do_length): Avoid warning.
7910
538faaa7
UD
7911 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7912
396a21b1
UD
79132011-10-14 Ulrich Drepper <drepper@gmail.com>
7914
cdf2901f
UD
7915 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7916
38ad40ce
UD
7917 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7918 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7919 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7920 * sysdeps/i386/i686/fpu/e_log.S: New file.
7921 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7922 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7923
396a21b1
UD
7924 * ctype/ctype.h: Add support for inlined isXXX functions when
7925 compiling C++ code.
7926
6b1f68c9
AS
79272011-10-14 Andreas Schwab <schwab@redhat.com>
7928
349290c0
AS
7929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7930
6b1f68c9
AS
7931 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7932
f2282d42
RM
79332011-10-13 Roland McGrath <roland@hack.frob.com>
7934
7935 [BZ #13291]
7936 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7937
5298ffa8
AS
79382011-10-13 Andreas Schwab <schwab@redhat.com>
7939
714fad23
AS
7940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7941 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7942 feraiseexcept.
7943
81dcc7fb
AS
7944 * sysdeps/x86_64/memrchr.S: Check for zero size.
7945
5298ffa8
AS
7946 * string/stratcliff.c: Add memrchr tests.
7947
951fbcec
LD
79482011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7949
7950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7951 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7952 rawmemchr-sse2 rawmemchr-sse2-bsf.
7953 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7954 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7956 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7957 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7958 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7959 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7960 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7961 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7963 * string/memrchr.c (MEMRCHR): New macro.
7964
0ac5ae23
UD
79652011-10-12 Ulrich Drepper <drepper@gmail.com>
7966
7967 Add integration with gcc's -ffinite-math-only and optimize wrapper
7968 functions in libm.
7969 * Versions.def: Define GLIBC_2.15 version for libm.
7970 * math/Makefile (headers): Add bits/math-finite.h.
7971 * math/bits/math-finite.h: New file.
7972 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7973 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7974 * math/e_acoshl.c: Add __*_finite alias.
7975 * math/e_acosl.c: Likewise.
7976 * math/e_asinl.c: Likewise.
7977 * math/e_atan2l.c: Likewise.
7978 * math/e_atanhl.c: Likewise.
7979 * math/e_coshl.c: Likewise.
7980 * math/e_exp10.c: Likewise.
7981 * math/e_exp10f.c: Likewise.
7982 * math/e_exp10l.c: Likewise.
7983 * math/e_exp2l.c: Likewise.
7984 * math/e_fmodl.c: Likewise.
7985 * math/e_gammal_r.c: Likewise.
7986 * math/e_hypotl.c: Likewise.
7987 * math/e_j0l.c: Likewise.
7988 * math/e_j1l.c: Likewise.
7989 * math/e_jnl.c: Likewise.
7990 * math/e_lgammal_r.c: Likewise.
7991 * math/e_log10l.c: Likewise.
7992 * math/e_log2l.c: Likewise.
7993 * math/e_logl.c: Likewise.
7994 * math/e_powl.c: Likewise.
7995 * math/e_sinhl.c: Likewise.
7996 * math/e_sqrtl.c: Likewise.
7997 * math/e_scalb.c: Completely rewritten and optimized.
7998 * math/e_scalbf.c: Likewise.
7999 * math/e_scalbl.c: Likewise.
8000 * math/w_acos.c: Likewise.
8001 * math/w_acosf.c: Likewise.
8002 * math/w_acosl.c: Likewise.
8003 * math/w_acosh.c: Likewise.
8004 * math/w_acoshf.c: Likewise.
8005 * math/w_acoshl.c: Likewise.
8006 * math/w_asin.c: Likewise.
8007 * math/w_asinf.c: Likewise.
8008 * math/w_asinl.c: Likewise.
8009 * math/w_atan2.c: Likewise.
8010 * math/w_atan2f.c: Likewise.
8011 * math/w_atan2l.c: Likewise.
8012 * math/w_atanh.c: Likewise.
8013 * math/w_atanhf.c: Likewise.
8014 * math/w_atanhl.c: Likewise.
8015 * math/w_exp10.c: Likewise.
8016 * math/w_exp10f.c: Likewise.
8017 * math/w_exp10l.c: Likewise.
8018 * math/w_fmod.c: Likewise.
8019 * math/w_fmodf.c: Likewise.
8020 * math/w_fmodl.c: Likewise.
8021 * math/w_j0.c: Likewise.
8022 * math/w_j0f.c: Likewise.
8023 * math/w_j0l.c: Likewise.
8024 * math/w_j1.c: Likewise.
8025 * math/w_j1f.c: Likewise.
8026 * math/w_j1l.c: Likewise.
8027 * math/w_jn.c: Likewise.
8028 * math/w_jnf.c: Likewise.
8029 * math/w_log.c: Likewise.
8030 * math/w_logf.c: Likewise.
8031 * math/w_logl.c: Likewise.
8032 * math/w_log10.c: Likewise.
8033 * math/w_log10f.c: Likewise.
8034 * math/w_log10l.c: Likewise.
8035 * math/w_log2.c: Likewise.
8036 * math/w_log2f.c: Likewise.
8037 * math/w_log2l.c: Likewise.
8038 * math/w_pow.c: Likewise.
8039 * math/w_powf.c: Likewise.
8040 * math/w_powl.c: Likewise.
8041 * math/w_remainder.c: Likewise.
8042 * math/w_remainderf.c: Likewise.
8043 * math/w_remainderl.c: Likewise.
8044 * math/w_scalb.c: Likewise.
8045 * math/w_scalbf.c: Likewise.
8046 * math/w_scalbl.c: Likewise.
8047 * math/w_sqrt.c: Likewise.
8048 * math/w_sqrtf.c: Likewise.
8049 * math/w_sqrtl.c: Likewise.
8050 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8051 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8052 used.
8053 * math/math_private.h: Declare __kernel_standard_f.
8054 * math/w_cosh.c: Remove cruft and optimize a bit.
8055 * math/w_coshf.c: Likewise.
8056 * math/w_coshl.c: Likewise.
8057 * math/w_exp2.c: Likewise.
8058 * math/w_exp2f.c: Likewise.
8059 * math/w_exp2l.c: Likewise.
8060 * math/w_hypot.c: Likewise.
8061 * math/w_hypotf.c: Likewise.
8062 * math/w_hypotl.c: Likewise.
8063 * math/w_lgamma.c: Likewise.
8064 * math/w_lgamma_r.c: Likewise.
8065 * math/w_lgammaf.c: Likewise.
8066 * math/w_lgammaf_r.c: Likewise.
8067 * math/w_lgammal.c: Likewise.
8068 * math/w_lgammal_r.c: Likewise.
8069 * math/w_sinh.c: Likewise.
8070 * math/w_sinhf.c: Likewise.
8071 * math/w_sinhl.c: Likewise.
8072 * math/w_tgamma.c: Likewise.
8073 * math/w_tgammaf.c: Likewise.
8074 * math/w_tgammal.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8077 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8078 Minor optimizations. Pretty printing. Remove cruft.
8079 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8080 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8083 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8084 * sysdeps/i386/fpu/e_asin.S: Likewise.
8085 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8086 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8087 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8088 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8090 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8091 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8092 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8093 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8094 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8095 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8096 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8097 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8098 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8099 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8100 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8101 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8102 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8103 * sysdeps/i386/fpu/e_log.S: Likewise.
8104 * sysdeps/i386/fpu/e_log10.S: Likewise.
8105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8106 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8107 * sysdeps/i386/fpu/e_log2.S: Likewise.
8108 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8109 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8110 * sysdeps/i386/fpu/e_logf.S: Likewise.
8111 * sysdeps/i386/fpu/e_logl.S: Likewise.
8112 * sysdeps/i386/fpu/e_pow.S: Likewise.
8113 * sysdeps/i386/fpu/e_powf.S: Likewise.
8114 * sysdeps/i386/fpu/e_powl.S: Likewise.
8115 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8116 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8117 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8118 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8119 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8121 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8122 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8123 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8145 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8148 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8149 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8150 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8151 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8152 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8153 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8155 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8156 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8158 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8159 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8160 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8162 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8166 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8204 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8215 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8216 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8217 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8218 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8219 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8220 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8221 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8222 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8223 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8224 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8225 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8226 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8227 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8232 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8234 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8235 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8236 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8237 (__isnanf): Likewise.
8238 (__isinf_ns): Likewise.
8239 (__isinf_nsf): Likewise.
8240 (__finite): Likewise.
8241 (__finitef): Likewise.
8242 (__ieee754_sqrt): Define as macro.
8243 (__ieee754_sqrtf): Define as macro.
8244 (__ieee754_sqrtl): Define as macro.
8245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8246 inlined copy.
8247 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8248 __FINITE_MATH_ONLY__ consistent.
8249 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8250
12cc2fcd
AS
82512011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8252
a843a204
AS
8253 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8254 of rawmemchr.
8255
12cc2fcd
AS
8256 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8257
c853acd5
UD
82582011-10-09 Ulrich Drepper <drepper@gmail.com>
8259
8260 * po/ja.po: Update from translation team.
8261
c658d255
RM
82622011-10-08 Roland McGrath <roland@hack.frob.com>
8263
110946e4
RM
8264 * locale/programs/locarchive.c (prepare_address_space): New function.
8265 (create_archive, enlarge_archive, open_archive): Use it.
8266
50604220
RM
8267 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8268 inside [SHARED], where it is used.
8269
c658d255
RM
8270 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8271
8272 * nss/getent.c (netgroup_keys): Remove unused variable.
8273 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8274
6a621eb7
UD
82752011-10-08 Ulrich Drepper <drepper@gmail.com>
8276
7edb55ce
UD
8277 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8278 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8282 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8283 * math/Makefile (libm-calls): Add s_isinf_ns.
8284 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8285 * math/multc3.c: Likewise.
8286 * math/s_casin.c: Likewise.
8287 * math/s_casinf.c: Likewise.
8288 * math/s_casinl.c: Likewise.
8289 * math/s_ccos.c: Likewise.
8290 * math/s_ccosf.c: Likewise.
8291 * math/s_ccosl.c: Likewise.
8292 * math/s_ctan.c: Likewise.
8293 * math/s_ctanf.c: Likewise.
8294 * math/s_ctanh.c: Likewise.
8295 * math/s_ctanhf.c: Likewise.
8296 * math/s_ctanhl.c: Likewise.
8297 * math/s_ctanl.c: Likewise.
8298 * math/w_fmod.c: Likewise.
8299 * math/w_fmodf.c: Likewise.
8300 * math/w_fmodl.c: Likewise.
8301 * math/w_remainder.c: Likewise.
8302 * math/w_remainderf.c: Likewise.
8303 * math/w_remainderl.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8305 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8308 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8309 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8310 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8311 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8312
187da0ae
UD
8313 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8314 of the number.
8315 * stdio-common/printf_fphex.c: Likewise.
8316 * stdio-common/printf_size.c: Likewise.
8317
9277c064
UD
8318 * math/e_exp10.c: Include math_private.h using <...> not "...".
8319 * math/e_exp10f.c: Likewise.
8320 * math/e_exp10l.c: Likewise.
8321 * math/e_exp2l.c: Likewise.
8322 * math/e_j0l.c: Likewise.
8323 * math/e_j1l.c: Likewise.
8324 * math/e_jnl.c: Likewise.
8325 * math/e_lgammal_r.c: Likewise.
8326 * math/e_rem_pio2l.c: Likewise.
8327 * math/e_scalb.c: Likewise.
8328 * math/e_scalbf.c: Likewise.
8329 * math/e_scalbl.c: Likewise.
8330 * math/k_cosl.c: Likewise.
8331 * math/k_sinl.c: Likewise.
8332 * math/k_tanl.c: Likewise.
8333 * math/s_cacoshf.c: Likewise.
8334 * math/s_catan.c: Likewise.
8335 * math/s_catanf.c: Likewise.
8336 * math/s_catanh.c: Likewise.
8337 * math/s_catanhf.c: Likewise.
8338 * math/s_catanhl.c: Likewise.
8339 * math/s_catanl.c: Likewise.
8340 * math/s_ccosh.c: Likewise.
8341 * math/s_ccoshf.c: Likewise.
8342 * math/s_ccoshl.c: Likewise.
8343 * math/s_cexp.c: Likewise.
8344 * math/s_cexpf.c: Likewise.
8345 * math/s_cexpl.c: Likewise.
8346 * math/s_clog.c: Likewise.
8347 * math/s_clog10.c: Likewise.
8348 * math/s_clog10f.c: Likewise.
8349 * math/s_clog10l.c: Likewise.
8350 * math/s_clogf.c: Likewise.
8351 * math/s_clogl.c: Likewise.
8352 * math/s_csin.c: Likewise.
8353 * math/s_csinf.c: Likewise.
8354 * math/s_csinh.c: Likewise.
8355 * math/s_csinhf.c: Likewise.
8356 * math/s_csinhl.c: Likewise.
8357 * math/s_csinl.c: Likewise.
8358 * math/s_csqrt.c: Likewise.
8359 * math/s_csqrtf.c: Likewise.
8360 * math/s_csqrtl.c: Likewise.
8361 * math/s_ctan.c: Likewise.
8362 * math/s_ctanf.c: Likewise.
8363 * math/s_ctanh.c: Likewise.
8364 * math/s_ctanhf.c: Likewise.
8365 * math/s_ctanhl.c: Likewise.
8366 * math/s_ctanl.c: Likewise.
8367 * math/s_ldexp.c: Likewise.
8368 * math/s_ldexpf.c: Likewise.
8369 * math/s_ldexpl.c: Likewise.
8370 * math/s_significand.c: Likewise.
8371 * math/s_significandf.c: Likewise.
8372 * math/s_significandl.c: Likewise.
8373 * math/w_acos.c: Likewise.
8374 * math/w_acosf.c: Likewise.
8375 * math/w_acosh.c: Likewise.
8376 * math/w_acoshf.c: Likewise.
8377 * math/w_acoshl.c: Likewise.
8378 * math/w_acosl.c: Likewise.
8379 * math/w_asin.c: Likewise.
8380 * math/w_asinf.c: Likewise.
8381 * math/w_asinl.c: Likewise.
8382 * math/w_atan2.c: Likewise.
8383 * math/w_atan2f.c: Likewise.
8384 * math/w_atan2l.c: Likewise.
8385 * math/w_atanh.c: Likewise.
8386 * math/w_atanhf.c: Likewise.
8387 * math/w_atanhl.c: Likewise.
8388 * math/w_cosh.c: Likewise.
8389 * math/w_coshf.c: Likewise.
8390 * math/w_coshl.c: Likewise.
8391 * math/w_dremf.c: Likewise.
8392 * math/w_exp10.c: Likewise.
8393 * math/w_exp10f.c: Likewise.
8394 * math/w_exp10l.c: Likewise.
8395 * math/w_exp2.c: Likewise.
8396 * math/w_exp2f.c: Likewise.
8397 * math/w_fmod.c: Likewise.
8398 * math/w_fmodf.c: Likewise.
8399 * math/w_fmodl.c: Likewise.
8400 * math/w_hypot.c: Likewise.
8401 * math/w_hypotf.c: Likewise.
8402 * math/w_hypotl.c: Likewise.
8403 * math/w_j0.c: Likewise.
8404 * math/w_j0f.c: Likewise.
8405 * math/w_j0l.c: Likewise.
8406 * math/w_j1.c: Likewise.
8407 * math/w_j1f.c: Likewise.
8408 * math/w_j1l.c: Likewise.
8409 * math/w_jn.c: Likewise.
8410 * math/w_jnf.c: Likewise.
8411 * math/w_jnl.c: Likewise.
8412 * math/w_lgamma.c: Likewise.
8413 * math/w_lgamma_r.c: Likewise.
8414 * math/w_lgammaf.c: Likewise.
8415 * math/w_lgammaf_r.c: Likewise.
8416 * math/w_lgammal.c: Likewise.
8417 * math/w_lgammal_r.c: Likewise.
8418 * math/w_log.c: Likewise.
8419 * math/w_log10.c: Likewise.
8420 * math/w_log10f.c: Likewise.
8421 * math/w_log10l.c: Likewise.
8422 * math/w_log2.c: Likewise.
8423 * math/w_log2f.c: Likewise.
8424 * math/w_log2l.c: Likewise.
8425 * math/w_logf.c: Likewise.
8426 * math/w_logl.c: Likewise.
8427 * math/w_pow.c: Likewise.
8428 * math/w_powf.c: Likewise.
8429 * math/w_powl.c: Likewise.
8430 * math/w_remainder.c: Likewise.
8431 * math/w_remainderf.c: Likewise.
8432 * math/w_remainderl.c: Likewise.
8433 * math/w_scalb.c: Likewise.
8434 * math/w_scalbf.c: Likewise.
8435 * math/w_scalbl.c: Likewise.
8436 * math/w_sinh.c: Likewise.
8437 * math/w_sinhf.c: Likewise.
8438 * math/w_sinhl.c: Likewise.
8439 * math/w_sqrt.c: Likewise.
8440 * math/w_sqrtf.c: Likewise.
8441 * math/w_sqrtl.c: Likewise.
8442 * math/w_tgamma.c: Likewise.
8443 * math/w_tgammaf.c: Likewise.
8444 * math/w_tgammal.c: Likewise.
8445
6a621eb7
UD
8446 * po/ja.po: Update from translation team.
8447
bf582445
AJ
84482011-09-29 Andreas Jaeger <aj@suse.de>
8449
f9efbf3a
AJ
8450 [BZ #13179]
8451 * sunrpc/netname.c (netname2host): Fix logic.
8452
bf582445
AJ
8453 [BZ #6779]
8454 [BZ #6783]
8455 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8456 correctly.
8457 * math/w_remainder.c (__remainder): Likewise.
8458 * math/w_remainderf.c (__remainderf): Likewise.
8459 * math/libm-test.inc (remainder_test): Add test cases.
8460
48693bea
AK
84612011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8462
8463 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8464 sdiv_qrnnd.
8465
42622229
LD
84662011-10-07 Ulrich Drepper <drepper@gmail.com>
8467
8468 * string/test-memcmp.c: Avoid unncessary #defines.
8469 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8470
093ecf92
LD
84712011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8472
8473 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8474 Use new sse2 version for core i3 - i7 as it's faster
8475 than sse42 version.
8476 (bit_Prefer_PMINUB_for_stringop): New.
8477 * sysdeps/x86_64/rawmemchr.S: Update.
8478 Replace with faster SSE2 version.
8479 * sysdeps/x86_64/memrchr.S: New file.
8480 * sysdeps/x86_64/memchr.S: Update.
8481 Replace with faster SSE2 version.
8482
fde56e5c
MP
84832011-09-12 Marek Polacek <mpolacek@redhat.com>
8484
8485 * elf/dl-load.c (lose): Add cast to avoid warning.
8486
21fd49a9
UD
84872011-10-07 Ulrich Drepper <drepper@gmail.com>
8488
5a06e643
UD
8489 * po/ca.po: Update from translation team.
8490
684ae515
UD
8491 * inet/getnetgrent_r.c: Hook up nscd.
8492 * nscd/Makefile (routines): Add nscd_netgroup.
8493 (nscd-modules): Add netgroupcache.
8494 (CFLAGS-netgroupcache.c): Define.
8495 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8496 (cache_search): Add const to second parameter.
8497 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8498 INNETGR.
8499 (dbs): Add netgrdb entry.
8500 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8501 (verify_persistent_db): Handle netgrdb.
8502 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8503 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8504 GETFDNETGR.
8505 (netgroup_response_header): Define.
8506 (innetgroup_response_header): Define.
8507 (datahead): Add netgroup_response_header and innetgroup_response_header
8508 elements.
8509 * nscd/nscd.conf: Add entries for netgroup cache.
8510 * nscd/nscd.h (dbtype): Add netgrdb.
8511 (_PATH_NSCD_NETGROUP_DB): Define.
8512 (netgroup_iov_disabled): Declare.
8513 (xmalloc, xcalloc, xrealloc): Move declarations here.
8514 (cache_search): Adjust prototype.
8515 Add netgroup-related prototypes.
8516 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8517 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8518 (__nscd_innetgr): Declare.
8519 * nscd/selinux.c (perms): Use access_vector_t as element type and
8520 add netgroup-related initializers.
8521 * nscd/netgroupcache.c: New file.
8522 * nscd/nscd_netgroup.c: New file.
8523 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8524 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8525 For four parameters use innetgr.
8526 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8527 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8528 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8529 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8530
21fd49a9
UD
8531 * nscd/connections.c (register_traced_file): Don't register file
8532 for disabled databases.
8533
054c0457
UD
85342011-10-06 Ulrich Drepper <drepper@gmail.com>
8535
32b63198
UD
8536 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8537
054c0457
UD
8538 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8539 from tree and freeing node.
8540
64031225
JO
85412011-09-25 Jiri Olsa <jolsa@redhat.com>
8542
8543 * nss/nsswitch.c (__nss_database_lookup): Handle
8544 nss_parse_service_list out of memory case.
8545
0490345c
JO
85462011-09-15 Jiri Olsa <jolsa@redhat.com>
8547
8548 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8549 out of memory case.
8550
3a62d00d
AS
85512011-10-04 Andreas Schwab <schwab@redhat.com>
8552
8553 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8554 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8555 pass it down.
8556 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8557 elf_machine_rela, elf_machine_lazy_rel.
8558 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8559 (ELF_DYNAMIC_DO_REL): Likewise.
8560 (ELF_DYNAMIC_DO_RELA): Likewise.
8561 (ELF_DYNAMIC_RELOCATE): Likewise.
8562 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8563 to ELF_DYNAMIC_DO_REL.
8564 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8565 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8566 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8567 elf_machine_rela.
8568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8569 skip_ifunc, don't call ifunc function if non-zero.
8570 (elf_machine_rela): Likewise.
8571 (elf_machine_lazy_rel): Likewise.
8572 (elf_machine_lazy_rela): Likewise.
8573 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8574 (elf_machine_lazy_rel): Likewise.
8575 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8576 Likewise.
8577 (elf_machine_lazy_rel): Likewise.
8578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8579 Likewise.
8580 (elf_machine_lazy_rel): Likewise.
8581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8582 (elf_machine_lazy_rel): Likewise.
8583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8584 (elf_machine_lazy_rel): Likewise.
8585 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8586 (elf_machine_lazy_rel): Likewise.
8587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8588 (elf_machine_lazy_rel): Likewise.
8589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8590 (elf_machine_lazy_rel): Likewise.
8591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8592 (elf_machine_lazy_rel): Likewise.
8593
68577918
UD
85942011-09-28 Ulrich Drepper <drepper@gmail.com>
8595
8596 * nss/nss_files/files-init.c (_nss_files_init): Use static
8597 initialization for all the *_traced_file variables.
8598
68822d74
AS
85992011-09-28 Andreas Schwab <schwab@redhat.com>
8600
8601 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8602
2056100b
RM
86032011-09-27 Roland McGrath <roland@hack.frob.com>
8604
8605 [BZ #13226]
8606 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8607
32c76b63
AS
86082011-09-27 Andreas Schwab <schwab@redhat.com>
8609
8610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8611 Reread the line before reparsing it.
8612
bf972c9d
AS
86132011-09-26 Andreas Schwab <schwab@redhat.com>
8614
8615 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8616
e057a1b5
JM
86172011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8618 Maxim Kuvyrkov <maxim@codesourcery.com>
8619 Joseph Myers <joseph@codesourcery.com>
8620
8621 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8622 if needed for __stack_chk_guard.
8623
bc7e1c36
RM
86242011-09-19 Roland McGrath <roland@hack.frob.com>
8625
ecb1482f
RM
8626 * sysdeps/posix/spawni.c (script_execute): Always define it.
8627 It will be optimized away if unused.
8628 (maybe_script_execute): New function.
8629 (__spawni): Call it.
8630
bc7e1c36
RM
8631 * Makerules: Don't include tls.make.
8632 (config-tls): Always set to thread.
8633 * tls.make.c: File removed.
8634
1c3b002b
MF
86352011-09-19 Mike Frysinger <vapier@gentoo.org>
8636
8637 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8638 * config.make.in (CPPFLAGS-config): New substituted variable.
8639
2840865d
UD
86402011-09-15 Ulrich Drepper <drepper@gmail.com>
8641
88738eb6
UD
8642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8643
cbf645a6 8644 [BZ #13192]
2840865d
UD
8645 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8646 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8647
b402e91a
RM
86482011-09-15 Roland McGrath <roland@hack.frob.com>
8649
8650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8651 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8653 (CALL_FAIL): Likewise.
8654 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8655 (CALL_FAIL): Macro removed.
8656 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8657
4c1a1f71
UD
86582011-09-15 Ulrich Drepper <drepper@gmail.com>
8659
8660 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8661 for __FINITE_MATH_ONLY__ == 1.
8662
edc121be
AS
86632011-09-15 Andreas Schwab <schwab@redhat.com>
8664
8665 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8666 __ieee754_sqrt instead of sqrt.
8667 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8668 __ieee754_sqrtf instead of sqrtf.
8669 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8670 __floorf instead of floorf.
8671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8672 __floorf, __truncf instead of floorf, truncf.
8673
cd205654
UD
86742011-09-14 Ulrich Drepper <drepper@gmail.com>
8675
ee4d0315
UD
8676 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8677
cd205654
UD
8678 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8679 __extern_always_inline.
8680 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8681 32-bit.
8682
48b67d71
AS
86832011-09-14 Andreas Schwab <schwab@redhat.com>
8684
8685 * elf/rtld.c (dl_main): Also relocate in dependency order when
8686 doing symbol dependency testing.
8687
1ae12c75
AS
86882011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8689
8690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8691 Always define `refsym'.
8692
995a80df
AS
86932011-09-13 Andreas Schwab <schwab@redhat.com>
8694
e529793b
AS
8695 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8696 (__FD_ELT): Renamed from __FDELT.
8697 * misc/bits/select2.h (__FD_ELT): Likewise.
8698 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8699 __FD_MASK instead of __FDELT, __FDMASK.
8700 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8701 Likewise.
8702 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8703 Likewise.
8704
52d4fef8
AS
8705 * elf/Makefile (gen-ldd): Fix pattern.
8706
995a80df
AS
8707 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8708 (init_tls): Likewise.
8709
8682f8b0
UD
87102011-09-12 Ulrich Drepper <drepper@gmail.com>
8711
8712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8713
de82006d
AS
87142011-09-12 Andreas Schwab <schwab@redhat.com>
8715
a7c8e6a1
AS
8716 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8717 `struct cmsghdr *' instead of `void *'.
8718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8719 Likewise.
8720
0f31fe77
AS
87212011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8722
8723 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8724 if non-absolute.
8725 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8726 ldd_rewrite_script.
0f31fe77 8727
32b4c839
UD
87282011-09-11 Ulrich Drepper <drepper@gmail.com>
8729
83cd1420
UD
8730 * configure.in: Remove --with-tls option.
8731 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8732 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8733 out in case it is missing.
8734 * sysdeps/ia64/elf/configure.in: Likewise.
8735 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8736 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8737 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8738 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8739 * sysdeps/sh/elf/configure.in: Likewise.
8740 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8742 * sysdeps/x86_64/elf/configure.in: Likewise.
8743 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8744 * sysdeps/mach/hurd/tls.h: Likewise.
8745
633f745d
UD
8746 [BZ #13067]
8747 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8748
f318beb8
UD
8749 [BZ #13090]
8750 * configure.in: Fix use of AC_INIT.
8751
32b4c839
UD
8752 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8753
3ce1f295
UD
87542011-09-10 Ulrich Drepper <drepper@gmail.com>
8755
bb016596
UD
8756 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8757 __set_errno.
8e58439c
UD
8758 * malloc/hooks.c: Likewise.
8759
aebae053 8760 [BZ #11929]
02d46fc4
UD
8761 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8762 variables statically.
8763 (narenas): Initialize.
8764 (list_lock): Initialize.
bb016596
UD
8765 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8766 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8767 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8768 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8769 Add initializers to main_arena and mp_.
8770 (malloc_state): Remove pagesize member. Change all users to use
8771 GLRO(dl_pagesize).
8772
8773 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8774 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8775 is always initialized.
8776
22a89187
UD
8777 * malloc/malloc.c: Removed unused configurations and dead code.
8778 * malloc/arena.c: Likewise.
8779 * malloc/hooks.c: Likewise.
02d46fc4 8780 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8781
d063d164
UD
8782 * include/tls.h: Removed. USE___THREAD must always be defined.
8783 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8784 * elf/dl-libc.c: Likewise.
8785 * elf/dl-tsd.c: Likewise.
8786 * include/errno.h: Likewise.
8787 * include/netdb.h: Likewise.
8788 * include/resolv.h: Likewise.
8789 * inet/herrno-loc.c: Likewise.
8790 * inet/herrno.c: Likewise.
8791 * malloc/arena.c: Likewise.
8792 * malloc/hooks.c: Likewise.
8793 * malloc/malloc.c: Likewise.
8794 * resolv/res-state.c: Likewise.
8795 * resolv/res_libc.c: Likewise.
8796 * sysdeps/i386/dl-machine.h: Likewise.
8797 * sysdeps/ia64/dl-machine.h: Likewise.
8798 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8799 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8800 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8801 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8802 * sysdeps/sh/dl-machine.h: Likewise.
8803 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8805 * sysdeps/unix/i386/sysdep.S: Likewise.
8806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8807 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8812 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8817 * sysdeps/x86_64/dl-machine.h: Likewise.
8818 * tls.make.c: Likewise.
8819
3ce1f295
UD
8820 * configure.in: Remove --with-__thread option. Make tests for
8821 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8822 tls_model attribute fail if no support is available. Remove
8823 USE_IN_LIBIO.
8824 * Makeconfig: Adjust for dropped configure option. All features are
8825 now mandatory.
8826 * Makerules: Likewise.
8827 * Versions.def: Likewise.
8828 * argp/argp-fmtstream.c: Likewise.
8829 * argp/argp-fmtstream.h: Likewise.
8830 * argp/argp-help.c: Likewise.
8831 * assert/assert.c: Likewise.
8832 * config.h.in: Likewise.
8833 * config.make.in: Likewise.
8834 * configure: Likewise.
8835 * configure.in: Likewise.
8836 * csu/Versions: Likewise.
8837 * csu/init.c: Likewise.
8838 * elf/tst-audit2.c: Likewise.
8839 * elf/tst-tls10.c: Likewise.
8840 * elf/tst-tls10.h: Likewise.
8841 * elf/tst-tls11.c: Likewise.
8842 * elf/tst-tls12.c: Likewise.
8843 * elf/tst-tls14.c: Likewise.
8844 * elf/tst-tlsmod11.c: Likewise.
8845 * elf/tst-tlsmod12.c: Likewise.
8846 * elf/tst-tlsmod13.c: Likewise.
8847 * elf/tst-tlsmod13a.c: Likewise.
8848 * elf/tst-tlsmod14a.c: Likewise.
8849 * elf/tst-tlsmod15b.c: Likewise.
8850 * elf/tst-tlsmod16a.c: Likewise.
8851 * elf/tst-tlsmod16b.c: Likewise.
8852 * elf/tst-tlsmod7.c: Likewise.
8853 * elf/tst-tlsmod8.c: Likewise.
8854 * elf/tst-tlsmod9.c: Likewise.
8855 * gmon/gmon.c: Likewise.
8856 * grp/fgetgrent_r.c: Likewise.
8857 * grp/putgrent.c: Likewise.
8858 * hurd/fopenport.c: Likewise.
8859 * include/libc-symbols.h: Likewise.
8860 * include/tls.h: Likewise.
8861 * intl/gettextP.h: Likewise.
8862 * intl/loadinfo.h: Likewise.
8863 * locale/global-locale.c: Likewise.
8864 * locale/localeinfo.h: Likewise.
8865 * mach/devstream.c: Likewise.
8866 * malloc/arena.c: Likewise.
8867 * malloc/set-freeres.c: Likewise.
8868 * misc/err.c: Likewise.
8869 * misc/getttyent.c: Likewise.
8870 * misc/mntent_r.c: Likewise.
8871 * posix/getopt.c: Likewise.
8872 * posix/wordexp.c: Likewise.
8873 * pwd/fgetpwent_r.c: Likewise.
8874 * resolv/Versions: Likewise.
8875 * resolv/res_hconf.c: Likewise.
8876 * shadow/fgetspent_r.c: Likewise.
8877 * shadow/putspent.c: Likewise.
8878 * stdio-common/printf_fphex.c: Likewise.
8879 * stdio-common/tmpfile.c: Likewise.
8880 * stdlib/abort.c: Likewise.
8881 * stdlib/fmtmsg.c: Likewise.
8882 * sunrpc/auth_unix.c: Likewise.
8883 * sunrpc/clnt_perr.c: Likewise.
8884 * sunrpc/clnt_tcp.c: Likewise.
8885 * sunrpc/clnt_udp.c: Likewise.
8886 * sunrpc/clnt_unix.c: Likewise.
8887 * sunrpc/openchild.c: Likewise.
8888 * sunrpc/svc_simple.c: Likewise.
8889 * sunrpc/svc_tcp.c: Likewise.
8890 * sunrpc/svc_udp.c: Likewise.
8891 * sunrpc/svc_unix.c: Likewise.
8892 * sunrpc/xdr.c: Likewise.
8893 * sunrpc/xdr_array.c: Likewise.
8894 * sunrpc/xdr_rec.c: Likewise.
8895 * sunrpc/xdr_ref.c: Likewise.
8896 * sunrpc/xdr_stdio.c: Likewise.
8897
1248c1c4
PB
88982011-09-09 Ulrich Drepper <drepper@gmail.com>
8899
8900 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8901
89022011-07-03 Andreas Jaeger <aj@suse.de>
8903
8904 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8905 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8906 regenerate with gen-libm-tests.pl.
8907
89082010-05-12 Petr Baudis <pasky@suse.cz>
8909
8910 [BZ #11589]
8911 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8912 around j0() zero points by switching to j1().
8913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8917
f22e1074
UD
89182011-09-09 Ulrich Drepper <drepper@gmail.com>
8919
f19009c1
UD
8920 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8921 instead of 0.
8922 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8923 instead of 0. .
8924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8925 Patch in part by Pavel Roskin <proski@gnu.org>.
8926
3f8cc204
UD
8927 [BZ #13138]
8928 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8929 realloc.
8930 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8931 Free memory block if necessary.
8932
f22e1074
UD
8933 [BZ #12847]
8934 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8935 be NULL. Don't lock in this case.
8936
0a2349f9
RM
89372011-09-09 Roland McGrath <roland@hack.frob.com>
8938
8939 * elf/elf.h (ELFOSABI_GNU): New macro.
8940 (ELFOSABI_LINUX): Define to that.
8941
f3cdd467
DZ
89422011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8943
8944 * string/strncat.c (strncat): Undef the symbol in case it has been
8945 defined in bits/string.h.
8946
74718d13
UD
89472011-09-09 Ulrich Drepper <drepper@gmail.com>
8948
633e9e0f
UD
8949 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8950
0a2349f9 8951 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8952 link map.
8953
f9924780
AJ
89542011-08-17 Andreas Jaeger <aj@suse.de>
8955
8956 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8957
7f5517aa
PP
89582011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8959 Ian Lance Taylor <iant@google.com>
8960
8961 * math/libm-test.inc (lround_test): New testcase.
8962 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8963
762011fe
UD
89642011-09-08 Ulrich Drepper <drepper@gmail.com>
8965
92963737
UD
8966 * Makefile: Remove support for automatic cvs check-ins.
8967 * Makerules: Likewise.
8968 * config.make.in: Likewise.
8969 * configure.in: Likewise.
8970 * intl/Makefile: Likewise.
8971 * locale/Makefile: Likewise.
8972 * po/Makefile: Likewise.
8973 * posix/Makefile: Likewise.
8974 * sysdeps/gnu/Makefile: Likewise.
8975 * sysdeps/mach/hurd/Makefile: Likewise.
8976 * sysdeps/sparc/sparc32/Makefile: Likewise.
8977
b0727fd8
JS
8978 [BZ #13118]
8979 * posix/Makefile (bug-regex32-ENV): Define.
8980 Patch by John Stanley <jpsinthemix@verizon.net>.
8981
a0f33f99
UD
8982 * misc/Makefile (headers): Add bits/select2.h.
8983 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8984 * misc/bits/select2.h: New file.
8985 * include/bits/select2.h: New file.
8986 * debug/Makefile (routines): Add fdelt_chk.
8987 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8988 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8989 FD_ISSET.
8990 * debug/fdelt_chk.c: New file.
8991
762011fe
UD
8992 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8993 * wcsmbs/test-wmemcmp.c: Likewise.
8994 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8995 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8996
89972011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8998
8999 * string/Makefile (strop-tests): Add memcmp.
9000 * string/test-wmemcmp.c: New file.
9001 * string/test-memcmp.c: Add wmemcmp support.
9002
7f513ec8
RM
90032011-09-08 Roland McGrath <roland@hack.frob.com>
9004
0442afb4
RM
9005 [BZ #13153]
9006 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9007 2011-07-19 change.
9008
7f513ec8
RM
9009 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9010 garbage value in a __mach_port_mod_refs call in the cases of the
9011 task-self and thread-self ports.
9012
a12b2239
ST
90132011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9014
9015 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9016
610f9ab4
AS
90172011-09-08 Andreas Schwab <schwab@redhat.com>
9018
7f513ec8 9019 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9020
48882a1a
LD
90212011-09-07 Ulrich Drepper <drepper@gmail.com>
9022
b49865be
UD
9023 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9024
fdc86bc9
UD
9025 * elf/dl-libc.c (dlerror_run): Pass back error code from
9026 dl_catch_error.
9027
c966526a
UD
9028 [BZ #13123]
9029 * elf/dl-load.c (lose): Free l_origin if it is valid.
9030
48882a1a
LD
9031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9032 names.
9033 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9038 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9039
77a2a8b4
AZ
90402011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9041
9042 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9043 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9044 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9045 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9046 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9047 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9048 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9049 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9050 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9051 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9052
24f579d8
AM
90532011-08-15 Alan Modra <amodra@gmail.com>
9054
9055 [BZ #13092]
9056 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9057 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9058 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9059 ppc_mcount to static-only-routines.
9060 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9061 __mcount_internal.
9062 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9063 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9064
3d4837df
UD
90652011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9066
9067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9068 for finite and infinity parameters.
9069
22700377
WS
90702011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9071
9072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9073 and add nop instructions for throughput optimization.
9074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9075
5025581e
WS
90762011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9077
9078 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9079 aligned copy for power7 with vector-scalar instructions.
9080 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9081
08a300c9
L
90822011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9085 AVX check.
9086
59178ef9
AS
90872011-09-07 Andreas Schwab <schwab@redhat.com>
9088
9089 [BZ #13144]
9090 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9091 last change.
9092
e38ba7ab
UD
90932011-09-07 Ulrich Drepper <drepper@gmail.com>
9094
9095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9096 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9097 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9098 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9099 clock_gettime.
9100
d53a73ac
UD
91012011-09-06 Ulrich Drepper <drepper@gmail.com>
9102
fc8bffcc
UD
9103 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9104 Forgot to demangle the pointer.
9105
ceaa0c5d
UD
9106 * sysdeps/i386/sysdep.h: Define atom_text_section.
9107 * sysdeps/x86_64/sysdep.h: Likewise.
9108 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9109 section with atom_text_section.
9110 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9115
a77d3c17
UD
9116 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9117 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9118 already be defined. Change to take two parameters and don't assign
9119 result to variable. Adjust all users.
9120 Define INTERNAL_GETTIME if not already defined.
9121 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9122 call.
9123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9124 HAVE_CLOCK_GETTIME_VSYSCALL.
9125 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9126
d53a73ac
UD
9127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9128 gettimeofday vsyscall, just use time.
9129
a8f84144
AS
91302011-09-06 Andreas Schwab <schwab@redhat.com>
9131
9132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9133 <errno.h>.
9134
ef606249
UD
91352011-09-06 Ulrich Drepper <drepper@gmail.com>
9136
9137 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9138 syscall on x86-64.
9139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9140 syscall.
9141 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9143 syscall if possible.
9144
6585cb60
UD
91452011-09-05 Ulrich Drepper <drepper@gmail.com>
9146
9147 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9148 e_ident. Don't pass to find_mapsXX.
9149 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9150
a5f524e4
LD
91512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9152
9153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9154 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9155 * sysdeps/x86_64/multiarch/strchr.S: Update.
9156 Check bit_slow_BSF bit.
9157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9158 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9160
554881ef
UD
91612011-09-05 Ulrich Drepper <drepper@gmail.com>
9162
d96de963
UD
9163 [BZ #13134]
9164 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9165 before glibc 2.15.
9166 (tryshell): Define.
9167 (__spawni): Change last parameter to be flag. Test
9168 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9169 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9170 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9171 * posix/spawni.c: Likewise.
9172 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9173 * posix/spawnp.c: Likewise. Change normal version to use
9174 SPAWN_XFLAGS_USE_PATH.
9175 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9176 SPAWN_XFLAGS_TRY_SHELL.
9177
d48e5868
UD
9178 [BZ #13150]
9179 * posix/glob.h: Remove gcc 1.x support.
9180
554881ef
UD
9181 [BZ #13068]
9182 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9183
693fb948
LD
91842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9185
9186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9187 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9188 strrchr-sse2-bsf
9189 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9190 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9191 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9192 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9194 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9195
1b48c537
UD
91962011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9197
49d42c37
UD
9198 * sysdeps/x86_64/wcscmp.S: New file.
9199
1b48c537
UD
9200 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9201 wcscmp-c wcscmp-sse2
9202 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9203 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9205 * wcsmbs/wcscmp.c: Allow renaming.
9206
15c95c5d
DM
92072011-09-05 David S. Miller <davem@davemloft.net>
9208
9209 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9210 stack slot, rather than the struct return pointer slot.
9211 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9212 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9214 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9215
2f0ad8f3
UD
92162011-09-05 Ulrich Drepper <drepper@gmail.com>
9217
d88ae418
UD
9218 * po/ja.po: Update from translation team.
9219
2f0ad8f3
UD
9220 [BZ #13144]
9221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9222 kernel in 64-bit binaries.
9223
5f4318d1
DM
92242011-09-01 David S. Miller <davem@davemloft.net>
9225
9226 * elf/elf.h (HWCAP_SPARC_*): Move to..
9227 * sysdeps/sparc/sysdep.h: this new file and add new values.
9228 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9229 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9230 _DL_HWCAP_COUNT to 24.
9231 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9232 entries.
9233 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9234 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9235 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9237 instead of magic constants.
9238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9239
3ba57516
DM
92402011-08-31 David S. Miller <davem@davemloft.net>
9241
9242 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9244 Reimplement to do errno handling inline.
9245 (SYSCALL_ERROR_HANDLER): New macro.
9246 (__SYSCALL_STRING): Do not do errno handling in asm.
9247 (__CLONE_SYSCALL_STRING): Delete.
9248 (__INTERNAL_SYSCALL_STRING): Delete.
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9250 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9251 (PSEUDO): Reimplement to do errno handling inline.
9252 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9253 (SYSCALL_ERROR_HANDLER): New macro.
9254 (__SYSCALL_STRING): Do not do errno handling in asm.
9255 (__CLONE_SYSCALL_STRING): Delete.
9256 (__INTERNAL_SYSCALL_STRING): Delete.
9257 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9258 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9259 i386.
9260 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9261 (inline_syscall*): Add 'err' argument.
9262 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9263 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9264 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9265 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9266
9267 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9268 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9269
2bc17433
AS
92702011-08-30 Andreas Schwab <schwab@redhat.com>
9271
9272 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9273
fbeb5f4d
JO
92742011-08-29 Jiri Olsa <jolsa@redhat.com>
9275
9276 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9277 directive.
9278
ad69cc26
DM
92792011-08-24 David S. Miller <davem@davemloft.net>
9280
9281 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9282
39dd69df
AS
92832011-08-24 Andreas Schwab <schwab@redhat.com>
9284
9285 * elf/Makefile: Add rules to build and run unload8 test.
9286 * elf/unload8.c: New file.
9287 * elf/unload8mod1.c: New file.
9288 * elf/unload8mod1x.c: New file.
9289 * elf/unload8mod2.c: New file.
9290 * elf/unload8mod3.c: New file.
9291
9292 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9293 it wasn't used.
9294
2c0b250a
DM
92952011-08-23 David S. Miller <davem@davemloft.net>
9296
9297 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9298 subtract stack bias.
9299 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9300 %sp not %fp in calculations.
9301 (_JMPBUF_UNWINDS_ADJ): Likewise.
9302
22044b48
DM
9303 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9304 (aio_suspend): Call it to force an exception region around the
9305 AIO_MISC_WAIT() invocation.
9306
2cae4995
AS
93072011-08-23 Andreas Schwab <schwab@redhat.com>
9308
9309 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9310 backslash.
9311
873a772e
AJ
93122011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9313
9314 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9315 protection macro.
9316 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9317 and <dl-machine.h>.
9318 (Elf64_FuncDesc): Remove.
9319
25ad0df1
DM
93202011-08-22 David S. Miller <davem@davemloft.net>
9321
9322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9323 sigaltstack check, add missing cfi directives.
9324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9325 missing cfi directives, and sigaltstack handling.
9326
e888bcbe
AS
93272011-08-16 Andreas Schwab <schwab@redhat.com>
9328
9329 [BZ #11724]
9330 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9331 object is seen twice.
9332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9333
9334 * elf/Makefile (distribute): Add tst-initorder2.c.
9335 (tests): Add tst-initorder2.
9336 (modules-names): Add tst-initorder2a tst-initorder2b
9337 tst-initorder2c tst-initorder2d. Add rules to build them.
9338 ($(objpfx)tst-initorder2.out): New rule.
9339 * elf/tst-initorder2.c: New file.
9340 * elf/tst-initorder2.exp: New file.
9341
87162f46
AS
93422011-08-22 Andreas Schwab <schwab@redhat.com>
9343
70538b7f
AS
9344 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9345
f55ffe58
AS
9346 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9347 dependencies back to end of function.
9348
87162f46
AS
9349 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9350 $(elfobjdir)/ld.so.
9351
91b392a4
UD
93522011-08-21 Ulrich Drepper <drepper@gmail.com>
9353
9354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9355 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9357 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9358 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9359 of __vdso_gettimeofday.
9360 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9361 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9362 attribute_hidden.
9363 (_libc_vdso_platform_setup): Remove initialization of
9364 __vdso_gettimeofday and __vdso_time.
9365
5c43483f
UD
93662011-08-20 Ulrich Drepper <drepper@gmail.com>
9367
775a77e7
UD
9368 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9369 and fgetc_unlocked.
9370 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9371 getc_unlocked.
89f447ed 9372
49c74ba9
UD
9373 * elf/dl-open.c (add_to_global): Report additions to the global scope
9374 for LD_DEBUG=scopes.
9375 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9376 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9377
5c43483f
UD
9378 [BZ #13114]
9379 * stdio-common/Makefile (tests): Add bug24.
9380 * stdio-common/bug24.c: New file.
9381
a101b025
AJ
93822011-08-19 Andreas Jaeger <aj@suse.de>
9383
9384 [BZ #13114]
9385 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9386 non-existant file when using close-on-exec mode.
9387
c88f1766
UD
93882011-08-20 Ulrich Drepper <drepper@gmail.com>
9389
0276a718
UD
9390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9391 the very first instruction.
9392
c88f1766
UD
9393 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9394 the CFI state in the end.
9395 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9396 inclusion of dl-trampoline.h.
9397 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9398
51ccffa0
AS
93992011-08-19 Andreas Schwab <schwab@redhat.com>
9400
94d7165f
AS
9401 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9402 expectations for long double.
9403
51ccffa0
AS
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9405 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9406
fd708658 94072011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9408
9409 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9410 artificual limit depends upon the system page size.
9411
44f0a71e
UD
94122011-08-17 Ulrich Drepper <drepper@gmail.com>
9413
9414 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9415 * resolv/Makefile: Define CFLAGS-libresolv.
9416
8de79a24
AS
94172011-08-17 Andreas Schwab <schwab@redhat.com>
9418
9419 * nss/makedb.c (compute_tables): Make variables used in nested
9420 function static.
9421
27724598
UD
94222011-08-17 Ulrich Drepper <drepper@gmail.com>
9423
c5305d88
UD
9424 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9425 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9426 if buffer was too small.
9427
27724598
UD
9428 * elf/pldd.c (main): Attach to all threads in the process.
9429 Rewrite /proc handling to use *at functions.
9430
076fe015
UD
94312011-08-16 Ulrich Drepper <drepper@gmail.com>
9432
174baab3
UD
9433 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9434 specifies first scope to show.
9435 (dl_open_worker): Update callers. Move printing scope of new
9436 object to before the relocation.
44f0a71e 9437 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9438 * sysdeps/generic/ldsodefs.h: Update declaration.
9439
076fe015
UD
9440 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9441 string for the scope number.
9442
a60df2c3
UD
94432011-08-14 Ulrich Drepper <drepper@gmail.com>
9444
9445 * nscd/servicescache.c (cache_addserv): Make sure written is always
9446 initialized.
9447
5e4287d1
RM
94482011-08-14 Roland McGrath <roland@hack.frob.com>
9449
85ae0589
RM
9450 * sysdeps/i386/i486/bits/atomic.h
9451 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9452 statement expression, so as to suppress "set but not used" warning.
9453 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9454
69f63097
RM
9455 * string/strncat.c (STRNCAT): Use prototype definition.
9456
675456ef
RM
9457 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9458 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9459 -Iprograms here.
9460 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9461 (localedef-modules): Add localedef.
9462 (locale-modules): Add locale.
9463
5e4287d1
RM
9464 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9465 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9466 to avoid a warning.
9467
9c96ff23
DM
94682011-08-14 David S. Miller <davem@davemloft.net>
9469
9470 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9471 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9472
f9ddf089
UD
94732011-08-13 Ulrich Drepper <drepper@gmail.com>
9474
44f0a71e 9475 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9476 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9477 * elf/rtld.c (dl_main): Set l_name of vDSO.
9478 Call _dl_show_scope when DL_DEBUG_SCOPES.
9479 (process_dl_debug): Recognize scopes flag and also set it for all.
9480 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9481 Declare _dl_show_scope.
9482
1dc27704
UD
9483 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9484 (do_dlopen): Pass caller_dlopen to dl_open.
9485 (__libc_dlopen_mode): Initialize caller_dlopen.
9486
f9ddf089
UD
9487 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9488 of libc. Make tolower call locale-independent. Optimize a bit by
9489 using isdigit instead of isalnum.
9490 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9491
9ac533d3
UD
94922011-08-12 Ulrich Drepper <drepper@gmail.com>
9493
9494 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9495 was a dependency or dynamically loaded.
9496
89edf2e9
UD
94972011-08-11 Ulrich Drepper <drepper@gmail.com>
9498
8e999d29
UD
9499 * intl/l10nflist.c: Allow architecture-specific pop function.
9500 * sysdeps/x86_64/l10nflist.c: New file.
9501
89edf2e9
UD
9502 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9503 classification.
9504
14d96785
AS
95052011-08-10 Andreas Schwab <schwab@redhat.com>
9506
9507 * include/dirent.h: Add libc_hidden_proto for scandirat and
9508 scandirat64. Don't declare __scandirat64.
9509 * dirent/scandirat.c: Add libc_hidden_def.
9510 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9511 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9512
6761ac04
DM
95132011-08-10 David S. Miller <davem@davemloft.net>
9514
9515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9516 enum.
9517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9520
c55fbd1e
UD
95212011-08-09 Ulrich Drepper <drepper@gmail.com>
9522
9523 * Versions.def [libc]: Add GLIBC_2.15.
9524 * dirent/Makefile (routines): Add scandirat and scandirat64.
9525 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9526 GLIBC_2.15.
9527 * dirent/dirent.h: Declare scandirat and scandirat64.
9528 * dirent/scandirat.c: New file.
9529 * dirent/scandirat64.c: New file.
9530 * sysdeps/wordsize-64/scandirat.c: New file.
9531 * sysdeps/wordsize-64/scandirat64.c: New file.
9532 * dirent/opendir.c: Define opendirat.
9533 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9534 using scandirat.
9535 * dirent/scandir64.c: Adjust for scandir.c change.
9536 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9537 __scandirat64, and __scandir_cancel_handler.
9538 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9539 additional parameter and use openat instead of open (outside of ld.so).
9540 Add new __opendir as wrapper around __opendirat.
9541 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9542 here without requiring old scandirat implementation.
9543
879165f2
UD
95442011-08-08 Ulrich Drepper <drepper@gmail.com>
9545
9546 * dirent/scandir.c (cancel_handler): Renamed to
9547 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9548 defined. Adjust users.
9549 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9551
cb7e923b
UD
95522011-08-04 Ulrich Drepper <drepper@gmail.com>
9553
16292edd
UD
9554 * string/test-string.h (IMPL): Use __STRING to expand name and then
9555 stringify it.
9556
cb7e923b
UD
9557 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9558 of cleanups.
9559
cff82933
LD
95602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9561
9562 * string/Makefile: Update.
9563 (strop-tests): Append strncat.
9564 * string/test-wcscmp.c: New file.
9565 New comprehensive test for wcscmp.
9566 * string/test-strcmp.c: Update.
9567 (WIDE): New define.
9568
9be9bfcc
AS
95692011-07-22 Andreas Schwab <schwab@redhat.com>
9570
9571 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9572 line.
9573
2e96f1c7
AS
95742011-07-26 Andreas Schwab <schwab@redhat.com>
9575
9576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9577 encoding to ACE if AI_IDN.
9578
85188888
JJ
95792011-08-01 Jakub Jelinek <jakub@redhat.com>
9580
9581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9582 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9583
5fa16e9b
LD
95842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9585
9586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9587 Fix overflow bug in strncat.
9588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9589
9590 * string/test-strncat.c: Update.
9591 Add new tests for checking overflow bugs.
9592
95932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9594
9595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9596 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9597 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9598 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9600 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9601 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9602 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9603 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9604
9605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9606 (USE_AS_STRCAT): Define.
9607 Add strcat and strncat support.
9608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9609
8c1a459f
AS
96102011-07-25 Andreas Schwab <schwab@redhat.com>
9611
9612 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9613 __n bigger than INT_MAX+1.
9614 (__strncmp_g): Likewise.
9615
bba33c28
UD
96162011-07-23 Ulrich Drepper <drepper@gmail.com>
9617
798be72d
UD
9618 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9619 * libio/stido.h: Likewise.
9620
8accd4dc
UD
9621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9622 (AF_NFC): Define.
9623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9624 (AF_NFC): Define.
9625
cbff0d96
UD
9626 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9629 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9631
9191c04a
UD
9632 [BZ #13021]
9633 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9634 installed.
9635
bba33c28
UD
9636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9637 typo.
9638 (_dl_x86_64_save_sse): Likewise.
9639
90f139dd
UD
96402011-07-22 Ulrich Drepper <drepper@gmail.com>
9641
1aae088a
UD
9642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9643 OSXSAVE.
9644 (_dl_x86_64_save_sse): Likewise.
9645
8e2045f5
UD
9646 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9647
90f139dd
UD
9648 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9649
1d002f25
AS
96502011-07-21 Andreas Schwab <schwab@redhat.com>
9651
9652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9653 change.
9654 (_dl_x86_64_save_sse): Use correct AVX check.
9655
21137f89
UD
96562011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9657
9658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9659 bug in strncpy/strncat.
9660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9661
a65c0b7a
UD
96622011-07-21 Ulrich Drepper <drepper@gmail.com>
9663
9664 * string/tester.c (test_strcat): Add tests for different alignments
9665 of source and destination.
9666 (test_strncat): Likewise.
9667
6986b98a
UD
96682011-07-20 Ulrich Drepper <drepper@gmail.com>
9669
90bb2039
UD
9670 [BZ #12852]
9671 * posix/glob.c (glob): Check passed in values before using them in
9672 expressions to avoid some overflows.
9673 (glob_in_dir): Likewise.
9674
5644ef54
UD
9675 [BZ #13007]
9676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9677 check for AVX enablement so that we don't crash with old kernels and
9678 new hardware.
9679 * elf/tst-audit4.c: Add same checks here.
9680 * elf/tst-audit6.c: Likewise.
9681
9682 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9683
bfc9dc9b
AS
96842011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9685
9686 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9687
702e64bb
UD
96882011-07-20 Ulrich Drepper <drepper@gmail.com>
9689
9690 * po/cs.po: Update from translation team.
9691 * po/bg.po: Likewise.
9692
295e904f
MP
96932011-07-12 Marek Polacek <mpolacek@redhat.com>
9694
9695 * misc/sys/cdefs.h: Add support for const attribute.
9696 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9697 to gnu_dev_{major,minor,makedev} functions.
9698
3ff94596
MP
96992011-07-20 Marek Polacek <mpolacek@redhat.com>
9700
9701 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9702
28b59fca
AS
97032011-07-20 Andreas Schwab <schwab@redhat.com>
9704
9705 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9706 strlen results.
9707
19df733e
AK
97082011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9709
9710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9711 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9712 register in order to avoid conflicts with the soft frame pointer
9713 being held in r11 when necessary.
9714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9715 (INTERNAL_VSYSCALL_NCS): Likewise.
9716
c8835729
MP
97172011-07-14 Marek Polacek <mpolacek@redhat.com>
9718
9719 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9720 * elf/dl-fini.c (_dl_fini): Adjust caller.
9721 * elf/dl-close.c (_dl_close_worker): Likewise.
9722 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9723
b902330c
MP
97242011-07-15 Marek Polacek <mpolacek@redhat.com>
9725
8991e135
MP
9726 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9727 "aux_cache->nlibs < 0".
9728
b902330c
MP
9729 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9730 in the reload-count case.
9731
99710781
LD
97322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9733
9734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9735 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9736 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9737 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9738 * sysdeps/x86_64/multiarch/strcat.S: New file.
9739 * sysdeps/x86_64/multiarch/strncat.S: New file.
9740 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9742 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9743 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9745 (USE_AS_STRCAT): Define.
9746 Add strcat and strncat support.
9747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9749 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9750 * string/strncat.c: Update.
9751 (USE_AS_STRNCAT): Define.
9752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9753 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9754 and i7.
9755 * sysdeps/x86_64/multiarch/init-arch.h
9756 (bit_Prefer_PMINUB_for_stringop): New.
9757 (index_Prefer_PMINUB_for_stringop): Likewise.
9758 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9759 bit_Prefer_PMINUB_for_stringop.
9760
7dc6bd90
UD
97612011-07-19 Ulrich Drepper <drepper@gmail.com>
9762
9763 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9764 buffer64.
9765 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9766 of casting of buffer.
9767 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9768 buffer32 and buffer64.
9769 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9770 writes instead of casting of buffer.
9771 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9772 buffer32.
9773 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9774 casting of buffer.
9775
e0e72284
AS
97762011-07-19 Andreas Schwab <schwab@redhat.com>
9777
9778 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9779
feb1eb0b
UD
97802011-07-19 Ulrich Drepper <drepper@gmail.com>
9781
9782 * nscd/nscd.c (termination_handler): Don't do anything for a database
9783 if it has not yet been initialized.
9784
298711ff
UD
97852011-07-18 Ulrich Drepper <drepper@gmail.com>
9786
9787 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9788
97892011-07-15 Marek Polacek <mpolacek@redhat.com>
9790
9791 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9792
f9d68389
UD
97932011-07-18 Ulrich Drepper <drepper@gmail.com>
9794
9795 * po/nl.po: Update from translation team.
9796 * po/sv.po: Likewise.
9797
db290cf5
RM
97982011-07-16 Roland McGrath <roland@hack.frob.com>
9799
9800 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9801 now disallowed by GCC.
5c550700 9802
fd5e21c7
RM
9803 * configure.in (use-default-link): Default to yes if a test -shared
9804 link meets our qualifications.
9805 * configure: Regenerated.
9806
5c550700
RM
9807 * config.make.in (output-format): New variable.
9808 * configure.in: Check for ld --print-output-format support.
9809 * configure: Regenerated.
9810 * Makerules ($(common-objpfx)format.lds)
9811 [$(output-format) != unknown]: Just use $(output-format),
9812 instead of the linker-script munging.
9813
9fa2c032
RM
98142011-07-14 Roland McGrath <roland@hack.frob.com>
9815
a6928d51
RM
9816 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9817 of $(common-objpfx)shlib.lds.
9818 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9819
661607b3
RM
9820 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9821 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9822
9fa2c032
RM
9823 * configure.in (-z relro check): Adjust test code to add a large
9824 writable data section after it.
9825 * configure: Regenerated.
9826
defe9061
RM
98272011-07-11 Roland McGrath <roland@hack.frob.com>
9828
9829 * configure.in (-z relro check): Fix test code to make the variable
9830 truly const.
9831 * configure: Regenerated.
9832
319b9ad4
UD
98332011-07-11 Ulrich Drepper <drepper@gmail.com>
9834
9835 * nscd/nscd.h (struct traced_file): Define.
9836 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9837 elements. Add traced_files.
9838 (inotify_fd): Declare.
9839 (register_traced_file): Declare.
9840 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9841 (inotify_fd): Export.
9842 (resolv_conf_descr): Remove.
9843 (nscd_init): Move inotify descriptor creation to main.
9844 Don't register files for notification here.
9845 (register_traced_file): New function.
9846 (invalidate_cache): Don't use reset_res to determine whether to call
9847 res_init, go through the list of registered files.
9848 (main_loop_poll): The inotify descriptors are now stored in the
9849 structures for the traced files.
9850 (main_loop_epoll): Likewise
9851 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9852 to __nss_disable_nscd.
9853 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9854 for a database anymore. Check the records for all the registered
9855 files instead.
9856 * nss/Makefile (libnss_files-routines): Add files-init.
9857 (libnss_db-routines): Add db-init.
9858 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9859 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9860 * nss/nss_db/db-init.c: New file.
9861 * nss/nss_files/files-init.c: New file.
9862 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9863 __nss_lookup_function.
9864 (__nss_lookup_function): Call nss_load_library.
9865 (nss_load_all_libraries): New function.
9866 (__nss_disable_nscd): Take parameter with callback function for files
9867 to register. Set is_nscd. Load all the DSOs for the NSS modules
9868 used for the cached services.
9869 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9870 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9871 options for features to all the files in nscd.
9872
9873 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9874
23bee3e8
RM
98752011-07-10 Roland McGrath <roland@hack.frob.com>
9876
9877 * csu/elf-init.c (__libc_csu_init): Comment typo.
9878
46a5b7f0
UD
98792011-07-09 Ulrich Drepper <drepper@gmail.com>
9880
9881 * po/pl.po: Update from translation team.
9882 * po/ja.po: Likewise.
9883 * po/ru.po: Likewise.
9884 * po/ko.po: Likewise.
9885 * po/fr.po: Likewise.
9886
d30cf5bb
RM
98872011-07-09 Roland McGrath <roland@hack.frob.com>
9888
113ddea4
RM
9889 * configure.in (.ctors/.dtors header and trailer check):
9890 Use an empirical test on a built program.
9891 * configure: Regenerated.
9892
574920b4
RM
9893 * configure.in (-z relro check): Use an empirical test on a built DSO.
9894 Detect, but do not require, on ia64.
9895 * configure: Regenerated.
9896
d30cf5bb
RM
9897 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9898 Update tests that use readelf to use $READELF instead.
9899 * configure: Regenerated.
9900
8538fdb3
UD
99012011-07-08 Ulrich Drepper <drepper@gmail.com>
9902
9903 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9904 if the result is not used.
9905
04d08991
AJ
99062011-07-05 Andreas Jaeger <aj@suse.de>
9907
9908 [BZ#9696]
9909 * stdlib/tst-strtod.c: Add testcase.
9910
de283087
AD
99112011-07-07 Ulrich Drepper <drepper@gmail.com>
9912
4e5f31c8 9913 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9914 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9915 The latter has a higher limit. Take additional parameter to pass to
9916 the new function.
9917 (__pathconf): Pass file to __statfs_link_max.
9918 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9919 __statfs_link_max.
9920 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9921 __statfs_link_max.
9922
de283087
AD
9923 [BZ #12868]
9924 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9926 Handle Lustre.
9927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9928 (__statfs_filesize_max): Likewise.
9929 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9930
c75fa153
AJ
99312011-07-05 Andreas Jaeger <aj@suse.de>
9932
9933 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9934
1a544854
UD
99352011-07-06 Marek Polacek <mpolacek@redhat.com>
9936
9937 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9938 `status' variable.
9939 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9940 Likewise.
9941
6f0eec67
UD
99422011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9943
9944 * Makefile (strop-tests): Add strncat.
9945 * string/test-strncat.c: New file.
9946
aae30307
UD
99472011-06-30 Marek Polacek <mpolacek@redhat.com>
9948
9949 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9950
c0cfb5eb
UD
99512011-06-21 Andreas Jaeger <aj@suse.de>
9952
9953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9954 Copy rule from iconvdata/Makefile.
9955
01636b21
UD
99562011-07-06 Ulrich Drepper <drepper@gmail.com>
9957
9958 [BZ #12922]
9959 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9960 but no long options are defined, just return 'W'.
9961
9895c8bc
UD
99622011-06-22 Marek Polacek <mpolacek@redhat.com>
9963
9964 [BZ #9696]
9965 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9966
5d4cf042
UD
99672011-07-06 Ulrich Drepper <drepper@gmail.com>
9968
9969 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9970 netgroups to read.
960e5535 9971 (innetgr): Likewise.
5d4cf042 9972
751eb97e
RM
99732011-07-05 Roland McGrath <roland@hack.frob.com>
9974
9975 * config.make.in (install_root): Default to $(DESTDIR).
9976
f15f1e45
UD
99772011-07-05 Ulrich Drepper <drepper@gmail.com>
9978
9979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9980
4e34ac6a
RM
99812011-07-02 Roland McGrath <roland@hack.frob.com>
9982
5e9b6af4
RM
9983 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9984
84f9ea0f
RM
9985 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9986 containing directory rather than embedding absolute directory names.
9987
ea5ee9f7
RM
9988 * scripts/check-local-headers.sh: Rewritten using awk.
9989 Match by word, not by line. Print error messages for matches.
9990 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9991
1b74661a
RM
9992 * Makerules [shlib-lds-flags empty]:
9993 ($(common-objpfx)libc_pic.opts): New target.
9994 ($(common-objpfx)libc_pic.os.clean): New target.
9995 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9996
9997 * config.make.in (OBJCOPY): New variable.
9998 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9999 * configure: Regenerated.
10000
f781ef40
RM
10001 * config.make.in (use-default-link): New variable.
10002 * configure.in (use_default_link): Grok --with-default-link to set it.
10003 * configure: Regenerated.
10004 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10005 (shlib-lds, shlib-lds-flags): Define to empty.
10006
2d4fa81e
RM
10007 * Makerules (shlib-lds): New variable.
10008 (shlib-lds-flags): New variable.
10009 (build-shlib, build-moduile, build-module-asneeded): Use it.
10010 ($(common-objpfx)libc.so): Use $(shlib-lds).
10011 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10012 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10013
31fffa6b
RM
10014 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10015 DT_FLAGS/DT_FLAGS_1 with zero flags.
10016
4e34ac6a
RM
10017 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10018 linker script munging.
10019
fcfc776b
UD
100202011-07-02 Ulrich Drepper <drepper@gmail.com>
10021
10022 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10023 as 128-bit value.
10024 * crypt/sha512.c (sha512_process_block): Perform total addition using
10025 128-bit if possible.
10026 (__sha512_finish_ctx): Likewise.
10027 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10028 as 64-bit value.
10029 * crypt/sha256.c (SWAP64): Define.
10030 (sha256_process_block): Perform total addition using 64-bit if
10031 possible.
10032 (__sha256_finish_ctx): Likewise.
10033
99231d9a
UD
100342011-07-01 Ulrich Drepper <drepper@gmail.com>
10035
10036 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10038 * nscd/hstcache.c (cache_addhst): Likewise.
10039 * nscd/grpcache.c (cache_addgr): Likewise.
10040 * nscd/aicache.c (addhstaiX): Likewise
10041 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10042
445b4a53
TK
100432011-07-01 Thorsten Kukuk <kukuk@suse.de>
10044
10045 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10047 * nscd/hstcache.c (cache_addhst): Likewise.
10048 * nscd/grpcache.c (cache_addgr): Likewise.
10049 * nscd/aicache.c (addhstaiX): Likewise
10050
6d4d8e8e
AS
100512011-07-01 Andreas Schwab <schwab@redhat.com>
10052
10053 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10054 domain only when needed.
10055
89f654c5
AS
100562011-06-30 Andreas Schwab <schwab@redhat.com>
10057
10058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10059 is always restored.
10060
cf3b23ff
UD
100612011-06-29 Ulrich Drepper <drepper@gmail.com>
10062
10063 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10064 are re-adding the entry.
10065 * nscd/servicescache.c (cache_addserv): Likewise.
10066
751626f9
AJ
100672011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10068
10069 * sysdeps/generic/dl-irel.h: fix protection against multiple
10070 inclusions.
10071 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10072
9113ea1f
UD
100732011-06-28 Ulrich Drepper <drepper@gmail.com>
10074
5c0b8d90
UD
10075 [BZ #12935]
10076 * malloc/memusage.sh: Fix quoting in message.
10077 * debug/xtrace.sh: Likewise.
10078
9113ea1f
UD
10079 * configure.in: Remove support for --experimental-malloc option, make
10080 it the default.
10081 * config.make.in: Likewise.
10082 * malloc/Makefile: Likewise.
10083
a4172181
AS
100842011-06-27 Andreas Schwab <schwab@redhat.com>
10085
10086 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10087 two-byte characters.
10088
78a7eee7
RM
100892011-06-27 Roland McGrath <roland@hack.frob.com>
10090
62bede13
RM
10091 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10092 AC_CACHE_CHECK invocation.
10093 * configure: Regenerated.
10094
78a7eee7
RM
10095 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10096
5ce33a62
UD
100972011-06-27 Ulrich Drepper <drepper@gmail.com>
10098
034807a9
UD
10099 [BZ #12350]
10100 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10101 bit from old_res_options.
10102
4902da17
UD
10103 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10104
5ce33a62
UD
10105 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10106 value type for setfct.
10107
c2344f56
L
101082011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10111 __gettimeofday instead of gettimeofday.
10112
68468076
UD
101132011-06-26 Ulrich Drepper <drepper@gmail.com>
10114
10115 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10116
acb0d739
L
101172011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10120
10121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10122 info.
10123
8912479f
L
101242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10127 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10128 strcpy-sse2-unaligned strncpy-sse2-unaligned
10129 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10130 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10131 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10132 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10133 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10136 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10137 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10138 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10139 (STRCPY): Support SSE2 and SSSE3 versions.
10140
d5495a11
UD
101412011-06-24 Ulrich Drepper <drepper@gmail.com>
10142
10143 [BZ #12874]
10144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10145 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10146 kernels which artificially limit size of requests.
10147
0b1cbaae
L
101482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10151 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10152 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10153 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10154 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10155 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10156 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10157 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10160 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10161 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10162 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10163 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10164 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10166 Enable unaligned load optimization for Intel Core i3, i5 and i7
10167 processors.
10168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10169 Define.
10170 (index_Fast_Unaligned_Load): Define.
10171 (HAS_FAST_UNALIGNED_LOAD): Define.
10172
07f494a0
MP
101732011-06-23 Marek Polacek <mpolacek@redhat.com>
10174
10175 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10176
fa3fc0fe
UD
101772011-06-22 Ulrich Drepper <drepper@gmail.com>
10178
10179 [BZ #12907]
10180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10181 until it is clear that the information is realy needed.
10182 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10183
e12df166
AS
101842011-06-22 Andreas Schwab <schwab@redhat.com>
10185
10186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10187
852eb34d
UD
101882011-06-22 Ulrich Drepper <drepper@gmail.com>
10189
84e2a551
UD
10190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10191 /sys/devices/system/cpu/online if it is usable.
10192
852eb34d
UD
10193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10194 reading the information from the /proc filesystem to once a second.
10195
6e502e19
UD
101962011-06-21 Andreas Jaeger <aj@suse.de>
10197
10198 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10199 NULL after inclusion of kernel headers.
10200
75d39ff2
UD
102012011-06-21 Ulrich Drepper <drepper@gmail.com>
10202
51f9aa6a
UD
10203 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10204 calls to internal_setent.
10205
c0244a9d
UD
10206 [BZ #12885]
10207 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10208 addresses using gethostbyname4_r ignore IPv4 addresses.
10209
c5e3c2ae
UD
10210 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10211 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10212
75d39ff2
UD
10213 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10214
42675c6f
DM
102152011-06-20 David S. Miller <davem@davemloft.net>
10216
10217 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10218 inclusions.
10219 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10220
10221 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10222 (elf_irel): Use it.
10223 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10224 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10225 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10226 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10227 * sysdeps/x86_64/dl-irel.h: Likewise.
10228
10229 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10230 * elf/dl-sym.c: Likewise.
10231
57912a71
UD
102322011-06-15 Ulrich Drepper <drepper@gmail.com>
10233
10234 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10235 need to dereference resplen2.
10236
ee22793d
AS
102372011-06-14 Andreas Schwab <schwab@redhat.com>
10238
10239 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10240
a9e836b0
UD
102412011-06-15 Ulrich Drepper <drepper@gmail.com>
10242
77fb9117
UD
10243 * Makeconfig: Define vardbdir and inst_vardbdir.
10244 * nss/Makefile: Add rules to install db-Makefile.
10245
40c1b22c
UD
10246 * nss/nss_db/db-XXX.c: Cleanup.
10247
9f2da732
UD
10248 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10249 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10250 GLIBC_PRIVATE.
10251 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10252 * nss/makedb.c: Implement -g option to specify that value strings
10253 are generated and should not be added to table iterated over for
10254 get*ent calls.
10255 * nss/nss_db/db-initgroups.c: New file.
10256
82e9a1f7
UD
10257 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10258 interface.
10259
c41af17e
UD
10260 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10261 (internal_getgrouplist): Adjust to name change.
10262 Update use_initgroups_entry if this is not the first call.
10263 * nss/databases.def: Add initgroups entry.
10264
a9e836b0
UD
10265 * nss/makedb.c (compute_tables): Check result of multiple hash table
10266 sizes to minimize maximum chain length.
10267
2666d441
UD
102682011-06-14 Ulrich Drepper <drepper@gmail.com>
10269
10270 * Versions.def: Add entry for libnss_db.
10271 * shlib-versions: Likewise.
10272 * nss/Makefile: Add rules to build libnss_db.
10273 * nss/Versions: Add libnss_db information. Organize libnss_files
10274 entries better.
10275 * nss/db-Makefile: Add gshadow support. Change rules for the new
10276 makedb progra. Some minor improvements to generate smaller files.
10277 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10278 here from...
10279 * nss/makedb.c: ...here.
10280 Improve database format to be smaller and require less memory at
10281 runtime.
10282 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10283 db anymore.
10284 * nss/nss_db/db-netgrp.c: Likewise.
10285 * nss/nss_db/db-open.c: Likewise.
10286 * nss/nss_files/flies-XXX.x: Adjust comments.
10287 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10288 * nss/nss_files/files-grp.c: Likewise.
10289 * nss/nss_files/files-hosts.c: Likewise.
10290 * nss/nss_files/files-network.c: Likewise.
10291 * nss/nss_files/files-proto.c: Likewise.
10292 * nss/nss_files/files-pwd.c: Likewise.
10293 * nss/nss_files/files-rpc.c: Likewise.
10294 * nss/nss_files/files-service.c: Likewise.
10295 * nss/nss_files/files-sgrp.c: Likewise.
10296 * nss/nss_files/files-spwd.c: Likewise.
10297 * nss/nss_db/db-alias.c: Removed.
10298 * nss/nss_db/dummy-db.h: Removed.
10299
9ee76b5a
UD
103002011-06-02 Ulrich Drepper <drepper@gmail.com>
10301
10302 * nss/makedb.c: Rewritten to not use database library.
10303 * nss/Makefile: Update to build new makedb program.
10304
c71ca1f8
AJ
103052011-06-14 Andreas Jaeger <aj@suse.de>
10306
10307 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10308 memset declaration.
10309
3154bfb8
UD
103102011-06-10 Andreas Schwab <schwab@redhat.com>
10311
10312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10313 tmpbuf.
10314
b350afab
RM
103152011-06-10 Roland McGrath <roland@hack.frob.com>
10316
decd4e50
RM
10317 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10318 * elf/Makefile ($(objpfx)ld.so): Likewise.
10319
5615eaf2
RM
10320 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10321 Don't list ld.so twice in dependencies.
10322
10323 * posix/bug-regex31.c: Include <stdlib.h>.
10324
10325 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10326
10327 * nis/nss_compat/compat-spwd.c
10328 (getspent_next_nss_netgr): Remove unused variable.
10329 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10330
10331 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10332 nonmembers" output to use the right array.
10333
10334 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10335
10336 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10337
10338 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10339 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10340 * catgets/gencat.c (read_input_file): Likewise.
10341 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10342
10343 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10344 variable definition inside #if's controlling its use.
10345
10346 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10347
10348 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10349
10350 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10351
10352 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10353 unreachable code.
10354
10355 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10356
b68e08db
RM
10357 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10358 * configure: Regenerated.
10359
b350afab
RM
10360 * Makerules: Revert last change.
10361 * elf/Makefile: Likewise.
10362
28368601
RM
103632011-06-09 Roland McGrath <roland@hack.frob.com>
10364
10365 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10366 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10367 (reloc-link): Likewise.
10368
11988f8f
UD
103692011-06-09 Ulrich Drepper <drepper@gmail.com>
10370
10371 * elf/Makefile: Add rules to build pldd.
10372 * elf/pldd.c: New file.
10373 * elf/pldd-xx.c: New file.
10374
e80fab37
UD
103752011-06-07 Ulrich Drepper <drepper@gmail.com>
10376
10377 * version.h: Update for 2.15 development version.
10378
9b849836
DM
103792011-06-07 David S. Miller <davem@davemloft.net>
10380
10381 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10382 ifuncs.
10383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10384 elf_machine_lazy_rel): Likewise.
10385 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10387 elf_machine_lazy_rel): Likewise.
10388 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10389 dl_hwcap via passed in argument.
10390 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10391 Likewise.
10392
5a31b283
AK
103932011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10394
10395 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10396
069e52f8
RM
103972011-06-06 Roland McGrath <roland@hack.frob.com>
10398
10399 [BZ #12849]
10400 * manual/fdl-1.1.texi: New file, verbatim from:
10401 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10402 * manual/lgpl-2.1.texi: New file, verbatim from:
10403 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10404 * manual/Makefile (licenses): New variable, list those new file names.
10405 (texis): Use it.
10406 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10407
10408 * manual/fdl.texi: File removed.
10409 * manual/lesser.texi: File removed.
10410 * manual/libc.texinfo (Copying, Documentation License):
10411 Use new @include file names, put @appendix directive before @include.
10412
f16846a5
JJ
104132011-06-04 Jakub Jelinek <jakub@redhat.com>
10414
10415 [BZ #12841]
10416 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10417 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10418 (mq_open): Add __NTH.
10419
3d29045b
L
104202011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10421
10422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10423 Assume Intel Core i3/i5/i7 processor if AVX is available.
10424
8c297311
UD
104252011-05-31 Ulrich Drepper <drepper@gmail.com>
10426
10427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10428 typo.
10429
c8fc0c91
UD
104302011-05-31 Andreas Schwab <schwab@redhat.com>
10431
10432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10433 memory. Use alloca_account. Fix memory leak when retrying.
10434
5b27a807
UD
104352011-05-31 Ulrich Drepper <drepper@gmail.com>
10436
356f8bc6
UD
10437 * version.h (RELEASE): Bump for 2.14 release.
10438 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10439
5b27a807
UD
10440 * config.make.in (RANLIB): Remove entry.
10441
01f16ab0
UD
104422011-05-30 Ulrich Drepper <drepper@gmail.com>
10443
41fce8bd
UD
10444 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10445 (libc.pot): Work around missing support for .ksh extension in xgettext.
10446
4769ae77
UD
10447 [BZ #12684]
10448 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10449 if both request failed.
10450 (send_dg): In case of server errors clear resplen or *resplen2.
10451
6b1e7d19
UD
10452 [BZ #12454]
10453 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10454 when there are multiple maps.
10455 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10456 (_dl_fini): Remove test here.
10457
01f16ab0
UD
10458 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10459
b1ebd700
UD
104602011-05-29 Ulrich Drepper <drepper@gmail.com>
10461
7ae22829
UD
10462 [BZ #12350]
10463 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10464 bit from old_res_options.
10465 (gaih_inet): Likewise.
10466
553149f6 10467 [BZ #11099]
18a84741 10468 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10469 as signed.
10470
652ffab1
UD
10471 * resolv/res_init.c (res_setoptions): Make the code more compact.
10472
16985fd0
UD
10473 [BZ #11558]
10474 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10475 set RES_USEVC.
10476
0464f746
UD
10477 [BZ #11634]
10478 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10479
7d17596c
UD
10480 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10481
cf6bbbd7
UD
10482 [BZ #11781]
10483 * malloc/malloc.h: Declare malloc hook variables as volatile.
10484
13f1ab36
UD
10485 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10486 in last patch.
10487
b1ebd700
UD
10488 [BZ #11799]
10489 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10490 raise in the comment.
80e2212d
UD
10491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10494
ce67228d
UD
104952011-05-28 Ulrich Drepper <drepper@gmail.com>
10496
8887a920
UD
10497 [BZ #12811]
10498 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10499 grow the buffers more if it already has to be sufficient.
10500 (build_wcs_upper_buffer): Likewise.
10501 * posix/regexec.c (check_matching): Likewise.
10502 (clean_state_log_if_needed): Likewise.
10503 (extend_buffers): Don't enlarge buffers beyond size of the input
10504 buffer.
10505 Patches mostly by Emil Wojak <emil@wojak.eu>.
10506 * posix/bug-regex32.c: New file.
10507 * posix/Makefile (tests): Add bug-regex32.
10508
4f031072
UD
10509 * locale/findlocale.c (_nl_find_locale): Return right away if
10510 _nl_explode_name failed.
10511 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10512
d0478f0c
UD
10513 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10514
de81b246
UD
10515 * debug/xtrace.sh: Unify messages.
10516 * malloc/memusage.sh: Likewise.
10517
c738465a
UD
10518 [BZ #12813]
10519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10520 time symbol from vDSO. Substitute with vsyscall if not available.
10521 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10522 __vdso_time.
10523
f1f929d7
UD
10524 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10525 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10527 Add sendmmsg and internal_sendmmsg.
10528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10529 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10530 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10531
ce67228d
UD
10532 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10533 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10535
e57420c6
UD
105362011-05-27 Ulrich Drepper <drepper@gmail.com>
10537
a8509ca5
UD
10538 [BZ #12813]
10539 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10540 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10541 available.
10542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10543 __vdso_getcpu.
10544
e57420c6
UD
10545 [BZ #12814]
10546 * iconvdata/Makefile (tests): Add bug-iconv9.
10547 * iconvdata/bug-iconv9.c: New file.
10548
4d07db15
AS
105492011-05-27 Andreas Schwab <schwab@redhat.com>
10550
10551 [BZ #12814]
10552 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10553
ea486f69
JJ
105542011-05-25 Jakub Jelinek <jakub@redhat.com>
10555
10556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10557 (struct user_regs_struct): Change intcs field back to cs.
10558
6f038433
UD
105592011-05-25 Ulrich Drepper <drepper@gmail.com>
10560
10561 * po/ja.po: Update from translation team.
10562
67f86a25
UD
105632011-05-23 Ulrich Drepper <drepper@gmail.com>
10564
10565 [BZ #12795]
10566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10567 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10568
def7fbd6
AS
105692011-05-20 Andreas Schwab <schwab@redhat.com>
10570
10571 * stdlib/longlong.h: Update from GCC.
10572
f50ef8f1
AS
105732011-05-23 Andreas Schwab <schwab@redhat.com>
10574
10575 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10576 parameter name.
10577 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10578 Add parameter name.
10579 (__sysconf): Pass it down.
10580
de7ce8f1
UD
105812011-05-22 Ulrich Drepper <drepper@gmail.com>
10582
f2962a71
UD
10583 [BZ #12671]
10584 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10585 some situations.
10586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10587 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10588 add in in __libc_use_alloca calls. Adjust callers.
10589 (glob): Use malloc in some situations.
10590
de7ce8f1
UD
10591 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10592 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10593 pltexit.
10594
aec84f53
UD
105952011-05-21 Ulrich Drepper <drepper@gmail.com>
10596
05bb4a68
UD
10597 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10598 and CLOCK_BOOTTIME_ALARM.
10599
7ea72f99
UD
10600 [BZ #12782]
10601 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10602 is returned.
10603
7e4afad5
UD
10604 * string/_strerror.c (__strerror_r): Print negative errors as signed
10605 numbers.
10606
8e211fec
UD
10607 [BZ #12777]
10608 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10609 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10610 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10611
f7d82dc9
UD
10612 * configure.in: Fix typo in redirection and correct removal of test
10613 files in two cases.
10614
cc9e536d
UD
10615 [BZ #12788]
10616 * locale/setlocale.c (new_composite_name): Fix test to check for
10617 identical name of all categories.
10618
aec84f53
UD
10619 [BZ #12792]
10620 * libio/filedoalloc.c (local_isatty): New function.
10621 (_IO_file_doallocate): Use local_isatty.
10622 * stdio-common/perror.c (perror): In case a new stream is used
10623 forward the stream error.
10624 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10625 error flag.
10626
78e64fdc
RT
106272011-05-20 Ulrich Drepper <drepper@gmail.com>
10628
34a9094f
UD
10629 [BZ #11869]
10630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10631 alloca.
10632 * include/alloca.h (extend_alloca_account): Define.
10633
78e64fdc
RT
10634 [BZ #11857]
10635 * posix/regex.h: Fix comments with documentation of user-accessible
10636 fields after compilation and describe correct free'ing of pattern
10637 after re_compile_pattern.
10638 Patch by Reuben Thomas <rrt@sc3d.org>.
10639
457bddfc
RA
106402011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10641
10642 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10643 and -mno-altivec to prevent the compiler from using Altivec and/or
10644 VSX instructions when the corresponding registers are not available.
10645
a4527b51
AS
106462011-05-19 Andreas Schwab <schwab@redhat.com>
10647
10648 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10649
ed690b2f
UD
106502011-05-19 Ulrich Drepper <drepper@gmail.com>
10651
10652 * libio/freopen.c (freopen): Use __dup2, not dup2.
10653 * libio/freopen64.c (freopen64): Likewise.
10654
8db73634
L
106552011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10656
10657 [BZ #12775]
10658 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10659 * math/Makefile (tests): Add test-powl.
10660 (CFLAGS-test-powl.c): Define.
10661 * math/test-powl.c: New file.
10662
0a197a9d
L
106632011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10666
ee30c380
UD
106672011-05-17 Ulrich Drepper <drepper@gmail.com>
10668
10669 [BZ #11837]
10670 * iconvdata/gb18030.c: Update to GB18020-2005.
10671
6ce75379
UD
106722011-05-16 Ulrich Drepper <drepper@gmail.com>
10673
a4b89fd8
AR
10674 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10675 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10676 Patch by Aharon Robbins <arnold@skeeve.com>.
10677
ea389b12
UD
10678 [BZ #11892]
10679 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10680 on the stack.
10681
68a3f91f
UD
10682 [BZ #11895]
10683 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10684 through underflows.
10685
15cc7dd1
UD
10686 [BZ #12766]
10687 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10688 point to strings before performing equality test for error_one_per_line
10689 mode.
10690
f3799213
UD
10691 [BZ #11697]
10692 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10693
d79a9c94
UD
10694 [BZ #11820]
10695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10696 (struct user_fpregs_struct): Avoid __uint*_t types.
10697
56e5eb46
UD
10698 [BZ #6420]
10699 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10700 symbol info. Use it instead of calling _dl_addr locally.
10701 (lock_and_info): New function.
10702 (tr_freehook): Call lock_and_info and pass symbol info as additional
10703 parameter to tr_where.
10704 (tr_mallochook): Likewise.
10705 (tr_reallochook): Likewise.
10706 (tr_memalignhook): Likewise.
10707
6ce75379
UD
10708 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10709 used and couldn't be at all thread-safe.
10710
f8a3b5bf
UD
107112011-05-15 Ulrich Drepper <drepper@gmail.com>
10712
94b7cc37
UD
10713 * libio/freopen.c (freopen): Don't close old file descriptor
10714 before the new one is opened. Instead dup the new file descriptor
10715 to the old one after the new stream is created.
10716 * libio/freopen64.c (freopen64): Likewise.
10717 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10718 * libio/fileops.c (_IO_new_file_close_it): Handle new
10719 _IO_FLAGS2_NOCLOSE flag.
10720 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10721 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10722 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10723 _IO_FLAGS2_NOCLOSE flag.
10724 * include/unistd.h: Add hidden_proto for dup3.
10725 Define __have_dup3.
10726 * io/dup3.c: Define hidden symbol.
10727 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10728
bd25564e
UD
10729 [BZ #7101]
10730 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10731 when an incomplete long option is used.
10732 * posix/tst-getopt_long1.c: New file.
10733 * posix/Makefile (tests): Add tst-getopt_long1.
10734
c84cfef4
UD
10735 [BZ #10138]
10736 * scripts/config.guess: Update from autoconf-2.68.
10737 * scripts/config.sub: Likewise.
10738
3b85df27
UD
10739 [BZ #10157]
10740 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10741 tests into ...
10742 (has_cpuclock): ...this. New function.
10743 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10744 macro here based on has_cpuclock code.
10745
15a856b1
UD
10746 [BZ #10149]
10747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10748 First byte (not low byte) is now always NUL.
10749 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10750
05f399e6
UD
10751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10752 Use non-cancelable interfaces.
10753
10a52685 10754 [BZ #9809]
94ecc67d
UD
10755 * locale/iso-639.def: Add entry for Sorani.
10756
f8a3b5bf
UD
10757 [BZ #11901]
10758 * include/stdlib.h: Move include protection to the right place.
10759 Define abort_msg_s. Declare __abort_msg with it.
10760 * stdlib/abort.c (__abort_msg): Adjust type.
10761 * assert/assert.c (__assert_fail_base): New function. Majority
10762 of code from __assert_fail. Allocate memory for __abort_msg with
10763 mmap.
10764 (__assert_fail): Now call __assert_fail_base.
10765 * assert/assert-perr.c: Remove bulk of implementation. Use
10766 __assert_fail_base.
10767 * include/assert.hL Declare __assert_fail_base.
10768 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10769 mmap.
10770 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10771
1af4e298
UD
107722011-05-14 Ulrich Drepper <drepper@gmail.com>
10773
f8a3b5bf 10774 [BZ #11952]
d26dfc60
MG
10775 [BZ #12453]
10776 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10777 until all modules are registered in the DTV.
10778 * elf/Makefile: Add rules to build and run tst-tls19.
10779 * elf/tst-tls19.c: New file.
10780 * elf/tst-tls19mod1.c: New file.
10781 * elf/tst-tls19mod2.c: New file.
10782 * elf/tst-tls19mod3.c: New file.
10783 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10784
2fc54d6f
UD
10785 [BZ #12083]
10786 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10787 correctly.
10788
98d76b46
UD
10789 [BZ #12601]
10790 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10791 two-byte sequence errors.
10792 * iconvdata/Makefile (tests): Add bug-iconv8.
10793 * iconvdata/bug-iconv8.c: New file.
10794
da3c19ef
UD
10795 [BZ #12626]
10796 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10797 buf2 definition.
10798
ca408c15
UD
10799 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10800
d6f67f7d
UD
10801 [BZ #12432]
10802 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10803 (dummy_getcfa): New function.
10804 (init): Get _Unwind_GetCFA address, use dummy if not found.
10805 (backtrace_helper): In recursion check, also check whether CFA changes.
10806 (__backtrace): Completely initialize arg.
10807
1af4e298 10808 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10809 storing incomplete byte sequence in state object. Avoid testing for
10810 guaranteed too small input if we know there is enough data available.
1af4e298 10811
da62f81b
AS
108122011-05-11 Andreas Schwab <schwab@redhat.com>
10813
10814 * Makeconfig (+link-pie): Indent.
10815 * Rules (binaries-pie): Define if $(have-fpie) and
10816 $(build-shared).
10817 (binaries-shared): Also filter out $(binaries-pie).
10818 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10819 * nscd/Makefile (others-pie): Add nscd.
10820 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10821 ($(objpfx)nscd): Remove command override.
10822 * login/Makefile (others-pie): Add pt_chown.
10823 ($(objpfx)pt_chown): Remove command override.
10824 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10825 remove command overrides.
10826
fcabc0f8
UD
108272011-05-13 Ulrich Drepper <drepper@gmail.com>
10828
20030ae6
UD
10829 * libio/tst_putwc.c: Fix error messages.
10830
fcabc0f8
UD
10831 [BZ #12724]
10832 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10833 currently writing and seek to current position when not.
10834 * libio/Makefile (tests): Add bug-fclose1.
10835 * libio/bug-fclose1.c: New file.
10836
320a5dc0
PB
108372011-05-12 Ulrich Drepper <drepper@gmail.com>
10838
10839 [BZ #12511]
10840 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10841 don't set DF_1_NODELETE here.
10842 (do_lookup_x): When entering new entry test for copy relocation
10843 and if necessary set DF_1_NODELETE flag.
10844 * elf/tst-unique4.cc: New file.
10845 * elf/tst-unique4.h: New file.
10846 * elf/tst-unique4lib.cc: New file.
10847 * elf/Makefile: Add rules to build and run tst-unique4.
10848 Patch by Piotr Bury <pbury@goahead.com>.
10849
22836f52
UD
108502011-05-11 Ulrich Drepper <drepper@gmail.com>
10851
f574184a
UD
10852 [BZ #12052]
10853 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10854
e1fb097f
UD
10855 [BZ #12625]
10856 * misc/mntent_r.c (addmntent): Flush the stream after the output
10857
22836f52
UD
10858 [BZ #12393]
10859 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10860 (is_trusted_path_normalize): Skip initial colon. Append slash
10861 to empty buffer. Duplicate is_trusted_path code but allow
10862 constructed patch to be prefix.
10863 (is_dst): Allow $ORIGIN followed by /.
10864 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10865 Correct testing of result of is_trusted_path_normalize
10866 (decompose_rpath): Fix warning.
10867
7b3b0b2a
UD
108682011-05-10 Ulrich Drepper <drepper@gmail.com>
10869
10870 [BZ #11257]
10871 * grp/initgroups.c (internal_getgrouplist): When we found the service
10872 list through the initgroups entry in nsswitch.conf do not always
10873 continue on a successful lookup. Don't always use the
eac80ce2 10874 __nss_group_database value if it is set.
7b3b0b2a
UD
10875 * nss/nsswitch.conf (initgroups): Change action for successful db
10876 lookup to continue for compatibility.
10877
2a81eaa5
UD
108782011-05-09 Ulrich Drepper <drepper@gmail.com>
10879
be97a69e
UD
10880 [BZ #11532]
10881 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10882 and CP774 modules.
10883 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10884 and CP774 modules.
10885 * iconvdata/tst-tables.sh: Likewise.
10886 * iconvdata/cp770.c: New file.
10887 * iconvdata/cp771.c: New file.
10888 * iconvdata/cp772.c: New file.
10889 * iconvdata/cp773.c: New file.
10890 * iconvdata/cp774.c: New file.
10891 * iconvdata/testdata/CP770: New file.
10892 * iconvdata/testdata/CP770..UTF8: New file.
10893 * iconvdata/testdata/CP771: New file.
10894 * iconvdata/testdata/CP771..UTF8: New file.
10895 * iconvdata/testdata/CP772: New file.
10896 * iconvdata/testdata/CP772..UTF8: New file.
10897 * iconvdata/testdata/CP773: New file.
10898 * iconvdata/testdata/CP773..UTF8: New file.
10899 * iconvdata/testdata/CP774: New file.
10900 * iconvdata/testdata/CP774..UTF8: New file.
10901
10902 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10903 END CHARMAP line.
10904 * iconvdata/gen-8bit-gap.sh: Likewise.
10905 * iconvdata/gen-8bit.sh: Likewise.
10906
c1e9e399
UD
10907 * locale/iso-639.def: Add ary entry.
10908
24c55fb3 10909 [BZ #11258]
96b4b1b0
UD
10910 * locale/C-translit.h.in: Add U20A1 transliteration.
10911
bdc2f971
KB
10912 [BZ #12178]
10913 * locale/iso-639.def: Add wae entry.
10914 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10915
2952b117
UD
10916 [BZ #12545]
10917 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10918 for n.
10919
2a81eaa5
UD
10920 [BZ #12711]
10921 * locale/C-translit.h.in: Add entry for U20B9.
10922 Patch by pravin.d.s@gmail.com.
10923
28377d1b
UD
109242011-05-08 Ulrich Drepper <drepper@gmail.com>
10925
7fb90fb8
UD
10926 [BZ #12713]
10927 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10928 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10929 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10930 in rtld. Use *stat64.
7fb90fb8 10931 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10932 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10933 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10934 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10935 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10936 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10937 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10938 __fstatat64 macros.
7fb90fb8
UD
10939 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10940 * dirent/rewinddir.c: Add libc_hidden_def.
10941 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10942 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10943
28377d1b
UD
10944 * include/dirent.h (__alloc_dir): Add flags parameter.
10945 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10946 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10947 __alloc_dir.
10948 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10949 from fdopendir if O_CLOEXEC is already set.
10950
66bdbaa4
AM
109512011-03-15 Alan Modra <amodra@gmail.com>
10952
10953 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10954 l_tls_firstbyte_offset non-zero. Save padding offset in
10955 l_tls_firstbyte_offset for later use.
10956 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10957 freeing static tls block.
10958
95721191
JN
109592011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10960
10961 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10962 where #ifdef was intended. The intent is to prevent ARG_MAX from
10963 being defined by the kernel headers.
10964
f87dfb1f
UD
109652011-05-07 Ulrich Drepper <drepper@gmail.com>
10966
10967 [BZ #12734]
10968 * resolv/resolv.h: Define RES_NOTLDQUERY.
10969 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10970 no-tld-query and set RES_NOTLDQUERY.
10971 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10972 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10973 modern BIND to search name as TLD unless forbidden.
10974
47c3cd7a
UD
109752011-05-07 Petr Baudis <pasky@suse.cz>
10976 Ulrich Drepper <drepper@gmail.com>
10977
10978 [BZ #12393]
10979 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10980 (is_trusted_path): ...to here.
c1e9ea35 10981 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10982 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10983 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10984
8a35c912
PP
109852011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10986
10987 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10988 __BEGIN/__END_DECLS.
10989
acd41f47
UD
109902011-05-06 Ulrich Drepper <drepper@gmail.com>
10991
10992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10993 NSS_STATUS_NOTFOUND if no record was found.
10994
597df647
AS
109952011-05-05 Andreas Schwab <schwab@redhat.com>
10996
10997 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10998 (headers-not-in-tirpc): Remove rpc/netdb.h
10999 * resolv/netdb.h: Revert last change.
11000
b9af1301
PP
110012011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11002
11003 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11004 circular dependency between libgcc.a and libc.a.
11005
4e34d5f5
AS
110062011-05-05 Andreas Schwab <schwab@redhat.com>
11007
11008 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11009 * nis/Makefile: Don't install rpcsvc/*.
11010 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11011 instead of <rpc/types.h>.
11012 (MAXHOSTNAMELEN): Define.
11013
00ee369c
AS
110142011-05-03 Andreas Schwab <schwab@redhat.com>
11015
11016 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11017
0b592a30
MB
110182011-04-28 Maciej Babinski <mbabinski@google.com>
11019
11020 [BZ #12714]
11021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11022 gethostbyname4_r when IPv6 results are possible.
11023
6e04cbbe
UD
110242011-05-02 Ulrich Drepper <drepper@gmail.com>
11025
11026 [BZ #12723]
11027 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11028 _PC_PIPE_BUF handling.
11029
e4ecafe0
BH
110302011-04-30 Bruno Haible <bruno@clisp.org>
11031
11032 [BZ #12717]
11033 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11034 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11035 to 'int'.
11036 * inet/getnameinfo.c (getnameinfo): Likewise.
11037
125ee683
UD
110382011-04-29 Ulrich Drepper <drepper@gmail.com>
11039
11040 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11041 to groups setting in database lookup.
11042 * nss/nsswitch.conf: Add initgroups entry.
11043
b722481a
EB
110442011-04-22 Ulrich Drepper <drepper@gmail.com>
11045
11046 [BZ #12685]
11047 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11048 mode string.
11049 Patch by Eric Blake <eblake@redhat.com>.
11050
4df46dbd
L
110512011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * sunrpc/Makefile (need-export-routines): Add svc_run.
11054 (routines): Remove svc_run.
11055 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11056 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11057 * sunrpc/svc_run.c (svc_run): Likewise.
11058 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11059
e84142d2
UD
110602011-04-21 Ulrich Drepper <drepper@gmail.com>
11061
11062 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11063 problem in reallocation in last patch.
11064
877175d8
UD
110652011-04-20 Ulrich Drepper <drepper@gmail.com>
11066
11067 * sunrpc/Makefile: Move inclusion of Rules.
11068
ab8eed78
UD
110692011-04-19 Ulrich Drepper <drepper@gmail.com>
11070
11071 * nss/nss_files/files-initgroups.c: New file.
11072 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11073 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11074 _nss_files_initgroups_dyn.
11075
e3d8f584
RS
110762011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11077
11078 * elf/elf.h (R_ARM_IRELATIVE): Define.
11079
af190f45
UD
110802011-04-19 Ulrich Drepper <drepper@gmail.com>
11081
11082 * po/ru.po: Update from translation team.
11083
53cf59ef
UD
110842011-04-17 Ulrich Drepper <drepper@gmail.com>
11085
11086 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11087 dependencies.
11088
4c559bcd
MF
110892011-02-06 Mike Frysinger <vapier@gentoo.org>
11090
11091 [BZ #12653]
11092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11093 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11096 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11097
4420675c
AS
110982011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11099
11100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11101 differing bytes.
11102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11105
75ea32ab
UD
111062011-04-17 Ulrich Drepper <drepper@gmail.com>
11107
11108 [BZ #12420]
11109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11110 storing it.
11111 * stdlib/bug-getcontext.c: New file.
11112 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11113
27390476
AK
111142011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11115
11116 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11117 instructions into .machine "z9-109".
11118 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11119 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11120
10442705
AK
111212011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11122
11123 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11124 between environment variables and auxiliary vector.
11125
7b57bfe5
UD
111262011-04-16 Ulrich Drepper <drepper@gmail.com>
11127
11128 * Makefile: Add rules to build linkobj/libc.so.
11129 * include/libc-symbols.h: Define libc_hidden_nolink.
11130 * include/rpc/auth.h: Mark functions which are to be hidden.
11131 * include/rpc/auth_des.h: Likewise.
11132 * include/rpc/auth_unix.h: Likewise.
11133 * include/rpc/clnt.h: Likewise.
11134 * include/rpc/des_crypt.h: Likewise.
11135 * include/rpc/key_prot.h: Likewise.
11136 * include/rpc/pmap_clnt.h: Likewise.
11137 * include/rpc/pmap_prot.h: Likewise.
11138 * include/rpc/pmap_rmt.h: Likewise.
11139 * include/rpc/rpc_msg.h: Likewise.
11140 * include/rpc/svc.h: Likewise.
11141 * include/rpc/svc_auth.h: Likewise.
11142 * include/rpc/xdr.h: Likewise.
11143 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11144 * nss/Makefile: Likewise.
11145 * sunrpc/Makefile: Don't install headers. Build library with normal
11146 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11147 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11148 for the compat linking library. Remove use of INTDEF/INTUSE.
11149 * sunrpc/auth_none.c: Likewise.
11150 * sunrpc/auth_unix.c: Likewise.
11151 * sunrpc/authdes_prot.c: Likewise.
11152 * sunrpc/authuxprot.c: Likewise.
11153 * sunrpc/clnt_gen.c: Likewise.
11154 * sunrpc/clnt_perr.c: Likewise.
11155 * sunrpc/clnt_raw.c: Likewise.
11156 * sunrpc/clnt_simp.c: Likewise.
11157 * sunrpc/clnt_tcp.c: Likewise.
11158 * sunrpc/clnt_udp.c: Likewise.
11159 * sunrpc/clnt_unix.c: Likewise.
11160 * sunrpc/des_crypt.c: Likewise.
11161 * sunrpc/des_soft.c: Likewise.
11162 * sunrpc/get_myaddr.c: Likewise.
11163 * sunrpc/key_call.c: Likewise.
11164 * sunrpc/key_prot.c: Likewise.
11165 * sunrpc/netname.c: Likewise.
11166 * sunrpc/pm_getmaps.c: Likewise.
11167 * sunrpc/pm_getport.c: Likewise.
11168 * sunrpc/pmap_clnt.c: Likewise.
11169 * sunrpc/pmap_prot.c: Likewise.
11170 * sunrpc/pmap_prot2.c: Likewise.
11171 * sunrpc/pmap_rmt.c: Likewise.
11172 * sunrpc/publickey.c: Likewise.
11173 * sunrpc/rpc_cmsg.c: Likewise.
11174 * sunrpc/rpc_common.c: Likewise.
11175 * sunrpc/rpc_dtable.c: Likewise.
11176 * sunrpc/rpc_prot.c: Likewise.
11177 * sunrpc/rpc_thread.c: Likewise.
11178 * sunrpc/rtime.c: Likewise.
11179 * sunrpc/svc.c: Likewise.
11180 * sunrpc/svc_auth.c: Likewise.
11181 * sunrpc/svc_authux.c: Likewise.
11182 * sunrpc/svc_raw.c: Likewise.
11183 * sunrpc/svc_run.c: Likewise.
11184 * sunrpc/svc_simple.c: Likewise.
11185 * sunrpc/svc_tcp.c: Likewise.
11186 * sunrpc/svc_udp.c: Likewise.
11187 * sunrpc/svc_unix.c: Likewise.
11188 * sunrpc/svcauth_des.c: Likewise.
11189 * sunrpc/xcrypt.c: Likewise.
11190 * sunrpc/xdr.c: Likewise.
11191 * sunrpc/xdr_array.c: Likewise.
11192 * sunrpc/xdr_float.c: Likewise.
11193 * sunrpc/xdr_intXX_t.c: Likewise.
11194 * sunrpc/xdr_mem.c: Likewise.
11195 * sunrpc/xdr_rec.c: Likewise.
11196 * sunrpc/xdr_ref.c: Likewise.
11197 * sunrpc/xdr_sizeof.c: Likewise.
11198 * sunrpc/xdr_stdio.c: Likewise.
11199
e6c61494
UD
112002011-04-10 Ulrich Drepper <drepper@gmail.com>
11201
11202 [BZ #12650]
11203 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11204 * sysdeps/ia64/dl-tls.h: Likewise.
11205 * sysdeps/powerpc/dl-tls.h: Likewise.
11206 * sysdeps/s390/dl-tls.h: Likewise.
11207 * sysdeps/sh/dl-tls.h: Likewise.
11208 * sysdeps/sparc/dl-tls.h: Likewise.
11209 * sysdeps/x86_64/dl-tls.h: Likewise.
11210 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11211
34fe483e
AS
112122011-03-14 Andreas Schwab <schwab@redhat.com>
11213
11214 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11215 rpath element also skip the following colon.
11216 (expand_dynamic_string_token): Add is_path parameter and pass
11217 down to DL_DST_REQUIRED and _dl_dst_substitute.
11218 (decompose_rpath): Call expand_dynamic_string_token with
11219 non-zero is_path. Ignore empty rpaths.
11220 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11221 with zero is_path.
11222
f12a32e6
AS
112232011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11224
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11226 Make cancelable.
11227
38a7d692
UD
112282011-04-09 Ulrich Drepper <drepper@gmail.com>
11229
11230 [BZ #12655]
11231 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11232 Patch by Filipe David Manana <fdmanana@apache.org>.
11233
e451d22b
AS
112342011-04-07 Andreas Schwab <schwab@redhat.com>
11235
11236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11237 Maintain aligned stack.
11238 (CHECK_RSP): Remove unused macro.
11239
dedc7c7b
UD
112402011-04-03 Ulrich Drepper <drepper@gmail.com>
11241
11242 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11243 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11244
94521213
UD
112452011-04-02 Ulrich Drepper <drepper@gmail.com>
11246
11247 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11248
8cb700c0 11249 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11250
0354e355
L
112512011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 [BZ #12518]
11254 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11255 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11256 * sysdeps/x86_64/memmove.c: New file.
11257 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11258 (memcpy): Renamed to ...
11259 (__new_memcpy): This.
11260 (memcpy): Provide GLIBC_2_14 memcpy.
11261 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11262 (memcpy): Provide GLIBC_2_2_5 memcpy.
11263
8593482f
UD
112642011-04-01 Ulrich Drepper <drepper@gmail.com>
11265
11266 [BZ #12631]
11267 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11268
81a5726b
AS
112692011-03-30 Andreas Schwab <schwab@redhat.com>
11270
11271 * misc/syncfs.c: New file.
11272 * misc/Makefile (routines): Add syncfs.
11273 * posix/unistd.h: Declare syncfs.
11274 * sysdeps/unix/syscalls.list: Add syncfs.
11275
00e5419f
AS
112762011-04-01 Andreas Schwab <schwab@redhat.com>
11277
11278 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11279 open_by_handle_at.
11280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11285 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11287
748876bf
UD
112882011-04-01 Ulrich Drepper <drepper@gmail.com>
11289
658e451d
UD
11290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11297
748876bf
UD
11298 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11299 sync_file_range.c with -fexceptions.
11300 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11301 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11302 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11303 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11304 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11305 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11307 sync_file_range as cancellation point
11308 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11309 now a wrapper around __call_sync_file_range with cancellation handling.
11310 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11311 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11312 function name to __call_sync_file_range.
11313 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11314 Add call_sync_file_range.
748876bf 11315
6e63d5e1
AS
113162011-04-01 Andreas Schwab <schwab@redhat.com>
11317
11318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11319 bits/timex.h.
6e63d5e1 11320
46998f74
UD
113212011-04-01 Ulrich Drepper <drepper@gmail.com>
11322
4c1423ed
UD
11323 * iconv/iconv.h: Fix typo in comment.
11324 * io/fcntl.h: Likewise.
11325 * libio/stdio.h: Likewise.
11326 * posix/spawn.h: Likewise.
11327 * posix/unistd.h: Likewise.
11328 * stdlib/stdlib.h: Likewise.
11329 * time/time.h: Likewise.
11330 * wcsmbs/wchar.h: Likewise.
11331
158648c0
UD
11332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11333 open_by_handle): Add.
11334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11335 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11336 Augment a few comments.
11337 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11342 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11343 open_by_handle.
11344
46998f74
UD
11345 * io/fcntl.h (AT_EMPTY_PATH): Define.
11346
83fe108b
UD
113472011-03-30 Ulrich Drepper <drepper@gmail.com>
11348
11349 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11350 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11351 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11352 to...
11353 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11354 * Versions.def: Add GLIBC_2.14.
11355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11356 Export.
83fe108b 11357
bb242059
UD
113582011-03-22 Ulrich Drepper <drepper@gmail.com>
11359
11360 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11361 round counter.
11362 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11363
c97a1282
L
113642011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11365
11366 [BZ #12597]
11367 * string/test-strncmp.c (do_page_test): New function.
11368 (check2): Likewise.
11369 (test_main): Call check2.
11370 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11371
2a115601
UD
113722011-03-20 Ulrich Drepper <drepper@gmail.com>
11373
11374 [BZ #12587]
11375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11376 Handle cache information in CPU leaf 4.
11377 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11378
8126d904
UD
113792011-03-18 Ulrich Drepper <drepper@gmail.com>
11380
042c49c6 11381 [BZ #12583]
8126d904
UD
11382 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11383 character representation.
11384 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11385
ccfe366e
RA
113862011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11387
11388 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11389 END(__isnan) to END(__isnanf) to match function entry point/label
11390 EALIGN(__isnanf,...).
11391
c6e13027
JJ
113922011-03-10 Jakub Jelinek <jakub@redhat.com>
11393
11394 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11395
33f85a3f
UD
113962011-03-10 Ulrich Drepper <drepper@gmail.com>
11397
028478fa
UD
11398 [BZ #12510]
11399 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11400 copy from the symbol referenced in the relocation to initialize the
11401 used variable.
11402 Patch by Piotr Bury <pbury@goahead.com>.
11403 * elf/Makefile: Add rules to build and tst-unique3.
11404 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11405 * elf/tst-unique3.cc: New file.
11406 * elf/tst-unique3.h: New file.
11407 * elf/tst-unique3lib.cc: New file.
11408 * elf/tst-unique3lib2.cc: New file.
11409
33f85a3f
UD
11410 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11411
03592fc7
MF
114122011-03-10 Mike Frysinger <vapier@gentoo.org>
11413
11414 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11415 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11416 to _start.
03592fc7 11417
6a5ee102
UD
114182011-03-06 Ulrich Drepper <drepper@gmail.com>
11419
11420 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11421 to-be-loaded object along a path to loader is ld.so.
11422
7e4ba49c
HJ
114232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11424 Ulrich Drepper <drepper@gmail.com>
11425
11426 * sysdeps/x86_64/memset.S: After aligning destination, code
11427 branches to different locations depending on the value of
11428 misalignment, when multiarch is enabled. Fix this.
11429
114302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11431
11432 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11433 Set _x86_64_preferred_memory_instruction for AMD processsors.
11434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11435 Set bit_Prefer_SSE_for_memop for AMD processors.
11436
13a804de
UD
114372011-03-04 Ulrich Drepper <drepper@gmail.com>
11438
11439 * libio/fmemopen.c (fmemopen): Optimize a bit.
11440
9d25c392
AS
114412011-03-03 Andreas Schwab <schwab@redhat.com>
11442
11443 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11444
a5543c6a
RM
114452011-03-03 Roland McGrath <roland@redhat.com>
11446
11447 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11448
012d35f7
DM
114492011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11450
7e4ba49c 11451 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11452 __bzero_ultra1 instead of __memset_ultra1.
11453
4bff6e01
AS
114542011-02-23 Andreas Schwab <schwab@redhat.com>
11455 Ulrich Drepper <drepper@gmail.com>
11456
11457 [BZ #12509]
11458 * include/link.h (struct link_map): Add l_orig_initfini.
11459 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11460 returning unsuccessfully.
11461 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11462 close of a file loaded at startup, restore the original l_initfini
11463 list.
11464 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11465 list, store the pointer.
11466 * elf/Makefile ($(objpfx)noload-mem): New rule.
11467 (noload-ENV): Define.
11468 (tests): Add $(objpfx)noload-mem.
11469 * elf/noload.c: Include <memcheck.h>.
11470 (main): Call mtrace. Close all opened handles.
11471
f2092faf
AS
114722011-02-17 Andreas Schwab <schwab@redhat.com>
11473
11474 [BZ #12454]
11475 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11476 dependencies are missing.
11477
6c8a2e88
ST
114782011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11479
f2092faf 11480 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11481 Hurd needs munmap.
11482 * sysdeps/mach/hurd/ifreq.h: New file.
11483
84a42118
PB
114842011-01-27 Petr Baudis <pasky@suse.cz>
11485 Ulrich Drepper <drepper@gmail.com>
11486
071f805e 11487 [BZ 12445]#
84a42118
PB
11488 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11489 to extend_alloca().
11490 * stdio-common/bug23.c: New file.
11491 * stdio-common/Makefile (tests): Add bug23.
11492
e23fe25b
AS
114932010-09-28 Andreas Schwab <schwab@redhat.com>
11494 Ulrich Drepper <drepper@gmail.com>
11495
11496 [BZ #12489]
11497 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11498 before performing relro protection. At old place add assertion
11499 to make sure nothing changed.
11500
d3f02e10
NS
115012011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11502 Glauber de Oliveira Costa <glommer@gmail.com>
11503
11504 * elf/elf.h: Add new ARM TLS relocs.
11505
d55fd7a5
RA
115062011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11507
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11509 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11510 cast from r3.
11511 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11512 'tests' variable.
11513 * sysdeps/wordsize-64/tst-writev.c: New file.
11514
2206397e
RA
115152011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11516
11517 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11518 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11519 insns in _dl_start to prevent a TOC reference before relocs are
11520 resolved.
11521
e9433893
UD
115222011-02-15 Ulrich Drepper <drepper@gmail.com>
11523
11524 [BZ #12469]
11525 * Makeconfig: Remove RANLIB definition.
11526 * Makerules: Don't use RANLIB.
11527 * aclocal.m4: Remove ranlib test.
11528 * configure.in: No need to check for ranlib.
11529 * elf/rtld-Rules: Don't use RANLIB.
11530
f75286c6
ST
115312011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11532
8e31c82d
ST
11533 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11534 protection macro.
11535 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11536 inclusion protection macro.
11537
f75286c6
ST
11538 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11539 SIGRTMIN and SIGRTMAX and print information in that case only when
11540 SIGRTMIN is defined.
11541
c1d0e639
JJ
115422011-02-11 Jakub Jelinek <jakub@redhat.com>
11543
11544 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11545 arginfo fn returning -1.
11546
11547 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11548 and thousands string is zero terminated.
11549
edf9294e
AS
115502011-02-03 Andreas Schwab <schwab@redhat.com>
11551
11552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11553 sysdeps/unix/sysv/linux/bits/socket.h.
11554
2b7e92df
ST
115552011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11556
edf9294e
AS
11557 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11558 (__CPU_COUNT): Remove old macros.
11559 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11560 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11561 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11562 (__sched_cpualloc, __sched_cpufree): Add declarations.
11563
a4c7ea7b
UD
115642011-02-05 Ulrich Drepper <drepper@gmail.com>
11565
11566 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11567 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11568 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11569 (readdhstai): Return value of addhstaiX call.
11570 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11571 (addgrbyX): Return value returned by cache_addgr.
11572 (readdgrbyname): Return value returned by addgrbyX.
11573 (readdgrbygid): Likewise.
11574 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11575 (addpwbyX): Return value returned by cache_addpw.
11576 (readdpwbyname): Return value returned by addhstbyX.
11577 (readdpwbyuid): Likewise.
11578 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11579 (addservbyX): Return value returned by cache_addserv.
11580 (readdservbyname): Return value returned by addservbyX:
11581 (readdservbyport): Likewise.
11582 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11583 (addhstbyX): Return value returned by cache_addhst.
11584 (readdhstbyname): Return value returned by addhstbyX.
11585 (readdhstbyaddr): Likewise.
11586 (readdhstbynamev6): Likewise.
11587 (readdhstbyaddrv6): Likewise.
11588 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11589 (readdinitgroups): Return value returned by addinitgroupsX.
11590 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11591 (prune_cache): Keep track of timeout value of re-added entries.
11592 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11593 * nscd/nscd.h: Adjust prototypes of readd* functions.
11594
a0bf67cc
RM
115952011-02-04 Roland McGrath <roland@redhat.com>
11596
11597 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11598 (nis_stats): Likewise.
11599 * nis/nis_modify.c (nis_modify): Likewise.
11600 * nis/nis_remove.c (nis_remove): Likewise.
11601 * nis/nis_add.c (nis_add): Likewise.
11602
11603 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11604
11605 * posix/fnmatch_loop.c: Add some consts.
11606
11607 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11608
435b95eb
L
116092011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11610
11611 [BZ #12460]
11612 * config.make.in (config-cflags-novzeroupper): Define.
11613 * configure.in: Substitute libc_cv_cc_novzeroupper.
11614 * elf/Makefile (AVX-CFLAGS): Define.
11615 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11616 (CFLAGS-tst-auditmod4a.c): Likewise.
11617 (CFLAGS-tst-auditmod4b.c): Likewise.
11618 (CFLAGS-tst-auditmod6b.c): Likewise.
11619 (CFLAGS-tst-auditmod6c.c): Likewise.
11620 (CFLAGS-tst-auditmod7b.c): Likewise.
11621 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11622
8517b15e
UD
116232011-02-02 Ulrich Drepper <drepper@gmail.com>
11624
11625 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11626 function to the callback.
11627 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11628
10a656fe
AS
116292011-02-02 Andreas Schwab <schwab@redhat.com>
11630
11631 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11632 of errno.
11633
968dad0a
UD
116342011-01-19 Ulrich Drepper <drepper@gmail.com>
11635
9f94d2ea 11636 [BZ #11724]
968dad0a
UD
11637 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11638 of constructors.
11639 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11640 of destructors.
11641 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11642
11643 [BZ #11724]
11644 * elf/Makefile: Add rules to build and run new test.
11645 * elf/tst-initorder.c: New file.
11646 * elf/tst-initorder.exp: New file.
11647 * elf/tst-initordera1.c: New file.
11648 * elf/tst-initordera2.c: New file.
11649 * elf/tst-initordera3.c: New file.
11650 * elf/tst-initordera4.c: New file.
11651 * elf/tst-initorderb1.c: New file.
11652 * elf/tst-initorderb2.c: New file.
11653 * elf/tst-order-a1.c: New file.
11654 * elf/tst-order-a2.c: New file.
11655 * elf/tst-order-a3.c: New file.
11656 * elf/tst-order-a4.c: New file.
11657 * elf/tst-order-b1.c: New file.
11658 * elf/tst-order-b2.c: New file.
11659 * elf/tst-order-main.c: New file.
11660 New test case by George Gensure <werkt0@gmail.com>.
11661
86e92359
UD
116622010-10-01 Andreas Schwab <schwab@redhat.com>
11663
11664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11665 decoding ACE if AI_CANONIDN.
11666
5d5732b0
UD
116672011-01-18 Ulrich Drepper <drepper@gmail.com>
11668
11669 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11670
a77e8cbc
UD
116712011-01-17 Ulrich Drepper <drepper@gmail.com>
11672
6392473f
UD
11673 * version.h (RELEASE): Bump for 2.13 release.
11674 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11675
620a0529
UD
11676 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11677
18ba70a5
UD
11678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11679 MADV_NOHUGEPAGE.
32465c3e
UD
11680 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11686
c0dafcf1
UD
11687 * posix/getconf.c: Update copyright year.
11688 * catgets/gencat.c: Likewise.
11689 * csu/version.c: Likewise.
11690 * debug/catchsegv.sh: Likewise.
11691 * debug/xtrace.sh: Likewise.
11692 * elf/ldconfig.c: Likewise.
11693 * elf/ldd.bash.in: Likewise.
11694 * elf/sprof.c (print_version): Likewise.
11695 * iconv/iconv_prog.c: Likewise.
11696 * iconv/iconvconfig.c: Likewise.
11697 * locale/programs/locale.c: Likewise.
11698 * locale/programs/localedef.c: Likewise.
11699 * malloc/memusage.sh: Likewise.
11700 * malloc/mtrace.pl: Likewise.
11701 * nscd/nscd.c (print_version): Likewise.
11702 * nss/getent.c: Likewise.
11703
a77e8cbc
UD
11704 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11705 PF_CAIF, and PF_ALG.
11706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11707
77e8bddf
AS
117082011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11709
1f20b93a
AS
11710 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11711 (modules-names): Use them.
11712 (ifunc-test-modules, ifunc-pie-tests): Define.
11713 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11714 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11715 (test-extras): Likewise.
11716 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11717 $(compile-command.c).
11718 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11719 (all-built-dso): Define.
11720 (check-textrel.out, check-execstack.out): Depend on it.
11721
77e8bddf
AS
11722 * configure.in: Don't override --enable-multi-arch.
11723
bc425b33
UD
117242011-01-15 Ulrich Drepper <drepper@gmail.com>
11725
11726 [BZ #6812]
11727 * nscd/hstcache.c (tryagain): Define.
11728 (cache_addhst): Return tryagain not notfound for temporary errors.
11729 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11730 failed.
11731
794c3ad3
UD
117322011-01-14 Ulrich Drepper <drepper@gmail.com>
11733
70181fdd
UD
11734 [BZ #10563]
11735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11736 to make the syscall.
11737 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11738
794c3ad3
UD
11739 [BZ #12378]
11740 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11741 and fall back to matching as normal character if the string ends before
11742 the matching ']' is found. This is what POSIX requires.
11743 * posix/testfnm.c: Adjust test result.
11744 * posix/globtest.sh: Adjust test result. Add new test.
11745 * posix/tst-fnmatch.input: Likewise.
11746 * posix/tst-fnmatch2.c: Add new test.
11747
68dc9497
AS
117482010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11749
11750 * elf/Makefile (check-execstack): Revert last change. Depend on
11751 check-execstack.h.
11752 (check-execstack.h): New target.
11753 (generated): Add check-execstack.h.
11754 * elf/check-execstack.c: Include "check-execstack.h".
11755 (main): Revert last change.
11756 (handle_file): Return zero if GNU_STACK is absent and
11757 DEFAULT_STACK_PERMS doesn't include PF_X.
11758
451f001b
UD
117592011-01-13 Ulrich Drepper <drepper@gmail.com>
11760
cfa28e56
UD
11761 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11762 in child fails because the descriptor is already closed.
8cf8ce17
UD
11763 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11764 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11765 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11766
1086d70d
UD
11767 [BZ #12397]
11768 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11769 syscall.
11770
451f001b
UD
11771 [BZ #10484]
11772 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11773 temporary buffer used to handle multi lookups locally.
a85b5cb4 11774 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11775
08769175
UD
117762011-01-12 Ulrich Drepper <drepper@gmail.com>
11777
11778 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11779 loader is ld.so.
11780
5e49c52e
UD
117812011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11782
11783 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11784 alignment for SSE2.
11785
60522a5f
UD
117862011-01-12 Ulrich Drepper <drepper@gmail.com>
11787
11788 [BZ #12394]
11789 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11790 characters. When rounding increased number of integer digits recompute
11791 number of groups.
11792 * stdio-common/tst-grouping.c: New file.
11793 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11794
f257bbd7
UD
117952011-01-09 Ulrich Drepper <drepper@gmail.com>
11796
11797 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11798 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11799
11800 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11801 void.
11802 * bits/select.h: Likewise.
11803
fa9c15cb
UD
118042011-01-08 Ulrich Drepper <drepper@gmail.com>
11805
11806 * po/ja.po: Update from translation team.
11807
16c2895f
DM
118082011-01-04 David S. Miller <davem@sunset.davemloft.net>
11809
11810 [BZ #11155]
11811 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11812 implementation just like for lxstat, fxstatat, et al.
11813
2543fef2
JM
118142010-12-27 Jim Meyering <meyering@redhat.com>
11815
11816 [BZ #12348]
11817 * posix/regexec.c (build_trtable): Return failure indication upon
11818 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11819
98727dbe
UD
118202010-12-25 Ulrich Drepper <drepper@gmail.com>
11821
5bd6dc5c
UD
11822 [BZ #12201]
11823 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11824 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11827
97983464
UD
11828 [BZ #12207]
11829 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11830
98727dbe
UD
11831 [BZ #12204]
11832 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11833 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11834
4a531bb0
L
118352010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11836
11837 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11838 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11839 script has SORT_BY_INIT_PRIORITY.
11840 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11841 NO_CTORS_DTORS_SECTIONS is defined.
11842 * elf/soinit.c: Likewise.
11843 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11844 NO_CTORS_DTORS_SECTIONS is defined.
11845 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11846 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11847 * sysdeps/sh/init-first.c: Likewise.
11848 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11849
07eb4b71
UD
118502010-12-24 Ulrich Drepper <drepper@gmail.com>
11851
11852 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11853 always use the slow path.
11854
30950a5f
RA
118552010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11856
11857 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11858 similar rule which adds the sysdep directories to the header search in
11859 order to pick up the correct platform stackinfo.h.
11860 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11861 perform test if it is, otherwise return successfully without testing.
11862 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11863 DEFAULT_STACK_PERMS define in stackinfo.h.
11864 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11865 defined in stackinfo.h.
11866 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11867 DEFAULT_STACK_PERMS defined in stackinfo.h.
11868 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11869 * sysdeps/ia64/stackinfo.h: Likewise.
11870 * sysdeps/s390/stackinfo.h: Likewise.
11871 * sysdeps/sh/stackinfo.h: Likewise.
11872 * sysdeps/sparc/stackinfo.h: Likewise.
11873 * sysdeps/x86_64/stackinfo.h: Likewise.
11874 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11875 PF_X for powerpc64. Retain PF_X for powerpc32.
11876
db753e2c
UD
118772010-12-19 Ulrich Drepper <drepper@gmail.com>
11878
14b697f7
UD
11879 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11880 accurately.
db753e2c
UD
11881 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11882 GETDENTS_64BIT_ALIGNED.
11883
28300719
UD
118842010-12-14 Ulrich Drepper <dreper@gmail.com>
11885
14b697f7 11886 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11887
4f197237
AS
118882010-12-10 Andreas Schwab <schwab@redhat.com>
11889
dbb0472f
AS
11890 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11891 _GNU_SOURCE.
11892
4f197237
AS
11893 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11894 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11895 Remove __restrict.
11896 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11897 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11898
fb88ac72
UD
118992010-12-09 Ulrich Drepper <drepper@gmail.com>
11900
11901 [BZ #11655]
11902 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11903 are initialized.
11904
42acbb92
JJ
119052010-12-09 Jakub Jelinek <jakub@redhat.com>
11906
11907 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11908
c038d98d
UD
119092010-12-03 Ulrich Drepper <drepper@gmail.com>
11910
11911 * po/it.po: Update from translation team.
11912
3a4a2499
L
119132010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11916 unused codes.
11917
1e24cf6e
UD
119182010-11-30 Ulrich Drepper <drepper@gmail.com>
11919
11920 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11921
a7690819
AS
119222010-11-24 Andreas Schwab <schwab@redhat.com>
11923
11924 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11925 specially.
11926 (gaih_getanswer_slice): Likewise.
11927
3bf8d1b1
JJ
119282010-10-20 Jakub Jelinek <jakub@redhat.com>
11929
11930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11931
6db52fbb
PB
119322010-05-31 Petr Baudis <pasky@suse.cz>
11933
11934 [BZ #11149]
11935 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11936 silently even in the chroot mode.
11937
eaca7569
UD
119382010-11-22 Ulrich Drepper <drepper@gmail.com>
11939
11940 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11941 last patch a bit. Pretty printing
11942
3056dcdb
UD
119432010-05-31 Petr Baudis <pasky@suse.cz>
11944
11945 [BZ #10085]
11946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11947 initialization of skip_initgroups_dyn.
11948
cf7c9078
UD
119492010-11-19 Ulrich Drepper <drepper@gmail.com>
11950
11951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11953
a1fb5e3e
UD
119542010-11-16 Ulrich Drepper <drepper@gmail.com>
11955
11956 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11957
3540d66b
AS
119582010-11-11 Andreas Schwab <schwab@redhat.com>
11959
11960 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11961 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11962 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11963 ($(objpfx)tst-fnmatch-mem): New rule.
11964 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11965 * posix/tst-fnmatch.c (main): Call mtrace.
11966
13b69574
L
119672010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11970 Support Intel processor model 6 and model 0x2c.
11971
da93d214
LM
119722010-11-10 Luis Machado <luisgpm@br.ibm.com>
11973
11974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11975 signed comparison.
11976
8ca52c6e
L
119772010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 [BZ #12205]
11980 * string/test-strncasecmp.c (check_result): New function.
11981 (do_one_test): Use it.
11982 (check1): New function.
11983 (test_main): Use it.
11984 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11985 Support strcasecmp and strncasecmp.
11986
69da074d
UD
119872010-11-08 Ulrich Drepper <drepper@gmail.com>
11988
11989 [BZ #12194]
11990 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11992
ff02d528
L
119932010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11996 IFUNC support.
11997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11998 memset-x86-64.
11999 * sysdeps/x86_64/multiarch/bzero.S: New file.
12000 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12001 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12002 * sysdeps/x86_64/multiarch/memset.S: New file.
12003 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12005 Set bit_Prefer_SSE_for_memop for Intel processors.
12006 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12007 Define.
12008 (index_Prefer_SSE_for_memop): Define.
12009 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12010
344d0b54
LM
120112010-11-04 Luis Machado <luisgpm@br.ibm.com>
12012
12013 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12015
c0dde15b
UD
120162010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 [BZ #12191]
12019 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12020 (__x86_64_raw_data_cache_size_half): Likewise.
12021 (__x86_64_raw_shared_cache_size): Likewise.
12022 (__x86_64_raw_shared_cache_size_half): Likewise.
12023
12024 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12025 (__x86_64_raw_data_cache_size_half): Likewise.
12026 (__x86_64_raw_shared_cache_size): Likewise.
12027 (__x86_64_raw_shared_cache_size_half): Likewise.
12028 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12029 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12030 and __x86_64_raw_shared_cache_size_half. Round
12031 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12032 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12033 to multiple of 256 bytes.
12034
0e516e0e
MS
120352010-11-03 Ulrich Drepper <drepper@gmail.com>
12036
12037 [BZ #12167]
12038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12039 of inacessible symlinks. Verify result of symlink before returning it.
12040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12041 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12042
0e012e87
ER
120432010-10-28 Erich Ritz <erichritz@gmail.com>
12044
12045 * math/math.h (isinf): Fix typo in comment.
12046
de0ff7bc
UD
120472010-11-01 Ulrich Drepper <drepper@gmail.com>
12048
12049 * po/da.po: Update from translation team.
12050
fa41c84d
UD
120512010-10-26 Ulrich Drepper <drepper@gmail.com>
12052
12053 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12054 is added to the list.
12055
f0967738
AK
120562010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12057 Ulrich Drepper <drepper@gmail.com>
12058
12059 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12060 the global list here. Move code to...
12061 (_dl_add_to_namespace_list): ...here. New function.
12062 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12063 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12064 * elf/dl-load.c (lose): Don't remove the element from the list.
12065 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12066 (_dl_map_object): Likewise.
12067
120682010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12069
12070 [BZ #12159]
12071 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12072 into all bytes of SSE register.
12073 Patch by Richard Li <richardpku@gmail.com>.
12074
f0967738 120752010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12076
12077 [BZ #12140]
12078 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12079 perturbing.
12080
d0b9e94f
MB
120812010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12082
12083 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12084 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12085 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12088 submachine.
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12090
8e9f92e9
AS
120912010-10-22 Andreas Schwab <schwab@redhat.com>
12092
12093 * include/dlfcn.h (__RTLD_SECURE): Define.
12094 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12095 mode & __RTLD_SECURE instead.
12096 (open_path): Rename preloaded parameter to secure.
12097 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12098 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12099 * elf/dl-deps.c (openaux): Likewise.
12100 * elf/rtld.c (struct map_args): Remove is_preloaded.
12101 (map_doit): Don't use it.
12102 (dl_main): Likewise.
12103 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12104 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12105
bc96fbda
AS
121062010-09-09 Andreas Schwab <schwab@redhat.com>
12107
12108 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12109 (sysd-rules-targets): Remove duplicates.
12110 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12111 rtld-%.$o dependency.
12112
22cd1c9b
AS
121132010-10-18 Andreas Schwab <schwab@redhat.com>
12114
12115 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12116 _dl_map_object do it.
12117
18edac48
UD
121182010-10-19 Ulrich Drepper <drepper@gmail.com>
12119
12120 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12121 fast fma builtins, define the macros in the C99 standard.
12122 (FP_FAST_FMAF): Likewise.
12123 (FP_FAST_FMAL): Likewise.
12124 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12125
12126 * bits/mathdef.h: Update copyright year.
12127 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12128
d2050124
MM
121292010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12130
12131 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12132 builtins, define the macros in the C99 standard.
12133 (FP_FAST_FMAF): Likewise.
12134 (FP_FAST_FMAL): Likewise.
12135 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12136 multiply/add.
12137 (FP_FAST_FMAF): Likewise.
12138
475facd1
JJ
121392010-10-15 Jakub Jelinek <jakub@redhat.com>
12140
12141 [BZ #3268]
12142 * math/libm-test.inc (fma_test): Some new testcases.
12143 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12145 y and infinite z. Do multiplication by C already in long double.
12146 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12148 y and infinite z. Do bitwise or of inexact bit into u.d.
12149 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12150 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12151 * sysdeps/i386/fpu/s_fma.S: Removed.
12152 * sysdeps/i386/fpu/s_fmal.S: Removed.
12153
7c08a05c
JJ
121542010-10-16 Jakub Jelinek <jakub@redhat.com>
12155
12156 [BZ #3268]
12157 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12159 computation is not scheduled after fetestexcept. Fix value
12160 of minimum denormal long double.
12161
f3f7372d
JJ
121622010-10-14 Jakub Jelinek <jakub@redhat.com>
12163
12164 [BZ #3268]
12165 * math/libm-test.inc (fma_test): Add some more tests.
12166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12167 correctly.
12168
14d43591
AS
121692010-10-15 Andreas Schwab <schwab@redhat.com>
12170
12171 * scripts/data/localplt-s390-linux-gnu.data: New file.
12172 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12173
5e908464
JJ
121742010-10-13 Jakub Jelinek <jakub@redhat.com>
12175
12176 [BZ #3268]
12177 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12178 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12179 instead of dbl-64.
12180 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12181 inlines.
12182 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12184 if one of x and y is very large and the other is subnormal.
12185 * sysdeps/s390/fpu/s_fmaf.c: New file.
12186 * sysdeps/s390/fpu/s_fma.c: New file.
12187 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12188 * sysdeps/powerpc/fpu/s_fma.S: New file.
12189 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12190 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12191 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12192
121932010-10-12 Jakub Jelinek <jakub@redhat.com>
12194
12195 [BZ #3268]
12196 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12197 fma tests.
12198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12199 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12200 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12201 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12202 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12203 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12204 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12205
b833d51f
UD
122062010-10-12 Ulrich Drepper <drepper@redhat.com>
12207
12208 [BZ #12078]
12209 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12210 * posix/bug-regex31.input: Add test case.
12211
1751705d
UD
122122010-10-11 Ulrich Drepper <drepper@gmail.com>
12213
e9b9cbf5
UD
12214 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12215 * posix/bug-regex31.input: New file.
12216
12217 [BZ #12078]
12218 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12219 (parse_sub_exp): Fix last change, use postorder.
12220
ef06edbe
UD
12221 * posix/bug-regex31.c: New file.
12222 * posix/Makefile: Add rules to build and run bug-regex31.
12223
a129c80d
UD
12224 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12225
12226 [BZ #12078]
12227 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12228
b76b818e
UD
12229 [BZ #12108]
12230 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12231 to have entries in sys_siglist.
12232
1751705d
UD
12233 [BZ #12093]
12234 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12235 be NULL.
12236
9ff8d36f
JJ
122372010-10-07 Jakub Jelinek <jakub@redhat.com>
12238
12239 [BZ #3268]
12240 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12241 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12242 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12243 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12244 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12245 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12246 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12247 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12248 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12249 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12250 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12251 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12252 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12253 * math/ftestexcept.c (fetestexcept): Likewise.
12254 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12255 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12256 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12257 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12258 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12259 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12260 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12261
af325969
UD
122622010-10-11 Ulrich Drepper <drepper@gmail.com>
12263
c579b202 12264 [BZ #12107]
af325969
UD
12265 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12266 newline.
12267
67a67b95
UD
122682010-10-06 Ulrich Drepper <drepper@gmail.com>
12269
12270 * string/bug-strstr1.c: New file.
12271 * string/Makefile: Add rules to build and run bug-strstr1.
12272
5fb308bc
EB
122732010-10-05 Eric Blake <eblake@redhat.com>
12274
12275 [BZ #12092]
12276 * string/str-two-way.h (two_way_long_needle): Always clear memory
12277 when skipping input due to the shift table.
12278
45db99c7
UD
122792010-10-03 Ulrich Drepper <drepper@gmail.com>
12280
3b111893
UD
12281 [BZ #12005]
12282 * malloc/mcheck.c: Handle large requests.
12283
45db99c7
UD
12284 [BZ #12077]
12285 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12286 for strncmp and strncasecmp.
12287 * string/stratcliff.c: Add tests for strcmp and strncmp.
12288 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12289
cf7a1eb8
NI
122902010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12291
12292 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12293 __set_fpscr.
12294
6484ba5e
AJ
122952010-09-30 Andreas Jaeger <aj@suse.de>
12296
12297 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12298 (CGROUP_SUPER_MAGIC): Define.
12299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12300 Handle btrfs and cgroup file systems.
12301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12302 Likewise.
12303
91c42559
LM
123042010-09-27 Luis Machado <luisgpm@br.ibm.com>
12305
12306 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12307 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12308
87a97932
AK
123092010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12310
12311 [BZ #12067]
12312 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12313 trying to locate the ELF header.
12314
c21cc9bc
AS
123152010-09-27 Andreas Schwab <schwab@redhat.com>
12316
12317 [BZ #11611]
12318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12319 Mask out sign-bit copies when constructing f_fsid.
12320
315970f6
PB
123212010-09-24 Petr Baudis <pasky@suse.cz>
12322
12323 * debug/stack_chk_fail_local.c: Add missing licence exception.
12324 * debug/warning-nop.c: Likewise.
12325
1ac7a2c7
JM
123262010-09-15 Joseph Myers <joseph@codesourcery.com>
12327
12328 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12329 implementing getdents64 using getdents syscall, set d_type if
12330 __ASSUME_GETDENTS32_D_TYPE.
12331
56801c50
AS
123322010-09-16 Andreas Schwab <schwab@redhat.com>
12333
12334 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12335 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12336
dda51327
UD
123372010-09-21 Ulrich Drepper <drepper@redhat.com>
12338
12339 [BZ #12037]
12340 * posix/unistd.h: Undo change of feature selection for ftruncate from
12341 2010-01-11.
12342
8ffcee4a
UD
123432010-09-20 Ulrich Drepper <drepper@redhat.com>
12344
a545ecd9 12345 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12346 detection.
12347
e24f0a8b
AS
123482010-09-20 Andreas Schwab <schwab@redhat.com>
12349
12350 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12351 fanotify_mark.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12353
7291c56f
AS
123542010-09-14 Andreas Schwab <schwab@redhat.com>
12355
12356 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12357 variables after CHECK_SP call.
12358 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12359
bc5fb037
AS
123602010-09-13 Andreas Schwab <schwab@redhat.com>
12361 Ulrich Drepper <drepper@redhat.com>
12362
12363 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12364 re-relocationg ld.so.
12365 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12366 _dl_init_paths call.
12367 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12368 here anymore.
12369
e66e7419
UD
123702010-09-14 Ulrich Drepper <drepper@redhat.com>
12371
12372 * resolv/res_init.c (__res_vinit): Count the default server we added.
12373
c044aa75
CLT
123742010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12375 Ulrich Drepper <drepper@redhat.com>
12376
12377 [BZ #11968]
12378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12379 (____longjmp_chk): Use %ebx for saving value across system call.
12380 Add unwind info.
12381
32cf4069
AS
123822010-09-06 Andreas Schwab <schwab@redhat.com>
12383
12384 * manual/Makefile: Don't mix pattern rules with normal rules.
12385
817328ee
AS
123862010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12389 operation.
12390 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12391 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12392 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12393 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12395 Likewise.
12396
29fddf61
UD
123972010-09-04 Ulrich Drepper <drepper@redhat.com>
12398
12399 [BZ #11979]
12400 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12401 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12402
0959ffc9
UD
124032010-09-02 Ulrich Drepper <drepper@redhat.com>
12404
12405 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12406 * sysdeps/x86_64/addmul_1.S: Likewise.
12407 * sysdeps/x86_64/lshift.S: Likewise.
12408 * sysdeps/x86_64/mul_1.S: Likewise.
12409 * sysdeps/x86_64/rshift.S: Likewise.
12410 * sysdeps/x86_64/sub_n.S: Likewise.
12411 * sysdeps/x86_64/submul_1.S: Likewise.
12412
ece29840
ST
124132010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12414
0959ffc9
UD
12415 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12416 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12417 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12418 * bits/sched.h [__need_schedparam]
ece29840 12419 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12420 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12421 (__defined_schedparam): Define to 1.
ece29840
ST
12422 (__sched_param): New structure, identical to sched_param.
12423 (__need_schedparam): Undefine.
12424
e53a31fe
MF
124252010-08-31 Mike Frysinger <vapier@gentoo.org>
12426
fdc0c10d
MF
12427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12428 (epoll_create1): Declare.
12429
e53a31fe
MF
12430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12431
a726d796
AS
124322010-08-31 Andreas Schwab <schwab@redhat.com>
12433
12434 [BZ #7066]
12435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12436 shifting retval into place.
12437
2f3e3dc7
UD
124382010-09-01 Ulrich Drepper <drepper@redhat.com>
12439
f2933da9
UD
12440 * nis/rpcsvc/nis.h: Update copyright notice.
12441 * nis/rpcsvc/nis.x: Likewise.
12442 * nis/rpcsvc/nis_callback.h: Likewise.
12443 * nis/rpcsvc/nis_callback.x: Likewise.
12444 * nis/rpcsvc/nis_object.x: Likewise.
12445 * nis/rpcsvc/nis_tags.h: Likewise.
12446 * nis/rpcsvc/yp.h: Likewise.
12447 * nis/rpcsvc/yp.x: Likewise.
12448 * nis/rpcsvc/ypupd.h: Likewise.
12449 * nis/yp_xdr.c: Likewise.
12450 * nis/ypupdate_xdr.c: Likewise.
12451
2f3e3dc7
UD
12452 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12453 mainly the body of pmap_getport. Add parameters to specify timeouts.
12454 (pmap_getport): Use __libc_rpc_getport.
12455 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12456 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12457 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12458
f3dcc2f9
AS
124592010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12460
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12462 fanotify_mark.
12463
6d34eb5b
RM
124642010-08-27 Roland McGrath <roland@redhat.com>
12465
12466 * sysdeps/i386/i686/multiarch/Makefile
12467 (CFLAGS-varshift.c): New variable.
12468
9ea3de11
UD
124692010-08-27 Ulrich Drepper <drepper@redhat.com>
12470
c96d23fc
UD
12471 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12472 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12473
9ea3de11
UD
12474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12475
12476 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12477
623aac7f
L
124782010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12479
12480 * sysdeps/x86_64/strlen.S: Unroll the loop.
12481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12482 strlen-sse2 strlen-sse2-bsf.
12483 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12484 __strlen_no_bsf if bit_Slow_BSF is set.
12485 (__strlen_sse42): Removed.
12486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12487 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12488
8b2b7715
RM
124892010-08-25 Roland McGrath <roland@redhat.com>
12490
12491 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12492 * sysdeps/x86_64/multiarch/varshift.c: New file.
12493 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12494 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12495 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12496 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12497
e73015f2
L
124982010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12499
12500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12501 strlen-sse2 strlen-sse2-bsf.
12502 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12503 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12504 (__strlen_sse2): Removed.
12505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12508 bit_Slow_BSF for Atom.
12509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12510 (index_Slow_BSF): Define.
12511 (HAS_SLOW_BSF): Define.
12512
df24a73e
UD
125132010-08-25 Ulrich Drepper <drepper@redhat.com>
12514
12515 [BZ #10851]
12516 * resolv/res_init.c (__res_vinit): When no server address at all
12517 is given default to loopback.
12518
f2ac4868
RM
125192010-08-24 Roland McGrath <roland@redhat.com>
12520
09055553
RM
12521 * configure.in: Remove config-name.h generation.
12522 * configure: Regenerated.
12523 * config-name.in: File removed.
12524 * scripts/config-uname.sh: New file.
12525 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12526 ($(objdir)config-name.h): New target.
12527
f2ac4868
RM
12528 * sunrpc/rpc_parse.h: Avoid nested comment.
12529
73f27d5e
RH
125302010-08-24 Richard Henderson <rth@redhat.com>
12531 Ulrich Drepper <drepper@redhat.com>
12532 H.J. Lu <hongjiu.lu@intel.com>
12533
12534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12536 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12537 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12538 _mm_alignr_epi8 with _mm_loadu_si128.
12539 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12540 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12541 (__m128i_shift_right): Removed.
12542 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12543 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12544 * sysdeps/x86_64/multiarch/varshift.h: New file.
12545 * sysdeps/x86_64/multiarch/varshift.S: New file.
12546
84b9230c
MF
125472010-08-21 Mike Frysinger <vapier@gentoo.org>
12548
12549 * configure.in: Move assembler checks to before sysdep dir checking.
12550
9bbd0ddc
PB
125512010-08-20 Petr Baudis <pasky@suse.cz>
12552
12553 * LICENSES: Sync the sunrpc license.
12554
9da4bb31
UD
125552010-08-19 Ulrich Drepper <drepper@redhat.com>
12556
a7ab6ec8
UD
12557 * sunrpc/auth_des.c: Update copyright notice once again.
12558 * sunrpc/auth_none.c: Likewise.
12559 * sunrpc/auth_unix.c: Likewise.
12560 * sunrpc/authdes_prot.c: Likewise.
12561 * sunrpc/authuxprot.c: Likewise.
12562 * sunrpc/bindrsvprt.c: Likewise.
12563 * sunrpc/clnt_gen.c: Likewise.
12564 * sunrpc/clnt_perr.c: Likewise.
12565 * sunrpc/clnt_raw.c: Likewise.
12566 * sunrpc/clnt_simp.c: Likewise.
12567 * sunrpc/clnt_tcp.c: Likewise.
12568 * sunrpc/clnt_udp.c: Likewise.
12569 * sunrpc/clnt_unix.c: Likewise.
12570 * sunrpc/des_crypt.c: Likewise.
12571 * sunrpc/des_soft.c: Likewise.
12572 * sunrpc/get_myaddr.c: Likewise.
12573 * sunrpc/getrpcport.c: Likewise.
12574 * sunrpc/key_call.c: Likewise.
12575 * sunrpc/key_prot.c: Likewise.
12576 * sunrpc/openchild.c: Likewise.
12577 * sunrpc/pm_getmaps.c: Likewise.
12578 * sunrpc/pm_getport.c: Likewise.
12579 * sunrpc/pmap_clnt.c: Likewise.
12580 * sunrpc/pmap_prot.c: Likewise.
12581 * sunrpc/pmap_prot2.c: Likewise.
12582 * sunrpc/pmap_rmt.c: Likewise.
12583 * sunrpc/rpc/auth.h: Likewise.
12584 * sunrpc/rpc/auth_unix.h: Likewise.
12585 * sunrpc/rpc/clnt.h: Likewise.
12586 * sunrpc/rpc/des_crypt.h: Likewise.
12587 * sunrpc/rpc/key_prot.h: Likewise.
12588 * sunrpc/rpc/netdb.h: Likewise.
12589 * sunrpc/rpc/pmap_clnt.h: Likewise.
12590 * sunrpc/rpc/pmap_prot.h: Likewise.
12591 * sunrpc/rpc/pmap_rmt.h: Likewise.
12592 * sunrpc/rpc/rpc.h: Likewise.
12593 * sunrpc/rpc/rpc_des.h: Likewise.
12594 * sunrpc/rpc/rpc_msg.h: Likewise.
12595 * sunrpc/rpc/svc.h: Likewise.
12596 * sunrpc/rpc/svc_auth.h: Likewise.
12597 * sunrpc/rpc/types.h: Likewise.
12598 * sunrpc/rpc/xdr.h: Likewise.
12599 * sunrpc/rpc_clntout.c: Likewise.
12600 * sunrpc/rpc_cmsg.c: Likewise.
12601 * sunrpc/rpc_common.c: Likewise.
12602 * sunrpc/rpc_cout.c: Likewise.
12603 * sunrpc/rpc_dtable.c: Likewise.
12604 * sunrpc/rpc_hout.c: Likewise.
12605 * sunrpc/rpc_main.c: Likewise.
12606 * sunrpc/rpc_parse.c: Likewise.
12607 * sunrpc/rpc_parse.h: Likewise.
12608 * sunrpc/rpc_prot.c: Likewise.
12609 * sunrpc/rpc_sample.c: Likewise.
12610 * sunrpc/rpc_scan.c: Likewise.
12611 * sunrpc/rpc_scan.h: Likewise.
12612 * sunrpc/rpc_svcout.c: Likewise.
12613 * sunrpc/rpc_tblout.c: Likewise.
12614 * sunrpc/rpc_util.c: Likewise.
12615 * sunrpc/rpc_util.h: Likewise.
12616 * sunrpc/rpcinfo.c: Likewise.
12617 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12618 * sunrpc/rpcsvc/key_prot.x: Likewise.
12619 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12620 * sunrpc/rpcsvc/mount.x: Likewise.
12621 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12622 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12623 * sunrpc/rpcsvc/rex.x: Likewise.
12624 * sunrpc/rpcsvc/rstat.x: Likewise.
12625 * sunrpc/rpcsvc/rusers.x: Likewise.
12626 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12627 * sunrpc/rpcsvc/spray.x: Likewise.
12628 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12629 * sunrpc/rtime.c: Likewise.
12630 * sunrpc/svc.c: Likewise.
12631 * sunrpc/svc_auth.c: Likewise.
12632 * sunrpc/svc_authux.c: Likewise.
12633 * sunrpc/svc_raw.c: Likewise.
12634 * sunrpc/svc_run.c: Likewise.
12635 * sunrpc/svc_simple.c: Likewise.
12636 * sunrpc/svc_tcp.c: Likewise.
12637 * sunrpc/svc_udp.c: Likewise.
12638 * sunrpc/svc_unix.c: Likewise.
12639 * sunrpc/svcauth_des.c: Likewise.
12640 * sunrpc/xcrypt.c: Likewise.
12641 * sunrpc/xdr.c: Likewise.
12642 * sunrpc/xdr_array.c: Likewise.
12643 * sunrpc/xdr_float.c: Likewise.
12644 * sunrpc/xdr_mem.c: Likewise.
12645 * sunrpc/xdr_rec.c: Likewise.
12646 * sunrpc/xdr_ref.c: Likewise.
12647 * sunrpc/xdr_sizeof.c: Likewise.
12648 * sunrpc/xdr_stdio.c: Likewise.
12649
9da4bb31
UD
12650 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12651 handling.
12652
bdaa77bc
AS
126532010-08-19 Andreas Schwab <schwab@redhat.com>
12654
12655 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12656
fe2f79db
LM
126572010-08-19 Luis Machado <luisgpm@br.ibm.com>
12658
12659 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12660 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12662 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12663 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12664 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12665 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12666 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12667 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12669 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12670 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12671 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12672 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12673
b9b42ee0
AB
126742010-07-26 Anton Blanchard <anton@samba.org>
12675
12676 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12677 * malloc/arena.c (heap_trim): Likewise.
12678
1c06ba31
UD
126792010-08-16 Ulrich Drepper <drepper@redhat.com>
12680
12681 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12682 here. Not...
12683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12684 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12685
f8392f40
L
126862010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12687
12688 * sysdeps/i386/elf/Makefile: New file.
12689
3162f12e
AS
126902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12691
12692 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12693 from fanotify_init.
12694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12696
28c90b2c
UD
126972010-08-15 Ulrich Drepper <drepper@redhat.com>
12698
12699 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12700 of strncasecmp_l.
1feccb6c 12701 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12702
ca6bb004
UD
127032010-08-14 Ulrich Drepper <drepper@redhat.com>
12704
e9f82e0d
UD
12705 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12706 strncase_l-nonascii.
12707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12708 Add strncase_l-ssse3.
12709 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12710 * sysdeps/x86_64/strcmp.S: Likewise.
12711 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12712 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12713 * sysdeps/x86_64/strncase.S: New file.
12714 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12715 * sysdeps/x86_64/strncase_l.S: New file.
12716 * string/Makefile (strop-tests): Add strncasecmp.
12717 * string/test-strncasecmp.c: New file.
12718
12719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12720 warning.
12721
ca6bb004
UD
12722 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12723 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12724
052fa7b3
AS
127252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12726
12727 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12728
962dba78
UD
127292010-08-12 Ulrich Drepper <drepper@redhat.com>
12730
12731 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12734
bebff237
AM
127352010-05-01 Alan Modra <amodra@gmail.com>
12736
12737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12738 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12739 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12740 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12741 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12742 tidying. Don't tail-call __sigjmp_save for static lib.
12743 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12744 save location.
12745 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12746 (CALL_MCOUNT): Add eh info, and nop after bl.
12747 (TAIL_CALL_SYSCALL_ERROR): New macro.
12748 (PSEUDO_RET): Use it.
12749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12750 Correct save location of integer regs and cr.
12751 (_dl_profile_resolve): Correct cr save location. Delete nops
12752 after bl when SHARED. Reduce cfi size a little by better
12753 placement of cfi directives.
12754 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12755 make a stack frame. Instead use parm save area as a temp.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12757 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12759 Don't make a stack frame for parent, use parm save area.
12760 Increase child stack frame to 112 bytes. Don't save unused reg,
12761 and adjust reg usage. Set up cfi on error recovery and
12762 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12764 (__makecontext): Add dummy nop after jump to exit.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12766 Use correct parm save area and cr save, reduce stack frame.
12767 Correct cfi for possible PSEUDO_RET frame setup.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12769 Branch to local label emitted by PSEUDO_RET rather than
12770 __syscall_error.
12771
02637374
AS
127722010-08-12 Andreas Schwab <schwab@redhat.com>
12773
12774 [BZ #11904]
12775 * locale/programs/locale.c (print_assignment): New function.
12776 (show_locale_vars): Use it.
12777
c3e2f19b
UD
127782010-08-11 Ulrich Drepper <drepper@redhat.com>
12779
3cdaa6ad
UD
12780 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12781 field.
12782 (struct statfs64): Likewise.
12783 (_STATFS_F_FLAGS): Define.
12784 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12785 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12786 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12787 (ST_VALID): Define locally.
12788 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12789 __statvfs_getflags, use the provided value.
12790 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12791 __ASSUME_STATFS_F_FLAGS.
12792
754f7da3
UD
12793 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12794
10b3bedc
UD
12795 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12796 Add sys/fanotify.h.
12797 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12798 fanotify_mask for GLIBC_2.13.
12799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12800 fanotify_init and fanotify_mark.
12801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12802 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12803
c08fb0d7
UD
12804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12805 Add prlimit.
12806 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12807 prlimit64 for GLIBC_2.13.
12808 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12809 prlimit64.
12810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12811 syscall.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12814 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12815 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12817 add prlimit alias.
12818 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12819
15bac72b
UD
12820 [BZ #11903]
12821 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12822 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12823
c3e2f19b
UD
12824 * nss/Makefile: Add rules to build and run tst-nss-test1.
12825 * shlib-versions: Add entry for libnss_test1.
12826 * nss/nss_test1.c: New file.
12827 * nss/tst-nss-test1.c: New file.
12828
12829 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12830 (__nss_configure_lookup): Set appropriate entry in
12831 __nss_configure_lookup to true.
12832 * nss/nsswitch.h: Define enum with indeces of databases in
12833 databases and __nss_database_custom arrays. Declare
12834 __nss_database_custom.
12835 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12836 to avoid using nscd when custom rules are installed.
12837 * nss/getXXbyYY_r.c: Likewise.
12838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12839
12840 * nss/nss_files/files-parse.c: Whitespace fixes.
12841
f15ce4d8
UD
128422010-08-09 Ulrich Drepper <drepper@redhat.com>
12843
12844 [BZ #11883]
12845 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12846 * posix/fnmatch_loop.c: Likewise.
12847
d22e4cc9
AK
128482010-07-17 Andi Kleen <ak@linux.intel.com>
12849
12850 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12851 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12852 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12853 * Versions.def [GLIBC_2.13]: Add.
12854
805bc17d
UD
128552010-08-06 Ulrich Drepper <drepper@redhat.com>
12856
12857 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12858 Also fail if tpwd after pwuid call is NULL.
12859
5a42321d
ST
128602010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12861
12862 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12863 when converting to ms.
12864
fd3ebeda
ST
128652010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12866
12867 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12868 EOPNOTSUPP errors with ENOTTY.
12869 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12870 EOPNOTSUPP errors with ENOTTY.
12871
73507d3a
UD
128722010-07-31 Ulrich Drepper <drepper@redhat.com>
12873
12874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12875 Add strcasecmp_l-ssse3.
12876 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12877 strcasecmp.
12878 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12879 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12880 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12881
fe36dd02
UD
128822010-07-30 Ulrich Drepper <drepper@redhat.com>
12883
66f6765a
UD
12884 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12885
42e08a54
UD
12886 * string/Makefile (strop-tests): Add strcasecmp.
12887 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12888 strcasecmp_l-nonascii.
12889 (gen-as-const-headers): Add locale-defines.sym.
12890 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12891 * sysdeps/x86_64/strcasecmp.S: New file.
12892 * sysdeps/x86_64/strcasecmp_l.S: New file.
12893 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12894 * sysdeps/x86_64/locale-defines.sym: New file.
12895 * string/test-strcasecmp.c: New file.
12896
fe36dd02
UD
12897 * string/test-strcasestr.c: Test both ends of the range of characters.
12898 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12899
48cbc0d6
RM
129002010-07-29 Roland McGrath <roland@redhat.com>
12901
76e6d6bc 12902 [BZ #11856]
48cbc0d6
RM
12903 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12904
880113d9
UD
129052010-07-27 Ulrich Drepper <drepper@redhat.com>
12906
12907 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12908 for ld.so.
12909
deb9cabb
AS
129102010-07-27 Andreas Schwab <schwab@redhat.com>
12911
12912 * manual/memory.texi (Malloc Tunable Parameters): Document
12913 M_PERTURB.
12914
1c7570ff
RM
129152010-07-26 Roland McGrath <roland@redhat.com>
12916
12917 [BZ #11840]
12918 * configure.in (-fgnu89-inline check): Set and substitute
12919 gnu89_inline, not libc_cv_gnu89_inline.
12920 * configure: Regenerated.
12921 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12922
24fb0f88
UD
129232010-07-26 Ulrich Drepper <drepper@redhat.com>
12924
12925 * string/test-strnlen.c: New file.
12926 * string/Makefile (strop-tests): Add strnlen.
12927 * string/tester.c (test_strnlen): Add a few more test cases.
12928 * string/tst-strlen.c: Better error reporting.
12929
12930 * sysdeps/x86_64/strnlen.S: New file.
12931
8e96b93a
UD
129322010-07-24 Ulrich Drepper <drepper@redhat.com>
12933
12934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12935 lower-latency instructions.
12936
dbc676d4
UD
129372010-07-23 Ulrich Drepper <drepper@redhat.com>
12938
12939 * string/test-strcasestr.c: New file.
12940 * string/test-strstr.c: New file.
12941 * string/Makefile (strop-tests): Add strstr and strcasestr.
12942 * string/str-two-way.h: Don't undefine MAX.
12943 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12944
f6a31e0e
AS
129452010-07-21 Andreas Schwab <schwab@redhat.com>
12946
12947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12948 strcasestr-nonascii.
12949 (CFLAGS-strcasestr-nonascii.c): Define.
12950 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12952 Remove unused attribute.
12953
5dbc3b6c
RM
129542010-07-20 Roland McGrath <roland@redhat.com>
12955
12956 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12957 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12958 ld.so.cache was broken. With it, there is no way to disable dsocaps
12959 like LD_HWCAP_MASK can disable hwcaps.
12960
23d101d8
EPM
129612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12962
12963 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12964
cc9f2e47
UD
129652010-07-16 Ulrich Drepper <drepper@redhat.com>
12966
12967 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12968 call in strcasestr.
12969 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12970 __strcasestr_sse42_nonascii.
12971 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12972 strcasestr-nonascii.c.
12973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12974
77c1b069
LM
129752010-06-15 Luis Machado <luisgpm@br.ibm.com>
12976
12977 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12979 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12981
440566c3
UD
129822010-07-09 Ulrich Drepper <drepper@redhat.com>
12983
12984 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12985 fcntl.
12986
5be9d05d
AS
129872010-07-06 Andreas Schwab <schwab@redhat.com>
12988
c30b7ee2 12989 [BZ #11577]
5be9d05d
AS
12990 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12991 dl_signal_cerror.
12992
8a492a67
UD
129932010-07-06 Ulrich Drepper <drepper@redhat.com>
12994
12995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12996 _PC_PIPE_BUF using F_GETPIPE_SZ.
12997
713df3d5
RM
129982010-07-05 Roland McGrath <roland@redhat.com>
12999
13000 * manual/arith.texi (Rounding Functions): Fix rint description
13001 implicit in round description.
13002
702e8f14
UD
130032010-07-02 Ulrich Drepper <drepper@redhat.com>
13004
13005 * elf/Makefile: Fix linking for a few tests to make recent linker
13006 happy.
13007
52ed8be9
AS
130082010-06-30 Andreas Schwab <schwab@redhat.com>
13009
13010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13011 $(common-objpfx)libc_nonshared.a.
13012
f47c9a11
LM
130132010-06-21 Luis Machado <luisgpm@br.ibm.com>
13014
13015 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13016 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13017 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13018 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13019 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13020 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13021 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13022 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13037 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13038 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13039 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13040 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13041 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13042 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13043 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13044 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13045 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13046 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13047 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13048 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13063
6fb8cbcb
L
130642010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13067 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13068 * string/memmove.c (memmove): Renamed to ...
13069 (MEMMOVE): ...this. Default to memmove.
13070 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13071 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13072 (END_CHK): Define.
13073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13074 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13075 mempcpy-ssse3-back memmove-ssse3-back.
13076 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13079 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13080 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13081 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13082 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13083 * sysdeps/x86_64/multiarch/memmove.c: New file.
13084 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13085 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13086 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13087 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13090 Define.
13091 (index_Fast_Copy_Backward): Define.
13092 (HAS_ARCH_FEATURE): Define.
13093 (HAS_FAST_REP_STRING): Define.
13094 (HAS_FAST_COPY_BACKWARD): Define.
13095
4e733bac 130962010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13097
13098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13099 Restore proper fallback handling.
13100
63c4ed22
UD
131012010-06-19 Ulrich Drepper <drepper@redhat.com>
13102
ac2b484c
UD
13103 [BZ #11701]
13104 * posix/group_member.c (__group_member): Correct checking loop.
13105
63c4ed22
UD
13106 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13107 OOM in getpwuid_r correctly. Return error number when the caller
13108 should return, otherwise -1.
13109 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13110 call returning > 0 value.
13111 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13112
765ade4b
AS
131132010-06-07 Andreas Schwab <schwab@redhat.com>
13114
13115 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13116 libc_nonshared.a from targets in modules-names.
13117
80da2e09
KS
131182010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13119
13120 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13121 requires it.
13122
158db122
LM
131232010-06-10 Luis Machado <luisgpm@br.ibm.com>
13124
13125 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13129
caa78cf8
AS
131302010-06-02 Andreas Schwab <schwab@redhat.com>
13131
13132 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13133
b2ef2c01
UD
131342010-06-14 Ulrich Drepper <drepper@redhat.com>
13135
13136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13137 and F_GETPIPE_SZ.
13138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13144
fbd643b6
RM
131452010-06-14 Roland McGrath <roland@redhat.com>
13146
13147 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13148
f32f2869
JJ
131492010-06-07 Jakub Jelinek <jakub@redhat.com>
13150
13151 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13152 __REDIRECT followed by __THROW.
13153 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13154 * posix/getopt.h (getopt): Likewise.
13155
2a50c078
EPM
131562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13157
13158 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13159 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13160 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13161 in AT_FLAGS.
13162 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13163 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13164
eb5ad2eb
LM
131652010-05-28 Luis Machado <luisgpm@br.ibm.com>
13166
13167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13168
3c88fe1e
L
131692010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 [BZ #11640]
13172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13173 Properly check family and model.
13174
d2f73151
TY
131752010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13176
13177 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13178
ebd2e13d
LM
131792010-05-24 Luis Machado <luisgpm@br.ibm.com>
13180
13181 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13182
b32b8b45
UD
131832010-05-21 Ulrich Drepper <drepper@redhat.com>
13184
13185 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13186 symbol reference.
13187
9acbe24d
AS
131882010-05-19 Andreas Schwab <schwab@redhat.com>
13189
13190 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13191 symbol reference.
13192
f0ccf6ea
AS
131932010-05-21 Andreas Schwab <schwab@redhat.com>
13194
3d04ff3a
AS
13195 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13196 and internal_recvmmsg.
13197 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13198 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13199 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13200 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13201
f0ccf6ea
AS
13202 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13203 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13204 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13205
5b08ac57
AS
132062010-05-20 Andreas Schwab <schwab@redhat.com>
13207
13208 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13209
4828935d
LM
132102010-05-17 Luis Machado <luisgpm@br.ibm.com>
13211
13212 POWER7 optimizations.
13213 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13214 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13215
373d545e
UD
132162010-05-19 Ulrich Drepper <drepper@redhat.com>
13217
13218 * version.h: Update for 2.13 development version.
13219
21a2b1ae
AS
132202010-05-12 Andrew Stubbs <ams@codesourcery.com>
13221
13222 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13223 exceptions. Return 0.
13224
3f7dcb2b
RM
132252010-05-07 Roland McGrath <roland@redhat.com>
13226
13227 * elf/ldconfig.c (main): Add a const.
13228
5f24d53a 132292010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13230
a160f8d8
UD
13231 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13232 (args_options): Add no-idn option.
13233 (ahosts_keys_int): Add idn_flags to ai_flags.
13234 (parse_option): Handle 'i' option to clear idn_flags.
13235
5f24d53a
UD
13236 * malloc/malloc.c (_int_free): Possible race in the most recently
13237 added check. Only act on the data if no current modification
13238 happened.
265bb1ce
UD
13239
13240See ChangeLog.17 for earlier changes.