]> sourceware.org Git - glibc.git/blame - ChangeLog
tftp.h: rework layout to work with fortification
[glibc.git] / ChangeLog
CommitLineData
abb66a67
MF
12012-05-08 Mike Frysinger <vapier@gentoo.org>
2
3 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4 a struct th_u2 inside the union, and move tu_block/tu_code into
5 a new th_u3 union of tu_block/tu_code inside of that. Move
6 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10 (th_stuff): Change to th_u1.tu_stuff.
11 (th_data): Define.
12 (th_msg): Change to th_u1.th_u2.tu_data.
13
7f18b530
DM
142012-05-07 David S. Miller <davem@davemloft.net>
15
05760585
DM
16 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17
7f18b530
DM
18 [BZ #14074]
19 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20 (SETUP_PIC_REG): Use it.
21 (SETUP_PIC_REG_LEAF): Use it.
22
495fd99f
JM
232012-05-07 Joseph Myers <joseph@codesourcery.com>
24
25 [BZ #13885]
26 [BZ #13923]
27 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28 USE_AS_EXPM1L.
29 (EXPL_FINITE): Likewise.
30 (FLDLOG): Likewise.
31 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33 e_expl.S.
34 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35 USE_AS_EXPM1L.
36 (EXPL_FINITE): Likewise.
37 (FLDLOG): Likewise.
38 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40 e_expl.S.
41 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42 test of -max_value argument for long double.
43 * sysdeps/i386/fpu/libm-test-ulps: Update.
44 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45
6693d694
DM
462012-05-06 David S. Miller <davem@davemloft.net>
47
48 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49 quad soft-float symbols whose references which are compiler
50 generated.
51 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52
6c23e11c
JM
532012-05-06 Joseph Myers <joseph@codesourcery.com>
54
d8b82cad
JM
55 [BZ #13884]
56 [BZ #13914]
57 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58 USE_AS_EXP10L.
59 (EXPL_FINITE): Likewise.
60 (FLDLOG): Likewise.
61 (c0): Likewise.
62 (c1): Likewise.
63 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64 Adjust comments for base varying.
65 (__expl_finite): Change alias to EXPL_FINITE.
66 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67 e_expl.S.
68 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
71 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73 USE_AS_EXP10L.
74 (EXPL_FINITE): Likewise.
75 (FLDLOG): Likewise.
76 (c0): Likewise.
77 (c1): Likewise.
78 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
79 Adjust comments for base varying.
80 (__expl_finite): Change alias to EXPL_FINITE.
81 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
82 tests for bugs.
83 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84
6c23e11c
JM
85 [BZ #14064]
86 * math/libm-test.inc (check_float_internal): Correct ulp
87 calculation for subnormal expected results.
88
7b17aeda
JM
892012-05-05 Joseph Myers <joseph@codesourcery.com>
90
5779f134
JM
91 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
92 Disable one test.
93
41498f4d
JM
94 [BZ #13787]
95 [BZ #13922]
96 [BZ #14036]
97 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
98 (__ieee754_expl): Allow for and saturate large arguments.
99 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
100 (u_threshold): Likewise.
101 (__exp): Call __ieee754_exp before checking for overflow and
102 underflow.
103 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
104 (u_threshold): Likewise.
105 (__expf): Call __ieee754_expf before checking for overflow and
106 underflow.
107 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
108 (u_threshold): Likewise.
109 (__expl): Call __ieee754_expl before checking for overflow and
110 underflow.
111 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
112 (__ieee754_expl): Allow for and saturate large arguments.
113 * math/libm-test.inc (exp_test): Add another test. Do not allow
114 missing overflow exception on overflow.
115 (expm1_test): Do not allow missing overflow exception on overflow.
116
6698b8bf
JM
117 * sysdeps/i386/fpu/e_expl.c: Move to ...
118 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
119 rather than using inline asm.
120 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
121 * sysdeps/x86_64/fpu/e_expl.S: Copy from
122 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
123
7b17aeda
JM
124 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
125 (nice): Likewise.
126 (poll): Likewise.
127 (signal): Likewise.
128 (time): Likewise.
129 (times): Likewise.
130
f7c85819
JM
1312012-05-04 Joseph Myers <joseph@codesourcery.com>
132
133 * sysdeps/unix/syscalls.list (adjtime): Add entry from
134 sysdeps/unix/common/syscalls.list.
135 (fchmod): Likewise.
136 (fchown): Likewise.
137 (ftruncate): Likewise.
138 (getrusage): Likewise.
139 (gettimeofday): Likewise.
140 (setpgid): Likewise.
141 (setregid): Likewise.
142 (setreuid): Likewise.
143 (sigaction): Likewise.
144 (truncate): Likewise.
145 (vhangup): Likewise.
146 * sysdeps/unix/common/syscalls.list: Remove file.
147 * sysdeps/unix/bsd/Implies: Don't include unix/common.
148 * sysdeps/unix/sysv/linux/Implies: Likewise.
149
336270d0
L
1502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
151
152 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
154 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
155 Moved to ...
156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
157 Here.
158 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
159 to ...
160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
161 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
162 to ...
163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
164 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
165 to ...
166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
167 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
168 to ...
169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
170 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
171 to ...
172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
173 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
174 to ...
175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
176 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
177 to ...
178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
179 Here.
180 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
181 to ...
182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
183 Here.
184 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
185 to ...
186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
187 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
188 Moved to ...
189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
190 Here.
191 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
192 to ...
193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
194
d128e450
JM
1952012-05-04 Joseph Myers <joseph@codesourcery.com>
196
fa8ee516
JM
197 * sysdeps/unix/common/bits/dirent.h: Remove file.
198 * sysdeps/unix/common/bits/fcntl.h: Likewise.
199
d128e450
JM
200 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
201 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
202 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
203 * sysdeps/unix/bsd/isatty.c: Likewise.
204 * sysdeps/unix/bsd/tcdrain.c: Likewise.
205 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
206 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
207
ff8faaf0 2082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 209
62881be4 210 [BZ #13563]
31dc8730
AZ
211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
212 long double comparison inaccuracies.
213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
215
6fef930c
AS
2162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
217
218 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
220
8f203e6c
JM
2212012-05-04 Joseph Myers <joseph@codesourcery.com>
222
223 [BZ #14049]
224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
225 nonzero digits before rounding a hex value.
226 * stdlib/tst-strtod.c (tests): Add another test.
227
5197d9c2
AK
2282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
229
230 * sysdeps/s390/fpu/libm-test-ulps: Update.
231
f0c1dedf
AJ
2322012-05-03 Andreas Jaeger <aj@suse.de>
233
234 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
235 does not get optimized out.
236 (malloc_opt_barrier): New.
237
a65ef2ae 2382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 239 Roland McGrath <roland@hack.frob.com>
a65ef2ae 240
2b942cb7 241 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 242 intermediate file deletion.
2b942cb7 243 (generated): Add .symlist files.
a65ef2ae 244
54b71e02
JM
2452012-05-03 Joseph Myers <joseph@codesourcery.com>
246
247 [BZ #13775]
248 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
249 Redirect under this condition.
250 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
251 [__USE_GNU] (__dprintf_chk): Not under this condition.
252 [__USE_GNU] (__vdprintf_chk): Likewise.
253 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
254 under this condition.
255 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
256 [__USE_XOPEN2K8] (dprintf): Define under this condition.
257 [__USE_XOPEN2K8] (vdprintf): Likewise.
258 [__USE_GNU] (__dprintf_chk): Not under this condition.
259 [__USE_GNU] (__vdprintf_chk): Likewise.
260 [__USE_GNU] (dprintf): Likewise.
261 [__USE_GNU] (vdprintf): Likewise.
262
d3dfcc41
RM
2632012-05-03 Roland McGrath <roland@hack.frob.com>
264
265 * elf/Makefile (common-generated): Set this instead of generated for
266 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
267 $(all-built-dso)-derived lists.
268
7ac30cc5
AJ
2692012-05-03 Andreas Jaeger <aj@suse.de>
270
0c51e550
AJ
271 * sysdeps/i386/fpu/libm-test-ulps: Update.
272
7ac30cc5
AJ
273 * FAQ: Removed.
274 * FAQ.in: Likewise.
275 * scripts/gen-FAQ.pl: Likewise.
276 * manual/install.texi (Installation): Point to online location of
277 FAQ.
278 * Makefile (files-for-dist): Remove FAQ.
279 (FAQ): Remove.
280
d4c2917f
AM
2812012-05-02 Allan McRae <allan@archlinux.org>
282
283 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
284 (LDFLAGS-reldepmod5.so): Likewise.
285 (LDFLAGS-reldep6mod1.so): Likewise.
286 (LDFLAGS-reldep6mod4.so): Likewise.
287 (LDFLAGS-reldep8mod3.so): Likewise.
288 (LDFLAGS-unload4mod1.so): Likewise.
289 (LDFLAGS-unload4mod2.so): Likewise.
290 (LDFLAGS-tst-initorder): Likewise.
291 (LDFLAGS-tst-initordera2.so): Likewise.
292 (LDFLAGS-tst-initordera3.so): Likewise.
293 (LDFLAGS-tst-initordera4.so): Likewise.
294 (LDFLAGS-tst-initorderb2.so): Likewise.
295 (LDFLAGS-noload): Likewise.
296 (LDFLAGS-next): Likewise.
297 (LDFLAGS-order2mod1.so): Likewise.
298 (LDFLAGS-order2mod2.so): Likewise.
299 (LDFLAGS-tst-initorder2): Likewise.
300 (LDFLAGS-tst-initorder2a.so): Likewise.
301 (LDFLAGS-tst-initorder2b.so): Likewise.
302 (LDFLAGS-tst-initorder2c.so): Likewise.
303 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
304
d77f993f
DM
3052012-05-02 David S. Miller <davem@davemloft.net>
306
307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
308
171a70b4
PP
3092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
310
311 [BZ #14055]
312 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
313
0be196ad
AJ
3142012-05-02 Andreas Jaeger <aj@suse.de>
315
316 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
317 since we manipulate rounding mode.
318 (CPPFLAGS-test-idouble.c): Likewise.
319 (CPPFLAGS-test-ifloat.c): Likewise.
320 (CFLAGS-test-ldouble.c): Likewise.
321 (CFLAGS-test-double.c): Likewise.
322 (CFLAGS-test-float.c): Likewise.
323 (CFLAGS-test-misc.c): Likewise.
324 (CFLAGS-test-test-fenv.c): Likewise.
325
4f9d04aa
AZ
3262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
327
2b942cb7
RM
328 [BZ #2550]
329 [BZ #2570]
330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
331 comparisons to determine direction to adjust input.
4f9d04aa 332
82a79e7d
RM
3332012-05-01 Roland McGrath <roland@hack.frob.com>
334
f5a01ca9
RM
335 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
336 output to the target.
337
90fe4186
RM
338 * scripts/localplt.awk: New file.
339 * elf/Makefile ($(objpfx)check-localplt): Target removed.
340 (check-localplt-CFLAGS): Variable removed.
341 ($(all-built-dso:=.jmprel)): New static pattern rule.
342 (generated): Add those targets.
343 (localplt-built-dso): New variable.
344 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
345
346 * elf/check-localplt.c: File removed.
347
82397ed6
RM
348 * scripts/check-execstack.awk: New file.
349 * elf/Makefile ($(objpfx)check-execstack): Target removed.
350 (check-execstack-CFLAGS): Variable removed.
351 ($(objpfx)check-execstack.h): Target removed.
352 ($(objpfx)execstack-default): New target.
353 (generated): Add that instead of check-execstack.h.
354 ($(all-built-dso:=.phdr)): New static pattern rule.
355 (generated): Add those targets.
356 * elf/check-execstack.c: File removed.
357
82a79e7d
RM
358 * scripts/check-textrel.awk: New file.
359 * elf/Makefile ($(objpfx)check-textrel): Target removed.
360 (check-textrel-CFLAGS): Variable removed.
361 (all-built-dso): Use := to define.o
362 ($(all-built-dso:=.dyn)): New static pattern rule.
363 (generated): Add those targets.
364 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
365 * config.make.in (READELF): New substituted variable.
366 * elf/check-textrel.c: File removed.
367
62fde54f 3682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 369
615605c9
JM
370 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
371 allow.
372 * conform/data/ctype.h-data [C99-based standards] (isblank):
373 Expect function.
374 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
375 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
377 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
378 Specify type. Require positive value.
379 (EILSEQ): Likewise.
380 (ERANGE): Likewise.
381 [ISO || POSIX] (EILSEQ): Do not expect.
382 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
383 Specify type. Require positive value.
384 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
385 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
386 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
387 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
388 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
389 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
390 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
391 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
392 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
393 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
394 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
395 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
396 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
397 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
398 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
399 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
400 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
401 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
402 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
403 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
404 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
405 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
406 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
407 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
408 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
409 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
410 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
411 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
412 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
413 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
414 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
415 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
416 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
417 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
418 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
419 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
420 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
421 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
422 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
423 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
424 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
425 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
426 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
427 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
428 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
429 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
430 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
431 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
432 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
433 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
434 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
435 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
436 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
437 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
438 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
439 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
440 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
441 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
442 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
443 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
444 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
445 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
446 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
447 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
448 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
449 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
450 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
451 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
452 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
453 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
454 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
455 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
456 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
457 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
458 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
459 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
460 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
461 Require >= 2.
462 (FLT_ROUNDS): Expect as macro, not constant.
463 (FLT_MANT_DIG): Use macro-int-constant.
464 (DBL_MANT_DIG): Likewise.
465 (LDBL_MANT_DIG): Likewise.
466 (FLT_DIG): Likewise.
467 (DBL_DIG): Likewise.
468 (LDBL_DIG): Likewise.
469 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
470 (DBL_MIN_EXP): Likewise.
471 (LDBL_MIN_EXP): Likewise.
472 (FLT_MAX_EXP): Use macro-int-constant.
473 (DBL_MAX_EXP): Likewise.
474 (LDBL_MAX_EXP): Likewise.
475 (FLT_MAX_10_EXP): Likewise.
476 (DBL_MAX_10_EXP): Likewise.
477 (LDBL_MAX_10_EXP): Likewise.
478 (FLT_MAX): Use macro-constant.
479 (DBL_MAX): Likewise.
480 (LDBL_MAX): Likewise.
481 (FLT_EPSILON): Use macro-constant. Give upper bound.
482 (DBL_EPSILON): Likewise.
483 (LDBL_EPSILON): Likewise.
484 (FLT_MIN): Likewise.
485 (DBL_MIN): Likewise.
486 (LDBL_MIN): Likewise.
487 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
488 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
489 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
490 [ISO11] (FLT_HAS_SUBNORM): Likewise.
491 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
492 [ISO11] (DBL_DECIMAL_DIG): Likewise.
493 [ISO11] (FLT_DECIMAL_DIG): Likewise.
494 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
495 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
496 [ISO11] (FLT_TRUE_MIN): Likewise.
497 [ISO11] (LDBL_TRUE_MIN): Likewise.
498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
499 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
500 (SCHAR_MIN): Use macro-int-constant. Specify type.
501 (SCHAR_MAX): Likewise.
502 (UCHAR_MAX): Likewise.
503 (CHAR_MIN): Likewise.
504 (CHAR_MAX): Likewise.
505 (MB_LEN_MAX): Use macro-int-constant.
506 (SHRT_MIN): Use macro-int-constant. Specify type.
507 (SHRT_MAX): Likewise.
508 (USHRT_MAX): Likewise.
509 (INT_MAX): Likewise.
510 (INT_MIN): Use macro-int-constant. Specify type. Make upper
511 bound negative.
512 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
513 bound with "U".
514 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
515 bound with "L".
516 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
517 bound negative. Suffix upper bound with "L".
518 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
519 bound with "UL".
520 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
521 Specify type.
522 [C99-based standards] (LLONG_MAX): Likewise.
523 [C99-based standards] (ULLONG_MAX): Likewise.
524 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
525 == 0.
526 [ISO11] (max_align_t): Require type.
527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
528
c9140a62
JM
529 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
530 from $CFLAGS, without defining away __attribute__ calls.
531 (checknamespace): Use $CFLAGS_namespace.
532
9af0bf29
JM
533 * conform/conformtest.pl (@keywords): Only include C99 keywords
534 for standards based on C99 or C11.
535
343222a2
JM
536 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
537 Disable tests.
538 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
539 UNIX98]: Likewise.
540
661f8cf0
JM
541 * conform/conformtest.pl: Handle "macro-int-constant" and test for
542 usability of symbols in #if.
543
ee74b9cb
JM
544 * conform/conformtest.pl: If macro or constant types start
545 "promoted:", expect the symbol to be of the following type
546 promoted by the integer promotions.
62fde54f 547
aafc49b3
JM
548 * conform/conformtest.pl: Parse all "constant" and "macro" lines
549 in one place. Also handle "macro-constant".
550
fefdf574
JM
551 * conform/conformtest.pl: Only accept expected macro values with
552 "==". Parse all "macro" lines in one place.
553 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
554
f2d922fe
JM
555 * conform/conformtest.pl: Handle braced types on "constant" lines
556 instead of handling "typed-constant".
557 * conform/data/signal.h-data: Use "constant" instead of
558 "typed-constant".
559
d22956c9
JM
560 * conform/conformtest.pl: Handle "optional-" at start of lines in
561 one place rather than duplicating several cases. Handle each
562 format of "macro" line with initial "optional-".
563
028e2e38
JM
564 * conform/conformtest.pl: Only accept expected constant or
565 optional-constant values with "==". Parse all "constant" lines in
566 one place. Parse all "optional-constant" lines in one place.
567 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
568 * conform/data/fmtmsg.h-data: Likewise.
569 * conform/data/netinet/in.h-data: Likewise.
570 * conform/data/tar.h-data: Likewise.
571 * conform/data/limits.h-data: Use "==" form on "constant" and
572 "optional-constant" lines.
573
1b8f2850
JM
574 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
575 Use -std=c99 for XOPEN2K.
576 (@knownproblems): Remove.
577 (newtoken): Don't check %isknown.
578
a05a144b
JM
579 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
580 Do not expect macro.
581 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
582 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
583 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
584 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
585 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
586 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
587 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
588 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
589 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
590 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
591 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
592 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
593 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
594 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
595 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
596 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
597 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
598 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
599 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
600 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
601 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
603 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
604 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
605 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
606 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
607 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
608 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
609 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
610 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
611 [XPG3] (acosh): Likewise.
612 [XPG3] (asinh): Likewise.
613 [XPG3] (atanh): Likewise.
614 [XPG3] (cbrt): Likewise.
615 [XPG3] (expm1): Likewise.
616 [XPG3] (ilogb): Likewise.
617 [XPG3] (log1p): Likewise.
618 [XPG3] (logb): Likewise.
619 [XPG3] (nextafter): Likewise.
620 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
621 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
622 [XPG3] (remainder): Likewise.
623 [XPG3] (rint): Likewise.
624 [XPG3 || XPG4 || UNIX98] (round): Likewise.
625 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
626 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
627 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
628 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
629 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
630 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
631 [UNIX98 || XOPEN2K] (scalb): Expect.
632 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
633 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
634 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
635 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
636 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
637 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
638 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
639 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
640 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
641 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
642 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
643 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
644 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
645 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
646 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
647 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
648 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
649 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
650 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
651 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
652 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
653 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
654 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
655 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
656 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
657 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
658 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
659 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
660 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
661 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
662 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
663 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
664 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
665 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
666 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
667 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
668 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
669 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
670 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
671 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
672 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
673 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
674 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
675 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
676 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
677 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
678 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
679 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
680 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
681 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
682 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
683 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
684 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
685 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
686 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
687 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
688 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
689 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
690 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
691 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
692 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
693 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
694 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
695 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
696 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
697 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
698 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
699 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
700 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
701 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
702 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
703 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
704 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
705 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
706 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
707 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
708 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
709 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
710 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
711 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
712 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
713 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
714 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
715 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
716 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
717 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
718 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
719 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
720 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
721 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
722 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
723 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
724 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
725 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
726 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
727 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
728 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
729 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
730 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
731 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
732 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
733 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
734 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
735 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
736 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
737 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
738 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
739 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
740 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
741 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
742 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
743 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
744 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
745 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
746 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
747 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
748 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
749 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
750 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
751 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
752 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
753 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
754 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
755 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
756 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
757 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
758 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
759 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
760 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
761 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
762 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
763 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
764 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
765 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
766 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
767 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
768 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
769
73c5ebe3
JM
770 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
771 _XOPEN_SOURCE_EXTENDED for XPG4.
772
39c33b6c
JM
773 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
774
62fde54f
JM
775 * Makeconfig (localtime): Remove variable.
776 (inst_localtime-file): Likewise.
777
0741d64c
AS
7782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
779
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
781 Update.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
783 Update.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
785 Update.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
787 Update.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
789 Update.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
791 Update.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
793 Update.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
795 Update.
796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
797 Update.
798
7cb029ee
JM
7992012-05-01 Joseph Myers <joseph@codesourcery.com>
800
801 [BZ #2550]
802 [BZ #2570]
803 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
804 comparisons to determine direction to adjust input.
805 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
806 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
807 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
808 Likewise.
809 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
810 Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
812 Likewise.
813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
815 Likewise.
816 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
817 Likewise.
818 * math/libm-test.inc (nexttoward_test): Add more tests.
819
412bd966
AS
8202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
821
822 [BZ #14040]
823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
824 in version GLIBC_2.1, not GLIBC_2.0.
825 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
826 Likewise.
827
9568c0c2
JM
8282012-04-30 Joseph Myers <joseph@codesourcery.com>
829
adfbc8ac
JM
830 [BZ #13942]
831 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
832 (1 - x) * (1 + x).
833 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
834 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
835 * math/libm-test.inc (acos_test): Add more tests.
836 (asin_test): Likewise.
837 * sysdeps/i386/fpu/libm-test-ulps: Update.
838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
839
5ba3cc69
JM
840 [BZ #14034]
841 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
842 of square root.
843 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
845 * math/libm-test.inc (acos_test_tonearest): New function.
846 (acos_test_towardzero): Likewise.
847 (acos_test_downward): Likewise.
848 (acos_test_upward): Likewise.
849 (asin_test_tonearest): Likewise.
850 (asin_test_towardzero): Likewise.
851 (asin_test_downward): Likewise.
852 (asin_test_upward): Likewise.
853 (main): Call the new functions.
854 * sysdeps/i386/fpu/libm-test-ulps: Update.
855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
856
9568c0c2
JM
857 [BZ #13884]
858 [BZ #13924]
859 * math/e_exp10.c: Include <float.h>.
860 (__ieee754_exp10): Handle underflow here rather than multiplying
861 large negative argument by M_LN10.
862 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
863 of __ieee754_expf.
864 * math/e_exp10l.c: Include <float.h>.
865 (__ieee754_exp10l): Handle underflow here rather than multiplying
866 large negative argument by M_LN10l.
867 * math/libm-test.inc (exp10_test): Add another test. Do not allow
868 spurious overflow exception on underflow.
869
5ac3ea17
MP
8702012-04-29 Marek Polacek <polacek@redhat.com>
871
872 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
873 (__fortify_function): New macro.
874 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
875 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
876 __extern_always_inline.
877 * libio/bits/stdio2.h: Likewise.
878 * libio/bits/stdio.h: Likewise.
879 * string/string.h: Likewise.
880 * string/bits/string3.h: Likewise.
881 * include/stdio.h: Likewise.
882 * stdlib/bits/stdlib.h: Likewise.
883 * stdlib/stdlib.h: Likewise.
884 * rt/bits/mqueue2.h: Likewise.
885 * rt/mqueue.h: Likewise.
886 * posix/bits/unistd.h: Likewise.
887 * posix/unistd.h: Likewise.
888 * io/bits/poll2.h: Likewise.
889 * io/bits/fcntl2.h: Likewise.
890 * io/fcntl.h: Likewise.
891 * io/sys/poll.h: Likewise.
892 * misc/bits/syslog.h: Likewise.
893 * misc/bits/syslog-ldbl.h: Likewise.
894 * misc/sys/syslog.h: Likewise.
895 * socket/bits/socket2.h: Likewise.
896 * socket/sys/socket.h: Likewise.
897 * debug/tst-chk1.c: Likewise.
898 * wcsmbs/bits/wchar2.h: Likewise.
899 * wcsmbs/bits/wchar-ldbl.h: Likewise.
900 * wcsmbs/wchar.h: Likewise.
901
ecf0ebfb
AJ
9022012-04-29 Andreas Jaeger <aj@suse.de>
903
904 * Makerules (tests): Remove enable-check-abi protection.
905 (check-abi-warn): Remove.
906 (check-abi-%): Remove check-abi-warn usage.
907
908 * configure.in: Remove check-abi configure option.
909 * configure: Regenerated.
910 * config.make.in (enable-check-abi): Remove.
911
6d5c57fa
AS
9122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
913
24c5d07e 914 [BZ #14033]
ded5180a
AS
915 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
916 double functions to double *_finite functions.
917
7e0d315d
AS
918 [BZ #13941]
919 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
920 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
921 LDBL_MIN_EXP.
922 * stdio-common/Makefile (tests): Add tst-sprintf3.
923 * stdio-common/tst-sprintf3.c: New file.
924
6d5c57fa
AS
925 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
926 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
927
0749ff8b
JM
9282012-04-28 Joseph Myers <joseph@codesourcery.com>
929
930 * conform/conformtest.pl: Remove duplicate typed-constant
931 handling.
932
8dbd5d7b
DM
9332012-04-28 David S. Miller <davem@davemloft.net>
934
935 * Makerules (%.abilist): Add vpath on sysdep_dirs.
936 (check-abi-%): Remove AWK script prerequisite and explicit
937 abilist directory.
938 (check-abi): Rewrite to just diff the symlist with the abilist.
939 (config-tls, config-abi-config): Delete, no longer used.
940 (update-abi-%): Remove AWK script and explicit abilist directory.
941 (update-abi): Rewrite to simply compare and conditionally copy the
942 symlist and the sysdep abilist file. Remove update-abi-config
943 checks.
944 * abilist/ld.abilist: Remove.
945 * abilist/libBrokenLocale.abilist: Remove.
946 * abilist/libanl.abilist: Remove.
947 * abilist/libcrypt.abilist: Remove.
948 * abilist/libdl.abilist: Remove.
949 * abilist/librt.abilist: Remove.
950 * abilist/libthread_db.abilist: Remove.
951 * abilist/libutil.abilist: Remove.
952 * scripts/extract-abilist.awk: Remove.
953 * scripts/merge-abilist.awk: Remove.
954 * sysdeps/generic/libcidn.abilist: New file.
955 * sysdeps/generic/libnss_compat.abilist: New file.
956 * sysdeps/generic/libnss_db.abilist: New file.
957 * sysdeps/generic/libnss_dns.abilist: New file.
958 * sysdeps/generic/libnss_files.abilist: New file.
959 * sysdeps/generic/libnss_hesiod.abilist: New file.
960 * sysdeps/generic/libnss_nis.abilist: New file.
961 * sysdeps/generic/libnss_nisplus.abilist: New file.
962 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
963 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
964 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
965 file.
966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
967 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
968 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
969 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
970 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
971 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
972 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
973 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
974 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
975 file.
976 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
977 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
978 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
979 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
980 file.
981 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
982 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
983 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
984 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
986 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
987 file.
988 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
989 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
990 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
991 file.
992 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
994 New file.
995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
996 New file.
997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
998 New file.
999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1000 New file.
1001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1002 New file.
1003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1004 New file.
1005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1006 New file.
1007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1008 New file.
1009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1010 New file.
1011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1012 New file.
1013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1014 New file.
1015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1016 New file.
1017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1018 New file.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1020 file.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1022 New file.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1024 New file.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1026 file.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1028 New file.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1030 New file.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1032 file.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1034 New file.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1036 New file.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1038 New file.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1040 New file.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1042 New file.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1044 New file.
1045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1047 file.
1048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1049 New file.
1050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1051 file.
1052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1053 file.
1054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1055 file.
1056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1057 file.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1059 file.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1061 New file.
1062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1063 file.
1064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1065 file.
1066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1067 New file.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1069 file.
1070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1072 file.
1073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1074 New file.
1075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1076 file.
1077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1078 file.
1079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1080 file.
1081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1082 file.
1083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1084 file.
1085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1086 New file.
1087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1088 file.
1089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1090 file.
1091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1092 New file.
1093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1094 file.
1095 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1096 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1097 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1098 file.
1099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1100 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1101 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1102 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1103 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1104 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1105 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1106 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1107 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1108 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1111 file.
1112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1113 New file.
1114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1115 file.
1116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1117 file.
1118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1119 file.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1121 file.
1122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1123 file.
1124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1125 New file.
1126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1127 New file.
1128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1129 file.
1130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1131 New file.
1132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1133 file.
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1136 file.
1137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1138 New file.
1139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1140 file.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1142 file.
1143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1144 file.
1145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1146 file.
1147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1148 file.
1149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1150 New file.
1151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1152 New file.
1153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1154 file.
1155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1156 New file.
1157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1158 file.
1159
41d73a1b
JM
11602012-04-28 Joseph Myers <joseph@codesourcery.com>
1161
1162 * conform/conformtest.pl: Fix typo in handling typed-constant from
1163 allow-header.
1164
28aeeda4
JM
11652012-04-27 Joseph Myers <joseph@codesourcery.com>
1166
adae8f5e
JM
1167 * README: Cut down references to pre-2.6 Linux kernels and
1168 Linuxthreads. Update lists of configurations in libc and ports
1169 and sort alphabetically. Say "or newer" with Linux kernel version
1170 requirements.
1171
28aeeda4
JM
1172 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1173
a462cb63
RA
11742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1175
1176 [BZ #887]
1177 * math/libm-test.inc (logb_test_downward): New test to expose
1178 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1179 rounding mode.
1180
6ad3493e
JM
11812012-04-27 Joseph Myers <joseph@codesourcery.com>
1182
1183 [BZ #14027]
1184 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1185 to be done.
1186 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1187 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1188
2ce4f015
JM
11892012-04-26 Joseph Myers <joseph@codesourcery.com>
1190
5aeb141a
JM
1191 * sysdeps/unix/i386/brk.S: Remove file.
1192 * sysdeps/unix/i386/dl-brk.S: Likewise.
1193 * sysdeps/unix/i386/pipe.S: Likewise.
1194 * sysdeps/unix/i386/sigreturn.S: Likewise.
1195 * sysdeps/unix/i386/syscall.S: Likewise.
1196 * sysdeps/unix/i386/vfork.S: Likewise.
1197 * sysdeps/unix/i386/wait.S: Likewise.
1198
7143acae
JM
1199 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1200 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1201
2ce4f015
JM
1202 * configure.in (arm*-none*): Do not allow without
1203 --enable-hacker-mode.
1204 (netbsd*): Remove case setting base_os.
1205 (386bsd*): Likewise.
1206 (freebsd*): Likewise.
1207 (bsdi*): Likewise.
1208 (osf*): Likewise.
1209 (sunos*): Likewise.
1210 (ultrix*): Likewise.
1211 (newsos*): Likewise.
1212 (dynix*): Likewise.
1213 (*bsd*): Likewise.
1214 (sysv*): Likewise.
1215 (isc*): Likewise.
1216 (esix*): Likewise.
1217 (sco*): Likewise.
1218 (minix*): Likewise.
1219 (irix4*): Likewise.
1220 (irix6*): Likewise.
1221 (solaris[2-9]*): Likewise.
1222 (none): Likewise.
1223 * configure: Regenerated.
1224
0ac229c8
AZ
12252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1226
1227 [BZ #11521]
1228 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1229 overflow or cancellation in calculating denominator.
1230 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1232 down expression to avoid unexpected rounding in newer GCCs.
1233 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1234
33f244f4
DM
12352012-04-26 David S. Miller <davem@davemloft.net>
1236
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1238 long-double compat symbols.
1239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1252
cfa1f3e8
DM
12532012-04-25 David S. Miller <davem@davemloft.net>
1254
1255 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1256 HWCAP_* values only after the memory barriers have been defined.
1257 (atomic_full_barrier): Define.
1258 (atomic_read_barrier): Define.
1259 (atomic_write_barrier): Define.
1260
6e236b92
SP
12612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1262
1263 * shlib-versions: Add libgcc_s version information.
1264 * sysdeps/generic/libgcc_s.h: Remove.
1265 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1266 libgcc_s.h.
1267 * sysdeps/gnu/unwind-resume.c: Likewise.
1268 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1269
aab39a09
DM
12702012-04-25 David S. Miller <davem@davemloft.net>
1271
1272 * sysdeps/unix/sparc/brk.S: Delete.
1273 * sysdeps/unix/sparc/dl-brk.S: Delete.
1274 * sysdeps/unix/sparc/pipe.S: Delete.
1275 * sysdeps/unix/sparc/sysdep.S: Delete.
1276 * sysdeps/unix/sparc/sysdep.h: Delete.
1277 * sysdeps/unix/sparc/vfork.S: Delete.
1278 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1279 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1281 ret_ERRVAL, r0, r1, MOVE): Define.
1282 (JUMPTARGET): Remove.
1283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1284 sysdeps/unix/sparc/sysdep.h
1285 (ENTRY, END): Remove.
1286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1287
a3cc4f48
JM
12882012-04-25 Joseph Myers <joseph@codesourcery.com>
1289
2ed8cda2
JM
1290 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1291 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1292 -DIS_IN_build.
1293
35d76d59
JM
1294 * timezone/README: Update upstream location and email address for
1295 tzcode and tzdata.
1296 * timezone/zdump.c: Update from tzcode 2012b.
1297 * timezone/zic.c: Likewise.
1298
a3cc4f48
JM
1299 * configure.in (libc_cv_as_needed): Remove test.
1300 * configure: Regenerated.
1301 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1302 conditional definition.
1303 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1304 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1305 * config.make.in (have-as-needed): Remove variable.
1306
ceab42c3
SP
13072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1308 Paul Pluzhnikov <ppluzhnikov@google.com>
1309
1310 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1311 strings correctly.
1312
3ce2865f
CLT
13132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1314
1315 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1316 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1317 * sysdeps/sh/strlen.S: Likewise.
1318
f37e0d68
JM
13192012-04-24 Joseph Myers <joseph@codesourcery.com>
1320
ae186e9a
JM
1321 * sysdeps/unix/fork.S: Remove file.
1322 * sysdeps/unix/i386/fork.S: Likewise.
1323 * sysdeps/unix/sparc/fork.S: Likewise.
1324
b96914af
JM
1325 * sysdeps/unix/system.c: Remove file.
1326 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1327
f37e0d68
JM
1328 * sysdeps/unix/getegid.S: Remove file.
1329 * sysdeps/unix/geteuid.S: Likewise.
1330
87ef29ca
RM
13312012-04-24 Roland McGrath <roland@hack.frob.com>
1332
83bcd236
RM
1333 * scripts/check-localplt.awk: New file.
1334 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1335 of diff.
1336 * scripts/data/localplt-generic.data: Add a comment.
1337
87ef29ca
RM
1338 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1339 NODE when __dir_mkfile failed.
1340 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1341 Reported by Ludovic Courtès <ludo@gnu.org>.
1342
e5a6e567
AJ
13432012-04-24 Andreas Jaeger <aj@suse.de>
1344
1345 * Makerules (common-clean): Also remove gen-as-const-headers
1346 files.
1347
c1820385
JM
13482012-04-24 Joseph Myers <joseph@codesourcery.com>
1349
1350 * Makerules (native-compile): Do not change working directory for
1351 build. Use $(OUTPUT_OPTION) in command.
1352 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1353
94e02fc4
AZ
13542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
1356 [BZ #13886]
1357 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1358 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1359 * math/libm-test.inc (floor_test): Add more tests.
1360 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1361
3a533ca3
JM
13622012-04-24 Joseph Myers <joseph@codesourcery.com>
1363
940ab4b3
JM
1364 * sysdeps/unix/getdents.c: Remove file.
1365 * sysdeps/unix/sysv/getdents.c: Likewise.
1366 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1367
90e037bd
JM
1368 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1369 sysdeps/unix/mman/syscalls.list.
1370 (mmap): Likewise.
1371 (mprotect): Likewise.
1372 (msync): Likewise.
1373 (munmap): Likewise.
1374 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1375 * sysdeps/unix/mman/syscalls.list: Remove.
1376 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1377
3a533ca3
JM
1378 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1379 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1380 * configure: Regenerated.
1381 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1382 $(libgcc_s_suffix).
1383 * config.make.in (libgcc_s_suffix): Remove variable.
1384
1ad743de
JM
13852012-04-23 Joseph Myers <joseph@codesourcery.com>
1386
4ad451e2
JM
1387 * sysdeps/unix/sysv/gethostname.c: Move to ...
1388 * sysdeps/posix/gethostname.c: ... here.
1389
5e37ce39
JM
1390 * sysdeps/unix/execve.S: Remove file.
1391
1ad743de
JM
1392 * sysdeps/unix/_exit.S: Remove file.
1393
4e681b5b
AJ
13942012-04-23 Andreas Jaeger <aj@suse.de>
1395
1396 [BZ #13739]
1397 * manual/Makefile: Remove make dist support, there's no
1398 need for a stand-alone documentation tar ball.
1399 (TEXI2DVI): Define always, it's not in Makeconfig.
1400 (dist): Removed.
1401 (tar-it): Removed.
1402 (edition): Removed.
1403 (glibc-doc-$(edition).tar): Removed
1404 (%.Z): Removed.
1405 (%.gz): Removed.
1406 (%.uu): Removed.
1407 (ETAGS): Remove, it's in Makeconfig.
1408 (move-if-change): Remove, it's in Makeconfig.
1409
c0baea34
PE
14102013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1411
1412 [BZ #13970]
1413 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1414 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1415 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1416 (strtod_l, strtof_l, strtold_l): Remove __wur.
1417 It is not necessarily an error to ignore strtol's return value.
1418 One can reliably look at the stored endptr to decide whether
1419 the number had valid syntax.
1420
7c0616fa
AJ
14212012-04-21 Andreas Jaeger <aj@suse.de>
1422
803cb6b7 1423 [BZ #13739]
7c0616fa
AJ
1424 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1425
b0fe253f
JM
14262012-04-21 Joseph Myers <joseph@codesourcery.com>
1427
1428 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1429 * sysdeps/unix/sysv/Versions: Remove file.
1430
8280f22d
MT
14312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1432
1433 [BZ #13927]
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1435
75ce411f 14362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1437
1438 [BZ #7064]
1439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1440 version from __vm86.
1441
097d59fa
JM
14422012-04-20 Joseph Myers <joseph@codesourcery.com>
1443
a90f3bcb
JM
1444 * sysdeps/unix/common/lxstat.c: Remove file.
1445 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1446
edc7ea78
JM
1447 * sysdeps/unix/sysv/Makefile: Remove file.
1448
cb78c221
JM
1449 * sysdeps/unix/sysv/direct.h: Remove file.
1450
efa6a45f
JM
1451 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1452 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1453 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1454 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1455 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1456 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1457 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1458
9c9f2d0c
JM
1459 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1460
4541c83b
JM
1461 * sysdeps/unix/xmknod.c: Remove file.
1462 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1463
f5d153a0
JM
1464 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1465
aa746595
JM
1466 * sysdeps/unix/sysv/i386/time.S: Remove file.
1467
cce5905e
JM
1468 * sysdeps/unix/fxstat.c: Remove file.
1469 * sysdeps/unix/xstat.c: Likewise.
1470 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1471
37fa3841
JM
1472 * sysdeps/unix/sysv/sigaction.c: Remove file.
1473
ff1962a3
JM
1474 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1475 (sysdep_headers): Remove variable.
1476 [termio.h not in sysdep_headers] (generated): Likewise.
1477 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1478 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1479 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1480 * sysdeps/unix/sysv/tcflow.c: Likewise.
1481 * sysdeps/unix/sysv/tcflush.c: Likewise.
1482 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1483 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1484 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1485 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1486 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1487
e7740d31
JM
1488 * sysdeps/unix/siglist.c: Remove file.
1489
ee06f18b
JM
1490 * sysdeps/unix/getppid.S: Remove file.
1491
097d59fa
JM
1492 * sysdeps/unix/mkdir.c: Remove file.
1493 * sysdeps/unix/rmdir.c: Likewise.
1494
ff3d51ec
AS
14952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1496
1497 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1498 ERR_MAX value.
1499 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1500 errlist-compat value.
1501
50f81fd7
DM
15022012-04-18 David S. Miller <davem@davemloft.net>
1503
1504 * sysdeps/generic/memcopy.h (reg_char): Delete.
1505 * debug/strcat_chk.c: Use char, not reg_char.
1506 * debug/strcpy_chk.c: Likewise.
1507 * debug/strncat_chk.c: Likewise.
1508 * debug/strncpy_chk.c: Likewise.
1509 * string/memchr.c: Likewise.
1510 * string/memrchr.c: Likewise.
1511 * string/rawmemchr.c: Likewise.
1512 * string/strcat.c: Likewise.
1513 * string/strchr.c: Likewise.
1514 * string/strchrnul.c: Likewise.
1515 * string/strcmp.c: Likewise.
1516 * string/strcpy.c: Likewise.
1517 * string/strncat.c: Likewise.
1518 * string/strncmp.c: Likewise.
1519 * string/strncpy.c: Likewise.
1520
8ff41c46
WS
15212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1522
1523 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1524 __builtin_memcopy is called when src and dest ranges are known to not
1525 overlap.
1526
6b652f46
WS
15272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1528
1529 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1530 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1531 fwd_align_merge macro call.
1532 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1533 bwd_align_merge macro call.
1534 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1535
b282631e
WS
15362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1537
1538 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1539 bwd_align_merge macros.
1540 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1541 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1542 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1543
95aa737c
DM
15442012-04-18 David S. Miller <davem@davemloft.net>
1545
1546 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1547
7a99a614
AJ
15482012-04-18 Andreas Jaeger <aj@suse.de>
1549
1550 [BZ# 6794]
1551 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1552 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1554
1555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1556 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1557 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1558
1559 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1560 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1561 Adjust for changed ldbl-128 files.
1562
1563 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1564 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1565 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1566
e5270c23
DM
15672012-04-17 David S. Miller <davem@davemloft.net>
1568
1569 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1570
fb5e92c9
AS
15712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1572
1573 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1574 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1575 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1576 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1577 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1578 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1579
76da7265
AZ
15802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 [BZ #6794]
1583 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1584 * math/libm-test.inc: Add ilogb errno and exception tests.
1585 * math/w_ilogb.c: New file: ilogb wrapper.
1586 * math/w_ilogbf.c: New file: ilogbf wrapper.
1587 * math/w_ilogbl.c: New file: ilogbl wrapper.
1588 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1589 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1590 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1591 exception being thrown with 0.0 as argument.
1592 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1593 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1594 exception being thrown with 0.0 as argument.
1595 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1596 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1597 exception being thrown with 0.0 as argument.
1598 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1599 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1600 exception being thrown with 0.0 as argument.
1601 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1602 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1603 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1604 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1605 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1606 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1607 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1608 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1609 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1610
0396e69d
PB
16112012-04-17 Petr Baudis <pasky@ucw.cz>
1612
1613 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1614 with altivec.
1615
750b5926
MP
16162012-04-16 Marek Polacek <polacek@redhat.com>
1617
1618 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1619
751728a1
MP
16202012-04-16 Marek Polacek <polacek@redhat.com>
1621
1622 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1623 operands of fdivp instruction.
1624
34a27407
L
16252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1628 * elf/tst-auditmod3b.c: Likewise.
1629 * elf/tst-auditmod4b.c: Likewise.
1630 * elf/tst-auditmod5b.c: Likewise.
1631 * elf/tst-auditmod6b.c: Likewise.
1632 * elf/tst-auditmod6c.c: Likewise.
1633 * elf/tst-auditmod7b.c: Likewise.
1634 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1635 * sysdeps/x86_64/preconfigure.in: Likewise.
1636 * sysdeps/x86_64/preconfigure: Regenerated.
1637
7e73e17d
L
16382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1641 __ILP32__.
1642
c7a6ab72
AB
16432012-04-13 Antoine Balestrat <merkil33@gmail.com>
1644
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1646 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1647
a9e8e0e0
CL
16482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1649
1650 [BZ #13973]
1651 * locale/iso-639.def: Fix gl language name. Spotted by
1652 Yaron Shahrabani.
1653
ec98af7d
RM
16542012-04-12 Roland McGrath <roland@hack.frob.com>
1655
1656 [BZ #2074]
1657 * libio/libio.h (__io_write_fn): Update comment.
1658
247c3ede
PB
16592012-04-12 Petr Baudis <pasky@ucw.cz>
1660
1661 [BZ #2074]
1662 * stdio.texi (Hook Functions): The user provided writer function
1663 is not allowed to return -1.
1664
55939d6d
DM
16652012-04-11 David S. Miller <davem@davemloft.net>
1666
1667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1668
90020f5a
MF
16692012-04-11 Mike Frysinger <vapier@gentoo.org>
1670
1671 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1672 Add a leading slash to rtkaio.
1673
288f9098
JM
16742012-04-11 Jim Meyering <meyering@redhat.com>
1675
90020f5a
MF
1676 [BZ #11959]
1677 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1678 It is not necessarily an error to ignore fwrite's return
1679 value. One can reliably use ferror to test for errors after
1680 the fact.
288f9098 1681
4be2b570
L
16822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * bits/types.h (__snseconds_t): New type.
1685 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1686
1687 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1689 (__SNSECONDS_T_TYPE): Likewise.
1690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1691 (__SNSECONDS_T_TYPE): Likewise.
1692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1693 (__SNSECONDS_T_TYPE): Likewise.
1694
288f9098 16952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1696
1697 [BZ #2636]
1698 * manual/time.texi (Processor Time): Return type of times is
1699 elapsed real time since an arbitrary point in the past.
1700 (CPU Time): Move CLK_TCK from here...
1701 (Processor Time): ...to here. Correct description.
1702 * manual/conf.texi (Constants for Sysconf): Correct description of
1703 _SC_CLK_TCK.
1704
d7dd4413
DM
17052012-04-10 David S. Miller <davem@davemloft.net>
1706
1707 [BZ #13967]
1708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1709 where the is a gap between DT_REL(A) and DT_JMPREL.
1710
b46068fc
L
17112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1714 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1715 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1716
73d65cc3
SP
17172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1718
1719 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1720 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1721 (dl_main): Handle --inhibit-cache.
1722 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1723 _dl_inhibit_cache.
1724 * elf/dl-load.c (_dl_map_object): Use it.
1725 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1726
bcc8d661
JM
17272012-04-09 Joseph Myers <joseph@codesourcery.com>
1728
8f9a2fae
JM
1729 [BZ #13872]
1730 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1731 (__ieee754_powl): Saturate large exponents rather than testing for
1732 overflow of y*log2(x).
1733 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1734 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1735 exceptions.
1736
bcc8d661
JM
1737 [BZ #11521]
1738 * math/s_ctan.c: Include <float.h>.
1739 (__ctan): Avoid internal overflow or cancellation in calculating
1740 denominator.
1741 * math/s_ctanf.c: Likewise.
1742 * math/s_ctanl.c: Likewise.
1743 * math/s_ctanh.c: Likewise.
1744 * math/s_ctanhf.c: Likewise.
1745 * math/s_ctanhl.c: Likewise.
1746 * math/libm-test.inc (ctan_test): Add more tests.
1747 (ctanh_test): Likewise.
1748 * sysdeps/i386/fpu/libm-test-ulps: Update.
1749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1750
823fbbb4
AJ
17512012-04-09 Andreas Jaeger <aj@suse.de>
1752
03879793
AJ
1753 [BZ #6894]
1754 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1755 is an optional BSD extension.
1756
823fbbb4
AJ
1757 [BZ #10254]
1758 * manual/stdio.texi (Opening Streams): Document additional fopen
1759 parameters.
1760
8de131cb
RM
17612012-04-09 Roland McGrath <roland@hack.frob.com>
1762
1763 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1764 %eax without telling the compiler.
1765
c0ed9d7d
CD
17662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1767
1768 [BZ # 13963]
1769 * manual/install.texi: Use sourceware.org.
1770
c483f6b4
JM
17712012-04-09 Joseph Myers <joseph@codesourcery.com>
1772
d7dd9453
JM
1773 [BZ #13873]
1774 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1775 (__ieee754_pow): Generate overflow and underflow using huge*huge
1776 and tiny*tiny rather than just returning constant infinity or zero
1777 for large exponents.
1778 * math/libm-test.inc (pow_test): Require overflow exceptions for
1779 applicable cases of large exponents.
1780
c483f6b4
JM
1781 [BZ #706]
1782 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1783 (__ieee754_pow): Use iterative multiplication algorithm only for
1784 integer exponents with absolute value below 1024. Check for odd
1785 integer exponents when using algorithm for real exponents.
1786 * math/libm-test.inc (pow_test): Add more tests.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1788
d2de7579
JM
17892012-04-08 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #13705]
1792 * math/libm-test.inc (exp_test): Do not allow overflow exception
1793 on underflow test.
1794
f77f1232
AJ
17952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1796
1797 [BZ #13705]
1798 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1799 instead of __kernel_standard_f.
1800
3884932b
MF
18012012-04-08 Mike Frysinger <vapier@gentoo.org>
1802
1803 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1804 * sysdeps/x86_64/memset_chk.S: Likewise.
1805
54472e9c
AJ
18062012-04-08 Andreas Jaeger <aj@suse.de>
1807
6ab0fbfc
AJ
1808 [BZ #10153]
1809 * manual/startup.texi (Environment Access): Describe return value
1810 for putenv and setenv.
1811
61efba8c
AJ
1812 [BZ #6895]
1813 * manual/filesys.texi (Directory Entries): Add description for
1814 DT_LNK.
1815
95c3f29a
AJ
1816 [BZ #6890]
1817 * manual/filesys.texi (Directory Entries): Clarify that it's file
1818 system not operating system in the description of DT_UNKNOWN.
1819
54472e9c
AJ
1820 [BZ #6578]
1821 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1822
624254b1
SC
18232012-04-08 Stephen Compall <s11@member.fsf.org>
1824
1825 [BZ #6649]
1826 * manual/llio.texi (Opening and Closing Files): Add cross
1827 reference to explain mode argument.
1828
1e4920e0
MF
18292012-04-07 Mike Frysinger <vapier@gentoo.org>
1830
1831 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1832 * sysdeps/x86_64/memset_chk.S: Likewise.
1833
5ed848f3
DM
18342012-04-07 David S. Miller <davem@davemloft.net>
1835
1836 * elf/elf.h (R_SPARC_WDISP10): Define.
1837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1838 R_SPARC_SIZE32.
1839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1840 R_SPARC_SIZE64 and R_SPARC_H34.
1841
96154cd8
CD
18422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1843
1844 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1845 conditions and remove no longer applicable assertion.
1846
9904dc47
L
18472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 * bits/byteswap.h: Include <features.h>.
1850 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1851 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1852
f8887d0a
L
18532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 * bits/byteswap.h (__bswap_16): Removed.
1856 Include <bits/byteswap-16.h> to get __bswap_16.
1857 * sysdeps/i386/bits/byteswap.h: Likewise.
1858 * sysdeps/s390/bits/byteswap.h: Likewise.
1859 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1860 * bits/byteswap-16.h: New file.
1861 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1862 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1863 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1864 * string/Makefile (headers): Add bits/byteswap-16.h.
1865
62470f60
PP
18662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1867
1868 [BZ #13895]
1869 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1870 extra indirection.
1871 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1872 * nss/tst-nss-static.c: New.
1873
4dad7bab
RM
18742012-04-06 Robert Millan <rmh@gnu.org>
1875
1876 [BZ #6486]
1877 * manual/llio.texi (File Position Primitive): lseek
1878 refers to WHENCE when it really means OFFSET.
1879
e9142a17
AJ
18802012-04-06 Andreas Jaeger <aj@suse.de>
1881
2c040eff
AJ
1882 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1883 strncmp declarations.
1884
e9142a17
AJ
1885 * abilist/libc.abilist: Add __poll and __ppoll.
1886
ff9f1c5f
DM
18872012-04-05 David S. Miller <davem@davemloft.net>
1888
dcd2ae90
DM
1889 * scripts/check-local-headers.sh: Accept a host triplet in the
1890 path matched by the exclude regexp.
1891
993eb054
DM
1892 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1893 definition.
1894 * sysdeps/powerpc/powerpc32/dl-machine.h
1895 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1896 * sysdeps/s390/s390-32/dl-machine.h
1897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1898 * sysdeps/sparc/sparc32/dl-machine.h
1899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1900 * sysdeps/sparc/sparc64/dl-machine.h
1901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1902
ff9f1c5f
DM
1903 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1904 lazy binding.
48e2e132 1905 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1906 undefined symbol errors.
1907
48e2e132 1908 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1909 DT_NEEDED entries.
1910
e80d6f94
MM
19112012-04-05 Michael Matz <matz@suse.de>
1912
1913 [BZ #13592]
1914 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1915
349fa79f
AJ
19162012-04-05 Andreas Jaeger <aj@suse.de>
1917
1918 [BZ #13908]
1919 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1920 comment.
1921
f402708f
KK
19222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1923
1924 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1925 which ROUND is no valid rounding mode.
1926
2ecccfc9
KK
19272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1928
1929 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1930 read again.
1931 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1932
8a53f50f
KK
19332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1934
1935 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1936 an exception using FPU order intentionally.
1937
19382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1939
1940 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1941 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1942 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1943 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1944
d653abb7
SJ
19452012-04-05 Simon Josefsson <simon@josefsson.org>
1946
1947 [BZ #12340]
1948 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1949 EINVAL when BUFLEN is too smal.
1950
c3b1bf7d
TS
19512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1952
1953 [BZ #13553]
1954 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1955 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1956
b1aa60f3
AJ
19572012-04-03 Andreas Jaeger <aj@suse.de>
1958
c3b1bf7d 1959 [BZ #13938]
67f60a26
AJ
1960 * manual/setjmp.texi (System V contexts): Fix sentence.
1961
b1aa60f3
AJ
1962 [BZ #13926]
1963 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1964 New macro for this case.
1965 [!__GNUC__] (__bswap_64): New inline function for this case.
1966 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1967 * bits/byteswap.h: Likewise.
1968 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1969 ull, guard with __GLIBC_HAVE_LONG_LONG.
1970
1971 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1972 __GLIBC_HAVE_LONG_LONG.
1973
1974 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1975 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1976
39c59c35
TMQMF
19772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1978
1979 [BZ #13691]
1980 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1981 inptr and inend, rather than using last_ch.
1982
135ffda8
DM
19832012-04-02 David S. Miller <davem@davemloft.net>
1984
1985 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1986 * stdio-common/printf-parse.h (read_int): Change return type to
1987 'int', return -1 on INT_MAX overflow.
1988 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1989 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1990 overflows INT_MAX. Check for overflow of in-format-string precision
1991 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1992 SIZE_MAX not INT_MAX for integer overflow test.
1993 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1994 skip the construct in the format string but do not record anything.
1995 * stdio-common/bug22.c: Adjust to test both width/prevision
1996 INT_MAX overflow as well as total length INT_MAX overflow. Check
1997 explicitly for proper errno values.
1998
228c019e
TS
19992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2000
302cadd3
TS
2001 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2002 CHAR_MAX.
2003 * string/test-strcmp.c [! WIDE]: Likewise.
2004 * time/tst-mktime2.c: Likewise for INT_MAX.
2005 * string/test-string.h: #include <sys/param.h> for MIN.
2006
228c019e
TS
2007 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2008 * sysdeps/i386/init-first.c (init): Likewise.
2009 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2010 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2011 * sysdeps/sh/init-first.c (init): Likewise.
2012
cfa633f5
UD
20132012-04-01 Ulrich Drepper <drepper@gmail.com>
2014
2015 * po/ru.po: Update from translation team.
d1635ef8 2016 * po/vi.po: Likewise.
cfa633f5 2017
6cd0a5ea
SP
20182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2019
2020 * resolv/nss_dns/dns-host.c: Merge copyright years.
2021
4b43400f
LD
20222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2023
2024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2025 Optimize memcpy with prefetch if
2026 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2027 src, dst pointers have unequal 16 byte alignments.
2028
48c41d04
SP
20292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 [BZ #13928]
2032 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2033 from a CNAME entry and return the minimum ttl for the query.
2034 (gaih_getanswer_slice): Likewise.
2035
b8dc394d
JL
20362012-03-30 Jeff Law <law@redhat.com>
2037
2038 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2039 due to long keys.
2040 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2041 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2042
2f5a5ed0
JL
2043 * resolv/nss_dns/dns-host.c: Update copyright year.
2044
1d39e359
UD
20452012-03-30 Ulrich Drepper <drepper@gmail.com>
2046
c030f70c 2047 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2048 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2049
1d39e359
UD
2050 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2051 comments for sendmmsg.
2052
20532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2054
2055 [BZ #13691]
2056 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2057 with only 1 character between 0x0041 and 0x01b0.
2058 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2059 * wcsmbs/tst-mbsnrtowcs.c: New file.
2060
20fde227
DM
20612012-03-29 David S. Miller <davem@davemloft.net>
2062
2063 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2064 small copies by hand.
2065
984a4237
JL
20662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2067
2068 [BZ #13761]
2069 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2070 _nss_compat_initgroups_dyn): Fall back to malloc/free
2071 for large group memberships.
2072
18c9d62b
DM
20732012-03-28 David S. Miller <davem@davemloft.net>
2074
88d85d4f
DM
2075 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2076 that branches into memcpy.
2077 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2080 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2082 bits.
2083 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2084 implementation too.
2085 * sysdeps/sparc/mempcpy.S: New file.
2086
e5aa83e1
DM
2087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2088 the IFUNC routine in the libc case.
2089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2090
88570753
DM
2091 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2092 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2093 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2094 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2095 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2096 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2097 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2098 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2099
249d7567
DM
2100 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2101 loop to 256 bytes instead of 64 bytes and fix test signedness.
2102
18c9d62b
DM
2103 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2104 * sysdeps/sparc/sparc32/Makefile: rather than here...
2105 * sysdeps/sparc/sparc64/Makefile: and here.
2106
05f3d1f6
UD
21072012-03-28 Ulrich Drepper <drepper@gmail.com>
2108
2109 * malloc/mallocbug.c: Avoid warnings about unused variables.
2110
86ae07a8
JL
21112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2112
2113 [BZ #13760]
2114 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2115 in the right place. Discard and retry query if response is
2116 larger than input buffer size.
2117
41bf21a1
JM
21182012-03-28 Joseph Myers <joseph@codesourcery.com>
2119
d6270972
JM
2120 [BZ #369]
2121 [BZ #2678]
2122 [BZ #3866]
2123 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2124 x for large integer exponent.
2125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2127 sign of result as needed afterwards.
2128 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2129 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2130 result for underflowing pow the same as for overflow.
2131 (__kernel_standard_l): Handle powl overflow and underflow here
2132 rather than calling __kernel_standard.
2133 * math/libm-test.inc (pow_test): Add more tests.
2134
414fca03 2135 [BZ #3868]
41bf21a1
JM
2136 [BZ #13879]
2137 [BZ #13910]
2138 [BZ #13911]
2139 [BZ #13912]
2140 [BZ #13913]
2141 [BZ #13915]
2142 [BZ #13916]
2143 [BZ #13917]
2144 [BZ #13918]
2145 [BZ #13919]
2146 [BZ #13920]
2147 [BZ #13921]
2148 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2149 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2150 (__kernel_standard_l): New function.
2151 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2152 __kernel_standard.
2153 * math/w_acosl.c (__acosl): Likewise.
2154 * math/w_asinl.c (__asinl): Likewise.
2155 * math/w_atan2l.c (__atan2l): Likewise.
2156 * math/w_atanhl.c (__atanhl): Likewise.
2157 * math/w_coshl.c (__coshl): Likewise.
2158 * math/w_exp10l.c (__exp10l): Likewise.
2159 * math/w_exp2l.c (__exp2l): Likewise.
2160 * math/w_fmodl.c (__fmodl): Likewise.
2161 * math/w_hypotl.c (__hypotl): Likewise.
2162 * math/w_j0l.c (__j0l, __y0l): Likewise.
2163 * math/w_j1l.c (__j1l, __y1l): Likewise.
2164 * math/w_jnl.c (__jnl, __ynl): Likewise.
2165 * math/w_lgammal.c (__lgammal): Likewise.
2166 * math/w_log10l.c (__log10l): Likewise.
2167 * math/w_log2l.c (__log2l): Likewise.
2168 * math/w_logl.c (__logl): Likewise.
2169 * math/w_powl.c (__powl): Likewise.
2170 * math/w_remainderl.c (__remainderl): Likewise.
2171 * math/w_scalbl.c (sysv_scalbl): Likewise.
2172 * math/w_sinhl.c (__sinhl): Likewise.
2173 * math/w_sqrtl.c (__sqrtl): Likewise.
2174 * math/w_tgammal.c (__tgammal): Likewise.
2175 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2176 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2177 * math/libm-test.inc (acos_test): Add more tests.
2178 (acosh_test): Likewise.
2179 (asin_test): Likewise.
2180 (atanh_test): Likewise.
2181 (exp_test): Likewise.
2182 (exp10_test): Likewise.
2183 (exp2_test): Likewise.
2184 (expm1_test): Likewise.
2185 (lgamma_test): Likewise.
2186 (log_test): Likewise.
2187 (log10_test): Likewise.
2188 (log1p_test): Likewise.
2189 (log2_test): Likewise.
2190 (pow_test): Do not allow some spurious overflow exceptions.
2191 (sqrt_test): Add more tests.
2192 (tgamma_test): Likewise.
2193 (y0_test): Likewise.
2194 (y1_test): Likewise.
2195 (yn_test): Likewise.
2196
dd62fda6
AB
21972012-03-27 Anton Blanchard <anton@samba.org>
2198
2199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2200 MAP_HUGETLB.
2201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2202 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2203 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2204
1e3cdfda
AJ
22052012-03-27 David S. Miller <davem@davemloft.net>
2206
b855ab85
DM
2207 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2208
1e3cdfda
AJ
2209 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2210 have-as-vis3 check.
2211
22122012-03-27 Andreas Jaeger <aj@suse.de>
2213
2214 * sysdeps/x86_64/elf/configure.in: Moved to ...
2215 * sysdeps/x86_64/configure.in: ... here.
2216 * sysdeps/x86_64/elf/start.S: Moved to ...
2217 * sysdeps/x86_64/start.S: ... here.
2218 * sysdeps/x86_64/elf/configure: Delete.
2219
2220 * sysdeps/x86_64/configure.in: Merge contents from
2221 sysdeps/i386/configure.in (without i686 check).
2222
2223 * sysdeps/i386/elf/Versions: Merge into ...
2224 * sysdeps/i386/Versions: ... this.
2225 * sysdeps/i386/elf/Versions: Delete file.
2226 * sysdeps/i386/elf/start.S: Moved to ...
2227 * sysdeps/i386/start.S: ...here.
2228 * sysdeps/i386/elf/configure.in: Merge into...
2229 * sysdeps/i386/configure.in: ...here.
2230 * sysdeps/i386/elf/configure.in: Delete file.
2231 * sysdeps/i386/elf/configure: Delete file.
2232
2233 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2234 * debug/backtracesyms.c: ... here.
2235 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2236 * debug/backtracesymsfd.c: ... here.
2237 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2238 * sysdeps/generic/ifunc-sel.h: ... here.
2239
2240 * sysdeps/unix/i386/start.c: Delete file.
2241 * sysdeps/unix/sparc/start.c: Delete file.
2242 * sysdeps/unix/start.c: Delete file.
2243
2244 * sysdeps/sh/elf/configure.in: Moved to ...
2245 * sysdeps/sh/configure.in: ... here.
2246 * sysdeps/sh/elf/start.S: Moved to ...
2247 * sysdeps/sh/start.S: ... here.
2248 * sysdeps/sh/elf/configure: Delete file.
2249
2250 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2251 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2252 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2253 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2254 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2255 * sysdeps/powerpc/powerpc64/start.S: here.
2256 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2257 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2258 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2259 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2260 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2261
2262 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2263 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2264 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2265 * sysdeps/powerpc/powerpc32/start.S: ... here.
2266 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2267 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2268 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2269
2270 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2271 * sysdeps/powerpc/ifunc-sel.h: ... here.
2272 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2273 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2274
2275 * sysdeps/sparc/elf/configure.in: Moved to ...
2276 * sysdeps/sparc/configure.in: ... here.
2277 * sysdeps/sparc/elf/configure: Delete file.
2278 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2279 * sysdeps/sparc/sparc32/start.S: ... here.
2280 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2281 * sysdeps/sparc/sparc64/start.S: ... here.
2282 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2283 * sysdeps/sparc/sparc32/Makefile: ... this.
2284 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2285 * sysdeps/sparc/sparc64/Makefile: ... this.
2286
2287 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2288 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2289 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2290 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2291 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2292 * sysdeps/s390/s390-32/setjmp.S: ... here.
2293 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2294 * sysdeps/s390/s390-32/configure.in: ... here.
2295 * sysdeps/s390/s390-32/elf/configure: Delete file.
2296 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2297 * sysdeps/s390/s390-32/start.S: ... here.
2298
2299 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2300 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2301 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2302 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2303 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2304 * sysdeps/s390/s390-64/setjmp.S: ... here.
2305 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2306 * sysdeps/s390/s390-64/configure.in: ... here
2307 * sysdeps/s390/s390-64/elf/configure: Delete file.
2308 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2309 * sysdeps/s390/s390-64/start.S: ... here.
2310 * sysdeps/s390/s390-64/elf/configure: Delete.
2311
2312 * configure.in: Remove support for elf directories in sysdeps.
2313
2314 * configure: Regenerated.
2315 * sysdeps/i386/configure: Regenerated.
2316 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2317 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2318 * sysdeps/s390/s390-32/configure: Regenerated.
2319 * sysdeps/s390/s390-64/configure: Regenerated.
2320 * sysdeps/sh/configure: Regenerated.
2321 * sysdeps/sparc/configure: Regenerated.
2322 * sysdeps/x86_64/configure: Regenerated.
2323
a3f61311
AS
23242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2325
c876e002
AS
2326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2327
a3f61311
AS
2328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2329 denormal result into account.
2330
ac4c54f0
RM
23312012-03-25 Roland McGrath <roland@hack.frob.com>
2332
2333 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2334 Reported by Allan McRae <allan@archlinux.org>.
2335
6a9b9c02
JL
23362012-03-23 Jeff Law <law@redhat.com>
2337
2338 * nss/getnssent.c (__nss_getent): Fix typo.
2339
4c42a0c1
DM
23402012-03-23 David S. Miller <davem@davemloft.net>
2341
2342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2343
1532c7ac
L
23442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2345
2346 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2347 to pad to uint64_t for each field.
2348 (dl_tls_index): Replace unsigned long with uint64_t.
2349
3ff42526
PP
23502012-03-23 Daniel Jacobowitz <dmj@google.com>
2351 Paul Pluzhnikov <ppluzhnikov@google.com>
2352
2353 [BZ #6528]
2354 * grp/Makefile (otherlibs): Don't set it.
2355 * inet/Makefile (otherlibs): Likewise.
2356 * login/Makefile (otherlibs): Likewise.
2357 * nscd/Makefile (otherlibs): Likewise.
2358 * posix/Makefile (otherlibs): Likewise.
2359 * pwd/Makefile (otherlibs): Likewise.
2360 * rt/Makefile (otherlibs): Likewise.
2361 * sunrpc/Makefile (otherlibs): Likewise.
2362 * nss/Makefile (otherlibs): Likewise.
2363 Add libnss_files to routines and static-only-routines.
2364 ($(objpfx)getent): Remove rule.
2365 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2366 static-only-routines.
2367
7c69cd14
JM
23682012-03-22 Joseph Myers <joseph@codesourcery.com>
2369
2370 [BZ #13892]
2371 * math/s_cexp.c: Include <float.h>.
2372 (__cexp): Handle exp result overflowing not necessarily
2373 overflowing both real and imaginary parts of result.
2374 * math/s_cexpf.c: Likewise.
2375 * math/s_cexpl.c: Likewise.
2376 * math/libm-test.inc (cexp_test): Add more tests.
2377 * sysdeps/i386/fpu/libm-test-ulps: Update.
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379
81b035fe
L
23802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * include/link.h (ELFW): New macro.
2383 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2384 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2385
1da7940c
L
23862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2387
2388 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2389 with uint64_t.
2390
b749dbb9
L
23912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2392
2393 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2394 declaration.
2395 (struct La_x32_retval): Likewise.
2396
2ff87f3f
L
23972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 * sysdeps/x86_64/preconfigure.in: New file.
2400 * sysdeps/x86_64/preconfigure: New generated file.
2401
c0df8e69
JM
24022012-03-22 Joseph Myers <joseph@codesourcery.com>
2403
48e44791
JM
2404 [BZ #13824]
2405 * math/e_exp2l.c: Include <float.h>.
2406 (__ieee754_exp2l): Handle overflow and underflow cases
2407 separately. Only pass fractional part of argument to
2408 __ieee754_expl.
2409 * math/libm-test.inc (exp2_test): Add more tests.
2410
c0df8e69
JM
2411 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2412 negating x to take absolute value.
2413 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2414 Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2417 Likewise.
2418 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2419 computing low part if x was negated.
2420 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2421
c8e43ba7
L
24222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2425 la_x32_gnu_pltexit.
2426 (pltexit): Cast int_retval to ptrdiff_t.
2427 * elf/tst-auditmod3b.c: Likewise.
2428 * elf/tst-auditmod4b.c: Likewise.
2429 * elf/tst-auditmod5b.c: Likewise.
2430 * elf/tst-auditmod6b.c: Likewise.
2431 * elf/tst-auditmod6c.c: Likewise.
2432 * elf/tst-auditmod7b.c: Likewise.
2433
2434 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2435 and x32_gnu_pltexit.
2436
2437 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2438 __ELF_NATIVE_CLASS.
2439 (La_x32_regs): New macro.
2440 (La_x32_retval): Likewise.
2441 (la_x32_gnu_pltenter): New function prototype.
2442 (la_x32_gnu_pltexit): Likewise.
2443
7998fa78
AS
24442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2445
dcb33988
AS
2446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2447 exponent.
2448
233fc563
AS
2449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2450
7998fa78
AS
2451 * configure.in (libc_cv_cc_nofma): Check for option to disable
2452 generation of FMA instructions.
2453 * configure: Regenerate.
2454 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2455 * sysdeps/ieee754/dbl-64/Makefile: New file.
2456 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2457 Remove brandred-fma4.
2458 (CFLAGS-brandred-fma4.c): Remove.
2459 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2460 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2461 define.
2462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2463 define.
2464
8e95c99a
L
24652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2466
2467 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2468 LLONG_MAX != LONG_MAX.
2469 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2470 (_fitoa_word): Likewise.
2471 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2472 LLONG_MAX != LONG_MAX.
2473 * stdio-common/_itowa.h: Include <_itoa.h>.
2474 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2475 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2476 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2477 only if not defined.
2478 (_ITOA_WORD_TYPE): Likewise.
2479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2480 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2481
6f4db457
DM
24822012-03-21 David S. Miller <davem@davemloft.net>
2483
2484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2485
7785fe5a
L
24862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2489 of x86_64 when setting libc_cv_slibdir, libdir and
2490 libc_cv_localedir.
2491 * sysdeps/unix/sysv/linux/configure: Regenerated.
2492
4535cd55
JM
24932012-03-21 Joseph Myers <joseph@codesourcery.com>
2494
2495 * manual/lang.texi (Old Varargs): Remove section.
2496 (How Variadic): Update menu.
2497 (va_start): Do not mention varargs.h.
2498
17228132
TS
24992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2500 Joseph Myers <joseph@codesourcery.com>
2501
2502 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2503 link test.
2504 * configure: Regenerated.
2505
8149f976
TS
25062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2507
05f3d1f6
UD
2508 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2509 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2510 conformtest.pl
8149f976 2511
1a4ac776
JM
25122012-03-21 Joseph Myers <joseph@codesourcery.com>
2513
be22ce65
JM
2514 * NOTES: Remove.
2515 * Makefile (files-for-dist): Remove NOTES.
2516 (NOTES): Remove rule.
2517 * README: Don't refer to NOTES.
2518 * manual/creature.texi: Don't include macros.texi.
2519 * manual/intro.texi (creature.texi): Remove comment referring to
2520 NOTES.
2521
40b601fb
JM
2522 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2523 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2524 * configure: Regenerated.
2525 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2526 LIBC_TRY_CC_OPTION.
2527 (libc_cv_as_i686): Likewise.
2528 (libc_cv_cc_avx): Likewise.
2529 (libc_cv_cc_sse2avx): Likewise.
2530 (libc_cv_cc_fma4): Likewise.
2531 (libc_cv_cc_novzeroupper): Likewise.
2532 * sysdeps/i386/configure: Regenerated.
2533
1a4ac776
JM
2534 [BZ #13883]
2535 * sysdeps/i386/fpu/s_cexp.S: Remove.
2536 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2537 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2538 * math/libm-test.inc (cexp_test): Add more tests.
2539 * sysdeps/i386/fpu/libm-test-ulps: Update.
2540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2541
a458e7fe
AM
25422012-03-21 Allan McRae <allan@archlinux.org>
2543
2544 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2545
0cb7efc5
JM
25462012-03-21 Joseph Myers <joseph@codesourcery.com>
2547
2548 [BZ #13871]
2549 * math/w_exp2.c: Do not include <float.h>.
2550 (o_threshold, u_threshold): Remove.
2551 (__exp2): Calculate result before checking finiteness and calling
2552 __kernel_standard.
2553 * math/w_exp2f.c: Likewise.
2554 * math/w_exp2l.c: Likewise.
2555 * math/libm-test.inc (exp2_test): Require overflow exception for
2556 1e6 input.
2460d3aa
JM
2557
2558 [BZ #3866]
2559 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2560 range of signed 64-bit integers before using fistpll. Remove
2561 checks for whether integers fit in mantissa bits.
2562 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2563 the range of signed 32-bit integers before using fistpl. Remove
2564 checks for whether integers fit in mantissa bits.
2565 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2566 (__ieee754_powl): Test for y outside the range of signed 64-bit
2567 integers before using fistpll. Reduce 64-bit values to 63-bit
2568 ones as needed.
2569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2570 divide-by-zero is raised for zero to large negative powers.
2571 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2572 (__ieee754_powl): Test for y outside the range of signed 64-bit
2573 integers before using fistpll. Reduce 64-bit values to 63-bit
2574 ones as needed.
2575 * math/libm-test.inc (pow_test): Add more tests.
2576
eb96ffb0
L
25772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2580 <stdio-common/_itoa.h>.
2581 * debug/segfault.c: Likewise.
2582 * elf/dl-cache.c: Likewise.
2583 * elf/dl-minimal.c: Likewise.
2584 * elf/dl-misc.c: Likewise.
2585 * elf/dl-sysdep.c: Likewise.
2586 * elf/dl-version.c: Likewise.
2587 * elf/rtld.c: Likewise.
2588 * hurd/hurdsock.c: Likewise.
2589 * hurd/lookup-retry.c: Likewise.
2590 * malloc/malloc.c: Likewise.
2591 * malloc/mtrace.c: Likewise.
2592 * nscd/nscd_getgr_r.c: Likewise.
2593 * nscd/nscd_getpw_r.c: Likewise.
2594 * nscd/nscd_getserv_r.c: Likewise.
2595 * posix/getopt_init.c: Likewise.
2596 * posix/wordexp.c: Likewise.
2597 * stdio-common/_itoa.c: Likewise.
2598 * stdio-common/printf_fphex.c: Likewise.
2599 * stdio-common/vfprintf.c: Likewise.
2600 * string/_strerror.c: Likewise.
2601 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2602 * sysdeps/i386/i686/hp-timing.h: Likewise.
2603 * sysdeps/mach/_strerror.c: Likewise.
2604 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2605 * sysdeps/mach/hurd/sethostid.c: Likewise.
2606 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2607 * sysdeps/mach/xpg-strerror.c: Likewise.
2608 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2609 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2610 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2611 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2612 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2613 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2614 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2615 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2616 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2617 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2618 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2619 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2620 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2621 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2622 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2623 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2624 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2625 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2626 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2627 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2628 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2629
2630 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2631
2632 * stdio-common/_itoa.h: Moved to ...
2633 * sysdeps/generic/_itoa.h: Here.
2634
2635 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2636
2637 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2638 instead of "_itoa.h" and "_itowa.h".
2639 * stdio-common/vfprintf.: Likewise.
2640
d1af992d
L
26412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2644 <bits/wordsize.h>.
2645 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2646 (__signbit): Likwise.
2647 (llrintf): Likwise.
2648 (llrint): Likwise.
2649
114883e0
L
26502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2651
2652 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2653 __WORDSIZE != 64.
2654
c135cc1b
JM
26552012-03-20 Joseph Myers <joseph@codesourcery.com>
2656
2657 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2658 OVERFLOW_EXCEPTION_OK.
2659 * math/libm-test.inc ("Philosophy"): Update comment about
2660 exception testing.
2661 (OVERFLOW_EXCEPTION): Define.
2662 (OVERFLOW_EXCEPTION_OK): Likewise.
2663 (INVALID_EXCEPTION_OK): Renumber.
2664 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2665 (IGNORE_ZERO_INF_SIGN): Likewise.
2666 (test_exceptions): Handle FE_OVERFLOW.
2667 (exp10_test): Expect overflow exceptions.
2668 (exp2_test): Likewise.
2669 (expm1_test): Likewise.
2670 (nextafter_test): Likewise.
2671 (pow_test): Likewise.
2672 (scalbn_test): Likewise.
2673 (scalbln_test): Likewise.
2674
95443d88
L
26752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 * sysdeps/x86_64/bits/atomic.h
2678 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2679 64bit integer.
2680 (atomic_exchange_acq): Likewise.
2681 (__arch_exchange_and_add_body): Likewise.
2682 (__arch_add_body): Likewise.
2683 (atomic_add_negative): Likewise.
2684 (atomic_add_zero): Likewise.
2685
490df6c4
L
26862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2687
c2722551 2688 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2689 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2690
5e52b189
L
26912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2692
2693 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2694 Check __x86_64__ instead of __WORDSIZE.
2695
a9879d4c
L
26962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2699
5df98260
DM
27002012-03-19 David S. Miller <davem@davemloft.net>
2701
e1497744
DM
2702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2703
5df98260
DM
2704 * sysdeps/sparc/fpu/fenv_private.h: New file.
2705 * sysdeps/sparc/fpu/math_private.h: Use it.
2706 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2707 Remove.
2708 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2709 (libc_feholdexcept_setroundl): Remove.
2710 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2711 Remove.
2712 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2713 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2714
b4c35121
L
27152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2716
2717 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2718 int64_t instead of long int.
2719 (INSERT_WORDS64): Likwise.
2720
56965fd7
L
27212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2724 _Unwind_GetCFA return to _Unwind_Ptr first.
2725
83d1aec8
JM
27262012-03-19 Joseph Myers <joseph@codesourcery.com>
2727
1897ad44
JM
2728 [BZ #13629]
2729 * math/s_clog.c: Include <float.h>.
2730 (__clog): Scale large or subnormal inputs.
2731 * math/s_clogf.c: Likewise.
2732 * math/s_clogl.c: Likewise.
2733 * math/s_clog10.c: Include <float.h>.
2734 (M_LOG10_2): Define.
2735 (__clog10): Scale large or subnormal inputs.
2736 * math/s_clog10f.c: Likewise.
2737 * math/s_clog10l.c: Likewise.
2738 * math/libm-test.inc (clog_test): Add more tests.
2739 (clog10_test): Likewise.
2740 * sysdeps/i386/fpu/libm-test-ulps: Update.
2741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2742
7726d6a9
JM
2743 [BZ #11451]
2744 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2745 x and y.
2746 * math/libm-test.inc (atan2_test): Add another test.
2747
83d1aec8
JM
2748 * Makerules (common-objdir-compile): Remove.
2749 * sysdeps/unix/Makefile (config-generated): Do not add
2750 $(unix-generated) to variable.
2751 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2752 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2753 Remove rule.
2754 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2755 Likewise.
2756 [generic bits/local_lim.h] (before-compile): Do not append to
2757 variable.
2758 [generic bits/local_lim.h] (common-generated): Likewise.
2759 [generic sys/param.h] (before-compile): Do not append to variable.
2760 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2761 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2762 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2763 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2764 include.
2765 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2766 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2767 [generic sys/param.h] ($(addprefix
2768 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2769 [generic sys/param.h] (common-generated): Do not append to
2770 variable.
2771 [generic sys/param.h] (sysdep_headers): Likewise.
2772 [generic bits/errno.h] (before-compile): Do not append to
2773 variable.
2774 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2775 rule.
2776 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2777 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2778 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2779 [generic bits/errno.h] (common-generated): Do not append to
2780 variable.
2781 [generic bits/ioctls.h] (before-compile): Do not append to
2782 variable.
2783 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2784 rule.
2785 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2786 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2787 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2788 rule.
2789 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2790 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2791 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2792 [generic bits/ioctls.h] (common-generated): Do not append to
2793 variable.
2794 [generic sys/syscall.h] (syscall.h): Remove variable.
2795 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2796 rule.
2797 [generic sys/syscall.h] (before-compile): Do not append to
2798 variable.
2799 [generic sys/syscall.h] (common-generated): Likewise.
2800 * sysdeps/unix/errnos-tmpl.c: Remove file.
2801 * sysdeps/unix/errnos.awk: Likewise.
2802 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2803 * sysdeps/unix/ioctls.awk: Likewise.
2804 * sysdeps/unix/mk-local_lim.c: Likewise.
2805 * sysdeps/unix/snarf-ioctls: Likewise.
2806
4851a949
RH
28072012-03-19 Richard Henderson <rth@twiddle.net>
2808
bd37f2ee
RH
2809 * sysdeps/i386/fpu/fenv_private.h: New file.
2810 * sysdeps/i386/fpu/math_private.h: Use it.
2811 (math_opt_barrier, math_force_eval): Remove.
2812 (libc_feholdexcept_setround_53bit): Remove.
2813 (libc_feupdateenv_53bit): Remove.
2814 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2815 (math_opt_barrier, math_force_eval): Remove.
2816 (libc_feholdexcept): Remove.
2817 (libc_feholdexcept_setround): Remove.
2818 (libc_fetestexcept, libc_fesetenv): Remove.
2819 (libc_feupdateenv_test): Remove.
2820 (libc_feupdateenv, libc_feholdsetround): Remove.
2821 (libc_feresetround): Remove.
2822
d0adc922
RH
2823 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2824 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2825
0fe0f1f8
RH
2826 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2827 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2828 (libc_feupdateenv_testl): New.
2829 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2830 (libc_feupdateenv_testf): New.
2831 (libc_feupdateenv): Use libc_feupdateenv_test.
2832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2833 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2834
eb92c487
RH
2835 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2836 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2837 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2838 (libc_feresetround_noex): New.
2839 (libc_feresetround_noexf): New.
2840 (libc_feresetround_noexl): New.
2841 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2842 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2843 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2844 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2845 SET_RESTORE_ROUND.
2846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2848 (__cos): Likewise.
2849 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2850 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2851 SET_RESTORE_ROUND_NOEX.
2852 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2853 SET_RESTORE_ROUND_NOEXF.
2854 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2855 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2856 (libc_feholdsetroundf): New.
2857 (libc_feresetround, libc_feresetroundf): New.
2858
7d2e8012
RH
2859 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2860 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2861 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2862
b4dabbb4
RH
2863 * sysdeps/generic/math_private.h: Include <fenv.h>.
2864 (default_libc_feholdexcept): New.
2865 (default_libc_feholdexcept_setround): New.
2866 (default_libc_fesetenv, default_libc_feupdateenv): New.
2867 (libc_feholdexcept): Only define if undefined.
2868 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2869 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2870 (libc_feholdexcept_setroundl): Likewise.
2871 (libc_feholdexcept_setround_53bit): Likewise.
2872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2873 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2874 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2875 (libc_feupdateenv_53bit): Likewise.
2876 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2877 (libc_feholdexcept): Convert from macro to inline function.
2878 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2879 (libc_fesetenv, libc_feupdateenv): Likewise.
2880
4851a949
RH
2881 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2882 not previously defined.
2883 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2884 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2885 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2886 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2887 * sysdeps/ieee754/flt-32/math_private.h: New file.
2888 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2889 math_private.h below SET_FLOAT_WORD.
2890 (__isnan, __isinf_ns, __finite): Remove.
2891 (__isnanf, __isinf_nsf, __finitef): Remove.
2892
e79d442e
AS
28932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2894
2895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2896
90b80344
DM
28972012-03-17 David S. Miller <davem@davemloft.net>
2898
2899 [BZ #6471]
2900 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2901 for 2.16.
2902
edc21804
DM
29032012-03-16 David S. Miller <davem@davemloft.net>
2904
77e927af
DM
2905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2906 warnings.
2907
374976dd
DM
2908 [BZ #6471]
2909 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2910 properly.
2911 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2912 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2913 sysdep_routines when subdir is sysvipc.
2914 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2915 __getshmlba helper.
2916
edc21804
DM
2917 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2918
473c3ef3
L
29192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2920
2921 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2922 [__LP64__].
2923
eb0f39b6
L
29242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2927 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2928 (__lround): Renamed to ...
2929 (__llround): This. Replace long int with long long int.
2930 Define lround functions as aliases of llround functions.
2931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2932
6b6cd74b
L
29332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2934
2935 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2936 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2937 adresses to uintptr_t. Replace "long int" and "unsigned long
2938 int" with "greg_t" on va_arg.
2939
f1a77b01
L
29402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2941
2942 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2943 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2944
2945 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2946 Move e_machine check before EI_CLASS check. Handle x32
2947 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2948 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2949 SKIP_EM_IA_64 and include
2950 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2951
2952 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2953 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2954 (add_system_dir): New macro.
2955
2956 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2957 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2958
11b90b9f
JM
29592012-03-16 Joseph Myers <joseph@codesourcery.com>
2960
c36e1d23
JM
2961 [BZ #2551]
2962 [BZ #2552]
2963 [BZ #2553]
2964 [BZ #2554]
2965 [BZ #2562]
2966 [BZ #2563]
2967 [BZ #2565]
2968 [BZ #2566]
2969 [BZ #2576]
2970 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2971 (y0): Likewise.
2972 * math/w_j0f.c (j0f): Likewise.
2973 (y0f): Likewise.
2974 * math/w_j0l.c (__j0l): Likewise.
2975 (__y0l): Likewise.
2976 * math/w_j1.c (j1): Likewise.
2977 (y1): Likewise.
2978 * math/w_j1f.c (j1f): Likewise.
2979 (y1f): Likewise.
2980 * math/w_j1l.c (__j1l): Likewise.
2981 (__y1l): Likewise.
2982 * math/w_jn.c (jn): Likewise.
2983 (yn): Likewise.
2984 * math/w_jnf.c (jnf): Likewise.
2985 (ynf): Likewise.
2986 * math/w_jnl.c (__jnl): Likewise.
2987 (__ynl): Likewise.
2988 * math/libm-test.inc (j0_test): Add more tests.
2989 (j1_test): Likewise.
2990 (jn_test): Likewise. Add trailing semicolon to existing test.
2991 (y0_test): Likewise.
2992 (y1_test): Likewise.
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2995
11b90b9f
JM
2996 [BZ #13851]
2997 [BZ #13854]
2998 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2999 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3000 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3001 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3002 (__tanl): Set errno for infinite argument.
3003 * sysdeps/i386/fpu/mptan.c: Remove.
3004 * sysdeps/i386/fpu/s_tan.S: Likewise.
3005 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3006 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3007 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3008 * math/libm-test.inc (tan_test): Add more tests and enable more
3009 tests for double and long double.
3010 * sysdeps/i386/fpu/libm-test-ulps: Update.
3011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3012
6a1bd2a1
JK
30132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3014
3015 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3016 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3017
10a803e0
RM
30182012-03-16 Roland McGrath <roland@hack.frob.com>
3019
3020 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3021 * configure.in: Use it for both main tree and add-ons.
3022 * configure: Regenerated.
3023
f196c7f7
L
30242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3025
3026 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3027
8848d99d
JM
30282012-03-16 Joseph Myers <joseph@codesourcery.com>
3029
96cbe7f4
JM
3030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3031 in comment.
3032
8848d99d
JM
3033 [BZ #13851]
3034 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3035 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3036 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3037 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3038 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3039 infinite argument.
3040 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3042 != 0 for prec == 2.
3043 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3044 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3045 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3046 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3047 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3048 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3049 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3050 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3051 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3052 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3053 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3054 * math/libm-test.inc (cos_test): Add more tests and enable more
3055 tests for long double.
3056 (sin_test): Likewise.
3057 (sincos_test): Likewise.
3058 * sysdeps/i386/fpu/libm-test-ulps: Update.
3059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3060
dd7f4703
DM
30612012-03-16 David S. Miller <davem@davemloft.net>
3062
3063 * sysdeps/sparc/fpu/math_private.h: New file.
3064
006f1daa
DM
30652012-03-15 David S. Miller <davem@davemloft.net>
3066
c0c83bc8
DM
3067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3068 file.
e6a62e18 3069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3071 file.
e6a62e18
DM
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3078 sysdep routines.
3079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3080
88cb87d9
DM
3081 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3082 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3083
006f1daa 3084 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3086 sparc-ifunc.h
006f1daa 3087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3089 Likewise.
3090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3091 Likewise.
006f1daa
DM
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3096 Likewise.
006f1daa
DM
3097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3102 Likewise.
3103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3104 Likewise.
006f1daa
DM
3105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3129
11e0098e
AS
31302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3131
3132 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3133 scaling.
3134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3135
e85b09d0
AJ
31362012-03-15 Andreas Jaeger <aj@suse.de>
3137
3138 [BZ #13852]
3139 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3140 ieee754/flt-32 implementation for sin, cos and sincos.
3141 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3142 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3143 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3144 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3145 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3146 ieee754/flt-32 implementation for tan.
3147
3148 * math/libm-test.inc (cos_test): Enable some large input tests for
3149 float as well
3150 (sin_test): Likewise.
3151 (sincos_test): Likewise.
3152 (tan_test): Add tests for large input.
3153
3154 * sysdeps/i386/fpu/libm-test-ulps: Update.
3155
81c64153
AJ
31562012-03-15 Andreas Jaeger <aj@suse.de>
3157
3158 [BZ #13658]
3159 * math/libm-test.inc (cos_test): Add more test cases.
3160 (sin_test): Likewise.
3161 (sincos_test): Likewise.
3162
7bbfa5c6
AJ
31632012-03-15 Andreas Jaeger <aj@suse.de>
3164
3165 [BZ #13837]
3166 * math/libm-test.inc (cos_test): Add a test case for large input
3167 value.
3168 (sin_test): Likewise.
3169 (sincos_test): Likewise.
3170
31712012-03-15 Andreas Jaeger <aj@suse.de>,
3172 Joseph Myers <joseph@codesourcery.com>
3173
3174 [BZ #13658]
0671f479 3175 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3176 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3177 * sysdeps/i386/fpu/branred.c: Likewise.
3178 * sysdeps/i386/fpu/dosincos.c: Likewise.
3179 * sysdeps/i386/fpu/mpa.c: Likewise.
3180 * sysdeps/i386/fpu/s_cos.S: Likewise.
3181 * sysdeps/i386/fpu/s_sin.S: Likewise.
3182 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3183 * sysdeps/i386/fpu/sincos32.c: Likewise.
3184
3185 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3186 Define.
3187 (libc_feupdateenv_53bit): Define.
3188 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3189 Define.
3190 (libc_feupdateenv_53bit): Define.
3191
3192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3193 53 bit (without extend i386 double precision).
3194
3195 * math/libm-test.inc (sincos_test): Add tests for large input.
3196 (sin): Likewise.
3197 (cos): Likewise.
3198
3199 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3200
9cad04ea
AS
32012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3202
3203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3204
f7062b9a
DM
32052012-03-15 David S. Miller <davem@davemloft.net>
3206
3207 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3208 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3209 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3210 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3223 file.
f7062b9a 3224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3226 file.
f7062b9a 3227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3229 file.
f7062b9a 3230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3232 file.
f7062b9a
DM
3233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3235 fmin/fmax sysdep routines.
3236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3237
7bd951ff
DM
32382012-03-14 David S. Miller <davem@davemloft.net>
3239
559398ab
DM
3240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3269 routines.
3270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3271 file.
559398ab 3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3274 file.
559398ab 3275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3277 file.
559398ab 3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3280 file.
559398ab 3281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3283 file.
559398ab 3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3286 file.
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3288 file.
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3290 file.
3291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3292 file.
3293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3294 New file.
3295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3296 file.
3297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3298 file.
559398ab 3299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3301 file.
559398ab 3302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3304 file.
559398ab 3305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3307 file.
559398ab 3308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3310 VIS3 routines.
559398ab
DM
3311
3312 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3313 New file.
3314
5a1c1e32
DM
3315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3316
eae47a36
DM
3317 * sysdeps/sparc/configure.in: New file.
3318 * sysdeps/sparc/configure: Generate.
3319 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3320 * configure: Regenerate.
3321 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3322 * config.make.in (have-as-vis3): New.
3323 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3324 available use -Av9d instead of -Av9a.
3325 * sysdeps/sparc/sparc64/Makefile: Likewise.
3326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3328 New file.
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3330 file.
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3332 New file.
3333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3334 file.
eae47a36
DM
3335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3340
c0c83bc8
DM
3341 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3342 fzeros/fnegs to load 0x80000000 into a float register instead of
3343 using the stack.
7bd951ff
DM
3344 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3345
bd951ccb
JM
33462012-03-14 Joseph Myers <joseph@codesourcery.com>
3347
3348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3349 bits/syscall.h.
3350 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3351 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3352 ($(inst_includedir)/bits/syscall.h): Remove rule.
3353 ($(objpfx)bits/syscall.d): Include instead of
3354 $(objpfx)syscall-list.d.
3355 (generated): Change syscall-list.h and syscall-list.d to
3356 bits/syscall.h and bits/syscall.d.
3357
bb4e6db2
RM
33582012-03-14 Roland McGrath <roland@hack.frob.com>
3359
3360 [BZ #13846]
3361 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3362
aa4a2ae1
JM
33632012-03-14 Joseph Myers <joseph@codesourcery.com>
3364
e456826d
JM
3365 [BZ #13841]
3366 * math/s_csqrt.c: Include <float.h>.
3367 (__csqrt): Scale large or subnormal inputs.
3368 * math/s_csqrtf.c: Likewise.
3369 * math/s_csqrtl.c: Likewise.
3370 * math/libm-test.inc (csqrt_test): Add more tests.
3371 * sysdeps/i386/fpu/libm-test-ulps: Update.
3372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3373
aa4a2ae1
JM
3374 [BZ #13840]
3375 * math/libm-test.inc (hypot_test): Add more tests.
3376
7c10fd35
DM
33772012-03-13 David S. Miller <davem@davemloft.net>
3378
3379 [BZ #13840]
3380 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3381 double-precision for the calculation instead of scaling.
3382
f453b98b
JM
33832012-03-13 Joseph Myers <joseph@codesourcery.com>
3384
3385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3386 manipulate bits before adding and subtracting TWO52[sx].
3387 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3389 Likewise.
3390 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3391
09a3453f
DM
33922012-03-13 David S. Miller <davem@davemloft.net>
3393
8e59da90
DM
3394 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3395 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3397 rtld-global-offsets.h
3398 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3399
2a8ab7f2
DM
3400 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3401 large parameters.
3402
10f62770
DM
3403 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3404
5f0bdb18
DM
3405 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3406 'err' in the ifdef scope in which it is actually used.
3407
09a3453f
DM
3408 * nss/nss_db/db-init.c: Include string.h
3409
b4b2eb5e
DM
34102012-03-12 David S. Miller <davem@davemloft.net>
3411
98bb2f1c
DM
3412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3413 masking out of the most significant byte of random value used.
3414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3415 Fix coding style in previous change.
3416
b4b2eb5e
DM
3417 * sysdeps/unix/sysv/linux/kernel-features.h
3418 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3419 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3420 expression.
3421 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3422 later.
3423
6e226b09
DM
34242012-03-11 David S. Miller <davem@davemloft.net>
3425
a1bcbd40
DM
3426 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3427 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3429 for 'resultvar' otherwise things get truncated on 64-bit.
3430
cb9d6174
DM
3431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3432 Fix masking out of the most significant byte of random value used.
3433
6e226b09
DM
3434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3435
058c132d
AS
34362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3437
3438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3439
2d2cd515
DM
34402012-03-09 David S. Miller <davem@davemloft.net>
3441
3442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3443 variables with appropriate CPP guards.
3444 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3445 frame pointer, not the stack pointer. Correct layout comments. Fix test
3446 on resulting framesize and the management of the outregs buffer for pltexit.
3447 Preserve floating point return values across _dl_call_pltexit call.
3448 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3449 framesize and the management of the outregs buffer for pltexit.
3450 Preserve floating point return values across _dl_call_pltexit
3451 call.
3452 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3453 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3454 (print_exit): Fix format string for return register value.
3455
9a07f9d0
JM
34562012-03-10 Joseph Myers <joseph@codesourcery.com>
3457
3458 * sunrpc/Makefile (others): Add rpcgen.
3459 ($(objpfx)rpcgen): Remove special build rule and dependency on
3460 libc.
3461 * sunrpc/rpcgen.c: New file.
3462
547b5e30
PE
34632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3464
c524201a
PE
3465 [BZ #13673]
3466 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3467 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3468 * sysdeps/i386/crti.S: Likewise.
3469 * sysdeps/i386/crtn.S: Likewise.
3470 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3471 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3472 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3473 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3474 * sysdeps/sh/crti.S: Likewise.
3475 * sysdeps/sh/crtn.S: Likewise.
3476 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3477
7b6235f2
PE
3478 [BZ #13673]
3479 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3480 with URL.
3481 * locale/programs/locfile-kw.gperf: Likewise.
3482 * locale/programs/charmap-kw.h: Regenerated.
3483 * locale/programs/locfile-kw.h: Likewise.
3484
547b5e30
PE
3485 [BZ #13673]
3486 * intl/plural.y: Replace FSF snail mail address with URL.
3487 * intl/plural.c: Regenerated.
3488
5f0a5dae
RH
34892012-03-09 Richard Henderson <rth@twiddle.net>
3490
3491 * include/math_private.h: Remove file.
3492 * math/math_private.h: Move file ...
3493 * sysdeps/generic/math_private.h: ... here.
3494
b8c03620
RH
3495 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3496 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3497 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3498
4e234f5d 3499 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3500 and <math_private.h>.
3501 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3502 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3503 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3504 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3505 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3509 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3512 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3513 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3514 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3516 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3518 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3519 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3520 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3522 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3523 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3525 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3526 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3527 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3531 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3533 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3534 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3535 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3537 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3538 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3539 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3541 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3542 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3543 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3589 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3590 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3591 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3592 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3594 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3595 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3605 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3606 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3607 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3608 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3609 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3613 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3614 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3615 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3616 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3618 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3619 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3620 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3621 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3622 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3623 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3624 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3625 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3627 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3628 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3629 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3630 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3631 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3632 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3633 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3634 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3636 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3637 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3638 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3640 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3641 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3642 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3645 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3646 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3647 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3649 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3650 * sysdeps/ieee754/k_standard.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3770 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3771 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3773 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3778 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3783 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3800 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3801 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3811 * sysdeps/ieee754/s_lib_version.c: Likewise.
3812 * sysdeps/ieee754/s_matherr.c: Likewise.
3813 * sysdeps/ieee754/s_signgam.c: Likewise.
3814 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3815 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3816 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3817 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3818 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3819 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3820 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3821 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3822 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3823 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3824 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3825 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3826 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3827 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3828 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3829 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3830 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3831 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3832 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3835
1991fa03
JM
38362012-03-09 Joseph Myers <joseph@codesourcery.com>
3837
3838 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3839 * sunrpc/rpc_main.c: Likewise.
3840 * sunrpc/rpc_svcout.c: Likewise.
3841
60d6f5a6
DM
38422012-03-09 David S. Miller <davem@davemloft.net>
3843
3844 * include/math_private.h: New file.
3845
4962050e
JM
38462012-03-09 Joseph Myers <joseph@codesourcery.com>
3847
02a6f887
JM
3848 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3849 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3850 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3851 from <bits/socket_type.h>.
3852 (enum __socket_type): Don't define here.
3853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3855 bits/socket_type.h.
3856
c6e013c1
JM
3857 [BZ #13566]
3858 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3859 checking __USE_GNU.
3860
4962050e
JM
3861 * Makerules ($(inst_includedir)/%.h): New rule.
3862 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3863 (install-others): Remove variable setting.
3864 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3865
38842f45
RH
38662012-03-08 Richard Henderson <rth@twiddle.net>
3867
67bb6da6
RH
3868 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3869 from macro to inline function; merge with the
3870 !__LIBC_INTERNAL_MATH_INLINES version.
3871 (__ieee754_sqrtf): Likewise.
3872
15194b4b
RH
3873 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3874 to inline function.
3875 (__rintf, __floor, __floorf): Likewise.
3876
64e21ede
RH
3877 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3878 macro to inline function.
3879 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3880
38842f45
RH
3881 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3882 not <math/math_private.h>.
3883
c64bf5fe
DM
38842012-03-08 David S. Miller <davem@davemloft.net>
3885
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3887 copyright year.
3888 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3889
82d86f28
TS
38902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3891
3892 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3893 normalization.
3894 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3895 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3896
aea5d727
UD
38972012-03-08 Ulrich Drepper <drepper@gmail.com>
3898
3899 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3900 be defined individually, they must be defined as a block. Define
3901 S for printing a string instead of hidint the different by using a
3902 macro for adding the 'l'.
3903 * stdio-common/tst-fphex-wide.c: Adjust.
3904
70bca0a3
MP
39052012-03-07 Marek Polacek <polacek@redhat.com>
3906
3907 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3908
65b81130
MP
39092012-03-08 Marek Polacek <polacek@redhat.com>
3910
3911 [BZ #13806]
3912 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3913 * stdio-common/tst-fphex.c: Define a few macros to make the
3914 test reusable. Use them.
3915 * stdio-common/tst-fphex-wide.c: New file.
3916
07037eeb
JM
39172012-03-08 Joseph Myers <joseph@codesourcery.com>
3918
a7a93d50
JM
3919 [BZ #6911]
3920 * manual/macros.texi (gnusystems): New macro.
3921 (nongnusystems): Likewise.
3922 (gnulinuxhurdsystems): Likewise.
3923 (gnuhurdsystems): Likewise..
3924 (gnulinuxsystems): Likewise.
3925 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3926 variants of the GNU system, not "GNU system".
3927 * manual/conf.texi: Likewise.
3928 * manual/errno.texi: Likewise. Update example of errno macro
3929 expansion.
3930 * manual/filesys.texi: Likewise.
3931 (getumask): Document as specific to GNU/Hurd.
3932 * manual/install.texi: Likewise. Reword some references to
3933 GNU/Linux.
3934 * manual/intro.texi: Likewise.
3935 * manual/io.texi: Likewise.
3936 (File Name Portability): Detail which constraints are inapplicable
3937 to all GNU systems and which are only inapplicable to GNU/Hurd.
3938 * manual/job.texi: Likewise.
3939 * manual/llio.texi: Likewise.
3940 (O_NOCTTY): Document as present on GNU/Linux.
3941 * manual/maint.texi: Likewise.
3942 * manual/memory.texi: Likewise.
3943 * manual/pattern.texi: Likewise.
3944 * manual/pipe.texi: Likewise.
3945 * manual/process.texi: Likewise.
3946 * manual/resource.texi: Likewise.
3947 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3948 child on GNU/Hurd.
3949 * manual/setjmp.texi: Likewise.
3950 * manual/signal.texi: Likewise.
3951 * manual/startup.texi: Likewise.
3952 * manual/stdio.texi: Likewise.
3953 * manual/terminal.texi: Likewise.
3954 (ONLCR): Document as POSIX.
3955 (OXTABS): Document availability on GNU/Linux as XTABS.
3956 (ONOEOT): Document availability separately from other bits.
3957 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3958 * manual/time.texi: Likewise.
3959 * manual/users.texi: Likewise.
3960 * INSTALL: Regenerated.
3961 * sysdeps/gnu/errlist.c: Regenerated.
3962
07037eeb
JM
3963 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3964 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3965 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3966 puts.
3967 * configure: Regenerated.
3968
d1d3431a
JM
39692012-03-07 Joseph Myers <joseph@codesourcery.com>
3970
af6a1e37
JM
3971 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3972 default includes instead of AC_HEADER_CHECK.
3973 * sysdeps/i386/configure: Regenerated.
3974
d1d3431a
JM
3975 [BZ #10716]
3976 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3977 * math/s_cacoshf.c (__cacoshf): Likewise.
3978 * math/s_cacoshl.c (__cacoshl): Likewise.
3979 * math/s_casinh.c (__casinh): Set signs of result from argument.
3980 * math/s_casinhf.c (__casinhf): Likewise.
3981 * math/s_casinhl.c (__casinhl): Likewise.
3982 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3983 (casinh_test): Add more tests.
3984 * sysdeps/i386/fpu/libm-test-ulps: Update.
3985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986
482ff4da
UD
39872012-03-07 Ulrich Drepper <drepper@gmail.com>
3988
872fda05
UD
3989 * po/zh_TW.po: Update from translation team.
3990
a4300c7a
UD
3991 * login/Makefile (distribute): Remove variable.
3992 * catgets/Makefile: Likewise.
3993 * mach/Makefile: Likewise.
3994 * malloc/Makefile: Likewise.
3995 * misc/Makefile: Likewise.
3996 * iconv/Makefile: Likewise.
3997 * nscd/Makefile: Likewise.
3998 * hurd/Makefile: Likewise.
3999 * manual/Makefile: Likewise.
4000 * locale/Makefile: Likewise.
4001 * intl/Makefile: Likewise.
4002 * conform/Makefile: Likewise.
4003 * nss/Makefile: Likewise.
4004 * time/Makefile: Likewise.
4005 * soft-fp/Makefile: Likewise.
4006 * dirent/Makefile: Likewise.
4007 * gmon/Makefile: Likewise.
4008 * po/Makefile: Likewise.
4009 * rt/Makefile: Likewise.
4010 * socket/Makefile: Likewise.
4011 * math/Makefile: Likewise.
4012 * signal/Makefile: Likewise.
4013 * debug/Makefile: Likewise.
4014 * elf/Makefile: Likewise.
4015 * timezone/Makefile: Likewise.
4016 * stdlib/Makefile: Likewise.
4017 * iconvdata/Makefile: Likewise.
4018 * sunrpc/Makefile: Likewise.
4019 * io/Makefile: Likewise.
4020 * argp/Makefile: Likewise.
4021 * inet/Makefile: Likewise.
4022 * hesiod/Makefile: Likewise.
4023 * grp/Makefile: Likewise.
4024 * csu/Makefile: Likewise.
4025 * wctype/Makefile: Likewise.
4026 * crypt/Makefile: Likewise.
4027 * libio/Makefile: Likewise.
4028 * string/Makefile: Likewise.
4029 * nis/Makefile: Likewise.
4030 * resolv/Makefile: Likewise.
4031 * stdio-common/Makefile: Likewise.
4032 * wcsmbs/Makefile: Likewise.
4033 * dlfcn/Makefile: Likewise.
4034 * posix/Makefile: Likewise.
4035
3b7c4e74 4036 [BZ #6959]
482ff4da
UD
4037 * timezone/Makefile: Don't install timezone files, just the programs
4038 and scripts.
4039
f72ed77d
UD
40402012-03-06 Ulrich Drepper <drepper@gmail.com>
4041
a000466f
UD
4042 * nss/databases.def: Add missing gshadow entry.
4043
f72ed77d
UD
4044 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4045
a53b7a4e
MP
40462012-03-06 Marek Polacek <polacek@redhat.com>
4047
4048 [BZ #13726]
4049 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4050 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4051 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4052 * stdio-common/tst-long-dbl-fphex.c: New file.
4053
e9258400
DM
40542012-03-06 David S. Miller <davem@davemloft.net>
4055
4056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4057 (set_obp_int): New function.
4058 (get_obp_int): New function.
4059 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4060 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4061 Avoid unused variable warnings on 'val' and use builtin_expect.
4062 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4063 __builtin_expect.
e9258400
DM
4064 (INLINE_CLONE_SYSCALL): Likewise.
4065
3bd2c723
DM
40662012-03-05 David S. Miller <davem@davemloft.net>
4067
4068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4069
bbb78d03
AS
40702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4071
884c5db4
AS
4072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4073
bbb78d03
AS
4074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4075 only for |x| >= 40.
4076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4077
1c9f702a 40782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4079
4080 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4081 Replace gettimeofday with __vdso_gettimeofday.
4082
7be16f82
RM
4083 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4084 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4085 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4086
4087 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4088 time with __vdso_time.
4089
ed58a00f
JM
40902012-03-05 Joseph Myers <joseph@codesourcery.com>
4091
4092 * manual/lang.texi (size_t): Note types to which size_t may be
4093 equivalent with the GNU C Library, but do not describe when
4094 differences between them are significant.
4095
30ee4ced
AJ
40962012-03-05 Andreas Jaeger <aj@suse.de>
4097
4098 * sysdeps/i386/fpu/libm-test-ulps: Update.
4099
b7cd39e8
JM
41002012-03-05 Joseph Myers <joseph@codesourcery.com>
4101
4102 [BZ #3976]
4103 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4104 (__ieee754_pow): Save and restore rounding mode and use
4105 round-to-nearest for main computations.
4106 * math/libm-test.inc (pow_test_tonearest): New function.
4107 (pow_test_towardzero): Likewise.
4108 (pow_test_downward): Likewise.
4109 (pow_test_upward): Likewise.
4110 (main): Call the new functions.
4111 * sysdeps/i386/fpu/libm-test-ulps: Update.
4112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4113
4114 [BZ #3976]
4115 * math/libm-test.inc (cosh_test_tonearest): New function.
4116 (cosh_test_towardzero): Likewise.
4117 (cosh_test_downward): Likewise.
4118 (cosh_test_upward): Likewise.
4119 (sinh_test_tonearest): Likewise.
4120 (sinh_test_towardzero): Likewise.
4121 (sinh_test_downward): Likewise.
4122 (sinh_test_upward): Likewise.
4123 (main): Call the new functions.
4124 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4126
6c6a98c9
TV
41272012-03-05 Tom de Vries <tom@codesourcery.com>
4128
4129 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4130 default stack guard is set in last bytes.
4131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4132
21bb2d2e 41332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4134
21bb2d2e 4135 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4136
21bb2d2e
AJ
4137 [BZ #13656]
4138 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4139 possibly allocate from heap instead of stack.
4140 * stdio-common/bug-vfprintf-nargs.c: New file.
4141 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4142
c6922934
AS
41432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4144
4145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4146
bc957d53
MP
41472012-03-03 Marek Polacek <polacek@redhat.com>
4148
4149 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4150 * math/math_private.h: Likewise.
4151 * stdlib/tst-strtod.c: Likewise.
4152 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4153 * sysdeps/x86_64/bits/atomic.h: Likewise.
4154
6358490d
DM
41552012-03-02 David S. Miller <davem@davemloft.net>
4156
4157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4161 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4162 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4163 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4164 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4165
01ae168d
RM
41662012-03-02 Roland McGrath <roland@hack.frob.com>
4167
d9a17c07
RM
4168 [BZ #13792]
4169 * manual/examples/README: New file, says the example source files
4170 can be used under GPL>=2.
4171 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4172 line containing just "*/".
4173 * manual/examples/add.c: Add copyright header (GPL>=2).
4174 * manual/examples/argp-ex1.c: Likewise.
4175 * manual/examples/argp-ex2.c: Likewise.
4176 * manual/examples/argp-ex3.c: Likewise.
4177 * manual/examples/argp-ex4.c: Likewise.
4178 * manual/examples/atexit.c: Likewise.
4179 * manual/examples/db.c: Likewise.
4180 * manual/examples/dir.c: Likewise.
4181 * manual/examples/dir2.c: Likewise.
4182 * manual/examples/execinfo.c: Likewise.
4183 * manual/examples/filecli.c: Likewise.
4184 * manual/examples/filesrv.c: Likewise.
4185 * manual/examples/fmtmsgexpl.c: Likewise.
4186 * manual/examples/genpass.c: Likewise.
4187 * manual/examples/inetcli.c: Likewise.
4188 * manual/examples/inetsrv.c: Likewise.
4189 * manual/examples/isockad.c: Likewise.
4190 * manual/examples/longopt.c: Likewise.
4191 * manual/examples/memopen.c: Likewise.
4192 * manual/examples/memstrm.c: Likewise.
4193 * manual/examples/mkfsock.c: Likewise.
4194 * manual/examples/mkisock.c: Likewise.
4195 * manual/examples/mygetpass.c: Likewise.
4196 * manual/examples/pipe.c: Likewise.
4197 * manual/examples/popen.c: Likewise.
4198 * manual/examples/rprintf.c: Likewise.
4199 * manual/examples/search.c: Likewise.
4200 * manual/examples/select.c: Likewise.
4201 * manual/examples/setjmp.c: Likewise.
4202 * manual/examples/sigh1.c: Likewise.
4203 * manual/examples/sigusr.c: Likewise.
4204 * manual/examples/stpcpy.c: Likewise.
4205 * manual/examples/strdupa.c: Likewise.
4206 * manual/examples/strftim.c: Likewise.
4207 * manual/examples/strncat.c: Likewise.
4208 * manual/examples/subopt.c: Likewise.
4209 * manual/examples/swapcontext.c: Likewise.
4210 * manual/examples/termios.c: Likewise.
4211 * manual/examples/testopt.c: Likewise.
4212 * manual/examples/testpass.c: Likewise.
4213 * manual/examples/timeval_subtract.c: Likewise.
4214
01ae168d
RM
4215 [BZ #13792]
4216 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4217 function to ...
4218 * manual/timeval_subtract.c.texi: ... here, new file.
4219
49efa33d
DM
42202012-03-02 David S. Miller <davem@davemloft.net>
4221
4222 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4223
28afd92d
JM
42242012-03-02 Joseph Myers <joseph@codesourcery.com>
4225
804360ed
JM
4226 [BZ #3976]
4227 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4228 (__sin): Save and restore rounding mode and use round-to-nearest
4229 for all computations.
4230 (__cos): Save and restore rounding mode and use round-to-nearest
4231 for all computations.
4232 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4233 <fenv.h>.
4234 (tan): Save and restore rounding mode and use round-to-nearest for
4235 all computations.
4236 * math/libm-test.inc (cos_test_tonearest): New function.
4237 (cos_test_towardzero): Likewise.
4238 (cos_test_downward): Likewise.
4239 (cos_test_upward): Likewise.
4240 (sin_test_tonearest): Likewise.
4241 (sin_test_towardzero): Likewise.
4242 (sin_test_downward): Likewise.
4243 (sin_test_upward): Likewise.
4244 (tan_test_tonearest): Likewise.
4245 (tan_test_towardzero): Likewise.
4246 (tan_test_downward): Likewise.
4247 (tan_test_upward): Likewise.
4248 (main): Call the new functions.
4249 * sysdeps/i386/fpu/libm-test-ulps: Update.
4250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4251
a6d06d7b
JM
4252 [BZ #10135]
4253 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4254 small n, then large n, before computing and testing k+n.
4255 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4257 Likewise.
4258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4259 Likewise.
4260 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4261 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4262 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4263 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4266 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4267 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4268 * math/libm-test.inc (scalbn_test): Add more tests.
4269 (scalbln_test): Likewise.
4270
07e12bb3
JM
4271 * manual/filesys.texi (mode_t): Describe constraints on size and
4272 signedness, not exact equivalence to a particular type.
4273 (ino_t): Likewise.
4274 (ino64_t): Likewise.
4275 (dev_t): Likewise.
4276 (nlink_t): Likewise.
4277 (blkcnt_t): Likewise.
4278 (blkcnt64_t): Likewise.
4279 * manual/llio.texi (off_t): Likewise.
4280
28afd92d
JM
4281 [BZ #3976]
4282 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4283 (__ieee754_exp): Save and restore rounding mode and use
4284 round-to-nearest for all computations.
4285 * math/libm-test.inc (exp_test_tonearest): New function.
4286 (exp_test_towardzero): Likewise.
4287 (exp_test_downward): Likewise.
4288 (exp_test_upward): Likewise.
4289 (main): Call the new functions.
4290 * sysdeps/i386/fpu/libm-test-ulps: Update.
4291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4292
b1eeb65d
CD
42932012-03-01 Chris Demetriou <cgd@google.com>
4294
4295 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4296 have predictable order.
4297
53362a4b
DM
42982012-03-01 David S. Miller <davem@davemloft.net>
4299
3c969083
DM
4300 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4301
759707de
DM
4302 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4303 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4304 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4305 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4306
dfdb8ff2
DM
4307 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4308 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4309 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4311 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4314 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4315 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4316
ead89f96
DM
4317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4318
7f66bd07
DM
4319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4320 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4321 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4322
53362a4b
DM
4323 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4324 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4325 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4326 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4327 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4329 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4330 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4331 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4332 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4333 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4339 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4340 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4341 * sysdeps/sparc/elf/configure: Regenerated.
4342
7b1902cb
JM
43432012-03-01 Joseph Myers <joseph@codesourcery.com>
4344
bec039bc
JM
4345 * configure.in (AS, LD): Require binutils 2.20 or later.
4346 * configure: Regenerated.
4347 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4348 as required minimum version.
4349 * INSTALL: Regenerated.
4350
7b1902cb
JM
4351 [BZ #2541]
4352 [BZ #4108]
4353 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4354 before squaring exponent.
4355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4356 bottom long double and 27 bits of top long double before squaring
4357 exponent.
4358 * math/libm-test.inc (erfc_test): Add more tests.
4359 * sysdeps/i386/fpu/libm-test-ulps: Update.
4360 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4362
f775c276
KT
43632012-03-01 Kai Tietz <ktietz@redhat.com>
4364
4365 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4366 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4367 containing bit-fields.
4368 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4369 * soft-fp/single.h (_FP_UNION_S): Likewise.
4370 * soft-fp/double.h (_FP_UNION_D): Likewise.
4371
5b8a4d4a
JM
43722012-02-29 Joseph Myers <joseph@codesourcery.com>
4373
0bab47b6
JM
4374 [BZ #13786]
4375 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4376 not include ../strcmp.S.
4377 [USE_AS_STRNCASECMP_L]: Likewise.
4378 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4379 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4380 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4381 (__strncasecmp_l_ia32): Define as alias to
4382 __strncasecmp_l_nonascii.
4383
0fcad3e2
JM
4384 [BZ #5794]
4385 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4386 * sysdeps/i386/fpu/libm-test-ulps: Update.
4387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4388
5b8a4d4a
JM
4389 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4391
8fdceb2e
JL
43922012-02-29 Jeff Law <law@redhat.com>
4393
4394 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4395 out of bounds read.
4396
1f393a11
MP
43972012-02-29 Marek Polacek <polacek@redhat.com>
4398
4399 [BZ #13706]
4400 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4401 * elf/Makefile: Add rules to run tst-unused-dep.out.
4402
8847f037
DM
44032012-02-28 David S. Miller <davem@davemloft.net>
4404
4405 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4406 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4409 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4410 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4411
169d7f11
JM
44122012-02-29 Joseph Myers <joseph@codesourcery.com>
4413
4414 * math/libm-test.inc (llround_test): Move one test from
4415 lround_test. Use TEST_f_L in moved test.
4416 (lround_test): Move misplaced test to llround_test. Add testcase
4417 from bug 2561.
4418
39adf059
UD
44192012-02-28 Ulrich Drepper <drepper@gmail.com>
4420
4421 * sysdeps/x86_64/fpu/e_expf.S: New file.
4422 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4423
71b5d1c5
SB
44242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4425
4426 [BZ #13637]
4427 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4428 of remain_len that may cause incomplete multi-byte character and
4429 false match.
4430 * posix/bug-regex33.c: New file.
4431 * posix/Makefile (tests): Add bug-regex33.
4432
1f77f049
JM
44332012-02-28 Joseph Myers <joseph@codesourcery.com>
4434
4435 * manual/macros.texi: New file.
4436 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4437 * manual/libc.texinfo: Include macros.texi.
4438 * manual/creatute.texi: Likewise.
4439 * manual/install.texi: Likewise.
4440 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4441 @glibcadj{} in references to the GNU C Library.
4442 * manual/charset.texi: Likewise.
4443 * manual/conf.texi: Likewise.
4444 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4445 when not using those macros.
4446 * manual/creature.texi: Likewise.
4447 * manual/crypt.texi: Likewise.
4448 * manual/errno.texi: Likewise.
4449 * manual/filesys.texi: Likewise.
4450 * manual/header.texi: Likewise.
4451 * manual/install.texi: Likewise.
4452 * manual/intro.texi: Likewise.
4453 * manual/io.texi: Likewise.
4454 * manual/job.texi: Likewise.
4455 * manual/lang.texi: Likewise.
4456 * manual/libc.texiinfo: Likewise.
4457 * manual/llio.texi: Likewise.
4458 * manual/locale.texi: Likewise.
4459 * manual/maint.texi: Likewise.
4460 * manual/math.texi: Likewise.
4461 * manual/memory.texi: Likewise.
4462 * manual/message.texi: Likewise.
4463 * manual/nss.texi: Likewise.
4464 * manual/pattern.texi: Likewise.
4465 * manual/process.texi: Likewise.
4466 * manual/resource.texi: Likewise.
4467 * manual/search.texi: Likewise.
4468 * manual/setjmp.texi: Likewise.
4469 * manual/signal.texi: Likewise.
4470 * manual/socket.texi: Likewise.
4471 * manual/startup.texi: Likewise.
4472 * manual/stdio.texi: Likewise.
4473 * manual/string.texi: Likewise.
4474 * manual/sysinfo.texi: Likewise.
4475 * manual/syslog.texi: Likewise.
4476 * manual/terminal.texi: Likewise.
4477 * manual/time.texi: Likewise.
4478 * manual/users.texi: Likewise.
4479 * INSTALL: Regenerated.
4480 * NOTES: Regenerated.
d40c5d54 4481 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4482
450bf206
AS
44832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4484
4485 * include/dirent.h: Include <dirstream.h> before
4486 <dirent/dirent.h>.
4487
741a235b
DM
44882012-02-28 David S. Miller <davem@davemloft.net>
4489
4490 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4491 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4492 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4493 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4494
d6b5aa58
DM
44952012-02-27 David S. Miller <davem@davemloft.net>
4496
1aff59a3
DM
4497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4499 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4500 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4501
d6b5aa58
DM
4502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4503 frame pointer instead of stack pointer relative arg slot.
4504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4505 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4506 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4507
433f48bf
CD
45082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4509
4510 [BZ #3992]
4511 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4512
d674b76d
DM
45132012-02-27 David S. Miller <davem@davemloft.net>
4514
4515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4519 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4520 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4521 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4522 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4523
0e7727f7
JM
45242012-02-27 Joseph Myers <joseph@codesourcery.com>
4525
4526 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4527 later. Allow versions 5-9.
43be4ca2 4528 * configure: Regenerated.
0e7727f7
JM
4529 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4530 required minimum version and 4.6 as recommended version. Do not
4531 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4532 * INSTALL: Regenerated.
0e7727f7 4533
a78bc654
DM
45342012-02-27 David S. Miller <davem@davemloft.net>
4535
428d5830
DM
4536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4542 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4543 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4544
a78bc654
DM
4545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4546 manipulate bits before adding and subtracting TWO112[sx].
4547 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4548
4579f81c
RM
45492012-02-27 Roland McGrath <roland@hack.frob.com>
4550
36c8acb4
RM
4551 [BZ #13775]
4552 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4553 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4554 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4555 being in POSIX, because they are in 1003.1-2008.
4556
84ad622b
RM
4557 * rt/tst-aio.c: Include <fcntl.h>.
4558 * rt/tst-aio7.c: Likewise.
4559 * rt/tst-aio64.c: Likewise.
4560
4579f81c
RM
4561 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4562
abd923db
JM
45632012-02-27 Joseph Myers <joseph@codesourcery.com>
4564
4565 * manual/install.texi (--with-headers): Describe headers as
4566 interface headers, not private headers.
4567 (Specific advice for GNU/Linux systems): Describe use of headers
4568 from "make headers_install", not private headers from older
4569 kernels.
43be4ca2 4570 * INSTALL: Regenerated.
abd923db
JM
4571 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4572 Change to 2.6.19.
4573 * sysdeps/unix/sysv/linux/configure: Regenerated.
4574
6664049b
JM
4575 * manual/llio.texi (fclean): Remove documentation.
4576
bb8b6697
JM
4577 * manual/Makefile (libc-texi-generated): New variable. Include
4578 version.texi.
4579 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4580 $(libc-texi-generated), not duplicated list of files.
4581 (version.texi, stamp-version): New rules.
4582 (realclean): Remove $(libc-texi-generated), not individual files
4583 from that list. Do not remove dir-add.texinfo.
4584 * manual/libc.texinfo: Comment out uses of edition numbers and
4585 references to printed manual. Remove last-updated dates.
4586 (EDITION): Comment out.
4587 (ISBN): Likewise.
4588 (VERSION, UPDATED): Remove.
4589 (version.texi): Include.
4590
12e5c3b9
AS
45912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4592
4593 * sysdeps/posix/spawni.c: Include <signal.h>.
4594 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4595 * sysdeps/pthread/aio_fsync.c: Likewise.
4596
4efeffc1 45972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4598
ba63ba08
UD
4599 * conform/Makefile (tests): Run only when not cross-compiling and
4600 when fast-check is not defined.
4601
d94a4670
UD
4602 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4603 * conform/data/limits.h-data: Fixes for POSIX2008.
4604 * conform/run-conformtest.sh: Run all tests.
4605 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4606 headers.
4607 * include/bits/dlfcn.h: Likewise.
4608 * include/langinfo.h: Likewise.
4609 * include/monetary.h: Likewise.
4610 * include/sys/poll.h: Likewise.
4611
4612 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4613 for __USE_GNU.
4614 * posix/spawn.h: Define __need_sigset_t.
4615 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4616 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4617 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4618 to get sigevent_t only.
4619 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4620 only for __USE_GNU.
4621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4622 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4623 process_vm_writev only for __USE_GNU.
4624 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4625
4626 * conform/Makefile: For now ignore errors from run-conformtest.
4627 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4628 POSIX to avoid namespace pollution. Don't prepend headers.
4629 * conform/data/aio.h-data: Fixes for POSIX testing.
4630 * conform/data/fcntl.h-data: Likewise.
4631 * conform/data/glob.h-data: Likewise.
4632 * conform/data/grp.h-data: Likewise.
4633 * conform/data/pthread.h-data: Likewise.
4634 * conform/data/pwd.h-data: Likewise.
4635 * conform/data/signal.h-data: Likewise.
4636 * conform/data/spawn.h-data: Likewise.
4637 * conform/data/stdio.h-data: Likewise.
4638 * conform/data/stdlib.h-data: Likewise.
4639 * conform/data/stropts.h-data: Likewise.
4640 * conform/data/sys/mman.h-data: Likewise.
4641 * conform/data/sys/stat.h-data: Likewise.
4642 * conform/data/sys/types.h-data: Likewise.
4643 * conform/data/sys/wait.h-data: Likewise.
4644 * conform/data/time.h-data: Likewise.
4645 * conform/data/unistd.h-data: Likewise.
4646 * conform/data/utime.h-data: Likewise.
4647
4648 * io/sys/stat.h: fchmod was always in POSIX.
4649 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4650 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4651 * rt/aio.h: Define __need_timespec before including <time.h>.
4652 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4653 struct. Add forward declaration of pthread_attr_t and use it in
4654 sigevent.
4655 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4657 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4658 always remove CLK_TCK definition.
4659
c20105c3
AS
46602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4661
4662 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4663
7a270350
UD
46642012-02-25 Ulrich Drepper <drepper@gmail.com>
4665
31341567
UD
4666 * conform/run-conformtest.sh: New file.
4667 * conform/Makefile: Run run-conformtest for tests.
4668 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4669 support.
4670
4671 * conform/data/uchar.h-data: New file.
4672 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4673 * conform/data/arpa/inet.h-data: Likewise.
4674 * conform/data/assert.h-data: Likewise.
4675 * conform/data/complex.h-data: Likewise.
4676 * conform/data/cpio.h-data: Likewise.
4677 * conform/data/ctype.h-data: Likewise.
4678 * conform/data/dirent.h-data: Likewise.
4679 * conform/data/dlfcn.h-data: Likewise.
4680 * conform/data/errno.h-data: Likewise.
4681 * conform/data/fcntl.h-data: Likewise.
4682 * conform/data/float.h-data: Likewise.
4683 * conform/data/fmtmsg.h-data: Likewise.
4684 * conform/data/fnmatch.h-data: Likewise.
4685 * conform/data/ftw.h-data: Likewise.
4686 * conform/data/glob.h-data: Likewise.
4687 * conform/data/grp.h-data: Likewise.
4688 * conform/data/iconv.h-data: Likewise.
4689 * conform/data/inttypes.h-data: Likewise.
4690 * conform/data/langinfo.h-data: Likewise.
4691 * conform/data/libgen.h-data: Likewise.
4692 * conform/data/limits.h-data: Likewise.
4693 * conform/data/locale.h-data: Likewise.
4694 * conform/data/math.h-data: Likewise.
4695 * conform/data/monetary.h-data: Likewise.
4696 * conform/data/mqueue.h-data: Likewise.
4697 * conform/data/ndbm.h-data: Likewise.
4698 * conform/data/net/if.h-data: Likewise.
4699 * conform/data/netdb.h-data: Likewise.
4700 * conform/data/netinet/in.h-data: Likewise.
4701 * conform/data/nl_types.h-data: Likewise.
4702 * conform/data/poll.h-data: Likewise.
4703 * conform/data/pthread.h-data: Likewise.
4704 * conform/data/pwd.h-data: Likewise.
4705 * conform/data/regex.h-data: Likewise.
4706 * conform/data/sched.h-data: Likewise.
4707 * conform/data/search.h-data: Likewise.
4708 * conform/data/semaphore.h-data: Likewise.
4709 * conform/data/setjmp.h-data: Likewise.
4710 * conform/data/signal.h-data: Likewise.
4711 * conform/data/spawn.h-data: Likewise.
4712 * conform/data/stdarg.h-data: Likewise.
4713 * conform/data/stdio.h-data: Likewise.
4714 * conform/data/stdlib.h-data: Likewise.
4715 * conform/data/string.h-data: Likewise.
4716 * conform/data/strings.h-data: Likewise.
4717 * conform/data/stropts.h-data: Likewise.
4718 * conform/data/sys/ipc.h-data: Likewise.
4719 * conform/data/sys/mman.h-data: Likewise.
4720 * conform/data/sys/msg.h-data: Likewise.
4721 * conform/data/sys/resource.h-data: Likewise.
4722 * conform/data/sys/select.h-data: Likewise.
4723 * conform/data/sys/sem.h-data: Likewise.
4724 * conform/data/sys/shm.h-data: Likewise.
4725 * conform/data/sys/socket.h-data: Likewise.
4726 * conform/data/sys/stat.h-data: Likewise.
4727 * conform/data/sys/statvfs.h-data: Likewise.
4728 * conform/data/sys/time.h-data: Likewise.
4729 * conform/data/sys/timeb.h-data: Likewise.
4730 * conform/data/sys/times.h-data: Likewise.
4731 * conform/data/sys/types.h-data: Likewise.
4732 * conform/data/sys/uio.h-data: Likewise.
4733 * conform/data/sys/un.h-data: Likewise.
4734 * conform/data/sys/utsname.h-data: Likewise.
4735 * conform/data/sys/wait.h-data: Likewise.
4736 * conform/data/syslog.h-data: Likewise.
4737 * conform/data/tar.h-data: Likewise.
4738 * conform/data/termios.h-data: Likewise.
4739 * conform/data/utime.h-data: Likewise.
4740 * conform/data/utmpx.h-data: Likewise.
4741 * conform/data/varargs.h-data: Likewise.
4742 * conform/data/wchar.h-data: Likewise.
4743 * conform/data/wctype.h-data: Likewise.
4744 * conform/data/wordexp.h-data: Likewise.
4745
4746 * include/stropts.h: New file.
4747 * include/uchar.h: New file.
4748 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4749 * include/assert.h: Likewise.
4750 * include/ctype.h: Likewise.
4751 * include/dirent.h: Likewise.
4752 * include/dlfcn.h: Likewise.
4753 * include/fcntl.h: Likewise.
4754 * include/fnmatch.h: Likewise.
4755 * include/glob.h: Likewise.
4756 * include/grp.h: Likewise.
4757 * include/libio.h: Likewise.
4758 * include/locale.h: Likewise.
4759 * include/math.h: Likewise.
4760 * include/net/if.h: Likewise.
4761 * include/netdb.h: Likewise.
4762 * include/netinet/in.h: Likewise.
4763 * include/pthread.h: Likewise.
4764 * include/pwd.h: Likewise.
4765 * include/regex.h: Likewise.
4766 * include/sched.h: Likewise.
4767 * include/search.h: Likewise.
4768 * include/setjmp.h: Likewise.
4769 * include/signal.h: Likewise.
4770 * include/stdio.h: Likewise.
4771 * include/stdlib.h: Likewise.
4772 * include/string.h: Likewise.
4773 * include/sys/cdefs.h: Likewise.
4774 * include/sys/mman.h: Likewise.
4775 * include/sys/msg.h: Likewise.
4776 * include/sys/resource.h: Likewise.
4777 * include/sys/select.h: Likewise.
4778 * include/sys/socket.h: Likewise.
4779 * include/sys/stat.h: Likewise.
4780 * include/sys/statvfs.h: Likewise.
4781 * include/sys/time.h: Likewise.
4782 * include/sys/times.h: Likewise.
4783 * include/sys/uio.h: Likewise.
4784 * include/sys/utsname.h: Likewise.
4785 * include/sys/wait.h: Likewise.
4786 * include/termios.h: Likewise.
4787 * include/time.h: Likewise.
4788 * include/ulimit.h: Likewise.
4789 * include/unistd.h: Likewise.
4790 * include/utime.h: Likewise.
4791 * include/wchar.h: Likewise.
4792 * include/wctype.h: Likewise.
4793 * include/wordexp.h: Likewise.
4794
4795 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4796
7a270350
UD
4797 * time/time.h: TIME_UTC must be a macro.
4798 Make timespec_get available for ISO C11 only as well.
4799
7724defc
UD
48002012-02-24 Ulrich Drepper <drepper@gmail.com>
4801
4802 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4803 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4804
6b1d1d46
JM
48052012-02-24 Joseph Myers <joseph@codesourcery.com>
4806
4807 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4808
0f8bbd69
JM
48092012-02-24 Joseph Myers <joseph@codesourcery.com>
4810
4811 * manual/texinfo.tex: Update to version 2012-01-19.16.
4812
66ab80bc
JM
48132012-02-24 Joseph Myers <joseph@codesourcery.com>
4814
4815 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4816
74981cc5
RM
48172012-02-24 Roland McGrath <roland@hack.frob.com>
4818
ee968201
RM
4819 [BZ #13738]
4820 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4821 * manual/fdl-1.3.texi: New file.
4822 * manual/fdl-1.1.texi: File removed.
4823
74981cc5
RM
4824 [BZ #13738]
4825 * manual/libc.texinfo (FDL_VERSION): New @set.
4826 Use it for mention of FDL in cover text.
4827 (Documentation License): Use it in @include file name.
4828
7bb764bc
JM
48292012-02-22 Joseph Myers <joseph@codesourcery.com>
4830 Roland McGrath <roland@hack.frob.com>
4831
4832 [BZ #5461]
4833 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4834 not LONG_LONG_MAX and LONG_LONG_MIN.
4835 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4836 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4837 name.
4838 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4839
6cbeae47
JM
48402012-02-22 Joseph Myers <joseph@codesourcery.com>
4841
4842 [BZ #2547]
4843 [BZ #11365]
4844 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4845 manipulate bits before adding and subtracting TWO23[sx].
4846 * math/libm-test.inc (nearbyint_test): Add more tests.
4847
fe45ce09
JM
48482012-02-22 Joseph Myers <joseph@codesourcery.com>
4849
4850 [BZ #2548]
4851 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4852 bits before adding and subtracting TWO23[sx].
4853 * math/libm-test.inc (rint_test): Add more tests.
4854 (rint_test_tonearest): Likewise.
4855 (rint_test_towardzero): Likewise.
4856 (rint_test_downward): Likewise.
4857 (rint_test_upward: Likewise.
4858
ff3b3d82
JM
48592012-02-22 Joseph Myers <joseph@codesourcery.com>
4860
4861 [BZ #10110]
4862 * include/stdc-predef.h: New file. Extracted from features.h.
4863 * include/features.h: Include stdc-predef.h.
4864 * Makefile (headers): Add stdc-predef.h.
4865 * CONFORMANCE (Compiler limitations): Update.
4866
ef0aab35
JM
48672012-02-22 Joseph Myers <joseph@codesourcery.com>
4868
4869 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4870
58639409
DM
48712012-02-21 David S. Miller <davem@davemloft.net>
4872
4873 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4875
c0e70b25
DM
48762012-02-20 David S. Miller <davem@davemloft.net>
4877
4878 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4879 using a normal save/restore sequence, rather than allocating a
4880 dummy stack frame just to store a frame pointer and restore.
4881 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4882
fb06851d
JM
48832012-02-21 Joseph Myers <joseph@codesourcery.com>
4884
4885 * manual/install.texi: Fix stray word in line-wrapped comment.
4886
7a8b71c3
DM
48872012-02-20 David S. Miller <davem@davemloft.net>
4888
d510c123
DM
4889 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4890 both binutils and gcc support GOTDATA.
4891
0722d7c2
DM
4892 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4893 "rd %pc" in the PIC register setup sequences.
4894
3d2b3019
DM
4895 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4896 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4897 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4898 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4899 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4901 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4904 (SYSCALL_ERROR_HANDLER): Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4906 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4908 (SYSCALL_ERROR_HANDLER): Likewise.
4909
c80098a9
DM
4910 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4911 (HAVE_GCC_GOTDATA): New.
4912 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4913 relocation support in both binutils and gcc.
4914 * sysdeps/sparc/elf/configure: Regenerate.
4915
3a2545a0
DM
4916 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4917 * sysdeps/sparc/sparc32/elf/configure: Delete.
4918 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4919 * sysdeps/sparc/sparc64/elf/configure: Delete.
4920 * sysdeps/sparc/elf/configure.in: New file.
4921 * sysdeps/sparc/elf/configure: Generate.
4922
7a8b71c3
DM
4923 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4924 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4925 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4926 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4927 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4928
f1e86fca
JM
49292012-02-21 Joseph Myers <joseph@codesourcery.com>
4930
4931 * manual/install.texi: Do not mention specific glibc version
4932 numbers.
4933 * manual/libc.texinfo (VERSION, UPDATED): Update.
4934 (@copying): Use @copyright{} and range of years.
4935
0e7dfaef
JM
49362012-02-21 Joseph Myers <joseph@codesourcery.com>
4937
4938 [BZ #13695]
4939 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4940 [crti.S not in sysdirs] (generated): Do not append.
4941 [crti.S not in sysdirs] (omit-deps): Likewise.
4942 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4943 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4944 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4945 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4946 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4947 Likewise.
4948 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4949 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4950 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4951 * csu/defs.awk: Remove file.
4952 * sysdeps/generic/initfini.c: Likewise.
4953 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4954 variable.
4955 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4956 Likewise.
4957
599af3ca
JM
49582012-02-20 Joseph Myers <joseph@codesourcery.com>
4959
4960 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4961 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4963 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4964 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4965 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4966 <bits/epoll.h>.
4967 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4968 (__EPOLL_PACKED): Define to empty if not defined by
4969 <bits/epoll.h>.
4970 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4972 bits/epoll.h.
4973
0e499750
JM
49742012-02-20 Joseph Myers <joseph@codesourcery.com>
4975
4976 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4977 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4979 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4980 <bits/timerfd.h>.
4981 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4983 bits/timerfd.h.
4984
5ad91f6e
JM
49852012-02-20 Joseph Myers <joseph@codesourcery.com>
4986
4987 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4988 in C locale.
4989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4990 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4993
06b99b02
AJ
49942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4995
4996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4998
7638c0fd
AS
49992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5000
5001 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5002 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5003 defined.
5004 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5005 Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5007 entry for 2.16.
5008
92221550
AJ
50092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5010
5011 * math/w_acos.c: Use non-signaling floating-point comparisons.
5012 * math/w_acosf.c: Likewise.
5013 * math/w_acosh.c: Likewise.
5014 * math/w_acoshf.c: Likewise.
5015 * math/w_acoshl.c: Likewise.
5016 * math/w_acosl.c: Likewise.
5017 * math/w_asin.c: Likewise.
5018 * math/w_asinf.c: Likewise.
5019 * math/w_asinl.c: Likewise.
5020 * math/w_atanh.c: Likewise.
5021 * math/w_atanhf.c: Likewise.
5022 * math/w_atanhl.c: Likewise.
5023 * math/w_exp2.c: Likewise.
5024 * math/w_exp2f.c: Likewise.
5025 * math/w_exp2l.c: Likewise.
5026 * math/w_j0.c: Likewise.
5027 * math/w_j0f.c: Likewise.
5028 * math/w_j0l.c: Likewise.
5029 * math/w_j1.c: Likewise.
5030 * math/w_j1f.c: Likewise.
5031 * math/w_j1l.c: Likewise.
5032 * math/w_jn.c: Likewise.
5033 * math/w_jnf.c: Likewise.
5034 * math/w_log.c: Likewise.
5035 * math/w_log10.c: Likewise.
5036 * math/w_log10f.c: Likewise.
5037 * math/w_log10l.c: Likewise.
5038 * math/w_log2.c: Likewise.
5039 * math/w_log2f.c: Likewise.
5040 * math/w_log2l.c: Likewise.
5041 * math/w_logf.c: Likewise.
5042 * math/w_logl.c: Likewise.
5043 * math/w_sqrt.c: Likewise.
5044 * math/w_sqrtf.c: Likewise.
5045 * math/w_sqrtl.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5049 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5050 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5051
ebaf36eb
JM
50522012-02-19 Joseph Myers <joseph@codesourcery.com>
5053
5054 [BZ #9739]
5055 * manual/string.texi (strnlen): Use correct parameter name in
5056 equivalent expression.
5057
71c254a6
JM
50582012-02-19 Joseph Myers <joseph@codesourcery.com>
5059
5060 [BZ #11174]
5061 * manual/users.texi (seteuid): Consistently use neweuid for
5062 argument name.
5063
16d2c631
JM
50642012-02-19 Joseph Myers <joseph@codesourcery.com>
5065
5066 [BZ #13704]
5067 * manual/nss.texi (Services in the NSS configuration): Correct
5068 list of services in example configuration file.
5069
cd837b09
NB
50702012-02-19 Nick Bowler <nbowler@draconx.ca>
5071
5072 [BZ #11322]
5073 * manual/arith.texi: Remove statements about negative zero
5074 behaving identically to zero.
5075
02c4bbad
JM
50762012-02-18 Joseph Myers <joseph@codesourcery.com>
5077
5078 [BZ #5993]
5079 * manual/install.texi: Do not document upgrading from libc5.
5080
366842e7
JM
50812012-02-18 Joseph Myers <joseph@codesourcery.com>
5082
5083 [BZ #4596]
5084 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5085
dd54084d
DM
50862012-02-18 David S. Miller <davem@davemloft.net>
5087
5088 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5089 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5090 %o7 across the call.
5091 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5092 instead.
5093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5094 SETUP_PIC_REG_LEAF.
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5096 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5097 * sysdeps/sparc/crtn.S: Likewise.
5098
2bcc53a3
UD
50992012-02-17 Ulrich Drepper <drepper@gmail.com>
5100
5101 * aout/Makefile: Remove.
5102
09c093b5
RK
51032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5104
5105 [BZ #13058]
5106 * manual/examples/argp-ex1.c (main): Format definition in GNU
5107 style.
5108 * manual/examples/argp-ex2.c (main): Likewise.
5109 * manual/examples/argp-ex3.c (main): Likewise.
5110 * manual/examples/argp-ex4.c (main): Likewise.
5111 * manual/examples/longopt.c (main): Use new-style prototype
5112 definition.
5113 * manual/examples/strncat.c (main): Specify return type and use
5114 (void) for arguments.
5115 * manual/examples/subopt.c (main): Use char **argv argument.
5116
2ee633a2
JM
51172012-02-17 Joseph Myers <joseph@codesourcery.com>
5118
5119 [BZ #5077]
5120 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5121 rounding modes.
5122
0520adde
FB
51232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5124
5125 [BZ #6907]
5126 * manual/string.texi (strchr): Change when strchrnul is
5127 recommended.
5128
3f4081cd
DGM
51292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5130
5131 [BZ #174]
5132 * manual/locale.texi (setlocale): Document LOCPATH.
5133
d1b10e78
JM
51342012-02-17 Joseph Myers <joseph@codesourcery.com>
5135
5136 [BZ #10210]
5137 * manual/process.texi (execle): Move @dots{} before last argument.
5138
79c6869c
PB
51392012-02-17 Paul Bolle <pebolle@tiscali.nl>
5140
5141 [BZ #12047]
5142 * manual/charset.texi (Generic Charset Conversion): Fix typo
5143 (LC_TYPE -> LC_CTYPE).
5144
cc6e48bc
NB
51452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5146
5147 [BZ #5805]
5148 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5149 (scalbnf): Likewise.
5150 (scalbnl): Likewise.
5151 (scalbln): Likewise.
5152 (scalblnf): Likewise.
5153 (scalblnl): Likewise.
5154 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5155 (vwarnx): Likewise.
5156 (verr): Likewise.
5157 (verrx): Likewise.
5158 * manual/filesys.texi (telldir): Use braces around return type.
5159 * manual/llio.texi (mmap): Add space after comma.
5160 (mmap64): Likewise.
5161 * manual/math.texi (jn): Use @var{} on parameter names.
5162 (jnf): Likewise.
5163 (jnl): Likewise.
5164 (yn): Likewise.
5165 (ynf): Likewise.
5166 (ynl): Likewise.
5167 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5168 line.
5169 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5170 "...".
5171 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5172 (sched_get_priority_max): Likewise.
5173 * manual/signal.texi (sigvec): Add space after comma.
5174 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5175 names.
5176 (if_indextoname): Likewise.
5177 (if_freenameindex): Likewise.
5178 (sendto): Use ',' instead of '.' in prototype.
5179 * manual/startup.texi (syscall): Use @dots{} instead of literal
5180 "...".
5181 * manual/stdio.texi (__fpending): Separate initial words of
5182 paragraph from @deftypefun line.
5183 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5184 "...".
5185 (vsyslog): Use @var{} on parameter names.
5186 * manual/terminal.texi (stty): Use @var{} on parameter names.
5187 * manual/users.texi (getutmp): Use @var{} on parameter names.
5188 (getutmpx): Likewise.
5189
5b23062f
JM
51902012-02-17 Joseph Myers <joseph@codesourcery.com>
5191
5192 [BZ #6884]
5193 * manual/stdio.texi (fopen): Fix typos in description of
5194 ",ccs=STRING".
5195
8dee4833
AJ
51962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5197
5198 [BZ #4026]
5199 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5200 get clock_id definition.
5201
9078ce93
TS
52022012-02-17 Thomas Schwinge <thomas@schwinge.name>
5203
5204 [BZ #4822]
5205 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5206 (madvise): Cast every argument to void on its own.
5207
3835c55f
JM
52082012-02-17 Joseph Myers <joseph@codesourcery.com>
5209
5210 [BZ #9902]
5211 * manual/startup.texi (Exit Status): Fix typo.
5212
35c47e37
JM
52132012-02-17 Joseph Myers <joseph@codesourcery.com>
5214
5215 [BZ #10140]
5216 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5217 * manual/examples/argp-ex2.c: Likewise.
5218 * manual/examples/argp-ex3.c: Likewise.
5219
e3b69ca7
RH
52202012-02-16 Richard Henderson <rth@redhat.com>
5221
5222 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5223 * sysdeps/s390/s390-32/initfini.c: Remove.
5224 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5225 * sysdeps/s390/s390-64/initfini.c: Remove.
5226
df83af67
KK
52272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5228
5229 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5230 compiler output for sysdeps/generic/initfini.c.
5231 * sysdeps/sh/elf/initfini.c: Remove file.
5232
f63f3380
DM
52332012-02-16 David S. Miller <davem@davemloft.net>
5234
fb59b3a4
DM
5235 [BZ #11494]
5236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5237
f63f3380
DM
5238 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5239 * sysdeps/sparc/crti.S: New file.
5240 * sysdeps/sparc/crtn.S: New file.
5241 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5242 * sysdeps/sparc/sparc64/Makefile: Likewise.
5243
df6a4a4a
MF
52442012-02-15 Mike Frysinger <vapier@gentoo.org>
5245
6dd8f3dc 5246 [BZ #3335]
df6a4a4a
MF
5247 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5248
1cac7236
RM
52492012-02-15 Roland McGrath <roland@hack.frob.com>
5250
d2c736f8
RM
5251 [BZ #4822]
5252 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5253
1cac7236
RM
5254 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5255 (write, read, close): Likewise.
5256 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5257
8e475601
JM
52582012-02-15 Joseph Myers <joseph@codesourcery.com>
5259
5260 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5261 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5262 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5263 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5264 <bits/signalfd.h>.
5265 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5267 bits/signalfd.h.
5268
ed656b40
MP
52692012-02-14 Marek Polacek <polacek@redhat.com>
5270
5271 * sysdeps/x86_64/crti.S: New file.
5272 * sysdeps/x86_64/crtn.S: New file.
5273 * sysdeps/x86_64/elf/initfini.c: Remove file.
5274
2a979d3a
JM
52752012-02-13 Joseph Myers <joseph@codesourcery.com>
5276
5277 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5278 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5279 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5280 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5281 <bits/inotify.h>.
5282 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5284 bits/inotify.h.
5285
2a418ac3
JM
52862012-02-13 Joseph Myers <joseph@codesourcery.com>
5287
5288 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5289 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5290 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5291 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5292 <bits/eventfd.h>.
5293 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5295 bits/eventfd.h.
5296
fb779be7
TS
52972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5298
e19e83c5
RM
5299 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5300 __feraiseexcept instead of feraiseexcept.
7c35ffed 5301
fb779be7
TS
5302 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5303 nanosleep invocations.
5304 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5305 strings, and add error checking for a nanosleep invocations.
5306
59ba27a6
PE
53072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5308
5309 Replace FSF snail mail address with URLs, as per GNU coding standards.
5310 Most of the snail mail addresses were wrong anyway, and omitting
5311 them makes the source code easier to maintain. Almost all of the
5312 changes are to license notices and to locale LC_IDENTIFICATION
5313 addresses, except for this one:
5314 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5315 not its snail mail address.
5316
57b957eb
RH
53172012-02-09 Richard Henderson <rth@twiddle.net>
5318
af850b1c
RH
5319 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5320 of kernel-features.h.
5321
57b957eb
RH
5322 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5323
6b73181a
MP
53242012-02-08 Marek Polacek <polacek@redhat.com>
5325
5326 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5327 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5328 * sysdeps/gnu/_G_config.h: Likewise.
5329 * sysdeps/generic/_G_config.h: Likewise.
5330
26ecc33a
AS
53312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5332
6c6dbc63
AS
5333 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5334 tests.
5335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5336
e216c012
AS
5337 * sysdeps/powerpc/powerpc32/crti.S: New file.
5338 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5339 * sysdeps/powerpc/powerpc64/crti.S: New file.
5340 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5341
26ecc33a
AS
5342 * Makeconfig (have-initfini): Don't set.
5343 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5344 * configure.in (nopic_initfini): Don't substitute.
5345 * config.h.in (HAVE_INITFINI): Don't #undef.
5346 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5347 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5348
3add8e13
JM
53492012-02-08 Joseph Myers <joseph@codesourcery.com>
5350
5351 Support crti.S and crtn.S provided directly by architectures.
5352 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5353 [crti.S in sysdirs] (omit-deps): Likewise.
5354 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5355 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5356 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5357 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5358 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5359 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5360 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5361 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5362 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5363 compiler output for sysdeps/generic/initfini.c.
5364 * sysdeps/i386/elf/Makefile: Remove file.
5365 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5366
a22f12b4
MP
53672012-02-07 Marek Polacek <polacek@redhat.com>
5368
5369 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5370 * sysdeps/gnu/_G_config.h: Likewise.
5371 * sysdeps/mach/hurd/_G_config.h: Likewise.
5372
148cf100
MP
53732012-02-07 Marek Polacek <polacek@redhat.com>
5374
5375 * math/Makefile (tests): Add tst-CMPLX2.
5376 * math/tst-CMPLX2.c: New file.
5377
cfdc0dd7
AS
53782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5379
84ba42c4
AS
5380 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5381
cfdc0dd7
AS
5382 * math/libm-test.inc (jn_test): Add missing L suffix.
5383
622c86f4
MP
53842012-02-06 Marek Polacek <polacek@redhat.com>
5385
5386 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5387 * sysdeps/i386/fpu/e_powf.S: Likewise.
5388 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5389 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5390 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5391 * sysdeps/i386/fpu/e_pow.S: Likewise.
5392 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5393 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5394 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5395 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5396 * sysdeps/i386/fpu/e_log2.S: Likewise.
5397 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5398 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5399 * sysdeps/i386/fpu/e_powl.S: Likewise.
5400 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5402 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5403 * sysdeps/i386/fpu/e_logl.S: Likewise.
5404 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5405 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5406 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5407 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5408 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5410 * sysdeps/i386/fpu/e_log.S: Likewise.
5411 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5413 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5414 * sysdeps/i386/fpu/e_logf.S: Likewise.
5415 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5417 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5418 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5419 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5420 * sysdeps/i386/fpu/e_log10.S: Likewise.
5421 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5422 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5423 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5424 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5426 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5427 * sysdeps/i386/asm-syntax.h: Likewise.
5428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5430 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5431 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5432 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5433 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5434 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5435 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5437 * sysdeps/powerpc/sysdep.h: Likewise.
5438 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5439 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5440
d4a54ac6
JM
54412012-02-06 Joseph Myers <joseph@codesourcery.com>
5442
5443 [BZ #411]
5444 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5445
314054ea
JM
54462012-02-06 Joseph Myers <joseph@codesourcery.com>
5447
5448 * sysdeps/i386/sysdep.h: Include <features.h>.
5449 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5450 version.
5451
d8e0ca50
JM
54522012-02-05 Joseph Myers <joseph@codesourcery.com>
5453
5454 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5455 Define.
5456 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5457 LOAD_PIC_REG_STR.
5458
b1da7dd9
JM
54592012-02-03 Joseph Myers <joseph@codesourcery.com>
5460
5461 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5462 (SETUP_PIC_REG): Use GET_PC_THUNK.
5463 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5464 macro.
5465
9a1d9254
JM
54662012-02-03 Joseph Myers <joseph@codesourcery.com>
5467
5468 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5469 for non-PIC compilation.
5470 (SETUP_PIC_REG): Add .p2align directive.
5471 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5472 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5473 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5474 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5476 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5477 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5479 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5480 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5481 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5482 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5483 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5484 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5485 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5486 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5487 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5488 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5489 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5490 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5491 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5493 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5494 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5495 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5497 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5499 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5500 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5501 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5503 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5504 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5505 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5506 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5507 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5508 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5509 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5510 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5511 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5512
65dc3b75
JM
55132012-02-03 Joseph Myers <joseph@codesourcery.com>
5514
5515 * math/tst-CMPLX.c: Include <stdio.h>.
5516
d55bf177
JM
55172012-01-31 Joseph Myers <joseph@codesourcery.com>
5518
5519 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5520 float.
5521 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5522 * sysdeps/sparc/bits/mathdef.h: Likewise.
5523
69db4f8f
MP
55242012-01-31 Marek Polacek <polacek@redhat.com>
5525
5526 * libio/libio.h: Don't define _PARAMS.
5527 * locale/programs/config.h: Don't define PARAMS.
5528 * stdlib/strtol_l.c: Likewise.
5529 (__strtol_l): Remove PARAMS from the prototype.
5530
41b81892
UD
55312012-01-31 Ulrich Drepper <drepper@gmail.com>
5532
3b49edc0
UD
5533 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5534 names. Just use the correct names. Remove unnecessary wrapper
5535 functions.
5536 * malloc/arena.c: Likewise.
5537 * malloc/hooks.c: Likewise.
5538
41b81892
UD
5539 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5540 ARENA_TEST says not to. Simplify test for creation of a new arena.
5541 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5542
27a25b6e
UD
55432012-01-30 Ulrich Drepper <drepper@gmail.com>
5544
5545 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5546 into tail calls.
5547 (update_get_addr): New function.
5548 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5549 GET_ADDR_MODULE parameter.
5550
c8a89e7d
JM
55512012-01-30 Joseph Myers <joseph@codesourcery.com>
5552
5553 * crypt/cert.c: Remove __STDC__ conditionals.
5554 * crypt/crypt-entry.c: Likewise.
5555 * crypt/crypt_util.c: Likewise.
5556 * libio/filedoalloc.c: Likewise.
5557 * libio/fileops.c: Likewise.
5558 * libio/genops.c: Likewise.
5559 * libio/iofclose.c: Likewise.
5560 * libio/iofdopen.c: Likewise.
5561 * libio/iofopen.c: Likewise.
5562 * libio/iofopen64.c: Likewise.
5563 * libio/iogetdelim.c: Likewise.
5564 * libio/iopopen.c: Likewise.
5565 * libio/obprintf.c: Likewise.
5566 * libio/oldfileops.c: Likewise.
5567 * libio/oldiofclose.c: Likewise.
5568 * libio/oldiofdopen.c: Likewise.
5569 * libio/oldiofopen.c: Likewise.
5570 * libio/oldiopopen.c: Likewise.
5571 * libio/wfiledoalloc.c: Likewise.
5572 * libio/wgenops.c: Likewise.
5573 * locale/programs/xmalloc.c: Likewise.
5574 * misc/syslog.c: Likewise.
5575 * stdio-common/xbug.c: Likewise.
5576 * string/memchr.c: Likewise.
5577 * string/memcmp.c: Likewise.
5578 * string/memrchr.c: Likewise.
5579 * string/rawmemchr.c: Likewise.
5580 * sysdeps/posix/getcwd.c: Likewise.
5581 * time/strftime_l.c: Likewise.
5582
3b100462
JM
55832012-01-30 Joseph Myers <joseph@codesourcery.com>
5584
5585 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5586 * config.make.in (config-cflags-sse2avx): Define.
5587 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5588 Fix typo.
5589
607998af
CM
55902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5591
5592 * scripts/config.guess: Update from upstream config git repository.
5593 * scripts/config.sub: Likewise.
5594
3601428f
CM
55952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5596
3ac8b282
CM
5597 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5598 (EM_NUM): Update.
5599 (R_TILEPRO_*, R_TILEGX_*): New macros.
5600
e034841e
CM
5601 * scripts/firstversions.awk: Fix bug in version range handling.
5602
540d7568
CM
5603 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5604
3601428f
CM
5605 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5606
463de862
CM
5607 * include/sys/epoll.h: New file.
5608 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5609 libc_hidden_def.
5610
73139a76
UD
56112012-01-28 Ulrich Drepper <drepper@gmail.com>
5612
96bc5b45
UD
5613 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5614 Avoid unnecessary __WORDSIZE == 64 test.
5615 (fmaxf): Use VEX format if possible.
5616 (fmax): Likewise.
5617 (fminf): Likewise.
5618 (fmin): Likewise.
5619
56f6f6a2
UD
5620 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5621 * math/math_private.h: Remove libc_fegetround* and
5622 libc_fesetround*.
5623 * sysdeps/i386/configure.in: Check for -msse2avx.
5624 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5625 also if SSE2AVX is defined.
5626 Remove libc_fegetround* and libc_fesetround*.
5627 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5628 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5630 of HAS_YMM_USABLE.
5631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5632 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5633 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5636
73139a76
UD
5637 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5638
d73f93a4
AZ
56392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640
5641 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5642 size is not set.
5643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5644
6ee65ed6
UD
56452012-01-27 Ulrich Drepper <drepper@gmail.com>
5646
5647 [BZ #13618]
5648 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5649 relocation.
5650 * Makeconfig (libm): Define.
5651 * elf/Makefile: Add rules to build and run tst-relsort1.
5652 * elf/tst-relsort1.c: New file.
5653 * elf/tst-relsort1mod1.c: New file.
5654 * elf/tst-relsort1mod2.c: New file.
5655
8db21882
JM
56562012-01-27 Joseph Myers <joseph@codesourcery.com>
5657
5658 * math/s_ldexp.c: Remove __STDC__ conditionals.
5659 * math/s_ldexpf.c: Likewise.
5660 * math/s_ldexpl.c: Likewise.
5661 * math/s_nextafter.c: Likewise.
5662 * math/s_nexttowardf.c: Likewise.
5663 * math/s_significand.c: Likewise.
5664 * math/s_significandf.c: Likewise.
5665 * math/s_significandl.c: Likewise.
5666 * math/w_jnl.c: Likewise.
5667 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5668 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5669 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5670 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5671 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5686 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5687 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5689 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5691 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5694 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5695 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5696 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5697 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5698 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5699 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5700 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5701 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5702 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5703 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5704 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5705 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5706 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5707 * sysdeps/ieee754/k_standard.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5769 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5782 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5783 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5787 * sysdeps/ieee754/s_matherr.c: Likewise.
5788 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5789 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5792
965a54a4
JM
57932012-01-26 Joseph Myers <joseph@codesourcery.com>
5794
5795 * crypt/md5.h: Remove __STDC__ conditionals.
5796 * libio/libioP.h: Likewise.
5797 * locale/programs/config.h: Likewise.
5798 * sysdeps/generic/sysdep.h: Likewise.
5799 * sysdeps/i386/asm-syntax.h: Likewise.
5800 * sysdeps/s390/asm-syntax.h: Likewise.
5801 * sysdeps/unix/sysdep.h: Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5804
7071ad79
JM
58052012-01-26 Joseph Myers <joseph@codesourcery.com>
5806
5807 * libio/libio.h: Remove __STDC__ conditionals.
5808 * malloc/obstack.h: Likewise.
5809 * math/complex.h: Likewise.
5810 * math/math.h: Likewise.
5811 * sysdeps/generic/_G_config.h: Likewise.
5812 * sysdeps/gnu/_G_config.h: Likewise.
5813 * sysdeps/mach/hurd/_G_config.h: Likewise.
5814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5815 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5816 * sysdeps/sparc/bits/mathdef.h: Likewise.
5817
afc5ed09
UD
58182012-01-26 Ulrich Drepper <drepper@gmail.com>
5819
5820 [BZ #13583]
5821 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5822 Clean up HAS_* macros.
afc5ed09 5823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5824 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5825 possible.
5826 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5827 HAS_AVX.
5828 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5829 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5830 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5832 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5833
bdb6de1d
JM
58342012-01-25 Joseph Myers <joseph@codesourcery.com>
5835
5836 * elf/tst-unique3.cc (gets): Remove declaration.
5837 * elf/tst-unique3lib.cc (gets): Likewise.
5838 * elf/tst-unique3lib2.cc (gets): Likewise.
5839 * elf/tst-unique4.cc (gets): Likewise.
5840
b15549e6
UD
58412012-01-24 Ulrich Drepper <drepper@gmail.com>
5842
5843 * include/stdio.h: Add C++ protection. Add gets declarations and
5844 definitions.
5845 * debug/tst-chk1.c: Don't declare gets here.
5846 * stdio-common/tst-gets.c: Likewise.
5847
a037381f
JM
58482012-01-24 Joseph Myers <joseph@codesourcery.com>
5849
5850 * posix/glob: Remove directory.
5851
f1d4aa75
JM
58522012-01-24 Joseph Myers <joseph@codesourcery.com>
5853
5854 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5855
81c0c964
PT
58562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5857
5858 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5859 of the non-standard EPFNOSUPPORT.
5860
0ea698ae
ST
58612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5862
5863 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5864 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5865 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5866
d220b117
UD
58672012-01-21 Ulrich Drepper <drepper@gmail.com>
5868
5869 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5870
3e1aa84e
UD
58712012-01-20 Ulrich Drepper <drepper@gmail.com>
5872
5873 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5874 transient errors.
5875 * nscd/grpcache.c (cache_addgr): Likewise.
5876 * nscd/hstcache.c (cache_addhst): Likewise.
5877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5878 * nscd/pwdcache.c (cache_addpw): Likewise.
5879 * nscd/servicescache.c (cache_addserv): Likewise.
5880
400aa020
UD
58812012-01-16 Ulrich Drepper <drepper@gmail.com>
5882
d77e7869
UD
5883 * malloc/malloc.c: Various cleanups.
5884 * malloc/hooks.c: Likewise.
5885
400aa020
UD
5886 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5887 * stdlib/bug-fmtmsg1.c: New file.
5888
5889 * stdlib/fmtmsg.c (init): Add missing unlock.
5890 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5891
e0a309cf
MP
58922012-01-12 Marek Polacek <polacek@redhat.com>
5893
5894 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5895 and _GNU_SOURCE.
5896
929d11c7
WS
58972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5898
5899 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5900 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5901 macro to ensure uniqueness of label name.
5902 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5903 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5904
41d0e869
UD
59052012-01-11 Ulrich Drepper <drepper@gmail.com>
5906
0cc5ed3b
UD
5907 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5908
41d0e869
UD
5909 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5910 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5911 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5913
a47a831a
UD
59142012-01-10 Ulrich Drepper <drepper@gmail.com>
5915
daa891c0
UD
5916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5917
5918 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5920 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5921
e58ef0f2
UD
5922 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5923
a47a831a 5924 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5925 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5928
5929 * math/bits/math-finite.h: Add ldexp support.
5930
a0bfc9c7
MP
59312012-01-10 Marek Polacek <polacek@redhat.com>
5932
5933 * locale/programs/localedef.h (show_archive_content): Add noreturn
5934 attribute.
5935
d6e97a1d
UD
59362012-01-09 Ulrich Drepper <drepper@gmail.com>
5937
5938 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5939
d5835c26
UD
59402012-01-08 Ulrich Drepper <drepper@gmail.com>
5941
e5f484c6
UD
5942 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5943
d5835c26
UD
5944 * io/Makefile (headers): Add bits/poll2.h.
5945
d1f741e9
WS
59462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5947
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5949 typo #include statement.
5950
ec09c1c4
UD
59512012-01-08 Ulrich Drepper <drepper@gmail.com>
5952
5953 * include/sys/cdefs.h: Define __attribute_alloc_size.
5954 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5955 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5956 * elf/pldd.c: Likewise.
5957 * iconv/iconv_charmap.c: Likewise.
5958 * iconv/iconvconfig.c: Likewise.
5959 * iconv/strtab.c: Likewise.
5960 * locale/programs/locale.c: Likewise.
5961 * locale/programs/localedef.h: Likewise.
5962 * locale/programs/simple-hash.c: Likewise.
5963 * nscd/nscd.h: Likewise.
5964 * nss/makedb.c: Likewise.
5965 * sysdeps/generic/ldconfig.h: Likewise.
5966 * locale/programs/localedef.c: Remove xmalloc prototype.
5967 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5968
20b38e03
PP
59692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5970
5971 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5972 appropriate.
5973
a0da5fe1
UD
59742012-01-08 Ulrich Drepper <drepper@gmail.com>
5975
1d5a644a 5976 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5977 * math/tst-CMPLX.c: New file.
1d5a644a 5978
8784a6db
UD
5979 * math/complex.h (CMPLXL): Fix typo.
5980
d9a216c0
UD
5981 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5982 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5983 GLIBC_2.16.
5984 * debug/tst-chk1.c: Add poll and ppoll tests.
5985 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5986 * include/sys/poll.h: Add hidden proto for ppoll.
5987 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5988 * sysdeps/mach/hurd/ppoll.c: Likewise.
5989 * io/ppoll.c: Likewise.
5990 * debug/poll_chk.c: New file.
5991 * debug/ppoll_chk.c: New file.
5992 * include/bits/poll2.h: New file.
5993 * io/bits/poll2.h: New file.
5994
ac097f5c
UD
5995 [BZ #1350]
5996 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5997
2119dcfa
UD
5998 * configure.in: static is always set to yes. Remove.
5999 * config.make.in: Don't set build-static.
6000 * Makeconfig: Remove use of build-static.
6001 * dlfcn/Makefile: Likewise.
6002 * elf/Makefile: Likewise.
6003 * math/Makefile: Likewise.
6004 * misc/Makefile: Likewise.
6005 * nptl/Makefile: Likewise.
6006 * sysdeps/mach/hurd/Makefile: Likewise.
6007
121766a9
UD
6008 * configure.in: PWD_P is not used anymore.
6009 * config.make.in: Remove PWD_P entry.
6010
51a1d39c 6011 * configure.in: Remove last remnants of RANLIB.
8720d066 6012 No need to check for signed size_t anymore.
215f4bdc
UD
6013 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6014 and IA-64.
3857022a 6015 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6016 * aclocal.m4: Likewise.
6017
d3ed7225
UD
6018 * wcsmbs/mbrtoc16.c: Implement using towc function.
6019 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6020 * wcsmbs/wcsmbsload.c: Likewise.
6021 * iconv/gconv_simple.c: Likewise.
6022 * iconv/gconv_int.h: Likewise.
6023 * iconv/gconv_builtin.h: Likewise.
6024 * iconv/iconv_prog.c: Remove CHAR16 handling.
6025
6026 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6027
6028 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6029
a0da5fe1
UD
6030 * configure.in: Remove --with-elf and --enable-bounded options.
6031 Dont set base_machine for ia64. More non-ELF conditions removed.
6032 Remove testing and setting of leading underscore information.
6033 * config.make.in (build-bounded): Set to no.
6034 * config.h.in: Remove NO_UNDERSCORES entry.
6035 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6036 them.
6037 * csu/start.c: Remove !NO_UNDERSCORE code.
6038 * locale/localeinfo.h: Likewise.
6039 * sysdeps/generic/machine-gmon.h: Likewise.
6040 * sysdeps/generic/sysdep.h: Likewise.
6041 * sysdeps/i386/sysdep.h: Likewise.
6042 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6043 * sysdeps/mach/sysdep.h: Likewise.
6044 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6045 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6046 * sysdeps/sh/sysdep.h: Likewise.
6047 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6048 * sysdeps/unix/i386/sysdep.S: Likewise.
6049 * sysdeps/unix/sparc/start.c: Likewise.
6050 * sysdeps/unix/sparc/sysdep.S: Likewise.
6051 * sysdeps/unix/sparc/sysdep.h: Likewise.
6052 * sysdeps/unix/start.c: Likewise.
6053 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6054 * sysdeps/x86_64/sysdep.h: Likewise.
6055
df78418a
UD
60562012-01-07 Ulrich Drepper <drepper@gmail.com>
6057
a784e502
UD
6058 [BZ #13553]
6059 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6060 for non-gcc.
6061 * argp/argp-fmtstream.h: Use const instead __const.
6062 * argp/argp.h: Likewise.
6063 * assert/assert.h: Likewise.
6064 * bits/fenv.h: Likewise.
6065 * bits/sched.h: Likewise.
6066 * bits/sigset.h: Likewise.
6067 * bits/sigthread.h: Likewise.
6068 * catgets/nl_types.h: Likewise.
6069 * conform/data/pthread.h-data: Likewise.
6070 * crypt/crypt-private.h: Likewise.
6071 * crypt/crypt.h: Likewise.
6072 * crypt/crypt_util.c: Likewise.
6073 * ctype/ctype.h: Likewise.
6074 * debug/execinfo.h: Likewise.
6075 * debug/mbsnrtowcs_chk.c: Likewise.
6076 * debug/mbsrtowcs_chk.c: Likewise.
6077 * debug/wcsnrtombs_chk.c: Likewise.
6078 * debug/wcsrtombs_chk.c: Likewise.
6079 * debug/wcstombs_chk.c: Likewise.
6080 * dirent/dirent.h: Likewise.
6081 * dlfcn/dlfcn.h: Likewise.
6082 * elf/neededtest4.c: Likewise.
6083 * grp/grp.h: Likewise.
6084 * gshadow/gshadow.h: Likewise.
6085 * iconv/gconv.h: Likewise.
6086 * iconv/gconv_int.h: Likewise.
6087 * iconv/gconv_simple.c: Likewise.
6088 * iconv/iconv.h: Likewise.
6089 * iconv/loop.c: Likewise.
6090 * iconv/skeleton.c: Likewise.
6091 * include/aio.h: Likewise.
6092 * include/aliases.h: Likewise.
6093 * include/argz.h: Likewise.
6094 * include/arpa/inet.h: Likewise.
6095 * include/assert.h: Likewise.
6096 * include/dirent.h: Likewise.
6097 * include/dlfcn.h: Likewise.
6098 * include/execinfo.h: Likewise.
6099 * include/fcntl.h: Likewise.
6100 * include/fenv.h: Likewise.
6101 * include/glob.h: Likewise.
6102 * include/grp.h: Likewise.
6103 * include/libintl.h: Likewise.
6104 * include/mntent.h: Likewise.
6105 * include/netdb.h: Likewise.
6106 * include/pwd.h: Likewise.
6107 * include/rpc/netdb.h: Likewise.
6108 * include/sched.h: Likewise.
6109 * include/search.h: Likewise.
6110 * include/shadow.h: Likewise.
6111 * include/signal.h: Likewise.
6112 * include/stdio.h: Likewise.
6113 * include/stdlib.h: Likewise.
6114 * include/string.h: Likewise.
6115 * include/sys/socket.h: Likewise.
6116 * include/sys/stat.h: Likewise.
6117 * include/sys/statfs.h: Likewise.
6118 * include/sys/statvfs.h: Likewise.
6119 * include/sys/syslog.h: Likewise.
6120 * include/sys/time.h: Likewise.
6121 * include/sys/uio.h: Likewise.
6122 * include/time.h: Likewise.
6123 * include/unistd.h: Likewise.
6124 * include/utmp.h: Likewise.
6125 * include/wchar.h: Likewise.
6126 * include/wctype.h: Likewise.
6127 * inet/aliases.h: Likewise.
6128 * inet/arpa/inet.h: Likewise.
6129 * inet/netinet/ether.h: Likewise.
6130 * inet/netinet/in.h: Likewise.
6131 * intl/libintl.h: Likewise.
6132 * io/bits/fcntl2.h: Likewise.
6133 * io/fcntl.h: Likewise.
6134 * io/ftw.h: Likewise.
6135 * io/sys/poll.h: Likewise.
6136 * io/sys/stat.h: Likewise.
6137 * io/sys/statfs.h: Likewise.
6138 * io/sys/statvfs.h: Likewise.
6139 * io/utime.h: Likewise.
6140 * libio/bits/stdio.h: Likewise.
6141 * libio/bits/stdio2.h: Likewise.
6142 * libio/libio.h: Likewise.
6143 * libio/libioP.h: Likewise.
6144 * libio/stdio.h: Likewise.
6145 * locale/lc-ctype.c: Likewise.
6146 * locale/locale.h: Likewise.
6147 * login/utmp.h: Likewise.
6148 * malloc/arena.c: Likewise.
6149 * malloc/malloc.c: Likewise.
6150 * malloc/malloc.h: Likewise.
6151 * malloc/mcheck.c: Likewise.
6152 * malloc/mtrace.c: Likewise.
6153 * math/bits/mathcalls.h: Likewise.
6154 * math/fenv.h: Likewise.
6155 * math/math_private.h: Likewise.
6156 * misc/bits/error.h: Likewise.
6157 * misc/bits/syslog.h: Likewise.
6158 * misc/err.h: Likewise.
6159 * misc/error.h: Likewise.
6160 * misc/fstab.h: Likewise.
6161 * misc/mntent.h: Likewise.
6162 * misc/regexp.h: Likewise.
6163 * misc/search.h: Likewise.
6164 * misc/sgtty.h: Likewise.
6165 * misc/sys/mman.h: Likewise.
6166 * misc/sys/syslog.h: Likewise.
6167 * misc/sys/uio.h: Likewise.
6168 * misc/sys/xattr.h: Likewise.
6169 * misc/ttyent.h: Likewise.
6170 * nis/rpcsvc/ypclnt.h: Likewise.
6171 * nss/nss.h: Likewise.
6172 * posix/bits/unistd.h: Likewise.
6173 * posix/fnmatch.h: Likewise.
6174 * posix/glob.h: Likewise.
6175 * posix/sched.h: Likewise.
6176 * posix/spawn.h: Likewise.
6177 * posix/sys/wait.h: Likewise.
6178 * posix/unistd.h: Likewise.
6179 * posix/wordexp.h: Likewise.
6180 * pwd/pwd.h: Likewise.
6181 * resolv/netdb.h: Likewise.
6182 * resource/sys/resource.h: Likewise.
6183 * rt/aio.h: Likewise.
6184 * rt/bits/mqueue2.h: Likewise.
6185 * rt/mqueue.h: Likewise.
6186 * shadow/shadow.h: Likewise.
6187 * signal/signal.h: Likewise.
6188 * socket/send.c: Likewise.
6189 * socket/sendto.c: Likewise.
6190 * socket/sys/socket.h: Likewise.
6191 * stdio-common/printf.h: Likewise.
6192 * stdlib/bits/stdlib.h: Likewise.
6193 * stdlib/fmtmsg.h: Likewise.
6194 * stdlib/monetary.h: Likewise.
6195 * stdlib/stdlib.h: Likewise.
6196 * stdlib/ucontext.h: Likewise.
6197 * streams/stropts.h: Likewise.
6198 * string/argz.h: Likewise.
6199 * string/bits/string2.h: Likewise.
6200 * string/string.h: Likewise.
6201 * string/strings.h: Likewise.
6202 * sunrpc/rpc/auth.h: Likewise.
6203 * sunrpc/rpc/auth_des.h: Likewise.
6204 * sunrpc/rpc/clnt.h: Likewise.
6205 * sunrpc/rpc/netdb.h: Likewise.
6206 * sunrpc/rpc/pmap_clnt.h: Likewise.
6207 * sunrpc/rpc/xdr.h: Likewise.
6208 * sysdeps/generic/inttypes.h: Likewise.
6209 * sysdeps/generic/net/if.h: Likewise.
6210 * sysdeps/generic/sys/swap.h: Likewise.
6211 * sysdeps/gnu/net/if.h: Likewise.
6212 * sysdeps/gnu/utmpx.h: Likewise.
6213 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6214 * sysdeps/i386/i486/bits/string.h: Likewise.
6215 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6216 * sysdeps/s390/bits/string.h: Likewise.
6217 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6218 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6219 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6220 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6221 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6222 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6223 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6224 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6225 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6226 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6227 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6228 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6229 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6230 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6231 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6232 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6233 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6235 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6237 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6239 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6240 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6241 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6242 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6243 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6244 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6245 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6247 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6248 * sysvipc/sys/ipc.h: Likewise.
6249 * sysvipc/sys/msg.h: Likewise.
6250 * sysvipc/sys/sem.h: Likewise.
6251 * sysvipc/sys/shm.h: Likewise.
6252 * termios/termios.h: Likewise.
6253 * time/sys/time.h: Likewise.
6254 * time/time.h: Likewise.
6255 * wcsmbs/bits/wchar2.h: Likewise.
6256 * wcsmbs/uchar.h: Likewise.
6257 * wcsmbs/wchar.h: Likewise.
6258 * wctype/wctype.h: Likewise.
6259
0269750c
UD
6260 [BZ #13551]
6261 * Makeconfig: Remove all but ELF support including AIX support.
6262 * Makerules: Likewise.
6263 * config.h.in: Likewise.
6264 * config.make.in: Likewise.
6265 * configure: Likewise.
6266 * configure.in: Likewise.
6267 * csu/Makefile: Likewise.
6268 * csu/version.c: Likewise.
6269 * debug/Makefile: Likewise.
6270 * dlfcn/Makefile: Likewise.
6271 * elf/Makefile: Likewise.
6272 * extra-lib.mk: Likewise.
6273 * iconv/Makefile: Likewise.
6274 * include/libc-symbols.h: Likewise.
6275 * include/shlib-compat.h: Likewise.
6276 * resolv/Makefile: Likewise.
6277 * resolv/res_libc.c: Likewise.
6278 * rt/Makefile: Likewise.
6279 * sysdeps/i386/asm-syntax.h: Likewise.
6280 * sysdeps/i386/sysdep.h: Likewise.
6281 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6282 * sysdeps/mach/sysdep.h: Likewise.
6283 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6284 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6285 * sysdeps/s390/asm-syntax.h: Likewise.
6286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6288 * sysdeps/sh/sysdep.h: Likewise.
6289 * sysdeps/unix/sparc/sysdep.h: Likewise.
6290 * sysdeps/wordsize-32/divdi3.c: Likewise.
6291 * sysdeps/x86_64/sysdep.h: Likewise.
6292
00bbd29b
UD
6293 * argp/Versions: Remove _argp_unlock_xxx.
6294
6295 [BZ #13559]
6296 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6297 * abilist/libBrokenLocale.abilist: Likewise.
6298 * abilist/libanl.abilist: Likewise.
6299 * abilist/libc.abilist: Likewise.
6300 * abilist/libcrypt.abilist: Likewise.
6301 * abilist/libdl.abilist: Likewise.
6302 * abilist/libm.abilist: Likewise.
6303 * abilist/libnsl.abilist: Likewise.
6304 * abilist/libpthread.abilist: Likewise.
6305 * abilist/libresolv.abilist: Likewise.
6306 * abilist/librt.abilist: Likewise.
6307 * abilist/libthread_db.abilist: Likewise.
6308 * abilist/libutil.abilist: Likewise.
6309 * abilist/libnss_db.abilist: New file.
6310
6311 * scripts/abilist.awk: Add support for indirect functions.
6312
a2693a0e
UD
6313 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6314
3f05895f
UD
6315 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6316
ecb6fb48
UD
6317 * shlib-versions: Remove entries for ports architectures.
6318
664f8cb9
UD
6319 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6320 files in ports.
6321 * elf/stackguard-macros.h: Remove support for IA-64.
6322 * elf/tst-auditmod1.c: Likewise.
6323 * sysdeps/generic/ldsodefs.h: Likewise.
6324
7ae81d88
UD
6325 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6326 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6327 configure files.
6328
bdeba135
UD
6329 [BZ #13552]
6330 * configure.in: Remove --enable-omitfp support.
6331 * FAQ.in: Adjust.
6332 * config.make.in: Likewise.
6333 * Makeconfig: Likewise.
6334 * manual/install.texi: Likewise.
6335
d75a0a62
UD
6336 In case anyone cares, the IA-64 architecture could move to ports.
6337 * sysdeps/ia64/*: Removed.
6338 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6339 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6340
dcc9756b
UD
6341 [BZ #13555]
6342 * configure.in: Remove entries for unsupported architectures.
6343
d3761ebc 6344 [BZ #13533]
9954432e
UD
6345 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6346 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6347 routines.
6348 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6349 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6350 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6351 fall back to using wcrtomb.
6352 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6353 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6354 renaming.
6355 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6356 * wcsmbs/tst-c16c32-1.c: New file.
6357
6358 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6359 local variable.
6360
c3a87236
UD
6361 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6362
28926a1b
UD
6363 * elf/tst-unique3.cc: Add explicit declaration of gets.
6364 * elf/tst-unique3lib.cc: Likewise.
6365 * elf/tst-unique3lib2.cc: Likewise.
6366 * elf/tst-unique4.cc: Likewise.
6367
df78418a
UD
6368 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6369
8ecd6b2a
JM
63702012-01-06 Joseph Myers <joseph@codesourcery.com>
6371
6372 [BZ #13566]
6373 * assert/assert.h (static_assert): Don't define for C++.
6374 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6375 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6376
9f115170
UD
63772012-01-03 Ulrich Drepper <drepper@gmail.com>
6378
5e0d0300
UD
6379 * iconv/loop.c (single loop): Fix assertion in storing of
6380 remaining bytes.
6381
9f115170
UD
6382 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6383
81fb02b0
UD
63842012-01-01 Ulrich Drepper <drepper@gmail.com>
6385
6386 * posix/getconf.c: Update copyright year.
6387 * nss/getent.c: Likewise.
a316c1f6 6388 * nss/makedb.c: Likewise.
81fb02b0
UD
6389 * iconv/iconvconfig.c: Likewise.
6390 * iconv/iconv_prog.c: Likewise.
6391 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6392 * elf/pldd.c: Likewise.
6393 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6394 * catgets/gencat.c: Likewise.
6395 * csu/version.c: Likewise.
6396 * elf/ldd.bash.in: Likewise.
6397 * elf/sprof.c (print_version): Likewise.
6398 * locale/programs/locale.c: Likewise.
6399 * locale/programs/localedef.c: Likewise.
a316c1f6 6400 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6401 * nscd/nscd.c (print_version): Likewise.
6402 * debug/xtrace.sh: Likewise.
6403 * malloc/memusage.sh: Likewise.
6404 * malloc/mtrace.pl: Likewise.
6405 * debug/catchsegv.sh: Likewise.
6406
2ba92745
JJ
64072011-12-30 Jakub Jelinek <jakub@redhat.com>
6408
6409 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6410 pure attribute.
6411
dadebdae
UD
64122011-12-24 Ulrich Drepper <drepper@gmail.com>
6413
d3761ebc 6414 [BZ #13533]
db6af3eb
UD
6415 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6416 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6417 transformations.
6418 * iconv/gconv_int.h: Likewise.
6419 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6420 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6421 from libc for GLIBC_2.16.
6422 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6423 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6424 * wcsmbs/uchar.h: Really define mbstate_t.
6425 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6426 * wcsmbs/c16rtomb.c: New file.
6427 * wcsmbs/mbrtoc16.c: New file.
6428 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6429 for C/POSIX locale.
6430 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6431 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6432
dadebdae
UD
6433 * wcsmbs/wchar.h: Add missing __restrict.
6434
67371b56
UD
64352011-12-23 Ulrich Drepper <drepper@gmail.com>
6436
74033a25
UD
6437 [BZ #13532]
6438 * time/Makefile (routines): Add timespec_get.
6439 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6440 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6441 timespec for ISO C11.
6442 * time/timespec_get.c: New file.
6443 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6444 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6445
380d7e87
UD
6446 [BZ #13531]
6447 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6448 * stdlib/stdlib.h: Declare aligned_alloc.
6449 * Versions.def: Add GLIBC_2.16 for libc.
6450 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6451
4e9e7a35
UD
6452 [BZ 13527]
6453 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6454 ISO C11.
6455
380d7e87 6456 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6457 code.
6458
03a71829
UD
6459 [BZ #13528]
6460 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6461
839e283e
UD
6462 [BZ #13529]
6463 * assert/assert.h (static_assert): Define.
6464
ce5294e2 6465 * version.h: Update for 2.16 development version.
90fa7312 6466
8d44e150 6467 [BZ #13526]
d7809905
UD
6468 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6469 _ISOC11_SOURCE.
6470
c0da14cd
UD
6471 * version.h (RELEASE): Bump for 2.15 release.
6472 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6473
530a3249
MP
6474 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6475 Patch by Marek Polacek <mpolacek@redhat.com>.
6476
67371b56
UD
6477 * bits/byteswap.h: Protect long long constants with __extension__.
6478 * sysdeps/i386/bits/byteswap.h: Likewise.
6479 * sysdeps/ia64/bits/byteswap.h: Likewise.
6480 * sysdeps/s390/bits/byteswap.h: Likewise.
6481 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6482
15db4de1
LD
64832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6484
6485 [BZ #13540]
bbe315ea
LD
6486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6487 destination buffer.
15db4de1
LD
6488 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6489
2b2596b1
MP
64902011-12-23 Marek Polacek <polacek@redhat.com>
6491
6492 * elf/dl-addr.c (determine_info): Add inline keyword.
6493 * elf/tst-auditmod4b.c (check_avx): Likewise.
6494 * elf/tst-auditmod6b.c (check_avx): Likewise.
6495 * elf/tst-auditmod6c.c (check_avx): Likewise.
6496 * elf/tst-auditmod7b.c (check_avx): Likewise.
6497
70c6c246
UD
64982011-12-23 Ulrich Drepper <drepper@gmail.com>
6499
6500 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6501 !__SSE_MATH__.
6502
c044cf14
LD
65032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6504
15db4de1 6505 [BZ #13540]
c044cf14
LD
6506 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6507 processing for last bytes.
6508
6b13d9d9
BH
65092011-08-06 Bruno Haible <bruno@clisp.org>
6510
d455f537
BH
6511 [BZ #13061]
6512 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6513 U+0385, not to U+1FEE.
6514
6b13d9d9
BH
6515 [BZ #13062]
6516 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6517 entry for U+00A5 U+0301.
6518
db910efd
UD
65192011-12-22 Ulrich Drepper <drepper@gmail.com>
6520
27deeafc
UD
6521 [BZ #13166]
6522 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6523 buffer for the output is too small.
6524
aed9d171
UD
6525 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6526 optimization.
6527
db910efd
UD
6528 [BZ #13185]
6529 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6530 SSE flags if possible.
6531
2bd779ae
LD
65322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6533
e7f9dac3 6534 [BZ #13540]
2bd779ae
LD
6535 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6536 processing for last bytes.
6537
154bfc16
JM
65382011-12-22 Joseph Myers <joseph@codesourcery.com>
6539
6540 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6541 (syscall-list-default-options, syscall-list-default-condition)
6542 (syscall-list-includes): Define.
6543 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6544 list of ABIs and options and #if conditions for each ABI. Do not
6545 handle common syscalls between ABIs specially.
6546 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6547 Remove.
6548 (syscall-list-variants, syscall-list-32bit-options)
6549 (syscall-list-32bit-condition, syscall-list-64bit-options)
6550 (syscall-list-64bit-condition): Define.
6551 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6552 (syscall-list-variants, syscall-list-32bit-options)
6553 (syscall-list-32bit-condition, syscall-list-64bit-options)
6554 (syscall-list-64bit-condition): Define.
6555 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6556 Remove.
6557 (syscall-list-variants, syscall-list-32bit-options)
6558 (syscall-list-32bit-condition, syscall-list-64bit-options)
6559 (syscall-list-64bit-condition): Define.
6560 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6561 Remove.
6562 (syscall-list-variants, syscall-list-32bit-options)
6563 (syscall-list-32bit-condition, syscall-list-64bit-options)
6564 (syscall-list-64bit-condition): Define.
6565
21eaf3a5
UD
65662011-12-22 Ulrich Drepper <drepper@gmail.com>
6567
16c6f992
UD
6568 * locale/iso-639.def: Add brx entry.
6569
41043168
UD
6570 [BZ #13328]
6571 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6572 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6573
21eaf3a5
UD
6574 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6575 __feraiseexcept_renamed.
6576
e3a851a2
UD
65772011-12-21 Ulrich Drepper <drepper@gmail.com>
6578
4920765e
UD
6579 [BZ #13538]
6580 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6581 EPOLLET with unsigned values.
6582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6584
e3a851a2
UD
6585 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6586 to large cancellation.
6587 * math/s_cacoshf.c: Likewise.
6588 * math/s_cacoshl.c: Likewise.
6589
b27e24b8
RK
65902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6591
6592 [BZ #13305]
aebefeee 6593 [BZ #12786]
b27e24b8
RK
6594 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6595 * math/s_cacoshf.c: Likewise.
6596 * math/s_cacoshl.c: Likewise.
6597
ee190f67
UD
65982011-12-21 Ulrich Drepper <drepper@gmail.com>
6599
6600 [BZ #13439]
6601 * iconv/gconv.h: Define __GCONV_SWAP.
6602 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6603 * iconvdata/utf-16.c: Likewise.
6604 * iconvdata/utf-32.c: Likewise.
6605
707f25df
AS
66062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6607
6608 [BZ #13524]
6609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6610 numerator after shifting it by one limb.
6611
d2daaa1e
RÁE
66122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6613
6614 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6615 under [__USE_EXTERN_INLINES].
6616
a4647e72
UD
66172011-12-17 Ulrich Drepper <drepper@gmail.com>
6618
6619 [BZ #13446]
6620 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6621
f0b264f1
AZ
66222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6625 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6626 optimized code.
6627 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6628 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6629 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6630 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6631 for strncasecmp/strncasecmp_l compilation.
6632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6633 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6634
8ef4f244
MP
66352011-12-08 Marek Polacek <mpolacek@redhat.com>
6636
6637 [BZ #13484]
6638 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6639 of __asm__.
6640
97ac2654
UD
66412011-12-17 Ulrich Drepper <drepper@gmail.com>
6642
6643 [BZ #13506]
6644 * time/tzfile.c (__tzfile_read): Check values from file header.
6645
91d2a845
WS
66462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6647
6648 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6649 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6650 * powerpc/powerpc32/dl-start.S: Likewise.
6651 * powerpc/powerpc32/elf/start.S: Likewise.
6652 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6653 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6654 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6655 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6656 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6657 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6658 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6659 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6660 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6661 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6662 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6663 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6664 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6665 * powerpc/powerpc32/memset.S: Likewise.
6666 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6667 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6668 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6669 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6670 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6671 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6672 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6673 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6674 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6675 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6676 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6677 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6678 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6679
a1267ba1
AZ
66802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6681
6682 * math/libm-test.inc: Added more nearbyint tests.
6683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6684 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6686 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6687
ad8ac1bd
RL
66882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6689
6690 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6691 FD_CLOEXEC.
6692
1d3e4b61
UD
66932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6694
6695 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6696 Add wcscpy-ssse3 wcscpy-c.
6697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6698 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6699 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6700 * sysdeps/x86_64/wcschr.S: New file.
6701 * sysdeps/x86_64/wcsrchr.S: New file.
6702 * string/test-strcmp.c: Remove checking of wcscmp function for
6703 wrong alignments.
6704 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6705 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6706 wcsrchr-sse2 wcsrchr-c.
6707 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6708 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6709 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6710 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6711 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6712 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6713 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6714 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6716 * wcsmbc/wcschr.c (WCSCHR): New macro.
6717
5b330a2d
UD
67182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6719
6720 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6721 * wcsmbs/test-wcsrchr.c: New file.
6722 * string/test-strrchr.c: Add wcsrchr support.
6723 (WIDE): New macro.
6724 * wcsmbs/test-wcscpy.c: New file.
6725 * string/test-strcpy.c: Add wcscpy support.
6726 (WIDE): New macro.
26428b7c 6727
f039c043
UD
67282011-12-10 Ulrich Drepper <drepper@gmail.com>
6729
6730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6731 the inner loop.
6732
850fb039
AS
67332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6734
6735 [BZ #13472]
6736 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6737
4efbd5cb
UD
67382011-12-04 Ulrich Drepper <drepper@gmail.com>
6739
52ff5dd0 6740 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6741 Minor optimizations.
52ff5dd0 6742
4efbd5cb
UD
6743 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6744 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6745 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6746
8a426e12
UD
67472011-12-03 Ulrich Drepper <drepper@gmail.com>
6748
aff2453d
UD
6749 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6750 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6751 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6752 for gcc to avoid warnings.
6753 * inet/Makefile (tests): Add tst-checks.
6754 * inet/tst-checks.c: New file.
6755
6756 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6757 warning.
6758
6759 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6760 __wmemcmp_sse2.
6761
6762 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6763 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6764
8a426e12
UD
6765 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6766
9bea3473
UD
67672011-12-02 Ulrich Drepper <drepper@gmail.com>
6768
3a965496
UD
6769 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6770 problem.
6771
9bea3473
UD
6772 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6773
f101631b
UD
67742011-11-29 Joseph Myers <joseph@codesourcery.com>
6775
6776 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6777 conditional on GCC version.
6778 (__arch_compare_and_exchange_val_8_acq)
6779 (__arch_compare_and_exchange_val_16_acq)
6780 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6781 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6782 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6783
a98275aa
UD
67842011-12-02 Joseph Myers <joseph@codesourcery.com>
6785
6786 * sysdeps/sh/backtrace.c: New file.
6787
d4cc29a2
AS
67882011-12-02 Andreas Schwab <schwab@redhat.com>
6789
6790 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6791 parenthesis.
6792
6257af2d
AS
67932011-12-01 Andreas Schwab <schwab@redhat.com>
6794
6795 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6796 falling back to utime.
6797
b5f44c1a
AS
67982011-11-30 Andreas Schwab <schwab@redhat.com>
6799
6800 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6801 expectations for float.
6802
f3a6cc0a
AS
68032011-11-29 Andreas Schwab <schwab@redhat.com>
6804
6805 * locale/weight.h (findidx): Add parameter len.
6806 * locale/weightwc.h (findidx): Likewise.
6807 * posix/fnmatch_loop.c (FCT): Adjust caller.
6808 * posix/regcomp.c (build_equiv_class): Likewise.
6809 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6810 * posix/regexec.c (check_node_accept_bytes): Likewise.
6811 * string/strcoll_l.c (STRCOLL): Likewise.
6812 * string/strxfrm_l.c (STRXFRM): Likewise.
6813
9d65ea3a
UD
68142011-11-17 Ulrich Drepper <drepper@gmail.com>
6815
6816 * Makefile.in: Remove CVSOPT handling.
6817 * configure.in: Remove use of AC_REVISION.
6818 * iconvdata/Makefile (distribute): No need to filter out CVS.
6819 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6820 handling.
6821
5583a086
AS
68222011-11-16 Andreas Schwab <schwab@redhat.com>
6823
6824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6825 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6826 [USE_AS_STRNCASECMP_L]: Likewise.
6827 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6828 NO_TLS_DIRECT_SEG_REFS.
6829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6830 Fix argument offsets for non-PIC.
6831 [USE_AS_STRNCASECMP_L]: Likewise.
6832 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6833 NO_TLS_DIRECT_SEG_REFS.
6834
d62a8200
UD
68352011-11-15 Ulrich Drepper <drepper@gmail.com>
6836
9d65ea3a 6837 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6838 O_CLOEXEC.
6839 * locale/loadlocale.c (_nl_load_locale): Likewise.
6840
09f93bd3
AS
68412011-11-15 Andreas Schwab <schwab@redhat.com>
6842
446514f9
AS
6843 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6844 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6845 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6846 (SYSCALL_GETTIME): Set errno on error.
6847
09f93bd3
AS
6848 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6849 count references to noai6ai_cached.
6850
312be3f9
UD
68512011-11-15 Ulrich Drepper <drepper@gmail.com>
6852
6853 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6854
6855 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6856 FD_CLOEXEC for /proc/self/maps.
6857
6858 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6859 FD_CLOEXEC for /proc/meminfo.
6860
6861 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6862 gai.conf.
6863
6864 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6865 FD_CLOEXEC for given file.
6866
6867 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6868
6869 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6870 FD_CLOEXEC for /etc/hosts.
6871 (_gethtent): Likewise.
6872
6873 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6874
6875 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6876 cancellation and set FD_CLOEXEC for /etc/netgroup.
6877
6878 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6879 reading /etc/publickey.
6880
6881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6882 allow cancellation when reading /etc/group.
6883
6884 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6885 cancellation.
6886 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6887
6888 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6889 when using data file.
6890
6891 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6892
6893 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6894 (write_nis_obj): Use "c" and "e" in fopen.
6895
6896 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6897
6898 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6899
6900 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6901
6902 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6903
6904 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6905 locale.alias.
6906
6907 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6908
6909 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6910
6911 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6912
6913 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6914 file parsing and set FD_CLOEXEC.
6915
82af0fa8
UD
69162011-11-14 Ulrich Drepper <drepper@gmail.com>
6917
6918 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6919
a5fb313c
AS
69202011-11-14 Andreas Schwab <schwab@redhat.com>
6921
6922 * malloc/arena.c (arena_get2): Don't call reused_arena when
6923 _int_new_arena failed.
6924
6abf3465
UD
69252011-11-14 Ulrich Drepper <drepper@gmail.com>
6926
6927 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6928 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6930 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6931 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6932 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6933 to compile strcasecmp and strncasecmp.
6934 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6935 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6936
6937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6938
76e3966e
UD
69392011-11-13 Ulrich Drepper <drepper@gmail.com>
6940
6941 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6942 locale-defines.sym to gen-as-const-headers.
6943 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6944 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6946 to compile strcasecmp and strncasecmp.
6947 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6948 strcasecmp_l and strncasecmp_l.
6949 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6950 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6951 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6952 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6953 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6954 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6955 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6956 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6957 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6958 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6959 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6960
ab26144e
UD
69612011-11-12 Ulrich Drepper <drepper@gmail.com>
6962
7edb22ef
UD
6963 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6964 result of SYSDEP_GETTIME_CPU to retval.
6965 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6966 parameter list to macro. Remove trailing semicolon. Adjust users.
6967
9694fc44
UD
6968 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6969 variable.
6970
8ad89ef8
UD
6971 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6972 mantissa words.
6973 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6974
0c822ef9
UD
6975 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6976 from unused variable.
6977
874e0564
UD
6978 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6979 DWARF definitions.
6980 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6981 for assembling.
6982
3a2edc79
UD
6983 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6984 over namespaces.
6985
f3c2577f
UD
6986 * sunrpc/rpc_prot.c (rejected): Fix case value.
6987
294ce126
UD
6988 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6989 unsigned long long int to avoid warnings in shift.
6990
5e2b63c6
UD
6991 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6992 of use of trans.
6993 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6994 variable tmp.
6995
e7f4b08e
UD
6996 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6997 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6998 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6999
ab26144e
UD
7000 * nis/nis_table.c (nis_list): Use variable of correct type for
7001 result of __follow_path call.
7002
8a6d5255
AZ
70032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004
7005 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7006 of math functions ceil, trunc, floor, round, and sqrt, when
7007 avaliable on the platform.
7008 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7009 name clash.
7010 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7011 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7012 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7013
aaddc98c
MP
70142011-10-30 Marek Polacek <mpolacek@redhat.com>
7015
7016 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7017 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7018
95b7042b
RM
70192011-11-11 Roland McGrath <roland@hack.frob.com>
7020
7021 * include/unistd.h: Fix __readlink return type.
7022 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7023
57769839
UD
70242011-11-11 Ulrich Drepper <drepper@gmail.com>
7025
7026 * stdlib/ucontext.h: Undo last change for makecontext.
7027
edc5984d
AS
70282011-11-11 Andreas Schwab <schwab@redhat.com>
7029
98591e58
AS
7030 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7031
edc5984d
AS
7032 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7033 * setjmp/setjmp.h: Mark functions as non-leaf.
7034 * setjmp/bits/setjmp2.h: Likewise.
7035 * stdlib/ucontext.h: Likewise.
7036
77cdc054
AS
70372011-11-10 Andreas Schwab <schwab@redhat.com>
7038
7039 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7040 (reused_arena): Don't check arena limit.
7041 (arena_get2): Atomically check arena limit.
7042
fe72eebd
UD
70432011-11-08 Ulrich Drepper <drepper@gmail.com>
7044
5f078c32
UD
7045 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7046 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7047
fe72eebd
UD
7048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7049 instructions.
7050
ae1bc2fa
AS
70512011-11-07 Andreas Schwab <schwab@redhat.com>
7052
7583a88d
AS
7053 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7054 handler when locking.
7055
ae1bc2fa
AS
7056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7057 Fix size of allocated buffer.
7058
10fb0bfa
AS
70592011-11-04 Andreas Schwab <schwab@redhat.com>
7060
998832a4
AS
7061 [BZ #10103]
7062 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7063 declarations for long double functions.
7064 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7065
10fb0bfa
AS
7066 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7067
3d7ba52b
AS
70682011-11-03 Andreas Schwab <schwab@redhat.com>
7069
a9ae54a1
AS
7070 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7071 installed.
7072
3d7ba52b
AS
7073 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7074 is disabled.
7075
bc8db248
ST
70762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7077
7078 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7079
45b96dd6
AS
70802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7081
647776f6
AS
7082 * include/alloca.h (stackinfo_alloca_round): Define.
7083 (extend_alloca): Use it.
7084 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7085 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7086 here.
7087
d91a8b93
AS
7088 * scripts/check-local-headers.sh: Ignore libaudit.h.
7089
45b96dd6
AS
7090 * nscd/Makefile (extra-objs): Make recursively expanded.
7091
432d41ce
UD
70922011-11-01 Ulrich Drepper <drepper@gmail.com>
7093
34372fc6
UD
7094 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7095 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7096
fadb59f8
UD
7097 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7098 * posix/tst-rfc3484-2.c: Likewise.
7099 * posix/tst-rfc3484-3.c: Likewise.
7100
78239589
UD
7101 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7102 process_vm_writev.
7103 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7104 process_vm_writev.
7105 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7106 process_vm_writev from libc using GLIBC_2.15 version.
7107
432d41ce
UD
7108 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7109
02f9c6cf
PP
71102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7111
7112 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7113 stack usage.
7114
3a2c0242
UD
71152011-10-31 Ulrich Drepper <drepper@gmail.com>
7116
f4ec4833
UD
7117 [BZ #13367]
7118 * nss/getent.c (initgroups_keys): Show error message in case no group
7119 names are given.
7120
3a2c0242
UD
7121 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7122 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7123 __bump_nl_timestamp.
7124 * nscd/connections (nscd_init): When host database is served open
7125 netlink socket and request notification about configuration changes.
7126 (main_loop_poll): Track netlink file descriptor and bump timestamp
7127 in case data becomes available.
7128 (main_loop_epoll): Likewise.
7129 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7130 (database_pers_head): Add extra_data fileds.
7131 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7132 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7133 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7134 Adjust caller.
7135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7136 in6ai data, call __free_in6ai.
7137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7138 Add -DHAVE_NETLINK.
7139 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7140 interface information. Reuse previous data if netlink timestamp
7141 is not changed.
7142 (__bump_nl_timestamp): New function.
7143 (__free_in6ai): New function.
7144
636064eb
UD
71452011-10-30 Ulrich Drepper <drepper@gmail.com>
7146
7147 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7148 close_not_cancel_no_status here.
7149 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7150
9beb2334
UD
71512011-10-29 Ulrich Drepper <drepper@gmail.com>
7152
6ef76f3b
UD
7153 [BZ #13276]
7154 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7155 return value.
7156
0ffc4f3e 7157 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7158 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7159 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7160
cb95113e
UD
71612011-07-03 Andreas Jaeger <aj@suse.de>
7162
7163 [BZ #10709]
7164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7165 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7166 * math/libm-test.inc (sin_test): Add test case.
7167
a1b560ff
UD
71682011-10-29 Ulrich Drepper <drepper@gmail.com>
7169
c9aaface
UD
7170 [BZ #13337]
7171 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7172 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7173
d272e7f1
UD
7174 * elf/chroot_canon.c (chroot_canon): Cleanups.
7175
1bc33071
UD
7176 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7177
1760874d
TJ
7178 [BZ #13335]
7179 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7180 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7181
51d91b18
UD
7182 * string/test-strchr.c: Make usable for strchrnul testing.
7183 * string/test-strchrnul.c: New file.
7184 * string/Makefile (strop-tests): Add strchrnul.
7185
a1b560ff 7186 * po/it.po: Update from translation team.
b611fb81 7187 * po/es.po: Likewise.
a1b560ff 7188
a5b81e1f
UD
71892011-10-28 Ulrich Drepper <drepper@gmail.com>
7190
fd52bc6d
UD
7191 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7192 the three constants needed as parameters. Drop the others.
7193 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7194 __m128i_strloadu_tolower.
52e4b9eb
UD
7195 Create and initialize variable zero and use it in all the places
7196 where _mm_setzero_si128 was used.
fd52bc6d 7197
a5b81e1f
UD
7198 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7199 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7200 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7201 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7202 anymore.
7203 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7204 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7205 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7206 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7207 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7208 __mpranred, __mptan.
7209 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7210 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7211 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7212 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7213 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7214 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7216 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7217 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7218
b4343346
AS
72192011-10-28 Andreas Schwab <schwab@redhat.com>
7220
0c92d8a8
AS
7221 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7222 redefine if SHARED.
7223 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7224
b4343346
AS
7225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7226 wide char related routines to wcsmbs subdir.
7227
3871f58f
AS
72282011-10-27 Andreas Schwab <schwab@redhat.com>
7229
7230 [BZ #13344]
7231 * misc/sys/cdefs.h (__THROWNL): Define.
7232 * posix/unistd.h: Use __THREADNL instead of __THREAD
7233 for memory synchronization functions.
7234
94d44d9f
RM
72352011-10-26 Roland McGrath <roland@hack.frob.com>
7236
21b64b15 7237 [BZ #13349]
94d44d9f
RM
7238 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7239 doesn't exist.
7240 * manual/stdio.texi (Obstack Streams): Node removed.
7241
f6ce9294
AS
72422011-10-26 Andreas Schwab <schwab@redhat.com>
7243
80479147
AS
7244 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7245 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7247
f6ce9294
AS
7248 * math/math_private.h (math_force_eval): Allow non-addressable
7249 arguments.
7250 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7251
618280a1
UD
72522011-10-25 Ulrich Drepper <drepper@gmail.com>
7253
e0016b11
UD
7254 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7255 file is not needed.
7256
7257 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7259 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7260 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7261 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7262 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7263 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7264 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7265 Add AVX variants.
7266 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7267 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7268 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7269 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7270 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7271 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7272 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7273 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7274 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7275 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7276 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7277 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7279 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7280 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7281 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7282 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7283 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7284 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7285
7286 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7287 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7288
618280a1
UD
7289 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7290 place. Use VEX encoding when compiling for AVX.
7291
37822576
AS
72922011-10-25 Andreas Schwab <schwab@redhat.com>
7293
1f1e1947
AS
7294 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7295 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7296
37822576
AS
7297 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7298
31ea014d
UD
72992011-10-25 Ulrich Drepper <drepper@gmail.com>
7300
d7826aa1 7301 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7302 useless if() expression.
d7826aa1
UD
7303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7309 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7311 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7313 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7315 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7316 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7318 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7321 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7322
31ea014d
UD
7323 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7324
16437fec
AS
73252011-10-25 Andreas Schwab <schwab@redhat.com>
7326
7327 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7328 condition.
7329 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7330
31d3cc00
UD
73312011-10-25 Ulrich Drepper <drepper@gmail.com>
7332
7333 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7334 .text section. Avoid duplicate constants.
7335 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7345 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7347 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7350 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7352 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7358 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7359 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7360 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7361 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7362 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7363 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7364 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7365 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7366 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7368 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7369 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7370 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7371 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7373 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7374 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7379 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7380
58985aa9
UD
73812011-10-24 Ulrich Drepper <drepper@gmail.com>
7382
202c9deb
UD
7383 * sysdeps/x86_64/dla.h: Move to ...
7384 * sysdeps/x86_64/fpu/dla.h: ...here.
7385 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7386 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7387
af968f62
UD
7388 * config.make.in: Add have-mfma4 entry.
7389 * configure.in: Substitute libc_cv_cc_fma4.
7390 * math/Makefile (dbl-only-routines): Add sincostab.
7391 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7392 Use __sincostab not sincos.
7393 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7394 name is a macro.
7395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7399 using __copysign.
7400 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7401 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7402 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7403 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7404 and __inv.
7405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7406 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7407 __copysign.
7408 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7409 define aliases when function name is a macro.
7410 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7411 sysdeps/ieee754/dbl-64/sincos.tbl.
7412 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7413 fma4-enabled routines.
7414 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7415 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7416 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7417 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7418 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7419 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7421 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7423 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7424 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7425 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7426 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7432 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7434 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7437 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7438 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7440 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7444
58985aa9
UD
7445 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7446 rename.
7447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7455
a201fbcf
AS
74562011-10-24 Andreas Schwab <schwab@redhat.com>
7457
7458 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7459
fc2ee42a
LD
74602011-10-23 Ulrich Drepper <drepper@gmail.com>
7461
bb3129bd
UD
7462 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7463
0275fff8
UD
7464 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7465 prediction.
7466 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7467
2fa2ae85
UD
7468 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7469 Remove unused variable magic_bits.
7470 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7471
fc2ee42a
LD
7472 * string/strnlen.c: Define and use STRNLEN macro.
7473 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7474 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7476 * wcsmbs/wcslen.c: Define and use WCSLEN.
7477 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7478 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7479 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7480 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7481 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7482 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7483 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7484
ce7dd29f
LD
74852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7486
7487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7488 strnlen-sse2-no-bsf.
7489 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7491 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7492 Add strnlen support.
7493 (USE_AS_STRNLEN): New macro.
7494 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7495 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7496 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7497 * sysdeps/x86_64/wcslen.S: New file.
7498
979c70a3
MZ
74992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7500
7501 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7502 XMM-moves are used for copying on small sizes.
7503
2d09f82f
LD
75042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7505
7506 * wcsmbs/Makefile (strop-tests): Add wcschr.
7507 * wcsmbs/test-wcschr.c: New file.
7508 * string/test-strchr.c: Update.
7509 Add wcschr support.
7510 (WIDE): New macro.
7511
619fccca
LD
75122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7513
2d09f82f 7514 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7515 * wcsmbs/test-wcslen.c: New file.
7516 * string/test-strlen.c: Update.
7517 Add wcslen support.
7518 (WIDE): New macro.
7519
09f699ea
UD
75202011-10-23 Ulrich Drepper <drepper@gmail.com>
7521
7522 * po/it.po: Update from translation team.
7523
95584d3b
LD
75242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7525
7526 * sysdeps/x86_64/wcscmp.S: Update.
7527 Fix wrong comparison semantics.
7528 wcscmp shall use signed comparison not unsigned.
7529 Don't use substraction to avoid overflow bug.
7530 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7531 * wcsmbc/wcscmp.c: Likewise.
7532 * string/test-strcmp.c: Likewise.
7533 Add new tests to check cases with negative values.
7534
c8b3296b
UD
75352011-10-23 Ulrich Drepper <drepper@gmail.com>
7536
7537 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7538 * sysdeps/x86_64/dla.h: ...here. New file.
7539 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7548
246ad57a
AS
75492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7550
7551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7552 __ynl_finite aliases.
7553
a1a87169
UD
75542011-10-22 Ulrich Drepper <drepper@gmail.com>
7555
0d355eb7
UD
7556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7557
a1a87169
UD
7558 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7559 define DLA_FMA.
7560 [DLA_FMA] (EMULV): Use DLA_FMA.
7561 [DLA_FMA] (MUL12): Use EMULV.
7562 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7563 that are not needed.
7564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7571
ee2aafe0
AS
75722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7573
7574 * math/s_nan.c: Undef __nan.
7575 * math/s_nanf.c: Undef __nanf.
7576 * math/s_nanl.c: Undef __nanl.
7577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7578 "math_private.h".
7579
bc62c2fb
UD
75802011-10-22 Ulrich Drepper <drepper@gmail.com>
7581
77425c63
UD
7582 * math/s_catan.c: Add branch predictions.
7583 * math/s_catanf.c: Likewise.
7584 * math/s_catanh.c: Likewise.
7585 * math/s_catanhf.c: Likewise.
7586 * math/s_catanhl.c: Likewise.
7587 * math/s_catanl.c: Likewise.
7588 * math/s_cexp.c: Likewise.
7589 * math/s_cexpf.c: Likewise.
7590 * math/s_cexpl.c: Likewise.
7591 * math/s_clog.c: Likewise.
7592 * math/s_clog10.c: Likewise.
7593 * math/s_clog10f.c: Likewise.
7594 * math/s_clog10l.c: Likewise.
7595 * math/s_clogf.c: Likewise.
7596 * math/s_clogl.c: Likewise.
7597 * math/s_csqrt.c: Likewise.
7598 * math/s_csqrtf.c: Likewise.
7599 * math/s_csqrtl.c: Likewise.
7600 * math/s_ctanf.c: Likewise.
7601 * math/s_ctanh.c: Likewise.
7602 * math/s_ctanhf.c: Likewise.
7603 * math/s_ctanhl.c: Likewise.
7604 * math/s_ctanl.c: Likewise.
7605
bc62c2fb
UD
7606 * math/math_private.h: Define __nan, __nanf, __nanl.
7607 * math/s_cacosh.c: Include <math_private.h>.
7608 * math/s_cacoshl.c: Likewise.
7609 * math/s_casinh.c: Likewise.
7610 * math/s_casinhf.c: Likewise.
7611 * math/s_casinhl.c: Likewise.
7612 * math/s_ccos.c: Rely entire on ccosh.
7613 * math/s_ccosf.c: Rely entire on ccoshf.
7614 * math/s_ccosl.c: Rely entirely on ccoshl.
7615 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7616 Remove tests for FE_INVALID.
7617 * math/s_ccoshf.c: Likewise.
7618 * math/s_ccoshl.c: Likewise.
7619 * math/s_csin.c: Likewise.
7620 * math/s_csinf.c: Likewise.
7621 * math/s_csinh.c Likewise.
7622 * math/s_csinhf.c: Likewise.
7623 * math/s_csinhl.c: Likewise.
7624 * math/s_csinl.c: Likewise.
7625 * math/s_ctan.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7627 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7628 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7629
8ec250a4
UD
76302011-10-21 Ulrich Drepper <drepper@gmail.com>
7631
c196fed8
UD
7632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7633 compilation problems.
7634
8ec250a4
UD
7635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7636 __builtin_expect.
7637
8d4f46c6
UD
76382011-10-20 Ulrich Drepper <drepper@gmail.com>
7639
ed72b654
UD
7640 * sysdeps/i386/configure.in: Test for -mfma4 option.
7641 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7642 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7643 COMMON_CPUID_INDEX_80000001.
7644 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7645 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7646 use it if FMA3 is not supported.
7647 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7648
8d4f46c6
UD
7649 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7650 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7651
d45c60c2
AS
76522011-10-20 Andreas Schwab <schwab@redhat.com>
7653
7654 [BZ #12892]
7655 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7656 it would create a cycle with a link time dependency.
7657
d9a4d2ab
UD
76582011-10-19 Ulrich Drepper <drepper@gmail.com>
7659
855d1560
UD
7660 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7661 instruction.
7662 * string/Makefile (strop-tests): Add rawmemchr.
7663 * string/test-rawmemchr.c: New file.
7664
d9a4d2ab
UD
7665 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7666 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7667 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7668 when compiling str{,n}casecmp and when AVX is available. Hook up
7669 new optimized code in initializers.
7670
8f3b1ffe
AS
76712011-10-19 Andreas Schwab <schwab@redhat.com>
7672
7673 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7674 __feraiseexcept instead of feraiseexcept.
7675
d38f1dba
UD
76762011-10-18 Ulrich Drepper <drepper@gmail.com>
7677
d9a8d0ab
UD
7678 * math/math_private.h: Define defaults for libc_fetestexcept and
7679 libc_feupdateenv.
7680 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7681 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7683 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7684 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7685 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7686 libc_fetestexcept and libc_feupdateenv.
7687
4855e3dd
UD
7688 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7689 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7690 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7691 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7692 libc_feholdexcept_setround.
7693
581d30e3
UD
7694 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7695 Add s_nearbyint-c and s_nearbyintf-c.
7696 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7697 nearbyintf inlines.
7698 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7699 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7700 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7701 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7702
d38f1dba
UD
7703 * math/math_private.h: Define defaults for libc_fegetround,
7704 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7705 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7706 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7707 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7708 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7709 standard functions.
7710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7711 Remove comments and hacks for old compiler versions.
7712 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7713 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7714 libc_feholdexceptl.
7715
caa6c9d8
AS
77162011-10-18 Andreas Schwab <schwab@redhat.com>
7717
7718 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7719 (__feraiseexcept_renamed): Add __NTH.
7720 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7721 namespace violations.
7722
97c066e6
UD
77232011-10-17 Ulrich Drepper <drepper@gmail.com>
7724
99ce7b04
UD
7725 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7726
1004d182
UD
7727 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7728
228a984d
UD
7729 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7730 recently added interfaces.
7731 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7732
c8553a6a
UD
7733 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7734 about macro parameter expansion.
7735
ed22dcf6
UD
7736 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7737 __NO_MATH_INLINES is defined. Cleanups.
7738
7739 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7740 and __floorf is target has SSE4.1.
7741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7742 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7743 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7744 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7745
b171c137
UD
7746 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7747 name.
7748 (floorf): Likewise.
7749
97c066e6
UD
7750 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7751
629f62ef
AS
77522011-10-17 Andreas Schwab <schwab@redhat.com>
7753
49a43d80
AS
7754 * misc/sys/cdefs.h: Fix last change.
7755
629f62ef
AS
7756 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7757 database lookup.
7758
e453f6cd
UD
77592011-10-16 Ulrich Drepper <drepper@gmail.com>
7760
aa78043a
UD
7761 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7762
ad0f5cad
UD
7763 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7769 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7771 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7773 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7774 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7775 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7776 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7778 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7779 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7780 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7781 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7782 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7783 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7784 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7785
7786 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7787 ceil, ceilf, floor, floorf.
7788
7789 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7790 Perform IRELATIVE relocations last.
7791
e453f6cd
UD
7792 * elf/do-rel.h: Add another parameter nrelative, replacing the
7793 local variable with the same name. Change name of the function
7794 to end in Rel or Rela (uppercase).
7795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7796 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7797 elf_dynamic_do_##reloc function.
7798
fd5bdc09
UD
77992011-10-15 Ulrich Drepper <drepper@gmail.com>
7800
79b195b5
UD
7801 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7802 is sufficient, at least on modern CPUs.
7803
d4a28569
UD
7804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7805
b61099b5
UD
7806 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7807 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7808
bcf01e6d
UD
7809 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7810 __expl_finite.
7811 * math/bits/math-finite.h: Add entries for exp.
7812 * math/e_expl.c: Add __*_finite alias.
7813 * sysdeps/i386/fpu/e_exp.S: Likewise.
7814 * sysdeps/i386/fpu/e_expf.S: Likewise.
7815 * sysdeps/i386/fpu/e_expl.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7817 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7821 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7822 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7823
ba1a0d59
UD
7824 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7825 is sufficient, at least on modern CPUs.
7826
fd5bdc09
UD
7827 * ctype/ctype-info.c (__ctype_init): Define.
7828 * include/ctype.h (__ctype_init): Declare.
7829 (__ctype_b_loc): The variable is always initialized.
7830 (__ctype_toupper_loc): Likewise.
7831 (__ctype_tolower_loc): Likewise.
7832 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7833 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7834
7872cfb0
AS
78352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7836
b468825a
AS
7837 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7838
7872cfb0
AS
7839 * configure.in: Also look in $cxxmachine/include for C++ system
7840 headers.
7841
be13f7bf
LD
78422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7843
7844 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7845 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7846 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7847 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7849 (USE_AS_WMEMCMP): New macro.
7850 Fixing indents.
7851 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7852 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7853 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7854 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7856 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7857 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7858 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7859 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7860 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7861 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7862 (USE_AS_WMEMCMP): New macro.
7863 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7864 * sysdeps/string/test-memcmp.c: Update.
7865 Fix simple_wmemcmp.
7866 Add new tests.
7867 * wcsmbs/wmemcmp.c: Update.
7868 (WMEMCMP): New macro.
7869 Fix overflow bug.
7870
556a2007
AJ
78712011-10-12 Andreas Jaeger <aj@suse.de>
7872
7873 [BZ #13268]
7874 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7875
538faaa7
UD
78762011-10-15 Ulrich Drepper <drepper@gmail.com>
7877
ab6737ff
UD
7878 * libio/iofwide.c (do_length): Avoid warning.
7879
538faaa7
UD
7880 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7881
396a21b1
UD
78822011-10-14 Ulrich Drepper <drepper@gmail.com>
7883
cdf2901f
UD
7884 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7885
38ad40ce
UD
7886 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7887 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7888 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7889 * sysdeps/i386/i686/fpu/e_log.S: New file.
7890 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7891 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7892
396a21b1
UD
7893 * ctype/ctype.h: Add support for inlined isXXX functions when
7894 compiling C++ code.
7895
6b1f68c9
AS
78962011-10-14 Andreas Schwab <schwab@redhat.com>
7897
349290c0
AS
7898 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7899
6b1f68c9
AS
7900 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7901
f2282d42
RM
79022011-10-13 Roland McGrath <roland@hack.frob.com>
7903
7904 [BZ #13291]
7905 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7906
5298ffa8
AS
79072011-10-13 Andreas Schwab <schwab@redhat.com>
7908
714fad23
AS
7909 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7910 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7911 feraiseexcept.
7912
81dcc7fb
AS
7913 * sysdeps/x86_64/memrchr.S: Check for zero size.
7914
5298ffa8
AS
7915 * string/stratcliff.c: Add memrchr tests.
7916
951fbcec
LD
79172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7918
7919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7920 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7921 rawmemchr-sse2 rawmemchr-sse2-bsf.
7922 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7923 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7924 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7925 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7926 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7927 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7928 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7929 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7930 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7931 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7932 * string/memrchr.c (MEMRCHR): New macro.
7933
0ac5ae23
UD
79342011-10-12 Ulrich Drepper <drepper@gmail.com>
7935
7936 Add integration with gcc's -ffinite-math-only and optimize wrapper
7937 functions in libm.
7938 * Versions.def: Define GLIBC_2.15 version for libm.
7939 * math/Makefile (headers): Add bits/math-finite.h.
7940 * math/bits/math-finite.h: New file.
7941 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7942 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7943 * math/e_acoshl.c: Add __*_finite alias.
7944 * math/e_acosl.c: Likewise.
7945 * math/e_asinl.c: Likewise.
7946 * math/e_atan2l.c: Likewise.
7947 * math/e_atanhl.c: Likewise.
7948 * math/e_coshl.c: Likewise.
7949 * math/e_exp10.c: Likewise.
7950 * math/e_exp10f.c: Likewise.
7951 * math/e_exp10l.c: Likewise.
7952 * math/e_exp2l.c: Likewise.
7953 * math/e_fmodl.c: Likewise.
7954 * math/e_gammal_r.c: Likewise.
7955 * math/e_hypotl.c: Likewise.
7956 * math/e_j0l.c: Likewise.
7957 * math/e_j1l.c: Likewise.
7958 * math/e_jnl.c: Likewise.
7959 * math/e_lgammal_r.c: Likewise.
7960 * math/e_log10l.c: Likewise.
7961 * math/e_log2l.c: Likewise.
7962 * math/e_logl.c: Likewise.
7963 * math/e_powl.c: Likewise.
7964 * math/e_sinhl.c: Likewise.
7965 * math/e_sqrtl.c: Likewise.
7966 * math/e_scalb.c: Completely rewritten and optimized.
7967 * math/e_scalbf.c: Likewise.
7968 * math/e_scalbl.c: Likewise.
7969 * math/w_acos.c: Likewise.
7970 * math/w_acosf.c: Likewise.
7971 * math/w_acosl.c: Likewise.
7972 * math/w_acosh.c: Likewise.
7973 * math/w_acoshf.c: Likewise.
7974 * math/w_acoshl.c: Likewise.
7975 * math/w_asin.c: Likewise.
7976 * math/w_asinf.c: Likewise.
7977 * math/w_asinl.c: Likewise.
7978 * math/w_atan2.c: Likewise.
7979 * math/w_atan2f.c: Likewise.
7980 * math/w_atan2l.c: Likewise.
7981 * math/w_atanh.c: Likewise.
7982 * math/w_atanhf.c: Likewise.
7983 * math/w_atanhl.c: Likewise.
7984 * math/w_exp10.c: Likewise.
7985 * math/w_exp10f.c: Likewise.
7986 * math/w_exp10l.c: Likewise.
7987 * math/w_fmod.c: Likewise.
7988 * math/w_fmodf.c: Likewise.
7989 * math/w_fmodl.c: Likewise.
7990 * math/w_j0.c: Likewise.
7991 * math/w_j0f.c: Likewise.
7992 * math/w_j0l.c: Likewise.
7993 * math/w_j1.c: Likewise.
7994 * math/w_j1f.c: Likewise.
7995 * math/w_j1l.c: Likewise.
7996 * math/w_jn.c: Likewise.
7997 * math/w_jnf.c: Likewise.
7998 * math/w_log.c: Likewise.
7999 * math/w_logf.c: Likewise.
8000 * math/w_logl.c: Likewise.
8001 * math/w_log10.c: Likewise.
8002 * math/w_log10f.c: Likewise.
8003 * math/w_log10l.c: Likewise.
8004 * math/w_log2.c: Likewise.
8005 * math/w_log2f.c: Likewise.
8006 * math/w_log2l.c: Likewise.
8007 * math/w_pow.c: Likewise.
8008 * math/w_powf.c: Likewise.
8009 * math/w_powl.c: Likewise.
8010 * math/w_remainder.c: Likewise.
8011 * math/w_remainderf.c: Likewise.
8012 * math/w_remainderl.c: Likewise.
8013 * math/w_scalb.c: Likewise.
8014 * math/w_scalbf.c: Likewise.
8015 * math/w_scalbl.c: Likewise.
8016 * math/w_sqrt.c: Likewise.
8017 * math/w_sqrtf.c: Likewise.
8018 * math/w_sqrtl.c: Likewise.
8019 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8020 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8021 used.
8022 * math/math_private.h: Declare __kernel_standard_f.
8023 * math/w_cosh.c: Remove cruft and optimize a bit.
8024 * math/w_coshf.c: Likewise.
8025 * math/w_coshl.c: Likewise.
8026 * math/w_exp2.c: Likewise.
8027 * math/w_exp2f.c: Likewise.
8028 * math/w_exp2l.c: Likewise.
8029 * math/w_hypot.c: Likewise.
8030 * math/w_hypotf.c: Likewise.
8031 * math/w_hypotl.c: Likewise.
8032 * math/w_lgamma.c: Likewise.
8033 * math/w_lgamma_r.c: Likewise.
8034 * math/w_lgammaf.c: Likewise.
8035 * math/w_lgammaf_r.c: Likewise.
8036 * math/w_lgammal.c: Likewise.
8037 * math/w_lgammal_r.c: Likewise.
8038 * math/w_sinh.c: Likewise.
8039 * math/w_sinhf.c: Likewise.
8040 * math/w_sinhl.c: Likewise.
8041 * math/w_tgamma.c: Likewise.
8042 * math/w_tgammaf.c: Likewise.
8043 * math/w_tgammal.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8045 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8046 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8047 Minor optimizations. Pretty printing. Remove cruft.
8048 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8050 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8051 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8052 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8053 * sysdeps/i386/fpu/e_asin.S: Likewise.
8054 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8055 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8056 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8057 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8058 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8059 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8060 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8061 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8062 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8063 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8064 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8065 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8066 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8067 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8068 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8069 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8070 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8071 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8072 * sysdeps/i386/fpu/e_log.S: Likewise.
8073 * sysdeps/i386/fpu/e_log10.S: Likewise.
8074 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8075 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8076 * sysdeps/i386/fpu/e_log2.S: Likewise.
8077 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8078 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8079 * sysdeps/i386/fpu/e_logf.S: Likewise.
8080 * sysdeps/i386/fpu/e_logl.S: Likewise.
8081 * sysdeps/i386/fpu/e_pow.S: Likewise.
8082 * sysdeps/i386/fpu/e_powf.S: Likewise.
8083 * sysdeps/i386/fpu/e_powl.S: Likewise.
8084 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8085 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8086 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8087 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8088 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8090 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8091 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8092 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8114 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8115 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8116 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8117 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8118 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8119 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8120 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8122 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8124 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8125 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8127 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8128 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8129 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8130 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8131 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8133 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8134 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8135 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8136 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8138 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8139 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8143 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8145 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8146 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8149 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8153 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8158 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8161 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8162 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8165 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8173 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8176 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8177 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8178 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8179 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8181 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8184 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8185 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8186 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8187 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8188 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8189 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8190 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8191 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8192 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8193 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8194 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8195 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8196 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8197 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8198 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8199 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8201 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8202 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8203 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8204 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8205 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8206 (__isnanf): Likewise.
8207 (__isinf_ns): Likewise.
8208 (__isinf_nsf): Likewise.
8209 (__finite): Likewise.
8210 (__finitef): Likewise.
8211 (__ieee754_sqrt): Define as macro.
8212 (__ieee754_sqrtf): Define as macro.
8213 (__ieee754_sqrtl): Define as macro.
8214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8215 inlined copy.
8216 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8217 __FINITE_MATH_ONLY__ consistent.
8218 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8219
12cc2fcd
AS
82202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8221
a843a204
AS
8222 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8223 of rawmemchr.
8224
12cc2fcd
AS
8225 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8226
c853acd5
UD
82272011-10-09 Ulrich Drepper <drepper@gmail.com>
8228
8229 * po/ja.po: Update from translation team.
8230
c658d255
RM
82312011-10-08 Roland McGrath <roland@hack.frob.com>
8232
110946e4
RM
8233 * locale/programs/locarchive.c (prepare_address_space): New function.
8234 (create_archive, enlarge_archive, open_archive): Use it.
8235
50604220
RM
8236 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8237 inside [SHARED], where it is used.
8238
c658d255
RM
8239 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8240
8241 * nss/getent.c (netgroup_keys): Remove unused variable.
8242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8243
6a621eb7
UD
82442011-10-08 Ulrich Drepper <drepper@gmail.com>
8245
7edb55ce
UD
8246 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8247 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8248 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8249 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8250 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8251 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8252 * math/Makefile (libm-calls): Add s_isinf_ns.
8253 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8254 * math/multc3.c: Likewise.
8255 * math/s_casin.c: Likewise.
8256 * math/s_casinf.c: Likewise.
8257 * math/s_casinl.c: Likewise.
8258 * math/s_ccos.c: Likewise.
8259 * math/s_ccosf.c: Likewise.
8260 * math/s_ccosl.c: Likewise.
8261 * math/s_ctan.c: Likewise.
8262 * math/s_ctanf.c: Likewise.
8263 * math/s_ctanh.c: Likewise.
8264 * math/s_ctanhf.c: Likewise.
8265 * math/s_ctanhl.c: Likewise.
8266 * math/s_ctanl.c: Likewise.
8267 * math/w_fmod.c: Likewise.
8268 * math/w_fmodf.c: Likewise.
8269 * math/w_fmodl.c: Likewise.
8270 * math/w_remainder.c: Likewise.
8271 * math/w_remainderf.c: Likewise.
8272 * math/w_remainderl.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8274 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8277 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8278 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8279 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8280 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8281
187da0ae
UD
8282 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8283 of the number.
8284 * stdio-common/printf_fphex.c: Likewise.
8285 * stdio-common/printf_size.c: Likewise.
8286
9277c064
UD
8287 * math/e_exp10.c: Include math_private.h using <...> not "...".
8288 * math/e_exp10f.c: Likewise.
8289 * math/e_exp10l.c: Likewise.
8290 * math/e_exp2l.c: Likewise.
8291 * math/e_j0l.c: Likewise.
8292 * math/e_j1l.c: Likewise.
8293 * math/e_jnl.c: Likewise.
8294 * math/e_lgammal_r.c: Likewise.
8295 * math/e_rem_pio2l.c: Likewise.
8296 * math/e_scalb.c: Likewise.
8297 * math/e_scalbf.c: Likewise.
8298 * math/e_scalbl.c: Likewise.
8299 * math/k_cosl.c: Likewise.
8300 * math/k_sinl.c: Likewise.
8301 * math/k_tanl.c: Likewise.
8302 * math/s_cacoshf.c: Likewise.
8303 * math/s_catan.c: Likewise.
8304 * math/s_catanf.c: Likewise.
8305 * math/s_catanh.c: Likewise.
8306 * math/s_catanhf.c: Likewise.
8307 * math/s_catanhl.c: Likewise.
8308 * math/s_catanl.c: Likewise.
8309 * math/s_ccosh.c: Likewise.
8310 * math/s_ccoshf.c: Likewise.
8311 * math/s_ccoshl.c: Likewise.
8312 * math/s_cexp.c: Likewise.
8313 * math/s_cexpf.c: Likewise.
8314 * math/s_cexpl.c: Likewise.
8315 * math/s_clog.c: Likewise.
8316 * math/s_clog10.c: Likewise.
8317 * math/s_clog10f.c: Likewise.
8318 * math/s_clog10l.c: Likewise.
8319 * math/s_clogf.c: Likewise.
8320 * math/s_clogl.c: Likewise.
8321 * math/s_csin.c: Likewise.
8322 * math/s_csinf.c: Likewise.
8323 * math/s_csinh.c: Likewise.
8324 * math/s_csinhf.c: Likewise.
8325 * math/s_csinhl.c: Likewise.
8326 * math/s_csinl.c: Likewise.
8327 * math/s_csqrt.c: Likewise.
8328 * math/s_csqrtf.c: Likewise.
8329 * math/s_csqrtl.c: Likewise.
8330 * math/s_ctan.c: Likewise.
8331 * math/s_ctanf.c: Likewise.
8332 * math/s_ctanh.c: Likewise.
8333 * math/s_ctanhf.c: Likewise.
8334 * math/s_ctanhl.c: Likewise.
8335 * math/s_ctanl.c: Likewise.
8336 * math/s_ldexp.c: Likewise.
8337 * math/s_ldexpf.c: Likewise.
8338 * math/s_ldexpl.c: Likewise.
8339 * math/s_significand.c: Likewise.
8340 * math/s_significandf.c: Likewise.
8341 * math/s_significandl.c: Likewise.
8342 * math/w_acos.c: Likewise.
8343 * math/w_acosf.c: Likewise.
8344 * math/w_acosh.c: Likewise.
8345 * math/w_acoshf.c: Likewise.
8346 * math/w_acoshl.c: Likewise.
8347 * math/w_acosl.c: Likewise.
8348 * math/w_asin.c: Likewise.
8349 * math/w_asinf.c: Likewise.
8350 * math/w_asinl.c: Likewise.
8351 * math/w_atan2.c: Likewise.
8352 * math/w_atan2f.c: Likewise.
8353 * math/w_atan2l.c: Likewise.
8354 * math/w_atanh.c: Likewise.
8355 * math/w_atanhf.c: Likewise.
8356 * math/w_atanhl.c: Likewise.
8357 * math/w_cosh.c: Likewise.
8358 * math/w_coshf.c: Likewise.
8359 * math/w_coshl.c: Likewise.
8360 * math/w_dremf.c: Likewise.
8361 * math/w_exp10.c: Likewise.
8362 * math/w_exp10f.c: Likewise.
8363 * math/w_exp10l.c: Likewise.
8364 * math/w_exp2.c: Likewise.
8365 * math/w_exp2f.c: Likewise.
8366 * math/w_fmod.c: Likewise.
8367 * math/w_fmodf.c: Likewise.
8368 * math/w_fmodl.c: Likewise.
8369 * math/w_hypot.c: Likewise.
8370 * math/w_hypotf.c: Likewise.
8371 * math/w_hypotl.c: Likewise.
8372 * math/w_j0.c: Likewise.
8373 * math/w_j0f.c: Likewise.
8374 * math/w_j0l.c: Likewise.
8375 * math/w_j1.c: Likewise.
8376 * math/w_j1f.c: Likewise.
8377 * math/w_j1l.c: Likewise.
8378 * math/w_jn.c: Likewise.
8379 * math/w_jnf.c: Likewise.
8380 * math/w_jnl.c: Likewise.
8381 * math/w_lgamma.c: Likewise.
8382 * math/w_lgamma_r.c: Likewise.
8383 * math/w_lgammaf.c: Likewise.
8384 * math/w_lgammaf_r.c: Likewise.
8385 * math/w_lgammal.c: Likewise.
8386 * math/w_lgammal_r.c: Likewise.
8387 * math/w_log.c: Likewise.
8388 * math/w_log10.c: Likewise.
8389 * math/w_log10f.c: Likewise.
8390 * math/w_log10l.c: Likewise.
8391 * math/w_log2.c: Likewise.
8392 * math/w_log2f.c: Likewise.
8393 * math/w_log2l.c: Likewise.
8394 * math/w_logf.c: Likewise.
8395 * math/w_logl.c: Likewise.
8396 * math/w_pow.c: Likewise.
8397 * math/w_powf.c: Likewise.
8398 * math/w_powl.c: Likewise.
8399 * math/w_remainder.c: Likewise.
8400 * math/w_remainderf.c: Likewise.
8401 * math/w_remainderl.c: Likewise.
8402 * math/w_scalb.c: Likewise.
8403 * math/w_scalbf.c: Likewise.
8404 * math/w_scalbl.c: Likewise.
8405 * math/w_sinh.c: Likewise.
8406 * math/w_sinhf.c: Likewise.
8407 * math/w_sinhl.c: Likewise.
8408 * math/w_sqrt.c: Likewise.
8409 * math/w_sqrtf.c: Likewise.
8410 * math/w_sqrtl.c: Likewise.
8411 * math/w_tgamma.c: Likewise.
8412 * math/w_tgammaf.c: Likewise.
8413 * math/w_tgammal.c: Likewise.
8414
6a621eb7
UD
8415 * po/ja.po: Update from translation team.
8416
bf582445
AJ
84172011-09-29 Andreas Jaeger <aj@suse.de>
8418
f9efbf3a
AJ
8419 [BZ #13179]
8420 * sunrpc/netname.c (netname2host): Fix logic.
8421
bf582445
AJ
8422 [BZ #6779]
8423 [BZ #6783]
8424 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8425 correctly.
8426 * math/w_remainder.c (__remainder): Likewise.
8427 * math/w_remainderf.c (__remainderf): Likewise.
8428 * math/libm-test.inc (remainder_test): Add test cases.
8429
48693bea
AK
84302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8431
8432 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8433 sdiv_qrnnd.
8434
42622229
LD
84352011-10-07 Ulrich Drepper <drepper@gmail.com>
8436
8437 * string/test-memcmp.c: Avoid unncessary #defines.
8438 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8439
093ecf92
LD
84402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8441
8442 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8443 Use new sse2 version for core i3 - i7 as it's faster
8444 than sse42 version.
8445 (bit_Prefer_PMINUB_for_stringop): New.
8446 * sysdeps/x86_64/rawmemchr.S: Update.
8447 Replace with faster SSE2 version.
8448 * sysdeps/x86_64/memrchr.S: New file.
8449 * sysdeps/x86_64/memchr.S: Update.
8450 Replace with faster SSE2 version.
8451
fde56e5c
MP
84522011-09-12 Marek Polacek <mpolacek@redhat.com>
8453
8454 * elf/dl-load.c (lose): Add cast to avoid warning.
8455
21fd49a9
UD
84562011-10-07 Ulrich Drepper <drepper@gmail.com>
8457
5a06e643
UD
8458 * po/ca.po: Update from translation team.
8459
684ae515
UD
8460 * inet/getnetgrent_r.c: Hook up nscd.
8461 * nscd/Makefile (routines): Add nscd_netgroup.
8462 (nscd-modules): Add netgroupcache.
8463 (CFLAGS-netgroupcache.c): Define.
8464 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8465 (cache_search): Add const to second parameter.
8466 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8467 INNETGR.
8468 (dbs): Add netgrdb entry.
8469 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8470 (verify_persistent_db): Handle netgrdb.
8471 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8472 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8473 GETFDNETGR.
8474 (netgroup_response_header): Define.
8475 (innetgroup_response_header): Define.
8476 (datahead): Add netgroup_response_header and innetgroup_response_header
8477 elements.
8478 * nscd/nscd.conf: Add entries for netgroup cache.
8479 * nscd/nscd.h (dbtype): Add netgrdb.
8480 (_PATH_NSCD_NETGROUP_DB): Define.
8481 (netgroup_iov_disabled): Declare.
8482 (xmalloc, xcalloc, xrealloc): Move declarations here.
8483 (cache_search): Adjust prototype.
8484 Add netgroup-related prototypes.
8485 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8486 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8487 (__nscd_innetgr): Declare.
8488 * nscd/selinux.c (perms): Use access_vector_t as element type and
8489 add netgroup-related initializers.
8490 * nscd/netgroupcache.c: New file.
8491 * nscd/nscd_netgroup.c: New file.
8492 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8493 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8494 For four parameters use innetgr.
8495 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8496 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8497 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8498 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8499
21fd49a9
UD
8500 * nscd/connections.c (register_traced_file): Don't register file
8501 for disabled databases.
8502
054c0457
UD
85032011-10-06 Ulrich Drepper <drepper@gmail.com>
8504
32b63198
UD
8505 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8506
054c0457
UD
8507 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8508 from tree and freeing node.
8509
64031225
JO
85102011-09-25 Jiri Olsa <jolsa@redhat.com>
8511
8512 * nss/nsswitch.c (__nss_database_lookup): Handle
8513 nss_parse_service_list out of memory case.
8514
0490345c
JO
85152011-09-15 Jiri Olsa <jolsa@redhat.com>
8516
8517 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8518 out of memory case.
8519
3a62d00d
AS
85202011-10-04 Andreas Schwab <schwab@redhat.com>
8521
8522 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8523 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8524 pass it down.
8525 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8526 elf_machine_rela, elf_machine_lazy_rel.
8527 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8528 (ELF_DYNAMIC_DO_REL): Likewise.
8529 (ELF_DYNAMIC_DO_RELA): Likewise.
8530 (ELF_DYNAMIC_RELOCATE): Likewise.
8531 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8532 to ELF_DYNAMIC_DO_REL.
8533 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8534 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8535 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8536 elf_machine_rela.
8537 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8538 skip_ifunc, don't call ifunc function if non-zero.
8539 (elf_machine_rela): Likewise.
8540 (elf_machine_lazy_rel): Likewise.
8541 (elf_machine_lazy_rela): Likewise.
8542 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8543 (elf_machine_lazy_rel): Likewise.
8544 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8545 Likewise.
8546 (elf_machine_lazy_rel): Likewise.
8547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8548 Likewise.
8549 (elf_machine_lazy_rel): Likewise.
8550 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8551 (elf_machine_lazy_rel): Likewise.
8552 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8553 (elf_machine_lazy_rel): Likewise.
8554 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8555 (elf_machine_lazy_rel): Likewise.
8556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8557 (elf_machine_lazy_rel): Likewise.
8558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8559 (elf_machine_lazy_rel): Likewise.
8560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8561 (elf_machine_lazy_rel): Likewise.
8562
68577918
UD
85632011-09-28 Ulrich Drepper <drepper@gmail.com>
8564
8565 * nss/nss_files/files-init.c (_nss_files_init): Use static
8566 initialization for all the *_traced_file variables.
8567
68822d74
AS
85682011-09-28 Andreas Schwab <schwab@redhat.com>
8569
8570 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8571
2056100b
RM
85722011-09-27 Roland McGrath <roland@hack.frob.com>
8573
8574 [BZ #13226]
8575 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8576
32c76b63
AS
85772011-09-27 Andreas Schwab <schwab@redhat.com>
8578
8579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8580 Reread the line before reparsing it.
8581
bf972c9d
AS
85822011-09-26 Andreas Schwab <schwab@redhat.com>
8583
8584 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8585
e057a1b5
JM
85862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8587 Maxim Kuvyrkov <maxim@codesourcery.com>
8588 Joseph Myers <joseph@codesourcery.com>
8589
8590 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8591 if needed for __stack_chk_guard.
8592
bc7e1c36
RM
85932011-09-19 Roland McGrath <roland@hack.frob.com>
8594
ecb1482f
RM
8595 * sysdeps/posix/spawni.c (script_execute): Always define it.
8596 It will be optimized away if unused.
8597 (maybe_script_execute): New function.
8598 (__spawni): Call it.
8599
bc7e1c36
RM
8600 * Makerules: Don't include tls.make.
8601 (config-tls): Always set to thread.
8602 * tls.make.c: File removed.
8603
1c3b002b
MF
86042011-09-19 Mike Frysinger <vapier@gentoo.org>
8605
8606 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8607 * config.make.in (CPPFLAGS-config): New substituted variable.
8608
2840865d
UD
86092011-09-15 Ulrich Drepper <drepper@gmail.com>
8610
88738eb6
UD
8611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8612
cbf645a6 8613 [BZ #13192]
2840865d
UD
8614 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8615 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8616
b402e91a
RM
86172011-09-15 Roland McGrath <roland@hack.frob.com>
8618
8619 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8620 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8622 (CALL_FAIL): Likewise.
8623 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8624 (CALL_FAIL): Macro removed.
8625 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8626
4c1a1f71
UD
86272011-09-15 Ulrich Drepper <drepper@gmail.com>
8628
8629 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8630 for __FINITE_MATH_ONLY__ == 1.
8631
edc121be
AS
86322011-09-15 Andreas Schwab <schwab@redhat.com>
8633
8634 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8635 __ieee754_sqrt instead of sqrt.
8636 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8637 __ieee754_sqrtf instead of sqrtf.
8638 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8639 __floorf instead of floorf.
8640 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8641 __floorf, __truncf instead of floorf, truncf.
8642
cd205654
UD
86432011-09-14 Ulrich Drepper <drepper@gmail.com>
8644
ee4d0315
UD
8645 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8646
cd205654
UD
8647 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8648 __extern_always_inline.
8649 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8650 32-bit.
8651
48b67d71
AS
86522011-09-14 Andreas Schwab <schwab@redhat.com>
8653
8654 * elf/rtld.c (dl_main): Also relocate in dependency order when
8655 doing symbol dependency testing.
8656
1ae12c75
AS
86572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8658
8659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8660 Always define `refsym'.
8661
995a80df
AS
86622011-09-13 Andreas Schwab <schwab@redhat.com>
8663
e529793b
AS
8664 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8665 (__FD_ELT): Renamed from __FDELT.
8666 * misc/bits/select2.h (__FD_ELT): Likewise.
8667 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8668 __FD_MASK instead of __FDELT, __FDMASK.
8669 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8670 Likewise.
8671 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8672 Likewise.
8673
52d4fef8
AS
8674 * elf/Makefile (gen-ldd): Fix pattern.
8675
995a80df
AS
8676 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8677 (init_tls): Likewise.
8678
8682f8b0
UD
86792011-09-12 Ulrich Drepper <drepper@gmail.com>
8680
8681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8682
de82006d
AS
86832011-09-12 Andreas Schwab <schwab@redhat.com>
8684
a7c8e6a1
AS
8685 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8686 `struct cmsghdr *' instead of `void *'.
8687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8688 Likewise.
8689
0f31fe77
AS
86902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8691
8692 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8693 if non-absolute.
8694 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8695 ldd_rewrite_script.
0f31fe77 8696
32b4c839
UD
86972011-09-11 Ulrich Drepper <drepper@gmail.com>
8698
83cd1420
UD
8699 * configure.in: Remove --with-tls option.
8700 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8701 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8702 out in case it is missing.
8703 * sysdeps/ia64/elf/configure.in: Likewise.
8704 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8705 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8706 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8707 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8708 * sysdeps/sh/elf/configure.in: Likewise.
8709 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8710 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8711 * sysdeps/x86_64/elf/configure.in: Likewise.
8712 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8713 * sysdeps/mach/hurd/tls.h: Likewise.
8714
633f745d
UD
8715 [BZ #13067]
8716 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8717
f318beb8
UD
8718 [BZ #13090]
8719 * configure.in: Fix use of AC_INIT.
8720
32b4c839
UD
8721 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8722
3ce1f295
UD
87232011-09-10 Ulrich Drepper <drepper@gmail.com>
8724
bb016596
UD
8725 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8726 __set_errno.
8e58439c
UD
8727 * malloc/hooks.c: Likewise.
8728
aebae053 8729 [BZ #11929]
02d46fc4
UD
8730 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8731 variables statically.
8732 (narenas): Initialize.
8733 (list_lock): Initialize.
bb016596
UD
8734 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8735 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8736 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8737 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8738 Add initializers to main_arena and mp_.
8739 (malloc_state): Remove pagesize member. Change all users to use
8740 GLRO(dl_pagesize).
8741
8742 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8743 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8744 is always initialized.
8745
22a89187
UD
8746 * malloc/malloc.c: Removed unused configurations and dead code.
8747 * malloc/arena.c: Likewise.
8748 * malloc/hooks.c: Likewise.
02d46fc4 8749 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8750
d063d164
UD
8751 * include/tls.h: Removed. USE___THREAD must always be defined.
8752 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8753 * elf/dl-libc.c: Likewise.
8754 * elf/dl-tsd.c: Likewise.
8755 * include/errno.h: Likewise.
8756 * include/netdb.h: Likewise.
8757 * include/resolv.h: Likewise.
8758 * inet/herrno-loc.c: Likewise.
8759 * inet/herrno.c: Likewise.
8760 * malloc/arena.c: Likewise.
8761 * malloc/hooks.c: Likewise.
8762 * malloc/malloc.c: Likewise.
8763 * resolv/res-state.c: Likewise.
8764 * resolv/res_libc.c: Likewise.
8765 * sysdeps/i386/dl-machine.h: Likewise.
8766 * sysdeps/ia64/dl-machine.h: Likewise.
8767 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8768 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8769 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8770 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8771 * sysdeps/sh/dl-machine.h: Likewise.
8772 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8774 * sysdeps/unix/i386/sysdep.S: Likewise.
8775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8776 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8785 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8786 * sysdeps/x86_64/dl-machine.h: Likewise.
8787 * tls.make.c: Likewise.
8788
3ce1f295
UD
8789 * configure.in: Remove --with-__thread option. Make tests for
8790 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8791 tls_model attribute fail if no support is available. Remove
8792 USE_IN_LIBIO.
8793 * Makeconfig: Adjust for dropped configure option. All features are
8794 now mandatory.
8795 * Makerules: Likewise.
8796 * Versions.def: Likewise.
8797 * argp/argp-fmtstream.c: Likewise.
8798 * argp/argp-fmtstream.h: Likewise.
8799 * argp/argp-help.c: Likewise.
8800 * assert/assert.c: Likewise.
8801 * config.h.in: Likewise.
8802 * config.make.in: Likewise.
8803 * configure: Likewise.
8804 * configure.in: Likewise.
8805 * csu/Versions: Likewise.
8806 * csu/init.c: Likewise.
8807 * elf/tst-audit2.c: Likewise.
8808 * elf/tst-tls10.c: Likewise.
8809 * elf/tst-tls10.h: Likewise.
8810 * elf/tst-tls11.c: Likewise.
8811 * elf/tst-tls12.c: Likewise.
8812 * elf/tst-tls14.c: Likewise.
8813 * elf/tst-tlsmod11.c: Likewise.
8814 * elf/tst-tlsmod12.c: Likewise.
8815 * elf/tst-tlsmod13.c: Likewise.
8816 * elf/tst-tlsmod13a.c: Likewise.
8817 * elf/tst-tlsmod14a.c: Likewise.
8818 * elf/tst-tlsmod15b.c: Likewise.
8819 * elf/tst-tlsmod16a.c: Likewise.
8820 * elf/tst-tlsmod16b.c: Likewise.
8821 * elf/tst-tlsmod7.c: Likewise.
8822 * elf/tst-tlsmod8.c: Likewise.
8823 * elf/tst-tlsmod9.c: Likewise.
8824 * gmon/gmon.c: Likewise.
8825 * grp/fgetgrent_r.c: Likewise.
8826 * grp/putgrent.c: Likewise.
8827 * hurd/fopenport.c: Likewise.
8828 * include/libc-symbols.h: Likewise.
8829 * include/tls.h: Likewise.
8830 * intl/gettextP.h: Likewise.
8831 * intl/loadinfo.h: Likewise.
8832 * locale/global-locale.c: Likewise.
8833 * locale/localeinfo.h: Likewise.
8834 * mach/devstream.c: Likewise.
8835 * malloc/arena.c: Likewise.
8836 * malloc/set-freeres.c: Likewise.
8837 * misc/err.c: Likewise.
8838 * misc/getttyent.c: Likewise.
8839 * misc/mntent_r.c: Likewise.
8840 * posix/getopt.c: Likewise.
8841 * posix/wordexp.c: Likewise.
8842 * pwd/fgetpwent_r.c: Likewise.
8843 * resolv/Versions: Likewise.
8844 * resolv/res_hconf.c: Likewise.
8845 * shadow/fgetspent_r.c: Likewise.
8846 * shadow/putspent.c: Likewise.
8847 * stdio-common/printf_fphex.c: Likewise.
8848 * stdio-common/tmpfile.c: Likewise.
8849 * stdlib/abort.c: Likewise.
8850 * stdlib/fmtmsg.c: Likewise.
8851 * sunrpc/auth_unix.c: Likewise.
8852 * sunrpc/clnt_perr.c: Likewise.
8853 * sunrpc/clnt_tcp.c: Likewise.
8854 * sunrpc/clnt_udp.c: Likewise.
8855 * sunrpc/clnt_unix.c: Likewise.
8856 * sunrpc/openchild.c: Likewise.
8857 * sunrpc/svc_simple.c: Likewise.
8858 * sunrpc/svc_tcp.c: Likewise.
8859 * sunrpc/svc_udp.c: Likewise.
8860 * sunrpc/svc_unix.c: Likewise.
8861 * sunrpc/xdr.c: Likewise.
8862 * sunrpc/xdr_array.c: Likewise.
8863 * sunrpc/xdr_rec.c: Likewise.
8864 * sunrpc/xdr_ref.c: Likewise.
8865 * sunrpc/xdr_stdio.c: Likewise.
8866
1248c1c4
PB
88672011-09-09 Ulrich Drepper <drepper@gmail.com>
8868
8869 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8870
88712011-07-03 Andreas Jaeger <aj@suse.de>
8872
8873 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8874 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8875 regenerate with gen-libm-tests.pl.
8876
88772010-05-12 Petr Baudis <pasky@suse.cz>
8878
8879 [BZ #11589]
8880 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8881 around j0() zero points by switching to j1().
8882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8886
f22e1074
UD
88872011-09-09 Ulrich Drepper <drepper@gmail.com>
8888
f19009c1
UD
8889 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8890 instead of 0.
8891 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8892 instead of 0. .
8893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8894 Patch in part by Pavel Roskin <proski@gnu.org>.
8895
3f8cc204
UD
8896 [BZ #13138]
8897 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8898 realloc.
8899 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8900 Free memory block if necessary.
8901
f22e1074
UD
8902 [BZ #12847]
8903 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8904 be NULL. Don't lock in this case.
8905
0a2349f9
RM
89062011-09-09 Roland McGrath <roland@hack.frob.com>
8907
8908 * elf/elf.h (ELFOSABI_GNU): New macro.
8909 (ELFOSABI_LINUX): Define to that.
8910
f3cdd467
DZ
89112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8912
8913 * string/strncat.c (strncat): Undef the symbol in case it has been
8914 defined in bits/string.h.
8915
74718d13
UD
89162011-09-09 Ulrich Drepper <drepper@gmail.com>
8917
633e9e0f
UD
8918 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8919
0a2349f9 8920 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8921 link map.
8922
f9924780
AJ
89232011-08-17 Andreas Jaeger <aj@suse.de>
8924
8925 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8926
7f5517aa
PP
89272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8928 Ian Lance Taylor <iant@google.com>
8929
8930 * math/libm-test.inc (lround_test): New testcase.
8931 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8932
762011fe
UD
89332011-09-08 Ulrich Drepper <drepper@gmail.com>
8934
92963737
UD
8935 * Makefile: Remove support for automatic cvs check-ins.
8936 * Makerules: Likewise.
8937 * config.make.in: Likewise.
8938 * configure.in: Likewise.
8939 * intl/Makefile: Likewise.
8940 * locale/Makefile: Likewise.
8941 * po/Makefile: Likewise.
8942 * posix/Makefile: Likewise.
8943 * sysdeps/gnu/Makefile: Likewise.
8944 * sysdeps/mach/hurd/Makefile: Likewise.
8945 * sysdeps/sparc/sparc32/Makefile: Likewise.
8946
b0727fd8
JS
8947 [BZ #13118]
8948 * posix/Makefile (bug-regex32-ENV): Define.
8949 Patch by John Stanley <jpsinthemix@verizon.net>.
8950
a0f33f99
UD
8951 * misc/Makefile (headers): Add bits/select2.h.
8952 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8953 * misc/bits/select2.h: New file.
8954 * include/bits/select2.h: New file.
8955 * debug/Makefile (routines): Add fdelt_chk.
8956 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8957 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8958 FD_ISSET.
8959 * debug/fdelt_chk.c: New file.
8960
762011fe
UD
8961 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8962 * wcsmbs/test-wmemcmp.c: Likewise.
8963 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8964 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8965
89662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8967
8968 * string/Makefile (strop-tests): Add memcmp.
8969 * string/test-wmemcmp.c: New file.
8970 * string/test-memcmp.c: Add wmemcmp support.
8971
7f513ec8
RM
89722011-09-08 Roland McGrath <roland@hack.frob.com>
8973
0442afb4
RM
8974 [BZ #13153]
8975 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8976 2011-07-19 change.
8977
7f513ec8
RM
8978 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8979 garbage value in a __mach_port_mod_refs call in the cases of the
8980 task-self and thread-self ports.
8981
a12b2239
ST
89822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8983
8984 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8985
610f9ab4
AS
89862011-09-08 Andreas Schwab <schwab@redhat.com>
8987
7f513ec8 8988 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8989
48882a1a
LD
89902011-09-07 Ulrich Drepper <drepper@gmail.com>
8991
b49865be
UD
8992 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8993
fdc86bc9
UD
8994 * elf/dl-libc.c (dlerror_run): Pass back error code from
8995 dl_catch_error.
8996
c966526a
UD
8997 [BZ #13123]
8998 * elf/dl-load.c (lose): Free l_origin if it is valid.
8999
48882a1a
LD
9000 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9001 names.
9002 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9003 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9005 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9006 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9007 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9008
77a2a8b4
AZ
90092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9010
9011 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9012 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9013 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9014 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9015 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9016 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9017 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9018 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9019 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9020 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9021
24f579d8
AM
90222011-08-15 Alan Modra <amodra@gmail.com>
9023
9024 [BZ #13092]
9025 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9026 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9027 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9028 ppc_mcount to static-only-routines.
9029 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9030 __mcount_internal.
9031 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9032 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9033
3d4837df
UD
90342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9035
9036 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9037 for finite and infinity parameters.
9038
22700377
WS
90392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9040
9041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9042 and add nop instructions for throughput optimization.
9043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9044
5025581e
WS
90452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9046
9047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9048 aligned copy for power7 with vector-scalar instructions.
9049 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9050
08a300c9
L
90512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9054 AVX check.
9055
59178ef9
AS
90562011-09-07 Andreas Schwab <schwab@redhat.com>
9057
9058 [BZ #13144]
9059 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9060 last change.
9061
e38ba7ab
UD
90622011-09-07 Ulrich Drepper <drepper@gmail.com>
9063
9064 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9065 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9066 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9067 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9068 clock_gettime.
9069
d53a73ac
UD
90702011-09-06 Ulrich Drepper <drepper@gmail.com>
9071
fc8bffcc
UD
9072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9073 Forgot to demangle the pointer.
9074
ceaa0c5d
UD
9075 * sysdeps/i386/sysdep.h: Define atom_text_section.
9076 * sysdeps/x86_64/sysdep.h: Likewise.
9077 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9078 section with atom_text_section.
9079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9081 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9083 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9084
a77d3c17
UD
9085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9086 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9087 already be defined. Change to take two parameters and don't assign
9088 result to variable. Adjust all users.
9089 Define INTERNAL_GETTIME if not already defined.
9090 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9091 call.
9092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9093 HAVE_CLOCK_GETTIME_VSYSCALL.
9094 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9095
d53a73ac
UD
9096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9097 gettimeofday vsyscall, just use time.
9098
a8f84144
AS
90992011-09-06 Andreas Schwab <schwab@redhat.com>
9100
9101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9102 <errno.h>.
9103
ef606249
UD
91042011-09-06 Ulrich Drepper <drepper@gmail.com>
9105
9106 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9107 syscall on x86-64.
9108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9109 syscall.
9110 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9112 syscall if possible.
9113
6585cb60
UD
91142011-09-05 Ulrich Drepper <drepper@gmail.com>
9115
9116 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9117 e_ident. Don't pass to find_mapsXX.
9118 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9119
a5f524e4
LD
91202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9121
9122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9123 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9124 * sysdeps/x86_64/multiarch/strchr.S: Update.
9125 Check bit_slow_BSF bit.
9126 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9127 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9128 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9129
554881ef
UD
91302011-09-05 Ulrich Drepper <drepper@gmail.com>
9131
d96de963
UD
9132 [BZ #13134]
9133 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9134 before glibc 2.15.
9135 (tryshell): Define.
9136 (__spawni): Change last parameter to be flag. Test
9137 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9138 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9139 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9140 * posix/spawni.c: Likewise.
9141 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9142 * posix/spawnp.c: Likewise. Change normal version to use
9143 SPAWN_XFLAGS_USE_PATH.
9144 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9145 SPAWN_XFLAGS_TRY_SHELL.
9146
d48e5868
UD
9147 [BZ #13150]
9148 * posix/glob.h: Remove gcc 1.x support.
9149
554881ef
UD
9150 [BZ #13068]
9151 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9152
693fb948
LD
91532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9154
9155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9156 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9157 strrchr-sse2-bsf
9158 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9159 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9160 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9162 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9163 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9164
1b48c537
UD
91652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9166
49d42c37
UD
9167 * sysdeps/x86_64/wcscmp.S: New file.
9168
1b48c537
UD
9169 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9170 wcscmp-c wcscmp-sse2
9171 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9172 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9173 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9174 * wcsmbs/wcscmp.c: Allow renaming.
9175
15c95c5d
DM
91762011-09-05 David S. Miller <davem@davemloft.net>
9177
9178 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9179 stack slot, rather than the struct return pointer slot.
9180 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9181 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9184
2f0ad8f3
UD
91852011-09-05 Ulrich Drepper <drepper@gmail.com>
9186
d88ae418
UD
9187 * po/ja.po: Update from translation team.
9188
2f0ad8f3
UD
9189 [BZ #13144]
9190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9191 kernel in 64-bit binaries.
9192
5f4318d1
DM
91932011-09-01 David S. Miller <davem@davemloft.net>
9194
9195 * elf/elf.h (HWCAP_SPARC_*): Move to..
9196 * sysdeps/sparc/sysdep.h: this new file and add new values.
9197 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9198 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9199 _DL_HWCAP_COUNT to 24.
9200 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9201 entries.
9202 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9203 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9204 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9206 instead of magic constants.
9207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9208
3ba57516
DM
92092011-08-31 David S. Miller <davem@davemloft.net>
9210
9211 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9213 Reimplement to do errno handling inline.
9214 (SYSCALL_ERROR_HANDLER): New macro.
9215 (__SYSCALL_STRING): Do not do errno handling in asm.
9216 (__CLONE_SYSCALL_STRING): Delete.
9217 (__INTERNAL_SYSCALL_STRING): Delete.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9219 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9220 (PSEUDO): Reimplement to do errno handling inline.
9221 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9222 (SYSCALL_ERROR_HANDLER): New macro.
9223 (__SYSCALL_STRING): Do not do errno handling in asm.
9224 (__CLONE_SYSCALL_STRING): Delete.
9225 (__INTERNAL_SYSCALL_STRING): Delete.
9226 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9227 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9228 i386.
9229 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9230 (inline_syscall*): Add 'err' argument.
9231 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9232 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9233 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9234 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9235
9236 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9237 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9238
2bc17433
AS
92392011-08-30 Andreas Schwab <schwab@redhat.com>
9240
9241 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9242
fbeb5f4d
JO
92432011-08-29 Jiri Olsa <jolsa@redhat.com>
9244
9245 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9246 directive.
9247
ad69cc26
DM
92482011-08-24 David S. Miller <davem@davemloft.net>
9249
9250 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9251
39dd69df
AS
92522011-08-24 Andreas Schwab <schwab@redhat.com>
9253
9254 * elf/Makefile: Add rules to build and run unload8 test.
9255 * elf/unload8.c: New file.
9256 * elf/unload8mod1.c: New file.
9257 * elf/unload8mod1x.c: New file.
9258 * elf/unload8mod2.c: New file.
9259 * elf/unload8mod3.c: New file.
9260
9261 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9262 it wasn't used.
9263
2c0b250a
DM
92642011-08-23 David S. Miller <davem@davemloft.net>
9265
9266 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9267 subtract stack bias.
9268 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9269 %sp not %fp in calculations.
9270 (_JMPBUF_UNWINDS_ADJ): Likewise.
9271
22044b48
DM
9272 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9273 (aio_suspend): Call it to force an exception region around the
9274 AIO_MISC_WAIT() invocation.
9275
2cae4995
AS
92762011-08-23 Andreas Schwab <schwab@redhat.com>
9277
9278 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9279 backslash.
9280
873a772e
AJ
92812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9282
9283 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9284 protection macro.
9285 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9286 and <dl-machine.h>.
9287 (Elf64_FuncDesc): Remove.
9288
25ad0df1
DM
92892011-08-22 David S. Miller <davem@davemloft.net>
9290
9291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9292 sigaltstack check, add missing cfi directives.
9293 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9294 missing cfi directives, and sigaltstack handling.
9295
e888bcbe
AS
92962011-08-16 Andreas Schwab <schwab@redhat.com>
9297
9298 [BZ #11724]
9299 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9300 object is seen twice.
9301 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9302
9303 * elf/Makefile (distribute): Add tst-initorder2.c.
9304 (tests): Add tst-initorder2.
9305 (modules-names): Add tst-initorder2a tst-initorder2b
9306 tst-initorder2c tst-initorder2d. Add rules to build them.
9307 ($(objpfx)tst-initorder2.out): New rule.
9308 * elf/tst-initorder2.c: New file.
9309 * elf/tst-initorder2.exp: New file.
9310
87162f46
AS
93112011-08-22 Andreas Schwab <schwab@redhat.com>
9312
70538b7f
AS
9313 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9314
f55ffe58
AS
9315 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9316 dependencies back to end of function.
9317
87162f46
AS
9318 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9319 $(elfobjdir)/ld.so.
9320
91b392a4
UD
93212011-08-21 Ulrich Drepper <drepper@gmail.com>
9322
9323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9324 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9326 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9327 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9328 of __vdso_gettimeofday.
9329 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9330 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9331 attribute_hidden.
9332 (_libc_vdso_platform_setup): Remove initialization of
9333 __vdso_gettimeofday and __vdso_time.
9334
5c43483f
UD
93352011-08-20 Ulrich Drepper <drepper@gmail.com>
9336
775a77e7
UD
9337 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9338 and fgetc_unlocked.
9339 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9340 getc_unlocked.
89f447ed 9341
49c74ba9
UD
9342 * elf/dl-open.c (add_to_global): Report additions to the global scope
9343 for LD_DEBUG=scopes.
9344 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9345 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9346
5c43483f
UD
9347 [BZ #13114]
9348 * stdio-common/Makefile (tests): Add bug24.
9349 * stdio-common/bug24.c: New file.
9350
a101b025
AJ
93512011-08-19 Andreas Jaeger <aj@suse.de>
9352
9353 [BZ #13114]
9354 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9355 non-existant file when using close-on-exec mode.
9356
c88f1766
UD
93572011-08-20 Ulrich Drepper <drepper@gmail.com>
9358
0276a718
UD
9359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9360 the very first instruction.
9361
c88f1766
UD
9362 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9363 the CFI state in the end.
9364 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9365 inclusion of dl-trampoline.h.
9366 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9367
51ccffa0
AS
93682011-08-19 Andreas Schwab <schwab@redhat.com>
9369
94d7165f
AS
9370 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9371 expectations for long double.
9372
51ccffa0
AS
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9374 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9375
fd708658 93762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9377
9378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9379 artificual limit depends upon the system page size.
9380
44f0a71e
UD
93812011-08-17 Ulrich Drepper <drepper@gmail.com>
9382
9383 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9384 * resolv/Makefile: Define CFLAGS-libresolv.
9385
8de79a24
AS
93862011-08-17 Andreas Schwab <schwab@redhat.com>
9387
9388 * nss/makedb.c (compute_tables): Make variables used in nested
9389 function static.
9390
27724598
UD
93912011-08-17 Ulrich Drepper <drepper@gmail.com>
9392
c5305d88
UD
9393 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9394 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9395 if buffer was too small.
9396
27724598
UD
9397 * elf/pldd.c (main): Attach to all threads in the process.
9398 Rewrite /proc handling to use *at functions.
9399
076fe015
UD
94002011-08-16 Ulrich Drepper <drepper@gmail.com>
9401
174baab3
UD
9402 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9403 specifies first scope to show.
9404 (dl_open_worker): Update callers. Move printing scope of new
9405 object to before the relocation.
44f0a71e 9406 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9407 * sysdeps/generic/ldsodefs.h: Update declaration.
9408
076fe015
UD
9409 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9410 string for the scope number.
9411
a60df2c3
UD
94122011-08-14 Ulrich Drepper <drepper@gmail.com>
9413
9414 * nscd/servicescache.c (cache_addserv): Make sure written is always
9415 initialized.
9416
5e4287d1
RM
94172011-08-14 Roland McGrath <roland@hack.frob.com>
9418
85ae0589
RM
9419 * sysdeps/i386/i486/bits/atomic.h
9420 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9421 statement expression, so as to suppress "set but not used" warning.
9422 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9423
69f63097
RM
9424 * string/strncat.c (STRNCAT): Use prototype definition.
9425
675456ef
RM
9426 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9427 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9428 -Iprograms here.
9429 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9430 (localedef-modules): Add localedef.
9431 (locale-modules): Add locale.
9432
5e4287d1
RM
9433 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9434 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9435 to avoid a warning.
9436
9c96ff23
DM
94372011-08-14 David S. Miller <davem@davemloft.net>
9438
9439 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9440 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9441
f9ddf089
UD
94422011-08-13 Ulrich Drepper <drepper@gmail.com>
9443
44f0a71e 9444 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9445 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9446 * elf/rtld.c (dl_main): Set l_name of vDSO.
9447 Call _dl_show_scope when DL_DEBUG_SCOPES.
9448 (process_dl_debug): Recognize scopes flag and also set it for all.
9449 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9450 Declare _dl_show_scope.
9451
1dc27704
UD
9452 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9453 (do_dlopen): Pass caller_dlopen to dl_open.
9454 (__libc_dlopen_mode): Initialize caller_dlopen.
9455
f9ddf089
UD
9456 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9457 of libc. Make tolower call locale-independent. Optimize a bit by
9458 using isdigit instead of isalnum.
9459 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9460
9ac533d3
UD
94612011-08-12 Ulrich Drepper <drepper@gmail.com>
9462
9463 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9464 was a dependency or dynamically loaded.
9465
89edf2e9
UD
94662011-08-11 Ulrich Drepper <drepper@gmail.com>
9467
8e999d29
UD
9468 * intl/l10nflist.c: Allow architecture-specific pop function.
9469 * sysdeps/x86_64/l10nflist.c: New file.
9470
89edf2e9
UD
9471 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9472 classification.
9473
14d96785
AS
94742011-08-10 Andreas Schwab <schwab@redhat.com>
9475
9476 * include/dirent.h: Add libc_hidden_proto for scandirat and
9477 scandirat64. Don't declare __scandirat64.
9478 * dirent/scandirat.c: Add libc_hidden_def.
9479 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9480 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9481
6761ac04
DM
94822011-08-10 David S. Miller <davem@davemloft.net>
9483
9484 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9485 enum.
9486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9489
c55fbd1e
UD
94902011-08-09 Ulrich Drepper <drepper@gmail.com>
9491
9492 * Versions.def [libc]: Add GLIBC_2.15.
9493 * dirent/Makefile (routines): Add scandirat and scandirat64.
9494 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9495 GLIBC_2.15.
9496 * dirent/dirent.h: Declare scandirat and scandirat64.
9497 * dirent/scandirat.c: New file.
9498 * dirent/scandirat64.c: New file.
9499 * sysdeps/wordsize-64/scandirat.c: New file.
9500 * sysdeps/wordsize-64/scandirat64.c: New file.
9501 * dirent/opendir.c: Define opendirat.
9502 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9503 using scandirat.
9504 * dirent/scandir64.c: Adjust for scandir.c change.
9505 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9506 __scandirat64, and __scandir_cancel_handler.
9507 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9508 additional parameter and use openat instead of open (outside of ld.so).
9509 Add new __opendir as wrapper around __opendirat.
9510 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9511 here without requiring old scandirat implementation.
9512
879165f2
UD
95132011-08-08 Ulrich Drepper <drepper@gmail.com>
9514
9515 * dirent/scandir.c (cancel_handler): Renamed to
9516 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9517 defined. Adjust users.
9518 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9519 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9520
cb7e923b
UD
95212011-08-04 Ulrich Drepper <drepper@gmail.com>
9522
16292edd
UD
9523 * string/test-string.h (IMPL): Use __STRING to expand name and then
9524 stringify it.
9525
cb7e923b
UD
9526 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9527 of cleanups.
9528
cff82933
LD
95292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9530
9531 * string/Makefile: Update.
9532 (strop-tests): Append strncat.
9533 * string/test-wcscmp.c: New file.
9534 New comprehensive test for wcscmp.
9535 * string/test-strcmp.c: Update.
9536 (WIDE): New define.
9537
9be9bfcc
AS
95382011-07-22 Andreas Schwab <schwab@redhat.com>
9539
9540 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9541 line.
9542
2e96f1c7
AS
95432011-07-26 Andreas Schwab <schwab@redhat.com>
9544
9545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9546 encoding to ACE if AI_IDN.
9547
85188888
JJ
95482011-08-01 Jakub Jelinek <jakub@redhat.com>
9549
9550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9551 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9552
5fa16e9b
LD
95532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9554
9555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9556 Fix overflow bug in strncat.
9557 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9558
9559 * string/test-strncat.c: Update.
9560 Add new tests for checking overflow bugs.
9561
95622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9563
9564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9565 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9566 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9567 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9568 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9569 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9570 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9571 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9572 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9573
9574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9575 (USE_AS_STRCAT): Define.
9576 Add strcat and strncat support.
9577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9578
8c1a459f
AS
95792011-07-25 Andreas Schwab <schwab@redhat.com>
9580
9581 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9582 __n bigger than INT_MAX+1.
9583 (__strncmp_g): Likewise.
9584
bba33c28
UD
95852011-07-23 Ulrich Drepper <drepper@gmail.com>
9586
798be72d
UD
9587 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9588 * libio/stido.h: Likewise.
9589
8accd4dc
UD
9590 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9591 (AF_NFC): Define.
9592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9593 (AF_NFC): Define.
9594
cbff0d96
UD
9595 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9596 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9597 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9598 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9600
9191c04a
UD
9601 [BZ #13021]
9602 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9603 installed.
9604
bba33c28
UD
9605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9606 typo.
9607 (_dl_x86_64_save_sse): Likewise.
9608
90f139dd
UD
96092011-07-22 Ulrich Drepper <drepper@gmail.com>
9610
1aae088a
UD
9611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9612 OSXSAVE.
9613 (_dl_x86_64_save_sse): Likewise.
9614
8e2045f5
UD
9615 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9616
90f139dd
UD
9617 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9618
1d002f25
AS
96192011-07-21 Andreas Schwab <schwab@redhat.com>
9620
9621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9622 change.
9623 (_dl_x86_64_save_sse): Use correct AVX check.
9624
21137f89
UD
96252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9626
9627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9628 bug in strncpy/strncat.
9629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9630
a65c0b7a
UD
96312011-07-21 Ulrich Drepper <drepper@gmail.com>
9632
9633 * string/tester.c (test_strcat): Add tests for different alignments
9634 of source and destination.
9635 (test_strncat): Likewise.
9636
6986b98a
UD
96372011-07-20 Ulrich Drepper <drepper@gmail.com>
9638
90bb2039
UD
9639 [BZ #12852]
9640 * posix/glob.c (glob): Check passed in values before using them in
9641 expressions to avoid some overflows.
9642 (glob_in_dir): Likewise.
9643
5644ef54
UD
9644 [BZ #13007]
9645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9646 check for AVX enablement so that we don't crash with old kernels and
9647 new hardware.
9648 * elf/tst-audit4.c: Add same checks here.
9649 * elf/tst-audit6.c: Likewise.
9650
9651 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9652
bfc9dc9b
AS
96532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9654
9655 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9656
702e64bb
UD
96572011-07-20 Ulrich Drepper <drepper@gmail.com>
9658
9659 * po/cs.po: Update from translation team.
9660 * po/bg.po: Likewise.
9661
295e904f
MP
96622011-07-12 Marek Polacek <mpolacek@redhat.com>
9663
9664 * misc/sys/cdefs.h: Add support for const attribute.
9665 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9666 to gnu_dev_{major,minor,makedev} functions.
9667
3ff94596
MP
96682011-07-20 Marek Polacek <mpolacek@redhat.com>
9669
9670 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9671
28b59fca
AS
96722011-07-20 Andreas Schwab <schwab@redhat.com>
9673
9674 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9675 strlen results.
9676
19df733e
AK
96772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9678
9679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9680 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9681 register in order to avoid conflicts with the soft frame pointer
9682 being held in r11 when necessary.
9683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9684 (INTERNAL_VSYSCALL_NCS): Likewise.
9685
c8835729
MP
96862011-07-14 Marek Polacek <mpolacek@redhat.com>
9687
9688 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9689 * elf/dl-fini.c (_dl_fini): Adjust caller.
9690 * elf/dl-close.c (_dl_close_worker): Likewise.
9691 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9692
b902330c
MP
96932011-07-15 Marek Polacek <mpolacek@redhat.com>
9694
8991e135
MP
9695 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9696 "aux_cache->nlibs < 0".
9697
b902330c
MP
9698 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9699 in the reload-count case.
9700
99710781
LD
97012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9702
9703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9704 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9705 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9706 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9707 * sysdeps/x86_64/multiarch/strcat.S: New file.
9708 * sysdeps/x86_64/multiarch/strncat.S: New file.
9709 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9711 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9712 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9714 (USE_AS_STRCAT): Define.
9715 Add strcat and strncat support.
9716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9718 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9719 * string/strncat.c: Update.
9720 (USE_AS_STRNCAT): Define.
9721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9722 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9723 and i7.
9724 * sysdeps/x86_64/multiarch/init-arch.h
9725 (bit_Prefer_PMINUB_for_stringop): New.
9726 (index_Prefer_PMINUB_for_stringop): Likewise.
9727 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9728 bit_Prefer_PMINUB_for_stringop.
9729
7dc6bd90
UD
97302011-07-19 Ulrich Drepper <drepper@gmail.com>
9731
9732 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9733 buffer64.
9734 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9735 of casting of buffer.
9736 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9737 buffer32 and buffer64.
9738 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9739 writes instead of casting of buffer.
9740 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9741 buffer32.
9742 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9743 casting of buffer.
9744
e0e72284
AS
97452011-07-19 Andreas Schwab <schwab@redhat.com>
9746
9747 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9748
feb1eb0b
UD
97492011-07-19 Ulrich Drepper <drepper@gmail.com>
9750
9751 * nscd/nscd.c (termination_handler): Don't do anything for a database
9752 if it has not yet been initialized.
9753
298711ff
UD
97542011-07-18 Ulrich Drepper <drepper@gmail.com>
9755
9756 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9757
97582011-07-15 Marek Polacek <mpolacek@redhat.com>
9759
9760 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9761
f9d68389
UD
97622011-07-18 Ulrich Drepper <drepper@gmail.com>
9763
9764 * po/nl.po: Update from translation team.
9765 * po/sv.po: Likewise.
9766
db290cf5
RM
97672011-07-16 Roland McGrath <roland@hack.frob.com>
9768
9769 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9770 now disallowed by GCC.
5c550700 9771
fd5e21c7
RM
9772 * configure.in (use-default-link): Default to yes if a test -shared
9773 link meets our qualifications.
9774 * configure: Regenerated.
9775
5c550700
RM
9776 * config.make.in (output-format): New variable.
9777 * configure.in: Check for ld --print-output-format support.
9778 * configure: Regenerated.
9779 * Makerules ($(common-objpfx)format.lds)
9780 [$(output-format) != unknown]: Just use $(output-format),
9781 instead of the linker-script munging.
9782
9fa2c032
RM
97832011-07-14 Roland McGrath <roland@hack.frob.com>
9784
a6928d51
RM
9785 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9786 of $(common-objpfx)shlib.lds.
9787 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9788
661607b3
RM
9789 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9790 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9791
9fa2c032
RM
9792 * configure.in (-z relro check): Adjust test code to add a large
9793 writable data section after it.
9794 * configure: Regenerated.
9795
defe9061
RM
97962011-07-11 Roland McGrath <roland@hack.frob.com>
9797
9798 * configure.in (-z relro check): Fix test code to make the variable
9799 truly const.
9800 * configure: Regenerated.
9801
319b9ad4
UD
98022011-07-11 Ulrich Drepper <drepper@gmail.com>
9803
9804 * nscd/nscd.h (struct traced_file): Define.
9805 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9806 elements. Add traced_files.
9807 (inotify_fd): Declare.
9808 (register_traced_file): Declare.
9809 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9810 (inotify_fd): Export.
9811 (resolv_conf_descr): Remove.
9812 (nscd_init): Move inotify descriptor creation to main.
9813 Don't register files for notification here.
9814 (register_traced_file): New function.
9815 (invalidate_cache): Don't use reset_res to determine whether to call
9816 res_init, go through the list of registered files.
9817 (main_loop_poll): The inotify descriptors are now stored in the
9818 structures for the traced files.
9819 (main_loop_epoll): Likewise
9820 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9821 to __nss_disable_nscd.
9822 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9823 for a database anymore. Check the records for all the registered
9824 files instead.
9825 * nss/Makefile (libnss_files-routines): Add files-init.
9826 (libnss_db-routines): Add db-init.
9827 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9828 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9829 * nss/nss_db/db-init.c: New file.
9830 * nss/nss_files/files-init.c: New file.
9831 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9832 __nss_lookup_function.
9833 (__nss_lookup_function): Call nss_load_library.
9834 (nss_load_all_libraries): New function.
9835 (__nss_disable_nscd): Take parameter with callback function for files
9836 to register. Set is_nscd. Load all the DSOs for the NSS modules
9837 used for the cached services.
9838 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9839 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9840 options for features to all the files in nscd.
9841
9842 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9843
23bee3e8
RM
98442011-07-10 Roland McGrath <roland@hack.frob.com>
9845
9846 * csu/elf-init.c (__libc_csu_init): Comment typo.
9847
46a5b7f0
UD
98482011-07-09 Ulrich Drepper <drepper@gmail.com>
9849
9850 * po/pl.po: Update from translation team.
9851 * po/ja.po: Likewise.
9852 * po/ru.po: Likewise.
9853 * po/ko.po: Likewise.
9854 * po/fr.po: Likewise.
9855
d30cf5bb
RM
98562011-07-09 Roland McGrath <roland@hack.frob.com>
9857
113ddea4
RM
9858 * configure.in (.ctors/.dtors header and trailer check):
9859 Use an empirical test on a built program.
9860 * configure: Regenerated.
9861
574920b4
RM
9862 * configure.in (-z relro check): Use an empirical test on a built DSO.
9863 Detect, but do not require, on ia64.
9864 * configure: Regenerated.
9865
d30cf5bb
RM
9866 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9867 Update tests that use readelf to use $READELF instead.
9868 * configure: Regenerated.
9869
8538fdb3
UD
98702011-07-08 Ulrich Drepper <drepper@gmail.com>
9871
9872 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9873 if the result is not used.
9874
04d08991
AJ
98752011-07-05 Andreas Jaeger <aj@suse.de>
9876
9877 [BZ#9696]
9878 * stdlib/tst-strtod.c: Add testcase.
9879
de283087
AD
98802011-07-07 Ulrich Drepper <drepper@gmail.com>
9881
4e5f31c8 9882 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9883 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9884 The latter has a higher limit. Take additional parameter to pass to
9885 the new function.
9886 (__pathconf): Pass file to __statfs_link_max.
9887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9888 __statfs_link_max.
9889 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9890 __statfs_link_max.
9891
de283087
AD
9892 [BZ #12868]
9893 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9894 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9895 Handle Lustre.
9896 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9897 (__statfs_filesize_max): Likewise.
9898 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9899
c75fa153
AJ
99002011-07-05 Andreas Jaeger <aj@suse.de>
9901
9902 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9903
1a544854
UD
99042011-07-06 Marek Polacek <mpolacek@redhat.com>
9905
9906 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9907 `status' variable.
9908 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9909 Likewise.
9910
6f0eec67
UD
99112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9912
9913 * Makefile (strop-tests): Add strncat.
9914 * string/test-strncat.c: New file.
9915
aae30307
UD
99162011-06-30 Marek Polacek <mpolacek@redhat.com>
9917
9918 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9919
c0cfb5eb
UD
99202011-06-21 Andreas Jaeger <aj@suse.de>
9921
9922 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9923 Copy rule from iconvdata/Makefile.
9924
01636b21
UD
99252011-07-06 Ulrich Drepper <drepper@gmail.com>
9926
9927 [BZ #12922]
9928 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9929 but no long options are defined, just return 'W'.
9930
9895c8bc
UD
99312011-06-22 Marek Polacek <mpolacek@redhat.com>
9932
9933 [BZ #9696]
9934 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9935
5d4cf042
UD
99362011-07-06 Ulrich Drepper <drepper@gmail.com>
9937
9938 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9939 netgroups to read.
960e5535 9940 (innetgr): Likewise.
5d4cf042 9941
751eb97e
RM
99422011-07-05 Roland McGrath <roland@hack.frob.com>
9943
9944 * config.make.in (install_root): Default to $(DESTDIR).
9945
f15f1e45
UD
99462011-07-05 Ulrich Drepper <drepper@gmail.com>
9947
9948 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9949
4e34ac6a
RM
99502011-07-02 Roland McGrath <roland@hack.frob.com>
9951
5e9b6af4
RM
9952 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9953
84f9ea0f
RM
9954 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9955 containing directory rather than embedding absolute directory names.
9956
ea5ee9f7
RM
9957 * scripts/check-local-headers.sh: Rewritten using awk.
9958 Match by word, not by line. Print error messages for matches.
9959 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9960
1b74661a
RM
9961 * Makerules [shlib-lds-flags empty]:
9962 ($(common-objpfx)libc_pic.opts): New target.
9963 ($(common-objpfx)libc_pic.os.clean): New target.
9964 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9965
9966 * config.make.in (OBJCOPY): New variable.
9967 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9968 * configure: Regenerated.
9969
f781ef40
RM
9970 * config.make.in (use-default-link): New variable.
9971 * configure.in (use_default_link): Grok --with-default-link to set it.
9972 * configure: Regenerated.
9973 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9974 (shlib-lds, shlib-lds-flags): Define to empty.
9975
2d4fa81e
RM
9976 * Makerules (shlib-lds): New variable.
9977 (shlib-lds-flags): New variable.
9978 (build-shlib, build-moduile, build-module-asneeded): Use it.
9979 ($(common-objpfx)libc.so): Use $(shlib-lds).
9980 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9981 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9982
31fffa6b
RM
9983 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9984 DT_FLAGS/DT_FLAGS_1 with zero flags.
9985
4e34ac6a
RM
9986 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9987 linker script munging.
9988
fcfc776b
UD
99892011-07-02 Ulrich Drepper <drepper@gmail.com>
9990
9991 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9992 as 128-bit value.
9993 * crypt/sha512.c (sha512_process_block): Perform total addition using
9994 128-bit if possible.
9995 (__sha512_finish_ctx): Likewise.
9996 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9997 as 64-bit value.
9998 * crypt/sha256.c (SWAP64): Define.
9999 (sha256_process_block): Perform total addition using 64-bit if
10000 possible.
10001 (__sha256_finish_ctx): Likewise.
10002
99231d9a
UD
100032011-07-01 Ulrich Drepper <drepper@gmail.com>
10004
10005 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10007 * nscd/hstcache.c (cache_addhst): Likewise.
10008 * nscd/grpcache.c (cache_addgr): Likewise.
10009 * nscd/aicache.c (addhstaiX): Likewise
10010 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10011
445b4a53
TK
100122011-07-01 Thorsten Kukuk <kukuk@suse.de>
10013
10014 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10016 * nscd/hstcache.c (cache_addhst): Likewise.
10017 * nscd/grpcache.c (cache_addgr): Likewise.
10018 * nscd/aicache.c (addhstaiX): Likewise
10019
6d4d8e8e
AS
100202011-07-01 Andreas Schwab <schwab@redhat.com>
10021
10022 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10023 domain only when needed.
10024
89f654c5
AS
100252011-06-30 Andreas Schwab <schwab@redhat.com>
10026
10027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10028 is always restored.
10029
cf3b23ff
UD
100302011-06-29 Ulrich Drepper <drepper@gmail.com>
10031
10032 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10033 are re-adding the entry.
10034 * nscd/servicescache.c (cache_addserv): Likewise.
10035
751626f9
AJ
100362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10037
10038 * sysdeps/generic/dl-irel.h: fix protection against multiple
10039 inclusions.
10040 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10041
9113ea1f
UD
100422011-06-28 Ulrich Drepper <drepper@gmail.com>
10043
5c0b8d90
UD
10044 [BZ #12935]
10045 * malloc/memusage.sh: Fix quoting in message.
10046 * debug/xtrace.sh: Likewise.
10047
9113ea1f
UD
10048 * configure.in: Remove support for --experimental-malloc option, make
10049 it the default.
10050 * config.make.in: Likewise.
10051 * malloc/Makefile: Likewise.
10052
a4172181
AS
100532011-06-27 Andreas Schwab <schwab@redhat.com>
10054
10055 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10056 two-byte characters.
10057
78a7eee7
RM
100582011-06-27 Roland McGrath <roland@hack.frob.com>
10059
62bede13
RM
10060 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10061 AC_CACHE_CHECK invocation.
10062 * configure: Regenerated.
10063
78a7eee7
RM
10064 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10065
5ce33a62
UD
100662011-06-27 Ulrich Drepper <drepper@gmail.com>
10067
034807a9
UD
10068 [BZ #12350]
10069 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10070 bit from old_res_options.
10071
4902da17
UD
10072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10073
5ce33a62
UD
10074 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10075 value type for setfct.
10076
c2344f56
L
100772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10080 __gettimeofday instead of gettimeofday.
10081
68468076
UD
100822011-06-26 Ulrich Drepper <drepper@gmail.com>
10083
10084 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10085
acb0d739
L
100862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10087
10088 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10089
10090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10091 info.
10092
8912479f
L
100932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10096 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10097 strcpy-sse2-unaligned strncpy-sse2-unaligned
10098 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10099 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10100 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10101 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10102 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10103 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10105 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10106 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10107 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10108 (STRCPY): Support SSE2 and SSSE3 versions.
10109
d5495a11
UD
101102011-06-24 Ulrich Drepper <drepper@gmail.com>
10111
10112 [BZ #12874]
10113 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10114 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10115 kernels which artificially limit size of requests.
10116
0b1cbaae
L
101172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10120 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10121 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10122 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10123 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10124 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10125 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10126 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10127 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10129 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10130 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10131 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10132 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10133 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10135 Enable unaligned load optimization for Intel Core i3, i5 and i7
10136 processors.
10137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10138 Define.
10139 (index_Fast_Unaligned_Load): Define.
10140 (HAS_FAST_UNALIGNED_LOAD): Define.
10141
07f494a0
MP
101422011-06-23 Marek Polacek <mpolacek@redhat.com>
10143
10144 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10145
fa3fc0fe
UD
101462011-06-22 Ulrich Drepper <drepper@gmail.com>
10147
10148 [BZ #12907]
10149 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10150 until it is clear that the information is realy needed.
10151 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10152
e12df166
AS
101532011-06-22 Andreas Schwab <schwab@redhat.com>
10154
10155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10156
852eb34d
UD
101572011-06-22 Ulrich Drepper <drepper@gmail.com>
10158
84e2a551
UD
10159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10160 /sys/devices/system/cpu/online if it is usable.
10161
852eb34d
UD
10162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10163 reading the information from the /proc filesystem to once a second.
10164
6e502e19
UD
101652011-06-21 Andreas Jaeger <aj@suse.de>
10166
10167 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10168 NULL after inclusion of kernel headers.
10169
75d39ff2
UD
101702011-06-21 Ulrich Drepper <drepper@gmail.com>
10171
51f9aa6a
UD
10172 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10173 calls to internal_setent.
10174
c0244a9d
UD
10175 [BZ #12885]
10176 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10177 addresses using gethostbyname4_r ignore IPv4 addresses.
10178
c5e3c2ae
UD
10179 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10180 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10181
75d39ff2
UD
10182 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10183
42675c6f
DM
101842011-06-20 David S. Miller <davem@davemloft.net>
10185
10186 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10187 inclusions.
10188 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10189
10190 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10191 (elf_irel): Use it.
10192 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10193 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10194 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10195 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10196 * sysdeps/x86_64/dl-irel.h: Likewise.
10197
10198 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10199 * elf/dl-sym.c: Likewise.
10200
57912a71
UD
102012011-06-15 Ulrich Drepper <drepper@gmail.com>
10202
10203 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10204 need to dereference resplen2.
10205
ee22793d
AS
102062011-06-14 Andreas Schwab <schwab@redhat.com>
10207
10208 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10209
a9e836b0
UD
102102011-06-15 Ulrich Drepper <drepper@gmail.com>
10211
77fb9117
UD
10212 * Makeconfig: Define vardbdir and inst_vardbdir.
10213 * nss/Makefile: Add rules to install db-Makefile.
10214
40c1b22c
UD
10215 * nss/nss_db/db-XXX.c: Cleanup.
10216
9f2da732
UD
10217 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10218 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10219 GLIBC_PRIVATE.
10220 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10221 * nss/makedb.c: Implement -g option to specify that value strings
10222 are generated and should not be added to table iterated over for
10223 get*ent calls.
10224 * nss/nss_db/db-initgroups.c: New file.
10225
82e9a1f7
UD
10226 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10227 interface.
10228
c41af17e
UD
10229 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10230 (internal_getgrouplist): Adjust to name change.
10231 Update use_initgroups_entry if this is not the first call.
10232 * nss/databases.def: Add initgroups entry.
10233
a9e836b0
UD
10234 * nss/makedb.c (compute_tables): Check result of multiple hash table
10235 sizes to minimize maximum chain length.
10236
2666d441
UD
102372011-06-14 Ulrich Drepper <drepper@gmail.com>
10238
10239 * Versions.def: Add entry for libnss_db.
10240 * shlib-versions: Likewise.
10241 * nss/Makefile: Add rules to build libnss_db.
10242 * nss/Versions: Add libnss_db information. Organize libnss_files
10243 entries better.
10244 * nss/db-Makefile: Add gshadow support. Change rules for the new
10245 makedb progra. Some minor improvements to generate smaller files.
10246 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10247 here from...
10248 * nss/makedb.c: ...here.
10249 Improve database format to be smaller and require less memory at
10250 runtime.
10251 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10252 db anymore.
10253 * nss/nss_db/db-netgrp.c: Likewise.
10254 * nss/nss_db/db-open.c: Likewise.
10255 * nss/nss_files/flies-XXX.x: Adjust comments.
10256 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10257 * nss/nss_files/files-grp.c: Likewise.
10258 * nss/nss_files/files-hosts.c: Likewise.
10259 * nss/nss_files/files-network.c: Likewise.
10260 * nss/nss_files/files-proto.c: Likewise.
10261 * nss/nss_files/files-pwd.c: Likewise.
10262 * nss/nss_files/files-rpc.c: Likewise.
10263 * nss/nss_files/files-service.c: Likewise.
10264 * nss/nss_files/files-sgrp.c: Likewise.
10265 * nss/nss_files/files-spwd.c: Likewise.
10266 * nss/nss_db/db-alias.c: Removed.
10267 * nss/nss_db/dummy-db.h: Removed.
10268
9ee76b5a
UD
102692011-06-02 Ulrich Drepper <drepper@gmail.com>
10270
10271 * nss/makedb.c: Rewritten to not use database library.
10272 * nss/Makefile: Update to build new makedb program.
10273
c71ca1f8
AJ
102742011-06-14 Andreas Jaeger <aj@suse.de>
10275
10276 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10277 memset declaration.
10278
3154bfb8
UD
102792011-06-10 Andreas Schwab <schwab@redhat.com>
10280
10281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10282 tmpbuf.
10283
b350afab
RM
102842011-06-10 Roland McGrath <roland@hack.frob.com>
10285
decd4e50
RM
10286 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10287 * elf/Makefile ($(objpfx)ld.so): Likewise.
10288
5615eaf2
RM
10289 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10290 Don't list ld.so twice in dependencies.
10291
10292 * posix/bug-regex31.c: Include <stdlib.h>.
10293
10294 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10295
10296 * nis/nss_compat/compat-spwd.c
10297 (getspent_next_nss_netgr): Remove unused variable.
10298 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10299
10300 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10301 nonmembers" output to use the right array.
10302
10303 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10304
10305 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10306
10307 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10308 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10309 * catgets/gencat.c (read_input_file): Likewise.
10310 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10311
10312 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10313 variable definition inside #if's controlling its use.
10314
10315 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10316
10317 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10318
10319 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10320
10321 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10322 unreachable code.
10323
10324 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10325
b68e08db
RM
10326 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10327 * configure: Regenerated.
10328
b350afab
RM
10329 * Makerules: Revert last change.
10330 * elf/Makefile: Likewise.
10331
28368601
RM
103322011-06-09 Roland McGrath <roland@hack.frob.com>
10333
10334 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10335 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10336 (reloc-link): Likewise.
10337
11988f8f
UD
103382011-06-09 Ulrich Drepper <drepper@gmail.com>
10339
10340 * elf/Makefile: Add rules to build pldd.
10341 * elf/pldd.c: New file.
10342 * elf/pldd-xx.c: New file.
10343
e80fab37
UD
103442011-06-07 Ulrich Drepper <drepper@gmail.com>
10345
10346 * version.h: Update for 2.15 development version.
10347
9b849836
DM
103482011-06-07 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10351 ifuncs.
10352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10353 elf_machine_lazy_rel): Likewise.
10354 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10356 elf_machine_lazy_rel): Likewise.
10357 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10358 dl_hwcap via passed in argument.
10359 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10360 Likewise.
10361
5a31b283
AK
103622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10363
10364 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10365
069e52f8
RM
103662011-06-06 Roland McGrath <roland@hack.frob.com>
10367
10368 [BZ #12849]
10369 * manual/fdl-1.1.texi: New file, verbatim from:
10370 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10371 * manual/lgpl-2.1.texi: New file, verbatim from:
10372 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10373 * manual/Makefile (licenses): New variable, list those new file names.
10374 (texis): Use it.
10375 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10376
10377 * manual/fdl.texi: File removed.
10378 * manual/lesser.texi: File removed.
10379 * manual/libc.texinfo (Copying, Documentation License):
10380 Use new @include file names, put @appendix directive before @include.
10381
f16846a5
JJ
103822011-06-04 Jakub Jelinek <jakub@redhat.com>
10383
10384 [BZ #12841]
10385 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10386 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10387 (mq_open): Add __NTH.
10388
3d29045b
L
103892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10390
10391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10392 Assume Intel Core i3/i5/i7 processor if AVX is available.
10393
8c297311
UD
103942011-05-31 Ulrich Drepper <drepper@gmail.com>
10395
10396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10397 typo.
10398
c8fc0c91
UD
103992011-05-31 Andreas Schwab <schwab@redhat.com>
10400
10401 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10402 memory. Use alloca_account. Fix memory leak when retrying.
10403
5b27a807
UD
104042011-05-31 Ulrich Drepper <drepper@gmail.com>
10405
356f8bc6
UD
10406 * version.h (RELEASE): Bump for 2.14 release.
10407 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10408
5b27a807
UD
10409 * config.make.in (RANLIB): Remove entry.
10410
01f16ab0
UD
104112011-05-30 Ulrich Drepper <drepper@gmail.com>
10412
41fce8bd
UD
10413 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10414 (libc.pot): Work around missing support for .ksh extension in xgettext.
10415
4769ae77
UD
10416 [BZ #12684]
10417 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10418 if both request failed.
10419 (send_dg): In case of server errors clear resplen or *resplen2.
10420
6b1e7d19
UD
10421 [BZ #12454]
10422 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10423 when there are multiple maps.
10424 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10425 (_dl_fini): Remove test here.
10426
01f16ab0
UD
10427 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10428
b1ebd700
UD
104292011-05-29 Ulrich Drepper <drepper@gmail.com>
10430
7ae22829
UD
10431 [BZ #12350]
10432 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10433 bit from old_res_options.
10434 (gaih_inet): Likewise.
10435
553149f6 10436 [BZ #11099]
18a84741 10437 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10438 as signed.
10439
652ffab1
UD
10440 * resolv/res_init.c (res_setoptions): Make the code more compact.
10441
16985fd0
UD
10442 [BZ #11558]
10443 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10444 set RES_USEVC.
10445
0464f746
UD
10446 [BZ #11634]
10447 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10448
7d17596c
UD
10449 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10450
cf6bbbd7
UD
10451 [BZ #11781]
10452 * malloc/malloc.h: Declare malloc hook variables as volatile.
10453
13f1ab36
UD
10454 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10455 in last patch.
10456
b1ebd700
UD
10457 [BZ #11799]
10458 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10459 raise in the comment.
80e2212d
UD
10460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10461 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10462 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10463
ce67228d
UD
104642011-05-28 Ulrich Drepper <drepper@gmail.com>
10465
8887a920
UD
10466 [BZ #12811]
10467 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10468 grow the buffers more if it already has to be sufficient.
10469 (build_wcs_upper_buffer): Likewise.
10470 * posix/regexec.c (check_matching): Likewise.
10471 (clean_state_log_if_needed): Likewise.
10472 (extend_buffers): Don't enlarge buffers beyond size of the input
10473 buffer.
10474 Patches mostly by Emil Wojak <emil@wojak.eu>.
10475 * posix/bug-regex32.c: New file.
10476 * posix/Makefile (tests): Add bug-regex32.
10477
4f031072
UD
10478 * locale/findlocale.c (_nl_find_locale): Return right away if
10479 _nl_explode_name failed.
10480 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10481
d0478f0c
UD
10482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10483
de81b246
UD
10484 * debug/xtrace.sh: Unify messages.
10485 * malloc/memusage.sh: Likewise.
10486
c738465a
UD
10487 [BZ #12813]
10488 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10489 time symbol from vDSO. Substitute with vsyscall if not available.
10490 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10491 __vdso_time.
10492
f1f929d7
UD
10493 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10494 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10495 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10496 Add sendmmsg and internal_sendmmsg.
10497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10498 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10499 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10500
ce67228d
UD
10501 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10502 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10504
e57420c6
UD
105052011-05-27 Ulrich Drepper <drepper@gmail.com>
10506
a8509ca5
UD
10507 [BZ #12813]
10508 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10509 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10510 available.
10511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10512 __vdso_getcpu.
10513
e57420c6
UD
10514 [BZ #12814]
10515 * iconvdata/Makefile (tests): Add bug-iconv9.
10516 * iconvdata/bug-iconv9.c: New file.
10517
4d07db15
AS
105182011-05-27 Andreas Schwab <schwab@redhat.com>
10519
10520 [BZ #12814]
10521 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10522
ea486f69
JJ
105232011-05-25 Jakub Jelinek <jakub@redhat.com>
10524
10525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10526 (struct user_regs_struct): Change intcs field back to cs.
10527
6f038433
UD
105282011-05-25 Ulrich Drepper <drepper@gmail.com>
10529
10530 * po/ja.po: Update from translation team.
10531
67f86a25
UD
105322011-05-23 Ulrich Drepper <drepper@gmail.com>
10533
10534 [BZ #12795]
10535 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10536 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10537
def7fbd6
AS
105382011-05-20 Andreas Schwab <schwab@redhat.com>
10539
10540 * stdlib/longlong.h: Update from GCC.
10541
f50ef8f1
AS
105422011-05-23 Andreas Schwab <schwab@redhat.com>
10543
10544 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10545 parameter name.
10546 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10547 Add parameter name.
10548 (__sysconf): Pass it down.
10549
de7ce8f1
UD
105502011-05-22 Ulrich Drepper <drepper@gmail.com>
10551
f2962a71
UD
10552 [BZ #12671]
10553 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10554 some situations.
10555 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10556 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10557 add in in __libc_use_alloca calls. Adjust callers.
10558 (glob): Use malloc in some situations.
10559
de7ce8f1
UD
10560 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10561 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10562 pltexit.
10563
aec84f53
UD
105642011-05-21 Ulrich Drepper <drepper@gmail.com>
10565
05bb4a68
UD
10566 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10567 and CLOCK_BOOTTIME_ALARM.
10568
7ea72f99
UD
10569 [BZ #12782]
10570 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10571 is returned.
10572
7e4afad5
UD
10573 * string/_strerror.c (__strerror_r): Print negative errors as signed
10574 numbers.
10575
8e211fec
UD
10576 [BZ #12777]
10577 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10578 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10579 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10580
f7d82dc9
UD
10581 * configure.in: Fix typo in redirection and correct removal of test
10582 files in two cases.
10583
cc9e536d
UD
10584 [BZ #12788]
10585 * locale/setlocale.c (new_composite_name): Fix test to check for
10586 identical name of all categories.
10587
aec84f53
UD
10588 [BZ #12792]
10589 * libio/filedoalloc.c (local_isatty): New function.
10590 (_IO_file_doallocate): Use local_isatty.
10591 * stdio-common/perror.c (perror): In case a new stream is used
10592 forward the stream error.
10593 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10594 error flag.
10595
78e64fdc
RT
105962011-05-20 Ulrich Drepper <drepper@gmail.com>
10597
34a9094f
UD
10598 [BZ #11869]
10599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10600 alloca.
10601 * include/alloca.h (extend_alloca_account): Define.
10602
78e64fdc
RT
10603 [BZ #11857]
10604 * posix/regex.h: Fix comments with documentation of user-accessible
10605 fields after compilation and describe correct free'ing of pattern
10606 after re_compile_pattern.
10607 Patch by Reuben Thomas <rrt@sc3d.org>.
10608
457bddfc
RA
106092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10610
10611 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10612 and -mno-altivec to prevent the compiler from using Altivec and/or
10613 VSX instructions when the corresponding registers are not available.
10614
a4527b51
AS
106152011-05-19 Andreas Schwab <schwab@redhat.com>
10616
10617 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10618
ed690b2f
UD
106192011-05-19 Ulrich Drepper <drepper@gmail.com>
10620
10621 * libio/freopen.c (freopen): Use __dup2, not dup2.
10622 * libio/freopen64.c (freopen64): Likewise.
10623
8db73634
L
106242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10625
10626 [BZ #12775]
10627 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10628 * math/Makefile (tests): Add test-powl.
10629 (CFLAGS-test-powl.c): Define.
10630 * math/test-powl.c: New file.
10631
0a197a9d
L
106322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10635
ee30c380
UD
106362011-05-17 Ulrich Drepper <drepper@gmail.com>
10637
10638 [BZ #11837]
10639 * iconvdata/gb18030.c: Update to GB18020-2005.
10640
6ce75379
UD
106412011-05-16 Ulrich Drepper <drepper@gmail.com>
10642
a4b89fd8
AR
10643 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10644 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10645 Patch by Aharon Robbins <arnold@skeeve.com>.
10646
ea389b12
UD
10647 [BZ #11892]
10648 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10649 on the stack.
10650
68a3f91f
UD
10651 [BZ #11895]
10652 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10653 through underflows.
10654
15cc7dd1
UD
10655 [BZ #12766]
10656 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10657 point to strings before performing equality test for error_one_per_line
10658 mode.
10659
f3799213
UD
10660 [BZ #11697]
10661 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10662
d79a9c94
UD
10663 [BZ #11820]
10664 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10665 (struct user_fpregs_struct): Avoid __uint*_t types.
10666
56e5eb46
UD
10667 [BZ #6420]
10668 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10669 symbol info. Use it instead of calling _dl_addr locally.
10670 (lock_and_info): New function.
10671 (tr_freehook): Call lock_and_info and pass symbol info as additional
10672 parameter to tr_where.
10673 (tr_mallochook): Likewise.
10674 (tr_reallochook): Likewise.
10675 (tr_memalignhook): Likewise.
10676
6ce75379
UD
10677 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10678 used and couldn't be at all thread-safe.
10679
f8a3b5bf
UD
106802011-05-15 Ulrich Drepper <drepper@gmail.com>
10681
94b7cc37
UD
10682 * libio/freopen.c (freopen): Don't close old file descriptor
10683 before the new one is opened. Instead dup the new file descriptor
10684 to the old one after the new stream is created.
10685 * libio/freopen64.c (freopen64): Likewise.
10686 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10687 * libio/fileops.c (_IO_new_file_close_it): Handle new
10688 _IO_FLAGS2_NOCLOSE flag.
10689 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10690 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10691 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10692 _IO_FLAGS2_NOCLOSE flag.
10693 * include/unistd.h: Add hidden_proto for dup3.
10694 Define __have_dup3.
10695 * io/dup3.c: Define hidden symbol.
10696 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10697
bd25564e
UD
10698 [BZ #7101]
10699 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10700 when an incomplete long option is used.
10701 * posix/tst-getopt_long1.c: New file.
10702 * posix/Makefile (tests): Add tst-getopt_long1.
10703
c84cfef4
UD
10704 [BZ #10138]
10705 * scripts/config.guess: Update from autoconf-2.68.
10706 * scripts/config.sub: Likewise.
10707
3b85df27
UD
10708 [BZ #10157]
10709 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10710 tests into ...
10711 (has_cpuclock): ...this. New function.
10712 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10713 macro here based on has_cpuclock code.
10714
15a856b1
UD
10715 [BZ #10149]
10716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10717 First byte (not low byte) is now always NUL.
10718 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10719
05f399e6
UD
10720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10721 Use non-cancelable interfaces.
10722
10a52685 10723 [BZ #9809]
94ecc67d
UD
10724 * locale/iso-639.def: Add entry for Sorani.
10725
f8a3b5bf
UD
10726 [BZ #11901]
10727 * include/stdlib.h: Move include protection to the right place.
10728 Define abort_msg_s. Declare __abort_msg with it.
10729 * stdlib/abort.c (__abort_msg): Adjust type.
10730 * assert/assert.c (__assert_fail_base): New function. Majority
10731 of code from __assert_fail. Allocate memory for __abort_msg with
10732 mmap.
10733 (__assert_fail): Now call __assert_fail_base.
10734 * assert/assert-perr.c: Remove bulk of implementation. Use
10735 __assert_fail_base.
10736 * include/assert.hL Declare __assert_fail_base.
10737 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10738 mmap.
10739 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10740
1af4e298
UD
107412011-05-14 Ulrich Drepper <drepper@gmail.com>
10742
f8a3b5bf 10743 [BZ #11952]
d26dfc60
MG
10744 [BZ #12453]
10745 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10746 until all modules are registered in the DTV.
10747 * elf/Makefile: Add rules to build and run tst-tls19.
10748 * elf/tst-tls19.c: New file.
10749 * elf/tst-tls19mod1.c: New file.
10750 * elf/tst-tls19mod2.c: New file.
10751 * elf/tst-tls19mod3.c: New file.
10752 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10753
2fc54d6f
UD
10754 [BZ #12083]
10755 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10756 correctly.
10757
98d76b46
UD
10758 [BZ #12601]
10759 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10760 two-byte sequence errors.
10761 * iconvdata/Makefile (tests): Add bug-iconv8.
10762 * iconvdata/bug-iconv8.c: New file.
10763
da3c19ef
UD
10764 [BZ #12626]
10765 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10766 buf2 definition.
10767
ca408c15
UD
10768 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10769
d6f67f7d
UD
10770 [BZ #12432]
10771 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10772 (dummy_getcfa): New function.
10773 (init): Get _Unwind_GetCFA address, use dummy if not found.
10774 (backtrace_helper): In recursion check, also check whether CFA changes.
10775 (__backtrace): Completely initialize arg.
10776
1af4e298 10777 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10778 storing incomplete byte sequence in state object. Avoid testing for
10779 guaranteed too small input if we know there is enough data available.
1af4e298 10780
da62f81b
AS
107812011-05-11 Andreas Schwab <schwab@redhat.com>
10782
10783 * Makeconfig (+link-pie): Indent.
10784 * Rules (binaries-pie): Define if $(have-fpie) and
10785 $(build-shared).
10786 (binaries-shared): Also filter out $(binaries-pie).
10787 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10788 * nscd/Makefile (others-pie): Add nscd.
10789 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10790 ($(objpfx)nscd): Remove command override.
10791 * login/Makefile (others-pie): Add pt_chown.
10792 ($(objpfx)pt_chown): Remove command override.
10793 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10794 remove command overrides.
10795
fcabc0f8
UD
107962011-05-13 Ulrich Drepper <drepper@gmail.com>
10797
20030ae6
UD
10798 * libio/tst_putwc.c: Fix error messages.
10799
fcabc0f8
UD
10800 [BZ #12724]
10801 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10802 currently writing and seek to current position when not.
10803 * libio/Makefile (tests): Add bug-fclose1.
10804 * libio/bug-fclose1.c: New file.
10805
320a5dc0
PB
108062011-05-12 Ulrich Drepper <drepper@gmail.com>
10807
10808 [BZ #12511]
10809 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10810 don't set DF_1_NODELETE here.
10811 (do_lookup_x): When entering new entry test for copy relocation
10812 and if necessary set DF_1_NODELETE flag.
10813 * elf/tst-unique4.cc: New file.
10814 * elf/tst-unique4.h: New file.
10815 * elf/tst-unique4lib.cc: New file.
10816 * elf/Makefile: Add rules to build and run tst-unique4.
10817 Patch by Piotr Bury <pbury@goahead.com>.
10818
22836f52
UD
108192011-05-11 Ulrich Drepper <drepper@gmail.com>
10820
f574184a
UD
10821 [BZ #12052]
10822 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10823
e1fb097f
UD
10824 [BZ #12625]
10825 * misc/mntent_r.c (addmntent): Flush the stream after the output
10826
22836f52
UD
10827 [BZ #12393]
10828 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10829 (is_trusted_path_normalize): Skip initial colon. Append slash
10830 to empty buffer. Duplicate is_trusted_path code but allow
10831 constructed patch to be prefix.
10832 (is_dst): Allow $ORIGIN followed by /.
10833 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10834 Correct testing of result of is_trusted_path_normalize
10835 (decompose_rpath): Fix warning.
10836
7b3b0b2a
UD
108372011-05-10 Ulrich Drepper <drepper@gmail.com>
10838
10839 [BZ #11257]
10840 * grp/initgroups.c (internal_getgrouplist): When we found the service
10841 list through the initgroups entry in nsswitch.conf do not always
10842 continue on a successful lookup. Don't always use the
eac80ce2 10843 __nss_group_database value if it is set.
7b3b0b2a
UD
10844 * nss/nsswitch.conf (initgroups): Change action for successful db
10845 lookup to continue for compatibility.
10846
2a81eaa5
UD
108472011-05-09 Ulrich Drepper <drepper@gmail.com>
10848
be97a69e
UD
10849 [BZ #11532]
10850 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10851 and CP774 modules.
10852 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10853 and CP774 modules.
10854 * iconvdata/tst-tables.sh: Likewise.
10855 * iconvdata/cp770.c: New file.
10856 * iconvdata/cp771.c: New file.
10857 * iconvdata/cp772.c: New file.
10858 * iconvdata/cp773.c: New file.
10859 * iconvdata/cp774.c: New file.
10860 * iconvdata/testdata/CP770: New file.
10861 * iconvdata/testdata/CP770..UTF8: New file.
10862 * iconvdata/testdata/CP771: New file.
10863 * iconvdata/testdata/CP771..UTF8: New file.
10864 * iconvdata/testdata/CP772: New file.
10865 * iconvdata/testdata/CP772..UTF8: New file.
10866 * iconvdata/testdata/CP773: New file.
10867 * iconvdata/testdata/CP773..UTF8: New file.
10868 * iconvdata/testdata/CP774: New file.
10869 * iconvdata/testdata/CP774..UTF8: New file.
10870
10871 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10872 END CHARMAP line.
10873 * iconvdata/gen-8bit-gap.sh: Likewise.
10874 * iconvdata/gen-8bit.sh: Likewise.
10875
c1e9e399
UD
10876 * locale/iso-639.def: Add ary entry.
10877
24c55fb3 10878 [BZ #11258]
96b4b1b0
UD
10879 * locale/C-translit.h.in: Add U20A1 transliteration.
10880
bdc2f971
KB
10881 [BZ #12178]
10882 * locale/iso-639.def: Add wae entry.
10883 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10884
2952b117
UD
10885 [BZ #12545]
10886 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10887 for n.
10888
2a81eaa5
UD
10889 [BZ #12711]
10890 * locale/C-translit.h.in: Add entry for U20B9.
10891 Patch by pravin.d.s@gmail.com.
10892
28377d1b
UD
108932011-05-08 Ulrich Drepper <drepper@gmail.com>
10894
7fb90fb8
UD
10895 [BZ #12713]
10896 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10897 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10898 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10899 in rtld. Use *stat64.
7fb90fb8 10900 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10901 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10902 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10903 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10904 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10905 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10906 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10907 __fstatat64 macros.
7fb90fb8
UD
10908 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10909 * dirent/rewinddir.c: Add libc_hidden_def.
10910 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10911 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10912
28377d1b
UD
10913 * include/dirent.h (__alloc_dir): Add flags parameter.
10914 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10915 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10916 __alloc_dir.
10917 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10918 from fdopendir if O_CLOEXEC is already set.
10919
66bdbaa4
AM
109202011-03-15 Alan Modra <amodra@gmail.com>
10921
10922 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10923 l_tls_firstbyte_offset non-zero. Save padding offset in
10924 l_tls_firstbyte_offset for later use.
10925 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10926 freeing static tls block.
10927
95721191
JN
109282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10929
10930 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10931 where #ifdef was intended. The intent is to prevent ARG_MAX from
10932 being defined by the kernel headers.
10933
f87dfb1f
UD
109342011-05-07 Ulrich Drepper <drepper@gmail.com>
10935
10936 [BZ #12734]
10937 * resolv/resolv.h: Define RES_NOTLDQUERY.
10938 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10939 no-tld-query and set RES_NOTLDQUERY.
10940 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10941 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10942 modern BIND to search name as TLD unless forbidden.
10943
47c3cd7a
UD
109442011-05-07 Petr Baudis <pasky@suse.cz>
10945 Ulrich Drepper <drepper@gmail.com>
10946
10947 [BZ #12393]
10948 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10949 (is_trusted_path): ...to here.
c1e9ea35 10950 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10951 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10952 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10953
8a35c912
PP
109542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10955
10956 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10957 __BEGIN/__END_DECLS.
10958
acd41f47
UD
109592011-05-06 Ulrich Drepper <drepper@gmail.com>
10960
10961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10962 NSS_STATUS_NOTFOUND if no record was found.
10963
597df647
AS
109642011-05-05 Andreas Schwab <schwab@redhat.com>
10965
10966 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10967 (headers-not-in-tirpc): Remove rpc/netdb.h
10968 * resolv/netdb.h: Revert last change.
10969
b9af1301
PP
109702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10971
10972 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10973 circular dependency between libgcc.a and libc.a.
10974
4e34d5f5
AS
109752011-05-05 Andreas Schwab <schwab@redhat.com>
10976
10977 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10978 * nis/Makefile: Don't install rpcsvc/*.
10979 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10980 instead of <rpc/types.h>.
10981 (MAXHOSTNAMELEN): Define.
10982
00ee369c
AS
109832011-05-03 Andreas Schwab <schwab@redhat.com>
10984
10985 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10986
0b592a30
MB
109872011-04-28 Maciej Babinski <mbabinski@google.com>
10988
10989 [BZ #12714]
10990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10991 gethostbyname4_r when IPv6 results are possible.
10992
6e04cbbe
UD
109932011-05-02 Ulrich Drepper <drepper@gmail.com>
10994
10995 [BZ #12723]
10996 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10997 _PC_PIPE_BUF handling.
10998
e4ecafe0
BH
109992011-04-30 Bruno Haible <bruno@clisp.org>
11000
11001 [BZ #12717]
11002 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11003 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11004 to 'int'.
11005 * inet/getnameinfo.c (getnameinfo): Likewise.
11006
125ee683
UD
110072011-04-29 Ulrich Drepper <drepper@gmail.com>
11008
11009 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11010 to groups setting in database lookup.
11011 * nss/nsswitch.conf: Add initgroups entry.
11012
b722481a
EB
110132011-04-22 Ulrich Drepper <drepper@gmail.com>
11014
11015 [BZ #12685]
11016 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11017 mode string.
11018 Patch by Eric Blake <eblake@redhat.com>.
11019
4df46dbd
L
110202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * sunrpc/Makefile (need-export-routines): Add svc_run.
11023 (routines): Remove svc_run.
11024 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11025 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11026 * sunrpc/svc_run.c (svc_run): Likewise.
11027 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11028
e84142d2
UD
110292011-04-21 Ulrich Drepper <drepper@gmail.com>
11030
11031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11032 problem in reallocation in last patch.
11033
877175d8
UD
110342011-04-20 Ulrich Drepper <drepper@gmail.com>
11035
11036 * sunrpc/Makefile: Move inclusion of Rules.
11037
ab8eed78
UD
110382011-04-19 Ulrich Drepper <drepper@gmail.com>
11039
11040 * nss/nss_files/files-initgroups.c: New file.
11041 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11042 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11043 _nss_files_initgroups_dyn.
11044
e3d8f584
RS
110452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11046
11047 * elf/elf.h (R_ARM_IRELATIVE): Define.
11048
af190f45
UD
110492011-04-19 Ulrich Drepper <drepper@gmail.com>
11050
11051 * po/ru.po: Update from translation team.
11052
53cf59ef
UD
110532011-04-17 Ulrich Drepper <drepper@gmail.com>
11054
11055 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11056 dependencies.
11057
4c559bcd
MF
110582011-02-06 Mike Frysinger <vapier@gentoo.org>
11059
11060 [BZ #12653]
11061 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11062 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11063 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11064 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11066
4420675c
AS
110672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11068
11069 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11070 differing bytes.
11071 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11073 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11074
75ea32ab
UD
110752011-04-17 Ulrich Drepper <drepper@gmail.com>
11076
11077 [BZ #12420]
11078 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11079 storing it.
11080 * stdlib/bug-getcontext.c: New file.
11081 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11082
27390476
AK
110832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11084
11085 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11086 instructions into .machine "z9-109".
11087 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11088 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11089
10442705
AK
110902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11091
11092 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11093 between environment variables and auxiliary vector.
11094
7b57bfe5
UD
110952011-04-16 Ulrich Drepper <drepper@gmail.com>
11096
11097 * Makefile: Add rules to build linkobj/libc.so.
11098 * include/libc-symbols.h: Define libc_hidden_nolink.
11099 * include/rpc/auth.h: Mark functions which are to be hidden.
11100 * include/rpc/auth_des.h: Likewise.
11101 * include/rpc/auth_unix.h: Likewise.
11102 * include/rpc/clnt.h: Likewise.
11103 * include/rpc/des_crypt.h: Likewise.
11104 * include/rpc/key_prot.h: Likewise.
11105 * include/rpc/pmap_clnt.h: Likewise.
11106 * include/rpc/pmap_prot.h: Likewise.
11107 * include/rpc/pmap_rmt.h: Likewise.
11108 * include/rpc/rpc_msg.h: Likewise.
11109 * include/rpc/svc.h: Likewise.
11110 * include/rpc/svc_auth.h: Likewise.
11111 * include/rpc/xdr.h: Likewise.
11112 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11113 * nss/Makefile: Likewise.
11114 * sunrpc/Makefile: Don't install headers. Build library with normal
11115 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11116 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11117 for the compat linking library. Remove use of INTDEF/INTUSE.
11118 * sunrpc/auth_none.c: Likewise.
11119 * sunrpc/auth_unix.c: Likewise.
11120 * sunrpc/authdes_prot.c: Likewise.
11121 * sunrpc/authuxprot.c: Likewise.
11122 * sunrpc/clnt_gen.c: Likewise.
11123 * sunrpc/clnt_perr.c: Likewise.
11124 * sunrpc/clnt_raw.c: Likewise.
11125 * sunrpc/clnt_simp.c: Likewise.
11126 * sunrpc/clnt_tcp.c: Likewise.
11127 * sunrpc/clnt_udp.c: Likewise.
11128 * sunrpc/clnt_unix.c: Likewise.
11129 * sunrpc/des_crypt.c: Likewise.
11130 * sunrpc/des_soft.c: Likewise.
11131 * sunrpc/get_myaddr.c: Likewise.
11132 * sunrpc/key_call.c: Likewise.
11133 * sunrpc/key_prot.c: Likewise.
11134 * sunrpc/netname.c: Likewise.
11135 * sunrpc/pm_getmaps.c: Likewise.
11136 * sunrpc/pm_getport.c: Likewise.
11137 * sunrpc/pmap_clnt.c: Likewise.
11138 * sunrpc/pmap_prot.c: Likewise.
11139 * sunrpc/pmap_prot2.c: Likewise.
11140 * sunrpc/pmap_rmt.c: Likewise.
11141 * sunrpc/publickey.c: Likewise.
11142 * sunrpc/rpc_cmsg.c: Likewise.
11143 * sunrpc/rpc_common.c: Likewise.
11144 * sunrpc/rpc_dtable.c: Likewise.
11145 * sunrpc/rpc_prot.c: Likewise.
11146 * sunrpc/rpc_thread.c: Likewise.
11147 * sunrpc/rtime.c: Likewise.
11148 * sunrpc/svc.c: Likewise.
11149 * sunrpc/svc_auth.c: Likewise.
11150 * sunrpc/svc_authux.c: Likewise.
11151 * sunrpc/svc_raw.c: Likewise.
11152 * sunrpc/svc_run.c: Likewise.
11153 * sunrpc/svc_simple.c: Likewise.
11154 * sunrpc/svc_tcp.c: Likewise.
11155 * sunrpc/svc_udp.c: Likewise.
11156 * sunrpc/svc_unix.c: Likewise.
11157 * sunrpc/svcauth_des.c: Likewise.
11158 * sunrpc/xcrypt.c: Likewise.
11159 * sunrpc/xdr.c: Likewise.
11160 * sunrpc/xdr_array.c: Likewise.
11161 * sunrpc/xdr_float.c: Likewise.
11162 * sunrpc/xdr_intXX_t.c: Likewise.
11163 * sunrpc/xdr_mem.c: Likewise.
11164 * sunrpc/xdr_rec.c: Likewise.
11165 * sunrpc/xdr_ref.c: Likewise.
11166 * sunrpc/xdr_sizeof.c: Likewise.
11167 * sunrpc/xdr_stdio.c: Likewise.
11168
e6c61494
UD
111692011-04-10 Ulrich Drepper <drepper@gmail.com>
11170
11171 [BZ #12650]
11172 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11173 * sysdeps/ia64/dl-tls.h: Likewise.
11174 * sysdeps/powerpc/dl-tls.h: Likewise.
11175 * sysdeps/s390/dl-tls.h: Likewise.
11176 * sysdeps/sh/dl-tls.h: Likewise.
11177 * sysdeps/sparc/dl-tls.h: Likewise.
11178 * sysdeps/x86_64/dl-tls.h: Likewise.
11179 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11180
34fe483e
AS
111812011-03-14 Andreas Schwab <schwab@redhat.com>
11182
11183 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11184 rpath element also skip the following colon.
11185 (expand_dynamic_string_token): Add is_path parameter and pass
11186 down to DL_DST_REQUIRED and _dl_dst_substitute.
11187 (decompose_rpath): Call expand_dynamic_string_token with
11188 non-zero is_path. Ignore empty rpaths.
11189 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11190 with zero is_path.
11191
f12a32e6
AS
111922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11193
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11195 Make cancelable.
11196
38a7d692
UD
111972011-04-09 Ulrich Drepper <drepper@gmail.com>
11198
11199 [BZ #12655]
11200 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11201 Patch by Filipe David Manana <fdmanana@apache.org>.
11202
e451d22b
AS
112032011-04-07 Andreas Schwab <schwab@redhat.com>
11204
11205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11206 Maintain aligned stack.
11207 (CHECK_RSP): Remove unused macro.
11208
dedc7c7b
UD
112092011-04-03 Ulrich Drepper <drepper@gmail.com>
11210
11211 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11212 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11213
94521213
UD
112142011-04-02 Ulrich Drepper <drepper@gmail.com>
11215
11216 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11217
8cb700c0 11218 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11219
0354e355
L
112202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 [BZ #12518]
11223 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11224 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11225 * sysdeps/x86_64/memmove.c: New file.
11226 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11227 (memcpy): Renamed to ...
11228 (__new_memcpy): This.
11229 (memcpy): Provide GLIBC_2_14 memcpy.
11230 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11231 (memcpy): Provide GLIBC_2_2_5 memcpy.
11232
8593482f
UD
112332011-04-01 Ulrich Drepper <drepper@gmail.com>
11234
11235 [BZ #12631]
11236 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11237
81a5726b
AS
112382011-03-30 Andreas Schwab <schwab@redhat.com>
11239
11240 * misc/syncfs.c: New file.
11241 * misc/Makefile (routines): Add syncfs.
11242 * posix/unistd.h: Declare syncfs.
11243 * sysdeps/unix/syscalls.list: Add syncfs.
11244
00e5419f
AS
112452011-04-01 Andreas Schwab <schwab@redhat.com>
11246
11247 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11248 open_by_handle_at.
11249 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11250 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11252 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11254 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11256
748876bf
UD
112572011-04-01 Ulrich Drepper <drepper@gmail.com>
11258
658e451d
UD
11259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11260 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11261 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11266
748876bf
UD
11267 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11268 sync_file_range.c with -fexceptions.
11269 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11270 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11271 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11272 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11273 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11274 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11276 sync_file_range as cancellation point
11277 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11278 now a wrapper around __call_sync_file_range with cancellation handling.
11279 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11280 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11281 function name to __call_sync_file_range.
11282 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11283 Add call_sync_file_range.
748876bf 11284
6e63d5e1
AS
112852011-04-01 Andreas Schwab <schwab@redhat.com>
11286
11287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11288 bits/timex.h.
6e63d5e1 11289
46998f74
UD
112902011-04-01 Ulrich Drepper <drepper@gmail.com>
11291
4c1423ed
UD
11292 * iconv/iconv.h: Fix typo in comment.
11293 * io/fcntl.h: Likewise.
11294 * libio/stdio.h: Likewise.
11295 * posix/spawn.h: Likewise.
11296 * posix/unistd.h: Likewise.
11297 * stdlib/stdlib.h: Likewise.
11298 * time/time.h: Likewise.
11299 * wcsmbs/wchar.h: Likewise.
11300
158648c0
UD
11301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11302 open_by_handle): Add.
11303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11304 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11305 Augment a few comments.
11306 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11311 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11312 open_by_handle.
11313
46998f74
UD
11314 * io/fcntl.h (AT_EMPTY_PATH): Define.
11315
83fe108b
UD
113162011-03-30 Ulrich Drepper <drepper@gmail.com>
11317
11318 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11319 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11320 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11321 to...
11322 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11323 * Versions.def: Add GLIBC_2.14.
11324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11325 Export.
83fe108b 11326
bb242059
UD
113272011-03-22 Ulrich Drepper <drepper@gmail.com>
11328
11329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11330 round counter.
11331 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11332
c97a1282
L
113332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 [BZ #12597]
11336 * string/test-strncmp.c (do_page_test): New function.
11337 (check2): Likewise.
11338 (test_main): Call check2.
11339 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11340
2a115601
UD
113412011-03-20 Ulrich Drepper <drepper@gmail.com>
11342
11343 [BZ #12587]
11344 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11345 Handle cache information in CPU leaf 4.
11346 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11347
8126d904
UD
113482011-03-18 Ulrich Drepper <drepper@gmail.com>
11349
042c49c6 11350 [BZ #12583]
8126d904
UD
11351 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11352 character representation.
11353 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11354
ccfe366e
RA
113552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11356
11357 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11358 END(__isnan) to END(__isnanf) to match function entry point/label
11359 EALIGN(__isnanf,...).
11360
c6e13027
JJ
113612011-03-10 Jakub Jelinek <jakub@redhat.com>
11362
11363 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11364
33f85a3f
UD
113652011-03-10 Ulrich Drepper <drepper@gmail.com>
11366
028478fa
UD
11367 [BZ #12510]
11368 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11369 copy from the symbol referenced in the relocation to initialize the
11370 used variable.
11371 Patch by Piotr Bury <pbury@goahead.com>.
11372 * elf/Makefile: Add rules to build and tst-unique3.
11373 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11374 * elf/tst-unique3.cc: New file.
11375 * elf/tst-unique3.h: New file.
11376 * elf/tst-unique3lib.cc: New file.
11377 * elf/tst-unique3lib2.cc: New file.
11378
33f85a3f
UD
11379 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11380
03592fc7
MF
113812011-03-10 Mike Frysinger <vapier@gentoo.org>
11382
11383 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11384 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11385 to _start.
03592fc7 11386
6a5ee102
UD
113872011-03-06 Ulrich Drepper <drepper@gmail.com>
11388
11389 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11390 to-be-loaded object along a path to loader is ld.so.
11391
7e4ba49c
HJ
113922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11393 Ulrich Drepper <drepper@gmail.com>
11394
11395 * sysdeps/x86_64/memset.S: After aligning destination, code
11396 branches to different locations depending on the value of
11397 misalignment, when multiarch is enabled. Fix this.
11398
113992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11400
11401 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11402 Set _x86_64_preferred_memory_instruction for AMD processsors.
11403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11404 Set bit_Prefer_SSE_for_memop for AMD processors.
11405
13a804de
UD
114062011-03-04 Ulrich Drepper <drepper@gmail.com>
11407
11408 * libio/fmemopen.c (fmemopen): Optimize a bit.
11409
9d25c392
AS
114102011-03-03 Andreas Schwab <schwab@redhat.com>
11411
11412 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11413
a5543c6a
RM
114142011-03-03 Roland McGrath <roland@redhat.com>
11415
11416 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11417
012d35f7
DM
114182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11419
7e4ba49c 11420 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11421 __bzero_ultra1 instead of __memset_ultra1.
11422
4bff6e01
AS
114232011-02-23 Andreas Schwab <schwab@redhat.com>
11424 Ulrich Drepper <drepper@gmail.com>
11425
11426 [BZ #12509]
11427 * include/link.h (struct link_map): Add l_orig_initfini.
11428 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11429 returning unsuccessfully.
11430 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11431 close of a file loaded at startup, restore the original l_initfini
11432 list.
11433 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11434 list, store the pointer.
11435 * elf/Makefile ($(objpfx)noload-mem): New rule.
11436 (noload-ENV): Define.
11437 (tests): Add $(objpfx)noload-mem.
11438 * elf/noload.c: Include <memcheck.h>.
11439 (main): Call mtrace. Close all opened handles.
11440
f2092faf
AS
114412011-02-17 Andreas Schwab <schwab@redhat.com>
11442
11443 [BZ #12454]
11444 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11445 dependencies are missing.
11446
6c8a2e88
ST
114472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11448
f2092faf 11449 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11450 Hurd needs munmap.
11451 * sysdeps/mach/hurd/ifreq.h: New file.
11452
84a42118
PB
114532011-01-27 Petr Baudis <pasky@suse.cz>
11454 Ulrich Drepper <drepper@gmail.com>
11455
071f805e 11456 [BZ 12445]#
84a42118
PB
11457 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11458 to extend_alloca().
11459 * stdio-common/bug23.c: New file.
11460 * stdio-common/Makefile (tests): Add bug23.
11461
e23fe25b
AS
114622010-09-28 Andreas Schwab <schwab@redhat.com>
11463 Ulrich Drepper <drepper@gmail.com>
11464
11465 [BZ #12489]
11466 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11467 before performing relro protection. At old place add assertion
11468 to make sure nothing changed.
11469
d3f02e10
NS
114702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11471 Glauber de Oliveira Costa <glommer@gmail.com>
11472
11473 * elf/elf.h: Add new ARM TLS relocs.
11474
d55fd7a5
RA
114752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11476
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11478 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11479 cast from r3.
11480 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11481 'tests' variable.
11482 * sysdeps/wordsize-64/tst-writev.c: New file.
11483
2206397e
RA
114842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11485
11486 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11487 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11488 insns in _dl_start to prevent a TOC reference before relocs are
11489 resolved.
11490
e9433893
UD
114912011-02-15 Ulrich Drepper <drepper@gmail.com>
11492
11493 [BZ #12469]
11494 * Makeconfig: Remove RANLIB definition.
11495 * Makerules: Don't use RANLIB.
11496 * aclocal.m4: Remove ranlib test.
11497 * configure.in: No need to check for ranlib.
11498 * elf/rtld-Rules: Don't use RANLIB.
11499
f75286c6
ST
115002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11501
8e31c82d
ST
11502 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11503 protection macro.
11504 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11505 inclusion protection macro.
11506
f75286c6
ST
11507 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11508 SIGRTMIN and SIGRTMAX and print information in that case only when
11509 SIGRTMIN is defined.
11510
c1d0e639
JJ
115112011-02-11 Jakub Jelinek <jakub@redhat.com>
11512
11513 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11514 arginfo fn returning -1.
11515
11516 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11517 and thousands string is zero terminated.
11518
edf9294e
AS
115192011-02-03 Andreas Schwab <schwab@redhat.com>
11520
11521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11522 sysdeps/unix/sysv/linux/bits/socket.h.
11523
2b7e92df
ST
115242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11525
edf9294e
AS
11526 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11527 (__CPU_COUNT): Remove old macros.
11528 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11529 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11530 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11531 (__sched_cpualloc, __sched_cpufree): Add declarations.
11532
a4c7ea7b
UD
115332011-02-05 Ulrich Drepper <drepper@gmail.com>
11534
11535 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11536 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11537 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11538 (readdhstai): Return value of addhstaiX call.
11539 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11540 (addgrbyX): Return value returned by cache_addgr.
11541 (readdgrbyname): Return value returned by addgrbyX.
11542 (readdgrbygid): Likewise.
11543 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11544 (addpwbyX): Return value returned by cache_addpw.
11545 (readdpwbyname): Return value returned by addhstbyX.
11546 (readdpwbyuid): Likewise.
11547 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11548 (addservbyX): Return value returned by cache_addserv.
11549 (readdservbyname): Return value returned by addservbyX:
11550 (readdservbyport): Likewise.
11551 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11552 (addhstbyX): Return value returned by cache_addhst.
11553 (readdhstbyname): Return value returned by addhstbyX.
11554 (readdhstbyaddr): Likewise.
11555 (readdhstbynamev6): Likewise.
11556 (readdhstbyaddrv6): Likewise.
11557 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11558 (readdinitgroups): Return value returned by addinitgroupsX.
11559 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11560 (prune_cache): Keep track of timeout value of re-added entries.
11561 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11562 * nscd/nscd.h: Adjust prototypes of readd* functions.
11563
a0bf67cc
RM
115642011-02-04 Roland McGrath <roland@redhat.com>
11565
11566 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11567 (nis_stats): Likewise.
11568 * nis/nis_modify.c (nis_modify): Likewise.
11569 * nis/nis_remove.c (nis_remove): Likewise.
11570 * nis/nis_add.c (nis_add): Likewise.
11571
11572 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11573
11574 * posix/fnmatch_loop.c: Add some consts.
11575
11576 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11577
435b95eb
L
115782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11579
11580 [BZ #12460]
11581 * config.make.in (config-cflags-novzeroupper): Define.
11582 * configure.in: Substitute libc_cv_cc_novzeroupper.
11583 * elf/Makefile (AVX-CFLAGS): Define.
11584 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11585 (CFLAGS-tst-auditmod4a.c): Likewise.
11586 (CFLAGS-tst-auditmod4b.c): Likewise.
11587 (CFLAGS-tst-auditmod6b.c): Likewise.
11588 (CFLAGS-tst-auditmod6c.c): Likewise.
11589 (CFLAGS-tst-auditmod7b.c): Likewise.
11590 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11591
8517b15e
UD
115922011-02-02 Ulrich Drepper <drepper@gmail.com>
11593
11594 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11595 function to the callback.
11596 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11597
10a656fe
AS
115982011-02-02 Andreas Schwab <schwab@redhat.com>
11599
11600 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11601 of errno.
11602
968dad0a
UD
116032011-01-19 Ulrich Drepper <drepper@gmail.com>
11604
9f94d2ea 11605 [BZ #11724]
968dad0a
UD
11606 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11607 of constructors.
11608 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11609 of destructors.
11610 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11611
11612 [BZ #11724]
11613 * elf/Makefile: Add rules to build and run new test.
11614 * elf/tst-initorder.c: New file.
11615 * elf/tst-initorder.exp: New file.
11616 * elf/tst-initordera1.c: New file.
11617 * elf/tst-initordera2.c: New file.
11618 * elf/tst-initordera3.c: New file.
11619 * elf/tst-initordera4.c: New file.
11620 * elf/tst-initorderb1.c: New file.
11621 * elf/tst-initorderb2.c: New file.
11622 * elf/tst-order-a1.c: New file.
11623 * elf/tst-order-a2.c: New file.
11624 * elf/tst-order-a3.c: New file.
11625 * elf/tst-order-a4.c: New file.
11626 * elf/tst-order-b1.c: New file.
11627 * elf/tst-order-b2.c: New file.
11628 * elf/tst-order-main.c: New file.
11629 New test case by George Gensure <werkt0@gmail.com>.
11630
86e92359
UD
116312010-10-01 Andreas Schwab <schwab@redhat.com>
11632
11633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11634 decoding ACE if AI_CANONIDN.
11635
5d5732b0
UD
116362011-01-18 Ulrich Drepper <drepper@gmail.com>
11637
11638 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11639
a77e8cbc
UD
116402011-01-17 Ulrich Drepper <drepper@gmail.com>
11641
6392473f
UD
11642 * version.h (RELEASE): Bump for 2.13 release.
11643 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11644
620a0529
UD
11645 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11646
18ba70a5
UD
11647 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11648 MADV_NOHUGEPAGE.
32465c3e
UD
11649 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11650 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11651 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11655
c0dafcf1
UD
11656 * posix/getconf.c: Update copyright year.
11657 * catgets/gencat.c: Likewise.
11658 * csu/version.c: Likewise.
11659 * debug/catchsegv.sh: Likewise.
11660 * debug/xtrace.sh: Likewise.
11661 * elf/ldconfig.c: Likewise.
11662 * elf/ldd.bash.in: Likewise.
11663 * elf/sprof.c (print_version): Likewise.
11664 * iconv/iconv_prog.c: Likewise.
11665 * iconv/iconvconfig.c: Likewise.
11666 * locale/programs/locale.c: Likewise.
11667 * locale/programs/localedef.c: Likewise.
11668 * malloc/memusage.sh: Likewise.
11669 * malloc/mtrace.pl: Likewise.
11670 * nscd/nscd.c (print_version): Likewise.
11671 * nss/getent.c: Likewise.
11672
a77e8cbc
UD
11673 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11674 PF_CAIF, and PF_ALG.
11675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11676
77e8bddf
AS
116772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11678
1f20b93a
AS
11679 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11680 (modules-names): Use them.
11681 (ifunc-test-modules, ifunc-pie-tests): Define.
11682 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11683 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11684 (test-extras): Likewise.
11685 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11686 $(compile-command.c).
11687 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11688 (all-built-dso): Define.
11689 (check-textrel.out, check-execstack.out): Depend on it.
11690
77e8bddf
AS
11691 * configure.in: Don't override --enable-multi-arch.
11692
bc425b33
UD
116932011-01-15 Ulrich Drepper <drepper@gmail.com>
11694
11695 [BZ #6812]
11696 * nscd/hstcache.c (tryagain): Define.
11697 (cache_addhst): Return tryagain not notfound for temporary errors.
11698 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11699 failed.
11700
794c3ad3
UD
117012011-01-14 Ulrich Drepper <drepper@gmail.com>
11702
70181fdd
UD
11703 [BZ #10563]
11704 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11705 to make the syscall.
11706 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11707
794c3ad3
UD
11708 [BZ #12378]
11709 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11710 and fall back to matching as normal character if the string ends before
11711 the matching ']' is found. This is what POSIX requires.
11712 * posix/testfnm.c: Adjust test result.
11713 * posix/globtest.sh: Adjust test result. Add new test.
11714 * posix/tst-fnmatch.input: Likewise.
11715 * posix/tst-fnmatch2.c: Add new test.
11716
68dc9497
AS
117172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11718
11719 * elf/Makefile (check-execstack): Revert last change. Depend on
11720 check-execstack.h.
11721 (check-execstack.h): New target.
11722 (generated): Add check-execstack.h.
11723 * elf/check-execstack.c: Include "check-execstack.h".
11724 (main): Revert last change.
11725 (handle_file): Return zero if GNU_STACK is absent and
11726 DEFAULT_STACK_PERMS doesn't include PF_X.
11727
451f001b
UD
117282011-01-13 Ulrich Drepper <drepper@gmail.com>
11729
cfa28e56
UD
11730 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11731 in child fails because the descriptor is already closed.
8cf8ce17
UD
11732 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11733 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11734 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11735
1086d70d
UD
11736 [BZ #12397]
11737 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11738 syscall.
11739
451f001b
UD
11740 [BZ #10484]
11741 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11742 temporary buffer used to handle multi lookups locally.
a85b5cb4 11743 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11744
08769175
UD
117452011-01-12 Ulrich Drepper <drepper@gmail.com>
11746
11747 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11748 loader is ld.so.
11749
5e49c52e
UD
117502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11751
11752 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11753 alignment for SSE2.
11754
60522a5f
UD
117552011-01-12 Ulrich Drepper <drepper@gmail.com>
11756
11757 [BZ #12394]
11758 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11759 characters. When rounding increased number of integer digits recompute
11760 number of groups.
11761 * stdio-common/tst-grouping.c: New file.
11762 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11763
f257bbd7
UD
117642011-01-09 Ulrich Drepper <drepper@gmail.com>
11765
11766 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11767 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11768
11769 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11770 void.
11771 * bits/select.h: Likewise.
11772
fa9c15cb
UD
117732011-01-08 Ulrich Drepper <drepper@gmail.com>
11774
11775 * po/ja.po: Update from translation team.
11776
16c2895f
DM
117772011-01-04 David S. Miller <davem@sunset.davemloft.net>
11778
11779 [BZ #11155]
11780 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11781 implementation just like for lxstat, fxstatat, et al.
11782
2543fef2
JM
117832010-12-27 Jim Meyering <meyering@redhat.com>
11784
11785 [BZ #12348]
11786 * posix/regexec.c (build_trtable): Return failure indication upon
11787 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11788
98727dbe
UD
117892010-12-25 Ulrich Drepper <drepper@gmail.com>
11790
5bd6dc5c
UD
11791 [BZ #12201]
11792 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11793 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11794 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11795 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11796
97983464
UD
11797 [BZ #12207]
11798 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11799
98727dbe
UD
11800 [BZ #12204]
11801 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11802 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11803
4a531bb0
L
118042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11805
11806 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11807 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11808 script has SORT_BY_INIT_PRIORITY.
11809 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11810 NO_CTORS_DTORS_SECTIONS is defined.
11811 * elf/soinit.c: Likewise.
11812 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11813 NO_CTORS_DTORS_SECTIONS is defined.
11814 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11815 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11816 * sysdeps/sh/init-first.c: Likewise.
11817 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11818
07eb4b71
UD
118192010-12-24 Ulrich Drepper <drepper@gmail.com>
11820
11821 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11822 always use the slow path.
11823
30950a5f
RA
118242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11825
11826 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11827 similar rule which adds the sysdep directories to the header search in
11828 order to pick up the correct platform stackinfo.h.
11829 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11830 perform test if it is, otherwise return successfully without testing.
11831 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11832 DEFAULT_STACK_PERMS define in stackinfo.h.
11833 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11834 defined in stackinfo.h.
11835 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11836 DEFAULT_STACK_PERMS defined in stackinfo.h.
11837 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11838 * sysdeps/ia64/stackinfo.h: Likewise.
11839 * sysdeps/s390/stackinfo.h: Likewise.
11840 * sysdeps/sh/stackinfo.h: Likewise.
11841 * sysdeps/sparc/stackinfo.h: Likewise.
11842 * sysdeps/x86_64/stackinfo.h: Likewise.
11843 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11844 PF_X for powerpc64. Retain PF_X for powerpc32.
11845
db753e2c
UD
118462010-12-19 Ulrich Drepper <drepper@gmail.com>
11847
14b697f7
UD
11848 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11849 accurately.
db753e2c
UD
11850 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11851 GETDENTS_64BIT_ALIGNED.
11852
28300719
UD
118532010-12-14 Ulrich Drepper <dreper@gmail.com>
11854
14b697f7 11855 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11856
4f197237
AS
118572010-12-10 Andreas Schwab <schwab@redhat.com>
11858
dbb0472f
AS
11859 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11860 _GNU_SOURCE.
11861
4f197237
AS
11862 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11863 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11864 Remove __restrict.
11865 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11866 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11867
fb88ac72
UD
118682010-12-09 Ulrich Drepper <drepper@gmail.com>
11869
11870 [BZ #11655]
11871 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11872 are initialized.
11873
42acbb92
JJ
118742010-12-09 Jakub Jelinek <jakub@redhat.com>
11875
11876 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11877
c038d98d
UD
118782010-12-03 Ulrich Drepper <drepper@gmail.com>
11879
11880 * po/it.po: Update from translation team.
11881
3a4a2499
L
118822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11883
11884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11885 unused codes.
11886
1e24cf6e
UD
118872010-11-30 Ulrich Drepper <drepper@gmail.com>
11888
11889 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11890
a7690819
AS
118912010-11-24 Andreas Schwab <schwab@redhat.com>
11892
11893 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11894 specially.
11895 (gaih_getanswer_slice): Likewise.
11896
3bf8d1b1
JJ
118972010-10-20 Jakub Jelinek <jakub@redhat.com>
11898
11899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11900
6db52fbb
PB
119012010-05-31 Petr Baudis <pasky@suse.cz>
11902
11903 [BZ #11149]
11904 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11905 silently even in the chroot mode.
11906
eaca7569
UD
119072010-11-22 Ulrich Drepper <drepper@gmail.com>
11908
11909 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11910 last patch a bit. Pretty printing
11911
3056dcdb
UD
119122010-05-31 Petr Baudis <pasky@suse.cz>
11913
11914 [BZ #10085]
11915 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11916 initialization of skip_initgroups_dyn.
11917
cf7c9078
UD
119182010-11-19 Ulrich Drepper <drepper@gmail.com>
11919
11920 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11921 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11922
a1fb5e3e
UD
119232010-11-16 Ulrich Drepper <drepper@gmail.com>
11924
11925 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11926
3540d66b
AS
119272010-11-11 Andreas Schwab <schwab@redhat.com>
11928
11929 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11930 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11931 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11932 ($(objpfx)tst-fnmatch-mem): New rule.
11933 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11934 * posix/tst-fnmatch.c (main): Call mtrace.
11935
13b69574
L
119362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11937
11938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11939 Support Intel processor model 6 and model 0x2c.
11940
da93d214
LM
119412010-11-10 Luis Machado <luisgpm@br.ibm.com>
11942
11943 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11944 signed comparison.
11945
8ca52c6e
L
119462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 [BZ #12205]
11949 * string/test-strncasecmp.c (check_result): New function.
11950 (do_one_test): Use it.
11951 (check1): New function.
11952 (test_main): Use it.
11953 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11954 Support strcasecmp and strncasecmp.
11955
69da074d
UD
119562010-11-08 Ulrich Drepper <drepper@gmail.com>
11957
11958 [BZ #12194]
11959 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11960 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11961
ff02d528
L
119622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11963
11964 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11965 IFUNC support.
11966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11967 memset-x86-64.
11968 * sysdeps/x86_64/multiarch/bzero.S: New file.
11969 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11970 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11971 * sysdeps/x86_64/multiarch/memset.S: New file.
11972 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11974 Set bit_Prefer_SSE_for_memop for Intel processors.
11975 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11976 Define.
11977 (index_Prefer_SSE_for_memop): Define.
11978 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11979
344d0b54
LM
119802010-11-04 Luis Machado <luisgpm@br.ibm.com>
11981
11982 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11983 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11984
c0dde15b
UD
119852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11986
11987 [BZ #12191]
11988 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11989 (__x86_64_raw_data_cache_size_half): Likewise.
11990 (__x86_64_raw_shared_cache_size): Likewise.
11991 (__x86_64_raw_shared_cache_size_half): Likewise.
11992
11993 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11994 (__x86_64_raw_data_cache_size_half): Likewise.
11995 (__x86_64_raw_shared_cache_size): Likewise.
11996 (__x86_64_raw_shared_cache_size_half): Likewise.
11997 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11998 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11999 and __x86_64_raw_shared_cache_size_half. Round
12000 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12001 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12002 to multiple of 256 bytes.
12003
0e516e0e
MS
120042010-11-03 Ulrich Drepper <drepper@gmail.com>
12005
12006 [BZ #12167]
12007 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12008 of inacessible symlinks. Verify result of symlink before returning it.
12009 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12010 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12011
0e012e87
ER
120122010-10-28 Erich Ritz <erichritz@gmail.com>
12013
12014 * math/math.h (isinf): Fix typo in comment.
12015
de0ff7bc
UD
120162010-11-01 Ulrich Drepper <drepper@gmail.com>
12017
12018 * po/da.po: Update from translation team.
12019
fa41c84d
UD
120202010-10-26 Ulrich Drepper <drepper@gmail.com>
12021
12022 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12023 is added to the list.
12024
f0967738
AK
120252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12026 Ulrich Drepper <drepper@gmail.com>
12027
12028 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12029 the global list here. Move code to...
12030 (_dl_add_to_namespace_list): ...here. New function.
12031 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12032 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12033 * elf/dl-load.c (lose): Don't remove the element from the list.
12034 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12035 (_dl_map_object): Likewise.
12036
120372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12038
12039 [BZ #12159]
12040 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12041 into all bytes of SSE register.
12042 Patch by Richard Li <richardpku@gmail.com>.
12043
f0967738 120442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12045
12046 [BZ #12140]
12047 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12048 perturbing.
12049
d0b9e94f
MB
120502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12051
12052 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12053 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12054 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12055 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12057 submachine.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12059
8e9f92e9
AS
120602010-10-22 Andreas Schwab <schwab@redhat.com>
12061
12062 * include/dlfcn.h (__RTLD_SECURE): Define.
12063 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12064 mode & __RTLD_SECURE instead.
12065 (open_path): Rename preloaded parameter to secure.
12066 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12067 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12068 * elf/dl-deps.c (openaux): Likewise.
12069 * elf/rtld.c (struct map_args): Remove is_preloaded.
12070 (map_doit): Don't use it.
12071 (dl_main): Likewise.
12072 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12073 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12074
bc96fbda
AS
120752010-09-09 Andreas Schwab <schwab@redhat.com>
12076
12077 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12078 (sysd-rules-targets): Remove duplicates.
12079 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12080 rtld-%.$o dependency.
12081
22cd1c9b
AS
120822010-10-18 Andreas Schwab <schwab@redhat.com>
12083
12084 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12085 _dl_map_object do it.
12086
18edac48
UD
120872010-10-19 Ulrich Drepper <drepper@gmail.com>
12088
12089 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12090 fast fma builtins, define the macros in the C99 standard.
12091 (FP_FAST_FMAF): Likewise.
12092 (FP_FAST_FMAL): Likewise.
12093 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12094
12095 * bits/mathdef.h: Update copyright year.
12096 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12097
d2050124
MM
120982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12099
12100 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12101 builtins, define the macros in the C99 standard.
12102 (FP_FAST_FMAF): Likewise.
12103 (FP_FAST_FMAL): Likewise.
12104 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12105 multiply/add.
12106 (FP_FAST_FMAF): Likewise.
12107
475facd1
JJ
121082010-10-15 Jakub Jelinek <jakub@redhat.com>
12109
12110 [BZ #3268]
12111 * math/libm-test.inc (fma_test): Some new testcases.
12112 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12113 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12114 y and infinite z. Do multiplication by C already in long double.
12115 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12117 y and infinite z. Do bitwise or of inexact bit into u.d.
12118 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12119 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12120 * sysdeps/i386/fpu/s_fma.S: Removed.
12121 * sysdeps/i386/fpu/s_fmal.S: Removed.
12122
7c08a05c
JJ
121232010-10-16 Jakub Jelinek <jakub@redhat.com>
12124
12125 [BZ #3268]
12126 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12128 computation is not scheduled after fetestexcept. Fix value
12129 of minimum denormal long double.
12130
f3f7372d
JJ
121312010-10-14 Jakub Jelinek <jakub@redhat.com>
12132
12133 [BZ #3268]
12134 * math/libm-test.inc (fma_test): Add some more tests.
12135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12136 correctly.
12137
14d43591
AS
121382010-10-15 Andreas Schwab <schwab@redhat.com>
12139
12140 * scripts/data/localplt-s390-linux-gnu.data: New file.
12141 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12142
5e908464
JJ
121432010-10-13 Jakub Jelinek <jakub@redhat.com>
12144
12145 [BZ #3268]
12146 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12147 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12148 instead of dbl-64.
12149 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12150 inlines.
12151 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12153 if one of x and y is very large and the other is subnormal.
12154 * sysdeps/s390/fpu/s_fmaf.c: New file.
12155 * sysdeps/s390/fpu/s_fma.c: New file.
12156 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12157 * sysdeps/powerpc/fpu/s_fma.S: New file.
12158 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12159 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12160 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12161
121622010-10-12 Jakub Jelinek <jakub@redhat.com>
12163
12164 [BZ #3268]
12165 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12166 fma tests.
12167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12168 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12169 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12170 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12171 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12172 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12174
b833d51f
UD
121752010-10-12 Ulrich Drepper <drepper@redhat.com>
12176
12177 [BZ #12078]
12178 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12179 * posix/bug-regex31.input: Add test case.
12180
1751705d
UD
121812010-10-11 Ulrich Drepper <drepper@gmail.com>
12182
e9b9cbf5
UD
12183 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12184 * posix/bug-regex31.input: New file.
12185
12186 [BZ #12078]
12187 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12188 (parse_sub_exp): Fix last change, use postorder.
12189
ef06edbe
UD
12190 * posix/bug-regex31.c: New file.
12191 * posix/Makefile: Add rules to build and run bug-regex31.
12192
a129c80d
UD
12193 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12194
12195 [BZ #12078]
12196 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12197
b76b818e
UD
12198 [BZ #12108]
12199 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12200 to have entries in sys_siglist.
12201
1751705d
UD
12202 [BZ #12093]
12203 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12204 be NULL.
12205
9ff8d36f
JJ
122062010-10-07 Jakub Jelinek <jakub@redhat.com>
12207
12208 [BZ #3268]
12209 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12210 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12211 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12212 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12213 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12214 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12215 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12216 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12217 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12218 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12219 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12220 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12221 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12222 * math/ftestexcept.c (fetestexcept): Likewise.
12223 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12224 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12225 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12226 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12227 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12228 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12230
af325969
UD
122312010-10-11 Ulrich Drepper <drepper@gmail.com>
12232
c579b202 12233 [BZ #12107]
af325969
UD
12234 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12235 newline.
12236
67a67b95
UD
122372010-10-06 Ulrich Drepper <drepper@gmail.com>
12238
12239 * string/bug-strstr1.c: New file.
12240 * string/Makefile: Add rules to build and run bug-strstr1.
12241
5fb308bc
EB
122422010-10-05 Eric Blake <eblake@redhat.com>
12243
12244 [BZ #12092]
12245 * string/str-two-way.h (two_way_long_needle): Always clear memory
12246 when skipping input due to the shift table.
12247
45db99c7
UD
122482010-10-03 Ulrich Drepper <drepper@gmail.com>
12249
3b111893
UD
12250 [BZ #12005]
12251 * malloc/mcheck.c: Handle large requests.
12252
45db99c7
UD
12253 [BZ #12077]
12254 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12255 for strncmp and strncasecmp.
12256 * string/stratcliff.c: Add tests for strcmp and strncmp.
12257 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12258
cf7a1eb8
NI
122592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12260
12261 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12262 __set_fpscr.
12263
6484ba5e
AJ
122642010-09-30 Andreas Jaeger <aj@suse.de>
12265
12266 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12267 (CGROUP_SUPER_MAGIC): Define.
12268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12269 Handle btrfs and cgroup file systems.
12270 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12271 Likewise.
12272
91c42559
LM
122732010-09-27 Luis Machado <luisgpm@br.ibm.com>
12274
12275 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12276 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12277
87a97932
AK
122782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12279
12280 [BZ #12067]
12281 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12282 trying to locate the ELF header.
12283
c21cc9bc
AS
122842010-09-27 Andreas Schwab <schwab@redhat.com>
12285
12286 [BZ #11611]
12287 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12288 Mask out sign-bit copies when constructing f_fsid.
12289
315970f6
PB
122902010-09-24 Petr Baudis <pasky@suse.cz>
12291
12292 * debug/stack_chk_fail_local.c: Add missing licence exception.
12293 * debug/warning-nop.c: Likewise.
12294
1ac7a2c7
JM
122952010-09-15 Joseph Myers <joseph@codesourcery.com>
12296
12297 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12298 implementing getdents64 using getdents syscall, set d_type if
12299 __ASSUME_GETDENTS32_D_TYPE.
12300
56801c50
AS
123012010-09-16 Andreas Schwab <schwab@redhat.com>
12302
12303 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12304 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12305
dda51327
UD
123062010-09-21 Ulrich Drepper <drepper@redhat.com>
12307
12308 [BZ #12037]
12309 * posix/unistd.h: Undo change of feature selection for ftruncate from
12310 2010-01-11.
12311
8ffcee4a
UD
123122010-09-20 Ulrich Drepper <drepper@redhat.com>
12313
a545ecd9 12314 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12315 detection.
12316
e24f0a8b
AS
123172010-09-20 Andreas Schwab <schwab@redhat.com>
12318
12319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12320 fanotify_mark.
12321 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12322
7291c56f
AS
123232010-09-14 Andreas Schwab <schwab@redhat.com>
12324
12325 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12326 variables after CHECK_SP call.
12327 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12328
bc5fb037
AS
123292010-09-13 Andreas Schwab <schwab@redhat.com>
12330 Ulrich Drepper <drepper@redhat.com>
12331
12332 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12333 re-relocationg ld.so.
12334 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12335 _dl_init_paths call.
12336 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12337 here anymore.
12338
e66e7419
UD
123392010-09-14 Ulrich Drepper <drepper@redhat.com>
12340
12341 * resolv/res_init.c (__res_vinit): Count the default server we added.
12342
c044aa75
CLT
123432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12344 Ulrich Drepper <drepper@redhat.com>
12345
12346 [BZ #11968]
12347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12348 (____longjmp_chk): Use %ebx for saving value across system call.
12349 Add unwind info.
12350
32cf4069
AS
123512010-09-06 Andreas Schwab <schwab@redhat.com>
12352
12353 * manual/Makefile: Don't mix pattern rules with normal rules.
12354
817328ee
AS
123552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12356
12357 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12358 operation.
12359 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12360 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12361 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12362 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12364 Likewise.
12365
29fddf61
UD
123662010-09-04 Ulrich Drepper <drepper@redhat.com>
12367
12368 [BZ #11979]
12369 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12370 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12371
0959ffc9
UD
123722010-09-02 Ulrich Drepper <drepper@redhat.com>
12373
12374 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12375 * sysdeps/x86_64/addmul_1.S: Likewise.
12376 * sysdeps/x86_64/lshift.S: Likewise.
12377 * sysdeps/x86_64/mul_1.S: Likewise.
12378 * sysdeps/x86_64/rshift.S: Likewise.
12379 * sysdeps/x86_64/sub_n.S: Likewise.
12380 * sysdeps/x86_64/submul_1.S: Likewise.
12381
ece29840
ST
123822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12383
0959ffc9
UD
12384 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12385 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12386 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12387 * bits/sched.h [__need_schedparam]
ece29840 12388 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12389 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12390 (__defined_schedparam): Define to 1.
ece29840
ST
12391 (__sched_param): New structure, identical to sched_param.
12392 (__need_schedparam): Undefine.
12393
e53a31fe
MF
123942010-08-31 Mike Frysinger <vapier@gentoo.org>
12395
fdc0c10d
MF
12396 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12397 (epoll_create1): Declare.
12398
e53a31fe
MF
12399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12400
a726d796
AS
124012010-08-31 Andreas Schwab <schwab@redhat.com>
12402
12403 [BZ #7066]
12404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12405 shifting retval into place.
12406
2f3e3dc7
UD
124072010-09-01 Ulrich Drepper <drepper@redhat.com>
12408
f2933da9
UD
12409 * nis/rpcsvc/nis.h: Update copyright notice.
12410 * nis/rpcsvc/nis.x: Likewise.
12411 * nis/rpcsvc/nis_callback.h: Likewise.
12412 * nis/rpcsvc/nis_callback.x: Likewise.
12413 * nis/rpcsvc/nis_object.x: Likewise.
12414 * nis/rpcsvc/nis_tags.h: Likewise.
12415 * nis/rpcsvc/yp.h: Likewise.
12416 * nis/rpcsvc/yp.x: Likewise.
12417 * nis/rpcsvc/ypupd.h: Likewise.
12418 * nis/yp_xdr.c: Likewise.
12419 * nis/ypupdate_xdr.c: Likewise.
12420
2f3e3dc7
UD
12421 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12422 mainly the body of pmap_getport. Add parameters to specify timeouts.
12423 (pmap_getport): Use __libc_rpc_getport.
12424 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12425 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12426 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12427
f3dcc2f9
AS
124282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12429
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12431 fanotify_mark.
12432
6d34eb5b
RM
124332010-08-27 Roland McGrath <roland@redhat.com>
12434
12435 * sysdeps/i386/i686/multiarch/Makefile
12436 (CFLAGS-varshift.c): New variable.
12437
9ea3de11
UD
124382010-08-27 Ulrich Drepper <drepper@redhat.com>
12439
c96d23fc
UD
12440 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12441 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12442
9ea3de11
UD
12443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12444
12445 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12446
623aac7f
L
124472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12448
12449 * sysdeps/x86_64/strlen.S: Unroll the loop.
12450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12451 strlen-sse2 strlen-sse2-bsf.
12452 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12453 __strlen_no_bsf if bit_Slow_BSF is set.
12454 (__strlen_sse42): Removed.
12455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12456 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12457
8b2b7715
RM
124582010-08-25 Roland McGrath <roland@redhat.com>
12459
12460 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12461 * sysdeps/x86_64/multiarch/varshift.c: New file.
12462 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12463 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12464 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12465 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12466
e73015f2
L
124672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12468
12469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12470 strlen-sse2 strlen-sse2-bsf.
12471 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12472 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12473 (__strlen_sse2): Removed.
12474 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12477 bit_Slow_BSF for Atom.
12478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12479 (index_Slow_BSF): Define.
12480 (HAS_SLOW_BSF): Define.
12481
df24a73e
UD
124822010-08-25 Ulrich Drepper <drepper@redhat.com>
12483
12484 [BZ #10851]
12485 * resolv/res_init.c (__res_vinit): When no server address at all
12486 is given default to loopback.
12487
f2ac4868
RM
124882010-08-24 Roland McGrath <roland@redhat.com>
12489
09055553
RM
12490 * configure.in: Remove config-name.h generation.
12491 * configure: Regenerated.
12492 * config-name.in: File removed.
12493 * scripts/config-uname.sh: New file.
12494 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12495 ($(objdir)config-name.h): New target.
12496
f2ac4868
RM
12497 * sunrpc/rpc_parse.h: Avoid nested comment.
12498
73f27d5e
RH
124992010-08-24 Richard Henderson <rth@redhat.com>
12500 Ulrich Drepper <drepper@redhat.com>
12501 H.J. Lu <hongjiu.lu@intel.com>
12502
12503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12505 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12506 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12507 _mm_alignr_epi8 with _mm_loadu_si128.
12508 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12509 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12510 (__m128i_shift_right): Removed.
12511 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12512 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12513 * sysdeps/x86_64/multiarch/varshift.h: New file.
12514 * sysdeps/x86_64/multiarch/varshift.S: New file.
12515
84b9230c
MF
125162010-08-21 Mike Frysinger <vapier@gentoo.org>
12517
12518 * configure.in: Move assembler checks to before sysdep dir checking.
12519
9bbd0ddc
PB
125202010-08-20 Petr Baudis <pasky@suse.cz>
12521
12522 * LICENSES: Sync the sunrpc license.
12523
9da4bb31
UD
125242010-08-19 Ulrich Drepper <drepper@redhat.com>
12525
a7ab6ec8
UD
12526 * sunrpc/auth_des.c: Update copyright notice once again.
12527 * sunrpc/auth_none.c: Likewise.
12528 * sunrpc/auth_unix.c: Likewise.
12529 * sunrpc/authdes_prot.c: Likewise.
12530 * sunrpc/authuxprot.c: Likewise.
12531 * sunrpc/bindrsvprt.c: Likewise.
12532 * sunrpc/clnt_gen.c: Likewise.
12533 * sunrpc/clnt_perr.c: Likewise.
12534 * sunrpc/clnt_raw.c: Likewise.
12535 * sunrpc/clnt_simp.c: Likewise.
12536 * sunrpc/clnt_tcp.c: Likewise.
12537 * sunrpc/clnt_udp.c: Likewise.
12538 * sunrpc/clnt_unix.c: Likewise.
12539 * sunrpc/des_crypt.c: Likewise.
12540 * sunrpc/des_soft.c: Likewise.
12541 * sunrpc/get_myaddr.c: Likewise.
12542 * sunrpc/getrpcport.c: Likewise.
12543 * sunrpc/key_call.c: Likewise.
12544 * sunrpc/key_prot.c: Likewise.
12545 * sunrpc/openchild.c: Likewise.
12546 * sunrpc/pm_getmaps.c: Likewise.
12547 * sunrpc/pm_getport.c: Likewise.
12548 * sunrpc/pmap_clnt.c: Likewise.
12549 * sunrpc/pmap_prot.c: Likewise.
12550 * sunrpc/pmap_prot2.c: Likewise.
12551 * sunrpc/pmap_rmt.c: Likewise.
12552 * sunrpc/rpc/auth.h: Likewise.
12553 * sunrpc/rpc/auth_unix.h: Likewise.
12554 * sunrpc/rpc/clnt.h: Likewise.
12555 * sunrpc/rpc/des_crypt.h: Likewise.
12556 * sunrpc/rpc/key_prot.h: Likewise.
12557 * sunrpc/rpc/netdb.h: Likewise.
12558 * sunrpc/rpc/pmap_clnt.h: Likewise.
12559 * sunrpc/rpc/pmap_prot.h: Likewise.
12560 * sunrpc/rpc/pmap_rmt.h: Likewise.
12561 * sunrpc/rpc/rpc.h: Likewise.
12562 * sunrpc/rpc/rpc_des.h: Likewise.
12563 * sunrpc/rpc/rpc_msg.h: Likewise.
12564 * sunrpc/rpc/svc.h: Likewise.
12565 * sunrpc/rpc/svc_auth.h: Likewise.
12566 * sunrpc/rpc/types.h: Likewise.
12567 * sunrpc/rpc/xdr.h: Likewise.
12568 * sunrpc/rpc_clntout.c: Likewise.
12569 * sunrpc/rpc_cmsg.c: Likewise.
12570 * sunrpc/rpc_common.c: Likewise.
12571 * sunrpc/rpc_cout.c: Likewise.
12572 * sunrpc/rpc_dtable.c: Likewise.
12573 * sunrpc/rpc_hout.c: Likewise.
12574 * sunrpc/rpc_main.c: Likewise.
12575 * sunrpc/rpc_parse.c: Likewise.
12576 * sunrpc/rpc_parse.h: Likewise.
12577 * sunrpc/rpc_prot.c: Likewise.
12578 * sunrpc/rpc_sample.c: Likewise.
12579 * sunrpc/rpc_scan.c: Likewise.
12580 * sunrpc/rpc_scan.h: Likewise.
12581 * sunrpc/rpc_svcout.c: Likewise.
12582 * sunrpc/rpc_tblout.c: Likewise.
12583 * sunrpc/rpc_util.c: Likewise.
12584 * sunrpc/rpc_util.h: Likewise.
12585 * sunrpc/rpcinfo.c: Likewise.
12586 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12587 * sunrpc/rpcsvc/key_prot.x: Likewise.
12588 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12589 * sunrpc/rpcsvc/mount.x: Likewise.
12590 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12591 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12592 * sunrpc/rpcsvc/rex.x: Likewise.
12593 * sunrpc/rpcsvc/rstat.x: Likewise.
12594 * sunrpc/rpcsvc/rusers.x: Likewise.
12595 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12596 * sunrpc/rpcsvc/spray.x: Likewise.
12597 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12598 * sunrpc/rtime.c: Likewise.
12599 * sunrpc/svc.c: Likewise.
12600 * sunrpc/svc_auth.c: Likewise.
12601 * sunrpc/svc_authux.c: Likewise.
12602 * sunrpc/svc_raw.c: Likewise.
12603 * sunrpc/svc_run.c: Likewise.
12604 * sunrpc/svc_simple.c: Likewise.
12605 * sunrpc/svc_tcp.c: Likewise.
12606 * sunrpc/svc_udp.c: Likewise.
12607 * sunrpc/svc_unix.c: Likewise.
12608 * sunrpc/svcauth_des.c: Likewise.
12609 * sunrpc/xcrypt.c: Likewise.
12610 * sunrpc/xdr.c: Likewise.
12611 * sunrpc/xdr_array.c: Likewise.
12612 * sunrpc/xdr_float.c: Likewise.
12613 * sunrpc/xdr_mem.c: Likewise.
12614 * sunrpc/xdr_rec.c: Likewise.
12615 * sunrpc/xdr_ref.c: Likewise.
12616 * sunrpc/xdr_sizeof.c: Likewise.
12617 * sunrpc/xdr_stdio.c: Likewise.
12618
9da4bb31
UD
12619 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12620 handling.
12621
bdaa77bc
AS
126222010-08-19 Andreas Schwab <schwab@redhat.com>
12623
12624 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12625
fe2f79db
LM
126262010-08-19 Luis Machado <luisgpm@br.ibm.com>
12627
12628 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12629 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12630 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12631 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12632 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12633 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12634 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12635 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12637 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12638 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12639 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12640 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12641 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12642
b9b42ee0
AB
126432010-07-26 Anton Blanchard <anton@samba.org>
12644
12645 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12646 * malloc/arena.c (heap_trim): Likewise.
12647
1c06ba31
UD
126482010-08-16 Ulrich Drepper <drepper@redhat.com>
12649
12650 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12651 here. Not...
12652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12653 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12654
f8392f40
L
126552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12656
12657 * sysdeps/i386/elf/Makefile: New file.
12658
3162f12e
AS
126592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12660
12661 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12662 from fanotify_init.
12663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12665
28c90b2c
UD
126662010-08-15 Ulrich Drepper <drepper@redhat.com>
12667
12668 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12669 of strncasecmp_l.
1feccb6c 12670 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12671
ca6bb004
UD
126722010-08-14 Ulrich Drepper <drepper@redhat.com>
12673
e9f82e0d
UD
12674 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12675 strncase_l-nonascii.
12676 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12677 Add strncase_l-ssse3.
12678 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12679 * sysdeps/x86_64/strcmp.S: Likewise.
12680 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12681 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12682 * sysdeps/x86_64/strncase.S: New file.
12683 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12684 * sysdeps/x86_64/strncase_l.S: New file.
12685 * string/Makefile (strop-tests): Add strncasecmp.
12686 * string/test-strncasecmp.c: New file.
12687
12688 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12689 warning.
12690
ca6bb004
UD
12691 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12692 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12693
052fa7b3
AS
126942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12695
12696 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12697
962dba78
UD
126982010-08-12 Ulrich Drepper <drepper@redhat.com>
12699
12700 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12703
bebff237
AM
127042010-05-01 Alan Modra <amodra@gmail.com>
12705
12706 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12707 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12708 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12709 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12710 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12711 tidying. Don't tail-call __sigjmp_save for static lib.
12712 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12713 save location.
12714 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12715 (CALL_MCOUNT): Add eh info, and nop after bl.
12716 (TAIL_CALL_SYSCALL_ERROR): New macro.
12717 (PSEUDO_RET): Use it.
12718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12719 Correct save location of integer regs and cr.
12720 (_dl_profile_resolve): Correct cr save location. Delete nops
12721 after bl when SHARED. Reduce cfi size a little by better
12722 placement of cfi directives.
12723 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12724 make a stack frame. Instead use parm save area as a temp.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12726 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12728 Don't make a stack frame for parent, use parm save area.
12729 Increase child stack frame to 112 bytes. Don't save unused reg,
12730 and adjust reg usage. Set up cfi on error recovery and
12731 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12733 (__makecontext): Add dummy nop after jump to exit.
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12735 Use correct parm save area and cr save, reduce stack frame.
12736 Correct cfi for possible PSEUDO_RET frame setup.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12738 Branch to local label emitted by PSEUDO_RET rather than
12739 __syscall_error.
12740
02637374
AS
127412010-08-12 Andreas Schwab <schwab@redhat.com>
12742
12743 [BZ #11904]
12744 * locale/programs/locale.c (print_assignment): New function.
12745 (show_locale_vars): Use it.
12746
c3e2f19b
UD
127472010-08-11 Ulrich Drepper <drepper@redhat.com>
12748
3cdaa6ad
UD
12749 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12750 field.
12751 (struct statfs64): Likewise.
12752 (_STATFS_F_FLAGS): Define.
12753 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12754 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12755 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12756 (ST_VALID): Define locally.
12757 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12758 __statvfs_getflags, use the provided value.
12759 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12760 __ASSUME_STATFS_F_FLAGS.
12761
754f7da3
UD
12762 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12763
10b3bedc
UD
12764 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12765 Add sys/fanotify.h.
12766 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12767 fanotify_mask for GLIBC_2.13.
12768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12769 fanotify_init and fanotify_mark.
12770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12771 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12772
c08fb0d7
UD
12773 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12774 Add prlimit.
12775 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12776 prlimit64 for GLIBC_2.13.
12777 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12778 prlimit64.
12779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12780 syscall.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12782 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12783 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12786 add prlimit alias.
12787 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12788
15bac72b
UD
12789 [BZ #11903]
12790 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12791 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12792
c3e2f19b
UD
12793 * nss/Makefile: Add rules to build and run tst-nss-test1.
12794 * shlib-versions: Add entry for libnss_test1.
12795 * nss/nss_test1.c: New file.
12796 * nss/tst-nss-test1.c: New file.
12797
12798 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12799 (__nss_configure_lookup): Set appropriate entry in
12800 __nss_configure_lookup to true.
12801 * nss/nsswitch.h: Define enum with indeces of databases in
12802 databases and __nss_database_custom arrays. Declare
12803 __nss_database_custom.
12804 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12805 to avoid using nscd when custom rules are installed.
12806 * nss/getXXbyYY_r.c: Likewise.
12807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12808
12809 * nss/nss_files/files-parse.c: Whitespace fixes.
12810
f15ce4d8
UD
128112010-08-09 Ulrich Drepper <drepper@redhat.com>
12812
12813 [BZ #11883]
12814 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12815 * posix/fnmatch_loop.c: Likewise.
12816
d22e4cc9
AK
128172010-07-17 Andi Kleen <ak@linux.intel.com>
12818
12819 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12820 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12821 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12822 * Versions.def [GLIBC_2.13]: Add.
12823
805bc17d
UD
128242010-08-06 Ulrich Drepper <drepper@redhat.com>
12825
12826 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12827 Also fail if tpwd after pwuid call is NULL.
12828
5a42321d
ST
128292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12830
12831 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12832 when converting to ms.
12833
fd3ebeda
ST
128342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12835
12836 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12837 EOPNOTSUPP errors with ENOTTY.
12838 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12839 EOPNOTSUPP errors with ENOTTY.
12840
73507d3a
UD
128412010-07-31 Ulrich Drepper <drepper@redhat.com>
12842
12843 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12844 Add strcasecmp_l-ssse3.
12845 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12846 strcasecmp.
12847 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12848 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12849 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12850
fe36dd02
UD
128512010-07-30 Ulrich Drepper <drepper@redhat.com>
12852
66f6765a
UD
12853 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12854
42e08a54
UD
12855 * string/Makefile (strop-tests): Add strcasecmp.
12856 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12857 strcasecmp_l-nonascii.
12858 (gen-as-const-headers): Add locale-defines.sym.
12859 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12860 * sysdeps/x86_64/strcasecmp.S: New file.
12861 * sysdeps/x86_64/strcasecmp_l.S: New file.
12862 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12863 * sysdeps/x86_64/locale-defines.sym: New file.
12864 * string/test-strcasecmp.c: New file.
12865
fe36dd02
UD
12866 * string/test-strcasestr.c: Test both ends of the range of characters.
12867 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12868
48cbc0d6
RM
128692010-07-29 Roland McGrath <roland@redhat.com>
12870
76e6d6bc 12871 [BZ #11856]
48cbc0d6
RM
12872 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12873
880113d9
UD
128742010-07-27 Ulrich Drepper <drepper@redhat.com>
12875
12876 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12877 for ld.so.
12878
deb9cabb
AS
128792010-07-27 Andreas Schwab <schwab@redhat.com>
12880
12881 * manual/memory.texi (Malloc Tunable Parameters): Document
12882 M_PERTURB.
12883
1c7570ff
RM
128842010-07-26 Roland McGrath <roland@redhat.com>
12885
12886 [BZ #11840]
12887 * configure.in (-fgnu89-inline check): Set and substitute
12888 gnu89_inline, not libc_cv_gnu89_inline.
12889 * configure: Regenerated.
12890 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12891
24fb0f88
UD
128922010-07-26 Ulrich Drepper <drepper@redhat.com>
12893
12894 * string/test-strnlen.c: New file.
12895 * string/Makefile (strop-tests): Add strnlen.
12896 * string/tester.c (test_strnlen): Add a few more test cases.
12897 * string/tst-strlen.c: Better error reporting.
12898
12899 * sysdeps/x86_64/strnlen.S: New file.
12900
8e96b93a
UD
129012010-07-24 Ulrich Drepper <drepper@redhat.com>
12902
12903 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12904 lower-latency instructions.
12905
dbc676d4
UD
129062010-07-23 Ulrich Drepper <drepper@redhat.com>
12907
12908 * string/test-strcasestr.c: New file.
12909 * string/test-strstr.c: New file.
12910 * string/Makefile (strop-tests): Add strstr and strcasestr.
12911 * string/str-two-way.h: Don't undefine MAX.
12912 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12913
f6a31e0e
AS
129142010-07-21 Andreas Schwab <schwab@redhat.com>
12915
12916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12917 strcasestr-nonascii.
12918 (CFLAGS-strcasestr-nonascii.c): Define.
12919 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12921 Remove unused attribute.
12922
5dbc3b6c
RM
129232010-07-20 Roland McGrath <roland@redhat.com>
12924
12925 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12926 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12927 ld.so.cache was broken. With it, there is no way to disable dsocaps
12928 like LD_HWCAP_MASK can disable hwcaps.
12929
23d101d8
EPM
129302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12931
12932 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12933
cc9f2e47
UD
129342010-07-16 Ulrich Drepper <drepper@redhat.com>
12935
12936 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12937 call in strcasestr.
12938 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12939 __strcasestr_sse42_nonascii.
12940 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12941 strcasestr-nonascii.c.
12942 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12943
77c1b069
LM
129442010-06-15 Luis Machado <luisgpm@br.ibm.com>
12945
12946 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12949 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12950
440566c3
UD
129512010-07-09 Ulrich Drepper <drepper@redhat.com>
12952
12953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12954 fcntl.
12955
5be9d05d
AS
129562010-07-06 Andreas Schwab <schwab@redhat.com>
12957
c30b7ee2 12958 [BZ #11577]
5be9d05d
AS
12959 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12960 dl_signal_cerror.
12961
8a492a67
UD
129622010-07-06 Ulrich Drepper <drepper@redhat.com>
12963
12964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12965 _PC_PIPE_BUF using F_GETPIPE_SZ.
12966
713df3d5
RM
129672010-07-05 Roland McGrath <roland@redhat.com>
12968
12969 * manual/arith.texi (Rounding Functions): Fix rint description
12970 implicit in round description.
12971
702e8f14
UD
129722010-07-02 Ulrich Drepper <drepper@redhat.com>
12973
12974 * elf/Makefile: Fix linking for a few tests to make recent linker
12975 happy.
12976
52ed8be9
AS
129772010-06-30 Andreas Schwab <schwab@redhat.com>
12978
12979 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12980 $(common-objpfx)libc_nonshared.a.
12981
f47c9a11
LM
129822010-06-21 Luis Machado <luisgpm@br.ibm.com>
12983
12984 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12985 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12986 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12987 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12988 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12989 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12990 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12991 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13006 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13007 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13008 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13009 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13010 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13011 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13012 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13013 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13014 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13015 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13016 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13017 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13032
6fb8cbcb
L
130332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13034
13035 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13036 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13037 * string/memmove.c (memmove): Renamed to ...
13038 (MEMMOVE): ...this. Default to memmove.
13039 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13040 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13041 (END_CHK): Define.
13042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13043 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13044 mempcpy-ssse3-back memmove-ssse3-back.
13045 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13046 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13047 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13048 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13049 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13050 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13051 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13052 * sysdeps/x86_64/multiarch/memmove.c: New file.
13053 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13054 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13055 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13056 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13057 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13058 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13059 Define.
13060 (index_Fast_Copy_Backward): Define.
13061 (HAS_ARCH_FEATURE): Define.
13062 (HAS_FAST_REP_STRING): Define.
13063 (HAS_FAST_COPY_BACKWARD): Define.
13064
4e733bac 130652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13066
13067 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13068 Restore proper fallback handling.
13069
63c4ed22
UD
130702010-06-19 Ulrich Drepper <drepper@redhat.com>
13071
ac2b484c
UD
13072 [BZ #11701]
13073 * posix/group_member.c (__group_member): Correct checking loop.
13074
63c4ed22
UD
13075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13076 OOM in getpwuid_r correctly. Return error number when the caller
13077 should return, otherwise -1.
13078 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13079 call returning > 0 value.
13080 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13081
765ade4b
AS
130822010-06-07 Andreas Schwab <schwab@redhat.com>
13083
13084 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13085 libc_nonshared.a from targets in modules-names.
13086
80da2e09
KS
130872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13088
13089 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13090 requires it.
13091
158db122
LM
130922010-06-10 Luis Machado <luisgpm@br.ibm.com>
13093
13094 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13095 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13097 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13098
caa78cf8
AS
130992010-06-02 Andreas Schwab <schwab@redhat.com>
13100
13101 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13102
b2ef2c01
UD
131032010-06-14 Ulrich Drepper <drepper@redhat.com>
13104
13105 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13106 and F_GETPIPE_SZ.
13107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13112 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13113
fbd643b6
RM
131142010-06-14 Roland McGrath <roland@redhat.com>
13115
13116 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13117
f32f2869
JJ
131182010-06-07 Jakub Jelinek <jakub@redhat.com>
13119
13120 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13121 __REDIRECT followed by __THROW.
13122 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13123 * posix/getopt.h (getopt): Likewise.
13124
2a50c078
EPM
131252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13126
13127 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13128 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13129 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13130 in AT_FLAGS.
13131 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13132 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13133
eb5ad2eb
LM
131342010-05-28 Luis Machado <luisgpm@br.ibm.com>
13135
13136 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13137
3c88fe1e
L
131382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13139
13140 [BZ #11640]
13141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13142 Properly check family and model.
13143
d2f73151
TY
131442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13145
13146 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13147
ebd2e13d
LM
131482010-05-24 Luis Machado <luisgpm@br.ibm.com>
13149
13150 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13151
b32b8b45
UD
131522010-05-21 Ulrich Drepper <drepper@redhat.com>
13153
13154 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13155 symbol reference.
13156
9acbe24d
AS
131572010-05-19 Andreas Schwab <schwab@redhat.com>
13158
13159 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13160 symbol reference.
13161
f0ccf6ea
AS
131622010-05-21 Andreas Schwab <schwab@redhat.com>
13163
3d04ff3a
AS
13164 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13165 and internal_recvmmsg.
13166 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13167 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13168 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13169 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13170
f0ccf6ea
AS
13171 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13172 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13173 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13174
5b08ac57
AS
131752010-05-20 Andreas Schwab <schwab@redhat.com>
13176
13177 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13178
4828935d
LM
131792010-05-17 Luis Machado <luisgpm@br.ibm.com>
13180
13181 POWER7 optimizations.
13182 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13183 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13184
373d545e
UD
131852010-05-19 Ulrich Drepper <drepper@redhat.com>
13186
13187 * version.h: Update for 2.13 development version.
13188
21a2b1ae
AS
131892010-05-12 Andrew Stubbs <ams@codesourcery.com>
13190
13191 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13192 exceptions. Return 0.
13193
3f7dcb2b
RM
131942010-05-07 Roland McGrath <roland@redhat.com>
13195
13196 * elf/ldconfig.c (main): Add a const.
13197
5f24d53a 131982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13199
a160f8d8
UD
13200 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13201 (args_options): Add no-idn option.
13202 (ahosts_keys_int): Add idn_flags to ai_flags.
13203 (parse_option): Handle 'i' option to clear idn_flags.
13204
5f24d53a
UD
13205 * malloc/malloc.c (_int_free): Possible race in the most recently
13206 added check. Only act on the data if no current modification
13207 happened.
265bb1ce
UD
13208
13209See ChangeLog.17 for earlier changes.
This page took 1.660588 seconds and 5 git commands to generate.