]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make ldconfig message clearer
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1db86e88
AJ
12012-05-09 Andreas Jaeger <aj@suse.de>
2
3 [BZ #13983]
4 * elf/ldconfig.c (parse_conf): Change string to make clear that
5 ldconfig only issued a warning if ld.so.conf does not exist.
6
dee4a4e3
DM
72012-05-08 David S. Miller <davem@davemloft.net>
8
ee0db190
DM
9 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10 movxtod instead of popping the value on the stack.
11
dee4a4e3
DM
12 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13
6a43ec98
CD
142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15
16 * config.h.in: Add HAVE_ARM_PCS_VFP.
17
05c2c961
RMG
182012-05-08 Roland Mc Grath <roland@hack.frob.com>
19
20 [BZ #13979]
21 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22 checking but the checks are disabled for any reason.
23
4b30f61a
L
242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25
26 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27 and ELF64_R_TYPE with ELFW(R_TYPE).
28
eee2bc67
JM
292012-05-08 Joseph Myers <joseph@codesourcery.com>
30
7ea5391a
JM
31 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32 (ulimit): Likewise.
33
eee2bc67
JM
34 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35 (settimeofday): Likewise.
36
abb66a67
MF
372012-05-08 Mike Frysinger <vapier@gentoo.org>
38
39 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40 a struct th_u2 inside the union, and move tu_block/tu_code into
41 a new th_u3 union of tu_block/tu_code inside of that. Move
42 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46 (th_stuff): Change to th_u1.tu_stuff.
47 (th_data): Define.
48 (th_msg): Change to th_u1.th_u2.tu_data.
49
7f18b530
DM
502012-05-07 David S. Miller <davem@davemloft.net>
51
05760585
DM
52 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53
7f18b530
DM
54 [BZ #14074]
55 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
56 (SETUP_PIC_REG): Use it.
57 (SETUP_PIC_REG_LEAF): Use it.
58
495fd99f
JM
592012-05-07 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #13885]
62 [BZ #13923]
63 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64 USE_AS_EXPM1L.
65 (EXPL_FINITE): Likewise.
66 (FLDLOG): Likewise.
67 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69 e_expl.S.
70 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71 USE_AS_EXPM1L.
72 (EXPL_FINITE): Likewise.
73 (FLDLOG): Likewise.
74 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76 e_expl.S.
77 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
78 test of -max_value argument for long double.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
6693d694
DM
822012-05-06 David S. Miller <davem@davemloft.net>
83
84 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
85 quad soft-float symbols whose references which are compiler
86 generated.
87 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88
6c23e11c
JM
892012-05-06 Joseph Myers <joseph@codesourcery.com>
90
d8b82cad
JM
91 [BZ #13884]
92 [BZ #13914]
93 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
94 USE_AS_EXP10L.
95 (EXPL_FINITE): Likewise.
96 (FLDLOG): Likewise.
97 (c0): Likewise.
98 (c1): Likewise.
99 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
100 Adjust comments for base varying.
101 (__expl_finite): Change alias to EXPL_FINITE.
102 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
103 e_expl.S.
104 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
105 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
106 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
107 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
108 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
109 USE_AS_EXP10L.
110 (EXPL_FINITE): Likewise.
111 (FLDLOG): Likewise.
112 (c0): Likewise.
113 (c1): Likewise.
114 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
115 Adjust comments for base varying.
116 (__expl_finite): Change alias to EXPL_FINITE.
117 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
118 tests for bugs.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
120
6c23e11c
JM
121 [BZ #14064]
122 * math/libm-test.inc (check_float_internal): Correct ulp
123 calculation for subnormal expected results.
124
29ba805c
AJ
1252012-05-06 Andreas Jaeger <aj@suse.de>
126
127 * Makeconfig (+math-flags): New, set to -frounding-math.
128 (+cflags): Add +math-flags so that all of glibc gets compiled with
129 it.
130
131 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
132
7b17aeda
JM
1332012-05-05 Joseph Myers <joseph@codesourcery.com>
134
5779f134
JM
135 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
136 Disable one test.
137
41498f4d
JM
138 [BZ #13787]
139 [BZ #13922]
140 [BZ #14036]
141 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
142 (__ieee754_expl): Allow for and saturate large arguments.
143 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
144 (u_threshold): Likewise.
145 (__exp): Call __ieee754_exp before checking for overflow and
146 underflow.
147 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
148 (u_threshold): Likewise.
149 (__expf): Call __ieee754_expf before checking for overflow and
150 underflow.
151 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
152 (u_threshold): Likewise.
153 (__expl): Call __ieee754_expl before checking for overflow and
154 underflow.
155 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
156 (__ieee754_expl): Allow for and saturate large arguments.
157 * math/libm-test.inc (exp_test): Add another test. Do not allow
158 missing overflow exception on overflow.
159 (expm1_test): Do not allow missing overflow exception on overflow.
160
6698b8bf
JM
161 * sysdeps/i386/fpu/e_expl.c: Move to ...
162 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
163 rather than using inline asm.
164 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
165 * sysdeps/x86_64/fpu/e_expl.S: Copy from
166 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
167
7b17aeda
JM
168 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
169 (nice): Likewise.
170 (poll): Likewise.
171 (signal): Likewise.
172 (time): Likewise.
173 (times): Likewise.
174
f7c85819
JM
1752012-05-04 Joseph Myers <joseph@codesourcery.com>
176
177 * sysdeps/unix/syscalls.list (adjtime): Add entry from
178 sysdeps/unix/common/syscalls.list.
179 (fchmod): Likewise.
180 (fchown): Likewise.
181 (ftruncate): Likewise.
182 (getrusage): Likewise.
183 (gettimeofday): Likewise.
184 (setpgid): Likewise.
185 (setregid): Likewise.
186 (setreuid): Likewise.
187 (sigaction): Likewise.
188 (truncate): Likewise.
189 (vhangup): Likewise.
190 * sysdeps/unix/common/syscalls.list: Remove file.
191 * sysdeps/unix/bsd/Implies: Don't include unix/common.
192 * sysdeps/unix/sysv/linux/Implies: Likewise.
193
336270d0
L
1942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
195
196 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
198 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
199 Moved to ...
200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
201 Here.
202 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
203 to ...
204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
205 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
206 to ...
207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
208 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
209 to ...
210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
211 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
212 to ...
213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
214 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
215 to ...
216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
217 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
218 to ...
219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
220 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
221 to ...
222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
223 Here.
224 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
225 to ...
226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
227 Here.
228 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
229 to ...
230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
231 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
232 Moved to ...
233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
234 Here.
235 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
236 to ...
237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
238
d128e450
JM
2392012-05-04 Joseph Myers <joseph@codesourcery.com>
240
fa8ee516
JM
241 * sysdeps/unix/common/bits/dirent.h: Remove file.
242 * sysdeps/unix/common/bits/fcntl.h: Likewise.
243
d128e450
JM
244 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
245 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
246 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
247 * sysdeps/unix/bsd/isatty.c: Likewise.
248 * sysdeps/unix/bsd/tcdrain.c: Likewise.
249 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
250 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
251
ff8faaf0 2522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 253
62881be4 254 [BZ #13563]
31dc8730
AZ
255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
256 long double comparison inaccuracies.
257 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
259
6fef930c
AS
2602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
261
262 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
264
8f203e6c
JM
2652012-05-04 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #14049]
268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
269 nonzero digits before rounding a hex value.
270 * stdlib/tst-strtod.c (tests): Add another test.
271
5197d9c2
AK
2722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
273
274 * sysdeps/s390/fpu/libm-test-ulps: Update.
275
f0c1dedf
AJ
2762012-05-03 Andreas Jaeger <aj@suse.de>
277
278 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
279 does not get optimized out.
280 (malloc_opt_barrier): New.
281
a65ef2ae 2822012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 283 Roland McGrath <roland@hack.frob.com>
a65ef2ae 284
2b942cb7 285 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 286 intermediate file deletion.
2b942cb7 287 (generated): Add .symlist files.
a65ef2ae 288
54b71e02
JM
2892012-05-03 Joseph Myers <joseph@codesourcery.com>
290
291 [BZ #13775]
292 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
293 Redirect under this condition.
294 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
295 [__USE_GNU] (__dprintf_chk): Not under this condition.
296 [__USE_GNU] (__vdprintf_chk): Likewise.
297 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
298 under this condition.
299 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
300 [__USE_XOPEN2K8] (dprintf): Define under this condition.
301 [__USE_XOPEN2K8] (vdprintf): Likewise.
302 [__USE_GNU] (__dprintf_chk): Not under this condition.
303 [__USE_GNU] (__vdprintf_chk): Likewise.
304 [__USE_GNU] (dprintf): Likewise.
305 [__USE_GNU] (vdprintf): Likewise.
306
d3dfcc41
RM
3072012-05-03 Roland McGrath <roland@hack.frob.com>
308
309 * elf/Makefile (common-generated): Set this instead of generated for
310 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
311 $(all-built-dso)-derived lists.
312
7ac30cc5
AJ
3132012-05-03 Andreas Jaeger <aj@suse.de>
314
0c51e550
AJ
315 * sysdeps/i386/fpu/libm-test-ulps: Update.
316
7ac30cc5
AJ
317 * FAQ: Removed.
318 * FAQ.in: Likewise.
319 * scripts/gen-FAQ.pl: Likewise.
320 * manual/install.texi (Installation): Point to online location of
321 FAQ.
322 * Makefile (files-for-dist): Remove FAQ.
323 (FAQ): Remove.
324
d4c2917f
AM
3252012-05-02 Allan McRae <allan@archlinux.org>
326
327 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
328 (LDFLAGS-reldepmod5.so): Likewise.
329 (LDFLAGS-reldep6mod1.so): Likewise.
330 (LDFLAGS-reldep6mod4.so): Likewise.
331 (LDFLAGS-reldep8mod3.so): Likewise.
332 (LDFLAGS-unload4mod1.so): Likewise.
333 (LDFLAGS-unload4mod2.so): Likewise.
334 (LDFLAGS-tst-initorder): Likewise.
335 (LDFLAGS-tst-initordera2.so): Likewise.
336 (LDFLAGS-tst-initordera3.so): Likewise.
337 (LDFLAGS-tst-initordera4.so): Likewise.
338 (LDFLAGS-tst-initorderb2.so): Likewise.
339 (LDFLAGS-noload): Likewise.
340 (LDFLAGS-next): Likewise.
341 (LDFLAGS-order2mod1.so): Likewise.
342 (LDFLAGS-order2mod2.so): Likewise.
343 (LDFLAGS-tst-initorder2): Likewise.
344 (LDFLAGS-tst-initorder2a.so): Likewise.
345 (LDFLAGS-tst-initorder2b.so): Likewise.
346 (LDFLAGS-tst-initorder2c.so): Likewise.
347 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
348
d77f993f
DM
3492012-05-02 David S. Miller <davem@davemloft.net>
350
351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
352
171a70b4
PP
3532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
354
355 [BZ #14055]
356 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
357
0be196ad
AJ
3582012-05-02 Andreas Jaeger <aj@suse.de>
359
360 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
361 since we manipulate rounding mode.
362 (CPPFLAGS-test-idouble.c): Likewise.
363 (CPPFLAGS-test-ifloat.c): Likewise.
364 (CFLAGS-test-ldouble.c): Likewise.
365 (CFLAGS-test-double.c): Likewise.
366 (CFLAGS-test-float.c): Likewise.
367 (CFLAGS-test-misc.c): Likewise.
368 (CFLAGS-test-test-fenv.c): Likewise.
369
4f9d04aa
AZ
3702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
371
2b942cb7
RM
372 [BZ #2550]
373 [BZ #2570]
374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
375 comparisons to determine direction to adjust input.
4f9d04aa 376
82a79e7d
RM
3772012-05-01 Roland McGrath <roland@hack.frob.com>
378
f5a01ca9
RM
379 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
380 output to the target.
381
90fe4186
RM
382 * scripts/localplt.awk: New file.
383 * elf/Makefile ($(objpfx)check-localplt): Target removed.
384 (check-localplt-CFLAGS): Variable removed.
385 ($(all-built-dso:=.jmprel)): New static pattern rule.
386 (generated): Add those targets.
387 (localplt-built-dso): New variable.
388 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
389
390 * elf/check-localplt.c: File removed.
391
82397ed6
RM
392 * scripts/check-execstack.awk: New file.
393 * elf/Makefile ($(objpfx)check-execstack): Target removed.
394 (check-execstack-CFLAGS): Variable removed.
395 ($(objpfx)check-execstack.h): Target removed.
396 ($(objpfx)execstack-default): New target.
397 (generated): Add that instead of check-execstack.h.
398 ($(all-built-dso:=.phdr)): New static pattern rule.
399 (generated): Add those targets.
400 * elf/check-execstack.c: File removed.
401
82a79e7d
RM
402 * scripts/check-textrel.awk: New file.
403 * elf/Makefile ($(objpfx)check-textrel): Target removed.
404 (check-textrel-CFLAGS): Variable removed.
405 (all-built-dso): Use := to define.o
406 ($(all-built-dso:=.dyn)): New static pattern rule.
407 (generated): Add those targets.
408 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
409 * config.make.in (READELF): New substituted variable.
410 * elf/check-textrel.c: File removed.
411
62fde54f 4122012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 413
615605c9
JM
414 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
415 allow.
416 * conform/data/ctype.h-data [C99-based standards] (isblank):
417 Expect function.
418 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
419 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
421 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
422 Specify type. Require positive value.
423 (EILSEQ): Likewise.
424 (ERANGE): Likewise.
425 [ISO || POSIX] (EILSEQ): Do not expect.
426 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
427 Specify type. Require positive value.
428 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
429 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
430 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
431 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
432 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
433 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
434 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
435 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
436 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
437 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
438 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
439 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
440 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
441 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
442 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
443 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
444 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
445 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
446 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
447 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
448 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
449 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
450 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
451 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
452 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
453 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
454 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
455 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
456 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
457 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
458 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
459 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
460 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
461 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
462 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
463 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
464 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
465 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
466 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
467 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
468 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
469 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
470 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
471 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
472 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
473 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
474 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
475 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
476 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
477 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
478 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
479 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
480 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
481 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
482 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
483 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
484 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
485 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
486 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
487 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
488 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
489 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
490 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
491 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
492 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
493 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
494 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
495 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
496 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
497 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
498 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
499 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
500 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
501 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
502 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
503 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
504 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
505 Require >= 2.
506 (FLT_ROUNDS): Expect as macro, not constant.
507 (FLT_MANT_DIG): Use macro-int-constant.
508 (DBL_MANT_DIG): Likewise.
509 (LDBL_MANT_DIG): Likewise.
510 (FLT_DIG): Likewise.
511 (DBL_DIG): Likewise.
512 (LDBL_DIG): Likewise.
513 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
514 (DBL_MIN_EXP): Likewise.
515 (LDBL_MIN_EXP): Likewise.
516 (FLT_MAX_EXP): Use macro-int-constant.
517 (DBL_MAX_EXP): Likewise.
518 (LDBL_MAX_EXP): Likewise.
519 (FLT_MAX_10_EXP): Likewise.
520 (DBL_MAX_10_EXP): Likewise.
521 (LDBL_MAX_10_EXP): Likewise.
522 (FLT_MAX): Use macro-constant.
523 (DBL_MAX): Likewise.
524 (LDBL_MAX): Likewise.
525 (FLT_EPSILON): Use macro-constant. Give upper bound.
526 (DBL_EPSILON): Likewise.
527 (LDBL_EPSILON): Likewise.
528 (FLT_MIN): Likewise.
529 (DBL_MIN): Likewise.
530 (LDBL_MIN): Likewise.
531 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
532 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
533 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
534 [ISO11] (FLT_HAS_SUBNORM): Likewise.
535 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
536 [ISO11] (DBL_DECIMAL_DIG): Likewise.
537 [ISO11] (FLT_DECIMAL_DIG): Likewise.
538 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
539 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
540 [ISO11] (FLT_TRUE_MIN): Likewise.
541 [ISO11] (LDBL_TRUE_MIN): Likewise.
542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
543 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
544 (SCHAR_MIN): Use macro-int-constant. Specify type.
545 (SCHAR_MAX): Likewise.
546 (UCHAR_MAX): Likewise.
547 (CHAR_MIN): Likewise.
548 (CHAR_MAX): Likewise.
549 (MB_LEN_MAX): Use macro-int-constant.
550 (SHRT_MIN): Use macro-int-constant. Specify type.
551 (SHRT_MAX): Likewise.
552 (USHRT_MAX): Likewise.
553 (INT_MAX): Likewise.
554 (INT_MIN): Use macro-int-constant. Specify type. Make upper
555 bound negative.
556 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
557 bound with "U".
558 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
559 bound with "L".
560 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
561 bound negative. Suffix upper bound with "L".
562 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
563 bound with "UL".
564 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
565 Specify type.
566 [C99-based standards] (LLONG_MAX): Likewise.
567 [C99-based standards] (ULLONG_MAX): Likewise.
568 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
569 == 0.
570 [ISO11] (max_align_t): Require type.
571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
572
c9140a62
JM
573 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
574 from $CFLAGS, without defining away __attribute__ calls.
575 (checknamespace): Use $CFLAGS_namespace.
576
9af0bf29
JM
577 * conform/conformtest.pl (@keywords): Only include C99 keywords
578 for standards based on C99 or C11.
579
343222a2
JM
580 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
581 Disable tests.
582 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
583 UNIX98]: Likewise.
584
661f8cf0
JM
585 * conform/conformtest.pl: Handle "macro-int-constant" and test for
586 usability of symbols in #if.
587
ee74b9cb
JM
588 * conform/conformtest.pl: If macro or constant types start
589 "promoted:", expect the symbol to be of the following type
590 promoted by the integer promotions.
62fde54f 591
aafc49b3
JM
592 * conform/conformtest.pl: Parse all "constant" and "macro" lines
593 in one place. Also handle "macro-constant".
594
fefdf574
JM
595 * conform/conformtest.pl: Only accept expected macro values with
596 "==". Parse all "macro" lines in one place.
597 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
598
f2d922fe
JM
599 * conform/conformtest.pl: Handle braced types on "constant" lines
600 instead of handling "typed-constant".
601 * conform/data/signal.h-data: Use "constant" instead of
602 "typed-constant".
603
d22956c9
JM
604 * conform/conformtest.pl: Handle "optional-" at start of lines in
605 one place rather than duplicating several cases. Handle each
606 format of "macro" line with initial "optional-".
607
028e2e38
JM
608 * conform/conformtest.pl: Only accept expected constant or
609 optional-constant values with "==". Parse all "constant" lines in
610 one place. Parse all "optional-constant" lines in one place.
611 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
612 * conform/data/fmtmsg.h-data: Likewise.
613 * conform/data/netinet/in.h-data: Likewise.
614 * conform/data/tar.h-data: Likewise.
615 * conform/data/limits.h-data: Use "==" form on "constant" and
616 "optional-constant" lines.
617
1b8f2850
JM
618 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
619 Use -std=c99 for XOPEN2K.
620 (@knownproblems): Remove.
621 (newtoken): Don't check %isknown.
622
a05a144b
JM
623 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
624 Do not expect macro.
625 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
626 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
627 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
628 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
629 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
630 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
631 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
632 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
633 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
634 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
635 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
636 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
637 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
638 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
639 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
640 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
641 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
642 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
643 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
644 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
645 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
647 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
648 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
649 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
650 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
651 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
652 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
653 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
654 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
655 [XPG3] (acosh): Likewise.
656 [XPG3] (asinh): Likewise.
657 [XPG3] (atanh): Likewise.
658 [XPG3] (cbrt): Likewise.
659 [XPG3] (expm1): Likewise.
660 [XPG3] (ilogb): Likewise.
661 [XPG3] (log1p): Likewise.
662 [XPG3] (logb): Likewise.
663 [XPG3] (nextafter): Likewise.
664 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
665 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
666 [XPG3] (remainder): Likewise.
667 [XPG3] (rint): Likewise.
668 [XPG3 || XPG4 || UNIX98] (round): Likewise.
669 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
670 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
671 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
672 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
673 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
674 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
675 [UNIX98 || XOPEN2K] (scalb): Expect.
676 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
677 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
678 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
679 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
680 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
681 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
682 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
683 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
684 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
685 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
686 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
687 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
688 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
689 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
690 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
691 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
692 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
693 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
694 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
695 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
696 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
697 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
698 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
699 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
700 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
701 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
702 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
703 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
704 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
705 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
706 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
707 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
708 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
709 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
710 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
711 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
712 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
713 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
714 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
715 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
716 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
717 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
718 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
719 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
720 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
721 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
722 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
723 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
724 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
725 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
726 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
727 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
728 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
729 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
730 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
731 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
732 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
733 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
734 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
735 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
736 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
737 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
738 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
739 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
740 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
741 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
742 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
743 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
744 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
745 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
746 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
747 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
748 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
749 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
750 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
751 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
752 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
753 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
754 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
755 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
756 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
757 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
758 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
759 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
760 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
761 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
762 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
763 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
764 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
765 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
766 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
767 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
768 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
769 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
770 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
771 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
772 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
773 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
774 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
775 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
776 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
777 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
778 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
779 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
780 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
781 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
782 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
783 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
784 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
785 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
786 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
787 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
788 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
789 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
790 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
791 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
792 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
793 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
794 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
795 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
796 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
797 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
798 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
799 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
800 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
801 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
802 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
803 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
804 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
805 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
806 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
807 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
808 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
809 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
810 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
811 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
812 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
813
73c5ebe3
JM
814 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
815 _XOPEN_SOURCE_EXTENDED for XPG4.
816
39c33b6c
JM
817 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
818
62fde54f
JM
819 * Makeconfig (localtime): Remove variable.
820 (inst_localtime-file): Likewise.
821
0741d64c
AS
8222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
823
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
825 Update.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
827 Update.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
829 Update.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
831 Update.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
833 Update.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
835 Update.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
837 Update.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
839 Update.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
841 Update.
842
7cb029ee
JM
8432012-05-01 Joseph Myers <joseph@codesourcery.com>
844
845 [BZ #2550]
846 [BZ #2570]
847 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
848 comparisons to determine direction to adjust input.
849 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
850 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
852 Likewise.
853 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
854 Likewise.
855 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
856 Likewise.
857 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
859 Likewise.
860 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
861 Likewise.
862 * math/libm-test.inc (nexttoward_test): Add more tests.
863
412bd966
AS
8642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
865
866 [BZ #14040]
867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
868 in version GLIBC_2.1, not GLIBC_2.0.
869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
870 Likewise.
871
9568c0c2
JM
8722012-04-30 Joseph Myers <joseph@codesourcery.com>
873
adfbc8ac
JM
874 [BZ #13942]
875 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
876 (1 - x) * (1 + x).
877 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
878 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
879 * math/libm-test.inc (acos_test): Add more tests.
880 (asin_test): Likewise.
881 * sysdeps/i386/fpu/libm-test-ulps: Update.
882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
883
5ba3cc69
JM
884 [BZ #14034]
885 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
886 of square root.
887 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
888 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
889 * math/libm-test.inc (acos_test_tonearest): New function.
890 (acos_test_towardzero): Likewise.
891 (acos_test_downward): Likewise.
892 (acos_test_upward): Likewise.
893 (asin_test_tonearest): Likewise.
894 (asin_test_towardzero): Likewise.
895 (asin_test_downward): Likewise.
896 (asin_test_upward): Likewise.
897 (main): Call the new functions.
898 * sysdeps/i386/fpu/libm-test-ulps: Update.
899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
900
9568c0c2
JM
901 [BZ #13884]
902 [BZ #13924]
903 * math/e_exp10.c: Include <float.h>.
904 (__ieee754_exp10): Handle underflow here rather than multiplying
905 large negative argument by M_LN10.
906 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
907 of __ieee754_expf.
908 * math/e_exp10l.c: Include <float.h>.
909 (__ieee754_exp10l): Handle underflow here rather than multiplying
910 large negative argument by M_LN10l.
911 * math/libm-test.inc (exp10_test): Add another test. Do not allow
912 spurious overflow exception on underflow.
913
5ac3ea17
MP
9142012-04-29 Marek Polacek <polacek@redhat.com>
915
916 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
917 (__fortify_function): New macro.
918 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
919 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
920 __extern_always_inline.
921 * libio/bits/stdio2.h: Likewise.
922 * libio/bits/stdio.h: Likewise.
923 * string/string.h: Likewise.
924 * string/bits/string3.h: Likewise.
925 * include/stdio.h: Likewise.
926 * stdlib/bits/stdlib.h: Likewise.
927 * stdlib/stdlib.h: Likewise.
928 * rt/bits/mqueue2.h: Likewise.
929 * rt/mqueue.h: Likewise.
930 * posix/bits/unistd.h: Likewise.
931 * posix/unistd.h: Likewise.
932 * io/bits/poll2.h: Likewise.
933 * io/bits/fcntl2.h: Likewise.
934 * io/fcntl.h: Likewise.
935 * io/sys/poll.h: Likewise.
936 * misc/bits/syslog.h: Likewise.
937 * misc/bits/syslog-ldbl.h: Likewise.
938 * misc/sys/syslog.h: Likewise.
939 * socket/bits/socket2.h: Likewise.
940 * socket/sys/socket.h: Likewise.
941 * debug/tst-chk1.c: Likewise.
942 * wcsmbs/bits/wchar2.h: Likewise.
943 * wcsmbs/bits/wchar-ldbl.h: Likewise.
944 * wcsmbs/wchar.h: Likewise.
945
ecf0ebfb
AJ
9462012-04-29 Andreas Jaeger <aj@suse.de>
947
948 * Makerules (tests): Remove enable-check-abi protection.
949 (check-abi-warn): Remove.
950 (check-abi-%): Remove check-abi-warn usage.
951
952 * configure.in: Remove check-abi configure option.
953 * configure: Regenerated.
954 * config.make.in (enable-check-abi): Remove.
955
6d5c57fa
AS
9562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
957
24c5d07e 958 [BZ #14033]
ded5180a
AS
959 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
960 double functions to double *_finite functions.
961
7e0d315d
AS
962 [BZ #13941]
963 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
964 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
965 LDBL_MIN_EXP.
966 * stdio-common/Makefile (tests): Add tst-sprintf3.
967 * stdio-common/tst-sprintf3.c: New file.
968
6d5c57fa
AS
969 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
970 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
971
0749ff8b
JM
9722012-04-28 Joseph Myers <joseph@codesourcery.com>
973
974 * conform/conformtest.pl: Remove duplicate typed-constant
975 handling.
976
8dbd5d7b
DM
9772012-04-28 David S. Miller <davem@davemloft.net>
978
979 * Makerules (%.abilist): Add vpath on sysdep_dirs.
980 (check-abi-%): Remove AWK script prerequisite and explicit
981 abilist directory.
982 (check-abi): Rewrite to just diff the symlist with the abilist.
983 (config-tls, config-abi-config): Delete, no longer used.
984 (update-abi-%): Remove AWK script and explicit abilist directory.
985 (update-abi): Rewrite to simply compare and conditionally copy the
986 symlist and the sysdep abilist file. Remove update-abi-config
987 checks.
988 * abilist/ld.abilist: Remove.
989 * abilist/libBrokenLocale.abilist: Remove.
990 * abilist/libanl.abilist: Remove.
991 * abilist/libcrypt.abilist: Remove.
992 * abilist/libdl.abilist: Remove.
993 * abilist/librt.abilist: Remove.
994 * abilist/libthread_db.abilist: Remove.
995 * abilist/libutil.abilist: Remove.
996 * scripts/extract-abilist.awk: Remove.
997 * scripts/merge-abilist.awk: Remove.
998 * sysdeps/generic/libcidn.abilist: New file.
999 * sysdeps/generic/libnss_compat.abilist: New file.
1000 * sysdeps/generic/libnss_db.abilist: New file.
1001 * sysdeps/generic/libnss_dns.abilist: New file.
1002 * sysdeps/generic/libnss_files.abilist: New file.
1003 * sysdeps/generic/libnss_hesiod.abilist: New file.
1004 * sysdeps/generic/libnss_nis.abilist: New file.
1005 * sysdeps/generic/libnss_nisplus.abilist: New file.
1006 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1007 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1008 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1009 file.
1010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1011 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1012 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1013 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1014 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1015 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1016 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1017 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1018 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1019 file.
1020 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1021 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1022 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1023 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1024 file.
1025 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1026 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1027 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1028 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1029 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1030 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1031 file.
1032 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1033 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1034 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1035 file.
1036 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1038 New file.
1039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1040 New file.
1041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1042 New file.
1043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1044 New file.
1045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1046 New file.
1047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1048 New file.
1049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1050 New file.
1051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1052 New file.
1053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1054 New file.
1055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1056 New file.
1057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1058 New file.
1059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1060 New file.
1061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1062 New file.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1064 file.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1066 New file.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1068 New file.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1070 file.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1072 New file.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1074 New file.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1076 file.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1078 New file.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1080 New file.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1082 New file.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1084 New file.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1086 New file.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1088 New file.
1089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1091 file.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1093 New file.
1094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1095 file.
1096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1097 file.
1098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1099 file.
1100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1101 file.
1102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1103 file.
1104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1105 New file.
1106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1107 file.
1108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1109 file.
1110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1111 New file.
1112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1113 file.
1114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1116 file.
1117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1118 New file.
1119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1120 file.
1121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1122 file.
1123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1124 file.
1125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1126 file.
1127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1128 file.
1129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1130 New file.
1131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1132 file.
1133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1134 file.
1135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1136 New file.
1137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1138 file.
1139 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1140 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1141 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1142 file.
1143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1144 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1145 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1146 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1147 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1148 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1149 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1150 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1151 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1152 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1155 file.
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1157 New file.
1158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1159 file.
1160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1161 file.
1162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1163 file.
1164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1165 file.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1167 file.
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1169 New file.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1171 New file.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1173 file.
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1175 New file.
1176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1177 file.
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1180 file.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1182 New file.
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1184 file.
1185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1186 file.
1187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1188 file.
1189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1190 file.
1191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1192 file.
1193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1194 New file.
1195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1196 New file.
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1198 file.
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1200 New file.
1201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1202 file.
1203
41d73a1b
JM
12042012-04-28 Joseph Myers <joseph@codesourcery.com>
1205
1206 * conform/conformtest.pl: Fix typo in handling typed-constant from
1207 allow-header.
1208
28aeeda4
JM
12092012-04-27 Joseph Myers <joseph@codesourcery.com>
1210
adae8f5e
JM
1211 * README: Cut down references to pre-2.6 Linux kernels and
1212 Linuxthreads. Update lists of configurations in libc and ports
1213 and sort alphabetically. Say "or newer" with Linux kernel version
1214 requirements.
1215
28aeeda4
JM
1216 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1217
a462cb63
RA
12182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1219
1220 [BZ #887]
1221 * math/libm-test.inc (logb_test_downward): New test to expose
1222 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1223 rounding mode.
1224
6ad3493e
JM
12252012-04-27 Joseph Myers <joseph@codesourcery.com>
1226
1227 [BZ #14027]
1228 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1229 to be done.
1230 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1231 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1232
2ce4f015
JM
12332012-04-26 Joseph Myers <joseph@codesourcery.com>
1234
5aeb141a
JM
1235 * sysdeps/unix/i386/brk.S: Remove file.
1236 * sysdeps/unix/i386/dl-brk.S: Likewise.
1237 * sysdeps/unix/i386/pipe.S: Likewise.
1238 * sysdeps/unix/i386/sigreturn.S: Likewise.
1239 * sysdeps/unix/i386/syscall.S: Likewise.
1240 * sysdeps/unix/i386/vfork.S: Likewise.
1241 * sysdeps/unix/i386/wait.S: Likewise.
1242
7143acae
JM
1243 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1244 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1245
2ce4f015
JM
1246 * configure.in (arm*-none*): Do not allow without
1247 --enable-hacker-mode.
1248 (netbsd*): Remove case setting base_os.
1249 (386bsd*): Likewise.
1250 (freebsd*): Likewise.
1251 (bsdi*): Likewise.
1252 (osf*): Likewise.
1253 (sunos*): Likewise.
1254 (ultrix*): Likewise.
1255 (newsos*): Likewise.
1256 (dynix*): Likewise.
1257 (*bsd*): Likewise.
1258 (sysv*): Likewise.
1259 (isc*): Likewise.
1260 (esix*): Likewise.
1261 (sco*): Likewise.
1262 (minix*): Likewise.
1263 (irix4*): Likewise.
1264 (irix6*): Likewise.
1265 (solaris[2-9]*): Likewise.
1266 (none): Likewise.
1267 * configure: Regenerated.
1268
0ac229c8
AZ
12692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270
1271 [BZ #11521]
1272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1273 overflow or cancellation in calculating denominator.
1274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1276 down expression to avoid unexpected rounding in newer GCCs.
1277 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1278
33f244f4
DM
12792012-04-26 David S. Miller <davem@davemloft.net>
1280
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1282 long-double compat symbols.
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1296
cfa1f3e8
DM
12972012-04-25 David S. Miller <davem@davemloft.net>
1298
1299 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1300 HWCAP_* values only after the memory barriers have been defined.
1301 (atomic_full_barrier): Define.
1302 (atomic_read_barrier): Define.
1303 (atomic_write_barrier): Define.
1304
6e236b92
SP
13052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
1307 * shlib-versions: Add libgcc_s version information.
1308 * sysdeps/generic/libgcc_s.h: Remove.
1309 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1310 libgcc_s.h.
1311 * sysdeps/gnu/unwind-resume.c: Likewise.
1312 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1313
aab39a09
DM
13142012-04-25 David S. Miller <davem@davemloft.net>
1315
1316 * sysdeps/unix/sparc/brk.S: Delete.
1317 * sysdeps/unix/sparc/dl-brk.S: Delete.
1318 * sysdeps/unix/sparc/pipe.S: Delete.
1319 * sysdeps/unix/sparc/sysdep.S: Delete.
1320 * sysdeps/unix/sparc/sysdep.h: Delete.
1321 * sysdeps/unix/sparc/vfork.S: Delete.
1322 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1323 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1325 ret_ERRVAL, r0, r1, MOVE): Define.
1326 (JUMPTARGET): Remove.
1327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1328 sysdeps/unix/sparc/sysdep.h
1329 (ENTRY, END): Remove.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1331
a3cc4f48
JM
13322012-04-25 Joseph Myers <joseph@codesourcery.com>
1333
2ed8cda2
JM
1334 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1335 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1336 -DIS_IN_build.
1337
35d76d59
JM
1338 * timezone/README: Update upstream location and email address for
1339 tzcode and tzdata.
1340 * timezone/zdump.c: Update from tzcode 2012b.
1341 * timezone/zic.c: Likewise.
1342
a3cc4f48
JM
1343 * configure.in (libc_cv_as_needed): Remove test.
1344 * configure: Regenerated.
1345 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1346 conditional definition.
1347 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1348 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1349 * config.make.in (have-as-needed): Remove variable.
1350
ceab42c3
SP
13512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1352 Paul Pluzhnikov <ppluzhnikov@google.com>
1353
1354 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1355 strings correctly.
1356
3ce2865f
CLT
13572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1358
1359 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1360 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1361 * sysdeps/sh/strlen.S: Likewise.
1362
f37e0d68
JM
13632012-04-24 Joseph Myers <joseph@codesourcery.com>
1364
ae186e9a
JM
1365 * sysdeps/unix/fork.S: Remove file.
1366 * sysdeps/unix/i386/fork.S: Likewise.
1367 * sysdeps/unix/sparc/fork.S: Likewise.
1368
b96914af
JM
1369 * sysdeps/unix/system.c: Remove file.
1370 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1371
f37e0d68
JM
1372 * sysdeps/unix/getegid.S: Remove file.
1373 * sysdeps/unix/geteuid.S: Likewise.
1374
87ef29ca
RM
13752012-04-24 Roland McGrath <roland@hack.frob.com>
1376
83bcd236
RM
1377 * scripts/check-localplt.awk: New file.
1378 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1379 of diff.
1380 * scripts/data/localplt-generic.data: Add a comment.
1381
87ef29ca
RM
1382 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1383 NODE when __dir_mkfile failed.
1384 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1385 Reported by Ludovic Courtès <ludo@gnu.org>.
1386
e5a6e567
AJ
13872012-04-24 Andreas Jaeger <aj@suse.de>
1388
1389 * Makerules (common-clean): Also remove gen-as-const-headers
1390 files.
1391
c1820385
JM
13922012-04-24 Joseph Myers <joseph@codesourcery.com>
1393
1394 * Makerules (native-compile): Do not change working directory for
1395 build. Use $(OUTPUT_OPTION) in command.
1396 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1397
94e02fc4
AZ
13982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 [BZ #13886]
1401 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1402 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1403 * math/libm-test.inc (floor_test): Add more tests.
1404 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1405
3a533ca3
JM
14062012-04-24 Joseph Myers <joseph@codesourcery.com>
1407
940ab4b3
JM
1408 * sysdeps/unix/getdents.c: Remove file.
1409 * sysdeps/unix/sysv/getdents.c: Likewise.
1410 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1411
90e037bd
JM
1412 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1413 sysdeps/unix/mman/syscalls.list.
1414 (mmap): Likewise.
1415 (mprotect): Likewise.
1416 (msync): Likewise.
1417 (munmap): Likewise.
1418 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1419 * sysdeps/unix/mman/syscalls.list: Remove.
1420 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1421
3a533ca3
JM
1422 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1423 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1424 * configure: Regenerated.
1425 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1426 $(libgcc_s_suffix).
1427 * config.make.in (libgcc_s_suffix): Remove variable.
1428
1ad743de
JM
14292012-04-23 Joseph Myers <joseph@codesourcery.com>
1430
4ad451e2
JM
1431 * sysdeps/unix/sysv/gethostname.c: Move to ...
1432 * sysdeps/posix/gethostname.c: ... here.
1433
5e37ce39
JM
1434 * sysdeps/unix/execve.S: Remove file.
1435
1ad743de
JM
1436 * sysdeps/unix/_exit.S: Remove file.
1437
4e681b5b
AJ
14382012-04-23 Andreas Jaeger <aj@suse.de>
1439
1440 [BZ #13739]
1441 * manual/Makefile: Remove make dist support, there's no
1442 need for a stand-alone documentation tar ball.
1443 (TEXI2DVI): Define always, it's not in Makeconfig.
1444 (dist): Removed.
1445 (tar-it): Removed.
1446 (edition): Removed.
1447 (glibc-doc-$(edition).tar): Removed
1448 (%.Z): Removed.
1449 (%.gz): Removed.
1450 (%.uu): Removed.
1451 (ETAGS): Remove, it's in Makeconfig.
1452 (move-if-change): Remove, it's in Makeconfig.
1453
c0baea34
PE
14542013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1455
1456 [BZ #13970]
1457 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1458 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1459 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1460 (strtod_l, strtof_l, strtold_l): Remove __wur.
1461 It is not necessarily an error to ignore strtol's return value.
1462 One can reliably look at the stored endptr to decide whether
1463 the number had valid syntax.
1464
7c0616fa
AJ
14652012-04-21 Andreas Jaeger <aj@suse.de>
1466
803cb6b7 1467 [BZ #13739]
7c0616fa
AJ
1468 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1469
b0fe253f
JM
14702012-04-21 Joseph Myers <joseph@codesourcery.com>
1471
1472 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1473 * sysdeps/unix/sysv/Versions: Remove file.
1474
8280f22d
MT
14752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1476
1477 [BZ #13927]
1478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1479
75ce411f 14802012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1481
1482 [BZ #7064]
1483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1484 version from __vm86.
1485
097d59fa
JM
14862012-04-20 Joseph Myers <joseph@codesourcery.com>
1487
a90f3bcb
JM
1488 * sysdeps/unix/common/lxstat.c: Remove file.
1489 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1490
edc7ea78
JM
1491 * sysdeps/unix/sysv/Makefile: Remove file.
1492
cb78c221
JM
1493 * sysdeps/unix/sysv/direct.h: Remove file.
1494
efa6a45f
JM
1495 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1496 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1497 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1498 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1499 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1500 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1501 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1502
9c9f2d0c
JM
1503 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1504
4541c83b
JM
1505 * sysdeps/unix/xmknod.c: Remove file.
1506 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1507
f5d153a0
JM
1508 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1509
aa746595
JM
1510 * sysdeps/unix/sysv/i386/time.S: Remove file.
1511
cce5905e
JM
1512 * sysdeps/unix/fxstat.c: Remove file.
1513 * sysdeps/unix/xstat.c: Likewise.
1514 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1515
37fa3841
JM
1516 * sysdeps/unix/sysv/sigaction.c: Remove file.
1517
ff1962a3
JM
1518 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1519 (sysdep_headers): Remove variable.
1520 [termio.h not in sysdep_headers] (generated): Likewise.
1521 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1522 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1523 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1524 * sysdeps/unix/sysv/tcflow.c: Likewise.
1525 * sysdeps/unix/sysv/tcflush.c: Likewise.
1526 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1527 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1528 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1529 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1530 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1531
e7740d31
JM
1532 * sysdeps/unix/siglist.c: Remove file.
1533
ee06f18b
JM
1534 * sysdeps/unix/getppid.S: Remove file.
1535
097d59fa
JM
1536 * sysdeps/unix/mkdir.c: Remove file.
1537 * sysdeps/unix/rmdir.c: Likewise.
1538
ff3d51ec
AS
15392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1540
1541 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1542 ERR_MAX value.
1543 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1544 errlist-compat value.
1545
50f81fd7
DM
15462012-04-18 David S. Miller <davem@davemloft.net>
1547
1548 * sysdeps/generic/memcopy.h (reg_char): Delete.
1549 * debug/strcat_chk.c: Use char, not reg_char.
1550 * debug/strcpy_chk.c: Likewise.
1551 * debug/strncat_chk.c: Likewise.
1552 * debug/strncpy_chk.c: Likewise.
1553 * string/memchr.c: Likewise.
1554 * string/memrchr.c: Likewise.
1555 * string/rawmemchr.c: Likewise.
1556 * string/strcat.c: Likewise.
1557 * string/strchr.c: Likewise.
1558 * string/strchrnul.c: Likewise.
1559 * string/strcmp.c: Likewise.
1560 * string/strcpy.c: Likewise.
1561 * string/strncat.c: Likewise.
1562 * string/strncmp.c: Likewise.
1563 * string/strncpy.c: Likewise.
1564
8ff41c46
WS
15652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1566
1567 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1568 __builtin_memcopy is called when src and dest ranges are known to not
1569 overlap.
1570
6b652f46
WS
15712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1572
1573 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1574 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1575 fwd_align_merge macro call.
1576 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1577 bwd_align_merge macro call.
1578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1579
b282631e
WS
15802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1583 bwd_align_merge macros.
1584 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1585 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1586 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1587
95aa737c
DM
15882012-04-18 David S. Miller <davem@davemloft.net>
1589
1590 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1591
7a99a614
AJ
15922012-04-18 Andreas Jaeger <aj@suse.de>
1593
1594 [BZ# 6794]
1595 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1596 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1598
1599 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1600 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1602
1603 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1604 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1605 Adjust for changed ldbl-128 files.
1606
1607 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1608 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1609 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1610
e5270c23
DM
16112012-04-17 David S. Miller <davem@davemloft.net>
1612
1613 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1614
fb5e92c9
AS
16152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1616
1617 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1618 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1619 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1620 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1621 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1622 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1623
76da7265
AZ
16242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625
1626 [BZ #6794]
1627 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1628 * math/libm-test.inc: Add ilogb errno and exception tests.
1629 * math/w_ilogb.c: New file: ilogb wrapper.
1630 * math/w_ilogbf.c: New file: ilogbf wrapper.
1631 * math/w_ilogbl.c: New file: ilogbl wrapper.
1632 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1633 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1634 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1635 exception being thrown with 0.0 as argument.
1636 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1637 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1638 exception being thrown with 0.0 as argument.
1639 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1640 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1641 exception being thrown with 0.0 as argument.
1642 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1643 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1644 exception being thrown with 0.0 as argument.
1645 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1646 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1648 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1649 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1650 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1651 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1652 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1653 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1654
0396e69d
PB
16552012-04-17 Petr Baudis <pasky@ucw.cz>
1656
1657 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1658 with altivec.
1659
750b5926
MP
16602012-04-16 Marek Polacek <polacek@redhat.com>
1661
1662 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1663
751728a1
MP
16642012-04-16 Marek Polacek <polacek@redhat.com>
1665
1666 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1667 operands of fdivp instruction.
1668
34a27407
L
16692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1672 * elf/tst-auditmod3b.c: Likewise.
1673 * elf/tst-auditmod4b.c: Likewise.
1674 * elf/tst-auditmod5b.c: Likewise.
1675 * elf/tst-auditmod6b.c: Likewise.
1676 * elf/tst-auditmod6c.c: Likewise.
1677 * elf/tst-auditmod7b.c: Likewise.
1678 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1679 * sysdeps/x86_64/preconfigure.in: Likewise.
1680 * sysdeps/x86_64/preconfigure: Regenerated.
1681
7e73e17d
L
16822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1685 __ILP32__.
1686
c7a6ab72
AB
16872012-04-13 Antoine Balestrat <merkil33@gmail.com>
1688
1689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1690 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1691
a9e8e0e0
CL
16922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1693
1694 [BZ #13973]
1695 * locale/iso-639.def: Fix gl language name. Spotted by
1696 Yaron Shahrabani.
1697
ec98af7d
RM
16982012-04-12 Roland McGrath <roland@hack.frob.com>
1699
1700 [BZ #2074]
1701 * libio/libio.h (__io_write_fn): Update comment.
1702
247c3ede
PB
17032012-04-12 Petr Baudis <pasky@ucw.cz>
1704
1705 [BZ #2074]
1706 * stdio.texi (Hook Functions): The user provided writer function
1707 is not allowed to return -1.
1708
55939d6d
DM
17092012-04-11 David S. Miller <davem@davemloft.net>
1710
1711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1712
90020f5a
MF
17132012-04-11 Mike Frysinger <vapier@gentoo.org>
1714
1715 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1716 Add a leading slash to rtkaio.
1717
288f9098
JM
17182012-04-11 Jim Meyering <meyering@redhat.com>
1719
90020f5a
MF
1720 [BZ #11959]
1721 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1722 It is not necessarily an error to ignore fwrite's return
1723 value. One can reliably use ferror to test for errors after
1724 the fact.
288f9098 1725
4be2b570
L
17262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 * bits/types.h (__snseconds_t): New type.
1729 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1730
1731 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1733 (__SNSECONDS_T_TYPE): Likewise.
1734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1735 (__SNSECONDS_T_TYPE): Likewise.
1736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1737 (__SNSECONDS_T_TYPE): Likewise.
1738
288f9098 17392012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1740
1741 [BZ #2636]
1742 * manual/time.texi (Processor Time): Return type of times is
1743 elapsed real time since an arbitrary point in the past.
1744 (CPU Time): Move CLK_TCK from here...
1745 (Processor Time): ...to here. Correct description.
1746 * manual/conf.texi (Constants for Sysconf): Correct description of
1747 _SC_CLK_TCK.
1748
d7dd4413
DM
17492012-04-10 David S. Miller <davem@davemloft.net>
1750
1751 [BZ #13967]
1752 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1753 where the is a gap between DT_REL(A) and DT_JMPREL.
1754
b46068fc
L
17552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1756
1757 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1758 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1759 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1760
73d65cc3
SP
17612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
1763 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1764 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1765 (dl_main): Handle --inhibit-cache.
1766 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1767 _dl_inhibit_cache.
1768 * elf/dl-load.c (_dl_map_object): Use it.
1769 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1770
bcc8d661
JM
17712012-04-09 Joseph Myers <joseph@codesourcery.com>
1772
8f9a2fae
JM
1773 [BZ #13872]
1774 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1775 (__ieee754_powl): Saturate large exponents rather than testing for
1776 overflow of y*log2(x).
1777 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1778 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1779 exceptions.
1780
bcc8d661
JM
1781 [BZ #11521]
1782 * math/s_ctan.c: Include <float.h>.
1783 (__ctan): Avoid internal overflow or cancellation in calculating
1784 denominator.
1785 * math/s_ctanf.c: Likewise.
1786 * math/s_ctanl.c: Likewise.
1787 * math/s_ctanh.c: Likewise.
1788 * math/s_ctanhf.c: Likewise.
1789 * math/s_ctanhl.c: Likewise.
1790 * math/libm-test.inc (ctan_test): Add more tests.
1791 (ctanh_test): Likewise.
1792 * sysdeps/i386/fpu/libm-test-ulps: Update.
1793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1794
823fbbb4
AJ
17952012-04-09 Andreas Jaeger <aj@suse.de>
1796
03879793
AJ
1797 [BZ #6894]
1798 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1799 is an optional BSD extension.
1800
823fbbb4
AJ
1801 [BZ #10254]
1802 * manual/stdio.texi (Opening Streams): Document additional fopen
1803 parameters.
1804
8de131cb
RM
18052012-04-09 Roland McGrath <roland@hack.frob.com>
1806
1807 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1808 %eax without telling the compiler.
1809
c0ed9d7d
CD
18102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1811
1812 [BZ # 13963]
1813 * manual/install.texi: Use sourceware.org.
1814
c483f6b4
JM
18152012-04-09 Joseph Myers <joseph@codesourcery.com>
1816
d7dd9453
JM
1817 [BZ #13873]
1818 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1819 (__ieee754_pow): Generate overflow and underflow using huge*huge
1820 and tiny*tiny rather than just returning constant infinity or zero
1821 for large exponents.
1822 * math/libm-test.inc (pow_test): Require overflow exceptions for
1823 applicable cases of large exponents.
1824
c483f6b4
JM
1825 [BZ #706]
1826 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1827 (__ieee754_pow): Use iterative multiplication algorithm only for
1828 integer exponents with absolute value below 1024. Check for odd
1829 integer exponents when using algorithm for real exponents.
1830 * math/libm-test.inc (pow_test): Add more tests.
1831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1832
d2de7579
JM
18332012-04-08 Joseph Myers <joseph@codesourcery.com>
1834
1835 [BZ #13705]
1836 * math/libm-test.inc (exp_test): Do not allow overflow exception
1837 on underflow test.
1838
f77f1232
AJ
18392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1840
1841 [BZ #13705]
1842 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1843 instead of __kernel_standard_f.
1844
3884932b
MF
18452012-04-08 Mike Frysinger <vapier@gentoo.org>
1846
1847 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1848 * sysdeps/x86_64/memset_chk.S: Likewise.
1849
54472e9c
AJ
18502012-04-08 Andreas Jaeger <aj@suse.de>
1851
6ab0fbfc
AJ
1852 [BZ #10153]
1853 * manual/startup.texi (Environment Access): Describe return value
1854 for putenv and setenv.
1855
61efba8c
AJ
1856 [BZ #6895]
1857 * manual/filesys.texi (Directory Entries): Add description for
1858 DT_LNK.
1859
95c3f29a
AJ
1860 [BZ #6890]
1861 * manual/filesys.texi (Directory Entries): Clarify that it's file
1862 system not operating system in the description of DT_UNKNOWN.
1863
54472e9c
AJ
1864 [BZ #6578]
1865 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1866
624254b1
SC
18672012-04-08 Stephen Compall <s11@member.fsf.org>
1868
1869 [BZ #6649]
1870 * manual/llio.texi (Opening and Closing Files): Add cross
1871 reference to explain mode argument.
1872
1e4920e0
MF
18732012-04-07 Mike Frysinger <vapier@gentoo.org>
1874
1875 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1876 * sysdeps/x86_64/memset_chk.S: Likewise.
1877
5ed848f3
DM
18782012-04-07 David S. Miller <davem@davemloft.net>
1879
1880 * elf/elf.h (R_SPARC_WDISP10): Define.
1881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1882 R_SPARC_SIZE32.
1883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1884 R_SPARC_SIZE64 and R_SPARC_H34.
1885
96154cd8
CD
18862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1887
1888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1889 conditions and remove no longer applicable assertion.
1890
9904dc47
L
18912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * bits/byteswap.h: Include <features.h>.
1894 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1895 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1896
f8887d0a
L
18972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1898
1899 * bits/byteswap.h (__bswap_16): Removed.
1900 Include <bits/byteswap-16.h> to get __bswap_16.
1901 * sysdeps/i386/bits/byteswap.h: Likewise.
1902 * sysdeps/s390/bits/byteswap.h: Likewise.
1903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1904 * bits/byteswap-16.h: New file.
1905 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1906 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1907 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1908 * string/Makefile (headers): Add bits/byteswap-16.h.
1909
62470f60
PP
19102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1911
1912 [BZ #13895]
1913 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1914 extra indirection.
1915 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1916 * nss/tst-nss-static.c: New.
1917
4dad7bab
RM
19182012-04-06 Robert Millan <rmh@gnu.org>
1919
1920 [BZ #6486]
1921 * manual/llio.texi (File Position Primitive): lseek
1922 refers to WHENCE when it really means OFFSET.
1923
e9142a17
AJ
19242012-04-06 Andreas Jaeger <aj@suse.de>
1925
2c040eff
AJ
1926 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1927 strncmp declarations.
1928
e9142a17
AJ
1929 * abilist/libc.abilist: Add __poll and __ppoll.
1930
ff9f1c5f
DM
19312012-04-05 David S. Miller <davem@davemloft.net>
1932
dcd2ae90
DM
1933 * scripts/check-local-headers.sh: Accept a host triplet in the
1934 path matched by the exclude regexp.
1935
993eb054
DM
1936 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1937 definition.
1938 * sysdeps/powerpc/powerpc32/dl-machine.h
1939 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1940 * sysdeps/s390/s390-32/dl-machine.h
1941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1942 * sysdeps/sparc/sparc32/dl-machine.h
1943 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1944 * sysdeps/sparc/sparc64/dl-machine.h
1945 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1946
ff9f1c5f
DM
1947 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1948 lazy binding.
48e2e132 1949 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1950 undefined symbol errors.
1951
48e2e132 1952 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1953 DT_NEEDED entries.
1954
e80d6f94
MM
19552012-04-05 Michael Matz <matz@suse.de>
1956
1957 [BZ #13592]
1958 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1959
349fa79f
AJ
19602012-04-05 Andreas Jaeger <aj@suse.de>
1961
1962 [BZ #13908]
1963 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1964 comment.
1965
f402708f
KK
19662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1967
1968 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1969 which ROUND is no valid rounding mode.
1970
2ecccfc9
KK
19712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1972
1973 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1974 read again.
1975 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1976
8a53f50f
KK
19772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1978
1979 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1980 an exception using FPU order intentionally.
1981
19822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1983
1984 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1985 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1986 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1987 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1988
d653abb7
SJ
19892012-04-05 Simon Josefsson <simon@josefsson.org>
1990
1991 [BZ #12340]
1992 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1993 EINVAL when BUFLEN is too smal.
1994
c3b1bf7d
TS
19952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1996
1997 [BZ #13553]
1998 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1999 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2000
b1aa60f3
AJ
20012012-04-03 Andreas Jaeger <aj@suse.de>
2002
c3b1bf7d 2003 [BZ #13938]
67f60a26
AJ
2004 * manual/setjmp.texi (System V contexts): Fix sentence.
2005
b1aa60f3
AJ
2006 [BZ #13926]
2007 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2008 New macro for this case.
2009 [!__GNUC__] (__bswap_64): New inline function for this case.
2010 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2011 * bits/byteswap.h: Likewise.
2012 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2013 ull, guard with __GLIBC_HAVE_LONG_LONG.
2014
2015 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2016 __GLIBC_HAVE_LONG_LONG.
2017
2018 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2019 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2020
39c59c35
TMQMF
20212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2022
2023 [BZ #13691]
2024 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2025 inptr and inend, rather than using last_ch.
2026
135ffda8
DM
20272012-04-02 David S. Miller <davem@davemloft.net>
2028
2029 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2030 * stdio-common/printf-parse.h (read_int): Change return type to
2031 'int', return -1 on INT_MAX overflow.
2032 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2033 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2034 overflows INT_MAX. Check for overflow of in-format-string precision
2035 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2036 SIZE_MAX not INT_MAX for integer overflow test.
2037 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2038 skip the construct in the format string but do not record anything.
2039 * stdio-common/bug22.c: Adjust to test both width/prevision
2040 INT_MAX overflow as well as total length INT_MAX overflow. Check
2041 explicitly for proper errno values.
2042
228c019e
TS
20432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2044
302cadd3
TS
2045 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2046 CHAR_MAX.
2047 * string/test-strcmp.c [! WIDE]: Likewise.
2048 * time/tst-mktime2.c: Likewise for INT_MAX.
2049 * string/test-string.h: #include <sys/param.h> for MIN.
2050
228c019e
TS
2051 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2052 * sysdeps/i386/init-first.c (init): Likewise.
2053 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2054 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2055 * sysdeps/sh/init-first.c (init): Likewise.
2056
cfa633f5
UD
20572012-04-01 Ulrich Drepper <drepper@gmail.com>
2058
2059 * po/ru.po: Update from translation team.
d1635ef8 2060 * po/vi.po: Likewise.
cfa633f5 2061
6cd0a5ea
SP
20622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
2064 * resolv/nss_dns/dns-host.c: Merge copyright years.
2065
4b43400f
LD
20662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2067
2068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2069 Optimize memcpy with prefetch if
2070 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2071 src, dst pointers have unequal 16 byte alignments.
2072
48c41d04
SP
20732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2074
2075 [BZ #13928]
2076 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2077 from a CNAME entry and return the minimum ttl for the query.
2078 (gaih_getanswer_slice): Likewise.
2079
b8dc394d
JL
20802012-03-30 Jeff Law <law@redhat.com>
2081
2082 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2083 due to long keys.
2084 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2085 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2086
2f5a5ed0
JL
2087 * resolv/nss_dns/dns-host.c: Update copyright year.
2088
1d39e359
UD
20892012-03-30 Ulrich Drepper <drepper@gmail.com>
2090
c030f70c 2091 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2092 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2093
1d39e359
UD
2094 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2095 comments for sendmmsg.
2096
20972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2098
2099 [BZ #13691]
2100 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2101 with only 1 character between 0x0041 and 0x01b0.
2102 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2103 * wcsmbs/tst-mbsnrtowcs.c: New file.
2104
20fde227
DM
21052012-03-29 David S. Miller <davem@davemloft.net>
2106
2107 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2108 small copies by hand.
2109
984a4237
JL
21102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2111
2112 [BZ #13761]
2113 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2114 _nss_compat_initgroups_dyn): Fall back to malloc/free
2115 for large group memberships.
2116
18c9d62b
DM
21172012-03-28 David S. Miller <davem@davemloft.net>
2118
88d85d4f
DM
2119 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2120 that branches into memcpy.
2121 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2124 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2126 bits.
2127 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2128 implementation too.
2129 * sysdeps/sparc/mempcpy.S: New file.
2130
e5aa83e1
DM
2131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2132 the IFUNC routine in the libc case.
2133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2134
88570753
DM
2135 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2136 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2137 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2138 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2139 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2140 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2141 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2142 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2143
249d7567
DM
2144 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2145 loop to 256 bytes instead of 64 bytes and fix test signedness.
2146
18c9d62b
DM
2147 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2148 * sysdeps/sparc/sparc32/Makefile: rather than here...
2149 * sysdeps/sparc/sparc64/Makefile: and here.
2150
05f3d1f6
UD
21512012-03-28 Ulrich Drepper <drepper@gmail.com>
2152
2153 * malloc/mallocbug.c: Avoid warnings about unused variables.
2154
86ae07a8
JL
21552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2156
2157 [BZ #13760]
2158 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2159 in the right place. Discard and retry query if response is
2160 larger than input buffer size.
2161
41bf21a1
JM
21622012-03-28 Joseph Myers <joseph@codesourcery.com>
2163
d6270972
JM
2164 [BZ #369]
2165 [BZ #2678]
2166 [BZ #3866]
2167 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2168 x for large integer exponent.
2169 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2170 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2171 sign of result as needed afterwards.
2172 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2173 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2174 result for underflowing pow the same as for overflow.
2175 (__kernel_standard_l): Handle powl overflow and underflow here
2176 rather than calling __kernel_standard.
2177 * math/libm-test.inc (pow_test): Add more tests.
2178
414fca03 2179 [BZ #3868]
41bf21a1
JM
2180 [BZ #13879]
2181 [BZ #13910]
2182 [BZ #13911]
2183 [BZ #13912]
2184 [BZ #13913]
2185 [BZ #13915]
2186 [BZ #13916]
2187 [BZ #13917]
2188 [BZ #13918]
2189 [BZ #13919]
2190 [BZ #13920]
2191 [BZ #13921]
2192 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2193 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2194 (__kernel_standard_l): New function.
2195 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2196 __kernel_standard.
2197 * math/w_acosl.c (__acosl): Likewise.
2198 * math/w_asinl.c (__asinl): Likewise.
2199 * math/w_atan2l.c (__atan2l): Likewise.
2200 * math/w_atanhl.c (__atanhl): Likewise.
2201 * math/w_coshl.c (__coshl): Likewise.
2202 * math/w_exp10l.c (__exp10l): Likewise.
2203 * math/w_exp2l.c (__exp2l): Likewise.
2204 * math/w_fmodl.c (__fmodl): Likewise.
2205 * math/w_hypotl.c (__hypotl): Likewise.
2206 * math/w_j0l.c (__j0l, __y0l): Likewise.
2207 * math/w_j1l.c (__j1l, __y1l): Likewise.
2208 * math/w_jnl.c (__jnl, __ynl): Likewise.
2209 * math/w_lgammal.c (__lgammal): Likewise.
2210 * math/w_log10l.c (__log10l): Likewise.
2211 * math/w_log2l.c (__log2l): Likewise.
2212 * math/w_logl.c (__logl): Likewise.
2213 * math/w_powl.c (__powl): Likewise.
2214 * math/w_remainderl.c (__remainderl): Likewise.
2215 * math/w_scalbl.c (sysv_scalbl): Likewise.
2216 * math/w_sinhl.c (__sinhl): Likewise.
2217 * math/w_sqrtl.c (__sqrtl): Likewise.
2218 * math/w_tgammal.c (__tgammal): Likewise.
2219 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2220 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2221 * math/libm-test.inc (acos_test): Add more tests.
2222 (acosh_test): Likewise.
2223 (asin_test): Likewise.
2224 (atanh_test): Likewise.
2225 (exp_test): Likewise.
2226 (exp10_test): Likewise.
2227 (exp2_test): Likewise.
2228 (expm1_test): Likewise.
2229 (lgamma_test): Likewise.
2230 (log_test): Likewise.
2231 (log10_test): Likewise.
2232 (log1p_test): Likewise.
2233 (log2_test): Likewise.
2234 (pow_test): Do not allow some spurious overflow exceptions.
2235 (sqrt_test): Add more tests.
2236 (tgamma_test): Likewise.
2237 (y0_test): Likewise.
2238 (y1_test): Likewise.
2239 (yn_test): Likewise.
2240
dd62fda6
AB
22412012-03-27 Anton Blanchard <anton@samba.org>
2242
2243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2244 MAP_HUGETLB.
2245 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2246 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2248
1e3cdfda
AJ
22492012-03-27 David S. Miller <davem@davemloft.net>
2250
b855ab85
DM
2251 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2252
1e3cdfda
AJ
2253 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2254 have-as-vis3 check.
2255
22562012-03-27 Andreas Jaeger <aj@suse.de>
2257
2258 * sysdeps/x86_64/elf/configure.in: Moved to ...
2259 * sysdeps/x86_64/configure.in: ... here.
2260 * sysdeps/x86_64/elf/start.S: Moved to ...
2261 * sysdeps/x86_64/start.S: ... here.
2262 * sysdeps/x86_64/elf/configure: Delete.
2263
2264 * sysdeps/x86_64/configure.in: Merge contents from
2265 sysdeps/i386/configure.in (without i686 check).
2266
2267 * sysdeps/i386/elf/Versions: Merge into ...
2268 * sysdeps/i386/Versions: ... this.
2269 * sysdeps/i386/elf/Versions: Delete file.
2270 * sysdeps/i386/elf/start.S: Moved to ...
2271 * sysdeps/i386/start.S: ...here.
2272 * sysdeps/i386/elf/configure.in: Merge into...
2273 * sysdeps/i386/configure.in: ...here.
2274 * sysdeps/i386/elf/configure.in: Delete file.
2275 * sysdeps/i386/elf/configure: Delete file.
2276
2277 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2278 * debug/backtracesyms.c: ... here.
2279 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2280 * debug/backtracesymsfd.c: ... here.
2281 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2282 * sysdeps/generic/ifunc-sel.h: ... here.
2283
2284 * sysdeps/unix/i386/start.c: Delete file.
2285 * sysdeps/unix/sparc/start.c: Delete file.
2286 * sysdeps/unix/start.c: Delete file.
2287
2288 * sysdeps/sh/elf/configure.in: Moved to ...
2289 * sysdeps/sh/configure.in: ... here.
2290 * sysdeps/sh/elf/start.S: Moved to ...
2291 * sysdeps/sh/start.S: ... here.
2292 * sysdeps/sh/elf/configure: Delete file.
2293
2294 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2295 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2296 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2297 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2298 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2299 * sysdeps/powerpc/powerpc64/start.S: here.
2300 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2301 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2302 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2303 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2304 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2305
2306 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2307 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2308 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2309 * sysdeps/powerpc/powerpc32/start.S: ... here.
2310 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2311 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2312 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2313
2314 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2315 * sysdeps/powerpc/ifunc-sel.h: ... here.
2316 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2317 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2318
2319 * sysdeps/sparc/elf/configure.in: Moved to ...
2320 * sysdeps/sparc/configure.in: ... here.
2321 * sysdeps/sparc/elf/configure: Delete file.
2322 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2323 * sysdeps/sparc/sparc32/start.S: ... here.
2324 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2325 * sysdeps/sparc/sparc64/start.S: ... here.
2326 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2327 * sysdeps/sparc/sparc32/Makefile: ... this.
2328 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2329 * sysdeps/sparc/sparc64/Makefile: ... this.
2330
2331 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2332 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2333 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2334 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2335 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2336 * sysdeps/s390/s390-32/setjmp.S: ... here.
2337 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2338 * sysdeps/s390/s390-32/configure.in: ... here.
2339 * sysdeps/s390/s390-32/elf/configure: Delete file.
2340 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2341 * sysdeps/s390/s390-32/start.S: ... here.
2342
2343 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2344 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2345 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2346 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2347 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2348 * sysdeps/s390/s390-64/setjmp.S: ... here.
2349 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2350 * sysdeps/s390/s390-64/configure.in: ... here
2351 * sysdeps/s390/s390-64/elf/configure: Delete file.
2352 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2353 * sysdeps/s390/s390-64/start.S: ... here.
2354 * sysdeps/s390/s390-64/elf/configure: Delete.
2355
2356 * configure.in: Remove support for elf directories in sysdeps.
2357
2358 * configure: Regenerated.
2359 * sysdeps/i386/configure: Regenerated.
2360 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2361 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2362 * sysdeps/s390/s390-32/configure: Regenerated.
2363 * sysdeps/s390/s390-64/configure: Regenerated.
2364 * sysdeps/sh/configure: Regenerated.
2365 * sysdeps/sparc/configure: Regenerated.
2366 * sysdeps/x86_64/configure: Regenerated.
2367
a3f61311
AS
23682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2369
c876e002
AS
2370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2371
a3f61311
AS
2372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2373 denormal result into account.
2374
ac4c54f0
RM
23752012-03-25 Roland McGrath <roland@hack.frob.com>
2376
2377 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2378 Reported by Allan McRae <allan@archlinux.org>.
2379
6a9b9c02
JL
23802012-03-23 Jeff Law <law@redhat.com>
2381
2382 * nss/getnssent.c (__nss_getent): Fix typo.
2383
4c42a0c1
DM
23842012-03-23 David S. Miller <davem@davemloft.net>
2385
2386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2387
1532c7ac
L
23882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2391 to pad to uint64_t for each field.
2392 (dl_tls_index): Replace unsigned long with uint64_t.
2393
3ff42526
PP
23942012-03-23 Daniel Jacobowitz <dmj@google.com>
2395 Paul Pluzhnikov <ppluzhnikov@google.com>
2396
2397 [BZ #6528]
2398 * grp/Makefile (otherlibs): Don't set it.
2399 * inet/Makefile (otherlibs): Likewise.
2400 * login/Makefile (otherlibs): Likewise.
2401 * nscd/Makefile (otherlibs): Likewise.
2402 * posix/Makefile (otherlibs): Likewise.
2403 * pwd/Makefile (otherlibs): Likewise.
2404 * rt/Makefile (otherlibs): Likewise.
2405 * sunrpc/Makefile (otherlibs): Likewise.
2406 * nss/Makefile (otherlibs): Likewise.
2407 Add libnss_files to routines and static-only-routines.
2408 ($(objpfx)getent): Remove rule.
2409 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2410 static-only-routines.
2411
7c69cd14
JM
24122012-03-22 Joseph Myers <joseph@codesourcery.com>
2413
2414 [BZ #13892]
2415 * math/s_cexp.c: Include <float.h>.
2416 (__cexp): Handle exp result overflowing not necessarily
2417 overflowing both real and imaginary parts of result.
2418 * math/s_cexpf.c: Likewise.
2419 * math/s_cexpl.c: Likewise.
2420 * math/libm-test.inc (cexp_test): Add more tests.
2421 * sysdeps/i386/fpu/libm-test-ulps: Update.
2422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2423
81b035fe
L
24242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * include/link.h (ELFW): New macro.
2427 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2428 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2429
1da7940c
L
24302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2431
2432 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2433 with uint64_t.
2434
b749dbb9
L
24352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2436
2437 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2438 declaration.
2439 (struct La_x32_retval): Likewise.
2440
2ff87f3f
L
24412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2442
2443 * sysdeps/x86_64/preconfigure.in: New file.
2444 * sysdeps/x86_64/preconfigure: New generated file.
2445
c0df8e69
JM
24462012-03-22 Joseph Myers <joseph@codesourcery.com>
2447
48e44791
JM
2448 [BZ #13824]
2449 * math/e_exp2l.c: Include <float.h>.
2450 (__ieee754_exp2l): Handle overflow and underflow cases
2451 separately. Only pass fractional part of argument to
2452 __ieee754_expl.
2453 * math/libm-test.inc (exp2_test): Add more tests.
2454
c0df8e69
JM
2455 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2456 negating x to take absolute value.
2457 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2458 Likewise.
2459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2461 Likewise.
2462 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2463 computing low part if x was negated.
2464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2465
c8e43ba7
L
24662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2469 la_x32_gnu_pltexit.
2470 (pltexit): Cast int_retval to ptrdiff_t.
2471 * elf/tst-auditmod3b.c: Likewise.
2472 * elf/tst-auditmod4b.c: Likewise.
2473 * elf/tst-auditmod5b.c: Likewise.
2474 * elf/tst-auditmod6b.c: Likewise.
2475 * elf/tst-auditmod6c.c: Likewise.
2476 * elf/tst-auditmod7b.c: Likewise.
2477
2478 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2479 and x32_gnu_pltexit.
2480
2481 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2482 __ELF_NATIVE_CLASS.
2483 (La_x32_regs): New macro.
2484 (La_x32_retval): Likewise.
2485 (la_x32_gnu_pltenter): New function prototype.
2486 (la_x32_gnu_pltexit): Likewise.
2487
7998fa78
AS
24882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2489
dcb33988
AS
2490 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2491 exponent.
2492
233fc563
AS
2493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2494
7998fa78
AS
2495 * configure.in (libc_cv_cc_nofma): Check for option to disable
2496 generation of FMA instructions.
2497 * configure: Regenerate.
2498 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2499 * sysdeps/ieee754/dbl-64/Makefile: New file.
2500 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2501 Remove brandred-fma4.
2502 (CFLAGS-brandred-fma4.c): Remove.
2503 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2504 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2505 define.
2506 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2507 define.
2508
8e95c99a
L
25092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2512 LLONG_MAX != LONG_MAX.
2513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2514 (_fitoa_word): Likewise.
2515 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2516 LLONG_MAX != LONG_MAX.
2517 * stdio-common/_itowa.h: Include <_itoa.h>.
2518 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2519 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2520 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2521 only if not defined.
2522 (_ITOA_WORD_TYPE): Likewise.
2523 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2524 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2525
6f4db457
DM
25262012-03-21 David S. Miller <davem@davemloft.net>
2527
2528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2529
7785fe5a
L
25302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2533 of x86_64 when setting libc_cv_slibdir, libdir and
2534 libc_cv_localedir.
2535 * sysdeps/unix/sysv/linux/configure: Regenerated.
2536
4535cd55
JM
25372012-03-21 Joseph Myers <joseph@codesourcery.com>
2538
2539 * manual/lang.texi (Old Varargs): Remove section.
2540 (How Variadic): Update menu.
2541 (va_start): Do not mention varargs.h.
2542
17228132
TS
25432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2544 Joseph Myers <joseph@codesourcery.com>
2545
2546 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2547 link test.
2548 * configure: Regenerated.
2549
8149f976
TS
25502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2551
05f3d1f6
UD
2552 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2553 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2554 conformtest.pl
8149f976 2555
1a4ac776
JM
25562012-03-21 Joseph Myers <joseph@codesourcery.com>
2557
be22ce65
JM
2558 * NOTES: Remove.
2559 * Makefile (files-for-dist): Remove NOTES.
2560 (NOTES): Remove rule.
2561 * README: Don't refer to NOTES.
2562 * manual/creature.texi: Don't include macros.texi.
2563 * manual/intro.texi (creature.texi): Remove comment referring to
2564 NOTES.
2565
40b601fb
JM
2566 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2567 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2568 * configure: Regenerated.
2569 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2570 LIBC_TRY_CC_OPTION.
2571 (libc_cv_as_i686): Likewise.
2572 (libc_cv_cc_avx): Likewise.
2573 (libc_cv_cc_sse2avx): Likewise.
2574 (libc_cv_cc_fma4): Likewise.
2575 (libc_cv_cc_novzeroupper): Likewise.
2576 * sysdeps/i386/configure: Regenerated.
2577
1a4ac776
JM
2578 [BZ #13883]
2579 * sysdeps/i386/fpu/s_cexp.S: Remove.
2580 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2581 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2582 * math/libm-test.inc (cexp_test): Add more tests.
2583 * sysdeps/i386/fpu/libm-test-ulps: Update.
2584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2585
a458e7fe
AM
25862012-03-21 Allan McRae <allan@archlinux.org>
2587
2588 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2589
0cb7efc5
JM
25902012-03-21 Joseph Myers <joseph@codesourcery.com>
2591
2592 [BZ #13871]
2593 * math/w_exp2.c: Do not include <float.h>.
2594 (o_threshold, u_threshold): Remove.
2595 (__exp2): Calculate result before checking finiteness and calling
2596 __kernel_standard.
2597 * math/w_exp2f.c: Likewise.
2598 * math/w_exp2l.c: Likewise.
2599 * math/libm-test.inc (exp2_test): Require overflow exception for
2600 1e6 input.
2460d3aa
JM
2601
2602 [BZ #3866]
2603 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2604 range of signed 64-bit integers before using fistpll. Remove
2605 checks for whether integers fit in mantissa bits.
2606 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2607 the range of signed 32-bit integers before using fistpl. Remove
2608 checks for whether integers fit in mantissa bits.
2609 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2610 (__ieee754_powl): Test for y outside the range of signed 64-bit
2611 integers before using fistpll. Reduce 64-bit values to 63-bit
2612 ones as needed.
2613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2614 divide-by-zero is raised for zero to large negative powers.
2615 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2616 (__ieee754_powl): Test for y outside the range of signed 64-bit
2617 integers before using fistpll. Reduce 64-bit values to 63-bit
2618 ones as needed.
2619 * math/libm-test.inc (pow_test): Add more tests.
2620
eb96ffb0
L
26212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2622
2623 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2624 <stdio-common/_itoa.h>.
2625 * debug/segfault.c: Likewise.
2626 * elf/dl-cache.c: Likewise.
2627 * elf/dl-minimal.c: Likewise.
2628 * elf/dl-misc.c: Likewise.
2629 * elf/dl-sysdep.c: Likewise.
2630 * elf/dl-version.c: Likewise.
2631 * elf/rtld.c: Likewise.
2632 * hurd/hurdsock.c: Likewise.
2633 * hurd/lookup-retry.c: Likewise.
2634 * malloc/malloc.c: Likewise.
2635 * malloc/mtrace.c: Likewise.
2636 * nscd/nscd_getgr_r.c: Likewise.
2637 * nscd/nscd_getpw_r.c: Likewise.
2638 * nscd/nscd_getserv_r.c: Likewise.
2639 * posix/getopt_init.c: Likewise.
2640 * posix/wordexp.c: Likewise.
2641 * stdio-common/_itoa.c: Likewise.
2642 * stdio-common/printf_fphex.c: Likewise.
2643 * stdio-common/vfprintf.c: Likewise.
2644 * string/_strerror.c: Likewise.
2645 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2646 * sysdeps/i386/i686/hp-timing.h: Likewise.
2647 * sysdeps/mach/_strerror.c: Likewise.
2648 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2649 * sysdeps/mach/hurd/sethostid.c: Likewise.
2650 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2651 * sysdeps/mach/xpg-strerror.c: Likewise.
2652 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2654 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2655 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2656 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2657 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2658 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2659 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2660 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2661 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2662 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2663 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2665 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2666 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2667 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2670 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2671 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2672 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2673
2674 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2675
2676 * stdio-common/_itoa.h: Moved to ...
2677 * sysdeps/generic/_itoa.h: Here.
2678
2679 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2680
2681 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2682 instead of "_itoa.h" and "_itowa.h".
2683 * stdio-common/vfprintf.: Likewise.
2684
d1af992d
L
26852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2688 <bits/wordsize.h>.
2689 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2690 (__signbit): Likwise.
2691 (llrintf): Likwise.
2692 (llrint): Likwise.
2693
114883e0
L
26942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2697 __WORDSIZE != 64.
2698
c135cc1b
JM
26992012-03-20 Joseph Myers <joseph@codesourcery.com>
2700
2701 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2702 OVERFLOW_EXCEPTION_OK.
2703 * math/libm-test.inc ("Philosophy"): Update comment about
2704 exception testing.
2705 (OVERFLOW_EXCEPTION): Define.
2706 (OVERFLOW_EXCEPTION_OK): Likewise.
2707 (INVALID_EXCEPTION_OK): Renumber.
2708 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2709 (IGNORE_ZERO_INF_SIGN): Likewise.
2710 (test_exceptions): Handle FE_OVERFLOW.
2711 (exp10_test): Expect overflow exceptions.
2712 (exp2_test): Likewise.
2713 (expm1_test): Likewise.
2714 (nextafter_test): Likewise.
2715 (pow_test): Likewise.
2716 (scalbn_test): Likewise.
2717 (scalbln_test): Likewise.
2718
95443d88
L
27192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2720
2721 * sysdeps/x86_64/bits/atomic.h
2722 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2723 64bit integer.
2724 (atomic_exchange_acq): Likewise.
2725 (__arch_exchange_and_add_body): Likewise.
2726 (__arch_add_body): Likewise.
2727 (atomic_add_negative): Likewise.
2728 (atomic_add_zero): Likewise.
2729
490df6c4
L
27302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2731
c2722551 2732 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2733 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2734
5e52b189
L
27352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2736
2737 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2738 Check __x86_64__ instead of __WORDSIZE.
2739
a9879d4c
L
27402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2743
5df98260
DM
27442012-03-19 David S. Miller <davem@davemloft.net>
2745
e1497744
DM
2746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2747
5df98260
DM
2748 * sysdeps/sparc/fpu/fenv_private.h: New file.
2749 * sysdeps/sparc/fpu/math_private.h: Use it.
2750 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2751 Remove.
2752 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2753 (libc_feholdexcept_setroundl): Remove.
2754 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2755 Remove.
2756 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2757 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2758
b4c35121
L
27592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2762 int64_t instead of long int.
2763 (INSERT_WORDS64): Likwise.
2764
56965fd7
L
27652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2766
2767 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2768 _Unwind_GetCFA return to _Unwind_Ptr first.
2769
83d1aec8
JM
27702012-03-19 Joseph Myers <joseph@codesourcery.com>
2771
1897ad44
JM
2772 [BZ #13629]
2773 * math/s_clog.c: Include <float.h>.
2774 (__clog): Scale large or subnormal inputs.
2775 * math/s_clogf.c: Likewise.
2776 * math/s_clogl.c: Likewise.
2777 * math/s_clog10.c: Include <float.h>.
2778 (M_LOG10_2): Define.
2779 (__clog10): Scale large or subnormal inputs.
2780 * math/s_clog10f.c: Likewise.
2781 * math/s_clog10l.c: Likewise.
2782 * math/libm-test.inc (clog_test): Add more tests.
2783 (clog10_test): Likewise.
2784 * sysdeps/i386/fpu/libm-test-ulps: Update.
2785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2786
7726d6a9
JM
2787 [BZ #11451]
2788 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2789 x and y.
2790 * math/libm-test.inc (atan2_test): Add another test.
2791
83d1aec8
JM
2792 * Makerules (common-objdir-compile): Remove.
2793 * sysdeps/unix/Makefile (config-generated): Do not add
2794 $(unix-generated) to variable.
2795 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2796 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2797 Remove rule.
2798 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2799 Likewise.
2800 [generic bits/local_lim.h] (before-compile): Do not append to
2801 variable.
2802 [generic bits/local_lim.h] (common-generated): Likewise.
2803 [generic sys/param.h] (before-compile): Do not append to variable.
2804 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2805 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2806 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2807 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2808 include.
2809 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2810 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2811 [generic sys/param.h] ($(addprefix
2812 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2813 [generic sys/param.h] (common-generated): Do not append to
2814 variable.
2815 [generic sys/param.h] (sysdep_headers): Likewise.
2816 [generic bits/errno.h] (before-compile): Do not append to
2817 variable.
2818 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2819 rule.
2820 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2821 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2822 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2823 [generic bits/errno.h] (common-generated): Do not append to
2824 variable.
2825 [generic bits/ioctls.h] (before-compile): Do not append to
2826 variable.
2827 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2828 rule.
2829 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2830 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2831 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2832 rule.
2833 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2834 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2835 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2836 [generic bits/ioctls.h] (common-generated): Do not append to
2837 variable.
2838 [generic sys/syscall.h] (syscall.h): Remove variable.
2839 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2840 rule.
2841 [generic sys/syscall.h] (before-compile): Do not append to
2842 variable.
2843 [generic sys/syscall.h] (common-generated): Likewise.
2844 * sysdeps/unix/errnos-tmpl.c: Remove file.
2845 * sysdeps/unix/errnos.awk: Likewise.
2846 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2847 * sysdeps/unix/ioctls.awk: Likewise.
2848 * sysdeps/unix/mk-local_lim.c: Likewise.
2849 * sysdeps/unix/snarf-ioctls: Likewise.
2850
4851a949
RH
28512012-03-19 Richard Henderson <rth@twiddle.net>
2852
bd37f2ee
RH
2853 * sysdeps/i386/fpu/fenv_private.h: New file.
2854 * sysdeps/i386/fpu/math_private.h: Use it.
2855 (math_opt_barrier, math_force_eval): Remove.
2856 (libc_feholdexcept_setround_53bit): Remove.
2857 (libc_feupdateenv_53bit): Remove.
2858 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2859 (math_opt_barrier, math_force_eval): Remove.
2860 (libc_feholdexcept): Remove.
2861 (libc_feholdexcept_setround): Remove.
2862 (libc_fetestexcept, libc_fesetenv): Remove.
2863 (libc_feupdateenv_test): Remove.
2864 (libc_feupdateenv, libc_feholdsetround): Remove.
2865 (libc_feresetround): Remove.
2866
d0adc922
RH
2867 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2868 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2869
0fe0f1f8
RH
2870 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2871 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2872 (libc_feupdateenv_testl): New.
2873 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2874 (libc_feupdateenv_testf): New.
2875 (libc_feupdateenv): Use libc_feupdateenv_test.
2876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2877 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2878
eb92c487
RH
2879 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2880 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2881 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2882 (libc_feresetround_noex): New.
2883 (libc_feresetround_noexf): New.
2884 (libc_feresetround_noexl): New.
2885 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2886 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2887 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2888 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2889 SET_RESTORE_ROUND.
2890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2891 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2892 (__cos): Likewise.
2893 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2894 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2895 SET_RESTORE_ROUND_NOEX.
2896 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2897 SET_RESTORE_ROUND_NOEXF.
2898 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2899 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2900 (libc_feholdsetroundf): New.
2901 (libc_feresetround, libc_feresetroundf): New.
2902
7d2e8012
RH
2903 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2904 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2905 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2906
b4dabbb4
RH
2907 * sysdeps/generic/math_private.h: Include <fenv.h>.
2908 (default_libc_feholdexcept): New.
2909 (default_libc_feholdexcept_setround): New.
2910 (default_libc_fesetenv, default_libc_feupdateenv): New.
2911 (libc_feholdexcept): Only define if undefined.
2912 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2913 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2914 (libc_feholdexcept_setroundl): Likewise.
2915 (libc_feholdexcept_setround_53bit): Likewise.
2916 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2917 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2918 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2919 (libc_feupdateenv_53bit): Likewise.
2920 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2921 (libc_feholdexcept): Convert from macro to inline function.
2922 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2923 (libc_fesetenv, libc_feupdateenv): Likewise.
2924
4851a949
RH
2925 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2926 not previously defined.
2927 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2928 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2929 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2930 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2931 * sysdeps/ieee754/flt-32/math_private.h: New file.
2932 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2933 math_private.h below SET_FLOAT_WORD.
2934 (__isnan, __isinf_ns, __finite): Remove.
2935 (__isnanf, __isinf_nsf, __finitef): Remove.
2936
e79d442e
AS
29372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2938
2939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2940
90b80344
DM
29412012-03-17 David S. Miller <davem@davemloft.net>
2942
2943 [BZ #6471]
2944 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2945 for 2.16.
2946
edc21804
DM
29472012-03-16 David S. Miller <davem@davemloft.net>
2948
77e927af
DM
2949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2950 warnings.
2951
374976dd
DM
2952 [BZ #6471]
2953 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2954 properly.
2955 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2956 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2957 sysdep_routines when subdir is sysvipc.
2958 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2959 __getshmlba helper.
2960
edc21804
DM
2961 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2962
473c3ef3
L
29632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2964
2965 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2966 [__LP64__].
2967
eb0f39b6
L
29682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2969
2970 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2971 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2972 (__lround): Renamed to ...
2973 (__llround): This. Replace long int with long long int.
2974 Define lround functions as aliases of llround functions.
2975 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2976
6b6cd74b
L
29772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2980 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2981 adresses to uintptr_t. Replace "long int" and "unsigned long
2982 int" with "greg_t" on va_arg.
2983
f1a77b01
L
29842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2987 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2988
2989 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2990 Move e_machine check before EI_CLASS check. Handle x32
2991 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2992 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2993 SKIP_EM_IA_64 and include
2994 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2995
2996 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2997 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2998 (add_system_dir): New macro.
2999
3000 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3001 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3002
11b90b9f
JM
30032012-03-16 Joseph Myers <joseph@codesourcery.com>
3004
c36e1d23
JM
3005 [BZ #2551]
3006 [BZ #2552]
3007 [BZ #2553]
3008 [BZ #2554]
3009 [BZ #2562]
3010 [BZ #2563]
3011 [BZ #2565]
3012 [BZ #2566]
3013 [BZ #2576]
3014 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3015 (y0): Likewise.
3016 * math/w_j0f.c (j0f): Likewise.
3017 (y0f): Likewise.
3018 * math/w_j0l.c (__j0l): Likewise.
3019 (__y0l): Likewise.
3020 * math/w_j1.c (j1): Likewise.
3021 (y1): Likewise.
3022 * math/w_j1f.c (j1f): Likewise.
3023 (y1f): Likewise.
3024 * math/w_j1l.c (__j1l): Likewise.
3025 (__y1l): Likewise.
3026 * math/w_jn.c (jn): Likewise.
3027 (yn): Likewise.
3028 * math/w_jnf.c (jnf): Likewise.
3029 (ynf): Likewise.
3030 * math/w_jnl.c (__jnl): Likewise.
3031 (__ynl): Likewise.
3032 * math/libm-test.inc (j0_test): Add more tests.
3033 (j1_test): Likewise.
3034 (jn_test): Likewise. Add trailing semicolon to existing test.
3035 (y0_test): Likewise.
3036 (y1_test): Likewise.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3039
11b90b9f
JM
3040 [BZ #13851]
3041 [BZ #13854]
3042 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3043 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3044 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3045 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3046 (__tanl): Set errno for infinite argument.
3047 * sysdeps/i386/fpu/mptan.c: Remove.
3048 * sysdeps/i386/fpu/s_tan.S: Likewise.
3049 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3050 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3051 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3052 * math/libm-test.inc (tan_test): Add more tests and enable more
3053 tests for double and long double.
3054 * sysdeps/i386/fpu/libm-test-ulps: Update.
3055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3056
6a1bd2a1
JK
30572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3060 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3061
10a803e0
RM
30622012-03-16 Roland McGrath <roland@hack.frob.com>
3063
3064 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3065 * configure.in: Use it for both main tree and add-ons.
3066 * configure: Regenerated.
3067
f196c7f7
L
30682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3069
3070 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3071
8848d99d
JM
30722012-03-16 Joseph Myers <joseph@codesourcery.com>
3073
96cbe7f4
JM
3074 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3075 in comment.
3076
8848d99d
JM
3077 [BZ #13851]
3078 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3079 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3080 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3081 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3082 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3083 infinite argument.
3084 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3086 != 0 for prec == 2.
3087 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3088 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3089 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3090 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3091 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3092 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3093 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3094 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3095 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3096 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3097 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3098 * math/libm-test.inc (cos_test): Add more tests and enable more
3099 tests for long double.
3100 (sin_test): Likewise.
3101 (sincos_test): Likewise.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3104
dd7f4703
DM
31052012-03-16 David S. Miller <davem@davemloft.net>
3106
3107 * sysdeps/sparc/fpu/math_private.h: New file.
3108
006f1daa
DM
31092012-03-15 David S. Miller <davem@davemloft.net>
3110
c0c83bc8
DM
3111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3112 file.
e6a62e18 3113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3115 file.
e6a62e18
DM
3116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3121 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3122 sysdep routines.
3123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3124
88cb87d9
DM
3125 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3126 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3127
006f1daa 3128 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3130 sparc-ifunc.h
006f1daa 3131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3133 Likewise.
3134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3135 Likewise.
006f1daa
DM
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3140 Likewise.
006f1daa
DM
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3146 Likewise.
3147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3148 Likewise.
006f1daa
DM
3149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3173
11e0098e
AS
31742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3175
3176 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3177 scaling.
3178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3179
e85b09d0
AJ
31802012-03-15 Andreas Jaeger <aj@suse.de>
3181
3182 [BZ #13852]
3183 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3184 ieee754/flt-32 implementation for sin, cos and sincos.
3185 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3186 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3187 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3188 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3189 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3190 ieee754/flt-32 implementation for tan.
3191
3192 * math/libm-test.inc (cos_test): Enable some large input tests for
3193 float as well
3194 (sin_test): Likewise.
3195 (sincos_test): Likewise.
3196 (tan_test): Add tests for large input.
3197
3198 * sysdeps/i386/fpu/libm-test-ulps: Update.
3199
81c64153
AJ
32002012-03-15 Andreas Jaeger <aj@suse.de>
3201
3202 [BZ #13658]
3203 * math/libm-test.inc (cos_test): Add more test cases.
3204 (sin_test): Likewise.
3205 (sincos_test): Likewise.
3206
7bbfa5c6
AJ
32072012-03-15 Andreas Jaeger <aj@suse.de>
3208
3209 [BZ #13837]
3210 * math/libm-test.inc (cos_test): Add a test case for large input
3211 value.
3212 (sin_test): Likewise.
3213 (sincos_test): Likewise.
3214
32152012-03-15 Andreas Jaeger <aj@suse.de>,
3216 Joseph Myers <joseph@codesourcery.com>
3217
3218 [BZ #13658]
0671f479 3219 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3220 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3221 * sysdeps/i386/fpu/branred.c: Likewise.
3222 * sysdeps/i386/fpu/dosincos.c: Likewise.
3223 * sysdeps/i386/fpu/mpa.c: Likewise.
3224 * sysdeps/i386/fpu/s_cos.S: Likewise.
3225 * sysdeps/i386/fpu/s_sin.S: Likewise.
3226 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3227 * sysdeps/i386/fpu/sincos32.c: Likewise.
3228
3229 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3230 Define.
3231 (libc_feupdateenv_53bit): Define.
3232 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3233 Define.
3234 (libc_feupdateenv_53bit): Define.
3235
3236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3237 53 bit (without extend i386 double precision).
3238
3239 * math/libm-test.inc (sincos_test): Add tests for large input.
3240 (sin): Likewise.
3241 (cos): Likewise.
3242
3243 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3244
9cad04ea
AS
32452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3246
3247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3248
f7062b9a
DM
32492012-03-15 David S. Miller <davem@davemloft.net>
3250
3251 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3252 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3253 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3254 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3267 file.
f7062b9a 3268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3270 file.
f7062b9a 3271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3273 file.
f7062b9a 3274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3276 file.
f7062b9a
DM
3277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3279 fmin/fmax sysdep routines.
3280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3281
7bd951ff
DM
32822012-03-14 David S. Miller <davem@davemloft.net>
3283
559398ab
DM
3284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3313 routines.
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3315 file.
559398ab 3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3318 file.
559398ab 3319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3321 file.
559398ab 3322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3324 file.
559398ab 3325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3327 file.
559398ab 3328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3330 file.
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3332 file.
3333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3334 file.
3335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3336 file.
3337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3338 New file.
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3340 file.
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3342 file.
559398ab 3343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3345 file.
559398ab 3346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3348 file.
559398ab 3349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3351 file.
559398ab 3352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3354 VIS3 routines.
559398ab
DM
3355
3356 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3357 New file.
3358
5a1c1e32
DM
3359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3360
eae47a36
DM
3361 * sysdeps/sparc/configure.in: New file.
3362 * sysdeps/sparc/configure: Generate.
3363 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3364 * configure: Regenerate.
3365 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3366 * config.make.in (have-as-vis3): New.
3367 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3368 available use -Av9d instead of -Av9a.
3369 * sysdeps/sparc/sparc64/Makefile: Likewise.
3370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3372 New file.
3373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3374 file.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3376 New file.
3377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3378 file.
eae47a36
DM
3379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3384
c0c83bc8
DM
3385 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3386 fzeros/fnegs to load 0x80000000 into a float register instead of
3387 using the stack.
7bd951ff
DM
3388 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3389
bd951ccb
JM
33902012-03-14 Joseph Myers <joseph@codesourcery.com>
3391
3392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3393 bits/syscall.h.
3394 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3395 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3396 ($(inst_includedir)/bits/syscall.h): Remove rule.
3397 ($(objpfx)bits/syscall.d): Include instead of
3398 $(objpfx)syscall-list.d.
3399 (generated): Change syscall-list.h and syscall-list.d to
3400 bits/syscall.h and bits/syscall.d.
3401
bb4e6db2
RM
34022012-03-14 Roland McGrath <roland@hack.frob.com>
3403
3404 [BZ #13846]
3405 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3406
aa4a2ae1
JM
34072012-03-14 Joseph Myers <joseph@codesourcery.com>
3408
e456826d
JM
3409 [BZ #13841]
3410 * math/s_csqrt.c: Include <float.h>.
3411 (__csqrt): Scale large or subnormal inputs.
3412 * math/s_csqrtf.c: Likewise.
3413 * math/s_csqrtl.c: Likewise.
3414 * math/libm-test.inc (csqrt_test): Add more tests.
3415 * sysdeps/i386/fpu/libm-test-ulps: Update.
3416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3417
aa4a2ae1
JM
3418 [BZ #13840]
3419 * math/libm-test.inc (hypot_test): Add more tests.
3420
7c10fd35
DM
34212012-03-13 David S. Miller <davem@davemloft.net>
3422
3423 [BZ #13840]
3424 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3425 double-precision for the calculation instead of scaling.
3426
f453b98b
JM
34272012-03-13 Joseph Myers <joseph@codesourcery.com>
3428
3429 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3430 manipulate bits before adding and subtracting TWO52[sx].
3431 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3433 Likewise.
3434 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3435
09a3453f
DM
34362012-03-13 David S. Miller <davem@davemloft.net>
3437
8e59da90
DM
3438 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3439 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3441 rtld-global-offsets.h
3442 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3443
2a8ab7f2
DM
3444 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3445 large parameters.
3446
10f62770
DM
3447 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3448
5f0bdb18
DM
3449 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3450 'err' in the ifdef scope in which it is actually used.
3451
09a3453f
DM
3452 * nss/nss_db/db-init.c: Include string.h
3453
b4b2eb5e
DM
34542012-03-12 David S. Miller <davem@davemloft.net>
3455
98bb2f1c
DM
3456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3457 masking out of the most significant byte of random value used.
3458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3459 Fix coding style in previous change.
3460
b4b2eb5e
DM
3461 * sysdeps/unix/sysv/linux/kernel-features.h
3462 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3463 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3464 expression.
3465 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3466 later.
3467
6e226b09
DM
34682012-03-11 David S. Miller <davem@davemloft.net>
3469
a1bcbd40
DM
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3471 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3472 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3473 for 'resultvar' otherwise things get truncated on 64-bit.
3474
cb9d6174
DM
3475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3476 Fix masking out of the most significant byte of random value used.
3477
6e226b09
DM
3478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3479
058c132d
AS
34802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3481
3482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3483
2d2cd515
DM
34842012-03-09 David S. Miller <davem@davemloft.net>
3485
3486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3487 variables with appropriate CPP guards.
3488 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3489 frame pointer, not the stack pointer. Correct layout comments. Fix test
3490 on resulting framesize and the management of the outregs buffer for pltexit.
3491 Preserve floating point return values across _dl_call_pltexit call.
3492 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3493 framesize and the management of the outregs buffer for pltexit.
3494 Preserve floating point return values across _dl_call_pltexit
3495 call.
3496 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3497 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3498 (print_exit): Fix format string for return register value.
3499
9a07f9d0
JM
35002012-03-10 Joseph Myers <joseph@codesourcery.com>
3501
3502 * sunrpc/Makefile (others): Add rpcgen.
3503 ($(objpfx)rpcgen): Remove special build rule and dependency on
3504 libc.
3505 * sunrpc/rpcgen.c: New file.
3506
547b5e30
PE
35072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3508
c524201a
PE
3509 [BZ #13673]
3510 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3511 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3512 * sysdeps/i386/crti.S: Likewise.
3513 * sysdeps/i386/crtn.S: Likewise.
3514 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3515 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3518 * sysdeps/sh/crti.S: Likewise.
3519 * sysdeps/sh/crtn.S: Likewise.
3520 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3521
7b6235f2
PE
3522 [BZ #13673]
3523 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3524 with URL.
3525 * locale/programs/locfile-kw.gperf: Likewise.
3526 * locale/programs/charmap-kw.h: Regenerated.
3527 * locale/programs/locfile-kw.h: Likewise.
3528
547b5e30
PE
3529 [BZ #13673]
3530 * intl/plural.y: Replace FSF snail mail address with URL.
3531 * intl/plural.c: Regenerated.
3532
5f0a5dae
RH
35332012-03-09 Richard Henderson <rth@twiddle.net>
3534
3535 * include/math_private.h: Remove file.
3536 * math/math_private.h: Move file ...
3537 * sysdeps/generic/math_private.h: ... here.
3538
b8c03620
RH
3539 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3540 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3541 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3542
4e234f5d 3543 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3544 and <math_private.h>.
3545 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3546 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3547 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3548 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3549 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3633 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3634 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3636 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3637 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3638 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3640 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3641 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3642 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3643 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3645 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3646 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3647 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3649 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3650 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3651 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3652 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3653 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3655 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3656 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3658 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3659 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3660 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3661 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3662 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3663 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3664 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3665 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3666 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3667 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3668 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3669 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3671 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3673 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3675 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3676 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3677 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3678 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3679 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3681 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3682 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3683 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3684 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3686 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3687 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3688 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3689 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3690 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3691 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3692 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3693 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3694 * sysdeps/ieee754/k_standard.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3814 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3817 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3827 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3843 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3855 * sysdeps/ieee754/s_lib_version.c: Likewise.
3856 * sysdeps/ieee754/s_matherr.c: Likewise.
3857 * sysdeps/ieee754/s_signgam.c: Likewise.
3858 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3860 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3861 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3862 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3863 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3864 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3865 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3866 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3867 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3868 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3869 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3870 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3871 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3872 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3873 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3875 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3876 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3879
1991fa03
JM
38802012-03-09 Joseph Myers <joseph@codesourcery.com>
3881
3882 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3883 * sunrpc/rpc_main.c: Likewise.
3884 * sunrpc/rpc_svcout.c: Likewise.
3885
60d6f5a6
DM
38862012-03-09 David S. Miller <davem@davemloft.net>
3887
3888 * include/math_private.h: New file.
3889
4962050e
JM
38902012-03-09 Joseph Myers <joseph@codesourcery.com>
3891
02a6f887
JM
3892 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3893 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3894 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3895 from <bits/socket_type.h>.
3896 (enum __socket_type): Don't define here.
3897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3899 bits/socket_type.h.
3900
c6e013c1
JM
3901 [BZ #13566]
3902 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3903 checking __USE_GNU.
3904
4962050e
JM
3905 * Makerules ($(inst_includedir)/%.h): New rule.
3906 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3907 (install-others): Remove variable setting.
3908 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3909
38842f45
RH
39102012-03-08 Richard Henderson <rth@twiddle.net>
3911
67bb6da6
RH
3912 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3913 from macro to inline function; merge with the
3914 !__LIBC_INTERNAL_MATH_INLINES version.
3915 (__ieee754_sqrtf): Likewise.
3916
15194b4b
RH
3917 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3918 to inline function.
3919 (__rintf, __floor, __floorf): Likewise.
3920
64e21ede
RH
3921 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3922 macro to inline function.
3923 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3924
38842f45
RH
3925 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3926 not <math/math_private.h>.
3927
c64bf5fe
DM
39282012-03-08 David S. Miller <davem@davemloft.net>
3929
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3931 copyright year.
3932 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3933
82d86f28
TS
39342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3935
3936 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3937 normalization.
3938 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3939 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3940
aea5d727
UD
39412012-03-08 Ulrich Drepper <drepper@gmail.com>
3942
3943 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3944 be defined individually, they must be defined as a block. Define
3945 S for printing a string instead of hidint the different by using a
3946 macro for adding the 'l'.
3947 * stdio-common/tst-fphex-wide.c: Adjust.
3948
70bca0a3
MP
39492012-03-07 Marek Polacek <polacek@redhat.com>
3950
3951 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3952
65b81130
MP
39532012-03-08 Marek Polacek <polacek@redhat.com>
3954
3955 [BZ #13806]
3956 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3957 * stdio-common/tst-fphex.c: Define a few macros to make the
3958 test reusable. Use them.
3959 * stdio-common/tst-fphex-wide.c: New file.
3960
07037eeb
JM
39612012-03-08 Joseph Myers <joseph@codesourcery.com>
3962
a7a93d50
JM
3963 [BZ #6911]
3964 * manual/macros.texi (gnusystems): New macro.
3965 (nongnusystems): Likewise.
3966 (gnulinuxhurdsystems): Likewise.
3967 (gnuhurdsystems): Likewise..
3968 (gnulinuxsystems): Likewise.
3969 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3970 variants of the GNU system, not "GNU system".
3971 * manual/conf.texi: Likewise.
3972 * manual/errno.texi: Likewise. Update example of errno macro
3973 expansion.
3974 * manual/filesys.texi: Likewise.
3975 (getumask): Document as specific to GNU/Hurd.
3976 * manual/install.texi: Likewise. Reword some references to
3977 GNU/Linux.
3978 * manual/intro.texi: Likewise.
3979 * manual/io.texi: Likewise.
3980 (File Name Portability): Detail which constraints are inapplicable
3981 to all GNU systems and which are only inapplicable to GNU/Hurd.
3982 * manual/job.texi: Likewise.
3983 * manual/llio.texi: Likewise.
3984 (O_NOCTTY): Document as present on GNU/Linux.
3985 * manual/maint.texi: Likewise.
3986 * manual/memory.texi: Likewise.
3987 * manual/pattern.texi: Likewise.
3988 * manual/pipe.texi: Likewise.
3989 * manual/process.texi: Likewise.
3990 * manual/resource.texi: Likewise.
3991 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3992 child on GNU/Hurd.
3993 * manual/setjmp.texi: Likewise.
3994 * manual/signal.texi: Likewise.
3995 * manual/startup.texi: Likewise.
3996 * manual/stdio.texi: Likewise.
3997 * manual/terminal.texi: Likewise.
3998 (ONLCR): Document as POSIX.
3999 (OXTABS): Document availability on GNU/Linux as XTABS.
4000 (ONOEOT): Document availability separately from other bits.
4001 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4002 * manual/time.texi: Likewise.
4003 * manual/users.texi: Likewise.
4004 * INSTALL: Regenerated.
4005 * sysdeps/gnu/errlist.c: Regenerated.
4006
07037eeb
JM
4007 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4008 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4009 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4010 puts.
4011 * configure: Regenerated.
4012
d1d3431a
JM
40132012-03-07 Joseph Myers <joseph@codesourcery.com>
4014
af6a1e37
JM
4015 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4016 default includes instead of AC_HEADER_CHECK.
4017 * sysdeps/i386/configure: Regenerated.
4018
d1d3431a
JM
4019 [BZ #10716]
4020 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4021 * math/s_cacoshf.c (__cacoshf): Likewise.
4022 * math/s_cacoshl.c (__cacoshl): Likewise.
4023 * math/s_casinh.c (__casinh): Set signs of result from argument.
4024 * math/s_casinhf.c (__casinhf): Likewise.
4025 * math/s_casinhl.c (__casinhl): Likewise.
4026 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4027 (casinh_test): Add more tests.
4028 * sysdeps/i386/fpu/libm-test-ulps: Update.
4029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4030
482ff4da
UD
40312012-03-07 Ulrich Drepper <drepper@gmail.com>
4032
872fda05
UD
4033 * po/zh_TW.po: Update from translation team.
4034
a4300c7a
UD
4035 * login/Makefile (distribute): Remove variable.
4036 * catgets/Makefile: Likewise.
4037 * mach/Makefile: Likewise.
4038 * malloc/Makefile: Likewise.
4039 * misc/Makefile: Likewise.
4040 * iconv/Makefile: Likewise.
4041 * nscd/Makefile: Likewise.
4042 * hurd/Makefile: Likewise.
4043 * manual/Makefile: Likewise.
4044 * locale/Makefile: Likewise.
4045 * intl/Makefile: Likewise.
4046 * conform/Makefile: Likewise.
4047 * nss/Makefile: Likewise.
4048 * time/Makefile: Likewise.
4049 * soft-fp/Makefile: Likewise.
4050 * dirent/Makefile: Likewise.
4051 * gmon/Makefile: Likewise.
4052 * po/Makefile: Likewise.
4053 * rt/Makefile: Likewise.
4054 * socket/Makefile: Likewise.
4055 * math/Makefile: Likewise.
4056 * signal/Makefile: Likewise.
4057 * debug/Makefile: Likewise.
4058 * elf/Makefile: Likewise.
4059 * timezone/Makefile: Likewise.
4060 * stdlib/Makefile: Likewise.
4061 * iconvdata/Makefile: Likewise.
4062 * sunrpc/Makefile: Likewise.
4063 * io/Makefile: Likewise.
4064 * argp/Makefile: Likewise.
4065 * inet/Makefile: Likewise.
4066 * hesiod/Makefile: Likewise.
4067 * grp/Makefile: Likewise.
4068 * csu/Makefile: Likewise.
4069 * wctype/Makefile: Likewise.
4070 * crypt/Makefile: Likewise.
4071 * libio/Makefile: Likewise.
4072 * string/Makefile: Likewise.
4073 * nis/Makefile: Likewise.
4074 * resolv/Makefile: Likewise.
4075 * stdio-common/Makefile: Likewise.
4076 * wcsmbs/Makefile: Likewise.
4077 * dlfcn/Makefile: Likewise.
4078 * posix/Makefile: Likewise.
4079
3b7c4e74 4080 [BZ #6959]
482ff4da
UD
4081 * timezone/Makefile: Don't install timezone files, just the programs
4082 and scripts.
4083
f72ed77d
UD
40842012-03-06 Ulrich Drepper <drepper@gmail.com>
4085
a000466f
UD
4086 * nss/databases.def: Add missing gshadow entry.
4087
f72ed77d
UD
4088 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4089
a53b7a4e
MP
40902012-03-06 Marek Polacek <polacek@redhat.com>
4091
4092 [BZ #13726]
4093 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4094 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4095 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4096 * stdio-common/tst-long-dbl-fphex.c: New file.
4097
e9258400
DM
40982012-03-06 David S. Miller <davem@davemloft.net>
4099
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4101 (set_obp_int): New function.
4102 (get_obp_int): New function.
4103 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4105 Avoid unused variable warnings on 'val' and use builtin_expect.
4106 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4107 __builtin_expect.
e9258400
DM
4108 (INLINE_CLONE_SYSCALL): Likewise.
4109
3bd2c723
DM
41102012-03-05 David S. Miller <davem@davemloft.net>
4111
4112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4113
bbb78d03
AS
41142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4115
884c5db4
AS
4116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4117
bbb78d03
AS
4118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4119 only for |x| >= 40.
4120 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4121
1c9f702a 41222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4123
4124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4125 Replace gettimeofday with __vdso_gettimeofday.
4126
7be16f82
RM
4127 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4128 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4129 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4130
4131 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4132 time with __vdso_time.
4133
ed58a00f
JM
41342012-03-05 Joseph Myers <joseph@codesourcery.com>
4135
4136 * manual/lang.texi (size_t): Note types to which size_t may be
4137 equivalent with the GNU C Library, but do not describe when
4138 differences between them are significant.
4139
30ee4ced
AJ
41402012-03-05 Andreas Jaeger <aj@suse.de>
4141
4142 * sysdeps/i386/fpu/libm-test-ulps: Update.
4143
b7cd39e8
JM
41442012-03-05 Joseph Myers <joseph@codesourcery.com>
4145
4146 [BZ #3976]
4147 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4148 (__ieee754_pow): Save and restore rounding mode and use
4149 round-to-nearest for main computations.
4150 * math/libm-test.inc (pow_test_tonearest): New function.
4151 (pow_test_towardzero): Likewise.
4152 (pow_test_downward): Likewise.
4153 (pow_test_upward): Likewise.
4154 (main): Call the new functions.
4155 * sysdeps/i386/fpu/libm-test-ulps: Update.
4156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4157
4158 [BZ #3976]
4159 * math/libm-test.inc (cosh_test_tonearest): New function.
4160 (cosh_test_towardzero): Likewise.
4161 (cosh_test_downward): Likewise.
4162 (cosh_test_upward): Likewise.
4163 (sinh_test_tonearest): Likewise.
4164 (sinh_test_towardzero): Likewise.
4165 (sinh_test_downward): Likewise.
4166 (sinh_test_upward): Likewise.
4167 (main): Call the new functions.
4168 * sysdeps/i386/fpu/libm-test-ulps: Update.
4169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4170
6c6a98c9
TV
41712012-03-05 Tom de Vries <tom@codesourcery.com>
4172
4173 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4174 default stack guard is set in last bytes.
4175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4176
21bb2d2e 41772012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4178
21bb2d2e 4179 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4180
21bb2d2e
AJ
4181 [BZ #13656]
4182 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4183 possibly allocate from heap instead of stack.
4184 * stdio-common/bug-vfprintf-nargs.c: New file.
4185 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4186
c6922934
AS
41872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4188
4189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4190
bc957d53
MP
41912012-03-03 Marek Polacek <polacek@redhat.com>
4192
4193 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4194 * math/math_private.h: Likewise.
4195 * stdlib/tst-strtod.c: Likewise.
4196 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4197 * sysdeps/x86_64/bits/atomic.h: Likewise.
4198
6358490d
DM
41992012-03-02 David S. Miller <davem@davemloft.net>
4200
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4205 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4206 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4207 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4209
01ae168d
RM
42102012-03-02 Roland McGrath <roland@hack.frob.com>
4211
d9a17c07
RM
4212 [BZ #13792]
4213 * manual/examples/README: New file, says the example source files
4214 can be used under GPL>=2.
4215 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4216 line containing just "*/".
4217 * manual/examples/add.c: Add copyright header (GPL>=2).
4218 * manual/examples/argp-ex1.c: Likewise.
4219 * manual/examples/argp-ex2.c: Likewise.
4220 * manual/examples/argp-ex3.c: Likewise.
4221 * manual/examples/argp-ex4.c: Likewise.
4222 * manual/examples/atexit.c: Likewise.
4223 * manual/examples/db.c: Likewise.
4224 * manual/examples/dir.c: Likewise.
4225 * manual/examples/dir2.c: Likewise.
4226 * manual/examples/execinfo.c: Likewise.
4227 * manual/examples/filecli.c: Likewise.
4228 * manual/examples/filesrv.c: Likewise.
4229 * manual/examples/fmtmsgexpl.c: Likewise.
4230 * manual/examples/genpass.c: Likewise.
4231 * manual/examples/inetcli.c: Likewise.
4232 * manual/examples/inetsrv.c: Likewise.
4233 * manual/examples/isockad.c: Likewise.
4234 * manual/examples/longopt.c: Likewise.
4235 * manual/examples/memopen.c: Likewise.
4236 * manual/examples/memstrm.c: Likewise.
4237 * manual/examples/mkfsock.c: Likewise.
4238 * manual/examples/mkisock.c: Likewise.
4239 * manual/examples/mygetpass.c: Likewise.
4240 * manual/examples/pipe.c: Likewise.
4241 * manual/examples/popen.c: Likewise.
4242 * manual/examples/rprintf.c: Likewise.
4243 * manual/examples/search.c: Likewise.
4244 * manual/examples/select.c: Likewise.
4245 * manual/examples/setjmp.c: Likewise.
4246 * manual/examples/sigh1.c: Likewise.
4247 * manual/examples/sigusr.c: Likewise.
4248 * manual/examples/stpcpy.c: Likewise.
4249 * manual/examples/strdupa.c: Likewise.
4250 * manual/examples/strftim.c: Likewise.
4251 * manual/examples/strncat.c: Likewise.
4252 * manual/examples/subopt.c: Likewise.
4253 * manual/examples/swapcontext.c: Likewise.
4254 * manual/examples/termios.c: Likewise.
4255 * manual/examples/testopt.c: Likewise.
4256 * manual/examples/testpass.c: Likewise.
4257 * manual/examples/timeval_subtract.c: Likewise.
4258
01ae168d
RM
4259 [BZ #13792]
4260 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4261 function to ...
4262 * manual/timeval_subtract.c.texi: ... here, new file.
4263
49efa33d
DM
42642012-03-02 David S. Miller <davem@davemloft.net>
4265
4266 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4267
28afd92d
JM
42682012-03-02 Joseph Myers <joseph@codesourcery.com>
4269
804360ed
JM
4270 [BZ #3976]
4271 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4272 (__sin): Save and restore rounding mode and use round-to-nearest
4273 for all computations.
4274 (__cos): Save and restore rounding mode and use round-to-nearest
4275 for all computations.
4276 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4277 <fenv.h>.
4278 (tan): Save and restore rounding mode and use round-to-nearest for
4279 all computations.
4280 * math/libm-test.inc (cos_test_tonearest): New function.
4281 (cos_test_towardzero): Likewise.
4282 (cos_test_downward): Likewise.
4283 (cos_test_upward): Likewise.
4284 (sin_test_tonearest): Likewise.
4285 (sin_test_towardzero): Likewise.
4286 (sin_test_downward): Likewise.
4287 (sin_test_upward): Likewise.
4288 (tan_test_tonearest): Likewise.
4289 (tan_test_towardzero): Likewise.
4290 (tan_test_downward): Likewise.
4291 (tan_test_upward): Likewise.
4292 (main): Call the new functions.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4295
a6d06d7b
JM
4296 [BZ #10135]
4297 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4298 small n, then large n, before computing and testing k+n.
4299 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4301 Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4303 Likewise.
4304 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4305 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4306 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4312 * math/libm-test.inc (scalbn_test): Add more tests.
4313 (scalbln_test): Likewise.
4314
07e12bb3
JM
4315 * manual/filesys.texi (mode_t): Describe constraints on size and
4316 signedness, not exact equivalence to a particular type.
4317 (ino_t): Likewise.
4318 (ino64_t): Likewise.
4319 (dev_t): Likewise.
4320 (nlink_t): Likewise.
4321 (blkcnt_t): Likewise.
4322 (blkcnt64_t): Likewise.
4323 * manual/llio.texi (off_t): Likewise.
4324
28afd92d
JM
4325 [BZ #3976]
4326 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4327 (__ieee754_exp): Save and restore rounding mode and use
4328 round-to-nearest for all computations.
4329 * math/libm-test.inc (exp_test_tonearest): New function.
4330 (exp_test_towardzero): Likewise.
4331 (exp_test_downward): Likewise.
4332 (exp_test_upward): Likewise.
4333 (main): Call the new functions.
4334 * sysdeps/i386/fpu/libm-test-ulps: Update.
4335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4336
b1eeb65d
CD
43372012-03-01 Chris Demetriou <cgd@google.com>
4338
4339 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4340 have predictable order.
4341
53362a4b
DM
43422012-03-01 David S. Miller <davem@davemloft.net>
4343
3c969083
DM
4344 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4345
759707de
DM
4346 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4347 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4348 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4350
dfdb8ff2
DM
4351 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4352 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4353 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4355 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4356 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4358 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4359 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4360
ead89f96
DM
4361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4362
7f66bd07
DM
4363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4364 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4365 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4366
53362a4b
DM
4367 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4368 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4369 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4370 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4371 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4374 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4375 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4376 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4377 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4378 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4381 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4383 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4384 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4385 * sysdeps/sparc/elf/configure: Regenerated.
4386
7b1902cb
JM
43872012-03-01 Joseph Myers <joseph@codesourcery.com>
4388
bec039bc
JM
4389 * configure.in (AS, LD): Require binutils 2.20 or later.
4390 * configure: Regenerated.
4391 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4392 as required minimum version.
4393 * INSTALL: Regenerated.
4394
7b1902cb
JM
4395 [BZ #2541]
4396 [BZ #4108]
4397 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4398 before squaring exponent.
4399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4400 bottom long double and 27 bits of top long double before squaring
4401 exponent.
4402 * math/libm-test.inc (erfc_test): Add more tests.
4403 * sysdeps/i386/fpu/libm-test-ulps: Update.
4404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4406
f775c276
KT
44072012-03-01 Kai Tietz <ktietz@redhat.com>
4408
4409 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4410 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4411 containing bit-fields.
4412 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4413 * soft-fp/single.h (_FP_UNION_S): Likewise.
4414 * soft-fp/double.h (_FP_UNION_D): Likewise.
4415
5b8a4d4a
JM
44162012-02-29 Joseph Myers <joseph@codesourcery.com>
4417
0bab47b6
JM
4418 [BZ #13786]
4419 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4420 not include ../strcmp.S.
4421 [USE_AS_STRNCASECMP_L]: Likewise.
4422 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4423 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4424 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4425 (__strncasecmp_l_ia32): Define as alias to
4426 __strncasecmp_l_nonascii.
4427
0fcad3e2
JM
4428 [BZ #5794]
4429 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4430 * sysdeps/i386/fpu/libm-test-ulps: Update.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4432
5b8a4d4a
JM
4433 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435
8fdceb2e
JL
44362012-02-29 Jeff Law <law@redhat.com>
4437
4438 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4439 out of bounds read.
4440
1f393a11
MP
44412012-02-29 Marek Polacek <polacek@redhat.com>
4442
4443 [BZ #13706]
4444 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4445 * elf/Makefile: Add rules to run tst-unused-dep.out.
4446
8847f037
DM
44472012-02-28 David S. Miller <davem@davemloft.net>
4448
4449 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4450 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4453 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4454 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4455
169d7f11
JM
44562012-02-29 Joseph Myers <joseph@codesourcery.com>
4457
4458 * math/libm-test.inc (llround_test): Move one test from
4459 lround_test. Use TEST_f_L in moved test.
4460 (lround_test): Move misplaced test to llround_test. Add testcase
4461 from bug 2561.
4462
39adf059
UD
44632012-02-28 Ulrich Drepper <drepper@gmail.com>
4464
4465 * sysdeps/x86_64/fpu/e_expf.S: New file.
4466 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4467
71b5d1c5
SB
44682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4469
4470 [BZ #13637]
4471 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4472 of remain_len that may cause incomplete multi-byte character and
4473 false match.
4474 * posix/bug-regex33.c: New file.
4475 * posix/Makefile (tests): Add bug-regex33.
4476
1f77f049
JM
44772012-02-28 Joseph Myers <joseph@codesourcery.com>
4478
4479 * manual/macros.texi: New file.
4480 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4481 * manual/libc.texinfo: Include macros.texi.
4482 * manual/creatute.texi: Likewise.
4483 * manual/install.texi: Likewise.
4484 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4485 @glibcadj{} in references to the GNU C Library.
4486 * manual/charset.texi: Likewise.
4487 * manual/conf.texi: Likewise.
4488 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4489 when not using those macros.
4490 * manual/creature.texi: Likewise.
4491 * manual/crypt.texi: Likewise.
4492 * manual/errno.texi: Likewise.
4493 * manual/filesys.texi: Likewise.
4494 * manual/header.texi: Likewise.
4495 * manual/install.texi: Likewise.
4496 * manual/intro.texi: Likewise.
4497 * manual/io.texi: Likewise.
4498 * manual/job.texi: Likewise.
4499 * manual/lang.texi: Likewise.
4500 * manual/libc.texiinfo: Likewise.
4501 * manual/llio.texi: Likewise.
4502 * manual/locale.texi: Likewise.
4503 * manual/maint.texi: Likewise.
4504 * manual/math.texi: Likewise.
4505 * manual/memory.texi: Likewise.
4506 * manual/message.texi: Likewise.
4507 * manual/nss.texi: Likewise.
4508 * manual/pattern.texi: Likewise.
4509 * manual/process.texi: Likewise.
4510 * manual/resource.texi: Likewise.
4511 * manual/search.texi: Likewise.
4512 * manual/setjmp.texi: Likewise.
4513 * manual/signal.texi: Likewise.
4514 * manual/socket.texi: Likewise.
4515 * manual/startup.texi: Likewise.
4516 * manual/stdio.texi: Likewise.
4517 * manual/string.texi: Likewise.
4518 * manual/sysinfo.texi: Likewise.
4519 * manual/syslog.texi: Likewise.
4520 * manual/terminal.texi: Likewise.
4521 * manual/time.texi: Likewise.
4522 * manual/users.texi: Likewise.
4523 * INSTALL: Regenerated.
4524 * NOTES: Regenerated.
d40c5d54 4525 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4526
450bf206
AS
45272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4528
4529 * include/dirent.h: Include <dirstream.h> before
4530 <dirent/dirent.h>.
4531
741a235b
DM
45322012-02-28 David S. Miller <davem@davemloft.net>
4533
4534 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4535 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4536 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4537 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4538
d6b5aa58
DM
45392012-02-27 David S. Miller <davem@davemloft.net>
4540
1aff59a3
DM
4541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4543 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4544 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4545
d6b5aa58
DM
4546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4547 frame pointer instead of stack pointer relative arg slot.
4548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4549 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4550 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4551
433f48bf
CD
45522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4553
4554 [BZ #3992]
4555 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4556
d674b76d
DM
45572012-02-27 David S. Miller <davem@davemloft.net>
4558
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4563 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4564 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4565 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4566 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4567
0e7727f7
JM
45682012-02-27 Joseph Myers <joseph@codesourcery.com>
4569
4570 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4571 later. Allow versions 5-9.
43be4ca2 4572 * configure: Regenerated.
0e7727f7
JM
4573 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4574 required minimum version and 4.6 as recommended version. Do not
4575 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4576 * INSTALL: Regenerated.
0e7727f7 4577
a78bc654
DM
45782012-02-27 David S. Miller <davem@davemloft.net>
4579
428d5830
DM
4580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4584 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4585 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4586 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4587 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4588
a78bc654
DM
4589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4590 manipulate bits before adding and subtracting TWO112[sx].
4591 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4592
4579f81c
RM
45932012-02-27 Roland McGrath <roland@hack.frob.com>
4594
36c8acb4
RM
4595 [BZ #13775]
4596 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4597 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4598 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4599 being in POSIX, because they are in 1003.1-2008.
4600
84ad622b
RM
4601 * rt/tst-aio.c: Include <fcntl.h>.
4602 * rt/tst-aio7.c: Likewise.
4603 * rt/tst-aio64.c: Likewise.
4604
4579f81c
RM
4605 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4606
abd923db
JM
46072012-02-27 Joseph Myers <joseph@codesourcery.com>
4608
4609 * manual/install.texi (--with-headers): Describe headers as
4610 interface headers, not private headers.
4611 (Specific advice for GNU/Linux systems): Describe use of headers
4612 from "make headers_install", not private headers from older
4613 kernels.
43be4ca2 4614 * INSTALL: Regenerated.
abd923db
JM
4615 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4616 Change to 2.6.19.
4617 * sysdeps/unix/sysv/linux/configure: Regenerated.
4618
6664049b
JM
4619 * manual/llio.texi (fclean): Remove documentation.
4620
bb8b6697
JM
4621 * manual/Makefile (libc-texi-generated): New variable. Include
4622 version.texi.
4623 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4624 $(libc-texi-generated), not duplicated list of files.
4625 (version.texi, stamp-version): New rules.
4626 (realclean): Remove $(libc-texi-generated), not individual files
4627 from that list. Do not remove dir-add.texinfo.
4628 * manual/libc.texinfo: Comment out uses of edition numbers and
4629 references to printed manual. Remove last-updated dates.
4630 (EDITION): Comment out.
4631 (ISBN): Likewise.
4632 (VERSION, UPDATED): Remove.
4633 (version.texi): Include.
4634
12e5c3b9
AS
46352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4636
4637 * sysdeps/posix/spawni.c: Include <signal.h>.
4638 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4639 * sysdeps/pthread/aio_fsync.c: Likewise.
4640
4efeffc1 46412012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4642
ba63ba08
UD
4643 * conform/Makefile (tests): Run only when not cross-compiling and
4644 when fast-check is not defined.
4645
d94a4670
UD
4646 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4647 * conform/data/limits.h-data: Fixes for POSIX2008.
4648 * conform/run-conformtest.sh: Run all tests.
4649 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4650 headers.
4651 * include/bits/dlfcn.h: Likewise.
4652 * include/langinfo.h: Likewise.
4653 * include/monetary.h: Likewise.
4654 * include/sys/poll.h: Likewise.
4655
4656 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4657 for __USE_GNU.
4658 * posix/spawn.h: Define __need_sigset_t.
4659 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4660 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4661 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4662 to get sigevent_t only.
4663 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4664 only for __USE_GNU.
4665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4666 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4667 process_vm_writev only for __USE_GNU.
4668 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4669
4670 * conform/Makefile: For now ignore errors from run-conformtest.
4671 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4672 POSIX to avoid namespace pollution. Don't prepend headers.
4673 * conform/data/aio.h-data: Fixes for POSIX testing.
4674 * conform/data/fcntl.h-data: Likewise.
4675 * conform/data/glob.h-data: Likewise.
4676 * conform/data/grp.h-data: Likewise.
4677 * conform/data/pthread.h-data: Likewise.
4678 * conform/data/pwd.h-data: Likewise.
4679 * conform/data/signal.h-data: Likewise.
4680 * conform/data/spawn.h-data: Likewise.
4681 * conform/data/stdio.h-data: Likewise.
4682 * conform/data/stdlib.h-data: Likewise.
4683 * conform/data/stropts.h-data: Likewise.
4684 * conform/data/sys/mman.h-data: Likewise.
4685 * conform/data/sys/stat.h-data: Likewise.
4686 * conform/data/sys/types.h-data: Likewise.
4687 * conform/data/sys/wait.h-data: Likewise.
4688 * conform/data/time.h-data: Likewise.
4689 * conform/data/unistd.h-data: Likewise.
4690 * conform/data/utime.h-data: Likewise.
4691
4692 * io/sys/stat.h: fchmod was always in POSIX.
4693 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4694 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4695 * rt/aio.h: Define __need_timespec before including <time.h>.
4696 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4697 struct. Add forward declaration of pthread_attr_t and use it in
4698 sigevent.
4699 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4701 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4702 always remove CLK_TCK definition.
4703
c20105c3
AS
47042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4705
4706 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4707
7a270350
UD
47082012-02-25 Ulrich Drepper <drepper@gmail.com>
4709
31341567
UD
4710 * conform/run-conformtest.sh: New file.
4711 * conform/Makefile: Run run-conformtest for tests.
4712 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4713 support.
4714
4715 * conform/data/uchar.h-data: New file.
4716 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4717 * conform/data/arpa/inet.h-data: Likewise.
4718 * conform/data/assert.h-data: Likewise.
4719 * conform/data/complex.h-data: Likewise.
4720 * conform/data/cpio.h-data: Likewise.
4721 * conform/data/ctype.h-data: Likewise.
4722 * conform/data/dirent.h-data: Likewise.
4723 * conform/data/dlfcn.h-data: Likewise.
4724 * conform/data/errno.h-data: Likewise.
4725 * conform/data/fcntl.h-data: Likewise.
4726 * conform/data/float.h-data: Likewise.
4727 * conform/data/fmtmsg.h-data: Likewise.
4728 * conform/data/fnmatch.h-data: Likewise.
4729 * conform/data/ftw.h-data: Likewise.
4730 * conform/data/glob.h-data: Likewise.
4731 * conform/data/grp.h-data: Likewise.
4732 * conform/data/iconv.h-data: Likewise.
4733 * conform/data/inttypes.h-data: Likewise.
4734 * conform/data/langinfo.h-data: Likewise.
4735 * conform/data/libgen.h-data: Likewise.
4736 * conform/data/limits.h-data: Likewise.
4737 * conform/data/locale.h-data: Likewise.
4738 * conform/data/math.h-data: Likewise.
4739 * conform/data/monetary.h-data: Likewise.
4740 * conform/data/mqueue.h-data: Likewise.
4741 * conform/data/ndbm.h-data: Likewise.
4742 * conform/data/net/if.h-data: Likewise.
4743 * conform/data/netdb.h-data: Likewise.
4744 * conform/data/netinet/in.h-data: Likewise.
4745 * conform/data/nl_types.h-data: Likewise.
4746 * conform/data/poll.h-data: Likewise.
4747 * conform/data/pthread.h-data: Likewise.
4748 * conform/data/pwd.h-data: Likewise.
4749 * conform/data/regex.h-data: Likewise.
4750 * conform/data/sched.h-data: Likewise.
4751 * conform/data/search.h-data: Likewise.
4752 * conform/data/semaphore.h-data: Likewise.
4753 * conform/data/setjmp.h-data: Likewise.
4754 * conform/data/signal.h-data: Likewise.
4755 * conform/data/spawn.h-data: Likewise.
4756 * conform/data/stdarg.h-data: Likewise.
4757 * conform/data/stdio.h-data: Likewise.
4758 * conform/data/stdlib.h-data: Likewise.
4759 * conform/data/string.h-data: Likewise.
4760 * conform/data/strings.h-data: Likewise.
4761 * conform/data/stropts.h-data: Likewise.
4762 * conform/data/sys/ipc.h-data: Likewise.
4763 * conform/data/sys/mman.h-data: Likewise.
4764 * conform/data/sys/msg.h-data: Likewise.
4765 * conform/data/sys/resource.h-data: Likewise.
4766 * conform/data/sys/select.h-data: Likewise.
4767 * conform/data/sys/sem.h-data: Likewise.
4768 * conform/data/sys/shm.h-data: Likewise.
4769 * conform/data/sys/socket.h-data: Likewise.
4770 * conform/data/sys/stat.h-data: Likewise.
4771 * conform/data/sys/statvfs.h-data: Likewise.
4772 * conform/data/sys/time.h-data: Likewise.
4773 * conform/data/sys/timeb.h-data: Likewise.
4774 * conform/data/sys/times.h-data: Likewise.
4775 * conform/data/sys/types.h-data: Likewise.
4776 * conform/data/sys/uio.h-data: Likewise.
4777 * conform/data/sys/un.h-data: Likewise.
4778 * conform/data/sys/utsname.h-data: Likewise.
4779 * conform/data/sys/wait.h-data: Likewise.
4780 * conform/data/syslog.h-data: Likewise.
4781 * conform/data/tar.h-data: Likewise.
4782 * conform/data/termios.h-data: Likewise.
4783 * conform/data/utime.h-data: Likewise.
4784 * conform/data/utmpx.h-data: Likewise.
4785 * conform/data/varargs.h-data: Likewise.
4786 * conform/data/wchar.h-data: Likewise.
4787 * conform/data/wctype.h-data: Likewise.
4788 * conform/data/wordexp.h-data: Likewise.
4789
4790 * include/stropts.h: New file.
4791 * include/uchar.h: New file.
4792 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4793 * include/assert.h: Likewise.
4794 * include/ctype.h: Likewise.
4795 * include/dirent.h: Likewise.
4796 * include/dlfcn.h: Likewise.
4797 * include/fcntl.h: Likewise.
4798 * include/fnmatch.h: Likewise.
4799 * include/glob.h: Likewise.
4800 * include/grp.h: Likewise.
4801 * include/libio.h: Likewise.
4802 * include/locale.h: Likewise.
4803 * include/math.h: Likewise.
4804 * include/net/if.h: Likewise.
4805 * include/netdb.h: Likewise.
4806 * include/netinet/in.h: Likewise.
4807 * include/pthread.h: Likewise.
4808 * include/pwd.h: Likewise.
4809 * include/regex.h: Likewise.
4810 * include/sched.h: Likewise.
4811 * include/search.h: Likewise.
4812 * include/setjmp.h: Likewise.
4813 * include/signal.h: Likewise.
4814 * include/stdio.h: Likewise.
4815 * include/stdlib.h: Likewise.
4816 * include/string.h: Likewise.
4817 * include/sys/cdefs.h: Likewise.
4818 * include/sys/mman.h: Likewise.
4819 * include/sys/msg.h: Likewise.
4820 * include/sys/resource.h: Likewise.
4821 * include/sys/select.h: Likewise.
4822 * include/sys/socket.h: Likewise.
4823 * include/sys/stat.h: Likewise.
4824 * include/sys/statvfs.h: Likewise.
4825 * include/sys/time.h: Likewise.
4826 * include/sys/times.h: Likewise.
4827 * include/sys/uio.h: Likewise.
4828 * include/sys/utsname.h: Likewise.
4829 * include/sys/wait.h: Likewise.
4830 * include/termios.h: Likewise.
4831 * include/time.h: Likewise.
4832 * include/ulimit.h: Likewise.
4833 * include/unistd.h: Likewise.
4834 * include/utime.h: Likewise.
4835 * include/wchar.h: Likewise.
4836 * include/wctype.h: Likewise.
4837 * include/wordexp.h: Likewise.
4838
4839 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4840
7a270350
UD
4841 * time/time.h: TIME_UTC must be a macro.
4842 Make timespec_get available for ISO C11 only as well.
4843
7724defc
UD
48442012-02-24 Ulrich Drepper <drepper@gmail.com>
4845
4846 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4847 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4848
6b1d1d46
JM
48492012-02-24 Joseph Myers <joseph@codesourcery.com>
4850
4851 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4852
0f8bbd69
JM
48532012-02-24 Joseph Myers <joseph@codesourcery.com>
4854
4855 * manual/texinfo.tex: Update to version 2012-01-19.16.
4856
66ab80bc
JM
48572012-02-24 Joseph Myers <joseph@codesourcery.com>
4858
4859 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4860
74981cc5
RM
48612012-02-24 Roland McGrath <roland@hack.frob.com>
4862
ee968201
RM
4863 [BZ #13738]
4864 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4865 * manual/fdl-1.3.texi: New file.
4866 * manual/fdl-1.1.texi: File removed.
4867
74981cc5
RM
4868 [BZ #13738]
4869 * manual/libc.texinfo (FDL_VERSION): New @set.
4870 Use it for mention of FDL in cover text.
4871 (Documentation License): Use it in @include file name.
4872
7bb764bc
JM
48732012-02-22 Joseph Myers <joseph@codesourcery.com>
4874 Roland McGrath <roland@hack.frob.com>
4875
4876 [BZ #5461]
4877 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4878 not LONG_LONG_MAX and LONG_LONG_MIN.
4879 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4880 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4881 name.
4882 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4883
6cbeae47
JM
48842012-02-22 Joseph Myers <joseph@codesourcery.com>
4885
4886 [BZ #2547]
4887 [BZ #11365]
4888 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4889 manipulate bits before adding and subtracting TWO23[sx].
4890 * math/libm-test.inc (nearbyint_test): Add more tests.
4891
fe45ce09
JM
48922012-02-22 Joseph Myers <joseph@codesourcery.com>
4893
4894 [BZ #2548]
4895 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4896 bits before adding and subtracting TWO23[sx].
4897 * math/libm-test.inc (rint_test): Add more tests.
4898 (rint_test_tonearest): Likewise.
4899 (rint_test_towardzero): Likewise.
4900 (rint_test_downward): Likewise.
4901 (rint_test_upward: Likewise.
4902
ff3b3d82
JM
49032012-02-22 Joseph Myers <joseph@codesourcery.com>
4904
4905 [BZ #10110]
4906 * include/stdc-predef.h: New file. Extracted from features.h.
4907 * include/features.h: Include stdc-predef.h.
4908 * Makefile (headers): Add stdc-predef.h.
4909 * CONFORMANCE (Compiler limitations): Update.
4910
ef0aab35
JM
49112012-02-22 Joseph Myers <joseph@codesourcery.com>
4912
4913 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4914
58639409
DM
49152012-02-21 David S. Miller <davem@davemloft.net>
4916
4917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4918 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4919
c0e70b25
DM
49202012-02-20 David S. Miller <davem@davemloft.net>
4921
4922 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4923 using a normal save/restore sequence, rather than allocating a
4924 dummy stack frame just to store a frame pointer and restore.
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4926
fb06851d
JM
49272012-02-21 Joseph Myers <joseph@codesourcery.com>
4928
4929 * manual/install.texi: Fix stray word in line-wrapped comment.
4930
7a8b71c3
DM
49312012-02-20 David S. Miller <davem@davemloft.net>
4932
d510c123
DM
4933 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4934 both binutils and gcc support GOTDATA.
4935
0722d7c2
DM
4936 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4937 "rd %pc" in the PIC register setup sequences.
4938
3d2b3019
DM
4939 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4940 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4941 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4942 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4943 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4945 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4948 (SYSCALL_ERROR_HANDLER): Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4952 (SYSCALL_ERROR_HANDLER): Likewise.
4953
c80098a9
DM
4954 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4955 (HAVE_GCC_GOTDATA): New.
4956 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4957 relocation support in both binutils and gcc.
4958 * sysdeps/sparc/elf/configure: Regenerate.
4959
3a2545a0
DM
4960 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4961 * sysdeps/sparc/sparc32/elf/configure: Delete.
4962 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4963 * sysdeps/sparc/sparc64/elf/configure: Delete.
4964 * sysdeps/sparc/elf/configure.in: New file.
4965 * sysdeps/sparc/elf/configure: Generate.
4966
7a8b71c3
DM
4967 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4968 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4969 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4970 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4971 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4972
f1e86fca
JM
49732012-02-21 Joseph Myers <joseph@codesourcery.com>
4974
4975 * manual/install.texi: Do not mention specific glibc version
4976 numbers.
4977 * manual/libc.texinfo (VERSION, UPDATED): Update.
4978 (@copying): Use @copyright{} and range of years.
4979
0e7dfaef
JM
49802012-02-21 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #13695]
4983 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4984 [crti.S not in sysdirs] (generated): Do not append.
4985 [crti.S not in sysdirs] (omit-deps): Likewise.
4986 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4987 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4988 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4989 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4990 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4991 Likewise.
4992 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4993 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4994 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4995 * csu/defs.awk: Remove file.
4996 * sysdeps/generic/initfini.c: Likewise.
4997 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4998 variable.
4999 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5000 Likewise.
5001
599af3ca
JM
50022012-02-20 Joseph Myers <joseph@codesourcery.com>
5003
5004 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5005 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5008 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5009 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5010 <bits/epoll.h>.
5011 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5012 (__EPOLL_PACKED): Define to empty if not defined by
5013 <bits/epoll.h>.
5014 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5016 bits/epoll.h.
5017
0e499750
JM
50182012-02-20 Joseph Myers <joseph@codesourcery.com>
5019
5020 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5021 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5022 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5023 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5024 <bits/timerfd.h>.
5025 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5027 bits/timerfd.h.
5028
5ad91f6e
JM
50292012-02-20 Joseph Myers <joseph@codesourcery.com>
5030
5031 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5032 in C locale.
5033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5034 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5035 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5037
06b99b02
AJ
50382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5039
5040 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5041 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5042
7638c0fd
AS
50432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5044
5045 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5046 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5047 defined.
5048 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5049 Likewise.
5050 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5051 entry for 2.16.
5052
92221550
AJ
50532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5054
5055 * math/w_acos.c: Use non-signaling floating-point comparisons.
5056 * math/w_acosf.c: Likewise.
5057 * math/w_acosh.c: Likewise.
5058 * math/w_acoshf.c: Likewise.
5059 * math/w_acoshl.c: Likewise.
5060 * math/w_acosl.c: Likewise.
5061 * math/w_asin.c: Likewise.
5062 * math/w_asinf.c: Likewise.
5063 * math/w_asinl.c: Likewise.
5064 * math/w_atanh.c: Likewise.
5065 * math/w_atanhf.c: Likewise.
5066 * math/w_atanhl.c: Likewise.
5067 * math/w_exp2.c: Likewise.
5068 * math/w_exp2f.c: Likewise.
5069 * math/w_exp2l.c: Likewise.
5070 * math/w_j0.c: Likewise.
5071 * math/w_j0f.c: Likewise.
5072 * math/w_j0l.c: Likewise.
5073 * math/w_j1.c: Likewise.
5074 * math/w_j1f.c: Likewise.
5075 * math/w_j1l.c: Likewise.
5076 * math/w_jn.c: Likewise.
5077 * math/w_jnf.c: Likewise.
5078 * math/w_log.c: Likewise.
5079 * math/w_log10.c: Likewise.
5080 * math/w_log10f.c: Likewise.
5081 * math/w_log10l.c: Likewise.
5082 * math/w_log2.c: Likewise.
5083 * math/w_log2f.c: Likewise.
5084 * math/w_log2l.c: Likewise.
5085 * math/w_logf.c: Likewise.
5086 * math/w_logl.c: Likewise.
5087 * math/w_sqrt.c: Likewise.
5088 * math/w_sqrtf.c: Likewise.
5089 * math/w_sqrtl.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5093 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5094 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5095
ebaf36eb
JM
50962012-02-19 Joseph Myers <joseph@codesourcery.com>
5097
5098 [BZ #9739]
5099 * manual/string.texi (strnlen): Use correct parameter name in
5100 equivalent expression.
5101
71c254a6
JM
51022012-02-19 Joseph Myers <joseph@codesourcery.com>
5103
5104 [BZ #11174]
5105 * manual/users.texi (seteuid): Consistently use neweuid for
5106 argument name.
5107
16d2c631
JM
51082012-02-19 Joseph Myers <joseph@codesourcery.com>
5109
5110 [BZ #13704]
5111 * manual/nss.texi (Services in the NSS configuration): Correct
5112 list of services in example configuration file.
5113
cd837b09
NB
51142012-02-19 Nick Bowler <nbowler@draconx.ca>
5115
5116 [BZ #11322]
5117 * manual/arith.texi: Remove statements about negative zero
5118 behaving identically to zero.
5119
02c4bbad
JM
51202012-02-18 Joseph Myers <joseph@codesourcery.com>
5121
5122 [BZ #5993]
5123 * manual/install.texi: Do not document upgrading from libc5.
5124
366842e7
JM
51252012-02-18 Joseph Myers <joseph@codesourcery.com>
5126
5127 [BZ #4596]
5128 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5129
dd54084d
DM
51302012-02-18 David S. Miller <davem@davemloft.net>
5131
5132 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5133 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5134 %o7 across the call.
5135 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5136 instead.
5137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5138 SETUP_PIC_REG_LEAF.
5139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5140 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5141 * sysdeps/sparc/crtn.S: Likewise.
5142
2bcc53a3
UD
51432012-02-17 Ulrich Drepper <drepper@gmail.com>
5144
5145 * aout/Makefile: Remove.
5146
09c093b5
RK
51472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5148
5149 [BZ #13058]
5150 * manual/examples/argp-ex1.c (main): Format definition in GNU
5151 style.
5152 * manual/examples/argp-ex2.c (main): Likewise.
5153 * manual/examples/argp-ex3.c (main): Likewise.
5154 * manual/examples/argp-ex4.c (main): Likewise.
5155 * manual/examples/longopt.c (main): Use new-style prototype
5156 definition.
5157 * manual/examples/strncat.c (main): Specify return type and use
5158 (void) for arguments.
5159 * manual/examples/subopt.c (main): Use char **argv argument.
5160
2ee633a2
JM
51612012-02-17 Joseph Myers <joseph@codesourcery.com>
5162
5163 [BZ #5077]
5164 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5165 rounding modes.
5166
0520adde
FB
51672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5168
5169 [BZ #6907]
5170 * manual/string.texi (strchr): Change when strchrnul is
5171 recommended.
5172
3f4081cd
DGM
51732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5174
5175 [BZ #174]
5176 * manual/locale.texi (setlocale): Document LOCPATH.
5177
d1b10e78
JM
51782012-02-17 Joseph Myers <joseph@codesourcery.com>
5179
5180 [BZ #10210]
5181 * manual/process.texi (execle): Move @dots{} before last argument.
5182
79c6869c
PB
51832012-02-17 Paul Bolle <pebolle@tiscali.nl>
5184
5185 [BZ #12047]
5186 * manual/charset.texi (Generic Charset Conversion): Fix typo
5187 (LC_TYPE -> LC_CTYPE).
5188
cc6e48bc
NB
51892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5190
5191 [BZ #5805]
5192 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5193 (scalbnf): Likewise.
5194 (scalbnl): Likewise.
5195 (scalbln): Likewise.
5196 (scalblnf): Likewise.
5197 (scalblnl): Likewise.
5198 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5199 (vwarnx): Likewise.
5200 (verr): Likewise.
5201 (verrx): Likewise.
5202 * manual/filesys.texi (telldir): Use braces around return type.
5203 * manual/llio.texi (mmap): Add space after comma.
5204 (mmap64): Likewise.
5205 * manual/math.texi (jn): Use @var{} on parameter names.
5206 (jnf): Likewise.
5207 (jnl): Likewise.
5208 (yn): Likewise.
5209 (ynf): Likewise.
5210 (ynl): Likewise.
5211 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5212 line.
5213 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5214 "...".
5215 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5216 (sched_get_priority_max): Likewise.
5217 * manual/signal.texi (sigvec): Add space after comma.
5218 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5219 names.
5220 (if_indextoname): Likewise.
5221 (if_freenameindex): Likewise.
5222 (sendto): Use ',' instead of '.' in prototype.
5223 * manual/startup.texi (syscall): Use @dots{} instead of literal
5224 "...".
5225 * manual/stdio.texi (__fpending): Separate initial words of
5226 paragraph from @deftypefun line.
5227 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5228 "...".
5229 (vsyslog): Use @var{} on parameter names.
5230 * manual/terminal.texi (stty): Use @var{} on parameter names.
5231 * manual/users.texi (getutmp): Use @var{} on parameter names.
5232 (getutmpx): Likewise.
5233
5b23062f
JM
52342012-02-17 Joseph Myers <joseph@codesourcery.com>
5235
5236 [BZ #6884]
5237 * manual/stdio.texi (fopen): Fix typos in description of
5238 ",ccs=STRING".
5239
8dee4833
AJ
52402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5241
5242 [BZ #4026]
5243 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5244 get clock_id definition.
5245
9078ce93
TS
52462012-02-17 Thomas Schwinge <thomas@schwinge.name>
5247
5248 [BZ #4822]
5249 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5250 (madvise): Cast every argument to void on its own.
5251
3835c55f
JM
52522012-02-17 Joseph Myers <joseph@codesourcery.com>
5253
5254 [BZ #9902]
5255 * manual/startup.texi (Exit Status): Fix typo.
5256
35c47e37
JM
52572012-02-17 Joseph Myers <joseph@codesourcery.com>
5258
5259 [BZ #10140]
5260 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5261 * manual/examples/argp-ex2.c: Likewise.
5262 * manual/examples/argp-ex3.c: Likewise.
5263
e3b69ca7
RH
52642012-02-16 Richard Henderson <rth@redhat.com>
5265
5266 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5267 * sysdeps/s390/s390-32/initfini.c: Remove.
5268 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5269 * sysdeps/s390/s390-64/initfini.c: Remove.
5270
df83af67
KK
52712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5272
5273 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5274 compiler output for sysdeps/generic/initfini.c.
5275 * sysdeps/sh/elf/initfini.c: Remove file.
5276
f63f3380
DM
52772012-02-16 David S. Miller <davem@davemloft.net>
5278
fb59b3a4
DM
5279 [BZ #11494]
5280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5281
f63f3380
DM
5282 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5283 * sysdeps/sparc/crti.S: New file.
5284 * sysdeps/sparc/crtn.S: New file.
5285 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5286 * sysdeps/sparc/sparc64/Makefile: Likewise.
5287
df6a4a4a
MF
52882012-02-15 Mike Frysinger <vapier@gentoo.org>
5289
6dd8f3dc 5290 [BZ #3335]
df6a4a4a
MF
5291 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5292
1cac7236
RM
52932012-02-15 Roland McGrath <roland@hack.frob.com>
5294
d2c736f8
RM
5295 [BZ #4822]
5296 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5297
1cac7236
RM
5298 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5299 (write, read, close): Likewise.
5300 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5301
8e475601
JM
53022012-02-15 Joseph Myers <joseph@codesourcery.com>
5303
5304 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5305 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5307 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5308 <bits/signalfd.h>.
5309 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5311 bits/signalfd.h.
5312
ed656b40
MP
53132012-02-14 Marek Polacek <polacek@redhat.com>
5314
5315 * sysdeps/x86_64/crti.S: New file.
5316 * sysdeps/x86_64/crtn.S: New file.
5317 * sysdeps/x86_64/elf/initfini.c: Remove file.
5318
2a979d3a
JM
53192012-02-13 Joseph Myers <joseph@codesourcery.com>
5320
5321 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5322 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5324 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5325 <bits/inotify.h>.
5326 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5328 bits/inotify.h.
5329
2a418ac3
JM
53302012-02-13 Joseph Myers <joseph@codesourcery.com>
5331
5332 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5333 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5335 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5336 <bits/eventfd.h>.
5337 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5339 bits/eventfd.h.
5340
fb779be7
TS
53412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5342
e19e83c5
RM
5343 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5344 __feraiseexcept instead of feraiseexcept.
7c35ffed 5345
fb779be7
TS
5346 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5347 nanosleep invocations.
5348 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5349 strings, and add error checking for a nanosleep invocations.
5350
59ba27a6
PE
53512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5352
5353 Replace FSF snail mail address with URLs, as per GNU coding standards.
5354 Most of the snail mail addresses were wrong anyway, and omitting
5355 them makes the source code easier to maintain. Almost all of the
5356 changes are to license notices and to locale LC_IDENTIFICATION
5357 addresses, except for this one:
5358 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5359 not its snail mail address.
5360
57b957eb
RH
53612012-02-09 Richard Henderson <rth@twiddle.net>
5362
af850b1c
RH
5363 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5364 of kernel-features.h.
5365
57b957eb
RH
5366 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5367
6b73181a
MP
53682012-02-08 Marek Polacek <polacek@redhat.com>
5369
5370 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5371 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5372 * sysdeps/gnu/_G_config.h: Likewise.
5373 * sysdeps/generic/_G_config.h: Likewise.
5374
26ecc33a
AS
53752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5376
6c6dbc63
AS
5377 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5378 tests.
5379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5380
e216c012
AS
5381 * sysdeps/powerpc/powerpc32/crti.S: New file.
5382 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5383 * sysdeps/powerpc/powerpc64/crti.S: New file.
5384 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5385
26ecc33a
AS
5386 * Makeconfig (have-initfini): Don't set.
5387 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5388 * configure.in (nopic_initfini): Don't substitute.
5389 * config.h.in (HAVE_INITFINI): Don't #undef.
5390 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5391 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5392
3add8e13
JM
53932012-02-08 Joseph Myers <joseph@codesourcery.com>
5394
5395 Support crti.S and crtn.S provided directly by architectures.
5396 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5397 [crti.S in sysdirs] (omit-deps): Likewise.
5398 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5399 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5400 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5401 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5402 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5403 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5404 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5405 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5406 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5407 compiler output for sysdeps/generic/initfini.c.
5408 * sysdeps/i386/elf/Makefile: Remove file.
5409 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5410
a22f12b4
MP
54112012-02-07 Marek Polacek <polacek@redhat.com>
5412
5413 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5414 * sysdeps/gnu/_G_config.h: Likewise.
5415 * sysdeps/mach/hurd/_G_config.h: Likewise.
5416
148cf100
MP
54172012-02-07 Marek Polacek <polacek@redhat.com>
5418
5419 * math/Makefile (tests): Add tst-CMPLX2.
5420 * math/tst-CMPLX2.c: New file.
5421
cfdc0dd7
AS
54222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5423
84ba42c4
AS
5424 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5425
cfdc0dd7
AS
5426 * math/libm-test.inc (jn_test): Add missing L suffix.
5427
622c86f4
MP
54282012-02-06 Marek Polacek <polacek@redhat.com>
5429
5430 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5431 * sysdeps/i386/fpu/e_powf.S: Likewise.
5432 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5433 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5434 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5435 * sysdeps/i386/fpu/e_pow.S: Likewise.
5436 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5437 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5438 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5439 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5440 * sysdeps/i386/fpu/e_log2.S: Likewise.
5441 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5442 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5443 * sysdeps/i386/fpu/e_powl.S: Likewise.
5444 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5446 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5447 * sysdeps/i386/fpu/e_logl.S: Likewise.
5448 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5449 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5450 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5451 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5453 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5454 * sysdeps/i386/fpu/e_log.S: Likewise.
5455 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5456 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5457 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5458 * sysdeps/i386/fpu/e_logf.S: Likewise.
5459 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5460 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5461 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5462 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5463 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5464 * sysdeps/i386/fpu/e_log10.S: Likewise.
5465 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5466 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5467 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5468 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5469 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5470 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5471 * sysdeps/i386/asm-syntax.h: Likewise.
5472 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5473 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5474 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5475 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5476 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5477 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5478 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5479 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5480 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5481 * sysdeps/powerpc/sysdep.h: Likewise.
5482 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5483 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5484
d4a54ac6
JM
54852012-02-06 Joseph Myers <joseph@codesourcery.com>
5486
5487 [BZ #411]
5488 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5489
314054ea
JM
54902012-02-06 Joseph Myers <joseph@codesourcery.com>
5491
5492 * sysdeps/i386/sysdep.h: Include <features.h>.
5493 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5494 version.
5495
d8e0ca50
JM
54962012-02-05 Joseph Myers <joseph@codesourcery.com>
5497
5498 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5499 Define.
5500 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5501 LOAD_PIC_REG_STR.
5502
b1da7dd9
JM
55032012-02-03 Joseph Myers <joseph@codesourcery.com>
5504
5505 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5506 (SETUP_PIC_REG): Use GET_PC_THUNK.
5507 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5508 macro.
5509
9a1d9254
JM
55102012-02-03 Joseph Myers <joseph@codesourcery.com>
5511
5512 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5513 for non-PIC compilation.
5514 (SETUP_PIC_REG): Add .p2align directive.
5515 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5516 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5517 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5518 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5519 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5520 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5521 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5523 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5524 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5525 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5526 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5527 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5528 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5529 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5530 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5531 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5532 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5533 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5534 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5537 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5538 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5539 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5541 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5543 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5544 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5545 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5546 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5547 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5548 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5549 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5550 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5551 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5552 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5553 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5554 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5555 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5556
65dc3b75
JM
55572012-02-03 Joseph Myers <joseph@codesourcery.com>
5558
5559 * math/tst-CMPLX.c: Include <stdio.h>.
5560
d55bf177
JM
55612012-01-31 Joseph Myers <joseph@codesourcery.com>
5562
5563 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5564 float.
5565 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5566 * sysdeps/sparc/bits/mathdef.h: Likewise.
5567
69db4f8f
MP
55682012-01-31 Marek Polacek <polacek@redhat.com>
5569
5570 * libio/libio.h: Don't define _PARAMS.
5571 * locale/programs/config.h: Don't define PARAMS.
5572 * stdlib/strtol_l.c: Likewise.
5573 (__strtol_l): Remove PARAMS from the prototype.
5574
41b81892
UD
55752012-01-31 Ulrich Drepper <drepper@gmail.com>
5576
3b49edc0
UD
5577 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5578 names. Just use the correct names. Remove unnecessary wrapper
5579 functions.
5580 * malloc/arena.c: Likewise.
5581 * malloc/hooks.c: Likewise.
5582
41b81892
UD
5583 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5584 ARENA_TEST says not to. Simplify test for creation of a new arena.
5585 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5586
27a25b6e
UD
55872012-01-30 Ulrich Drepper <drepper@gmail.com>
5588
5589 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5590 into tail calls.
5591 (update_get_addr): New function.
5592 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5593 GET_ADDR_MODULE parameter.
5594
c8a89e7d
JM
55952012-01-30 Joseph Myers <joseph@codesourcery.com>
5596
5597 * crypt/cert.c: Remove __STDC__ conditionals.
5598 * crypt/crypt-entry.c: Likewise.
5599 * crypt/crypt_util.c: Likewise.
5600 * libio/filedoalloc.c: Likewise.
5601 * libio/fileops.c: Likewise.
5602 * libio/genops.c: Likewise.
5603 * libio/iofclose.c: Likewise.
5604 * libio/iofdopen.c: Likewise.
5605 * libio/iofopen.c: Likewise.
5606 * libio/iofopen64.c: Likewise.
5607 * libio/iogetdelim.c: Likewise.
5608 * libio/iopopen.c: Likewise.
5609 * libio/obprintf.c: Likewise.
5610 * libio/oldfileops.c: Likewise.
5611 * libio/oldiofclose.c: Likewise.
5612 * libio/oldiofdopen.c: Likewise.
5613 * libio/oldiofopen.c: Likewise.
5614 * libio/oldiopopen.c: Likewise.
5615 * libio/wfiledoalloc.c: Likewise.
5616 * libio/wgenops.c: Likewise.
5617 * locale/programs/xmalloc.c: Likewise.
5618 * misc/syslog.c: Likewise.
5619 * stdio-common/xbug.c: Likewise.
5620 * string/memchr.c: Likewise.
5621 * string/memcmp.c: Likewise.
5622 * string/memrchr.c: Likewise.
5623 * string/rawmemchr.c: Likewise.
5624 * sysdeps/posix/getcwd.c: Likewise.
5625 * time/strftime_l.c: Likewise.
5626
3b100462
JM
56272012-01-30 Joseph Myers <joseph@codesourcery.com>
5628
5629 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5630 * config.make.in (config-cflags-sse2avx): Define.
5631 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5632 Fix typo.
5633
607998af
CM
56342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5635
5636 * scripts/config.guess: Update from upstream config git repository.
5637 * scripts/config.sub: Likewise.
5638
3601428f
CM
56392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5640
3ac8b282
CM
5641 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5642 (EM_NUM): Update.
5643 (R_TILEPRO_*, R_TILEGX_*): New macros.
5644
e034841e
CM
5645 * scripts/firstversions.awk: Fix bug in version range handling.
5646
540d7568
CM
5647 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5648
3601428f
CM
5649 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5650
463de862
CM
5651 * include/sys/epoll.h: New file.
5652 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5653 libc_hidden_def.
5654
73139a76
UD
56552012-01-28 Ulrich Drepper <drepper@gmail.com>
5656
96bc5b45
UD
5657 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5658 Avoid unnecessary __WORDSIZE == 64 test.
5659 (fmaxf): Use VEX format if possible.
5660 (fmax): Likewise.
5661 (fminf): Likewise.
5662 (fmin): Likewise.
5663
56f6f6a2
UD
5664 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5665 * math/math_private.h: Remove libc_fegetround* and
5666 libc_fesetround*.
5667 * sysdeps/i386/configure.in: Check for -msse2avx.
5668 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5669 also if SSE2AVX is defined.
5670 Remove libc_fegetround* and libc_fesetround*.
5671 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5672 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5674 of HAS_YMM_USABLE.
5675 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5676 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5677 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5679 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5680
73139a76
UD
5681 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5682
d73f93a4
AZ
56832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5686 size is not set.
5687 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5688
6ee65ed6
UD
56892012-01-27 Ulrich Drepper <drepper@gmail.com>
5690
5691 [BZ #13618]
5692 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5693 relocation.
5694 * Makeconfig (libm): Define.
5695 * elf/Makefile: Add rules to build and run tst-relsort1.
5696 * elf/tst-relsort1.c: New file.
5697 * elf/tst-relsort1mod1.c: New file.
5698 * elf/tst-relsort1mod2.c: New file.
5699
8db21882
JM
57002012-01-27 Joseph Myers <joseph@codesourcery.com>
5701
5702 * math/s_ldexp.c: Remove __STDC__ conditionals.
5703 * math/s_ldexpf.c: Likewise.
5704 * math/s_ldexpl.c: Likewise.
5705 * math/s_nextafter.c: Likewise.
5706 * math/s_nexttowardf.c: Likewise.
5707 * math/s_significand.c: Likewise.
5708 * math/s_significandf.c: Likewise.
5709 * math/s_significandl.c: Likewise.
5710 * math/w_jnl.c: Likewise.
5711 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5712 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5713 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5714 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5715 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5730 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5732 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5733 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5735 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5737 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5738 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5739 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5740 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5741 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5742 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5743 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5745 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5746 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5747 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5748 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5749 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5750 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5751 * sysdeps/ieee754/k_standard.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5813 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5818 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5827 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5831 * sysdeps/ieee754/s_matherr.c: Likewise.
5832 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5833 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5836
965a54a4
JM
58372012-01-26 Joseph Myers <joseph@codesourcery.com>
5838
5839 * crypt/md5.h: Remove __STDC__ conditionals.
5840 * libio/libioP.h: Likewise.
5841 * locale/programs/config.h: Likewise.
5842 * sysdeps/generic/sysdep.h: Likewise.
5843 * sysdeps/i386/asm-syntax.h: Likewise.
5844 * sysdeps/s390/asm-syntax.h: Likewise.
5845 * sysdeps/unix/sysdep.h: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5848
7071ad79
JM
58492012-01-26 Joseph Myers <joseph@codesourcery.com>
5850
5851 * libio/libio.h: Remove __STDC__ conditionals.
5852 * malloc/obstack.h: Likewise.
5853 * math/complex.h: Likewise.
5854 * math/math.h: Likewise.
5855 * sysdeps/generic/_G_config.h: Likewise.
5856 * sysdeps/gnu/_G_config.h: Likewise.
5857 * sysdeps/mach/hurd/_G_config.h: Likewise.
5858 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5859 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5860 * sysdeps/sparc/bits/mathdef.h: Likewise.
5861
afc5ed09
UD
58622012-01-26 Ulrich Drepper <drepper@gmail.com>
5863
5864 [BZ #13583]
5865 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5866 Clean up HAS_* macros.
afc5ed09 5867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5868 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5869 possible.
5870 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5871 HAS_AVX.
5872 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5875 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5876 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5877
bdb6de1d
JM
58782012-01-25 Joseph Myers <joseph@codesourcery.com>
5879
5880 * elf/tst-unique3.cc (gets): Remove declaration.
5881 * elf/tst-unique3lib.cc (gets): Likewise.
5882 * elf/tst-unique3lib2.cc (gets): Likewise.
5883 * elf/tst-unique4.cc (gets): Likewise.
5884
b15549e6
UD
58852012-01-24 Ulrich Drepper <drepper@gmail.com>
5886
5887 * include/stdio.h: Add C++ protection. Add gets declarations and
5888 definitions.
5889 * debug/tst-chk1.c: Don't declare gets here.
5890 * stdio-common/tst-gets.c: Likewise.
5891
a037381f
JM
58922012-01-24 Joseph Myers <joseph@codesourcery.com>
5893
5894 * posix/glob: Remove directory.
5895
f1d4aa75
JM
58962012-01-24 Joseph Myers <joseph@codesourcery.com>
5897
5898 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5899
81c0c964
PT
59002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5901
5902 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5903 of the non-standard EPFNOSUPPORT.
5904
0ea698ae
ST
59052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5906
5907 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5908 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5909 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5910
d220b117
UD
59112012-01-21 Ulrich Drepper <drepper@gmail.com>
5912
5913 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5914
3e1aa84e
UD
59152012-01-20 Ulrich Drepper <drepper@gmail.com>
5916
5917 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5918 transient errors.
5919 * nscd/grpcache.c (cache_addgr): Likewise.
5920 * nscd/hstcache.c (cache_addhst): Likewise.
5921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5922 * nscd/pwdcache.c (cache_addpw): Likewise.
5923 * nscd/servicescache.c (cache_addserv): Likewise.
5924
400aa020
UD
59252012-01-16 Ulrich Drepper <drepper@gmail.com>
5926
d77e7869
UD
5927 * malloc/malloc.c: Various cleanups.
5928 * malloc/hooks.c: Likewise.
5929
400aa020
UD
5930 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5931 * stdlib/bug-fmtmsg1.c: New file.
5932
5933 * stdlib/fmtmsg.c (init): Add missing unlock.
5934 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5935
e0a309cf
MP
59362012-01-12 Marek Polacek <polacek@redhat.com>
5937
5938 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5939 and _GNU_SOURCE.
5940
929d11c7
WS
59412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5942
5943 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5944 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5945 macro to ensure uniqueness of label name.
5946 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5947 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5948
41d0e869
UD
59492012-01-11 Ulrich Drepper <drepper@gmail.com>
5950
0cc5ed3b
UD
5951 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5952
41d0e869
UD
5953 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5954 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5955 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5957
a47a831a
UD
59582012-01-10 Ulrich Drepper <drepper@gmail.com>
5959
daa891c0
UD
5960 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5961
5962 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5963 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5964 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5965
e58ef0f2
UD
5966 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5967
a47a831a 5968 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5970 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5972
5973 * math/bits/math-finite.h: Add ldexp support.
5974
a0bfc9c7
MP
59752012-01-10 Marek Polacek <polacek@redhat.com>
5976
5977 * locale/programs/localedef.h (show_archive_content): Add noreturn
5978 attribute.
5979
d6e97a1d
UD
59802012-01-09 Ulrich Drepper <drepper@gmail.com>
5981
5982 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5983
d5835c26
UD
59842012-01-08 Ulrich Drepper <drepper@gmail.com>
5985
e5f484c6
UD
5986 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5987
d5835c26
UD
5988 * io/Makefile (headers): Add bits/poll2.h.
5989
d1f741e9
WS
59902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5991
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5993 typo #include statement.
5994
ec09c1c4
UD
59952012-01-08 Ulrich Drepper <drepper@gmail.com>
5996
5997 * include/sys/cdefs.h: Define __attribute_alloc_size.
5998 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5999 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6000 * elf/pldd.c: Likewise.
6001 * iconv/iconv_charmap.c: Likewise.
6002 * iconv/iconvconfig.c: Likewise.
6003 * iconv/strtab.c: Likewise.
6004 * locale/programs/locale.c: Likewise.
6005 * locale/programs/localedef.h: Likewise.
6006 * locale/programs/simple-hash.c: Likewise.
6007 * nscd/nscd.h: Likewise.
6008 * nss/makedb.c: Likewise.
6009 * sysdeps/generic/ldconfig.h: Likewise.
6010 * locale/programs/localedef.c: Remove xmalloc prototype.
6011 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6012
20b38e03
PP
60132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6014
6015 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6016 appropriate.
6017
a0da5fe1
UD
60182012-01-08 Ulrich Drepper <drepper@gmail.com>
6019
1d5a644a 6020 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6021 * math/tst-CMPLX.c: New file.
1d5a644a 6022
8784a6db
UD
6023 * math/complex.h (CMPLXL): Fix typo.
6024
d9a216c0
UD
6025 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6026 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6027 GLIBC_2.16.
6028 * debug/tst-chk1.c: Add poll and ppoll tests.
6029 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6030 * include/sys/poll.h: Add hidden proto for ppoll.
6031 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6032 * sysdeps/mach/hurd/ppoll.c: Likewise.
6033 * io/ppoll.c: Likewise.
6034 * debug/poll_chk.c: New file.
6035 * debug/ppoll_chk.c: New file.
6036 * include/bits/poll2.h: New file.
6037 * io/bits/poll2.h: New file.
6038
ac097f5c
UD
6039 [BZ #1350]
6040 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6041
2119dcfa
UD
6042 * configure.in: static is always set to yes. Remove.
6043 * config.make.in: Don't set build-static.
6044 * Makeconfig: Remove use of build-static.
6045 * dlfcn/Makefile: Likewise.
6046 * elf/Makefile: Likewise.
6047 * math/Makefile: Likewise.
6048 * misc/Makefile: Likewise.
6049 * nptl/Makefile: Likewise.
6050 * sysdeps/mach/hurd/Makefile: Likewise.
6051
121766a9
UD
6052 * configure.in: PWD_P is not used anymore.
6053 * config.make.in: Remove PWD_P entry.
6054
51a1d39c 6055 * configure.in: Remove last remnants of RANLIB.
8720d066 6056 No need to check for signed size_t anymore.
215f4bdc
UD
6057 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6058 and IA-64.
3857022a 6059 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6060 * aclocal.m4: Likewise.
6061
d3ed7225
UD
6062 * wcsmbs/mbrtoc16.c: Implement using towc function.
6063 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6064 * wcsmbs/wcsmbsload.c: Likewise.
6065 * iconv/gconv_simple.c: Likewise.
6066 * iconv/gconv_int.h: Likewise.
6067 * iconv/gconv_builtin.h: Likewise.
6068 * iconv/iconv_prog.c: Remove CHAR16 handling.
6069
6070 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6071
6072 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6073
a0da5fe1
UD
6074 * configure.in: Remove --with-elf and --enable-bounded options.
6075 Dont set base_machine for ia64. More non-ELF conditions removed.
6076 Remove testing and setting of leading underscore information.
6077 * config.make.in (build-bounded): Set to no.
6078 * config.h.in: Remove NO_UNDERSCORES entry.
6079 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6080 them.
6081 * csu/start.c: Remove !NO_UNDERSCORE code.
6082 * locale/localeinfo.h: Likewise.
6083 * sysdeps/generic/machine-gmon.h: Likewise.
6084 * sysdeps/generic/sysdep.h: Likewise.
6085 * sysdeps/i386/sysdep.h: Likewise.
6086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6087 * sysdeps/mach/sysdep.h: Likewise.
6088 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6089 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6090 * sysdeps/sh/sysdep.h: Likewise.
6091 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6092 * sysdeps/unix/i386/sysdep.S: Likewise.
6093 * sysdeps/unix/sparc/start.c: Likewise.
6094 * sysdeps/unix/sparc/sysdep.S: Likewise.
6095 * sysdeps/unix/sparc/sysdep.h: Likewise.
6096 * sysdeps/unix/start.c: Likewise.
6097 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6098 * sysdeps/x86_64/sysdep.h: Likewise.
6099
df78418a
UD
61002012-01-07 Ulrich Drepper <drepper@gmail.com>
6101
a784e502
UD
6102 [BZ #13553]
6103 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6104 for non-gcc.
6105 * argp/argp-fmtstream.h: Use const instead __const.
6106 * argp/argp.h: Likewise.
6107 * assert/assert.h: Likewise.
6108 * bits/fenv.h: Likewise.
6109 * bits/sched.h: Likewise.
6110 * bits/sigset.h: Likewise.
6111 * bits/sigthread.h: Likewise.
6112 * catgets/nl_types.h: Likewise.
6113 * conform/data/pthread.h-data: Likewise.
6114 * crypt/crypt-private.h: Likewise.
6115 * crypt/crypt.h: Likewise.
6116 * crypt/crypt_util.c: Likewise.
6117 * ctype/ctype.h: Likewise.
6118 * debug/execinfo.h: Likewise.
6119 * debug/mbsnrtowcs_chk.c: Likewise.
6120 * debug/mbsrtowcs_chk.c: Likewise.
6121 * debug/wcsnrtombs_chk.c: Likewise.
6122 * debug/wcsrtombs_chk.c: Likewise.
6123 * debug/wcstombs_chk.c: Likewise.
6124 * dirent/dirent.h: Likewise.
6125 * dlfcn/dlfcn.h: Likewise.
6126 * elf/neededtest4.c: Likewise.
6127 * grp/grp.h: Likewise.
6128 * gshadow/gshadow.h: Likewise.
6129 * iconv/gconv.h: Likewise.
6130 * iconv/gconv_int.h: Likewise.
6131 * iconv/gconv_simple.c: Likewise.
6132 * iconv/iconv.h: Likewise.
6133 * iconv/loop.c: Likewise.
6134 * iconv/skeleton.c: Likewise.
6135 * include/aio.h: Likewise.
6136 * include/aliases.h: Likewise.
6137 * include/argz.h: Likewise.
6138 * include/arpa/inet.h: Likewise.
6139 * include/assert.h: Likewise.
6140 * include/dirent.h: Likewise.
6141 * include/dlfcn.h: Likewise.
6142 * include/execinfo.h: Likewise.
6143 * include/fcntl.h: Likewise.
6144 * include/fenv.h: Likewise.
6145 * include/glob.h: Likewise.
6146 * include/grp.h: Likewise.
6147 * include/libintl.h: Likewise.
6148 * include/mntent.h: Likewise.
6149 * include/netdb.h: Likewise.
6150 * include/pwd.h: Likewise.
6151 * include/rpc/netdb.h: Likewise.
6152 * include/sched.h: Likewise.
6153 * include/search.h: Likewise.
6154 * include/shadow.h: Likewise.
6155 * include/signal.h: Likewise.
6156 * include/stdio.h: Likewise.
6157 * include/stdlib.h: Likewise.
6158 * include/string.h: Likewise.
6159 * include/sys/socket.h: Likewise.
6160 * include/sys/stat.h: Likewise.
6161 * include/sys/statfs.h: Likewise.
6162 * include/sys/statvfs.h: Likewise.
6163 * include/sys/syslog.h: Likewise.
6164 * include/sys/time.h: Likewise.
6165 * include/sys/uio.h: Likewise.
6166 * include/time.h: Likewise.
6167 * include/unistd.h: Likewise.
6168 * include/utmp.h: Likewise.
6169 * include/wchar.h: Likewise.
6170 * include/wctype.h: Likewise.
6171 * inet/aliases.h: Likewise.
6172 * inet/arpa/inet.h: Likewise.
6173 * inet/netinet/ether.h: Likewise.
6174 * inet/netinet/in.h: Likewise.
6175 * intl/libintl.h: Likewise.
6176 * io/bits/fcntl2.h: Likewise.
6177 * io/fcntl.h: Likewise.
6178 * io/ftw.h: Likewise.
6179 * io/sys/poll.h: Likewise.
6180 * io/sys/stat.h: Likewise.
6181 * io/sys/statfs.h: Likewise.
6182 * io/sys/statvfs.h: Likewise.
6183 * io/utime.h: Likewise.
6184 * libio/bits/stdio.h: Likewise.
6185 * libio/bits/stdio2.h: Likewise.
6186 * libio/libio.h: Likewise.
6187 * libio/libioP.h: Likewise.
6188 * libio/stdio.h: Likewise.
6189 * locale/lc-ctype.c: Likewise.
6190 * locale/locale.h: Likewise.
6191 * login/utmp.h: Likewise.
6192 * malloc/arena.c: Likewise.
6193 * malloc/malloc.c: Likewise.
6194 * malloc/malloc.h: Likewise.
6195 * malloc/mcheck.c: Likewise.
6196 * malloc/mtrace.c: Likewise.
6197 * math/bits/mathcalls.h: Likewise.
6198 * math/fenv.h: Likewise.
6199 * math/math_private.h: Likewise.
6200 * misc/bits/error.h: Likewise.
6201 * misc/bits/syslog.h: Likewise.
6202 * misc/err.h: Likewise.
6203 * misc/error.h: Likewise.
6204 * misc/fstab.h: Likewise.
6205 * misc/mntent.h: Likewise.
6206 * misc/regexp.h: Likewise.
6207 * misc/search.h: Likewise.
6208 * misc/sgtty.h: Likewise.
6209 * misc/sys/mman.h: Likewise.
6210 * misc/sys/syslog.h: Likewise.
6211 * misc/sys/uio.h: Likewise.
6212 * misc/sys/xattr.h: Likewise.
6213 * misc/ttyent.h: Likewise.
6214 * nis/rpcsvc/ypclnt.h: Likewise.
6215 * nss/nss.h: Likewise.
6216 * posix/bits/unistd.h: Likewise.
6217 * posix/fnmatch.h: Likewise.
6218 * posix/glob.h: Likewise.
6219 * posix/sched.h: Likewise.
6220 * posix/spawn.h: Likewise.
6221 * posix/sys/wait.h: Likewise.
6222 * posix/unistd.h: Likewise.
6223 * posix/wordexp.h: Likewise.
6224 * pwd/pwd.h: Likewise.
6225 * resolv/netdb.h: Likewise.
6226 * resource/sys/resource.h: Likewise.
6227 * rt/aio.h: Likewise.
6228 * rt/bits/mqueue2.h: Likewise.
6229 * rt/mqueue.h: Likewise.
6230 * shadow/shadow.h: Likewise.
6231 * signal/signal.h: Likewise.
6232 * socket/send.c: Likewise.
6233 * socket/sendto.c: Likewise.
6234 * socket/sys/socket.h: Likewise.
6235 * stdio-common/printf.h: Likewise.
6236 * stdlib/bits/stdlib.h: Likewise.
6237 * stdlib/fmtmsg.h: Likewise.
6238 * stdlib/monetary.h: Likewise.
6239 * stdlib/stdlib.h: Likewise.
6240 * stdlib/ucontext.h: Likewise.
6241 * streams/stropts.h: Likewise.
6242 * string/argz.h: Likewise.
6243 * string/bits/string2.h: Likewise.
6244 * string/string.h: Likewise.
6245 * string/strings.h: Likewise.
6246 * sunrpc/rpc/auth.h: Likewise.
6247 * sunrpc/rpc/auth_des.h: Likewise.
6248 * sunrpc/rpc/clnt.h: Likewise.
6249 * sunrpc/rpc/netdb.h: Likewise.
6250 * sunrpc/rpc/pmap_clnt.h: Likewise.
6251 * sunrpc/rpc/xdr.h: Likewise.
6252 * sysdeps/generic/inttypes.h: Likewise.
6253 * sysdeps/generic/net/if.h: Likewise.
6254 * sysdeps/generic/sys/swap.h: Likewise.
6255 * sysdeps/gnu/net/if.h: Likewise.
6256 * sysdeps/gnu/utmpx.h: Likewise.
6257 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6258 * sysdeps/i386/i486/bits/string.h: Likewise.
6259 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6260 * sysdeps/s390/bits/string.h: Likewise.
6261 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6262 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6263 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6264 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6265 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6266 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6267 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6268 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6269 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6270 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6271 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6272 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6273 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6274 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6275 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6276 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6277 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6280 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6282 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6283 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6284 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6285 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6286 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6287 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6288 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6289 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6290 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6291 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6292 * sysvipc/sys/ipc.h: Likewise.
6293 * sysvipc/sys/msg.h: Likewise.
6294 * sysvipc/sys/sem.h: Likewise.
6295 * sysvipc/sys/shm.h: Likewise.
6296 * termios/termios.h: Likewise.
6297 * time/sys/time.h: Likewise.
6298 * time/time.h: Likewise.
6299 * wcsmbs/bits/wchar2.h: Likewise.
6300 * wcsmbs/uchar.h: Likewise.
6301 * wcsmbs/wchar.h: Likewise.
6302 * wctype/wctype.h: Likewise.
6303
0269750c
UD
6304 [BZ #13551]
6305 * Makeconfig: Remove all but ELF support including AIX support.
6306 * Makerules: Likewise.
6307 * config.h.in: Likewise.
6308 * config.make.in: Likewise.
6309 * configure: Likewise.
6310 * configure.in: Likewise.
6311 * csu/Makefile: Likewise.
6312 * csu/version.c: Likewise.
6313 * debug/Makefile: Likewise.
6314 * dlfcn/Makefile: Likewise.
6315 * elf/Makefile: Likewise.
6316 * extra-lib.mk: Likewise.
6317 * iconv/Makefile: Likewise.
6318 * include/libc-symbols.h: Likewise.
6319 * include/shlib-compat.h: Likewise.
6320 * resolv/Makefile: Likewise.
6321 * resolv/res_libc.c: Likewise.
6322 * rt/Makefile: Likewise.
6323 * sysdeps/i386/asm-syntax.h: Likewise.
6324 * sysdeps/i386/sysdep.h: Likewise.
6325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6326 * sysdeps/mach/sysdep.h: Likewise.
6327 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6328 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6329 * sysdeps/s390/asm-syntax.h: Likewise.
6330 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6331 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6332 * sysdeps/sh/sysdep.h: Likewise.
6333 * sysdeps/unix/sparc/sysdep.h: Likewise.
6334 * sysdeps/wordsize-32/divdi3.c: Likewise.
6335 * sysdeps/x86_64/sysdep.h: Likewise.
6336
00bbd29b
UD
6337 * argp/Versions: Remove _argp_unlock_xxx.
6338
6339 [BZ #13559]
6340 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6341 * abilist/libBrokenLocale.abilist: Likewise.
6342 * abilist/libanl.abilist: Likewise.
6343 * abilist/libc.abilist: Likewise.
6344 * abilist/libcrypt.abilist: Likewise.
6345 * abilist/libdl.abilist: Likewise.
6346 * abilist/libm.abilist: Likewise.
6347 * abilist/libnsl.abilist: Likewise.
6348 * abilist/libpthread.abilist: Likewise.
6349 * abilist/libresolv.abilist: Likewise.
6350 * abilist/librt.abilist: Likewise.
6351 * abilist/libthread_db.abilist: Likewise.
6352 * abilist/libutil.abilist: Likewise.
6353 * abilist/libnss_db.abilist: New file.
6354
6355 * scripts/abilist.awk: Add support for indirect functions.
6356
a2693a0e
UD
6357 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6358
3f05895f
UD
6359 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6360
ecb6fb48
UD
6361 * shlib-versions: Remove entries for ports architectures.
6362
664f8cb9
UD
6363 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6364 files in ports.
6365 * elf/stackguard-macros.h: Remove support for IA-64.
6366 * elf/tst-auditmod1.c: Likewise.
6367 * sysdeps/generic/ldsodefs.h: Likewise.
6368
7ae81d88
UD
6369 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6370 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6371 configure files.
6372
bdeba135
UD
6373 [BZ #13552]
6374 * configure.in: Remove --enable-omitfp support.
6375 * FAQ.in: Adjust.
6376 * config.make.in: Likewise.
6377 * Makeconfig: Likewise.
6378 * manual/install.texi: Likewise.
6379
d75a0a62
UD
6380 In case anyone cares, the IA-64 architecture could move to ports.
6381 * sysdeps/ia64/*: Removed.
6382 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6383 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6384
dcc9756b
UD
6385 [BZ #13555]
6386 * configure.in: Remove entries for unsupported architectures.
6387
d3761ebc 6388 [BZ #13533]
9954432e
UD
6389 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6390 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6391 routines.
6392 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6393 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6394 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6395 fall back to using wcrtomb.
6396 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6397 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6398 renaming.
6399 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6400 * wcsmbs/tst-c16c32-1.c: New file.
6401
6402 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6403 local variable.
6404
c3a87236
UD
6405 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6406
28926a1b
UD
6407 * elf/tst-unique3.cc: Add explicit declaration of gets.
6408 * elf/tst-unique3lib.cc: Likewise.
6409 * elf/tst-unique3lib2.cc: Likewise.
6410 * elf/tst-unique4.cc: Likewise.
6411
df78418a
UD
6412 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6413
8ecd6b2a
JM
64142012-01-06 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #13566]
6417 * assert/assert.h (static_assert): Don't define for C++.
6418 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6419 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6420
9f115170
UD
64212012-01-03 Ulrich Drepper <drepper@gmail.com>
6422
5e0d0300
UD
6423 * iconv/loop.c (single loop): Fix assertion in storing of
6424 remaining bytes.
6425
9f115170
UD
6426 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6427
81fb02b0
UD
64282012-01-01 Ulrich Drepper <drepper@gmail.com>
6429
6430 * posix/getconf.c: Update copyright year.
6431 * nss/getent.c: Likewise.
a316c1f6 6432 * nss/makedb.c: Likewise.
81fb02b0
UD
6433 * iconv/iconvconfig.c: Likewise.
6434 * iconv/iconv_prog.c: Likewise.
6435 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6436 * elf/pldd.c: Likewise.
6437 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6438 * catgets/gencat.c: Likewise.
6439 * csu/version.c: Likewise.
6440 * elf/ldd.bash.in: Likewise.
6441 * elf/sprof.c (print_version): Likewise.
6442 * locale/programs/locale.c: Likewise.
6443 * locale/programs/localedef.c: Likewise.
a316c1f6 6444 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6445 * nscd/nscd.c (print_version): Likewise.
6446 * debug/xtrace.sh: Likewise.
6447 * malloc/memusage.sh: Likewise.
6448 * malloc/mtrace.pl: Likewise.
6449 * debug/catchsegv.sh: Likewise.
6450
2ba92745
JJ
64512011-12-30 Jakub Jelinek <jakub@redhat.com>
6452
6453 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6454 pure attribute.
6455
dadebdae
UD
64562011-12-24 Ulrich Drepper <drepper@gmail.com>
6457
d3761ebc 6458 [BZ #13533]
db6af3eb
UD
6459 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6460 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6461 transformations.
6462 * iconv/gconv_int.h: Likewise.
6463 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6464 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6465 from libc for GLIBC_2.16.
6466 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6467 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6468 * wcsmbs/uchar.h: Really define mbstate_t.
6469 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6470 * wcsmbs/c16rtomb.c: New file.
6471 * wcsmbs/mbrtoc16.c: New file.
6472 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6473 for C/POSIX locale.
6474 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6475 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6476
dadebdae
UD
6477 * wcsmbs/wchar.h: Add missing __restrict.
6478
67371b56
UD
64792011-12-23 Ulrich Drepper <drepper@gmail.com>
6480
74033a25
UD
6481 [BZ #13532]
6482 * time/Makefile (routines): Add timespec_get.
6483 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6484 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6485 timespec for ISO C11.
6486 * time/timespec_get.c: New file.
6487 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6488 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6489
380d7e87
UD
6490 [BZ #13531]
6491 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6492 * stdlib/stdlib.h: Declare aligned_alloc.
6493 * Versions.def: Add GLIBC_2.16 for libc.
6494 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6495
4e9e7a35
UD
6496 [BZ 13527]
6497 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6498 ISO C11.
6499
380d7e87 6500 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6501 code.
6502
03a71829
UD
6503 [BZ #13528]
6504 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6505
839e283e
UD
6506 [BZ #13529]
6507 * assert/assert.h (static_assert): Define.
6508
ce5294e2 6509 * version.h: Update for 2.16 development version.
90fa7312 6510
8d44e150 6511 [BZ #13526]
d7809905
UD
6512 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6513 _ISOC11_SOURCE.
6514
c0da14cd
UD
6515 * version.h (RELEASE): Bump for 2.15 release.
6516 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6517
530a3249
MP
6518 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6519 Patch by Marek Polacek <mpolacek@redhat.com>.
6520
67371b56
UD
6521 * bits/byteswap.h: Protect long long constants with __extension__.
6522 * sysdeps/i386/bits/byteswap.h: Likewise.
6523 * sysdeps/ia64/bits/byteswap.h: Likewise.
6524 * sysdeps/s390/bits/byteswap.h: Likewise.
6525 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6526
15db4de1
LD
65272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6528
6529 [BZ #13540]
bbe315ea
LD
6530 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6531 destination buffer.
15db4de1
LD
6532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6533
2b2596b1
MP
65342011-12-23 Marek Polacek <polacek@redhat.com>
6535
6536 * elf/dl-addr.c (determine_info): Add inline keyword.
6537 * elf/tst-auditmod4b.c (check_avx): Likewise.
6538 * elf/tst-auditmod6b.c (check_avx): Likewise.
6539 * elf/tst-auditmod6c.c (check_avx): Likewise.
6540 * elf/tst-auditmod7b.c (check_avx): Likewise.
6541
70c6c246
UD
65422011-12-23 Ulrich Drepper <drepper@gmail.com>
6543
6544 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6545 !__SSE_MATH__.
6546
c044cf14
LD
65472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6548
15db4de1 6549 [BZ #13540]
c044cf14
LD
6550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6551 processing for last bytes.
6552
6b13d9d9
BH
65532011-08-06 Bruno Haible <bruno@clisp.org>
6554
d455f537
BH
6555 [BZ #13061]
6556 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6557 U+0385, not to U+1FEE.
6558
6b13d9d9
BH
6559 [BZ #13062]
6560 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6561 entry for U+00A5 U+0301.
6562
db910efd
UD
65632011-12-22 Ulrich Drepper <drepper@gmail.com>
6564
27deeafc
UD
6565 [BZ #13166]
6566 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6567 buffer for the output is too small.
6568
aed9d171
UD
6569 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6570 optimization.
6571
db910efd
UD
6572 [BZ #13185]
6573 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6574 SSE flags if possible.
6575
2bd779ae
LD
65762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6577
e7f9dac3 6578 [BZ #13540]
2bd779ae
LD
6579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6580 processing for last bytes.
6581
154bfc16
JM
65822011-12-22 Joseph Myers <joseph@codesourcery.com>
6583
6584 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6585 (syscall-list-default-options, syscall-list-default-condition)
6586 (syscall-list-includes): Define.
6587 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6588 list of ABIs and options and #if conditions for each ABI. Do not
6589 handle common syscalls between ABIs specially.
6590 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6591 Remove.
6592 (syscall-list-variants, syscall-list-32bit-options)
6593 (syscall-list-32bit-condition, syscall-list-64bit-options)
6594 (syscall-list-64bit-condition): Define.
6595 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6596 (syscall-list-variants, syscall-list-32bit-options)
6597 (syscall-list-32bit-condition, syscall-list-64bit-options)
6598 (syscall-list-64bit-condition): Define.
6599 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6600 Remove.
6601 (syscall-list-variants, syscall-list-32bit-options)
6602 (syscall-list-32bit-condition, syscall-list-64bit-options)
6603 (syscall-list-64bit-condition): Define.
6604 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6605 Remove.
6606 (syscall-list-variants, syscall-list-32bit-options)
6607 (syscall-list-32bit-condition, syscall-list-64bit-options)
6608 (syscall-list-64bit-condition): Define.
6609
21eaf3a5
UD
66102011-12-22 Ulrich Drepper <drepper@gmail.com>
6611
16c6f992
UD
6612 * locale/iso-639.def: Add brx entry.
6613
41043168
UD
6614 [BZ #13328]
6615 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6616 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6617
21eaf3a5
UD
6618 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6619 __feraiseexcept_renamed.
6620
e3a851a2
UD
66212011-12-21 Ulrich Drepper <drepper@gmail.com>
6622
4920765e
UD
6623 [BZ #13538]
6624 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6625 EPOLLET with unsigned values.
6626 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6628
e3a851a2
UD
6629 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6630 to large cancellation.
6631 * math/s_cacoshf.c: Likewise.
6632 * math/s_cacoshl.c: Likewise.
6633
b27e24b8
RK
66342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6635
6636 [BZ #13305]
aebefeee 6637 [BZ #12786]
b27e24b8
RK
6638 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6639 * math/s_cacoshf.c: Likewise.
6640 * math/s_cacoshl.c: Likewise.
6641
ee190f67
UD
66422011-12-21 Ulrich Drepper <drepper@gmail.com>
6643
6644 [BZ #13439]
6645 * iconv/gconv.h: Define __GCONV_SWAP.
6646 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6647 * iconvdata/utf-16.c: Likewise.
6648 * iconvdata/utf-32.c: Likewise.
6649
707f25df
AS
66502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6651
6652 [BZ #13524]
6653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6654 numerator after shifting it by one limb.
6655
d2daaa1e
RÁE
66562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6657
6658 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6659 under [__USE_EXTERN_INLINES].
6660
a4647e72
UD
66612011-12-17 Ulrich Drepper <drepper@gmail.com>
6662
6663 [BZ #13446]
6664 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6665
f0b264f1
AZ
66662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6667
6668 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6669 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6670 optimized code.
6671 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6672 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6673 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6674 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6675 for strncasecmp/strncasecmp_l compilation.
6676 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6677 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6678
8ef4f244
MP
66792011-12-08 Marek Polacek <mpolacek@redhat.com>
6680
6681 [BZ #13484]
6682 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6683 of __asm__.
6684
97ac2654
UD
66852011-12-17 Ulrich Drepper <drepper@gmail.com>
6686
6687 [BZ #13506]
6688 * time/tzfile.c (__tzfile_read): Check values from file header.
6689
91d2a845
WS
66902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6691
6692 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6693 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6694 * powerpc/powerpc32/dl-start.S: Likewise.
6695 * powerpc/powerpc32/elf/start.S: Likewise.
6696 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6697 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6698 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6699 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6700 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6701 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6702 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6703 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6704 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6705 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6706 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6707 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6708 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6709 * powerpc/powerpc32/memset.S: Likewise.
6710 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6711 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6712 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6713 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6714 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6715 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6716 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6717 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6718 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6719 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6720 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6721 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6722 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6723
a1267ba1
AZ
67242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6725
6726 * math/libm-test.inc: Added more nearbyint tests.
6727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6731
ad8ac1bd
RL
67322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6733
6734 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6735 FD_CLOEXEC.
6736
1d3e4b61
UD
67372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6738
6739 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6740 Add wcscpy-ssse3 wcscpy-c.
6741 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6742 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6743 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6744 * sysdeps/x86_64/wcschr.S: New file.
6745 * sysdeps/x86_64/wcsrchr.S: New file.
6746 * string/test-strcmp.c: Remove checking of wcscmp function for
6747 wrong alignments.
6748 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6749 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6750 wcsrchr-sse2 wcsrchr-c.
6751 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6752 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6753 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6754 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6755 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6756 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6757 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6758 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6759 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6760 * wcsmbc/wcschr.c (WCSCHR): New macro.
6761
5b330a2d
UD
67622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6763
6764 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6765 * wcsmbs/test-wcsrchr.c: New file.
6766 * string/test-strrchr.c: Add wcsrchr support.
6767 (WIDE): New macro.
6768 * wcsmbs/test-wcscpy.c: New file.
6769 * string/test-strcpy.c: Add wcscpy support.
6770 (WIDE): New macro.
26428b7c 6771
f039c043
UD
67722011-12-10 Ulrich Drepper <drepper@gmail.com>
6773
6774 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6775 the inner loop.
6776
850fb039
AS
67772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6778
6779 [BZ #13472]
6780 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6781
4efbd5cb
UD
67822011-12-04 Ulrich Drepper <drepper@gmail.com>
6783
52ff5dd0 6784 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6785 Minor optimizations.
52ff5dd0 6786
4efbd5cb
UD
6787 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6788 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6789 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6790
8a426e12
UD
67912011-12-03 Ulrich Drepper <drepper@gmail.com>
6792
aff2453d
UD
6793 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6794 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6795 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6796 for gcc to avoid warnings.
6797 * inet/Makefile (tests): Add tst-checks.
6798 * inet/tst-checks.c: New file.
6799
6800 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6801 warning.
6802
6803 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6804 __wmemcmp_sse2.
6805
6806 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6807 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6808
8a426e12
UD
6809 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6810
9bea3473
UD
68112011-12-02 Ulrich Drepper <drepper@gmail.com>
6812
3a965496
UD
6813 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6814 problem.
6815
9bea3473
UD
6816 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6817
f101631b
UD
68182011-11-29 Joseph Myers <joseph@codesourcery.com>
6819
6820 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6821 conditional on GCC version.
6822 (__arch_compare_and_exchange_val_8_acq)
6823 (__arch_compare_and_exchange_val_16_acq)
6824 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6825 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6826 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6827
a98275aa
UD
68282011-12-02 Joseph Myers <joseph@codesourcery.com>
6829
6830 * sysdeps/sh/backtrace.c: New file.
6831
d4cc29a2
AS
68322011-12-02 Andreas Schwab <schwab@redhat.com>
6833
6834 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6835 parenthesis.
6836
6257af2d
AS
68372011-12-01 Andreas Schwab <schwab@redhat.com>
6838
6839 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6840 falling back to utime.
6841
b5f44c1a
AS
68422011-11-30 Andreas Schwab <schwab@redhat.com>
6843
6844 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6845 expectations for float.
6846
f3a6cc0a
AS
68472011-11-29 Andreas Schwab <schwab@redhat.com>
6848
6849 * locale/weight.h (findidx): Add parameter len.
6850 * locale/weightwc.h (findidx): Likewise.
6851 * posix/fnmatch_loop.c (FCT): Adjust caller.
6852 * posix/regcomp.c (build_equiv_class): Likewise.
6853 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6854 * posix/regexec.c (check_node_accept_bytes): Likewise.
6855 * string/strcoll_l.c (STRCOLL): Likewise.
6856 * string/strxfrm_l.c (STRXFRM): Likewise.
6857
9d65ea3a
UD
68582011-11-17 Ulrich Drepper <drepper@gmail.com>
6859
6860 * Makefile.in: Remove CVSOPT handling.
6861 * configure.in: Remove use of AC_REVISION.
6862 * iconvdata/Makefile (distribute): No need to filter out CVS.
6863 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6864 handling.
6865
5583a086
AS
68662011-11-16 Andreas Schwab <schwab@redhat.com>
6867
6868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6869 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6870 [USE_AS_STRNCASECMP_L]: Likewise.
6871 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6872 NO_TLS_DIRECT_SEG_REFS.
6873 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6874 Fix argument offsets for non-PIC.
6875 [USE_AS_STRNCASECMP_L]: Likewise.
6876 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6877 NO_TLS_DIRECT_SEG_REFS.
6878
d62a8200
UD
68792011-11-15 Ulrich Drepper <drepper@gmail.com>
6880
9d65ea3a 6881 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6882 O_CLOEXEC.
6883 * locale/loadlocale.c (_nl_load_locale): Likewise.
6884
09f93bd3
AS
68852011-11-15 Andreas Schwab <schwab@redhat.com>
6886
446514f9
AS
6887 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6888 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6889 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6890 (SYSCALL_GETTIME): Set errno on error.
6891
09f93bd3
AS
6892 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6893 count references to noai6ai_cached.
6894
312be3f9
UD
68952011-11-15 Ulrich Drepper <drepper@gmail.com>
6896
6897 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6898
6899 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6900 FD_CLOEXEC for /proc/self/maps.
6901
6902 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6903 FD_CLOEXEC for /proc/meminfo.
6904
6905 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6906 gai.conf.
6907
6908 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6909 FD_CLOEXEC for given file.
6910
6911 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6912
6913 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6914 FD_CLOEXEC for /etc/hosts.
6915 (_gethtent): Likewise.
6916
6917 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6918
6919 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6920 cancellation and set FD_CLOEXEC for /etc/netgroup.
6921
6922 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6923 reading /etc/publickey.
6924
6925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6926 allow cancellation when reading /etc/group.
6927
6928 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6929 cancellation.
6930 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6931
6932 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6933 when using data file.
6934
6935 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6936
6937 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6938 (write_nis_obj): Use "c" and "e" in fopen.
6939
6940 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6941
6942 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6943
6944 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6945
6946 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6947
6948 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6949 locale.alias.
6950
6951 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6952
6953 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6954
6955 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6956
6957 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6958 file parsing and set FD_CLOEXEC.
6959
82af0fa8
UD
69602011-11-14 Ulrich Drepper <drepper@gmail.com>
6961
6962 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6963
a5fb313c
AS
69642011-11-14 Andreas Schwab <schwab@redhat.com>
6965
6966 * malloc/arena.c (arena_get2): Don't call reused_arena when
6967 _int_new_arena failed.
6968
6abf3465
UD
69692011-11-14 Ulrich Drepper <drepper@gmail.com>
6970
6971 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6972 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6974 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6976 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6977 to compile strcasecmp and strncasecmp.
6978 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6979 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6980
6981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6982
76e3966e
UD
69832011-11-13 Ulrich Drepper <drepper@gmail.com>
6984
6985 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6986 locale-defines.sym to gen-as-const-headers.
6987 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6988 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6990 to compile strcasecmp and strncasecmp.
6991 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6992 strcasecmp_l and strncasecmp_l.
6993 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6994 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6995 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6996 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6997 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6998 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6999 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7000 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7001 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7002 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7003 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7004
ab26144e
UD
70052011-11-12 Ulrich Drepper <drepper@gmail.com>
7006
7edb22ef
UD
7007 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7008 result of SYSDEP_GETTIME_CPU to retval.
7009 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7010 parameter list to macro. Remove trailing semicolon. Adjust users.
7011
9694fc44
UD
7012 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7013 variable.
7014
8ad89ef8
UD
7015 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7016 mantissa words.
7017 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7018
0c822ef9
UD
7019 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7020 from unused variable.
7021
874e0564
UD
7022 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7023 DWARF definitions.
7024 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7025 for assembling.
7026
3a2edc79
UD
7027 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7028 over namespaces.
7029
f3c2577f
UD
7030 * sunrpc/rpc_prot.c (rejected): Fix case value.
7031
294ce126
UD
7032 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7033 unsigned long long int to avoid warnings in shift.
7034
5e2b63c6
UD
7035 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7036 of use of trans.
7037 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7038 variable tmp.
7039
e7f4b08e
UD
7040 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7041 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7042 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7043
ab26144e
UD
7044 * nis/nis_table.c (nis_list): Use variable of correct type for
7045 result of __follow_path call.
7046
8a6d5255
AZ
70472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048
7049 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7050 of math functions ceil, trunc, floor, round, and sqrt, when
7051 avaliable on the platform.
7052 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7053 name clash.
7054 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7055 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7056 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7057
aaddc98c
MP
70582011-10-30 Marek Polacek <mpolacek@redhat.com>
7059
7060 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7061 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7062
95b7042b
RM
70632011-11-11 Roland McGrath <roland@hack.frob.com>
7064
7065 * include/unistd.h: Fix __readlink return type.
7066 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7067
57769839
UD
70682011-11-11 Ulrich Drepper <drepper@gmail.com>
7069
7070 * stdlib/ucontext.h: Undo last change for makecontext.
7071
edc5984d
AS
70722011-11-11 Andreas Schwab <schwab@redhat.com>
7073
98591e58
AS
7074 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7075
edc5984d
AS
7076 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7077 * setjmp/setjmp.h: Mark functions as non-leaf.
7078 * setjmp/bits/setjmp2.h: Likewise.
7079 * stdlib/ucontext.h: Likewise.
7080
77cdc054
AS
70812011-11-10 Andreas Schwab <schwab@redhat.com>
7082
7083 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7084 (reused_arena): Don't check arena limit.
7085 (arena_get2): Atomically check arena limit.
7086
fe72eebd
UD
70872011-11-08 Ulrich Drepper <drepper@gmail.com>
7088
5f078c32
UD
7089 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7090 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7091
fe72eebd
UD
7092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7093 instructions.
7094
ae1bc2fa
AS
70952011-11-07 Andreas Schwab <schwab@redhat.com>
7096
7583a88d
AS
7097 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7098 handler when locking.
7099
ae1bc2fa
AS
7100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7101 Fix size of allocated buffer.
7102
10fb0bfa
AS
71032011-11-04 Andreas Schwab <schwab@redhat.com>
7104
998832a4
AS
7105 [BZ #10103]
7106 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7107 declarations for long double functions.
7108 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7109
10fb0bfa
AS
7110 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7111
3d7ba52b
AS
71122011-11-03 Andreas Schwab <schwab@redhat.com>
7113
a9ae54a1
AS
7114 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7115 installed.
7116
3d7ba52b
AS
7117 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7118 is disabled.
7119
bc8db248
ST
71202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7121
7122 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7123
45b96dd6
AS
71242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7125
647776f6
AS
7126 * include/alloca.h (stackinfo_alloca_round): Define.
7127 (extend_alloca): Use it.
7128 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7129 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7130 here.
7131
d91a8b93
AS
7132 * scripts/check-local-headers.sh: Ignore libaudit.h.
7133
45b96dd6
AS
7134 * nscd/Makefile (extra-objs): Make recursively expanded.
7135
432d41ce
UD
71362011-11-01 Ulrich Drepper <drepper@gmail.com>
7137
34372fc6
UD
7138 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7140
fadb59f8
UD
7141 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7142 * posix/tst-rfc3484-2.c: Likewise.
7143 * posix/tst-rfc3484-3.c: Likewise.
7144
78239589
UD
7145 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7146 process_vm_writev.
7147 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7148 process_vm_writev.
7149 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7150 process_vm_writev from libc using GLIBC_2.15 version.
7151
432d41ce
UD
7152 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7153
02f9c6cf
PP
71542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7155
7156 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7157 stack usage.
7158
3a2c0242
UD
71592011-10-31 Ulrich Drepper <drepper@gmail.com>
7160
f4ec4833
UD
7161 [BZ #13367]
7162 * nss/getent.c (initgroups_keys): Show error message in case no group
7163 names are given.
7164
3a2c0242
UD
7165 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7166 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7167 __bump_nl_timestamp.
7168 * nscd/connections (nscd_init): When host database is served open
7169 netlink socket and request notification about configuration changes.
7170 (main_loop_poll): Track netlink file descriptor and bump timestamp
7171 in case data becomes available.
7172 (main_loop_epoll): Likewise.
7173 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7174 (database_pers_head): Add extra_data fileds.
7175 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7176 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7177 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7178 Adjust caller.
7179 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7180 in6ai data, call __free_in6ai.
7181 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7182 Add -DHAVE_NETLINK.
7183 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7184 interface information. Reuse previous data if netlink timestamp
7185 is not changed.
7186 (__bump_nl_timestamp): New function.
7187 (__free_in6ai): New function.
7188
636064eb
UD
71892011-10-30 Ulrich Drepper <drepper@gmail.com>
7190
7191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7192 close_not_cancel_no_status here.
7193 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7194
9beb2334
UD
71952011-10-29 Ulrich Drepper <drepper@gmail.com>
7196
6ef76f3b
UD
7197 [BZ #13276]
7198 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7199 return value.
7200
0ffc4f3e 7201 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7202 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7203 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7204
cb95113e
UD
72052011-07-03 Andreas Jaeger <aj@suse.de>
7206
7207 [BZ #10709]
7208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7209 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7210 * math/libm-test.inc (sin_test): Add test case.
7211
a1b560ff
UD
72122011-10-29 Ulrich Drepper <drepper@gmail.com>
7213
c9aaface
UD
7214 [BZ #13337]
7215 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7216 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7217
d272e7f1
UD
7218 * elf/chroot_canon.c (chroot_canon): Cleanups.
7219
1bc33071
UD
7220 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7221
1760874d
TJ
7222 [BZ #13335]
7223 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7224 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7225
51d91b18
UD
7226 * string/test-strchr.c: Make usable for strchrnul testing.
7227 * string/test-strchrnul.c: New file.
7228 * string/Makefile (strop-tests): Add strchrnul.
7229
a1b560ff 7230 * po/it.po: Update from translation team.
b611fb81 7231 * po/es.po: Likewise.
a1b560ff 7232
a5b81e1f
UD
72332011-10-28 Ulrich Drepper <drepper@gmail.com>
7234
fd52bc6d
UD
7235 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7236 the three constants needed as parameters. Drop the others.
7237 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7238 __m128i_strloadu_tolower.
52e4b9eb
UD
7239 Create and initialize variable zero and use it in all the places
7240 where _mm_setzero_si128 was used.
fd52bc6d 7241
a5b81e1f
UD
7242 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7243 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7244 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7245 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7246 anymore.
7247 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7248 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7249 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7250 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7251 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7252 __mpranred, __mptan.
7253 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7254 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7255 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7256 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7257 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7258 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7259 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7260 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7261 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7262
b4343346
AS
72632011-10-28 Andreas Schwab <schwab@redhat.com>
7264
0c92d8a8
AS
7265 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7266 redefine if SHARED.
7267 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7268
b4343346
AS
7269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7270 wide char related routines to wcsmbs subdir.
7271
3871f58f
AS
72722011-10-27 Andreas Schwab <schwab@redhat.com>
7273
7274 [BZ #13344]
7275 * misc/sys/cdefs.h (__THROWNL): Define.
7276 * posix/unistd.h: Use __THREADNL instead of __THREAD
7277 for memory synchronization functions.
7278
94d44d9f
RM
72792011-10-26 Roland McGrath <roland@hack.frob.com>
7280
21b64b15 7281 [BZ #13349]
94d44d9f
RM
7282 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7283 doesn't exist.
7284 * manual/stdio.texi (Obstack Streams): Node removed.
7285
f6ce9294
AS
72862011-10-26 Andreas Schwab <schwab@redhat.com>
7287
80479147
AS
7288 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7289 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7290 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7291
f6ce9294
AS
7292 * math/math_private.h (math_force_eval): Allow non-addressable
7293 arguments.
7294 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7295
618280a1
UD
72962011-10-25 Ulrich Drepper <drepper@gmail.com>
7297
e0016b11
UD
7298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7299 file is not needed.
7300
7301 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7302 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7308 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7309 Add AVX variants.
7310 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7311 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7312 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7313 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7314 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7315 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7316 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7317 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7318 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7319 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7320 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7321 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7323 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7324 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7325 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7326 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7327 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7328 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7329
7330 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7331 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7332
618280a1
UD
7333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7334 place. Use VEX encoding when compiling for AVX.
7335
37822576
AS
73362011-10-25 Andreas Schwab <schwab@redhat.com>
7337
1f1e1947
AS
7338 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7339 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7340
37822576
AS
7341 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7342
31ea014d
UD
73432011-10-25 Ulrich Drepper <drepper@gmail.com>
7344
d7826aa1 7345 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7346 useless if() expression.
d7826aa1
UD
7347 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7354 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7357 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7359 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7360 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7361 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7362 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7363 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7365 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7366
31ea014d
UD
7367 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7368
16437fec
AS
73692011-10-25 Andreas Schwab <schwab@redhat.com>
7370
7371 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7372 condition.
7373 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7374
31d3cc00
UD
73752011-10-25 Ulrich Drepper <drepper@gmail.com>
7376
7377 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7378 .text section. Avoid duplicate constants.
7379 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7389 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7391 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7394 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7396 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7402 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7403 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7404 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7405 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7406 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7407 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7408 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7409 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7410 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7411 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7412 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7413 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7414 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7415 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7416 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7417 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7418 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7419 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7420 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7421 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7422 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7423 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7424
58985aa9
UD
74252011-10-24 Ulrich Drepper <drepper@gmail.com>
7426
202c9deb
UD
7427 * sysdeps/x86_64/dla.h: Move to ...
7428 * sysdeps/x86_64/fpu/dla.h: ...here.
7429 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7430 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7431
af968f62
UD
7432 * config.make.in: Add have-mfma4 entry.
7433 * configure.in: Substitute libc_cv_cc_fma4.
7434 * math/Makefile (dbl-only-routines): Add sincostab.
7435 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7436 Use __sincostab not sincos.
7437 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7438 name is a macro.
7439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7443 using __copysign.
7444 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7445 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7446 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7447 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7448 and __inv.
7449 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7450 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7451 __copysign.
7452 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7453 define aliases when function name is a macro.
7454 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7455 sysdeps/ieee754/dbl-64/sincos.tbl.
7456 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7457 fma4-enabled routines.
7458 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7459 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7460 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7461 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7462 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7463 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7465 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7473 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7475 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7476 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7478 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7479 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7481 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7482 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7484 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7485 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7486 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7487 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7488
58985aa9
UD
7489 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7490 rename.
7491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7499
a201fbcf
AS
75002011-10-24 Andreas Schwab <schwab@redhat.com>
7501
7502 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7503
fc2ee42a
LD
75042011-10-23 Ulrich Drepper <drepper@gmail.com>
7505
bb3129bd
UD
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7507
0275fff8
UD
7508 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7509 prediction.
7510 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7511
2fa2ae85
UD
7512 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7513 Remove unused variable magic_bits.
7514 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7515
fc2ee42a
LD
7516 * string/strnlen.c: Define and use STRNLEN macro.
7517 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7518 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7519 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7520 * wcsmbs/wcslen.c: Define and use WCSLEN.
7521 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7522 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7523 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7524 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7525 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7526 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7527 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7528
ce7dd29f
LD
75292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7530
7531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7532 strnlen-sse2-no-bsf.
7533 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7535 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7536 Add strnlen support.
7537 (USE_AS_STRNLEN): New macro.
7538 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7539 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7540 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7541 * sysdeps/x86_64/wcslen.S: New file.
7542
979c70a3
MZ
75432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7544
7545 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7546 XMM-moves are used for copying on small sizes.
7547
2d09f82f
LD
75482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7549
7550 * wcsmbs/Makefile (strop-tests): Add wcschr.
7551 * wcsmbs/test-wcschr.c: New file.
7552 * string/test-strchr.c: Update.
7553 Add wcschr support.
7554 (WIDE): New macro.
7555
619fccca
LD
75562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7557
2d09f82f 7558 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7559 * wcsmbs/test-wcslen.c: New file.
7560 * string/test-strlen.c: Update.
7561 Add wcslen support.
7562 (WIDE): New macro.
7563
09f699ea
UD
75642011-10-23 Ulrich Drepper <drepper@gmail.com>
7565
7566 * po/it.po: Update from translation team.
7567
95584d3b
LD
75682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7569
7570 * sysdeps/x86_64/wcscmp.S: Update.
7571 Fix wrong comparison semantics.
7572 wcscmp shall use signed comparison not unsigned.
7573 Don't use substraction to avoid overflow bug.
7574 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7575 * wcsmbc/wcscmp.c: Likewise.
7576 * string/test-strcmp.c: Likewise.
7577 Add new tests to check cases with negative values.
7578
c8b3296b
UD
75792011-10-23 Ulrich Drepper <drepper@gmail.com>
7580
7581 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7582 * sysdeps/x86_64/dla.h: ...here. New file.
7583 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7584 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7592
246ad57a
AS
75932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7594
7595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7596 __ynl_finite aliases.
7597
a1a87169
UD
75982011-10-22 Ulrich Drepper <drepper@gmail.com>
7599
0d355eb7
UD
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7601
a1a87169
UD
7602 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7603 define DLA_FMA.
7604 [DLA_FMA] (EMULV): Use DLA_FMA.
7605 [DLA_FMA] (MUL12): Use EMULV.
7606 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7607 that are not needed.
7608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7615
ee2aafe0
AS
76162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7617
7618 * math/s_nan.c: Undef __nan.
7619 * math/s_nanf.c: Undef __nanf.
7620 * math/s_nanl.c: Undef __nanl.
7621 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7622 "math_private.h".
7623
bc62c2fb
UD
76242011-10-22 Ulrich Drepper <drepper@gmail.com>
7625
77425c63
UD
7626 * math/s_catan.c: Add branch predictions.
7627 * math/s_catanf.c: Likewise.
7628 * math/s_catanh.c: Likewise.
7629 * math/s_catanhf.c: Likewise.
7630 * math/s_catanhl.c: Likewise.
7631 * math/s_catanl.c: Likewise.
7632 * math/s_cexp.c: Likewise.
7633 * math/s_cexpf.c: Likewise.
7634 * math/s_cexpl.c: Likewise.
7635 * math/s_clog.c: Likewise.
7636 * math/s_clog10.c: Likewise.
7637 * math/s_clog10f.c: Likewise.
7638 * math/s_clog10l.c: Likewise.
7639 * math/s_clogf.c: Likewise.
7640 * math/s_clogl.c: Likewise.
7641 * math/s_csqrt.c: Likewise.
7642 * math/s_csqrtf.c: Likewise.
7643 * math/s_csqrtl.c: Likewise.
7644 * math/s_ctanf.c: Likewise.
7645 * math/s_ctanh.c: Likewise.
7646 * math/s_ctanhf.c: Likewise.
7647 * math/s_ctanhl.c: Likewise.
7648 * math/s_ctanl.c: Likewise.
7649
bc62c2fb
UD
7650 * math/math_private.h: Define __nan, __nanf, __nanl.
7651 * math/s_cacosh.c: Include <math_private.h>.
7652 * math/s_cacoshl.c: Likewise.
7653 * math/s_casinh.c: Likewise.
7654 * math/s_casinhf.c: Likewise.
7655 * math/s_casinhl.c: Likewise.
7656 * math/s_ccos.c: Rely entire on ccosh.
7657 * math/s_ccosf.c: Rely entire on ccoshf.
7658 * math/s_ccosl.c: Rely entirely on ccoshl.
7659 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7660 Remove tests for FE_INVALID.
7661 * math/s_ccoshf.c: Likewise.
7662 * math/s_ccoshl.c: Likewise.
7663 * math/s_csin.c: Likewise.
7664 * math/s_csinf.c: Likewise.
7665 * math/s_csinh.c Likewise.
7666 * math/s_csinhf.c: Likewise.
7667 * math/s_csinhl.c: Likewise.
7668 * math/s_csinl.c: Likewise.
7669 * math/s_ctan.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7671 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7673
8ec250a4
UD
76742011-10-21 Ulrich Drepper <drepper@gmail.com>
7675
c196fed8
UD
7676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7677 compilation problems.
7678
8ec250a4
UD
7679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7680 __builtin_expect.
7681
8d4f46c6
UD
76822011-10-20 Ulrich Drepper <drepper@gmail.com>
7683
ed72b654
UD
7684 * sysdeps/i386/configure.in: Test for -mfma4 option.
7685 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7686 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7687 COMMON_CPUID_INDEX_80000001.
7688 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7689 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7690 use it if FMA3 is not supported.
7691 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7692
8d4f46c6
UD
7693 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7694 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7695
d45c60c2
AS
76962011-10-20 Andreas Schwab <schwab@redhat.com>
7697
7698 [BZ #12892]
7699 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7700 it would create a cycle with a link time dependency.
7701
d9a4d2ab
UD
77022011-10-19 Ulrich Drepper <drepper@gmail.com>
7703
855d1560
UD
7704 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7705 instruction.
7706 * string/Makefile (strop-tests): Add rawmemchr.
7707 * string/test-rawmemchr.c: New file.
7708
d9a4d2ab
UD
7709 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7711 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7712 when compiling str{,n}casecmp and when AVX is available. Hook up
7713 new optimized code in initializers.
7714
8f3b1ffe
AS
77152011-10-19 Andreas Schwab <schwab@redhat.com>
7716
7717 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7718 __feraiseexcept instead of feraiseexcept.
7719
d38f1dba
UD
77202011-10-18 Ulrich Drepper <drepper@gmail.com>
7721
d9a8d0ab
UD
7722 * math/math_private.h: Define defaults for libc_fetestexcept and
7723 libc_feupdateenv.
7724 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7725 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7726 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7727 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7728 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7729 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7730 libc_fetestexcept and libc_feupdateenv.
7731
4855e3dd
UD
7732 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7733 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7734 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7735 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7736 libc_feholdexcept_setround.
7737
581d30e3
UD
7738 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7739 Add s_nearbyint-c and s_nearbyintf-c.
7740 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7741 nearbyintf inlines.
7742 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7743 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7744 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7745 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7746
d38f1dba
UD
7747 * math/math_private.h: Define defaults for libc_fegetround,
7748 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7749 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7750 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7752 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7753 standard functions.
7754 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7755 Remove comments and hacks for old compiler versions.
7756 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7757 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7758 libc_feholdexceptl.
7759
caa6c9d8
AS
77602011-10-18 Andreas Schwab <schwab@redhat.com>
7761
7762 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7763 (__feraiseexcept_renamed): Add __NTH.
7764 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7765 namespace violations.
7766
97c066e6
UD
77672011-10-17 Ulrich Drepper <drepper@gmail.com>
7768
99ce7b04
UD
7769 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7770
1004d182
UD
7771 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7772
228a984d
UD
7773 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7774 recently added interfaces.
7775 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7776
c8553a6a
UD
7777 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7778 about macro parameter expansion.
7779
ed22dcf6
UD
7780 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7781 __NO_MATH_INLINES is defined. Cleanups.
7782
7783 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7784 and __floorf is target has SSE4.1.
7785 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7786 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7787 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7788 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7789
b171c137
UD
7790 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7791 name.
7792 (floorf): Likewise.
7793
97c066e6
UD
7794 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7795
629f62ef
AS
77962011-10-17 Andreas Schwab <schwab@redhat.com>
7797
49a43d80
AS
7798 * misc/sys/cdefs.h: Fix last change.
7799
629f62ef
AS
7800 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7801 database lookup.
7802
e453f6cd
UD
78032011-10-16 Ulrich Drepper <drepper@gmail.com>
7804
aa78043a
UD
7805 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7806
ad0f5cad
UD
7807 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7813 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7815 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7816 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7817 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7818 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7819 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7820 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7821 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7822 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7823 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7824 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7825 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7826 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7827 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7828 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7829
7830 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7831 ceil, ceilf, floor, floorf.
7832
7833 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7834 Perform IRELATIVE relocations last.
7835
e453f6cd
UD
7836 * elf/do-rel.h: Add another parameter nrelative, replacing the
7837 local variable with the same name. Change name of the function
7838 to end in Rel or Rela (uppercase).
7839 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7840 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7841 elf_dynamic_do_##reloc function.
7842
fd5bdc09
UD
78432011-10-15 Ulrich Drepper <drepper@gmail.com>
7844
79b195b5
UD
7845 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7846 is sufficient, at least on modern CPUs.
7847
d4a28569
UD
7848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7849
b61099b5
UD
7850 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7851 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7852
bcf01e6d
UD
7853 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7854 __expl_finite.
7855 * math/bits/math-finite.h: Add entries for exp.
7856 * math/e_expl.c: Add __*_finite alias.
7857 * sysdeps/i386/fpu/e_exp.S: Likewise.
7858 * sysdeps/i386/fpu/e_expf.S: Likewise.
7859 * sysdeps/i386/fpu/e_expl.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7861 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7865 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7866 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7867
ba1a0d59
UD
7868 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7869 is sufficient, at least on modern CPUs.
7870
fd5bdc09
UD
7871 * ctype/ctype-info.c (__ctype_init): Define.
7872 * include/ctype.h (__ctype_init): Declare.
7873 (__ctype_b_loc): The variable is always initialized.
7874 (__ctype_toupper_loc): Likewise.
7875 (__ctype_tolower_loc): Likewise.
7876 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7877 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7878
7872cfb0
AS
78792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7880
b468825a
AS
7881 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7882
7872cfb0
AS
7883 * configure.in: Also look in $cxxmachine/include for C++ system
7884 headers.
7885
be13f7bf
LD
78862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7887
7888 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7889 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7890 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7891 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7892 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7893 (USE_AS_WMEMCMP): New macro.
7894 Fixing indents.
7895 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7896 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7897 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7898 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7900 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7901 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7902 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7903 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7904 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7905 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7906 (USE_AS_WMEMCMP): New macro.
7907 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7908 * sysdeps/string/test-memcmp.c: Update.
7909 Fix simple_wmemcmp.
7910 Add new tests.
7911 * wcsmbs/wmemcmp.c: Update.
7912 (WMEMCMP): New macro.
7913 Fix overflow bug.
7914
556a2007
AJ
79152011-10-12 Andreas Jaeger <aj@suse.de>
7916
7917 [BZ #13268]
7918 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7919
538faaa7
UD
79202011-10-15 Ulrich Drepper <drepper@gmail.com>
7921
ab6737ff
UD
7922 * libio/iofwide.c (do_length): Avoid warning.
7923
538faaa7
UD
7924 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7925
396a21b1
UD
79262011-10-14 Ulrich Drepper <drepper@gmail.com>
7927
cdf2901f
UD
7928 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7929
38ad40ce
UD
7930 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7931 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7932 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7933 * sysdeps/i386/i686/fpu/e_log.S: New file.
7934 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7935 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7936
396a21b1
UD
7937 * ctype/ctype.h: Add support for inlined isXXX functions when
7938 compiling C++ code.
7939
6b1f68c9
AS
79402011-10-14 Andreas Schwab <schwab@redhat.com>
7941
349290c0
AS
7942 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7943
6b1f68c9
AS
7944 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7945
f2282d42
RM
79462011-10-13 Roland McGrath <roland@hack.frob.com>
7947
7948 [BZ #13291]
7949 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7950
5298ffa8
AS
79512011-10-13 Andreas Schwab <schwab@redhat.com>
7952
714fad23
AS
7953 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7954 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7955 feraiseexcept.
7956
81dcc7fb
AS
7957 * sysdeps/x86_64/memrchr.S: Check for zero size.
7958
5298ffa8
AS
7959 * string/stratcliff.c: Add memrchr tests.
7960
951fbcec
LD
79612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7962
7963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7964 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7965 rawmemchr-sse2 rawmemchr-sse2-bsf.
7966 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7967 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7968 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7969 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7970 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7971 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7972 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7973 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7974 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7975 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7976 * string/memrchr.c (MEMRCHR): New macro.
7977
0ac5ae23
UD
79782011-10-12 Ulrich Drepper <drepper@gmail.com>
7979
7980 Add integration with gcc's -ffinite-math-only and optimize wrapper
7981 functions in libm.
7982 * Versions.def: Define GLIBC_2.15 version for libm.
7983 * math/Makefile (headers): Add bits/math-finite.h.
7984 * math/bits/math-finite.h: New file.
7985 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7986 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7987 * math/e_acoshl.c: Add __*_finite alias.
7988 * math/e_acosl.c: Likewise.
7989 * math/e_asinl.c: Likewise.
7990 * math/e_atan2l.c: Likewise.
7991 * math/e_atanhl.c: Likewise.
7992 * math/e_coshl.c: Likewise.
7993 * math/e_exp10.c: Likewise.
7994 * math/e_exp10f.c: Likewise.
7995 * math/e_exp10l.c: Likewise.
7996 * math/e_exp2l.c: Likewise.
7997 * math/e_fmodl.c: Likewise.
7998 * math/e_gammal_r.c: Likewise.
7999 * math/e_hypotl.c: Likewise.
8000 * math/e_j0l.c: Likewise.
8001 * math/e_j1l.c: Likewise.
8002 * math/e_jnl.c: Likewise.
8003 * math/e_lgammal_r.c: Likewise.
8004 * math/e_log10l.c: Likewise.
8005 * math/e_log2l.c: Likewise.
8006 * math/e_logl.c: Likewise.
8007 * math/e_powl.c: Likewise.
8008 * math/e_sinhl.c: Likewise.
8009 * math/e_sqrtl.c: Likewise.
8010 * math/e_scalb.c: Completely rewritten and optimized.
8011 * math/e_scalbf.c: Likewise.
8012 * math/e_scalbl.c: Likewise.
8013 * math/w_acos.c: Likewise.
8014 * math/w_acosf.c: Likewise.
8015 * math/w_acosl.c: Likewise.
8016 * math/w_acosh.c: Likewise.
8017 * math/w_acoshf.c: Likewise.
8018 * math/w_acoshl.c: Likewise.
8019 * math/w_asin.c: Likewise.
8020 * math/w_asinf.c: Likewise.
8021 * math/w_asinl.c: Likewise.
8022 * math/w_atan2.c: Likewise.
8023 * math/w_atan2f.c: Likewise.
8024 * math/w_atan2l.c: Likewise.
8025 * math/w_atanh.c: Likewise.
8026 * math/w_atanhf.c: Likewise.
8027 * math/w_atanhl.c: Likewise.
8028 * math/w_exp10.c: Likewise.
8029 * math/w_exp10f.c: Likewise.
8030 * math/w_exp10l.c: Likewise.
8031 * math/w_fmod.c: Likewise.
8032 * math/w_fmodf.c: Likewise.
8033 * math/w_fmodl.c: Likewise.
8034 * math/w_j0.c: Likewise.
8035 * math/w_j0f.c: Likewise.
8036 * math/w_j0l.c: Likewise.
8037 * math/w_j1.c: Likewise.
8038 * math/w_j1f.c: Likewise.
8039 * math/w_j1l.c: Likewise.
8040 * math/w_jn.c: Likewise.
8041 * math/w_jnf.c: Likewise.
8042 * math/w_log.c: Likewise.
8043 * math/w_logf.c: Likewise.
8044 * math/w_logl.c: Likewise.
8045 * math/w_log10.c: Likewise.
8046 * math/w_log10f.c: Likewise.
8047 * math/w_log10l.c: Likewise.
8048 * math/w_log2.c: Likewise.
8049 * math/w_log2f.c: Likewise.
8050 * math/w_log2l.c: Likewise.
8051 * math/w_pow.c: Likewise.
8052 * math/w_powf.c: Likewise.
8053 * math/w_powl.c: Likewise.
8054 * math/w_remainder.c: Likewise.
8055 * math/w_remainderf.c: Likewise.
8056 * math/w_remainderl.c: Likewise.
8057 * math/w_scalb.c: Likewise.
8058 * math/w_scalbf.c: Likewise.
8059 * math/w_scalbl.c: Likewise.
8060 * math/w_sqrt.c: Likewise.
8061 * math/w_sqrtf.c: Likewise.
8062 * math/w_sqrtl.c: Likewise.
8063 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8064 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8065 used.
8066 * math/math_private.h: Declare __kernel_standard_f.
8067 * math/w_cosh.c: Remove cruft and optimize a bit.
8068 * math/w_coshf.c: Likewise.
8069 * math/w_coshl.c: Likewise.
8070 * math/w_exp2.c: Likewise.
8071 * math/w_exp2f.c: Likewise.
8072 * math/w_exp2l.c: Likewise.
8073 * math/w_hypot.c: Likewise.
8074 * math/w_hypotf.c: Likewise.
8075 * math/w_hypotl.c: Likewise.
8076 * math/w_lgamma.c: Likewise.
8077 * math/w_lgamma_r.c: Likewise.
8078 * math/w_lgammaf.c: Likewise.
8079 * math/w_lgammaf_r.c: Likewise.
8080 * math/w_lgammal.c: Likewise.
8081 * math/w_lgammal_r.c: Likewise.
8082 * math/w_sinh.c: Likewise.
8083 * math/w_sinhf.c: Likewise.
8084 * math/w_sinhl.c: Likewise.
8085 * math/w_tgamma.c: Likewise.
8086 * math/w_tgammaf.c: Likewise.
8087 * math/w_tgammal.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8090 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8091 Minor optimizations. Pretty printing. Remove cruft.
8092 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8093 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8094 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8095 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8096 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8097 * sysdeps/i386/fpu/e_asin.S: Likewise.
8098 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8099 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8100 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8101 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8102 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8104 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8105 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8106 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8107 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8108 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8109 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8110 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8111 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8112 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8113 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8114 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8115 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8116 * sysdeps/i386/fpu/e_log.S: Likewise.
8117 * sysdeps/i386/fpu/e_log10.S: Likewise.
8118 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8119 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8120 * sysdeps/i386/fpu/e_log2.S: Likewise.
8121 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8122 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8123 * sysdeps/i386/fpu/e_logf.S: Likewise.
8124 * sysdeps/i386/fpu/e_logl.S: Likewise.
8125 * sysdeps/i386/fpu/e_pow.S: Likewise.
8126 * sysdeps/i386/fpu/e_powf.S: Likewise.
8127 * sysdeps/i386/fpu/e_powl.S: Likewise.
8128 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8129 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8130 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8131 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8132 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8133 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8134 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8135 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8136 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8158 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8162 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8163 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8166 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8168 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8170 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8171 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8172 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8173 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8174 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8175 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8176 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8177 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8178 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8220 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8222 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8225 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8228 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8229 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8230 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8231 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8232 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8233 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8234 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8235 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8236 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8237 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8238 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8239 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8240 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8241 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8243 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8244 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8245 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8246 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8247 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8248 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8249 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8250 (__isnanf): Likewise.
8251 (__isinf_ns): Likewise.
8252 (__isinf_nsf): Likewise.
8253 (__finite): Likewise.
8254 (__finitef): Likewise.
8255 (__ieee754_sqrt): Define as macro.
8256 (__ieee754_sqrtf): Define as macro.
8257 (__ieee754_sqrtl): Define as macro.
8258 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8259 inlined copy.
8260 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8261 __FINITE_MATH_ONLY__ consistent.
8262 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8263
12cc2fcd
AS
82642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8265
a843a204
AS
8266 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8267 of rawmemchr.
8268
12cc2fcd
AS
8269 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8270
c853acd5
UD
82712011-10-09 Ulrich Drepper <drepper@gmail.com>
8272
8273 * po/ja.po: Update from translation team.
8274
c658d255
RM
82752011-10-08 Roland McGrath <roland@hack.frob.com>
8276
110946e4
RM
8277 * locale/programs/locarchive.c (prepare_address_space): New function.
8278 (create_archive, enlarge_archive, open_archive): Use it.
8279
50604220
RM
8280 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8281 inside [SHARED], where it is used.
8282
c658d255
RM
8283 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8284
8285 * nss/getent.c (netgroup_keys): Remove unused variable.
8286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8287
6a621eb7
UD
82882011-10-08 Ulrich Drepper <drepper@gmail.com>
8289
7edb55ce
UD
8290 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8291 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8293 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8294 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8295 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8296 * math/Makefile (libm-calls): Add s_isinf_ns.
8297 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8298 * math/multc3.c: Likewise.
8299 * math/s_casin.c: Likewise.
8300 * math/s_casinf.c: Likewise.
8301 * math/s_casinl.c: Likewise.
8302 * math/s_ccos.c: Likewise.
8303 * math/s_ccosf.c: Likewise.
8304 * math/s_ccosl.c: Likewise.
8305 * math/s_ctan.c: Likewise.
8306 * math/s_ctanf.c: Likewise.
8307 * math/s_ctanh.c: Likewise.
8308 * math/s_ctanhf.c: Likewise.
8309 * math/s_ctanhl.c: Likewise.
8310 * math/s_ctanl.c: Likewise.
8311 * math/w_fmod.c: Likewise.
8312 * math/w_fmodf.c: Likewise.
8313 * math/w_fmodl.c: Likewise.
8314 * math/w_remainder.c: Likewise.
8315 * math/w_remainderf.c: Likewise.
8316 * math/w_remainderl.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8318 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8319 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8321 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8322 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8323 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8324 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8325
187da0ae
UD
8326 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8327 of the number.
8328 * stdio-common/printf_fphex.c: Likewise.
8329 * stdio-common/printf_size.c: Likewise.
8330
9277c064
UD
8331 * math/e_exp10.c: Include math_private.h using <...> not "...".
8332 * math/e_exp10f.c: Likewise.
8333 * math/e_exp10l.c: Likewise.
8334 * math/e_exp2l.c: Likewise.
8335 * math/e_j0l.c: Likewise.
8336 * math/e_j1l.c: Likewise.
8337 * math/e_jnl.c: Likewise.
8338 * math/e_lgammal_r.c: Likewise.
8339 * math/e_rem_pio2l.c: Likewise.
8340 * math/e_scalb.c: Likewise.
8341 * math/e_scalbf.c: Likewise.
8342 * math/e_scalbl.c: Likewise.
8343 * math/k_cosl.c: Likewise.
8344 * math/k_sinl.c: Likewise.
8345 * math/k_tanl.c: Likewise.
8346 * math/s_cacoshf.c: Likewise.
8347 * math/s_catan.c: Likewise.
8348 * math/s_catanf.c: Likewise.
8349 * math/s_catanh.c: Likewise.
8350 * math/s_catanhf.c: Likewise.
8351 * math/s_catanhl.c: Likewise.
8352 * math/s_catanl.c: Likewise.
8353 * math/s_ccosh.c: Likewise.
8354 * math/s_ccoshf.c: Likewise.
8355 * math/s_ccoshl.c: Likewise.
8356 * math/s_cexp.c: Likewise.
8357 * math/s_cexpf.c: Likewise.
8358 * math/s_cexpl.c: Likewise.
8359 * math/s_clog.c: Likewise.
8360 * math/s_clog10.c: Likewise.
8361 * math/s_clog10f.c: Likewise.
8362 * math/s_clog10l.c: Likewise.
8363 * math/s_clogf.c: Likewise.
8364 * math/s_clogl.c: Likewise.
8365 * math/s_csin.c: Likewise.
8366 * math/s_csinf.c: Likewise.
8367 * math/s_csinh.c: Likewise.
8368 * math/s_csinhf.c: Likewise.
8369 * math/s_csinhl.c: Likewise.
8370 * math/s_csinl.c: Likewise.
8371 * math/s_csqrt.c: Likewise.
8372 * math/s_csqrtf.c: Likewise.
8373 * math/s_csqrtl.c: Likewise.
8374 * math/s_ctan.c: Likewise.
8375 * math/s_ctanf.c: Likewise.
8376 * math/s_ctanh.c: Likewise.
8377 * math/s_ctanhf.c: Likewise.
8378 * math/s_ctanhl.c: Likewise.
8379 * math/s_ctanl.c: Likewise.
8380 * math/s_ldexp.c: Likewise.
8381 * math/s_ldexpf.c: Likewise.
8382 * math/s_ldexpl.c: Likewise.
8383 * math/s_significand.c: Likewise.
8384 * math/s_significandf.c: Likewise.
8385 * math/s_significandl.c: Likewise.
8386 * math/w_acos.c: Likewise.
8387 * math/w_acosf.c: Likewise.
8388 * math/w_acosh.c: Likewise.
8389 * math/w_acoshf.c: Likewise.
8390 * math/w_acoshl.c: Likewise.
8391 * math/w_acosl.c: Likewise.
8392 * math/w_asin.c: Likewise.
8393 * math/w_asinf.c: Likewise.
8394 * math/w_asinl.c: Likewise.
8395 * math/w_atan2.c: Likewise.
8396 * math/w_atan2f.c: Likewise.
8397 * math/w_atan2l.c: Likewise.
8398 * math/w_atanh.c: Likewise.
8399 * math/w_atanhf.c: Likewise.
8400 * math/w_atanhl.c: Likewise.
8401 * math/w_cosh.c: Likewise.
8402 * math/w_coshf.c: Likewise.
8403 * math/w_coshl.c: Likewise.
8404 * math/w_dremf.c: Likewise.
8405 * math/w_exp10.c: Likewise.
8406 * math/w_exp10f.c: Likewise.
8407 * math/w_exp10l.c: Likewise.
8408 * math/w_exp2.c: Likewise.
8409 * math/w_exp2f.c: Likewise.
8410 * math/w_fmod.c: Likewise.
8411 * math/w_fmodf.c: Likewise.
8412 * math/w_fmodl.c: Likewise.
8413 * math/w_hypot.c: Likewise.
8414 * math/w_hypotf.c: Likewise.
8415 * math/w_hypotl.c: Likewise.
8416 * math/w_j0.c: Likewise.
8417 * math/w_j0f.c: Likewise.
8418 * math/w_j0l.c: Likewise.
8419 * math/w_j1.c: Likewise.
8420 * math/w_j1f.c: Likewise.
8421 * math/w_j1l.c: Likewise.
8422 * math/w_jn.c: Likewise.
8423 * math/w_jnf.c: Likewise.
8424 * math/w_jnl.c: Likewise.
8425 * math/w_lgamma.c: Likewise.
8426 * math/w_lgamma_r.c: Likewise.
8427 * math/w_lgammaf.c: Likewise.
8428 * math/w_lgammaf_r.c: Likewise.
8429 * math/w_lgammal.c: Likewise.
8430 * math/w_lgammal_r.c: Likewise.
8431 * math/w_log.c: Likewise.
8432 * math/w_log10.c: Likewise.
8433 * math/w_log10f.c: Likewise.
8434 * math/w_log10l.c: Likewise.
8435 * math/w_log2.c: Likewise.
8436 * math/w_log2f.c: Likewise.
8437 * math/w_log2l.c: Likewise.
8438 * math/w_logf.c: Likewise.
8439 * math/w_logl.c: Likewise.
8440 * math/w_pow.c: Likewise.
8441 * math/w_powf.c: Likewise.
8442 * math/w_powl.c: Likewise.
8443 * math/w_remainder.c: Likewise.
8444 * math/w_remainderf.c: Likewise.
8445 * math/w_remainderl.c: Likewise.
8446 * math/w_scalb.c: Likewise.
8447 * math/w_scalbf.c: Likewise.
8448 * math/w_scalbl.c: Likewise.
8449 * math/w_sinh.c: Likewise.
8450 * math/w_sinhf.c: Likewise.
8451 * math/w_sinhl.c: Likewise.
8452 * math/w_sqrt.c: Likewise.
8453 * math/w_sqrtf.c: Likewise.
8454 * math/w_sqrtl.c: Likewise.
8455 * math/w_tgamma.c: Likewise.
8456 * math/w_tgammaf.c: Likewise.
8457 * math/w_tgammal.c: Likewise.
8458
6a621eb7
UD
8459 * po/ja.po: Update from translation team.
8460
bf582445
AJ
84612011-09-29 Andreas Jaeger <aj@suse.de>
8462
f9efbf3a
AJ
8463 [BZ #13179]
8464 * sunrpc/netname.c (netname2host): Fix logic.
8465
bf582445
AJ
8466 [BZ #6779]
8467 [BZ #6783]
8468 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8469 correctly.
8470 * math/w_remainder.c (__remainder): Likewise.
8471 * math/w_remainderf.c (__remainderf): Likewise.
8472 * math/libm-test.inc (remainder_test): Add test cases.
8473
48693bea
AK
84742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8475
8476 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8477 sdiv_qrnnd.
8478
42622229
LD
84792011-10-07 Ulrich Drepper <drepper@gmail.com>
8480
8481 * string/test-memcmp.c: Avoid unncessary #defines.
8482 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8483
093ecf92
LD
84842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8485
8486 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8487 Use new sse2 version for core i3 - i7 as it's faster
8488 than sse42 version.
8489 (bit_Prefer_PMINUB_for_stringop): New.
8490 * sysdeps/x86_64/rawmemchr.S: Update.
8491 Replace with faster SSE2 version.
8492 * sysdeps/x86_64/memrchr.S: New file.
8493 * sysdeps/x86_64/memchr.S: Update.
8494 Replace with faster SSE2 version.
8495
fde56e5c
MP
84962011-09-12 Marek Polacek <mpolacek@redhat.com>
8497
8498 * elf/dl-load.c (lose): Add cast to avoid warning.
8499
21fd49a9
UD
85002011-10-07 Ulrich Drepper <drepper@gmail.com>
8501
5a06e643
UD
8502 * po/ca.po: Update from translation team.
8503
684ae515
UD
8504 * inet/getnetgrent_r.c: Hook up nscd.
8505 * nscd/Makefile (routines): Add nscd_netgroup.
8506 (nscd-modules): Add netgroupcache.
8507 (CFLAGS-netgroupcache.c): Define.
8508 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8509 (cache_search): Add const to second parameter.
8510 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8511 INNETGR.
8512 (dbs): Add netgrdb entry.
8513 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8514 (verify_persistent_db): Handle netgrdb.
8515 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8516 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8517 GETFDNETGR.
8518 (netgroup_response_header): Define.
8519 (innetgroup_response_header): Define.
8520 (datahead): Add netgroup_response_header and innetgroup_response_header
8521 elements.
8522 * nscd/nscd.conf: Add entries for netgroup cache.
8523 * nscd/nscd.h (dbtype): Add netgrdb.
8524 (_PATH_NSCD_NETGROUP_DB): Define.
8525 (netgroup_iov_disabled): Declare.
8526 (xmalloc, xcalloc, xrealloc): Move declarations here.
8527 (cache_search): Adjust prototype.
8528 Add netgroup-related prototypes.
8529 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8530 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8531 (__nscd_innetgr): Declare.
8532 * nscd/selinux.c (perms): Use access_vector_t as element type and
8533 add netgroup-related initializers.
8534 * nscd/netgroupcache.c: New file.
8535 * nscd/nscd_netgroup.c: New file.
8536 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8537 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8538 For four parameters use innetgr.
8539 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8540 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8541 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8542 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8543
21fd49a9
UD
8544 * nscd/connections.c (register_traced_file): Don't register file
8545 for disabled databases.
8546
054c0457
UD
85472011-10-06 Ulrich Drepper <drepper@gmail.com>
8548
32b63198
UD
8549 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8550
054c0457
UD
8551 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8552 from tree and freeing node.
8553
64031225
JO
85542011-09-25 Jiri Olsa <jolsa@redhat.com>
8555
8556 * nss/nsswitch.c (__nss_database_lookup): Handle
8557 nss_parse_service_list out of memory case.
8558
0490345c
JO
85592011-09-15 Jiri Olsa <jolsa@redhat.com>
8560
8561 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8562 out of memory case.
8563
3a62d00d
AS
85642011-10-04 Andreas Schwab <schwab@redhat.com>
8565
8566 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8567 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8568 pass it down.
8569 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8570 elf_machine_rela, elf_machine_lazy_rel.
8571 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8572 (ELF_DYNAMIC_DO_REL): Likewise.
8573 (ELF_DYNAMIC_DO_RELA): Likewise.
8574 (ELF_DYNAMIC_RELOCATE): Likewise.
8575 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8576 to ELF_DYNAMIC_DO_REL.
8577 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8578 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8579 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8580 elf_machine_rela.
8581 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8582 skip_ifunc, don't call ifunc function if non-zero.
8583 (elf_machine_rela): Likewise.
8584 (elf_machine_lazy_rel): Likewise.
8585 (elf_machine_lazy_rela): Likewise.
8586 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8587 (elf_machine_lazy_rel): Likewise.
8588 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8589 Likewise.
8590 (elf_machine_lazy_rel): Likewise.
8591 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8592 Likewise.
8593 (elf_machine_lazy_rel): Likewise.
8594 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8595 (elf_machine_lazy_rel): Likewise.
8596 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8597 (elf_machine_lazy_rel): Likewise.
8598 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8599 (elf_machine_lazy_rel): Likewise.
8600 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8601 (elf_machine_lazy_rel): Likewise.
8602 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8603 (elf_machine_lazy_rel): Likewise.
8604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8605 (elf_machine_lazy_rel): Likewise.
8606
68577918
UD
86072011-09-28 Ulrich Drepper <drepper@gmail.com>
8608
8609 * nss/nss_files/files-init.c (_nss_files_init): Use static
8610 initialization for all the *_traced_file variables.
8611
68822d74
AS
86122011-09-28 Andreas Schwab <schwab@redhat.com>
8613
8614 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8615
2056100b
RM
86162011-09-27 Roland McGrath <roland@hack.frob.com>
8617
8618 [BZ #13226]
8619 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8620
32c76b63
AS
86212011-09-27 Andreas Schwab <schwab@redhat.com>
8622
8623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8624 Reread the line before reparsing it.
8625
bf972c9d
AS
86262011-09-26 Andreas Schwab <schwab@redhat.com>
8627
8628 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8629
e057a1b5
JM
86302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8631 Maxim Kuvyrkov <maxim@codesourcery.com>
8632 Joseph Myers <joseph@codesourcery.com>
8633
8634 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8635 if needed for __stack_chk_guard.
8636
bc7e1c36
RM
86372011-09-19 Roland McGrath <roland@hack.frob.com>
8638
ecb1482f
RM
8639 * sysdeps/posix/spawni.c (script_execute): Always define it.
8640 It will be optimized away if unused.
8641 (maybe_script_execute): New function.
8642 (__spawni): Call it.
8643
bc7e1c36
RM
8644 * Makerules: Don't include tls.make.
8645 (config-tls): Always set to thread.
8646 * tls.make.c: File removed.
8647
1c3b002b
MF
86482011-09-19 Mike Frysinger <vapier@gentoo.org>
8649
8650 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8651 * config.make.in (CPPFLAGS-config): New substituted variable.
8652
2840865d
UD
86532011-09-15 Ulrich Drepper <drepper@gmail.com>
8654
88738eb6
UD
8655 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8656
cbf645a6 8657 [BZ #13192]
2840865d
UD
8658 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8659 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8660
b402e91a
RM
86612011-09-15 Roland McGrath <roland@hack.frob.com>
8662
8663 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8664 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8666 (CALL_FAIL): Likewise.
8667 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8668 (CALL_FAIL): Macro removed.
8669 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8670
4c1a1f71
UD
86712011-09-15 Ulrich Drepper <drepper@gmail.com>
8672
8673 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8674 for __FINITE_MATH_ONLY__ == 1.
8675
edc121be
AS
86762011-09-15 Andreas Schwab <schwab@redhat.com>
8677
8678 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8679 __ieee754_sqrt instead of sqrt.
8680 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8681 __ieee754_sqrtf instead of sqrtf.
8682 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8683 __floorf instead of floorf.
8684 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8685 __floorf, __truncf instead of floorf, truncf.
8686
cd205654
UD
86872011-09-14 Ulrich Drepper <drepper@gmail.com>
8688
ee4d0315
UD
8689 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8690
cd205654
UD
8691 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8692 __extern_always_inline.
8693 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8694 32-bit.
8695
48b67d71
AS
86962011-09-14 Andreas Schwab <schwab@redhat.com>
8697
8698 * elf/rtld.c (dl_main): Also relocate in dependency order when
8699 doing symbol dependency testing.
8700
1ae12c75
AS
87012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8702
8703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8704 Always define `refsym'.
8705
995a80df
AS
87062011-09-13 Andreas Schwab <schwab@redhat.com>
8707
e529793b
AS
8708 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8709 (__FD_ELT): Renamed from __FDELT.
8710 * misc/bits/select2.h (__FD_ELT): Likewise.
8711 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8712 __FD_MASK instead of __FDELT, __FDMASK.
8713 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8714 Likewise.
8715 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8716 Likewise.
8717
52d4fef8
AS
8718 * elf/Makefile (gen-ldd): Fix pattern.
8719
995a80df
AS
8720 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8721 (init_tls): Likewise.
8722
8682f8b0
UD
87232011-09-12 Ulrich Drepper <drepper@gmail.com>
8724
8725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8726
de82006d
AS
87272011-09-12 Andreas Schwab <schwab@redhat.com>
8728
a7c8e6a1
AS
8729 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8730 `struct cmsghdr *' instead of `void *'.
8731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8732 Likewise.
8733
0f31fe77
AS
87342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8735
8736 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8737 if non-absolute.
8738 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8739 ldd_rewrite_script.
0f31fe77 8740
32b4c839
UD
87412011-09-11 Ulrich Drepper <drepper@gmail.com>
8742
83cd1420
UD
8743 * configure.in: Remove --with-tls option.
8744 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8745 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8746 out in case it is missing.
8747 * sysdeps/ia64/elf/configure.in: Likewise.
8748 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8749 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8750 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8751 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8752 * sysdeps/sh/elf/configure.in: Likewise.
8753 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8754 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8755 * sysdeps/x86_64/elf/configure.in: Likewise.
8756 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8757 * sysdeps/mach/hurd/tls.h: Likewise.
8758
633f745d
UD
8759 [BZ #13067]
8760 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8761
f318beb8
UD
8762 [BZ #13090]
8763 * configure.in: Fix use of AC_INIT.
8764
32b4c839
UD
8765 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8766
3ce1f295
UD
87672011-09-10 Ulrich Drepper <drepper@gmail.com>
8768
bb016596
UD
8769 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8770 __set_errno.
8e58439c
UD
8771 * malloc/hooks.c: Likewise.
8772
aebae053 8773 [BZ #11929]
02d46fc4
UD
8774 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8775 variables statically.
8776 (narenas): Initialize.
8777 (list_lock): Initialize.
bb016596
UD
8778 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8779 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8780 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8781 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8782 Add initializers to main_arena and mp_.
8783 (malloc_state): Remove pagesize member. Change all users to use
8784 GLRO(dl_pagesize).
8785
8786 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8787 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8788 is always initialized.
8789
22a89187
UD
8790 * malloc/malloc.c: Removed unused configurations and dead code.
8791 * malloc/arena.c: Likewise.
8792 * malloc/hooks.c: Likewise.
02d46fc4 8793 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8794
d063d164
UD
8795 * include/tls.h: Removed. USE___THREAD must always be defined.
8796 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8797 * elf/dl-libc.c: Likewise.
8798 * elf/dl-tsd.c: Likewise.
8799 * include/errno.h: Likewise.
8800 * include/netdb.h: Likewise.
8801 * include/resolv.h: Likewise.
8802 * inet/herrno-loc.c: Likewise.
8803 * inet/herrno.c: Likewise.
8804 * malloc/arena.c: Likewise.
8805 * malloc/hooks.c: Likewise.
8806 * malloc/malloc.c: Likewise.
8807 * resolv/res-state.c: Likewise.
8808 * resolv/res_libc.c: Likewise.
8809 * sysdeps/i386/dl-machine.h: Likewise.
8810 * sysdeps/ia64/dl-machine.h: Likewise.
8811 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8812 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8813 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8814 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8815 * sysdeps/sh/dl-machine.h: Likewise.
8816 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8817 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8818 * sysdeps/unix/i386/sysdep.S: Likewise.
8819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8820 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8825 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8829 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8830 * sysdeps/x86_64/dl-machine.h: Likewise.
8831 * tls.make.c: Likewise.
8832
3ce1f295
UD
8833 * configure.in: Remove --with-__thread option. Make tests for
8834 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8835 tls_model attribute fail if no support is available. Remove
8836 USE_IN_LIBIO.
8837 * Makeconfig: Adjust for dropped configure option. All features are
8838 now mandatory.
8839 * Makerules: Likewise.
8840 * Versions.def: Likewise.
8841 * argp/argp-fmtstream.c: Likewise.
8842 * argp/argp-fmtstream.h: Likewise.
8843 * argp/argp-help.c: Likewise.
8844 * assert/assert.c: Likewise.
8845 * config.h.in: Likewise.
8846 * config.make.in: Likewise.
8847 * configure: Likewise.
8848 * configure.in: Likewise.
8849 * csu/Versions: Likewise.
8850 * csu/init.c: Likewise.
8851 * elf/tst-audit2.c: Likewise.
8852 * elf/tst-tls10.c: Likewise.
8853 * elf/tst-tls10.h: Likewise.
8854 * elf/tst-tls11.c: Likewise.
8855 * elf/tst-tls12.c: Likewise.
8856 * elf/tst-tls14.c: Likewise.
8857 * elf/tst-tlsmod11.c: Likewise.
8858 * elf/tst-tlsmod12.c: Likewise.
8859 * elf/tst-tlsmod13.c: Likewise.
8860 * elf/tst-tlsmod13a.c: Likewise.
8861 * elf/tst-tlsmod14a.c: Likewise.
8862 * elf/tst-tlsmod15b.c: Likewise.
8863 * elf/tst-tlsmod16a.c: Likewise.
8864 * elf/tst-tlsmod16b.c: Likewise.
8865 * elf/tst-tlsmod7.c: Likewise.
8866 * elf/tst-tlsmod8.c: Likewise.
8867 * elf/tst-tlsmod9.c: Likewise.
8868 * gmon/gmon.c: Likewise.
8869 * grp/fgetgrent_r.c: Likewise.
8870 * grp/putgrent.c: Likewise.
8871 * hurd/fopenport.c: Likewise.
8872 * include/libc-symbols.h: Likewise.
8873 * include/tls.h: Likewise.
8874 * intl/gettextP.h: Likewise.
8875 * intl/loadinfo.h: Likewise.
8876 * locale/global-locale.c: Likewise.
8877 * locale/localeinfo.h: Likewise.
8878 * mach/devstream.c: Likewise.
8879 * malloc/arena.c: Likewise.
8880 * malloc/set-freeres.c: Likewise.
8881 * misc/err.c: Likewise.
8882 * misc/getttyent.c: Likewise.
8883 * misc/mntent_r.c: Likewise.
8884 * posix/getopt.c: Likewise.
8885 * posix/wordexp.c: Likewise.
8886 * pwd/fgetpwent_r.c: Likewise.
8887 * resolv/Versions: Likewise.
8888 * resolv/res_hconf.c: Likewise.
8889 * shadow/fgetspent_r.c: Likewise.
8890 * shadow/putspent.c: Likewise.
8891 * stdio-common/printf_fphex.c: Likewise.
8892 * stdio-common/tmpfile.c: Likewise.
8893 * stdlib/abort.c: Likewise.
8894 * stdlib/fmtmsg.c: Likewise.
8895 * sunrpc/auth_unix.c: Likewise.
8896 * sunrpc/clnt_perr.c: Likewise.
8897 * sunrpc/clnt_tcp.c: Likewise.
8898 * sunrpc/clnt_udp.c: Likewise.
8899 * sunrpc/clnt_unix.c: Likewise.
8900 * sunrpc/openchild.c: Likewise.
8901 * sunrpc/svc_simple.c: Likewise.
8902 * sunrpc/svc_tcp.c: Likewise.
8903 * sunrpc/svc_udp.c: Likewise.
8904 * sunrpc/svc_unix.c: Likewise.
8905 * sunrpc/xdr.c: Likewise.
8906 * sunrpc/xdr_array.c: Likewise.
8907 * sunrpc/xdr_rec.c: Likewise.
8908 * sunrpc/xdr_ref.c: Likewise.
8909 * sunrpc/xdr_stdio.c: Likewise.
8910
1248c1c4
PB
89112011-09-09 Ulrich Drepper <drepper@gmail.com>
8912
8913 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8914
89152011-07-03 Andreas Jaeger <aj@suse.de>
8916
8917 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8918 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8919 regenerate with gen-libm-tests.pl.
8920
89212010-05-12 Petr Baudis <pasky@suse.cz>
8922
8923 [BZ #11589]
8924 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8925 around j0() zero points by switching to j1().
8926 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8930
f22e1074
UD
89312011-09-09 Ulrich Drepper <drepper@gmail.com>
8932
f19009c1
UD
8933 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8934 instead of 0.
8935 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8936 instead of 0. .
8937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8938 Patch in part by Pavel Roskin <proski@gnu.org>.
8939
3f8cc204
UD
8940 [BZ #13138]
8941 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8942 realloc.
8943 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8944 Free memory block if necessary.
8945
f22e1074
UD
8946 [BZ #12847]
8947 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8948 be NULL. Don't lock in this case.
8949
0a2349f9
RM
89502011-09-09 Roland McGrath <roland@hack.frob.com>
8951
8952 * elf/elf.h (ELFOSABI_GNU): New macro.
8953 (ELFOSABI_LINUX): Define to that.
8954
f3cdd467
DZ
89552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8956
8957 * string/strncat.c (strncat): Undef the symbol in case it has been
8958 defined in bits/string.h.
8959
74718d13
UD
89602011-09-09 Ulrich Drepper <drepper@gmail.com>
8961
633e9e0f
UD
8962 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8963
0a2349f9 8964 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8965 link map.
8966
f9924780
AJ
89672011-08-17 Andreas Jaeger <aj@suse.de>
8968
8969 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8970
7f5517aa
PP
89712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8972 Ian Lance Taylor <iant@google.com>
8973
8974 * math/libm-test.inc (lround_test): New testcase.
8975 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8976
762011fe
UD
89772011-09-08 Ulrich Drepper <drepper@gmail.com>
8978
92963737
UD
8979 * Makefile: Remove support for automatic cvs check-ins.
8980 * Makerules: Likewise.
8981 * config.make.in: Likewise.
8982 * configure.in: Likewise.
8983 * intl/Makefile: Likewise.
8984 * locale/Makefile: Likewise.
8985 * po/Makefile: Likewise.
8986 * posix/Makefile: Likewise.
8987 * sysdeps/gnu/Makefile: Likewise.
8988 * sysdeps/mach/hurd/Makefile: Likewise.
8989 * sysdeps/sparc/sparc32/Makefile: Likewise.
8990
b0727fd8
JS
8991 [BZ #13118]
8992 * posix/Makefile (bug-regex32-ENV): Define.
8993 Patch by John Stanley <jpsinthemix@verizon.net>.
8994
a0f33f99
UD
8995 * misc/Makefile (headers): Add bits/select2.h.
8996 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8997 * misc/bits/select2.h: New file.
8998 * include/bits/select2.h: New file.
8999 * debug/Makefile (routines): Add fdelt_chk.
9000 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9001 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9002 FD_ISSET.
9003 * debug/fdelt_chk.c: New file.
9004
762011fe
UD
9005 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9006 * wcsmbs/test-wmemcmp.c: Likewise.
9007 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9008 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9009
90102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9011
9012 * string/Makefile (strop-tests): Add memcmp.
9013 * string/test-wmemcmp.c: New file.
9014 * string/test-memcmp.c: Add wmemcmp support.
9015
7f513ec8
RM
90162011-09-08 Roland McGrath <roland@hack.frob.com>
9017
0442afb4
RM
9018 [BZ #13153]
9019 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9020 2011-07-19 change.
9021
7f513ec8
RM
9022 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9023 garbage value in a __mach_port_mod_refs call in the cases of the
9024 task-self and thread-self ports.
9025
a12b2239
ST
90262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9027
9028 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9029
610f9ab4
AS
90302011-09-08 Andreas Schwab <schwab@redhat.com>
9031
7f513ec8 9032 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9033
48882a1a
LD
90342011-09-07 Ulrich Drepper <drepper@gmail.com>
9035
b49865be
UD
9036 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9037
fdc86bc9
UD
9038 * elf/dl-libc.c (dlerror_run): Pass back error code from
9039 dl_catch_error.
9040
c966526a
UD
9041 [BZ #13123]
9042 * elf/dl-load.c (lose): Free l_origin if it is valid.
9043
48882a1a
LD
9044 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9045 names.
9046 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9047 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9048 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9049 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9050 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9051 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9052
77a2a8b4
AZ
90532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9054
9055 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9056 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9057 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9058 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9059 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9060 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9061 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9062 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9063 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9064 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9065
24f579d8
AM
90662011-08-15 Alan Modra <amodra@gmail.com>
9067
9068 [BZ #13092]
9069 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9070 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9071 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9072 ppc_mcount to static-only-routines.
9073 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9074 __mcount_internal.
9075 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9076 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9077
3d4837df
UD
90782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9079
9080 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9081 for finite and infinity parameters.
9082
22700377
WS
90832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9084
9085 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9086 and add nop instructions for throughput optimization.
9087 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9088
5025581e
WS
90892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9090
9091 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9092 aligned copy for power7 with vector-scalar instructions.
9093 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9094
08a300c9
L
90952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9096
9097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9098 AVX check.
9099
59178ef9
AS
91002011-09-07 Andreas Schwab <schwab@redhat.com>
9101
9102 [BZ #13144]
9103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9104 last change.
9105
e38ba7ab
UD
91062011-09-07 Ulrich Drepper <drepper@gmail.com>
9107
9108 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9109 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9110 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9111 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9112 clock_gettime.
9113
d53a73ac
UD
91142011-09-06 Ulrich Drepper <drepper@gmail.com>
9115
fc8bffcc
UD
9116 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9117 Forgot to demangle the pointer.
9118
ceaa0c5d
UD
9119 * sysdeps/i386/sysdep.h: Define atom_text_section.
9120 * sysdeps/x86_64/sysdep.h: Likewise.
9121 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9122 section with atom_text_section.
9123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9124 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9125 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9126 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9127 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9128
a77d3c17
UD
9129 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9131 already be defined. Change to take two parameters and don't assign
9132 result to variable. Adjust all users.
9133 Define INTERNAL_GETTIME if not already defined.
9134 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9135 call.
9136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9137 HAVE_CLOCK_GETTIME_VSYSCALL.
9138 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9139
d53a73ac
UD
9140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9141 gettimeofday vsyscall, just use time.
9142
a8f84144
AS
91432011-09-06 Andreas Schwab <schwab@redhat.com>
9144
9145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9146 <errno.h>.
9147
ef606249
UD
91482011-09-06 Ulrich Drepper <drepper@gmail.com>
9149
9150 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9151 syscall on x86-64.
9152 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9153 syscall.
9154 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9156 syscall if possible.
9157
6585cb60
UD
91582011-09-05 Ulrich Drepper <drepper@gmail.com>
9159
9160 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9161 e_ident. Don't pass to find_mapsXX.
9162 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9163
a5f524e4
LD
91642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9165
9166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9167 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9168 * sysdeps/x86_64/multiarch/strchr.S: Update.
9169 Check bit_slow_BSF bit.
9170 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9171 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9173
554881ef
UD
91742011-09-05 Ulrich Drepper <drepper@gmail.com>
9175
d96de963
UD
9176 [BZ #13134]
9177 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9178 before glibc 2.15.
9179 (tryshell): Define.
9180 (__spawni): Change last parameter to be flag. Test
9181 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9182 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9183 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9184 * posix/spawni.c: Likewise.
9185 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9186 * posix/spawnp.c: Likewise. Change normal version to use
9187 SPAWN_XFLAGS_USE_PATH.
9188 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9189 SPAWN_XFLAGS_TRY_SHELL.
9190
d48e5868
UD
9191 [BZ #13150]
9192 * posix/glob.h: Remove gcc 1.x support.
9193
554881ef
UD
9194 [BZ #13068]
9195 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9196
693fb948
LD
91972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9198
9199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9200 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9201 strrchr-sse2-bsf
9202 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9203 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9204 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9205 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9206 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9208
1b48c537
UD
92092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9210
49d42c37
UD
9211 * sysdeps/x86_64/wcscmp.S: New file.
9212
1b48c537
UD
9213 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9214 wcscmp-c wcscmp-sse2
9215 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9216 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9217 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9218 * wcsmbs/wcscmp.c: Allow renaming.
9219
15c95c5d
DM
92202011-09-05 David S. Miller <davem@davemloft.net>
9221
9222 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9223 stack slot, rather than the struct return pointer slot.
9224 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9225 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9227 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9228
2f0ad8f3
UD
92292011-09-05 Ulrich Drepper <drepper@gmail.com>
9230
d88ae418
UD
9231 * po/ja.po: Update from translation team.
9232
2f0ad8f3
UD
9233 [BZ #13144]
9234 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9235 kernel in 64-bit binaries.
9236
5f4318d1
DM
92372011-09-01 David S. Miller <davem@davemloft.net>
9238
9239 * elf/elf.h (HWCAP_SPARC_*): Move to..
9240 * sysdeps/sparc/sysdep.h: this new file and add new values.
9241 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9242 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9243 _DL_HWCAP_COUNT to 24.
9244 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9245 entries.
9246 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9247 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9248 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9250 instead of magic constants.
9251 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9252
3ba57516
DM
92532011-08-31 David S. Miller <davem@davemloft.net>
9254
9255 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9257 Reimplement to do errno handling inline.
9258 (SYSCALL_ERROR_HANDLER): New macro.
9259 (__SYSCALL_STRING): Do not do errno handling in asm.
9260 (__CLONE_SYSCALL_STRING): Delete.
9261 (__INTERNAL_SYSCALL_STRING): Delete.
9262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9263 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9264 (PSEUDO): Reimplement to do errno handling inline.
9265 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9266 (SYSCALL_ERROR_HANDLER): New macro.
9267 (__SYSCALL_STRING): Do not do errno handling in asm.
9268 (__CLONE_SYSCALL_STRING): Delete.
9269 (__INTERNAL_SYSCALL_STRING): Delete.
9270 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9271 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9272 i386.
9273 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9274 (inline_syscall*): Add 'err' argument.
9275 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9276 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9277 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9278 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9279
9280 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9281 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9282
2bc17433
AS
92832011-08-30 Andreas Schwab <schwab@redhat.com>
9284
9285 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9286
fbeb5f4d
JO
92872011-08-29 Jiri Olsa <jolsa@redhat.com>
9288
9289 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9290 directive.
9291
ad69cc26
DM
92922011-08-24 David S. Miller <davem@davemloft.net>
9293
9294 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9295
39dd69df
AS
92962011-08-24 Andreas Schwab <schwab@redhat.com>
9297
9298 * elf/Makefile: Add rules to build and run unload8 test.
9299 * elf/unload8.c: New file.
9300 * elf/unload8mod1.c: New file.
9301 * elf/unload8mod1x.c: New file.
9302 * elf/unload8mod2.c: New file.
9303 * elf/unload8mod3.c: New file.
9304
9305 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9306 it wasn't used.
9307
2c0b250a
DM
93082011-08-23 David S. Miller <davem@davemloft.net>
9309
9310 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9311 subtract stack bias.
9312 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9313 %sp not %fp in calculations.
9314 (_JMPBUF_UNWINDS_ADJ): Likewise.
9315
22044b48
DM
9316 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9317 (aio_suspend): Call it to force an exception region around the
9318 AIO_MISC_WAIT() invocation.
9319
2cae4995
AS
93202011-08-23 Andreas Schwab <schwab@redhat.com>
9321
9322 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9323 backslash.
9324
873a772e
AJ
93252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9326
9327 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9328 protection macro.
9329 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9330 and <dl-machine.h>.
9331 (Elf64_FuncDesc): Remove.
9332
25ad0df1
DM
93332011-08-22 David S. Miller <davem@davemloft.net>
9334
9335 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9336 sigaltstack check, add missing cfi directives.
9337 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9338 missing cfi directives, and sigaltstack handling.
9339
e888bcbe
AS
93402011-08-16 Andreas Schwab <schwab@redhat.com>
9341
9342 [BZ #11724]
9343 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9344 object is seen twice.
9345 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9346
9347 * elf/Makefile (distribute): Add tst-initorder2.c.
9348 (tests): Add tst-initorder2.
9349 (modules-names): Add tst-initorder2a tst-initorder2b
9350 tst-initorder2c tst-initorder2d. Add rules to build them.
9351 ($(objpfx)tst-initorder2.out): New rule.
9352 * elf/tst-initorder2.c: New file.
9353 * elf/tst-initorder2.exp: New file.
9354
87162f46
AS
93552011-08-22 Andreas Schwab <schwab@redhat.com>
9356
70538b7f
AS
9357 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9358
f55ffe58
AS
9359 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9360 dependencies back to end of function.
9361
87162f46
AS
9362 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9363 $(elfobjdir)/ld.so.
9364
91b392a4
UD
93652011-08-21 Ulrich Drepper <drepper@gmail.com>
9366
9367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9368 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9370 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9371 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9372 of __vdso_gettimeofday.
9373 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9374 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9375 attribute_hidden.
9376 (_libc_vdso_platform_setup): Remove initialization of
9377 __vdso_gettimeofday and __vdso_time.
9378
5c43483f
UD
93792011-08-20 Ulrich Drepper <drepper@gmail.com>
9380
775a77e7
UD
9381 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9382 and fgetc_unlocked.
9383 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9384 getc_unlocked.
89f447ed 9385
49c74ba9
UD
9386 * elf/dl-open.c (add_to_global): Report additions to the global scope
9387 for LD_DEBUG=scopes.
9388 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9389 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9390
5c43483f
UD
9391 [BZ #13114]
9392 * stdio-common/Makefile (tests): Add bug24.
9393 * stdio-common/bug24.c: New file.
9394
a101b025
AJ
93952011-08-19 Andreas Jaeger <aj@suse.de>
9396
9397 [BZ #13114]
9398 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9399 non-existant file when using close-on-exec mode.
9400
c88f1766
UD
94012011-08-20 Ulrich Drepper <drepper@gmail.com>
9402
0276a718
UD
9403 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9404 the very first instruction.
9405
c88f1766
UD
9406 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9407 the CFI state in the end.
9408 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9409 inclusion of dl-trampoline.h.
9410 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9411
51ccffa0
AS
94122011-08-19 Andreas Schwab <schwab@redhat.com>
9413
94d7165f
AS
9414 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9415 expectations for long double.
9416
51ccffa0
AS
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9418 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9419
fd708658 94202011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9421
9422 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9423 artificual limit depends upon the system page size.
9424
44f0a71e
UD
94252011-08-17 Ulrich Drepper <drepper@gmail.com>
9426
9427 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9428 * resolv/Makefile: Define CFLAGS-libresolv.
9429
8de79a24
AS
94302011-08-17 Andreas Schwab <schwab@redhat.com>
9431
9432 * nss/makedb.c (compute_tables): Make variables used in nested
9433 function static.
9434
27724598
UD
94352011-08-17 Ulrich Drepper <drepper@gmail.com>
9436
c5305d88
UD
9437 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9438 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9439 if buffer was too small.
9440
27724598
UD
9441 * elf/pldd.c (main): Attach to all threads in the process.
9442 Rewrite /proc handling to use *at functions.
9443
076fe015
UD
94442011-08-16 Ulrich Drepper <drepper@gmail.com>
9445
174baab3
UD
9446 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9447 specifies first scope to show.
9448 (dl_open_worker): Update callers. Move printing scope of new
9449 object to before the relocation.
44f0a71e 9450 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9451 * sysdeps/generic/ldsodefs.h: Update declaration.
9452
076fe015
UD
9453 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9454 string for the scope number.
9455
a60df2c3
UD
94562011-08-14 Ulrich Drepper <drepper@gmail.com>
9457
9458 * nscd/servicescache.c (cache_addserv): Make sure written is always
9459 initialized.
9460
5e4287d1
RM
94612011-08-14 Roland McGrath <roland@hack.frob.com>
9462
85ae0589
RM
9463 * sysdeps/i386/i486/bits/atomic.h
9464 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9465 statement expression, so as to suppress "set but not used" warning.
9466 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9467
69f63097
RM
9468 * string/strncat.c (STRNCAT): Use prototype definition.
9469
675456ef
RM
9470 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9471 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9472 -Iprograms here.
9473 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9474 (localedef-modules): Add localedef.
9475 (locale-modules): Add locale.
9476
5e4287d1
RM
9477 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9478 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9479 to avoid a warning.
9480
9c96ff23
DM
94812011-08-14 David S. Miller <davem@davemloft.net>
9482
9483 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9484 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9485
f9ddf089
UD
94862011-08-13 Ulrich Drepper <drepper@gmail.com>
9487
44f0a71e 9488 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9489 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9490 * elf/rtld.c (dl_main): Set l_name of vDSO.
9491 Call _dl_show_scope when DL_DEBUG_SCOPES.
9492 (process_dl_debug): Recognize scopes flag and also set it for all.
9493 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9494 Declare _dl_show_scope.
9495
1dc27704
UD
9496 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9497 (do_dlopen): Pass caller_dlopen to dl_open.
9498 (__libc_dlopen_mode): Initialize caller_dlopen.
9499
f9ddf089
UD
9500 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9501 of libc. Make tolower call locale-independent. Optimize a bit by
9502 using isdigit instead of isalnum.
9503 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9504
9ac533d3
UD
95052011-08-12 Ulrich Drepper <drepper@gmail.com>
9506
9507 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9508 was a dependency or dynamically loaded.
9509
89edf2e9
UD
95102011-08-11 Ulrich Drepper <drepper@gmail.com>
9511
8e999d29
UD
9512 * intl/l10nflist.c: Allow architecture-specific pop function.
9513 * sysdeps/x86_64/l10nflist.c: New file.
9514
89edf2e9
UD
9515 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9516 classification.
9517
14d96785
AS
95182011-08-10 Andreas Schwab <schwab@redhat.com>
9519
9520 * include/dirent.h: Add libc_hidden_proto for scandirat and
9521 scandirat64. Don't declare __scandirat64.
9522 * dirent/scandirat.c: Add libc_hidden_def.
9523 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9524 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9525
6761ac04
DM
95262011-08-10 David S. Miller <davem@davemloft.net>
9527
9528 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9529 enum.
9530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9532 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9533
c55fbd1e
UD
95342011-08-09 Ulrich Drepper <drepper@gmail.com>
9535
9536 * Versions.def [libc]: Add GLIBC_2.15.
9537 * dirent/Makefile (routines): Add scandirat and scandirat64.
9538 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9539 GLIBC_2.15.
9540 * dirent/dirent.h: Declare scandirat and scandirat64.
9541 * dirent/scandirat.c: New file.
9542 * dirent/scandirat64.c: New file.
9543 * sysdeps/wordsize-64/scandirat.c: New file.
9544 * sysdeps/wordsize-64/scandirat64.c: New file.
9545 * dirent/opendir.c: Define opendirat.
9546 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9547 using scandirat.
9548 * dirent/scandir64.c: Adjust for scandir.c change.
9549 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9550 __scandirat64, and __scandir_cancel_handler.
9551 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9552 additional parameter and use openat instead of open (outside of ld.so).
9553 Add new __opendir as wrapper around __opendirat.
9554 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9555 here without requiring old scandirat implementation.
9556
879165f2
UD
95572011-08-08 Ulrich Drepper <drepper@gmail.com>
9558
9559 * dirent/scandir.c (cancel_handler): Renamed to
9560 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9561 defined. Adjust users.
9562 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9563 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9564
cb7e923b
UD
95652011-08-04 Ulrich Drepper <drepper@gmail.com>
9566
16292edd
UD
9567 * string/test-string.h (IMPL): Use __STRING to expand name and then
9568 stringify it.
9569
cb7e923b
UD
9570 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9571 of cleanups.
9572
cff82933
LD
95732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9574
9575 * string/Makefile: Update.
9576 (strop-tests): Append strncat.
9577 * string/test-wcscmp.c: New file.
9578 New comprehensive test for wcscmp.
9579 * string/test-strcmp.c: Update.
9580 (WIDE): New define.
9581
9be9bfcc
AS
95822011-07-22 Andreas Schwab <schwab@redhat.com>
9583
9584 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9585 line.
9586
2e96f1c7
AS
95872011-07-26 Andreas Schwab <schwab@redhat.com>
9588
9589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9590 encoding to ACE if AI_IDN.
9591
85188888
JJ
95922011-08-01 Jakub Jelinek <jakub@redhat.com>
9593
9594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9595 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9596
5fa16e9b
LD
95972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9598
9599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9600 Fix overflow bug in strncat.
9601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9602
9603 * string/test-strncat.c: Update.
9604 Add new tests for checking overflow bugs.
9605
96062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9607
9608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9609 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9610 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9611 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9613 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9614 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9615 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9616 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9617
9618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9619 (USE_AS_STRCAT): Define.
9620 Add strcat and strncat support.
9621 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9622
8c1a459f
AS
96232011-07-25 Andreas Schwab <schwab@redhat.com>
9624
9625 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9626 __n bigger than INT_MAX+1.
9627 (__strncmp_g): Likewise.
9628
bba33c28
UD
96292011-07-23 Ulrich Drepper <drepper@gmail.com>
9630
798be72d
UD
9631 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9632 * libio/stido.h: Likewise.
9633
8accd4dc
UD
9634 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9635 (AF_NFC): Define.
9636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9637 (AF_NFC): Define.
9638
cbff0d96
UD
9639 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9640 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9642 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9644
9191c04a
UD
9645 [BZ #13021]
9646 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9647 installed.
9648
bba33c28
UD
9649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9650 typo.
9651 (_dl_x86_64_save_sse): Likewise.
9652
90f139dd
UD
96532011-07-22 Ulrich Drepper <drepper@gmail.com>
9654
1aae088a
UD
9655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9656 OSXSAVE.
9657 (_dl_x86_64_save_sse): Likewise.
9658
8e2045f5
UD
9659 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9660
90f139dd
UD
9661 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9662
1d002f25
AS
96632011-07-21 Andreas Schwab <schwab@redhat.com>
9664
9665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9666 change.
9667 (_dl_x86_64_save_sse): Use correct AVX check.
9668
21137f89
UD
96692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9670
9671 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9672 bug in strncpy/strncat.
9673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9674
a65c0b7a
UD
96752011-07-21 Ulrich Drepper <drepper@gmail.com>
9676
9677 * string/tester.c (test_strcat): Add tests for different alignments
9678 of source and destination.
9679 (test_strncat): Likewise.
9680
6986b98a
UD
96812011-07-20 Ulrich Drepper <drepper@gmail.com>
9682
90bb2039
UD
9683 [BZ #12852]
9684 * posix/glob.c (glob): Check passed in values before using them in
9685 expressions to avoid some overflows.
9686 (glob_in_dir): Likewise.
9687
5644ef54
UD
9688 [BZ #13007]
9689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9690 check for AVX enablement so that we don't crash with old kernels and
9691 new hardware.
9692 * elf/tst-audit4.c: Add same checks here.
9693 * elf/tst-audit6.c: Likewise.
9694
9695 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9696
bfc9dc9b
AS
96972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9698
9699 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9700
702e64bb
UD
97012011-07-20 Ulrich Drepper <drepper@gmail.com>
9702
9703 * po/cs.po: Update from translation team.
9704 * po/bg.po: Likewise.
9705
295e904f
MP
97062011-07-12 Marek Polacek <mpolacek@redhat.com>
9707
9708 * misc/sys/cdefs.h: Add support for const attribute.
9709 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9710 to gnu_dev_{major,minor,makedev} functions.
9711
3ff94596
MP
97122011-07-20 Marek Polacek <mpolacek@redhat.com>
9713
9714 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9715
28b59fca
AS
97162011-07-20 Andreas Schwab <schwab@redhat.com>
9717
9718 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9719 strlen results.
9720
19df733e
AK
97212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9722
9723 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9724 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9725 register in order to avoid conflicts with the soft frame pointer
9726 being held in r11 when necessary.
9727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9728 (INTERNAL_VSYSCALL_NCS): Likewise.
9729
c8835729
MP
97302011-07-14 Marek Polacek <mpolacek@redhat.com>
9731
9732 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9733 * elf/dl-fini.c (_dl_fini): Adjust caller.
9734 * elf/dl-close.c (_dl_close_worker): Likewise.
9735 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9736
b902330c
MP
97372011-07-15 Marek Polacek <mpolacek@redhat.com>
9738
8991e135
MP
9739 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9740 "aux_cache->nlibs < 0".
9741
b902330c
MP
9742 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9743 in the reload-count case.
9744
99710781
LD
97452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9746
9747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9748 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9749 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9750 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9751 * sysdeps/x86_64/multiarch/strcat.S: New file.
9752 * sysdeps/x86_64/multiarch/strncat.S: New file.
9753 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9754 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9755 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9756 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9758 (USE_AS_STRCAT): Define.
9759 Add strcat and strncat support.
9760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9761 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9762 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9763 * string/strncat.c: Update.
9764 (USE_AS_STRNCAT): Define.
9765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9766 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9767 and i7.
9768 * sysdeps/x86_64/multiarch/init-arch.h
9769 (bit_Prefer_PMINUB_for_stringop): New.
9770 (index_Prefer_PMINUB_for_stringop): Likewise.
9771 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9772 bit_Prefer_PMINUB_for_stringop.
9773
7dc6bd90
UD
97742011-07-19 Ulrich Drepper <drepper@gmail.com>
9775
9776 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9777 buffer64.
9778 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9779 of casting of buffer.
9780 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9781 buffer32 and buffer64.
9782 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9783 writes instead of casting of buffer.
9784 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9785 buffer32.
9786 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9787 casting of buffer.
9788
e0e72284
AS
97892011-07-19 Andreas Schwab <schwab@redhat.com>
9790
9791 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9792
feb1eb0b
UD
97932011-07-19 Ulrich Drepper <drepper@gmail.com>
9794
9795 * nscd/nscd.c (termination_handler): Don't do anything for a database
9796 if it has not yet been initialized.
9797
298711ff
UD
97982011-07-18 Ulrich Drepper <drepper@gmail.com>
9799
9800 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9801
98022011-07-15 Marek Polacek <mpolacek@redhat.com>
9803
9804 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9805
f9d68389
UD
98062011-07-18 Ulrich Drepper <drepper@gmail.com>
9807
9808 * po/nl.po: Update from translation team.
9809 * po/sv.po: Likewise.
9810
db290cf5
RM
98112011-07-16 Roland McGrath <roland@hack.frob.com>
9812
9813 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9814 now disallowed by GCC.
5c550700 9815
fd5e21c7
RM
9816 * configure.in (use-default-link): Default to yes if a test -shared
9817 link meets our qualifications.
9818 * configure: Regenerated.
9819
5c550700
RM
9820 * config.make.in (output-format): New variable.
9821 * configure.in: Check for ld --print-output-format support.
9822 * configure: Regenerated.
9823 * Makerules ($(common-objpfx)format.lds)
9824 [$(output-format) != unknown]: Just use $(output-format),
9825 instead of the linker-script munging.
9826
9fa2c032
RM
98272011-07-14 Roland McGrath <roland@hack.frob.com>
9828
a6928d51
RM
9829 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9830 of $(common-objpfx)shlib.lds.
9831 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9832
661607b3
RM
9833 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9834 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9835
9fa2c032
RM
9836 * configure.in (-z relro check): Adjust test code to add a large
9837 writable data section after it.
9838 * configure: Regenerated.
9839
defe9061
RM
98402011-07-11 Roland McGrath <roland@hack.frob.com>
9841
9842 * configure.in (-z relro check): Fix test code to make the variable
9843 truly const.
9844 * configure: Regenerated.
9845
319b9ad4
UD
98462011-07-11 Ulrich Drepper <drepper@gmail.com>
9847
9848 * nscd/nscd.h (struct traced_file): Define.
9849 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9850 elements. Add traced_files.
9851 (inotify_fd): Declare.
9852 (register_traced_file): Declare.
9853 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9854 (inotify_fd): Export.
9855 (resolv_conf_descr): Remove.
9856 (nscd_init): Move inotify descriptor creation to main.
9857 Don't register files for notification here.
9858 (register_traced_file): New function.
9859 (invalidate_cache): Don't use reset_res to determine whether to call
9860 res_init, go through the list of registered files.
9861 (main_loop_poll): The inotify descriptors are now stored in the
9862 structures for the traced files.
9863 (main_loop_epoll): Likewise
9864 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9865 to __nss_disable_nscd.
9866 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9867 for a database anymore. Check the records for all the registered
9868 files instead.
9869 * nss/Makefile (libnss_files-routines): Add files-init.
9870 (libnss_db-routines): Add db-init.
9871 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9872 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9873 * nss/nss_db/db-init.c: New file.
9874 * nss/nss_files/files-init.c: New file.
9875 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9876 __nss_lookup_function.
9877 (__nss_lookup_function): Call nss_load_library.
9878 (nss_load_all_libraries): New function.
9879 (__nss_disable_nscd): Take parameter with callback function for files
9880 to register. Set is_nscd. Load all the DSOs for the NSS modules
9881 used for the cached services.
9882 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9883 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9884 options for features to all the files in nscd.
9885
9886 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9887
23bee3e8
RM
98882011-07-10 Roland McGrath <roland@hack.frob.com>
9889
9890 * csu/elf-init.c (__libc_csu_init): Comment typo.
9891
46a5b7f0
UD
98922011-07-09 Ulrich Drepper <drepper@gmail.com>
9893
9894 * po/pl.po: Update from translation team.
9895 * po/ja.po: Likewise.
9896 * po/ru.po: Likewise.
9897 * po/ko.po: Likewise.
9898 * po/fr.po: Likewise.
9899
d30cf5bb
RM
99002011-07-09 Roland McGrath <roland@hack.frob.com>
9901
113ddea4
RM
9902 * configure.in (.ctors/.dtors header and trailer check):
9903 Use an empirical test on a built program.
9904 * configure: Regenerated.
9905
574920b4
RM
9906 * configure.in (-z relro check): Use an empirical test on a built DSO.
9907 Detect, but do not require, on ia64.
9908 * configure: Regenerated.
9909
d30cf5bb
RM
9910 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9911 Update tests that use readelf to use $READELF instead.
9912 * configure: Regenerated.
9913
8538fdb3
UD
99142011-07-08 Ulrich Drepper <drepper@gmail.com>
9915
9916 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9917 if the result is not used.
9918
04d08991
AJ
99192011-07-05 Andreas Jaeger <aj@suse.de>
9920
9921 [BZ#9696]
9922 * stdlib/tst-strtod.c: Add testcase.
9923
de283087
AD
99242011-07-07 Ulrich Drepper <drepper@gmail.com>
9925
4e5f31c8 9926 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9927 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9928 The latter has a higher limit. Take additional parameter to pass to
9929 the new function.
9930 (__pathconf): Pass file to __statfs_link_max.
9931 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9932 __statfs_link_max.
9933 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9934 __statfs_link_max.
9935
de283087
AD
9936 [BZ #12868]
9937 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9939 Handle Lustre.
9940 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9941 (__statfs_filesize_max): Likewise.
9942 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9943
c75fa153
AJ
99442011-07-05 Andreas Jaeger <aj@suse.de>
9945
9946 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9947
1a544854
UD
99482011-07-06 Marek Polacek <mpolacek@redhat.com>
9949
9950 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9951 `status' variable.
9952 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9953 Likewise.
9954
6f0eec67
UD
99552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * Makefile (strop-tests): Add strncat.
9958 * string/test-strncat.c: New file.
9959
aae30307
UD
99602011-06-30 Marek Polacek <mpolacek@redhat.com>
9961
9962 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9963
c0cfb5eb
UD
99642011-06-21 Andreas Jaeger <aj@suse.de>
9965
9966 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9967 Copy rule from iconvdata/Makefile.
9968
01636b21
UD
99692011-07-06 Ulrich Drepper <drepper@gmail.com>
9970
9971 [BZ #12922]
9972 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9973 but no long options are defined, just return 'W'.
9974
9895c8bc
UD
99752011-06-22 Marek Polacek <mpolacek@redhat.com>
9976
9977 [BZ #9696]
9978 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9979
5d4cf042
UD
99802011-07-06 Ulrich Drepper <drepper@gmail.com>
9981
9982 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9983 netgroups to read.
960e5535 9984 (innetgr): Likewise.
5d4cf042 9985
751eb97e
RM
99862011-07-05 Roland McGrath <roland@hack.frob.com>
9987
9988 * config.make.in (install_root): Default to $(DESTDIR).
9989
f15f1e45
UD
99902011-07-05 Ulrich Drepper <drepper@gmail.com>
9991
9992 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9993
4e34ac6a
RM
99942011-07-02 Roland McGrath <roland@hack.frob.com>
9995
5e9b6af4
RM
9996 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9997
84f9ea0f
RM
9998 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9999 containing directory rather than embedding absolute directory names.
10000
ea5ee9f7
RM
10001 * scripts/check-local-headers.sh: Rewritten using awk.
10002 Match by word, not by line. Print error messages for matches.
10003 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10004
1b74661a
RM
10005 * Makerules [shlib-lds-flags empty]:
10006 ($(common-objpfx)libc_pic.opts): New target.
10007 ($(common-objpfx)libc_pic.os.clean): New target.
10008 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10009
10010 * config.make.in (OBJCOPY): New variable.
10011 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10012 * configure: Regenerated.
10013
f781ef40
RM
10014 * config.make.in (use-default-link): New variable.
10015 * configure.in (use_default_link): Grok --with-default-link to set it.
10016 * configure: Regenerated.
10017 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10018 (shlib-lds, shlib-lds-flags): Define to empty.
10019
2d4fa81e
RM
10020 * Makerules (shlib-lds): New variable.
10021 (shlib-lds-flags): New variable.
10022 (build-shlib, build-moduile, build-module-asneeded): Use it.
10023 ($(common-objpfx)libc.so): Use $(shlib-lds).
10024 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10025 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10026
31fffa6b
RM
10027 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10028 DT_FLAGS/DT_FLAGS_1 with zero flags.
10029
4e34ac6a
RM
10030 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10031 linker script munging.
10032
fcfc776b
UD
100332011-07-02 Ulrich Drepper <drepper@gmail.com>
10034
10035 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10036 as 128-bit value.
10037 * crypt/sha512.c (sha512_process_block): Perform total addition using
10038 128-bit if possible.
10039 (__sha512_finish_ctx): Likewise.
10040 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10041 as 64-bit value.
10042 * crypt/sha256.c (SWAP64): Define.
10043 (sha256_process_block): Perform total addition using 64-bit if
10044 possible.
10045 (__sha256_finish_ctx): Likewise.
10046
99231d9a
UD
100472011-07-01 Ulrich Drepper <drepper@gmail.com>
10048
10049 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10051 * nscd/hstcache.c (cache_addhst): Likewise.
10052 * nscd/grpcache.c (cache_addgr): Likewise.
10053 * nscd/aicache.c (addhstaiX): Likewise
10054 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10055
445b4a53
TK
100562011-07-01 Thorsten Kukuk <kukuk@suse.de>
10057
10058 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10060 * nscd/hstcache.c (cache_addhst): Likewise.
10061 * nscd/grpcache.c (cache_addgr): Likewise.
10062 * nscd/aicache.c (addhstaiX): Likewise
10063
6d4d8e8e
AS
100642011-07-01 Andreas Schwab <schwab@redhat.com>
10065
10066 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10067 domain only when needed.
10068
89f654c5
AS
100692011-06-30 Andreas Schwab <schwab@redhat.com>
10070
10071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10072 is always restored.
10073
cf3b23ff
UD
100742011-06-29 Ulrich Drepper <drepper@gmail.com>
10075
10076 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10077 are re-adding the entry.
10078 * nscd/servicescache.c (cache_addserv): Likewise.
10079
751626f9
AJ
100802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10081
10082 * sysdeps/generic/dl-irel.h: fix protection against multiple
10083 inclusions.
10084 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10085
9113ea1f
UD
100862011-06-28 Ulrich Drepper <drepper@gmail.com>
10087
5c0b8d90
UD
10088 [BZ #12935]
10089 * malloc/memusage.sh: Fix quoting in message.
10090 * debug/xtrace.sh: Likewise.
10091
9113ea1f
UD
10092 * configure.in: Remove support for --experimental-malloc option, make
10093 it the default.
10094 * config.make.in: Likewise.
10095 * malloc/Makefile: Likewise.
10096
a4172181
AS
100972011-06-27 Andreas Schwab <schwab@redhat.com>
10098
10099 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10100 two-byte characters.
10101
78a7eee7
RM
101022011-06-27 Roland McGrath <roland@hack.frob.com>
10103
62bede13
RM
10104 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10105 AC_CACHE_CHECK invocation.
10106 * configure: Regenerated.
10107
78a7eee7
RM
10108 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10109
5ce33a62
UD
101102011-06-27 Ulrich Drepper <drepper@gmail.com>
10111
034807a9
UD
10112 [BZ #12350]
10113 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10114 bit from old_res_options.
10115
4902da17
UD
10116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10117
5ce33a62
UD
10118 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10119 value type for setfct.
10120
c2344f56
L
101212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10122
10123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10124 __gettimeofday instead of gettimeofday.
10125
68468076
UD
101262011-06-26 Ulrich Drepper <drepper@gmail.com>
10127
10128 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10129
acb0d739
L
101302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10133
10134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10135 info.
10136
8912479f
L
101372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10140 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10141 strcpy-sse2-unaligned strncpy-sse2-unaligned
10142 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10143 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10144 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10145 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10146 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10149 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10150 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10151 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10152 (STRCPY): Support SSE2 and SSSE3 versions.
10153
d5495a11
UD
101542011-06-24 Ulrich Drepper <drepper@gmail.com>
10155
10156 [BZ #12874]
10157 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10158 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10159 kernels which artificially limit size of requests.
10160
0b1cbaae
L
101612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10162
10163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10164 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10165 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10166 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10167 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10168 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10169 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10170 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10173 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10174 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10175 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10176 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10177 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10179 Enable unaligned load optimization for Intel Core i3, i5 and i7
10180 processors.
10181 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10182 Define.
10183 (index_Fast_Unaligned_Load): Define.
10184 (HAS_FAST_UNALIGNED_LOAD): Define.
10185
07f494a0
MP
101862011-06-23 Marek Polacek <mpolacek@redhat.com>
10187
10188 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10189
fa3fc0fe
UD
101902011-06-22 Ulrich Drepper <drepper@gmail.com>
10191
10192 [BZ #12907]
10193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10194 until it is clear that the information is realy needed.
10195 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10196
e12df166
AS
101972011-06-22 Andreas Schwab <schwab@redhat.com>
10198
10199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10200
852eb34d
UD
102012011-06-22 Ulrich Drepper <drepper@gmail.com>
10202
84e2a551
UD
10203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10204 /sys/devices/system/cpu/online if it is usable.
10205
852eb34d
UD
10206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10207 reading the information from the /proc filesystem to once a second.
10208
6e502e19
UD
102092011-06-21 Andreas Jaeger <aj@suse.de>
10210
10211 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10212 NULL after inclusion of kernel headers.
10213
75d39ff2
UD
102142011-06-21 Ulrich Drepper <drepper@gmail.com>
10215
51f9aa6a
UD
10216 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10217 calls to internal_setent.
10218
c0244a9d
UD
10219 [BZ #12885]
10220 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10221 addresses using gethostbyname4_r ignore IPv4 addresses.
10222
c5e3c2ae
UD
10223 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10224 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10225
75d39ff2
UD
10226 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10227
42675c6f
DM
102282011-06-20 David S. Miller <davem@davemloft.net>
10229
10230 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10231 inclusions.
10232 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10233
10234 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10235 (elf_irel): Use it.
10236 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10237 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10238 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10239 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10240 * sysdeps/x86_64/dl-irel.h: Likewise.
10241
10242 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10243 * elf/dl-sym.c: Likewise.
10244
57912a71
UD
102452011-06-15 Ulrich Drepper <drepper@gmail.com>
10246
10247 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10248 need to dereference resplen2.
10249
ee22793d
AS
102502011-06-14 Andreas Schwab <schwab@redhat.com>
10251
10252 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10253
a9e836b0
UD
102542011-06-15 Ulrich Drepper <drepper@gmail.com>
10255
77fb9117
UD
10256 * Makeconfig: Define vardbdir and inst_vardbdir.
10257 * nss/Makefile: Add rules to install db-Makefile.
10258
40c1b22c
UD
10259 * nss/nss_db/db-XXX.c: Cleanup.
10260
9f2da732
UD
10261 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10262 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10263 GLIBC_PRIVATE.
10264 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10265 * nss/makedb.c: Implement -g option to specify that value strings
10266 are generated and should not be added to table iterated over for
10267 get*ent calls.
10268 * nss/nss_db/db-initgroups.c: New file.
10269
82e9a1f7
UD
10270 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10271 interface.
10272
c41af17e
UD
10273 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10274 (internal_getgrouplist): Adjust to name change.
10275 Update use_initgroups_entry if this is not the first call.
10276 * nss/databases.def: Add initgroups entry.
10277
a9e836b0
UD
10278 * nss/makedb.c (compute_tables): Check result of multiple hash table
10279 sizes to minimize maximum chain length.
10280
2666d441
UD
102812011-06-14 Ulrich Drepper <drepper@gmail.com>
10282
10283 * Versions.def: Add entry for libnss_db.
10284 * shlib-versions: Likewise.
10285 * nss/Makefile: Add rules to build libnss_db.
10286 * nss/Versions: Add libnss_db information. Organize libnss_files
10287 entries better.
10288 * nss/db-Makefile: Add gshadow support. Change rules for the new
10289 makedb progra. Some minor improvements to generate smaller files.
10290 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10291 here from...
10292 * nss/makedb.c: ...here.
10293 Improve database format to be smaller and require less memory at
10294 runtime.
10295 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10296 db anymore.
10297 * nss/nss_db/db-netgrp.c: Likewise.
10298 * nss/nss_db/db-open.c: Likewise.
10299 * nss/nss_files/flies-XXX.x: Adjust comments.
10300 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10301 * nss/nss_files/files-grp.c: Likewise.
10302 * nss/nss_files/files-hosts.c: Likewise.
10303 * nss/nss_files/files-network.c: Likewise.
10304 * nss/nss_files/files-proto.c: Likewise.
10305 * nss/nss_files/files-pwd.c: Likewise.
10306 * nss/nss_files/files-rpc.c: Likewise.
10307 * nss/nss_files/files-service.c: Likewise.
10308 * nss/nss_files/files-sgrp.c: Likewise.
10309 * nss/nss_files/files-spwd.c: Likewise.
10310 * nss/nss_db/db-alias.c: Removed.
10311 * nss/nss_db/dummy-db.h: Removed.
10312
9ee76b5a
UD
103132011-06-02 Ulrich Drepper <drepper@gmail.com>
10314
10315 * nss/makedb.c: Rewritten to not use database library.
10316 * nss/Makefile: Update to build new makedb program.
10317
c71ca1f8
AJ
103182011-06-14 Andreas Jaeger <aj@suse.de>
10319
10320 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10321 memset declaration.
10322
3154bfb8
UD
103232011-06-10 Andreas Schwab <schwab@redhat.com>
10324
10325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10326 tmpbuf.
10327
b350afab
RM
103282011-06-10 Roland McGrath <roland@hack.frob.com>
10329
decd4e50
RM
10330 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10331 * elf/Makefile ($(objpfx)ld.so): Likewise.
10332
5615eaf2
RM
10333 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10334 Don't list ld.so twice in dependencies.
10335
10336 * posix/bug-regex31.c: Include <stdlib.h>.
10337
10338 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10339
10340 * nis/nss_compat/compat-spwd.c
10341 (getspent_next_nss_netgr): Remove unused variable.
10342 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10343
10344 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10345 nonmembers" output to use the right array.
10346
10347 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10348
10349 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10350
10351 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10352 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10353 * catgets/gencat.c (read_input_file): Likewise.
10354 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10355
10356 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10357 variable definition inside #if's controlling its use.
10358
10359 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10360
10361 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10362
10363 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10364
10365 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10366 unreachable code.
10367
10368 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10369
b68e08db
RM
10370 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10371 * configure: Regenerated.
10372
b350afab
RM
10373 * Makerules: Revert last change.
10374 * elf/Makefile: Likewise.
10375
28368601
RM
103762011-06-09 Roland McGrath <roland@hack.frob.com>
10377
10378 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10379 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10380 (reloc-link): Likewise.
10381
11988f8f
UD
103822011-06-09 Ulrich Drepper <drepper@gmail.com>
10383
10384 * elf/Makefile: Add rules to build pldd.
10385 * elf/pldd.c: New file.
10386 * elf/pldd-xx.c: New file.
10387
e80fab37
UD
103882011-06-07 Ulrich Drepper <drepper@gmail.com>
10389
10390 * version.h: Update for 2.15 development version.
10391
9b849836
DM
103922011-06-07 David S. Miller <davem@davemloft.net>
10393
10394 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10395 ifuncs.
10396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10397 elf_machine_lazy_rel): Likewise.
10398 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10400 elf_machine_lazy_rel): Likewise.
10401 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10402 dl_hwcap via passed in argument.
10403 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10404 Likewise.
10405
5a31b283
AK
104062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10407
10408 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10409
069e52f8
RM
104102011-06-06 Roland McGrath <roland@hack.frob.com>
10411
10412 [BZ #12849]
10413 * manual/fdl-1.1.texi: New file, verbatim from:
10414 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10415 * manual/lgpl-2.1.texi: New file, verbatim from:
10416 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10417 * manual/Makefile (licenses): New variable, list those new file names.
10418 (texis): Use it.
10419 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10420
10421 * manual/fdl.texi: File removed.
10422 * manual/lesser.texi: File removed.
10423 * manual/libc.texinfo (Copying, Documentation License):
10424 Use new @include file names, put @appendix directive before @include.
10425
f16846a5
JJ
104262011-06-04 Jakub Jelinek <jakub@redhat.com>
10427
10428 [BZ #12841]
10429 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10430 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10431 (mq_open): Add __NTH.
10432
3d29045b
L
104332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10434
10435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10436 Assume Intel Core i3/i5/i7 processor if AVX is available.
10437
8c297311
UD
104382011-05-31 Ulrich Drepper <drepper@gmail.com>
10439
10440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10441 typo.
10442
c8fc0c91
UD
104432011-05-31 Andreas Schwab <schwab@redhat.com>
10444
10445 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10446 memory. Use alloca_account. Fix memory leak when retrying.
10447
5b27a807
UD
104482011-05-31 Ulrich Drepper <drepper@gmail.com>
10449
356f8bc6
UD
10450 * version.h (RELEASE): Bump for 2.14 release.
10451 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10452
5b27a807
UD
10453 * config.make.in (RANLIB): Remove entry.
10454
01f16ab0
UD
104552011-05-30 Ulrich Drepper <drepper@gmail.com>
10456
41fce8bd
UD
10457 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10458 (libc.pot): Work around missing support for .ksh extension in xgettext.
10459
4769ae77
UD
10460 [BZ #12684]
10461 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10462 if both request failed.
10463 (send_dg): In case of server errors clear resplen or *resplen2.
10464
6b1e7d19
UD
10465 [BZ #12454]
10466 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10467 when there are multiple maps.
10468 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10469 (_dl_fini): Remove test here.
10470
01f16ab0
UD
10471 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10472
b1ebd700
UD
104732011-05-29 Ulrich Drepper <drepper@gmail.com>
10474
7ae22829
UD
10475 [BZ #12350]
10476 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10477 bit from old_res_options.
10478 (gaih_inet): Likewise.
10479
553149f6 10480 [BZ #11099]
18a84741 10481 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10482 as signed.
10483
652ffab1
UD
10484 * resolv/res_init.c (res_setoptions): Make the code more compact.
10485
16985fd0
UD
10486 [BZ #11558]
10487 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10488 set RES_USEVC.
10489
0464f746
UD
10490 [BZ #11634]
10491 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10492
7d17596c
UD
10493 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10494
cf6bbbd7
UD
10495 [BZ #11781]
10496 * malloc/malloc.h: Declare malloc hook variables as volatile.
10497
13f1ab36
UD
10498 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10499 in last patch.
10500
b1ebd700
UD
10501 [BZ #11799]
10502 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10503 raise in the comment.
80e2212d
UD
10504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10505 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10506 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10507
ce67228d
UD
105082011-05-28 Ulrich Drepper <drepper@gmail.com>
10509
8887a920
UD
10510 [BZ #12811]
10511 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10512 grow the buffers more if it already has to be sufficient.
10513 (build_wcs_upper_buffer): Likewise.
10514 * posix/regexec.c (check_matching): Likewise.
10515 (clean_state_log_if_needed): Likewise.
10516 (extend_buffers): Don't enlarge buffers beyond size of the input
10517 buffer.
10518 Patches mostly by Emil Wojak <emil@wojak.eu>.
10519 * posix/bug-regex32.c: New file.
10520 * posix/Makefile (tests): Add bug-regex32.
10521
4f031072
UD
10522 * locale/findlocale.c (_nl_find_locale): Return right away if
10523 _nl_explode_name failed.
10524 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10525
d0478f0c
UD
10526 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10527
de81b246
UD
10528 * debug/xtrace.sh: Unify messages.
10529 * malloc/memusage.sh: Likewise.
10530
c738465a
UD
10531 [BZ #12813]
10532 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10533 time symbol from vDSO. Substitute with vsyscall if not available.
10534 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10535 __vdso_time.
10536
f1f929d7
UD
10537 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10538 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10539 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10540 Add sendmmsg and internal_sendmmsg.
10541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10542 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10543 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10544
ce67228d
UD
10545 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10546 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10547 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10548
e57420c6
UD
105492011-05-27 Ulrich Drepper <drepper@gmail.com>
10550
a8509ca5
UD
10551 [BZ #12813]
10552 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10553 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10554 available.
10555 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10556 __vdso_getcpu.
10557
e57420c6
UD
10558 [BZ #12814]
10559 * iconvdata/Makefile (tests): Add bug-iconv9.
10560 * iconvdata/bug-iconv9.c: New file.
10561
4d07db15
AS
105622011-05-27 Andreas Schwab <schwab@redhat.com>
10563
10564 [BZ #12814]
10565 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10566
ea486f69
JJ
105672011-05-25 Jakub Jelinek <jakub@redhat.com>
10568
10569 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10570 (struct user_regs_struct): Change intcs field back to cs.
10571
6f038433
UD
105722011-05-25 Ulrich Drepper <drepper@gmail.com>
10573
10574 * po/ja.po: Update from translation team.
10575
67f86a25
UD
105762011-05-23 Ulrich Drepper <drepper@gmail.com>
10577
10578 [BZ #12795]
10579 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10580 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10581
def7fbd6
AS
105822011-05-20 Andreas Schwab <schwab@redhat.com>
10583
10584 * stdlib/longlong.h: Update from GCC.
10585
f50ef8f1
AS
105862011-05-23 Andreas Schwab <schwab@redhat.com>
10587
10588 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10589 parameter name.
10590 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10591 Add parameter name.
10592 (__sysconf): Pass it down.
10593
de7ce8f1
UD
105942011-05-22 Ulrich Drepper <drepper@gmail.com>
10595
f2962a71
UD
10596 [BZ #12671]
10597 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10598 some situations.
10599 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10600 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10601 add in in __libc_use_alloca calls. Adjust callers.
10602 (glob): Use malloc in some situations.
10603
de7ce8f1
UD
10604 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10605 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10606 pltexit.
10607
aec84f53
UD
106082011-05-21 Ulrich Drepper <drepper@gmail.com>
10609
05bb4a68
UD
10610 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10611 and CLOCK_BOOTTIME_ALARM.
10612
7ea72f99
UD
10613 [BZ #12782]
10614 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10615 is returned.
10616
7e4afad5
UD
10617 * string/_strerror.c (__strerror_r): Print negative errors as signed
10618 numbers.
10619
8e211fec
UD
10620 [BZ #12777]
10621 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10622 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10623 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10624
f7d82dc9
UD
10625 * configure.in: Fix typo in redirection and correct removal of test
10626 files in two cases.
10627
cc9e536d
UD
10628 [BZ #12788]
10629 * locale/setlocale.c (new_composite_name): Fix test to check for
10630 identical name of all categories.
10631
aec84f53
UD
10632 [BZ #12792]
10633 * libio/filedoalloc.c (local_isatty): New function.
10634 (_IO_file_doallocate): Use local_isatty.
10635 * stdio-common/perror.c (perror): In case a new stream is used
10636 forward the stream error.
10637 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10638 error flag.
10639
78e64fdc
RT
106402011-05-20 Ulrich Drepper <drepper@gmail.com>
10641
34a9094f
UD
10642 [BZ #11869]
10643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10644 alloca.
10645 * include/alloca.h (extend_alloca_account): Define.
10646
78e64fdc
RT
10647 [BZ #11857]
10648 * posix/regex.h: Fix comments with documentation of user-accessible
10649 fields after compilation and describe correct free'ing of pattern
10650 after re_compile_pattern.
10651 Patch by Reuben Thomas <rrt@sc3d.org>.
10652
457bddfc
RA
106532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10654
10655 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10656 and -mno-altivec to prevent the compiler from using Altivec and/or
10657 VSX instructions when the corresponding registers are not available.
10658
a4527b51
AS
106592011-05-19 Andreas Schwab <schwab@redhat.com>
10660
10661 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10662
ed690b2f
UD
106632011-05-19 Ulrich Drepper <drepper@gmail.com>
10664
10665 * libio/freopen.c (freopen): Use __dup2, not dup2.
10666 * libio/freopen64.c (freopen64): Likewise.
10667
8db73634
L
106682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10669
10670 [BZ #12775]
10671 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10672 * math/Makefile (tests): Add test-powl.
10673 (CFLAGS-test-powl.c): Define.
10674 * math/test-powl.c: New file.
10675
0a197a9d
L
106762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10677
10678 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10679
ee30c380
UD
106802011-05-17 Ulrich Drepper <drepper@gmail.com>
10681
10682 [BZ #11837]
10683 * iconvdata/gb18030.c: Update to GB18020-2005.
10684
6ce75379
UD
106852011-05-16 Ulrich Drepper <drepper@gmail.com>
10686
a4b89fd8
AR
10687 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10688 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10689 Patch by Aharon Robbins <arnold@skeeve.com>.
10690
ea389b12
UD
10691 [BZ #11892]
10692 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10693 on the stack.
10694
68a3f91f
UD
10695 [BZ #11895]
10696 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10697 through underflows.
10698
15cc7dd1
UD
10699 [BZ #12766]
10700 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10701 point to strings before performing equality test for error_one_per_line
10702 mode.
10703
f3799213
UD
10704 [BZ #11697]
10705 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10706
d79a9c94
UD
10707 [BZ #11820]
10708 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10709 (struct user_fpregs_struct): Avoid __uint*_t types.
10710
56e5eb46
UD
10711 [BZ #6420]
10712 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10713 symbol info. Use it instead of calling _dl_addr locally.
10714 (lock_and_info): New function.
10715 (tr_freehook): Call lock_and_info and pass symbol info as additional
10716 parameter to tr_where.
10717 (tr_mallochook): Likewise.
10718 (tr_reallochook): Likewise.
10719 (tr_memalignhook): Likewise.
10720
6ce75379
UD
10721 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10722 used and couldn't be at all thread-safe.
10723
f8a3b5bf
UD
107242011-05-15 Ulrich Drepper <drepper@gmail.com>
10725
94b7cc37
UD
10726 * libio/freopen.c (freopen): Don't close old file descriptor
10727 before the new one is opened. Instead dup the new file descriptor
10728 to the old one after the new stream is created.
10729 * libio/freopen64.c (freopen64): Likewise.
10730 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10731 * libio/fileops.c (_IO_new_file_close_it): Handle new
10732 _IO_FLAGS2_NOCLOSE flag.
10733 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10734 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10735 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10736 _IO_FLAGS2_NOCLOSE flag.
10737 * include/unistd.h: Add hidden_proto for dup3.
10738 Define __have_dup3.
10739 * io/dup3.c: Define hidden symbol.
10740 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10741
bd25564e
UD
10742 [BZ #7101]
10743 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10744 when an incomplete long option is used.
10745 * posix/tst-getopt_long1.c: New file.
10746 * posix/Makefile (tests): Add tst-getopt_long1.
10747
c84cfef4
UD
10748 [BZ #10138]
10749 * scripts/config.guess: Update from autoconf-2.68.
10750 * scripts/config.sub: Likewise.
10751
3b85df27
UD
10752 [BZ #10157]
10753 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10754 tests into ...
10755 (has_cpuclock): ...this. New function.
10756 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10757 macro here based on has_cpuclock code.
10758
15a856b1
UD
10759 [BZ #10149]
10760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10761 First byte (not low byte) is now always NUL.
10762 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10763
05f399e6
UD
10764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10765 Use non-cancelable interfaces.
10766
10a52685 10767 [BZ #9809]
94ecc67d
UD
10768 * locale/iso-639.def: Add entry for Sorani.
10769
f8a3b5bf
UD
10770 [BZ #11901]
10771 * include/stdlib.h: Move include protection to the right place.
10772 Define abort_msg_s. Declare __abort_msg with it.
10773 * stdlib/abort.c (__abort_msg): Adjust type.
10774 * assert/assert.c (__assert_fail_base): New function. Majority
10775 of code from __assert_fail. Allocate memory for __abort_msg with
10776 mmap.
10777 (__assert_fail): Now call __assert_fail_base.
10778 * assert/assert-perr.c: Remove bulk of implementation. Use
10779 __assert_fail_base.
10780 * include/assert.hL Declare __assert_fail_base.
10781 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10782 mmap.
10783 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10784
1af4e298
UD
107852011-05-14 Ulrich Drepper <drepper@gmail.com>
10786
f8a3b5bf 10787 [BZ #11952]
d26dfc60
MG
10788 [BZ #12453]
10789 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10790 until all modules are registered in the DTV.
10791 * elf/Makefile: Add rules to build and run tst-tls19.
10792 * elf/tst-tls19.c: New file.
10793 * elf/tst-tls19mod1.c: New file.
10794 * elf/tst-tls19mod2.c: New file.
10795 * elf/tst-tls19mod3.c: New file.
10796 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10797
2fc54d6f
UD
10798 [BZ #12083]
10799 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10800 correctly.
10801
98d76b46
UD
10802 [BZ #12601]
10803 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10804 two-byte sequence errors.
10805 * iconvdata/Makefile (tests): Add bug-iconv8.
10806 * iconvdata/bug-iconv8.c: New file.
10807
da3c19ef
UD
10808 [BZ #12626]
10809 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10810 buf2 definition.
10811
ca408c15
UD
10812 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10813
d6f67f7d
UD
10814 [BZ #12432]
10815 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10816 (dummy_getcfa): New function.
10817 (init): Get _Unwind_GetCFA address, use dummy if not found.
10818 (backtrace_helper): In recursion check, also check whether CFA changes.
10819 (__backtrace): Completely initialize arg.
10820
1af4e298 10821 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10822 storing incomplete byte sequence in state object. Avoid testing for
10823 guaranteed too small input if we know there is enough data available.
1af4e298 10824
da62f81b
AS
108252011-05-11 Andreas Schwab <schwab@redhat.com>
10826
10827 * Makeconfig (+link-pie): Indent.
10828 * Rules (binaries-pie): Define if $(have-fpie) and
10829 $(build-shared).
10830 (binaries-shared): Also filter out $(binaries-pie).
10831 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10832 * nscd/Makefile (others-pie): Add nscd.
10833 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10834 ($(objpfx)nscd): Remove command override.
10835 * login/Makefile (others-pie): Add pt_chown.
10836 ($(objpfx)pt_chown): Remove command override.
10837 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10838 remove command overrides.
10839
fcabc0f8
UD
108402011-05-13 Ulrich Drepper <drepper@gmail.com>
10841
20030ae6
UD
10842 * libio/tst_putwc.c: Fix error messages.
10843
fcabc0f8
UD
10844 [BZ #12724]
10845 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10846 currently writing and seek to current position when not.
10847 * libio/Makefile (tests): Add bug-fclose1.
10848 * libio/bug-fclose1.c: New file.
10849
320a5dc0
PB
108502011-05-12 Ulrich Drepper <drepper@gmail.com>
10851
10852 [BZ #12511]
10853 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10854 don't set DF_1_NODELETE here.
10855 (do_lookup_x): When entering new entry test for copy relocation
10856 and if necessary set DF_1_NODELETE flag.
10857 * elf/tst-unique4.cc: New file.
10858 * elf/tst-unique4.h: New file.
10859 * elf/tst-unique4lib.cc: New file.
10860 * elf/Makefile: Add rules to build and run tst-unique4.
10861 Patch by Piotr Bury <pbury@goahead.com>.
10862
22836f52
UD
108632011-05-11 Ulrich Drepper <drepper@gmail.com>
10864
f574184a
UD
10865 [BZ #12052]
10866 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10867
e1fb097f
UD
10868 [BZ #12625]
10869 * misc/mntent_r.c (addmntent): Flush the stream after the output
10870
22836f52
UD
10871 [BZ #12393]
10872 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10873 (is_trusted_path_normalize): Skip initial colon. Append slash
10874 to empty buffer. Duplicate is_trusted_path code but allow
10875 constructed patch to be prefix.
10876 (is_dst): Allow $ORIGIN followed by /.
10877 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10878 Correct testing of result of is_trusted_path_normalize
10879 (decompose_rpath): Fix warning.
10880
7b3b0b2a
UD
108812011-05-10 Ulrich Drepper <drepper@gmail.com>
10882
10883 [BZ #11257]
10884 * grp/initgroups.c (internal_getgrouplist): When we found the service
10885 list through the initgroups entry in nsswitch.conf do not always
10886 continue on a successful lookup. Don't always use the
eac80ce2 10887 __nss_group_database value if it is set.
7b3b0b2a
UD
10888 * nss/nsswitch.conf (initgroups): Change action for successful db
10889 lookup to continue for compatibility.
10890
2a81eaa5
UD
108912011-05-09 Ulrich Drepper <drepper@gmail.com>
10892
be97a69e
UD
10893 [BZ #11532]
10894 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10895 and CP774 modules.
10896 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10897 and CP774 modules.
10898 * iconvdata/tst-tables.sh: Likewise.
10899 * iconvdata/cp770.c: New file.
10900 * iconvdata/cp771.c: New file.
10901 * iconvdata/cp772.c: New file.
10902 * iconvdata/cp773.c: New file.
10903 * iconvdata/cp774.c: New file.
10904 * iconvdata/testdata/CP770: New file.
10905 * iconvdata/testdata/CP770..UTF8: New file.
10906 * iconvdata/testdata/CP771: New file.
10907 * iconvdata/testdata/CP771..UTF8: New file.
10908 * iconvdata/testdata/CP772: New file.
10909 * iconvdata/testdata/CP772..UTF8: New file.
10910 * iconvdata/testdata/CP773: New file.
10911 * iconvdata/testdata/CP773..UTF8: New file.
10912 * iconvdata/testdata/CP774: New file.
10913 * iconvdata/testdata/CP774..UTF8: New file.
10914
10915 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10916 END CHARMAP line.
10917 * iconvdata/gen-8bit-gap.sh: Likewise.
10918 * iconvdata/gen-8bit.sh: Likewise.
10919
c1e9e399
UD
10920 * locale/iso-639.def: Add ary entry.
10921
24c55fb3 10922 [BZ #11258]
96b4b1b0
UD
10923 * locale/C-translit.h.in: Add U20A1 transliteration.
10924
bdc2f971
KB
10925 [BZ #12178]
10926 * locale/iso-639.def: Add wae entry.
10927 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10928
2952b117
UD
10929 [BZ #12545]
10930 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10931 for n.
10932
2a81eaa5
UD
10933 [BZ #12711]
10934 * locale/C-translit.h.in: Add entry for U20B9.
10935 Patch by pravin.d.s@gmail.com.
10936
28377d1b
UD
109372011-05-08 Ulrich Drepper <drepper@gmail.com>
10938
7fb90fb8
UD
10939 [BZ #12713]
10940 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10941 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10942 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10943 in rtld. Use *stat64.
7fb90fb8 10944 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10945 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10946 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10947 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10948 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10949 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10950 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10951 __fstatat64 macros.
7fb90fb8
UD
10952 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10953 * dirent/rewinddir.c: Add libc_hidden_def.
10954 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10955 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10956
28377d1b
UD
10957 * include/dirent.h (__alloc_dir): Add flags parameter.
10958 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10959 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10960 __alloc_dir.
10961 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10962 from fdopendir if O_CLOEXEC is already set.
10963
66bdbaa4
AM
109642011-03-15 Alan Modra <amodra@gmail.com>
10965
10966 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10967 l_tls_firstbyte_offset non-zero. Save padding offset in
10968 l_tls_firstbyte_offset for later use.
10969 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10970 freeing static tls block.
10971
95721191
JN
109722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10973
10974 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10975 where #ifdef was intended. The intent is to prevent ARG_MAX from
10976 being defined by the kernel headers.
10977
f87dfb1f
UD
109782011-05-07 Ulrich Drepper <drepper@gmail.com>
10979
10980 [BZ #12734]
10981 * resolv/resolv.h: Define RES_NOTLDQUERY.
10982 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10983 no-tld-query and set RES_NOTLDQUERY.
10984 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10985 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10986 modern BIND to search name as TLD unless forbidden.
10987
47c3cd7a
UD
109882011-05-07 Petr Baudis <pasky@suse.cz>
10989 Ulrich Drepper <drepper@gmail.com>
10990
10991 [BZ #12393]
10992 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10993 (is_trusted_path): ...to here.
c1e9ea35 10994 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10995 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10996 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10997
8a35c912
PP
109982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10999
11000 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11001 __BEGIN/__END_DECLS.
11002
acd41f47
UD
110032011-05-06 Ulrich Drepper <drepper@gmail.com>
11004
11005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11006 NSS_STATUS_NOTFOUND if no record was found.
11007
597df647
AS
110082011-05-05 Andreas Schwab <schwab@redhat.com>
11009
11010 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11011 (headers-not-in-tirpc): Remove rpc/netdb.h
11012 * resolv/netdb.h: Revert last change.
11013
b9af1301
PP
110142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11015
11016 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11017 circular dependency between libgcc.a and libc.a.
11018
4e34d5f5
AS
110192011-05-05 Andreas Schwab <schwab@redhat.com>
11020
11021 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11022 * nis/Makefile: Don't install rpcsvc/*.
11023 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11024 instead of <rpc/types.h>.
11025 (MAXHOSTNAMELEN): Define.
11026
00ee369c
AS
110272011-05-03 Andreas Schwab <schwab@redhat.com>
11028
11029 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11030
0b592a30
MB
110312011-04-28 Maciej Babinski <mbabinski@google.com>
11032
11033 [BZ #12714]
11034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11035 gethostbyname4_r when IPv6 results are possible.
11036
6e04cbbe
UD
110372011-05-02 Ulrich Drepper <drepper@gmail.com>
11038
11039 [BZ #12723]
11040 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11041 _PC_PIPE_BUF handling.
11042
e4ecafe0
BH
110432011-04-30 Bruno Haible <bruno@clisp.org>
11044
11045 [BZ #12717]
11046 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11047 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11048 to 'int'.
11049 * inet/getnameinfo.c (getnameinfo): Likewise.
11050
125ee683
UD
110512011-04-29 Ulrich Drepper <drepper@gmail.com>
11052
11053 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11054 to groups setting in database lookup.
11055 * nss/nsswitch.conf: Add initgroups entry.
11056
b722481a
EB
110572011-04-22 Ulrich Drepper <drepper@gmail.com>
11058
11059 [BZ #12685]
11060 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11061 mode string.
11062 Patch by Eric Blake <eblake@redhat.com>.
11063
4df46dbd
L
110642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11065
11066 * sunrpc/Makefile (need-export-routines): Add svc_run.
11067 (routines): Remove svc_run.
11068 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11069 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11070 * sunrpc/svc_run.c (svc_run): Likewise.
11071 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11072
e84142d2
UD
110732011-04-21 Ulrich Drepper <drepper@gmail.com>
11074
11075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11076 problem in reallocation in last patch.
11077
877175d8
UD
110782011-04-20 Ulrich Drepper <drepper@gmail.com>
11079
11080 * sunrpc/Makefile: Move inclusion of Rules.
11081
ab8eed78
UD
110822011-04-19 Ulrich Drepper <drepper@gmail.com>
11083
11084 * nss/nss_files/files-initgroups.c: New file.
11085 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11086 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11087 _nss_files_initgroups_dyn.
11088
e3d8f584
RS
110892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11090
11091 * elf/elf.h (R_ARM_IRELATIVE): Define.
11092
af190f45
UD
110932011-04-19 Ulrich Drepper <drepper@gmail.com>
11094
11095 * po/ru.po: Update from translation team.
11096
53cf59ef
UD
110972011-04-17 Ulrich Drepper <drepper@gmail.com>
11098
11099 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11100 dependencies.
11101
4c559bcd
MF
111022011-02-06 Mike Frysinger <vapier@gentoo.org>
11103
11104 [BZ #12653]
11105 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11106 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11107 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11109 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11110
4420675c
AS
111112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11112
11113 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11114 differing bytes.
11115 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11116 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11118
75ea32ab
UD
111192011-04-17 Ulrich Drepper <drepper@gmail.com>
11120
11121 [BZ #12420]
11122 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11123 storing it.
11124 * stdlib/bug-getcontext.c: New file.
11125 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11126
27390476
AK
111272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11128
11129 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11130 instructions into .machine "z9-109".
11131 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11132 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11133
10442705
AK
111342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11135
11136 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11137 between environment variables and auxiliary vector.
11138
7b57bfe5
UD
111392011-04-16 Ulrich Drepper <drepper@gmail.com>
11140
11141 * Makefile: Add rules to build linkobj/libc.so.
11142 * include/libc-symbols.h: Define libc_hidden_nolink.
11143 * include/rpc/auth.h: Mark functions which are to be hidden.
11144 * include/rpc/auth_des.h: Likewise.
11145 * include/rpc/auth_unix.h: Likewise.
11146 * include/rpc/clnt.h: Likewise.
11147 * include/rpc/des_crypt.h: Likewise.
11148 * include/rpc/key_prot.h: Likewise.
11149 * include/rpc/pmap_clnt.h: Likewise.
11150 * include/rpc/pmap_prot.h: Likewise.
11151 * include/rpc/pmap_rmt.h: Likewise.
11152 * include/rpc/rpc_msg.h: Likewise.
11153 * include/rpc/svc.h: Likewise.
11154 * include/rpc/svc_auth.h: Likewise.
11155 * include/rpc/xdr.h: Likewise.
11156 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11157 * nss/Makefile: Likewise.
11158 * sunrpc/Makefile: Don't install headers. Build library with normal
11159 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11160 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11161 for the compat linking library. Remove use of INTDEF/INTUSE.
11162 * sunrpc/auth_none.c: Likewise.
11163 * sunrpc/auth_unix.c: Likewise.
11164 * sunrpc/authdes_prot.c: Likewise.
11165 * sunrpc/authuxprot.c: Likewise.
11166 * sunrpc/clnt_gen.c: Likewise.
11167 * sunrpc/clnt_perr.c: Likewise.
11168 * sunrpc/clnt_raw.c: Likewise.
11169 * sunrpc/clnt_simp.c: Likewise.
11170 * sunrpc/clnt_tcp.c: Likewise.
11171 * sunrpc/clnt_udp.c: Likewise.
11172 * sunrpc/clnt_unix.c: Likewise.
11173 * sunrpc/des_crypt.c: Likewise.
11174 * sunrpc/des_soft.c: Likewise.
11175 * sunrpc/get_myaddr.c: Likewise.
11176 * sunrpc/key_call.c: Likewise.
11177 * sunrpc/key_prot.c: Likewise.
11178 * sunrpc/netname.c: Likewise.
11179 * sunrpc/pm_getmaps.c: Likewise.
11180 * sunrpc/pm_getport.c: Likewise.
11181 * sunrpc/pmap_clnt.c: Likewise.
11182 * sunrpc/pmap_prot.c: Likewise.
11183 * sunrpc/pmap_prot2.c: Likewise.
11184 * sunrpc/pmap_rmt.c: Likewise.
11185 * sunrpc/publickey.c: Likewise.
11186 * sunrpc/rpc_cmsg.c: Likewise.
11187 * sunrpc/rpc_common.c: Likewise.
11188 * sunrpc/rpc_dtable.c: Likewise.
11189 * sunrpc/rpc_prot.c: Likewise.
11190 * sunrpc/rpc_thread.c: Likewise.
11191 * sunrpc/rtime.c: Likewise.
11192 * sunrpc/svc.c: Likewise.
11193 * sunrpc/svc_auth.c: Likewise.
11194 * sunrpc/svc_authux.c: Likewise.
11195 * sunrpc/svc_raw.c: Likewise.
11196 * sunrpc/svc_run.c: Likewise.
11197 * sunrpc/svc_simple.c: Likewise.
11198 * sunrpc/svc_tcp.c: Likewise.
11199 * sunrpc/svc_udp.c: Likewise.
11200 * sunrpc/svc_unix.c: Likewise.
11201 * sunrpc/svcauth_des.c: Likewise.
11202 * sunrpc/xcrypt.c: Likewise.
11203 * sunrpc/xdr.c: Likewise.
11204 * sunrpc/xdr_array.c: Likewise.
11205 * sunrpc/xdr_float.c: Likewise.
11206 * sunrpc/xdr_intXX_t.c: Likewise.
11207 * sunrpc/xdr_mem.c: Likewise.
11208 * sunrpc/xdr_rec.c: Likewise.
11209 * sunrpc/xdr_ref.c: Likewise.
11210 * sunrpc/xdr_sizeof.c: Likewise.
11211 * sunrpc/xdr_stdio.c: Likewise.
11212
e6c61494
UD
112132011-04-10 Ulrich Drepper <drepper@gmail.com>
11214
11215 [BZ #12650]
11216 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11217 * sysdeps/ia64/dl-tls.h: Likewise.
11218 * sysdeps/powerpc/dl-tls.h: Likewise.
11219 * sysdeps/s390/dl-tls.h: Likewise.
11220 * sysdeps/sh/dl-tls.h: Likewise.
11221 * sysdeps/sparc/dl-tls.h: Likewise.
11222 * sysdeps/x86_64/dl-tls.h: Likewise.
11223 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11224
34fe483e
AS
112252011-03-14 Andreas Schwab <schwab@redhat.com>
11226
11227 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11228 rpath element also skip the following colon.
11229 (expand_dynamic_string_token): Add is_path parameter and pass
11230 down to DL_DST_REQUIRED and _dl_dst_substitute.
11231 (decompose_rpath): Call expand_dynamic_string_token with
11232 non-zero is_path. Ignore empty rpaths.
11233 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11234 with zero is_path.
11235
f12a32e6
AS
112362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11237
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11239 Make cancelable.
11240
38a7d692
UD
112412011-04-09 Ulrich Drepper <drepper@gmail.com>
11242
11243 [BZ #12655]
11244 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11245 Patch by Filipe David Manana <fdmanana@apache.org>.
11246
e451d22b
AS
112472011-04-07 Andreas Schwab <schwab@redhat.com>
11248
11249 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11250 Maintain aligned stack.
11251 (CHECK_RSP): Remove unused macro.
11252
dedc7c7b
UD
112532011-04-03 Ulrich Drepper <drepper@gmail.com>
11254
11255 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11256 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11257
94521213
UD
112582011-04-02 Ulrich Drepper <drepper@gmail.com>
11259
11260 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11261
8cb700c0 11262 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11263
0354e355
L
112642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 [BZ #12518]
11267 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11268 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11269 * sysdeps/x86_64/memmove.c: New file.
11270 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11271 (memcpy): Renamed to ...
11272 (__new_memcpy): This.
11273 (memcpy): Provide GLIBC_2_14 memcpy.
11274 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11275 (memcpy): Provide GLIBC_2_2_5 memcpy.
11276
8593482f
UD
112772011-04-01 Ulrich Drepper <drepper@gmail.com>
11278
11279 [BZ #12631]
11280 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11281
81a5726b
AS
112822011-03-30 Andreas Schwab <schwab@redhat.com>
11283
11284 * misc/syncfs.c: New file.
11285 * misc/Makefile (routines): Add syncfs.
11286 * posix/unistd.h: Declare syncfs.
11287 * sysdeps/unix/syscalls.list: Add syncfs.
11288
00e5419f
AS
112892011-04-01 Andreas Schwab <schwab@redhat.com>
11290
11291 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11292 open_by_handle_at.
11293 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11296 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11298 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11300
748876bf
UD
113012011-04-01 Ulrich Drepper <drepper@gmail.com>
11302
658e451d
UD
11303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11310
748876bf
UD
11311 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11312 sync_file_range.c with -fexceptions.
11313 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11314 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11315 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11316 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11317 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11318 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11320 sync_file_range as cancellation point
11321 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11322 now a wrapper around __call_sync_file_range with cancellation handling.
11323 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11324 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11325 function name to __call_sync_file_range.
11326 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11327 Add call_sync_file_range.
748876bf 11328
6e63d5e1
AS
113292011-04-01 Andreas Schwab <schwab@redhat.com>
11330
11331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11332 bits/timex.h.
6e63d5e1 11333
46998f74
UD
113342011-04-01 Ulrich Drepper <drepper@gmail.com>
11335
4c1423ed
UD
11336 * iconv/iconv.h: Fix typo in comment.
11337 * io/fcntl.h: Likewise.
11338 * libio/stdio.h: Likewise.
11339 * posix/spawn.h: Likewise.
11340 * posix/unistd.h: Likewise.
11341 * stdlib/stdlib.h: Likewise.
11342 * time/time.h: Likewise.
11343 * wcsmbs/wchar.h: Likewise.
11344
158648c0
UD
11345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11346 open_by_handle): Add.
11347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11348 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11349 Augment a few comments.
11350 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11352 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11355 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11356 open_by_handle.
11357
46998f74
UD
11358 * io/fcntl.h (AT_EMPTY_PATH): Define.
11359
83fe108b
UD
113602011-03-30 Ulrich Drepper <drepper@gmail.com>
11361
11362 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11363 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11364 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11365 to...
11366 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11367 * Versions.def: Add GLIBC_2.14.
11368 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11369 Export.
83fe108b 11370
bb242059
UD
113712011-03-22 Ulrich Drepper <drepper@gmail.com>
11372
11373 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11374 round counter.
11375 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11376
c97a1282
L
113772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11378
11379 [BZ #12597]
11380 * string/test-strncmp.c (do_page_test): New function.
11381 (check2): Likewise.
11382 (test_main): Call check2.
11383 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11384
2a115601
UD
113852011-03-20 Ulrich Drepper <drepper@gmail.com>
11386
11387 [BZ #12587]
11388 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11389 Handle cache information in CPU leaf 4.
11390 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11391
8126d904
UD
113922011-03-18 Ulrich Drepper <drepper@gmail.com>
11393
042c49c6 11394 [BZ #12583]
8126d904
UD
11395 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11396 character representation.
11397 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11398
ccfe366e
RA
113992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11400
11401 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11402 END(__isnan) to END(__isnanf) to match function entry point/label
11403 EALIGN(__isnanf,...).
11404
c6e13027
JJ
114052011-03-10 Jakub Jelinek <jakub@redhat.com>
11406
11407 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11408
33f85a3f
UD
114092011-03-10 Ulrich Drepper <drepper@gmail.com>
11410
028478fa
UD
11411 [BZ #12510]
11412 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11413 copy from the symbol referenced in the relocation to initialize the
11414 used variable.
11415 Patch by Piotr Bury <pbury@goahead.com>.
11416 * elf/Makefile: Add rules to build and tst-unique3.
11417 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11418 * elf/tst-unique3.cc: New file.
11419 * elf/tst-unique3.h: New file.
11420 * elf/tst-unique3lib.cc: New file.
11421 * elf/tst-unique3lib2.cc: New file.
11422
33f85a3f
UD
11423 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11424
03592fc7
MF
114252011-03-10 Mike Frysinger <vapier@gentoo.org>
11426
11427 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11428 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11429 to _start.
03592fc7 11430
6a5ee102
UD
114312011-03-06 Ulrich Drepper <drepper@gmail.com>
11432
11433 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11434 to-be-loaded object along a path to loader is ld.so.
11435
7e4ba49c
HJ
114362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11437 Ulrich Drepper <drepper@gmail.com>
11438
11439 * sysdeps/x86_64/memset.S: After aligning destination, code
11440 branches to different locations depending on the value of
11441 misalignment, when multiarch is enabled. Fix this.
11442
114432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11444
11445 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11446 Set _x86_64_preferred_memory_instruction for AMD processsors.
11447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11448 Set bit_Prefer_SSE_for_memop for AMD processors.
11449
13a804de
UD
114502011-03-04 Ulrich Drepper <drepper@gmail.com>
11451
11452 * libio/fmemopen.c (fmemopen): Optimize a bit.
11453
9d25c392
AS
114542011-03-03 Andreas Schwab <schwab@redhat.com>
11455
11456 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11457
a5543c6a
RM
114582011-03-03 Roland McGrath <roland@redhat.com>
11459
11460 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11461
012d35f7
DM
114622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11463
7e4ba49c 11464 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11465 __bzero_ultra1 instead of __memset_ultra1.
11466
4bff6e01
AS
114672011-02-23 Andreas Schwab <schwab@redhat.com>
11468 Ulrich Drepper <drepper@gmail.com>
11469
11470 [BZ #12509]
11471 * include/link.h (struct link_map): Add l_orig_initfini.
11472 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11473 returning unsuccessfully.
11474 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11475 close of a file loaded at startup, restore the original l_initfini
11476 list.
11477 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11478 list, store the pointer.
11479 * elf/Makefile ($(objpfx)noload-mem): New rule.
11480 (noload-ENV): Define.
11481 (tests): Add $(objpfx)noload-mem.
11482 * elf/noload.c: Include <memcheck.h>.
11483 (main): Call mtrace. Close all opened handles.
11484
f2092faf
AS
114852011-02-17 Andreas Schwab <schwab@redhat.com>
11486
11487 [BZ #12454]
11488 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11489 dependencies are missing.
11490
6c8a2e88
ST
114912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11492
f2092faf 11493 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11494 Hurd needs munmap.
11495 * sysdeps/mach/hurd/ifreq.h: New file.
11496
84a42118
PB
114972011-01-27 Petr Baudis <pasky@suse.cz>
11498 Ulrich Drepper <drepper@gmail.com>
11499
071f805e 11500 [BZ 12445]#
84a42118
PB
11501 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11502 to extend_alloca().
11503 * stdio-common/bug23.c: New file.
11504 * stdio-common/Makefile (tests): Add bug23.
11505
e23fe25b
AS
115062010-09-28 Andreas Schwab <schwab@redhat.com>
11507 Ulrich Drepper <drepper@gmail.com>
11508
11509 [BZ #12489]
11510 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11511 before performing relro protection. At old place add assertion
11512 to make sure nothing changed.
11513
d3f02e10
NS
115142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11515 Glauber de Oliveira Costa <glommer@gmail.com>
11516
11517 * elf/elf.h: Add new ARM TLS relocs.
11518
d55fd7a5
RA
115192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11520
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11522 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11523 cast from r3.
11524 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11525 'tests' variable.
11526 * sysdeps/wordsize-64/tst-writev.c: New file.
11527
2206397e
RA
115282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11529
11530 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11531 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11532 insns in _dl_start to prevent a TOC reference before relocs are
11533 resolved.
11534
e9433893
UD
115352011-02-15 Ulrich Drepper <drepper@gmail.com>
11536
11537 [BZ #12469]
11538 * Makeconfig: Remove RANLIB definition.
11539 * Makerules: Don't use RANLIB.
11540 * aclocal.m4: Remove ranlib test.
11541 * configure.in: No need to check for ranlib.
11542 * elf/rtld-Rules: Don't use RANLIB.
11543
f75286c6
ST
115442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11545
8e31c82d
ST
11546 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11547 protection macro.
11548 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11549 inclusion protection macro.
11550
f75286c6
ST
11551 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11552 SIGRTMIN and SIGRTMAX and print information in that case only when
11553 SIGRTMIN is defined.
11554
c1d0e639
JJ
115552011-02-11 Jakub Jelinek <jakub@redhat.com>
11556
11557 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11558 arginfo fn returning -1.
11559
11560 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11561 and thousands string is zero terminated.
11562
edf9294e
AS
115632011-02-03 Andreas Schwab <schwab@redhat.com>
11564
11565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11566 sysdeps/unix/sysv/linux/bits/socket.h.
11567
2b7e92df
ST
115682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11569
edf9294e
AS
11570 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11571 (__CPU_COUNT): Remove old macros.
11572 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11573 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11574 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11575 (__sched_cpualloc, __sched_cpufree): Add declarations.
11576
a4c7ea7b
UD
115772011-02-05 Ulrich Drepper <drepper@gmail.com>
11578
11579 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11580 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11581 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11582 (readdhstai): Return value of addhstaiX call.
11583 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11584 (addgrbyX): Return value returned by cache_addgr.
11585 (readdgrbyname): Return value returned by addgrbyX.
11586 (readdgrbygid): Likewise.
11587 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11588 (addpwbyX): Return value returned by cache_addpw.
11589 (readdpwbyname): Return value returned by addhstbyX.
11590 (readdpwbyuid): Likewise.
11591 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11592 (addservbyX): Return value returned by cache_addserv.
11593 (readdservbyname): Return value returned by addservbyX:
11594 (readdservbyport): Likewise.
11595 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11596 (addhstbyX): Return value returned by cache_addhst.
11597 (readdhstbyname): Return value returned by addhstbyX.
11598 (readdhstbyaddr): Likewise.
11599 (readdhstbynamev6): Likewise.
11600 (readdhstbyaddrv6): Likewise.
11601 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11602 (readdinitgroups): Return value returned by addinitgroupsX.
11603 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11604 (prune_cache): Keep track of timeout value of re-added entries.
11605 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11606 * nscd/nscd.h: Adjust prototypes of readd* functions.
11607
a0bf67cc
RM
116082011-02-04 Roland McGrath <roland@redhat.com>
11609
11610 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11611 (nis_stats): Likewise.
11612 * nis/nis_modify.c (nis_modify): Likewise.
11613 * nis/nis_remove.c (nis_remove): Likewise.
11614 * nis/nis_add.c (nis_add): Likewise.
11615
11616 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11617
11618 * posix/fnmatch_loop.c: Add some consts.
11619
11620 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11621
435b95eb
L
116222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11623
11624 [BZ #12460]
11625 * config.make.in (config-cflags-novzeroupper): Define.
11626 * configure.in: Substitute libc_cv_cc_novzeroupper.
11627 * elf/Makefile (AVX-CFLAGS): Define.
11628 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11629 (CFLAGS-tst-auditmod4a.c): Likewise.
11630 (CFLAGS-tst-auditmod4b.c): Likewise.
11631 (CFLAGS-tst-auditmod6b.c): Likewise.
11632 (CFLAGS-tst-auditmod6c.c): Likewise.
11633 (CFLAGS-tst-auditmod7b.c): Likewise.
11634 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11635
8517b15e
UD
116362011-02-02 Ulrich Drepper <drepper@gmail.com>
11637
11638 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11639 function to the callback.
11640 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11641
10a656fe
AS
116422011-02-02 Andreas Schwab <schwab@redhat.com>
11643
11644 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11645 of errno.
11646
968dad0a
UD
116472011-01-19 Ulrich Drepper <drepper@gmail.com>
11648
9f94d2ea 11649 [BZ #11724]
968dad0a
UD
11650 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11651 of constructors.
11652 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11653 of destructors.
11654 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11655
11656 [BZ #11724]
11657 * elf/Makefile: Add rules to build and run new test.
11658 * elf/tst-initorder.c: New file.
11659 * elf/tst-initorder.exp: New file.
11660 * elf/tst-initordera1.c: New file.
11661 * elf/tst-initordera2.c: New file.
11662 * elf/tst-initordera3.c: New file.
11663 * elf/tst-initordera4.c: New file.
11664 * elf/tst-initorderb1.c: New file.
11665 * elf/tst-initorderb2.c: New file.
11666 * elf/tst-order-a1.c: New file.
11667 * elf/tst-order-a2.c: New file.
11668 * elf/tst-order-a3.c: New file.
11669 * elf/tst-order-a4.c: New file.
11670 * elf/tst-order-b1.c: New file.
11671 * elf/tst-order-b2.c: New file.
11672 * elf/tst-order-main.c: New file.
11673 New test case by George Gensure <werkt0@gmail.com>.
11674
86e92359
UD
116752010-10-01 Andreas Schwab <schwab@redhat.com>
11676
11677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11678 decoding ACE if AI_CANONIDN.
11679
5d5732b0
UD
116802011-01-18 Ulrich Drepper <drepper@gmail.com>
11681
11682 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11683
a77e8cbc
UD
116842011-01-17 Ulrich Drepper <drepper@gmail.com>
11685
6392473f
UD
11686 * version.h (RELEASE): Bump for 2.13 release.
11687 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11688
620a0529
UD
11689 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11690
18ba70a5
UD
11691 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11692 MADV_NOHUGEPAGE.
32465c3e
UD
11693 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11694 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11696 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11699
c0dafcf1
UD
11700 * posix/getconf.c: Update copyright year.
11701 * catgets/gencat.c: Likewise.
11702 * csu/version.c: Likewise.
11703 * debug/catchsegv.sh: Likewise.
11704 * debug/xtrace.sh: Likewise.
11705 * elf/ldconfig.c: Likewise.
11706 * elf/ldd.bash.in: Likewise.
11707 * elf/sprof.c (print_version): Likewise.
11708 * iconv/iconv_prog.c: Likewise.
11709 * iconv/iconvconfig.c: Likewise.
11710 * locale/programs/locale.c: Likewise.
11711 * locale/programs/localedef.c: Likewise.
11712 * malloc/memusage.sh: Likewise.
11713 * malloc/mtrace.pl: Likewise.
11714 * nscd/nscd.c (print_version): Likewise.
11715 * nss/getent.c: Likewise.
11716
a77e8cbc
UD
11717 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11718 PF_CAIF, and PF_ALG.
11719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11720
77e8bddf
AS
117212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11722
1f20b93a
AS
11723 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11724 (modules-names): Use them.
11725 (ifunc-test-modules, ifunc-pie-tests): Define.
11726 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11727 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11728 (test-extras): Likewise.
11729 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11730 $(compile-command.c).
11731 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11732 (all-built-dso): Define.
11733 (check-textrel.out, check-execstack.out): Depend on it.
11734
77e8bddf
AS
11735 * configure.in: Don't override --enable-multi-arch.
11736
bc425b33
UD
117372011-01-15 Ulrich Drepper <drepper@gmail.com>
11738
11739 [BZ #6812]
11740 * nscd/hstcache.c (tryagain): Define.
11741 (cache_addhst): Return tryagain not notfound for temporary errors.
11742 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11743 failed.
11744
794c3ad3
UD
117452011-01-14 Ulrich Drepper <drepper@gmail.com>
11746
70181fdd
UD
11747 [BZ #10563]
11748 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11749 to make the syscall.
11750 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11751
794c3ad3
UD
11752 [BZ #12378]
11753 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11754 and fall back to matching as normal character if the string ends before
11755 the matching ']' is found. This is what POSIX requires.
11756 * posix/testfnm.c: Adjust test result.
11757 * posix/globtest.sh: Adjust test result. Add new test.
11758 * posix/tst-fnmatch.input: Likewise.
11759 * posix/tst-fnmatch2.c: Add new test.
11760
68dc9497
AS
117612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11762
11763 * elf/Makefile (check-execstack): Revert last change. Depend on
11764 check-execstack.h.
11765 (check-execstack.h): New target.
11766 (generated): Add check-execstack.h.
11767 * elf/check-execstack.c: Include "check-execstack.h".
11768 (main): Revert last change.
11769 (handle_file): Return zero if GNU_STACK is absent and
11770 DEFAULT_STACK_PERMS doesn't include PF_X.
11771
451f001b
UD
117722011-01-13 Ulrich Drepper <drepper@gmail.com>
11773
cfa28e56
UD
11774 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11775 in child fails because the descriptor is already closed.
8cf8ce17
UD
11776 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11777 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11778 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11779
1086d70d
UD
11780 [BZ #12397]
11781 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11782 syscall.
11783
451f001b
UD
11784 [BZ #10484]
11785 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11786 temporary buffer used to handle multi lookups locally.
a85b5cb4 11787 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11788
08769175
UD
117892011-01-12 Ulrich Drepper <drepper@gmail.com>
11790
11791 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11792 loader is ld.so.
11793
5e49c52e
UD
117942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11795
11796 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11797 alignment for SSE2.
11798
60522a5f
UD
117992011-01-12 Ulrich Drepper <drepper@gmail.com>
11800
11801 [BZ #12394]
11802 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11803 characters. When rounding increased number of integer digits recompute
11804 number of groups.
11805 * stdio-common/tst-grouping.c: New file.
11806 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11807
f257bbd7
UD
118082011-01-09 Ulrich Drepper <drepper@gmail.com>
11809
11810 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11811 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11812
11813 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11814 void.
11815 * bits/select.h: Likewise.
11816
fa9c15cb
UD
118172011-01-08 Ulrich Drepper <drepper@gmail.com>
11818
11819 * po/ja.po: Update from translation team.
11820
16c2895f
DM
118212011-01-04 David S. Miller <davem@sunset.davemloft.net>
11822
11823 [BZ #11155]
11824 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11825 implementation just like for lxstat, fxstatat, et al.
11826
2543fef2
JM
118272010-12-27 Jim Meyering <meyering@redhat.com>
11828
11829 [BZ #12348]
11830 * posix/regexec.c (build_trtable): Return failure indication upon
11831 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11832
98727dbe
UD
118332010-12-25 Ulrich Drepper <drepper@gmail.com>
11834
5bd6dc5c
UD
11835 [BZ #12201]
11836 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11837 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11838 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11840
97983464
UD
11841 [BZ #12207]
11842 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11843
98727dbe
UD
11844 [BZ #12204]
11845 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11846 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11847
4a531bb0
L
118482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11851 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11852 script has SORT_BY_INIT_PRIORITY.
11853 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11854 NO_CTORS_DTORS_SECTIONS is defined.
11855 * elf/soinit.c: Likewise.
11856 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11857 NO_CTORS_DTORS_SECTIONS is defined.
11858 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11859 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11860 * sysdeps/sh/init-first.c: Likewise.
11861 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11862
07eb4b71
UD
118632010-12-24 Ulrich Drepper <drepper@gmail.com>
11864
11865 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11866 always use the slow path.
11867
30950a5f
RA
118682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11869
11870 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11871 similar rule which adds the sysdep directories to the header search in
11872 order to pick up the correct platform stackinfo.h.
11873 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11874 perform test if it is, otherwise return successfully without testing.
11875 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11876 DEFAULT_STACK_PERMS define in stackinfo.h.
11877 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11878 defined in stackinfo.h.
11879 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11880 DEFAULT_STACK_PERMS defined in stackinfo.h.
11881 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11882 * sysdeps/ia64/stackinfo.h: Likewise.
11883 * sysdeps/s390/stackinfo.h: Likewise.
11884 * sysdeps/sh/stackinfo.h: Likewise.
11885 * sysdeps/sparc/stackinfo.h: Likewise.
11886 * sysdeps/x86_64/stackinfo.h: Likewise.
11887 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11888 PF_X for powerpc64. Retain PF_X for powerpc32.
11889
db753e2c
UD
118902010-12-19 Ulrich Drepper <drepper@gmail.com>
11891
14b697f7
UD
11892 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11893 accurately.
db753e2c
UD
11894 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11895 GETDENTS_64BIT_ALIGNED.
11896
28300719
UD
118972010-12-14 Ulrich Drepper <dreper@gmail.com>
11898
14b697f7 11899 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11900
4f197237
AS
119012010-12-10 Andreas Schwab <schwab@redhat.com>
11902
dbb0472f
AS
11903 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11904 _GNU_SOURCE.
11905
4f197237
AS
11906 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11907 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11908 Remove __restrict.
11909 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11910 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11911
fb88ac72
UD
119122010-12-09 Ulrich Drepper <drepper@gmail.com>
11913
11914 [BZ #11655]
11915 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11916 are initialized.
11917
42acbb92
JJ
119182010-12-09 Jakub Jelinek <jakub@redhat.com>
11919
11920 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11921
c038d98d
UD
119222010-12-03 Ulrich Drepper <drepper@gmail.com>
11923
11924 * po/it.po: Update from translation team.
11925
3a4a2499
L
119262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11929 unused codes.
11930
1e24cf6e
UD
119312010-11-30 Ulrich Drepper <drepper@gmail.com>
11932
11933 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11934
a7690819
AS
119352010-11-24 Andreas Schwab <schwab@redhat.com>
11936
11937 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11938 specially.
11939 (gaih_getanswer_slice): Likewise.
11940
3bf8d1b1
JJ
119412010-10-20 Jakub Jelinek <jakub@redhat.com>
11942
11943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11944
6db52fbb
PB
119452010-05-31 Petr Baudis <pasky@suse.cz>
11946
11947 [BZ #11149]
11948 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11949 silently even in the chroot mode.
11950
eaca7569
UD
119512010-11-22 Ulrich Drepper <drepper@gmail.com>
11952
11953 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11954 last patch a bit. Pretty printing
11955
3056dcdb
UD
119562010-05-31 Petr Baudis <pasky@suse.cz>
11957
11958 [BZ #10085]
11959 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11960 initialization of skip_initgroups_dyn.
11961
cf7c9078
UD
119622010-11-19 Ulrich Drepper <drepper@gmail.com>
11963
11964 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11965 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11966
a1fb5e3e
UD
119672010-11-16 Ulrich Drepper <drepper@gmail.com>
11968
11969 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11970
3540d66b
AS
119712010-11-11 Andreas Schwab <schwab@redhat.com>
11972
11973 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11974 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11975 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11976 ($(objpfx)tst-fnmatch-mem): New rule.
11977 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11978 * posix/tst-fnmatch.c (main): Call mtrace.
11979
13b69574
L
119802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11981
11982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11983 Support Intel processor model 6 and model 0x2c.
11984
da93d214
LM
119852010-11-10 Luis Machado <luisgpm@br.ibm.com>
11986
11987 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11988 signed comparison.
11989
8ca52c6e
L
119902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11991
11992 [BZ #12205]
11993 * string/test-strncasecmp.c (check_result): New function.
11994 (do_one_test): Use it.
11995 (check1): New function.
11996 (test_main): Use it.
11997 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11998 Support strcasecmp and strncasecmp.
11999
69da074d
UD
120002010-11-08 Ulrich Drepper <drepper@gmail.com>
12001
12002 [BZ #12194]
12003 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12004 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12005
ff02d528
L
120062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12009 IFUNC support.
12010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12011 memset-x86-64.
12012 * sysdeps/x86_64/multiarch/bzero.S: New file.
12013 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12014 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12015 * sysdeps/x86_64/multiarch/memset.S: New file.
12016 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12018 Set bit_Prefer_SSE_for_memop for Intel processors.
12019 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12020 Define.
12021 (index_Prefer_SSE_for_memop): Define.
12022 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12023
344d0b54
LM
120242010-11-04 Luis Machado <luisgpm@br.ibm.com>
12025
12026 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12027 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12028
c0dde15b
UD
120292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12030
12031 [BZ #12191]
12032 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12033 (__x86_64_raw_data_cache_size_half): Likewise.
12034 (__x86_64_raw_shared_cache_size): Likewise.
12035 (__x86_64_raw_shared_cache_size_half): Likewise.
12036
12037 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12038 (__x86_64_raw_data_cache_size_half): Likewise.
12039 (__x86_64_raw_shared_cache_size): Likewise.
12040 (__x86_64_raw_shared_cache_size_half): Likewise.
12041 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12042 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12043 and __x86_64_raw_shared_cache_size_half. Round
12044 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12045 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12046 to multiple of 256 bytes.
12047
0e516e0e
MS
120482010-11-03 Ulrich Drepper <drepper@gmail.com>
12049
12050 [BZ #12167]
12051 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12052 of inacessible symlinks. Verify result of symlink before returning it.
12053 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12054 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12055
0e012e87
ER
120562010-10-28 Erich Ritz <erichritz@gmail.com>
12057
12058 * math/math.h (isinf): Fix typo in comment.
12059
de0ff7bc
UD
120602010-11-01 Ulrich Drepper <drepper@gmail.com>
12061
12062 * po/da.po: Update from translation team.
12063
fa41c84d
UD
120642010-10-26 Ulrich Drepper <drepper@gmail.com>
12065
12066 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12067 is added to the list.
12068
f0967738
AK
120692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12070 Ulrich Drepper <drepper@gmail.com>
12071
12072 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12073 the global list here. Move code to...
12074 (_dl_add_to_namespace_list): ...here. New function.
12075 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12076 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12077 * elf/dl-load.c (lose): Don't remove the element from the list.
12078 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12079 (_dl_map_object): Likewise.
12080
120812010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12082
12083 [BZ #12159]
12084 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12085 into all bytes of SSE register.
12086 Patch by Richard Li <richardpku@gmail.com>.
12087
f0967738 120882010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12089
12090 [BZ #12140]
12091 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12092 perturbing.
12093
d0b9e94f
MB
120942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12095
12096 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12097 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12098 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12099 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12101 submachine.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12103
8e9f92e9
AS
121042010-10-22 Andreas Schwab <schwab@redhat.com>
12105
12106 * include/dlfcn.h (__RTLD_SECURE): Define.
12107 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12108 mode & __RTLD_SECURE instead.
12109 (open_path): Rename preloaded parameter to secure.
12110 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12111 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12112 * elf/dl-deps.c (openaux): Likewise.
12113 * elf/rtld.c (struct map_args): Remove is_preloaded.
12114 (map_doit): Don't use it.
12115 (dl_main): Likewise.
12116 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12117 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12118
bc96fbda
AS
121192010-09-09 Andreas Schwab <schwab@redhat.com>
12120
12121 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12122 (sysd-rules-targets): Remove duplicates.
12123 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12124 rtld-%.$o dependency.
12125
22cd1c9b
AS
121262010-10-18 Andreas Schwab <schwab@redhat.com>
12127
12128 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12129 _dl_map_object do it.
12130
18edac48
UD
121312010-10-19 Ulrich Drepper <drepper@gmail.com>
12132
12133 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12134 fast fma builtins, define the macros in the C99 standard.
12135 (FP_FAST_FMAF): Likewise.
12136 (FP_FAST_FMAL): Likewise.
12137 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12138
12139 * bits/mathdef.h: Update copyright year.
12140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12141
d2050124
MM
121422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12143
12144 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12145 builtins, define the macros in the C99 standard.
12146 (FP_FAST_FMAF): Likewise.
12147 (FP_FAST_FMAL): Likewise.
12148 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12149 multiply/add.
12150 (FP_FAST_FMAF): Likewise.
12151
475facd1
JJ
121522010-10-15 Jakub Jelinek <jakub@redhat.com>
12153
12154 [BZ #3268]
12155 * math/libm-test.inc (fma_test): Some new testcases.
12156 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12158 y and infinite z. Do multiplication by C already in long double.
12159 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12161 y and infinite z. Do bitwise or of inexact bit into u.d.
12162 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12163 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12164 * sysdeps/i386/fpu/s_fma.S: Removed.
12165 * sysdeps/i386/fpu/s_fmal.S: Removed.
12166
7c08a05c
JJ
121672010-10-16 Jakub Jelinek <jakub@redhat.com>
12168
12169 [BZ #3268]
12170 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12172 computation is not scheduled after fetestexcept. Fix value
12173 of minimum denormal long double.
12174
f3f7372d
JJ
121752010-10-14 Jakub Jelinek <jakub@redhat.com>
12176
12177 [BZ #3268]
12178 * math/libm-test.inc (fma_test): Add some more tests.
12179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12180 correctly.
12181
14d43591
AS
121822010-10-15 Andreas Schwab <schwab@redhat.com>
12183
12184 * scripts/data/localplt-s390-linux-gnu.data: New file.
12185 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12186
5e908464
JJ
121872010-10-13 Jakub Jelinek <jakub@redhat.com>
12188
12189 [BZ #3268]
12190 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12191 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12192 instead of dbl-64.
12193 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12194 inlines.
12195 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12197 if one of x and y is very large and the other is subnormal.
12198 * sysdeps/s390/fpu/s_fmaf.c: New file.
12199 * sysdeps/s390/fpu/s_fma.c: New file.
12200 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12201 * sysdeps/powerpc/fpu/s_fma.S: New file.
12202 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12203 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12204 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12205
122062010-10-12 Jakub Jelinek <jakub@redhat.com>
12207
12208 [BZ #3268]
12209 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12210 fma tests.
12211 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12212 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12213 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12214 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12215 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12216 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12218
b833d51f
UD
122192010-10-12 Ulrich Drepper <drepper@redhat.com>
12220
12221 [BZ #12078]
12222 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12223 * posix/bug-regex31.input: Add test case.
12224
1751705d
UD
122252010-10-11 Ulrich Drepper <drepper@gmail.com>
12226
e9b9cbf5
UD
12227 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12228 * posix/bug-regex31.input: New file.
12229
12230 [BZ #12078]
12231 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12232 (parse_sub_exp): Fix last change, use postorder.
12233
ef06edbe
UD
12234 * posix/bug-regex31.c: New file.
12235 * posix/Makefile: Add rules to build and run bug-regex31.
12236
a129c80d
UD
12237 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12238
12239 [BZ #12078]
12240 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12241
b76b818e
UD
12242 [BZ #12108]
12243 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12244 to have entries in sys_siglist.
12245
1751705d
UD
12246 [BZ #12093]
12247 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12248 be NULL.
12249
9ff8d36f
JJ
122502010-10-07 Jakub Jelinek <jakub@redhat.com>
12251
12252 [BZ #3268]
12253 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12254 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12255 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12256 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12257 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12258 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12259 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12260 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12261 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12262 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12263 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12264 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12265 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12266 * math/ftestexcept.c (fetestexcept): Likewise.
12267 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12268 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12269 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12270 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12271 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12272 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12273 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12274
af325969
UD
122752010-10-11 Ulrich Drepper <drepper@gmail.com>
12276
c579b202 12277 [BZ #12107]
af325969
UD
12278 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12279 newline.
12280
67a67b95
UD
122812010-10-06 Ulrich Drepper <drepper@gmail.com>
12282
12283 * string/bug-strstr1.c: New file.
12284 * string/Makefile: Add rules to build and run bug-strstr1.
12285
5fb308bc
EB
122862010-10-05 Eric Blake <eblake@redhat.com>
12287
12288 [BZ #12092]
12289 * string/str-two-way.h (two_way_long_needle): Always clear memory
12290 when skipping input due to the shift table.
12291
45db99c7
UD
122922010-10-03 Ulrich Drepper <drepper@gmail.com>
12293
3b111893
UD
12294 [BZ #12005]
12295 * malloc/mcheck.c: Handle large requests.
12296
45db99c7
UD
12297 [BZ #12077]
12298 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12299 for strncmp and strncasecmp.
12300 * string/stratcliff.c: Add tests for strcmp and strncmp.
12301 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12302
cf7a1eb8
NI
123032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12304
12305 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12306 __set_fpscr.
12307
6484ba5e
AJ
123082010-09-30 Andreas Jaeger <aj@suse.de>
12309
12310 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12311 (CGROUP_SUPER_MAGIC): Define.
12312 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12313 Handle btrfs and cgroup file systems.
12314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12315 Likewise.
12316
91c42559
LM
123172010-09-27 Luis Machado <luisgpm@br.ibm.com>
12318
12319 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12320 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12321
87a97932
AK
123222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12323
12324 [BZ #12067]
12325 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12326 trying to locate the ELF header.
12327
c21cc9bc
AS
123282010-09-27 Andreas Schwab <schwab@redhat.com>
12329
12330 [BZ #11611]
12331 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12332 Mask out sign-bit copies when constructing f_fsid.
12333
315970f6
PB
123342010-09-24 Petr Baudis <pasky@suse.cz>
12335
12336 * debug/stack_chk_fail_local.c: Add missing licence exception.
12337 * debug/warning-nop.c: Likewise.
12338
1ac7a2c7
JM
123392010-09-15 Joseph Myers <joseph@codesourcery.com>
12340
12341 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12342 implementing getdents64 using getdents syscall, set d_type if
12343 __ASSUME_GETDENTS32_D_TYPE.
12344
56801c50
AS
123452010-09-16 Andreas Schwab <schwab@redhat.com>
12346
12347 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12348 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12349
dda51327
UD
123502010-09-21 Ulrich Drepper <drepper@redhat.com>
12351
12352 [BZ #12037]
12353 * posix/unistd.h: Undo change of feature selection for ftruncate from
12354 2010-01-11.
12355
8ffcee4a
UD
123562010-09-20 Ulrich Drepper <drepper@redhat.com>
12357
a545ecd9 12358 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12359 detection.
12360
e24f0a8b
AS
123612010-09-20 Andreas Schwab <schwab@redhat.com>
12362
12363 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12364 fanotify_mark.
12365 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12366
7291c56f
AS
123672010-09-14 Andreas Schwab <schwab@redhat.com>
12368
12369 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12370 variables after CHECK_SP call.
12371 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12372
bc5fb037
AS
123732010-09-13 Andreas Schwab <schwab@redhat.com>
12374 Ulrich Drepper <drepper@redhat.com>
12375
12376 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12377 re-relocationg ld.so.
12378 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12379 _dl_init_paths call.
12380 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12381 here anymore.
12382
e66e7419
UD
123832010-09-14 Ulrich Drepper <drepper@redhat.com>
12384
12385 * resolv/res_init.c (__res_vinit): Count the default server we added.
12386
c044aa75
CLT
123872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12388 Ulrich Drepper <drepper@redhat.com>
12389
12390 [BZ #11968]
12391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12392 (____longjmp_chk): Use %ebx for saving value across system call.
12393 Add unwind info.
12394
32cf4069
AS
123952010-09-06 Andreas Schwab <schwab@redhat.com>
12396
12397 * manual/Makefile: Don't mix pattern rules with normal rules.
12398
817328ee
AS
123992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12400
12401 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12402 operation.
12403 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12404 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12405 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12406 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12408 Likewise.
12409
29fddf61
UD
124102010-09-04 Ulrich Drepper <drepper@redhat.com>
12411
12412 [BZ #11979]
12413 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12414 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12415
0959ffc9
UD
124162010-09-02 Ulrich Drepper <drepper@redhat.com>
12417
12418 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12419 * sysdeps/x86_64/addmul_1.S: Likewise.
12420 * sysdeps/x86_64/lshift.S: Likewise.
12421 * sysdeps/x86_64/mul_1.S: Likewise.
12422 * sysdeps/x86_64/rshift.S: Likewise.
12423 * sysdeps/x86_64/sub_n.S: Likewise.
12424 * sysdeps/x86_64/submul_1.S: Likewise.
12425
ece29840
ST
124262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12427
0959ffc9
UD
12428 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12429 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12430 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12431 * bits/sched.h [__need_schedparam]
ece29840 12432 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12433 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12434 (__defined_schedparam): Define to 1.
ece29840
ST
12435 (__sched_param): New structure, identical to sched_param.
12436 (__need_schedparam): Undefine.
12437
e53a31fe
MF
124382010-08-31 Mike Frysinger <vapier@gentoo.org>
12439
fdc0c10d
MF
12440 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12441 (epoll_create1): Declare.
12442
e53a31fe
MF
12443 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12444
a726d796
AS
124452010-08-31 Andreas Schwab <schwab@redhat.com>
12446
12447 [BZ #7066]
12448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12449 shifting retval into place.
12450
2f3e3dc7
UD
124512010-09-01 Ulrich Drepper <drepper@redhat.com>
12452
f2933da9
UD
12453 * nis/rpcsvc/nis.h: Update copyright notice.
12454 * nis/rpcsvc/nis.x: Likewise.
12455 * nis/rpcsvc/nis_callback.h: Likewise.
12456 * nis/rpcsvc/nis_callback.x: Likewise.
12457 * nis/rpcsvc/nis_object.x: Likewise.
12458 * nis/rpcsvc/nis_tags.h: Likewise.
12459 * nis/rpcsvc/yp.h: Likewise.
12460 * nis/rpcsvc/yp.x: Likewise.
12461 * nis/rpcsvc/ypupd.h: Likewise.
12462 * nis/yp_xdr.c: Likewise.
12463 * nis/ypupdate_xdr.c: Likewise.
12464
2f3e3dc7
UD
12465 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12466 mainly the body of pmap_getport. Add parameters to specify timeouts.
12467 (pmap_getport): Use __libc_rpc_getport.
12468 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12469 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12470 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12471
f3dcc2f9
AS
124722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12473
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12475 fanotify_mark.
12476
6d34eb5b
RM
124772010-08-27 Roland McGrath <roland@redhat.com>
12478
12479 * sysdeps/i386/i686/multiarch/Makefile
12480 (CFLAGS-varshift.c): New variable.
12481
9ea3de11
UD
124822010-08-27 Ulrich Drepper <drepper@redhat.com>
12483
c96d23fc
UD
12484 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12485 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12486
9ea3de11
UD
12487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12488
12489 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12490
623aac7f
L
124912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12492
12493 * sysdeps/x86_64/strlen.S: Unroll the loop.
12494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12495 strlen-sse2 strlen-sse2-bsf.
12496 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12497 __strlen_no_bsf if bit_Slow_BSF is set.
12498 (__strlen_sse42): Removed.
12499 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12500 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12501
8b2b7715
RM
125022010-08-25 Roland McGrath <roland@redhat.com>
12503
12504 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12505 * sysdeps/x86_64/multiarch/varshift.c: New file.
12506 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12507 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12508 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12509 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12510
e73015f2
L
125112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12514 strlen-sse2 strlen-sse2-bsf.
12515 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12516 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12517 (__strlen_sse2): Removed.
12518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12519 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12521 bit_Slow_BSF for Atom.
12522 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12523 (index_Slow_BSF): Define.
12524 (HAS_SLOW_BSF): Define.
12525
df24a73e
UD
125262010-08-25 Ulrich Drepper <drepper@redhat.com>
12527
12528 [BZ #10851]
12529 * resolv/res_init.c (__res_vinit): When no server address at all
12530 is given default to loopback.
12531
f2ac4868
RM
125322010-08-24 Roland McGrath <roland@redhat.com>
12533
09055553
RM
12534 * configure.in: Remove config-name.h generation.
12535 * configure: Regenerated.
12536 * config-name.in: File removed.
12537 * scripts/config-uname.sh: New file.
12538 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12539 ($(objdir)config-name.h): New target.
12540
f2ac4868
RM
12541 * sunrpc/rpc_parse.h: Avoid nested comment.
12542
73f27d5e
RH
125432010-08-24 Richard Henderson <rth@redhat.com>
12544 Ulrich Drepper <drepper@redhat.com>
12545 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12549 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12550 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12551 _mm_alignr_epi8 with _mm_loadu_si128.
12552 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12553 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12554 (__m128i_shift_right): Removed.
12555 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12556 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12557 * sysdeps/x86_64/multiarch/varshift.h: New file.
12558 * sysdeps/x86_64/multiarch/varshift.S: New file.
12559
84b9230c
MF
125602010-08-21 Mike Frysinger <vapier@gentoo.org>
12561
12562 * configure.in: Move assembler checks to before sysdep dir checking.
12563
9bbd0ddc
PB
125642010-08-20 Petr Baudis <pasky@suse.cz>
12565
12566 * LICENSES: Sync the sunrpc license.
12567
9da4bb31
UD
125682010-08-19 Ulrich Drepper <drepper@redhat.com>
12569
a7ab6ec8
UD
12570 * sunrpc/auth_des.c: Update copyright notice once again.
12571 * sunrpc/auth_none.c: Likewise.
12572 * sunrpc/auth_unix.c: Likewise.
12573 * sunrpc/authdes_prot.c: Likewise.
12574 * sunrpc/authuxprot.c: Likewise.
12575 * sunrpc/bindrsvprt.c: Likewise.
12576 * sunrpc/clnt_gen.c: Likewise.
12577 * sunrpc/clnt_perr.c: Likewise.
12578 * sunrpc/clnt_raw.c: Likewise.
12579 * sunrpc/clnt_simp.c: Likewise.
12580 * sunrpc/clnt_tcp.c: Likewise.
12581 * sunrpc/clnt_udp.c: Likewise.
12582 * sunrpc/clnt_unix.c: Likewise.
12583 * sunrpc/des_crypt.c: Likewise.
12584 * sunrpc/des_soft.c: Likewise.
12585 * sunrpc/get_myaddr.c: Likewise.
12586 * sunrpc/getrpcport.c: Likewise.
12587 * sunrpc/key_call.c: Likewise.
12588 * sunrpc/key_prot.c: Likewise.
12589 * sunrpc/openchild.c: Likewise.
12590 * sunrpc/pm_getmaps.c: Likewise.
12591 * sunrpc/pm_getport.c: Likewise.
12592 * sunrpc/pmap_clnt.c: Likewise.
12593 * sunrpc/pmap_prot.c: Likewise.
12594 * sunrpc/pmap_prot2.c: Likewise.
12595 * sunrpc/pmap_rmt.c: Likewise.
12596 * sunrpc/rpc/auth.h: Likewise.
12597 * sunrpc/rpc/auth_unix.h: Likewise.
12598 * sunrpc/rpc/clnt.h: Likewise.
12599 * sunrpc/rpc/des_crypt.h: Likewise.
12600 * sunrpc/rpc/key_prot.h: Likewise.
12601 * sunrpc/rpc/netdb.h: Likewise.
12602 * sunrpc/rpc/pmap_clnt.h: Likewise.
12603 * sunrpc/rpc/pmap_prot.h: Likewise.
12604 * sunrpc/rpc/pmap_rmt.h: Likewise.
12605 * sunrpc/rpc/rpc.h: Likewise.
12606 * sunrpc/rpc/rpc_des.h: Likewise.
12607 * sunrpc/rpc/rpc_msg.h: Likewise.
12608 * sunrpc/rpc/svc.h: Likewise.
12609 * sunrpc/rpc/svc_auth.h: Likewise.
12610 * sunrpc/rpc/types.h: Likewise.
12611 * sunrpc/rpc/xdr.h: Likewise.
12612 * sunrpc/rpc_clntout.c: Likewise.
12613 * sunrpc/rpc_cmsg.c: Likewise.
12614 * sunrpc/rpc_common.c: Likewise.
12615 * sunrpc/rpc_cout.c: Likewise.
12616 * sunrpc/rpc_dtable.c: Likewise.
12617 * sunrpc/rpc_hout.c: Likewise.
12618 * sunrpc/rpc_main.c: Likewise.
12619 * sunrpc/rpc_parse.c: Likewise.
12620 * sunrpc/rpc_parse.h: Likewise.
12621 * sunrpc/rpc_prot.c: Likewise.
12622 * sunrpc/rpc_sample.c: Likewise.
12623 * sunrpc/rpc_scan.c: Likewise.
12624 * sunrpc/rpc_scan.h: Likewise.
12625 * sunrpc/rpc_svcout.c: Likewise.
12626 * sunrpc/rpc_tblout.c: Likewise.
12627 * sunrpc/rpc_util.c: Likewise.
12628 * sunrpc/rpc_util.h: Likewise.
12629 * sunrpc/rpcinfo.c: Likewise.
12630 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12631 * sunrpc/rpcsvc/key_prot.x: Likewise.
12632 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12633 * sunrpc/rpcsvc/mount.x: Likewise.
12634 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12635 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12636 * sunrpc/rpcsvc/rex.x: Likewise.
12637 * sunrpc/rpcsvc/rstat.x: Likewise.
12638 * sunrpc/rpcsvc/rusers.x: Likewise.
12639 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12640 * sunrpc/rpcsvc/spray.x: Likewise.
12641 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12642 * sunrpc/rtime.c: Likewise.
12643 * sunrpc/svc.c: Likewise.
12644 * sunrpc/svc_auth.c: Likewise.
12645 * sunrpc/svc_authux.c: Likewise.
12646 * sunrpc/svc_raw.c: Likewise.
12647 * sunrpc/svc_run.c: Likewise.
12648 * sunrpc/svc_simple.c: Likewise.
12649 * sunrpc/svc_tcp.c: Likewise.
12650 * sunrpc/svc_udp.c: Likewise.
12651 * sunrpc/svc_unix.c: Likewise.
12652 * sunrpc/svcauth_des.c: Likewise.
12653 * sunrpc/xcrypt.c: Likewise.
12654 * sunrpc/xdr.c: Likewise.
12655 * sunrpc/xdr_array.c: Likewise.
12656 * sunrpc/xdr_float.c: Likewise.
12657 * sunrpc/xdr_mem.c: Likewise.
12658 * sunrpc/xdr_rec.c: Likewise.
12659 * sunrpc/xdr_ref.c: Likewise.
12660 * sunrpc/xdr_sizeof.c: Likewise.
12661 * sunrpc/xdr_stdio.c: Likewise.
12662
9da4bb31
UD
12663 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12664 handling.
12665
bdaa77bc
AS
126662010-08-19 Andreas Schwab <schwab@redhat.com>
12667
12668 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12669
fe2f79db
LM
126702010-08-19 Luis Machado <luisgpm@br.ibm.com>
12671
12672 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12673 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12674 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12675 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12676 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12677 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12678 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12679 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12681 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12682 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12683 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12684 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12685 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12686
b9b42ee0
AB
126872010-07-26 Anton Blanchard <anton@samba.org>
12688
12689 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12690 * malloc/arena.c (heap_trim): Likewise.
12691
1c06ba31
UD
126922010-08-16 Ulrich Drepper <drepper@redhat.com>
12693
12694 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12695 here. Not...
12696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12697 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12698
f8392f40
L
126992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12700
12701 * sysdeps/i386/elf/Makefile: New file.
12702
3162f12e
AS
127032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12704
12705 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12706 from fanotify_init.
12707 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12709
28c90b2c
UD
127102010-08-15 Ulrich Drepper <drepper@redhat.com>
12711
12712 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12713 of strncasecmp_l.
1feccb6c 12714 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12715
ca6bb004
UD
127162010-08-14 Ulrich Drepper <drepper@redhat.com>
12717
e9f82e0d
UD
12718 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12719 strncase_l-nonascii.
12720 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12721 Add strncase_l-ssse3.
12722 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12723 * sysdeps/x86_64/strcmp.S: Likewise.
12724 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12725 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12726 * sysdeps/x86_64/strncase.S: New file.
12727 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12728 * sysdeps/x86_64/strncase_l.S: New file.
12729 * string/Makefile (strop-tests): Add strncasecmp.
12730 * string/test-strncasecmp.c: New file.
12731
12732 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12733 warning.
12734
ca6bb004
UD
12735 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12736 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12737
052fa7b3
AS
127382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12739
12740 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12741
962dba78
UD
127422010-08-12 Ulrich Drepper <drepper@redhat.com>
12743
12744 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12745 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12747
bebff237
AM
127482010-05-01 Alan Modra <amodra@gmail.com>
12749
12750 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12751 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12752 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12753 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12754 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12755 tidying. Don't tail-call __sigjmp_save for static lib.
12756 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12757 save location.
12758 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12759 (CALL_MCOUNT): Add eh info, and nop after bl.
12760 (TAIL_CALL_SYSCALL_ERROR): New macro.
12761 (PSEUDO_RET): Use it.
12762 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12763 Correct save location of integer regs and cr.
12764 (_dl_profile_resolve): Correct cr save location. Delete nops
12765 after bl when SHARED. Reduce cfi size a little by better
12766 placement of cfi directives.
12767 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12768 make a stack frame. Instead use parm save area as a temp.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12770 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12772 Don't make a stack frame for parent, use parm save area.
12773 Increase child stack frame to 112 bytes. Don't save unused reg,
12774 and adjust reg usage. Set up cfi on error recovery and
12775 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12777 (__makecontext): Add dummy nop after jump to exit.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12779 Use correct parm save area and cr save, reduce stack frame.
12780 Correct cfi for possible PSEUDO_RET frame setup.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12782 Branch to local label emitted by PSEUDO_RET rather than
12783 __syscall_error.
12784
02637374
AS
127852010-08-12 Andreas Schwab <schwab@redhat.com>
12786
12787 [BZ #11904]
12788 * locale/programs/locale.c (print_assignment): New function.
12789 (show_locale_vars): Use it.
12790
c3e2f19b
UD
127912010-08-11 Ulrich Drepper <drepper@redhat.com>
12792
3cdaa6ad
UD
12793 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12794 field.
12795 (struct statfs64): Likewise.
12796 (_STATFS_F_FLAGS): Define.
12797 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12799 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12800 (ST_VALID): Define locally.
12801 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12802 __statvfs_getflags, use the provided value.
12803 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12804 __ASSUME_STATFS_F_FLAGS.
12805
754f7da3
UD
12806 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12807
10b3bedc
UD
12808 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12809 Add sys/fanotify.h.
12810 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12811 fanotify_mask for GLIBC_2.13.
12812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12813 fanotify_init and fanotify_mark.
12814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12815 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12816
c08fb0d7
UD
12817 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12818 Add prlimit.
12819 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12820 prlimit64 for GLIBC_2.13.
12821 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12822 prlimit64.
12823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12824 syscall.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12827 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12829 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12830 add prlimit alias.
12831 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12832
15bac72b
UD
12833 [BZ #11903]
12834 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12835 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12836
c3e2f19b
UD
12837 * nss/Makefile: Add rules to build and run tst-nss-test1.
12838 * shlib-versions: Add entry for libnss_test1.
12839 * nss/nss_test1.c: New file.
12840 * nss/tst-nss-test1.c: New file.
12841
12842 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12843 (__nss_configure_lookup): Set appropriate entry in
12844 __nss_configure_lookup to true.
12845 * nss/nsswitch.h: Define enum with indeces of databases in
12846 databases and __nss_database_custom arrays. Declare
12847 __nss_database_custom.
12848 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12849 to avoid using nscd when custom rules are installed.
12850 * nss/getXXbyYY_r.c: Likewise.
12851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12852
12853 * nss/nss_files/files-parse.c: Whitespace fixes.
12854
f15ce4d8
UD
128552010-08-09 Ulrich Drepper <drepper@redhat.com>
12856
12857 [BZ #11883]
12858 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12859 * posix/fnmatch_loop.c: Likewise.
12860
d22e4cc9
AK
128612010-07-17 Andi Kleen <ak@linux.intel.com>
12862
12863 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12864 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12865 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12866 * Versions.def [GLIBC_2.13]: Add.
12867
805bc17d
UD
128682010-08-06 Ulrich Drepper <drepper@redhat.com>
12869
12870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12871 Also fail if tpwd after pwuid call is NULL.
12872
5a42321d
ST
128732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12874
12875 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12876 when converting to ms.
12877
fd3ebeda
ST
128782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12879
12880 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12881 EOPNOTSUPP errors with ENOTTY.
12882 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12883 EOPNOTSUPP errors with ENOTTY.
12884
73507d3a
UD
128852010-07-31 Ulrich Drepper <drepper@redhat.com>
12886
12887 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12888 Add strcasecmp_l-ssse3.
12889 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12890 strcasecmp.
12891 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12892 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12893 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12894
fe36dd02
UD
128952010-07-30 Ulrich Drepper <drepper@redhat.com>
12896
66f6765a
UD
12897 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12898
42e08a54
UD
12899 * string/Makefile (strop-tests): Add strcasecmp.
12900 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12901 strcasecmp_l-nonascii.
12902 (gen-as-const-headers): Add locale-defines.sym.
12903 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12904 * sysdeps/x86_64/strcasecmp.S: New file.
12905 * sysdeps/x86_64/strcasecmp_l.S: New file.
12906 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12907 * sysdeps/x86_64/locale-defines.sym: New file.
12908 * string/test-strcasecmp.c: New file.
12909
fe36dd02
UD
12910 * string/test-strcasestr.c: Test both ends of the range of characters.
12911 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12912
48cbc0d6
RM
129132010-07-29 Roland McGrath <roland@redhat.com>
12914
76e6d6bc 12915 [BZ #11856]
48cbc0d6
RM
12916 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12917
880113d9
UD
129182010-07-27 Ulrich Drepper <drepper@redhat.com>
12919
12920 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12921 for ld.so.
12922
deb9cabb
AS
129232010-07-27 Andreas Schwab <schwab@redhat.com>
12924
12925 * manual/memory.texi (Malloc Tunable Parameters): Document
12926 M_PERTURB.
12927
1c7570ff
RM
129282010-07-26 Roland McGrath <roland@redhat.com>
12929
12930 [BZ #11840]
12931 * configure.in (-fgnu89-inline check): Set and substitute
12932 gnu89_inline, not libc_cv_gnu89_inline.
12933 * configure: Regenerated.
12934 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12935
24fb0f88
UD
129362010-07-26 Ulrich Drepper <drepper@redhat.com>
12937
12938 * string/test-strnlen.c: New file.
12939 * string/Makefile (strop-tests): Add strnlen.
12940 * string/tester.c (test_strnlen): Add a few more test cases.
12941 * string/tst-strlen.c: Better error reporting.
12942
12943 * sysdeps/x86_64/strnlen.S: New file.
12944
8e96b93a
UD
129452010-07-24 Ulrich Drepper <drepper@redhat.com>
12946
12947 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12948 lower-latency instructions.
12949
dbc676d4
UD
129502010-07-23 Ulrich Drepper <drepper@redhat.com>
12951
12952 * string/test-strcasestr.c: New file.
12953 * string/test-strstr.c: New file.
12954 * string/Makefile (strop-tests): Add strstr and strcasestr.
12955 * string/str-two-way.h: Don't undefine MAX.
12956 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12957
f6a31e0e
AS
129582010-07-21 Andreas Schwab <schwab@redhat.com>
12959
12960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12961 strcasestr-nonascii.
12962 (CFLAGS-strcasestr-nonascii.c): Define.
12963 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12964 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12965 Remove unused attribute.
12966
5dbc3b6c
RM
129672010-07-20 Roland McGrath <roland@redhat.com>
12968
12969 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12970 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12971 ld.so.cache was broken. With it, there is no way to disable dsocaps
12972 like LD_HWCAP_MASK can disable hwcaps.
12973
23d101d8
EPM
129742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12975
12976 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12977
cc9f2e47
UD
129782010-07-16 Ulrich Drepper <drepper@redhat.com>
12979
12980 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12981 call in strcasestr.
12982 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12983 __strcasestr_sse42_nonascii.
12984 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12985 strcasestr-nonascii.c.
12986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12987
77c1b069
LM
129882010-06-15 Luis Machado <luisgpm@br.ibm.com>
12989
12990 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12992 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12994
440566c3
UD
129952010-07-09 Ulrich Drepper <drepper@redhat.com>
12996
12997 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12998 fcntl.
12999
5be9d05d
AS
130002010-07-06 Andreas Schwab <schwab@redhat.com>
13001
c30b7ee2 13002 [BZ #11577]
5be9d05d
AS
13003 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13004 dl_signal_cerror.
13005
8a492a67
UD
130062010-07-06 Ulrich Drepper <drepper@redhat.com>
13007
13008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13009 _PC_PIPE_BUF using F_GETPIPE_SZ.
13010
713df3d5
RM
130112010-07-05 Roland McGrath <roland@redhat.com>
13012
13013 * manual/arith.texi (Rounding Functions): Fix rint description
13014 implicit in round description.
13015
702e8f14
UD
130162010-07-02 Ulrich Drepper <drepper@redhat.com>
13017
13018 * elf/Makefile: Fix linking for a few tests to make recent linker
13019 happy.
13020
52ed8be9
AS
130212010-06-30 Andreas Schwab <schwab@redhat.com>
13022
13023 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13024 $(common-objpfx)libc_nonshared.a.
13025
f47c9a11
LM
130262010-06-21 Luis Machado <luisgpm@br.ibm.com>
13027
13028 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13029 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13030 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13031 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13032 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13033 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13034 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13035 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13050 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13051 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13052 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13053 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13054 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13055 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13056 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13057 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13058 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13059 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13060 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13061 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13076
6fb8cbcb
L
130772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13078
13079 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13080 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13081 * string/memmove.c (memmove): Renamed to ...
13082 (MEMMOVE): ...this. Default to memmove.
13083 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13084 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13085 (END_CHK): Define.
13086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13087 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13088 mempcpy-ssse3-back memmove-ssse3-back.
13089 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13092 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13093 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13094 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13095 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13096 * sysdeps/x86_64/multiarch/memmove.c: New file.
13097 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13098 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13099 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13100 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13101 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13102 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13103 Define.
13104 (index_Fast_Copy_Backward): Define.
13105 (HAS_ARCH_FEATURE): Define.
13106 (HAS_FAST_REP_STRING): Define.
13107 (HAS_FAST_COPY_BACKWARD): Define.
13108
4e733bac 131092010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13110
13111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13112 Restore proper fallback handling.
13113
63c4ed22
UD
131142010-06-19 Ulrich Drepper <drepper@redhat.com>
13115
ac2b484c
UD
13116 [BZ #11701]
13117 * posix/group_member.c (__group_member): Correct checking loop.
13118
63c4ed22
UD
13119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13120 OOM in getpwuid_r correctly. Return error number when the caller
13121 should return, otherwise -1.
13122 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13123 call returning > 0 value.
13124 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13125
765ade4b
AS
131262010-06-07 Andreas Schwab <schwab@redhat.com>
13127
13128 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13129 libc_nonshared.a from targets in modules-names.
13130
80da2e09
KS
131312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13132
13133 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13134 requires it.
13135
158db122
LM
131362010-06-10 Luis Machado <luisgpm@br.ibm.com>
13137
13138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13139 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13142
caa78cf8
AS
131432010-06-02 Andreas Schwab <schwab@redhat.com>
13144
13145 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13146
b2ef2c01
UD
131472010-06-14 Ulrich Drepper <drepper@redhat.com>
13148
13149 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13150 and F_GETPIPE_SZ.
13151 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13157
fbd643b6
RM
131582010-06-14 Roland McGrath <roland@redhat.com>
13159
13160 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13161
f32f2869
JJ
131622010-06-07 Jakub Jelinek <jakub@redhat.com>
13163
13164 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13165 __REDIRECT followed by __THROW.
13166 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13167 * posix/getopt.h (getopt): Likewise.
13168
2a50c078
EPM
131692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13170
13171 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13172 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13173 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13174 in AT_FLAGS.
13175 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13176 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13177
eb5ad2eb
LM
131782010-05-28 Luis Machado <luisgpm@br.ibm.com>
13179
13180 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13181
3c88fe1e
L
131822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13183
13184 [BZ #11640]
13185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13186 Properly check family and model.
13187
d2f73151
TY
131882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13189
13190 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13191
ebd2e13d
LM
131922010-05-24 Luis Machado <luisgpm@br.ibm.com>
13193
13194 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13195
b32b8b45
UD
131962010-05-21 Ulrich Drepper <drepper@redhat.com>
13197
13198 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13199 symbol reference.
13200
9acbe24d
AS
132012010-05-19 Andreas Schwab <schwab@redhat.com>
13202
13203 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13204 symbol reference.
13205
f0ccf6ea
AS
132062010-05-21 Andreas Schwab <schwab@redhat.com>
13207
3d04ff3a
AS
13208 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13209 and internal_recvmmsg.
13210 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13211 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13212 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13213 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13214
f0ccf6ea
AS
13215 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13216 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13217 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13218
5b08ac57
AS
132192010-05-20 Andreas Schwab <schwab@redhat.com>
13220
13221 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13222
4828935d
LM
132232010-05-17 Luis Machado <luisgpm@br.ibm.com>
13224
13225 POWER7 optimizations.
13226 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13227 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13228
373d545e
UD
132292010-05-19 Ulrich Drepper <drepper@redhat.com>
13230
13231 * version.h: Update for 2.13 development version.
13232
21a2b1ae
AS
132332010-05-12 Andrew Stubbs <ams@codesourcery.com>
13234
13235 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13236 exceptions. Return 0.
13237
3f7dcb2b
RM
132382010-05-07 Roland McGrath <roland@redhat.com>
13239
13240 * elf/ldconfig.c (main): Add a const.
13241
5f24d53a 132422010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13243
a160f8d8
UD
13244 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13245 (args_options): Add no-idn option.
13246 (ahosts_keys_int): Add idn_flags to ai_flags.
13247 (parse_option): Handle 'i' option to clear idn_flags.
13248
5f24d53a
UD
13249 * malloc/malloc.c (_int_free): Possible race in the most recently
13250 added check. Only act on the data if no current modification
13251 happened.
265bb1ce
UD
13252
13253See ChangeLog.17 for earlier changes.