]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Minor optimization to sparc VIS3 floor() implementation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
dee4a4e3
DM
12012-05-08 David S. Miller <davem@davemloft.net>
2
ee0db190
DM
3 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4 movxtod instead of popping the value on the stack.
5
dee4a4e3
DM
6 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7
6a43ec98
CD
82012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9
10 * config.h.in: Add HAVE_ARM_PCS_VFP.
11
05c2c961
RMG
122012-05-08 Roland Mc Grath <roland@hack.frob.com>
13
14 [BZ #13979]
15 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16 checking but the checks are disabled for any reason.
17
4b30f61a
L
182012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19
20 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21 and ELF64_R_TYPE with ELFW(R_TYPE).
22
eee2bc67
JM
232012-05-08 Joseph Myers <joseph@codesourcery.com>
24
7ea5391a
JM
25 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26 (ulimit): Likewise.
27
eee2bc67
JM
28 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29 (settimeofday): Likewise.
30
abb66a67
MF
312012-05-08 Mike Frysinger <vapier@gentoo.org>
32
33 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34 a struct th_u2 inside the union, and move tu_block/tu_code into
35 a new th_u3 union of tu_block/tu_code inside of that. Move
36 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40 (th_stuff): Change to th_u1.tu_stuff.
41 (th_data): Define.
42 (th_msg): Change to th_u1.th_u2.tu_data.
43
7f18b530
DM
442012-05-07 David S. Miller <davem@davemloft.net>
45
05760585
DM
46 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47
7f18b530
DM
48 [BZ #14074]
49 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50 (SETUP_PIC_REG): Use it.
51 (SETUP_PIC_REG_LEAF): Use it.
52
495fd99f
JM
532012-05-07 Joseph Myers <joseph@codesourcery.com>
54
55 [BZ #13885]
56 [BZ #13923]
57 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58 USE_AS_EXPM1L.
59 (EXPL_FINITE): Likewise.
60 (FLDLOG): Likewise.
61 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63 e_expl.S.
64 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65 USE_AS_EXPM1L.
66 (EXPL_FINITE): Likewise.
67 (FLDLOG): Likewise.
68 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70 e_expl.S.
71 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72 test of -max_value argument for long double.
73 * sysdeps/i386/fpu/libm-test-ulps: Update.
74 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75
6693d694
DM
762012-05-06 David S. Miller <davem@davemloft.net>
77
78 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79 quad soft-float symbols whose references which are compiler
80 generated.
81 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82
6c23e11c
JM
832012-05-06 Joseph Myers <joseph@codesourcery.com>
84
d8b82cad
JM
85 [BZ #13884]
86 [BZ #13914]
87 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
88 USE_AS_EXP10L.
89 (EXPL_FINITE): Likewise.
90 (FLDLOG): Likewise.
91 (c0): Likewise.
92 (c1): Likewise.
93 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
94 Adjust comments for base varying.
95 (__expl_finite): Change alias to EXPL_FINITE.
96 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
97 e_expl.S.
98 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
99 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
100 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
101 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
102 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
103 USE_AS_EXP10L.
104 (EXPL_FINITE): Likewise.
105 (FLDLOG): Likewise.
106 (c0): Likewise.
107 (c1): Likewise.
108 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
109 Adjust comments for base varying.
110 (__expl_finite): Change alias to EXPL_FINITE.
111 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
112 tests for bugs.
113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
114
6c23e11c
JM
115 [BZ #14064]
116 * math/libm-test.inc (check_float_internal): Correct ulp
117 calculation for subnormal expected results.
118
29ba805c
AJ
1192012-05-06 Andreas Jaeger <aj@suse.de>
120
121 * Makeconfig (+math-flags): New, set to -frounding-math.
122 (+cflags): Add +math-flags so that all of glibc gets compiled with
123 it.
124
125 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
126
7b17aeda
JM
1272012-05-05 Joseph Myers <joseph@codesourcery.com>
128
5779f134
JM
129 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
130 Disable one test.
131
41498f4d
JM
132 [BZ #13787]
133 [BZ #13922]
134 [BZ #14036]
135 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
136 (__ieee754_expl): Allow for and saturate large arguments.
137 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
138 (u_threshold): Likewise.
139 (__exp): Call __ieee754_exp before checking for overflow and
140 underflow.
141 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
142 (u_threshold): Likewise.
143 (__expf): Call __ieee754_expf before checking for overflow and
144 underflow.
145 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
146 (u_threshold): Likewise.
147 (__expl): Call __ieee754_expl before checking for overflow and
148 underflow.
149 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
150 (__ieee754_expl): Allow for and saturate large arguments.
151 * math/libm-test.inc (exp_test): Add another test. Do not allow
152 missing overflow exception on overflow.
153 (expm1_test): Do not allow missing overflow exception on overflow.
154
6698b8bf
JM
155 * sysdeps/i386/fpu/e_expl.c: Move to ...
156 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
157 rather than using inline asm.
158 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
159 * sysdeps/x86_64/fpu/e_expl.S: Copy from
160 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
161
7b17aeda
JM
162 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
163 (nice): Likewise.
164 (poll): Likewise.
165 (signal): Likewise.
166 (time): Likewise.
167 (times): Likewise.
168
f7c85819
JM
1692012-05-04 Joseph Myers <joseph@codesourcery.com>
170
171 * sysdeps/unix/syscalls.list (adjtime): Add entry from
172 sysdeps/unix/common/syscalls.list.
173 (fchmod): Likewise.
174 (fchown): Likewise.
175 (ftruncate): Likewise.
176 (getrusage): Likewise.
177 (gettimeofday): Likewise.
178 (setpgid): Likewise.
179 (setregid): Likewise.
180 (setreuid): Likewise.
181 (sigaction): Likewise.
182 (truncate): Likewise.
183 (vhangup): Likewise.
184 * sysdeps/unix/common/syscalls.list: Remove file.
185 * sysdeps/unix/bsd/Implies: Don't include unix/common.
186 * sysdeps/unix/sysv/linux/Implies: Likewise.
187
336270d0
L
1882012-05-04 H.J. Lu <hongjiu.lu@intel.com>
189
190 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
192 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
193 Moved to ...
194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
195 Here.
196 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
197 to ...
198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
199 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
200 to ...
201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
202 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
203 to ...
204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
205 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
206 to ...
207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
208 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
209 to ...
210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
211 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
212 to ...
213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
214 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
215 to ...
216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
217 Here.
218 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
219 to ...
220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
221 Here.
222 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
223 to ...
224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
225 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
226 Moved to ...
227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
228 Here.
229 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
230 to ...
231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
232
d128e450
JM
2332012-05-04 Joseph Myers <joseph@codesourcery.com>
234
fa8ee516
JM
235 * sysdeps/unix/common/bits/dirent.h: Remove file.
236 * sysdeps/unix/common/bits/fcntl.h: Likewise.
237
d128e450
JM
238 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
239 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
240 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
241 * sysdeps/unix/bsd/isatty.c: Likewise.
242 * sysdeps/unix/bsd/tcdrain.c: Likewise.
243 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
244 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
245
ff8faaf0 2462012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 247
62881be4 248 [BZ #13563]
31dc8730
AZ
249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
250 long double comparison inaccuracies.
251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
253
6fef930c
AS
2542012-05-04 Andreas Schwab <schwab@linux-m68k.org>
255
256 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
258
8f203e6c
JM
2592012-05-04 Joseph Myers <joseph@codesourcery.com>
260
261 [BZ #14049]
262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
263 nonzero digits before rounding a hex value.
264 * stdlib/tst-strtod.c (tests): Add another test.
265
5197d9c2
AK
2662012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
267
268 * sysdeps/s390/fpu/libm-test-ulps: Update.
269
f0c1dedf
AJ
2702012-05-03 Andreas Jaeger <aj@suse.de>
271
272 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
273 does not get optimized out.
274 (malloc_opt_barrier): New.
275
a65ef2ae 2762012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 277 Roland McGrath <roland@hack.frob.com>
a65ef2ae 278
2b942cb7 279 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 280 intermediate file deletion.
2b942cb7 281 (generated): Add .symlist files.
a65ef2ae 282
54b71e02
JM
2832012-05-03 Joseph Myers <joseph@codesourcery.com>
284
285 [BZ #13775]
286 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
287 Redirect under this condition.
288 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
289 [__USE_GNU] (__dprintf_chk): Not under this condition.
290 [__USE_GNU] (__vdprintf_chk): Likewise.
291 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
292 under this condition.
293 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
294 [__USE_XOPEN2K8] (dprintf): Define under this condition.
295 [__USE_XOPEN2K8] (vdprintf): Likewise.
296 [__USE_GNU] (__dprintf_chk): Not under this condition.
297 [__USE_GNU] (__vdprintf_chk): Likewise.
298 [__USE_GNU] (dprintf): Likewise.
299 [__USE_GNU] (vdprintf): Likewise.
300
d3dfcc41
RM
3012012-05-03 Roland McGrath <roland@hack.frob.com>
302
303 * elf/Makefile (common-generated): Set this instead of generated for
304 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
305 $(all-built-dso)-derived lists.
306
7ac30cc5
AJ
3072012-05-03 Andreas Jaeger <aj@suse.de>
308
0c51e550
AJ
309 * sysdeps/i386/fpu/libm-test-ulps: Update.
310
7ac30cc5
AJ
311 * FAQ: Removed.
312 * FAQ.in: Likewise.
313 * scripts/gen-FAQ.pl: Likewise.
314 * manual/install.texi (Installation): Point to online location of
315 FAQ.
316 * Makefile (files-for-dist): Remove FAQ.
317 (FAQ): Remove.
318
d4c2917f
AM
3192012-05-02 Allan McRae <allan@archlinux.org>
320
321 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
322 (LDFLAGS-reldepmod5.so): Likewise.
323 (LDFLAGS-reldep6mod1.so): Likewise.
324 (LDFLAGS-reldep6mod4.so): Likewise.
325 (LDFLAGS-reldep8mod3.so): Likewise.
326 (LDFLAGS-unload4mod1.so): Likewise.
327 (LDFLAGS-unload4mod2.so): Likewise.
328 (LDFLAGS-tst-initorder): Likewise.
329 (LDFLAGS-tst-initordera2.so): Likewise.
330 (LDFLAGS-tst-initordera3.so): Likewise.
331 (LDFLAGS-tst-initordera4.so): Likewise.
332 (LDFLAGS-tst-initorderb2.so): Likewise.
333 (LDFLAGS-noload): Likewise.
334 (LDFLAGS-next): Likewise.
335 (LDFLAGS-order2mod1.so): Likewise.
336 (LDFLAGS-order2mod2.so): Likewise.
337 (LDFLAGS-tst-initorder2): Likewise.
338 (LDFLAGS-tst-initorder2a.so): Likewise.
339 (LDFLAGS-tst-initorder2b.so): Likewise.
340 (LDFLAGS-tst-initorder2c.so): Likewise.
341 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
342
d77f993f
DM
3432012-05-02 David S. Miller <davem@davemloft.net>
344
345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
346
171a70b4
PP
3472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
348
349 [BZ #14055]
350 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
351
0be196ad
AJ
3522012-05-02 Andreas Jaeger <aj@suse.de>
353
354 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
355 since we manipulate rounding mode.
356 (CPPFLAGS-test-idouble.c): Likewise.
357 (CPPFLAGS-test-ifloat.c): Likewise.
358 (CFLAGS-test-ldouble.c): Likewise.
359 (CFLAGS-test-double.c): Likewise.
360 (CFLAGS-test-float.c): Likewise.
361 (CFLAGS-test-misc.c): Likewise.
362 (CFLAGS-test-test-fenv.c): Likewise.
363
4f9d04aa
AZ
3642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
365
2b942cb7
RM
366 [BZ #2550]
367 [BZ #2570]
368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
369 comparisons to determine direction to adjust input.
4f9d04aa 370
82a79e7d
RM
3712012-05-01 Roland McGrath <roland@hack.frob.com>
372
f5a01ca9
RM
373 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
374 output to the target.
375
90fe4186
RM
376 * scripts/localplt.awk: New file.
377 * elf/Makefile ($(objpfx)check-localplt): Target removed.
378 (check-localplt-CFLAGS): Variable removed.
379 ($(all-built-dso:=.jmprel)): New static pattern rule.
380 (generated): Add those targets.
381 (localplt-built-dso): New variable.
382 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
383
384 * elf/check-localplt.c: File removed.
385
82397ed6
RM
386 * scripts/check-execstack.awk: New file.
387 * elf/Makefile ($(objpfx)check-execstack): Target removed.
388 (check-execstack-CFLAGS): Variable removed.
389 ($(objpfx)check-execstack.h): Target removed.
390 ($(objpfx)execstack-default): New target.
391 (generated): Add that instead of check-execstack.h.
392 ($(all-built-dso:=.phdr)): New static pattern rule.
393 (generated): Add those targets.
394 * elf/check-execstack.c: File removed.
395
82a79e7d
RM
396 * scripts/check-textrel.awk: New file.
397 * elf/Makefile ($(objpfx)check-textrel): Target removed.
398 (check-textrel-CFLAGS): Variable removed.
399 (all-built-dso): Use := to define.o
400 ($(all-built-dso:=.dyn)): New static pattern rule.
401 (generated): Add those targets.
402 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
403 * config.make.in (READELF): New substituted variable.
404 * elf/check-textrel.c: File removed.
405
62fde54f 4062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 407
615605c9
JM
408 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
409 allow.
410 * conform/data/ctype.h-data [C99-based standards] (isblank):
411 Expect function.
412 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
413 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
415 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
416 Specify type. Require positive value.
417 (EILSEQ): Likewise.
418 (ERANGE): Likewise.
419 [ISO || POSIX] (EILSEQ): Do not expect.
420 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
421 Specify type. Require positive value.
422 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
423 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
424 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
425 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
426 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
427 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
428 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
429 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
430 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
431 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
432 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
433 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
434 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
435 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
436 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
437 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
438 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
439 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
440 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
441 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
442 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
443 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
444 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
445 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
446 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
447 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
448 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
449 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
450 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
451 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
452 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
453 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
454 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
455 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
456 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
457 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
458 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
459 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
460 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
461 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
462 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
463 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
464 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
465 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
466 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
467 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
468 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
469 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
470 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
471 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
472 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
473 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
474 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
475 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
476 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
477 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
478 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
479 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
480 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
481 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
482 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
483 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
484 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
485 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
486 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
487 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
488 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
489 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
490 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
491 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
492 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
493 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
494 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
495 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
496 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
497 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
498 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
499 Require >= 2.
500 (FLT_ROUNDS): Expect as macro, not constant.
501 (FLT_MANT_DIG): Use macro-int-constant.
502 (DBL_MANT_DIG): Likewise.
503 (LDBL_MANT_DIG): Likewise.
504 (FLT_DIG): Likewise.
505 (DBL_DIG): Likewise.
506 (LDBL_DIG): Likewise.
507 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
508 (DBL_MIN_EXP): Likewise.
509 (LDBL_MIN_EXP): Likewise.
510 (FLT_MAX_EXP): Use macro-int-constant.
511 (DBL_MAX_EXP): Likewise.
512 (LDBL_MAX_EXP): Likewise.
513 (FLT_MAX_10_EXP): Likewise.
514 (DBL_MAX_10_EXP): Likewise.
515 (LDBL_MAX_10_EXP): Likewise.
516 (FLT_MAX): Use macro-constant.
517 (DBL_MAX): Likewise.
518 (LDBL_MAX): Likewise.
519 (FLT_EPSILON): Use macro-constant. Give upper bound.
520 (DBL_EPSILON): Likewise.
521 (LDBL_EPSILON): Likewise.
522 (FLT_MIN): Likewise.
523 (DBL_MIN): Likewise.
524 (LDBL_MIN): Likewise.
525 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
526 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
527 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
528 [ISO11] (FLT_HAS_SUBNORM): Likewise.
529 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
530 [ISO11] (DBL_DECIMAL_DIG): Likewise.
531 [ISO11] (FLT_DECIMAL_DIG): Likewise.
532 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
533 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
534 [ISO11] (FLT_TRUE_MIN): Likewise.
535 [ISO11] (LDBL_TRUE_MIN): Likewise.
536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
537 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
538 (SCHAR_MIN): Use macro-int-constant. Specify type.
539 (SCHAR_MAX): Likewise.
540 (UCHAR_MAX): Likewise.
541 (CHAR_MIN): Likewise.
542 (CHAR_MAX): Likewise.
543 (MB_LEN_MAX): Use macro-int-constant.
544 (SHRT_MIN): Use macro-int-constant. Specify type.
545 (SHRT_MAX): Likewise.
546 (USHRT_MAX): Likewise.
547 (INT_MAX): Likewise.
548 (INT_MIN): Use macro-int-constant. Specify type. Make upper
549 bound negative.
550 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
551 bound with "U".
552 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
553 bound with "L".
554 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
555 bound negative. Suffix upper bound with "L".
556 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
557 bound with "UL".
558 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
559 Specify type.
560 [C99-based standards] (LLONG_MAX): Likewise.
561 [C99-based standards] (ULLONG_MAX): Likewise.
562 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
563 == 0.
564 [ISO11] (max_align_t): Require type.
565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
566
c9140a62
JM
567 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
568 from $CFLAGS, without defining away __attribute__ calls.
569 (checknamespace): Use $CFLAGS_namespace.
570
9af0bf29
JM
571 * conform/conformtest.pl (@keywords): Only include C99 keywords
572 for standards based on C99 or C11.
573
343222a2
JM
574 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
575 Disable tests.
576 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
577 UNIX98]: Likewise.
578
661f8cf0
JM
579 * conform/conformtest.pl: Handle "macro-int-constant" and test for
580 usability of symbols in #if.
581
ee74b9cb
JM
582 * conform/conformtest.pl: If macro or constant types start
583 "promoted:", expect the symbol to be of the following type
584 promoted by the integer promotions.
62fde54f 585
aafc49b3
JM
586 * conform/conformtest.pl: Parse all "constant" and "macro" lines
587 in one place. Also handle "macro-constant".
588
fefdf574
JM
589 * conform/conformtest.pl: Only accept expected macro values with
590 "==". Parse all "macro" lines in one place.
591 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
592
f2d922fe
JM
593 * conform/conformtest.pl: Handle braced types on "constant" lines
594 instead of handling "typed-constant".
595 * conform/data/signal.h-data: Use "constant" instead of
596 "typed-constant".
597
d22956c9
JM
598 * conform/conformtest.pl: Handle "optional-" at start of lines in
599 one place rather than duplicating several cases. Handle each
600 format of "macro" line with initial "optional-".
601
028e2e38
JM
602 * conform/conformtest.pl: Only accept expected constant or
603 optional-constant values with "==". Parse all "constant" lines in
604 one place. Parse all "optional-constant" lines in one place.
605 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
606 * conform/data/fmtmsg.h-data: Likewise.
607 * conform/data/netinet/in.h-data: Likewise.
608 * conform/data/tar.h-data: Likewise.
609 * conform/data/limits.h-data: Use "==" form on "constant" and
610 "optional-constant" lines.
611
1b8f2850
JM
612 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
613 Use -std=c99 for XOPEN2K.
614 (@knownproblems): Remove.
615 (newtoken): Don't check %isknown.
616
a05a144b
JM
617 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
618 Do not expect macro.
619 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
620 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
621 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
622 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
623 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
624 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
625 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
626 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
627 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
628 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
629 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
630 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
631 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
632 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
633 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
634 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
635 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
636 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
637 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
638 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
639 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
641 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
643 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
644 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
645 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
646 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
647 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
648 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
649 [XPG3] (acosh): Likewise.
650 [XPG3] (asinh): Likewise.
651 [XPG3] (atanh): Likewise.
652 [XPG3] (cbrt): Likewise.
653 [XPG3] (expm1): Likewise.
654 [XPG3] (ilogb): Likewise.
655 [XPG3] (log1p): Likewise.
656 [XPG3] (logb): Likewise.
657 [XPG3] (nextafter): Likewise.
658 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
659 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
660 [XPG3] (remainder): Likewise.
661 [XPG3] (rint): Likewise.
662 [XPG3 || XPG4 || UNIX98] (round): Likewise.
663 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
664 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
665 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
666 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
667 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
668 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
669 [UNIX98 || XOPEN2K] (scalb): Expect.
670 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
671 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
672 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
673 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
674 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
675 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
676 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
677 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
678 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
679 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
680 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
681 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
682 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
683 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
684 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
685 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
686 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
687 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
688 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
689 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
690 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
691 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
692 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
693 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
694 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
695 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
696 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
697 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
698 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
699 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
700 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
701 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
702 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
703 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
704 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
705 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
706 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
707 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
708 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
709 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
710 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
711 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
712 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
713 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
714 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
715 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
716 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
717 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
718 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
719 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
720 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
721 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
722 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
723 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
724 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
725 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
726 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
727 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
728 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
729 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
730 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
731 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
732 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
733 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
734 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
735 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
736 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
737 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
738 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
739 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
740 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
741 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
742 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
743 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
744 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
745 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
746 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
747 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
748 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
749 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
750 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
751 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
752 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
753 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
754 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
755 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
756 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
757 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
758 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
759 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
760 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
761 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
762 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
763 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
764 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
765 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
766 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
767 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
768 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
769 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
770 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
771 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
772 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
773 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
774 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
775 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
776 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
777 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
778 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
779 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
780 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
781 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
782 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
783 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
784 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
785 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
786 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
787 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
788 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
789 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
790 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
791 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
792 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
793 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
794 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
795 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
796 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
797 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
798 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
799 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
800 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
801 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
802 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
803 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
804 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
805 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
806 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
807
73c5ebe3
JM
808 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
809 _XOPEN_SOURCE_EXTENDED for XPG4.
810
39c33b6c
JM
811 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
812
62fde54f
JM
813 * Makeconfig (localtime): Remove variable.
814 (inst_localtime-file): Likewise.
815
0741d64c
AS
8162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
817
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
819 Update.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
821 Update.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
823 Update.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
825 Update.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
827 Update.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
829 Update.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
831 Update.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
833 Update.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
835 Update.
836
7cb029ee
JM
8372012-05-01 Joseph Myers <joseph@codesourcery.com>
838
839 [BZ #2550]
840 [BZ #2570]
841 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
842 comparisons to determine direction to adjust input.
843 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
844 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
846 Likewise.
847 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
848 Likewise.
849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
850 Likewise.
851 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
852 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
853 Likewise.
854 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
855 Likewise.
856 * math/libm-test.inc (nexttoward_test): Add more tests.
857
412bd966
AS
8582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
859
860 [BZ #14040]
861 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
862 in version GLIBC_2.1, not GLIBC_2.0.
863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
864 Likewise.
865
9568c0c2
JM
8662012-04-30 Joseph Myers <joseph@codesourcery.com>
867
adfbc8ac
JM
868 [BZ #13942]
869 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
870 (1 - x) * (1 + x).
871 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
872 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
873 * math/libm-test.inc (acos_test): Add more tests.
874 (asin_test): Likewise.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
5ba3cc69
JM
878 [BZ #14034]
879 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
880 of square root.
881 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
882 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
883 * math/libm-test.inc (acos_test_tonearest): New function.
884 (acos_test_towardzero): Likewise.
885 (acos_test_downward): Likewise.
886 (acos_test_upward): Likewise.
887 (asin_test_tonearest): Likewise.
888 (asin_test_towardzero): Likewise.
889 (asin_test_downward): Likewise.
890 (asin_test_upward): Likewise.
891 (main): Call the new functions.
892 * sysdeps/i386/fpu/libm-test-ulps: Update.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
894
9568c0c2
JM
895 [BZ #13884]
896 [BZ #13924]
897 * math/e_exp10.c: Include <float.h>.
898 (__ieee754_exp10): Handle underflow here rather than multiplying
899 large negative argument by M_LN10.
900 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
901 of __ieee754_expf.
902 * math/e_exp10l.c: Include <float.h>.
903 (__ieee754_exp10l): Handle underflow here rather than multiplying
904 large negative argument by M_LN10l.
905 * math/libm-test.inc (exp10_test): Add another test. Do not allow
906 spurious overflow exception on underflow.
907
5ac3ea17
MP
9082012-04-29 Marek Polacek <polacek@redhat.com>
909
910 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
911 (__fortify_function): New macro.
912 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
913 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
914 __extern_always_inline.
915 * libio/bits/stdio2.h: Likewise.
916 * libio/bits/stdio.h: Likewise.
917 * string/string.h: Likewise.
918 * string/bits/string3.h: Likewise.
919 * include/stdio.h: Likewise.
920 * stdlib/bits/stdlib.h: Likewise.
921 * stdlib/stdlib.h: Likewise.
922 * rt/bits/mqueue2.h: Likewise.
923 * rt/mqueue.h: Likewise.
924 * posix/bits/unistd.h: Likewise.
925 * posix/unistd.h: Likewise.
926 * io/bits/poll2.h: Likewise.
927 * io/bits/fcntl2.h: Likewise.
928 * io/fcntl.h: Likewise.
929 * io/sys/poll.h: Likewise.
930 * misc/bits/syslog.h: Likewise.
931 * misc/bits/syslog-ldbl.h: Likewise.
932 * misc/sys/syslog.h: Likewise.
933 * socket/bits/socket2.h: Likewise.
934 * socket/sys/socket.h: Likewise.
935 * debug/tst-chk1.c: Likewise.
936 * wcsmbs/bits/wchar2.h: Likewise.
937 * wcsmbs/bits/wchar-ldbl.h: Likewise.
938 * wcsmbs/wchar.h: Likewise.
939
ecf0ebfb
AJ
9402012-04-29 Andreas Jaeger <aj@suse.de>
941
942 * Makerules (tests): Remove enable-check-abi protection.
943 (check-abi-warn): Remove.
944 (check-abi-%): Remove check-abi-warn usage.
945
946 * configure.in: Remove check-abi configure option.
947 * configure: Regenerated.
948 * config.make.in (enable-check-abi): Remove.
949
6d5c57fa
AS
9502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
951
24c5d07e 952 [BZ #14033]
ded5180a
AS
953 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
954 double functions to double *_finite functions.
955
7e0d315d
AS
956 [BZ #13941]
957 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
958 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
959 LDBL_MIN_EXP.
960 * stdio-common/Makefile (tests): Add tst-sprintf3.
961 * stdio-common/tst-sprintf3.c: New file.
962
6d5c57fa
AS
963 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
964 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
965
0749ff8b
JM
9662012-04-28 Joseph Myers <joseph@codesourcery.com>
967
968 * conform/conformtest.pl: Remove duplicate typed-constant
969 handling.
970
8dbd5d7b
DM
9712012-04-28 David S. Miller <davem@davemloft.net>
972
973 * Makerules (%.abilist): Add vpath on sysdep_dirs.
974 (check-abi-%): Remove AWK script prerequisite and explicit
975 abilist directory.
976 (check-abi): Rewrite to just diff the symlist with the abilist.
977 (config-tls, config-abi-config): Delete, no longer used.
978 (update-abi-%): Remove AWK script and explicit abilist directory.
979 (update-abi): Rewrite to simply compare and conditionally copy the
980 symlist and the sysdep abilist file. Remove update-abi-config
981 checks.
982 * abilist/ld.abilist: Remove.
983 * abilist/libBrokenLocale.abilist: Remove.
984 * abilist/libanl.abilist: Remove.
985 * abilist/libcrypt.abilist: Remove.
986 * abilist/libdl.abilist: Remove.
987 * abilist/librt.abilist: Remove.
988 * abilist/libthread_db.abilist: Remove.
989 * abilist/libutil.abilist: Remove.
990 * scripts/extract-abilist.awk: Remove.
991 * scripts/merge-abilist.awk: Remove.
992 * sysdeps/generic/libcidn.abilist: New file.
993 * sysdeps/generic/libnss_compat.abilist: New file.
994 * sysdeps/generic/libnss_db.abilist: New file.
995 * sysdeps/generic/libnss_dns.abilist: New file.
996 * sysdeps/generic/libnss_files.abilist: New file.
997 * sysdeps/generic/libnss_hesiod.abilist: New file.
998 * sysdeps/generic/libnss_nis.abilist: New file.
999 * sysdeps/generic/libnss_nisplus.abilist: New file.
1000 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1001 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1002 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1003 file.
1004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1005 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1006 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1007 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1008 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1009 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1010 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1011 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1012 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1013 file.
1014 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1015 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1016 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1017 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1018 file.
1019 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1020 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1021 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1022 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1023 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1024 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1025 file.
1026 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1027 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1028 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1029 file.
1030 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1032 New file.
1033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1034 New file.
1035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1036 New file.
1037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1038 New file.
1039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1040 New file.
1041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1042 New file.
1043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1044 New file.
1045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1046 New file.
1047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1048 New file.
1049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1050 New file.
1051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1052 New file.
1053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1054 New file.
1055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1056 New file.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1058 file.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1060 New file.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1062 New file.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1064 file.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1066 New file.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1068 New file.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1070 file.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1072 New file.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1074 New file.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1076 New file.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1078 New file.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1080 New file.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1082 New file.
1083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1085 file.
1086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1087 New file.
1088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1089 file.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1091 file.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1093 file.
1094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1095 file.
1096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1097 file.
1098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1099 New file.
1100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1101 file.
1102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1103 file.
1104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1105 New file.
1106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1107 file.
1108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1110 file.
1111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1112 New file.
1113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1114 file.
1115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1116 file.
1117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1118 file.
1119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1120 file.
1121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1122 file.
1123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1124 New file.
1125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1126 file.
1127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1128 file.
1129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1130 New file.
1131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1132 file.
1133 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1134 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1135 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1136 file.
1137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1138 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1139 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1140 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1141 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1142 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1143 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1144 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1145 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1146 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1149 file.
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1151 New file.
1152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1153 file.
1154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1155 file.
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1157 file.
1158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1159 file.
1160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1161 file.
1162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1163 New file.
1164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1165 New file.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1167 file.
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1169 New file.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1171 file.
1172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1174 file.
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1176 New file.
1177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1178 file.
1179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1180 file.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1182 file.
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1184 file.
1185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1186 file.
1187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1188 New file.
1189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1190 New file.
1191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1192 file.
1193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1194 New file.
1195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1196 file.
1197
41d73a1b
JM
11982012-04-28 Joseph Myers <joseph@codesourcery.com>
1199
1200 * conform/conformtest.pl: Fix typo in handling typed-constant from
1201 allow-header.
1202
28aeeda4
JM
12032012-04-27 Joseph Myers <joseph@codesourcery.com>
1204
adae8f5e
JM
1205 * README: Cut down references to pre-2.6 Linux kernels and
1206 Linuxthreads. Update lists of configurations in libc and ports
1207 and sort alphabetically. Say "or newer" with Linux kernel version
1208 requirements.
1209
28aeeda4
JM
1210 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1211
a462cb63
RA
12122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1213
1214 [BZ #887]
1215 * math/libm-test.inc (logb_test_downward): New test to expose
1216 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1217 rounding mode.
1218
6ad3493e
JM
12192012-04-27 Joseph Myers <joseph@codesourcery.com>
1220
1221 [BZ #14027]
1222 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1223 to be done.
1224 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1225 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1226
2ce4f015
JM
12272012-04-26 Joseph Myers <joseph@codesourcery.com>
1228
5aeb141a
JM
1229 * sysdeps/unix/i386/brk.S: Remove file.
1230 * sysdeps/unix/i386/dl-brk.S: Likewise.
1231 * sysdeps/unix/i386/pipe.S: Likewise.
1232 * sysdeps/unix/i386/sigreturn.S: Likewise.
1233 * sysdeps/unix/i386/syscall.S: Likewise.
1234 * sysdeps/unix/i386/vfork.S: Likewise.
1235 * sysdeps/unix/i386/wait.S: Likewise.
1236
7143acae
JM
1237 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1238 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1239
2ce4f015
JM
1240 * configure.in (arm*-none*): Do not allow without
1241 --enable-hacker-mode.
1242 (netbsd*): Remove case setting base_os.
1243 (386bsd*): Likewise.
1244 (freebsd*): Likewise.
1245 (bsdi*): Likewise.
1246 (osf*): Likewise.
1247 (sunos*): Likewise.
1248 (ultrix*): Likewise.
1249 (newsos*): Likewise.
1250 (dynix*): Likewise.
1251 (*bsd*): Likewise.
1252 (sysv*): Likewise.
1253 (isc*): Likewise.
1254 (esix*): Likewise.
1255 (sco*): Likewise.
1256 (minix*): Likewise.
1257 (irix4*): Likewise.
1258 (irix6*): Likewise.
1259 (solaris[2-9]*): Likewise.
1260 (none): Likewise.
1261 * configure: Regenerated.
1262
0ac229c8
AZ
12632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1264
1265 [BZ #11521]
1266 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1267 overflow or cancellation in calculating denominator.
1268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1270 down expression to avoid unexpected rounding in newer GCCs.
1271 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1272
33f244f4
DM
12732012-04-26 David S. Miller <davem@davemloft.net>
1274
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1276 long-double compat symbols.
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1290
cfa1f3e8
DM
12912012-04-25 David S. Miller <davem@davemloft.net>
1292
1293 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1294 HWCAP_* values only after the memory barriers have been defined.
1295 (atomic_full_barrier): Define.
1296 (atomic_read_barrier): Define.
1297 (atomic_write_barrier): Define.
1298
6e236b92
SP
12992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1300
1301 * shlib-versions: Add libgcc_s version information.
1302 * sysdeps/generic/libgcc_s.h: Remove.
1303 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1304 libgcc_s.h.
1305 * sysdeps/gnu/unwind-resume.c: Likewise.
1306 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1307
aab39a09
DM
13082012-04-25 David S. Miller <davem@davemloft.net>
1309
1310 * sysdeps/unix/sparc/brk.S: Delete.
1311 * sysdeps/unix/sparc/dl-brk.S: Delete.
1312 * sysdeps/unix/sparc/pipe.S: Delete.
1313 * sysdeps/unix/sparc/sysdep.S: Delete.
1314 * sysdeps/unix/sparc/sysdep.h: Delete.
1315 * sysdeps/unix/sparc/vfork.S: Delete.
1316 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1317 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1319 ret_ERRVAL, r0, r1, MOVE): Define.
1320 (JUMPTARGET): Remove.
1321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1322 sysdeps/unix/sparc/sysdep.h
1323 (ENTRY, END): Remove.
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1325
a3cc4f48
JM
13262012-04-25 Joseph Myers <joseph@codesourcery.com>
1327
2ed8cda2
JM
1328 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1329 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1330 -DIS_IN_build.
1331
35d76d59
JM
1332 * timezone/README: Update upstream location and email address for
1333 tzcode and tzdata.
1334 * timezone/zdump.c: Update from tzcode 2012b.
1335 * timezone/zic.c: Likewise.
1336
a3cc4f48
JM
1337 * configure.in (libc_cv_as_needed): Remove test.
1338 * configure: Regenerated.
1339 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1340 conditional definition.
1341 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1342 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1343 * config.make.in (have-as-needed): Remove variable.
1344
ceab42c3
SP
13452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1346 Paul Pluzhnikov <ppluzhnikov@google.com>
1347
1348 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1349 strings correctly.
1350
3ce2865f
CLT
13512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1352
1353 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1354 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1355 * sysdeps/sh/strlen.S: Likewise.
1356
f37e0d68
JM
13572012-04-24 Joseph Myers <joseph@codesourcery.com>
1358
ae186e9a
JM
1359 * sysdeps/unix/fork.S: Remove file.
1360 * sysdeps/unix/i386/fork.S: Likewise.
1361 * sysdeps/unix/sparc/fork.S: Likewise.
1362
b96914af
JM
1363 * sysdeps/unix/system.c: Remove file.
1364 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1365
f37e0d68
JM
1366 * sysdeps/unix/getegid.S: Remove file.
1367 * sysdeps/unix/geteuid.S: Likewise.
1368
87ef29ca
RM
13692012-04-24 Roland McGrath <roland@hack.frob.com>
1370
83bcd236
RM
1371 * scripts/check-localplt.awk: New file.
1372 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1373 of diff.
1374 * scripts/data/localplt-generic.data: Add a comment.
1375
87ef29ca
RM
1376 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1377 NODE when __dir_mkfile failed.
1378 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1379 Reported by Ludovic Courtès <ludo@gnu.org>.
1380
e5a6e567
AJ
13812012-04-24 Andreas Jaeger <aj@suse.de>
1382
1383 * Makerules (common-clean): Also remove gen-as-const-headers
1384 files.
1385
c1820385
JM
13862012-04-24 Joseph Myers <joseph@codesourcery.com>
1387
1388 * Makerules (native-compile): Do not change working directory for
1389 build. Use $(OUTPUT_OPTION) in command.
1390 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1391
94e02fc4
AZ
13922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393
1394 [BZ #13886]
1395 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1396 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1397 * math/libm-test.inc (floor_test): Add more tests.
1398 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1399
3a533ca3
JM
14002012-04-24 Joseph Myers <joseph@codesourcery.com>
1401
940ab4b3
JM
1402 * sysdeps/unix/getdents.c: Remove file.
1403 * sysdeps/unix/sysv/getdents.c: Likewise.
1404 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1405
90e037bd
JM
1406 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1407 sysdeps/unix/mman/syscalls.list.
1408 (mmap): Likewise.
1409 (mprotect): Likewise.
1410 (msync): Likewise.
1411 (munmap): Likewise.
1412 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1413 * sysdeps/unix/mman/syscalls.list: Remove.
1414 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1415
3a533ca3
JM
1416 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1417 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1418 * configure: Regenerated.
1419 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1420 $(libgcc_s_suffix).
1421 * config.make.in (libgcc_s_suffix): Remove variable.
1422
1ad743de
JM
14232012-04-23 Joseph Myers <joseph@codesourcery.com>
1424
4ad451e2
JM
1425 * sysdeps/unix/sysv/gethostname.c: Move to ...
1426 * sysdeps/posix/gethostname.c: ... here.
1427
5e37ce39
JM
1428 * sysdeps/unix/execve.S: Remove file.
1429
1ad743de
JM
1430 * sysdeps/unix/_exit.S: Remove file.
1431
4e681b5b
AJ
14322012-04-23 Andreas Jaeger <aj@suse.de>
1433
1434 [BZ #13739]
1435 * manual/Makefile: Remove make dist support, there's no
1436 need for a stand-alone documentation tar ball.
1437 (TEXI2DVI): Define always, it's not in Makeconfig.
1438 (dist): Removed.
1439 (tar-it): Removed.
1440 (edition): Removed.
1441 (glibc-doc-$(edition).tar): Removed
1442 (%.Z): Removed.
1443 (%.gz): Removed.
1444 (%.uu): Removed.
1445 (ETAGS): Remove, it's in Makeconfig.
1446 (move-if-change): Remove, it's in Makeconfig.
1447
c0baea34
PE
14482013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1449
1450 [BZ #13970]
1451 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1452 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1453 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1454 (strtod_l, strtof_l, strtold_l): Remove __wur.
1455 It is not necessarily an error to ignore strtol's return value.
1456 One can reliably look at the stored endptr to decide whether
1457 the number had valid syntax.
1458
7c0616fa
AJ
14592012-04-21 Andreas Jaeger <aj@suse.de>
1460
803cb6b7 1461 [BZ #13739]
7c0616fa
AJ
1462 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1463
b0fe253f
JM
14642012-04-21 Joseph Myers <joseph@codesourcery.com>
1465
1466 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1467 * sysdeps/unix/sysv/Versions: Remove file.
1468
8280f22d
MT
14692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1470
1471 [BZ #13927]
1472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1473
75ce411f 14742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1475
1476 [BZ #7064]
1477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1478 version from __vm86.
1479
097d59fa
JM
14802012-04-20 Joseph Myers <joseph@codesourcery.com>
1481
a90f3bcb
JM
1482 * sysdeps/unix/common/lxstat.c: Remove file.
1483 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1484
edc7ea78
JM
1485 * sysdeps/unix/sysv/Makefile: Remove file.
1486
cb78c221
JM
1487 * sysdeps/unix/sysv/direct.h: Remove file.
1488
efa6a45f
JM
1489 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1490 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1491 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1492 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1493 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1494 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1495 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1496
9c9f2d0c
JM
1497 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1498
4541c83b
JM
1499 * sysdeps/unix/xmknod.c: Remove file.
1500 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1501
f5d153a0
JM
1502 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1503
aa746595
JM
1504 * sysdeps/unix/sysv/i386/time.S: Remove file.
1505
cce5905e
JM
1506 * sysdeps/unix/fxstat.c: Remove file.
1507 * sysdeps/unix/xstat.c: Likewise.
1508 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1509
37fa3841
JM
1510 * sysdeps/unix/sysv/sigaction.c: Remove file.
1511
ff1962a3
JM
1512 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1513 (sysdep_headers): Remove variable.
1514 [termio.h not in sysdep_headers] (generated): Likewise.
1515 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1516 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1517 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1518 * sysdeps/unix/sysv/tcflow.c: Likewise.
1519 * sysdeps/unix/sysv/tcflush.c: Likewise.
1520 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1521 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1522 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1523 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1524 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1525
e7740d31
JM
1526 * sysdeps/unix/siglist.c: Remove file.
1527
ee06f18b
JM
1528 * sysdeps/unix/getppid.S: Remove file.
1529
097d59fa
JM
1530 * sysdeps/unix/mkdir.c: Remove file.
1531 * sysdeps/unix/rmdir.c: Likewise.
1532
ff3d51ec
AS
15332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1534
1535 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1536 ERR_MAX value.
1537 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1538 errlist-compat value.
1539
50f81fd7
DM
15402012-04-18 David S. Miller <davem@davemloft.net>
1541
1542 * sysdeps/generic/memcopy.h (reg_char): Delete.
1543 * debug/strcat_chk.c: Use char, not reg_char.
1544 * debug/strcpy_chk.c: Likewise.
1545 * debug/strncat_chk.c: Likewise.
1546 * debug/strncpy_chk.c: Likewise.
1547 * string/memchr.c: Likewise.
1548 * string/memrchr.c: Likewise.
1549 * string/rawmemchr.c: Likewise.
1550 * string/strcat.c: Likewise.
1551 * string/strchr.c: Likewise.
1552 * string/strchrnul.c: Likewise.
1553 * string/strcmp.c: Likewise.
1554 * string/strcpy.c: Likewise.
1555 * string/strncat.c: Likewise.
1556 * string/strncmp.c: Likewise.
1557 * string/strncpy.c: Likewise.
1558
8ff41c46
WS
15592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1560
1561 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1562 __builtin_memcopy is called when src and dest ranges are known to not
1563 overlap.
1564
6b652f46
WS
15652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1566
1567 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1568 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1569 fwd_align_merge macro call.
1570 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1571 bwd_align_merge macro call.
1572 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1573
b282631e
WS
15742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1575
1576 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1577 bwd_align_merge macros.
1578 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1579 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1580 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1581
95aa737c
DM
15822012-04-18 David S. Miller <davem@davemloft.net>
1583
1584 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1585
7a99a614
AJ
15862012-04-18 Andreas Jaeger <aj@suse.de>
1587
1588 [BZ# 6794]
1589 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1590 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1591 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1592
1593 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1594 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1595 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1596
1597 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1598 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1599 Adjust for changed ldbl-128 files.
1600
1601 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1602 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1603 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1604
e5270c23
DM
16052012-04-17 David S. Miller <davem@davemloft.net>
1606
1607 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1608
fb5e92c9
AS
16092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1610
1611 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1612 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1613 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1614 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1615 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1616 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1617
76da7265
AZ
16182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619
1620 [BZ #6794]
1621 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1622 * math/libm-test.inc: Add ilogb errno and exception tests.
1623 * math/w_ilogb.c: New file: ilogb wrapper.
1624 * math/w_ilogbf.c: New file: ilogbf wrapper.
1625 * math/w_ilogbl.c: New file: ilogbl wrapper.
1626 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1627 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1628 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1629 exception being thrown with 0.0 as argument.
1630 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1631 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1632 exception being thrown with 0.0 as argument.
1633 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1634 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1635 exception being thrown with 0.0 as argument.
1636 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1637 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1638 exception being thrown with 0.0 as argument.
1639 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1640 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1641 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1642 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1643 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1644 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1645 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1646 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1647 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1648
0396e69d
PB
16492012-04-17 Petr Baudis <pasky@ucw.cz>
1650
1651 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1652 with altivec.
1653
750b5926
MP
16542012-04-16 Marek Polacek <polacek@redhat.com>
1655
1656 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1657
751728a1
MP
16582012-04-16 Marek Polacek <polacek@redhat.com>
1659
1660 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1661 operands of fdivp instruction.
1662
34a27407
L
16632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1666 * elf/tst-auditmod3b.c: Likewise.
1667 * elf/tst-auditmod4b.c: Likewise.
1668 * elf/tst-auditmod5b.c: Likewise.
1669 * elf/tst-auditmod6b.c: Likewise.
1670 * elf/tst-auditmod6c.c: Likewise.
1671 * elf/tst-auditmod7b.c: Likewise.
1672 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1673 * sysdeps/x86_64/preconfigure.in: Likewise.
1674 * sysdeps/x86_64/preconfigure: Regenerated.
1675
7e73e17d
L
16762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1679 __ILP32__.
1680
c7a6ab72
AB
16812012-04-13 Antoine Balestrat <merkil33@gmail.com>
1682
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1684 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1685
a9e8e0e0
CL
16862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1687
1688 [BZ #13973]
1689 * locale/iso-639.def: Fix gl language name. Spotted by
1690 Yaron Shahrabani.
1691
ec98af7d
RM
16922012-04-12 Roland McGrath <roland@hack.frob.com>
1693
1694 [BZ #2074]
1695 * libio/libio.h (__io_write_fn): Update comment.
1696
247c3ede
PB
16972012-04-12 Petr Baudis <pasky@ucw.cz>
1698
1699 [BZ #2074]
1700 * stdio.texi (Hook Functions): The user provided writer function
1701 is not allowed to return -1.
1702
55939d6d
DM
17032012-04-11 David S. Miller <davem@davemloft.net>
1704
1705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1706
90020f5a
MF
17072012-04-11 Mike Frysinger <vapier@gentoo.org>
1708
1709 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1710 Add a leading slash to rtkaio.
1711
288f9098
JM
17122012-04-11 Jim Meyering <meyering@redhat.com>
1713
90020f5a
MF
1714 [BZ #11959]
1715 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1716 It is not necessarily an error to ignore fwrite's return
1717 value. One can reliably use ferror to test for errors after
1718 the fact.
288f9098 1719
4be2b570
L
17202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * bits/types.h (__snseconds_t): New type.
1723 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1724
1725 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1727 (__SNSECONDS_T_TYPE): Likewise.
1728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1729 (__SNSECONDS_T_TYPE): Likewise.
1730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1731 (__SNSECONDS_T_TYPE): Likewise.
1732
288f9098 17332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1734
1735 [BZ #2636]
1736 * manual/time.texi (Processor Time): Return type of times is
1737 elapsed real time since an arbitrary point in the past.
1738 (CPU Time): Move CLK_TCK from here...
1739 (Processor Time): ...to here. Correct description.
1740 * manual/conf.texi (Constants for Sysconf): Correct description of
1741 _SC_CLK_TCK.
1742
d7dd4413
DM
17432012-04-10 David S. Miller <davem@davemloft.net>
1744
1745 [BZ #13967]
1746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1747 where the is a gap between DT_REL(A) and DT_JMPREL.
1748
b46068fc
L
17492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1752 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1753 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1754
73d65cc3
SP
17552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1756
1757 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1758 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1759 (dl_main): Handle --inhibit-cache.
1760 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1761 _dl_inhibit_cache.
1762 * elf/dl-load.c (_dl_map_object): Use it.
1763 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1764
bcc8d661
JM
17652012-04-09 Joseph Myers <joseph@codesourcery.com>
1766
8f9a2fae
JM
1767 [BZ #13872]
1768 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1769 (__ieee754_powl): Saturate large exponents rather than testing for
1770 overflow of y*log2(x).
1771 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1772 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1773 exceptions.
1774
bcc8d661
JM
1775 [BZ #11521]
1776 * math/s_ctan.c: Include <float.h>.
1777 (__ctan): Avoid internal overflow or cancellation in calculating
1778 denominator.
1779 * math/s_ctanf.c: Likewise.
1780 * math/s_ctanl.c: Likewise.
1781 * math/s_ctanh.c: Likewise.
1782 * math/s_ctanhf.c: Likewise.
1783 * math/s_ctanhl.c: Likewise.
1784 * math/libm-test.inc (ctan_test): Add more tests.
1785 (ctanh_test): Likewise.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788
823fbbb4
AJ
17892012-04-09 Andreas Jaeger <aj@suse.de>
1790
03879793
AJ
1791 [BZ #6894]
1792 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1793 is an optional BSD extension.
1794
823fbbb4
AJ
1795 [BZ #10254]
1796 * manual/stdio.texi (Opening Streams): Document additional fopen
1797 parameters.
1798
8de131cb
RM
17992012-04-09 Roland McGrath <roland@hack.frob.com>
1800
1801 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1802 %eax without telling the compiler.
1803
c0ed9d7d
CD
18042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1805
1806 [BZ # 13963]
1807 * manual/install.texi: Use sourceware.org.
1808
c483f6b4
JM
18092012-04-09 Joseph Myers <joseph@codesourcery.com>
1810
d7dd9453
JM
1811 [BZ #13873]
1812 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1813 (__ieee754_pow): Generate overflow and underflow using huge*huge
1814 and tiny*tiny rather than just returning constant infinity or zero
1815 for large exponents.
1816 * math/libm-test.inc (pow_test): Require overflow exceptions for
1817 applicable cases of large exponents.
1818
c483f6b4
JM
1819 [BZ #706]
1820 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1821 (__ieee754_pow): Use iterative multiplication algorithm only for
1822 integer exponents with absolute value below 1024. Check for odd
1823 integer exponents when using algorithm for real exponents.
1824 * math/libm-test.inc (pow_test): Add more tests.
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1826
d2de7579
JM
18272012-04-08 Joseph Myers <joseph@codesourcery.com>
1828
1829 [BZ #13705]
1830 * math/libm-test.inc (exp_test): Do not allow overflow exception
1831 on underflow test.
1832
f77f1232
AJ
18332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1834
1835 [BZ #13705]
1836 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1837 instead of __kernel_standard_f.
1838
3884932b
MF
18392012-04-08 Mike Frysinger <vapier@gentoo.org>
1840
1841 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1842 * sysdeps/x86_64/memset_chk.S: Likewise.
1843
54472e9c
AJ
18442012-04-08 Andreas Jaeger <aj@suse.de>
1845
6ab0fbfc
AJ
1846 [BZ #10153]
1847 * manual/startup.texi (Environment Access): Describe return value
1848 for putenv and setenv.
1849
61efba8c
AJ
1850 [BZ #6895]
1851 * manual/filesys.texi (Directory Entries): Add description for
1852 DT_LNK.
1853
95c3f29a
AJ
1854 [BZ #6890]
1855 * manual/filesys.texi (Directory Entries): Clarify that it's file
1856 system not operating system in the description of DT_UNKNOWN.
1857
54472e9c
AJ
1858 [BZ #6578]
1859 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1860
624254b1
SC
18612012-04-08 Stephen Compall <s11@member.fsf.org>
1862
1863 [BZ #6649]
1864 * manual/llio.texi (Opening and Closing Files): Add cross
1865 reference to explain mode argument.
1866
1e4920e0
MF
18672012-04-07 Mike Frysinger <vapier@gentoo.org>
1868
1869 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1870 * sysdeps/x86_64/memset_chk.S: Likewise.
1871
5ed848f3
DM
18722012-04-07 David S. Miller <davem@davemloft.net>
1873
1874 * elf/elf.h (R_SPARC_WDISP10): Define.
1875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1876 R_SPARC_SIZE32.
1877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1878 R_SPARC_SIZE64 and R_SPARC_H34.
1879
96154cd8
CD
18802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1881
1882 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1883 conditions and remove no longer applicable assertion.
1884
9904dc47
L
18852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1886
1887 * bits/byteswap.h: Include <features.h>.
1888 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1889 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1890
f8887d0a
L
18912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * bits/byteswap.h (__bswap_16): Removed.
1894 Include <bits/byteswap-16.h> to get __bswap_16.
1895 * sysdeps/i386/bits/byteswap.h: Likewise.
1896 * sysdeps/s390/bits/byteswap.h: Likewise.
1897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1898 * bits/byteswap-16.h: New file.
1899 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1900 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1901 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1902 * string/Makefile (headers): Add bits/byteswap-16.h.
1903
62470f60
PP
19042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1905
1906 [BZ #13895]
1907 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1908 extra indirection.
1909 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1910 * nss/tst-nss-static.c: New.
1911
4dad7bab
RM
19122012-04-06 Robert Millan <rmh@gnu.org>
1913
1914 [BZ #6486]
1915 * manual/llio.texi (File Position Primitive): lseek
1916 refers to WHENCE when it really means OFFSET.
1917
e9142a17
AJ
19182012-04-06 Andreas Jaeger <aj@suse.de>
1919
2c040eff
AJ
1920 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1921 strncmp declarations.
1922
e9142a17
AJ
1923 * abilist/libc.abilist: Add __poll and __ppoll.
1924
ff9f1c5f
DM
19252012-04-05 David S. Miller <davem@davemloft.net>
1926
dcd2ae90
DM
1927 * scripts/check-local-headers.sh: Accept a host triplet in the
1928 path matched by the exclude regexp.
1929
993eb054
DM
1930 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1931 definition.
1932 * sysdeps/powerpc/powerpc32/dl-machine.h
1933 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1934 * sysdeps/s390/s390-32/dl-machine.h
1935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1936 * sysdeps/sparc/sparc32/dl-machine.h
1937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1938 * sysdeps/sparc/sparc64/dl-machine.h
1939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1940
ff9f1c5f
DM
1941 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1942 lazy binding.
48e2e132 1943 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1944 undefined symbol errors.
1945
48e2e132 1946 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1947 DT_NEEDED entries.
1948
e80d6f94
MM
19492012-04-05 Michael Matz <matz@suse.de>
1950
1951 [BZ #13592]
1952 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1953
349fa79f
AJ
19542012-04-05 Andreas Jaeger <aj@suse.de>
1955
1956 [BZ #13908]
1957 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1958 comment.
1959
f402708f
KK
19602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1961
1962 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1963 which ROUND is no valid rounding mode.
1964
2ecccfc9
KK
19652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1966
1967 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1968 read again.
1969 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1970
8a53f50f
KK
19712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1972
1973 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1974 an exception using FPU order intentionally.
1975
19762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1977
1978 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1979 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1980 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1981 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1982
d653abb7
SJ
19832012-04-05 Simon Josefsson <simon@josefsson.org>
1984
1985 [BZ #12340]
1986 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1987 EINVAL when BUFLEN is too smal.
1988
c3b1bf7d
TS
19892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1990
1991 [BZ #13553]
1992 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1993 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1994
b1aa60f3
AJ
19952012-04-03 Andreas Jaeger <aj@suse.de>
1996
c3b1bf7d 1997 [BZ #13938]
67f60a26
AJ
1998 * manual/setjmp.texi (System V contexts): Fix sentence.
1999
b1aa60f3
AJ
2000 [BZ #13926]
2001 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2002 New macro for this case.
2003 [!__GNUC__] (__bswap_64): New inline function for this case.
2004 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2005 * bits/byteswap.h: Likewise.
2006 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2007 ull, guard with __GLIBC_HAVE_LONG_LONG.
2008
2009 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2010 __GLIBC_HAVE_LONG_LONG.
2011
2012 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2013 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2014
39c59c35
TMQMF
20152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2016
2017 [BZ #13691]
2018 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2019 inptr and inend, rather than using last_ch.
2020
135ffda8
DM
20212012-04-02 David S. Miller <davem@davemloft.net>
2022
2023 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2024 * stdio-common/printf-parse.h (read_int): Change return type to
2025 'int', return -1 on INT_MAX overflow.
2026 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2027 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2028 overflows INT_MAX. Check for overflow of in-format-string precision
2029 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2030 SIZE_MAX not INT_MAX for integer overflow test.
2031 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2032 skip the construct in the format string but do not record anything.
2033 * stdio-common/bug22.c: Adjust to test both width/prevision
2034 INT_MAX overflow as well as total length INT_MAX overflow. Check
2035 explicitly for proper errno values.
2036
228c019e
TS
20372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2038
302cadd3
TS
2039 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2040 CHAR_MAX.
2041 * string/test-strcmp.c [! WIDE]: Likewise.
2042 * time/tst-mktime2.c: Likewise for INT_MAX.
2043 * string/test-string.h: #include <sys/param.h> for MIN.
2044
228c019e
TS
2045 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2046 * sysdeps/i386/init-first.c (init): Likewise.
2047 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2048 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2049 * sysdeps/sh/init-first.c (init): Likewise.
2050
cfa633f5
UD
20512012-04-01 Ulrich Drepper <drepper@gmail.com>
2052
2053 * po/ru.po: Update from translation team.
d1635ef8 2054 * po/vi.po: Likewise.
cfa633f5 2055
6cd0a5ea
SP
20562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2057
2058 * resolv/nss_dns/dns-host.c: Merge copyright years.
2059
4b43400f
LD
20602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2061
2062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2063 Optimize memcpy with prefetch if
2064 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2065 src, dst pointers have unequal 16 byte alignments.
2066
48c41d04
SP
20672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2068
2069 [BZ #13928]
2070 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2071 from a CNAME entry and return the minimum ttl for the query.
2072 (gaih_getanswer_slice): Likewise.
2073
b8dc394d
JL
20742012-03-30 Jeff Law <law@redhat.com>
2075
2076 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2077 due to long keys.
2078 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2079 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2080
2f5a5ed0
JL
2081 * resolv/nss_dns/dns-host.c: Update copyright year.
2082
1d39e359
UD
20832012-03-30 Ulrich Drepper <drepper@gmail.com>
2084
c030f70c 2085 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2086 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2087
1d39e359
UD
2088 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2089 comments for sendmmsg.
2090
20912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2092
2093 [BZ #13691]
2094 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2095 with only 1 character between 0x0041 and 0x01b0.
2096 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2097 * wcsmbs/tst-mbsnrtowcs.c: New file.
2098
20fde227
DM
20992012-03-29 David S. Miller <davem@davemloft.net>
2100
2101 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2102 small copies by hand.
2103
984a4237
JL
21042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2105
2106 [BZ #13761]
2107 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2108 _nss_compat_initgroups_dyn): Fall back to malloc/free
2109 for large group memberships.
2110
18c9d62b
DM
21112012-03-28 David S. Miller <davem@davemloft.net>
2112
88d85d4f
DM
2113 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2114 that branches into memcpy.
2115 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2118 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2120 bits.
2121 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2122 implementation too.
2123 * sysdeps/sparc/mempcpy.S: New file.
2124
e5aa83e1
DM
2125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2126 the IFUNC routine in the libc case.
2127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2128
88570753
DM
2129 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2130 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2131 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2132 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2133 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2134 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2135 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2136 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2137
249d7567
DM
2138 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2139 loop to 256 bytes instead of 64 bytes and fix test signedness.
2140
18c9d62b
DM
2141 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2142 * sysdeps/sparc/sparc32/Makefile: rather than here...
2143 * sysdeps/sparc/sparc64/Makefile: and here.
2144
05f3d1f6
UD
21452012-03-28 Ulrich Drepper <drepper@gmail.com>
2146
2147 * malloc/mallocbug.c: Avoid warnings about unused variables.
2148
86ae07a8
JL
21492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
2151 [BZ #13760]
2152 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2153 in the right place. Discard and retry query if response is
2154 larger than input buffer size.
2155
41bf21a1
JM
21562012-03-28 Joseph Myers <joseph@codesourcery.com>
2157
d6270972
JM
2158 [BZ #369]
2159 [BZ #2678]
2160 [BZ #3866]
2161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2162 x for large integer exponent.
2163 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2164 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2165 sign of result as needed afterwards.
2166 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2167 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2168 result for underflowing pow the same as for overflow.
2169 (__kernel_standard_l): Handle powl overflow and underflow here
2170 rather than calling __kernel_standard.
2171 * math/libm-test.inc (pow_test): Add more tests.
2172
414fca03 2173 [BZ #3868]
41bf21a1
JM
2174 [BZ #13879]
2175 [BZ #13910]
2176 [BZ #13911]
2177 [BZ #13912]
2178 [BZ #13913]
2179 [BZ #13915]
2180 [BZ #13916]
2181 [BZ #13917]
2182 [BZ #13918]
2183 [BZ #13919]
2184 [BZ #13920]
2185 [BZ #13921]
2186 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2187 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2188 (__kernel_standard_l): New function.
2189 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2190 __kernel_standard.
2191 * math/w_acosl.c (__acosl): Likewise.
2192 * math/w_asinl.c (__asinl): Likewise.
2193 * math/w_atan2l.c (__atan2l): Likewise.
2194 * math/w_atanhl.c (__atanhl): Likewise.
2195 * math/w_coshl.c (__coshl): Likewise.
2196 * math/w_exp10l.c (__exp10l): Likewise.
2197 * math/w_exp2l.c (__exp2l): Likewise.
2198 * math/w_fmodl.c (__fmodl): Likewise.
2199 * math/w_hypotl.c (__hypotl): Likewise.
2200 * math/w_j0l.c (__j0l, __y0l): Likewise.
2201 * math/w_j1l.c (__j1l, __y1l): Likewise.
2202 * math/w_jnl.c (__jnl, __ynl): Likewise.
2203 * math/w_lgammal.c (__lgammal): Likewise.
2204 * math/w_log10l.c (__log10l): Likewise.
2205 * math/w_log2l.c (__log2l): Likewise.
2206 * math/w_logl.c (__logl): Likewise.
2207 * math/w_powl.c (__powl): Likewise.
2208 * math/w_remainderl.c (__remainderl): Likewise.
2209 * math/w_scalbl.c (sysv_scalbl): Likewise.
2210 * math/w_sinhl.c (__sinhl): Likewise.
2211 * math/w_sqrtl.c (__sqrtl): Likewise.
2212 * math/w_tgammal.c (__tgammal): Likewise.
2213 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2214 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2215 * math/libm-test.inc (acos_test): Add more tests.
2216 (acosh_test): Likewise.
2217 (asin_test): Likewise.
2218 (atanh_test): Likewise.
2219 (exp_test): Likewise.
2220 (exp10_test): Likewise.
2221 (exp2_test): Likewise.
2222 (expm1_test): Likewise.
2223 (lgamma_test): Likewise.
2224 (log_test): Likewise.
2225 (log10_test): Likewise.
2226 (log1p_test): Likewise.
2227 (log2_test): Likewise.
2228 (pow_test): Do not allow some spurious overflow exceptions.
2229 (sqrt_test): Add more tests.
2230 (tgamma_test): Likewise.
2231 (y0_test): Likewise.
2232 (y1_test): Likewise.
2233 (yn_test): Likewise.
2234
dd62fda6
AB
22352012-03-27 Anton Blanchard <anton@samba.org>
2236
2237 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2238 MAP_HUGETLB.
2239 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2240 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2241 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2242
1e3cdfda
AJ
22432012-03-27 David S. Miller <davem@davemloft.net>
2244
b855ab85
DM
2245 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2246
1e3cdfda
AJ
2247 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2248 have-as-vis3 check.
2249
22502012-03-27 Andreas Jaeger <aj@suse.de>
2251
2252 * sysdeps/x86_64/elf/configure.in: Moved to ...
2253 * sysdeps/x86_64/configure.in: ... here.
2254 * sysdeps/x86_64/elf/start.S: Moved to ...
2255 * sysdeps/x86_64/start.S: ... here.
2256 * sysdeps/x86_64/elf/configure: Delete.
2257
2258 * sysdeps/x86_64/configure.in: Merge contents from
2259 sysdeps/i386/configure.in (without i686 check).
2260
2261 * sysdeps/i386/elf/Versions: Merge into ...
2262 * sysdeps/i386/Versions: ... this.
2263 * sysdeps/i386/elf/Versions: Delete file.
2264 * sysdeps/i386/elf/start.S: Moved to ...
2265 * sysdeps/i386/start.S: ...here.
2266 * sysdeps/i386/elf/configure.in: Merge into...
2267 * sysdeps/i386/configure.in: ...here.
2268 * sysdeps/i386/elf/configure.in: Delete file.
2269 * sysdeps/i386/elf/configure: Delete file.
2270
2271 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2272 * debug/backtracesyms.c: ... here.
2273 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2274 * debug/backtracesymsfd.c: ... here.
2275 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2276 * sysdeps/generic/ifunc-sel.h: ... here.
2277
2278 * sysdeps/unix/i386/start.c: Delete file.
2279 * sysdeps/unix/sparc/start.c: Delete file.
2280 * sysdeps/unix/start.c: Delete file.
2281
2282 * sysdeps/sh/elf/configure.in: Moved to ...
2283 * sysdeps/sh/configure.in: ... here.
2284 * sysdeps/sh/elf/start.S: Moved to ...
2285 * sysdeps/sh/start.S: ... here.
2286 * sysdeps/sh/elf/configure: Delete file.
2287
2288 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2289 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2290 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2291 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2292 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2293 * sysdeps/powerpc/powerpc64/start.S: here.
2294 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2295 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2296 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2297 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2298 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2299
2300 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2301 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2302 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2303 * sysdeps/powerpc/powerpc32/start.S: ... here.
2304 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2305 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2306 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2307
2308 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2309 * sysdeps/powerpc/ifunc-sel.h: ... here.
2310 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2311 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2312
2313 * sysdeps/sparc/elf/configure.in: Moved to ...
2314 * sysdeps/sparc/configure.in: ... here.
2315 * sysdeps/sparc/elf/configure: Delete file.
2316 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2317 * sysdeps/sparc/sparc32/start.S: ... here.
2318 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2319 * sysdeps/sparc/sparc64/start.S: ... here.
2320 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2321 * sysdeps/sparc/sparc32/Makefile: ... this.
2322 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2323 * sysdeps/sparc/sparc64/Makefile: ... this.
2324
2325 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2326 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2327 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2328 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2329 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2330 * sysdeps/s390/s390-32/setjmp.S: ... here.
2331 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2332 * sysdeps/s390/s390-32/configure.in: ... here.
2333 * sysdeps/s390/s390-32/elf/configure: Delete file.
2334 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2335 * sysdeps/s390/s390-32/start.S: ... here.
2336
2337 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2338 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2339 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2340 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2341 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2342 * sysdeps/s390/s390-64/setjmp.S: ... here.
2343 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2344 * sysdeps/s390/s390-64/configure.in: ... here
2345 * sysdeps/s390/s390-64/elf/configure: Delete file.
2346 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2347 * sysdeps/s390/s390-64/start.S: ... here.
2348 * sysdeps/s390/s390-64/elf/configure: Delete.
2349
2350 * configure.in: Remove support for elf directories in sysdeps.
2351
2352 * configure: Regenerated.
2353 * sysdeps/i386/configure: Regenerated.
2354 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2355 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2356 * sysdeps/s390/s390-32/configure: Regenerated.
2357 * sysdeps/s390/s390-64/configure: Regenerated.
2358 * sysdeps/sh/configure: Regenerated.
2359 * sysdeps/sparc/configure: Regenerated.
2360 * sysdeps/x86_64/configure: Regenerated.
2361
a3f61311
AS
23622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2363
c876e002
AS
2364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2365
a3f61311
AS
2366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2367 denormal result into account.
2368
ac4c54f0
RM
23692012-03-25 Roland McGrath <roland@hack.frob.com>
2370
2371 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2372 Reported by Allan McRae <allan@archlinux.org>.
2373
6a9b9c02
JL
23742012-03-23 Jeff Law <law@redhat.com>
2375
2376 * nss/getnssent.c (__nss_getent): Fix typo.
2377
4c42a0c1
DM
23782012-03-23 David S. Miller <davem@davemloft.net>
2379
2380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2381
1532c7ac
L
23822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2383
2384 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2385 to pad to uint64_t for each field.
2386 (dl_tls_index): Replace unsigned long with uint64_t.
2387
3ff42526
PP
23882012-03-23 Daniel Jacobowitz <dmj@google.com>
2389 Paul Pluzhnikov <ppluzhnikov@google.com>
2390
2391 [BZ #6528]
2392 * grp/Makefile (otherlibs): Don't set it.
2393 * inet/Makefile (otherlibs): Likewise.
2394 * login/Makefile (otherlibs): Likewise.
2395 * nscd/Makefile (otherlibs): Likewise.
2396 * posix/Makefile (otherlibs): Likewise.
2397 * pwd/Makefile (otherlibs): Likewise.
2398 * rt/Makefile (otherlibs): Likewise.
2399 * sunrpc/Makefile (otherlibs): Likewise.
2400 * nss/Makefile (otherlibs): Likewise.
2401 Add libnss_files to routines and static-only-routines.
2402 ($(objpfx)getent): Remove rule.
2403 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2404 static-only-routines.
2405
7c69cd14
JM
24062012-03-22 Joseph Myers <joseph@codesourcery.com>
2407
2408 [BZ #13892]
2409 * math/s_cexp.c: Include <float.h>.
2410 (__cexp): Handle exp result overflowing not necessarily
2411 overflowing both real and imaginary parts of result.
2412 * math/s_cexpf.c: Likewise.
2413 * math/s_cexpl.c: Likewise.
2414 * math/libm-test.inc (cexp_test): Add more tests.
2415 * sysdeps/i386/fpu/libm-test-ulps: Update.
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417
81b035fe
L
24182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 * include/link.h (ELFW): New macro.
2421 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2422 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2423
1da7940c
L
24242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2427 with uint64_t.
2428
b749dbb9
L
24292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2432 declaration.
2433 (struct La_x32_retval): Likewise.
2434
2ff87f3f
L
24352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2436
2437 * sysdeps/x86_64/preconfigure.in: New file.
2438 * sysdeps/x86_64/preconfigure: New generated file.
2439
c0df8e69
JM
24402012-03-22 Joseph Myers <joseph@codesourcery.com>
2441
48e44791
JM
2442 [BZ #13824]
2443 * math/e_exp2l.c: Include <float.h>.
2444 (__ieee754_exp2l): Handle overflow and underflow cases
2445 separately. Only pass fractional part of argument to
2446 __ieee754_expl.
2447 * math/libm-test.inc (exp2_test): Add more tests.
2448
c0df8e69
JM
2449 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2450 negating x to take absolute value.
2451 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2452 Likewise.
2453 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2454 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2455 Likewise.
2456 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2457 computing low part if x was negated.
2458 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2459
c8e43ba7
L
24602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2463 la_x32_gnu_pltexit.
2464 (pltexit): Cast int_retval to ptrdiff_t.
2465 * elf/tst-auditmod3b.c: Likewise.
2466 * elf/tst-auditmod4b.c: Likewise.
2467 * elf/tst-auditmod5b.c: Likewise.
2468 * elf/tst-auditmod6b.c: Likewise.
2469 * elf/tst-auditmod6c.c: Likewise.
2470 * elf/tst-auditmod7b.c: Likewise.
2471
2472 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2473 and x32_gnu_pltexit.
2474
2475 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2476 __ELF_NATIVE_CLASS.
2477 (La_x32_regs): New macro.
2478 (La_x32_retval): Likewise.
2479 (la_x32_gnu_pltenter): New function prototype.
2480 (la_x32_gnu_pltexit): Likewise.
2481
7998fa78
AS
24822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2483
dcb33988
AS
2484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2485 exponent.
2486
233fc563
AS
2487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2488
7998fa78
AS
2489 * configure.in (libc_cv_cc_nofma): Check for option to disable
2490 generation of FMA instructions.
2491 * configure: Regenerate.
2492 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2493 * sysdeps/ieee754/dbl-64/Makefile: New file.
2494 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2495 Remove brandred-fma4.
2496 (CFLAGS-brandred-fma4.c): Remove.
2497 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2499 define.
2500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2501 define.
2502
8e95c99a
L
25032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2506 LLONG_MAX != LONG_MAX.
2507 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2508 (_fitoa_word): Likewise.
2509 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2510 LLONG_MAX != LONG_MAX.
2511 * stdio-common/_itowa.h: Include <_itoa.h>.
2512 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2513 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2514 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2515 only if not defined.
2516 (_ITOA_WORD_TYPE): Likewise.
2517 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2518 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2519
6f4db457
DM
25202012-03-21 David S. Miller <davem@davemloft.net>
2521
2522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2523
7785fe5a
L
25242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2525
2526 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2527 of x86_64 when setting libc_cv_slibdir, libdir and
2528 libc_cv_localedir.
2529 * sysdeps/unix/sysv/linux/configure: Regenerated.
2530
4535cd55
JM
25312012-03-21 Joseph Myers <joseph@codesourcery.com>
2532
2533 * manual/lang.texi (Old Varargs): Remove section.
2534 (How Variadic): Update menu.
2535 (va_start): Do not mention varargs.h.
2536
17228132
TS
25372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2538 Joseph Myers <joseph@codesourcery.com>
2539
2540 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2541 link test.
2542 * configure: Regenerated.
2543
8149f976
TS
25442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2545
05f3d1f6
UD
2546 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2547 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2548 conformtest.pl
8149f976 2549
1a4ac776
JM
25502012-03-21 Joseph Myers <joseph@codesourcery.com>
2551
be22ce65
JM
2552 * NOTES: Remove.
2553 * Makefile (files-for-dist): Remove NOTES.
2554 (NOTES): Remove rule.
2555 * README: Don't refer to NOTES.
2556 * manual/creature.texi: Don't include macros.texi.
2557 * manual/intro.texi (creature.texi): Remove comment referring to
2558 NOTES.
2559
40b601fb
JM
2560 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2561 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2562 * configure: Regenerated.
2563 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2564 LIBC_TRY_CC_OPTION.
2565 (libc_cv_as_i686): Likewise.
2566 (libc_cv_cc_avx): Likewise.
2567 (libc_cv_cc_sse2avx): Likewise.
2568 (libc_cv_cc_fma4): Likewise.
2569 (libc_cv_cc_novzeroupper): Likewise.
2570 * sysdeps/i386/configure: Regenerated.
2571
1a4ac776
JM
2572 [BZ #13883]
2573 * sysdeps/i386/fpu/s_cexp.S: Remove.
2574 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2575 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2576 * math/libm-test.inc (cexp_test): Add more tests.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update.
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2579
a458e7fe
AM
25802012-03-21 Allan McRae <allan@archlinux.org>
2581
2582 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2583
0cb7efc5
JM
25842012-03-21 Joseph Myers <joseph@codesourcery.com>
2585
2586 [BZ #13871]
2587 * math/w_exp2.c: Do not include <float.h>.
2588 (o_threshold, u_threshold): Remove.
2589 (__exp2): Calculate result before checking finiteness and calling
2590 __kernel_standard.
2591 * math/w_exp2f.c: Likewise.
2592 * math/w_exp2l.c: Likewise.
2593 * math/libm-test.inc (exp2_test): Require overflow exception for
2594 1e6 input.
2460d3aa
JM
2595
2596 [BZ #3866]
2597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2598 range of signed 64-bit integers before using fistpll. Remove
2599 checks for whether integers fit in mantissa bits.
2600 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2601 the range of signed 32-bit integers before using fistpl. Remove
2602 checks for whether integers fit in mantissa bits.
2603 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2604 (__ieee754_powl): Test for y outside the range of signed 64-bit
2605 integers before using fistpll. Reduce 64-bit values to 63-bit
2606 ones as needed.
2607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2608 divide-by-zero is raised for zero to large negative powers.
2609 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
2614
eb96ffb0
L
26152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2618 <stdio-common/_itoa.h>.
2619 * debug/segfault.c: Likewise.
2620 * elf/dl-cache.c: Likewise.
2621 * elf/dl-minimal.c: Likewise.
2622 * elf/dl-misc.c: Likewise.
2623 * elf/dl-sysdep.c: Likewise.
2624 * elf/dl-version.c: Likewise.
2625 * elf/rtld.c: Likewise.
2626 * hurd/hurdsock.c: Likewise.
2627 * hurd/lookup-retry.c: Likewise.
2628 * malloc/malloc.c: Likewise.
2629 * malloc/mtrace.c: Likewise.
2630 * nscd/nscd_getgr_r.c: Likewise.
2631 * nscd/nscd_getpw_r.c: Likewise.
2632 * nscd/nscd_getserv_r.c: Likewise.
2633 * posix/getopt_init.c: Likewise.
2634 * posix/wordexp.c: Likewise.
2635 * stdio-common/_itoa.c: Likewise.
2636 * stdio-common/printf_fphex.c: Likewise.
2637 * stdio-common/vfprintf.c: Likewise.
2638 * string/_strerror.c: Likewise.
2639 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2640 * sysdeps/i386/i686/hp-timing.h: Likewise.
2641 * sysdeps/mach/_strerror.c: Likewise.
2642 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2643 * sysdeps/mach/hurd/sethostid.c: Likewise.
2644 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2645 * sysdeps/mach/xpg-strerror.c: Likewise.
2646 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2647 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2648 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2649 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2650 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2651 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2652 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2653 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2654 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2655 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2656 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2657 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2658 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2659 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2660 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2661 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2664 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2665 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2666 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2667
2668 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2669
2670 * stdio-common/_itoa.h: Moved to ...
2671 * sysdeps/generic/_itoa.h: Here.
2672
2673 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2674
2675 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2676 instead of "_itoa.h" and "_itowa.h".
2677 * stdio-common/vfprintf.: Likewise.
2678
d1af992d
L
26792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2682 <bits/wordsize.h>.
2683 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2684 (__signbit): Likwise.
2685 (llrintf): Likwise.
2686 (llrint): Likwise.
2687
114883e0
L
26882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2689
2690 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2691 __WORDSIZE != 64.
2692
c135cc1b
JM
26932012-03-20 Joseph Myers <joseph@codesourcery.com>
2694
2695 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2696 OVERFLOW_EXCEPTION_OK.
2697 * math/libm-test.inc ("Philosophy"): Update comment about
2698 exception testing.
2699 (OVERFLOW_EXCEPTION): Define.
2700 (OVERFLOW_EXCEPTION_OK): Likewise.
2701 (INVALID_EXCEPTION_OK): Renumber.
2702 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2703 (IGNORE_ZERO_INF_SIGN): Likewise.
2704 (test_exceptions): Handle FE_OVERFLOW.
2705 (exp10_test): Expect overflow exceptions.
2706 (exp2_test): Likewise.
2707 (expm1_test): Likewise.
2708 (nextafter_test): Likewise.
2709 (pow_test): Likewise.
2710 (scalbn_test): Likewise.
2711 (scalbln_test): Likewise.
2712
95443d88
L
27132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2714
2715 * sysdeps/x86_64/bits/atomic.h
2716 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2717 64bit integer.
2718 (atomic_exchange_acq): Likewise.
2719 (__arch_exchange_and_add_body): Likewise.
2720 (__arch_add_body): Likewise.
2721 (atomic_add_negative): Likewise.
2722 (atomic_add_zero): Likewise.
2723
490df6c4
L
27242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2725
c2722551 2726 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2727 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2728
5e52b189
L
27292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2730
2731 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2732 Check __x86_64__ instead of __WORDSIZE.
2733
a9879d4c
L
27342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2735
2736 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2737
5df98260
DM
27382012-03-19 David S. Miller <davem@davemloft.net>
2739
e1497744
DM
2740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2741
5df98260
DM
2742 * sysdeps/sparc/fpu/fenv_private.h: New file.
2743 * sysdeps/sparc/fpu/math_private.h: Use it.
2744 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2745 Remove.
2746 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2747 (libc_feholdexcept_setroundl): Remove.
2748 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2749 Remove.
2750 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2751 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2752
b4c35121
L
27532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2754
2755 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2756 int64_t instead of long int.
2757 (INSERT_WORDS64): Likwise.
2758
56965fd7
L
27592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2762 _Unwind_GetCFA return to _Unwind_Ptr first.
2763
83d1aec8
JM
27642012-03-19 Joseph Myers <joseph@codesourcery.com>
2765
1897ad44
JM
2766 [BZ #13629]
2767 * math/s_clog.c: Include <float.h>.
2768 (__clog): Scale large or subnormal inputs.
2769 * math/s_clogf.c: Likewise.
2770 * math/s_clogl.c: Likewise.
2771 * math/s_clog10.c: Include <float.h>.
2772 (M_LOG10_2): Define.
2773 (__clog10): Scale large or subnormal inputs.
2774 * math/s_clog10f.c: Likewise.
2775 * math/s_clog10l.c: Likewise.
2776 * math/libm-test.inc (clog_test): Add more tests.
2777 (clog10_test): Likewise.
2778 * sysdeps/i386/fpu/libm-test-ulps: Update.
2779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2780
7726d6a9
JM
2781 [BZ #11451]
2782 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2783 x and y.
2784 * math/libm-test.inc (atan2_test): Add another test.
2785
83d1aec8
JM
2786 * Makerules (common-objdir-compile): Remove.
2787 * sysdeps/unix/Makefile (config-generated): Do not add
2788 $(unix-generated) to variable.
2789 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2790 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2791 Remove rule.
2792 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2793 Likewise.
2794 [generic bits/local_lim.h] (before-compile): Do not append to
2795 variable.
2796 [generic bits/local_lim.h] (common-generated): Likewise.
2797 [generic sys/param.h] (before-compile): Do not append to variable.
2798 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2799 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2800 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2801 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2802 include.
2803 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2804 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2805 [generic sys/param.h] ($(addprefix
2806 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2807 [generic sys/param.h] (common-generated): Do not append to
2808 variable.
2809 [generic sys/param.h] (sysdep_headers): Likewise.
2810 [generic bits/errno.h] (before-compile): Do not append to
2811 variable.
2812 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2813 rule.
2814 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2815 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2816 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2817 [generic bits/errno.h] (common-generated): Do not append to
2818 variable.
2819 [generic bits/ioctls.h] (before-compile): Do not append to
2820 variable.
2821 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2822 rule.
2823 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2824 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2826 rule.
2827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2828 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2829 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2830 [generic bits/ioctls.h] (common-generated): Do not append to
2831 variable.
2832 [generic sys/syscall.h] (syscall.h): Remove variable.
2833 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2834 rule.
2835 [generic sys/syscall.h] (before-compile): Do not append to
2836 variable.
2837 [generic sys/syscall.h] (common-generated): Likewise.
2838 * sysdeps/unix/errnos-tmpl.c: Remove file.
2839 * sysdeps/unix/errnos.awk: Likewise.
2840 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2841 * sysdeps/unix/ioctls.awk: Likewise.
2842 * sysdeps/unix/mk-local_lim.c: Likewise.
2843 * sysdeps/unix/snarf-ioctls: Likewise.
2844
4851a949
RH
28452012-03-19 Richard Henderson <rth@twiddle.net>
2846
bd37f2ee
RH
2847 * sysdeps/i386/fpu/fenv_private.h: New file.
2848 * sysdeps/i386/fpu/math_private.h: Use it.
2849 (math_opt_barrier, math_force_eval): Remove.
2850 (libc_feholdexcept_setround_53bit): Remove.
2851 (libc_feupdateenv_53bit): Remove.
2852 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2853 (math_opt_barrier, math_force_eval): Remove.
2854 (libc_feholdexcept): Remove.
2855 (libc_feholdexcept_setround): Remove.
2856 (libc_fetestexcept, libc_fesetenv): Remove.
2857 (libc_feupdateenv_test): Remove.
2858 (libc_feupdateenv, libc_feholdsetround): Remove.
2859 (libc_feresetround): Remove.
2860
d0adc922
RH
2861 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2862 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2863
0fe0f1f8
RH
2864 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2865 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2866 (libc_feupdateenv_testl): New.
2867 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2868 (libc_feupdateenv_testf): New.
2869 (libc_feupdateenv): Use libc_feupdateenv_test.
2870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2871 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2872
eb92c487
RH
2873 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2874 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2875 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2876 (libc_feresetround_noex): New.
2877 (libc_feresetround_noexf): New.
2878 (libc_feresetround_noexl): New.
2879 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2880 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2881 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2882 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2883 SET_RESTORE_ROUND.
2884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2885 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2886 (__cos): Likewise.
2887 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2888 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2889 SET_RESTORE_ROUND_NOEX.
2890 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2891 SET_RESTORE_ROUND_NOEXF.
2892 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2893 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2894 (libc_feholdsetroundf): New.
2895 (libc_feresetround, libc_feresetroundf): New.
2896
7d2e8012
RH
2897 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2898 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2899 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2900
b4dabbb4
RH
2901 * sysdeps/generic/math_private.h: Include <fenv.h>.
2902 (default_libc_feholdexcept): New.
2903 (default_libc_feholdexcept_setround): New.
2904 (default_libc_fesetenv, default_libc_feupdateenv): New.
2905 (libc_feholdexcept): Only define if undefined.
2906 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2907 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2908 (libc_feholdexcept_setroundl): Likewise.
2909 (libc_feholdexcept_setround_53bit): Likewise.
2910 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2911 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2912 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2913 (libc_feupdateenv_53bit): Likewise.
2914 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2915 (libc_feholdexcept): Convert from macro to inline function.
2916 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2917 (libc_fesetenv, libc_feupdateenv): Likewise.
2918
4851a949
RH
2919 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2920 not previously defined.
2921 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2922 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2923 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2924 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2925 * sysdeps/ieee754/flt-32/math_private.h: New file.
2926 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2927 math_private.h below SET_FLOAT_WORD.
2928 (__isnan, __isinf_ns, __finite): Remove.
2929 (__isnanf, __isinf_nsf, __finitef): Remove.
2930
e79d442e
AS
29312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2932
2933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2934
90b80344
DM
29352012-03-17 David S. Miller <davem@davemloft.net>
2936
2937 [BZ #6471]
2938 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2939 for 2.16.
2940
edc21804
DM
29412012-03-16 David S. Miller <davem@davemloft.net>
2942
77e927af
DM
2943 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2944 warnings.
2945
374976dd
DM
2946 [BZ #6471]
2947 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2948 properly.
2949 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2950 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2951 sysdep_routines when subdir is sysvipc.
2952 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2953 __getshmlba helper.
2954
edc21804
DM
2955 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2956
473c3ef3
L
29572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2960 [__LP64__].
2961
eb0f39b6
L
29622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2965 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2966 (__lround): Renamed to ...
2967 (__llround): This. Replace long int with long long int.
2968 Define lround functions as aliases of llround functions.
2969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2970
6b6cd74b
L
29712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2974 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2975 adresses to uintptr_t. Replace "long int" and "unsigned long
2976 int" with "greg_t" on va_arg.
2977
f1a77b01
L
29782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2981 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2982
2983 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2984 Move e_machine check before EI_CLASS check. Handle x32
2985 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2986 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2987 SKIP_EM_IA_64 and include
2988 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2989
2990 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2991 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2992 (add_system_dir): New macro.
2993
2994 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2995 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2996
11b90b9f
JM
29972012-03-16 Joseph Myers <joseph@codesourcery.com>
2998
c36e1d23
JM
2999 [BZ #2551]
3000 [BZ #2552]
3001 [BZ #2553]
3002 [BZ #2554]
3003 [BZ #2562]
3004 [BZ #2563]
3005 [BZ #2565]
3006 [BZ #2566]
3007 [BZ #2576]
3008 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3009 (y0): Likewise.
3010 * math/w_j0f.c (j0f): Likewise.
3011 (y0f): Likewise.
3012 * math/w_j0l.c (__j0l): Likewise.
3013 (__y0l): Likewise.
3014 * math/w_j1.c (j1): Likewise.
3015 (y1): Likewise.
3016 * math/w_j1f.c (j1f): Likewise.
3017 (y1f): Likewise.
3018 * math/w_j1l.c (__j1l): Likewise.
3019 (__y1l): Likewise.
3020 * math/w_jn.c (jn): Likewise.
3021 (yn): Likewise.
3022 * math/w_jnf.c (jnf): Likewise.
3023 (ynf): Likewise.
3024 * math/w_jnl.c (__jnl): Likewise.
3025 (__ynl): Likewise.
3026 * math/libm-test.inc (j0_test): Add more tests.
3027 (j1_test): Likewise.
3028 (jn_test): Likewise. Add trailing semicolon to existing test.
3029 (y0_test): Likewise.
3030 (y1_test): Likewise.
3031 * sysdeps/i386/fpu/libm-test-ulps: Update.
3032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3033
11b90b9f
JM
3034 [BZ #13851]
3035 [BZ #13854]
3036 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3037 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3038 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3039 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3040 (__tanl): Set errno for infinite argument.
3041 * sysdeps/i386/fpu/mptan.c: Remove.
3042 * sysdeps/i386/fpu/s_tan.S: Likewise.
3043 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3044 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3045 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3046 * math/libm-test.inc (tan_test): Add more tests and enable more
3047 tests for double and long double.
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050
6a1bd2a1
JK
30512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3052
3053 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3054 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3055
10a803e0
RM
30562012-03-16 Roland McGrath <roland@hack.frob.com>
3057
3058 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3059 * configure.in: Use it for both main tree and add-ons.
3060 * configure: Regenerated.
3061
f196c7f7
L
30622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3065
8848d99d
JM
30662012-03-16 Joseph Myers <joseph@codesourcery.com>
3067
96cbe7f4
JM
3068 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3069 in comment.
3070
8848d99d
JM
3071 [BZ #13851]
3072 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3073 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3074 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3075 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3076 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3077 infinite argument.
3078 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3080 != 0 for prec == 2.
3081 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3082 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3083 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3084 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3085 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3086 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3087 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3088 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3089 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3090 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3091 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3092 * math/libm-test.inc (cos_test): Add more tests and enable more
3093 tests for long double.
3094 (sin_test): Likewise.
3095 (sincos_test): Likewise.
3096 * sysdeps/i386/fpu/libm-test-ulps: Update.
3097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3098
dd7f4703
DM
30992012-03-16 David S. Miller <davem@davemloft.net>
3100
3101 * sysdeps/sparc/fpu/math_private.h: New file.
3102
006f1daa
DM
31032012-03-15 David S. Miller <davem@davemloft.net>
3104
c0c83bc8
DM
3105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3106 file.
e6a62e18 3107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3109 file.
e6a62e18
DM
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3116 sysdep routines.
3117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3118
88cb87d9
DM
3119 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3120 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3121
006f1daa 3122 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3124 sparc-ifunc.h
006f1daa 3125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3127 Likewise.
3128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3129 Likewise.
006f1daa
DM
3130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3134 Likewise.
006f1daa
DM
3135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3140 Likewise.
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3142 Likewise.
006f1daa
DM
3143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3162 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3167
11e0098e
AS
31682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3169
3170 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3171 scaling.
3172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3173
e85b09d0
AJ
31742012-03-15 Andreas Jaeger <aj@suse.de>
3175
3176 [BZ #13852]
3177 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3178 ieee754/flt-32 implementation for sin, cos and sincos.
3179 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3180 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3181 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3182 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3183 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3184 ieee754/flt-32 implementation for tan.
3185
3186 * math/libm-test.inc (cos_test): Enable some large input tests for
3187 float as well
3188 (sin_test): Likewise.
3189 (sincos_test): Likewise.
3190 (tan_test): Add tests for large input.
3191
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193
81c64153
AJ
31942012-03-15 Andreas Jaeger <aj@suse.de>
3195
3196 [BZ #13658]
3197 * math/libm-test.inc (cos_test): Add more test cases.
3198 (sin_test): Likewise.
3199 (sincos_test): Likewise.
3200
7bbfa5c6
AJ
32012012-03-15 Andreas Jaeger <aj@suse.de>
3202
3203 [BZ #13837]
3204 * math/libm-test.inc (cos_test): Add a test case for large input
3205 value.
3206 (sin_test): Likewise.
3207 (sincos_test): Likewise.
3208
32092012-03-15 Andreas Jaeger <aj@suse.de>,
3210 Joseph Myers <joseph@codesourcery.com>
3211
3212 [BZ #13658]
0671f479 3213 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3214 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3215 * sysdeps/i386/fpu/branred.c: Likewise.
3216 * sysdeps/i386/fpu/dosincos.c: Likewise.
3217 * sysdeps/i386/fpu/mpa.c: Likewise.
3218 * sysdeps/i386/fpu/s_cos.S: Likewise.
3219 * sysdeps/i386/fpu/s_sin.S: Likewise.
3220 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3221 * sysdeps/i386/fpu/sincos32.c: Likewise.
3222
3223 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3224 Define.
3225 (libc_feupdateenv_53bit): Define.
3226 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3227 Define.
3228 (libc_feupdateenv_53bit): Define.
3229
3230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3231 53 bit (without extend i386 double precision).
3232
3233 * math/libm-test.inc (sincos_test): Add tests for large input.
3234 (sin): Likewise.
3235 (cos): Likewise.
3236
3237 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3238
9cad04ea
AS
32392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3240
3241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3242
f7062b9a
DM
32432012-03-15 David S. Miller <davem@davemloft.net>
3244
3245 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3248 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3261 file.
f7062b9a 3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3264 file.
f7062b9a 3265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3267 file.
f7062b9a 3268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3270 file.
f7062b9a
DM
3271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3273 fmin/fmax sysdep routines.
3274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3275
7bd951ff
DM
32762012-03-14 David S. Miller <davem@davemloft.net>
3277
559398ab
DM
3278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3306 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3307 routines.
3308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3309 file.
559398ab 3310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3312 file.
559398ab 3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3315 file.
559398ab 3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3318 file.
559398ab 3319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3321 file.
559398ab 3322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3324 file.
3325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3326 file.
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3328 file.
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3330 file.
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3332 New file.
3333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3334 file.
3335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3336 file.
559398ab 3337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3339 file.
559398ab 3340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3342 file.
559398ab 3343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3345 file.
559398ab 3346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3348 VIS3 routines.
559398ab
DM
3349
3350 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3351 New file.
3352
5a1c1e32
DM
3353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3354
eae47a36
DM
3355 * sysdeps/sparc/configure.in: New file.
3356 * sysdeps/sparc/configure: Generate.
3357 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3358 * configure: Regenerate.
3359 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3360 * config.make.in (have-as-vis3): New.
3361 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3362 available use -Av9d instead of -Av9a.
3363 * sysdeps/sparc/sparc64/Makefile: Likewise.
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3366 New file.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3368 file.
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3370 New file.
3371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3372 file.
eae47a36
DM
3373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3378
c0c83bc8
DM
3379 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3380 fzeros/fnegs to load 0x80000000 into a float register instead of
3381 using the stack.
7bd951ff
DM
3382 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3383
bd951ccb
JM
33842012-03-14 Joseph Myers <joseph@codesourcery.com>
3385
3386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3387 bits/syscall.h.
3388 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3389 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3390 ($(inst_includedir)/bits/syscall.h): Remove rule.
3391 ($(objpfx)bits/syscall.d): Include instead of
3392 $(objpfx)syscall-list.d.
3393 (generated): Change syscall-list.h and syscall-list.d to
3394 bits/syscall.h and bits/syscall.d.
3395
bb4e6db2
RM
33962012-03-14 Roland McGrath <roland@hack.frob.com>
3397
3398 [BZ #13846]
3399 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3400
aa4a2ae1
JM
34012012-03-14 Joseph Myers <joseph@codesourcery.com>
3402
e456826d
JM
3403 [BZ #13841]
3404 * math/s_csqrt.c: Include <float.h>.
3405 (__csqrt): Scale large or subnormal inputs.
3406 * math/s_csqrtf.c: Likewise.
3407 * math/s_csqrtl.c: Likewise.
3408 * math/libm-test.inc (csqrt_test): Add more tests.
3409 * sysdeps/i386/fpu/libm-test-ulps: Update.
3410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3411
aa4a2ae1
JM
3412 [BZ #13840]
3413 * math/libm-test.inc (hypot_test): Add more tests.
3414
7c10fd35
DM
34152012-03-13 David S. Miller <davem@davemloft.net>
3416
3417 [BZ #13840]
3418 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3419 double-precision for the calculation instead of scaling.
3420
f453b98b
JM
34212012-03-13 Joseph Myers <joseph@codesourcery.com>
3422
3423 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3424 manipulate bits before adding and subtracting TWO52[sx].
3425 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3427 Likewise.
3428 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3429
09a3453f
DM
34302012-03-13 David S. Miller <davem@davemloft.net>
3431
8e59da90
DM
3432 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3433 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3435 rtld-global-offsets.h
3436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3437
2a8ab7f2
DM
3438 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3439 large parameters.
3440
10f62770
DM
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3442
5f0bdb18
DM
3443 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3444 'err' in the ifdef scope in which it is actually used.
3445
09a3453f
DM
3446 * nss/nss_db/db-init.c: Include string.h
3447
b4b2eb5e
DM
34482012-03-12 David S. Miller <davem@davemloft.net>
3449
98bb2f1c
DM
3450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3451 masking out of the most significant byte of random value used.
3452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3453 Fix coding style in previous change.
3454
b4b2eb5e
DM
3455 * sysdeps/unix/sysv/linux/kernel-features.h
3456 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3457 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3458 expression.
3459 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3460 later.
3461
6e226b09
DM
34622012-03-11 David S. Miller <davem@davemloft.net>
3463
a1bcbd40
DM
3464 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3465 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3466 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3467 for 'resultvar' otherwise things get truncated on 64-bit.
3468
cb9d6174
DM
3469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3470 Fix masking out of the most significant byte of random value used.
3471
6e226b09
DM
3472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3473
058c132d
AS
34742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3475
3476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3477
2d2cd515
DM
34782012-03-09 David S. Miller <davem@davemloft.net>
3479
3480 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3481 variables with appropriate CPP guards.
3482 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3483 frame pointer, not the stack pointer. Correct layout comments. Fix test
3484 on resulting framesize and the management of the outregs buffer for pltexit.
3485 Preserve floating point return values across _dl_call_pltexit call.
3486 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3487 framesize and the management of the outregs buffer for pltexit.
3488 Preserve floating point return values across _dl_call_pltexit
3489 call.
3490 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3491 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3492 (print_exit): Fix format string for return register value.
3493
9a07f9d0
JM
34942012-03-10 Joseph Myers <joseph@codesourcery.com>
3495
3496 * sunrpc/Makefile (others): Add rpcgen.
3497 ($(objpfx)rpcgen): Remove special build rule and dependency on
3498 libc.
3499 * sunrpc/rpcgen.c: New file.
3500
547b5e30
PE
35012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3502
c524201a
PE
3503 [BZ #13673]
3504 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3505 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3506 * sysdeps/i386/crti.S: Likewise.
3507 * sysdeps/i386/crtn.S: Likewise.
3508 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3509 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3510 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3511 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3512 * sysdeps/sh/crti.S: Likewise.
3513 * sysdeps/sh/crtn.S: Likewise.
3514 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3515
7b6235f2
PE
3516 [BZ #13673]
3517 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3518 with URL.
3519 * locale/programs/locfile-kw.gperf: Likewise.
3520 * locale/programs/charmap-kw.h: Regenerated.
3521 * locale/programs/locfile-kw.h: Likewise.
3522
547b5e30
PE
3523 [BZ #13673]
3524 * intl/plural.y: Replace FSF snail mail address with URL.
3525 * intl/plural.c: Regenerated.
3526
5f0a5dae
RH
35272012-03-09 Richard Henderson <rth@twiddle.net>
3528
3529 * include/math_private.h: Remove file.
3530 * math/math_private.h: Move file ...
3531 * sysdeps/generic/math_private.h: ... here.
3532
b8c03620
RH
3533 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3534 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3535 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3536
4e234f5d 3537 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3538 and <math_private.h>.
3539 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3540 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3541 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3542 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3543 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3627 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3628 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3629 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3630 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3633 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3634 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3636 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3637 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3639 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3640 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3641 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3642 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3644 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3645 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3646 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3647 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3649 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3650 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3651 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3652 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3653 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3654 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3656 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3658 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3659 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3660 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3661 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3662 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3665 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3666 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3667 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3668 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3669 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3673 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3675 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3676 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3677 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3678 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3679 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3681 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3682 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3683 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3684 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3685 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3686 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3687 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3688 * sysdeps/ieee754/k_standard.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3811 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3816 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3838 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3839 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3849 * sysdeps/ieee754/s_lib_version.c: Likewise.
3850 * sysdeps/ieee754/s_matherr.c: Likewise.
3851 * sysdeps/ieee754/s_signgam.c: Likewise.
3852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3854 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3855 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3856 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3857 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3858 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3859 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3860 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3861 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3862 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3863 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3864 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3865 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3866 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3867 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3868 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3869 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3870 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3873
1991fa03
JM
38742012-03-09 Joseph Myers <joseph@codesourcery.com>
3875
3876 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3877 * sunrpc/rpc_main.c: Likewise.
3878 * sunrpc/rpc_svcout.c: Likewise.
3879
60d6f5a6
DM
38802012-03-09 David S. Miller <davem@davemloft.net>
3881
3882 * include/math_private.h: New file.
3883
4962050e
JM
38842012-03-09 Joseph Myers <joseph@codesourcery.com>
3885
02a6f887
JM
3886 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3887 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3888 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3889 from <bits/socket_type.h>.
3890 (enum __socket_type): Don't define here.
3891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3893 bits/socket_type.h.
3894
c6e013c1
JM
3895 [BZ #13566]
3896 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3897 checking __USE_GNU.
3898
4962050e
JM
3899 * Makerules ($(inst_includedir)/%.h): New rule.
3900 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3901 (install-others): Remove variable setting.
3902 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3903
38842f45
RH
39042012-03-08 Richard Henderson <rth@twiddle.net>
3905
67bb6da6
RH
3906 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3907 from macro to inline function; merge with the
3908 !__LIBC_INTERNAL_MATH_INLINES version.
3909 (__ieee754_sqrtf): Likewise.
3910
15194b4b
RH
3911 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3912 to inline function.
3913 (__rintf, __floor, __floorf): Likewise.
3914
64e21ede
RH
3915 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3916 macro to inline function.
3917 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3918
38842f45
RH
3919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3920 not <math/math_private.h>.
3921
c64bf5fe
DM
39222012-03-08 David S. Miller <davem@davemloft.net>
3923
3924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3925 copyright year.
3926 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3927
82d86f28
TS
39282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3929
3930 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3931 normalization.
3932 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3933 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3934
aea5d727
UD
39352012-03-08 Ulrich Drepper <drepper@gmail.com>
3936
3937 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3938 be defined individually, they must be defined as a block. Define
3939 S for printing a string instead of hidint the different by using a
3940 macro for adding the 'l'.
3941 * stdio-common/tst-fphex-wide.c: Adjust.
3942
70bca0a3
MP
39432012-03-07 Marek Polacek <polacek@redhat.com>
3944
3945 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3946
65b81130
MP
39472012-03-08 Marek Polacek <polacek@redhat.com>
3948
3949 [BZ #13806]
3950 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3951 * stdio-common/tst-fphex.c: Define a few macros to make the
3952 test reusable. Use them.
3953 * stdio-common/tst-fphex-wide.c: New file.
3954
07037eeb
JM
39552012-03-08 Joseph Myers <joseph@codesourcery.com>
3956
a7a93d50
JM
3957 [BZ #6911]
3958 * manual/macros.texi (gnusystems): New macro.
3959 (nongnusystems): Likewise.
3960 (gnulinuxhurdsystems): Likewise.
3961 (gnuhurdsystems): Likewise..
3962 (gnulinuxsystems): Likewise.
3963 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3964 variants of the GNU system, not "GNU system".
3965 * manual/conf.texi: Likewise.
3966 * manual/errno.texi: Likewise. Update example of errno macro
3967 expansion.
3968 * manual/filesys.texi: Likewise.
3969 (getumask): Document as specific to GNU/Hurd.
3970 * manual/install.texi: Likewise. Reword some references to
3971 GNU/Linux.
3972 * manual/intro.texi: Likewise.
3973 * manual/io.texi: Likewise.
3974 (File Name Portability): Detail which constraints are inapplicable
3975 to all GNU systems and which are only inapplicable to GNU/Hurd.
3976 * manual/job.texi: Likewise.
3977 * manual/llio.texi: Likewise.
3978 (O_NOCTTY): Document as present on GNU/Linux.
3979 * manual/maint.texi: Likewise.
3980 * manual/memory.texi: Likewise.
3981 * manual/pattern.texi: Likewise.
3982 * manual/pipe.texi: Likewise.
3983 * manual/process.texi: Likewise.
3984 * manual/resource.texi: Likewise.
3985 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3986 child on GNU/Hurd.
3987 * manual/setjmp.texi: Likewise.
3988 * manual/signal.texi: Likewise.
3989 * manual/startup.texi: Likewise.
3990 * manual/stdio.texi: Likewise.
3991 * manual/terminal.texi: Likewise.
3992 (ONLCR): Document as POSIX.
3993 (OXTABS): Document availability on GNU/Linux as XTABS.
3994 (ONOEOT): Document availability separately from other bits.
3995 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3996 * manual/time.texi: Likewise.
3997 * manual/users.texi: Likewise.
3998 * INSTALL: Regenerated.
3999 * sysdeps/gnu/errlist.c: Regenerated.
4000
07037eeb
JM
4001 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4002 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4003 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4004 puts.
4005 * configure: Regenerated.
4006
d1d3431a
JM
40072012-03-07 Joseph Myers <joseph@codesourcery.com>
4008
af6a1e37
JM
4009 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4010 default includes instead of AC_HEADER_CHECK.
4011 * sysdeps/i386/configure: Regenerated.
4012
d1d3431a
JM
4013 [BZ #10716]
4014 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4015 * math/s_cacoshf.c (__cacoshf): Likewise.
4016 * math/s_cacoshl.c (__cacoshl): Likewise.
4017 * math/s_casinh.c (__casinh): Set signs of result from argument.
4018 * math/s_casinhf.c (__casinhf): Likewise.
4019 * math/s_casinhl.c (__casinhl): Likewise.
4020 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4021 (casinh_test): Add more tests.
4022 * sysdeps/i386/fpu/libm-test-ulps: Update.
4023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024
482ff4da
UD
40252012-03-07 Ulrich Drepper <drepper@gmail.com>
4026
872fda05
UD
4027 * po/zh_TW.po: Update from translation team.
4028
a4300c7a
UD
4029 * login/Makefile (distribute): Remove variable.
4030 * catgets/Makefile: Likewise.
4031 * mach/Makefile: Likewise.
4032 * malloc/Makefile: Likewise.
4033 * misc/Makefile: Likewise.
4034 * iconv/Makefile: Likewise.
4035 * nscd/Makefile: Likewise.
4036 * hurd/Makefile: Likewise.
4037 * manual/Makefile: Likewise.
4038 * locale/Makefile: Likewise.
4039 * intl/Makefile: Likewise.
4040 * conform/Makefile: Likewise.
4041 * nss/Makefile: Likewise.
4042 * time/Makefile: Likewise.
4043 * soft-fp/Makefile: Likewise.
4044 * dirent/Makefile: Likewise.
4045 * gmon/Makefile: Likewise.
4046 * po/Makefile: Likewise.
4047 * rt/Makefile: Likewise.
4048 * socket/Makefile: Likewise.
4049 * math/Makefile: Likewise.
4050 * signal/Makefile: Likewise.
4051 * debug/Makefile: Likewise.
4052 * elf/Makefile: Likewise.
4053 * timezone/Makefile: Likewise.
4054 * stdlib/Makefile: Likewise.
4055 * iconvdata/Makefile: Likewise.
4056 * sunrpc/Makefile: Likewise.
4057 * io/Makefile: Likewise.
4058 * argp/Makefile: Likewise.
4059 * inet/Makefile: Likewise.
4060 * hesiod/Makefile: Likewise.
4061 * grp/Makefile: Likewise.
4062 * csu/Makefile: Likewise.
4063 * wctype/Makefile: Likewise.
4064 * crypt/Makefile: Likewise.
4065 * libio/Makefile: Likewise.
4066 * string/Makefile: Likewise.
4067 * nis/Makefile: Likewise.
4068 * resolv/Makefile: Likewise.
4069 * stdio-common/Makefile: Likewise.
4070 * wcsmbs/Makefile: Likewise.
4071 * dlfcn/Makefile: Likewise.
4072 * posix/Makefile: Likewise.
4073
3b7c4e74 4074 [BZ #6959]
482ff4da
UD
4075 * timezone/Makefile: Don't install timezone files, just the programs
4076 and scripts.
4077
f72ed77d
UD
40782012-03-06 Ulrich Drepper <drepper@gmail.com>
4079
a000466f
UD
4080 * nss/databases.def: Add missing gshadow entry.
4081
f72ed77d
UD
4082 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4083
a53b7a4e
MP
40842012-03-06 Marek Polacek <polacek@redhat.com>
4085
4086 [BZ #13726]
4087 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4088 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4089 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4090 * stdio-common/tst-long-dbl-fphex.c: New file.
4091
e9258400
DM
40922012-03-06 David S. Miller <davem@davemloft.net>
4093
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4095 (set_obp_int): New function.
4096 (get_obp_int): New function.
4097 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4098 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4099 Avoid unused variable warnings on 'val' and use builtin_expect.
4100 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4101 __builtin_expect.
e9258400
DM
4102 (INLINE_CLONE_SYSCALL): Likewise.
4103
3bd2c723
DM
41042012-03-05 David S. Miller <davem@davemloft.net>
4105
4106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4107
bbb78d03
AS
41082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4109
884c5db4
AS
4110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4111
bbb78d03
AS
4112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4113 only for |x| >= 40.
4114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4115
1c9f702a 41162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4117
4118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4119 Replace gettimeofday with __vdso_gettimeofday.
4120
7be16f82
RM
4121 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4122 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4123 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4124
4125 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4126 time with __vdso_time.
4127
ed58a00f
JM
41282012-03-05 Joseph Myers <joseph@codesourcery.com>
4129
4130 * manual/lang.texi (size_t): Note types to which size_t may be
4131 equivalent with the GNU C Library, but do not describe when
4132 differences between them are significant.
4133
30ee4ced
AJ
41342012-03-05 Andreas Jaeger <aj@suse.de>
4135
4136 * sysdeps/i386/fpu/libm-test-ulps: Update.
4137
b7cd39e8
JM
41382012-03-05 Joseph Myers <joseph@codesourcery.com>
4139
4140 [BZ #3976]
4141 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4142 (__ieee754_pow): Save and restore rounding mode and use
4143 round-to-nearest for main computations.
4144 * math/libm-test.inc (pow_test_tonearest): New function.
4145 (pow_test_towardzero): Likewise.
4146 (pow_test_downward): Likewise.
4147 (pow_test_upward): Likewise.
4148 (main): Call the new functions.
4149 * sysdeps/i386/fpu/libm-test-ulps: Update.
4150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4151
4152 [BZ #3976]
4153 * math/libm-test.inc (cosh_test_tonearest): New function.
4154 (cosh_test_towardzero): Likewise.
4155 (cosh_test_downward): Likewise.
4156 (cosh_test_upward): Likewise.
4157 (sinh_test_tonearest): Likewise.
4158 (sinh_test_towardzero): Likewise.
4159 (sinh_test_downward): Likewise.
4160 (sinh_test_upward): Likewise.
4161 (main): Call the new functions.
4162 * sysdeps/i386/fpu/libm-test-ulps: Update.
4163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4164
6c6a98c9
TV
41652012-03-05 Tom de Vries <tom@codesourcery.com>
4166
4167 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4168 default stack guard is set in last bytes.
4169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4170
21bb2d2e 41712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4172
21bb2d2e 4173 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4174
21bb2d2e
AJ
4175 [BZ #13656]
4176 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4177 possibly allocate from heap instead of stack.
4178 * stdio-common/bug-vfprintf-nargs.c: New file.
4179 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4180
c6922934
AS
41812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4182
4183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4184
bc957d53
MP
41852012-03-03 Marek Polacek <polacek@redhat.com>
4186
4187 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4188 * math/math_private.h: Likewise.
4189 * stdlib/tst-strtod.c: Likewise.
4190 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4191 * sysdeps/x86_64/bits/atomic.h: Likewise.
4192
6358490d
DM
41932012-03-02 David S. Miller <davem@davemloft.net>
4194
4195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4199 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4200 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4201 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4202 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4203
01ae168d
RM
42042012-03-02 Roland McGrath <roland@hack.frob.com>
4205
d9a17c07
RM
4206 [BZ #13792]
4207 * manual/examples/README: New file, says the example source files
4208 can be used under GPL>=2.
4209 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4210 line containing just "*/".
4211 * manual/examples/add.c: Add copyright header (GPL>=2).
4212 * manual/examples/argp-ex1.c: Likewise.
4213 * manual/examples/argp-ex2.c: Likewise.
4214 * manual/examples/argp-ex3.c: Likewise.
4215 * manual/examples/argp-ex4.c: Likewise.
4216 * manual/examples/atexit.c: Likewise.
4217 * manual/examples/db.c: Likewise.
4218 * manual/examples/dir.c: Likewise.
4219 * manual/examples/dir2.c: Likewise.
4220 * manual/examples/execinfo.c: Likewise.
4221 * manual/examples/filecli.c: Likewise.
4222 * manual/examples/filesrv.c: Likewise.
4223 * manual/examples/fmtmsgexpl.c: Likewise.
4224 * manual/examples/genpass.c: Likewise.
4225 * manual/examples/inetcli.c: Likewise.
4226 * manual/examples/inetsrv.c: Likewise.
4227 * manual/examples/isockad.c: Likewise.
4228 * manual/examples/longopt.c: Likewise.
4229 * manual/examples/memopen.c: Likewise.
4230 * manual/examples/memstrm.c: Likewise.
4231 * manual/examples/mkfsock.c: Likewise.
4232 * manual/examples/mkisock.c: Likewise.
4233 * manual/examples/mygetpass.c: Likewise.
4234 * manual/examples/pipe.c: Likewise.
4235 * manual/examples/popen.c: Likewise.
4236 * manual/examples/rprintf.c: Likewise.
4237 * manual/examples/search.c: Likewise.
4238 * manual/examples/select.c: Likewise.
4239 * manual/examples/setjmp.c: Likewise.
4240 * manual/examples/sigh1.c: Likewise.
4241 * manual/examples/sigusr.c: Likewise.
4242 * manual/examples/stpcpy.c: Likewise.
4243 * manual/examples/strdupa.c: Likewise.
4244 * manual/examples/strftim.c: Likewise.
4245 * manual/examples/strncat.c: Likewise.
4246 * manual/examples/subopt.c: Likewise.
4247 * manual/examples/swapcontext.c: Likewise.
4248 * manual/examples/termios.c: Likewise.
4249 * manual/examples/testopt.c: Likewise.
4250 * manual/examples/testpass.c: Likewise.
4251 * manual/examples/timeval_subtract.c: Likewise.
4252
01ae168d
RM
4253 [BZ #13792]
4254 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4255 function to ...
4256 * manual/timeval_subtract.c.texi: ... here, new file.
4257
49efa33d
DM
42582012-03-02 David S. Miller <davem@davemloft.net>
4259
4260 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4261
28afd92d
JM
42622012-03-02 Joseph Myers <joseph@codesourcery.com>
4263
804360ed
JM
4264 [BZ #3976]
4265 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4266 (__sin): Save and restore rounding mode and use round-to-nearest
4267 for all computations.
4268 (__cos): Save and restore rounding mode and use round-to-nearest
4269 for all computations.
4270 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4271 <fenv.h>.
4272 (tan): Save and restore rounding mode and use round-to-nearest for
4273 all computations.
4274 * math/libm-test.inc (cos_test_tonearest): New function.
4275 (cos_test_towardzero): Likewise.
4276 (cos_test_downward): Likewise.
4277 (cos_test_upward): Likewise.
4278 (sin_test_tonearest): Likewise.
4279 (sin_test_towardzero): Likewise.
4280 (sin_test_downward): Likewise.
4281 (sin_test_upward): Likewise.
4282 (tan_test_tonearest): Likewise.
4283 (tan_test_towardzero): Likewise.
4284 (tan_test_downward): Likewise.
4285 (tan_test_upward): Likewise.
4286 (main): Call the new functions.
4287 * sysdeps/i386/fpu/libm-test-ulps: Update.
4288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4289
a6d06d7b
JM
4290 [BZ #10135]
4291 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4292 small n, then large n, before computing and testing k+n.
4293 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4295 Likewise.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4297 Likewise.
4298 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4299 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4304 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4306 * math/libm-test.inc (scalbn_test): Add more tests.
4307 (scalbln_test): Likewise.
4308
07e12bb3
JM
4309 * manual/filesys.texi (mode_t): Describe constraints on size and
4310 signedness, not exact equivalence to a particular type.
4311 (ino_t): Likewise.
4312 (ino64_t): Likewise.
4313 (dev_t): Likewise.
4314 (nlink_t): Likewise.
4315 (blkcnt_t): Likewise.
4316 (blkcnt64_t): Likewise.
4317 * manual/llio.texi (off_t): Likewise.
4318
28afd92d
JM
4319 [BZ #3976]
4320 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4321 (__ieee754_exp): Save and restore rounding mode and use
4322 round-to-nearest for all computations.
4323 * math/libm-test.inc (exp_test_tonearest): New function.
4324 (exp_test_towardzero): Likewise.
4325 (exp_test_downward): Likewise.
4326 (exp_test_upward): Likewise.
4327 (main): Call the new functions.
4328 * sysdeps/i386/fpu/libm-test-ulps: Update.
4329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4330
b1eeb65d
CD
43312012-03-01 Chris Demetriou <cgd@google.com>
4332
4333 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4334 have predictable order.
4335
53362a4b
DM
43362012-03-01 David S. Miller <davem@davemloft.net>
4337
3c969083
DM
4338 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4339
759707de
DM
4340 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4341 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4342 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4343 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4344
dfdb8ff2
DM
4345 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4346 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4347 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4350 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4351 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4352 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4353 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4354
ead89f96
DM
4355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4356
7f66bd07
DM
4357 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4358 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4359 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4360
53362a4b
DM
4361 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4362 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4363 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4364 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4365 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4369 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4370 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4371 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4377 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4378 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4379 * sysdeps/sparc/elf/configure: Regenerated.
4380
7b1902cb
JM
43812012-03-01 Joseph Myers <joseph@codesourcery.com>
4382
bec039bc
JM
4383 * configure.in (AS, LD): Require binutils 2.20 or later.
4384 * configure: Regenerated.
4385 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4386 as required minimum version.
4387 * INSTALL: Regenerated.
4388
7b1902cb
JM
4389 [BZ #2541]
4390 [BZ #4108]
4391 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4392 before squaring exponent.
4393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4394 bottom long double and 27 bits of top long double before squaring
4395 exponent.
4396 * math/libm-test.inc (erfc_test): Add more tests.
4397 * sysdeps/i386/fpu/libm-test-ulps: Update.
4398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4400
f775c276
KT
44012012-03-01 Kai Tietz <ktietz@redhat.com>
4402
4403 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4404 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4405 containing bit-fields.
4406 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4407 * soft-fp/single.h (_FP_UNION_S): Likewise.
4408 * soft-fp/double.h (_FP_UNION_D): Likewise.
4409
5b8a4d4a
JM
44102012-02-29 Joseph Myers <joseph@codesourcery.com>
4411
0bab47b6
JM
4412 [BZ #13786]
4413 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4414 not include ../strcmp.S.
4415 [USE_AS_STRNCASECMP_L]: Likewise.
4416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4417 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4418 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4419 (__strncasecmp_l_ia32): Define as alias to
4420 __strncasecmp_l_nonascii.
4421
0fcad3e2
JM
4422 [BZ #5794]
4423 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4424 * sysdeps/i386/fpu/libm-test-ulps: Update.
4425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4426
5b8a4d4a
JM
4427 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4429
8fdceb2e
JL
44302012-02-29 Jeff Law <law@redhat.com>
4431
4432 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4433 out of bounds read.
4434
1f393a11
MP
44352012-02-29 Marek Polacek <polacek@redhat.com>
4436
4437 [BZ #13706]
4438 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4439 * elf/Makefile: Add rules to run tst-unused-dep.out.
4440
8847f037
DM
44412012-02-28 David S. Miller <davem@davemloft.net>
4442
4443 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4444 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4447 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4448 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4449
169d7f11
JM
44502012-02-29 Joseph Myers <joseph@codesourcery.com>
4451
4452 * math/libm-test.inc (llround_test): Move one test from
4453 lround_test. Use TEST_f_L in moved test.
4454 (lround_test): Move misplaced test to llround_test. Add testcase
4455 from bug 2561.
4456
39adf059
UD
44572012-02-28 Ulrich Drepper <drepper@gmail.com>
4458
4459 * sysdeps/x86_64/fpu/e_expf.S: New file.
4460 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4461
71b5d1c5
SB
44622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4463
4464 [BZ #13637]
4465 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4466 of remain_len that may cause incomplete multi-byte character and
4467 false match.
4468 * posix/bug-regex33.c: New file.
4469 * posix/Makefile (tests): Add bug-regex33.
4470
1f77f049
JM
44712012-02-28 Joseph Myers <joseph@codesourcery.com>
4472
4473 * manual/macros.texi: New file.
4474 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4475 * manual/libc.texinfo: Include macros.texi.
4476 * manual/creatute.texi: Likewise.
4477 * manual/install.texi: Likewise.
4478 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4479 @glibcadj{} in references to the GNU C Library.
4480 * manual/charset.texi: Likewise.
4481 * manual/conf.texi: Likewise.
4482 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4483 when not using those macros.
4484 * manual/creature.texi: Likewise.
4485 * manual/crypt.texi: Likewise.
4486 * manual/errno.texi: Likewise.
4487 * manual/filesys.texi: Likewise.
4488 * manual/header.texi: Likewise.
4489 * manual/install.texi: Likewise.
4490 * manual/intro.texi: Likewise.
4491 * manual/io.texi: Likewise.
4492 * manual/job.texi: Likewise.
4493 * manual/lang.texi: Likewise.
4494 * manual/libc.texiinfo: Likewise.
4495 * manual/llio.texi: Likewise.
4496 * manual/locale.texi: Likewise.
4497 * manual/maint.texi: Likewise.
4498 * manual/math.texi: Likewise.
4499 * manual/memory.texi: Likewise.
4500 * manual/message.texi: Likewise.
4501 * manual/nss.texi: Likewise.
4502 * manual/pattern.texi: Likewise.
4503 * manual/process.texi: Likewise.
4504 * manual/resource.texi: Likewise.
4505 * manual/search.texi: Likewise.
4506 * manual/setjmp.texi: Likewise.
4507 * manual/signal.texi: Likewise.
4508 * manual/socket.texi: Likewise.
4509 * manual/startup.texi: Likewise.
4510 * manual/stdio.texi: Likewise.
4511 * manual/string.texi: Likewise.
4512 * manual/sysinfo.texi: Likewise.
4513 * manual/syslog.texi: Likewise.
4514 * manual/terminal.texi: Likewise.
4515 * manual/time.texi: Likewise.
4516 * manual/users.texi: Likewise.
4517 * INSTALL: Regenerated.
4518 * NOTES: Regenerated.
d40c5d54 4519 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4520
450bf206
AS
45212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4522
4523 * include/dirent.h: Include <dirstream.h> before
4524 <dirent/dirent.h>.
4525
741a235b
DM
45262012-02-28 David S. Miller <davem@davemloft.net>
4527
4528 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4529 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4530 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4531 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4532
d6b5aa58
DM
45332012-02-27 David S. Miller <davem@davemloft.net>
4534
1aff59a3
DM
4535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4537 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4538 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4539
d6b5aa58
DM
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4541 frame pointer instead of stack pointer relative arg slot.
4542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4545
433f48bf
CD
45462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4547
4548 [BZ #3992]
4549 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4550
d674b76d
DM
45512012-02-27 David S. Miller <davem@davemloft.net>
4552
4553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4559 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4560 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4561
0e7727f7
JM
45622012-02-27 Joseph Myers <joseph@codesourcery.com>
4563
4564 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4565 later. Allow versions 5-9.
43be4ca2 4566 * configure: Regenerated.
0e7727f7
JM
4567 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4568 required minimum version and 4.6 as recommended version. Do not
4569 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4570 * INSTALL: Regenerated.
0e7727f7 4571
a78bc654
DM
45722012-02-27 David S. Miller <davem@davemloft.net>
4573
428d5830
DM
4574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4578 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4579 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4580 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4581 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4582
a78bc654
DM
4583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4584 manipulate bits before adding and subtracting TWO112[sx].
4585 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4586
4579f81c
RM
45872012-02-27 Roland McGrath <roland@hack.frob.com>
4588
36c8acb4
RM
4589 [BZ #13775]
4590 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4591 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4592 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4593 being in POSIX, because they are in 1003.1-2008.
4594
84ad622b
RM
4595 * rt/tst-aio.c: Include <fcntl.h>.
4596 * rt/tst-aio7.c: Likewise.
4597 * rt/tst-aio64.c: Likewise.
4598
4579f81c
RM
4599 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4600
abd923db
JM
46012012-02-27 Joseph Myers <joseph@codesourcery.com>
4602
4603 * manual/install.texi (--with-headers): Describe headers as
4604 interface headers, not private headers.
4605 (Specific advice for GNU/Linux systems): Describe use of headers
4606 from "make headers_install", not private headers from older
4607 kernels.
43be4ca2 4608 * INSTALL: Regenerated.
abd923db
JM
4609 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4610 Change to 2.6.19.
4611 * sysdeps/unix/sysv/linux/configure: Regenerated.
4612
6664049b
JM
4613 * manual/llio.texi (fclean): Remove documentation.
4614
bb8b6697
JM
4615 * manual/Makefile (libc-texi-generated): New variable. Include
4616 version.texi.
4617 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4618 $(libc-texi-generated), not duplicated list of files.
4619 (version.texi, stamp-version): New rules.
4620 (realclean): Remove $(libc-texi-generated), not individual files
4621 from that list. Do not remove dir-add.texinfo.
4622 * manual/libc.texinfo: Comment out uses of edition numbers and
4623 references to printed manual. Remove last-updated dates.
4624 (EDITION): Comment out.
4625 (ISBN): Likewise.
4626 (VERSION, UPDATED): Remove.
4627 (version.texi): Include.
4628
12e5c3b9
AS
46292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4630
4631 * sysdeps/posix/spawni.c: Include <signal.h>.
4632 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4633 * sysdeps/pthread/aio_fsync.c: Likewise.
4634
4efeffc1 46352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4636
ba63ba08
UD
4637 * conform/Makefile (tests): Run only when not cross-compiling and
4638 when fast-check is not defined.
4639
d94a4670
UD
4640 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4641 * conform/data/limits.h-data: Fixes for POSIX2008.
4642 * conform/run-conformtest.sh: Run all tests.
4643 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4644 headers.
4645 * include/bits/dlfcn.h: Likewise.
4646 * include/langinfo.h: Likewise.
4647 * include/monetary.h: Likewise.
4648 * include/sys/poll.h: Likewise.
4649
4650 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4651 for __USE_GNU.
4652 * posix/spawn.h: Define __need_sigset_t.
4653 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4654 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4655 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4656 to get sigevent_t only.
4657 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4658 only for __USE_GNU.
4659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4660 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4661 process_vm_writev only for __USE_GNU.
4662 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4663
4664 * conform/Makefile: For now ignore errors from run-conformtest.
4665 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4666 POSIX to avoid namespace pollution. Don't prepend headers.
4667 * conform/data/aio.h-data: Fixes for POSIX testing.
4668 * conform/data/fcntl.h-data: Likewise.
4669 * conform/data/glob.h-data: Likewise.
4670 * conform/data/grp.h-data: Likewise.
4671 * conform/data/pthread.h-data: Likewise.
4672 * conform/data/pwd.h-data: Likewise.
4673 * conform/data/signal.h-data: Likewise.
4674 * conform/data/spawn.h-data: Likewise.
4675 * conform/data/stdio.h-data: Likewise.
4676 * conform/data/stdlib.h-data: Likewise.
4677 * conform/data/stropts.h-data: Likewise.
4678 * conform/data/sys/mman.h-data: Likewise.
4679 * conform/data/sys/stat.h-data: Likewise.
4680 * conform/data/sys/types.h-data: Likewise.
4681 * conform/data/sys/wait.h-data: Likewise.
4682 * conform/data/time.h-data: Likewise.
4683 * conform/data/unistd.h-data: Likewise.
4684 * conform/data/utime.h-data: Likewise.
4685
4686 * io/sys/stat.h: fchmod was always in POSIX.
4687 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4688 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4689 * rt/aio.h: Define __need_timespec before including <time.h>.
4690 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4691 struct. Add forward declaration of pthread_attr_t and use it in
4692 sigevent.
4693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4695 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4696 always remove CLK_TCK definition.
4697
c20105c3
AS
46982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4699
4700 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4701
7a270350
UD
47022012-02-25 Ulrich Drepper <drepper@gmail.com>
4703
31341567
UD
4704 * conform/run-conformtest.sh: New file.
4705 * conform/Makefile: Run run-conformtest for tests.
4706 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4707 support.
4708
4709 * conform/data/uchar.h-data: New file.
4710 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4711 * conform/data/arpa/inet.h-data: Likewise.
4712 * conform/data/assert.h-data: Likewise.
4713 * conform/data/complex.h-data: Likewise.
4714 * conform/data/cpio.h-data: Likewise.
4715 * conform/data/ctype.h-data: Likewise.
4716 * conform/data/dirent.h-data: Likewise.
4717 * conform/data/dlfcn.h-data: Likewise.
4718 * conform/data/errno.h-data: Likewise.
4719 * conform/data/fcntl.h-data: Likewise.
4720 * conform/data/float.h-data: Likewise.
4721 * conform/data/fmtmsg.h-data: Likewise.
4722 * conform/data/fnmatch.h-data: Likewise.
4723 * conform/data/ftw.h-data: Likewise.
4724 * conform/data/glob.h-data: Likewise.
4725 * conform/data/grp.h-data: Likewise.
4726 * conform/data/iconv.h-data: Likewise.
4727 * conform/data/inttypes.h-data: Likewise.
4728 * conform/data/langinfo.h-data: Likewise.
4729 * conform/data/libgen.h-data: Likewise.
4730 * conform/data/limits.h-data: Likewise.
4731 * conform/data/locale.h-data: Likewise.
4732 * conform/data/math.h-data: Likewise.
4733 * conform/data/monetary.h-data: Likewise.
4734 * conform/data/mqueue.h-data: Likewise.
4735 * conform/data/ndbm.h-data: Likewise.
4736 * conform/data/net/if.h-data: Likewise.
4737 * conform/data/netdb.h-data: Likewise.
4738 * conform/data/netinet/in.h-data: Likewise.
4739 * conform/data/nl_types.h-data: Likewise.
4740 * conform/data/poll.h-data: Likewise.
4741 * conform/data/pthread.h-data: Likewise.
4742 * conform/data/pwd.h-data: Likewise.
4743 * conform/data/regex.h-data: Likewise.
4744 * conform/data/sched.h-data: Likewise.
4745 * conform/data/search.h-data: Likewise.
4746 * conform/data/semaphore.h-data: Likewise.
4747 * conform/data/setjmp.h-data: Likewise.
4748 * conform/data/signal.h-data: Likewise.
4749 * conform/data/spawn.h-data: Likewise.
4750 * conform/data/stdarg.h-data: Likewise.
4751 * conform/data/stdio.h-data: Likewise.
4752 * conform/data/stdlib.h-data: Likewise.
4753 * conform/data/string.h-data: Likewise.
4754 * conform/data/strings.h-data: Likewise.
4755 * conform/data/stropts.h-data: Likewise.
4756 * conform/data/sys/ipc.h-data: Likewise.
4757 * conform/data/sys/mman.h-data: Likewise.
4758 * conform/data/sys/msg.h-data: Likewise.
4759 * conform/data/sys/resource.h-data: Likewise.
4760 * conform/data/sys/select.h-data: Likewise.
4761 * conform/data/sys/sem.h-data: Likewise.
4762 * conform/data/sys/shm.h-data: Likewise.
4763 * conform/data/sys/socket.h-data: Likewise.
4764 * conform/data/sys/stat.h-data: Likewise.
4765 * conform/data/sys/statvfs.h-data: Likewise.
4766 * conform/data/sys/time.h-data: Likewise.
4767 * conform/data/sys/timeb.h-data: Likewise.
4768 * conform/data/sys/times.h-data: Likewise.
4769 * conform/data/sys/types.h-data: Likewise.
4770 * conform/data/sys/uio.h-data: Likewise.
4771 * conform/data/sys/un.h-data: Likewise.
4772 * conform/data/sys/utsname.h-data: Likewise.
4773 * conform/data/sys/wait.h-data: Likewise.
4774 * conform/data/syslog.h-data: Likewise.
4775 * conform/data/tar.h-data: Likewise.
4776 * conform/data/termios.h-data: Likewise.
4777 * conform/data/utime.h-data: Likewise.
4778 * conform/data/utmpx.h-data: Likewise.
4779 * conform/data/varargs.h-data: Likewise.
4780 * conform/data/wchar.h-data: Likewise.
4781 * conform/data/wctype.h-data: Likewise.
4782 * conform/data/wordexp.h-data: Likewise.
4783
4784 * include/stropts.h: New file.
4785 * include/uchar.h: New file.
4786 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4787 * include/assert.h: Likewise.
4788 * include/ctype.h: Likewise.
4789 * include/dirent.h: Likewise.
4790 * include/dlfcn.h: Likewise.
4791 * include/fcntl.h: Likewise.
4792 * include/fnmatch.h: Likewise.
4793 * include/glob.h: Likewise.
4794 * include/grp.h: Likewise.
4795 * include/libio.h: Likewise.
4796 * include/locale.h: Likewise.
4797 * include/math.h: Likewise.
4798 * include/net/if.h: Likewise.
4799 * include/netdb.h: Likewise.
4800 * include/netinet/in.h: Likewise.
4801 * include/pthread.h: Likewise.
4802 * include/pwd.h: Likewise.
4803 * include/regex.h: Likewise.
4804 * include/sched.h: Likewise.
4805 * include/search.h: Likewise.
4806 * include/setjmp.h: Likewise.
4807 * include/signal.h: Likewise.
4808 * include/stdio.h: Likewise.
4809 * include/stdlib.h: Likewise.
4810 * include/string.h: Likewise.
4811 * include/sys/cdefs.h: Likewise.
4812 * include/sys/mman.h: Likewise.
4813 * include/sys/msg.h: Likewise.
4814 * include/sys/resource.h: Likewise.
4815 * include/sys/select.h: Likewise.
4816 * include/sys/socket.h: Likewise.
4817 * include/sys/stat.h: Likewise.
4818 * include/sys/statvfs.h: Likewise.
4819 * include/sys/time.h: Likewise.
4820 * include/sys/times.h: Likewise.
4821 * include/sys/uio.h: Likewise.
4822 * include/sys/utsname.h: Likewise.
4823 * include/sys/wait.h: Likewise.
4824 * include/termios.h: Likewise.
4825 * include/time.h: Likewise.
4826 * include/ulimit.h: Likewise.
4827 * include/unistd.h: Likewise.
4828 * include/utime.h: Likewise.
4829 * include/wchar.h: Likewise.
4830 * include/wctype.h: Likewise.
4831 * include/wordexp.h: Likewise.
4832
4833 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4834
7a270350
UD
4835 * time/time.h: TIME_UTC must be a macro.
4836 Make timespec_get available for ISO C11 only as well.
4837
7724defc
UD
48382012-02-24 Ulrich Drepper <drepper@gmail.com>
4839
4840 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4841 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4842
6b1d1d46
JM
48432012-02-24 Joseph Myers <joseph@codesourcery.com>
4844
4845 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4846
0f8bbd69
JM
48472012-02-24 Joseph Myers <joseph@codesourcery.com>
4848
4849 * manual/texinfo.tex: Update to version 2012-01-19.16.
4850
66ab80bc
JM
48512012-02-24 Joseph Myers <joseph@codesourcery.com>
4852
4853 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4854
74981cc5
RM
48552012-02-24 Roland McGrath <roland@hack.frob.com>
4856
ee968201
RM
4857 [BZ #13738]
4858 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4859 * manual/fdl-1.3.texi: New file.
4860 * manual/fdl-1.1.texi: File removed.
4861
74981cc5
RM
4862 [BZ #13738]
4863 * manual/libc.texinfo (FDL_VERSION): New @set.
4864 Use it for mention of FDL in cover text.
4865 (Documentation License): Use it in @include file name.
4866
7bb764bc
JM
48672012-02-22 Joseph Myers <joseph@codesourcery.com>
4868 Roland McGrath <roland@hack.frob.com>
4869
4870 [BZ #5461]
4871 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4872 not LONG_LONG_MAX and LONG_LONG_MIN.
4873 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4874 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4875 name.
4876 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4877
6cbeae47
JM
48782012-02-22 Joseph Myers <joseph@codesourcery.com>
4879
4880 [BZ #2547]
4881 [BZ #11365]
4882 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4883 manipulate bits before adding and subtracting TWO23[sx].
4884 * math/libm-test.inc (nearbyint_test): Add more tests.
4885
fe45ce09
JM
48862012-02-22 Joseph Myers <joseph@codesourcery.com>
4887
4888 [BZ #2548]
4889 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4890 bits before adding and subtracting TWO23[sx].
4891 * math/libm-test.inc (rint_test): Add more tests.
4892 (rint_test_tonearest): Likewise.
4893 (rint_test_towardzero): Likewise.
4894 (rint_test_downward): Likewise.
4895 (rint_test_upward: Likewise.
4896
ff3b3d82
JM
48972012-02-22 Joseph Myers <joseph@codesourcery.com>
4898
4899 [BZ #10110]
4900 * include/stdc-predef.h: New file. Extracted from features.h.
4901 * include/features.h: Include stdc-predef.h.
4902 * Makefile (headers): Add stdc-predef.h.
4903 * CONFORMANCE (Compiler limitations): Update.
4904
ef0aab35
JM
49052012-02-22 Joseph Myers <joseph@codesourcery.com>
4906
4907 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4908
58639409
DM
49092012-02-21 David S. Miller <davem@davemloft.net>
4910
4911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4913
c0e70b25
DM
49142012-02-20 David S. Miller <davem@davemloft.net>
4915
4916 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4917 using a normal save/restore sequence, rather than allocating a
4918 dummy stack frame just to store a frame pointer and restore.
4919 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4920
fb06851d
JM
49212012-02-21 Joseph Myers <joseph@codesourcery.com>
4922
4923 * manual/install.texi: Fix stray word in line-wrapped comment.
4924
7a8b71c3
DM
49252012-02-20 David S. Miller <davem@davemloft.net>
4926
d510c123
DM
4927 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4928 both binutils and gcc support GOTDATA.
4929
0722d7c2
DM
4930 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4931 "rd %pc" in the PIC register setup sequences.
4932
3d2b3019
DM
4933 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4934 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4936 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4937 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4939 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4942 (SYSCALL_ERROR_HANDLER): Likewise.
4943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4944 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4946 (SYSCALL_ERROR_HANDLER): Likewise.
4947
c80098a9
DM
4948 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4949 (HAVE_GCC_GOTDATA): New.
4950 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4951 relocation support in both binutils and gcc.
4952 * sysdeps/sparc/elf/configure: Regenerate.
4953
3a2545a0
DM
4954 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4955 * sysdeps/sparc/sparc32/elf/configure: Delete.
4956 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4957 * sysdeps/sparc/sparc64/elf/configure: Delete.
4958 * sysdeps/sparc/elf/configure.in: New file.
4959 * sysdeps/sparc/elf/configure: Generate.
4960
7a8b71c3
DM
4961 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4962 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4963 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4964 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4965 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4966
f1e86fca
JM
49672012-02-21 Joseph Myers <joseph@codesourcery.com>
4968
4969 * manual/install.texi: Do not mention specific glibc version
4970 numbers.
4971 * manual/libc.texinfo (VERSION, UPDATED): Update.
4972 (@copying): Use @copyright{} and range of years.
4973
0e7dfaef
JM
49742012-02-21 Joseph Myers <joseph@codesourcery.com>
4975
4976 [BZ #13695]
4977 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4978 [crti.S not in sysdirs] (generated): Do not append.
4979 [crti.S not in sysdirs] (omit-deps): Likewise.
4980 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4981 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4982 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4983 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4984 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4985 Likewise.
4986 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4987 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4988 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4989 * csu/defs.awk: Remove file.
4990 * sysdeps/generic/initfini.c: Likewise.
4991 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4992 variable.
4993 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4994 Likewise.
4995
599af3ca
JM
49962012-02-20 Joseph Myers <joseph@codesourcery.com>
4997
4998 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4999 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5000 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5001 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5003 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5004 <bits/epoll.h>.
5005 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5006 (__EPOLL_PACKED): Define to empty if not defined by
5007 <bits/epoll.h>.
5008 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5010 bits/epoll.h.
5011
0e499750
JM
50122012-02-20 Joseph Myers <joseph@codesourcery.com>
5013
5014 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5015 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5017 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5018 <bits/timerfd.h>.
5019 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5021 bits/timerfd.h.
5022
5ad91f6e
JM
50232012-02-20 Joseph Myers <joseph@codesourcery.com>
5024
5025 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5026 in C locale.
5027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5031
06b99b02
AJ
50322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5033
5034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5036
7638c0fd
AS
50372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5038
5039 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5040 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5041 defined.
5042 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5043 Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5045 entry for 2.16.
5046
92221550
AJ
50472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5048
5049 * math/w_acos.c: Use non-signaling floating-point comparisons.
5050 * math/w_acosf.c: Likewise.
5051 * math/w_acosh.c: Likewise.
5052 * math/w_acoshf.c: Likewise.
5053 * math/w_acoshl.c: Likewise.
5054 * math/w_acosl.c: Likewise.
5055 * math/w_asin.c: Likewise.
5056 * math/w_asinf.c: Likewise.
5057 * math/w_asinl.c: Likewise.
5058 * math/w_atanh.c: Likewise.
5059 * math/w_atanhf.c: Likewise.
5060 * math/w_atanhl.c: Likewise.
5061 * math/w_exp2.c: Likewise.
5062 * math/w_exp2f.c: Likewise.
5063 * math/w_exp2l.c: Likewise.
5064 * math/w_j0.c: Likewise.
5065 * math/w_j0f.c: Likewise.
5066 * math/w_j0l.c: Likewise.
5067 * math/w_j1.c: Likewise.
5068 * math/w_j1f.c: Likewise.
5069 * math/w_j1l.c: Likewise.
5070 * math/w_jn.c: Likewise.
5071 * math/w_jnf.c: Likewise.
5072 * math/w_log.c: Likewise.
5073 * math/w_log10.c: Likewise.
5074 * math/w_log10f.c: Likewise.
5075 * math/w_log10l.c: Likewise.
5076 * math/w_log2.c: Likewise.
5077 * math/w_log2f.c: Likewise.
5078 * math/w_log2l.c: Likewise.
5079 * math/w_logf.c: Likewise.
5080 * math/w_logl.c: Likewise.
5081 * math/w_sqrt.c: Likewise.
5082 * math/w_sqrtf.c: Likewise.
5083 * math/w_sqrtl.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5087 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5088 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5089
ebaf36eb
JM
50902012-02-19 Joseph Myers <joseph@codesourcery.com>
5091
5092 [BZ #9739]
5093 * manual/string.texi (strnlen): Use correct parameter name in
5094 equivalent expression.
5095
71c254a6
JM
50962012-02-19 Joseph Myers <joseph@codesourcery.com>
5097
5098 [BZ #11174]
5099 * manual/users.texi (seteuid): Consistently use neweuid for
5100 argument name.
5101
16d2c631
JM
51022012-02-19 Joseph Myers <joseph@codesourcery.com>
5103
5104 [BZ #13704]
5105 * manual/nss.texi (Services in the NSS configuration): Correct
5106 list of services in example configuration file.
5107
cd837b09
NB
51082012-02-19 Nick Bowler <nbowler@draconx.ca>
5109
5110 [BZ #11322]
5111 * manual/arith.texi: Remove statements about negative zero
5112 behaving identically to zero.
5113
02c4bbad
JM
51142012-02-18 Joseph Myers <joseph@codesourcery.com>
5115
5116 [BZ #5993]
5117 * manual/install.texi: Do not document upgrading from libc5.
5118
366842e7
JM
51192012-02-18 Joseph Myers <joseph@codesourcery.com>
5120
5121 [BZ #4596]
5122 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5123
dd54084d
DM
51242012-02-18 David S. Miller <davem@davemloft.net>
5125
5126 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5127 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5128 %o7 across the call.
5129 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5130 instead.
5131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5132 SETUP_PIC_REG_LEAF.
5133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5134 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5135 * sysdeps/sparc/crtn.S: Likewise.
5136
2bcc53a3
UD
51372012-02-17 Ulrich Drepper <drepper@gmail.com>
5138
5139 * aout/Makefile: Remove.
5140
09c093b5
RK
51412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5142
5143 [BZ #13058]
5144 * manual/examples/argp-ex1.c (main): Format definition in GNU
5145 style.
5146 * manual/examples/argp-ex2.c (main): Likewise.
5147 * manual/examples/argp-ex3.c (main): Likewise.
5148 * manual/examples/argp-ex4.c (main): Likewise.
5149 * manual/examples/longopt.c (main): Use new-style prototype
5150 definition.
5151 * manual/examples/strncat.c (main): Specify return type and use
5152 (void) for arguments.
5153 * manual/examples/subopt.c (main): Use char **argv argument.
5154
2ee633a2
JM
51552012-02-17 Joseph Myers <joseph@codesourcery.com>
5156
5157 [BZ #5077]
5158 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5159 rounding modes.
5160
0520adde
FB
51612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5162
5163 [BZ #6907]
5164 * manual/string.texi (strchr): Change when strchrnul is
5165 recommended.
5166
3f4081cd
DGM
51672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5168
5169 [BZ #174]
5170 * manual/locale.texi (setlocale): Document LOCPATH.
5171
d1b10e78
JM
51722012-02-17 Joseph Myers <joseph@codesourcery.com>
5173
5174 [BZ #10210]
5175 * manual/process.texi (execle): Move @dots{} before last argument.
5176
79c6869c
PB
51772012-02-17 Paul Bolle <pebolle@tiscali.nl>
5178
5179 [BZ #12047]
5180 * manual/charset.texi (Generic Charset Conversion): Fix typo
5181 (LC_TYPE -> LC_CTYPE).
5182
cc6e48bc
NB
51832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5184
5185 [BZ #5805]
5186 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5187 (scalbnf): Likewise.
5188 (scalbnl): Likewise.
5189 (scalbln): Likewise.
5190 (scalblnf): Likewise.
5191 (scalblnl): Likewise.
5192 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5193 (vwarnx): Likewise.
5194 (verr): Likewise.
5195 (verrx): Likewise.
5196 * manual/filesys.texi (telldir): Use braces around return type.
5197 * manual/llio.texi (mmap): Add space after comma.
5198 (mmap64): Likewise.
5199 * manual/math.texi (jn): Use @var{} on parameter names.
5200 (jnf): Likewise.
5201 (jnl): Likewise.
5202 (yn): Likewise.
5203 (ynf): Likewise.
5204 (ynl): Likewise.
5205 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5206 line.
5207 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5208 "...".
5209 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5210 (sched_get_priority_max): Likewise.
5211 * manual/signal.texi (sigvec): Add space after comma.
5212 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5213 names.
5214 (if_indextoname): Likewise.
5215 (if_freenameindex): Likewise.
5216 (sendto): Use ',' instead of '.' in prototype.
5217 * manual/startup.texi (syscall): Use @dots{} instead of literal
5218 "...".
5219 * manual/stdio.texi (__fpending): Separate initial words of
5220 paragraph from @deftypefun line.
5221 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5222 "...".
5223 (vsyslog): Use @var{} on parameter names.
5224 * manual/terminal.texi (stty): Use @var{} on parameter names.
5225 * manual/users.texi (getutmp): Use @var{} on parameter names.
5226 (getutmpx): Likewise.
5227
5b23062f
JM
52282012-02-17 Joseph Myers <joseph@codesourcery.com>
5229
5230 [BZ #6884]
5231 * manual/stdio.texi (fopen): Fix typos in description of
5232 ",ccs=STRING".
5233
8dee4833
AJ
52342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5235
5236 [BZ #4026]
5237 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5238 get clock_id definition.
5239
9078ce93
TS
52402012-02-17 Thomas Schwinge <thomas@schwinge.name>
5241
5242 [BZ #4822]
5243 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5244 (madvise): Cast every argument to void on its own.
5245
3835c55f
JM
52462012-02-17 Joseph Myers <joseph@codesourcery.com>
5247
5248 [BZ #9902]
5249 * manual/startup.texi (Exit Status): Fix typo.
5250
35c47e37
JM
52512012-02-17 Joseph Myers <joseph@codesourcery.com>
5252
5253 [BZ #10140]
5254 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5255 * manual/examples/argp-ex2.c: Likewise.
5256 * manual/examples/argp-ex3.c: Likewise.
5257
e3b69ca7
RH
52582012-02-16 Richard Henderson <rth@redhat.com>
5259
5260 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5261 * sysdeps/s390/s390-32/initfini.c: Remove.
5262 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5263 * sysdeps/s390/s390-64/initfini.c: Remove.
5264
df83af67
KK
52652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5266
5267 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5268 compiler output for sysdeps/generic/initfini.c.
5269 * sysdeps/sh/elf/initfini.c: Remove file.
5270
f63f3380
DM
52712012-02-16 David S. Miller <davem@davemloft.net>
5272
fb59b3a4
DM
5273 [BZ #11494]
5274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5275
f63f3380
DM
5276 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5277 * sysdeps/sparc/crti.S: New file.
5278 * sysdeps/sparc/crtn.S: New file.
5279 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5280 * sysdeps/sparc/sparc64/Makefile: Likewise.
5281
df6a4a4a
MF
52822012-02-15 Mike Frysinger <vapier@gentoo.org>
5283
6dd8f3dc 5284 [BZ #3335]
df6a4a4a
MF
5285 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5286
1cac7236
RM
52872012-02-15 Roland McGrath <roland@hack.frob.com>
5288
d2c736f8
RM
5289 [BZ #4822]
5290 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5291
1cac7236
RM
5292 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5293 (write, read, close): Likewise.
5294 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5295
8e475601
JM
52962012-02-15 Joseph Myers <joseph@codesourcery.com>
5297
5298 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5299 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5301 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5302 <bits/signalfd.h>.
5303 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5305 bits/signalfd.h.
5306
ed656b40
MP
53072012-02-14 Marek Polacek <polacek@redhat.com>
5308
5309 * sysdeps/x86_64/crti.S: New file.
5310 * sysdeps/x86_64/crtn.S: New file.
5311 * sysdeps/x86_64/elf/initfini.c: Remove file.
5312
2a979d3a
JM
53132012-02-13 Joseph Myers <joseph@codesourcery.com>
5314
5315 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5316 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5318 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5319 <bits/inotify.h>.
5320 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5322 bits/inotify.h.
5323
2a418ac3
JM
53242012-02-13 Joseph Myers <joseph@codesourcery.com>
5325
5326 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5327 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5328 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5329 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5330 <bits/eventfd.h>.
5331 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5333 bits/eventfd.h.
5334
fb779be7
TS
53352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5336
e19e83c5
RM
5337 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5338 __feraiseexcept instead of feraiseexcept.
7c35ffed 5339
fb779be7
TS
5340 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5341 nanosleep invocations.
5342 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5343 strings, and add error checking for a nanosleep invocations.
5344
59ba27a6
PE
53452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5346
5347 Replace FSF snail mail address with URLs, as per GNU coding standards.
5348 Most of the snail mail addresses were wrong anyway, and omitting
5349 them makes the source code easier to maintain. Almost all of the
5350 changes are to license notices and to locale LC_IDENTIFICATION
5351 addresses, except for this one:
5352 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5353 not its snail mail address.
5354
57b957eb
RH
53552012-02-09 Richard Henderson <rth@twiddle.net>
5356
af850b1c
RH
5357 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5358 of kernel-features.h.
5359
57b957eb
RH
5360 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5361
6b73181a
MP
53622012-02-08 Marek Polacek <polacek@redhat.com>
5363
5364 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5365 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5366 * sysdeps/gnu/_G_config.h: Likewise.
5367 * sysdeps/generic/_G_config.h: Likewise.
5368
26ecc33a
AS
53692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5370
6c6dbc63
AS
5371 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5372 tests.
5373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374
e216c012
AS
5375 * sysdeps/powerpc/powerpc32/crti.S: New file.
5376 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5377 * sysdeps/powerpc/powerpc64/crti.S: New file.
5378 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5379
26ecc33a
AS
5380 * Makeconfig (have-initfini): Don't set.
5381 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5382 * configure.in (nopic_initfini): Don't substitute.
5383 * config.h.in (HAVE_INITFINI): Don't #undef.
5384 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5385 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5386
3add8e13
JM
53872012-02-08 Joseph Myers <joseph@codesourcery.com>
5388
5389 Support crti.S and crtn.S provided directly by architectures.
5390 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5391 [crti.S in sysdirs] (omit-deps): Likewise.
5392 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5393 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5394 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5395 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5396 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5397 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5398 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5399 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5400 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5401 compiler output for sysdeps/generic/initfini.c.
5402 * sysdeps/i386/elf/Makefile: Remove file.
5403 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5404
a22f12b4
MP
54052012-02-07 Marek Polacek <polacek@redhat.com>
5406
5407 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5408 * sysdeps/gnu/_G_config.h: Likewise.
5409 * sysdeps/mach/hurd/_G_config.h: Likewise.
5410
148cf100
MP
54112012-02-07 Marek Polacek <polacek@redhat.com>
5412
5413 * math/Makefile (tests): Add tst-CMPLX2.
5414 * math/tst-CMPLX2.c: New file.
5415
cfdc0dd7
AS
54162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5417
84ba42c4
AS
5418 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5419
cfdc0dd7
AS
5420 * math/libm-test.inc (jn_test): Add missing L suffix.
5421
622c86f4
MP
54222012-02-06 Marek Polacek <polacek@redhat.com>
5423
5424 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5425 * sysdeps/i386/fpu/e_powf.S: Likewise.
5426 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5427 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5428 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5429 * sysdeps/i386/fpu/e_pow.S: Likewise.
5430 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5432 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5433 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5434 * sysdeps/i386/fpu/e_log2.S: Likewise.
5435 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5436 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5437 * sysdeps/i386/fpu/e_powl.S: Likewise.
5438 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5440 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5441 * sysdeps/i386/fpu/e_logl.S: Likewise.
5442 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5443 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5444 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5445 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5446 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5447 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5448 * sysdeps/i386/fpu/e_log.S: Likewise.
5449 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5451 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5452 * sysdeps/i386/fpu/e_logf.S: Likewise.
5453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5454 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5455 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5456 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5457 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5458 * sysdeps/i386/fpu/e_log10.S: Likewise.
5459 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5461 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5462 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5464 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5465 * sysdeps/i386/asm-syntax.h: Likewise.
5466 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5467 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5468 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5469 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5470 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5472 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5473 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5475 * sysdeps/powerpc/sysdep.h: Likewise.
5476 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5477 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5478
d4a54ac6
JM
54792012-02-06 Joseph Myers <joseph@codesourcery.com>
5480
5481 [BZ #411]
5482 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5483
314054ea
JM
54842012-02-06 Joseph Myers <joseph@codesourcery.com>
5485
5486 * sysdeps/i386/sysdep.h: Include <features.h>.
5487 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5488 version.
5489
d8e0ca50
JM
54902012-02-05 Joseph Myers <joseph@codesourcery.com>
5491
5492 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5493 Define.
5494 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5495 LOAD_PIC_REG_STR.
5496
b1da7dd9
JM
54972012-02-03 Joseph Myers <joseph@codesourcery.com>
5498
5499 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5500 (SETUP_PIC_REG): Use GET_PC_THUNK.
5501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5502 macro.
5503
9a1d9254
JM
55042012-02-03 Joseph Myers <joseph@codesourcery.com>
5505
5506 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5507 for non-PIC compilation.
5508 (SETUP_PIC_REG): Add .p2align directive.
5509 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5510 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5511 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5512 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5513 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5514 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5515 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5517 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5518 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5519 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5520 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5521 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5522 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5523 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5524 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5525 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5526 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5527 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5528 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5531 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5532 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5533 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5535 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5537 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5538 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5539 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5541 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5542 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5543 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5544 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5545 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5546 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5547 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5548 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5549 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5550
65dc3b75
JM
55512012-02-03 Joseph Myers <joseph@codesourcery.com>
5552
5553 * math/tst-CMPLX.c: Include <stdio.h>.
5554
d55bf177
JM
55552012-01-31 Joseph Myers <joseph@codesourcery.com>
5556
5557 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5558 float.
5559 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5560 * sysdeps/sparc/bits/mathdef.h: Likewise.
5561
69db4f8f
MP
55622012-01-31 Marek Polacek <polacek@redhat.com>
5563
5564 * libio/libio.h: Don't define _PARAMS.
5565 * locale/programs/config.h: Don't define PARAMS.
5566 * stdlib/strtol_l.c: Likewise.
5567 (__strtol_l): Remove PARAMS from the prototype.
5568
41b81892
UD
55692012-01-31 Ulrich Drepper <drepper@gmail.com>
5570
3b49edc0
UD
5571 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5572 names. Just use the correct names. Remove unnecessary wrapper
5573 functions.
5574 * malloc/arena.c: Likewise.
5575 * malloc/hooks.c: Likewise.
5576
41b81892
UD
5577 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5578 ARENA_TEST says not to. Simplify test for creation of a new arena.
5579 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5580
27a25b6e
UD
55812012-01-30 Ulrich Drepper <drepper@gmail.com>
5582
5583 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5584 into tail calls.
5585 (update_get_addr): New function.
5586 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5587 GET_ADDR_MODULE parameter.
5588
c8a89e7d
JM
55892012-01-30 Joseph Myers <joseph@codesourcery.com>
5590
5591 * crypt/cert.c: Remove __STDC__ conditionals.
5592 * crypt/crypt-entry.c: Likewise.
5593 * crypt/crypt_util.c: Likewise.
5594 * libio/filedoalloc.c: Likewise.
5595 * libio/fileops.c: Likewise.
5596 * libio/genops.c: Likewise.
5597 * libio/iofclose.c: Likewise.
5598 * libio/iofdopen.c: Likewise.
5599 * libio/iofopen.c: Likewise.
5600 * libio/iofopen64.c: Likewise.
5601 * libio/iogetdelim.c: Likewise.
5602 * libio/iopopen.c: Likewise.
5603 * libio/obprintf.c: Likewise.
5604 * libio/oldfileops.c: Likewise.
5605 * libio/oldiofclose.c: Likewise.
5606 * libio/oldiofdopen.c: Likewise.
5607 * libio/oldiofopen.c: Likewise.
5608 * libio/oldiopopen.c: Likewise.
5609 * libio/wfiledoalloc.c: Likewise.
5610 * libio/wgenops.c: Likewise.
5611 * locale/programs/xmalloc.c: Likewise.
5612 * misc/syslog.c: Likewise.
5613 * stdio-common/xbug.c: Likewise.
5614 * string/memchr.c: Likewise.
5615 * string/memcmp.c: Likewise.
5616 * string/memrchr.c: Likewise.
5617 * string/rawmemchr.c: Likewise.
5618 * sysdeps/posix/getcwd.c: Likewise.
5619 * time/strftime_l.c: Likewise.
5620
3b100462
JM
56212012-01-30 Joseph Myers <joseph@codesourcery.com>
5622
5623 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5624 * config.make.in (config-cflags-sse2avx): Define.
5625 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5626 Fix typo.
5627
607998af
CM
56282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5629
5630 * scripts/config.guess: Update from upstream config git repository.
5631 * scripts/config.sub: Likewise.
5632
3601428f
CM
56332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5634
3ac8b282
CM
5635 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5636 (EM_NUM): Update.
5637 (R_TILEPRO_*, R_TILEGX_*): New macros.
5638
e034841e
CM
5639 * scripts/firstversions.awk: Fix bug in version range handling.
5640
540d7568
CM
5641 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5642
3601428f
CM
5643 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5644
463de862
CM
5645 * include/sys/epoll.h: New file.
5646 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5647 libc_hidden_def.
5648
73139a76
UD
56492012-01-28 Ulrich Drepper <drepper@gmail.com>
5650
96bc5b45
UD
5651 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5652 Avoid unnecessary __WORDSIZE == 64 test.
5653 (fmaxf): Use VEX format if possible.
5654 (fmax): Likewise.
5655 (fminf): Likewise.
5656 (fmin): Likewise.
5657
56f6f6a2
UD
5658 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5659 * math/math_private.h: Remove libc_fegetround* and
5660 libc_fesetround*.
5661 * sysdeps/i386/configure.in: Check for -msse2avx.
5662 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5663 also if SSE2AVX is defined.
5664 Remove libc_fegetround* and libc_fesetround*.
5665 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5666 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5667 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5668 of HAS_YMM_USABLE.
5669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5674
73139a76
UD
5675 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5676
d73f93a4
AZ
56772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5678
5679 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5680 size is not set.
5681 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5682
6ee65ed6
UD
56832012-01-27 Ulrich Drepper <drepper@gmail.com>
5684
5685 [BZ #13618]
5686 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5687 relocation.
5688 * Makeconfig (libm): Define.
5689 * elf/Makefile: Add rules to build and run tst-relsort1.
5690 * elf/tst-relsort1.c: New file.
5691 * elf/tst-relsort1mod1.c: New file.
5692 * elf/tst-relsort1mod2.c: New file.
5693
8db21882
JM
56942012-01-27 Joseph Myers <joseph@codesourcery.com>
5695
5696 * math/s_ldexp.c: Remove __STDC__ conditionals.
5697 * math/s_ldexpf.c: Likewise.
5698 * math/s_ldexpl.c: Likewise.
5699 * math/s_nextafter.c: Likewise.
5700 * math/s_nexttowardf.c: Likewise.
5701 * math/s_significand.c: Likewise.
5702 * math/s_significandf.c: Likewise.
5703 * math/s_significandl.c: Likewise.
5704 * math/w_jnl.c: Likewise.
5705 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5706 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5707 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5708 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5709 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5724 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5725 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5732 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5735 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5739 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5740 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5741 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5742 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5743 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5744 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5745 * sysdeps/ieee754/k_standard.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5807 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5808 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5812 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5821 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5825 * sysdeps/ieee754/s_matherr.c: Likewise.
5826 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5827 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5830
965a54a4
JM
58312012-01-26 Joseph Myers <joseph@codesourcery.com>
5832
5833 * crypt/md5.h: Remove __STDC__ conditionals.
5834 * libio/libioP.h: Likewise.
5835 * locale/programs/config.h: Likewise.
5836 * sysdeps/generic/sysdep.h: Likewise.
5837 * sysdeps/i386/asm-syntax.h: Likewise.
5838 * sysdeps/s390/asm-syntax.h: Likewise.
5839 * sysdeps/unix/sysdep.h: Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5842
7071ad79
JM
58432012-01-26 Joseph Myers <joseph@codesourcery.com>
5844
5845 * libio/libio.h: Remove __STDC__ conditionals.
5846 * malloc/obstack.h: Likewise.
5847 * math/complex.h: Likewise.
5848 * math/math.h: Likewise.
5849 * sysdeps/generic/_G_config.h: Likewise.
5850 * sysdeps/gnu/_G_config.h: Likewise.
5851 * sysdeps/mach/hurd/_G_config.h: Likewise.
5852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5853 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5854 * sysdeps/sparc/bits/mathdef.h: Likewise.
5855
afc5ed09
UD
58562012-01-26 Ulrich Drepper <drepper@gmail.com>
5857
5858 [BZ #13583]
5859 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5860 Clean up HAS_* macros.
afc5ed09 5861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5862 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5863 possible.
5864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5865 HAS_AVX.
5866 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5867 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5869 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5871
bdb6de1d
JM
58722012-01-25 Joseph Myers <joseph@codesourcery.com>
5873
5874 * elf/tst-unique3.cc (gets): Remove declaration.
5875 * elf/tst-unique3lib.cc (gets): Likewise.
5876 * elf/tst-unique3lib2.cc (gets): Likewise.
5877 * elf/tst-unique4.cc (gets): Likewise.
5878
b15549e6
UD
58792012-01-24 Ulrich Drepper <drepper@gmail.com>
5880
5881 * include/stdio.h: Add C++ protection. Add gets declarations and
5882 definitions.
5883 * debug/tst-chk1.c: Don't declare gets here.
5884 * stdio-common/tst-gets.c: Likewise.
5885
a037381f
JM
58862012-01-24 Joseph Myers <joseph@codesourcery.com>
5887
5888 * posix/glob: Remove directory.
5889
f1d4aa75
JM
58902012-01-24 Joseph Myers <joseph@codesourcery.com>
5891
5892 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5893
81c0c964
PT
58942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5895
5896 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5897 of the non-standard EPFNOSUPPORT.
5898
0ea698ae
ST
58992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5900
5901 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5902 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5903 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5904
d220b117
UD
59052012-01-21 Ulrich Drepper <drepper@gmail.com>
5906
5907 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5908
3e1aa84e
UD
59092012-01-20 Ulrich Drepper <drepper@gmail.com>
5910
5911 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5912 transient errors.
5913 * nscd/grpcache.c (cache_addgr): Likewise.
5914 * nscd/hstcache.c (cache_addhst): Likewise.
5915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5916 * nscd/pwdcache.c (cache_addpw): Likewise.
5917 * nscd/servicescache.c (cache_addserv): Likewise.
5918
400aa020
UD
59192012-01-16 Ulrich Drepper <drepper@gmail.com>
5920
d77e7869
UD
5921 * malloc/malloc.c: Various cleanups.
5922 * malloc/hooks.c: Likewise.
5923
400aa020
UD
5924 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5925 * stdlib/bug-fmtmsg1.c: New file.
5926
5927 * stdlib/fmtmsg.c (init): Add missing unlock.
5928 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5929
e0a309cf
MP
59302012-01-12 Marek Polacek <polacek@redhat.com>
5931
5932 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5933 and _GNU_SOURCE.
5934
929d11c7
WS
59352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5936
5937 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5938 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5939 macro to ensure uniqueness of label name.
5940 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5941 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5942
41d0e869
UD
59432012-01-11 Ulrich Drepper <drepper@gmail.com>
5944
0cc5ed3b
UD
5945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5946
41d0e869
UD
5947 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5948 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5949 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5951
a47a831a
UD
59522012-01-10 Ulrich Drepper <drepper@gmail.com>
5953
daa891c0
UD
5954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5955
5956 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5958 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5959
e58ef0f2
UD
5960 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5961
a47a831a 5962 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5963 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5966
5967 * math/bits/math-finite.h: Add ldexp support.
5968
a0bfc9c7
MP
59692012-01-10 Marek Polacek <polacek@redhat.com>
5970
5971 * locale/programs/localedef.h (show_archive_content): Add noreturn
5972 attribute.
5973
d6e97a1d
UD
59742012-01-09 Ulrich Drepper <drepper@gmail.com>
5975
5976 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5977
d5835c26
UD
59782012-01-08 Ulrich Drepper <drepper@gmail.com>
5979
e5f484c6
UD
5980 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5981
d5835c26
UD
5982 * io/Makefile (headers): Add bits/poll2.h.
5983
d1f741e9
WS
59842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5985
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5987 typo #include statement.
5988
ec09c1c4
UD
59892012-01-08 Ulrich Drepper <drepper@gmail.com>
5990
5991 * include/sys/cdefs.h: Define __attribute_alloc_size.
5992 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5993 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5994 * elf/pldd.c: Likewise.
5995 * iconv/iconv_charmap.c: Likewise.
5996 * iconv/iconvconfig.c: Likewise.
5997 * iconv/strtab.c: Likewise.
5998 * locale/programs/locale.c: Likewise.
5999 * locale/programs/localedef.h: Likewise.
6000 * locale/programs/simple-hash.c: Likewise.
6001 * nscd/nscd.h: Likewise.
6002 * nss/makedb.c: Likewise.
6003 * sysdeps/generic/ldconfig.h: Likewise.
6004 * locale/programs/localedef.c: Remove xmalloc prototype.
6005 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6006
20b38e03
PP
60072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6008
6009 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6010 appropriate.
6011
a0da5fe1
UD
60122012-01-08 Ulrich Drepper <drepper@gmail.com>
6013
1d5a644a 6014 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6015 * math/tst-CMPLX.c: New file.
1d5a644a 6016
8784a6db
UD
6017 * math/complex.h (CMPLXL): Fix typo.
6018
d9a216c0
UD
6019 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6020 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6021 GLIBC_2.16.
6022 * debug/tst-chk1.c: Add poll and ppoll tests.
6023 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6024 * include/sys/poll.h: Add hidden proto for ppoll.
6025 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6026 * sysdeps/mach/hurd/ppoll.c: Likewise.
6027 * io/ppoll.c: Likewise.
6028 * debug/poll_chk.c: New file.
6029 * debug/ppoll_chk.c: New file.
6030 * include/bits/poll2.h: New file.
6031 * io/bits/poll2.h: New file.
6032
ac097f5c
UD
6033 [BZ #1350]
6034 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6035
2119dcfa
UD
6036 * configure.in: static is always set to yes. Remove.
6037 * config.make.in: Don't set build-static.
6038 * Makeconfig: Remove use of build-static.
6039 * dlfcn/Makefile: Likewise.
6040 * elf/Makefile: Likewise.
6041 * math/Makefile: Likewise.
6042 * misc/Makefile: Likewise.
6043 * nptl/Makefile: Likewise.
6044 * sysdeps/mach/hurd/Makefile: Likewise.
6045
121766a9
UD
6046 * configure.in: PWD_P is not used anymore.
6047 * config.make.in: Remove PWD_P entry.
6048
51a1d39c 6049 * configure.in: Remove last remnants of RANLIB.
8720d066 6050 No need to check for signed size_t anymore.
215f4bdc
UD
6051 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6052 and IA-64.
3857022a 6053 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6054 * aclocal.m4: Likewise.
6055
d3ed7225
UD
6056 * wcsmbs/mbrtoc16.c: Implement using towc function.
6057 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6058 * wcsmbs/wcsmbsload.c: Likewise.
6059 * iconv/gconv_simple.c: Likewise.
6060 * iconv/gconv_int.h: Likewise.
6061 * iconv/gconv_builtin.h: Likewise.
6062 * iconv/iconv_prog.c: Remove CHAR16 handling.
6063
6064 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6065
6066 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6067
a0da5fe1
UD
6068 * configure.in: Remove --with-elf and --enable-bounded options.
6069 Dont set base_machine for ia64. More non-ELF conditions removed.
6070 Remove testing and setting of leading underscore information.
6071 * config.make.in (build-bounded): Set to no.
6072 * config.h.in: Remove NO_UNDERSCORES entry.
6073 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6074 them.
6075 * csu/start.c: Remove !NO_UNDERSCORE code.
6076 * locale/localeinfo.h: Likewise.
6077 * sysdeps/generic/machine-gmon.h: Likewise.
6078 * sysdeps/generic/sysdep.h: Likewise.
6079 * sysdeps/i386/sysdep.h: Likewise.
6080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6081 * sysdeps/mach/sysdep.h: Likewise.
6082 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6084 * sysdeps/sh/sysdep.h: Likewise.
6085 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6086 * sysdeps/unix/i386/sysdep.S: Likewise.
6087 * sysdeps/unix/sparc/start.c: Likewise.
6088 * sysdeps/unix/sparc/sysdep.S: Likewise.
6089 * sysdeps/unix/sparc/sysdep.h: Likewise.
6090 * sysdeps/unix/start.c: Likewise.
6091 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6092 * sysdeps/x86_64/sysdep.h: Likewise.
6093
df78418a
UD
60942012-01-07 Ulrich Drepper <drepper@gmail.com>
6095
a784e502
UD
6096 [BZ #13553]
6097 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6098 for non-gcc.
6099 * argp/argp-fmtstream.h: Use const instead __const.
6100 * argp/argp.h: Likewise.
6101 * assert/assert.h: Likewise.
6102 * bits/fenv.h: Likewise.
6103 * bits/sched.h: Likewise.
6104 * bits/sigset.h: Likewise.
6105 * bits/sigthread.h: Likewise.
6106 * catgets/nl_types.h: Likewise.
6107 * conform/data/pthread.h-data: Likewise.
6108 * crypt/crypt-private.h: Likewise.
6109 * crypt/crypt.h: Likewise.
6110 * crypt/crypt_util.c: Likewise.
6111 * ctype/ctype.h: Likewise.
6112 * debug/execinfo.h: Likewise.
6113 * debug/mbsnrtowcs_chk.c: Likewise.
6114 * debug/mbsrtowcs_chk.c: Likewise.
6115 * debug/wcsnrtombs_chk.c: Likewise.
6116 * debug/wcsrtombs_chk.c: Likewise.
6117 * debug/wcstombs_chk.c: Likewise.
6118 * dirent/dirent.h: Likewise.
6119 * dlfcn/dlfcn.h: Likewise.
6120 * elf/neededtest4.c: Likewise.
6121 * grp/grp.h: Likewise.
6122 * gshadow/gshadow.h: Likewise.
6123 * iconv/gconv.h: Likewise.
6124 * iconv/gconv_int.h: Likewise.
6125 * iconv/gconv_simple.c: Likewise.
6126 * iconv/iconv.h: Likewise.
6127 * iconv/loop.c: Likewise.
6128 * iconv/skeleton.c: Likewise.
6129 * include/aio.h: Likewise.
6130 * include/aliases.h: Likewise.
6131 * include/argz.h: Likewise.
6132 * include/arpa/inet.h: Likewise.
6133 * include/assert.h: Likewise.
6134 * include/dirent.h: Likewise.
6135 * include/dlfcn.h: Likewise.
6136 * include/execinfo.h: Likewise.
6137 * include/fcntl.h: Likewise.
6138 * include/fenv.h: Likewise.
6139 * include/glob.h: Likewise.
6140 * include/grp.h: Likewise.
6141 * include/libintl.h: Likewise.
6142 * include/mntent.h: Likewise.
6143 * include/netdb.h: Likewise.
6144 * include/pwd.h: Likewise.
6145 * include/rpc/netdb.h: Likewise.
6146 * include/sched.h: Likewise.
6147 * include/search.h: Likewise.
6148 * include/shadow.h: Likewise.
6149 * include/signal.h: Likewise.
6150 * include/stdio.h: Likewise.
6151 * include/stdlib.h: Likewise.
6152 * include/string.h: Likewise.
6153 * include/sys/socket.h: Likewise.
6154 * include/sys/stat.h: Likewise.
6155 * include/sys/statfs.h: Likewise.
6156 * include/sys/statvfs.h: Likewise.
6157 * include/sys/syslog.h: Likewise.
6158 * include/sys/time.h: Likewise.
6159 * include/sys/uio.h: Likewise.
6160 * include/time.h: Likewise.
6161 * include/unistd.h: Likewise.
6162 * include/utmp.h: Likewise.
6163 * include/wchar.h: Likewise.
6164 * include/wctype.h: Likewise.
6165 * inet/aliases.h: Likewise.
6166 * inet/arpa/inet.h: Likewise.
6167 * inet/netinet/ether.h: Likewise.
6168 * inet/netinet/in.h: Likewise.
6169 * intl/libintl.h: Likewise.
6170 * io/bits/fcntl2.h: Likewise.
6171 * io/fcntl.h: Likewise.
6172 * io/ftw.h: Likewise.
6173 * io/sys/poll.h: Likewise.
6174 * io/sys/stat.h: Likewise.
6175 * io/sys/statfs.h: Likewise.
6176 * io/sys/statvfs.h: Likewise.
6177 * io/utime.h: Likewise.
6178 * libio/bits/stdio.h: Likewise.
6179 * libio/bits/stdio2.h: Likewise.
6180 * libio/libio.h: Likewise.
6181 * libio/libioP.h: Likewise.
6182 * libio/stdio.h: Likewise.
6183 * locale/lc-ctype.c: Likewise.
6184 * locale/locale.h: Likewise.
6185 * login/utmp.h: Likewise.
6186 * malloc/arena.c: Likewise.
6187 * malloc/malloc.c: Likewise.
6188 * malloc/malloc.h: Likewise.
6189 * malloc/mcheck.c: Likewise.
6190 * malloc/mtrace.c: Likewise.
6191 * math/bits/mathcalls.h: Likewise.
6192 * math/fenv.h: Likewise.
6193 * math/math_private.h: Likewise.
6194 * misc/bits/error.h: Likewise.
6195 * misc/bits/syslog.h: Likewise.
6196 * misc/err.h: Likewise.
6197 * misc/error.h: Likewise.
6198 * misc/fstab.h: Likewise.
6199 * misc/mntent.h: Likewise.
6200 * misc/regexp.h: Likewise.
6201 * misc/search.h: Likewise.
6202 * misc/sgtty.h: Likewise.
6203 * misc/sys/mman.h: Likewise.
6204 * misc/sys/syslog.h: Likewise.
6205 * misc/sys/uio.h: Likewise.
6206 * misc/sys/xattr.h: Likewise.
6207 * misc/ttyent.h: Likewise.
6208 * nis/rpcsvc/ypclnt.h: Likewise.
6209 * nss/nss.h: Likewise.
6210 * posix/bits/unistd.h: Likewise.
6211 * posix/fnmatch.h: Likewise.
6212 * posix/glob.h: Likewise.
6213 * posix/sched.h: Likewise.
6214 * posix/spawn.h: Likewise.
6215 * posix/sys/wait.h: Likewise.
6216 * posix/unistd.h: Likewise.
6217 * posix/wordexp.h: Likewise.
6218 * pwd/pwd.h: Likewise.
6219 * resolv/netdb.h: Likewise.
6220 * resource/sys/resource.h: Likewise.
6221 * rt/aio.h: Likewise.
6222 * rt/bits/mqueue2.h: Likewise.
6223 * rt/mqueue.h: Likewise.
6224 * shadow/shadow.h: Likewise.
6225 * signal/signal.h: Likewise.
6226 * socket/send.c: Likewise.
6227 * socket/sendto.c: Likewise.
6228 * socket/sys/socket.h: Likewise.
6229 * stdio-common/printf.h: Likewise.
6230 * stdlib/bits/stdlib.h: Likewise.
6231 * stdlib/fmtmsg.h: Likewise.
6232 * stdlib/monetary.h: Likewise.
6233 * stdlib/stdlib.h: Likewise.
6234 * stdlib/ucontext.h: Likewise.
6235 * streams/stropts.h: Likewise.
6236 * string/argz.h: Likewise.
6237 * string/bits/string2.h: Likewise.
6238 * string/string.h: Likewise.
6239 * string/strings.h: Likewise.
6240 * sunrpc/rpc/auth.h: Likewise.
6241 * sunrpc/rpc/auth_des.h: Likewise.
6242 * sunrpc/rpc/clnt.h: Likewise.
6243 * sunrpc/rpc/netdb.h: Likewise.
6244 * sunrpc/rpc/pmap_clnt.h: Likewise.
6245 * sunrpc/rpc/xdr.h: Likewise.
6246 * sysdeps/generic/inttypes.h: Likewise.
6247 * sysdeps/generic/net/if.h: Likewise.
6248 * sysdeps/generic/sys/swap.h: Likewise.
6249 * sysdeps/gnu/net/if.h: Likewise.
6250 * sysdeps/gnu/utmpx.h: Likewise.
6251 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6252 * sysdeps/i386/i486/bits/string.h: Likewise.
6253 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6254 * sysdeps/s390/bits/string.h: Likewise.
6255 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6256 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6257 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6258 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6259 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6260 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6261 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6262 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6263 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6264 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6265 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6266 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6267 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6268 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6269 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6270 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6271 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6277 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6278 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6279 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6280 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6281 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6283 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6285 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6286 * sysvipc/sys/ipc.h: Likewise.
6287 * sysvipc/sys/msg.h: Likewise.
6288 * sysvipc/sys/sem.h: Likewise.
6289 * sysvipc/sys/shm.h: Likewise.
6290 * termios/termios.h: Likewise.
6291 * time/sys/time.h: Likewise.
6292 * time/time.h: Likewise.
6293 * wcsmbs/bits/wchar2.h: Likewise.
6294 * wcsmbs/uchar.h: Likewise.
6295 * wcsmbs/wchar.h: Likewise.
6296 * wctype/wctype.h: Likewise.
6297
0269750c
UD
6298 [BZ #13551]
6299 * Makeconfig: Remove all but ELF support including AIX support.
6300 * Makerules: Likewise.
6301 * config.h.in: Likewise.
6302 * config.make.in: Likewise.
6303 * configure: Likewise.
6304 * configure.in: Likewise.
6305 * csu/Makefile: Likewise.
6306 * csu/version.c: Likewise.
6307 * debug/Makefile: Likewise.
6308 * dlfcn/Makefile: Likewise.
6309 * elf/Makefile: Likewise.
6310 * extra-lib.mk: Likewise.
6311 * iconv/Makefile: Likewise.
6312 * include/libc-symbols.h: Likewise.
6313 * include/shlib-compat.h: Likewise.
6314 * resolv/Makefile: Likewise.
6315 * resolv/res_libc.c: Likewise.
6316 * rt/Makefile: Likewise.
6317 * sysdeps/i386/asm-syntax.h: Likewise.
6318 * sysdeps/i386/sysdep.h: Likewise.
6319 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6320 * sysdeps/mach/sysdep.h: Likewise.
6321 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6322 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6323 * sysdeps/s390/asm-syntax.h: Likewise.
6324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6325 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6326 * sysdeps/sh/sysdep.h: Likewise.
6327 * sysdeps/unix/sparc/sysdep.h: Likewise.
6328 * sysdeps/wordsize-32/divdi3.c: Likewise.
6329 * sysdeps/x86_64/sysdep.h: Likewise.
6330
00bbd29b
UD
6331 * argp/Versions: Remove _argp_unlock_xxx.
6332
6333 [BZ #13559]
6334 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6335 * abilist/libBrokenLocale.abilist: Likewise.
6336 * abilist/libanl.abilist: Likewise.
6337 * abilist/libc.abilist: Likewise.
6338 * abilist/libcrypt.abilist: Likewise.
6339 * abilist/libdl.abilist: Likewise.
6340 * abilist/libm.abilist: Likewise.
6341 * abilist/libnsl.abilist: Likewise.
6342 * abilist/libpthread.abilist: Likewise.
6343 * abilist/libresolv.abilist: Likewise.
6344 * abilist/librt.abilist: Likewise.
6345 * abilist/libthread_db.abilist: Likewise.
6346 * abilist/libutil.abilist: Likewise.
6347 * abilist/libnss_db.abilist: New file.
6348
6349 * scripts/abilist.awk: Add support for indirect functions.
6350
a2693a0e
UD
6351 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6352
3f05895f
UD
6353 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6354
ecb6fb48
UD
6355 * shlib-versions: Remove entries for ports architectures.
6356
664f8cb9
UD
6357 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6358 files in ports.
6359 * elf/stackguard-macros.h: Remove support for IA-64.
6360 * elf/tst-auditmod1.c: Likewise.
6361 * sysdeps/generic/ldsodefs.h: Likewise.
6362
7ae81d88
UD
6363 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6364 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6365 configure files.
6366
bdeba135
UD
6367 [BZ #13552]
6368 * configure.in: Remove --enable-omitfp support.
6369 * FAQ.in: Adjust.
6370 * config.make.in: Likewise.
6371 * Makeconfig: Likewise.
6372 * manual/install.texi: Likewise.
6373
d75a0a62
UD
6374 In case anyone cares, the IA-64 architecture could move to ports.
6375 * sysdeps/ia64/*: Removed.
6376 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6377 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6378
dcc9756b
UD
6379 [BZ #13555]
6380 * configure.in: Remove entries for unsupported architectures.
6381
d3761ebc 6382 [BZ #13533]
9954432e
UD
6383 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6384 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6385 routines.
6386 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6387 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6388 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6389 fall back to using wcrtomb.
6390 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6391 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6392 renaming.
6393 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6394 * wcsmbs/tst-c16c32-1.c: New file.
6395
6396 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6397 local variable.
6398
c3a87236
UD
6399 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6400
28926a1b
UD
6401 * elf/tst-unique3.cc: Add explicit declaration of gets.
6402 * elf/tst-unique3lib.cc: Likewise.
6403 * elf/tst-unique3lib2.cc: Likewise.
6404 * elf/tst-unique4.cc: Likewise.
6405
df78418a
UD
6406 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6407
8ecd6b2a
JM
64082012-01-06 Joseph Myers <joseph@codesourcery.com>
6409
6410 [BZ #13566]
6411 * assert/assert.h (static_assert): Don't define for C++.
6412 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6413 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6414
9f115170
UD
64152012-01-03 Ulrich Drepper <drepper@gmail.com>
6416
5e0d0300
UD
6417 * iconv/loop.c (single loop): Fix assertion in storing of
6418 remaining bytes.
6419
9f115170
UD
6420 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6421
81fb02b0
UD
64222012-01-01 Ulrich Drepper <drepper@gmail.com>
6423
6424 * posix/getconf.c: Update copyright year.
6425 * nss/getent.c: Likewise.
a316c1f6 6426 * nss/makedb.c: Likewise.
81fb02b0
UD
6427 * iconv/iconvconfig.c: Likewise.
6428 * iconv/iconv_prog.c: Likewise.
6429 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6430 * elf/pldd.c: Likewise.
6431 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6432 * catgets/gencat.c: Likewise.
6433 * csu/version.c: Likewise.
6434 * elf/ldd.bash.in: Likewise.
6435 * elf/sprof.c (print_version): Likewise.
6436 * locale/programs/locale.c: Likewise.
6437 * locale/programs/localedef.c: Likewise.
a316c1f6 6438 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6439 * nscd/nscd.c (print_version): Likewise.
6440 * debug/xtrace.sh: Likewise.
6441 * malloc/memusage.sh: Likewise.
6442 * malloc/mtrace.pl: Likewise.
6443 * debug/catchsegv.sh: Likewise.
6444
2ba92745
JJ
64452011-12-30 Jakub Jelinek <jakub@redhat.com>
6446
6447 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6448 pure attribute.
6449
dadebdae
UD
64502011-12-24 Ulrich Drepper <drepper@gmail.com>
6451
d3761ebc 6452 [BZ #13533]
db6af3eb
UD
6453 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6454 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6455 transformations.
6456 * iconv/gconv_int.h: Likewise.
6457 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6458 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6459 from libc for GLIBC_2.16.
6460 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6461 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6462 * wcsmbs/uchar.h: Really define mbstate_t.
6463 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6464 * wcsmbs/c16rtomb.c: New file.
6465 * wcsmbs/mbrtoc16.c: New file.
6466 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6467 for C/POSIX locale.
6468 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6469 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6470
dadebdae
UD
6471 * wcsmbs/wchar.h: Add missing __restrict.
6472
67371b56
UD
64732011-12-23 Ulrich Drepper <drepper@gmail.com>
6474
74033a25
UD
6475 [BZ #13532]
6476 * time/Makefile (routines): Add timespec_get.
6477 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6478 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6479 timespec for ISO C11.
6480 * time/timespec_get.c: New file.
6481 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6482 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6483
380d7e87
UD
6484 [BZ #13531]
6485 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6486 * stdlib/stdlib.h: Declare aligned_alloc.
6487 * Versions.def: Add GLIBC_2.16 for libc.
6488 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6489
4e9e7a35
UD
6490 [BZ 13527]
6491 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6492 ISO C11.
6493
380d7e87 6494 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6495 code.
6496
03a71829
UD
6497 [BZ #13528]
6498 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6499
839e283e
UD
6500 [BZ #13529]
6501 * assert/assert.h (static_assert): Define.
6502
ce5294e2 6503 * version.h: Update for 2.16 development version.
90fa7312 6504
8d44e150 6505 [BZ #13526]
d7809905
UD
6506 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6507 _ISOC11_SOURCE.
6508
c0da14cd
UD
6509 * version.h (RELEASE): Bump for 2.15 release.
6510 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6511
530a3249
MP
6512 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6513 Patch by Marek Polacek <mpolacek@redhat.com>.
6514
67371b56
UD
6515 * bits/byteswap.h: Protect long long constants with __extension__.
6516 * sysdeps/i386/bits/byteswap.h: Likewise.
6517 * sysdeps/ia64/bits/byteswap.h: Likewise.
6518 * sysdeps/s390/bits/byteswap.h: Likewise.
6519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6520
15db4de1
LD
65212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6522
6523 [BZ #13540]
bbe315ea
LD
6524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6525 destination buffer.
15db4de1
LD
6526 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6527
2b2596b1
MP
65282011-12-23 Marek Polacek <polacek@redhat.com>
6529
6530 * elf/dl-addr.c (determine_info): Add inline keyword.
6531 * elf/tst-auditmod4b.c (check_avx): Likewise.
6532 * elf/tst-auditmod6b.c (check_avx): Likewise.
6533 * elf/tst-auditmod6c.c (check_avx): Likewise.
6534 * elf/tst-auditmod7b.c (check_avx): Likewise.
6535
70c6c246
UD
65362011-12-23 Ulrich Drepper <drepper@gmail.com>
6537
6538 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6539 !__SSE_MATH__.
6540
c044cf14
LD
65412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6542
15db4de1 6543 [BZ #13540]
c044cf14
LD
6544 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6545 processing for last bytes.
6546
6b13d9d9
BH
65472011-08-06 Bruno Haible <bruno@clisp.org>
6548
d455f537
BH
6549 [BZ #13061]
6550 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6551 U+0385, not to U+1FEE.
6552
6b13d9d9
BH
6553 [BZ #13062]
6554 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6555 entry for U+00A5 U+0301.
6556
db910efd
UD
65572011-12-22 Ulrich Drepper <drepper@gmail.com>
6558
27deeafc
UD
6559 [BZ #13166]
6560 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6561 buffer for the output is too small.
6562
aed9d171
UD
6563 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6564 optimization.
6565
db910efd
UD
6566 [BZ #13185]
6567 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6568 SSE flags if possible.
6569
2bd779ae
LD
65702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6571
e7f9dac3 6572 [BZ #13540]
2bd779ae
LD
6573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6574 processing for last bytes.
6575
154bfc16
JM
65762011-12-22 Joseph Myers <joseph@codesourcery.com>
6577
6578 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6579 (syscall-list-default-options, syscall-list-default-condition)
6580 (syscall-list-includes): Define.
6581 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6582 list of ABIs and options and #if conditions for each ABI. Do not
6583 handle common syscalls between ABIs specially.
6584 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6585 Remove.
6586 (syscall-list-variants, syscall-list-32bit-options)
6587 (syscall-list-32bit-condition, syscall-list-64bit-options)
6588 (syscall-list-64bit-condition): Define.
6589 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6590 (syscall-list-variants, syscall-list-32bit-options)
6591 (syscall-list-32bit-condition, syscall-list-64bit-options)
6592 (syscall-list-64bit-condition): Define.
6593 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6594 Remove.
6595 (syscall-list-variants, syscall-list-32bit-options)
6596 (syscall-list-32bit-condition, syscall-list-64bit-options)
6597 (syscall-list-64bit-condition): Define.
6598 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6599 Remove.
6600 (syscall-list-variants, syscall-list-32bit-options)
6601 (syscall-list-32bit-condition, syscall-list-64bit-options)
6602 (syscall-list-64bit-condition): Define.
6603
21eaf3a5
UD
66042011-12-22 Ulrich Drepper <drepper@gmail.com>
6605
16c6f992
UD
6606 * locale/iso-639.def: Add brx entry.
6607
41043168
UD
6608 [BZ #13328]
6609 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6610 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6611
21eaf3a5
UD
6612 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6613 __feraiseexcept_renamed.
6614
e3a851a2
UD
66152011-12-21 Ulrich Drepper <drepper@gmail.com>
6616
4920765e
UD
6617 [BZ #13538]
6618 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6619 EPOLLET with unsigned values.
6620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6621 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6622
e3a851a2
UD
6623 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6624 to large cancellation.
6625 * math/s_cacoshf.c: Likewise.
6626 * math/s_cacoshl.c: Likewise.
6627
b27e24b8
RK
66282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6629
6630 [BZ #13305]
aebefeee 6631 [BZ #12786]
b27e24b8
RK
6632 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6633 * math/s_cacoshf.c: Likewise.
6634 * math/s_cacoshl.c: Likewise.
6635
ee190f67
UD
66362011-12-21 Ulrich Drepper <drepper@gmail.com>
6637
6638 [BZ #13439]
6639 * iconv/gconv.h: Define __GCONV_SWAP.
6640 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6641 * iconvdata/utf-16.c: Likewise.
6642 * iconvdata/utf-32.c: Likewise.
6643
707f25df
AS
66442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6645
6646 [BZ #13524]
6647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6648 numerator after shifting it by one limb.
6649
d2daaa1e
RÁE
66502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6651
6652 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6653 under [__USE_EXTERN_INLINES].
6654
a4647e72
UD
66552011-12-17 Ulrich Drepper <drepper@gmail.com>
6656
6657 [BZ #13446]
6658 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6659
f0b264f1
AZ
66602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6663 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6664 optimized code.
6665 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6666 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6667 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6668 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6669 for strncasecmp/strncasecmp_l compilation.
6670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6671 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6672
8ef4f244
MP
66732011-12-08 Marek Polacek <mpolacek@redhat.com>
6674
6675 [BZ #13484]
6676 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6677 of __asm__.
6678
97ac2654
UD
66792011-12-17 Ulrich Drepper <drepper@gmail.com>
6680
6681 [BZ #13506]
6682 * time/tzfile.c (__tzfile_read): Check values from file header.
6683
91d2a845
WS
66842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6685
6686 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6687 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6688 * powerpc/powerpc32/dl-start.S: Likewise.
6689 * powerpc/powerpc32/elf/start.S: Likewise.
6690 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6691 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6692 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6693 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6694 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6695 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6696 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6697 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6698 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6699 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6700 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6701 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6702 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6703 * powerpc/powerpc32/memset.S: Likewise.
6704 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6705 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6706 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6707 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6708 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6709 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6710 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6711 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6712 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6713 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6715 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6716 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6717
a1267ba1
AZ
67182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719
6720 * math/libm-test.inc: Added more nearbyint tests.
6721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6725
ad8ac1bd
RL
67262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6727
6728 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6729 FD_CLOEXEC.
6730
1d3e4b61
UD
67312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6732
6733 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6734 Add wcscpy-ssse3 wcscpy-c.
6735 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6736 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6737 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6738 * sysdeps/x86_64/wcschr.S: New file.
6739 * sysdeps/x86_64/wcsrchr.S: New file.
6740 * string/test-strcmp.c: Remove checking of wcscmp function for
6741 wrong alignments.
6742 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6743 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6744 wcsrchr-sse2 wcsrchr-c.
6745 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6746 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6747 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6748 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6749 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6750 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6751 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6752 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6753 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6754 * wcsmbc/wcschr.c (WCSCHR): New macro.
6755
5b330a2d
UD
67562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6757
6758 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6759 * wcsmbs/test-wcsrchr.c: New file.
6760 * string/test-strrchr.c: Add wcsrchr support.
6761 (WIDE): New macro.
6762 * wcsmbs/test-wcscpy.c: New file.
6763 * string/test-strcpy.c: Add wcscpy support.
6764 (WIDE): New macro.
26428b7c 6765
f039c043
UD
67662011-12-10 Ulrich Drepper <drepper@gmail.com>
6767
6768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6769 the inner loop.
6770
850fb039
AS
67712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6772
6773 [BZ #13472]
6774 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6775
4efbd5cb
UD
67762011-12-04 Ulrich Drepper <drepper@gmail.com>
6777
52ff5dd0 6778 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6779 Minor optimizations.
52ff5dd0 6780
4efbd5cb
UD
6781 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6782 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6783 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6784
8a426e12
UD
67852011-12-03 Ulrich Drepper <drepper@gmail.com>
6786
aff2453d
UD
6787 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6788 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6789 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6790 for gcc to avoid warnings.
6791 * inet/Makefile (tests): Add tst-checks.
6792 * inet/tst-checks.c: New file.
6793
6794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6795 warning.
6796
6797 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6798 __wmemcmp_sse2.
6799
6800 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6801 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6802
8a426e12
UD
6803 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6804
9bea3473
UD
68052011-12-02 Ulrich Drepper <drepper@gmail.com>
6806
3a965496
UD
6807 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6808 problem.
6809
9bea3473
UD
6810 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6811
f101631b
UD
68122011-11-29 Joseph Myers <joseph@codesourcery.com>
6813
6814 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6815 conditional on GCC version.
6816 (__arch_compare_and_exchange_val_8_acq)
6817 (__arch_compare_and_exchange_val_16_acq)
6818 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6819 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6820 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6821
a98275aa
UD
68222011-12-02 Joseph Myers <joseph@codesourcery.com>
6823
6824 * sysdeps/sh/backtrace.c: New file.
6825
d4cc29a2
AS
68262011-12-02 Andreas Schwab <schwab@redhat.com>
6827
6828 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6829 parenthesis.
6830
6257af2d
AS
68312011-12-01 Andreas Schwab <schwab@redhat.com>
6832
6833 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6834 falling back to utime.
6835
b5f44c1a
AS
68362011-11-30 Andreas Schwab <schwab@redhat.com>
6837
6838 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6839 expectations for float.
6840
f3a6cc0a
AS
68412011-11-29 Andreas Schwab <schwab@redhat.com>
6842
6843 * locale/weight.h (findidx): Add parameter len.
6844 * locale/weightwc.h (findidx): Likewise.
6845 * posix/fnmatch_loop.c (FCT): Adjust caller.
6846 * posix/regcomp.c (build_equiv_class): Likewise.
6847 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6848 * posix/regexec.c (check_node_accept_bytes): Likewise.
6849 * string/strcoll_l.c (STRCOLL): Likewise.
6850 * string/strxfrm_l.c (STRXFRM): Likewise.
6851
9d65ea3a
UD
68522011-11-17 Ulrich Drepper <drepper@gmail.com>
6853
6854 * Makefile.in: Remove CVSOPT handling.
6855 * configure.in: Remove use of AC_REVISION.
6856 * iconvdata/Makefile (distribute): No need to filter out CVS.
6857 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6858 handling.
6859
5583a086
AS
68602011-11-16 Andreas Schwab <schwab@redhat.com>
6861
6862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6863 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6864 [USE_AS_STRNCASECMP_L]: Likewise.
6865 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6866 NO_TLS_DIRECT_SEG_REFS.
6867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6868 Fix argument offsets for non-PIC.
6869 [USE_AS_STRNCASECMP_L]: Likewise.
6870 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6871 NO_TLS_DIRECT_SEG_REFS.
6872
d62a8200
UD
68732011-11-15 Ulrich Drepper <drepper@gmail.com>
6874
9d65ea3a 6875 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6876 O_CLOEXEC.
6877 * locale/loadlocale.c (_nl_load_locale): Likewise.
6878
09f93bd3
AS
68792011-11-15 Andreas Schwab <schwab@redhat.com>
6880
446514f9
AS
6881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6882 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6884 (SYSCALL_GETTIME): Set errno on error.
6885
09f93bd3
AS
6886 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6887 count references to noai6ai_cached.
6888
312be3f9
UD
68892011-11-15 Ulrich Drepper <drepper@gmail.com>
6890
6891 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6892
6893 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6894 FD_CLOEXEC for /proc/self/maps.
6895
6896 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6897 FD_CLOEXEC for /proc/meminfo.
6898
6899 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6900 gai.conf.
6901
6902 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6903 FD_CLOEXEC for given file.
6904
6905 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6906
6907 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6908 FD_CLOEXEC for /etc/hosts.
6909 (_gethtent): Likewise.
6910
6911 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6912
6913 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6914 cancellation and set FD_CLOEXEC for /etc/netgroup.
6915
6916 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6917 reading /etc/publickey.
6918
6919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6920 allow cancellation when reading /etc/group.
6921
6922 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6923 cancellation.
6924 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6925
6926 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6927 when using data file.
6928
6929 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6930
6931 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6932 (write_nis_obj): Use "c" and "e" in fopen.
6933
6934 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6935
6936 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6937
6938 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6939
6940 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6941
6942 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6943 locale.alias.
6944
6945 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6946
6947 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6948
6949 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6950
6951 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6952 file parsing and set FD_CLOEXEC.
6953
82af0fa8
UD
69542011-11-14 Ulrich Drepper <drepper@gmail.com>
6955
6956 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6957
a5fb313c
AS
69582011-11-14 Andreas Schwab <schwab@redhat.com>
6959
6960 * malloc/arena.c (arena_get2): Don't call reused_arena when
6961 _int_new_arena failed.
6962
6abf3465
UD
69632011-11-14 Ulrich Drepper <drepper@gmail.com>
6964
6965 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6966 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6967 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6968 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6971 to compile strcasecmp and strncasecmp.
6972 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6973 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6974
6975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6976
76e3966e
UD
69772011-11-13 Ulrich Drepper <drepper@gmail.com>
6978
6979 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6980 locale-defines.sym to gen-as-const-headers.
6981 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6982 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6984 to compile strcasecmp and strncasecmp.
6985 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6986 strcasecmp_l and strncasecmp_l.
6987 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6988 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6989 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6990 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6991 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6992 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6993 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6994 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6995 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6996 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6997 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6998
ab26144e
UD
69992011-11-12 Ulrich Drepper <drepper@gmail.com>
7000
7edb22ef
UD
7001 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7002 result of SYSDEP_GETTIME_CPU to retval.
7003 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7004 parameter list to macro. Remove trailing semicolon. Adjust users.
7005
9694fc44
UD
7006 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7007 variable.
7008
8ad89ef8
UD
7009 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7010 mantissa words.
7011 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7012
0c822ef9
UD
7013 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7014 from unused variable.
7015
874e0564
UD
7016 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7017 DWARF definitions.
7018 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7019 for assembling.
7020
3a2edc79
UD
7021 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7022 over namespaces.
7023
f3c2577f
UD
7024 * sunrpc/rpc_prot.c (rejected): Fix case value.
7025
294ce126
UD
7026 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7027 unsigned long long int to avoid warnings in shift.
7028
5e2b63c6
UD
7029 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7030 of use of trans.
7031 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7032 variable tmp.
7033
e7f4b08e
UD
7034 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7035 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7036 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7037
ab26144e
UD
7038 * nis/nis_table.c (nis_list): Use variable of correct type for
7039 result of __follow_path call.
7040
8a6d5255
AZ
70412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042
7043 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7044 of math functions ceil, trunc, floor, round, and sqrt, when
7045 avaliable on the platform.
7046 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7047 name clash.
7048 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7049 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7050 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7051
aaddc98c
MP
70522011-10-30 Marek Polacek <mpolacek@redhat.com>
7053
7054 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7055 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7056
95b7042b
RM
70572011-11-11 Roland McGrath <roland@hack.frob.com>
7058
7059 * include/unistd.h: Fix __readlink return type.
7060 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7061
57769839
UD
70622011-11-11 Ulrich Drepper <drepper@gmail.com>
7063
7064 * stdlib/ucontext.h: Undo last change for makecontext.
7065
edc5984d
AS
70662011-11-11 Andreas Schwab <schwab@redhat.com>
7067
98591e58
AS
7068 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7069
edc5984d
AS
7070 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7071 * setjmp/setjmp.h: Mark functions as non-leaf.
7072 * setjmp/bits/setjmp2.h: Likewise.
7073 * stdlib/ucontext.h: Likewise.
7074
77cdc054
AS
70752011-11-10 Andreas Schwab <schwab@redhat.com>
7076
7077 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7078 (reused_arena): Don't check arena limit.
7079 (arena_get2): Atomically check arena limit.
7080
fe72eebd
UD
70812011-11-08 Ulrich Drepper <drepper@gmail.com>
7082
5f078c32
UD
7083 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7084 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7085
fe72eebd
UD
7086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7087 instructions.
7088
ae1bc2fa
AS
70892011-11-07 Andreas Schwab <schwab@redhat.com>
7090
7583a88d
AS
7091 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7092 handler when locking.
7093
ae1bc2fa
AS
7094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7095 Fix size of allocated buffer.
7096
10fb0bfa
AS
70972011-11-04 Andreas Schwab <schwab@redhat.com>
7098
998832a4
AS
7099 [BZ #10103]
7100 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7101 declarations for long double functions.
7102 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7103
10fb0bfa
AS
7104 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7105
3d7ba52b
AS
71062011-11-03 Andreas Schwab <schwab@redhat.com>
7107
a9ae54a1
AS
7108 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7109 installed.
7110
3d7ba52b
AS
7111 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7112 is disabled.
7113
bc8db248
ST
71142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7115
7116 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7117
45b96dd6
AS
71182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7119
647776f6
AS
7120 * include/alloca.h (stackinfo_alloca_round): Define.
7121 (extend_alloca): Use it.
7122 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7123 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7124 here.
7125
d91a8b93
AS
7126 * scripts/check-local-headers.sh: Ignore libaudit.h.
7127
45b96dd6
AS
7128 * nscd/Makefile (extra-objs): Make recursively expanded.
7129
432d41ce
UD
71302011-11-01 Ulrich Drepper <drepper@gmail.com>
7131
34372fc6
UD
7132 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7134
fadb59f8
UD
7135 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7136 * posix/tst-rfc3484-2.c: Likewise.
7137 * posix/tst-rfc3484-3.c: Likewise.
7138
78239589
UD
7139 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7140 process_vm_writev.
7141 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7142 process_vm_writev.
7143 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7144 process_vm_writev from libc using GLIBC_2.15 version.
7145
432d41ce
UD
7146 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7147
02f9c6cf
PP
71482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7149
7150 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7151 stack usage.
7152
3a2c0242
UD
71532011-10-31 Ulrich Drepper <drepper@gmail.com>
7154
f4ec4833
UD
7155 [BZ #13367]
7156 * nss/getent.c (initgroups_keys): Show error message in case no group
7157 names are given.
7158
3a2c0242
UD
7159 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7160 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7161 __bump_nl_timestamp.
7162 * nscd/connections (nscd_init): When host database is served open
7163 netlink socket and request notification about configuration changes.
7164 (main_loop_poll): Track netlink file descriptor and bump timestamp
7165 in case data becomes available.
7166 (main_loop_epoll): Likewise.
7167 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7168 (database_pers_head): Add extra_data fileds.
7169 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7170 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7171 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7172 Adjust caller.
7173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7174 in6ai data, call __free_in6ai.
7175 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7176 Add -DHAVE_NETLINK.
7177 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7178 interface information. Reuse previous data if netlink timestamp
7179 is not changed.
7180 (__bump_nl_timestamp): New function.
7181 (__free_in6ai): New function.
7182
636064eb
UD
71832011-10-30 Ulrich Drepper <drepper@gmail.com>
7184
7185 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7186 close_not_cancel_no_status here.
7187 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7188
9beb2334
UD
71892011-10-29 Ulrich Drepper <drepper@gmail.com>
7190
6ef76f3b
UD
7191 [BZ #13276]
7192 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7193 return value.
7194
0ffc4f3e 7195 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7196 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7197 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7198
cb95113e
UD
71992011-07-03 Andreas Jaeger <aj@suse.de>
7200
7201 [BZ #10709]
7202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7203 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7204 * math/libm-test.inc (sin_test): Add test case.
7205
a1b560ff
UD
72062011-10-29 Ulrich Drepper <drepper@gmail.com>
7207
c9aaface
UD
7208 [BZ #13337]
7209 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7210 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7211
d272e7f1
UD
7212 * elf/chroot_canon.c (chroot_canon): Cleanups.
7213
1bc33071
UD
7214 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7215
1760874d
TJ
7216 [BZ #13335]
7217 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7218 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7219
51d91b18
UD
7220 * string/test-strchr.c: Make usable for strchrnul testing.
7221 * string/test-strchrnul.c: New file.
7222 * string/Makefile (strop-tests): Add strchrnul.
7223
a1b560ff 7224 * po/it.po: Update from translation team.
b611fb81 7225 * po/es.po: Likewise.
a1b560ff 7226
a5b81e1f
UD
72272011-10-28 Ulrich Drepper <drepper@gmail.com>
7228
fd52bc6d
UD
7229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7230 the three constants needed as parameters. Drop the others.
7231 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7232 __m128i_strloadu_tolower.
52e4b9eb
UD
7233 Create and initialize variable zero and use it in all the places
7234 where _mm_setzero_si128 was used.
fd52bc6d 7235
a5b81e1f
UD
7236 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7237 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7238 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7240 anymore.
7241 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7242 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7243 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7244 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7245 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7246 __mpranred, __mptan.
7247 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7248 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7249 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7250 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7251 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7252 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7254 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7255 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7256
b4343346
AS
72572011-10-28 Andreas Schwab <schwab@redhat.com>
7258
0c92d8a8
AS
7259 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7260 redefine if SHARED.
7261 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7262
b4343346
AS
7263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7264 wide char related routines to wcsmbs subdir.
7265
3871f58f
AS
72662011-10-27 Andreas Schwab <schwab@redhat.com>
7267
7268 [BZ #13344]
7269 * misc/sys/cdefs.h (__THROWNL): Define.
7270 * posix/unistd.h: Use __THREADNL instead of __THREAD
7271 for memory synchronization functions.
7272
94d44d9f
RM
72732011-10-26 Roland McGrath <roland@hack.frob.com>
7274
21b64b15 7275 [BZ #13349]
94d44d9f
RM
7276 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7277 doesn't exist.
7278 * manual/stdio.texi (Obstack Streams): Node removed.
7279
f6ce9294
AS
72802011-10-26 Andreas Schwab <schwab@redhat.com>
7281
80479147
AS
7282 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7284 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7285
f6ce9294
AS
7286 * math/math_private.h (math_force_eval): Allow non-addressable
7287 arguments.
7288 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7289
618280a1
UD
72902011-10-25 Ulrich Drepper <drepper@gmail.com>
7291
e0016b11
UD
7292 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7293 file is not needed.
7294
7295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7302 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7303 Add AVX variants.
7304 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7305 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7306 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7307 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7308 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7309 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7310 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7311 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7312 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7313 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7314 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7315 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7316 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7317 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7318 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7319 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7320 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7321 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7322 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7323
7324 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7325 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7326
618280a1
UD
7327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7328 place. Use VEX encoding when compiling for AVX.
7329
37822576
AS
73302011-10-25 Andreas Schwab <schwab@redhat.com>
7331
1f1e1947
AS
7332 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7333 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7334
37822576
AS
7335 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7336
31ea014d
UD
73372011-10-25 Ulrich Drepper <drepper@gmail.com>
7338
d7826aa1 7339 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7340 useless if() expression.
d7826aa1
UD
7341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7351 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7352 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7353 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7354 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7355 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7360
31ea014d
UD
7361 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7362
16437fec
AS
73632011-10-25 Andreas Schwab <schwab@redhat.com>
7364
7365 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7366 condition.
7367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7368
31d3cc00
UD
73692011-10-25 Ulrich Drepper <drepper@gmail.com>
7370
7371 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7372 .text section. Avoid duplicate constants.
7373 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7383 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7385 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7388 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7390 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7397 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7398 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7399 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7400 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7402 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7403 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7404 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7405 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7406 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7407 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7408 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7409 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7410 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7411 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7412 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7414 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7418
58985aa9
UD
74192011-10-24 Ulrich Drepper <drepper@gmail.com>
7420
202c9deb
UD
7421 * sysdeps/x86_64/dla.h: Move to ...
7422 * sysdeps/x86_64/fpu/dla.h: ...here.
7423 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7424 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7425
af968f62
UD
7426 * config.make.in: Add have-mfma4 entry.
7427 * configure.in: Substitute libc_cv_cc_fma4.
7428 * math/Makefile (dbl-only-routines): Add sincostab.
7429 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7430 Use __sincostab not sincos.
7431 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7432 name is a macro.
7433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7437 using __copysign.
7438 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7439 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7440 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7441 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7442 and __inv.
7443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7444 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7445 __copysign.
7446 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7447 define aliases when function name is a macro.
7448 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7449 sysdeps/ieee754/dbl-64/sincos.tbl.
7450 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7451 fma4-enabled routines.
7452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7453 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7454 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7455 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7457 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7459 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7460 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7461 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7462 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7464 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7465 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7473 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7476 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7477 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7479 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7481 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7482
58985aa9
UD
7483 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7484 rename.
7485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7493
a201fbcf
AS
74942011-10-24 Andreas Schwab <schwab@redhat.com>
7495
7496 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7497
fc2ee42a
LD
74982011-10-23 Ulrich Drepper <drepper@gmail.com>
7499
bb3129bd
UD
7500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7501
0275fff8
UD
7502 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7503 prediction.
7504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7505
2fa2ae85
UD
7506 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7507 Remove unused variable magic_bits.
7508 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7509
fc2ee42a
LD
7510 * string/strnlen.c: Define and use STRNLEN macro.
7511 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7512 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7514 * wcsmbs/wcslen.c: Define and use WCSLEN.
7515 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7516 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7517 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7518 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7519 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7520 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7521 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7522
ce7dd29f
LD
75232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7524
7525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7526 strnlen-sse2-no-bsf.
7527 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7529 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7530 Add strnlen support.
7531 (USE_AS_STRNLEN): New macro.
7532 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7533 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7534 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7535 * sysdeps/x86_64/wcslen.S: New file.
7536
979c70a3
MZ
75372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7538
7539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7540 XMM-moves are used for copying on small sizes.
7541
2d09f82f
LD
75422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7543
7544 * wcsmbs/Makefile (strop-tests): Add wcschr.
7545 * wcsmbs/test-wcschr.c: New file.
7546 * string/test-strchr.c: Update.
7547 Add wcschr support.
7548 (WIDE): New macro.
7549
619fccca
LD
75502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7551
2d09f82f 7552 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7553 * wcsmbs/test-wcslen.c: New file.
7554 * string/test-strlen.c: Update.
7555 Add wcslen support.
7556 (WIDE): New macro.
7557
09f699ea
UD
75582011-10-23 Ulrich Drepper <drepper@gmail.com>
7559
7560 * po/it.po: Update from translation team.
7561
95584d3b
LD
75622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7563
7564 * sysdeps/x86_64/wcscmp.S: Update.
7565 Fix wrong comparison semantics.
7566 wcscmp shall use signed comparison not unsigned.
7567 Don't use substraction to avoid overflow bug.
7568 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7569 * wcsmbc/wcscmp.c: Likewise.
7570 * string/test-strcmp.c: Likewise.
7571 Add new tests to check cases with negative values.
7572
c8b3296b
UD
75732011-10-23 Ulrich Drepper <drepper@gmail.com>
7574
7575 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7576 * sysdeps/x86_64/dla.h: ...here. New file.
7577 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7586
246ad57a
AS
75872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7588
7589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7590 __ynl_finite aliases.
7591
a1a87169
UD
75922011-10-22 Ulrich Drepper <drepper@gmail.com>
7593
0d355eb7
UD
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7595
a1a87169
UD
7596 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7597 define DLA_FMA.
7598 [DLA_FMA] (EMULV): Use DLA_FMA.
7599 [DLA_FMA] (MUL12): Use EMULV.
7600 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7601 that are not needed.
7602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7609
ee2aafe0
AS
76102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7611
7612 * math/s_nan.c: Undef __nan.
7613 * math/s_nanf.c: Undef __nanf.
7614 * math/s_nanl.c: Undef __nanl.
7615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7616 "math_private.h".
7617
bc62c2fb
UD
76182011-10-22 Ulrich Drepper <drepper@gmail.com>
7619
77425c63
UD
7620 * math/s_catan.c: Add branch predictions.
7621 * math/s_catanf.c: Likewise.
7622 * math/s_catanh.c: Likewise.
7623 * math/s_catanhf.c: Likewise.
7624 * math/s_catanhl.c: Likewise.
7625 * math/s_catanl.c: Likewise.
7626 * math/s_cexp.c: Likewise.
7627 * math/s_cexpf.c: Likewise.
7628 * math/s_cexpl.c: Likewise.
7629 * math/s_clog.c: Likewise.
7630 * math/s_clog10.c: Likewise.
7631 * math/s_clog10f.c: Likewise.
7632 * math/s_clog10l.c: Likewise.
7633 * math/s_clogf.c: Likewise.
7634 * math/s_clogl.c: Likewise.
7635 * math/s_csqrt.c: Likewise.
7636 * math/s_csqrtf.c: Likewise.
7637 * math/s_csqrtl.c: Likewise.
7638 * math/s_ctanf.c: Likewise.
7639 * math/s_ctanh.c: Likewise.
7640 * math/s_ctanhf.c: Likewise.
7641 * math/s_ctanhl.c: Likewise.
7642 * math/s_ctanl.c: Likewise.
7643
bc62c2fb
UD
7644 * math/math_private.h: Define __nan, __nanf, __nanl.
7645 * math/s_cacosh.c: Include <math_private.h>.
7646 * math/s_cacoshl.c: Likewise.
7647 * math/s_casinh.c: Likewise.
7648 * math/s_casinhf.c: Likewise.
7649 * math/s_casinhl.c: Likewise.
7650 * math/s_ccos.c: Rely entire on ccosh.
7651 * math/s_ccosf.c: Rely entire on ccoshf.
7652 * math/s_ccosl.c: Rely entirely on ccoshl.
7653 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7654 Remove tests for FE_INVALID.
7655 * math/s_ccoshf.c: Likewise.
7656 * math/s_ccoshl.c: Likewise.
7657 * math/s_csin.c: Likewise.
7658 * math/s_csinf.c: Likewise.
7659 * math/s_csinh.c Likewise.
7660 * math/s_csinhf.c: Likewise.
7661 * math/s_csinhl.c: Likewise.
7662 * math/s_csinl.c: Likewise.
7663 * math/s_ctan.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7665 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7667
8ec250a4
UD
76682011-10-21 Ulrich Drepper <drepper@gmail.com>
7669
c196fed8
UD
7670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7671 compilation problems.
7672
8ec250a4
UD
7673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7674 __builtin_expect.
7675
8d4f46c6
UD
76762011-10-20 Ulrich Drepper <drepper@gmail.com>
7677
ed72b654
UD
7678 * sysdeps/i386/configure.in: Test for -mfma4 option.
7679 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7680 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7681 COMMON_CPUID_INDEX_80000001.
7682 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7683 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7684 use it if FMA3 is not supported.
7685 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7686
8d4f46c6
UD
7687 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7689
d45c60c2
AS
76902011-10-20 Andreas Schwab <schwab@redhat.com>
7691
7692 [BZ #12892]
7693 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7694 it would create a cycle with a link time dependency.
7695
d9a4d2ab
UD
76962011-10-19 Ulrich Drepper <drepper@gmail.com>
7697
855d1560
UD
7698 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7699 instruction.
7700 * string/Makefile (strop-tests): Add rawmemchr.
7701 * string/test-rawmemchr.c: New file.
7702
d9a4d2ab
UD
7703 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7705 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7706 when compiling str{,n}casecmp and when AVX is available. Hook up
7707 new optimized code in initializers.
7708
8f3b1ffe
AS
77092011-10-19 Andreas Schwab <schwab@redhat.com>
7710
7711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7712 __feraiseexcept instead of feraiseexcept.
7713
d38f1dba
UD
77142011-10-18 Ulrich Drepper <drepper@gmail.com>
7715
d9a8d0ab
UD
7716 * math/math_private.h: Define defaults for libc_fetestexcept and
7717 libc_feupdateenv.
7718 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7719 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7720 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7721 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7722 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7724 libc_fetestexcept and libc_feupdateenv.
7725
4855e3dd
UD
7726 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7727 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7728 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7729 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7730 libc_feholdexcept_setround.
7731
581d30e3
UD
7732 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7733 Add s_nearbyint-c and s_nearbyintf-c.
7734 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7735 nearbyintf inlines.
7736 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7737 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7739 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7740
d38f1dba
UD
7741 * math/math_private.h: Define defaults for libc_fegetround,
7742 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7743 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7744 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7746 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7747 standard functions.
7748 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7749 Remove comments and hacks for old compiler versions.
7750 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7751 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7752 libc_feholdexceptl.
7753
caa6c9d8
AS
77542011-10-18 Andreas Schwab <schwab@redhat.com>
7755
7756 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7757 (__feraiseexcept_renamed): Add __NTH.
7758 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7759 namespace violations.
7760
97c066e6
UD
77612011-10-17 Ulrich Drepper <drepper@gmail.com>
7762
99ce7b04
UD
7763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7764
1004d182
UD
7765 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7766
228a984d
UD
7767 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7768 recently added interfaces.
7769 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7770
c8553a6a
UD
7771 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7772 about macro parameter expansion.
7773
ed22dcf6
UD
7774 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7775 __NO_MATH_INLINES is defined. Cleanups.
7776
7777 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7778 and __floorf is target has SSE4.1.
7779 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7780 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7781 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7783
b171c137
UD
7784 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7785 name.
7786 (floorf): Likewise.
7787
97c066e6
UD
7788 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7789
629f62ef
AS
77902011-10-17 Andreas Schwab <schwab@redhat.com>
7791
49a43d80
AS
7792 * misc/sys/cdefs.h: Fix last change.
7793
629f62ef
AS
7794 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7795 database lookup.
7796
e453f6cd
UD
77972011-10-16 Ulrich Drepper <drepper@gmail.com>
7798
aa78043a
UD
7799 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7800
ad0f5cad
UD
7801 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7804 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7806 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7807 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7808 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7809 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7810 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7811 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7812 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7813 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7814 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7815 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7816 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7817 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7818 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7819 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7820 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7821 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7822 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7823
7824 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7825 ceil, ceilf, floor, floorf.
7826
7827 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7828 Perform IRELATIVE relocations last.
7829
e453f6cd
UD
7830 * elf/do-rel.h: Add another parameter nrelative, replacing the
7831 local variable with the same name. Change name of the function
7832 to end in Rel or Rela (uppercase).
7833 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7834 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7835 elf_dynamic_do_##reloc function.
7836
fd5bdc09
UD
78372011-10-15 Ulrich Drepper <drepper@gmail.com>
7838
79b195b5
UD
7839 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7840 is sufficient, at least on modern CPUs.
7841
d4a28569
UD
7842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7843
b61099b5
UD
7844 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7846
bcf01e6d
UD
7847 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7848 __expl_finite.
7849 * math/bits/math-finite.h: Add entries for exp.
7850 * math/e_expl.c: Add __*_finite alias.
7851 * sysdeps/i386/fpu/e_exp.S: Likewise.
7852 * sysdeps/i386/fpu/e_expf.S: Likewise.
7853 * sysdeps/i386/fpu/e_expl.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7855 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7859 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7860 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7861
ba1a0d59
UD
7862 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7863 is sufficient, at least on modern CPUs.
7864
fd5bdc09
UD
7865 * ctype/ctype-info.c (__ctype_init): Define.
7866 * include/ctype.h (__ctype_init): Declare.
7867 (__ctype_b_loc): The variable is always initialized.
7868 (__ctype_toupper_loc): Likewise.
7869 (__ctype_tolower_loc): Likewise.
7870 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7871 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7872
7872cfb0
AS
78732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7874
b468825a
AS
7875 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7876
7872cfb0
AS
7877 * configure.in: Also look in $cxxmachine/include for C++ system
7878 headers.
7879
be13f7bf
LD
78802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7881
7882 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7883 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7884 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7885 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7887 (USE_AS_WMEMCMP): New macro.
7888 Fixing indents.
7889 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7890 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7891 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7892 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7894 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7895 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7896 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7897 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7898 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7899 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7900 (USE_AS_WMEMCMP): New macro.
7901 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7902 * sysdeps/string/test-memcmp.c: Update.
7903 Fix simple_wmemcmp.
7904 Add new tests.
7905 * wcsmbs/wmemcmp.c: Update.
7906 (WMEMCMP): New macro.
7907 Fix overflow bug.
7908
556a2007
AJ
79092011-10-12 Andreas Jaeger <aj@suse.de>
7910
7911 [BZ #13268]
7912 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7913
538faaa7
UD
79142011-10-15 Ulrich Drepper <drepper@gmail.com>
7915
ab6737ff
UD
7916 * libio/iofwide.c (do_length): Avoid warning.
7917
538faaa7
UD
7918 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7919
396a21b1
UD
79202011-10-14 Ulrich Drepper <drepper@gmail.com>
7921
cdf2901f
UD
7922 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7923
38ad40ce
UD
7924 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7925 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7926 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7927 * sysdeps/i386/i686/fpu/e_log.S: New file.
7928 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7929 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7930
396a21b1
UD
7931 * ctype/ctype.h: Add support for inlined isXXX functions when
7932 compiling C++ code.
7933
6b1f68c9
AS
79342011-10-14 Andreas Schwab <schwab@redhat.com>
7935
349290c0
AS
7936 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7937
6b1f68c9
AS
7938 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7939
f2282d42
RM
79402011-10-13 Roland McGrath <roland@hack.frob.com>
7941
7942 [BZ #13291]
7943 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7944
5298ffa8
AS
79452011-10-13 Andreas Schwab <schwab@redhat.com>
7946
714fad23
AS
7947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7948 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7949 feraiseexcept.
7950
81dcc7fb
AS
7951 * sysdeps/x86_64/memrchr.S: Check for zero size.
7952
5298ffa8
AS
7953 * string/stratcliff.c: Add memrchr tests.
7954
951fbcec
LD
79552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7956
7957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7958 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7959 rawmemchr-sse2 rawmemchr-sse2-bsf.
7960 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7961 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7962 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7963 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7964 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7965 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7966 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7967 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7968 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7969 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7970 * string/memrchr.c (MEMRCHR): New macro.
7971
0ac5ae23
UD
79722011-10-12 Ulrich Drepper <drepper@gmail.com>
7973
7974 Add integration with gcc's -ffinite-math-only and optimize wrapper
7975 functions in libm.
7976 * Versions.def: Define GLIBC_2.15 version for libm.
7977 * math/Makefile (headers): Add bits/math-finite.h.
7978 * math/bits/math-finite.h: New file.
7979 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7980 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7981 * math/e_acoshl.c: Add __*_finite alias.
7982 * math/e_acosl.c: Likewise.
7983 * math/e_asinl.c: Likewise.
7984 * math/e_atan2l.c: Likewise.
7985 * math/e_atanhl.c: Likewise.
7986 * math/e_coshl.c: Likewise.
7987 * math/e_exp10.c: Likewise.
7988 * math/e_exp10f.c: Likewise.
7989 * math/e_exp10l.c: Likewise.
7990 * math/e_exp2l.c: Likewise.
7991 * math/e_fmodl.c: Likewise.
7992 * math/e_gammal_r.c: Likewise.
7993 * math/e_hypotl.c: Likewise.
7994 * math/e_j0l.c: Likewise.
7995 * math/e_j1l.c: Likewise.
7996 * math/e_jnl.c: Likewise.
7997 * math/e_lgammal_r.c: Likewise.
7998 * math/e_log10l.c: Likewise.
7999 * math/e_log2l.c: Likewise.
8000 * math/e_logl.c: Likewise.
8001 * math/e_powl.c: Likewise.
8002 * math/e_sinhl.c: Likewise.
8003 * math/e_sqrtl.c: Likewise.
8004 * math/e_scalb.c: Completely rewritten and optimized.
8005 * math/e_scalbf.c: Likewise.
8006 * math/e_scalbl.c: Likewise.
8007 * math/w_acos.c: Likewise.
8008 * math/w_acosf.c: Likewise.
8009 * math/w_acosl.c: Likewise.
8010 * math/w_acosh.c: Likewise.
8011 * math/w_acoshf.c: Likewise.
8012 * math/w_acoshl.c: Likewise.
8013 * math/w_asin.c: Likewise.
8014 * math/w_asinf.c: Likewise.
8015 * math/w_asinl.c: Likewise.
8016 * math/w_atan2.c: Likewise.
8017 * math/w_atan2f.c: Likewise.
8018 * math/w_atan2l.c: Likewise.
8019 * math/w_atanh.c: Likewise.
8020 * math/w_atanhf.c: Likewise.
8021 * math/w_atanhl.c: Likewise.
8022 * math/w_exp10.c: Likewise.
8023 * math/w_exp10f.c: Likewise.
8024 * math/w_exp10l.c: Likewise.
8025 * math/w_fmod.c: Likewise.
8026 * math/w_fmodf.c: Likewise.
8027 * math/w_fmodl.c: Likewise.
8028 * math/w_j0.c: Likewise.
8029 * math/w_j0f.c: Likewise.
8030 * math/w_j0l.c: Likewise.
8031 * math/w_j1.c: Likewise.
8032 * math/w_j1f.c: Likewise.
8033 * math/w_j1l.c: Likewise.
8034 * math/w_jn.c: Likewise.
8035 * math/w_jnf.c: Likewise.
8036 * math/w_log.c: Likewise.
8037 * math/w_logf.c: Likewise.
8038 * math/w_logl.c: Likewise.
8039 * math/w_log10.c: Likewise.
8040 * math/w_log10f.c: Likewise.
8041 * math/w_log10l.c: Likewise.
8042 * math/w_log2.c: Likewise.
8043 * math/w_log2f.c: Likewise.
8044 * math/w_log2l.c: Likewise.
8045 * math/w_pow.c: Likewise.
8046 * math/w_powf.c: Likewise.
8047 * math/w_powl.c: Likewise.
8048 * math/w_remainder.c: Likewise.
8049 * math/w_remainderf.c: Likewise.
8050 * math/w_remainderl.c: Likewise.
8051 * math/w_scalb.c: Likewise.
8052 * math/w_scalbf.c: Likewise.
8053 * math/w_scalbl.c: Likewise.
8054 * math/w_sqrt.c: Likewise.
8055 * math/w_sqrtf.c: Likewise.
8056 * math/w_sqrtl.c: Likewise.
8057 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8058 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8059 used.
8060 * math/math_private.h: Declare __kernel_standard_f.
8061 * math/w_cosh.c: Remove cruft and optimize a bit.
8062 * math/w_coshf.c: Likewise.
8063 * math/w_coshl.c: Likewise.
8064 * math/w_exp2.c: Likewise.
8065 * math/w_exp2f.c: Likewise.
8066 * math/w_exp2l.c: Likewise.
8067 * math/w_hypot.c: Likewise.
8068 * math/w_hypotf.c: Likewise.
8069 * math/w_hypotl.c: Likewise.
8070 * math/w_lgamma.c: Likewise.
8071 * math/w_lgamma_r.c: Likewise.
8072 * math/w_lgammaf.c: Likewise.
8073 * math/w_lgammaf_r.c: Likewise.
8074 * math/w_lgammal.c: Likewise.
8075 * math/w_lgammal_r.c: Likewise.
8076 * math/w_sinh.c: Likewise.
8077 * math/w_sinhf.c: Likewise.
8078 * math/w_sinhl.c: Likewise.
8079 * math/w_tgamma.c: Likewise.
8080 * math/w_tgammaf.c: Likewise.
8081 * math/w_tgammal.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8084 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8085 Minor optimizations. Pretty printing. Remove cruft.
8086 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8088 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8089 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8090 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8091 * sysdeps/i386/fpu/e_asin.S: Likewise.
8092 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8093 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8094 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8095 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8098 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8099 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8100 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8101 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8102 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8103 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8104 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8105 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8106 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8107 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8108 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8109 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8110 * sysdeps/i386/fpu/e_log.S: Likewise.
8111 * sysdeps/i386/fpu/e_log10.S: Likewise.
8112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8113 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8114 * sysdeps/i386/fpu/e_log2.S: Likewise.
8115 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8116 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8117 * sysdeps/i386/fpu/e_logf.S: Likewise.
8118 * sysdeps/i386/fpu/e_logl.S: Likewise.
8119 * sysdeps/i386/fpu/e_pow.S: Likewise.
8120 * sysdeps/i386/fpu/e_powf.S: Likewise.
8121 * sysdeps/i386/fpu/e_powl.S: Likewise.
8122 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8123 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8124 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8125 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8128 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8129 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8130 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8152 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8153 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8155 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8156 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8158 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8160 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8162 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8163 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8165 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8166 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8167 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8168 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8169 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8170 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8171 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8172 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8211 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8222 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8223 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8224 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8225 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8226 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8227 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8228 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8229 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8230 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8231 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8232 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8233 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8234 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8237 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8239 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8241 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8242 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8243 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8244 (__isnanf): Likewise.
8245 (__isinf_ns): Likewise.
8246 (__isinf_nsf): Likewise.
8247 (__finite): Likewise.
8248 (__finitef): Likewise.
8249 (__ieee754_sqrt): Define as macro.
8250 (__ieee754_sqrtf): Define as macro.
8251 (__ieee754_sqrtl): Define as macro.
8252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8253 inlined copy.
8254 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8255 __FINITE_MATH_ONLY__ consistent.
8256 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8257
12cc2fcd
AS
82582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8259
a843a204
AS
8260 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8261 of rawmemchr.
8262
12cc2fcd
AS
8263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8264
c853acd5
UD
82652011-10-09 Ulrich Drepper <drepper@gmail.com>
8266
8267 * po/ja.po: Update from translation team.
8268
c658d255
RM
82692011-10-08 Roland McGrath <roland@hack.frob.com>
8270
110946e4
RM
8271 * locale/programs/locarchive.c (prepare_address_space): New function.
8272 (create_archive, enlarge_archive, open_archive): Use it.
8273
50604220
RM
8274 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8275 inside [SHARED], where it is used.
8276
c658d255
RM
8277 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8278
8279 * nss/getent.c (netgroup_keys): Remove unused variable.
8280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8281
6a621eb7
UD
82822011-10-08 Ulrich Drepper <drepper@gmail.com>
8283
7edb55ce
UD
8284 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8285 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8290 * math/Makefile (libm-calls): Add s_isinf_ns.
8291 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8292 * math/multc3.c: Likewise.
8293 * math/s_casin.c: Likewise.
8294 * math/s_casinf.c: Likewise.
8295 * math/s_casinl.c: Likewise.
8296 * math/s_ccos.c: Likewise.
8297 * math/s_ccosf.c: Likewise.
8298 * math/s_ccosl.c: Likewise.
8299 * math/s_ctan.c: Likewise.
8300 * math/s_ctanf.c: Likewise.
8301 * math/s_ctanh.c: Likewise.
8302 * math/s_ctanhf.c: Likewise.
8303 * math/s_ctanhl.c: Likewise.
8304 * math/s_ctanl.c: Likewise.
8305 * math/w_fmod.c: Likewise.
8306 * math/w_fmodf.c: Likewise.
8307 * math/w_fmodl.c: Likewise.
8308 * math/w_remainder.c: Likewise.
8309 * math/w_remainderf.c: Likewise.
8310 * math/w_remainderl.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8312 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8313 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8315 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8316 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8317 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8318 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8319
187da0ae
UD
8320 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8321 of the number.
8322 * stdio-common/printf_fphex.c: Likewise.
8323 * stdio-common/printf_size.c: Likewise.
8324
9277c064
UD
8325 * math/e_exp10.c: Include math_private.h using <...> not "...".
8326 * math/e_exp10f.c: Likewise.
8327 * math/e_exp10l.c: Likewise.
8328 * math/e_exp2l.c: Likewise.
8329 * math/e_j0l.c: Likewise.
8330 * math/e_j1l.c: Likewise.
8331 * math/e_jnl.c: Likewise.
8332 * math/e_lgammal_r.c: Likewise.
8333 * math/e_rem_pio2l.c: Likewise.
8334 * math/e_scalb.c: Likewise.
8335 * math/e_scalbf.c: Likewise.
8336 * math/e_scalbl.c: Likewise.
8337 * math/k_cosl.c: Likewise.
8338 * math/k_sinl.c: Likewise.
8339 * math/k_tanl.c: Likewise.
8340 * math/s_cacoshf.c: Likewise.
8341 * math/s_catan.c: Likewise.
8342 * math/s_catanf.c: Likewise.
8343 * math/s_catanh.c: Likewise.
8344 * math/s_catanhf.c: Likewise.
8345 * math/s_catanhl.c: Likewise.
8346 * math/s_catanl.c: Likewise.
8347 * math/s_ccosh.c: Likewise.
8348 * math/s_ccoshf.c: Likewise.
8349 * math/s_ccoshl.c: Likewise.
8350 * math/s_cexp.c: Likewise.
8351 * math/s_cexpf.c: Likewise.
8352 * math/s_cexpl.c: Likewise.
8353 * math/s_clog.c: Likewise.
8354 * math/s_clog10.c: Likewise.
8355 * math/s_clog10f.c: Likewise.
8356 * math/s_clog10l.c: Likewise.
8357 * math/s_clogf.c: Likewise.
8358 * math/s_clogl.c: Likewise.
8359 * math/s_csin.c: Likewise.
8360 * math/s_csinf.c: Likewise.
8361 * math/s_csinh.c: Likewise.
8362 * math/s_csinhf.c: Likewise.
8363 * math/s_csinhl.c: Likewise.
8364 * math/s_csinl.c: Likewise.
8365 * math/s_csqrt.c: Likewise.
8366 * math/s_csqrtf.c: Likewise.
8367 * math/s_csqrtl.c: Likewise.
8368 * math/s_ctan.c: Likewise.
8369 * math/s_ctanf.c: Likewise.
8370 * math/s_ctanh.c: Likewise.
8371 * math/s_ctanhf.c: Likewise.
8372 * math/s_ctanhl.c: Likewise.
8373 * math/s_ctanl.c: Likewise.
8374 * math/s_ldexp.c: Likewise.
8375 * math/s_ldexpf.c: Likewise.
8376 * math/s_ldexpl.c: Likewise.
8377 * math/s_significand.c: Likewise.
8378 * math/s_significandf.c: Likewise.
8379 * math/s_significandl.c: Likewise.
8380 * math/w_acos.c: Likewise.
8381 * math/w_acosf.c: Likewise.
8382 * math/w_acosh.c: Likewise.
8383 * math/w_acoshf.c: Likewise.
8384 * math/w_acoshl.c: Likewise.
8385 * math/w_acosl.c: Likewise.
8386 * math/w_asin.c: Likewise.
8387 * math/w_asinf.c: Likewise.
8388 * math/w_asinl.c: Likewise.
8389 * math/w_atan2.c: Likewise.
8390 * math/w_atan2f.c: Likewise.
8391 * math/w_atan2l.c: Likewise.
8392 * math/w_atanh.c: Likewise.
8393 * math/w_atanhf.c: Likewise.
8394 * math/w_atanhl.c: Likewise.
8395 * math/w_cosh.c: Likewise.
8396 * math/w_coshf.c: Likewise.
8397 * math/w_coshl.c: Likewise.
8398 * math/w_dremf.c: Likewise.
8399 * math/w_exp10.c: Likewise.
8400 * math/w_exp10f.c: Likewise.
8401 * math/w_exp10l.c: Likewise.
8402 * math/w_exp2.c: Likewise.
8403 * math/w_exp2f.c: Likewise.
8404 * math/w_fmod.c: Likewise.
8405 * math/w_fmodf.c: Likewise.
8406 * math/w_fmodl.c: Likewise.
8407 * math/w_hypot.c: Likewise.
8408 * math/w_hypotf.c: Likewise.
8409 * math/w_hypotl.c: Likewise.
8410 * math/w_j0.c: Likewise.
8411 * math/w_j0f.c: Likewise.
8412 * math/w_j0l.c: Likewise.
8413 * math/w_j1.c: Likewise.
8414 * math/w_j1f.c: Likewise.
8415 * math/w_j1l.c: Likewise.
8416 * math/w_jn.c: Likewise.
8417 * math/w_jnf.c: Likewise.
8418 * math/w_jnl.c: Likewise.
8419 * math/w_lgamma.c: Likewise.
8420 * math/w_lgamma_r.c: Likewise.
8421 * math/w_lgammaf.c: Likewise.
8422 * math/w_lgammaf_r.c: Likewise.
8423 * math/w_lgammal.c: Likewise.
8424 * math/w_lgammal_r.c: Likewise.
8425 * math/w_log.c: Likewise.
8426 * math/w_log10.c: Likewise.
8427 * math/w_log10f.c: Likewise.
8428 * math/w_log10l.c: Likewise.
8429 * math/w_log2.c: Likewise.
8430 * math/w_log2f.c: Likewise.
8431 * math/w_log2l.c: Likewise.
8432 * math/w_logf.c: Likewise.
8433 * math/w_logl.c: Likewise.
8434 * math/w_pow.c: Likewise.
8435 * math/w_powf.c: Likewise.
8436 * math/w_powl.c: Likewise.
8437 * math/w_remainder.c: Likewise.
8438 * math/w_remainderf.c: Likewise.
8439 * math/w_remainderl.c: Likewise.
8440 * math/w_scalb.c: Likewise.
8441 * math/w_scalbf.c: Likewise.
8442 * math/w_scalbl.c: Likewise.
8443 * math/w_sinh.c: Likewise.
8444 * math/w_sinhf.c: Likewise.
8445 * math/w_sinhl.c: Likewise.
8446 * math/w_sqrt.c: Likewise.
8447 * math/w_sqrtf.c: Likewise.
8448 * math/w_sqrtl.c: Likewise.
8449 * math/w_tgamma.c: Likewise.
8450 * math/w_tgammaf.c: Likewise.
8451 * math/w_tgammal.c: Likewise.
8452
6a621eb7
UD
8453 * po/ja.po: Update from translation team.
8454
bf582445
AJ
84552011-09-29 Andreas Jaeger <aj@suse.de>
8456
f9efbf3a
AJ
8457 [BZ #13179]
8458 * sunrpc/netname.c (netname2host): Fix logic.
8459
bf582445
AJ
8460 [BZ #6779]
8461 [BZ #6783]
8462 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8463 correctly.
8464 * math/w_remainder.c (__remainder): Likewise.
8465 * math/w_remainderf.c (__remainderf): Likewise.
8466 * math/libm-test.inc (remainder_test): Add test cases.
8467
48693bea
AK
84682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8469
8470 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8471 sdiv_qrnnd.
8472
42622229
LD
84732011-10-07 Ulrich Drepper <drepper@gmail.com>
8474
8475 * string/test-memcmp.c: Avoid unncessary #defines.
8476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8477
093ecf92
LD
84782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8479
8480 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8481 Use new sse2 version for core i3 - i7 as it's faster
8482 than sse42 version.
8483 (bit_Prefer_PMINUB_for_stringop): New.
8484 * sysdeps/x86_64/rawmemchr.S: Update.
8485 Replace with faster SSE2 version.
8486 * sysdeps/x86_64/memrchr.S: New file.
8487 * sysdeps/x86_64/memchr.S: Update.
8488 Replace with faster SSE2 version.
8489
fde56e5c
MP
84902011-09-12 Marek Polacek <mpolacek@redhat.com>
8491
8492 * elf/dl-load.c (lose): Add cast to avoid warning.
8493
21fd49a9
UD
84942011-10-07 Ulrich Drepper <drepper@gmail.com>
8495
5a06e643
UD
8496 * po/ca.po: Update from translation team.
8497
684ae515
UD
8498 * inet/getnetgrent_r.c: Hook up nscd.
8499 * nscd/Makefile (routines): Add nscd_netgroup.
8500 (nscd-modules): Add netgroupcache.
8501 (CFLAGS-netgroupcache.c): Define.
8502 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8503 (cache_search): Add const to second parameter.
8504 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8505 INNETGR.
8506 (dbs): Add netgrdb entry.
8507 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8508 (verify_persistent_db): Handle netgrdb.
8509 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8510 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8511 GETFDNETGR.
8512 (netgroup_response_header): Define.
8513 (innetgroup_response_header): Define.
8514 (datahead): Add netgroup_response_header and innetgroup_response_header
8515 elements.
8516 * nscd/nscd.conf: Add entries for netgroup cache.
8517 * nscd/nscd.h (dbtype): Add netgrdb.
8518 (_PATH_NSCD_NETGROUP_DB): Define.
8519 (netgroup_iov_disabled): Declare.
8520 (xmalloc, xcalloc, xrealloc): Move declarations here.
8521 (cache_search): Adjust prototype.
8522 Add netgroup-related prototypes.
8523 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8524 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8525 (__nscd_innetgr): Declare.
8526 * nscd/selinux.c (perms): Use access_vector_t as element type and
8527 add netgroup-related initializers.
8528 * nscd/netgroupcache.c: New file.
8529 * nscd/nscd_netgroup.c: New file.
8530 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8531 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8532 For four parameters use innetgr.
8533 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8534 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8535 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8536 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8537
21fd49a9
UD
8538 * nscd/connections.c (register_traced_file): Don't register file
8539 for disabled databases.
8540
054c0457
UD
85412011-10-06 Ulrich Drepper <drepper@gmail.com>
8542
32b63198
UD
8543 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8544
054c0457
UD
8545 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8546 from tree and freeing node.
8547
64031225
JO
85482011-09-25 Jiri Olsa <jolsa@redhat.com>
8549
8550 * nss/nsswitch.c (__nss_database_lookup): Handle
8551 nss_parse_service_list out of memory case.
8552
0490345c
JO
85532011-09-15 Jiri Olsa <jolsa@redhat.com>
8554
8555 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8556 out of memory case.
8557
3a62d00d
AS
85582011-10-04 Andreas Schwab <schwab@redhat.com>
8559
8560 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8561 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8562 pass it down.
8563 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8564 elf_machine_rela, elf_machine_lazy_rel.
8565 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8566 (ELF_DYNAMIC_DO_REL): Likewise.
8567 (ELF_DYNAMIC_DO_RELA): Likewise.
8568 (ELF_DYNAMIC_RELOCATE): Likewise.
8569 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8570 to ELF_DYNAMIC_DO_REL.
8571 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8572 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8573 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8574 elf_machine_rela.
8575 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8576 skip_ifunc, don't call ifunc function if non-zero.
8577 (elf_machine_rela): Likewise.
8578 (elf_machine_lazy_rel): Likewise.
8579 (elf_machine_lazy_rela): Likewise.
8580 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8581 (elf_machine_lazy_rel): Likewise.
8582 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8583 Likewise.
8584 (elf_machine_lazy_rel): Likewise.
8585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8586 Likewise.
8587 (elf_machine_lazy_rel): Likewise.
8588 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8589 (elf_machine_lazy_rel): Likewise.
8590 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8591 (elf_machine_lazy_rel): Likewise.
8592 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8593 (elf_machine_lazy_rel): Likewise.
8594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8595 (elf_machine_lazy_rel): Likewise.
8596 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8597 (elf_machine_lazy_rel): Likewise.
8598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8599 (elf_machine_lazy_rel): Likewise.
8600
68577918
UD
86012011-09-28 Ulrich Drepper <drepper@gmail.com>
8602
8603 * nss/nss_files/files-init.c (_nss_files_init): Use static
8604 initialization for all the *_traced_file variables.
8605
68822d74
AS
86062011-09-28 Andreas Schwab <schwab@redhat.com>
8607
8608 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8609
2056100b
RM
86102011-09-27 Roland McGrath <roland@hack.frob.com>
8611
8612 [BZ #13226]
8613 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8614
32c76b63
AS
86152011-09-27 Andreas Schwab <schwab@redhat.com>
8616
8617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8618 Reread the line before reparsing it.
8619
bf972c9d
AS
86202011-09-26 Andreas Schwab <schwab@redhat.com>
8621
8622 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8623
e057a1b5
JM
86242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8625 Maxim Kuvyrkov <maxim@codesourcery.com>
8626 Joseph Myers <joseph@codesourcery.com>
8627
8628 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8629 if needed for __stack_chk_guard.
8630
bc7e1c36
RM
86312011-09-19 Roland McGrath <roland@hack.frob.com>
8632
ecb1482f
RM
8633 * sysdeps/posix/spawni.c (script_execute): Always define it.
8634 It will be optimized away if unused.
8635 (maybe_script_execute): New function.
8636 (__spawni): Call it.
8637
bc7e1c36
RM
8638 * Makerules: Don't include tls.make.
8639 (config-tls): Always set to thread.
8640 * tls.make.c: File removed.
8641
1c3b002b
MF
86422011-09-19 Mike Frysinger <vapier@gentoo.org>
8643
8644 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8645 * config.make.in (CPPFLAGS-config): New substituted variable.
8646
2840865d
UD
86472011-09-15 Ulrich Drepper <drepper@gmail.com>
8648
88738eb6
UD
8649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8650
cbf645a6 8651 [BZ #13192]
2840865d
UD
8652 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8653 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8654
b402e91a
RM
86552011-09-15 Roland McGrath <roland@hack.frob.com>
8656
8657 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8658 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8660 (CALL_FAIL): Likewise.
8661 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8662 (CALL_FAIL): Macro removed.
8663 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8664
4c1a1f71
UD
86652011-09-15 Ulrich Drepper <drepper@gmail.com>
8666
8667 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8668 for __FINITE_MATH_ONLY__ == 1.
8669
edc121be
AS
86702011-09-15 Andreas Schwab <schwab@redhat.com>
8671
8672 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8673 __ieee754_sqrt instead of sqrt.
8674 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8675 __ieee754_sqrtf instead of sqrtf.
8676 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8677 __floorf instead of floorf.
8678 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8679 __floorf, __truncf instead of floorf, truncf.
8680
cd205654
UD
86812011-09-14 Ulrich Drepper <drepper@gmail.com>
8682
ee4d0315
UD
8683 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8684
cd205654
UD
8685 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8686 __extern_always_inline.
8687 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8688 32-bit.
8689
48b67d71
AS
86902011-09-14 Andreas Schwab <schwab@redhat.com>
8691
8692 * elf/rtld.c (dl_main): Also relocate in dependency order when
8693 doing symbol dependency testing.
8694
1ae12c75
AS
86952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8696
8697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8698 Always define `refsym'.
8699
995a80df
AS
87002011-09-13 Andreas Schwab <schwab@redhat.com>
8701
e529793b
AS
8702 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8703 (__FD_ELT): Renamed from __FDELT.
8704 * misc/bits/select2.h (__FD_ELT): Likewise.
8705 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8706 __FD_MASK instead of __FDELT, __FDMASK.
8707 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8708 Likewise.
8709 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8710 Likewise.
8711
52d4fef8
AS
8712 * elf/Makefile (gen-ldd): Fix pattern.
8713
995a80df
AS
8714 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8715 (init_tls): Likewise.
8716
8682f8b0
UD
87172011-09-12 Ulrich Drepper <drepper@gmail.com>
8718
8719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8720
de82006d
AS
87212011-09-12 Andreas Schwab <schwab@redhat.com>
8722
a7c8e6a1
AS
8723 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8724 `struct cmsghdr *' instead of `void *'.
8725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8726 Likewise.
8727
0f31fe77
AS
87282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8729
8730 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8731 if non-absolute.
8732 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8733 ldd_rewrite_script.
0f31fe77 8734
32b4c839
UD
87352011-09-11 Ulrich Drepper <drepper@gmail.com>
8736
83cd1420
UD
8737 * configure.in: Remove --with-tls option.
8738 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8739 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8740 out in case it is missing.
8741 * sysdeps/ia64/elf/configure.in: Likewise.
8742 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8743 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8744 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8745 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8746 * sysdeps/sh/elf/configure.in: Likewise.
8747 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8748 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8749 * sysdeps/x86_64/elf/configure.in: Likewise.
8750 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8751 * sysdeps/mach/hurd/tls.h: Likewise.
8752
633f745d
UD
8753 [BZ #13067]
8754 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8755
f318beb8
UD
8756 [BZ #13090]
8757 * configure.in: Fix use of AC_INIT.
8758
32b4c839
UD
8759 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8760
3ce1f295
UD
87612011-09-10 Ulrich Drepper <drepper@gmail.com>
8762
bb016596
UD
8763 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8764 __set_errno.
8e58439c
UD
8765 * malloc/hooks.c: Likewise.
8766
aebae053 8767 [BZ #11929]
02d46fc4
UD
8768 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8769 variables statically.
8770 (narenas): Initialize.
8771 (list_lock): Initialize.
bb016596
UD
8772 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8773 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8774 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8775 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8776 Add initializers to main_arena and mp_.
8777 (malloc_state): Remove pagesize member. Change all users to use
8778 GLRO(dl_pagesize).
8779
8780 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8781 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8782 is always initialized.
8783
22a89187
UD
8784 * malloc/malloc.c: Removed unused configurations and dead code.
8785 * malloc/arena.c: Likewise.
8786 * malloc/hooks.c: Likewise.
02d46fc4 8787 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8788
d063d164
UD
8789 * include/tls.h: Removed. USE___THREAD must always be defined.
8790 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8791 * elf/dl-libc.c: Likewise.
8792 * elf/dl-tsd.c: Likewise.
8793 * include/errno.h: Likewise.
8794 * include/netdb.h: Likewise.
8795 * include/resolv.h: Likewise.
8796 * inet/herrno-loc.c: Likewise.
8797 * inet/herrno.c: Likewise.
8798 * malloc/arena.c: Likewise.
8799 * malloc/hooks.c: Likewise.
8800 * malloc/malloc.c: Likewise.
8801 * resolv/res-state.c: Likewise.
8802 * resolv/res_libc.c: Likewise.
8803 * sysdeps/i386/dl-machine.h: Likewise.
8804 * sysdeps/ia64/dl-machine.h: Likewise.
8805 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8806 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8807 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8808 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8809 * sysdeps/sh/dl-machine.h: Likewise.
8810 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8811 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8812 * sysdeps/unix/i386/sysdep.S: Likewise.
8813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8814 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8819 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8823 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8824 * sysdeps/x86_64/dl-machine.h: Likewise.
8825 * tls.make.c: Likewise.
8826
3ce1f295
UD
8827 * configure.in: Remove --with-__thread option. Make tests for
8828 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8829 tls_model attribute fail if no support is available. Remove
8830 USE_IN_LIBIO.
8831 * Makeconfig: Adjust for dropped configure option. All features are
8832 now mandatory.
8833 * Makerules: Likewise.
8834 * Versions.def: Likewise.
8835 * argp/argp-fmtstream.c: Likewise.
8836 * argp/argp-fmtstream.h: Likewise.
8837 * argp/argp-help.c: Likewise.
8838 * assert/assert.c: Likewise.
8839 * config.h.in: Likewise.
8840 * config.make.in: Likewise.
8841 * configure: Likewise.
8842 * configure.in: Likewise.
8843 * csu/Versions: Likewise.
8844 * csu/init.c: Likewise.
8845 * elf/tst-audit2.c: Likewise.
8846 * elf/tst-tls10.c: Likewise.
8847 * elf/tst-tls10.h: Likewise.
8848 * elf/tst-tls11.c: Likewise.
8849 * elf/tst-tls12.c: Likewise.
8850 * elf/tst-tls14.c: Likewise.
8851 * elf/tst-tlsmod11.c: Likewise.
8852 * elf/tst-tlsmod12.c: Likewise.
8853 * elf/tst-tlsmod13.c: Likewise.
8854 * elf/tst-tlsmod13a.c: Likewise.
8855 * elf/tst-tlsmod14a.c: Likewise.
8856 * elf/tst-tlsmod15b.c: Likewise.
8857 * elf/tst-tlsmod16a.c: Likewise.
8858 * elf/tst-tlsmod16b.c: Likewise.
8859 * elf/tst-tlsmod7.c: Likewise.
8860 * elf/tst-tlsmod8.c: Likewise.
8861 * elf/tst-tlsmod9.c: Likewise.
8862 * gmon/gmon.c: Likewise.
8863 * grp/fgetgrent_r.c: Likewise.
8864 * grp/putgrent.c: Likewise.
8865 * hurd/fopenport.c: Likewise.
8866 * include/libc-symbols.h: Likewise.
8867 * include/tls.h: Likewise.
8868 * intl/gettextP.h: Likewise.
8869 * intl/loadinfo.h: Likewise.
8870 * locale/global-locale.c: Likewise.
8871 * locale/localeinfo.h: Likewise.
8872 * mach/devstream.c: Likewise.
8873 * malloc/arena.c: Likewise.
8874 * malloc/set-freeres.c: Likewise.
8875 * misc/err.c: Likewise.
8876 * misc/getttyent.c: Likewise.
8877 * misc/mntent_r.c: Likewise.
8878 * posix/getopt.c: Likewise.
8879 * posix/wordexp.c: Likewise.
8880 * pwd/fgetpwent_r.c: Likewise.
8881 * resolv/Versions: Likewise.
8882 * resolv/res_hconf.c: Likewise.
8883 * shadow/fgetspent_r.c: Likewise.
8884 * shadow/putspent.c: Likewise.
8885 * stdio-common/printf_fphex.c: Likewise.
8886 * stdio-common/tmpfile.c: Likewise.
8887 * stdlib/abort.c: Likewise.
8888 * stdlib/fmtmsg.c: Likewise.
8889 * sunrpc/auth_unix.c: Likewise.
8890 * sunrpc/clnt_perr.c: Likewise.
8891 * sunrpc/clnt_tcp.c: Likewise.
8892 * sunrpc/clnt_udp.c: Likewise.
8893 * sunrpc/clnt_unix.c: Likewise.
8894 * sunrpc/openchild.c: Likewise.
8895 * sunrpc/svc_simple.c: Likewise.
8896 * sunrpc/svc_tcp.c: Likewise.
8897 * sunrpc/svc_udp.c: Likewise.
8898 * sunrpc/svc_unix.c: Likewise.
8899 * sunrpc/xdr.c: Likewise.
8900 * sunrpc/xdr_array.c: Likewise.
8901 * sunrpc/xdr_rec.c: Likewise.
8902 * sunrpc/xdr_ref.c: Likewise.
8903 * sunrpc/xdr_stdio.c: Likewise.
8904
1248c1c4
PB
89052011-09-09 Ulrich Drepper <drepper@gmail.com>
8906
8907 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8908
89092011-07-03 Andreas Jaeger <aj@suse.de>
8910
8911 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8912 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8913 regenerate with gen-libm-tests.pl.
8914
89152010-05-12 Petr Baudis <pasky@suse.cz>
8916
8917 [BZ #11589]
8918 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8919 around j0() zero points by switching to j1().
8920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8924
f22e1074
UD
89252011-09-09 Ulrich Drepper <drepper@gmail.com>
8926
f19009c1
UD
8927 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8928 instead of 0.
8929 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8930 instead of 0. .
8931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8932 Patch in part by Pavel Roskin <proski@gnu.org>.
8933
3f8cc204
UD
8934 [BZ #13138]
8935 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8936 realloc.
8937 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8938 Free memory block if necessary.
8939
f22e1074
UD
8940 [BZ #12847]
8941 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8942 be NULL. Don't lock in this case.
8943
0a2349f9
RM
89442011-09-09 Roland McGrath <roland@hack.frob.com>
8945
8946 * elf/elf.h (ELFOSABI_GNU): New macro.
8947 (ELFOSABI_LINUX): Define to that.
8948
f3cdd467
DZ
89492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8950
8951 * string/strncat.c (strncat): Undef the symbol in case it has been
8952 defined in bits/string.h.
8953
74718d13
UD
89542011-09-09 Ulrich Drepper <drepper@gmail.com>
8955
633e9e0f
UD
8956 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8957
0a2349f9 8958 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8959 link map.
8960
f9924780
AJ
89612011-08-17 Andreas Jaeger <aj@suse.de>
8962
8963 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8964
7f5517aa
PP
89652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8966 Ian Lance Taylor <iant@google.com>
8967
8968 * math/libm-test.inc (lround_test): New testcase.
8969 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8970
762011fe
UD
89712011-09-08 Ulrich Drepper <drepper@gmail.com>
8972
92963737
UD
8973 * Makefile: Remove support for automatic cvs check-ins.
8974 * Makerules: Likewise.
8975 * config.make.in: Likewise.
8976 * configure.in: Likewise.
8977 * intl/Makefile: Likewise.
8978 * locale/Makefile: Likewise.
8979 * po/Makefile: Likewise.
8980 * posix/Makefile: Likewise.
8981 * sysdeps/gnu/Makefile: Likewise.
8982 * sysdeps/mach/hurd/Makefile: Likewise.
8983 * sysdeps/sparc/sparc32/Makefile: Likewise.
8984
b0727fd8
JS
8985 [BZ #13118]
8986 * posix/Makefile (bug-regex32-ENV): Define.
8987 Patch by John Stanley <jpsinthemix@verizon.net>.
8988
a0f33f99
UD
8989 * misc/Makefile (headers): Add bits/select2.h.
8990 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8991 * misc/bits/select2.h: New file.
8992 * include/bits/select2.h: New file.
8993 * debug/Makefile (routines): Add fdelt_chk.
8994 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8995 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8996 FD_ISSET.
8997 * debug/fdelt_chk.c: New file.
8998
762011fe
UD
8999 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9000 * wcsmbs/test-wmemcmp.c: Likewise.
9001 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9002 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9003
90042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9005
9006 * string/Makefile (strop-tests): Add memcmp.
9007 * string/test-wmemcmp.c: New file.
9008 * string/test-memcmp.c: Add wmemcmp support.
9009
7f513ec8
RM
90102011-09-08 Roland McGrath <roland@hack.frob.com>
9011
0442afb4
RM
9012 [BZ #13153]
9013 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9014 2011-07-19 change.
9015
7f513ec8
RM
9016 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9017 garbage value in a __mach_port_mod_refs call in the cases of the
9018 task-self and thread-self ports.
9019
a12b2239
ST
90202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9021
9022 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9023
610f9ab4
AS
90242011-09-08 Andreas Schwab <schwab@redhat.com>
9025
7f513ec8 9026 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9027
48882a1a
LD
90282011-09-07 Ulrich Drepper <drepper@gmail.com>
9029
b49865be
UD
9030 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9031
fdc86bc9
UD
9032 * elf/dl-libc.c (dlerror_run): Pass back error code from
9033 dl_catch_error.
9034
c966526a
UD
9035 [BZ #13123]
9036 * elf/dl-load.c (lose): Free l_origin if it is valid.
9037
48882a1a
LD
9038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9039 names.
9040 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9041 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9043 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9044 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9045 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9046
77a2a8b4
AZ
90472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048
9049 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9050 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9051 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9053 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9054 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9055 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9056 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9057 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9058 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9059
24f579d8
AM
90602011-08-15 Alan Modra <amodra@gmail.com>
9061
9062 [BZ #13092]
9063 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9064 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9065 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9066 ppc_mcount to static-only-routines.
9067 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9068 __mcount_internal.
9069 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9070 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9071
3d4837df
UD
90722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9073
9074 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9075 for finite and infinity parameters.
9076
22700377
WS
90772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9078
9079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9080 and add nop instructions for throughput optimization.
9081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9082
5025581e
WS
90832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9084
9085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9086 aligned copy for power7 with vector-scalar instructions.
9087 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9088
08a300c9
L
90892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9092 AVX check.
9093
59178ef9
AS
90942011-09-07 Andreas Schwab <schwab@redhat.com>
9095
9096 [BZ #13144]
9097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9098 last change.
9099
e38ba7ab
UD
91002011-09-07 Ulrich Drepper <drepper@gmail.com>
9101
9102 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9103 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9104 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9105 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9106 clock_gettime.
9107
d53a73ac
UD
91082011-09-06 Ulrich Drepper <drepper@gmail.com>
9109
fc8bffcc
UD
9110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9111 Forgot to demangle the pointer.
9112
ceaa0c5d
UD
9113 * sysdeps/i386/sysdep.h: Define atom_text_section.
9114 * sysdeps/x86_64/sysdep.h: Likewise.
9115 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9116 section with atom_text_section.
9117 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9118 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9119 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9122
a77d3c17
UD
9123 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9124 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9125 already be defined. Change to take two parameters and don't assign
9126 result to variable. Adjust all users.
9127 Define INTERNAL_GETTIME if not already defined.
9128 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9129 call.
9130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9131 HAVE_CLOCK_GETTIME_VSYSCALL.
9132 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9133
d53a73ac
UD
9134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9135 gettimeofday vsyscall, just use time.
9136
a8f84144
AS
91372011-09-06 Andreas Schwab <schwab@redhat.com>
9138
9139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9140 <errno.h>.
9141
ef606249
UD
91422011-09-06 Ulrich Drepper <drepper@gmail.com>
9143
9144 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9145 syscall on x86-64.
9146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9147 syscall.
9148 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9150 syscall if possible.
9151
6585cb60
UD
91522011-09-05 Ulrich Drepper <drepper@gmail.com>
9153
9154 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9155 e_ident. Don't pass to find_mapsXX.
9156 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9157
a5f524e4
LD
91582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9159
9160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9161 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9162 * sysdeps/x86_64/multiarch/strchr.S: Update.
9163 Check bit_slow_BSF bit.
9164 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9166 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9167
554881ef
UD
91682011-09-05 Ulrich Drepper <drepper@gmail.com>
9169
d96de963
UD
9170 [BZ #13134]
9171 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9172 before glibc 2.15.
9173 (tryshell): Define.
9174 (__spawni): Change last parameter to be flag. Test
9175 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9176 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9177 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9178 * posix/spawni.c: Likewise.
9179 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9180 * posix/spawnp.c: Likewise. Change normal version to use
9181 SPAWN_XFLAGS_USE_PATH.
9182 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9183 SPAWN_XFLAGS_TRY_SHELL.
9184
d48e5868
UD
9185 [BZ #13150]
9186 * posix/glob.h: Remove gcc 1.x support.
9187
554881ef
UD
9188 [BZ #13068]
9189 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9190
693fb948
LD
91912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9192
9193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9194 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9195 strrchr-sse2-bsf
9196 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9197 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9198 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9200 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9201 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9202
1b48c537
UD
92032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9204
49d42c37
UD
9205 * sysdeps/x86_64/wcscmp.S: New file.
9206
1b48c537
UD
9207 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9208 wcscmp-c wcscmp-sse2
9209 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9210 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9211 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9212 * wcsmbs/wcscmp.c: Allow renaming.
9213
15c95c5d
DM
92142011-09-05 David S. Miller <davem@davemloft.net>
9215
9216 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9217 stack slot, rather than the struct return pointer slot.
9218 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9219 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9222
2f0ad8f3
UD
92232011-09-05 Ulrich Drepper <drepper@gmail.com>
9224
d88ae418
UD
9225 * po/ja.po: Update from translation team.
9226
2f0ad8f3
UD
9227 [BZ #13144]
9228 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9229 kernel in 64-bit binaries.
9230
5f4318d1
DM
92312011-09-01 David S. Miller <davem@davemloft.net>
9232
9233 * elf/elf.h (HWCAP_SPARC_*): Move to..
9234 * sysdeps/sparc/sysdep.h: this new file and add new values.
9235 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9236 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9237 _DL_HWCAP_COUNT to 24.
9238 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9239 entries.
9240 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9241 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9242 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9244 instead of magic constants.
9245 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9246
3ba57516
DM
92472011-08-31 David S. Miller <davem@davemloft.net>
9248
9249 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9251 Reimplement to do errno handling inline.
9252 (SYSCALL_ERROR_HANDLER): New macro.
9253 (__SYSCALL_STRING): Do not do errno handling in asm.
9254 (__CLONE_SYSCALL_STRING): Delete.
9255 (__INTERNAL_SYSCALL_STRING): Delete.
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9257 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9258 (PSEUDO): Reimplement to do errno handling inline.
9259 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9260 (SYSCALL_ERROR_HANDLER): New macro.
9261 (__SYSCALL_STRING): Do not do errno handling in asm.
9262 (__CLONE_SYSCALL_STRING): Delete.
9263 (__INTERNAL_SYSCALL_STRING): Delete.
9264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9265 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9266 i386.
9267 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9268 (inline_syscall*): Add 'err' argument.
9269 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9270 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9271 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9272 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9273
9274 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9275 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9276
2bc17433
AS
92772011-08-30 Andreas Schwab <schwab@redhat.com>
9278
9279 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9280
fbeb5f4d
JO
92812011-08-29 Jiri Olsa <jolsa@redhat.com>
9282
9283 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9284 directive.
9285
ad69cc26
DM
92862011-08-24 David S. Miller <davem@davemloft.net>
9287
9288 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9289
39dd69df
AS
92902011-08-24 Andreas Schwab <schwab@redhat.com>
9291
9292 * elf/Makefile: Add rules to build and run unload8 test.
9293 * elf/unload8.c: New file.
9294 * elf/unload8mod1.c: New file.
9295 * elf/unload8mod1x.c: New file.
9296 * elf/unload8mod2.c: New file.
9297 * elf/unload8mod3.c: New file.
9298
9299 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9300 it wasn't used.
9301
2c0b250a
DM
93022011-08-23 David S. Miller <davem@davemloft.net>
9303
9304 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9305 subtract stack bias.
9306 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9307 %sp not %fp in calculations.
9308 (_JMPBUF_UNWINDS_ADJ): Likewise.
9309
22044b48
DM
9310 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9311 (aio_suspend): Call it to force an exception region around the
9312 AIO_MISC_WAIT() invocation.
9313
2cae4995
AS
93142011-08-23 Andreas Schwab <schwab@redhat.com>
9315
9316 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9317 backslash.
9318
873a772e
AJ
93192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9320
9321 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9322 protection macro.
9323 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9324 and <dl-machine.h>.
9325 (Elf64_FuncDesc): Remove.
9326
25ad0df1
DM
93272011-08-22 David S. Miller <davem@davemloft.net>
9328
9329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9330 sigaltstack check, add missing cfi directives.
9331 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9332 missing cfi directives, and sigaltstack handling.
9333
e888bcbe
AS
93342011-08-16 Andreas Schwab <schwab@redhat.com>
9335
9336 [BZ #11724]
9337 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9338 object is seen twice.
9339 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9340
9341 * elf/Makefile (distribute): Add tst-initorder2.c.
9342 (tests): Add tst-initorder2.
9343 (modules-names): Add tst-initorder2a tst-initorder2b
9344 tst-initorder2c tst-initorder2d. Add rules to build them.
9345 ($(objpfx)tst-initorder2.out): New rule.
9346 * elf/tst-initorder2.c: New file.
9347 * elf/tst-initorder2.exp: New file.
9348
87162f46
AS
93492011-08-22 Andreas Schwab <schwab@redhat.com>
9350
70538b7f
AS
9351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9352
f55ffe58
AS
9353 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9354 dependencies back to end of function.
9355
87162f46
AS
9356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9357 $(elfobjdir)/ld.so.
9358
91b392a4
UD
93592011-08-21 Ulrich Drepper <drepper@gmail.com>
9360
9361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9362 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9364 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9365 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9366 of __vdso_gettimeofday.
9367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9368 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9369 attribute_hidden.
9370 (_libc_vdso_platform_setup): Remove initialization of
9371 __vdso_gettimeofday and __vdso_time.
9372
5c43483f
UD
93732011-08-20 Ulrich Drepper <drepper@gmail.com>
9374
775a77e7
UD
9375 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9376 and fgetc_unlocked.
9377 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9378 getc_unlocked.
89f447ed 9379
49c74ba9
UD
9380 * elf/dl-open.c (add_to_global): Report additions to the global scope
9381 for LD_DEBUG=scopes.
9382 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9383 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9384
5c43483f
UD
9385 [BZ #13114]
9386 * stdio-common/Makefile (tests): Add bug24.
9387 * stdio-common/bug24.c: New file.
9388
a101b025
AJ
93892011-08-19 Andreas Jaeger <aj@suse.de>
9390
9391 [BZ #13114]
9392 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9393 non-existant file when using close-on-exec mode.
9394
c88f1766
UD
93952011-08-20 Ulrich Drepper <drepper@gmail.com>
9396
0276a718
UD
9397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9398 the very first instruction.
9399
c88f1766
UD
9400 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9401 the CFI state in the end.
9402 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9403 inclusion of dl-trampoline.h.
9404 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9405
51ccffa0
AS
94062011-08-19 Andreas Schwab <schwab@redhat.com>
9407
94d7165f
AS
9408 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9409 expectations for long double.
9410
51ccffa0
AS
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9412 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9413
fd708658 94142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9415
9416 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9417 artificual limit depends upon the system page size.
9418
44f0a71e
UD
94192011-08-17 Ulrich Drepper <drepper@gmail.com>
9420
9421 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9422 * resolv/Makefile: Define CFLAGS-libresolv.
9423
8de79a24
AS
94242011-08-17 Andreas Schwab <schwab@redhat.com>
9425
9426 * nss/makedb.c (compute_tables): Make variables used in nested
9427 function static.
9428
27724598
UD
94292011-08-17 Ulrich Drepper <drepper@gmail.com>
9430
c5305d88
UD
9431 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9432 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9433 if buffer was too small.
9434
27724598
UD
9435 * elf/pldd.c (main): Attach to all threads in the process.
9436 Rewrite /proc handling to use *at functions.
9437
076fe015
UD
94382011-08-16 Ulrich Drepper <drepper@gmail.com>
9439
174baab3
UD
9440 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9441 specifies first scope to show.
9442 (dl_open_worker): Update callers. Move printing scope of new
9443 object to before the relocation.
44f0a71e 9444 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9445 * sysdeps/generic/ldsodefs.h: Update declaration.
9446
076fe015
UD
9447 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9448 string for the scope number.
9449
a60df2c3
UD
94502011-08-14 Ulrich Drepper <drepper@gmail.com>
9451
9452 * nscd/servicescache.c (cache_addserv): Make sure written is always
9453 initialized.
9454
5e4287d1
RM
94552011-08-14 Roland McGrath <roland@hack.frob.com>
9456
85ae0589
RM
9457 * sysdeps/i386/i486/bits/atomic.h
9458 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9459 statement expression, so as to suppress "set but not used" warning.
9460 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9461
69f63097
RM
9462 * string/strncat.c (STRNCAT): Use prototype definition.
9463
675456ef
RM
9464 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9465 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9466 -Iprograms here.
9467 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9468 (localedef-modules): Add localedef.
9469 (locale-modules): Add locale.
9470
5e4287d1
RM
9471 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9472 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9473 to avoid a warning.
9474
9c96ff23
DM
94752011-08-14 David S. Miller <davem@davemloft.net>
9476
9477 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9478 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9479
f9ddf089
UD
94802011-08-13 Ulrich Drepper <drepper@gmail.com>
9481
44f0a71e 9482 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9483 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9484 * elf/rtld.c (dl_main): Set l_name of vDSO.
9485 Call _dl_show_scope when DL_DEBUG_SCOPES.
9486 (process_dl_debug): Recognize scopes flag and also set it for all.
9487 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9488 Declare _dl_show_scope.
9489
1dc27704
UD
9490 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9491 (do_dlopen): Pass caller_dlopen to dl_open.
9492 (__libc_dlopen_mode): Initialize caller_dlopen.
9493
f9ddf089
UD
9494 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9495 of libc. Make tolower call locale-independent. Optimize a bit by
9496 using isdigit instead of isalnum.
9497 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9498
9ac533d3
UD
94992011-08-12 Ulrich Drepper <drepper@gmail.com>
9500
9501 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9502 was a dependency or dynamically loaded.
9503
89edf2e9
UD
95042011-08-11 Ulrich Drepper <drepper@gmail.com>
9505
8e999d29
UD
9506 * intl/l10nflist.c: Allow architecture-specific pop function.
9507 * sysdeps/x86_64/l10nflist.c: New file.
9508
89edf2e9
UD
9509 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9510 classification.
9511
14d96785
AS
95122011-08-10 Andreas Schwab <schwab@redhat.com>
9513
9514 * include/dirent.h: Add libc_hidden_proto for scandirat and
9515 scandirat64. Don't declare __scandirat64.
9516 * dirent/scandirat.c: Add libc_hidden_def.
9517 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9518 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9519
6761ac04
DM
95202011-08-10 David S. Miller <davem@davemloft.net>
9521
9522 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9523 enum.
9524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9526 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9527
c55fbd1e
UD
95282011-08-09 Ulrich Drepper <drepper@gmail.com>
9529
9530 * Versions.def [libc]: Add GLIBC_2.15.
9531 * dirent/Makefile (routines): Add scandirat and scandirat64.
9532 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9533 GLIBC_2.15.
9534 * dirent/dirent.h: Declare scandirat and scandirat64.
9535 * dirent/scandirat.c: New file.
9536 * dirent/scandirat64.c: New file.
9537 * sysdeps/wordsize-64/scandirat.c: New file.
9538 * sysdeps/wordsize-64/scandirat64.c: New file.
9539 * dirent/opendir.c: Define opendirat.
9540 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9541 using scandirat.
9542 * dirent/scandir64.c: Adjust for scandir.c change.
9543 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9544 __scandirat64, and __scandir_cancel_handler.
9545 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9546 additional parameter and use openat instead of open (outside of ld.so).
9547 Add new __opendir as wrapper around __opendirat.
9548 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9549 here without requiring old scandirat implementation.
9550
879165f2
UD
95512011-08-08 Ulrich Drepper <drepper@gmail.com>
9552
9553 * dirent/scandir.c (cancel_handler): Renamed to
9554 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9555 defined. Adjust users.
9556 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9558
cb7e923b
UD
95592011-08-04 Ulrich Drepper <drepper@gmail.com>
9560
16292edd
UD
9561 * string/test-string.h (IMPL): Use __STRING to expand name and then
9562 stringify it.
9563
cb7e923b
UD
9564 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9565 of cleanups.
9566
cff82933
LD
95672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9568
9569 * string/Makefile: Update.
9570 (strop-tests): Append strncat.
9571 * string/test-wcscmp.c: New file.
9572 New comprehensive test for wcscmp.
9573 * string/test-strcmp.c: Update.
9574 (WIDE): New define.
9575
9be9bfcc
AS
95762011-07-22 Andreas Schwab <schwab@redhat.com>
9577
9578 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9579 line.
9580
2e96f1c7
AS
95812011-07-26 Andreas Schwab <schwab@redhat.com>
9582
9583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9584 encoding to ACE if AI_IDN.
9585
85188888
JJ
95862011-08-01 Jakub Jelinek <jakub@redhat.com>
9587
9588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9589 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9590
5fa16e9b
LD
95912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9592
9593 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9594 Fix overflow bug in strncat.
9595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9596
9597 * string/test-strncat.c: Update.
9598 Add new tests for checking overflow bugs.
9599
96002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9601
9602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9603 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9604 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9605 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9607 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9608 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9609 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9610 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9611
9612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9613 (USE_AS_STRCAT): Define.
9614 Add strcat and strncat support.
9615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9616
8c1a459f
AS
96172011-07-25 Andreas Schwab <schwab@redhat.com>
9618
9619 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9620 __n bigger than INT_MAX+1.
9621 (__strncmp_g): Likewise.
9622
bba33c28
UD
96232011-07-23 Ulrich Drepper <drepper@gmail.com>
9624
798be72d
UD
9625 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9626 * libio/stido.h: Likewise.
9627
8accd4dc
UD
9628 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9629 (AF_NFC): Define.
9630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9631 (AF_NFC): Define.
9632
cbff0d96
UD
9633 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9636 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9638
9191c04a
UD
9639 [BZ #13021]
9640 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9641 installed.
9642
bba33c28
UD
9643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9644 typo.
9645 (_dl_x86_64_save_sse): Likewise.
9646
90f139dd
UD
96472011-07-22 Ulrich Drepper <drepper@gmail.com>
9648
1aae088a
UD
9649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9650 OSXSAVE.
9651 (_dl_x86_64_save_sse): Likewise.
9652
8e2045f5
UD
9653 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9654
90f139dd
UD
9655 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9656
1d002f25
AS
96572011-07-21 Andreas Schwab <schwab@redhat.com>
9658
9659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9660 change.
9661 (_dl_x86_64_save_sse): Use correct AVX check.
9662
21137f89
UD
96632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9664
9665 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9666 bug in strncpy/strncat.
9667 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9668
a65c0b7a
UD
96692011-07-21 Ulrich Drepper <drepper@gmail.com>
9670
9671 * string/tester.c (test_strcat): Add tests for different alignments
9672 of source and destination.
9673 (test_strncat): Likewise.
9674
6986b98a
UD
96752011-07-20 Ulrich Drepper <drepper@gmail.com>
9676
90bb2039
UD
9677 [BZ #12852]
9678 * posix/glob.c (glob): Check passed in values before using them in
9679 expressions to avoid some overflows.
9680 (glob_in_dir): Likewise.
9681
5644ef54
UD
9682 [BZ #13007]
9683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9684 check for AVX enablement so that we don't crash with old kernels and
9685 new hardware.
9686 * elf/tst-audit4.c: Add same checks here.
9687 * elf/tst-audit6.c: Likewise.
9688
9689 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9690
bfc9dc9b
AS
96912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9692
9693 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9694
702e64bb
UD
96952011-07-20 Ulrich Drepper <drepper@gmail.com>
9696
9697 * po/cs.po: Update from translation team.
9698 * po/bg.po: Likewise.
9699
295e904f
MP
97002011-07-12 Marek Polacek <mpolacek@redhat.com>
9701
9702 * misc/sys/cdefs.h: Add support for const attribute.
9703 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9704 to gnu_dev_{major,minor,makedev} functions.
9705
3ff94596
MP
97062011-07-20 Marek Polacek <mpolacek@redhat.com>
9707
9708 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9709
28b59fca
AS
97102011-07-20 Andreas Schwab <schwab@redhat.com>
9711
9712 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9713 strlen results.
9714
19df733e
AK
97152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9716
9717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9718 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9719 register in order to avoid conflicts with the soft frame pointer
9720 being held in r11 when necessary.
9721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9722 (INTERNAL_VSYSCALL_NCS): Likewise.
9723
c8835729
MP
97242011-07-14 Marek Polacek <mpolacek@redhat.com>
9725
9726 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9727 * elf/dl-fini.c (_dl_fini): Adjust caller.
9728 * elf/dl-close.c (_dl_close_worker): Likewise.
9729 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9730
b902330c
MP
97312011-07-15 Marek Polacek <mpolacek@redhat.com>
9732
8991e135
MP
9733 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9734 "aux_cache->nlibs < 0".
9735
b902330c
MP
9736 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9737 in the reload-count case.
9738
99710781
LD
97392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9740
9741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9742 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9743 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9744 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9745 * sysdeps/x86_64/multiarch/strcat.S: New file.
9746 * sysdeps/x86_64/multiarch/strncat.S: New file.
9747 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9748 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9749 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9750 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9752 (USE_AS_STRCAT): Define.
9753 Add strcat and strncat support.
9754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9755 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9756 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9757 * string/strncat.c: Update.
9758 (USE_AS_STRNCAT): Define.
9759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9760 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9761 and i7.
9762 * sysdeps/x86_64/multiarch/init-arch.h
9763 (bit_Prefer_PMINUB_for_stringop): New.
9764 (index_Prefer_PMINUB_for_stringop): Likewise.
9765 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9766 bit_Prefer_PMINUB_for_stringop.
9767
7dc6bd90
UD
97682011-07-19 Ulrich Drepper <drepper@gmail.com>
9769
9770 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9771 buffer64.
9772 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9773 of casting of buffer.
9774 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9775 buffer32 and buffer64.
9776 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9777 writes instead of casting of buffer.
9778 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9779 buffer32.
9780 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9781 casting of buffer.
9782
e0e72284
AS
97832011-07-19 Andreas Schwab <schwab@redhat.com>
9784
9785 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9786
feb1eb0b
UD
97872011-07-19 Ulrich Drepper <drepper@gmail.com>
9788
9789 * nscd/nscd.c (termination_handler): Don't do anything for a database
9790 if it has not yet been initialized.
9791
298711ff
UD
97922011-07-18 Ulrich Drepper <drepper@gmail.com>
9793
9794 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9795
97962011-07-15 Marek Polacek <mpolacek@redhat.com>
9797
9798 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9799
f9d68389
UD
98002011-07-18 Ulrich Drepper <drepper@gmail.com>
9801
9802 * po/nl.po: Update from translation team.
9803 * po/sv.po: Likewise.
9804
db290cf5
RM
98052011-07-16 Roland McGrath <roland@hack.frob.com>
9806
9807 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9808 now disallowed by GCC.
5c550700 9809
fd5e21c7
RM
9810 * configure.in (use-default-link): Default to yes if a test -shared
9811 link meets our qualifications.
9812 * configure: Regenerated.
9813
5c550700
RM
9814 * config.make.in (output-format): New variable.
9815 * configure.in: Check for ld --print-output-format support.
9816 * configure: Regenerated.
9817 * Makerules ($(common-objpfx)format.lds)
9818 [$(output-format) != unknown]: Just use $(output-format),
9819 instead of the linker-script munging.
9820
9fa2c032
RM
98212011-07-14 Roland McGrath <roland@hack.frob.com>
9822
a6928d51
RM
9823 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9824 of $(common-objpfx)shlib.lds.
9825 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9826
661607b3
RM
9827 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9828 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9829
9fa2c032
RM
9830 * configure.in (-z relro check): Adjust test code to add a large
9831 writable data section after it.
9832 * configure: Regenerated.
9833
defe9061
RM
98342011-07-11 Roland McGrath <roland@hack.frob.com>
9835
9836 * configure.in (-z relro check): Fix test code to make the variable
9837 truly const.
9838 * configure: Regenerated.
9839
319b9ad4
UD
98402011-07-11 Ulrich Drepper <drepper@gmail.com>
9841
9842 * nscd/nscd.h (struct traced_file): Define.
9843 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9844 elements. Add traced_files.
9845 (inotify_fd): Declare.
9846 (register_traced_file): Declare.
9847 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9848 (inotify_fd): Export.
9849 (resolv_conf_descr): Remove.
9850 (nscd_init): Move inotify descriptor creation to main.
9851 Don't register files for notification here.
9852 (register_traced_file): New function.
9853 (invalidate_cache): Don't use reset_res to determine whether to call
9854 res_init, go through the list of registered files.
9855 (main_loop_poll): The inotify descriptors are now stored in the
9856 structures for the traced files.
9857 (main_loop_epoll): Likewise
9858 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9859 to __nss_disable_nscd.
9860 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9861 for a database anymore. Check the records for all the registered
9862 files instead.
9863 * nss/Makefile (libnss_files-routines): Add files-init.
9864 (libnss_db-routines): Add db-init.
9865 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9866 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9867 * nss/nss_db/db-init.c: New file.
9868 * nss/nss_files/files-init.c: New file.
9869 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9870 __nss_lookup_function.
9871 (__nss_lookup_function): Call nss_load_library.
9872 (nss_load_all_libraries): New function.
9873 (__nss_disable_nscd): Take parameter with callback function for files
9874 to register. Set is_nscd. Load all the DSOs for the NSS modules
9875 used for the cached services.
9876 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9877 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9878 options for features to all the files in nscd.
9879
9880 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9881
23bee3e8
RM
98822011-07-10 Roland McGrath <roland@hack.frob.com>
9883
9884 * csu/elf-init.c (__libc_csu_init): Comment typo.
9885
46a5b7f0
UD
98862011-07-09 Ulrich Drepper <drepper@gmail.com>
9887
9888 * po/pl.po: Update from translation team.
9889 * po/ja.po: Likewise.
9890 * po/ru.po: Likewise.
9891 * po/ko.po: Likewise.
9892 * po/fr.po: Likewise.
9893
d30cf5bb
RM
98942011-07-09 Roland McGrath <roland@hack.frob.com>
9895
113ddea4
RM
9896 * configure.in (.ctors/.dtors header and trailer check):
9897 Use an empirical test on a built program.
9898 * configure: Regenerated.
9899
574920b4
RM
9900 * configure.in (-z relro check): Use an empirical test on a built DSO.
9901 Detect, but do not require, on ia64.
9902 * configure: Regenerated.
9903
d30cf5bb
RM
9904 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9905 Update tests that use readelf to use $READELF instead.
9906 * configure: Regenerated.
9907
8538fdb3
UD
99082011-07-08 Ulrich Drepper <drepper@gmail.com>
9909
9910 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9911 if the result is not used.
9912
04d08991
AJ
99132011-07-05 Andreas Jaeger <aj@suse.de>
9914
9915 [BZ#9696]
9916 * stdlib/tst-strtod.c: Add testcase.
9917
de283087
AD
99182011-07-07 Ulrich Drepper <drepper@gmail.com>
9919
4e5f31c8 9920 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9921 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9922 The latter has a higher limit. Take additional parameter to pass to
9923 the new function.
9924 (__pathconf): Pass file to __statfs_link_max.
9925 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9926 __statfs_link_max.
9927 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9928 __statfs_link_max.
9929
de283087
AD
9930 [BZ #12868]
9931 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9933 Handle Lustre.
9934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9935 (__statfs_filesize_max): Likewise.
9936 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9937
c75fa153
AJ
99382011-07-05 Andreas Jaeger <aj@suse.de>
9939
9940 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9941
1a544854
UD
99422011-07-06 Marek Polacek <mpolacek@redhat.com>
9943
9944 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9945 `status' variable.
9946 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9947 Likewise.
9948
6f0eec67
UD
99492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * Makefile (strop-tests): Add strncat.
9952 * string/test-strncat.c: New file.
9953
aae30307
UD
99542011-06-30 Marek Polacek <mpolacek@redhat.com>
9955
9956 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9957
c0cfb5eb
UD
99582011-06-21 Andreas Jaeger <aj@suse.de>
9959
9960 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9961 Copy rule from iconvdata/Makefile.
9962
01636b21
UD
99632011-07-06 Ulrich Drepper <drepper@gmail.com>
9964
9965 [BZ #12922]
9966 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9967 but no long options are defined, just return 'W'.
9968
9895c8bc
UD
99692011-06-22 Marek Polacek <mpolacek@redhat.com>
9970
9971 [BZ #9696]
9972 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9973
5d4cf042
UD
99742011-07-06 Ulrich Drepper <drepper@gmail.com>
9975
9976 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9977 netgroups to read.
960e5535 9978 (innetgr): Likewise.
5d4cf042 9979
751eb97e
RM
99802011-07-05 Roland McGrath <roland@hack.frob.com>
9981
9982 * config.make.in (install_root): Default to $(DESTDIR).
9983
f15f1e45
UD
99842011-07-05 Ulrich Drepper <drepper@gmail.com>
9985
9986 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9987
4e34ac6a
RM
99882011-07-02 Roland McGrath <roland@hack.frob.com>
9989
5e9b6af4
RM
9990 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9991
84f9ea0f
RM
9992 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9993 containing directory rather than embedding absolute directory names.
9994
ea5ee9f7
RM
9995 * scripts/check-local-headers.sh: Rewritten using awk.
9996 Match by word, not by line. Print error messages for matches.
9997 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9998
1b74661a
RM
9999 * Makerules [shlib-lds-flags empty]:
10000 ($(common-objpfx)libc_pic.opts): New target.
10001 ($(common-objpfx)libc_pic.os.clean): New target.
10002 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10003
10004 * config.make.in (OBJCOPY): New variable.
10005 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10006 * configure: Regenerated.
10007
f781ef40
RM
10008 * config.make.in (use-default-link): New variable.
10009 * configure.in (use_default_link): Grok --with-default-link to set it.
10010 * configure: Regenerated.
10011 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10012 (shlib-lds, shlib-lds-flags): Define to empty.
10013
2d4fa81e
RM
10014 * Makerules (shlib-lds): New variable.
10015 (shlib-lds-flags): New variable.
10016 (build-shlib, build-moduile, build-module-asneeded): Use it.
10017 ($(common-objpfx)libc.so): Use $(shlib-lds).
10018 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10019 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10020
31fffa6b
RM
10021 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10022 DT_FLAGS/DT_FLAGS_1 with zero flags.
10023
4e34ac6a
RM
10024 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10025 linker script munging.
10026
fcfc776b
UD
100272011-07-02 Ulrich Drepper <drepper@gmail.com>
10028
10029 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10030 as 128-bit value.
10031 * crypt/sha512.c (sha512_process_block): Perform total addition using
10032 128-bit if possible.
10033 (__sha512_finish_ctx): Likewise.
10034 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10035 as 64-bit value.
10036 * crypt/sha256.c (SWAP64): Define.
10037 (sha256_process_block): Perform total addition using 64-bit if
10038 possible.
10039 (__sha256_finish_ctx): Likewise.
10040
99231d9a
UD
100412011-07-01 Ulrich Drepper <drepper@gmail.com>
10042
10043 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10044 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10045 * nscd/hstcache.c (cache_addhst): Likewise.
10046 * nscd/grpcache.c (cache_addgr): Likewise.
10047 * nscd/aicache.c (addhstaiX): Likewise
10048 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10049
445b4a53
TK
100502011-07-01 Thorsten Kukuk <kukuk@suse.de>
10051
10052 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10054 * nscd/hstcache.c (cache_addhst): Likewise.
10055 * nscd/grpcache.c (cache_addgr): Likewise.
10056 * nscd/aicache.c (addhstaiX): Likewise
10057
6d4d8e8e
AS
100582011-07-01 Andreas Schwab <schwab@redhat.com>
10059
10060 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10061 domain only when needed.
10062
89f654c5
AS
100632011-06-30 Andreas Schwab <schwab@redhat.com>
10064
10065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10066 is always restored.
10067
cf3b23ff
UD
100682011-06-29 Ulrich Drepper <drepper@gmail.com>
10069
10070 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10071 are re-adding the entry.
10072 * nscd/servicescache.c (cache_addserv): Likewise.
10073
751626f9
AJ
100742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10075
10076 * sysdeps/generic/dl-irel.h: fix protection against multiple
10077 inclusions.
10078 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10079
9113ea1f
UD
100802011-06-28 Ulrich Drepper <drepper@gmail.com>
10081
5c0b8d90
UD
10082 [BZ #12935]
10083 * malloc/memusage.sh: Fix quoting in message.
10084 * debug/xtrace.sh: Likewise.
10085
9113ea1f
UD
10086 * configure.in: Remove support for --experimental-malloc option, make
10087 it the default.
10088 * config.make.in: Likewise.
10089 * malloc/Makefile: Likewise.
10090
a4172181
AS
100912011-06-27 Andreas Schwab <schwab@redhat.com>
10092
10093 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10094 two-byte characters.
10095
78a7eee7
RM
100962011-06-27 Roland McGrath <roland@hack.frob.com>
10097
62bede13
RM
10098 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10099 AC_CACHE_CHECK invocation.
10100 * configure: Regenerated.
10101
78a7eee7
RM
10102 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10103
5ce33a62
UD
101042011-06-27 Ulrich Drepper <drepper@gmail.com>
10105
034807a9
UD
10106 [BZ #12350]
10107 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10108 bit from old_res_options.
10109
4902da17
UD
10110 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10111
5ce33a62
UD
10112 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10113 value type for setfct.
10114
c2344f56
L
101152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10116
10117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10118 __gettimeofday instead of gettimeofday.
10119
68468076
UD
101202011-06-26 Ulrich Drepper <drepper@gmail.com>
10121
10122 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10123
acb0d739
L
101242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10127
10128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10129 info.
10130
8912479f
L
101312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10132
10133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10134 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10135 strcpy-sse2-unaligned strncpy-sse2-unaligned
10136 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10137 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10138 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10139 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10140 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10143 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10144 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10145 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10146 (STRCPY): Support SSE2 and SSSE3 versions.
10147
d5495a11
UD
101482011-06-24 Ulrich Drepper <drepper@gmail.com>
10149
10150 [BZ #12874]
10151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10152 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10153 kernels which artificially limit size of requests.
10154
0b1cbaae
L
101552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10156
10157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10158 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10159 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10160 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10161 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10162 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10163 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10164 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10165 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10167 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10168 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10169 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10170 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10171 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10173 Enable unaligned load optimization for Intel Core i3, i5 and i7
10174 processors.
10175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10176 Define.
10177 (index_Fast_Unaligned_Load): Define.
10178 (HAS_FAST_UNALIGNED_LOAD): Define.
10179
07f494a0
MP
101802011-06-23 Marek Polacek <mpolacek@redhat.com>
10181
10182 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10183
fa3fc0fe
UD
101842011-06-22 Ulrich Drepper <drepper@gmail.com>
10185
10186 [BZ #12907]
10187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10188 until it is clear that the information is realy needed.
10189 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10190
e12df166
AS
101912011-06-22 Andreas Schwab <schwab@redhat.com>
10192
10193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10194
852eb34d
UD
101952011-06-22 Ulrich Drepper <drepper@gmail.com>
10196
84e2a551
UD
10197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10198 /sys/devices/system/cpu/online if it is usable.
10199
852eb34d
UD
10200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10201 reading the information from the /proc filesystem to once a second.
10202
6e502e19
UD
102032011-06-21 Andreas Jaeger <aj@suse.de>
10204
10205 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10206 NULL after inclusion of kernel headers.
10207
75d39ff2
UD
102082011-06-21 Ulrich Drepper <drepper@gmail.com>
10209
51f9aa6a
UD
10210 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10211 calls to internal_setent.
10212
c0244a9d
UD
10213 [BZ #12885]
10214 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10215 addresses using gethostbyname4_r ignore IPv4 addresses.
10216
c5e3c2ae
UD
10217 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10218 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10219
75d39ff2
UD
10220 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10221
42675c6f
DM
102222011-06-20 David S. Miller <davem@davemloft.net>
10223
10224 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10225 inclusions.
10226 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10227
10228 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10229 (elf_irel): Use it.
10230 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10231 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10232 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10233 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10234 * sysdeps/x86_64/dl-irel.h: Likewise.
10235
10236 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10237 * elf/dl-sym.c: Likewise.
10238
57912a71
UD
102392011-06-15 Ulrich Drepper <drepper@gmail.com>
10240
10241 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10242 need to dereference resplen2.
10243
ee22793d
AS
102442011-06-14 Andreas Schwab <schwab@redhat.com>
10245
10246 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10247
a9e836b0
UD
102482011-06-15 Ulrich Drepper <drepper@gmail.com>
10249
77fb9117
UD
10250 * Makeconfig: Define vardbdir and inst_vardbdir.
10251 * nss/Makefile: Add rules to install db-Makefile.
10252
40c1b22c
UD
10253 * nss/nss_db/db-XXX.c: Cleanup.
10254
9f2da732
UD
10255 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10256 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10257 GLIBC_PRIVATE.
10258 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10259 * nss/makedb.c: Implement -g option to specify that value strings
10260 are generated and should not be added to table iterated over for
10261 get*ent calls.
10262 * nss/nss_db/db-initgroups.c: New file.
10263
82e9a1f7
UD
10264 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10265 interface.
10266
c41af17e
UD
10267 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10268 (internal_getgrouplist): Adjust to name change.
10269 Update use_initgroups_entry if this is not the first call.
10270 * nss/databases.def: Add initgroups entry.
10271
a9e836b0
UD
10272 * nss/makedb.c (compute_tables): Check result of multiple hash table
10273 sizes to minimize maximum chain length.
10274
2666d441
UD
102752011-06-14 Ulrich Drepper <drepper@gmail.com>
10276
10277 * Versions.def: Add entry for libnss_db.
10278 * shlib-versions: Likewise.
10279 * nss/Makefile: Add rules to build libnss_db.
10280 * nss/Versions: Add libnss_db information. Organize libnss_files
10281 entries better.
10282 * nss/db-Makefile: Add gshadow support. Change rules for the new
10283 makedb progra. Some minor improvements to generate smaller files.
10284 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10285 here from...
10286 * nss/makedb.c: ...here.
10287 Improve database format to be smaller and require less memory at
10288 runtime.
10289 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10290 db anymore.
10291 * nss/nss_db/db-netgrp.c: Likewise.
10292 * nss/nss_db/db-open.c: Likewise.
10293 * nss/nss_files/flies-XXX.x: Adjust comments.
10294 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10295 * nss/nss_files/files-grp.c: Likewise.
10296 * nss/nss_files/files-hosts.c: Likewise.
10297 * nss/nss_files/files-network.c: Likewise.
10298 * nss/nss_files/files-proto.c: Likewise.
10299 * nss/nss_files/files-pwd.c: Likewise.
10300 * nss/nss_files/files-rpc.c: Likewise.
10301 * nss/nss_files/files-service.c: Likewise.
10302 * nss/nss_files/files-sgrp.c: Likewise.
10303 * nss/nss_files/files-spwd.c: Likewise.
10304 * nss/nss_db/db-alias.c: Removed.
10305 * nss/nss_db/dummy-db.h: Removed.
10306
9ee76b5a
UD
103072011-06-02 Ulrich Drepper <drepper@gmail.com>
10308
10309 * nss/makedb.c: Rewritten to not use database library.
10310 * nss/Makefile: Update to build new makedb program.
10311
c71ca1f8
AJ
103122011-06-14 Andreas Jaeger <aj@suse.de>
10313
10314 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10315 memset declaration.
10316
3154bfb8
UD
103172011-06-10 Andreas Schwab <schwab@redhat.com>
10318
10319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10320 tmpbuf.
10321
b350afab
RM
103222011-06-10 Roland McGrath <roland@hack.frob.com>
10323
decd4e50
RM
10324 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10325 * elf/Makefile ($(objpfx)ld.so): Likewise.
10326
5615eaf2
RM
10327 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10328 Don't list ld.so twice in dependencies.
10329
10330 * posix/bug-regex31.c: Include <stdlib.h>.
10331
10332 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10333
10334 * nis/nss_compat/compat-spwd.c
10335 (getspent_next_nss_netgr): Remove unused variable.
10336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10337
10338 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10339 nonmembers" output to use the right array.
10340
10341 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10342
10343 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10344
10345 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10346 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10347 * catgets/gencat.c (read_input_file): Likewise.
10348 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10349
10350 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10351 variable definition inside #if's controlling its use.
10352
10353 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10354
10355 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10356
10357 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10358
10359 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10360 unreachable code.
10361
10362 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10363
b68e08db
RM
10364 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10365 * configure: Regenerated.
10366
b350afab
RM
10367 * Makerules: Revert last change.
10368 * elf/Makefile: Likewise.
10369
28368601
RM
103702011-06-09 Roland McGrath <roland@hack.frob.com>
10371
10372 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10373 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10374 (reloc-link): Likewise.
10375
11988f8f
UD
103762011-06-09 Ulrich Drepper <drepper@gmail.com>
10377
10378 * elf/Makefile: Add rules to build pldd.
10379 * elf/pldd.c: New file.
10380 * elf/pldd-xx.c: New file.
10381
e80fab37
UD
103822011-06-07 Ulrich Drepper <drepper@gmail.com>
10383
10384 * version.h: Update for 2.15 development version.
10385
9b849836
DM
103862011-06-07 David S. Miller <davem@davemloft.net>
10387
10388 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10389 ifuncs.
10390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10391 elf_machine_lazy_rel): Likewise.
10392 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10394 elf_machine_lazy_rel): Likewise.
10395 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10396 dl_hwcap via passed in argument.
10397 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10398 Likewise.
10399
5a31b283
AK
104002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10401
10402 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10403
069e52f8
RM
104042011-06-06 Roland McGrath <roland@hack.frob.com>
10405
10406 [BZ #12849]
10407 * manual/fdl-1.1.texi: New file, verbatim from:
10408 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10409 * manual/lgpl-2.1.texi: New file, verbatim from:
10410 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10411 * manual/Makefile (licenses): New variable, list those new file names.
10412 (texis): Use it.
10413 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10414
10415 * manual/fdl.texi: File removed.
10416 * manual/lesser.texi: File removed.
10417 * manual/libc.texinfo (Copying, Documentation License):
10418 Use new @include file names, put @appendix directive before @include.
10419
f16846a5
JJ
104202011-06-04 Jakub Jelinek <jakub@redhat.com>
10421
10422 [BZ #12841]
10423 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10424 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10425 (mq_open): Add __NTH.
10426
3d29045b
L
104272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10428
10429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10430 Assume Intel Core i3/i5/i7 processor if AVX is available.
10431
8c297311
UD
104322011-05-31 Ulrich Drepper <drepper@gmail.com>
10433
10434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10435 typo.
10436
c8fc0c91
UD
104372011-05-31 Andreas Schwab <schwab@redhat.com>
10438
10439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10440 memory. Use alloca_account. Fix memory leak when retrying.
10441
5b27a807
UD
104422011-05-31 Ulrich Drepper <drepper@gmail.com>
10443
356f8bc6
UD
10444 * version.h (RELEASE): Bump for 2.14 release.
10445 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10446
5b27a807
UD
10447 * config.make.in (RANLIB): Remove entry.
10448
01f16ab0
UD
104492011-05-30 Ulrich Drepper <drepper@gmail.com>
10450
41fce8bd
UD
10451 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10452 (libc.pot): Work around missing support for .ksh extension in xgettext.
10453
4769ae77
UD
10454 [BZ #12684]
10455 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10456 if both request failed.
10457 (send_dg): In case of server errors clear resplen or *resplen2.
10458
6b1e7d19
UD
10459 [BZ #12454]
10460 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10461 when there are multiple maps.
10462 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10463 (_dl_fini): Remove test here.
10464
01f16ab0
UD
10465 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10466
b1ebd700
UD
104672011-05-29 Ulrich Drepper <drepper@gmail.com>
10468
7ae22829
UD
10469 [BZ #12350]
10470 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10471 bit from old_res_options.
10472 (gaih_inet): Likewise.
10473
553149f6 10474 [BZ #11099]
18a84741 10475 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10476 as signed.
10477
652ffab1
UD
10478 * resolv/res_init.c (res_setoptions): Make the code more compact.
10479
16985fd0
UD
10480 [BZ #11558]
10481 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10482 set RES_USEVC.
10483
0464f746
UD
10484 [BZ #11634]
10485 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10486
7d17596c
UD
10487 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10488
cf6bbbd7
UD
10489 [BZ #11781]
10490 * malloc/malloc.h: Declare malloc hook variables as volatile.
10491
13f1ab36
UD
10492 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10493 in last patch.
10494
b1ebd700
UD
10495 [BZ #11799]
10496 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10497 raise in the comment.
80e2212d
UD
10498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10500 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10501
ce67228d
UD
105022011-05-28 Ulrich Drepper <drepper@gmail.com>
10503
8887a920
UD
10504 [BZ #12811]
10505 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10506 grow the buffers more if it already has to be sufficient.
10507 (build_wcs_upper_buffer): Likewise.
10508 * posix/regexec.c (check_matching): Likewise.
10509 (clean_state_log_if_needed): Likewise.
10510 (extend_buffers): Don't enlarge buffers beyond size of the input
10511 buffer.
10512 Patches mostly by Emil Wojak <emil@wojak.eu>.
10513 * posix/bug-regex32.c: New file.
10514 * posix/Makefile (tests): Add bug-regex32.
10515
4f031072
UD
10516 * locale/findlocale.c (_nl_find_locale): Return right away if
10517 _nl_explode_name failed.
10518 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10519
d0478f0c
UD
10520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10521
de81b246
UD
10522 * debug/xtrace.sh: Unify messages.
10523 * malloc/memusage.sh: Likewise.
10524
c738465a
UD
10525 [BZ #12813]
10526 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10527 time symbol from vDSO. Substitute with vsyscall if not available.
10528 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10529 __vdso_time.
10530
f1f929d7
UD
10531 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10532 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10533 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10534 Add sendmmsg and internal_sendmmsg.
10535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10536 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10538
ce67228d
UD
10539 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10540 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10542
e57420c6
UD
105432011-05-27 Ulrich Drepper <drepper@gmail.com>
10544
a8509ca5
UD
10545 [BZ #12813]
10546 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10547 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10548 available.
10549 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10550 __vdso_getcpu.
10551
e57420c6
UD
10552 [BZ #12814]
10553 * iconvdata/Makefile (tests): Add bug-iconv9.
10554 * iconvdata/bug-iconv9.c: New file.
10555
4d07db15
AS
105562011-05-27 Andreas Schwab <schwab@redhat.com>
10557
10558 [BZ #12814]
10559 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10560
ea486f69
JJ
105612011-05-25 Jakub Jelinek <jakub@redhat.com>
10562
10563 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10564 (struct user_regs_struct): Change intcs field back to cs.
10565
6f038433
UD
105662011-05-25 Ulrich Drepper <drepper@gmail.com>
10567
10568 * po/ja.po: Update from translation team.
10569
67f86a25
UD
105702011-05-23 Ulrich Drepper <drepper@gmail.com>
10571
10572 [BZ #12795]
10573 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10574 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10575
def7fbd6
AS
105762011-05-20 Andreas Schwab <schwab@redhat.com>
10577
10578 * stdlib/longlong.h: Update from GCC.
10579
f50ef8f1
AS
105802011-05-23 Andreas Schwab <schwab@redhat.com>
10581
10582 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10583 parameter name.
10584 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10585 Add parameter name.
10586 (__sysconf): Pass it down.
10587
de7ce8f1
UD
105882011-05-22 Ulrich Drepper <drepper@gmail.com>
10589
f2962a71
UD
10590 [BZ #12671]
10591 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10592 some situations.
10593 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10594 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10595 add in in __libc_use_alloca calls. Adjust callers.
10596 (glob): Use malloc in some situations.
10597
de7ce8f1
UD
10598 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10599 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10600 pltexit.
10601
aec84f53
UD
106022011-05-21 Ulrich Drepper <drepper@gmail.com>
10603
05bb4a68
UD
10604 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10605 and CLOCK_BOOTTIME_ALARM.
10606
7ea72f99
UD
10607 [BZ #12782]
10608 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10609 is returned.
10610
7e4afad5
UD
10611 * string/_strerror.c (__strerror_r): Print negative errors as signed
10612 numbers.
10613
8e211fec
UD
10614 [BZ #12777]
10615 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10616 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10617 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10618
f7d82dc9
UD
10619 * configure.in: Fix typo in redirection and correct removal of test
10620 files in two cases.
10621
cc9e536d
UD
10622 [BZ #12788]
10623 * locale/setlocale.c (new_composite_name): Fix test to check for
10624 identical name of all categories.
10625
aec84f53
UD
10626 [BZ #12792]
10627 * libio/filedoalloc.c (local_isatty): New function.
10628 (_IO_file_doallocate): Use local_isatty.
10629 * stdio-common/perror.c (perror): In case a new stream is used
10630 forward the stream error.
10631 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10632 error flag.
10633
78e64fdc
RT
106342011-05-20 Ulrich Drepper <drepper@gmail.com>
10635
34a9094f
UD
10636 [BZ #11869]
10637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10638 alloca.
10639 * include/alloca.h (extend_alloca_account): Define.
10640
78e64fdc
RT
10641 [BZ #11857]
10642 * posix/regex.h: Fix comments with documentation of user-accessible
10643 fields after compilation and describe correct free'ing of pattern
10644 after re_compile_pattern.
10645 Patch by Reuben Thomas <rrt@sc3d.org>.
10646
457bddfc
RA
106472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10648
10649 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10650 and -mno-altivec to prevent the compiler from using Altivec and/or
10651 VSX instructions when the corresponding registers are not available.
10652
a4527b51
AS
106532011-05-19 Andreas Schwab <schwab@redhat.com>
10654
10655 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10656
ed690b2f
UD
106572011-05-19 Ulrich Drepper <drepper@gmail.com>
10658
10659 * libio/freopen.c (freopen): Use __dup2, not dup2.
10660 * libio/freopen64.c (freopen64): Likewise.
10661
8db73634
L
106622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 [BZ #12775]
10665 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10666 * math/Makefile (tests): Add test-powl.
10667 (CFLAGS-test-powl.c): Define.
10668 * math/test-powl.c: New file.
10669
0a197a9d
L
106702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10671
10672 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10673
ee30c380
UD
106742011-05-17 Ulrich Drepper <drepper@gmail.com>
10675
10676 [BZ #11837]
10677 * iconvdata/gb18030.c: Update to GB18020-2005.
10678
6ce75379
UD
106792011-05-16 Ulrich Drepper <drepper@gmail.com>
10680
a4b89fd8
AR
10681 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10682 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10683 Patch by Aharon Robbins <arnold@skeeve.com>.
10684
ea389b12
UD
10685 [BZ #11892]
10686 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10687 on the stack.
10688
68a3f91f
UD
10689 [BZ #11895]
10690 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10691 through underflows.
10692
15cc7dd1
UD
10693 [BZ #12766]
10694 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10695 point to strings before performing equality test for error_one_per_line
10696 mode.
10697
f3799213
UD
10698 [BZ #11697]
10699 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10700
d79a9c94
UD
10701 [BZ #11820]
10702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10703 (struct user_fpregs_struct): Avoid __uint*_t types.
10704
56e5eb46
UD
10705 [BZ #6420]
10706 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10707 symbol info. Use it instead of calling _dl_addr locally.
10708 (lock_and_info): New function.
10709 (tr_freehook): Call lock_and_info and pass symbol info as additional
10710 parameter to tr_where.
10711 (tr_mallochook): Likewise.
10712 (tr_reallochook): Likewise.
10713 (tr_memalignhook): Likewise.
10714
6ce75379
UD
10715 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10716 used and couldn't be at all thread-safe.
10717
f8a3b5bf
UD
107182011-05-15 Ulrich Drepper <drepper@gmail.com>
10719
94b7cc37
UD
10720 * libio/freopen.c (freopen): Don't close old file descriptor
10721 before the new one is opened. Instead dup the new file descriptor
10722 to the old one after the new stream is created.
10723 * libio/freopen64.c (freopen64): Likewise.
10724 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10725 * libio/fileops.c (_IO_new_file_close_it): Handle new
10726 _IO_FLAGS2_NOCLOSE flag.
10727 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10728 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10729 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10730 _IO_FLAGS2_NOCLOSE flag.
10731 * include/unistd.h: Add hidden_proto for dup3.
10732 Define __have_dup3.
10733 * io/dup3.c: Define hidden symbol.
10734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10735
bd25564e
UD
10736 [BZ #7101]
10737 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10738 when an incomplete long option is used.
10739 * posix/tst-getopt_long1.c: New file.
10740 * posix/Makefile (tests): Add tst-getopt_long1.
10741
c84cfef4
UD
10742 [BZ #10138]
10743 * scripts/config.guess: Update from autoconf-2.68.
10744 * scripts/config.sub: Likewise.
10745
3b85df27
UD
10746 [BZ #10157]
10747 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10748 tests into ...
10749 (has_cpuclock): ...this. New function.
10750 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10751 macro here based on has_cpuclock code.
10752
15a856b1
UD
10753 [BZ #10149]
10754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10755 First byte (not low byte) is now always NUL.
10756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10757
05f399e6
UD
10758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10759 Use non-cancelable interfaces.
10760
10a52685 10761 [BZ #9809]
94ecc67d
UD
10762 * locale/iso-639.def: Add entry for Sorani.
10763
f8a3b5bf
UD
10764 [BZ #11901]
10765 * include/stdlib.h: Move include protection to the right place.
10766 Define abort_msg_s. Declare __abort_msg with it.
10767 * stdlib/abort.c (__abort_msg): Adjust type.
10768 * assert/assert.c (__assert_fail_base): New function. Majority
10769 of code from __assert_fail. Allocate memory for __abort_msg with
10770 mmap.
10771 (__assert_fail): Now call __assert_fail_base.
10772 * assert/assert-perr.c: Remove bulk of implementation. Use
10773 __assert_fail_base.
10774 * include/assert.hL Declare __assert_fail_base.
10775 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10776 mmap.
10777 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10778
1af4e298
UD
107792011-05-14 Ulrich Drepper <drepper@gmail.com>
10780
f8a3b5bf 10781 [BZ #11952]
d26dfc60
MG
10782 [BZ #12453]
10783 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10784 until all modules are registered in the DTV.
10785 * elf/Makefile: Add rules to build and run tst-tls19.
10786 * elf/tst-tls19.c: New file.
10787 * elf/tst-tls19mod1.c: New file.
10788 * elf/tst-tls19mod2.c: New file.
10789 * elf/tst-tls19mod3.c: New file.
10790 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10791
2fc54d6f
UD
10792 [BZ #12083]
10793 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10794 correctly.
10795
98d76b46
UD
10796 [BZ #12601]
10797 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10798 two-byte sequence errors.
10799 * iconvdata/Makefile (tests): Add bug-iconv8.
10800 * iconvdata/bug-iconv8.c: New file.
10801
da3c19ef
UD
10802 [BZ #12626]
10803 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10804 buf2 definition.
10805
ca408c15
UD
10806 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10807
d6f67f7d
UD
10808 [BZ #12432]
10809 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10810 (dummy_getcfa): New function.
10811 (init): Get _Unwind_GetCFA address, use dummy if not found.
10812 (backtrace_helper): In recursion check, also check whether CFA changes.
10813 (__backtrace): Completely initialize arg.
10814
1af4e298 10815 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10816 storing incomplete byte sequence in state object. Avoid testing for
10817 guaranteed too small input if we know there is enough data available.
1af4e298 10818
da62f81b
AS
108192011-05-11 Andreas Schwab <schwab@redhat.com>
10820
10821 * Makeconfig (+link-pie): Indent.
10822 * Rules (binaries-pie): Define if $(have-fpie) and
10823 $(build-shared).
10824 (binaries-shared): Also filter out $(binaries-pie).
10825 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10826 * nscd/Makefile (others-pie): Add nscd.
10827 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10828 ($(objpfx)nscd): Remove command override.
10829 * login/Makefile (others-pie): Add pt_chown.
10830 ($(objpfx)pt_chown): Remove command override.
10831 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10832 remove command overrides.
10833
fcabc0f8
UD
108342011-05-13 Ulrich Drepper <drepper@gmail.com>
10835
20030ae6
UD
10836 * libio/tst_putwc.c: Fix error messages.
10837
fcabc0f8
UD
10838 [BZ #12724]
10839 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10840 currently writing and seek to current position when not.
10841 * libio/Makefile (tests): Add bug-fclose1.
10842 * libio/bug-fclose1.c: New file.
10843
320a5dc0
PB
108442011-05-12 Ulrich Drepper <drepper@gmail.com>
10845
10846 [BZ #12511]
10847 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10848 don't set DF_1_NODELETE here.
10849 (do_lookup_x): When entering new entry test for copy relocation
10850 and if necessary set DF_1_NODELETE flag.
10851 * elf/tst-unique4.cc: New file.
10852 * elf/tst-unique4.h: New file.
10853 * elf/tst-unique4lib.cc: New file.
10854 * elf/Makefile: Add rules to build and run tst-unique4.
10855 Patch by Piotr Bury <pbury@goahead.com>.
10856
22836f52
UD
108572011-05-11 Ulrich Drepper <drepper@gmail.com>
10858
f574184a
UD
10859 [BZ #12052]
10860 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10861
e1fb097f
UD
10862 [BZ #12625]
10863 * misc/mntent_r.c (addmntent): Flush the stream after the output
10864
22836f52
UD
10865 [BZ #12393]
10866 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10867 (is_trusted_path_normalize): Skip initial colon. Append slash
10868 to empty buffer. Duplicate is_trusted_path code but allow
10869 constructed patch to be prefix.
10870 (is_dst): Allow $ORIGIN followed by /.
10871 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10872 Correct testing of result of is_trusted_path_normalize
10873 (decompose_rpath): Fix warning.
10874
7b3b0b2a
UD
108752011-05-10 Ulrich Drepper <drepper@gmail.com>
10876
10877 [BZ #11257]
10878 * grp/initgroups.c (internal_getgrouplist): When we found the service
10879 list through the initgroups entry in nsswitch.conf do not always
10880 continue on a successful lookup. Don't always use the
eac80ce2 10881 __nss_group_database value if it is set.
7b3b0b2a
UD
10882 * nss/nsswitch.conf (initgroups): Change action for successful db
10883 lookup to continue for compatibility.
10884
2a81eaa5
UD
108852011-05-09 Ulrich Drepper <drepper@gmail.com>
10886
be97a69e
UD
10887 [BZ #11532]
10888 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10889 and CP774 modules.
10890 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10891 and CP774 modules.
10892 * iconvdata/tst-tables.sh: Likewise.
10893 * iconvdata/cp770.c: New file.
10894 * iconvdata/cp771.c: New file.
10895 * iconvdata/cp772.c: New file.
10896 * iconvdata/cp773.c: New file.
10897 * iconvdata/cp774.c: New file.
10898 * iconvdata/testdata/CP770: New file.
10899 * iconvdata/testdata/CP770..UTF8: New file.
10900 * iconvdata/testdata/CP771: New file.
10901 * iconvdata/testdata/CP771..UTF8: New file.
10902 * iconvdata/testdata/CP772: New file.
10903 * iconvdata/testdata/CP772..UTF8: New file.
10904 * iconvdata/testdata/CP773: New file.
10905 * iconvdata/testdata/CP773..UTF8: New file.
10906 * iconvdata/testdata/CP774: New file.
10907 * iconvdata/testdata/CP774..UTF8: New file.
10908
10909 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10910 END CHARMAP line.
10911 * iconvdata/gen-8bit-gap.sh: Likewise.
10912 * iconvdata/gen-8bit.sh: Likewise.
10913
c1e9e399
UD
10914 * locale/iso-639.def: Add ary entry.
10915
24c55fb3 10916 [BZ #11258]
96b4b1b0
UD
10917 * locale/C-translit.h.in: Add U20A1 transliteration.
10918
bdc2f971
KB
10919 [BZ #12178]
10920 * locale/iso-639.def: Add wae entry.
10921 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10922
2952b117
UD
10923 [BZ #12545]
10924 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10925 for n.
10926
2a81eaa5
UD
10927 [BZ #12711]
10928 * locale/C-translit.h.in: Add entry for U20B9.
10929 Patch by pravin.d.s@gmail.com.
10930
28377d1b
UD
109312011-05-08 Ulrich Drepper <drepper@gmail.com>
10932
7fb90fb8
UD
10933 [BZ #12713]
10934 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10935 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10936 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10937 in rtld. Use *stat64.
7fb90fb8 10938 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10939 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10940 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10941 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10942 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10943 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10944 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10945 __fstatat64 macros.
7fb90fb8
UD
10946 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10947 * dirent/rewinddir.c: Add libc_hidden_def.
10948 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10949 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10950
28377d1b
UD
10951 * include/dirent.h (__alloc_dir): Add flags parameter.
10952 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10953 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10954 __alloc_dir.
10955 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10956 from fdopendir if O_CLOEXEC is already set.
10957
66bdbaa4
AM
109582011-03-15 Alan Modra <amodra@gmail.com>
10959
10960 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10961 l_tls_firstbyte_offset non-zero. Save padding offset in
10962 l_tls_firstbyte_offset for later use.
10963 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10964 freeing static tls block.
10965
95721191
JN
109662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10967
10968 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10969 where #ifdef was intended. The intent is to prevent ARG_MAX from
10970 being defined by the kernel headers.
10971
f87dfb1f
UD
109722011-05-07 Ulrich Drepper <drepper@gmail.com>
10973
10974 [BZ #12734]
10975 * resolv/resolv.h: Define RES_NOTLDQUERY.
10976 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10977 no-tld-query and set RES_NOTLDQUERY.
10978 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10979 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10980 modern BIND to search name as TLD unless forbidden.
10981
47c3cd7a
UD
109822011-05-07 Petr Baudis <pasky@suse.cz>
10983 Ulrich Drepper <drepper@gmail.com>
10984
10985 [BZ #12393]
10986 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10987 (is_trusted_path): ...to here.
c1e9ea35 10988 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10989 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10990 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10991
8a35c912
PP
109922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10993
10994 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10995 __BEGIN/__END_DECLS.
10996
acd41f47
UD
109972011-05-06 Ulrich Drepper <drepper@gmail.com>
10998
10999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11000 NSS_STATUS_NOTFOUND if no record was found.
11001
597df647
AS
110022011-05-05 Andreas Schwab <schwab@redhat.com>
11003
11004 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11005 (headers-not-in-tirpc): Remove rpc/netdb.h
11006 * resolv/netdb.h: Revert last change.
11007
b9af1301
PP
110082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11009
11010 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11011 circular dependency between libgcc.a and libc.a.
11012
4e34d5f5
AS
110132011-05-05 Andreas Schwab <schwab@redhat.com>
11014
11015 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11016 * nis/Makefile: Don't install rpcsvc/*.
11017 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11018 instead of <rpc/types.h>.
11019 (MAXHOSTNAMELEN): Define.
11020
00ee369c
AS
110212011-05-03 Andreas Schwab <schwab@redhat.com>
11022
11023 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11024
0b592a30
MB
110252011-04-28 Maciej Babinski <mbabinski@google.com>
11026
11027 [BZ #12714]
11028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11029 gethostbyname4_r when IPv6 results are possible.
11030
6e04cbbe
UD
110312011-05-02 Ulrich Drepper <drepper@gmail.com>
11032
11033 [BZ #12723]
11034 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11035 _PC_PIPE_BUF handling.
11036
e4ecafe0
BH
110372011-04-30 Bruno Haible <bruno@clisp.org>
11038
11039 [BZ #12717]
11040 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11041 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11042 to 'int'.
11043 * inet/getnameinfo.c (getnameinfo): Likewise.
11044
125ee683
UD
110452011-04-29 Ulrich Drepper <drepper@gmail.com>
11046
11047 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11048 to groups setting in database lookup.
11049 * nss/nsswitch.conf: Add initgroups entry.
11050
b722481a
EB
110512011-04-22 Ulrich Drepper <drepper@gmail.com>
11052
11053 [BZ #12685]
11054 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11055 mode string.
11056 Patch by Eric Blake <eblake@redhat.com>.
11057
4df46dbd
L
110582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * sunrpc/Makefile (need-export-routines): Add svc_run.
11061 (routines): Remove svc_run.
11062 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11063 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11064 * sunrpc/svc_run.c (svc_run): Likewise.
11065 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11066
e84142d2
UD
110672011-04-21 Ulrich Drepper <drepper@gmail.com>
11068
11069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11070 problem in reallocation in last patch.
11071
877175d8
UD
110722011-04-20 Ulrich Drepper <drepper@gmail.com>
11073
11074 * sunrpc/Makefile: Move inclusion of Rules.
11075
ab8eed78
UD
110762011-04-19 Ulrich Drepper <drepper@gmail.com>
11077
11078 * nss/nss_files/files-initgroups.c: New file.
11079 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11080 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11081 _nss_files_initgroups_dyn.
11082
e3d8f584
RS
110832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11084
11085 * elf/elf.h (R_ARM_IRELATIVE): Define.
11086
af190f45
UD
110872011-04-19 Ulrich Drepper <drepper@gmail.com>
11088
11089 * po/ru.po: Update from translation team.
11090
53cf59ef
UD
110912011-04-17 Ulrich Drepper <drepper@gmail.com>
11092
11093 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11094 dependencies.
11095
4c559bcd
MF
110962011-02-06 Mike Frysinger <vapier@gentoo.org>
11097
11098 [BZ #12653]
11099 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11100 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11103 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11104
4420675c
AS
111052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11106
11107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11108 differing bytes.
11109 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11112
75ea32ab
UD
111132011-04-17 Ulrich Drepper <drepper@gmail.com>
11114
11115 [BZ #12420]
11116 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11117 storing it.
11118 * stdlib/bug-getcontext.c: New file.
11119 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11120
27390476
AK
111212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11122
11123 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11124 instructions into .machine "z9-109".
11125 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11126 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11127
10442705
AK
111282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11129
11130 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11131 between environment variables and auxiliary vector.
11132
7b57bfe5
UD
111332011-04-16 Ulrich Drepper <drepper@gmail.com>
11134
11135 * Makefile: Add rules to build linkobj/libc.so.
11136 * include/libc-symbols.h: Define libc_hidden_nolink.
11137 * include/rpc/auth.h: Mark functions which are to be hidden.
11138 * include/rpc/auth_des.h: Likewise.
11139 * include/rpc/auth_unix.h: Likewise.
11140 * include/rpc/clnt.h: Likewise.
11141 * include/rpc/des_crypt.h: Likewise.
11142 * include/rpc/key_prot.h: Likewise.
11143 * include/rpc/pmap_clnt.h: Likewise.
11144 * include/rpc/pmap_prot.h: Likewise.
11145 * include/rpc/pmap_rmt.h: Likewise.
11146 * include/rpc/rpc_msg.h: Likewise.
11147 * include/rpc/svc.h: Likewise.
11148 * include/rpc/svc_auth.h: Likewise.
11149 * include/rpc/xdr.h: Likewise.
11150 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11151 * nss/Makefile: Likewise.
11152 * sunrpc/Makefile: Don't install headers. Build library with normal
11153 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11154 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11155 for the compat linking library. Remove use of INTDEF/INTUSE.
11156 * sunrpc/auth_none.c: Likewise.
11157 * sunrpc/auth_unix.c: Likewise.
11158 * sunrpc/authdes_prot.c: Likewise.
11159 * sunrpc/authuxprot.c: Likewise.
11160 * sunrpc/clnt_gen.c: Likewise.
11161 * sunrpc/clnt_perr.c: Likewise.
11162 * sunrpc/clnt_raw.c: Likewise.
11163 * sunrpc/clnt_simp.c: Likewise.
11164 * sunrpc/clnt_tcp.c: Likewise.
11165 * sunrpc/clnt_udp.c: Likewise.
11166 * sunrpc/clnt_unix.c: Likewise.
11167 * sunrpc/des_crypt.c: Likewise.
11168 * sunrpc/des_soft.c: Likewise.
11169 * sunrpc/get_myaddr.c: Likewise.
11170 * sunrpc/key_call.c: Likewise.
11171 * sunrpc/key_prot.c: Likewise.
11172 * sunrpc/netname.c: Likewise.
11173 * sunrpc/pm_getmaps.c: Likewise.
11174 * sunrpc/pm_getport.c: Likewise.
11175 * sunrpc/pmap_clnt.c: Likewise.
11176 * sunrpc/pmap_prot.c: Likewise.
11177 * sunrpc/pmap_prot2.c: Likewise.
11178 * sunrpc/pmap_rmt.c: Likewise.
11179 * sunrpc/publickey.c: Likewise.
11180 * sunrpc/rpc_cmsg.c: Likewise.
11181 * sunrpc/rpc_common.c: Likewise.
11182 * sunrpc/rpc_dtable.c: Likewise.
11183 * sunrpc/rpc_prot.c: Likewise.
11184 * sunrpc/rpc_thread.c: Likewise.
11185 * sunrpc/rtime.c: Likewise.
11186 * sunrpc/svc.c: Likewise.
11187 * sunrpc/svc_auth.c: Likewise.
11188 * sunrpc/svc_authux.c: Likewise.
11189 * sunrpc/svc_raw.c: Likewise.
11190 * sunrpc/svc_run.c: Likewise.
11191 * sunrpc/svc_simple.c: Likewise.
11192 * sunrpc/svc_tcp.c: Likewise.
11193 * sunrpc/svc_udp.c: Likewise.
11194 * sunrpc/svc_unix.c: Likewise.
11195 * sunrpc/svcauth_des.c: Likewise.
11196 * sunrpc/xcrypt.c: Likewise.
11197 * sunrpc/xdr.c: Likewise.
11198 * sunrpc/xdr_array.c: Likewise.
11199 * sunrpc/xdr_float.c: Likewise.
11200 * sunrpc/xdr_intXX_t.c: Likewise.
11201 * sunrpc/xdr_mem.c: Likewise.
11202 * sunrpc/xdr_rec.c: Likewise.
11203 * sunrpc/xdr_ref.c: Likewise.
11204 * sunrpc/xdr_sizeof.c: Likewise.
11205 * sunrpc/xdr_stdio.c: Likewise.
11206
e6c61494
UD
112072011-04-10 Ulrich Drepper <drepper@gmail.com>
11208
11209 [BZ #12650]
11210 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11211 * sysdeps/ia64/dl-tls.h: Likewise.
11212 * sysdeps/powerpc/dl-tls.h: Likewise.
11213 * sysdeps/s390/dl-tls.h: Likewise.
11214 * sysdeps/sh/dl-tls.h: Likewise.
11215 * sysdeps/sparc/dl-tls.h: Likewise.
11216 * sysdeps/x86_64/dl-tls.h: Likewise.
11217 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11218
34fe483e
AS
112192011-03-14 Andreas Schwab <schwab@redhat.com>
11220
11221 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11222 rpath element also skip the following colon.
11223 (expand_dynamic_string_token): Add is_path parameter and pass
11224 down to DL_DST_REQUIRED and _dl_dst_substitute.
11225 (decompose_rpath): Call expand_dynamic_string_token with
11226 non-zero is_path. Ignore empty rpaths.
11227 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11228 with zero is_path.
11229
f12a32e6
AS
112302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11231
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11233 Make cancelable.
11234
38a7d692
UD
112352011-04-09 Ulrich Drepper <drepper@gmail.com>
11236
11237 [BZ #12655]
11238 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11239 Patch by Filipe David Manana <fdmanana@apache.org>.
11240
e451d22b
AS
112412011-04-07 Andreas Schwab <schwab@redhat.com>
11242
11243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11244 Maintain aligned stack.
11245 (CHECK_RSP): Remove unused macro.
11246
dedc7c7b
UD
112472011-04-03 Ulrich Drepper <drepper@gmail.com>
11248
11249 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11251
94521213
UD
112522011-04-02 Ulrich Drepper <drepper@gmail.com>
11253
11254 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11255
8cb700c0 11256 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11257
0354e355
L
112582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11259
11260 [BZ #12518]
11261 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11262 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11263 * sysdeps/x86_64/memmove.c: New file.
11264 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11265 (memcpy): Renamed to ...
11266 (__new_memcpy): This.
11267 (memcpy): Provide GLIBC_2_14 memcpy.
11268 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11269 (memcpy): Provide GLIBC_2_2_5 memcpy.
11270
8593482f
UD
112712011-04-01 Ulrich Drepper <drepper@gmail.com>
11272
11273 [BZ #12631]
11274 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11275
81a5726b
AS
112762011-03-30 Andreas Schwab <schwab@redhat.com>
11277
11278 * misc/syncfs.c: New file.
11279 * misc/Makefile (routines): Add syncfs.
11280 * posix/unistd.h: Declare syncfs.
11281 * sysdeps/unix/syscalls.list: Add syncfs.
11282
00e5419f
AS
112832011-04-01 Andreas Schwab <schwab@redhat.com>
11284
11285 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11286 open_by_handle_at.
11287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11292 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11294
748876bf
UD
112952011-04-01 Ulrich Drepper <drepper@gmail.com>
11296
658e451d
UD
11297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11304
748876bf
UD
11305 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11306 sync_file_range.c with -fexceptions.
11307 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11308 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11309 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11310 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11311 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11312 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11314 sync_file_range as cancellation point
11315 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11316 now a wrapper around __call_sync_file_range with cancellation handling.
11317 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11318 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11319 function name to __call_sync_file_range.
11320 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11321 Add call_sync_file_range.
748876bf 11322
6e63d5e1
AS
113232011-04-01 Andreas Schwab <schwab@redhat.com>
11324
11325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11326 bits/timex.h.
6e63d5e1 11327
46998f74
UD
113282011-04-01 Ulrich Drepper <drepper@gmail.com>
11329
4c1423ed
UD
11330 * iconv/iconv.h: Fix typo in comment.
11331 * io/fcntl.h: Likewise.
11332 * libio/stdio.h: Likewise.
11333 * posix/spawn.h: Likewise.
11334 * posix/unistd.h: Likewise.
11335 * stdlib/stdlib.h: Likewise.
11336 * time/time.h: Likewise.
11337 * wcsmbs/wchar.h: Likewise.
11338
158648c0
UD
11339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11340 open_by_handle): Add.
11341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11342 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11343 Augment a few comments.
11344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11349 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11350 open_by_handle.
11351
46998f74
UD
11352 * io/fcntl.h (AT_EMPTY_PATH): Define.
11353
83fe108b
UD
113542011-03-30 Ulrich Drepper <drepper@gmail.com>
11355
11356 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11357 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11358 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11359 to...
11360 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11361 * Versions.def: Add GLIBC_2.14.
11362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11363 Export.
83fe108b 11364
bb242059
UD
113652011-03-22 Ulrich Drepper <drepper@gmail.com>
11366
11367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11368 round counter.
11369 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11370
c97a1282
L
113712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11372
11373 [BZ #12597]
11374 * string/test-strncmp.c (do_page_test): New function.
11375 (check2): Likewise.
11376 (test_main): Call check2.
11377 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11378
2a115601
UD
113792011-03-20 Ulrich Drepper <drepper@gmail.com>
11380
11381 [BZ #12587]
11382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11383 Handle cache information in CPU leaf 4.
11384 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11385
8126d904
UD
113862011-03-18 Ulrich Drepper <drepper@gmail.com>
11387
042c49c6 11388 [BZ #12583]
8126d904
UD
11389 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11390 character representation.
11391 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11392
ccfe366e
RA
113932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11394
11395 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11396 END(__isnan) to END(__isnanf) to match function entry point/label
11397 EALIGN(__isnanf,...).
11398
c6e13027
JJ
113992011-03-10 Jakub Jelinek <jakub@redhat.com>
11400
11401 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11402
33f85a3f
UD
114032011-03-10 Ulrich Drepper <drepper@gmail.com>
11404
028478fa
UD
11405 [BZ #12510]
11406 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11407 copy from the symbol referenced in the relocation to initialize the
11408 used variable.
11409 Patch by Piotr Bury <pbury@goahead.com>.
11410 * elf/Makefile: Add rules to build and tst-unique3.
11411 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11412 * elf/tst-unique3.cc: New file.
11413 * elf/tst-unique3.h: New file.
11414 * elf/tst-unique3lib.cc: New file.
11415 * elf/tst-unique3lib2.cc: New file.
11416
33f85a3f
UD
11417 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11418
03592fc7
MF
114192011-03-10 Mike Frysinger <vapier@gentoo.org>
11420
11421 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11422 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11423 to _start.
03592fc7 11424
6a5ee102
UD
114252011-03-06 Ulrich Drepper <drepper@gmail.com>
11426
11427 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11428 to-be-loaded object along a path to loader is ld.so.
11429
7e4ba49c
HJ
114302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11431 Ulrich Drepper <drepper@gmail.com>
11432
11433 * sysdeps/x86_64/memset.S: After aligning destination, code
11434 branches to different locations depending on the value of
11435 misalignment, when multiarch is enabled. Fix this.
11436
114372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11438
11439 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11440 Set _x86_64_preferred_memory_instruction for AMD processsors.
11441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11442 Set bit_Prefer_SSE_for_memop for AMD processors.
11443
13a804de
UD
114442011-03-04 Ulrich Drepper <drepper@gmail.com>
11445
11446 * libio/fmemopen.c (fmemopen): Optimize a bit.
11447
9d25c392
AS
114482011-03-03 Andreas Schwab <schwab@redhat.com>
11449
11450 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11451
a5543c6a
RM
114522011-03-03 Roland McGrath <roland@redhat.com>
11453
11454 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11455
012d35f7
DM
114562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11457
7e4ba49c 11458 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11459 __bzero_ultra1 instead of __memset_ultra1.
11460
4bff6e01
AS
114612011-02-23 Andreas Schwab <schwab@redhat.com>
11462 Ulrich Drepper <drepper@gmail.com>
11463
11464 [BZ #12509]
11465 * include/link.h (struct link_map): Add l_orig_initfini.
11466 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11467 returning unsuccessfully.
11468 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11469 close of a file loaded at startup, restore the original l_initfini
11470 list.
11471 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11472 list, store the pointer.
11473 * elf/Makefile ($(objpfx)noload-mem): New rule.
11474 (noload-ENV): Define.
11475 (tests): Add $(objpfx)noload-mem.
11476 * elf/noload.c: Include <memcheck.h>.
11477 (main): Call mtrace. Close all opened handles.
11478
f2092faf
AS
114792011-02-17 Andreas Schwab <schwab@redhat.com>
11480
11481 [BZ #12454]
11482 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11483 dependencies are missing.
11484
6c8a2e88
ST
114852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11486
f2092faf 11487 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11488 Hurd needs munmap.
11489 * sysdeps/mach/hurd/ifreq.h: New file.
11490
84a42118
PB
114912011-01-27 Petr Baudis <pasky@suse.cz>
11492 Ulrich Drepper <drepper@gmail.com>
11493
071f805e 11494 [BZ 12445]#
84a42118
PB
11495 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11496 to extend_alloca().
11497 * stdio-common/bug23.c: New file.
11498 * stdio-common/Makefile (tests): Add bug23.
11499
e23fe25b
AS
115002010-09-28 Andreas Schwab <schwab@redhat.com>
11501 Ulrich Drepper <drepper@gmail.com>
11502
11503 [BZ #12489]
11504 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11505 before performing relro protection. At old place add assertion
11506 to make sure nothing changed.
11507
d3f02e10
NS
115082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11509 Glauber de Oliveira Costa <glommer@gmail.com>
11510
11511 * elf/elf.h: Add new ARM TLS relocs.
11512
d55fd7a5
RA
115132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11514
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11516 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11517 cast from r3.
11518 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11519 'tests' variable.
11520 * sysdeps/wordsize-64/tst-writev.c: New file.
11521
2206397e
RA
115222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11523
11524 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11525 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11526 insns in _dl_start to prevent a TOC reference before relocs are
11527 resolved.
11528
e9433893
UD
115292011-02-15 Ulrich Drepper <drepper@gmail.com>
11530
11531 [BZ #12469]
11532 * Makeconfig: Remove RANLIB definition.
11533 * Makerules: Don't use RANLIB.
11534 * aclocal.m4: Remove ranlib test.
11535 * configure.in: No need to check for ranlib.
11536 * elf/rtld-Rules: Don't use RANLIB.
11537
f75286c6
ST
115382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11539
8e31c82d
ST
11540 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11541 protection macro.
11542 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11543 inclusion protection macro.
11544
f75286c6
ST
11545 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11546 SIGRTMIN and SIGRTMAX and print information in that case only when
11547 SIGRTMIN is defined.
11548
c1d0e639
JJ
115492011-02-11 Jakub Jelinek <jakub@redhat.com>
11550
11551 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11552 arginfo fn returning -1.
11553
11554 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11555 and thousands string is zero terminated.
11556
edf9294e
AS
115572011-02-03 Andreas Schwab <schwab@redhat.com>
11558
11559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11560 sysdeps/unix/sysv/linux/bits/socket.h.
11561
2b7e92df
ST
115622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11563
edf9294e
AS
11564 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11565 (__CPU_COUNT): Remove old macros.
11566 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11567 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11568 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11569 (__sched_cpualloc, __sched_cpufree): Add declarations.
11570
a4c7ea7b
UD
115712011-02-05 Ulrich Drepper <drepper@gmail.com>
11572
11573 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11574 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11575 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11576 (readdhstai): Return value of addhstaiX call.
11577 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11578 (addgrbyX): Return value returned by cache_addgr.
11579 (readdgrbyname): Return value returned by addgrbyX.
11580 (readdgrbygid): Likewise.
11581 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11582 (addpwbyX): Return value returned by cache_addpw.
11583 (readdpwbyname): Return value returned by addhstbyX.
11584 (readdpwbyuid): Likewise.
11585 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11586 (addservbyX): Return value returned by cache_addserv.
11587 (readdservbyname): Return value returned by addservbyX:
11588 (readdservbyport): Likewise.
11589 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11590 (addhstbyX): Return value returned by cache_addhst.
11591 (readdhstbyname): Return value returned by addhstbyX.
11592 (readdhstbyaddr): Likewise.
11593 (readdhstbynamev6): Likewise.
11594 (readdhstbyaddrv6): Likewise.
11595 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11596 (readdinitgroups): Return value returned by addinitgroupsX.
11597 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11598 (prune_cache): Keep track of timeout value of re-added entries.
11599 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11600 * nscd/nscd.h: Adjust prototypes of readd* functions.
11601
a0bf67cc
RM
116022011-02-04 Roland McGrath <roland@redhat.com>
11603
11604 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11605 (nis_stats): Likewise.
11606 * nis/nis_modify.c (nis_modify): Likewise.
11607 * nis/nis_remove.c (nis_remove): Likewise.
11608 * nis/nis_add.c (nis_add): Likewise.
11609
11610 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11611
11612 * posix/fnmatch_loop.c: Add some consts.
11613
11614 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11615
435b95eb
L
116162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11617
11618 [BZ #12460]
11619 * config.make.in (config-cflags-novzeroupper): Define.
11620 * configure.in: Substitute libc_cv_cc_novzeroupper.
11621 * elf/Makefile (AVX-CFLAGS): Define.
11622 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11623 (CFLAGS-tst-auditmod4a.c): Likewise.
11624 (CFLAGS-tst-auditmod4b.c): Likewise.
11625 (CFLAGS-tst-auditmod6b.c): Likewise.
11626 (CFLAGS-tst-auditmod6c.c): Likewise.
11627 (CFLAGS-tst-auditmod7b.c): Likewise.
11628 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11629
8517b15e
UD
116302011-02-02 Ulrich Drepper <drepper@gmail.com>
11631
11632 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11633 function to the callback.
11634 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11635
10a656fe
AS
116362011-02-02 Andreas Schwab <schwab@redhat.com>
11637
11638 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11639 of errno.
11640
968dad0a
UD
116412011-01-19 Ulrich Drepper <drepper@gmail.com>
11642
9f94d2ea 11643 [BZ #11724]
968dad0a
UD
11644 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11645 of constructors.
11646 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11647 of destructors.
11648 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11649
11650 [BZ #11724]
11651 * elf/Makefile: Add rules to build and run new test.
11652 * elf/tst-initorder.c: New file.
11653 * elf/tst-initorder.exp: New file.
11654 * elf/tst-initordera1.c: New file.
11655 * elf/tst-initordera2.c: New file.
11656 * elf/tst-initordera3.c: New file.
11657 * elf/tst-initordera4.c: New file.
11658 * elf/tst-initorderb1.c: New file.
11659 * elf/tst-initorderb2.c: New file.
11660 * elf/tst-order-a1.c: New file.
11661 * elf/tst-order-a2.c: New file.
11662 * elf/tst-order-a3.c: New file.
11663 * elf/tst-order-a4.c: New file.
11664 * elf/tst-order-b1.c: New file.
11665 * elf/tst-order-b2.c: New file.
11666 * elf/tst-order-main.c: New file.
11667 New test case by George Gensure <werkt0@gmail.com>.
11668
86e92359
UD
116692010-10-01 Andreas Schwab <schwab@redhat.com>
11670
11671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11672 decoding ACE if AI_CANONIDN.
11673
5d5732b0
UD
116742011-01-18 Ulrich Drepper <drepper@gmail.com>
11675
11676 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11677
a77e8cbc
UD
116782011-01-17 Ulrich Drepper <drepper@gmail.com>
11679
6392473f
UD
11680 * version.h (RELEASE): Bump for 2.13 release.
11681 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11682
620a0529
UD
11683 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11684
18ba70a5
UD
11685 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11686 MADV_NOHUGEPAGE.
32465c3e
UD
11687 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11693
c0dafcf1
UD
11694 * posix/getconf.c: Update copyright year.
11695 * catgets/gencat.c: Likewise.
11696 * csu/version.c: Likewise.
11697 * debug/catchsegv.sh: Likewise.
11698 * debug/xtrace.sh: Likewise.
11699 * elf/ldconfig.c: Likewise.
11700 * elf/ldd.bash.in: Likewise.
11701 * elf/sprof.c (print_version): Likewise.
11702 * iconv/iconv_prog.c: Likewise.
11703 * iconv/iconvconfig.c: Likewise.
11704 * locale/programs/locale.c: Likewise.
11705 * locale/programs/localedef.c: Likewise.
11706 * malloc/memusage.sh: Likewise.
11707 * malloc/mtrace.pl: Likewise.
11708 * nscd/nscd.c (print_version): Likewise.
11709 * nss/getent.c: Likewise.
11710
a77e8cbc
UD
11711 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11712 PF_CAIF, and PF_ALG.
11713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11714
77e8bddf
AS
117152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11716
1f20b93a
AS
11717 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11718 (modules-names): Use them.
11719 (ifunc-test-modules, ifunc-pie-tests): Define.
11720 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11721 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11722 (test-extras): Likewise.
11723 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11724 $(compile-command.c).
11725 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11726 (all-built-dso): Define.
11727 (check-textrel.out, check-execstack.out): Depend on it.
11728
77e8bddf
AS
11729 * configure.in: Don't override --enable-multi-arch.
11730
bc425b33
UD
117312011-01-15 Ulrich Drepper <drepper@gmail.com>
11732
11733 [BZ #6812]
11734 * nscd/hstcache.c (tryagain): Define.
11735 (cache_addhst): Return tryagain not notfound for temporary errors.
11736 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11737 failed.
11738
794c3ad3
UD
117392011-01-14 Ulrich Drepper <drepper@gmail.com>
11740
70181fdd
UD
11741 [BZ #10563]
11742 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11743 to make the syscall.
11744 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11745
794c3ad3
UD
11746 [BZ #12378]
11747 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11748 and fall back to matching as normal character if the string ends before
11749 the matching ']' is found. This is what POSIX requires.
11750 * posix/testfnm.c: Adjust test result.
11751 * posix/globtest.sh: Adjust test result. Add new test.
11752 * posix/tst-fnmatch.input: Likewise.
11753 * posix/tst-fnmatch2.c: Add new test.
11754
68dc9497
AS
117552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11756
11757 * elf/Makefile (check-execstack): Revert last change. Depend on
11758 check-execstack.h.
11759 (check-execstack.h): New target.
11760 (generated): Add check-execstack.h.
11761 * elf/check-execstack.c: Include "check-execstack.h".
11762 (main): Revert last change.
11763 (handle_file): Return zero if GNU_STACK is absent and
11764 DEFAULT_STACK_PERMS doesn't include PF_X.
11765
451f001b
UD
117662011-01-13 Ulrich Drepper <drepper@gmail.com>
11767
cfa28e56
UD
11768 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11769 in child fails because the descriptor is already closed.
8cf8ce17
UD
11770 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11771 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11772 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11773
1086d70d
UD
11774 [BZ #12397]
11775 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11776 syscall.
11777
451f001b
UD
11778 [BZ #10484]
11779 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11780 temporary buffer used to handle multi lookups locally.
a85b5cb4 11781 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11782
08769175
UD
117832011-01-12 Ulrich Drepper <drepper@gmail.com>
11784
11785 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11786 loader is ld.so.
11787
5e49c52e
UD
117882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11789
11790 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11791 alignment for SSE2.
11792
60522a5f
UD
117932011-01-12 Ulrich Drepper <drepper@gmail.com>
11794
11795 [BZ #12394]
11796 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11797 characters. When rounding increased number of integer digits recompute
11798 number of groups.
11799 * stdio-common/tst-grouping.c: New file.
11800 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11801
f257bbd7
UD
118022011-01-09 Ulrich Drepper <drepper@gmail.com>
11803
11804 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11805 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11806
11807 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11808 void.
11809 * bits/select.h: Likewise.
11810
fa9c15cb
UD
118112011-01-08 Ulrich Drepper <drepper@gmail.com>
11812
11813 * po/ja.po: Update from translation team.
11814
16c2895f
DM
118152011-01-04 David S. Miller <davem@sunset.davemloft.net>
11816
11817 [BZ #11155]
11818 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11819 implementation just like for lxstat, fxstatat, et al.
11820
2543fef2
JM
118212010-12-27 Jim Meyering <meyering@redhat.com>
11822
11823 [BZ #12348]
11824 * posix/regexec.c (build_trtable): Return failure indication upon
11825 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11826
98727dbe
UD
118272010-12-25 Ulrich Drepper <drepper@gmail.com>
11828
5bd6dc5c
UD
11829 [BZ #12201]
11830 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11831 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11833 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11834
97983464
UD
11835 [BZ #12207]
11836 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11837
98727dbe
UD
11838 [BZ #12204]
11839 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11840 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11841
4a531bb0
L
118422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11843
11844 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11845 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11846 script has SORT_BY_INIT_PRIORITY.
11847 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11848 NO_CTORS_DTORS_SECTIONS is defined.
11849 * elf/soinit.c: Likewise.
11850 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11851 NO_CTORS_DTORS_SECTIONS is defined.
11852 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11853 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11854 * sysdeps/sh/init-first.c: Likewise.
11855 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11856
07eb4b71
UD
118572010-12-24 Ulrich Drepper <drepper@gmail.com>
11858
11859 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11860 always use the slow path.
11861
30950a5f
RA
118622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11863
11864 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11865 similar rule which adds the sysdep directories to the header search in
11866 order to pick up the correct platform stackinfo.h.
11867 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11868 perform test if it is, otherwise return successfully without testing.
11869 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11870 DEFAULT_STACK_PERMS define in stackinfo.h.
11871 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11872 defined in stackinfo.h.
11873 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11874 DEFAULT_STACK_PERMS defined in stackinfo.h.
11875 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11876 * sysdeps/ia64/stackinfo.h: Likewise.
11877 * sysdeps/s390/stackinfo.h: Likewise.
11878 * sysdeps/sh/stackinfo.h: Likewise.
11879 * sysdeps/sparc/stackinfo.h: Likewise.
11880 * sysdeps/x86_64/stackinfo.h: Likewise.
11881 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11882 PF_X for powerpc64. Retain PF_X for powerpc32.
11883
db753e2c
UD
118842010-12-19 Ulrich Drepper <drepper@gmail.com>
11885
14b697f7
UD
11886 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11887 accurately.
db753e2c
UD
11888 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11889 GETDENTS_64BIT_ALIGNED.
11890
28300719
UD
118912010-12-14 Ulrich Drepper <dreper@gmail.com>
11892
14b697f7 11893 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11894
4f197237
AS
118952010-12-10 Andreas Schwab <schwab@redhat.com>
11896
dbb0472f
AS
11897 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11898 _GNU_SOURCE.
11899
4f197237
AS
11900 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11901 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11902 Remove __restrict.
11903 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11904 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11905
fb88ac72
UD
119062010-12-09 Ulrich Drepper <drepper@gmail.com>
11907
11908 [BZ #11655]
11909 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11910 are initialized.
11911
42acbb92
JJ
119122010-12-09 Jakub Jelinek <jakub@redhat.com>
11913
11914 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11915
c038d98d
UD
119162010-12-03 Ulrich Drepper <drepper@gmail.com>
11917
11918 * po/it.po: Update from translation team.
11919
3a4a2499
L
119202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11923 unused codes.
11924
1e24cf6e
UD
119252010-11-30 Ulrich Drepper <drepper@gmail.com>
11926
11927 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11928
a7690819
AS
119292010-11-24 Andreas Schwab <schwab@redhat.com>
11930
11931 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11932 specially.
11933 (gaih_getanswer_slice): Likewise.
11934
3bf8d1b1
JJ
119352010-10-20 Jakub Jelinek <jakub@redhat.com>
11936
11937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11938
6db52fbb
PB
119392010-05-31 Petr Baudis <pasky@suse.cz>
11940
11941 [BZ #11149]
11942 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11943 silently even in the chroot mode.
11944
eaca7569
UD
119452010-11-22 Ulrich Drepper <drepper@gmail.com>
11946
11947 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11948 last patch a bit. Pretty printing
11949
3056dcdb
UD
119502010-05-31 Petr Baudis <pasky@suse.cz>
11951
11952 [BZ #10085]
11953 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11954 initialization of skip_initgroups_dyn.
11955
cf7c9078
UD
119562010-11-19 Ulrich Drepper <drepper@gmail.com>
11957
11958 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11960
a1fb5e3e
UD
119612010-11-16 Ulrich Drepper <drepper@gmail.com>
11962
11963 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11964
3540d66b
AS
119652010-11-11 Andreas Schwab <schwab@redhat.com>
11966
11967 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11968 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11969 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11970 ($(objpfx)tst-fnmatch-mem): New rule.
11971 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11972 * posix/tst-fnmatch.c (main): Call mtrace.
11973
13b69574
L
119742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11975
11976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11977 Support Intel processor model 6 and model 0x2c.
11978
da93d214
LM
119792010-11-10 Luis Machado <luisgpm@br.ibm.com>
11980
11981 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11982 signed comparison.
11983
8ca52c6e
L
119842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 [BZ #12205]
11987 * string/test-strncasecmp.c (check_result): New function.
11988 (do_one_test): Use it.
11989 (check1): New function.
11990 (test_main): Use it.
11991 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11992 Support strcasecmp and strncasecmp.
11993
69da074d
UD
119942010-11-08 Ulrich Drepper <drepper@gmail.com>
11995
11996 [BZ #12194]
11997 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11999
ff02d528
L
120002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12003 IFUNC support.
12004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12005 memset-x86-64.
12006 * sysdeps/x86_64/multiarch/bzero.S: New file.
12007 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12008 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12009 * sysdeps/x86_64/multiarch/memset.S: New file.
12010 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12012 Set bit_Prefer_SSE_for_memop for Intel processors.
12013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12014 Define.
12015 (index_Prefer_SSE_for_memop): Define.
12016 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12017
344d0b54
LM
120182010-11-04 Luis Machado <luisgpm@br.ibm.com>
12019
12020 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12021 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12022
c0dde15b
UD
120232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12024
12025 [BZ #12191]
12026 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12027 (__x86_64_raw_data_cache_size_half): Likewise.
12028 (__x86_64_raw_shared_cache_size): Likewise.
12029 (__x86_64_raw_shared_cache_size_half): Likewise.
12030
12031 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12032 (__x86_64_raw_data_cache_size_half): Likewise.
12033 (__x86_64_raw_shared_cache_size): Likewise.
12034 (__x86_64_raw_shared_cache_size_half): Likewise.
12035 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12036 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12037 and __x86_64_raw_shared_cache_size_half. Round
12038 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12039 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12040 to multiple of 256 bytes.
12041
0e516e0e
MS
120422010-11-03 Ulrich Drepper <drepper@gmail.com>
12043
12044 [BZ #12167]
12045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12046 of inacessible symlinks. Verify result of symlink before returning it.
12047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12048 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12049
0e012e87
ER
120502010-10-28 Erich Ritz <erichritz@gmail.com>
12051
12052 * math/math.h (isinf): Fix typo in comment.
12053
de0ff7bc
UD
120542010-11-01 Ulrich Drepper <drepper@gmail.com>
12055
12056 * po/da.po: Update from translation team.
12057
fa41c84d
UD
120582010-10-26 Ulrich Drepper <drepper@gmail.com>
12059
12060 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12061 is added to the list.
12062
f0967738
AK
120632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12064 Ulrich Drepper <drepper@gmail.com>
12065
12066 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12067 the global list here. Move code to...
12068 (_dl_add_to_namespace_list): ...here. New function.
12069 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12070 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12071 * elf/dl-load.c (lose): Don't remove the element from the list.
12072 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12073 (_dl_map_object): Likewise.
12074
120752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12076
12077 [BZ #12159]
12078 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12079 into all bytes of SSE register.
12080 Patch by Richard Li <richardpku@gmail.com>.
12081
f0967738 120822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12083
12084 [BZ #12140]
12085 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12086 perturbing.
12087
d0b9e94f
MB
120882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12089
12090 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12091 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12093 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12095 submachine.
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12097
8e9f92e9
AS
120982010-10-22 Andreas Schwab <schwab@redhat.com>
12099
12100 * include/dlfcn.h (__RTLD_SECURE): Define.
12101 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12102 mode & __RTLD_SECURE instead.
12103 (open_path): Rename preloaded parameter to secure.
12104 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12105 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12106 * elf/dl-deps.c (openaux): Likewise.
12107 * elf/rtld.c (struct map_args): Remove is_preloaded.
12108 (map_doit): Don't use it.
12109 (dl_main): Likewise.
12110 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12111 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12112
bc96fbda
AS
121132010-09-09 Andreas Schwab <schwab@redhat.com>
12114
12115 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12116 (sysd-rules-targets): Remove duplicates.
12117 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12118 rtld-%.$o dependency.
12119
22cd1c9b
AS
121202010-10-18 Andreas Schwab <schwab@redhat.com>
12121
12122 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12123 _dl_map_object do it.
12124
18edac48
UD
121252010-10-19 Ulrich Drepper <drepper@gmail.com>
12126
12127 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12128 fast fma builtins, define the macros in the C99 standard.
12129 (FP_FAST_FMAF): Likewise.
12130 (FP_FAST_FMAL): Likewise.
12131 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12132
12133 * bits/mathdef.h: Update copyright year.
12134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12135
d2050124
MM
121362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12137
12138 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12139 builtins, define the macros in the C99 standard.
12140 (FP_FAST_FMAF): Likewise.
12141 (FP_FAST_FMAL): Likewise.
12142 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12143 multiply/add.
12144 (FP_FAST_FMAF): Likewise.
12145
475facd1
JJ
121462010-10-15 Jakub Jelinek <jakub@redhat.com>
12147
12148 [BZ #3268]
12149 * math/libm-test.inc (fma_test): Some new testcases.
12150 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12151 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12152 y and infinite z. Do multiplication by C already in long double.
12153 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12155 y and infinite z. Do bitwise or of inexact bit into u.d.
12156 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12157 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12158 * sysdeps/i386/fpu/s_fma.S: Removed.
12159 * sysdeps/i386/fpu/s_fmal.S: Removed.
12160
7c08a05c
JJ
121612010-10-16 Jakub Jelinek <jakub@redhat.com>
12162
12163 [BZ #3268]
12164 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12166 computation is not scheduled after fetestexcept. Fix value
12167 of minimum denormal long double.
12168
f3f7372d
JJ
121692010-10-14 Jakub Jelinek <jakub@redhat.com>
12170
12171 [BZ #3268]
12172 * math/libm-test.inc (fma_test): Add some more tests.
12173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12174 correctly.
12175
14d43591
AS
121762010-10-15 Andreas Schwab <schwab@redhat.com>
12177
12178 * scripts/data/localplt-s390-linux-gnu.data: New file.
12179 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12180
5e908464
JJ
121812010-10-13 Jakub Jelinek <jakub@redhat.com>
12182
12183 [BZ #3268]
12184 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12185 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12186 instead of dbl-64.
12187 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12188 inlines.
12189 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12191 if one of x and y is very large and the other is subnormal.
12192 * sysdeps/s390/fpu/s_fmaf.c: New file.
12193 * sysdeps/s390/fpu/s_fma.c: New file.
12194 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12195 * sysdeps/powerpc/fpu/s_fma.S: New file.
12196 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12197 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12198 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12199
122002010-10-12 Jakub Jelinek <jakub@redhat.com>
12201
12202 [BZ #3268]
12203 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12204 fma tests.
12205 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12206 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12207 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12208 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12209 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12210 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12212
b833d51f
UD
122132010-10-12 Ulrich Drepper <drepper@redhat.com>
12214
12215 [BZ #12078]
12216 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12217 * posix/bug-regex31.input: Add test case.
12218
1751705d
UD
122192010-10-11 Ulrich Drepper <drepper@gmail.com>
12220
e9b9cbf5
UD
12221 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12222 * posix/bug-regex31.input: New file.
12223
12224 [BZ #12078]
12225 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12226 (parse_sub_exp): Fix last change, use postorder.
12227
ef06edbe
UD
12228 * posix/bug-regex31.c: New file.
12229 * posix/Makefile: Add rules to build and run bug-regex31.
12230
a129c80d
UD
12231 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12232
12233 [BZ #12078]
12234 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12235
b76b818e
UD
12236 [BZ #12108]
12237 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12238 to have entries in sys_siglist.
12239
1751705d
UD
12240 [BZ #12093]
12241 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12242 be NULL.
12243
9ff8d36f
JJ
122442010-10-07 Jakub Jelinek <jakub@redhat.com>
12245
12246 [BZ #3268]
12247 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12248 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12249 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12250 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12251 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12252 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12253 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12254 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12255 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12256 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12257 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12258 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12259 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12260 * math/ftestexcept.c (fetestexcept): Likewise.
12261 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12262 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12263 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12264 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12265 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12266 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12267 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12268
af325969
UD
122692010-10-11 Ulrich Drepper <drepper@gmail.com>
12270
c579b202 12271 [BZ #12107]
af325969
UD
12272 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12273 newline.
12274
67a67b95
UD
122752010-10-06 Ulrich Drepper <drepper@gmail.com>
12276
12277 * string/bug-strstr1.c: New file.
12278 * string/Makefile: Add rules to build and run bug-strstr1.
12279
5fb308bc
EB
122802010-10-05 Eric Blake <eblake@redhat.com>
12281
12282 [BZ #12092]
12283 * string/str-two-way.h (two_way_long_needle): Always clear memory
12284 when skipping input due to the shift table.
12285
45db99c7
UD
122862010-10-03 Ulrich Drepper <drepper@gmail.com>
12287
3b111893
UD
12288 [BZ #12005]
12289 * malloc/mcheck.c: Handle large requests.
12290
45db99c7
UD
12291 [BZ #12077]
12292 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12293 for strncmp and strncasecmp.
12294 * string/stratcliff.c: Add tests for strcmp and strncmp.
12295 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12296
cf7a1eb8
NI
122972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12298
12299 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12300 __set_fpscr.
12301
6484ba5e
AJ
123022010-09-30 Andreas Jaeger <aj@suse.de>
12303
12304 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12305 (CGROUP_SUPER_MAGIC): Define.
12306 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12307 Handle btrfs and cgroup file systems.
12308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12309 Likewise.
12310
91c42559
LM
123112010-09-27 Luis Machado <luisgpm@br.ibm.com>
12312
12313 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12314 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12315
87a97932
AK
123162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12317
12318 [BZ #12067]
12319 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12320 trying to locate the ELF header.
12321
c21cc9bc
AS
123222010-09-27 Andreas Schwab <schwab@redhat.com>
12323
12324 [BZ #11611]
12325 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12326 Mask out sign-bit copies when constructing f_fsid.
12327
315970f6
PB
123282010-09-24 Petr Baudis <pasky@suse.cz>
12329
12330 * debug/stack_chk_fail_local.c: Add missing licence exception.
12331 * debug/warning-nop.c: Likewise.
12332
1ac7a2c7
JM
123332010-09-15 Joseph Myers <joseph@codesourcery.com>
12334
12335 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12336 implementing getdents64 using getdents syscall, set d_type if
12337 __ASSUME_GETDENTS32_D_TYPE.
12338
56801c50
AS
123392010-09-16 Andreas Schwab <schwab@redhat.com>
12340
12341 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12342 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12343
dda51327
UD
123442010-09-21 Ulrich Drepper <drepper@redhat.com>
12345
12346 [BZ #12037]
12347 * posix/unistd.h: Undo change of feature selection for ftruncate from
12348 2010-01-11.
12349
8ffcee4a
UD
123502010-09-20 Ulrich Drepper <drepper@redhat.com>
12351
a545ecd9 12352 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12353 detection.
12354
e24f0a8b
AS
123552010-09-20 Andreas Schwab <schwab@redhat.com>
12356
12357 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12358 fanotify_mark.
12359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12360
7291c56f
AS
123612010-09-14 Andreas Schwab <schwab@redhat.com>
12362
12363 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12364 variables after CHECK_SP call.
12365 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12366
bc5fb037
AS
123672010-09-13 Andreas Schwab <schwab@redhat.com>
12368 Ulrich Drepper <drepper@redhat.com>
12369
12370 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12371 re-relocationg ld.so.
12372 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12373 _dl_init_paths call.
12374 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12375 here anymore.
12376
e66e7419
UD
123772010-09-14 Ulrich Drepper <drepper@redhat.com>
12378
12379 * resolv/res_init.c (__res_vinit): Count the default server we added.
12380
c044aa75
CLT
123812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12382 Ulrich Drepper <drepper@redhat.com>
12383
12384 [BZ #11968]
12385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12386 (____longjmp_chk): Use %ebx for saving value across system call.
12387 Add unwind info.
12388
32cf4069
AS
123892010-09-06 Andreas Schwab <schwab@redhat.com>
12390
12391 * manual/Makefile: Don't mix pattern rules with normal rules.
12392
817328ee
AS
123932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12394
12395 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12396 operation.
12397 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12398 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12399 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12400 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12402 Likewise.
12403
29fddf61
UD
124042010-09-04 Ulrich Drepper <drepper@redhat.com>
12405
12406 [BZ #11979]
12407 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12408 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12409
0959ffc9
UD
124102010-09-02 Ulrich Drepper <drepper@redhat.com>
12411
12412 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12413 * sysdeps/x86_64/addmul_1.S: Likewise.
12414 * sysdeps/x86_64/lshift.S: Likewise.
12415 * sysdeps/x86_64/mul_1.S: Likewise.
12416 * sysdeps/x86_64/rshift.S: Likewise.
12417 * sysdeps/x86_64/sub_n.S: Likewise.
12418 * sysdeps/x86_64/submul_1.S: Likewise.
12419
ece29840
ST
124202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12421
0959ffc9
UD
12422 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12423 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12424 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12425 * bits/sched.h [__need_schedparam]
ece29840 12426 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12427 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12428 (__defined_schedparam): Define to 1.
ece29840
ST
12429 (__sched_param): New structure, identical to sched_param.
12430 (__need_schedparam): Undefine.
12431
e53a31fe
MF
124322010-08-31 Mike Frysinger <vapier@gentoo.org>
12433
fdc0c10d
MF
12434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12435 (epoll_create1): Declare.
12436
e53a31fe
MF
12437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12438
a726d796
AS
124392010-08-31 Andreas Schwab <schwab@redhat.com>
12440
12441 [BZ #7066]
12442 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12443 shifting retval into place.
12444
2f3e3dc7
UD
124452010-09-01 Ulrich Drepper <drepper@redhat.com>
12446
f2933da9
UD
12447 * nis/rpcsvc/nis.h: Update copyright notice.
12448 * nis/rpcsvc/nis.x: Likewise.
12449 * nis/rpcsvc/nis_callback.h: Likewise.
12450 * nis/rpcsvc/nis_callback.x: Likewise.
12451 * nis/rpcsvc/nis_object.x: Likewise.
12452 * nis/rpcsvc/nis_tags.h: Likewise.
12453 * nis/rpcsvc/yp.h: Likewise.
12454 * nis/rpcsvc/yp.x: Likewise.
12455 * nis/rpcsvc/ypupd.h: Likewise.
12456 * nis/yp_xdr.c: Likewise.
12457 * nis/ypupdate_xdr.c: Likewise.
12458
2f3e3dc7
UD
12459 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12460 mainly the body of pmap_getport. Add parameters to specify timeouts.
12461 (pmap_getport): Use __libc_rpc_getport.
12462 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12463 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12464 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12465
f3dcc2f9
AS
124662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12467
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12469 fanotify_mark.
12470
6d34eb5b
RM
124712010-08-27 Roland McGrath <roland@redhat.com>
12472
12473 * sysdeps/i386/i686/multiarch/Makefile
12474 (CFLAGS-varshift.c): New variable.
12475
9ea3de11
UD
124762010-08-27 Ulrich Drepper <drepper@redhat.com>
12477
c96d23fc
UD
12478 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12479 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12480
9ea3de11
UD
12481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12482
12483 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12484
623aac7f
L
124852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12486
12487 * sysdeps/x86_64/strlen.S: Unroll the loop.
12488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12489 strlen-sse2 strlen-sse2-bsf.
12490 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12491 __strlen_no_bsf if bit_Slow_BSF is set.
12492 (__strlen_sse42): Removed.
12493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12494 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12495
8b2b7715
RM
124962010-08-25 Roland McGrath <roland@redhat.com>
12497
12498 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12499 * sysdeps/x86_64/multiarch/varshift.c: New file.
12500 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12501 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12502 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12503 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12504
e73015f2
L
125052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12508 strlen-sse2 strlen-sse2-bsf.
12509 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12510 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12511 (__strlen_sse2): Removed.
12512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12515 bit_Slow_BSF for Atom.
12516 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12517 (index_Slow_BSF): Define.
12518 (HAS_SLOW_BSF): Define.
12519
df24a73e
UD
125202010-08-25 Ulrich Drepper <drepper@redhat.com>
12521
12522 [BZ #10851]
12523 * resolv/res_init.c (__res_vinit): When no server address at all
12524 is given default to loopback.
12525
f2ac4868
RM
125262010-08-24 Roland McGrath <roland@redhat.com>
12527
09055553
RM
12528 * configure.in: Remove config-name.h generation.
12529 * configure: Regenerated.
12530 * config-name.in: File removed.
12531 * scripts/config-uname.sh: New file.
12532 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12533 ($(objdir)config-name.h): New target.
12534
f2ac4868
RM
12535 * sunrpc/rpc_parse.h: Avoid nested comment.
12536
73f27d5e
RH
125372010-08-24 Richard Henderson <rth@redhat.com>
12538 Ulrich Drepper <drepper@redhat.com>
12539 H.J. Lu <hongjiu.lu@intel.com>
12540
12541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12543 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12544 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12545 _mm_alignr_epi8 with _mm_loadu_si128.
12546 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12547 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12548 (__m128i_shift_right): Removed.
12549 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12550 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12551 * sysdeps/x86_64/multiarch/varshift.h: New file.
12552 * sysdeps/x86_64/multiarch/varshift.S: New file.
12553
84b9230c
MF
125542010-08-21 Mike Frysinger <vapier@gentoo.org>
12555
12556 * configure.in: Move assembler checks to before sysdep dir checking.
12557
9bbd0ddc
PB
125582010-08-20 Petr Baudis <pasky@suse.cz>
12559
12560 * LICENSES: Sync the sunrpc license.
12561
9da4bb31
UD
125622010-08-19 Ulrich Drepper <drepper@redhat.com>
12563
a7ab6ec8
UD
12564 * sunrpc/auth_des.c: Update copyright notice once again.
12565 * sunrpc/auth_none.c: Likewise.
12566 * sunrpc/auth_unix.c: Likewise.
12567 * sunrpc/authdes_prot.c: Likewise.
12568 * sunrpc/authuxprot.c: Likewise.
12569 * sunrpc/bindrsvprt.c: Likewise.
12570 * sunrpc/clnt_gen.c: Likewise.
12571 * sunrpc/clnt_perr.c: Likewise.
12572 * sunrpc/clnt_raw.c: Likewise.
12573 * sunrpc/clnt_simp.c: Likewise.
12574 * sunrpc/clnt_tcp.c: Likewise.
12575 * sunrpc/clnt_udp.c: Likewise.
12576 * sunrpc/clnt_unix.c: Likewise.
12577 * sunrpc/des_crypt.c: Likewise.
12578 * sunrpc/des_soft.c: Likewise.
12579 * sunrpc/get_myaddr.c: Likewise.
12580 * sunrpc/getrpcport.c: Likewise.
12581 * sunrpc/key_call.c: Likewise.
12582 * sunrpc/key_prot.c: Likewise.
12583 * sunrpc/openchild.c: Likewise.
12584 * sunrpc/pm_getmaps.c: Likewise.
12585 * sunrpc/pm_getport.c: Likewise.
12586 * sunrpc/pmap_clnt.c: Likewise.
12587 * sunrpc/pmap_prot.c: Likewise.
12588 * sunrpc/pmap_prot2.c: Likewise.
12589 * sunrpc/pmap_rmt.c: Likewise.
12590 * sunrpc/rpc/auth.h: Likewise.
12591 * sunrpc/rpc/auth_unix.h: Likewise.
12592 * sunrpc/rpc/clnt.h: Likewise.
12593 * sunrpc/rpc/des_crypt.h: Likewise.
12594 * sunrpc/rpc/key_prot.h: Likewise.
12595 * sunrpc/rpc/netdb.h: Likewise.
12596 * sunrpc/rpc/pmap_clnt.h: Likewise.
12597 * sunrpc/rpc/pmap_prot.h: Likewise.
12598 * sunrpc/rpc/pmap_rmt.h: Likewise.
12599 * sunrpc/rpc/rpc.h: Likewise.
12600 * sunrpc/rpc/rpc_des.h: Likewise.
12601 * sunrpc/rpc/rpc_msg.h: Likewise.
12602 * sunrpc/rpc/svc.h: Likewise.
12603 * sunrpc/rpc/svc_auth.h: Likewise.
12604 * sunrpc/rpc/types.h: Likewise.
12605 * sunrpc/rpc/xdr.h: Likewise.
12606 * sunrpc/rpc_clntout.c: Likewise.
12607 * sunrpc/rpc_cmsg.c: Likewise.
12608 * sunrpc/rpc_common.c: Likewise.
12609 * sunrpc/rpc_cout.c: Likewise.
12610 * sunrpc/rpc_dtable.c: Likewise.
12611 * sunrpc/rpc_hout.c: Likewise.
12612 * sunrpc/rpc_main.c: Likewise.
12613 * sunrpc/rpc_parse.c: Likewise.
12614 * sunrpc/rpc_parse.h: Likewise.
12615 * sunrpc/rpc_prot.c: Likewise.
12616 * sunrpc/rpc_sample.c: Likewise.
12617 * sunrpc/rpc_scan.c: Likewise.
12618 * sunrpc/rpc_scan.h: Likewise.
12619 * sunrpc/rpc_svcout.c: Likewise.
12620 * sunrpc/rpc_tblout.c: Likewise.
12621 * sunrpc/rpc_util.c: Likewise.
12622 * sunrpc/rpc_util.h: Likewise.
12623 * sunrpc/rpcinfo.c: Likewise.
12624 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12625 * sunrpc/rpcsvc/key_prot.x: Likewise.
12626 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12627 * sunrpc/rpcsvc/mount.x: Likewise.
12628 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12629 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12630 * sunrpc/rpcsvc/rex.x: Likewise.
12631 * sunrpc/rpcsvc/rstat.x: Likewise.
12632 * sunrpc/rpcsvc/rusers.x: Likewise.
12633 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12634 * sunrpc/rpcsvc/spray.x: Likewise.
12635 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12636 * sunrpc/rtime.c: Likewise.
12637 * sunrpc/svc.c: Likewise.
12638 * sunrpc/svc_auth.c: Likewise.
12639 * sunrpc/svc_authux.c: Likewise.
12640 * sunrpc/svc_raw.c: Likewise.
12641 * sunrpc/svc_run.c: Likewise.
12642 * sunrpc/svc_simple.c: Likewise.
12643 * sunrpc/svc_tcp.c: Likewise.
12644 * sunrpc/svc_udp.c: Likewise.
12645 * sunrpc/svc_unix.c: Likewise.
12646 * sunrpc/svcauth_des.c: Likewise.
12647 * sunrpc/xcrypt.c: Likewise.
12648 * sunrpc/xdr.c: Likewise.
12649 * sunrpc/xdr_array.c: Likewise.
12650 * sunrpc/xdr_float.c: Likewise.
12651 * sunrpc/xdr_mem.c: Likewise.
12652 * sunrpc/xdr_rec.c: Likewise.
12653 * sunrpc/xdr_ref.c: Likewise.
12654 * sunrpc/xdr_sizeof.c: Likewise.
12655 * sunrpc/xdr_stdio.c: Likewise.
12656
9da4bb31
UD
12657 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12658 handling.
12659
bdaa77bc
AS
126602010-08-19 Andreas Schwab <schwab@redhat.com>
12661
12662 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12663
fe2f79db
LM
126642010-08-19 Luis Machado <luisgpm@br.ibm.com>
12665
12666 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12667 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12668 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12669 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12670 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12671 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12672 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12673 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12674 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12675 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12676 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12677 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12678 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12679 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12680
b9b42ee0
AB
126812010-07-26 Anton Blanchard <anton@samba.org>
12682
12683 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12684 * malloc/arena.c (heap_trim): Likewise.
12685
1c06ba31
UD
126862010-08-16 Ulrich Drepper <drepper@redhat.com>
12687
12688 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12689 here. Not...
12690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12691 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12692
f8392f40
L
126932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 * sysdeps/i386/elf/Makefile: New file.
12696
3162f12e
AS
126972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12698
12699 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12700 from fanotify_init.
12701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12702 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12703
28c90b2c
UD
127042010-08-15 Ulrich Drepper <drepper@redhat.com>
12705
12706 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12707 of strncasecmp_l.
1feccb6c 12708 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12709
ca6bb004
UD
127102010-08-14 Ulrich Drepper <drepper@redhat.com>
12711
e9f82e0d
UD
12712 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12713 strncase_l-nonascii.
12714 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12715 Add strncase_l-ssse3.
12716 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12717 * sysdeps/x86_64/strcmp.S: Likewise.
12718 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12719 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12720 * sysdeps/x86_64/strncase.S: New file.
12721 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12722 * sysdeps/x86_64/strncase_l.S: New file.
12723 * string/Makefile (strop-tests): Add strncasecmp.
12724 * string/test-strncasecmp.c: New file.
12725
12726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12727 warning.
12728
ca6bb004
UD
12729 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12730 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12731
052fa7b3
AS
127322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12733
12734 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12735
962dba78
UD
127362010-08-12 Ulrich Drepper <drepper@redhat.com>
12737
12738 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12741
bebff237
AM
127422010-05-01 Alan Modra <amodra@gmail.com>
12743
12744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12745 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12746 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12747 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12748 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12749 tidying. Don't tail-call __sigjmp_save for static lib.
12750 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12751 save location.
12752 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12753 (CALL_MCOUNT): Add eh info, and nop after bl.
12754 (TAIL_CALL_SYSCALL_ERROR): New macro.
12755 (PSEUDO_RET): Use it.
12756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12757 Correct save location of integer regs and cr.
12758 (_dl_profile_resolve): Correct cr save location. Delete nops
12759 after bl when SHARED. Reduce cfi size a little by better
12760 placement of cfi directives.
12761 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12762 make a stack frame. Instead use parm save area as a temp.
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12764 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12766 Don't make a stack frame for parent, use parm save area.
12767 Increase child stack frame to 112 bytes. Don't save unused reg,
12768 and adjust reg usage. Set up cfi on error recovery and
12769 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12771 (__makecontext): Add dummy nop after jump to exit.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12773 Use correct parm save area and cr save, reduce stack frame.
12774 Correct cfi for possible PSEUDO_RET frame setup.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12776 Branch to local label emitted by PSEUDO_RET rather than
12777 __syscall_error.
12778
02637374
AS
127792010-08-12 Andreas Schwab <schwab@redhat.com>
12780
12781 [BZ #11904]
12782 * locale/programs/locale.c (print_assignment): New function.
12783 (show_locale_vars): Use it.
12784
c3e2f19b
UD
127852010-08-11 Ulrich Drepper <drepper@redhat.com>
12786
3cdaa6ad
UD
12787 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12788 field.
12789 (struct statfs64): Likewise.
12790 (_STATFS_F_FLAGS): Define.
12791 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12793 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12794 (ST_VALID): Define locally.
12795 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12796 __statvfs_getflags, use the provided value.
12797 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12798 __ASSUME_STATFS_F_FLAGS.
12799
754f7da3
UD
12800 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12801
10b3bedc
UD
12802 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12803 Add sys/fanotify.h.
12804 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12805 fanotify_mask for GLIBC_2.13.
12806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12807 fanotify_init and fanotify_mark.
12808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12809 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12810
c08fb0d7
UD
12811 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12812 Add prlimit.
12813 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12814 prlimit64 for GLIBC_2.13.
12815 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12816 prlimit64.
12817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12818 syscall.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12820 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12822 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12824 add prlimit alias.
12825 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12826
15bac72b
UD
12827 [BZ #11903]
12828 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12829 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12830
c3e2f19b
UD
12831 * nss/Makefile: Add rules to build and run tst-nss-test1.
12832 * shlib-versions: Add entry for libnss_test1.
12833 * nss/nss_test1.c: New file.
12834 * nss/tst-nss-test1.c: New file.
12835
12836 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12837 (__nss_configure_lookup): Set appropriate entry in
12838 __nss_configure_lookup to true.
12839 * nss/nsswitch.h: Define enum with indeces of databases in
12840 databases and __nss_database_custom arrays. Declare
12841 __nss_database_custom.
12842 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12843 to avoid using nscd when custom rules are installed.
12844 * nss/getXXbyYY_r.c: Likewise.
12845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12846
12847 * nss/nss_files/files-parse.c: Whitespace fixes.
12848
f15ce4d8
UD
128492010-08-09 Ulrich Drepper <drepper@redhat.com>
12850
12851 [BZ #11883]
12852 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12853 * posix/fnmatch_loop.c: Likewise.
12854
d22e4cc9
AK
128552010-07-17 Andi Kleen <ak@linux.intel.com>
12856
12857 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12858 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12859 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12860 * Versions.def [GLIBC_2.13]: Add.
12861
805bc17d
UD
128622010-08-06 Ulrich Drepper <drepper@redhat.com>
12863
12864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12865 Also fail if tpwd after pwuid call is NULL.
12866
5a42321d
ST
128672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12868
12869 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12870 when converting to ms.
12871
fd3ebeda
ST
128722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12873
12874 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12875 EOPNOTSUPP errors with ENOTTY.
12876 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12877 EOPNOTSUPP errors with ENOTTY.
12878
73507d3a
UD
128792010-07-31 Ulrich Drepper <drepper@redhat.com>
12880
12881 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12882 Add strcasecmp_l-ssse3.
12883 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12884 strcasecmp.
12885 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12886 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12887 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12888
fe36dd02
UD
128892010-07-30 Ulrich Drepper <drepper@redhat.com>
12890
66f6765a
UD
12891 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12892
42e08a54
UD
12893 * string/Makefile (strop-tests): Add strcasecmp.
12894 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12895 strcasecmp_l-nonascii.
12896 (gen-as-const-headers): Add locale-defines.sym.
12897 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12898 * sysdeps/x86_64/strcasecmp.S: New file.
12899 * sysdeps/x86_64/strcasecmp_l.S: New file.
12900 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12901 * sysdeps/x86_64/locale-defines.sym: New file.
12902 * string/test-strcasecmp.c: New file.
12903
fe36dd02
UD
12904 * string/test-strcasestr.c: Test both ends of the range of characters.
12905 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12906
48cbc0d6
RM
129072010-07-29 Roland McGrath <roland@redhat.com>
12908
76e6d6bc 12909 [BZ #11856]
48cbc0d6
RM
12910 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12911
880113d9
UD
129122010-07-27 Ulrich Drepper <drepper@redhat.com>
12913
12914 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12915 for ld.so.
12916
deb9cabb
AS
129172010-07-27 Andreas Schwab <schwab@redhat.com>
12918
12919 * manual/memory.texi (Malloc Tunable Parameters): Document
12920 M_PERTURB.
12921
1c7570ff
RM
129222010-07-26 Roland McGrath <roland@redhat.com>
12923
12924 [BZ #11840]
12925 * configure.in (-fgnu89-inline check): Set and substitute
12926 gnu89_inline, not libc_cv_gnu89_inline.
12927 * configure: Regenerated.
12928 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12929
24fb0f88
UD
129302010-07-26 Ulrich Drepper <drepper@redhat.com>
12931
12932 * string/test-strnlen.c: New file.
12933 * string/Makefile (strop-tests): Add strnlen.
12934 * string/tester.c (test_strnlen): Add a few more test cases.
12935 * string/tst-strlen.c: Better error reporting.
12936
12937 * sysdeps/x86_64/strnlen.S: New file.
12938
8e96b93a
UD
129392010-07-24 Ulrich Drepper <drepper@redhat.com>
12940
12941 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12942 lower-latency instructions.
12943
dbc676d4
UD
129442010-07-23 Ulrich Drepper <drepper@redhat.com>
12945
12946 * string/test-strcasestr.c: New file.
12947 * string/test-strstr.c: New file.
12948 * string/Makefile (strop-tests): Add strstr and strcasestr.
12949 * string/str-two-way.h: Don't undefine MAX.
12950 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12951
f6a31e0e
AS
129522010-07-21 Andreas Schwab <schwab@redhat.com>
12953
12954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12955 strcasestr-nonascii.
12956 (CFLAGS-strcasestr-nonascii.c): Define.
12957 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12959 Remove unused attribute.
12960
5dbc3b6c
RM
129612010-07-20 Roland McGrath <roland@redhat.com>
12962
12963 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12964 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12965 ld.so.cache was broken. With it, there is no way to disable dsocaps
12966 like LD_HWCAP_MASK can disable hwcaps.
12967
23d101d8
EPM
129682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12969
12970 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12971
cc9f2e47
UD
129722010-07-16 Ulrich Drepper <drepper@redhat.com>
12973
12974 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12975 call in strcasestr.
12976 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12977 __strcasestr_sse42_nonascii.
12978 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12979 strcasestr-nonascii.c.
12980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12981
77c1b069
LM
129822010-06-15 Luis Machado <luisgpm@br.ibm.com>
12983
12984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12985 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12987 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12988
440566c3
UD
129892010-07-09 Ulrich Drepper <drepper@redhat.com>
12990
12991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12992 fcntl.
12993
5be9d05d
AS
129942010-07-06 Andreas Schwab <schwab@redhat.com>
12995
c30b7ee2 12996 [BZ #11577]
5be9d05d
AS
12997 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12998 dl_signal_cerror.
12999
8a492a67
UD
130002010-07-06 Ulrich Drepper <drepper@redhat.com>
13001
13002 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13003 _PC_PIPE_BUF using F_GETPIPE_SZ.
13004
713df3d5
RM
130052010-07-05 Roland McGrath <roland@redhat.com>
13006
13007 * manual/arith.texi (Rounding Functions): Fix rint description
13008 implicit in round description.
13009
702e8f14
UD
130102010-07-02 Ulrich Drepper <drepper@redhat.com>
13011
13012 * elf/Makefile: Fix linking for a few tests to make recent linker
13013 happy.
13014
52ed8be9
AS
130152010-06-30 Andreas Schwab <schwab@redhat.com>
13016
13017 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13018 $(common-objpfx)libc_nonshared.a.
13019
f47c9a11
LM
130202010-06-21 Luis Machado <luisgpm@br.ibm.com>
13021
13022 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13023 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13024 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13025 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13026 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13027 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13028 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13029 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13044 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13045 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13046 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13047 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13048 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13049 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13050 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13051 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13052 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13053 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13054 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13055 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13070
6fb8cbcb
L
130712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13072
13073 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13074 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13075 * string/memmove.c (memmove): Renamed to ...
13076 (MEMMOVE): ...this. Default to memmove.
13077 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13078 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13079 (END_CHK): Define.
13080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13081 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13082 mempcpy-ssse3-back memmove-ssse3-back.
13083 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13086 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13087 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13088 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13089 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13090 * sysdeps/x86_64/multiarch/memmove.c: New file.
13091 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13092 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13093 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13094 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13095 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13097 Define.
13098 (index_Fast_Copy_Backward): Define.
13099 (HAS_ARCH_FEATURE): Define.
13100 (HAS_FAST_REP_STRING): Define.
13101 (HAS_FAST_COPY_BACKWARD): Define.
13102
4e733bac 131032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13104
13105 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13106 Restore proper fallback handling.
13107
63c4ed22
UD
131082010-06-19 Ulrich Drepper <drepper@redhat.com>
13109
ac2b484c
UD
13110 [BZ #11701]
13111 * posix/group_member.c (__group_member): Correct checking loop.
13112
63c4ed22
UD
13113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13114 OOM in getpwuid_r correctly. Return error number when the caller
13115 should return, otherwise -1.
13116 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13117 call returning > 0 value.
13118 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13119
765ade4b
AS
131202010-06-07 Andreas Schwab <schwab@redhat.com>
13121
13122 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13123 libc_nonshared.a from targets in modules-names.
13124
80da2e09
KS
131252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13126
13127 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13128 requires it.
13129
158db122
LM
131302010-06-10 Luis Machado <luisgpm@br.ibm.com>
13131
13132 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13133 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13136
caa78cf8
AS
131372010-06-02 Andreas Schwab <schwab@redhat.com>
13138
13139 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13140
b2ef2c01
UD
131412010-06-14 Ulrich Drepper <drepper@redhat.com>
13142
13143 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13144 and F_GETPIPE_SZ.
13145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13150 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13151
fbd643b6
RM
131522010-06-14 Roland McGrath <roland@redhat.com>
13153
13154 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13155
f32f2869
JJ
131562010-06-07 Jakub Jelinek <jakub@redhat.com>
13157
13158 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13159 __REDIRECT followed by __THROW.
13160 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13161 * posix/getopt.h (getopt): Likewise.
13162
2a50c078
EPM
131632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13164
13165 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13166 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13167 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13168 in AT_FLAGS.
13169 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13170 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13171
eb5ad2eb
LM
131722010-05-28 Luis Machado <luisgpm@br.ibm.com>
13173
13174 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13175
3c88fe1e
L
131762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 [BZ #11640]
13179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13180 Properly check family and model.
13181
d2f73151
TY
131822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13183
13184 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13185
ebd2e13d
LM
131862010-05-24 Luis Machado <luisgpm@br.ibm.com>
13187
13188 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13189
b32b8b45
UD
131902010-05-21 Ulrich Drepper <drepper@redhat.com>
13191
13192 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13193 symbol reference.
13194
9acbe24d
AS
131952010-05-19 Andreas Schwab <schwab@redhat.com>
13196
13197 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13198 symbol reference.
13199
f0ccf6ea
AS
132002010-05-21 Andreas Schwab <schwab@redhat.com>
13201
3d04ff3a
AS
13202 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13203 and internal_recvmmsg.
13204 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13205 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13206 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13207 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13208
f0ccf6ea
AS
13209 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13210 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13211 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13212
5b08ac57
AS
132132010-05-20 Andreas Schwab <schwab@redhat.com>
13214
13215 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13216
4828935d
LM
132172010-05-17 Luis Machado <luisgpm@br.ibm.com>
13218
13219 POWER7 optimizations.
13220 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13221 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13222
373d545e
UD
132232010-05-19 Ulrich Drepper <drepper@redhat.com>
13224
13225 * version.h: Update for 2.13 development version.
13226
21a2b1ae
AS
132272010-05-12 Andrew Stubbs <ams@codesourcery.com>
13228
13229 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13230 exceptions. Return 0.
13231
3f7dcb2b
RM
132322010-05-07 Roland McGrath <roland@redhat.com>
13233
13234 * elf/ldconfig.c (main): Add a const.
13235
5f24d53a 132362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13237
a160f8d8
UD
13238 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13239 (args_options): Add no-idn option.
13240 (ahosts_keys_int): Add idn_flags to ai_flags.
13241 (parse_option): Handle 'i' option to clear idn_flags.
13242
5f24d53a
UD
13243 * malloc/malloc.c (_int_free): Possible race in the most recently
13244 added check. Only act on the data if no current modification
13245 happened.
265bb1ce
UD
13246
13247See ChangeLog.17 for earlier changes.